user32: Avoid repeatedly fetching the window rectangles in SetWindowPos.
[wine.git] / configure
bloba2adb44e1a69dca7c8fc46b88d8565f3472ae504
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.7.
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.7'
584 PACKAGE_STRING='Wine 3.7'
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_srclient
1512 enable_sspicli
1513 enable_stdole2_tlb
1514 enable_stdole32_tlb
1515 enable_sti
1516 enable_strmbase
1517 enable_strmdll
1518 enable_strmiids
1519 enable_svrapi
1520 enable_sxs
1521 enable_t2embed
1522 enable_tapi32
1523 enable_taskschd
1524 enable_tdh
1525 enable_tdi_sys
1526 enable_traffic
1527 enable_twain_32
1528 enable_ucrtbase
1529 enable_uiautomationcore
1530 enable_uiribbon
1531 enable_unicows
1532 enable_updspapi
1533 enable_url
1534 enable_urlmon
1535 enable_usbd_sys
1536 enable_user32
1537 enable_userenv
1538 enable_usp10
1539 enable_uuid
1540 enable_uxtheme
1541 enable_vbscript
1542 enable_vcomp
1543 enable_vcomp100
1544 enable_vcomp110
1545 enable_vcomp120
1546 enable_vcomp140
1547 enable_vcomp90
1548 enable_vcruntime140
1549 enable_vdmdbg
1550 enable_version
1551 enable_virtdisk
1552 enable_vssapi
1553 enable_vulkan_1
1554 enable_wbemdisp
1555 enable_wbemprox
1556 enable_wdscore
1557 enable_webservices
1558 enable_wer
1559 enable_wevtapi
1560 enable_wiaservc
1561 enable_wimgapi
1562 enable_windowscodecs
1563 enable_windowscodecsext
1564 enable_winealsa_drv
1565 enable_wineandroid_drv
1566 enable_winebus_sys
1567 enable_winecoreaudio_drv
1568 enable_winecrt0
1569 enable_wined3d
1570 enable_winegstreamer
1571 enable_winehid_sys
1572 enable_winejoystick_drv
1573 enable_winemac_drv
1574 enable_winemapi
1575 enable_wineoss_drv
1576 enable_wineps_drv
1577 enable_winepulse_drv
1578 enable_wineqtdecoder
1579 enable_winevulkan
1580 enable_winex11_drv
1581 enable_wing32
1582 enable_winhttp
1583 enable_wininet
1584 enable_winmm
1585 enable_winnls32
1586 enable_winscard
1587 enable_winspool_drv
1588 enable_winsta
1589 enable_wintab32
1590 enable_wintrust
1591 enable_winusb
1592 enable_wlanapi
1593 enable_wldap32
1594 enable_wmasf
1595 enable_wmi
1596 enable_wmiutils
1597 enable_wmp
1598 enable_wmphoto
1599 enable_wmvcore
1600 enable_wnaspi32
1601 enable_wpc
1602 enable_wpcap
1603 enable_ws2_32
1604 enable_wsdapi
1605 enable_wshom_ocx
1606 enable_wsnmp32
1607 enable_wsock32
1608 enable_wtsapi32
1609 enable_wuapi
1610 enable_wuaueng
1611 enable_x3daudio1_0
1612 enable_x3daudio1_1
1613 enable_x3daudio1_2
1614 enable_x3daudio1_3
1615 enable_x3daudio1_4
1616 enable_x3daudio1_5
1617 enable_x3daudio1_6
1618 enable_x3daudio1_7
1619 enable_xapofx1_1
1620 enable_xapofx1_2
1621 enable_xapofx1_3
1622 enable_xapofx1_4
1623 enable_xapofx1_5
1624 enable_xaudio2_0
1625 enable_xaudio2_1
1626 enable_xaudio2_2
1627 enable_xaudio2_3
1628 enable_xaudio2_4
1629 enable_xaudio2_5
1630 enable_xaudio2_6
1631 enable_xaudio2_7
1632 enable_xaudio2_8
1633 enable_xaudio2_9
1634 enable_xinput1_1
1635 enable_xinput1_2
1636 enable_xinput1_3
1637 enable_xinput1_4
1638 enable_xinput9_1_0
1639 enable_xmllite
1640 enable_xolehlp
1641 enable_xpsprint
1642 enable_xpssvcs
1643 enable_fonts
1644 enable_include
1645 enable_port
1646 enable_wine
1647 enable_wpp
1648 enable_loader
1649 enable_po
1650 enable_arp
1651 enable_aspnet_regiis
1652 enable_attrib
1653 enable_cabarc
1654 enable_cacls
1655 enable_clock
1656 enable_cmd
1657 enable_conhost
1658 enable_control
1659 enable_cscript
1660 enable_dpnsvr
1661 enable_dxdiag
1662 enable_eject
1663 enable_expand
1664 enable_explorer
1665 enable_extrac32
1666 enable_findstr
1667 enable_fsutil
1668 enable_hh
1669 enable_hostname
1670 enable_icacls
1671 enable_icinfo
1672 enable_iexplore
1673 enable_ipconfig
1674 enable_lodctr
1675 enable_mofcomp
1676 enable_mshta
1677 enable_msiexec
1678 enable_msinfo32
1679 enable_net
1680 enable_netsh
1681 enable_netstat
1682 enable_ngen
1683 enable_notepad
1684 enable_oleview
1685 enable_ping
1686 enable_plugplay
1687 enable_powershell
1688 enable_presentationfontcache
1689 enable_progman
1690 enable_reg
1691 enable_regasm
1692 enable_regedit
1693 enable_regsvcs
1694 enable_regsvr32
1695 enable_rpcss
1696 enable_rundll32
1697 enable_sc
1698 enable_schtasks
1699 enable_sdbinst
1700 enable_secedit
1701 enable_servicemodelreg
1702 enable_services
1703 enable_shutdown
1704 enable_spoolsv
1705 enable_start
1706 enable_subst
1707 enable_svchost
1708 enable_systeminfo
1709 enable_taskkill
1710 enable_tasklist
1711 enable_taskmgr
1712 enable_termsv
1713 enable_uninstaller
1714 enable_unlodctr
1715 enable_view
1716 enable_wevtutil
1717 enable_wineboot
1718 enable_winebrowser
1719 enable_winecfg
1720 enable_wineconsole
1721 enable_winedbg
1722 enable_winedevice
1723 enable_winefile
1724 enable_winemenubuilder
1725 enable_winemine
1726 enable_winemsibuilder
1727 enable_winepath
1728 enable_winetest
1729 enable_winhlp32
1730 enable_winmgmt
1731 enable_winver
1732 enable_wmic
1733 enable_wmplayer
1734 enable_wordpad
1735 enable_write
1736 enable_wscript
1737 enable_wusa
1738 enable_xcopy
1739 enable_server
1740 enable_tools
1741 enable_sfnt2fon
1742 enable_widl
1743 enable_winebuild
1744 enable_winedump
1745 enable_winegcc
1746 enable_winemaker
1747 enable_wmc
1748 enable_wrc
1750 ac_precious_vars='build_alias
1751 host_alias
1752 target_alias
1754 CFLAGS
1755 LDFLAGS
1756 LIBS
1757 CPPFLAGS
1759 CXXFLAGS
1762 XMKMF
1763 XML2_CFLAGS
1764 XML2_LIBS
1765 XSLT_CFLAGS
1766 XSLT_LIBS
1767 DBUS_CFLAGS
1768 DBUS_LIBS
1769 HAL_CFLAGS
1770 HAL_LIBS
1771 GNUTLS_CFLAGS
1772 GNUTLS_LIBS
1773 SANE_CFLAGS
1774 SANE_LIBS
1775 GPHOTO2_CFLAGS
1776 GPHOTO2_LIBS
1777 GPHOTO2_PORT_CFLAGS
1778 GPHOTO2_PORT_LIBS
1779 LCMS2_CFLAGS
1780 LCMS2_LIBS
1781 FREETYPE_CFLAGS
1782 FREETYPE_LIBS
1783 PULSE_CFLAGS
1784 PULSE_LIBS
1785 GSTREAMER_CFLAGS
1786 GSTREAMER_LIBS
1787 UDEV_CFLAGS
1788 UDEV_LIBS
1789 SDL2_CFLAGS
1790 SDL2_LIBS
1791 CAPI20_CFLAGS
1792 CAPI20_LIBS
1793 CUPS_CFLAGS
1794 CUPS_LIBS
1795 FONTCONFIG_CFLAGS
1796 FONTCONFIG_LIBS
1797 KRB5_CFLAGS
1798 KRB5_LIBS
1799 GSSAPI_CFLAGS
1800 GSSAPI_LIBS
1801 JPEG_CFLAGS
1802 JPEG_LIBS
1803 PNG_CFLAGS
1804 PNG_LIBS
1805 TIFF_CFLAGS
1806 TIFF_LIBS
1807 MPG123_CFLAGS
1808 MPG123_LIBS
1809 NETAPI_CFLAGS
1810 NETAPI_LIBS
1811 LDAP_CFLAGS
1812 LDAP_LIBS'
1815 # Initialize some variables set by options.
1816 ac_init_help=
1817 ac_init_version=false
1818 ac_unrecognized_opts=
1819 ac_unrecognized_sep=
1820 # The variables have the same names as the options, with
1821 # dashes changed to underlines.
1822 cache_file=/dev/null
1823 exec_prefix=NONE
1824 no_create=
1825 no_recursion=
1826 prefix=NONE
1827 program_prefix=NONE
1828 program_suffix=NONE
1829 program_transform_name=s,x,x,
1830 silent=
1831 site=
1832 srcdir=
1833 verbose=
1834 x_includes=NONE
1835 x_libraries=NONE
1837 # Installation directory options.
1838 # These are left unexpanded so users can "make install exec_prefix=/foo"
1839 # and all the variables that are supposed to be based on exec_prefix
1840 # by default will actually change.
1841 # Use braces instead of parens because sh, perl, etc. also accept them.
1842 # (The list follows the same order as the GNU Coding Standards.)
1843 bindir='${exec_prefix}/bin'
1844 sbindir='${exec_prefix}/sbin'
1845 libexecdir='${exec_prefix}/libexec'
1846 datarootdir='${prefix}/share'
1847 datadir='${datarootdir}'
1848 sysconfdir='${prefix}/etc'
1849 sharedstatedir='${prefix}/com'
1850 localstatedir='${prefix}/var'
1851 runstatedir='${localstatedir}/run'
1852 includedir='${prefix}/include'
1853 oldincludedir='/usr/include'
1854 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1855 infodir='${datarootdir}/info'
1856 htmldir='${docdir}'
1857 dvidir='${docdir}'
1858 pdfdir='${docdir}'
1859 psdir='${docdir}'
1860 libdir='${exec_prefix}/lib'
1861 localedir='${datarootdir}/locale'
1862 mandir='${datarootdir}/man'
1864 ac_prev=
1865 ac_dashdash=
1866 for ac_option
1868 # If the previous option needs an argument, assign it.
1869 if test -n "$ac_prev"; then
1870 eval $ac_prev=\$ac_option
1871 ac_prev=
1872 continue
1875 case $ac_option in
1876 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1877 *=) ac_optarg= ;;
1878 *) ac_optarg=yes ;;
1879 esac
1881 # Accept the important Cygnus configure options, so we can diagnose typos.
1883 case $ac_dashdash$ac_option in
1885 ac_dashdash=yes ;;
1887 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1888 ac_prev=bindir ;;
1889 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1890 bindir=$ac_optarg ;;
1892 -build | --build | --buil | --bui | --bu)
1893 ac_prev=build_alias ;;
1894 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1895 build_alias=$ac_optarg ;;
1897 -cache-file | --cache-file | --cache-fil | --cache-fi \
1898 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1899 ac_prev=cache_file ;;
1900 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1901 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1902 cache_file=$ac_optarg ;;
1904 --config-cache | -C)
1905 cache_file=config.cache ;;
1907 -datadir | --datadir | --datadi | --datad)
1908 ac_prev=datadir ;;
1909 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1910 datadir=$ac_optarg ;;
1912 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1913 | --dataroo | --dataro | --datar)
1914 ac_prev=datarootdir ;;
1915 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1916 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1917 datarootdir=$ac_optarg ;;
1919 -disable-* | --disable-*)
1920 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1921 # Reject names that are not valid shell variable names.
1922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1923 as_fn_error $? "invalid feature name: $ac_useropt"
1924 ac_useropt_orig=$ac_useropt
1925 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1926 case $ac_user_opts in
1928 "enable_$ac_useropt"
1929 "*) ;;
1930 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1931 ac_unrecognized_sep=', ';;
1932 esac
1933 eval enable_$ac_useropt=no ;;
1935 -docdir | --docdir | --docdi | --doc | --do)
1936 ac_prev=docdir ;;
1937 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1938 docdir=$ac_optarg ;;
1940 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1941 ac_prev=dvidir ;;
1942 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1943 dvidir=$ac_optarg ;;
1945 -enable-* | --enable-*)
1946 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1947 # Reject names that are not valid shell variable names.
1948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1949 as_fn_error $? "invalid feature name: $ac_useropt"
1950 ac_useropt_orig=$ac_useropt
1951 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1952 case $ac_user_opts in
1954 "enable_$ac_useropt"
1955 "*) ;;
1956 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1957 ac_unrecognized_sep=', ';;
1958 esac
1959 eval enable_$ac_useropt=\$ac_optarg ;;
1961 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1962 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1963 | --exec | --exe | --ex)
1964 ac_prev=exec_prefix ;;
1965 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1966 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1967 | --exec=* | --exe=* | --ex=*)
1968 exec_prefix=$ac_optarg ;;
1970 -gas | --gas | --ga | --g)
1971 # Obsolete; use --with-gas.
1972 with_gas=yes ;;
1974 -help | --help | --hel | --he | -h)
1975 ac_init_help=long ;;
1976 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1977 ac_init_help=recursive ;;
1978 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1979 ac_init_help=short ;;
1981 -host | --host | --hos | --ho)
1982 ac_prev=host_alias ;;
1983 -host=* | --host=* | --hos=* | --ho=*)
1984 host_alias=$ac_optarg ;;
1986 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1987 ac_prev=htmldir ;;
1988 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1989 | --ht=*)
1990 htmldir=$ac_optarg ;;
1992 -includedir | --includedir | --includedi | --included | --include \
1993 | --includ | --inclu | --incl | --inc)
1994 ac_prev=includedir ;;
1995 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1996 | --includ=* | --inclu=* | --incl=* | --inc=*)
1997 includedir=$ac_optarg ;;
1999 -infodir | --infodir | --infodi | --infod | --info | --inf)
2000 ac_prev=infodir ;;
2001 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2002 infodir=$ac_optarg ;;
2004 -libdir | --libdir | --libdi | --libd)
2005 ac_prev=libdir ;;
2006 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2007 libdir=$ac_optarg ;;
2009 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2010 | --libexe | --libex | --libe)
2011 ac_prev=libexecdir ;;
2012 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2013 | --libexe=* | --libex=* | --libe=*)
2014 libexecdir=$ac_optarg ;;
2016 -localedir | --localedir | --localedi | --localed | --locale)
2017 ac_prev=localedir ;;
2018 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2019 localedir=$ac_optarg ;;
2021 -localstatedir | --localstatedir | --localstatedi | --localstated \
2022 | --localstate | --localstat | --localsta | --localst | --locals)
2023 ac_prev=localstatedir ;;
2024 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2025 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2026 localstatedir=$ac_optarg ;;
2028 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2029 ac_prev=mandir ;;
2030 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2031 mandir=$ac_optarg ;;
2033 -nfp | --nfp | --nf)
2034 # Obsolete; use --without-fp.
2035 with_fp=no ;;
2037 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2038 | --no-cr | --no-c | -n)
2039 no_create=yes ;;
2041 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2042 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2043 no_recursion=yes ;;
2045 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2046 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2047 | --oldin | --oldi | --old | --ol | --o)
2048 ac_prev=oldincludedir ;;
2049 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2050 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2051 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2052 oldincludedir=$ac_optarg ;;
2054 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2055 ac_prev=prefix ;;
2056 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2057 prefix=$ac_optarg ;;
2059 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2060 | --program-pre | --program-pr | --program-p)
2061 ac_prev=program_prefix ;;
2062 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2063 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2064 program_prefix=$ac_optarg ;;
2066 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2067 | --program-suf | --program-su | --program-s)
2068 ac_prev=program_suffix ;;
2069 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2070 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2071 program_suffix=$ac_optarg ;;
2073 -program-transform-name | --program-transform-name \
2074 | --program-transform-nam | --program-transform-na \
2075 | --program-transform-n | --program-transform- \
2076 | --program-transform | --program-transfor \
2077 | --program-transfo | --program-transf \
2078 | --program-trans | --program-tran \
2079 | --progr-tra | --program-tr | --program-t)
2080 ac_prev=program_transform_name ;;
2081 -program-transform-name=* | --program-transform-name=* \
2082 | --program-transform-nam=* | --program-transform-na=* \
2083 | --program-transform-n=* | --program-transform-=* \
2084 | --program-transform=* | --program-transfor=* \
2085 | --program-transfo=* | --program-transf=* \
2086 | --program-trans=* | --program-tran=* \
2087 | --progr-tra=* | --program-tr=* | --program-t=*)
2088 program_transform_name=$ac_optarg ;;
2090 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2091 ac_prev=pdfdir ;;
2092 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2093 pdfdir=$ac_optarg ;;
2095 -psdir | --psdir | --psdi | --psd | --ps)
2096 ac_prev=psdir ;;
2097 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2098 psdir=$ac_optarg ;;
2100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2101 | -silent | --silent | --silen | --sile | --sil)
2102 silent=yes ;;
2104 -runstatedir | --runstatedir | --runstatedi | --runstated \
2105 | --runstate | --runstat | --runsta | --runst | --runs \
2106 | --run | --ru | --r)
2107 ac_prev=runstatedir ;;
2108 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2109 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2110 | --run=* | --ru=* | --r=*)
2111 runstatedir=$ac_optarg ;;
2113 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2114 ac_prev=sbindir ;;
2115 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2116 | --sbi=* | --sb=*)
2117 sbindir=$ac_optarg ;;
2119 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2120 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2121 | --sharedst | --shareds | --shared | --share | --shar \
2122 | --sha | --sh)
2123 ac_prev=sharedstatedir ;;
2124 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2125 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2126 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2127 | --sha=* | --sh=*)
2128 sharedstatedir=$ac_optarg ;;
2130 -site | --site | --sit)
2131 ac_prev=site ;;
2132 -site=* | --site=* | --sit=*)
2133 site=$ac_optarg ;;
2135 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2136 ac_prev=srcdir ;;
2137 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2138 srcdir=$ac_optarg ;;
2140 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2141 | --syscon | --sysco | --sysc | --sys | --sy)
2142 ac_prev=sysconfdir ;;
2143 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2144 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2145 sysconfdir=$ac_optarg ;;
2147 -target | --target | --targe | --targ | --tar | --ta | --t)
2148 ac_prev=target_alias ;;
2149 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2150 target_alias=$ac_optarg ;;
2152 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2153 verbose=yes ;;
2155 -version | --version | --versio | --versi | --vers | -V)
2156 ac_init_version=: ;;
2158 -with-* | --with-*)
2159 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2160 # Reject names that are not valid shell variable names.
2161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2162 as_fn_error $? "invalid package name: $ac_useropt"
2163 ac_useropt_orig=$ac_useropt
2164 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2165 case $ac_user_opts in
2167 "with_$ac_useropt"
2168 "*) ;;
2169 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2170 ac_unrecognized_sep=', ';;
2171 esac
2172 eval with_$ac_useropt=\$ac_optarg ;;
2174 -without-* | --without-*)
2175 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2176 # Reject names that are not valid shell variable names.
2177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2178 as_fn_error $? "invalid package name: $ac_useropt"
2179 ac_useropt_orig=$ac_useropt
2180 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2181 case $ac_user_opts in
2183 "with_$ac_useropt"
2184 "*) ;;
2185 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2186 ac_unrecognized_sep=', ';;
2187 esac
2188 eval with_$ac_useropt=no ;;
2190 --x)
2191 # Obsolete; use --with-x.
2192 with_x=yes ;;
2194 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2195 | --x-incl | --x-inc | --x-in | --x-i)
2196 ac_prev=x_includes ;;
2197 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2198 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2199 x_includes=$ac_optarg ;;
2201 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2202 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2203 ac_prev=x_libraries ;;
2204 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2205 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2206 x_libraries=$ac_optarg ;;
2208 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2209 Try \`$0 --help' for more information"
2212 *=*)
2213 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2214 # Reject names that are not valid shell variable names.
2215 case $ac_envvar in #(
2216 '' | [0-9]* | *[!_$as_cr_alnum]* )
2217 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2218 esac
2219 eval $ac_envvar=\$ac_optarg
2220 export $ac_envvar ;;
2223 # FIXME: should be removed in autoconf 3.0.
2224 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2225 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2226 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2227 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2230 esac
2231 done
2233 if test -n "$ac_prev"; then
2234 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2235 as_fn_error $? "missing argument to $ac_option"
2238 if test -n "$ac_unrecognized_opts"; then
2239 case $enable_option_checking in
2240 no) ;;
2241 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2242 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2243 esac
2246 # Check all directory arguments for consistency.
2247 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2248 datadir sysconfdir sharedstatedir localstatedir includedir \
2249 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2250 libdir localedir mandir runstatedir
2252 eval ac_val=\$$ac_var
2253 # Remove trailing slashes.
2254 case $ac_val in
2255 */ )
2256 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2257 eval $ac_var=\$ac_val;;
2258 esac
2259 # Be sure to have absolute directory names.
2260 case $ac_val in
2261 [\\/$]* | ?:[\\/]* ) continue;;
2262 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2263 esac
2264 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2265 done
2267 # There might be people who depend on the old broken behavior: `$host'
2268 # used to hold the argument of --host etc.
2269 # FIXME: To remove some day.
2270 build=$build_alias
2271 host=$host_alias
2272 target=$target_alias
2274 # FIXME: To remove some day.
2275 if test "x$host_alias" != x; then
2276 if test "x$build_alias" = x; then
2277 cross_compiling=maybe
2278 elif test "x$build_alias" != "x$host_alias"; then
2279 cross_compiling=yes
2283 ac_tool_prefix=
2284 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2286 test "$silent" = yes && exec 6>/dev/null
2289 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2290 ac_ls_di=`ls -di .` &&
2291 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2292 as_fn_error $? "working directory cannot be determined"
2293 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2294 as_fn_error $? "pwd does not report name of working directory"
2297 # Find the source files, if location was not specified.
2298 if test -z "$srcdir"; then
2299 ac_srcdir_defaulted=yes
2300 # Try the directory containing this script, then the parent directory.
2301 ac_confdir=`$as_dirname -- "$as_myself" ||
2302 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2303 X"$as_myself" : 'X\(//\)[^/]' \| \
2304 X"$as_myself" : 'X\(//\)$' \| \
2305 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2306 $as_echo X"$as_myself" |
2307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2308 s//\1/
2311 /^X\(\/\/\)[^/].*/{
2312 s//\1/
2315 /^X\(\/\/\)$/{
2316 s//\1/
2319 /^X\(\/\).*/{
2320 s//\1/
2323 s/.*/./; q'`
2324 srcdir=$ac_confdir
2325 if test ! -r "$srcdir/$ac_unique_file"; then
2326 srcdir=..
2328 else
2329 ac_srcdir_defaulted=no
2331 if test ! -r "$srcdir/$ac_unique_file"; then
2332 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2333 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2335 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2336 ac_abs_confdir=`(
2337 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2338 pwd)`
2339 # When building in place, set srcdir=.
2340 if test "$ac_abs_confdir" = "$ac_pwd"; then
2341 srcdir=.
2343 # Remove unnecessary trailing slashes from srcdir.
2344 # Double slashes in file names in object file debugging info
2345 # mess up M-x gdb in Emacs.
2346 case $srcdir in
2347 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2348 esac
2349 for ac_var in $ac_precious_vars; do
2350 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2351 eval ac_env_${ac_var}_value=\$${ac_var}
2352 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2353 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2354 done
2357 # Report the --help message.
2359 if test "$ac_init_help" = "long"; then
2360 # Omit some internal or obsolete options to make the list less imposing.
2361 # This message is too long to be a string in the A/UX 3.1 sh.
2362 cat <<_ACEOF
2363 \`configure' configures Wine 3.7 to adapt to many kinds of systems.
2365 Usage: $0 [OPTION]... [VAR=VALUE]...
2367 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2368 VAR=VALUE. See below for descriptions of some of the useful variables.
2370 Defaults for the options are specified in brackets.
2372 Configuration:
2373 -h, --help display this help and exit
2374 --help=short display options specific to this package
2375 --help=recursive display the short help of all the included packages
2376 -V, --version display version information and exit
2377 -q, --quiet, --silent do not print \`checking ...' messages
2378 --cache-file=FILE cache test results in FILE [disabled]
2379 -C, --config-cache alias for \`--cache-file=config.cache'
2380 -n, --no-create do not create output files
2381 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2383 Installation directories:
2384 --prefix=PREFIX install architecture-independent files in PREFIX
2385 [$ac_default_prefix]
2386 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2387 [PREFIX]
2389 By default, \`make install' will install all the files in
2390 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2391 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2392 for instance \`--prefix=\$HOME'.
2394 For better control, use the options below.
2396 Fine tuning of the installation directories:
2397 --bindir=DIR user executables [EPREFIX/bin]
2398 --sbindir=DIR system admin executables [EPREFIX/sbin]
2399 --libexecdir=DIR program executables [EPREFIX/libexec]
2400 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2401 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2402 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2403 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2404 --libdir=DIR object code libraries [EPREFIX/lib]
2405 --includedir=DIR C header files [PREFIX/include]
2406 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2407 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2408 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2409 --infodir=DIR info documentation [DATAROOTDIR/info]
2410 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2411 --mandir=DIR man documentation [DATAROOTDIR/man]
2412 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2413 --htmldir=DIR html documentation [DOCDIR]
2414 --dvidir=DIR dvi documentation [DOCDIR]
2415 --pdfdir=DIR pdf documentation [DOCDIR]
2416 --psdir=DIR ps documentation [DOCDIR]
2417 _ACEOF
2419 cat <<\_ACEOF
2421 X features:
2422 --x-includes=DIR X include files are in DIR
2423 --x-libraries=DIR X library files are in DIR
2425 System types:
2426 --build=BUILD configure for building on BUILD [guessed]
2427 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2428 _ACEOF
2431 if test -n "$ac_init_help"; then
2432 case $ac_init_help in
2433 short | recursive ) echo "Configuration of Wine 3.7:";;
2434 esac
2435 cat <<\_ACEOF
2437 Optional Features:
2438 --disable-option-checking ignore unrecognized --enable/--with options
2439 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2440 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2441 --disable-win16 do not include Win16 support
2442 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2443 binaries)
2444 --disable-tests do not build the regression tests
2445 --enable-maintainer-mode
2446 enable maintainer-specific build rules
2447 --disable-largefile omit support for large files
2449 Optional Packages:
2450 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2451 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2452 --without-alsa do not use the Alsa sound support
2453 --without-capi do not use CAPI (ISDN support)
2454 --without-cms do not use CMS (color management support)
2455 --without-coreaudio do not use the CoreAudio sound support
2456 --without-cups do not use CUPS
2457 --without-curses do not use (n)curses
2458 --without-dbus do not use DBus (dynamic device support)
2459 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2460 --without-fontconfig do not use fontconfig
2461 --without-freetype do not use the FreeType library
2462 --without-gettext do not use gettext
2463 --with-gettextpo use the GetTextPO library to rebuild po files
2464 --without-gphoto do not use gphoto (Digital Camera support)
2465 --without-glu do not use the GLU library
2466 --without-gnutls do not use GnuTLS (schannel support)
2467 --without-gsm do not use libgsm (GSM 06.10 codec support)
2468 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2469 --without-gstreamer do not use GStreamer (codecs support)
2470 --without-hal do not use HAL (dynamic device support)
2471 --without-jpeg do not use JPEG
2472 --without-krb5 do not use krb5 (Kerberos)
2473 --without-ldap do not use LDAP
2474 --without-mpg123 do not use the mpg123 library
2475 --without-netapi do not use the Samba NetAPI library
2476 --without-openal do not use OpenAL
2477 --without-opencl do not use OpenCL
2478 --without-opengl do not use OpenGL
2479 --without-osmesa do not use the OSMesa library
2480 --without-oss do not use the OSS sound support
2481 --without-pcap do not use the Packet Capture library
2482 --without-png do not use PNG
2483 --without-pthread do not use the pthread library
2484 --without-pulse do not use PulseAudio sound support
2485 --without-sane do not use SANE (scanner support)
2486 --without-sdl do not use SDL
2487 --without-tiff do not use TIFF
2488 --without-udev do not use udev (plug and play support)
2489 --without-v4l do not use v4l1 (v4l support)
2490 --without-vulkan do not use Vulkan
2491 --without-xcomposite do not use the Xcomposite extension
2492 --without-xcursor do not use the Xcursor extension
2493 --without-xfixes do not use Xfixes for clipboard change notifications
2494 --without-xinerama do not use Xinerama (multi-monitor support)
2495 --without-xinput do not use the Xinput extension
2496 --without-xinput2 do not use the Xinput 2 extension
2497 --without-xml do not use XML
2498 --without-xrandr do not use Xrandr (resolution changes)
2499 --without-xrender do not use the Xrender extension
2500 --without-xshape do not use the Xshape extension
2501 --without-xshm do not use XShm (shared memory extension)
2502 --without-xslt do not use XSLT
2503 --without-xxf86vm do not use XFree video mode extension
2504 --without-zlib do not use Zlib (data compression)
2505 --with-wine-tools=DIR use Wine tools from directory DIR
2506 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2507 --with-x use the X Window System
2509 Some influential environment variables:
2510 CC C compiler command
2511 CFLAGS C compiler flags
2512 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2513 nonstandard directory <lib dir>
2514 LIBS libraries to pass to the linker, e.g. -l<library>
2515 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2516 you have headers in a nonstandard directory <include dir>
2517 CXX C++ compiler command
2518 CXXFLAGS C++ compiler flags
2519 CPP C preprocessor
2520 XMKMF Path to xmkmf, Makefile generator for X Window System
2521 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2522 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2523 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2524 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2525 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2526 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2527 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2528 HAL_LIBS Linker flags for hal, overriding pkg-config
2529 GNUTLS_CFLAGS
2530 C compiler flags for gnutls, overriding pkg-config
2531 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2532 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2533 SANE_LIBS Linker flags for libsane, overriding pkg-config
2534 GPHOTO2_CFLAGS
2535 C compiler flags for libgphoto2, overriding pkg-config
2536 GPHOTO2_LIBS
2537 Linker flags for libgphoto2, overriding pkg-config
2538 GPHOTO2_PORT_CFLAGS
2539 C compiler flags for libgphoto2_port, overriding pkg-config
2540 GPHOTO2_PORT_LIBS
2541 Linker flags for libgphoto2_port, overriding pkg-config
2542 LCMS2_CFLAGS
2543 C compiler flags for lcms2, overriding pkg-config
2544 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2545 FREETYPE_CFLAGS
2546 C compiler flags for freetype2, overriding pkg-config
2547 FREETYPE_LIBS
2548 Linker flags for freetype2, overriding pkg-config
2549 PULSE_CFLAGS
2550 C compiler flags for libpulse, overriding pkg-config
2551 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2552 GSTREAMER_CFLAGS
2553 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2554 gstreamer-audio-1.0, overriding pkg-config
2555 GSTREAMER_LIBS
2556 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2557 gstreamer-audio-1.0, overriding pkg-config
2558 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2559 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2560 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2561 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2562 CAPI20_CFLAGS
2563 C compiler flags for capi20, overriding pkg-config
2564 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2565 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2566 CUPS_LIBS Linker flags for cups, overriding pkg-config
2567 FONTCONFIG_CFLAGS
2568 C compiler flags for fontconfig, overriding pkg-config
2569 FONTCONFIG_LIBS
2570 Linker flags for fontconfig, overriding pkg-config
2571 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2572 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2573 GSSAPI_CFLAGS
2574 C compiler flags for krb5-gssapi, overriding pkg-config
2575 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2576 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2577 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2578 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2579 PNG_LIBS Linker flags for libpng, overriding pkg-config
2580 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2581 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2582 MPG123_CFLAGS
2583 C compiler flags for libmpg123, overriding pkg-config
2584 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2585 NETAPI_CFLAGS
2586 C compiler flags for netapi, overriding pkg-config
2587 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2588 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2589 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2591 Use these variables to override the choices made by `configure' or to help
2592 it to find libraries and programs with nonstandard names/locations.
2594 Report bugs to <wine-devel@winehq.org>.
2595 Wine home page: <https://www.winehq.org>.
2596 _ACEOF
2597 ac_status=$?
2600 if test "$ac_init_help" = "recursive"; then
2601 # If there are subdirs, report their specific --help.
2602 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2603 test -d "$ac_dir" ||
2604 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2605 continue
2606 ac_builddir=.
2608 case "$ac_dir" in
2609 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2611 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2612 # A ".." for each directory in $ac_dir_suffix.
2613 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2614 case $ac_top_builddir_sub in
2615 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2616 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2617 esac ;;
2618 esac
2619 ac_abs_top_builddir=$ac_pwd
2620 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2621 # for backward compatibility:
2622 ac_top_builddir=$ac_top_build_prefix
2624 case $srcdir in
2625 .) # We are building in place.
2626 ac_srcdir=.
2627 ac_top_srcdir=$ac_top_builddir_sub
2628 ac_abs_top_srcdir=$ac_pwd ;;
2629 [\\/]* | ?:[\\/]* ) # Absolute name.
2630 ac_srcdir=$srcdir$ac_dir_suffix;
2631 ac_top_srcdir=$srcdir
2632 ac_abs_top_srcdir=$srcdir ;;
2633 *) # Relative name.
2634 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2635 ac_top_srcdir=$ac_top_build_prefix$srcdir
2636 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2637 esac
2638 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2640 cd "$ac_dir" || { ac_status=$?; continue; }
2641 # Check for guested configure.
2642 if test -f "$ac_srcdir/configure.gnu"; then
2643 echo &&
2644 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2645 elif test -f "$ac_srcdir/configure"; then
2646 echo &&
2647 $SHELL "$ac_srcdir/configure" --help=recursive
2648 else
2649 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2650 fi || ac_status=$?
2651 cd "$ac_pwd" || { ac_status=$?; break; }
2652 done
2655 test -n "$ac_init_help" && exit $ac_status
2656 if $ac_init_version; then
2657 cat <<\_ACEOF
2658 Wine configure 3.7
2659 generated by GNU Autoconf 2.69
2661 Copyright (C) 2012 Free Software Foundation, Inc.
2662 This configure script is free software; the Free Software Foundation
2663 gives unlimited permission to copy, distribute and modify it.
2664 _ACEOF
2665 exit
2668 ## ------------------------ ##
2669 ## Autoconf initialization. ##
2670 ## ------------------------ ##
2672 # ac_fn_c_try_compile LINENO
2673 # --------------------------
2674 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2675 ac_fn_c_try_compile ()
2677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2678 rm -f conftest.$ac_objext
2679 if { { ac_try="$ac_compile"
2680 case "(($ac_try" in
2681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2682 *) ac_try_echo=$ac_try;;
2683 esac
2684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2685 $as_echo "$ac_try_echo"; } >&5
2686 (eval "$ac_compile") 2>conftest.err
2687 ac_status=$?
2688 if test -s conftest.err; then
2689 grep -v '^ *+' conftest.err >conftest.er1
2690 cat conftest.er1 >&5
2691 mv -f conftest.er1 conftest.err
2693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2694 test $ac_status = 0; } && {
2695 test -z "$ac_c_werror_flag" ||
2696 test ! -s conftest.err
2697 } && test -s conftest.$ac_objext; then :
2698 ac_retval=0
2699 else
2700 $as_echo "$as_me: failed program was:" >&5
2701 sed 's/^/| /' conftest.$ac_ext >&5
2703 ac_retval=1
2705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2706 as_fn_set_status $ac_retval
2708 } # ac_fn_c_try_compile
2710 # ac_fn_cxx_try_compile LINENO
2711 # ----------------------------
2712 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2713 ac_fn_cxx_try_compile ()
2715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2716 rm -f conftest.$ac_objext
2717 if { { ac_try="$ac_compile"
2718 case "(($ac_try" in
2719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2720 *) ac_try_echo=$ac_try;;
2721 esac
2722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2723 $as_echo "$ac_try_echo"; } >&5
2724 (eval "$ac_compile") 2>conftest.err
2725 ac_status=$?
2726 if test -s conftest.err; then
2727 grep -v '^ *+' conftest.err >conftest.er1
2728 cat conftest.er1 >&5
2729 mv -f conftest.er1 conftest.err
2731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2732 test $ac_status = 0; } && {
2733 test -z "$ac_cxx_werror_flag" ||
2734 test ! -s conftest.err
2735 } && test -s conftest.$ac_objext; then :
2736 ac_retval=0
2737 else
2738 $as_echo "$as_me: failed program was:" >&5
2739 sed 's/^/| /' conftest.$ac_ext >&5
2741 ac_retval=1
2743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2744 as_fn_set_status $ac_retval
2746 } # ac_fn_cxx_try_compile
2748 # ac_fn_c_try_link LINENO
2749 # -----------------------
2750 # Try to link conftest.$ac_ext, and return whether this succeeded.
2751 ac_fn_c_try_link ()
2753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2754 rm -f conftest.$ac_objext conftest$ac_exeext
2755 if { { ac_try="$ac_link"
2756 case "(($ac_try" in
2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;;
2759 esac
2760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2761 $as_echo "$ac_try_echo"; } >&5
2762 (eval "$ac_link") 2>conftest.err
2763 ac_status=$?
2764 if test -s conftest.err; then
2765 grep -v '^ *+' conftest.err >conftest.er1
2766 cat conftest.er1 >&5
2767 mv -f conftest.er1 conftest.err
2769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2770 test $ac_status = 0; } && {
2771 test -z "$ac_c_werror_flag" ||
2772 test ! -s conftest.err
2773 } && test -s conftest$ac_exeext && {
2774 test "$cross_compiling" = yes ||
2775 test -x conftest$ac_exeext
2776 }; then :
2777 ac_retval=0
2778 else
2779 $as_echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.$ac_ext >&5
2782 ac_retval=1
2784 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2785 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2786 # interfere with the next link command; also delete a directory that is
2787 # left behind by Apple's compiler. We do this before executing the actions.
2788 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2790 as_fn_set_status $ac_retval
2792 } # ac_fn_c_try_link
2794 # ac_fn_c_try_cpp LINENO
2795 # ----------------------
2796 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2797 ac_fn_c_try_cpp ()
2799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2800 if { { ac_try="$ac_cpp conftest.$ac_ext"
2801 case "(($ac_try" in
2802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2803 *) ac_try_echo=$ac_try;;
2804 esac
2805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2806 $as_echo "$ac_try_echo"; } >&5
2807 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2808 ac_status=$?
2809 if test -s conftest.err; then
2810 grep -v '^ *+' conftest.err >conftest.er1
2811 cat conftest.er1 >&5
2812 mv -f conftest.er1 conftest.err
2814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2815 test $ac_status = 0; } > conftest.i && {
2816 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2817 test ! -s conftest.err
2818 }; then :
2819 ac_retval=0
2820 else
2821 $as_echo "$as_me: failed program was:" >&5
2822 sed 's/^/| /' conftest.$ac_ext >&5
2824 ac_retval=1
2826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2827 as_fn_set_status $ac_retval
2829 } # ac_fn_c_try_cpp
2831 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2832 # -------------------------------------------------------
2833 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2834 # the include files in INCLUDES and setting the cache variable VAR
2835 # accordingly.
2836 ac_fn_c_check_header_mongrel ()
2838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2839 if eval \${$3+:} false; then :
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2841 $as_echo_n "checking for $2... " >&6; }
2842 if eval \${$3+:} false; then :
2843 $as_echo_n "(cached) " >&6
2845 eval ac_res=\$$3
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2847 $as_echo "$ac_res" >&6; }
2848 else
2849 # Is the header compilable?
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2851 $as_echo_n "checking $2 usability... " >&6; }
2852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2853 /* end confdefs.h. */
2855 #include <$2>
2856 _ACEOF
2857 if ac_fn_c_try_compile "$LINENO"; then :
2858 ac_header_compiler=yes
2859 else
2860 ac_header_compiler=no
2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2864 $as_echo "$ac_header_compiler" >&6; }
2866 # Is the header present?
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2868 $as_echo_n "checking $2 presence... " >&6; }
2869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2870 /* end confdefs.h. */
2871 #include <$2>
2872 _ACEOF
2873 if ac_fn_c_try_cpp "$LINENO"; then :
2874 ac_header_preproc=yes
2875 else
2876 ac_header_preproc=no
2878 rm -f conftest.err conftest.i conftest.$ac_ext
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2880 $as_echo "$ac_header_preproc" >&6; }
2882 # So? What about this header?
2883 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2884 yes:no: )
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2886 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2888 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2890 no:yes:* )
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2892 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2894 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2896 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2898 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2900 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2901 ( $as_echo "## ------------------------------------ ##
2902 ## Report this to wine-devel@winehq.org ##
2903 ## ------------------------------------ ##"
2904 ) | sed "s/^/$as_me: WARNING: /" >&2
2906 esac
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2908 $as_echo_n "checking for $2... " >&6; }
2909 if eval \${$3+:} false; then :
2910 $as_echo_n "(cached) " >&6
2911 else
2912 eval "$3=\$ac_header_compiler"
2914 eval ac_res=\$$3
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2916 $as_echo "$ac_res" >&6; }
2918 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2920 } # ac_fn_c_check_header_mongrel
2922 # ac_fn_c_try_run LINENO
2923 # ----------------------
2924 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2925 # that executables *can* be run.
2926 ac_fn_c_try_run ()
2928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2929 if { { ac_try="$ac_link"
2930 case "(($ac_try" in
2931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932 *) ac_try_echo=$ac_try;;
2933 esac
2934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2935 $as_echo "$ac_try_echo"; } >&5
2936 (eval "$ac_link") 2>&5
2937 ac_status=$?
2938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2939 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2940 { { case "(($ac_try" in
2941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942 *) ac_try_echo=$ac_try;;
2943 esac
2944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2945 $as_echo "$ac_try_echo"; } >&5
2946 (eval "$ac_try") 2>&5
2947 ac_status=$?
2948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2949 test $ac_status = 0; }; }; then :
2950 ac_retval=0
2951 else
2952 $as_echo "$as_me: program exited with status $ac_status" >&5
2953 $as_echo "$as_me: failed program was:" >&5
2954 sed 's/^/| /' conftest.$ac_ext >&5
2956 ac_retval=$ac_status
2958 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2959 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2960 as_fn_set_status $ac_retval
2962 } # ac_fn_c_try_run
2964 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2965 # -------------------------------------------------------
2966 # Tests whether HEADER exists and can be compiled using the include files in
2967 # INCLUDES, setting the cache variable VAR accordingly.
2968 ac_fn_c_check_header_compile ()
2970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2972 $as_echo_n "checking for $2... " >&6; }
2973 if eval \${$3+:} false; then :
2974 $as_echo_n "(cached) " >&6
2975 else
2976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2977 /* end confdefs.h. */
2979 #include <$2>
2980 _ACEOF
2981 if ac_fn_c_try_compile "$LINENO"; then :
2982 eval "$3=yes"
2983 else
2984 eval "$3=no"
2986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2988 eval ac_res=\$$3
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2990 $as_echo "$ac_res" >&6; }
2991 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2993 } # ac_fn_c_check_header_compile
2995 # ac_fn_c_check_func LINENO FUNC VAR
2996 # ----------------------------------
2997 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2998 ac_fn_c_check_func ()
3000 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3002 $as_echo_n "checking for $2... " >&6; }
3003 if eval \${$3+:} false; then :
3004 $as_echo_n "(cached) " >&6
3005 else
3006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3007 /* end confdefs.h. */
3008 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3010 #define $2 innocuous_$2
3012 /* System header to define __stub macros and hopefully few prototypes,
3013 which can conflict with char $2 (); below.
3014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3015 <limits.h> exists even on freestanding compilers. */
3017 #ifdef __STDC__
3018 # include <limits.h>
3019 #else
3020 # include <assert.h>
3021 #endif
3023 #undef $2
3025 /* Override any GCC internal prototype to avoid an error.
3026 Use char because int might match the return type of a GCC
3027 builtin and then its argument prototype would still apply. */
3028 #ifdef __cplusplus
3029 extern "C"
3030 #endif
3031 char $2 ();
3032 /* The GNU C library defines this for functions which it implements
3033 to always fail with ENOSYS. Some functions are actually named
3034 something starting with __ and the normal name is an alias. */
3035 #if defined __stub_$2 || defined __stub___$2
3036 choke me
3037 #endif
3040 main ()
3042 return $2 ();
3044 return 0;
3046 _ACEOF
3047 if ac_fn_c_try_link "$LINENO"; then :
3048 eval "$3=yes"
3049 else
3050 eval "$3=no"
3052 rm -f core conftest.err conftest.$ac_objext \
3053 conftest$ac_exeext conftest.$ac_ext
3055 eval ac_res=\$$3
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3057 $as_echo "$ac_res" >&6; }
3058 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3060 } # ac_fn_c_check_func
3062 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3063 # ----------------------------------------------------
3064 # Tries to find if the field MEMBER exists in type AGGR, after including
3065 # INCLUDES, setting cache variable VAR accordingly.
3066 ac_fn_c_check_member ()
3068 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3070 $as_echo_n "checking for $2.$3... " >&6; }
3071 if eval \${$4+:} false; then :
3072 $as_echo_n "(cached) " >&6
3073 else
3074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075 /* end confdefs.h. */
3078 main ()
3080 static $2 ac_aggr;
3081 if (ac_aggr.$3)
3082 return 0;
3084 return 0;
3086 _ACEOF
3087 if ac_fn_c_try_compile "$LINENO"; then :
3088 eval "$4=yes"
3089 else
3090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3091 /* end confdefs.h. */
3094 main ()
3096 static $2 ac_aggr;
3097 if (sizeof ac_aggr.$3)
3098 return 0;
3100 return 0;
3102 _ACEOF
3103 if ac_fn_c_try_compile "$LINENO"; then :
3104 eval "$4=yes"
3105 else
3106 eval "$4=no"
3108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3112 eval ac_res=\$$4
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3114 $as_echo "$ac_res" >&6; }
3115 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3117 } # ac_fn_c_check_member
3119 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3120 # -------------------------------------------
3121 # Tests whether TYPE exists after having included INCLUDES, setting cache
3122 # variable VAR accordingly.
3123 ac_fn_c_check_type ()
3125 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3127 $as_echo_n "checking for $2... " >&6; }
3128 if eval \${$3+:} false; then :
3129 $as_echo_n "(cached) " >&6
3130 else
3131 eval "$3=no"
3132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3136 main ()
3138 if (sizeof ($2))
3139 return 0;
3141 return 0;
3143 _ACEOF
3144 if ac_fn_c_try_compile "$LINENO"; then :
3145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h. */
3149 main ()
3151 if (sizeof (($2)))
3152 return 0;
3154 return 0;
3156 _ACEOF
3157 if ac_fn_c_try_compile "$LINENO"; then :
3159 else
3160 eval "$3=yes"
3162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3166 eval ac_res=\$$3
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3168 $as_echo "$ac_res" >&6; }
3169 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3171 } # ac_fn_c_check_type
3172 cat >config.log <<_ACEOF
3173 This file contains any messages produced by compilers while
3174 running configure, to aid debugging if configure makes a mistake.
3176 It was created by Wine $as_me 3.7, which was
3177 generated by GNU Autoconf 2.69. Invocation command line was
3179 $ $0 $@
3181 _ACEOF
3182 exec 5>>config.log
3184 cat <<_ASUNAME
3185 ## --------- ##
3186 ## Platform. ##
3187 ## --------- ##
3189 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3190 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3191 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3192 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3193 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3195 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3196 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3198 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3199 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3200 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3201 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3202 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3203 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3204 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3206 _ASUNAME
3208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3209 for as_dir in $PATH
3211 IFS=$as_save_IFS
3212 test -z "$as_dir" && as_dir=.
3213 $as_echo "PATH: $as_dir"
3214 done
3215 IFS=$as_save_IFS
3217 } >&5
3219 cat >&5 <<_ACEOF
3222 ## ----------- ##
3223 ## Core tests. ##
3224 ## ----------- ##
3226 _ACEOF
3229 # Keep a trace of the command line.
3230 # Strip out --no-create and --no-recursion so they do not pile up.
3231 # Strip out --silent because we don't want to record it for future runs.
3232 # Also quote any args containing shell meta-characters.
3233 # Make two passes to allow for proper duplicate-argument suppression.
3234 ac_configure_args=
3235 ac_configure_args0=
3236 ac_configure_args1=
3237 ac_must_keep_next=false
3238 for ac_pass in 1 2
3240 for ac_arg
3242 case $ac_arg in
3243 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3244 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3245 | -silent | --silent | --silen | --sile | --sil)
3246 continue ;;
3247 *\'*)
3248 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3249 esac
3250 case $ac_pass in
3251 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3253 as_fn_append ac_configure_args1 " '$ac_arg'"
3254 if test $ac_must_keep_next = true; then
3255 ac_must_keep_next=false # Got value, back to normal.
3256 else
3257 case $ac_arg in
3258 *=* | --config-cache | -C | -disable-* | --disable-* \
3259 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3260 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3261 | -with-* | --with-* | -without-* | --without-* | --x)
3262 case "$ac_configure_args0 " in
3263 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3264 esac
3266 -* ) ac_must_keep_next=true ;;
3267 esac
3269 as_fn_append ac_configure_args " '$ac_arg'"
3271 esac
3272 done
3273 done
3274 { ac_configure_args0=; unset ac_configure_args0;}
3275 { ac_configure_args1=; unset ac_configure_args1;}
3277 # When interrupted or exit'd, cleanup temporary files, and complete
3278 # config.log. We remove comments because anyway the quotes in there
3279 # would cause problems or look ugly.
3280 # WARNING: Use '\'' to represent an apostrophe within the trap.
3281 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3282 trap 'exit_status=$?
3283 # Save into config.log some information that might help in debugging.
3285 echo
3287 $as_echo "## ---------------- ##
3288 ## Cache variables. ##
3289 ## ---------------- ##"
3290 echo
3291 # The following way of writing the cache mishandles newlines in values,
3293 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3294 eval ac_val=\$$ac_var
3295 case $ac_val in #(
3296 *${as_nl}*)
3297 case $ac_var in #(
3298 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3299 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3300 esac
3301 case $ac_var in #(
3302 _ | IFS | as_nl) ;; #(
3303 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3304 *) { eval $ac_var=; unset $ac_var;} ;;
3305 esac ;;
3306 esac
3307 done
3308 (set) 2>&1 |
3309 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3310 *${as_nl}ac_space=\ *)
3311 sed -n \
3312 "s/'\''/'\''\\\\'\'''\''/g;
3313 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3314 ;; #(
3316 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3318 esac |
3319 sort
3321 echo
3323 $as_echo "## ----------------- ##
3324 ## Output variables. ##
3325 ## ----------------- ##"
3326 echo
3327 for ac_var in $ac_subst_vars
3329 eval ac_val=\$$ac_var
3330 case $ac_val in
3331 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3332 esac
3333 $as_echo "$ac_var='\''$ac_val'\''"
3334 done | sort
3335 echo
3337 if test -n "$ac_subst_files"; then
3338 $as_echo "## ------------------- ##
3339 ## File substitutions. ##
3340 ## ------------------- ##"
3341 echo
3342 for ac_var in $ac_subst_files
3344 eval ac_val=\$$ac_var
3345 case $ac_val in
3346 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3347 esac
3348 $as_echo "$ac_var='\''$ac_val'\''"
3349 done | sort
3350 echo
3353 if test -s confdefs.h; then
3354 $as_echo "## ----------- ##
3355 ## confdefs.h. ##
3356 ## ----------- ##"
3357 echo
3358 cat confdefs.h
3359 echo
3361 test "$ac_signal" != 0 &&
3362 $as_echo "$as_me: caught signal $ac_signal"
3363 $as_echo "$as_me: exit $exit_status"
3364 } >&5
3365 rm -f core *.core core.conftest.* &&
3366 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3367 exit $exit_status
3369 for ac_signal in 1 2 13 15; do
3370 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3371 done
3372 ac_signal=0
3374 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3375 rm -f -r conftest* confdefs.h
3377 $as_echo "/* confdefs.h */" > confdefs.h
3379 # Predefined preprocessor variables.
3381 cat >>confdefs.h <<_ACEOF
3382 #define PACKAGE_NAME "$PACKAGE_NAME"
3383 _ACEOF
3385 cat >>confdefs.h <<_ACEOF
3386 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3387 _ACEOF
3389 cat >>confdefs.h <<_ACEOF
3390 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3391 _ACEOF
3393 cat >>confdefs.h <<_ACEOF
3394 #define PACKAGE_STRING "$PACKAGE_STRING"
3395 _ACEOF
3397 cat >>confdefs.h <<_ACEOF
3398 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3399 _ACEOF
3401 cat >>confdefs.h <<_ACEOF
3402 #define PACKAGE_URL "$PACKAGE_URL"
3403 _ACEOF
3406 # Let the site file select an alternate cache file if it wants to.
3407 # Prefer an explicitly selected file to automatically selected ones.
3408 ac_site_file1=NONE
3409 ac_site_file2=NONE
3410 if test -n "$CONFIG_SITE"; then
3411 # We do not want a PATH search for config.site.
3412 case $CONFIG_SITE in #((
3413 -*) ac_site_file1=./$CONFIG_SITE;;
3414 */*) ac_site_file1=$CONFIG_SITE;;
3415 *) ac_site_file1=./$CONFIG_SITE;;
3416 esac
3417 elif test "x$prefix" != xNONE; then
3418 ac_site_file1=$prefix/share/config.site
3419 ac_site_file2=$prefix/etc/config.site
3420 else
3421 ac_site_file1=$ac_default_prefix/share/config.site
3422 ac_site_file2=$ac_default_prefix/etc/config.site
3424 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3426 test "x$ac_site_file" = xNONE && continue
3427 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3429 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3430 sed 's/^/| /' "$ac_site_file" >&5
3431 . "$ac_site_file" \
3432 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3434 as_fn_error $? "failed to load site script $ac_site_file
3435 See \`config.log' for more details" "$LINENO" 5; }
3437 done
3439 if test -r "$cache_file"; then
3440 # Some versions of bash will fail to source /dev/null (special files
3441 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3442 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3444 $as_echo "$as_me: loading cache $cache_file" >&6;}
3445 case $cache_file in
3446 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3447 *) . "./$cache_file";;
3448 esac
3450 else
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3452 $as_echo "$as_me: creating cache $cache_file" >&6;}
3453 >$cache_file
3456 # Check that the precious variables saved in the cache have kept the same
3457 # value.
3458 ac_cache_corrupted=false
3459 for ac_var in $ac_precious_vars; do
3460 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3461 eval ac_new_set=\$ac_env_${ac_var}_set
3462 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3463 eval ac_new_val=\$ac_env_${ac_var}_value
3464 case $ac_old_set,$ac_new_set in
3465 set,)
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3467 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3468 ac_cache_corrupted=: ;;
3469 ,set)
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3471 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3472 ac_cache_corrupted=: ;;
3473 ,);;
3475 if test "x$ac_old_val" != "x$ac_new_val"; then
3476 # differences in whitespace do not lead to failure.
3477 ac_old_val_w=`echo x $ac_old_val`
3478 ac_new_val_w=`echo x $ac_new_val`
3479 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3481 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3482 ac_cache_corrupted=:
3483 else
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3485 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3486 eval $ac_var=\$ac_old_val
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3489 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3491 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3492 fi;;
3493 esac
3494 # Pass precious variables to config.status.
3495 if test "$ac_new_set" = set; then
3496 case $ac_new_val in
3497 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3498 *) ac_arg=$ac_var=$ac_new_val ;;
3499 esac
3500 case " $ac_configure_args " in
3501 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3502 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3503 esac
3505 done
3506 if $ac_cache_corrupted; then
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3510 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3511 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3513 ## -------------------- ##
3514 ## Main body of script. ##
3515 ## -------------------- ##
3517 ac_ext=c
3518 ac_cpp='$CPP $CPPFLAGS'
3519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3525 ac_config_headers="$ac_config_headers include/config.h"
3527 ac_aux_dir=
3528 for ac_dir in tools "$srcdir"/tools; do
3529 if test -f "$ac_dir/install-sh"; then
3530 ac_aux_dir=$ac_dir
3531 ac_install_sh="$ac_aux_dir/install-sh -c"
3532 break
3533 elif test -f "$ac_dir/install.sh"; then
3534 ac_aux_dir=$ac_dir
3535 ac_install_sh="$ac_aux_dir/install.sh -c"
3536 break
3537 elif test -f "$ac_dir/shtool"; then
3538 ac_aux_dir=$ac_dir
3539 ac_install_sh="$ac_aux_dir/shtool install -c"
3540 break
3542 done
3543 if test -z "$ac_aux_dir"; then
3544 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3547 # These three variables are undocumented and unsupported,
3548 # and are intended to be withdrawn in a future Autoconf release.
3549 # They can cause serious problems if a builder's source tree is in a directory
3550 # whose full name contains unusual characters.
3551 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3552 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3553 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3557 libwine_version="1.0"
3561 # Check whether --enable-win16 was given.
3562 if test "${enable_win16+set}" = set; then :
3563 enableval=$enable_win16;
3566 # Check whether --enable-win64 was given.
3567 if test "${enable_win64+set}" = set; then :
3568 enableval=$enable_win64;
3571 # Check whether --enable-tests was given.
3572 if test "${enable_tests+set}" = set; then :
3573 enableval=$enable_tests;
3576 # Check whether --enable-maintainer-mode was given.
3577 if test "${enable_maintainer_mode+set}" = set; then :
3578 enableval=$enable_maintainer_mode;
3583 # Check whether --with-alsa was given.
3584 if test "${with_alsa+set}" = set; then :
3585 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3589 # Check whether --with-capi was given.
3590 if test "${with_capi+set}" = set; then :
3591 withval=$with_capi;
3595 # Check whether --with-cms was given.
3596 if test "${with_cms+set}" = set; then :
3597 withval=$with_cms;
3601 # Check whether --with-coreaudio was given.
3602 if test "${with_coreaudio+set}" = set; then :
3603 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3607 # Check whether --with-cups was given.
3608 if test "${with_cups+set}" = set; then :
3609 withval=$with_cups;
3613 # Check whether --with-curses was given.
3614 if test "${with_curses+set}" = set; then :
3615 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3619 # Check whether --with-dbus was given.
3620 if test "${with_dbus+set}" = set; then :
3621 withval=$with_dbus;
3625 # Check whether --with-float-abi was given.
3626 if test "${with_float_abi+set}" = set; then :
3627 withval=$with_float_abi;
3631 # Check whether --with-fontconfig was given.
3632 if test "${with_fontconfig+set}" = set; then :
3633 withval=$with_fontconfig;
3637 # Check whether --with-freetype was given.
3638 if test "${with_freetype+set}" = set; then :
3639 withval=$with_freetype;
3643 # Check whether --with-gettext was given.
3644 if test "${with_gettext+set}" = set; then :
3645 withval=$with_gettext;
3649 # Check whether --with-gettextpo was given.
3650 if test "${with_gettextpo+set}" = set; then :
3651 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3655 # Check whether --with-gphoto was given.
3656 if test "${with_gphoto+set}" = set; then :
3657 withval=$with_gphoto;
3661 # Check whether --with-glu was given.
3662 if test "${with_glu+set}" = set; then :
3663 withval=$with_glu;
3667 # Check whether --with-gnutls was given.
3668 if test "${with_gnutls+set}" = set; then :
3669 withval=$with_gnutls;
3673 # Check whether --with-gsm was given.
3674 if test "${with_gsm+set}" = set; then :
3675 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3679 # Check whether --with-gssapi was given.
3680 if test "${with_gssapi+set}" = set; then :
3681 withval=$with_gssapi;
3685 # Check whether --with-gstreamer was given.
3686 if test "${with_gstreamer+set}" = set; then :
3687 withval=$with_gstreamer;
3691 # Check whether --with-hal was given.
3692 if test "${with_hal+set}" = set; then :
3693 withval=$with_hal;
3697 # Check whether --with-jpeg was given.
3698 if test "${with_jpeg+set}" = set; then :
3699 withval=$with_jpeg;
3703 # Check whether --with-krb5 was given.
3704 if test "${with_krb5+set}" = set; then :
3705 withval=$with_krb5;
3709 # Check whether --with-ldap was given.
3710 if test "${with_ldap+set}" = set; then :
3711 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3715 # Check whether --with-mpg123 was given.
3716 if test "${with_mpg123+set}" = set; then :
3717 withval=$with_mpg123;
3721 # Check whether --with-netapi was given.
3722 if test "${with_netapi+set}" = set; then :
3723 withval=$with_netapi;
3727 # Check whether --with-openal was given.
3728 if test "${with_openal+set}" = set; then :
3729 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3733 # Check whether --with-opencl was given.
3734 if test "${with_opencl+set}" = set; then :
3735 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3739 # Check whether --with-opengl was given.
3740 if test "${with_opengl+set}" = set; then :
3741 withval=$with_opengl;
3745 # Check whether --with-osmesa was given.
3746 if test "${with_osmesa+set}" = set; then :
3747 withval=$with_osmesa;
3751 # Check whether --with-oss was given.
3752 if test "${with_oss+set}" = set; then :
3753 withval=$with_oss;
3757 # Check whether --with-pcap was given.
3758 if test "${with_pcap+set}" = set; then :
3759 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3763 # Check whether --with-png was given.
3764 if test "${with_png+set}" = set; then :
3765 withval=$with_png;
3769 # Check whether --with-pthread was given.
3770 if test "${with_pthread+set}" = set; then :
3771 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3775 # Check whether --with-pulse was given.
3776 if test "${with_pulse+set}" = set; then :
3777 withval=$with_pulse;
3781 # Check whether --with-sane was given.
3782 if test "${with_sane+set}" = set; then :
3783 withval=$with_sane;
3787 # Check whether --with-sdl was given.
3788 if test "${with_sdl+set}" = set; then :
3789 withval=$with_sdl;
3793 # Check whether --with-tiff was given.
3794 if test "${with_tiff+set}" = set; then :
3795 withval=$with_tiff;
3799 # Check whether --with-udev was given.
3800 if test "${with_udev+set}" = set; then :
3801 withval=$with_udev;
3805 # Check whether --with-v4l was given.
3806 if test "${with_v4l+set}" = set; then :
3807 withval=$with_v4l;
3811 # Check whether --with-vulkan was given.
3812 if test "${with_vulkan+set}" = set; then :
3813 withval=$with_vulkan;
3817 # Check whether --with-xcomposite was given.
3818 if test "${with_xcomposite+set}" = set; then :
3819 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3823 # Check whether --with-xcursor was given.
3824 if test "${with_xcursor+set}" = set; then :
3825 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3829 # Check whether --with-xfixes was given.
3830 if test "${with_xfixes+set}" = set; then :
3831 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3835 # Check whether --with-xinerama was given.
3836 if test "${with_xinerama+set}" = set; then :
3837 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3841 # Check whether --with-xinput was given.
3842 if test "${with_xinput+set}" = set; then :
3843 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3847 # Check whether --with-xinput2 was given.
3848 if test "${with_xinput2+set}" = set; then :
3849 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3853 # Check whether --with-xml was given.
3854 if test "${with_xml+set}" = set; then :
3855 withval=$with_xml;
3859 # Check whether --with-xrandr was given.
3860 if test "${with_xrandr+set}" = set; then :
3861 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3865 # Check whether --with-xrender was given.
3866 if test "${with_xrender+set}" = set; then :
3867 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3871 # Check whether --with-xshape was given.
3872 if test "${with_xshape+set}" = set; then :
3873 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3877 # Check whether --with-xshm was given.
3878 if test "${with_xshm+set}" = set; then :
3879 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3883 # Check whether --with-xslt was given.
3884 if test "${with_xslt+set}" = set; then :
3885 withval=$with_xslt;
3889 # Check whether --with-xxf86vm was given.
3890 if test "${with_xxf86vm+set}" = set; then :
3891 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
3895 # Check whether --with-zlib was given.
3896 if test "${with_zlib+set}" = set; then :
3897 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3902 # Check whether --with-wine-tools was given.
3903 if test "${with_wine_tools+set}" = set; then :
3904 withval=$with_wine_tools;
3908 # Check whether --with-wine64 was given.
3909 if test "${with_wine64+set}" = set; then :
3910 withval=$with_wine64;
3914 # Make sure we can run config.sub.
3915 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3916 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3919 $as_echo_n "checking build system type... " >&6; }
3920 if ${ac_cv_build+:} false; then :
3921 $as_echo_n "(cached) " >&6
3922 else
3923 ac_build_alias=$build_alias
3924 test "x$ac_build_alias" = x &&
3925 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3926 test "x$ac_build_alias" = x &&
3927 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3928 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3929 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3933 $as_echo "$ac_cv_build" >&6; }
3934 case $ac_cv_build in
3935 *-*-*) ;;
3936 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3937 esac
3938 build=$ac_cv_build
3939 ac_save_IFS=$IFS; IFS='-'
3940 set x $ac_cv_build
3941 shift
3942 build_cpu=$1
3943 build_vendor=$2
3944 shift; shift
3945 # Remember, the first character of IFS is used to create $*,
3946 # except with old shells:
3947 build_os=$*
3948 IFS=$ac_save_IFS
3949 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3953 $as_echo_n "checking host system type... " >&6; }
3954 if ${ac_cv_host+:} false; then :
3955 $as_echo_n "(cached) " >&6
3956 else
3957 if test "x$host_alias" = x; then
3958 ac_cv_host=$ac_cv_build
3959 else
3960 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3961 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3966 $as_echo "$ac_cv_host" >&6; }
3967 case $ac_cv_host in
3968 *-*-*) ;;
3969 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3970 esac
3971 host=$ac_cv_host
3972 ac_save_IFS=$IFS; IFS='-'
3973 set x $ac_cv_host
3974 shift
3975 host_cpu=$1
3976 host_vendor=$2
3977 shift; shift
3978 # Remember, the first character of IFS is used to create $*,
3979 # except with old shells:
3980 host_os=$*
3981 IFS=$ac_save_IFS
3982 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3986 case "$srcdir" in
3987 .) ;;
3988 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3989 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3990 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3991 fi ;;
3992 esac
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3996 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3997 set x ${MAKE-make}
3998 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3999 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4000 $as_echo_n "(cached) " >&6
4001 else
4002 cat >conftest.make <<\_ACEOF
4003 SHELL = /bin/sh
4004 all:
4005 @echo '@@@%%%=$(MAKE)=@@@%%%'
4006 _ACEOF
4007 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4008 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4009 *@@@%%%=?*=@@@%%%*)
4010 eval ac_cv_prog_make_${ac_make}_set=yes;;
4012 eval ac_cv_prog_make_${ac_make}_set=no;;
4013 esac
4014 rm -f conftest.make
4016 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4018 $as_echo "yes" >&6; }
4019 SET_MAKE=
4020 else
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4022 $as_echo "no" >&6; }
4023 SET_MAKE="MAKE=${MAKE-make}"
4026 ac_ext=c
4027 ac_cpp='$CPP $CPPFLAGS'
4028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4031 if test -n "$ac_tool_prefix"; then
4032 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4033 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if ${ac_cv_prog_CC+:} false; then :
4037 $as_echo_n "(cached) " >&6
4038 else
4039 if test -n "$CC"; then
4040 ac_cv_prog_CC="$CC" # Let the user override the test.
4041 else
4042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043 for as_dir in $PATH
4045 IFS=$as_save_IFS
4046 test -z "$as_dir" && as_dir=.
4047 for ac_exec_ext in '' $ac_executable_extensions; do
4048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4049 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4051 break 2
4053 done
4054 done
4055 IFS=$as_save_IFS
4059 CC=$ac_cv_prog_CC
4060 if test -n "$CC"; then
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4062 $as_echo "$CC" >&6; }
4063 else
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4065 $as_echo "no" >&6; }
4070 if test -z "$ac_cv_prog_CC"; then
4071 ac_ct_CC=$CC
4072 # Extract the first word of "gcc", so it can be a program name with args.
4073 set dummy gcc; ac_word=$2
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4075 $as_echo_n "checking for $ac_word... " >&6; }
4076 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4077 $as_echo_n "(cached) " >&6
4078 else
4079 if test -n "$ac_ct_CC"; then
4080 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4081 else
4082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4083 for as_dir in $PATH
4085 IFS=$as_save_IFS
4086 test -z "$as_dir" && as_dir=.
4087 for ac_exec_ext in '' $ac_executable_extensions; do
4088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4089 ac_cv_prog_ac_ct_CC="gcc"
4090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4091 break 2
4093 done
4094 done
4095 IFS=$as_save_IFS
4099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4100 if test -n "$ac_ct_CC"; then
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4102 $as_echo "$ac_ct_CC" >&6; }
4103 else
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4105 $as_echo "no" >&6; }
4108 if test "x$ac_ct_CC" = x; then
4109 CC=""
4110 else
4111 case $cross_compiling:$ac_tool_warned in
4112 yes:)
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4115 ac_tool_warned=yes ;;
4116 esac
4117 CC=$ac_ct_CC
4119 else
4120 CC="$ac_cv_prog_CC"
4123 if test -z "$CC"; then
4124 if test -n "$ac_tool_prefix"; then
4125 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4126 set dummy ${ac_tool_prefix}cc; ac_word=$2
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4128 $as_echo_n "checking for $ac_word... " >&6; }
4129 if ${ac_cv_prog_CC+:} false; then :
4130 $as_echo_n "(cached) " >&6
4131 else
4132 if test -n "$CC"; then
4133 ac_cv_prog_CC="$CC" # Let the user override the test.
4134 else
4135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4136 for as_dir in $PATH
4138 IFS=$as_save_IFS
4139 test -z "$as_dir" && as_dir=.
4140 for ac_exec_ext in '' $ac_executable_extensions; do
4141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4142 ac_cv_prog_CC="${ac_tool_prefix}cc"
4143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4144 break 2
4146 done
4147 done
4148 IFS=$as_save_IFS
4152 CC=$ac_cv_prog_CC
4153 if test -n "$CC"; then
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4155 $as_echo "$CC" >&6; }
4156 else
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4158 $as_echo "no" >&6; }
4164 if test -z "$CC"; then
4165 # Extract the first word of "cc", so it can be a program name with args.
4166 set dummy cc; ac_word=$2
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4168 $as_echo_n "checking for $ac_word... " >&6; }
4169 if ${ac_cv_prog_CC+:} false; then :
4170 $as_echo_n "(cached) " >&6
4171 else
4172 if test -n "$CC"; then
4173 ac_cv_prog_CC="$CC" # Let the user override the test.
4174 else
4175 ac_prog_rejected=no
4176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4177 for as_dir in $PATH
4179 IFS=$as_save_IFS
4180 test -z "$as_dir" && as_dir=.
4181 for ac_exec_ext in '' $ac_executable_extensions; do
4182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4183 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4184 ac_prog_rejected=yes
4185 continue
4187 ac_cv_prog_CC="cc"
4188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4189 break 2
4191 done
4192 done
4193 IFS=$as_save_IFS
4195 if test $ac_prog_rejected = yes; then
4196 # We found a bogon in the path, so make sure we never use it.
4197 set dummy $ac_cv_prog_CC
4198 shift
4199 if test $# != 0; then
4200 # We chose a different compiler from the bogus one.
4201 # However, it has the same basename, so the bogon will be chosen
4202 # first if we set CC to just the basename; use the full file name.
4203 shift
4204 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4209 CC=$ac_cv_prog_CC
4210 if test -n "$CC"; then
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4212 $as_echo "$CC" >&6; }
4213 else
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4215 $as_echo "no" >&6; }
4220 if test -z "$CC"; then
4221 if test -n "$ac_tool_prefix"; then
4222 for ac_prog in cl.exe
4224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4227 $as_echo_n "checking for $ac_word... " >&6; }
4228 if ${ac_cv_prog_CC+:} false; then :
4229 $as_echo_n "(cached) " >&6
4230 else
4231 if test -n "$CC"; then
4232 ac_cv_prog_CC="$CC" # Let the user override the test.
4233 else
4234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4235 for as_dir in $PATH
4237 IFS=$as_save_IFS
4238 test -z "$as_dir" && as_dir=.
4239 for ac_exec_ext in '' $ac_executable_extensions; do
4240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4241 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4243 break 2
4245 done
4246 done
4247 IFS=$as_save_IFS
4251 CC=$ac_cv_prog_CC
4252 if test -n "$CC"; then
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4254 $as_echo "$CC" >&6; }
4255 else
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4257 $as_echo "no" >&6; }
4261 test -n "$CC" && break
4262 done
4264 if test -z "$CC"; then
4265 ac_ct_CC=$CC
4266 for ac_prog in cl.exe
4268 # Extract the first word of "$ac_prog", so it can be a program name with args.
4269 set dummy $ac_prog; ac_word=$2
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4271 $as_echo_n "checking for $ac_word... " >&6; }
4272 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4273 $as_echo_n "(cached) " >&6
4274 else
4275 if test -n "$ac_ct_CC"; then
4276 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4277 else
4278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4279 for as_dir in $PATH
4281 IFS=$as_save_IFS
4282 test -z "$as_dir" && as_dir=.
4283 for ac_exec_ext in '' $ac_executable_extensions; do
4284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4285 ac_cv_prog_ac_ct_CC="$ac_prog"
4286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4287 break 2
4289 done
4290 done
4291 IFS=$as_save_IFS
4295 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4296 if test -n "$ac_ct_CC"; then
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4298 $as_echo "$ac_ct_CC" >&6; }
4299 else
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4301 $as_echo "no" >&6; }
4305 test -n "$ac_ct_CC" && break
4306 done
4308 if test "x$ac_ct_CC" = x; then
4309 CC=""
4310 else
4311 case $cross_compiling:$ac_tool_warned in
4312 yes:)
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4315 ac_tool_warned=yes ;;
4316 esac
4317 CC=$ac_ct_CC
4324 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4326 as_fn_error $? "no acceptable C compiler found in \$PATH
4327 See \`config.log' for more details" "$LINENO" 5; }
4329 # Provide some information about the compiler.
4330 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4331 set X $ac_compile
4332 ac_compiler=$2
4333 for ac_option in --version -v -V -qversion; do
4334 { { ac_try="$ac_compiler $ac_option >&5"
4335 case "(($ac_try" in
4336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4337 *) ac_try_echo=$ac_try;;
4338 esac
4339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4340 $as_echo "$ac_try_echo"; } >&5
4341 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4342 ac_status=$?
4343 if test -s conftest.err; then
4344 sed '10a\
4345 ... rest of stderr output deleted ...
4346 10q' conftest.err >conftest.er1
4347 cat conftest.er1 >&5
4349 rm -f conftest.er1 conftest.err
4350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4351 test $ac_status = 0; }
4352 done
4354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4355 /* end confdefs.h. */
4358 main ()
4362 return 0;
4364 _ACEOF
4365 ac_clean_files_save=$ac_clean_files
4366 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4367 # Try to create an executable without -o first, disregard a.out.
4368 # It will help us diagnose broken compilers, and finding out an intuition
4369 # of exeext.
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4371 $as_echo_n "checking whether the C compiler works... " >&6; }
4372 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4374 # The possible output files:
4375 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4377 ac_rmfiles=
4378 for ac_file in $ac_files
4380 case $ac_file in
4381 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4382 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4383 esac
4384 done
4385 rm -f $ac_rmfiles
4387 if { { ac_try="$ac_link_default"
4388 case "(($ac_try" in
4389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4390 *) ac_try_echo=$ac_try;;
4391 esac
4392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4393 $as_echo "$ac_try_echo"; } >&5
4394 (eval "$ac_link_default") 2>&5
4395 ac_status=$?
4396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4397 test $ac_status = 0; }; then :
4398 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4399 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4400 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4401 # so that the user can short-circuit this test for compilers unknown to
4402 # Autoconf.
4403 for ac_file in $ac_files ''
4405 test -f "$ac_file" || continue
4406 case $ac_file in
4407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4409 [ab].out )
4410 # We found the default executable, but exeext='' is most
4411 # certainly right.
4412 break;;
4413 *.* )
4414 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4415 then :; else
4416 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4418 # We set ac_cv_exeext here because the later test for it is not
4419 # safe: cross compilers may not add the suffix if given an `-o'
4420 # argument, so we may need to know it at that point already.
4421 # Even if this section looks crufty: it has the advantage of
4422 # actually working.
4423 break;;
4425 break;;
4426 esac
4427 done
4428 test "$ac_cv_exeext" = no && ac_cv_exeext=
4430 else
4431 ac_file=''
4433 if test -z "$ac_file"; then :
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435 $as_echo "no" >&6; }
4436 $as_echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.$ac_ext >&5
4439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4441 as_fn_error 77 "C compiler cannot create executables
4442 See \`config.log' for more details" "$LINENO" 5; }
4443 else
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4445 $as_echo "yes" >&6; }
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4448 $as_echo_n "checking for C compiler default output file name... " >&6; }
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4450 $as_echo "$ac_file" >&6; }
4451 ac_exeext=$ac_cv_exeext
4453 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4454 ac_clean_files=$ac_clean_files_save
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4456 $as_echo_n "checking for suffix of executables... " >&6; }
4457 if { { ac_try="$ac_link"
4458 case "(($ac_try" in
4459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4460 *) ac_try_echo=$ac_try;;
4461 esac
4462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4463 $as_echo "$ac_try_echo"; } >&5
4464 (eval "$ac_link") 2>&5
4465 ac_status=$?
4466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4467 test $ac_status = 0; }; then :
4468 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4469 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4470 # work properly (i.e., refer to `conftest.exe'), while it won't with
4471 # `rm'.
4472 for ac_file in conftest.exe conftest conftest.*; do
4473 test -f "$ac_file" || continue
4474 case $ac_file in
4475 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4476 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4477 break;;
4478 * ) break;;
4479 esac
4480 done
4481 else
4482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4484 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4485 See \`config.log' for more details" "$LINENO" 5; }
4487 rm -f conftest conftest$ac_cv_exeext
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4489 $as_echo "$ac_cv_exeext" >&6; }
4491 rm -f conftest.$ac_ext
4492 EXEEXT=$ac_cv_exeext
4493 ac_exeext=$EXEEXT
4494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4495 /* end confdefs.h. */
4496 #include <stdio.h>
4498 main ()
4500 FILE *f = fopen ("conftest.out", "w");
4501 return ferror (f) || fclose (f) != 0;
4504 return 0;
4506 _ACEOF
4507 ac_clean_files="$ac_clean_files conftest.out"
4508 # Check that the compiler produces executables we can run. If not, either
4509 # the compiler is broken, or we cross compile.
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4511 $as_echo_n "checking whether we are cross compiling... " >&6; }
4512 if test "$cross_compiling" != yes; then
4513 { { ac_try="$ac_link"
4514 case "(($ac_try" in
4515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4516 *) ac_try_echo=$ac_try;;
4517 esac
4518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4519 $as_echo "$ac_try_echo"; } >&5
4520 (eval "$ac_link") 2>&5
4521 ac_status=$?
4522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4523 test $ac_status = 0; }
4524 if { ac_try='./conftest$ac_cv_exeext'
4525 { { case "(($ac_try" in
4526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4527 *) ac_try_echo=$ac_try;;
4528 esac
4529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4530 $as_echo "$ac_try_echo"; } >&5
4531 (eval "$ac_try") 2>&5
4532 ac_status=$?
4533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4534 test $ac_status = 0; }; }; then
4535 cross_compiling=no
4536 else
4537 if test "$cross_compiling" = maybe; then
4538 cross_compiling=yes
4539 else
4540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4542 as_fn_error $? "cannot run C compiled programs.
4543 If you meant to cross compile, use \`--host'.
4544 See \`config.log' for more details" "$LINENO" 5; }
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4549 $as_echo "$cross_compiling" >&6; }
4551 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4552 ac_clean_files=$ac_clean_files_save
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4554 $as_echo_n "checking for suffix of object files... " >&6; }
4555 if ${ac_cv_objext+:} false; then :
4556 $as_echo_n "(cached) " >&6
4557 else
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4562 main ()
4566 return 0;
4568 _ACEOF
4569 rm -f conftest.o conftest.obj
4570 if { { ac_try="$ac_compile"
4571 case "(($ac_try" in
4572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4573 *) ac_try_echo=$ac_try;;
4574 esac
4575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4576 $as_echo "$ac_try_echo"; } >&5
4577 (eval "$ac_compile") 2>&5
4578 ac_status=$?
4579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4580 test $ac_status = 0; }; then :
4581 for ac_file in conftest.o conftest.obj conftest.*; do
4582 test -f "$ac_file" || continue;
4583 case $ac_file in
4584 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4585 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4586 break;;
4587 esac
4588 done
4589 else
4590 $as_echo "$as_me: failed program was:" >&5
4591 sed 's/^/| /' conftest.$ac_ext >&5
4593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4595 as_fn_error $? "cannot compute suffix of object files: cannot compile
4596 See \`config.log' for more details" "$LINENO" 5; }
4598 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4601 $as_echo "$ac_cv_objext" >&6; }
4602 OBJEXT=$ac_cv_objext
4603 ac_objext=$OBJEXT
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4605 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4606 if ${ac_cv_c_compiler_gnu+:} false; then :
4607 $as_echo_n "(cached) " >&6
4608 else
4609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4610 /* end confdefs.h. */
4613 main ()
4615 #ifndef __GNUC__
4616 choke me
4617 #endif
4620 return 0;
4622 _ACEOF
4623 if ac_fn_c_try_compile "$LINENO"; then :
4624 ac_compiler_gnu=yes
4625 else
4626 ac_compiler_gnu=no
4628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4629 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4633 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4634 if test $ac_compiler_gnu = yes; then
4635 GCC=yes
4636 else
4637 GCC=
4639 ac_test_CFLAGS=${CFLAGS+set}
4640 ac_save_CFLAGS=$CFLAGS
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4642 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4643 if ${ac_cv_prog_cc_g+:} false; then :
4644 $as_echo_n "(cached) " >&6
4645 else
4646 ac_save_c_werror_flag=$ac_c_werror_flag
4647 ac_c_werror_flag=yes
4648 ac_cv_prog_cc_g=no
4649 CFLAGS="-g"
4650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4651 /* end confdefs.h. */
4654 main ()
4658 return 0;
4660 _ACEOF
4661 if ac_fn_c_try_compile "$LINENO"; then :
4662 ac_cv_prog_cc_g=yes
4663 else
4664 CFLAGS=""
4665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4666 /* end confdefs.h. */
4669 main ()
4673 return 0;
4675 _ACEOF
4676 if ac_fn_c_try_compile "$LINENO"; then :
4678 else
4679 ac_c_werror_flag=$ac_save_c_werror_flag
4680 CFLAGS="-g"
4681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4682 /* end confdefs.h. */
4685 main ()
4689 return 0;
4691 _ACEOF
4692 if ac_fn_c_try_compile "$LINENO"; then :
4693 ac_cv_prog_cc_g=yes
4695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4700 ac_c_werror_flag=$ac_save_c_werror_flag
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4703 $as_echo "$ac_cv_prog_cc_g" >&6; }
4704 if test "$ac_test_CFLAGS" = set; then
4705 CFLAGS=$ac_save_CFLAGS
4706 elif test $ac_cv_prog_cc_g = yes; then
4707 if test "$GCC" = yes; then
4708 CFLAGS="-g -O2"
4709 else
4710 CFLAGS="-g"
4712 else
4713 if test "$GCC" = yes; then
4714 CFLAGS="-O2"
4715 else
4716 CFLAGS=
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4720 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4721 if ${ac_cv_prog_cc_c89+:} false; then :
4722 $as_echo_n "(cached) " >&6
4723 else
4724 ac_cv_prog_cc_c89=no
4725 ac_save_CC=$CC
4726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4727 /* end confdefs.h. */
4728 #include <stdarg.h>
4729 #include <stdio.h>
4730 struct stat;
4731 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4732 struct buf { int x; };
4733 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4734 static char *e (p, i)
4735 char **p;
4736 int i;
4738 return p[i];
4740 static char *f (char * (*g) (char **, int), char **p, ...)
4742 char *s;
4743 va_list v;
4744 va_start (v,p);
4745 s = g (p, va_arg (v,int));
4746 va_end (v);
4747 return s;
4750 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4751 function prototypes and stuff, but not '\xHH' hex character constants.
4752 These don't provoke an error unfortunately, instead are silently treated
4753 as 'x'. The following induces an error, until -std is added to get
4754 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4755 array size at least. It's necessary to write '\x00'==0 to get something
4756 that's true only with -std. */
4757 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4759 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4760 inside strings and character constants. */
4761 #define FOO(x) 'x'
4762 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4764 int test (int i, double x);
4765 struct s1 {int (*f) (int a);};
4766 struct s2 {int (*f) (double a);};
4767 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4768 int argc;
4769 char **argv;
4771 main ()
4773 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4775 return 0;
4777 _ACEOF
4778 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4779 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4781 CC="$ac_save_CC $ac_arg"
4782 if ac_fn_c_try_compile "$LINENO"; then :
4783 ac_cv_prog_cc_c89=$ac_arg
4785 rm -f core conftest.err conftest.$ac_objext
4786 test "x$ac_cv_prog_cc_c89" != "xno" && break
4787 done
4788 rm -f conftest.$ac_ext
4789 CC=$ac_save_CC
4792 # AC_CACHE_VAL
4793 case "x$ac_cv_prog_cc_c89" in
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4796 $as_echo "none needed" >&6; } ;;
4797 xno)
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4799 $as_echo "unsupported" >&6; } ;;
4801 CC="$CC $ac_cv_prog_cc_c89"
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4803 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4804 esac
4805 if test "x$ac_cv_prog_cc_c89" != xno; then :
4809 ac_ext=c
4810 ac_cpp='$CPP $CPPFLAGS'
4811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4815 ac_ext=cpp
4816 ac_cpp='$CXXCPP $CPPFLAGS'
4817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4820 if test -z "$CXX"; then
4821 if test -n "$CCC"; then
4822 CXX=$CCC
4823 else
4824 if test -n "$ac_tool_prefix"; then
4825 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4827 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4828 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4830 $as_echo_n "checking for $ac_word... " >&6; }
4831 if ${ac_cv_prog_CXX+:} false; then :
4832 $as_echo_n "(cached) " >&6
4833 else
4834 if test -n "$CXX"; then
4835 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4836 else
4837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4838 for as_dir in $PATH
4840 IFS=$as_save_IFS
4841 test -z "$as_dir" && as_dir=.
4842 for ac_exec_ext in '' $ac_executable_extensions; do
4843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4844 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4846 break 2
4848 done
4849 done
4850 IFS=$as_save_IFS
4854 CXX=$ac_cv_prog_CXX
4855 if test -n "$CXX"; then
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4857 $as_echo "$CXX" >&6; }
4858 else
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4860 $as_echo "no" >&6; }
4864 test -n "$CXX" && break
4865 done
4867 if test -z "$CXX"; then
4868 ac_ct_CXX=$CXX
4869 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4871 # Extract the first word of "$ac_prog", so it can be a program name with args.
4872 set dummy $ac_prog; ac_word=$2
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4874 $as_echo_n "checking for $ac_word... " >&6; }
4875 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4876 $as_echo_n "(cached) " >&6
4877 else
4878 if test -n "$ac_ct_CXX"; then
4879 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4880 else
4881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4882 for as_dir in $PATH
4884 IFS=$as_save_IFS
4885 test -z "$as_dir" && as_dir=.
4886 for ac_exec_ext in '' $ac_executable_extensions; do
4887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4888 ac_cv_prog_ac_ct_CXX="$ac_prog"
4889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4890 break 2
4892 done
4893 done
4894 IFS=$as_save_IFS
4898 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4899 if test -n "$ac_ct_CXX"; then
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4901 $as_echo "$ac_ct_CXX" >&6; }
4902 else
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904 $as_echo "no" >&6; }
4908 test -n "$ac_ct_CXX" && break
4909 done
4911 if test "x$ac_ct_CXX" = x; then
4912 CXX="g++"
4913 else
4914 case $cross_compiling:$ac_tool_warned in
4915 yes:)
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4918 ac_tool_warned=yes ;;
4919 esac
4920 CXX=$ac_ct_CXX
4926 # Provide some information about the compiler.
4927 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4928 set X $ac_compile
4929 ac_compiler=$2
4930 for ac_option in --version -v -V -qversion; do
4931 { { ac_try="$ac_compiler $ac_option >&5"
4932 case "(($ac_try" in
4933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4934 *) ac_try_echo=$ac_try;;
4935 esac
4936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4937 $as_echo "$ac_try_echo"; } >&5
4938 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4939 ac_status=$?
4940 if test -s conftest.err; then
4941 sed '10a\
4942 ... rest of stderr output deleted ...
4943 10q' conftest.err >conftest.er1
4944 cat conftest.er1 >&5
4946 rm -f conftest.er1 conftest.err
4947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4948 test $ac_status = 0; }
4949 done
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4952 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4953 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4954 $as_echo_n "(cached) " >&6
4955 else
4956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4960 main ()
4962 #ifndef __GNUC__
4963 choke me
4964 #endif
4967 return 0;
4969 _ACEOF
4970 if ac_fn_cxx_try_compile "$LINENO"; then :
4971 ac_compiler_gnu=yes
4972 else
4973 ac_compiler_gnu=no
4975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4976 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4980 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4981 if test $ac_compiler_gnu = yes; then
4982 GXX=yes
4983 else
4984 GXX=
4986 ac_test_CXXFLAGS=${CXXFLAGS+set}
4987 ac_save_CXXFLAGS=$CXXFLAGS
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4989 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4990 if ${ac_cv_prog_cxx_g+:} false; then :
4991 $as_echo_n "(cached) " >&6
4992 else
4993 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4994 ac_cxx_werror_flag=yes
4995 ac_cv_prog_cxx_g=no
4996 CXXFLAGS="-g"
4997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998 /* end confdefs.h. */
5001 main ()
5005 return 0;
5007 _ACEOF
5008 if ac_fn_cxx_try_compile "$LINENO"; then :
5009 ac_cv_prog_cxx_g=yes
5010 else
5011 CXXFLAGS=""
5012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5013 /* end confdefs.h. */
5016 main ()
5020 return 0;
5022 _ACEOF
5023 if ac_fn_cxx_try_compile "$LINENO"; then :
5025 else
5026 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5027 CXXFLAGS="-g"
5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5032 main ()
5036 return 0;
5038 _ACEOF
5039 if ac_fn_cxx_try_compile "$LINENO"; then :
5040 ac_cv_prog_cxx_g=yes
5042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5047 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5050 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5051 if test "$ac_test_CXXFLAGS" = set; then
5052 CXXFLAGS=$ac_save_CXXFLAGS
5053 elif test $ac_cv_prog_cxx_g = yes; then
5054 if test "$GXX" = yes; then
5055 CXXFLAGS="-g -O2"
5056 else
5057 CXXFLAGS="-g"
5059 else
5060 if test "$GXX" = yes; then
5061 CXXFLAGS="-O2"
5062 else
5063 CXXFLAGS=
5066 ac_ext=c
5067 ac_cpp='$CPP $CPPFLAGS'
5068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5072 if test -n "$ac_tool_prefix"; then
5073 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5074 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5076 $as_echo_n "checking for $ac_word... " >&6; }
5077 if ${ac_cv_prog_CPPBIN+:} false; then :
5078 $as_echo_n "(cached) " >&6
5079 else
5080 if test -n "$CPPBIN"; then
5081 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5082 else
5083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5084 for as_dir in $PATH
5086 IFS=$as_save_IFS
5087 test -z "$as_dir" && as_dir=.
5088 for ac_exec_ext in '' $ac_executable_extensions; do
5089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5090 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5092 break 2
5094 done
5095 done
5096 IFS=$as_save_IFS
5100 CPPBIN=$ac_cv_prog_CPPBIN
5101 if test -n "$CPPBIN"; then
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5103 $as_echo "$CPPBIN" >&6; }
5104 else
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 $as_echo "no" >&6; }
5111 if test -z "$ac_cv_prog_CPPBIN"; then
5112 ac_ct_CPPBIN=$CPPBIN
5113 # Extract the first word of "cpp", so it can be a program name with args.
5114 set dummy cpp; ac_word=$2
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5116 $as_echo_n "checking for $ac_word... " >&6; }
5117 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5118 $as_echo_n "(cached) " >&6
5119 else
5120 if test -n "$ac_ct_CPPBIN"; then
5121 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5122 else
5123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5124 for as_dir in $PATH
5126 IFS=$as_save_IFS
5127 test -z "$as_dir" && as_dir=.
5128 for ac_exec_ext in '' $ac_executable_extensions; do
5129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5130 ac_cv_prog_ac_ct_CPPBIN="cpp"
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 break 2
5134 done
5135 done
5136 IFS=$as_save_IFS
5140 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5141 if test -n "$ac_ct_CPPBIN"; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5143 $as_echo "$ac_ct_CPPBIN" >&6; }
5144 else
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5149 if test "x$ac_ct_CPPBIN" = x; then
5150 CPPBIN="cpp"
5151 else
5152 case $cross_compiling:$ac_tool_warned in
5153 yes:)
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5156 ac_tool_warned=yes ;;
5157 esac
5158 CPPBIN=$ac_ct_CPPBIN
5160 else
5161 CPPBIN="$ac_cv_prog_CPPBIN"
5165 cat >>confdefs.h <<_ACEOF
5166 #define EXEEXT "$ac_exeext"
5167 _ACEOF
5169 if test -n "$ac_tool_prefix"; then
5170 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5171 set dummy ${ac_tool_prefix}ld; ac_word=$2
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5173 $as_echo_n "checking for $ac_word... " >&6; }
5174 if ${ac_cv_prog_LD+:} false; then :
5175 $as_echo_n "(cached) " >&6
5176 else
5177 if test -n "$LD"; then
5178 ac_cv_prog_LD="$LD" # Let the user override the test.
5179 else
5180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5181 for as_dir in $PATH
5183 IFS=$as_save_IFS
5184 test -z "$as_dir" && as_dir=.
5185 for ac_exec_ext in '' $ac_executable_extensions; do
5186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5187 ac_cv_prog_LD="${ac_tool_prefix}ld"
5188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 break 2
5191 done
5192 done
5193 IFS=$as_save_IFS
5197 LD=$ac_cv_prog_LD
5198 if test -n "$LD"; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5200 $as_echo "$LD" >&6; }
5201 else
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203 $as_echo "no" >&6; }
5208 if test -z "$ac_cv_prog_LD"; then
5209 ac_ct_LD=$LD
5210 # Extract the first word of "ld", so it can be a program name with args.
5211 set dummy ld; ac_word=$2
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5213 $as_echo_n "checking for $ac_word... " >&6; }
5214 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5215 $as_echo_n "(cached) " >&6
5216 else
5217 if test -n "$ac_ct_LD"; then
5218 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5219 else
5220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5221 for as_dir in $PATH
5223 IFS=$as_save_IFS
5224 test -z "$as_dir" && as_dir=.
5225 for ac_exec_ext in '' $ac_executable_extensions; do
5226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5227 ac_cv_prog_ac_ct_LD="ld"
5228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5229 break 2
5231 done
5232 done
5233 IFS=$as_save_IFS
5237 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5238 if test -n "$ac_ct_LD"; then
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5240 $as_echo "$ac_ct_LD" >&6; }
5241 else
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5243 $as_echo "no" >&6; }
5246 if test "x$ac_ct_LD" = x; then
5247 LD=""
5248 else
5249 case $cross_compiling:$ac_tool_warned in
5250 yes:)
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5253 ac_tool_warned=yes ;;
5254 esac
5255 LD=$ac_ct_LD
5257 else
5258 LD="$ac_cv_prog_LD"
5262 case $host in
5263 *-darwin*)
5264 with_fontconfig=${with_fontconfig:-no}
5266 *-mingw32*|*-cygwin*)
5267 enable_win16=${enable_win16:-no}
5268 CFLAGS="$CFLAGS -D_WIN32"
5270 esac
5272 case $host in
5273 x86_64*|amd64*)
5274 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5275 then
5276 CC="$CC -m32"
5277 CXX="$CXX -m32"
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5279 $as_echo_n "checking whether $CC works... " >&6; }
5281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5282 /* end confdefs.h. */
5285 main ()
5289 return 0;
5291 _ACEOF
5292 if ac_fn_c_try_link "$LINENO"; then :
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5294 $as_echo "yes" >&6; }
5295 else
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5297 $as_echo "no" >&6; }
5298 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5300 rm -f core conftest.err conftest.$ac_objext \
5301 conftest$ac_exeext conftest.$ac_ext
5302 host_cpu="i386"
5303 notice_platform="32-bit "
5304 TARGETFLAGS="-m32"
5306 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5307 export PKG_CONFIG_PATH
5308 enable_win16=${enable_win16:-yes}
5309 else
5310 if test "x${GCC}" = "xyes"
5311 then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5313 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5315 /* end confdefs.h. */
5316 #include <stdarg.h>
5318 main ()
5320 void func(__builtin_ms_va_list *args);
5322 return 0;
5324 _ACEOF
5325 if ac_fn_c_try_compile "$LINENO"; then :
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5327 $as_echo "yes" >&6; }
5328 else
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5330 $as_echo "no" >&6; }
5331 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5335 CC="$CC -m64"
5336 CXX="$CXX -m64"
5337 host_cpu="x86_64"
5338 notice_platform="64-bit "
5339 TARGETFLAGS="-m64"
5343 arm*)
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5345 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5347 /* end confdefs.h. */
5348 int ac_test(int i) { return i; }
5350 main ()
5352 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5354 return 0;
5356 _ACEOF
5357 if ac_fn_c_try_link "$LINENO"; then :
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5359 $as_echo "yes" >&6; }
5360 else
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5362 $as_echo "no" >&6; }
5363 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5365 rm -f core conftest.err conftest.$ac_objext \
5366 conftest$ac_exeext conftest.$ac_ext
5367 case $with_float_abi in
5368 soft|softfp|hard)
5369 float_abi=$with_float_abi ;;
5371 case $host_os in
5372 *eabihf)
5373 float_abi=hard ;;
5375 float_abi=softfp
5376 saved_CFLAGS=$CFLAGS
5377 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5379 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5381 /* end confdefs.h. */
5384 main ()
5386 asm("vmrs r2,fpscr");
5388 return 0;
5390 _ACEOF
5391 if ac_fn_c_try_link "$LINENO"; then :
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5393 $as_echo "yes" >&6; }
5394 else
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5396 $as_echo "no" >&6; }
5397 float_abi=soft
5398 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5400 rm -f core conftest.err conftest.$ac_objext \
5401 conftest$ac_exeext conftest.$ac_ext
5402 CFLAGS=$saved_CFLAGS
5403 esac
5405 esac
5406 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5407 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5410 i[3456789]86*)
5411 enable_win16=${enable_win16:-yes}
5413 esac
5415 enable_win16=${enable_win16:-no}
5416 enable_win64=${enable_win64:-no}
5418 enable_winetest=${enable_winetest:-$enable_tests}
5420 if test -n "$with_wine64"
5421 then
5422 if test "x$enable_win64" = "xyes"
5423 then
5424 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5425 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5427 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5428 You should create a separate build directory and run configure from there." "$LINENO" 5
5429 enable_fonts=${enable_fonts:-no}
5430 enable_server=${enable_server:-no}
5431 wine64_disable=\#
5433 elif test "x$enable_win64" = "xyes"
5434 then
5435 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5439 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5440 if ${wine_cv_toolsdir+:} false; then :
5441 $as_echo_n "(cached) " >&6
5442 else
5443 wine_cv_toolsdir="$with_wine_tools"
5444 if test -z "$with_wine_tools"; then
5445 if test "$cross_compiling" = "yes"; then
5446 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5447 elif test -n "$with_wine64"; then
5448 wine_cv_toolsdir="$with_wine64"
5451 if test -z "$wine_cv_toolsdir"; then
5452 wine_makedep=tools/makedep
5453 wine_cv_toolsdir="\$(top_builddir)"
5454 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5455 wine_makedep=$wine_cv_toolsdir/tools/makedep
5456 case "$wine_cv_toolsdir" in
5457 /*) ;;
5458 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5459 esac
5460 enable_tools=${enable_tools:-no}
5461 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5462 else
5463 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5467 $as_echo "$wine_cv_toolsdir" >&6; }
5468 TOOLSDIR=$wine_cv_toolsdir
5470 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5471 then
5472 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5476 for ac_prog in flex
5478 # Extract the first word of "$ac_prog", so it can be a program name with args.
5479 set dummy $ac_prog; ac_word=$2
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5481 $as_echo_n "checking for $ac_word... " >&6; }
5482 if ${ac_cv_prog_FLEX+:} false; then :
5483 $as_echo_n "(cached) " >&6
5484 else
5485 if test -n "$FLEX"; then
5486 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5487 else
5488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5489 for as_dir in $PATH
5491 IFS=$as_save_IFS
5492 test -z "$as_dir" && as_dir=.
5493 for ac_exec_ext in '' $ac_executable_extensions; do
5494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5495 ac_cv_prog_FLEX="$ac_prog"
5496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5497 break 2
5499 done
5500 done
5501 IFS=$as_save_IFS
5505 FLEX=$ac_cv_prog_FLEX
5506 if test -n "$FLEX"; then
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5508 $as_echo "$FLEX" >&6; }
5509 else
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5511 $as_echo "no" >&6; }
5515 test -n "$FLEX" && break
5516 done
5517 test -n "$FLEX" || FLEX="none"
5519 if test "$FLEX" = "none"
5520 then
5521 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5524 $as_echo_n "checking whether flex is recent enough... " >&6; }
5525 cat >conftest.l <<EOF
5526 %top{
5527 #include "prediluvian.h"
5531 if $FLEX -t conftest.l >/dev/null 2>&5
5532 then
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5534 $as_echo "yes" >&6; }
5535 else
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5538 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5541 for ac_prog in bison
5543 # Extract the first word of "$ac_prog", so it can be a program name with args.
5544 set dummy $ac_prog; ac_word=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_prog_BISON+:} false; then :
5548 $as_echo_n "(cached) " >&6
5549 else
5550 if test -n "$BISON"; then
5551 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5552 else
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554 for as_dir in $PATH
5556 IFS=$as_save_IFS
5557 test -z "$as_dir" && as_dir=.
5558 for ac_exec_ext in '' $ac_executable_extensions; do
5559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5560 ac_cv_prog_BISON="$ac_prog"
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5562 break 2
5564 done
5565 done
5566 IFS=$as_save_IFS
5570 BISON=$ac_cv_prog_BISON
5571 if test -n "$BISON"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5573 $as_echo "$BISON" >&6; }
5574 else
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5580 test -n "$BISON" && break
5581 done
5582 test -n "$BISON" || BISON="none"
5584 if test "$BISON" = "none"
5585 then
5586 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5589 if test -n "$ac_tool_prefix"; then
5590 for ac_prog in ar gar
5592 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5593 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5595 $as_echo_n "checking for $ac_word... " >&6; }
5596 if ${ac_cv_prog_AR+:} false; then :
5597 $as_echo_n "(cached) " >&6
5598 else
5599 if test -n "$AR"; then
5600 ac_cv_prog_AR="$AR" # Let the user override the test.
5601 else
5602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5603 for as_dir in $PATH
5605 IFS=$as_save_IFS
5606 test -z "$as_dir" && as_dir=.
5607 for ac_exec_ext in '' $ac_executable_extensions; do
5608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5609 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5611 break 2
5613 done
5614 done
5615 IFS=$as_save_IFS
5619 AR=$ac_cv_prog_AR
5620 if test -n "$AR"; then
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5622 $as_echo "$AR" >&6; }
5623 else
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5625 $as_echo "no" >&6; }
5629 test -n "$AR" && break
5630 done
5632 if test -z "$AR"; then
5633 ac_ct_AR=$AR
5634 for ac_prog in ar gar
5636 # Extract the first word of "$ac_prog", so it can be a program name with args.
5637 set dummy $ac_prog; ac_word=$2
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5639 $as_echo_n "checking for $ac_word... " >&6; }
5640 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5641 $as_echo_n "(cached) " >&6
5642 else
5643 if test -n "$ac_ct_AR"; then
5644 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5645 else
5646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5647 for as_dir in $PATH
5649 IFS=$as_save_IFS
5650 test -z "$as_dir" && as_dir=.
5651 for ac_exec_ext in '' $ac_executable_extensions; do
5652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5653 ac_cv_prog_ac_ct_AR="$ac_prog"
5654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5655 break 2
5657 done
5658 done
5659 IFS=$as_save_IFS
5663 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5664 if test -n "$ac_ct_AR"; then
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5666 $as_echo "$ac_ct_AR" >&6; }
5667 else
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669 $as_echo "no" >&6; }
5673 test -n "$ac_ct_AR" && break
5674 done
5676 if test "x$ac_ct_AR" = x; then
5677 AR="ar"
5678 else
5679 case $cross_compiling:$ac_tool_warned in
5680 yes:)
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5683 ac_tool_warned=yes ;;
5684 esac
5685 AR=$ac_ct_AR
5689 if test -n "$ac_tool_prefix"; then
5690 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5691 set dummy ${ac_tool_prefix}strip; ac_word=$2
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5693 $as_echo_n "checking for $ac_word... " >&6; }
5694 if ${ac_cv_prog_STRIP+:} false; then :
5695 $as_echo_n "(cached) " >&6
5696 else
5697 if test -n "$STRIP"; then
5698 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5699 else
5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5701 for as_dir in $PATH
5703 IFS=$as_save_IFS
5704 test -z "$as_dir" && as_dir=.
5705 for ac_exec_ext in '' $ac_executable_extensions; do
5706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5707 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5709 break 2
5711 done
5712 done
5713 IFS=$as_save_IFS
5717 STRIP=$ac_cv_prog_STRIP
5718 if test -n "$STRIP"; then
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5720 $as_echo "$STRIP" >&6; }
5721 else
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5723 $as_echo "no" >&6; }
5728 if test -z "$ac_cv_prog_STRIP"; then
5729 ac_ct_STRIP=$STRIP
5730 # Extract the first word of "strip", so it can be a program name with args.
5731 set dummy strip; ac_word=$2
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5733 $as_echo_n "checking for $ac_word... " >&6; }
5734 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5735 $as_echo_n "(cached) " >&6
5736 else
5737 if test -n "$ac_ct_STRIP"; then
5738 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5739 else
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 for as_dir in $PATH
5743 IFS=$as_save_IFS
5744 test -z "$as_dir" && as_dir=.
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5747 ac_cv_prog_ac_ct_STRIP="strip"
5748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5749 break 2
5751 done
5752 done
5753 IFS=$as_save_IFS
5757 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5758 if test -n "$ac_ct_STRIP"; then
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5760 $as_echo "$ac_ct_STRIP" >&6; }
5761 else
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5763 $as_echo "no" >&6; }
5766 if test "x$ac_ct_STRIP" = x; then
5767 STRIP="strip"
5768 else
5769 case $cross_compiling:$ac_tool_warned in
5770 yes:)
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5773 ac_tool_warned=yes ;;
5774 esac
5775 STRIP=$ac_ct_STRIP
5777 else
5778 STRIP="$ac_cv_prog_STRIP"
5781 ARFLAGS=rc
5783 if test -n "$ac_tool_prefix"; then
5784 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5785 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5787 $as_echo_n "checking for $ac_word... " >&6; }
5788 if ${ac_cv_prog_RANLIB+:} false; then :
5789 $as_echo_n "(cached) " >&6
5790 else
5791 if test -n "$RANLIB"; then
5792 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5793 else
5794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5795 for as_dir in $PATH
5797 IFS=$as_save_IFS
5798 test -z "$as_dir" && as_dir=.
5799 for ac_exec_ext in '' $ac_executable_extensions; do
5800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5801 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803 break 2
5805 done
5806 done
5807 IFS=$as_save_IFS
5811 RANLIB=$ac_cv_prog_RANLIB
5812 if test -n "$RANLIB"; then
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5814 $as_echo "$RANLIB" >&6; }
5815 else
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5817 $as_echo "no" >&6; }
5822 if test -z "$ac_cv_prog_RANLIB"; then
5823 ac_ct_RANLIB=$RANLIB
5824 # Extract the first word of "ranlib", so it can be a program name with args.
5825 set dummy ranlib; ac_word=$2
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5827 $as_echo_n "checking for $ac_word... " >&6; }
5828 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5829 $as_echo_n "(cached) " >&6
5830 else
5831 if test -n "$ac_ct_RANLIB"; then
5832 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5833 else
5834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5835 for as_dir in $PATH
5837 IFS=$as_save_IFS
5838 test -z "$as_dir" && as_dir=.
5839 for ac_exec_ext in '' $ac_executable_extensions; do
5840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5841 ac_cv_prog_ac_ct_RANLIB="ranlib"
5842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5843 break 2
5845 done
5846 done
5847 IFS=$as_save_IFS
5851 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5852 if test -n "$ac_ct_RANLIB"; then
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5854 $as_echo "$ac_ct_RANLIB" >&6; }
5855 else
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5857 $as_echo "no" >&6; }
5860 if test "x$ac_ct_RANLIB" = x; then
5861 RANLIB=":"
5862 else
5863 case $cross_compiling:$ac_tool_warned in
5864 yes:)
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5867 ac_tool_warned=yes ;;
5868 esac
5869 RANLIB=$ac_ct_RANLIB
5871 else
5872 RANLIB="$ac_cv_prog_RANLIB"
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5876 $as_echo_n "checking whether ln -s works... " >&6; }
5877 LN_S=$as_ln_s
5878 if test "$LN_S" = "ln -s"; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5880 $as_echo "yes" >&6; }
5881 else
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5883 $as_echo "no, using $LN_S" >&6; }
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5887 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5888 if ${ac_cv_path_GREP+:} false; then :
5889 $as_echo_n "(cached) " >&6
5890 else
5891 if test -z "$GREP"; then
5892 ac_path_GREP_found=false
5893 # Loop through the user's path and test for each of PROGNAME-LIST
5894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5895 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5897 IFS=$as_save_IFS
5898 test -z "$as_dir" && as_dir=.
5899 for ac_prog in grep ggrep; do
5900 for ac_exec_ext in '' $ac_executable_extensions; do
5901 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5902 as_fn_executable_p "$ac_path_GREP" || continue
5903 # Check for GNU ac_path_GREP and select it if it is found.
5904 # Check for GNU $ac_path_GREP
5905 case `"$ac_path_GREP" --version 2>&1` in
5906 *GNU*)
5907 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5909 ac_count=0
5910 $as_echo_n 0123456789 >"conftest.in"
5911 while :
5913 cat "conftest.in" "conftest.in" >"conftest.tmp"
5914 mv "conftest.tmp" "conftest.in"
5915 cp "conftest.in" "conftest.nl"
5916 $as_echo 'GREP' >> "conftest.nl"
5917 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5918 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5919 as_fn_arith $ac_count + 1 && ac_count=$as_val
5920 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5921 # Best one so far, save it but keep looking for a better one
5922 ac_cv_path_GREP="$ac_path_GREP"
5923 ac_path_GREP_max=$ac_count
5925 # 10*(2^10) chars as input seems more than enough
5926 test $ac_count -gt 10 && break
5927 done
5928 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5929 esac
5931 $ac_path_GREP_found && break 3
5932 done
5933 done
5934 done
5935 IFS=$as_save_IFS
5936 if test -z "$ac_cv_path_GREP"; then
5937 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5939 else
5940 ac_cv_path_GREP=$GREP
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5945 $as_echo "$ac_cv_path_GREP" >&6; }
5946 GREP="$ac_cv_path_GREP"
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5950 $as_echo_n "checking for egrep... " >&6; }
5951 if ${ac_cv_path_EGREP+:} false; then :
5952 $as_echo_n "(cached) " >&6
5953 else
5954 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5955 then ac_cv_path_EGREP="$GREP -E"
5956 else
5957 if test -z "$EGREP"; then
5958 ac_path_EGREP_found=false
5959 # Loop through the user's path and test for each of PROGNAME-LIST
5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5963 IFS=$as_save_IFS
5964 test -z "$as_dir" && as_dir=.
5965 for ac_prog in egrep; do
5966 for ac_exec_ext in '' $ac_executable_extensions; do
5967 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5968 as_fn_executable_p "$ac_path_EGREP" || continue
5969 # Check for GNU ac_path_EGREP and select it if it is found.
5970 # Check for GNU $ac_path_EGREP
5971 case `"$ac_path_EGREP" --version 2>&1` in
5972 *GNU*)
5973 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5975 ac_count=0
5976 $as_echo_n 0123456789 >"conftest.in"
5977 while :
5979 cat "conftest.in" "conftest.in" >"conftest.tmp"
5980 mv "conftest.tmp" "conftest.in"
5981 cp "conftest.in" "conftest.nl"
5982 $as_echo 'EGREP' >> "conftest.nl"
5983 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5984 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5985 as_fn_arith $ac_count + 1 && ac_count=$as_val
5986 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5987 # Best one so far, save it but keep looking for a better one
5988 ac_cv_path_EGREP="$ac_path_EGREP"
5989 ac_path_EGREP_max=$ac_count
5991 # 10*(2^10) chars as input seems more than enough
5992 test $ac_count -gt 10 && break
5993 done
5994 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5995 esac
5997 $ac_path_EGREP_found && break 3
5998 done
5999 done
6000 done
6001 IFS=$as_save_IFS
6002 if test -z "$ac_cv_path_EGREP"; then
6003 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6005 else
6006 ac_cv_path_EGREP=$EGREP
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6012 $as_echo "$ac_cv_path_EGREP" >&6; }
6013 EGREP="$ac_cv_path_EGREP"
6016 # Extract the first word of "ldconfig", so it can be a program name with args.
6017 set dummy ldconfig; ac_word=$2
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6019 $as_echo_n "checking for $ac_word... " >&6; }
6020 if ${ac_cv_path_LDCONFIG+:} false; then :
6021 $as_echo_n "(cached) " >&6
6022 else
6023 case $LDCONFIG in
6024 [\\/]* | ?:[\\/]*)
6025 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6029 for as_dir in /sbin /usr/sbin $PATH
6031 IFS=$as_save_IFS
6032 test -z "$as_dir" && as_dir=.
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6035 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6037 break 2
6039 done
6040 done
6041 IFS=$as_save_IFS
6043 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6045 esac
6047 LDCONFIG=$ac_cv_path_LDCONFIG
6048 if test -n "$LDCONFIG"; then
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6050 $as_echo "$LDCONFIG" >&6; }
6051 else
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6053 $as_echo "no" >&6; }
6057 for ac_prog in msgfmt
6059 # Extract the first word of "$ac_prog", so it can be a program name with args.
6060 set dummy $ac_prog; ac_word=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 $as_echo_n "checking for $ac_word... " >&6; }
6063 if ${ac_cv_prog_MSGFMT+:} false; then :
6064 $as_echo_n "(cached) " >&6
6065 else
6066 if test -n "$MSGFMT"; then
6067 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6068 else
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 for as_dir in $PATH
6072 IFS=$as_save_IFS
6073 test -z "$as_dir" && as_dir=.
6074 for ac_exec_ext in '' $ac_executable_extensions; do
6075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076 ac_cv_prog_MSGFMT="$ac_prog"
6077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 break 2
6080 done
6081 done
6082 IFS=$as_save_IFS
6086 MSGFMT=$ac_cv_prog_MSGFMT
6087 if test -n "$MSGFMT"; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6089 $as_echo "$MSGFMT" >&6; }
6090 else
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6096 test -n "$MSGFMT" && break
6097 done
6098 test -n "$MSGFMT" || MSGFMT="false"
6100 if ${ac_tool_prefix+:} false; then :
6101 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6102 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6104 $as_echo_n "checking for $ac_word... " >&6; }
6105 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6106 $as_echo_n "(cached) " >&6
6107 else
6108 if test -n "$PKG_CONFIG"; then
6109 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6110 else
6111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6112 for as_dir in $PATH
6114 IFS=$as_save_IFS
6115 test -z "$as_dir" && as_dir=.
6116 for ac_exec_ext in '' $ac_executable_extensions; do
6117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6118 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6120 break 2
6122 done
6123 done
6124 IFS=$as_save_IFS
6128 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6129 if test -n "$PKG_CONFIG"; then
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6131 $as_echo "$PKG_CONFIG" >&6; }
6132 else
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6134 $as_echo "no" >&6; }
6139 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6140 if test "x$cross_compiling" = xyes; then :
6142 else
6143 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6144 # Extract the first word of "pkg-config", so it can be a program name with args.
6145 set dummy pkg-config; ac_word=$2
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6147 $as_echo_n "checking for $ac_word... " >&6; }
6148 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6149 $as_echo_n "(cached) " >&6
6150 else
6151 if test -n "$PKG_CONFIG"; then
6152 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6153 else
6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155 for as_dir in $PATH
6157 IFS=$as_save_IFS
6158 test -z "$as_dir" && as_dir=.
6159 for ac_exec_ext in '' $ac_executable_extensions; do
6160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6161 ac_cv_prog_PKG_CONFIG="pkg-config"
6162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6163 break 2
6165 done
6166 done
6167 IFS=$as_save_IFS
6171 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6172 if test -n "$PKG_CONFIG"; then
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6174 $as_echo "$PKG_CONFIG" >&6; }
6175 else
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6177 $as_echo "no" >&6; }
6182 else
6183 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6186 if test "x$enable_maintainer_mode" != "xyes"
6187 then
6188 FONTFORGE=""
6189 RSVG=""
6190 CONVERT=""
6191 ICOTOOL=""
6192 else
6193 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6194 for ac_prog in fontforge
6196 # Extract the first word of "$ac_prog", so it can be a program name with args.
6197 set dummy $ac_prog; ac_word=$2
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6199 $as_echo_n "checking for $ac_word... " >&6; }
6200 if ${ac_cv_prog_FONTFORGE+:} false; then :
6201 $as_echo_n "(cached) " >&6
6202 else
6203 if test -n "$FONTFORGE"; then
6204 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6205 else
6206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6207 for as_dir in $PATH
6209 IFS=$as_save_IFS
6210 test -z "$as_dir" && as_dir=.
6211 for ac_exec_ext in '' $ac_executable_extensions; do
6212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6213 ac_cv_prog_FONTFORGE="$ac_prog"
6214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6215 break 2
6217 done
6218 done
6219 IFS=$as_save_IFS
6223 FONTFORGE=$ac_cv_prog_FONTFORGE
6224 if test -n "$FONTFORGE"; then
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6226 $as_echo "$FONTFORGE" >&6; }
6227 else
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6229 $as_echo "no" >&6; }
6233 test -n "$FONTFORGE" && break
6234 done
6235 test -n "$FONTFORGE" || FONTFORGE="false"
6237 for ac_prog in rsvg-convert rsvg
6239 # Extract the first word of "$ac_prog", so it can be a program name with args.
6240 set dummy $ac_prog; ac_word=$2
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6242 $as_echo_n "checking for $ac_word... " >&6; }
6243 if ${ac_cv_prog_RSVG+:} false; then :
6244 $as_echo_n "(cached) " >&6
6245 else
6246 if test -n "$RSVG"; then
6247 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6248 else
6249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250 for as_dir in $PATH
6252 IFS=$as_save_IFS
6253 test -z "$as_dir" && as_dir=.
6254 for ac_exec_ext in '' $ac_executable_extensions; do
6255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6256 ac_cv_prog_RSVG="$ac_prog"
6257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6258 break 2
6260 done
6261 done
6262 IFS=$as_save_IFS
6266 RSVG=$ac_cv_prog_RSVG
6267 if test -n "$RSVG"; then
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6269 $as_echo "$RSVG" >&6; }
6270 else
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6272 $as_echo "no" >&6; }
6276 test -n "$RSVG" && break
6277 done
6278 test -n "$RSVG" || RSVG="false"
6280 for ac_prog in convert
6282 # Extract the first word of "$ac_prog", so it can be a program name with args.
6283 set dummy $ac_prog; ac_word=$2
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6285 $as_echo_n "checking for $ac_word... " >&6; }
6286 if ${ac_cv_prog_CONVERT+:} false; then :
6287 $as_echo_n "(cached) " >&6
6288 else
6289 if test -n "$CONVERT"; then
6290 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6291 else
6292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6293 for as_dir in $PATH
6295 IFS=$as_save_IFS
6296 test -z "$as_dir" && as_dir=.
6297 for ac_exec_ext in '' $ac_executable_extensions; do
6298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6299 ac_cv_prog_CONVERT="$ac_prog"
6300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6301 break 2
6303 done
6304 done
6305 IFS=$as_save_IFS
6309 CONVERT=$ac_cv_prog_CONVERT
6310 if test -n "$CONVERT"; then
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6312 $as_echo "$CONVERT" >&6; }
6313 else
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6315 $as_echo "no" >&6; }
6319 test -n "$CONVERT" && break
6320 done
6321 test -n "$CONVERT" || CONVERT="false"
6323 for ac_prog in icotool
6325 # Extract the first word of "$ac_prog", so it can be a program name with args.
6326 set dummy $ac_prog; ac_word=$2
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6328 $as_echo_n "checking for $ac_word... " >&6; }
6329 if ${ac_cv_prog_ICOTOOL+:} false; then :
6330 $as_echo_n "(cached) " >&6
6331 else
6332 if test -n "$ICOTOOL"; then
6333 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6334 else
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336 for as_dir in $PATH
6338 IFS=$as_save_IFS
6339 test -z "$as_dir" && as_dir=.
6340 for ac_exec_ext in '' $ac_executable_extensions; do
6341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6342 ac_cv_prog_ICOTOOL="$ac_prog"
6343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6344 break 2
6346 done
6347 done
6348 IFS=$as_save_IFS
6352 ICOTOOL=$ac_cv_prog_ICOTOOL
6353 if test -n "$ICOTOOL"; then
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6355 $as_echo "$ICOTOOL" >&6; }
6356 else
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6358 $as_echo "no" >&6; }
6362 test -n "$ICOTOOL" && break
6363 done
6364 test -n "$ICOTOOL" || ICOTOOL="false"
6366 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6367 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6369 if test "$CONVERT" = false
6370 then
6371 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6372 else
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6374 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6375 convert_version=`convert --version | head -n1`
6376 if test "x$convert_version" != "x"
6377 then
6378 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6379 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6380 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6381 then
6382 CONVERT=false
6385 if test "$CONVERT" = false
6386 then
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6388 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6389 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6390 else
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6392 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6396 if test "$ICOTOOL" = false
6397 then
6398 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6399 else
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6401 $as_echo_n "checking for recent enough icotool... " >&6; }
6402 icotool_version=`icotool --version | head -n1`
6403 if test "x$icotool_version" != "x"
6404 then
6405 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6406 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6407 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6408 then
6409 ICOTOOL=false
6410 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6413 if test "$ICOTOOL" = false
6414 then
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6416 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6417 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6418 else
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6420 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6424 with_gettext=yes
6425 with_gettextpo=yes
6426 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6429 test "x$with_gettext" != xno || MSGFMT=false
6430 if test "$MSGFMT" != "false"
6431 then
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6433 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6434 cat >conftest.po <<EOF
6435 # comment
6436 msgctxt "ctxt"
6437 msgid "id"
6438 msgstr "str"
6440 if $MSGFMT -o /dev/null conftest.po 2>&5
6441 then
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6443 $as_echo "yes" >&6; }
6444 else
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6446 $as_echo "no" >&6; }
6447 MSGFMT=false
6450 if test "$MSGFMT" = false; then :
6451 case "x$with_gettext" in
6452 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6453 xno) ;;
6454 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6455 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6456 esac
6457 enable_po=${enable_po:-no}
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6462 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6463 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6464 $as_echo_n "(cached) " >&6
6465 else
6466 ac_check_lib_save_LIBS=$LIBS
6467 LIBS="-li386 $LIBS"
6468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6469 /* end confdefs.h. */
6471 /* Override any GCC internal prototype to avoid an error.
6472 Use char because int might match the return type of a GCC
6473 builtin and then its argument prototype would still apply. */
6474 #ifdef __cplusplus
6475 extern "C"
6476 #endif
6477 char i386_set_ldt ();
6479 main ()
6481 return i386_set_ldt ();
6483 return 0;
6485 _ACEOF
6486 if ac_fn_c_try_link "$LINENO"; then :
6487 ac_cv_lib_i386_i386_set_ldt=yes
6488 else
6489 ac_cv_lib_i386_i386_set_ldt=no
6491 rm -f core conftest.err conftest.$ac_objext \
6492 conftest$ac_exeext conftest.$ac_ext
6493 LIBS=$ac_check_lib_save_LIBS
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6496 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6497 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6498 cat >>confdefs.h <<_ACEOF
6499 #define HAVE_LIBI386 1
6500 _ACEOF
6502 LIBS="-li386 $LIBS"
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6507 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6508 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6509 $as_echo_n "(cached) " >&6
6510 else
6511 ac_check_lib_save_LIBS=$LIBS
6512 LIBS="-lossaudio $LIBS"
6513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6514 /* end confdefs.h. */
6516 /* Override any GCC internal prototype to avoid an error.
6517 Use char because int might match the return type of a GCC
6518 builtin and then its argument prototype would still apply. */
6519 #ifdef __cplusplus
6520 extern "C"
6521 #endif
6522 char _oss_ioctl ();
6524 main ()
6526 return _oss_ioctl ();
6528 return 0;
6530 _ACEOF
6531 if ac_fn_c_try_link "$LINENO"; then :
6532 ac_cv_lib_ossaudio__oss_ioctl=yes
6533 else
6534 ac_cv_lib_ossaudio__oss_ioctl=no
6536 rm -f core conftest.err conftest.$ac_objext \
6537 conftest$ac_exeext conftest.$ac_ext
6538 LIBS=$ac_check_lib_save_LIBS
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6541 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6542 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6543 cat >>confdefs.h <<_ACEOF
6544 #define HAVE_LIBOSSAUDIO 1
6545 _ACEOF
6547 LIBS="-lossaudio $LIBS"
6552 OPENGL_LIBS=""
6556 # Check whether --enable-largefile was given.
6557 if test "${enable_largefile+set}" = set; then :
6558 enableval=$enable_largefile;
6561 if test "$enable_largefile" != no; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6564 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6565 if ${ac_cv_sys_largefile_CC+:} false; then :
6566 $as_echo_n "(cached) " >&6
6567 else
6568 ac_cv_sys_largefile_CC=no
6569 if test "$GCC" != yes; then
6570 ac_save_CC=$CC
6571 while :; do
6572 # IRIX 6.2 and later do not support large files by default,
6573 # so use the C compiler's -n32 option if that helps.
6574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6575 /* end confdefs.h. */
6576 #include <sys/types.h>
6577 /* Check that off_t can represent 2**63 - 1 correctly.
6578 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6579 since some C++ compilers masquerading as C compilers
6580 incorrectly reject 9223372036854775807. */
6581 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6582 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6583 && LARGE_OFF_T % 2147483647 == 1)
6584 ? 1 : -1];
6586 main ()
6590 return 0;
6592 _ACEOF
6593 if ac_fn_c_try_compile "$LINENO"; then :
6594 break
6596 rm -f core conftest.err conftest.$ac_objext
6597 CC="$CC -n32"
6598 if ac_fn_c_try_compile "$LINENO"; then :
6599 ac_cv_sys_largefile_CC=' -n32'; break
6601 rm -f core conftest.err conftest.$ac_objext
6602 break
6603 done
6604 CC=$ac_save_CC
6605 rm -f conftest.$ac_ext
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6609 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6610 if test "$ac_cv_sys_largefile_CC" != no; then
6611 CC=$CC$ac_cv_sys_largefile_CC
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6615 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6616 if ${ac_cv_sys_file_offset_bits+:} false; then :
6617 $as_echo_n "(cached) " >&6
6618 else
6619 while :; do
6620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6621 /* end confdefs.h. */
6622 #include <sys/types.h>
6623 /* Check that off_t can represent 2**63 - 1 correctly.
6624 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6625 since some C++ compilers masquerading as C compilers
6626 incorrectly reject 9223372036854775807. */
6627 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6628 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6629 && LARGE_OFF_T % 2147483647 == 1)
6630 ? 1 : -1];
6632 main ()
6636 return 0;
6638 _ACEOF
6639 if ac_fn_c_try_compile "$LINENO"; then :
6640 ac_cv_sys_file_offset_bits=no; break
6642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6644 /* end confdefs.h. */
6645 #define _FILE_OFFSET_BITS 64
6646 #include <sys/types.h>
6647 /* Check that off_t can represent 2**63 - 1 correctly.
6648 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6649 since some C++ compilers masquerading as C compilers
6650 incorrectly reject 9223372036854775807. */
6651 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6652 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6653 && LARGE_OFF_T % 2147483647 == 1)
6654 ? 1 : -1];
6656 main ()
6660 return 0;
6662 _ACEOF
6663 if ac_fn_c_try_compile "$LINENO"; then :
6664 ac_cv_sys_file_offset_bits=64; break
6666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6667 ac_cv_sys_file_offset_bits=unknown
6668 break
6669 done
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6672 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6673 case $ac_cv_sys_file_offset_bits in #(
6674 no | unknown) ;;
6676 cat >>confdefs.h <<_ACEOF
6677 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6678 _ACEOF
6680 esac
6681 rm -rf conftest*
6682 if test $ac_cv_sys_file_offset_bits = unknown; then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6684 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6685 if ${ac_cv_sys_large_files+:} false; then :
6686 $as_echo_n "(cached) " >&6
6687 else
6688 while :; do
6689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6690 /* end confdefs.h. */
6691 #include <sys/types.h>
6692 /* Check that off_t can represent 2**63 - 1 correctly.
6693 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6694 since some C++ compilers masquerading as C compilers
6695 incorrectly reject 9223372036854775807. */
6696 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6697 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6698 && LARGE_OFF_T % 2147483647 == 1)
6699 ? 1 : -1];
6701 main ()
6705 return 0;
6707 _ACEOF
6708 if ac_fn_c_try_compile "$LINENO"; then :
6709 ac_cv_sys_large_files=no; break
6711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6713 /* end confdefs.h. */
6714 #define _LARGE_FILES 1
6715 #include <sys/types.h>
6716 /* Check that off_t can represent 2**63 - 1 correctly.
6717 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6718 since some C++ compilers masquerading as C compilers
6719 incorrectly reject 9223372036854775807. */
6720 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6721 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6722 && LARGE_OFF_T % 2147483647 == 1)
6723 ? 1 : -1];
6725 main ()
6729 return 0;
6731 _ACEOF
6732 if ac_fn_c_try_compile "$LINENO"; then :
6733 ac_cv_sys_large_files=1; break
6735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6736 ac_cv_sys_large_files=unknown
6737 break
6738 done
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6741 $as_echo "$ac_cv_sys_large_files" >&6; }
6742 case $ac_cv_sys_large_files in #(
6743 no | unknown) ;;
6745 cat >>confdefs.h <<_ACEOF
6746 #define _LARGE_FILES $ac_cv_sys_large_files
6747 _ACEOF
6749 esac
6750 rm -rf conftest*
6757 ac_ext=c
6758 ac_cpp='$CPP $CPPFLAGS'
6759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6763 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6764 # On Suns, sometimes $CPP names a directory.
6765 if test -n "$CPP" && test -d "$CPP"; then
6766 CPP=
6768 if test -z "$CPP"; then
6769 if ${ac_cv_prog_CPP+:} false; then :
6770 $as_echo_n "(cached) " >&6
6771 else
6772 # Double quotes because CPP needs to be expanded
6773 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6775 ac_preproc_ok=false
6776 for ac_c_preproc_warn_flag in '' yes
6778 # Use a header file that comes with gcc, so configuring glibc
6779 # with a fresh cross-compiler works.
6780 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6781 # <limits.h> exists even on freestanding compilers.
6782 # On the NeXT, cc -E runs the code through the compiler's parser,
6783 # not just through cpp. "Syntax error" is here to catch this case.
6784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6785 /* end confdefs.h. */
6786 #ifdef __STDC__
6787 # include <limits.h>
6788 #else
6789 # include <assert.h>
6790 #endif
6791 Syntax error
6792 _ACEOF
6793 if ac_fn_c_try_cpp "$LINENO"; then :
6795 else
6796 # Broken: fails on valid input.
6797 continue
6799 rm -f conftest.err conftest.i conftest.$ac_ext
6801 # OK, works on sane cases. Now check whether nonexistent headers
6802 # can be detected and how.
6803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6804 /* end confdefs.h. */
6805 #include <ac_nonexistent.h>
6806 _ACEOF
6807 if ac_fn_c_try_cpp "$LINENO"; then :
6808 # Broken: success on invalid input.
6809 continue
6810 else
6811 # Passes both tests.
6812 ac_preproc_ok=:
6813 break
6815 rm -f conftest.err conftest.i conftest.$ac_ext
6817 done
6818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6819 rm -f conftest.i conftest.err conftest.$ac_ext
6820 if $ac_preproc_ok; then :
6821 break
6824 done
6825 ac_cv_prog_CPP=$CPP
6828 CPP=$ac_cv_prog_CPP
6829 else
6830 ac_cv_prog_CPP=$CPP
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6833 $as_echo "$CPP" >&6; }
6834 ac_preproc_ok=false
6835 for ac_c_preproc_warn_flag in '' yes
6837 # Use a header file that comes with gcc, so configuring glibc
6838 # with a fresh cross-compiler works.
6839 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6840 # <limits.h> exists even on freestanding compilers.
6841 # On the NeXT, cc -E runs the code through the compiler's parser,
6842 # not just through cpp. "Syntax error" is here to catch this case.
6843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6844 /* end confdefs.h. */
6845 #ifdef __STDC__
6846 # include <limits.h>
6847 #else
6848 # include <assert.h>
6849 #endif
6850 Syntax error
6851 _ACEOF
6852 if ac_fn_c_try_cpp "$LINENO"; then :
6854 else
6855 # Broken: fails on valid input.
6856 continue
6858 rm -f conftest.err conftest.i conftest.$ac_ext
6860 # OK, works on sane cases. Now check whether nonexistent headers
6861 # can be detected and how.
6862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6863 /* end confdefs.h. */
6864 #include <ac_nonexistent.h>
6865 _ACEOF
6866 if ac_fn_c_try_cpp "$LINENO"; then :
6867 # Broken: success on invalid input.
6868 continue
6869 else
6870 # Passes both tests.
6871 ac_preproc_ok=:
6872 break
6874 rm -f conftest.err conftest.i conftest.$ac_ext
6876 done
6877 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6878 rm -f conftest.i conftest.err conftest.$ac_ext
6879 if $ac_preproc_ok; then :
6881 else
6882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6884 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6885 See \`config.log' for more details" "$LINENO" 5; }
6888 ac_ext=c
6889 ac_cpp='$CPP $CPPFLAGS'
6890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6896 $as_echo_n "checking for ANSI C header files... " >&6; }
6897 if ${ac_cv_header_stdc+:} false; then :
6898 $as_echo_n "(cached) " >&6
6899 else
6900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6901 /* end confdefs.h. */
6902 #include <stdlib.h>
6903 #include <stdarg.h>
6904 #include <string.h>
6905 #include <float.h>
6908 main ()
6912 return 0;
6914 _ACEOF
6915 if ac_fn_c_try_compile "$LINENO"; then :
6916 ac_cv_header_stdc=yes
6917 else
6918 ac_cv_header_stdc=no
6920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6922 if test $ac_cv_header_stdc = yes; then
6923 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6925 /* end confdefs.h. */
6926 #include <string.h>
6928 _ACEOF
6929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6930 $EGREP "memchr" >/dev/null 2>&1; then :
6932 else
6933 ac_cv_header_stdc=no
6935 rm -f conftest*
6939 if test $ac_cv_header_stdc = yes; then
6940 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6942 /* end confdefs.h. */
6943 #include <stdlib.h>
6945 _ACEOF
6946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6947 $EGREP "free" >/dev/null 2>&1; then :
6949 else
6950 ac_cv_header_stdc=no
6952 rm -f conftest*
6956 if test $ac_cv_header_stdc = yes; then
6957 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6958 if test "$cross_compiling" = yes; then :
6960 else
6961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6962 /* end confdefs.h. */
6963 #include <ctype.h>
6964 #include <stdlib.h>
6965 #if ((' ' & 0x0FF) == 0x020)
6966 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6967 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6968 #else
6969 # define ISLOWER(c) \
6970 (('a' <= (c) && (c) <= 'i') \
6971 || ('j' <= (c) && (c) <= 'r') \
6972 || ('s' <= (c) && (c) <= 'z'))
6973 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6974 #endif
6976 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6978 main ()
6980 int i;
6981 for (i = 0; i < 256; i++)
6982 if (XOR (islower (i), ISLOWER (i))
6983 || toupper (i) != TOUPPER (i))
6984 return 2;
6985 return 0;
6987 _ACEOF
6988 if ac_fn_c_try_run "$LINENO"; then :
6990 else
6991 ac_cv_header_stdc=no
6993 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6994 conftest.$ac_objext conftest.beam conftest.$ac_ext
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7000 $as_echo "$ac_cv_header_stdc" >&6; }
7001 if test $ac_cv_header_stdc = yes; then
7003 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7007 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7008 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7009 inttypes.h stdint.h unistd.h
7010 do :
7011 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7012 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7014 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7015 cat >>confdefs.h <<_ACEOF
7016 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7017 _ACEOF
7021 done
7024 for ac_header in \
7025 AL/al.h \
7026 ApplicationServices/ApplicationServices.h \
7027 AudioToolbox/AudioConverter.h \
7028 AudioUnit/AudioUnit.h \
7029 AudioUnit/AudioComponent.h \
7030 CL/cl.h \
7031 Carbon/Carbon.h \
7032 CommonCrypto/CommonCryptor.h \
7033 CoreAudio/CoreAudio.h \
7034 CoreServices/CoreServices.h \
7035 DiskArbitration/DiskArbitration.h \
7036 EGL/egl.h \
7037 IOKit/IOKitLib.h \
7038 IOKit/hid/IOHIDLib.h \
7039 OpenAL/al.h \
7040 OpenCL/opencl.h \
7041 QuickTime/ImageCompression.h \
7042 Security/Security.h \
7043 alias.h \
7044 alsa/asoundlib.h \
7045 arpa/inet.h \
7046 arpa/nameser.h \
7047 asm/types.h \
7048 asm/user.h \
7049 curses.h \
7050 direct.h \
7051 dirent.h \
7052 dlfcn.h \
7053 elf.h \
7054 float.h \
7055 fnmatch.h \
7056 getopt.h \
7057 gettext-po.h \
7058 grp.h \
7059 gsm.h \
7060 gsm/gsm.h \
7061 ieeefp.h \
7062 inet/mib2.h \
7063 io.h \
7064 kstat.h \
7065 libproc.h \
7066 link.h \
7067 linux/cdrom.h \
7068 linux/compiler.h \
7069 linux/filter.h \
7070 linux/hdreg.h \
7071 linux/hidraw.h \
7072 linux/input.h \
7073 linux/ioctl.h \
7074 linux/joystick.h \
7075 linux/major.h \
7076 linux/param.h \
7077 linux/serial.h \
7078 linux/types.h \
7079 linux/ucdrom.h \
7080 lwp.h \
7081 mach-o/nlist.h \
7082 mach-o/loader.h \
7083 mach/mach.h \
7084 mach/machine.h \
7085 machine/cpu.h \
7086 machine/limits.h \
7087 machine/sysarch.h \
7088 mntent.h \
7089 ncurses.h \
7090 netdb.h \
7091 netinet/in.h \
7092 netinet/in_systm.h \
7093 netinet/tcp.h \
7094 netinet/tcp_fsm.h \
7095 pcap/pcap.h \
7096 poll.h \
7097 port.h \
7098 process.h \
7099 pthread.h \
7100 pwd.h \
7101 sched.h \
7102 scsi/scsi.h \
7103 scsi/scsi_ioctl.h \
7104 scsi/sg.h \
7105 stdbool.h \
7106 stdint.h \
7107 stropts.h \
7108 sys/asoundlib.h \
7109 sys/attr.h \
7110 sys/auxv.h \
7111 sys/cdio.h \
7112 sys/elf32.h \
7113 sys/epoll.h \
7114 sys/event.h \
7115 sys/exec_elf.h \
7116 sys/filio.h \
7117 sys/inotify.h \
7118 sys/ioctl.h \
7119 sys/ipc.h \
7120 sys/limits.h \
7121 sys/link.h \
7122 sys/mman.h \
7123 sys/modem.h \
7124 sys/msg.h \
7125 sys/mtio.h \
7126 sys/param.h \
7127 sys/poll.h \
7128 sys/prctl.h \
7129 sys/protosw.h \
7130 sys/ptrace.h \
7131 sys/queue.h \
7132 sys/resource.h \
7133 sys/scsiio.h \
7134 sys/shm.h \
7135 sys/signal.h \
7136 sys/socket.h \
7137 sys/socketvar.h \
7138 sys/sockio.h \
7139 sys/statvfs.h \
7140 sys/strtio.h \
7141 sys/syscall.h \
7142 sys/sysinfo.h \
7143 sys/tihdr.h \
7144 sys/time.h \
7145 sys/timeout.h \
7146 sys/times.h \
7147 sys/uio.h \
7148 sys/user.h \
7149 sys/utsname.h \
7150 sys/vnode.h \
7151 sys/wait.h \
7152 syscall.h \
7153 termios.h \
7154 unistd.h \
7155 utime.h \
7156 valgrind/memcheck.h \
7157 valgrind/valgrind.h \
7158 zlib.h
7160 do :
7161 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7162 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7163 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7164 cat >>confdefs.h <<_ACEOF
7165 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7166 _ACEOF
7170 done
7172 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7173 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7175 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7180 if test $ac_cv_header_sys_mkdev_h = no; then
7181 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7182 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7184 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7191 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7192 if ${ac_cv_header_stat_broken+:} false; then :
7193 $as_echo_n "(cached) " >&6
7194 else
7195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7196 /* end confdefs.h. */
7197 #include <sys/types.h>
7198 #include <sys/stat.h>
7200 #if defined S_ISBLK && defined S_IFDIR
7201 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7202 #endif
7204 #if defined S_ISBLK && defined S_IFCHR
7205 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7206 #endif
7208 #if defined S_ISLNK && defined S_IFREG
7209 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7210 #endif
7212 #if defined S_ISSOCK && defined S_IFREG
7213 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7214 #endif
7216 _ACEOF
7217 if ac_fn_c_try_compile "$LINENO"; then :
7218 ac_cv_header_stat_broken=no
7219 else
7220 ac_cv_header_stat_broken=yes
7222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7225 $as_echo "$ac_cv_header_stat_broken" >&6; }
7226 if test $ac_cv_header_stat_broken = yes; then
7228 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7234 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7235 do :
7236 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7237 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7238 #ifdef HAVE_SYS_PARAM_H
7239 # include <sys/param.h>
7240 #endif
7242 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7243 cat >>confdefs.h <<_ACEOF
7244 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7245 _ACEOF
7249 done
7252 for ac_header in \
7253 netinet/ip.h \
7254 net/if.h \
7255 net/if_arp.h \
7256 net/if_dl.h \
7257 net/if_types.h \
7258 net/route.h \
7259 netinet/if_ether.h \
7260 netinet/if_inarp.h \
7261 netinet/in_pcb.h \
7262 netinet/ip_icmp.h \
7263 netinet/ip_var.h \
7264 netinet/udp.h \
7265 netipx/ipx.h \
7266 sys/un.h \
7268 do :
7269 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7270 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7271 #ifdef HAVE_SYS_SOCKET_H
7272 # include <sys/socket.h>
7273 #endif
7274 #ifdef HAVE_SYS_SOCKETVAR_H
7275 # include <sys/socketvar.h>
7276 #endif
7277 #ifdef HAVE_NET_ROUTE_H
7278 # include <net/route.h>
7279 #endif
7280 #ifdef HAVE_NETINET_IN_H
7281 # include <netinet/in.h>
7282 #endif
7283 #ifdef HAVE_NETINET_IN_SYSTM_H
7284 # include <netinet/in_systm.h>
7285 #endif
7286 #ifdef HAVE_NET_IF_H
7287 # include <net/if.h>
7288 #endif
7289 #ifdef HAVE_NETINET_IP_H
7290 # include <netinet/ip.h>
7291 #endif
7293 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7294 cat >>confdefs.h <<_ACEOF
7295 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7296 _ACEOF
7300 done
7303 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7304 do :
7305 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7306 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7307 #ifdef HAVE_ALIAS_H
7308 # include <alias.h>
7309 #endif
7310 #ifdef HAVE_SYS_SOCKET_H
7311 # include <sys/socket.h>
7312 #endif
7313 #ifdef HAVE_SYS_SOCKETVAR_H
7314 # include <sys/socketvar.h>
7315 #endif
7316 #ifdef HAVE_SYS_TIMEOUT_H
7317 # include <sys/timeout.h>
7318 #endif
7319 #ifdef HAVE_NETINET_IN_H
7320 # include <netinet/in.h>
7321 #endif
7322 #ifdef HAVE_NETINET_IN_SYSTM_H
7323 # include <netinet/in_systm.h>
7324 #endif
7325 #ifdef HAVE_NETINET_IP_H
7326 # include <netinet/ip.h>
7327 #endif
7328 #ifdef HAVE_NETINET_IP_VAR_H
7329 # include <netinet/ip_var.h>
7330 #endif
7331 #ifdef HAVE_NETINET_IP_ICMP_H
7332 # include <netinet/ip_icmp.h>
7333 #endif
7334 #ifdef HAVE_NETINET_UDP_H
7335 # include <netinet/udp.h>
7336 #endif
7337 #ifdef HAVE_NETINET_TCP_H
7338 # include <netinet/tcp.h>
7339 #endif
7340 #ifdef HAVE_NETINET_TCP_TIMER_H
7341 #include <netinet/tcp_timer.h>
7342 #endif
7344 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7345 cat >>confdefs.h <<_ACEOF
7346 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7347 _ACEOF
7351 done
7354 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7355 do :
7356 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7357 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7358 #ifdef HAVE_ASM_TYPES_H
7359 # include <asm/types.h>
7360 #endif
7361 #ifdef HAVE_SYS_SOCKET_H
7362 # include <sys/socket.h>
7363 #endif
7364 #ifdef HAVE_LINUX_TYPES_H
7365 # include <linux/types.h>
7366 #endif
7368 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7369 cat >>confdefs.h <<_ACEOF
7370 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7371 _ACEOF
7375 done
7378 for ac_header in mach-o/dyld_images.h
7379 do :
7380 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7381 # include <stdbool.h>
7382 #endif
7383 #ifdef HAVE_STDINT_H
7384 # include <stdint.h>
7385 #endif
7387 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7388 cat >>confdefs.h <<_ACEOF
7389 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7390 _ACEOF
7394 done
7397 for ac_header in resolv.h
7398 do :
7399 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7400 #ifdef HAVE_SYS_SOCKET_H
7401 # include <sys/socket.h>
7402 #endif
7403 #ifdef HAVE_NETINET_IN_H
7404 # include <netinet/in.h>
7405 #endif
7406 #ifdef HAVE_ARPA_NAMESER_H
7407 # include <arpa/nameser.h>
7408 #endif
7410 if test "x$ac_cv_header_resolv_h" = xyes; then :
7411 cat >>confdefs.h <<_ACEOF
7412 #define HAVE_RESOLV_H 1
7413 _ACEOF
7417 done
7420 for ac_header in ifaddrs.h
7421 do :
7422 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7424 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7425 cat >>confdefs.h <<_ACEOF
7426 #define HAVE_IFADDRS_H 1
7427 _ACEOF
7431 done
7434 for ac_header in sys/ucontext.h
7435 do :
7436 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7438 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7439 cat >>confdefs.h <<_ACEOF
7440 #define HAVE_SYS_UCONTEXT_H 1
7441 _ACEOF
7445 done
7448 for ac_header in sys/thr.h
7449 do :
7450 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7451 #ifdef HAVE_SYS_UCONTEXT_H
7452 #include <sys/ucontext.h>
7453 #endif
7455 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7456 cat >>confdefs.h <<_ACEOF
7457 #define HAVE_SYS_THR_H 1
7458 _ACEOF
7462 done
7465 for ac_header in pthread_np.h
7466 do :
7467 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7468 #include <pthread.h>
7469 #endif
7471 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7472 cat >>confdefs.h <<_ACEOF
7473 #define HAVE_PTHREAD_NP_H 1
7474 _ACEOF
7478 done
7481 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7482 do :
7483 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7484 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7485 #include <sys/time.h>
7486 #endif
7487 #include <sys/types.h>
7488 #ifdef HAVE_ASM_TYPES_H
7489 #include <asm/types.h>
7490 #endif
7492 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7493 cat >>confdefs.h <<_ACEOF
7494 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7495 _ACEOF
7499 done
7502 for ac_header in libprocstat.h
7503 do :
7504 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7505 #include <sys/param.h>
7506 #endif
7507 #ifdef HAVE_SYS_QUEUE_H
7508 #include <sys/queue.h>
7509 #endif
7510 #ifdef HAVE_SYS_SOCKET_H
7511 #include <sys/socket.h>
7512 #endif
7514 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7515 cat >>confdefs.h <<_ACEOF
7516 #define HAVE_LIBPROCSTAT_H 1
7517 _ACEOF
7521 done
7525 DLLFLAGS="-D_REENTRANT"
7527 LDRPATH_INSTALL=""
7529 LDRPATH_LOCAL=""
7531 LDEXECFLAGS=""
7533 WINELOADER_LDFLAGS=""
7535 LIBEXT="so"
7536 DLLEXT=".so"
7537 IMPLIBEXT="def"
7538 # Extract the first word of "ldd", so it can be a program name with args.
7539 set dummy ldd; ac_word=$2
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7541 $as_echo_n "checking for $ac_word... " >&6; }
7542 if ${ac_cv_path_LDD+:} false; then :
7543 $as_echo_n "(cached) " >&6
7544 else
7545 case $LDD in
7546 [\\/]* | ?:[\\/]*)
7547 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7551 as_dummy="/sbin:/usr/sbin:$PATH"
7552 for as_dir in $as_dummy
7554 IFS=$as_save_IFS
7555 test -z "$as_dir" && as_dir=.
7556 for ac_exec_ext in '' $ac_executable_extensions; do
7557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7558 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7560 break 2
7562 done
7563 done
7564 IFS=$as_save_IFS
7566 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7568 esac
7570 LDD=$ac_cv_path_LDD
7571 if test -n "$LDD"; then
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7573 $as_echo "$LDD" >&6; }
7574 else
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7576 $as_echo "no" >&6; }
7580 if test -n "$ac_tool_prefix"; then
7581 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7582 set dummy ${ac_tool_prefix}otool; ac_word=$2
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7584 $as_echo_n "checking for $ac_word... " >&6; }
7585 if ${ac_cv_prog_OTOOL+:} false; then :
7586 $as_echo_n "(cached) " >&6
7587 else
7588 if test -n "$OTOOL"; then
7589 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7590 else
7591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7592 for as_dir in $PATH
7594 IFS=$as_save_IFS
7595 test -z "$as_dir" && as_dir=.
7596 for ac_exec_ext in '' $ac_executable_extensions; do
7597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7598 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7600 break 2
7602 done
7603 done
7604 IFS=$as_save_IFS
7608 OTOOL=$ac_cv_prog_OTOOL
7609 if test -n "$OTOOL"; then
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7611 $as_echo "$OTOOL" >&6; }
7612 else
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7614 $as_echo "no" >&6; }
7619 if test -z "$ac_cv_prog_OTOOL"; then
7620 ac_ct_OTOOL=$OTOOL
7621 # Extract the first word of "otool", so it can be a program name with args.
7622 set dummy otool; ac_word=$2
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7624 $as_echo_n "checking for $ac_word... " >&6; }
7625 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7626 $as_echo_n "(cached) " >&6
7627 else
7628 if test -n "$ac_ct_OTOOL"; then
7629 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7630 else
7631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7632 for as_dir in $PATH
7634 IFS=$as_save_IFS
7635 test -z "$as_dir" && as_dir=.
7636 for ac_exec_ext in '' $ac_executable_extensions; do
7637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7638 ac_cv_prog_ac_ct_OTOOL="otool"
7639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7640 break 2
7642 done
7643 done
7644 IFS=$as_save_IFS
7648 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7649 if test -n "$ac_ct_OTOOL"; then
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7651 $as_echo "$ac_ct_OTOOL" >&6; }
7652 else
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7654 $as_echo "no" >&6; }
7657 if test "x$ac_ct_OTOOL" = x; then
7658 OTOOL="otool"
7659 else
7660 case $cross_compiling:$ac_tool_warned in
7661 yes:)
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7664 ac_tool_warned=yes ;;
7665 esac
7666 OTOOL=$ac_ct_OTOOL
7668 else
7669 OTOOL="$ac_cv_prog_OTOOL"
7672 if test -n "$ac_tool_prefix"; then
7673 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7674 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7676 $as_echo_n "checking for $ac_word... " >&6; }
7677 if ${ac_cv_prog_READELF+:} false; then :
7678 $as_echo_n "(cached) " >&6
7679 else
7680 if test -n "$READELF"; then
7681 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7682 else
7683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7684 for as_dir in $PATH
7686 IFS=$as_save_IFS
7687 test -z "$as_dir" && as_dir=.
7688 for ac_exec_ext in '' $ac_executable_extensions; do
7689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7690 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7692 break 2
7694 done
7695 done
7696 IFS=$as_save_IFS
7700 READELF=$ac_cv_prog_READELF
7701 if test -n "$READELF"; then
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7703 $as_echo "$READELF" >&6; }
7704 else
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7706 $as_echo "no" >&6; }
7711 if test -z "$ac_cv_prog_READELF"; then
7712 ac_ct_READELF=$READELF
7713 # Extract the first word of "readelf", so it can be a program name with args.
7714 set dummy readelf; ac_word=$2
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7716 $as_echo_n "checking for $ac_word... " >&6; }
7717 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7718 $as_echo_n "(cached) " >&6
7719 else
7720 if test -n "$ac_ct_READELF"; then
7721 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7722 else
7723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7724 for as_dir in $PATH
7726 IFS=$as_save_IFS
7727 test -z "$as_dir" && as_dir=.
7728 for ac_exec_ext in '' $ac_executable_extensions; do
7729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7730 ac_cv_prog_ac_ct_READELF="readelf"
7731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7732 break 2
7734 done
7735 done
7736 IFS=$as_save_IFS
7740 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7741 if test -n "$ac_ct_READELF"; then
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7743 $as_echo "$ac_ct_READELF" >&6; }
7744 else
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7746 $as_echo "no" >&6; }
7749 if test "x$ac_ct_READELF" = x; then
7750 READELF="true"
7751 else
7752 case $cross_compiling:$ac_tool_warned in
7753 yes:)
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7756 ac_tool_warned=yes ;;
7757 esac
7758 READELF=$ac_ct_READELF
7760 else
7761 READELF="$ac_cv_prog_READELF"
7764 wine_rules_file=conf$$rules.make
7765 rm -f $wine_rules_file
7766 SUBDIRS=""
7768 DISABLED_SUBDIRS=""
7770 CONFIGURE_TARGETS=""
7773 wine_fn_append_file ()
7775 as_fn_append $1 " \\$as_nl $2"
7778 wine_fn_append_rule ()
7780 $as_echo "$1" >>$wine_rules_file
7783 wine_fn_config_makefile ()
7785 wine_fn_append_file SUBDIRS $1
7786 if eval test \"x\$"$2"\" = x"no"; then :
7787 wine_fn_append_file DISABLED_SUBDIRS $1
7791 wine_fn_config_symlink ()
7793 ac_links=$@
7794 wine_fn_append_rule \
7795 "$ac_links:
7796 @./config.status \$@"
7797 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7800 wine_binary="wine"
7801 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7802 WINELOADER_PROGRAMS="$wine_binary"
7804 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7806 case $host_os in
7807 cygwin*|mingw32*)
7808 if test -n "$ac_tool_prefix"; then
7809 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7810 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7812 $as_echo_n "checking for $ac_word... " >&6; }
7813 if ${ac_cv_prog_DLLTOOL+:} false; then :
7814 $as_echo_n "(cached) " >&6
7815 else
7816 if test -n "$DLLTOOL"; then
7817 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7818 else
7819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7820 for as_dir in $PATH
7822 IFS=$as_save_IFS
7823 test -z "$as_dir" && as_dir=.
7824 for ac_exec_ext in '' $ac_executable_extensions; do
7825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7826 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7828 break 2
7830 done
7831 done
7832 IFS=$as_save_IFS
7836 DLLTOOL=$ac_cv_prog_DLLTOOL
7837 if test -n "$DLLTOOL"; then
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7839 $as_echo "$DLLTOOL" >&6; }
7840 else
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7842 $as_echo "no" >&6; }
7847 if test -z "$ac_cv_prog_DLLTOOL"; then
7848 ac_ct_DLLTOOL=$DLLTOOL
7849 # Extract the first word of "dlltool", so it can be a program name with args.
7850 set dummy dlltool; ac_word=$2
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7852 $as_echo_n "checking for $ac_word... " >&6; }
7853 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7854 $as_echo_n "(cached) " >&6
7855 else
7856 if test -n "$ac_ct_DLLTOOL"; then
7857 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7858 else
7859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7860 for as_dir in $PATH
7862 IFS=$as_save_IFS
7863 test -z "$as_dir" && as_dir=.
7864 for ac_exec_ext in '' $ac_executable_extensions; do
7865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7866 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7868 break 2
7870 done
7871 done
7872 IFS=$as_save_IFS
7876 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7877 if test -n "$ac_ct_DLLTOOL"; then
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7879 $as_echo "$ac_ct_DLLTOOL" >&6; }
7880 else
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7882 $as_echo "no" >&6; }
7885 if test "x$ac_ct_DLLTOOL" = x; then
7886 DLLTOOL="false"
7887 else
7888 case $cross_compiling:$ac_tool_warned in
7889 yes:)
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7892 ac_tool_warned=yes ;;
7893 esac
7894 DLLTOOL=$ac_ct_DLLTOOL
7896 else
7897 DLLTOOL="$ac_cv_prog_DLLTOOL"
7900 LIBEXT="dll"
7901 DLLEXT=""
7902 IMPLIBEXT="a"
7903 enable_iphlpapi=${enable_iphlpapi:-no}
7904 enable_kernel32=${enable_kernel32:-no}
7905 enable_msvcrt=${enable_msvcrt:-no}
7906 enable_ntdll=${enable_ntdll:-no}
7907 enable_ws2_32=${enable_ws2_32:-no}
7908 enable_loader=${enable_loader:-no}
7909 enable_server=${enable_server:-no}
7910 with_x=${with_x:-no}
7911 with_pthread=${with_pthread:-no}
7913 crtlibs=""
7914 case $host_os in
7915 mingw32*)
7916 crtlibs="-lmsvcrt"
7917 SOCKET_LIBS="-lws2_32"
7919 esac
7921 LIBWINE_SHAREDLIB="libwine.dll"
7923 LIBWINE_IMPORTLIB="libwine.a"
7925 LIBWINE_INSTALL_LIB="libwine.dll"
7927 LIBWINE_INSTALL_DEV="libwine.a"
7929 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7931 LIBWINE_DEPENDS="wine.def"
7935 darwin*|macosx*)
7936 for ac_header in libunwind.h
7937 do :
7938 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7939 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7940 cat >>confdefs.h <<_ACEOF
7941 #define HAVE_LIBUNWIND_H 1
7942 _ACEOF
7946 done
7948 LIBEXT="dylib"
7949 DLLFLAGS="$DLLFLAGS -fPIC"
7950 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7951 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7952 COREFOUNDATION_LIBS="-framework CoreFoundation"
7954 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7956 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7958 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7960 CORESERVICES_LIBS="-framework CoreServices"
7962 APPKIT_LIBS="-framework AppKit"
7964 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7966 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7967 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7968 $as_echo_n "(cached) " >&6
7969 else
7970 ac_wine_try_cflags_saved=$CFLAGS
7971 CFLAGS="$CFLAGS -Wl,-no_pie"
7972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7973 /* end confdefs.h. */
7974 int main(int argc, char **argv) { return 0; }
7975 _ACEOF
7976 if ac_fn_c_try_link "$LINENO"; then :
7977 ac_cv_cflags__Wl__no_pie=yes
7978 else
7979 ac_cv_cflags__Wl__no_pie=no
7981 rm -f core conftest.err conftest.$ac_objext \
7982 conftest$ac_exeext conftest.$ac_ext
7983 CFLAGS=$ac_wine_try_cflags_saved
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7986 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7987 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7988 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
7990 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7991 then
7992 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7995 if test "$ac_cv_header_Security_Security_h" = "yes"
7996 then
7997 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7999 ac_save_LIBS="$LIBS"
8000 LIBS="$LIBS $SECURITY_LIBS"
8001 for ac_func in SSLCopyPeerCertificates
8002 do :
8003 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8004 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8005 cat >>confdefs.h <<_ACEOF
8006 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8007 _ACEOF
8010 done
8012 LIBS="$ac_save_LIBS"
8013 with_gnutls=${with_gnutls:-no}
8015 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8016 then
8017 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8018 then
8019 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8021 else
8022 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8025 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8026 ac_save_LIBS="$LIBS"
8027 LIBS="$LIBS $COREAUDIO_LIBS"
8028 for ac_func in AUGraphAddNode
8029 do :
8030 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8031 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8032 cat >>confdefs.h <<_ACEOF
8033 #define HAVE_AUGRAPHADDNODE 1
8034 _ACEOF
8037 done
8039 LIBS="$ac_save_LIBS"
8041 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8042 then
8043 OPENAL_LIBS="-framework OpenAL"
8046 cat >>confdefs.h <<_ACEOF
8047 #define HAVE_OPENAL 1
8048 _ACEOF
8050 ac_cv_lib_openal=yes
8052 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8053 then
8054 OPENCL_LIBS="-framework OpenCL"
8056 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8058 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8059 then
8060 ac_save_LIBS="$LIBS"
8061 LIBS="$LIBS $IOKIT_LIBS"
8062 for ac_func in IOHIDManagerCreate
8063 do :
8064 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8065 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8066 cat >>confdefs.h <<_ACEOF
8067 #define HAVE_IOHIDMANAGERCREATE 1
8068 _ACEOF
8071 done
8073 LIBS="$ac_save_LIBS"
8075 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8076 then
8077 ac_save_LIBS="$LIBS"
8078 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8080 $as_echo_n "checking for the QuickTime framework... " >&6; }
8081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8082 /* end confdefs.h. */
8083 #include <QuickTime/ImageCompression.h>
8085 main ()
8087 CodecManagerVersion(NULL);
8089 return 0;
8091 _ACEOF
8092 if ac_fn_c_try_link "$LINENO"; then :
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8094 $as_echo "yes" >&6; }
8095 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8097 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8098 else
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8100 $as_echo "no" >&6; }
8101 ac_cv_header_QuickTime_ImageCompression_h=no
8103 rm -f core conftest.err conftest.$ac_objext \
8104 conftest$ac_exeext conftest.$ac_ext
8105 LIBS="$ac_save_LIBS"
8107 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8108 then
8109 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8111 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8112 then
8113 CARBON_LIBS="-framework Carbon"
8117 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8118 then
8119 ac_save_LIBS="$LIBS"
8120 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8121 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8122 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8123 enable_winemac_drv=${enable_winemac_drv:-yes}
8126 LIBS="$ac_save_LIBS"
8129 if test "x$enable_win16" = "xyes"
8130 then
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8132 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8133 if test "$cross_compiling" = yes; then :
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8135 $as_echo "cross-compiling, assuming yes" >&6; }
8136 else
8137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8138 /* end confdefs.h. */
8139 asm(".text\n"
8140 "bad:\tnop;nop\n"
8141 "good:\tnop;nop\n\t"
8142 ".globl _testfunc\n"
8143 "_testfunc:\tcallw good");
8144 extern void testfunc();
8146 main ()
8148 unsigned short *p = (unsigned short *)testfunc;
8149 return p[0] != 0xe866 || p[1] != 0xfffa
8151 return 0;
8153 _ACEOF
8154 if ac_fn_c_try_run "$LINENO"; then :
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8156 $as_echo "yes" >&6; }
8157 else
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8159 $as_echo "no" >&6; }
8160 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
8162 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8163 conftest.$ac_objext conftest.beam conftest.$ac_ext
8168 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8170 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8172 LIBWINE_INSTALL_DEV="libwine.dylib"
8174 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8176 WINELOADER_DEPENDS="wine_info.plist"
8180 linux-android*)
8181 DLLFLAGS="$DLLFLAGS -fPIC"
8182 LDEXECFLAGS="-Wl,-pie"
8183 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8185 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8186 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8187 $as_echo_n "(cached) " >&6
8188 else
8189 ac_wine_try_cflags_saved=$CFLAGS
8190 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8192 /* end confdefs.h. */
8193 int main(int argc, char **argv) { return 0; }
8194 _ACEOF
8195 if ac_fn_c_try_link "$LINENO"; then :
8196 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8197 else
8198 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8200 rm -f core conftest.err conftest.$ac_objext \
8201 conftest$ac_exeext conftest.$ac_ext
8202 CFLAGS=$ac_wine_try_cflags_saved
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8205 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8206 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8207 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8209 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8211 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8212 if eval \${$as_ac_var+:} false; then :
8213 $as_echo_n "(cached) " >&6
8214 else
8215 ac_wine_try_cflags_saved=$CFLAGS
8216 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8218 /* end confdefs.h. */
8219 int main(int argc, char **argv) { return 0; }
8220 _ACEOF
8221 if ac_fn_c_try_link "$LINENO"; then :
8222 eval "$as_ac_var=yes"
8223 else
8224 eval "$as_ac_var=no"
8226 rm -f core conftest.err conftest.$ac_objext \
8227 conftest$ac_exeext conftest.$ac_ext
8228 CFLAGS=$ac_wine_try_cflags_saved
8230 eval ac_res=\$$as_ac_var
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8232 $as_echo "$ac_res" >&6; }
8233 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8234 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8235 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8236 else
8237 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8239 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8240 if eval \${$as_ac_var+:} false; then :
8241 $as_echo_n "(cached) " >&6
8242 else
8243 ac_wine_try_cflags_saved=$CFLAGS
8244 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8246 /* end confdefs.h. */
8247 int main(int argc, char **argv) { return 0; }
8248 _ACEOF
8249 if ac_fn_c_try_link "$LINENO"; then :
8250 eval "$as_ac_var=yes"
8251 else
8252 eval "$as_ac_var=no"
8254 rm -f core conftest.err conftest.$ac_objext \
8255 conftest$ac_exeext conftest.$ac_ext
8256 CFLAGS=$ac_wine_try_cflags_saved
8258 eval ac_res=\$$as_ac_var
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8260 $as_echo "$ac_res" >&6; }
8261 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8262 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8263 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8267 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8268 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8269 $as_echo_n "(cached) " >&6
8270 else
8271 ac_wine_try_cflags_saved=$CFLAGS
8272 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8274 /* end confdefs.h. */
8275 int main(int argc, char **argv) { return 0; }
8276 _ACEOF
8277 if ac_fn_c_try_link "$LINENO"; then :
8278 ac_cv_cflags__Wl___enable_new_dtags=yes
8279 else
8280 ac_cv_cflags__Wl___enable_new_dtags=no
8282 rm -f core conftest.err conftest.$ac_objext \
8283 conftest$ac_exeext conftest.$ac_ext
8284 CFLAGS=$ac_wine_try_cflags_saved
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8287 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8288 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8289 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8292 LIBWINE_SHAREDLIB="libwine.so"
8294 LIBWINE_INSTALL_LIB="libwine.so"
8296 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8300 $as_echo_n "checking for -lEGL... " >&6; }
8301 if ${ac_cv_lib_soname_EGL+:} false; then :
8302 $as_echo_n "(cached) " >&6
8303 else
8304 ac_check_soname_save_LIBS=$LIBS
8305 LIBS="-lEGL $LIBS"
8306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8307 /* end confdefs.h. */
8309 /* Override any GCC internal prototype to avoid an error.
8310 Use char because int might match the return type of a GCC
8311 builtin and then its argument prototype would still apply. */
8312 #ifdef __cplusplus
8313 extern "C"
8314 #endif
8315 char eglGetProcAddress ();
8317 main ()
8319 return eglGetProcAddress ();
8321 return 0;
8323 _ACEOF
8324 if ac_fn_c_try_link "$LINENO"; then :
8325 case "$LIBEXT" in
8326 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8327 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'` ;;
8328 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8329 if ${ac_cv_lib_soname_EGL:+false} :; then :
8330 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8331 fi ;;
8332 esac
8334 rm -f core conftest.err conftest.$ac_objext \
8335 conftest$ac_exeext conftest.$ac_ext
8336 LIBS=$ac_check_soname_save_LIBS
8338 if ${ac_cv_lib_soname_EGL:+false} :; then :
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8340 $as_echo "not found" >&6; }
8342 else
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8344 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8346 cat >>confdefs.h <<_ACEOF
8347 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8348 _ACEOF
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8353 $as_echo_n "checking for -lGLESv2... " >&6; }
8354 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8355 $as_echo_n "(cached) " >&6
8356 else
8357 ac_check_soname_save_LIBS=$LIBS
8358 LIBS="-lGLESv2 $LIBS"
8359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8360 /* end confdefs.h. */
8362 /* Override any GCC internal prototype to avoid an error.
8363 Use char because int might match the return type of a GCC
8364 builtin and then its argument prototype would still apply. */
8365 #ifdef __cplusplus
8366 extern "C"
8367 #endif
8368 char glFlush ();
8370 main ()
8372 return glFlush ();
8374 return 0;
8376 _ACEOF
8377 if ac_fn_c_try_link "$LINENO"; then :
8378 case "$LIBEXT" in
8379 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8380 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'` ;;
8381 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8382 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8383 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8384 fi ;;
8385 esac
8387 rm -f core conftest.err conftest.$ac_objext \
8388 conftest$ac_exeext conftest.$ac_ext
8389 LIBS=$ac_check_soname_save_LIBS
8391 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8393 $as_echo "not found" >&6; }
8395 else
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8397 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8399 cat >>confdefs.h <<_ACEOF
8400 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8401 _ACEOF
8406 if test "x$exec_prefix" = xNONE
8407 then
8408 case $host_cpu in
8409 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8410 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8411 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8412 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8413 esac
8418 DLLFLAGS="$DLLFLAGS -fPIC"
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8420 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8421 if ${ac_cv_c_dll_gnuelf+:} false; then :
8422 $as_echo_n "(cached) " >&6
8423 else
8424 ac_wine_try_cflags_saved=$CFLAGS
8425 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8428 void myfunc() {}
8429 _ACEOF
8430 if ac_fn_c_try_link "$LINENO"; then :
8431 ac_cv_c_dll_gnuelf="yes"
8432 else
8433 ac_cv_c_dll_gnuelf="no"
8435 rm -f core conftest.err conftest.$ac_objext \
8436 conftest$ac_exeext conftest.$ac_ext
8437 CFLAGS=$ac_wine_try_cflags_saved
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8440 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8441 if test "$ac_cv_c_dll_gnuelf" = "yes"
8442 then
8443 LIBWINE_LDFLAGS="-shared"
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8445 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8446 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8447 $as_echo_n "(cached) " >&6
8448 else
8449 ac_wine_try_cflags_saved=$CFLAGS
8450 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8452 /* end confdefs.h. */
8453 int main(int argc, char **argv) { return 0; }
8454 _ACEOF
8455 if ac_fn_c_try_link "$LINENO"; then :
8456 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8457 else
8458 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8460 rm -f core conftest.err conftest.$ac_objext \
8461 conftest$ac_exeext conftest.$ac_ext
8462 CFLAGS=$ac_wine_try_cflags_saved
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8465 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8466 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8467 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8468 else
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8470 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8471 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8472 $as_echo_n "(cached) " >&6
8473 else
8474 ac_wine_try_cflags_saved=$CFLAGS
8475 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8478 int main(int argc, char **argv) { return 0; }
8479 _ACEOF
8480 if ac_fn_c_try_link "$LINENO"; then :
8481 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8482 else
8483 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8485 rm -f core conftest.err conftest.$ac_objext \
8486 conftest$ac_exeext conftest.$ac_ext
8487 CFLAGS=$ac_wine_try_cflags_saved
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8490 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8491 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8492 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8496 echo '{ global: *; };' >conftest.map
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8498 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8499 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8500 $as_echo_n "(cached) " >&6
8501 else
8502 ac_wine_try_cflags_saved=$CFLAGS
8503 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8505 /* end confdefs.h. */
8506 int main(int argc, char **argv) { return 0; }
8507 _ACEOF
8508 if ac_fn_c_try_link "$LINENO"; then :
8509 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8510 else
8511 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8513 rm -f core conftest.err conftest.$ac_objext \
8514 conftest$ac_exeext conftest.$ac_ext
8515 CFLAGS=$ac_wine_try_cflags_saved
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8518 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8519 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8520 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8522 rm -f conftest.map
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8525 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8526 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8527 $as_echo_n "(cached) " >&6
8528 else
8529 ac_wine_try_cflags_saved=$CFLAGS
8530 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8532 /* end confdefs.h. */
8533 int main(int argc, char **argv) { return 0; }
8534 _ACEOF
8535 if ac_fn_c_try_link "$LINENO"; then :
8536 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8537 else
8538 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8540 rm -f core conftest.err conftest.$ac_objext \
8541 conftest$ac_exeext conftest.$ac_ext
8542 CFLAGS=$ac_wine_try_cflags_saved
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8545 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8546 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8547 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8550 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8552 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8553 if eval \${$as_ac_var+:} false; then :
8554 $as_echo_n "(cached) " >&6
8555 else
8556 ac_wine_try_cflags_saved=$CFLAGS
8557 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 int main(int argc, char **argv) { return 0; }
8561 _ACEOF
8562 if ac_fn_c_try_link "$LINENO"; then :
8563 eval "$as_ac_var=yes"
8564 else
8565 eval "$as_ac_var=no"
8567 rm -f core conftest.err conftest.$ac_objext \
8568 conftest$ac_exeext conftest.$ac_ext
8569 CFLAGS=$ac_wine_try_cflags_saved
8571 eval ac_res=\$$as_ac_var
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8573 $as_echo "$ac_res" >&6; }
8574 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8575 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8576 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8577 else
8578 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8580 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8581 if eval \${$as_ac_var+:} false; then :
8582 $as_echo_n "(cached) " >&6
8583 else
8584 ac_wine_try_cflags_saved=$CFLAGS
8585 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8587 /* end confdefs.h. */
8588 int main(int argc, char **argv) { return 0; }
8589 _ACEOF
8590 if ac_fn_c_try_link "$LINENO"; then :
8591 eval "$as_ac_var=yes"
8592 else
8593 eval "$as_ac_var=no"
8595 rm -f core conftest.err conftest.$ac_objext \
8596 conftest$ac_exeext conftest.$ac_ext
8597 CFLAGS=$ac_wine_try_cflags_saved
8599 eval ac_res=\$$as_ac_var
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8601 $as_echo "$ac_res" >&6; }
8602 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8603 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8604 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8609 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8610 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8611 $as_echo_n "(cached) " >&6
8612 else
8613 ac_wine_try_cflags_saved=$CFLAGS
8614 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8616 /* end confdefs.h. */
8617 int main(int argc, char **argv) { return 0; }
8618 _ACEOF
8619 if ac_fn_c_try_link "$LINENO"; then :
8620 ac_cv_cflags__Wl___enable_new_dtags=yes
8621 else
8622 ac_cv_cflags__Wl___enable_new_dtags=no
8624 rm -f core conftest.err conftest.$ac_objext \
8625 conftest$ac_exeext conftest.$ac_ext
8626 CFLAGS=$ac_wine_try_cflags_saved
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8629 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8630 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8631 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8634 case $host_cpu in
8635 *i[3456789]86* | x86_64 | *aarch64*)
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8637 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8638 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8639 $as_echo_n "(cached) " >&6
8640 else
8641 ac_wine_try_cflags_saved=$CFLAGS
8642 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8644 /* end confdefs.h. */
8645 int main(int argc, char **argv) { return 0; }
8646 _ACEOF
8647 if ac_fn_c_try_link "$LINENO"; then :
8648 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8649 else
8650 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8652 rm -f core conftest.err conftest.$ac_objext \
8653 conftest$ac_exeext conftest.$ac_ext
8654 CFLAGS=$ac_wine_try_cflags_saved
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8657 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8658 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8659 case $host_os in
8660 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8661 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8662 esac
8663 else
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8665 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8666 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8667 $as_echo_n "(cached) " >&6
8668 else
8669 ac_wine_try_cflags_saved=$CFLAGS
8670 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8672 /* end confdefs.h. */
8673 int main(int argc, char **argv) { return 0; }
8674 _ACEOF
8675 if ac_fn_c_try_link "$LINENO"; then :
8676 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8677 else
8678 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8680 rm -f core conftest.err conftest.$ac_objext \
8681 conftest$ac_exeext conftest.$ac_ext
8682 CFLAGS=$ac_wine_try_cflags_saved
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8685 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8686 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8687 case $host_os in
8688 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8689 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8690 esac
8692 # Extract the first word of "prelink", so it can be a program name with args.
8693 set dummy prelink; ac_word=$2
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8695 $as_echo_n "checking for $ac_word... " >&6; }
8696 if ${ac_cv_path_PRELINK+:} false; then :
8697 $as_echo_n "(cached) " >&6
8698 else
8699 case $PRELINK in
8700 [\\/]* | ?:[\\/]*)
8701 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8705 for as_dir in /sbin /usr/sbin $PATH
8707 IFS=$as_save_IFS
8708 test -z "$as_dir" && as_dir=.
8709 for ac_exec_ext in '' $ac_executable_extensions; do
8710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8711 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8713 break 2
8715 done
8716 done
8717 IFS=$as_save_IFS
8719 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8721 esac
8723 PRELINK=$ac_cv_path_PRELINK
8724 if test -n "$PRELINK"; then
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8726 $as_echo "$PRELINK" >&6; }
8727 else
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8729 $as_echo "no" >&6; }
8733 if test "x$PRELINK" = xfalse
8734 then
8735 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8739 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8740 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8741 $as_echo_n "(cached) " >&6
8742 else
8743 ac_wine_try_cflags_saved=$CFLAGS
8744 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8746 /* end confdefs.h. */
8747 int main(int argc, char **argv) { return 0; }
8748 _ACEOF
8749 if ac_fn_c_try_link "$LINENO"; then :
8750 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8751 else
8752 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8754 rm -f core conftest.err conftest.$ac_objext \
8755 conftest$ac_exeext conftest.$ac_ext
8756 CFLAGS=$ac_wine_try_cflags_saved
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8759 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8760 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8761 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8764 esac
8766 else
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8768 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8769 if ${ac_cv_c_dll_unixware+:} false; then :
8770 $as_echo_n "(cached) " >&6
8771 else
8772 ac_wine_try_cflags_saved=$CFLAGS
8773 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8775 /* end confdefs.h. */
8776 void myfunc() {}
8777 _ACEOF
8778 if ac_fn_c_try_link "$LINENO"; then :
8779 ac_cv_c_dll_unixware="yes"
8780 else
8781 ac_cv_c_dll_unixware="no"
8783 rm -f core conftest.err conftest.$ac_objext \
8784 conftest$ac_exeext conftest.$ac_ext
8785 CFLAGS=$ac_wine_try_cflags_saved
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8788 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8789 if test "$ac_cv_c_dll_unixware" = "yes"
8790 then
8791 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8794 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8796 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8798 LIBWINE_INSTALL_DEV="libwine.so"
8800 LIBWINE_DEPENDS="wine.map"
8803 esac
8805 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8806 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8807 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8808 enable_winemac_drv=${enable_winemac_drv:-no}
8809 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8811 CROSSTARGET=""
8813 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8814 then
8815 case "$host_cpu" in
8816 arm*)
8817 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8818 i[3456789]86*)
8819 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
8820 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8821 mingw32-gcc" ;;
8822 x86_64)
8823 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
8824 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8826 ac_prefix_list="" ;;
8827 esac
8828 for ac_prog in $ac_prefix_list
8830 # Extract the first word of "$ac_prog", so it can be a program name with args.
8831 set dummy $ac_prog; ac_word=$2
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8833 $as_echo_n "checking for $ac_word... " >&6; }
8834 if ${ac_cv_prog_CROSSCC+:} false; then :
8835 $as_echo_n "(cached) " >&6
8836 else
8837 if test -n "$CROSSCC"; then
8838 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8839 else
8840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8841 for as_dir in $PATH
8843 IFS=$as_save_IFS
8844 test -z "$as_dir" && as_dir=.
8845 for ac_exec_ext in '' $ac_executable_extensions; do
8846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8847 ac_cv_prog_CROSSCC="$ac_prog"
8848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8849 break 2
8851 done
8852 done
8853 IFS=$as_save_IFS
8857 CROSSCC=$ac_cv_prog_CROSSCC
8858 if test -n "$CROSSCC"; then
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8860 $as_echo "$CROSSCC" >&6; }
8861 else
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8863 $as_echo "no" >&6; }
8867 test -n "$CROSSCC" && break
8868 done
8869 test -n "$CROSSCC" || CROSSCC="false"
8871 if test "$CROSSCC" != "false"
8872 then
8873 ac_save_CC="$CC"
8874 CC="$CROSSCC"
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8876 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8878 /* end confdefs.h. */
8881 main ()
8885 return 0;
8887 _ACEOF
8888 if ac_fn_c_try_compile "$LINENO"; then :
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8890 $as_echo "yes" >&6; }
8891 set x $CROSSCC
8892 shift
8893 while test $# -ge 1
8895 case "$1" in
8896 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8897 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8898 esac
8899 shift
8900 done
8901 else
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8903 $as_echo "no" >&6; }
8905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8906 CC="$ac_save_CC"
8907 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8913 if test "$ac_cv_header_pthread_h" = "yes"
8914 then
8915 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8916 if test "x$ac_cv_func_pthread_create" = xyes; then :
8918 else
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8920 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8921 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8922 $as_echo_n "(cached) " >&6
8923 else
8924 ac_check_lib_save_LIBS=$LIBS
8925 LIBS="-lpthread $LIBS"
8926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8927 /* end confdefs.h. */
8929 /* Override any GCC internal prototype to avoid an error.
8930 Use char because int might match the return type of a GCC
8931 builtin and then its argument prototype would still apply. */
8932 #ifdef __cplusplus
8933 extern "C"
8934 #endif
8935 char pthread_create ();
8937 main ()
8939 return pthread_create ();
8941 return 0;
8943 _ACEOF
8944 if ac_fn_c_try_link "$LINENO"; then :
8945 ac_cv_lib_pthread_pthread_create=yes
8946 else
8947 ac_cv_lib_pthread_pthread_create=no
8949 rm -f core conftest.err conftest.$ac_objext \
8950 conftest$ac_exeext conftest.$ac_ext
8951 LIBS=$ac_check_lib_save_LIBS
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8954 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8955 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8956 PTHREAD_LIBS="-lpthread"
8963 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8964 case "x$with_pthread" in
8965 xno) ;;
8966 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8967 Wine cannot support threads without libpthread.
8968 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8969 esac
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8975 $as_echo_n "checking for X... " >&6; }
8978 # Check whether --with-x was given.
8979 if test "${with_x+set}" = set; then :
8980 withval=$with_x;
8983 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8984 if test "x$with_x" = xno; then
8985 # The user explicitly disabled X.
8986 have_x=disabled
8987 else
8988 case $x_includes,$x_libraries in #(
8989 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8990 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8991 $as_echo_n "(cached) " >&6
8992 else
8993 # One or both of the vars are not set, and there is no cached value.
8994 ac_x_includes=no ac_x_libraries=no
8995 rm -f -r conftest.dir
8996 if mkdir conftest.dir; then
8997 cd conftest.dir
8998 cat >Imakefile <<'_ACEOF'
8999 incroot:
9000 @echo incroot='${INCROOT}'
9001 usrlibdir:
9002 @echo usrlibdir='${USRLIBDIR}'
9003 libdir:
9004 @echo libdir='${LIBDIR}'
9005 _ACEOF
9006 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9007 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9008 for ac_var in incroot usrlibdir libdir; do
9009 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9010 done
9011 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9012 for ac_extension in a so sl dylib la dll; do
9013 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9014 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9015 ac_im_usrlibdir=$ac_im_libdir; break
9017 done
9018 # Screen out bogus values from the imake configuration. They are
9019 # bogus both because they are the default anyway, and because
9020 # using them would break gcc on systems where it needs fixed includes.
9021 case $ac_im_incroot in
9022 /usr/include) ac_x_includes= ;;
9023 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9024 esac
9025 case $ac_im_usrlibdir in
9026 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9027 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9028 esac
9030 cd ..
9031 rm -f -r conftest.dir
9034 # Standard set of common directories for X headers.
9035 # Check X11 before X11Rn because it is often a symlink to the current release.
9036 ac_x_header_dirs='
9037 /usr/X11/include
9038 /usr/X11R7/include
9039 /usr/X11R6/include
9040 /usr/X11R5/include
9041 /usr/X11R4/include
9043 /usr/include/X11
9044 /usr/include/X11R7
9045 /usr/include/X11R6
9046 /usr/include/X11R5
9047 /usr/include/X11R4
9049 /usr/local/X11/include
9050 /usr/local/X11R7/include
9051 /usr/local/X11R6/include
9052 /usr/local/X11R5/include
9053 /usr/local/X11R4/include
9055 /usr/local/include/X11
9056 /usr/local/include/X11R7
9057 /usr/local/include/X11R6
9058 /usr/local/include/X11R5
9059 /usr/local/include/X11R4
9061 /usr/X386/include
9062 /usr/x386/include
9063 /usr/XFree86/include/X11
9065 /usr/include
9066 /usr/local/include
9067 /usr/unsupported/include
9068 /usr/athena/include
9069 /usr/local/x11r5/include
9070 /usr/lpp/Xamples/include
9072 /usr/openwin/include
9073 /usr/openwin/share/include'
9075 if test "$ac_x_includes" = no; then
9076 # Guess where to find include files, by looking for Xlib.h.
9077 # First, try using that file with no special directory specified.
9078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9079 /* end confdefs.h. */
9080 #include <X11/Xlib.h>
9081 _ACEOF
9082 if ac_fn_c_try_cpp "$LINENO"; then :
9083 # We can compile using X headers with no special include directory.
9084 ac_x_includes=
9085 else
9086 for ac_dir in $ac_x_header_dirs; do
9087 if test -r "$ac_dir/X11/Xlib.h"; then
9088 ac_x_includes=$ac_dir
9089 break
9091 done
9093 rm -f conftest.err conftest.i conftest.$ac_ext
9094 fi # $ac_x_includes = no
9096 if test "$ac_x_libraries" = no; then
9097 # Check for the libraries.
9098 # See if we find them without any special options.
9099 # Don't add to $LIBS permanently.
9100 ac_save_LIBS=$LIBS
9101 LIBS="-lX11 $LIBS"
9102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9103 /* end confdefs.h. */
9104 #include <X11/Xlib.h>
9106 main ()
9108 XrmInitialize ()
9110 return 0;
9112 _ACEOF
9113 if ac_fn_c_try_link "$LINENO"; then :
9114 LIBS=$ac_save_LIBS
9115 # We can link X programs with no special library path.
9116 ac_x_libraries=
9117 else
9118 LIBS=$ac_save_LIBS
9119 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9121 # Don't even attempt the hair of trying to link an X program!
9122 for ac_extension in a so sl dylib la dll; do
9123 if test -r "$ac_dir/libX11.$ac_extension"; then
9124 ac_x_libraries=$ac_dir
9125 break 2
9127 done
9128 done
9130 rm -f core conftest.err conftest.$ac_objext \
9131 conftest$ac_exeext conftest.$ac_ext
9132 fi # $ac_x_libraries = no
9134 case $ac_x_includes,$ac_x_libraries in #(
9135 no,* | *,no | *\'*)
9136 # Didn't find X, or a directory has "'" in its name.
9137 ac_cv_have_x="have_x=no";; #(
9139 # Record where we found X for the cache.
9140 ac_cv_have_x="have_x=yes\
9141 ac_x_includes='$ac_x_includes'\
9142 ac_x_libraries='$ac_x_libraries'"
9143 esac
9145 ;; #(
9146 *) have_x=yes;;
9147 esac
9148 eval "$ac_cv_have_x"
9149 fi # $with_x != no
9151 if test "$have_x" != yes; then
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9153 $as_echo "$have_x" >&6; }
9154 no_x=yes
9155 else
9156 # If each of the values was on the command line, it overrides each guess.
9157 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9158 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9159 # Update the cache value to reflect the command line values.
9160 ac_cv_have_x="have_x=yes\
9161 ac_x_includes='$x_includes'\
9162 ac_x_libraries='$x_libraries'"
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9164 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9167 if test "$no_x" = yes; then
9168 # Not all programs may use this symbol, but it does not hurt to define it.
9170 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9172 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9173 else
9174 if test -n "$x_includes"; then
9175 X_CFLAGS="$X_CFLAGS -I$x_includes"
9178 # It would also be nice to do this for all -L options, not just this one.
9179 if test -n "$x_libraries"; then
9180 X_LIBS="$X_LIBS -L$x_libraries"
9181 # For Solaris; some versions of Sun CC require a space after -R and
9182 # others require no space. Words are not sufficient . . . .
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9184 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9185 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9186 ac_xsave_c_werror_flag=$ac_c_werror_flag
9187 ac_c_werror_flag=yes
9188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9189 /* end confdefs.h. */
9192 main ()
9196 return 0;
9198 _ACEOF
9199 if ac_fn_c_try_link "$LINENO"; then :
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9201 $as_echo "no" >&6; }
9202 X_LIBS="$X_LIBS -R$x_libraries"
9203 else
9204 LIBS="$ac_xsave_LIBS -R $x_libraries"
9205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9206 /* end confdefs.h. */
9209 main ()
9213 return 0;
9215 _ACEOF
9216 if ac_fn_c_try_link "$LINENO"; then :
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9218 $as_echo "yes" >&6; }
9219 X_LIBS="$X_LIBS -R $x_libraries"
9220 else
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9222 $as_echo "neither works" >&6; }
9224 rm -f core conftest.err conftest.$ac_objext \
9225 conftest$ac_exeext conftest.$ac_ext
9227 rm -f core conftest.err conftest.$ac_objext \
9228 conftest$ac_exeext conftest.$ac_ext
9229 ac_c_werror_flag=$ac_xsave_c_werror_flag
9230 LIBS=$ac_xsave_LIBS
9233 # Check for system-dependent libraries X programs must link with.
9234 # Do this before checking for the system-independent R6 libraries
9235 # (-lICE), since we may need -lsocket or whatever for X linking.
9237 if test "$ISC" = yes; then
9238 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9239 else
9240 # Martyn Johnson says this is needed for Ultrix, if the X
9241 # libraries were built with DECnet support. And Karl Berry says
9242 # the Alpha needs dnet_stub (dnet does not exist).
9243 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9245 /* end confdefs.h. */
9247 /* Override any GCC internal prototype to avoid an error.
9248 Use char because int might match the return type of a GCC
9249 builtin and then its argument prototype would still apply. */
9250 #ifdef __cplusplus
9251 extern "C"
9252 #endif
9253 char XOpenDisplay ();
9255 main ()
9257 return XOpenDisplay ();
9259 return 0;
9261 _ACEOF
9262 if ac_fn_c_try_link "$LINENO"; then :
9264 else
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9266 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9267 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9268 $as_echo_n "(cached) " >&6
9269 else
9270 ac_check_lib_save_LIBS=$LIBS
9271 LIBS="-ldnet $LIBS"
9272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9275 /* Override any GCC internal prototype to avoid an error.
9276 Use char because int might match the return type of a GCC
9277 builtin and then its argument prototype would still apply. */
9278 #ifdef __cplusplus
9279 extern "C"
9280 #endif
9281 char dnet_ntoa ();
9283 main ()
9285 return dnet_ntoa ();
9287 return 0;
9289 _ACEOF
9290 if ac_fn_c_try_link "$LINENO"; then :
9291 ac_cv_lib_dnet_dnet_ntoa=yes
9292 else
9293 ac_cv_lib_dnet_dnet_ntoa=no
9295 rm -f core conftest.err conftest.$ac_objext \
9296 conftest$ac_exeext conftest.$ac_ext
9297 LIBS=$ac_check_lib_save_LIBS
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9300 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9301 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9302 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9305 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9307 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9308 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9309 $as_echo_n "(cached) " >&6
9310 else
9311 ac_check_lib_save_LIBS=$LIBS
9312 LIBS="-ldnet_stub $LIBS"
9313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9314 /* end confdefs.h. */
9316 /* Override any GCC internal prototype to avoid an error.
9317 Use char because int might match the return type of a GCC
9318 builtin and then its argument prototype would still apply. */
9319 #ifdef __cplusplus
9320 extern "C"
9321 #endif
9322 char dnet_ntoa ();
9324 main ()
9326 return dnet_ntoa ();
9328 return 0;
9330 _ACEOF
9331 if ac_fn_c_try_link "$LINENO"; then :
9332 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9333 else
9334 ac_cv_lib_dnet_stub_dnet_ntoa=no
9336 rm -f core conftest.err conftest.$ac_objext \
9337 conftest$ac_exeext conftest.$ac_ext
9338 LIBS=$ac_check_lib_save_LIBS
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9341 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9342 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9343 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9348 rm -f core conftest.err conftest.$ac_objext \
9349 conftest$ac_exeext conftest.$ac_ext
9350 LIBS="$ac_xsave_LIBS"
9352 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9353 # to get the SysV transport functions.
9354 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9355 # needs -lnsl.
9356 # The nsl library prevents programs from opening the X display
9357 # on Irix 5.2, according to T.E. Dickey.
9358 # The functions gethostbyname, getservbyname, and inet_addr are
9359 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9360 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9361 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9365 if test $ac_cv_func_gethostbyname = no; then
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9367 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9368 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9369 $as_echo_n "(cached) " >&6
9370 else
9371 ac_check_lib_save_LIBS=$LIBS
9372 LIBS="-lnsl $LIBS"
9373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9374 /* end confdefs.h. */
9376 /* Override any GCC internal prototype to avoid an error.
9377 Use char because int might match the return type of a GCC
9378 builtin and then its argument prototype would still apply. */
9379 #ifdef __cplusplus
9380 extern "C"
9381 #endif
9382 char gethostbyname ();
9384 main ()
9386 return gethostbyname ();
9388 return 0;
9390 _ACEOF
9391 if ac_fn_c_try_link "$LINENO"; then :
9392 ac_cv_lib_nsl_gethostbyname=yes
9393 else
9394 ac_cv_lib_nsl_gethostbyname=no
9396 rm -f core conftest.err conftest.$ac_objext \
9397 conftest$ac_exeext conftest.$ac_ext
9398 LIBS=$ac_check_lib_save_LIBS
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9401 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9402 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9403 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9406 if test $ac_cv_lib_nsl_gethostbyname = no; then
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9408 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9409 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9410 $as_echo_n "(cached) " >&6
9411 else
9412 ac_check_lib_save_LIBS=$LIBS
9413 LIBS="-lbsd $LIBS"
9414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9415 /* end confdefs.h. */
9417 /* Override any GCC internal prototype to avoid an error.
9418 Use char because int might match the return type of a GCC
9419 builtin and then its argument prototype would still apply. */
9420 #ifdef __cplusplus
9421 extern "C"
9422 #endif
9423 char gethostbyname ();
9425 main ()
9427 return gethostbyname ();
9429 return 0;
9431 _ACEOF
9432 if ac_fn_c_try_link "$LINENO"; then :
9433 ac_cv_lib_bsd_gethostbyname=yes
9434 else
9435 ac_cv_lib_bsd_gethostbyname=no
9437 rm -f core conftest.err conftest.$ac_objext \
9438 conftest$ac_exeext conftest.$ac_ext
9439 LIBS=$ac_check_lib_save_LIBS
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9442 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9443 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9444 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9450 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9451 # socket/setsockopt and other routines are undefined under SCO ODT
9452 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9453 # on later versions), says Simon Leinen: it contains gethostby*
9454 # variants that don't use the name server (or something). -lsocket
9455 # must be given before -lnsl if both are needed. We assume that
9456 # if connect needs -lnsl, so does gethostbyname.
9457 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9458 if test "x$ac_cv_func_connect" = xyes; then :
9462 if test $ac_cv_func_connect = no; then
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9464 $as_echo_n "checking for connect in -lsocket... " >&6; }
9465 if ${ac_cv_lib_socket_connect+:} false; then :
9466 $as_echo_n "(cached) " >&6
9467 else
9468 ac_check_lib_save_LIBS=$LIBS
9469 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9473 /* Override any GCC internal prototype to avoid an error.
9474 Use char because int might match the return type of a GCC
9475 builtin and then its argument prototype would still apply. */
9476 #ifdef __cplusplus
9477 extern "C"
9478 #endif
9479 char connect ();
9481 main ()
9483 return connect ();
9485 return 0;
9487 _ACEOF
9488 if ac_fn_c_try_link "$LINENO"; then :
9489 ac_cv_lib_socket_connect=yes
9490 else
9491 ac_cv_lib_socket_connect=no
9493 rm -f core conftest.err conftest.$ac_objext \
9494 conftest$ac_exeext conftest.$ac_ext
9495 LIBS=$ac_check_lib_save_LIBS
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9498 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9499 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9500 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9505 # Guillermo Gomez says -lposix is necessary on A/UX.
9506 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9507 if test "x$ac_cv_func_remove" = xyes; then :
9511 if test $ac_cv_func_remove = no; then
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9513 $as_echo_n "checking for remove in -lposix... " >&6; }
9514 if ${ac_cv_lib_posix_remove+:} false; then :
9515 $as_echo_n "(cached) " >&6
9516 else
9517 ac_check_lib_save_LIBS=$LIBS
9518 LIBS="-lposix $LIBS"
9519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9520 /* end confdefs.h. */
9522 /* Override any GCC internal prototype to avoid an error.
9523 Use char because int might match the return type of a GCC
9524 builtin and then its argument prototype would still apply. */
9525 #ifdef __cplusplus
9526 extern "C"
9527 #endif
9528 char remove ();
9530 main ()
9532 return remove ();
9534 return 0;
9536 _ACEOF
9537 if ac_fn_c_try_link "$LINENO"; then :
9538 ac_cv_lib_posix_remove=yes
9539 else
9540 ac_cv_lib_posix_remove=no
9542 rm -f core conftest.err conftest.$ac_objext \
9543 conftest$ac_exeext conftest.$ac_ext
9544 LIBS=$ac_check_lib_save_LIBS
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9547 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9548 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9549 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9554 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9555 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9556 if test "x$ac_cv_func_shmat" = xyes; then :
9560 if test $ac_cv_func_shmat = no; then
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9562 $as_echo_n "checking for shmat in -lipc... " >&6; }
9563 if ${ac_cv_lib_ipc_shmat+:} false; then :
9564 $as_echo_n "(cached) " >&6
9565 else
9566 ac_check_lib_save_LIBS=$LIBS
9567 LIBS="-lipc $LIBS"
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h. */
9571 /* Override any GCC internal prototype to avoid an error.
9572 Use char because int might match the return type of a GCC
9573 builtin and then its argument prototype would still apply. */
9574 #ifdef __cplusplus
9575 extern "C"
9576 #endif
9577 char shmat ();
9579 main ()
9581 return shmat ();
9583 return 0;
9585 _ACEOF
9586 if ac_fn_c_try_link "$LINENO"; then :
9587 ac_cv_lib_ipc_shmat=yes
9588 else
9589 ac_cv_lib_ipc_shmat=no
9591 rm -f core conftest.err conftest.$ac_objext \
9592 conftest$ac_exeext conftest.$ac_ext
9593 LIBS=$ac_check_lib_save_LIBS
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9596 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9597 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9598 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9604 # Check for libraries that X11R6 Xt/Xaw programs need.
9605 ac_save_LDFLAGS=$LDFLAGS
9606 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9607 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9608 # check for ICE first), but we must link in the order -lSM -lICE or
9609 # we get undefined symbols. So assume we have SM if we have ICE.
9610 # These have to be linked with before -lX11, unlike the other
9611 # libraries we check for below, so use a different variable.
9612 # John Interrante, Karl Berry
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9614 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9615 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9616 $as_echo_n "(cached) " >&6
9617 else
9618 ac_check_lib_save_LIBS=$LIBS
9619 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9621 /* end confdefs.h. */
9623 /* Override any GCC internal prototype to avoid an error.
9624 Use char because int might match the return type of a GCC
9625 builtin and then its argument prototype would still apply. */
9626 #ifdef __cplusplus
9627 extern "C"
9628 #endif
9629 char IceConnectionNumber ();
9631 main ()
9633 return IceConnectionNumber ();
9635 return 0;
9637 _ACEOF
9638 if ac_fn_c_try_link "$LINENO"; then :
9639 ac_cv_lib_ICE_IceConnectionNumber=yes
9640 else
9641 ac_cv_lib_ICE_IceConnectionNumber=no
9643 rm -f core conftest.err conftest.$ac_objext \
9644 conftest$ac_exeext conftest.$ac_ext
9645 LIBS=$ac_check_lib_save_LIBS
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9648 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9649 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9650 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9653 LDFLAGS=$ac_save_LDFLAGS
9658 if test "$have_x" = "yes"
9659 then
9660 ac_save_CPPFLAGS="$CPPFLAGS"
9661 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9664 $as_echo_n "checking for -lX11... " >&6; }
9665 if ${ac_cv_lib_soname_X11+:} false; then :
9666 $as_echo_n "(cached) " >&6
9667 else
9668 ac_check_soname_save_LIBS=$LIBS
9669 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9671 /* end confdefs.h. */
9673 /* Override any GCC internal prototype to avoid an error.
9674 Use char because int might match the return type of a GCC
9675 builtin and then its argument prototype would still apply. */
9676 #ifdef __cplusplus
9677 extern "C"
9678 #endif
9679 char XCreateWindow ();
9681 main ()
9683 return XCreateWindow ();
9685 return 0;
9687 _ACEOF
9688 if ac_fn_c_try_link "$LINENO"; then :
9689 case "$LIBEXT" in
9690 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9691 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'` ;;
9692 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9693 if ${ac_cv_lib_soname_X11:+false} :; then :
9694 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9695 fi ;;
9696 esac
9698 rm -f core conftest.err conftest.$ac_objext \
9699 conftest$ac_exeext conftest.$ac_ext
9700 LIBS=$ac_check_soname_save_LIBS
9702 if ${ac_cv_lib_soname_X11:+false} :; then :
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9704 $as_echo "not found" >&6; }
9706 else
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9708 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9710 cat >>confdefs.h <<_ACEOF
9711 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9712 _ACEOF
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9717 $as_echo_n "checking for -lXext... " >&6; }
9718 if ${ac_cv_lib_soname_Xext+:} false; then :
9719 $as_echo_n "(cached) " >&6
9720 else
9721 ac_check_soname_save_LIBS=$LIBS
9722 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9724 /* end confdefs.h. */
9726 /* Override any GCC internal prototype to avoid an error.
9727 Use char because int might match the return type of a GCC
9728 builtin and then its argument prototype would still apply. */
9729 #ifdef __cplusplus
9730 extern "C"
9731 #endif
9732 char XextCreateExtension ();
9734 main ()
9736 return XextCreateExtension ();
9738 return 0;
9740 _ACEOF
9741 if ac_fn_c_try_link "$LINENO"; then :
9742 case "$LIBEXT" in
9743 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9744 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'` ;;
9745 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9746 if ${ac_cv_lib_soname_Xext:+false} :; then :
9747 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9748 fi ;;
9749 esac
9751 rm -f core conftest.err conftest.$ac_objext \
9752 conftest$ac_exeext conftest.$ac_ext
9753 LIBS=$ac_check_soname_save_LIBS
9755 if ${ac_cv_lib_soname_Xext:+false} :; then :
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9757 $as_echo "not found" >&6; }
9759 else
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9761 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9763 cat >>confdefs.h <<_ACEOF
9764 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9765 _ACEOF
9767 X_LIBS="$X_LIBS -lXext"
9769 X_LIBS="$X_LIBS -lX11"
9771 for ac_header in X11/Xlib.h \
9772 X11/XKBlib.h \
9773 X11/Xutil.h \
9774 X11/Xcursor/Xcursor.h \
9775 X11/extensions/shape.h \
9776 X11/extensions/XInput.h \
9777 X11/extensions/XInput2.h \
9778 X11/extensions/XShm.h \
9779 X11/extensions/Xcomposite.h \
9780 X11/extensions/Xfixes.h \
9781 X11/extensions/Xinerama.h \
9782 X11/extensions/Xrandr.h \
9783 X11/extensions/Xrender.h \
9784 X11/extensions/xf86vmode.h \
9785 X11/extensions/xf86vmproto.h
9786 do :
9787 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9788 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9789 # include <X11/Xlib.h>
9790 #endif
9791 #ifdef HAVE_X11_XUTIL_H
9792 # include <X11/Xutil.h>
9793 #endif
9795 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9796 cat >>confdefs.h <<_ACEOF
9797 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9798 _ACEOF
9802 done
9805 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9806 then
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9808 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9809 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9810 $as_echo_n "(cached) " >&6
9811 else
9812 ac_check_lib_save_LIBS=$LIBS
9813 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9815 /* end confdefs.h. */
9817 /* Override any GCC internal prototype to avoid an error.
9818 Use char because int might match the return type of a GCC
9819 builtin and then its argument prototype would still apply. */
9820 #ifdef __cplusplus
9821 extern "C"
9822 #endif
9823 char XkbQueryExtension ();
9825 main ()
9827 return XkbQueryExtension ();
9829 return 0;
9831 _ACEOF
9832 if ac_fn_c_try_link "$LINENO"; then :
9833 ac_cv_lib_X11_XkbQueryExtension=yes
9834 else
9835 ac_cv_lib_X11_XkbQueryExtension=no
9837 rm -f core conftest.err conftest.$ac_objext \
9838 conftest$ac_exeext conftest.$ac_ext
9839 LIBS=$ac_check_lib_save_LIBS
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9842 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9843 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9845 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9851 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9852 then
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9854 $as_echo_n "checking for -lXcursor... " >&6; }
9855 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9856 $as_echo_n "(cached) " >&6
9857 else
9858 ac_check_soname_save_LIBS=$LIBS
9859 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9861 /* end confdefs.h. */
9863 /* Override any GCC internal prototype to avoid an error.
9864 Use char because int might match the return type of a GCC
9865 builtin and then its argument prototype would still apply. */
9866 #ifdef __cplusplus
9867 extern "C"
9868 #endif
9869 char XcursorImageLoadCursor ();
9871 main ()
9873 return XcursorImageLoadCursor ();
9875 return 0;
9877 _ACEOF
9878 if ac_fn_c_try_link "$LINENO"; then :
9879 case "$LIBEXT" in
9880 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9881 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'` ;;
9882 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9883 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9884 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9885 fi ;;
9886 esac
9888 rm -f core conftest.err conftest.$ac_objext \
9889 conftest$ac_exeext conftest.$ac_ext
9890 LIBS=$ac_check_soname_save_LIBS
9892 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9894 $as_echo "not found" >&6; }
9896 else
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9898 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9900 cat >>confdefs.h <<_ACEOF
9901 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9902 _ACEOF
9907 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9908 case "x$with_xcursor" in
9909 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9910 xno) ;;
9911 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9912 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9913 esac
9917 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9918 then
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9920 $as_echo_n "checking for -lXi... " >&6; }
9921 if ${ac_cv_lib_soname_Xi+:} false; then :
9922 $as_echo_n "(cached) " >&6
9923 else
9924 ac_check_soname_save_LIBS=$LIBS
9925 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9927 /* end confdefs.h. */
9929 /* Override any GCC internal prototype to avoid an error.
9930 Use char because int might match the return type of a GCC
9931 builtin and then its argument prototype would still apply. */
9932 #ifdef __cplusplus
9933 extern "C"
9934 #endif
9935 char XOpenDevice ();
9937 main ()
9939 return XOpenDevice ();
9941 return 0;
9943 _ACEOF
9944 if ac_fn_c_try_link "$LINENO"; then :
9945 case "$LIBEXT" in
9946 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9947 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'` ;;
9948 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9949 if ${ac_cv_lib_soname_Xi:+false} :; then :
9950 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9951 fi ;;
9952 esac
9954 rm -f core conftest.err conftest.$ac_objext \
9955 conftest$ac_exeext conftest.$ac_ext
9956 LIBS=$ac_check_soname_save_LIBS
9958 if ${ac_cv_lib_soname_Xi:+false} :; then :
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9960 $as_echo "not found" >&6; }
9962 else
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9964 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9966 cat >>confdefs.h <<_ACEOF
9967 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9968 _ACEOF
9973 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9974 case "x$with_xinput" in
9975 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9976 xno) ;;
9977 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9978 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9979 esac
9983 if test "x$ac_cv_lib_soname_Xi" != x
9984 then
9985 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9986 case "x$with_xinput2" in
9987 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9988 xno) ;;
9989 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9990 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9991 esac
9996 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9997 then
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9999 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10000 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10001 $as_echo_n "(cached) " >&6
10002 else
10003 ac_check_lib_save_LIBS=$LIBS
10004 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10006 /* end confdefs.h. */
10008 /* Override any GCC internal prototype to avoid an error.
10009 Use char because int might match the return type of a GCC
10010 builtin and then its argument prototype would still apply. */
10011 #ifdef __cplusplus
10012 extern "C"
10013 #endif
10014 char XShmQueryExtension ();
10016 main ()
10018 return XShmQueryExtension ();
10020 return 0;
10022 _ACEOF
10023 if ac_fn_c_try_link "$LINENO"; then :
10024 ac_cv_lib_Xext_XShmQueryExtension=yes
10025 else
10026 ac_cv_lib_Xext_XShmQueryExtension=no
10028 rm -f core conftest.err conftest.$ac_objext \
10029 conftest$ac_exeext conftest.$ac_ext
10030 LIBS=$ac_check_lib_save_LIBS
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10033 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10034 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10036 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10041 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10042 case "x$with_xshm" in
10043 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10044 xno) ;;
10045 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10046 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10047 esac
10051 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10052 then
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10054 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10055 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10056 $as_echo_n "(cached) " >&6
10057 else
10058 ac_check_lib_save_LIBS=$LIBS
10059 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10063 /* Override any GCC internal prototype to avoid an error.
10064 Use char because int might match the return type of a GCC
10065 builtin and then its argument prototype would still apply. */
10066 #ifdef __cplusplus
10067 extern "C"
10068 #endif
10069 char XShapeQueryExtension ();
10071 main ()
10073 return XShapeQueryExtension ();
10075 return 0;
10077 _ACEOF
10078 if ac_fn_c_try_link "$LINENO"; then :
10079 ac_cv_lib_Xext_XShapeQueryExtension=yes
10080 else
10081 ac_cv_lib_Xext_XShapeQueryExtension=no
10083 rm -f core conftest.err conftest.$ac_objext \
10084 conftest$ac_exeext conftest.$ac_ext
10085 LIBS=$ac_check_lib_save_LIBS
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10088 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10089 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10091 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10096 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10097 case "x$with_xshape" in
10098 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10099 xno) ;;
10100 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10101 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10102 esac
10106 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10107 then
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10109 $as_echo_n "checking for -lXxf86vm... " >&6; }
10110 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10111 $as_echo_n "(cached) " >&6
10112 else
10113 ac_check_soname_save_LIBS=$LIBS
10114 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10116 /* end confdefs.h. */
10118 /* Override any GCC internal prototype to avoid an error.
10119 Use char because int might match the return type of a GCC
10120 builtin and then its argument prototype would still apply. */
10121 #ifdef __cplusplus
10122 extern "C"
10123 #endif
10124 char XF86VidModeQueryExtension ();
10126 main ()
10128 return XF86VidModeQueryExtension ();
10130 return 0;
10132 _ACEOF
10133 if ac_fn_c_try_link "$LINENO"; then :
10134 case "$LIBEXT" in
10135 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10136 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'` ;;
10137 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10138 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10139 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10140 fi ;;
10141 esac
10143 rm -f core conftest.err conftest.$ac_objext \
10144 conftest$ac_exeext conftest.$ac_ext
10145 LIBS=$ac_check_soname_save_LIBS
10147 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10149 $as_echo "not found" >&6; }
10151 else
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10153 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10155 cat >>confdefs.h <<_ACEOF
10156 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10157 _ACEOF
10162 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10163 case "x$with_xxf86vm" in
10164 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10165 xno) ;;
10166 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10167 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10168 esac
10172 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10173 then
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10175 $as_echo_n "checking for -lXrender... " >&6; }
10176 if ${ac_cv_lib_soname_Xrender+:} false; then :
10177 $as_echo_n "(cached) " >&6
10178 else
10179 ac_check_soname_save_LIBS=$LIBS
10180 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10182 /* end confdefs.h. */
10184 /* Override any GCC internal prototype to avoid an error.
10185 Use char because int might match the return type of a GCC
10186 builtin and then its argument prototype would still apply. */
10187 #ifdef __cplusplus
10188 extern "C"
10189 #endif
10190 char XRenderQueryExtension ();
10192 main ()
10194 return XRenderQueryExtension ();
10196 return 0;
10198 _ACEOF
10199 if ac_fn_c_try_link "$LINENO"; then :
10200 case "$LIBEXT" in
10201 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10202 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'` ;;
10203 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10204 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10205 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10206 fi ;;
10207 esac
10209 rm -f core conftest.err conftest.$ac_objext \
10210 conftest$ac_exeext conftest.$ac_ext
10211 LIBS=$ac_check_soname_save_LIBS
10213 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10215 $as_echo "not found" >&6; }
10217 else
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10219 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10221 cat >>confdefs.h <<_ACEOF
10222 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10223 _ACEOF
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10226 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10227 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10228 $as_echo_n "(cached) " >&6
10229 else
10230 ac_check_lib_save_LIBS=$LIBS
10231 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10235 /* Override any GCC internal prototype to avoid an error.
10236 Use char because int might match the return type of a GCC
10237 builtin and then its argument prototype would still apply. */
10238 #ifdef __cplusplus
10239 extern "C"
10240 #endif
10241 char XRenderSetPictureTransform ();
10243 main ()
10245 return XRenderSetPictureTransform ();
10247 return 0;
10249 _ACEOF
10250 if ac_fn_c_try_link "$LINENO"; then :
10251 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10252 else
10253 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10255 rm -f core conftest.err conftest.$ac_objext \
10256 conftest$ac_exeext conftest.$ac_ext
10257 LIBS=$ac_check_lib_save_LIBS
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10260 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10261 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10263 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10268 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10269 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10270 $as_echo_n "(cached) " >&6
10271 else
10272 ac_check_lib_save_LIBS=$LIBS
10273 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10277 /* Override any GCC internal prototype to avoid an error.
10278 Use char because int might match the return type of a GCC
10279 builtin and then its argument prototype would still apply. */
10280 #ifdef __cplusplus
10281 extern "C"
10282 #endif
10283 char XRenderCreateLinearGradient ();
10285 main ()
10287 return XRenderCreateLinearGradient ();
10289 return 0;
10291 _ACEOF
10292 if ac_fn_c_try_link "$LINENO"; then :
10293 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10294 else
10295 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10297 rm -f core conftest.err conftest.$ac_objext \
10298 conftest$ac_exeext conftest.$ac_ext
10299 LIBS=$ac_check_lib_save_LIBS
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10302 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10303 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10305 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10312 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10313 case "x$with_xrender" in
10314 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10315 xno) ;;
10316 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10317 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10318 esac
10322 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10323 then
10324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10325 /* end confdefs.h. */
10326 #include <X11/Xlib.h>
10327 #include <X11/extensions/Xrandr.h>
10329 main ()
10331 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10333 return 0;
10335 _ACEOF
10336 if ac_fn_c_try_compile "$LINENO"; then :
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10338 $as_echo_n "checking for -lXrandr... " >&6; }
10339 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10340 $as_echo_n "(cached) " >&6
10341 else
10342 ac_check_soname_save_LIBS=$LIBS
10343 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10345 /* end confdefs.h. */
10347 /* Override any GCC internal prototype to avoid an error.
10348 Use char because int might match the return type of a GCC
10349 builtin and then its argument prototype would still apply. */
10350 #ifdef __cplusplus
10351 extern "C"
10352 #endif
10353 char XRRQueryExtension ();
10355 main ()
10357 return XRRQueryExtension ();
10359 return 0;
10361 _ACEOF
10362 if ac_fn_c_try_link "$LINENO"; then :
10363 case "$LIBEXT" in
10364 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10365 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'` ;;
10366 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10367 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10368 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10369 fi ;;
10370 esac
10372 rm -f core conftest.err conftest.$ac_objext \
10373 conftest$ac_exeext conftest.$ac_ext
10374 LIBS=$ac_check_soname_save_LIBS
10376 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10378 $as_echo "not found" >&6; }
10380 else
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10382 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10384 cat >>confdefs.h <<_ACEOF
10385 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10386 _ACEOF
10388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10389 /* end confdefs.h. */
10390 #include <X11/Xlib.h>
10391 #include <X11/extensions/Xrandr.h>
10393 main ()
10395 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10397 return 0;
10399 _ACEOF
10400 if ac_fn_c_try_compile "$LINENO"; then :
10402 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10410 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10411 case "x$with_xrandr" in
10412 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10413 xno) ;;
10414 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10415 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10416 esac
10420 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10421 then
10422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10423 /* end confdefs.h. */
10424 #include <X11/Xlib.h>
10425 #include <X11/extensions/Xfixes.h>
10427 main ()
10429 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10431 return 0;
10433 _ACEOF
10434 if ac_fn_c_try_compile "$LINENO"; then :
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10436 $as_echo_n "checking for -lXfixes... " >&6; }
10437 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10438 $as_echo_n "(cached) " >&6
10439 else
10440 ac_check_soname_save_LIBS=$LIBS
10441 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10443 /* end confdefs.h. */
10445 /* Override any GCC internal prototype to avoid an error.
10446 Use char because int might match the return type of a GCC
10447 builtin and then its argument prototype would still apply. */
10448 #ifdef __cplusplus
10449 extern "C"
10450 #endif
10451 char XFixesQueryVersion ();
10453 main ()
10455 return XFixesQueryVersion ();
10457 return 0;
10459 _ACEOF
10460 if ac_fn_c_try_link "$LINENO"; then :
10461 case "$LIBEXT" in
10462 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10463 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'` ;;
10464 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10465 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10466 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10467 fi ;;
10468 esac
10470 rm -f core conftest.err conftest.$ac_objext \
10471 conftest$ac_exeext conftest.$ac_ext
10472 LIBS=$ac_check_soname_save_LIBS
10474 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10476 $as_echo "not found" >&6; }
10478 else
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10480 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10482 cat >>confdefs.h <<_ACEOF
10483 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10484 _ACEOF
10489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10491 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10492 case "x$with_xfixes" in
10493 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10494 xno) ;;
10495 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10496 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10497 esac
10501 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10502 then
10503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10504 /* end confdefs.h. */
10505 #include <X11/Xlib.h>
10506 #include <X11/extensions/Xinerama.h>
10508 main ()
10510 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10512 return 0;
10514 _ACEOF
10515 if ac_fn_c_try_compile "$LINENO"; then :
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10517 $as_echo_n "checking for -lXinerama... " >&6; }
10518 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10519 $as_echo_n "(cached) " >&6
10520 else
10521 ac_check_soname_save_LIBS=$LIBS
10522 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10524 /* end confdefs.h. */
10526 /* Override any GCC internal prototype to avoid an error.
10527 Use char because int might match the return type of a GCC
10528 builtin and then its argument prototype would still apply. */
10529 #ifdef __cplusplus
10530 extern "C"
10531 #endif
10532 char XineramaQueryScreens ();
10534 main ()
10536 return XineramaQueryScreens ();
10538 return 0;
10540 _ACEOF
10541 if ac_fn_c_try_link "$LINENO"; then :
10542 case "$LIBEXT" in
10543 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10544 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'` ;;
10545 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10546 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10547 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10548 fi ;;
10549 esac
10551 rm -f core conftest.err conftest.$ac_objext \
10552 conftest$ac_exeext conftest.$ac_ext
10553 LIBS=$ac_check_soname_save_LIBS
10555 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10557 $as_echo "not found" >&6; }
10559 else
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10561 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10563 cat >>confdefs.h <<_ACEOF
10564 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10565 _ACEOF
10570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10572 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10573 case "x$with_xinerama" in
10574 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10575 xno) ;;
10576 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10577 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10578 esac
10582 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10583 then
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10585 $as_echo_n "checking for -lXcomposite... " >&6; }
10586 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10587 $as_echo_n "(cached) " >&6
10588 else
10589 ac_check_soname_save_LIBS=$LIBS
10590 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10592 /* end confdefs.h. */
10594 /* Override any GCC internal prototype to avoid an error.
10595 Use char because int might match the return type of a GCC
10596 builtin and then its argument prototype would still apply. */
10597 #ifdef __cplusplus
10598 extern "C"
10599 #endif
10600 char XCompositeRedirectWindow ();
10602 main ()
10604 return XCompositeRedirectWindow ();
10606 return 0;
10608 _ACEOF
10609 if ac_fn_c_try_link "$LINENO"; then :
10610 case "$LIBEXT" in
10611 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10612 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'` ;;
10613 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10614 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10615 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10616 fi ;;
10617 esac
10619 rm -f core conftest.err conftest.$ac_objext \
10620 conftest$ac_exeext conftest.$ac_ext
10621 LIBS=$ac_check_soname_save_LIBS
10623 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10625 $as_echo "not found" >&6; }
10627 else
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10629 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10631 cat >>confdefs.h <<_ACEOF
10632 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10633 _ACEOF
10638 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10639 case "x$with_xcomposite" in
10640 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10641 xno) ;;
10642 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10643 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10644 esac
10648 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10649 #include <X11/Xlib.h>
10650 #endif
10652 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10654 cat >>confdefs.h <<_ACEOF
10655 #define HAVE_XICCALLBACK_CALLBACK 1
10656 _ACEOF
10660 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10661 #include <X11/Xlib.h>
10662 #endif
10664 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10666 cat >>confdefs.h <<_ACEOF
10667 #define HAVE_XEVENT_XCOOKIE 1
10668 _ACEOF
10675 opengl_msg=""
10676 if test "x$with_opengl" != "xno"
10677 then
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10679 $as_echo_n "checking for -lGL... " >&6; }
10680 if ${ac_cv_lib_soname_GL+:} false; then :
10681 $as_echo_n "(cached) " >&6
10682 else
10683 ac_check_soname_save_LIBS=$LIBS
10684 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10686 /* end confdefs.h. */
10688 /* Override any GCC internal prototype to avoid an error.
10689 Use char because int might match the return type of a GCC
10690 builtin and then its argument prototype would still apply. */
10691 #ifdef __cplusplus
10692 extern "C"
10693 #endif
10694 char glXCreateContext ();
10696 main ()
10698 return glXCreateContext ();
10700 return 0;
10702 _ACEOF
10703 if ac_fn_c_try_link "$LINENO"; then :
10704 case "$LIBEXT" in
10705 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10706 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'` ;;
10707 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10708 if ${ac_cv_lib_soname_GL:+false} :; then :
10709 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10710 fi ;;
10711 esac
10713 rm -f core conftest.err conftest.$ac_objext \
10714 conftest$ac_exeext conftest.$ac_ext
10715 LIBS=$ac_check_soname_save_LIBS
10717 if ${ac_cv_lib_soname_GL:+false} :; then :
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10719 $as_echo "not found" >&6; }
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10721 $as_echo_n "checking for -lGL... " >&6; }
10722 if ${ac_cv_lib_soname_GL+:} false; then :
10723 $as_echo_n "(cached) " >&6
10724 else
10725 ac_check_soname_save_LIBS=$LIBS
10726 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"
10727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10728 /* end confdefs.h. */
10730 /* Override any GCC internal prototype to avoid an error.
10731 Use char because int might match the return type of a GCC
10732 builtin and then its argument prototype would still apply. */
10733 #ifdef __cplusplus
10734 extern "C"
10735 #endif
10736 char glXCreateContext ();
10738 main ()
10740 return glXCreateContext ();
10742 return 0;
10744 _ACEOF
10745 if ac_fn_c_try_link "$LINENO"; then :
10746 case "$LIBEXT" in
10747 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10748 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'` ;;
10749 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10750 if ${ac_cv_lib_soname_GL:+false} :; then :
10751 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10752 fi ;;
10753 esac
10755 rm -f core conftest.err conftest.$ac_objext \
10756 conftest$ac_exeext conftest.$ac_ext
10757 LIBS=$ac_check_soname_save_LIBS
10759 if ${ac_cv_lib_soname_GL:+false} :; then :
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10761 $as_echo "not found" >&6; }
10762 if test -f /usr/X11R6/lib/libGL.a
10763 then
10764 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10765 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10766 else
10767 opengl_msg="No OpenGL library found on this system."
10769 else
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10771 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10773 cat >>confdefs.h <<_ACEOF
10774 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10775 _ACEOF
10777 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"
10779 else
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10781 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10783 cat >>confdefs.h <<_ACEOF
10784 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10785 _ACEOF
10787 OPENGL_LIBS="-lGL"
10789 if test "x$with_glu" != "xno"
10790 then
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10792 $as_echo_n "checking for -lGLU... " >&6; }
10793 if ${ac_cv_lib_soname_GLU+:} false; then :
10794 $as_echo_n "(cached) " >&6
10795 else
10796 ac_check_soname_save_LIBS=$LIBS
10797 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10799 /* end confdefs.h. */
10801 /* Override any GCC internal prototype to avoid an error.
10802 Use char because int might match the return type of a GCC
10803 builtin and then its argument prototype would still apply. */
10804 #ifdef __cplusplus
10805 extern "C"
10806 #endif
10807 char gluLookAt ();
10809 main ()
10811 return gluLookAt ();
10813 return 0;
10815 _ACEOF
10816 if ac_fn_c_try_link "$LINENO"; then :
10817 case "$LIBEXT" in
10818 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10819 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'` ;;
10820 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10821 if ${ac_cv_lib_soname_GLU:+false} :; then :
10822 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10823 fi ;;
10824 esac
10826 rm -f core conftest.err conftest.$ac_objext \
10827 conftest$ac_exeext conftest.$ac_ext
10828 LIBS=$ac_check_soname_save_LIBS
10830 if ${ac_cv_lib_soname_GLU:+false} :; then :
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10832 $as_echo "not found" >&6; }
10834 else
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10836 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10838 cat >>confdefs.h <<_ACEOF
10839 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10840 _ACEOF
10844 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10845 case "x$with_glu" in
10846 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10847 xno) ;;
10848 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10849 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10850 esac
10855 if test "x$with_osmesa" != "xno"
10856 then
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10858 $as_echo_n "checking for -lOSMesa... " >&6; }
10859 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10860 $as_echo_n "(cached) " >&6
10861 else
10862 ac_check_soname_save_LIBS=$LIBS
10863 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10865 /* end confdefs.h. */
10867 /* Override any GCC internal prototype to avoid an error.
10868 Use char because int might match the return type of a GCC
10869 builtin and then its argument prototype would still apply. */
10870 #ifdef __cplusplus
10871 extern "C"
10872 #endif
10873 char OSMesaGetProcAddress ();
10875 main ()
10877 return OSMesaGetProcAddress ();
10879 return 0;
10881 _ACEOF
10882 if ac_fn_c_try_link "$LINENO"; then :
10883 case "$LIBEXT" in
10884 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10885 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'` ;;
10886 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10887 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10888 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10889 fi ;;
10890 esac
10892 rm -f core conftest.err conftest.$ac_objext \
10893 conftest$ac_exeext conftest.$ac_ext
10894 LIBS=$ac_check_soname_save_LIBS
10896 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10898 $as_echo "not found" >&6; }
10900 else
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10902 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10904 cat >>confdefs.h <<_ACEOF
10905 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10906 _ACEOF
10910 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10911 case "x$with_osmesa" in
10912 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10913 xno) ;;
10914 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10915 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10916 esac
10921 if test -n "$opengl_msg"; then :
10922 case "x$with_opengl" in
10923 x) as_fn_append wine_warnings "|$opengl_msg
10924 OpenGL and Direct3D won't be supported." ;;
10925 xno) ;;
10926 *) as_fn_error $? "$opengl_msg
10927 OpenGL and Direct3D won't be supported.
10928 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10929 esac
10933 CPPFLAGS="$ac_save_CPPFLAGS"
10934 else
10935 X_CFLAGS=""
10936 X_LIBS=""
10939 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10940 then
10941 if test "x$X_LIBS" = "x"; then :
10942 case "x$with_x" in
10943 xno) ;;
10944 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10945 without X support, which probably isn't what you want. You will need
10946 to install ${notice_platform}development packages of Xlib at the very least.
10947 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10948 esac
10949 enable_winex11_drv=${enable_winex11_drv:-no}
10951 else
10952 if test "x$X_LIBS" = "x"; then :
10953 case "x$with_x" in
10954 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10955 xno) ;;
10956 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10957 This is an error since --with-x was requested." "$LINENO" 5 ;;
10958 esac
10959 enable_winex11_drv=${enable_winex11_drv:-no}
10963 if test "$ac_cv_header_CL_cl_h" = "yes"
10964 then
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10966 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10967 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10968 $as_echo_n "(cached) " >&6
10969 else
10970 ac_check_lib_save_LIBS=$LIBS
10971 LIBS="-lOpenCL $LIBS"
10972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10973 /* end confdefs.h. */
10975 /* Override any GCC internal prototype to avoid an error.
10976 Use char because int might match the return type of a GCC
10977 builtin and then its argument prototype would still apply. */
10978 #ifdef __cplusplus
10979 extern "C"
10980 #endif
10981 char clGetPlatformInfo ();
10983 main ()
10985 return clGetPlatformInfo ();
10987 return 0;
10989 _ACEOF
10990 if ac_fn_c_try_link "$LINENO"; then :
10991 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10992 else
10993 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10995 rm -f core conftest.err conftest.$ac_objext \
10996 conftest$ac_exeext conftest.$ac_ext
10997 LIBS=$ac_check_lib_save_LIBS
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11000 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11001 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11002 OPENCL_LIBS="-lOpenCL"
11007 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11008 case "x$with_opencl" in
11009 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11010 xno) ;;
11011 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11012 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11013 esac
11014 enable_opencl=${enable_opencl:-no}
11017 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11018 then
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11020 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11021 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11022 $as_echo_n "(cached) " >&6
11023 else
11024 ac_check_lib_save_LIBS=$LIBS
11025 LIBS="-lpcap $LIBS"
11026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11027 /* end confdefs.h. */
11029 /* Override any GCC internal prototype to avoid an error.
11030 Use char because int might match the return type of a GCC
11031 builtin and then its argument prototype would still apply. */
11032 #ifdef __cplusplus
11033 extern "C"
11034 #endif
11035 char pcap_create ();
11037 main ()
11039 return pcap_create ();
11041 return 0;
11043 _ACEOF
11044 if ac_fn_c_try_link "$LINENO"; then :
11045 ac_cv_lib_pcap_pcap_create=yes
11046 else
11047 ac_cv_lib_pcap_pcap_create=no
11049 rm -f core conftest.err conftest.$ac_objext \
11050 conftest$ac_exeext conftest.$ac_ext
11051 LIBS=$ac_check_lib_save_LIBS
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11054 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11055 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11056 PCAP_LIBS="-lpcap"
11061 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11062 case "x$with_pcap" in
11063 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11064 xno) ;;
11065 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11066 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11067 esac
11068 enable_wpcap=${enable_wpcap:-no}
11072 if test "x$with_xml" != "xno"
11073 then
11074 if ${XML2_CFLAGS:+false} :; then :
11075 if ${PKG_CONFIG+:} false; then :
11076 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11079 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11080 if ${XML2_LIBS:+false} :; then :
11081 if ${PKG_CONFIG+:} false; then :
11082 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11085 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11086 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11087 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11088 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11089 ac_save_CPPFLAGS=$CPPFLAGS
11090 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11091 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11092 do :
11093 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11094 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11095 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11096 cat >>confdefs.h <<_ACEOF
11097 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11098 _ACEOF
11102 done
11104 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"
11105 then
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11107 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11108 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11109 $as_echo_n "(cached) " >&6
11110 else
11111 ac_check_lib_save_LIBS=$LIBS
11112 LIBS="-lxml2 $XML2_LIBS $LIBS"
11113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11114 /* end confdefs.h. */
11116 /* Override any GCC internal prototype to avoid an error.
11117 Use char because int might match the return type of a GCC
11118 builtin and then its argument prototype would still apply. */
11119 #ifdef __cplusplus
11120 extern "C"
11121 #endif
11122 char xmlParseMemory ();
11124 main ()
11126 return xmlParseMemory ();
11128 return 0;
11130 _ACEOF
11131 if ac_fn_c_try_link "$LINENO"; then :
11132 ac_cv_lib_xml2_xmlParseMemory=yes
11133 else
11134 ac_cv_lib_xml2_xmlParseMemory=no
11136 rm -f core conftest.err conftest.$ac_objext \
11137 conftest$ac_exeext conftest.$ac_ext
11138 LIBS=$ac_check_lib_save_LIBS
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11141 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11142 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11144 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11146 else
11147 XML2_LIBS=""
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11151 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11152 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11153 $as_echo_n "(cached) " >&6
11154 else
11155 ac_check_lib_save_LIBS=$LIBS
11156 LIBS="-lxml2 $XML2_LIBS $LIBS"
11157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11160 /* Override any GCC internal prototype to avoid an error.
11161 Use char because int might match the return type of a GCC
11162 builtin and then its argument prototype would still apply. */
11163 #ifdef __cplusplus
11164 extern "C"
11165 #endif
11166 char xmlReadMemory ();
11168 main ()
11170 return xmlReadMemory ();
11172 return 0;
11174 _ACEOF
11175 if ac_fn_c_try_link "$LINENO"; then :
11176 ac_cv_lib_xml2_xmlReadMemory=yes
11177 else
11178 ac_cv_lib_xml2_xmlReadMemory=no
11180 rm -f core conftest.err conftest.$ac_objext \
11181 conftest$ac_exeext conftest.$ac_ext
11182 LIBS=$ac_check_lib_save_LIBS
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11185 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11186 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11188 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11193 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11194 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11195 $as_echo_n "(cached) " >&6
11196 else
11197 ac_check_lib_save_LIBS=$LIBS
11198 LIBS="-lxml2 $XML2_LIBS $LIBS"
11199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11200 /* end confdefs.h. */
11202 /* Override any GCC internal prototype to avoid an error.
11203 Use char because int might match the return type of a GCC
11204 builtin and then its argument prototype would still apply. */
11205 #ifdef __cplusplus
11206 extern "C"
11207 #endif
11208 char xmlNewDocPI ();
11210 main ()
11212 return xmlNewDocPI ();
11214 return 0;
11216 _ACEOF
11217 if ac_fn_c_try_link "$LINENO"; then :
11218 ac_cv_lib_xml2_xmlNewDocPI=yes
11219 else
11220 ac_cv_lib_xml2_xmlNewDocPI=no
11222 rm -f core conftest.err conftest.$ac_objext \
11223 conftest$ac_exeext conftest.$ac_ext
11224 LIBS=$ac_check_lib_save_LIBS
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11227 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11228 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11230 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11235 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11236 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11237 $as_echo_n "(cached) " >&6
11238 else
11239 ac_check_lib_save_LIBS=$LIBS
11240 LIBS="-lxml2 $XML2_LIBS $LIBS"
11241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11242 /* end confdefs.h. */
11244 /* Override any GCC internal prototype to avoid an error.
11245 Use char because int might match the return type of a GCC
11246 builtin and then its argument prototype would still apply. */
11247 #ifdef __cplusplus
11248 extern "C"
11249 #endif
11250 char xmlSchemaSetParserStructuredErrors ();
11252 main ()
11254 return xmlSchemaSetParserStructuredErrors ();
11256 return 0;
11258 _ACEOF
11259 if ac_fn_c_try_link "$LINENO"; then :
11260 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11261 else
11262 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11264 rm -f core conftest.err conftest.$ac_objext \
11265 conftest$ac_exeext conftest.$ac_ext
11266 LIBS=$ac_check_lib_save_LIBS
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11269 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11270 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11272 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11277 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11278 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11279 $as_echo_n "(cached) " >&6
11280 else
11281 ac_check_lib_save_LIBS=$LIBS
11282 LIBS="-lxml2 $XML2_LIBS $LIBS"
11283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11284 /* end confdefs.h. */
11286 /* Override any GCC internal prototype to avoid an error.
11287 Use char because int might match the return type of a GCC
11288 builtin and then its argument prototype would still apply. */
11289 #ifdef __cplusplus
11290 extern "C"
11291 #endif
11292 char xmlSchemaSetValidStructuredErrors ();
11294 main ()
11296 return xmlSchemaSetValidStructuredErrors ();
11298 return 0;
11300 _ACEOF
11301 if ac_fn_c_try_link "$LINENO"; then :
11302 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11303 else
11304 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11306 rm -f core conftest.err conftest.$ac_objext \
11307 conftest$ac_exeext conftest.$ac_ext
11308 LIBS=$ac_check_lib_save_LIBS
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11311 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11312 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11314 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11319 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11320 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11321 $as_echo_n "(cached) " >&6
11322 else
11323 ac_check_lib_save_LIBS=$LIBS
11324 LIBS="-lxml2 $XML2_LIBS $LIBS"
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11328 /* Override any GCC internal prototype to avoid an error.
11329 Use char because int might match the return type of a GCC
11330 builtin and then its argument prototype would still apply. */
11331 #ifdef __cplusplus
11332 extern "C"
11333 #endif
11334 char xmlFirstElementChild ();
11336 main ()
11338 return xmlFirstElementChild ();
11340 return 0;
11342 _ACEOF
11343 if ac_fn_c_try_link "$LINENO"; then :
11344 ac_cv_lib_xml2_xmlFirstElementChild=yes
11345 else
11346 ac_cv_lib_xml2_xmlFirstElementChild=no
11348 rm -f core conftest.err conftest.$ac_objext \
11349 conftest$ac_exeext conftest.$ac_ext
11350 LIBS=$ac_check_lib_save_LIBS
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11353 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11354 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11356 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11360 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11362 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11364 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11368 else
11369 XML2_CFLAGS=""
11370 XML2_LIBS=""
11372 CPPFLAGS=$ac_save_CPPFLAGS
11373 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11374 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11377 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11378 case "x$with_xml" in
11379 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11380 xno) ;;
11381 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11382 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11383 esac
11387 if test "x$with_xslt" != "xno"
11388 then
11389 if ${XSLT_CFLAGS:+false} :; then :
11390 if ${PKG_CONFIG+:} false; then :
11391 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11394 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11395 if ${XSLT_LIBS:+false} :; then :
11396 if ${PKG_CONFIG+:} false; then :
11397 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11400 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11401 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11402 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11403 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11404 ac_save_CPPFLAGS=$CPPFLAGS
11405 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11406 for ac_header in libxslt/pattern.h libxslt/transform.h
11407 do :
11408 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11409 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11410 # include <libxslt/pattern.h>
11411 #endif
11413 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11414 cat >>confdefs.h <<_ACEOF
11415 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11416 _ACEOF
11420 done
11422 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11423 then
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11425 $as_echo_n "checking for -lxslt... " >&6; }
11426 if ${ac_cv_lib_soname_xslt+:} false; then :
11427 $as_echo_n "(cached) " >&6
11428 else
11429 ac_check_soname_save_LIBS=$LIBS
11430 LIBS="-lxslt $XSLT_LIBS $LIBS"
11431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11432 /* end confdefs.h. */
11434 /* Override any GCC internal prototype to avoid an error.
11435 Use char because int might match the return type of a GCC
11436 builtin and then its argument prototype would still apply. */
11437 #ifdef __cplusplus
11438 extern "C"
11439 #endif
11440 char xsltCompilePattern ();
11442 main ()
11444 return xsltCompilePattern ();
11446 return 0;
11448 _ACEOF
11449 if ac_fn_c_try_link "$LINENO"; then :
11450 case "$LIBEXT" in
11451 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11452 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'` ;;
11453 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11454 if ${ac_cv_lib_soname_xslt:+false} :; then :
11455 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11456 fi ;;
11457 esac
11459 rm -f core conftest.err conftest.$ac_objext \
11460 conftest$ac_exeext conftest.$ac_ext
11461 LIBS=$ac_check_soname_save_LIBS
11463 if ${ac_cv_lib_soname_xslt:+false} :; then :
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11465 $as_echo "not found" >&6; }
11467 else
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11469 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11471 cat >>confdefs.h <<_ACEOF
11472 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11473 _ACEOF
11477 else
11478 XSLT_CFLAGS=""
11480 CPPFLAGS=$ac_save_CPPFLAGS
11481 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11482 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11485 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11486 case "x$with_xslt" in
11487 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11488 xno) ;;
11489 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11490 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11491 esac
11495 if test "x$with_dbus" != "xno"
11496 then
11497 if ${DBUS_CFLAGS:+false} :; then :
11498 if ${PKG_CONFIG+:} false; then :
11499 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11503 if ${DBUS_LIBS:+false} :; then :
11504 if ${PKG_CONFIG+:} false; then :
11505 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11510 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11511 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11512 ac_save_CPPFLAGS=$CPPFLAGS
11513 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11514 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11515 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11517 $as_echo_n "checking for -ldbus-1... " >&6; }
11518 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11519 $as_echo_n "(cached) " >&6
11520 else
11521 ac_check_soname_save_LIBS=$LIBS
11522 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11524 /* end confdefs.h. */
11526 /* Override any GCC internal prototype to avoid an error.
11527 Use char because int might match the return type of a GCC
11528 builtin and then its argument prototype would still apply. */
11529 #ifdef __cplusplus
11530 extern "C"
11531 #endif
11532 char dbus_connection_close ();
11534 main ()
11536 return dbus_connection_close ();
11538 return 0;
11540 _ACEOF
11541 if ac_fn_c_try_link "$LINENO"; then :
11542 case "$LIBEXT" in
11543 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11544 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'` ;;
11545 *) 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'`
11546 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11547 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11548 fi ;;
11549 esac
11551 rm -f core conftest.err conftest.$ac_objext \
11552 conftest$ac_exeext conftest.$ac_ext
11553 LIBS=$ac_check_soname_save_LIBS
11555 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11557 $as_echo "not found" >&6; }
11558 DBUS_CFLAGS=""
11559 else
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11561 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11563 cat >>confdefs.h <<_ACEOF
11564 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11565 _ACEOF
11569 else
11570 DBUS_CFLAGS=""
11574 CPPFLAGS=$ac_save_CPPFLAGS
11575 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11576 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11579 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11580 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11581 case "x$with_dbus" in
11582 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11583 xno) ;;
11584 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11585 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11586 esac
11590 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11591 then
11592 if ${HAL_CFLAGS:+false} :; then :
11593 if ${PKG_CONFIG+:} false; then :
11594 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11598 if ${HAL_LIBS:+false} :; then :
11599 if ${PKG_CONFIG+:} false; then :
11600 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11604 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11605 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11606 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11607 ac_save_CPPFLAGS=$CPPFLAGS
11608 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11609 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11610 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11612 $as_echo_n "checking for -lhal... " >&6; }
11613 if ${ac_cv_lib_soname_hal+:} false; then :
11614 $as_echo_n "(cached) " >&6
11615 else
11616 ac_check_soname_save_LIBS=$LIBS
11617 LIBS="-lhal $HAL_LIBS $LIBS"
11618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11619 /* end confdefs.h. */
11621 /* Override any GCC internal prototype to avoid an error.
11622 Use char because int might match the return type of a GCC
11623 builtin and then its argument prototype would still apply. */
11624 #ifdef __cplusplus
11625 extern "C"
11626 #endif
11627 char libhal_ctx_new ();
11629 main ()
11631 return libhal_ctx_new ();
11633 return 0;
11635 _ACEOF
11636 if ac_fn_c_try_link "$LINENO"; then :
11637 case "$LIBEXT" in
11638 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11639 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'` ;;
11640 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11641 if ${ac_cv_lib_soname_hal:+false} :; then :
11642 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11643 fi ;;
11644 esac
11646 rm -f core conftest.err conftest.$ac_objext \
11647 conftest$ac_exeext conftest.$ac_ext
11648 LIBS=$ac_check_soname_save_LIBS
11650 if ${ac_cv_lib_soname_hal:+false} :; then :
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11652 $as_echo "not found" >&6; }
11653 HAL_CFLAGS=""
11654 else
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11656 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11658 cat >>confdefs.h <<_ACEOF
11659 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11660 _ACEOF
11664 else
11665 HAL_CFLAGS=""
11669 CPPFLAGS=$ac_save_CPPFLAGS
11670 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11671 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11673 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11674 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11675 case "x$with_hal" in
11676 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11677 xno) ;;
11678 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11679 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11680 esac
11685 if test "x$with_gnutls" != "xno"
11686 then
11687 if ${GNUTLS_CFLAGS:+false} :; then :
11688 if ${PKG_CONFIG+:} false; then :
11689 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11693 if ${GNUTLS_LIBS:+false} :; then :
11694 if ${PKG_CONFIG+:} false; then :
11695 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11700 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11701 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11702 ac_save_CPPFLAGS=$CPPFLAGS
11703 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11704 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11705 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11707 /* end confdefs.h. */
11708 #include <gnutls/gnutls.h>
11709 #include <gnutls/crypto.h>
11711 main ()
11713 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11715 return 0;
11717 _ACEOF
11718 if ac_fn_c_try_compile "$LINENO"; then :
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11720 $as_echo_n "checking for -lgnutls... " >&6; }
11721 if ${ac_cv_lib_soname_gnutls+:} false; then :
11722 $as_echo_n "(cached) " >&6
11723 else
11724 ac_check_soname_save_LIBS=$LIBS
11725 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11727 /* end confdefs.h. */
11729 /* Override any GCC internal prototype to avoid an error.
11730 Use char because int might match the return type of a GCC
11731 builtin and then its argument prototype would still apply. */
11732 #ifdef __cplusplus
11733 extern "C"
11734 #endif
11735 char gnutls_global_init ();
11737 main ()
11739 return gnutls_global_init ();
11741 return 0;
11743 _ACEOF
11744 if ac_fn_c_try_link "$LINENO"; then :
11745 case "$LIBEXT" in
11746 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11747 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'` ;;
11748 *) 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'`
11749 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11750 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'`
11751 fi ;;
11752 esac
11754 rm -f core conftest.err conftest.$ac_objext \
11755 conftest$ac_exeext conftest.$ac_ext
11756 LIBS=$ac_check_soname_save_LIBS
11758 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11760 $as_echo "not found" >&6; }
11761 GNUTLS_CFLAGS=""
11762 else
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11764 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11766 cat >>confdefs.h <<_ACEOF
11767 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11768 _ACEOF
11772 ac_wine_check_funcs_save_LIBS="$LIBS"
11773 LIBS="$LIBS $GNUTLS_LIBS"
11774 for ac_func in gnutls_cipher_init
11775 do :
11776 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11777 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11778 cat >>confdefs.h <<_ACEOF
11779 #define HAVE_GNUTLS_CIPHER_INIT 1
11780 _ACEOF
11782 else
11783 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11785 done
11787 LIBS="$ac_wine_check_funcs_save_LIBS"
11789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11790 else
11791 GNUTLS_CFLAGS=""
11795 CPPFLAGS=$ac_save_CPPFLAGS
11796 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11797 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11800 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11801 case "x$with_gnutls" in
11802 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11803 xno) ;;
11804 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11805 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11806 esac
11810 CURSES_LIBS=""
11811 if test "$ac_cv_header_ncurses_h" = "yes"
11812 then
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11814 $as_echo_n "checking for -lncurses... " >&6; }
11815 if ${ac_cv_lib_soname_ncurses+:} false; then :
11816 $as_echo_n "(cached) " >&6
11817 else
11818 ac_check_soname_save_LIBS=$LIBS
11819 LIBS="-lncurses $LIBS"
11820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11821 /* end confdefs.h. */
11823 /* Override any GCC internal prototype to avoid an error.
11824 Use char because int might match the return type of a GCC
11825 builtin and then its argument prototype would still apply. */
11826 #ifdef __cplusplus
11827 extern "C"
11828 #endif
11829 char waddch ();
11831 main ()
11833 return waddch ();
11835 return 0;
11837 _ACEOF
11838 if ac_fn_c_try_link "$LINENO"; then :
11839 case "$LIBEXT" in
11840 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11841 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'` ;;
11842 *) 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'`
11843 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11844 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11845 fi ;;
11846 esac
11848 rm -f core conftest.err conftest.$ac_objext \
11849 conftest$ac_exeext conftest.$ac_ext
11850 LIBS=$ac_check_soname_save_LIBS
11852 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11854 $as_echo "not found" >&6; }
11856 else
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11858 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11860 cat >>confdefs.h <<_ACEOF
11861 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11862 _ACEOF
11864 CURSES_LIBS="-lncurses"
11866 elif test "$ac_cv_header_curses_h" = "yes"
11867 then
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11869 $as_echo_n "checking for -lcurses... " >&6; }
11870 if ${ac_cv_lib_soname_curses+:} false; then :
11871 $as_echo_n "(cached) " >&6
11872 else
11873 ac_check_soname_save_LIBS=$LIBS
11874 LIBS="-lcurses $LIBS"
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11878 /* Override any GCC internal prototype to avoid an error.
11879 Use char because int might match the return type of a GCC
11880 builtin and then its argument prototype would still apply. */
11881 #ifdef __cplusplus
11882 extern "C"
11883 #endif
11884 char waddch ();
11886 main ()
11888 return waddch ();
11890 return 0;
11892 _ACEOF
11893 if ac_fn_c_try_link "$LINENO"; then :
11894 case "$LIBEXT" in
11895 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11896 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'` ;;
11897 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11898 if ${ac_cv_lib_soname_curses:+false} :; then :
11899 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11900 fi ;;
11901 esac
11903 rm -f core conftest.err conftest.$ac_objext \
11904 conftest$ac_exeext conftest.$ac_ext
11905 LIBS=$ac_check_soname_save_LIBS
11907 if ${ac_cv_lib_soname_curses:+false} :; then :
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11909 $as_echo "not found" >&6; }
11911 else
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11913 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11915 cat >>confdefs.h <<_ACEOF
11916 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11917 _ACEOF
11919 CURSES_LIBS="-lcurses"
11922 ac_save_LIBS="$LIBS"
11923 LIBS="$LIBS $CURSES_LIBS"
11924 for ac_func in mousemask
11925 do :
11926 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11927 if test "x$ac_cv_func_mousemask" = xyes; then :
11928 cat >>confdefs.h <<_ACEOF
11929 #define HAVE_MOUSEMASK 1
11930 _ACEOF
11933 done
11935 LIBS="$ac_save_LIBS"
11936 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11937 case "x$with_curses" in
11938 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11939 xno) ;;
11940 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11941 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11942 esac
11946 if test "x$with_sane" != "xno"
11947 then
11948 if ${SANE_CFLAGS:+false} :; then :
11949 if ${PKG_CONFIG+:} false; then :
11950 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11953 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11954 if ${SANE_LIBS:+false} :; then :
11955 if ${PKG_CONFIG+:} false; then :
11956 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11959 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11961 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11962 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11963 ac_save_CPPFLAGS=$CPPFLAGS
11964 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11965 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11966 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11968 $as_echo_n "checking for -lsane... " >&6; }
11969 if ${ac_cv_lib_soname_sane+:} false; then :
11970 $as_echo_n "(cached) " >&6
11971 else
11972 ac_check_soname_save_LIBS=$LIBS
11973 LIBS="-lsane $SANE_LIBS $LIBS"
11974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11975 /* end confdefs.h. */
11977 /* Override any GCC internal prototype to avoid an error.
11978 Use char because int might match the return type of a GCC
11979 builtin and then its argument prototype would still apply. */
11980 #ifdef __cplusplus
11981 extern "C"
11982 #endif
11983 char sane_init ();
11985 main ()
11987 return sane_init ();
11989 return 0;
11991 _ACEOF
11992 if ac_fn_c_try_link "$LINENO"; then :
11993 case "$LIBEXT" in
11994 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11995 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'` ;;
11996 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11997 if ${ac_cv_lib_soname_sane:+false} :; then :
11998 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11999 fi ;;
12000 esac
12002 rm -f core conftest.err conftest.$ac_objext \
12003 conftest$ac_exeext conftest.$ac_ext
12004 LIBS=$ac_check_soname_save_LIBS
12006 if ${ac_cv_lib_soname_sane:+false} :; then :
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12008 $as_echo "not found" >&6; }
12009 SANE_CFLAGS=""
12010 else
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12012 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12014 cat >>confdefs.h <<_ACEOF
12015 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12016 _ACEOF
12020 else
12021 SANE_CFLAGS=""
12025 CPPFLAGS=$ac_save_CPPFLAGS
12026 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12027 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12030 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12031 case "x$with_sane" in
12032 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12033 xno) ;;
12034 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12035 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12036 esac
12040 if test "x$with_v4l" != "xno"
12041 then
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12043 $as_echo_n "checking for -lv4l1... " >&6; }
12044 if ${ac_cv_lib_soname_v4l1+:} false; then :
12045 $as_echo_n "(cached) " >&6
12046 else
12047 ac_check_soname_save_LIBS=$LIBS
12048 LIBS="-lv4l1 $LIBS"
12049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12050 /* end confdefs.h. */
12052 /* Override any GCC internal prototype to avoid an error.
12053 Use char because int might match the return type of a GCC
12054 builtin and then its argument prototype would still apply. */
12055 #ifdef __cplusplus
12056 extern "C"
12057 #endif
12058 char v4l1_open ();
12060 main ()
12062 return v4l1_open ();
12064 return 0;
12066 _ACEOF
12067 if ac_fn_c_try_link "$LINENO"; then :
12068 case "$LIBEXT" in
12069 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12070 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'` ;;
12071 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12072 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12073 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12074 fi ;;
12075 esac
12077 rm -f core conftest.err conftest.$ac_objext \
12078 conftest$ac_exeext conftest.$ac_ext
12079 LIBS=$ac_check_soname_save_LIBS
12081 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12083 $as_echo "not found" >&6; }
12085 else
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12087 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12089 cat >>confdefs.h <<_ACEOF
12090 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12091 _ACEOF
12096 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12097 case "x$with_v4l" in
12098 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12099 xno) ;;
12100 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12101 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12102 esac
12106 if test "x$with_gphoto" != "xno"
12107 then
12108 if ${GPHOTO2_CFLAGS:+false} :; then :
12109 if ${PKG_CONFIG+:} false; then :
12110 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12113 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12114 if ${GPHOTO2_LIBS:+false} :; then :
12115 if ${PKG_CONFIG+:} false; then :
12116 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12119 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12120 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12121 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12122 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12123 ac_save_CPPFLAGS=$CPPFLAGS
12124 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12125 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12126 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12128 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12129 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12130 $as_echo_n "(cached) " >&6
12131 else
12132 ac_check_lib_save_LIBS=$LIBS
12133 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h. */
12137 /* Override any GCC internal prototype to avoid an error.
12138 Use char because int might match the return type of a GCC
12139 builtin and then its argument prototype would still apply. */
12140 #ifdef __cplusplus
12141 extern "C"
12142 #endif
12143 char gp_camera_new ();
12145 main ()
12147 return gp_camera_new ();
12149 return 0;
12151 _ACEOF
12152 if ac_fn_c_try_link "$LINENO"; then :
12153 ac_cv_lib_gphoto2_gp_camera_new=yes
12154 else
12155 ac_cv_lib_gphoto2_gp_camera_new=no
12157 rm -f core conftest.err conftest.$ac_objext \
12158 conftest$ac_exeext conftest.$ac_ext
12159 LIBS=$ac_check_lib_save_LIBS
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12162 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12163 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12165 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12167 else
12168 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12171 else
12172 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12176 CPPFLAGS=$ac_save_CPPFLAGS
12177 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12178 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12180 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12181 if ${PKG_CONFIG+:} false; then :
12182 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12185 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12186 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12187 if ${PKG_CONFIG+:} false; then :
12188 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12191 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12192 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12193 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12194 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12195 ac_save_CPPFLAGS=$CPPFLAGS
12196 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12197 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12198 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12200 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12201 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12202 $as_echo_n "(cached) " >&6
12203 else
12204 ac_check_lib_save_LIBS=$LIBS
12205 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12207 /* end confdefs.h. */
12209 /* Override any GCC internal prototype to avoid an error.
12210 Use char because int might match the return type of a GCC
12211 builtin and then its argument prototype would still apply. */
12212 #ifdef __cplusplus
12213 extern "C"
12214 #endif
12215 char gp_port_info_list_new ();
12217 main ()
12219 return gp_port_info_list_new ();
12221 return 0;
12223 _ACEOF
12224 if ac_fn_c_try_link "$LINENO"; then :
12225 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12226 else
12227 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12229 rm -f core conftest.err conftest.$ac_objext \
12230 conftest$ac_exeext conftest.$ac_ext
12231 LIBS=$ac_check_lib_save_LIBS
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12234 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12235 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12237 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12239 else
12240 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12243 else
12244 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12248 CPPFLAGS=$ac_save_CPPFLAGS
12249 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12250 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12253 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12254 case "x$with_gphoto" in
12255 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12256 xno) ;;
12257 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12258 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12259 esac
12262 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12263 case "x$with_gphoto" in
12264 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12265 xno) ;;
12266 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12267 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12268 esac
12273 if test "$ac_cv_header_resolv_h" = "yes"
12274 then
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12276 $as_echo_n "checking for resolver library... " >&6; }
12277 if ${ac_cv_have_resolv+:} false; then :
12278 $as_echo_n "(cached) " >&6
12279 else
12280 ac_save_LIBS="$LIBS"
12281 for lib in '' -lresolv
12283 LIBS="$lib $ac_save_LIBS"
12284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12285 /* end confdefs.h. */
12286 #ifdef HAVE_NETINET_IN_H
12287 #include <netinet/in.h>
12288 #endif
12289 #include <resolv.h>
12291 main ()
12293 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12295 return 0;
12297 _ACEOF
12298 if ac_fn_c_try_link "$LINENO"; then :
12299 ac_cv_have_resolv=${lib:-"none required"}
12300 else
12301 ac_cv_have_resolv="not found"
12303 rm -f core conftest.err conftest.$ac_objext \
12304 conftest$ac_exeext conftest.$ac_ext
12305 test "x$ac_cv_have_resolv" = "xnot found" || break
12306 done
12307 LIBS="$ac_save_LIBS"
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12310 $as_echo "$ac_cv_have_resolv" >&6; }
12312 case "$ac_cv_have_resolv" in
12313 "not found") ;;
12314 "none required")
12316 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12319 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12321 RESOLV_LIBS=$ac_cv_have_resolv
12323 esac
12326 if test "x$with_cms" != "xno"
12327 then
12328 if ${LCMS2_CFLAGS:+false} :; then :
12329 if ${PKG_CONFIG+:} false; then :
12330 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12334 if ${LCMS2_LIBS:+false} :; then :
12335 if ${PKG_CONFIG+:} false; then :
12336 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12340 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12341 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12342 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12343 ac_save_CPPFLAGS=$CPPFLAGS
12344 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12345 for ac_header in lcms2.h
12346 do :
12347 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12348 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12349 cat >>confdefs.h <<_ACEOF
12350 #define HAVE_LCMS2_H 1
12351 _ACEOF
12355 done
12357 if test "$ac_cv_header_lcms2_h" = "yes"
12358 then
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12360 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12361 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12362 $as_echo_n "(cached) " >&6
12363 else
12364 ac_check_lib_save_LIBS=$LIBS
12365 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12367 /* end confdefs.h. */
12369 /* Override any GCC internal prototype to avoid an error.
12370 Use char because int might match the return type of a GCC
12371 builtin and then its argument prototype would still apply. */
12372 #ifdef __cplusplus
12373 extern "C"
12374 #endif
12375 char cmsOpenProfileFromFile ();
12377 main ()
12379 return cmsOpenProfileFromFile ();
12381 return 0;
12383 _ACEOF
12384 if ac_fn_c_try_link "$LINENO"; then :
12385 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12386 else
12387 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12389 rm -f core conftest.err conftest.$ac_objext \
12390 conftest$ac_exeext conftest.$ac_ext
12391 LIBS=$ac_check_lib_save_LIBS
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12394 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12395 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12397 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12399 else
12400 LCMS2_LIBS=""
12403 else
12404 LCMS2_CFLAGS=""
12405 LCMS2_LIBS=""
12407 CPPFLAGS=$ac_save_CPPFLAGS
12408 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12409 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12412 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12413 case "x$with_cms" in
12414 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12415 xno) ;;
12416 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12417 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12418 esac
12422 if test "x$with_freetype" != "xno"
12423 then
12424 if ${FREETYPE_CFLAGS:+false} :; then :
12425 if ${PKG_CONFIG+:} false; then :
12426 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12429 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12430 if ${FREETYPE_LIBS:+false} :; then :
12431 if ${PKG_CONFIG+:} false; then :
12432 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12435 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12436 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12437 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12438 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12439 ac_save_CPPFLAGS=$CPPFLAGS
12440 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12441 for ac_header in ft2build.h
12442 do :
12443 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12444 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12445 cat >>confdefs.h <<_ACEOF
12446 #define HAVE_FT2BUILD_H 1
12447 _ACEOF
12451 done
12453 if test "$ac_cv_header_ft2build_h" = "yes"
12454 then
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12456 $as_echo_n "checking for -lfreetype... " >&6; }
12457 if ${ac_cv_lib_soname_freetype+:} false; then :
12458 $as_echo_n "(cached) " >&6
12459 else
12460 ac_check_soname_save_LIBS=$LIBS
12461 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12463 /* end confdefs.h. */
12465 /* Override any GCC internal prototype to avoid an error.
12466 Use char because int might match the return type of a GCC
12467 builtin and then its argument prototype would still apply. */
12468 #ifdef __cplusplus
12469 extern "C"
12470 #endif
12471 char FT_Init_FreeType ();
12473 main ()
12475 return FT_Init_FreeType ();
12477 return 0;
12479 _ACEOF
12480 if ac_fn_c_try_link "$LINENO"; then :
12481 case "$LIBEXT" in
12482 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12483 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'` ;;
12484 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12485 if ${ac_cv_lib_soname_freetype:+false} :; then :
12486 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12487 fi ;;
12488 esac
12490 rm -f core conftest.err conftest.$ac_objext \
12491 conftest$ac_exeext conftest.$ac_ext
12492 LIBS=$ac_check_soname_save_LIBS
12494 if ${ac_cv_lib_soname_freetype:+false} :; then :
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12496 $as_echo "not found" >&6; }
12497 FREETYPE_LIBS=""
12498 else
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12500 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12502 cat >>confdefs.h <<_ACEOF
12503 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12504 _ACEOF
12507 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12509 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12510 #include FT_MODULE_H
12512 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12514 cat >>confdefs.h <<_ACEOF
12515 #define HAVE_FT_TRUETYPEENGINETYPE 1
12516 _ACEOF
12522 else
12523 FREETYPE_CFLAGS=""
12524 FREETYPE_LIBS=""
12526 CPPFLAGS=$ac_save_CPPFLAGS
12527 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12528 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12531 if test "x$ac_cv_lib_soname_freetype" = x; then :
12532 case "x$with_freetype" in
12533 xno) ;;
12534 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12535 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12536 esac
12537 enable_fonts=${enable_fonts:-no}
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12541 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12542 if ${ac_cv_c_ppdev+:} false; then :
12543 $as_echo_n "(cached) " >&6
12544 else
12545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12546 /* end confdefs.h. */
12547 #ifdef HAVE_SYS_IOCTL_H
12548 # include <sys/ioctl.h>
12549 #endif
12550 #include <linux/ppdev.h>
12552 main ()
12554 ioctl (1,PPCLAIM,0)
12556 return 0;
12558 _ACEOF
12559 if ac_fn_c_try_compile "$LINENO"; then :
12560 ac_cv_c_ppdev="yes"
12561 else
12562 ac_cv_c_ppdev="no"
12564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12567 $as_echo "$ac_cv_c_ppdev" >&6; }
12568 if test "$ac_cv_c_ppdev" = "yes"
12569 then
12571 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12575 ac_wine_check_funcs_save_LIBS="$LIBS"
12576 LIBS="$LIBS $PTHREAD_LIBS"
12577 for ac_func in \
12578 pthread_attr_get_np \
12579 pthread_getattr_np \
12580 pthread_getthreadid_np \
12581 pthread_get_stackaddr_np \
12582 pthread_get_stacksize_np
12583 do :
12584 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12585 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12586 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12587 cat >>confdefs.h <<_ACEOF
12588 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12589 _ACEOF
12592 done
12594 LIBS="$ac_wine_check_funcs_save_LIBS"
12596 if test "$ac_cv_header_zlib_h" = "yes"
12597 then
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12599 $as_echo_n "checking for inflate in -lz... " >&6; }
12600 if ${ac_cv_lib_z_inflate+:} false; then :
12601 $as_echo_n "(cached) " >&6
12602 else
12603 ac_check_lib_save_LIBS=$LIBS
12604 LIBS="-lz $LIBS"
12605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12606 /* end confdefs.h. */
12608 /* Override any GCC internal prototype to avoid an error.
12609 Use char because int might match the return type of a GCC
12610 builtin and then its argument prototype would still apply. */
12611 #ifdef __cplusplus
12612 extern "C"
12613 #endif
12614 char inflate ();
12616 main ()
12618 return inflate ();
12620 return 0;
12622 _ACEOF
12623 if ac_fn_c_try_link "$LINENO"; then :
12624 ac_cv_lib_z_inflate=yes
12625 else
12626 ac_cv_lib_z_inflate=no
12628 rm -f core conftest.err conftest.$ac_objext \
12629 conftest$ac_exeext conftest.$ac_ext
12630 LIBS=$ac_check_lib_save_LIBS
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12633 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12634 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12636 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12638 Z_LIBS="-lz"
12643 if test "x$Z_LIBS" = "x"; then :
12644 case "x$with_zlib" in
12645 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12646 xno) ;;
12647 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12648 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12649 esac
12653 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12654 then
12655 if test "$ac_cv_header_gettext_po_h" = "yes"
12656 then
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12658 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12659 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12660 $as_echo_n "(cached) " >&6
12661 else
12662 ac_check_lib_save_LIBS=$LIBS
12663 LIBS="-lgettextpo $LIBS"
12664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12665 /* end confdefs.h. */
12667 /* Override any GCC internal prototype to avoid an error.
12668 Use char because int might match the return type of a GCC
12669 builtin and then its argument prototype would still apply. */
12670 #ifdef __cplusplus
12671 extern "C"
12672 #endif
12673 char po_message_msgctxt ();
12675 main ()
12677 return po_message_msgctxt ();
12679 return 0;
12681 _ACEOF
12682 if ac_fn_c_try_link "$LINENO"; then :
12683 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12684 else
12685 ac_cv_lib_gettextpo_po_message_msgctxt=no
12687 rm -f core conftest.err conftest.$ac_objext \
12688 conftest$ac_exeext conftest.$ac_ext
12689 LIBS=$ac_check_lib_save_LIBS
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12692 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12693 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12695 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12697 GETTEXTPO_LIBS="-lgettextpo"
12702 if test "x$GETTEXTPO_LIBS" = "x"; then :
12703 case "x$with_gettextpo" in
12704 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12705 xno) ;;
12706 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12707 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12708 esac
12711 if test "$srcdir" != .; then :
12712 case "x$with_gettextpo" in
12713 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12714 xno) ;;
12715 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12716 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12717 esac
12722 if test "x$with_pulse" != "xno";
12723 then
12724 if ${PULSE_CFLAGS:+false} :; then :
12725 if ${PKG_CONFIG+:} false; then :
12726 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12730 if ${PULSE_LIBS:+false} :; then :
12731 if ${PKG_CONFIG+:} false; then :
12732 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12737 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12738 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12739 ac_save_CPPFLAGS=$CPPFLAGS
12740 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12741 for ac_header in pulse/pulseaudio.h
12742 do :
12743 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12744 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12745 cat >>confdefs.h <<_ACEOF
12746 #define HAVE_PULSE_PULSEAUDIO_H 1
12747 _ACEOF
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12749 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12750 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12751 $as_echo_n "(cached) " >&6
12752 else
12753 ac_check_lib_save_LIBS=$LIBS
12754 LIBS="-lpulse $PULSE_LIBS $LIBS"
12755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12756 /* end confdefs.h. */
12758 /* Override any GCC internal prototype to avoid an error.
12759 Use char because int might match the return type of a GCC
12760 builtin and then its argument prototype would still apply. */
12761 #ifdef __cplusplus
12762 extern "C"
12763 #endif
12764 char pa_stream_is_corked ();
12766 main ()
12768 return pa_stream_is_corked ();
12770 return 0;
12772 _ACEOF
12773 if ac_fn_c_try_link "$LINENO"; then :
12774 ac_cv_lib_pulse_pa_stream_is_corked=yes
12775 else
12776 ac_cv_lib_pulse_pa_stream_is_corked=no
12778 rm -f core conftest.err conftest.$ac_objext \
12779 conftest$ac_exeext conftest.$ac_ext
12780 LIBS=$ac_check_lib_save_LIBS
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12783 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12784 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12786 else
12787 PULSE_LIBS=""
12790 else
12791 PULSE_LIBS=""
12794 done
12796 CPPFLAGS=$ac_save_CPPFLAGS
12797 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12798 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12801 if test -z "$PULSE_LIBS"; then :
12802 case "x$with_pulse" in
12803 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12804 xno) ;;
12805 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12806 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12807 esac
12808 enable_winepulse_drv=${enable_winepulse_drv:-no}
12811 if test "x$with_gstreamer" != "xno"
12812 then
12813 if ${GSTREAMER_CFLAGS:+false} :; then :
12814 if ${PKG_CONFIG+:} false; then :
12815 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12819 if ${GSTREAMER_LIBS:+false} :; then :
12820 if ${PKG_CONFIG+:} false; then :
12821 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12826 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12827 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12828 ac_save_CPPFLAGS=$CPPFLAGS
12829 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12830 ac_gst_incl=""
12831 for i in $GSTREAMER_CFLAGS
12833 case "$i" in
12834 -I*) ac_gst_incl="$ac_gst_incl $i";;
12835 esac
12836 done
12837 GSTREAMER_CFLAGS=$ac_gst_incl
12838 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12839 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12840 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12842 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12844 /* end confdefs.h. */
12845 #include <gst/gst.h>
12847 main ()
12849 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12851 return 0;
12853 _ACEOF
12854 if ac_fn_c_try_compile "$LINENO"; then :
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12856 $as_echo "yes" >&6; }
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12858 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12859 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12860 $as_echo_n "(cached) " >&6
12861 else
12862 ac_check_lib_save_LIBS=$LIBS
12863 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12865 /* end confdefs.h. */
12867 /* Override any GCC internal prototype to avoid an error.
12868 Use char because int might match the return type of a GCC
12869 builtin and then its argument prototype would still apply. */
12870 #ifdef __cplusplus
12871 extern "C"
12872 #endif
12873 char gst_pad_new ();
12875 main ()
12877 return gst_pad_new ();
12879 return 0;
12881 _ACEOF
12882 if ac_fn_c_try_link "$LINENO"; then :
12883 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12884 else
12885 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12887 rm -f core conftest.err conftest.$ac_objext \
12888 conftest$ac_exeext conftest.$ac_ext
12889 LIBS=$ac_check_lib_save_LIBS
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12892 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12893 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12897 else
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12899 $as_echo "no" >&6; }
12900 ac_glib2_broken=yes
12901 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12907 CPPFLAGS=$ac_save_CPPFLAGS
12908 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12909 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12912 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 :
12913 case "x$with_gstreamer" in
12914 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12915 xno) ;;
12916 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12917 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12918 esac
12921 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12923 ALSA_LIBS=""
12925 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12926 then
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12928 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12929 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12930 $as_echo_n "(cached) " >&6
12931 else
12932 ac_check_lib_save_LIBS=$LIBS
12933 LIBS="-lasound $LIBS"
12934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12935 /* end confdefs.h. */
12937 /* Override any GCC internal prototype to avoid an error.
12938 Use char because int might match the return type of a GCC
12939 builtin and then its argument prototype would still apply. */
12940 #ifdef __cplusplus
12941 extern "C"
12942 #endif
12943 char snd_pcm_hw_params_get_access_mask ();
12945 main ()
12947 return snd_pcm_hw_params_get_access_mask ();
12949 return 0;
12951 _ACEOF
12952 if ac_fn_c_try_link "$LINENO"; then :
12953 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12954 else
12955 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12957 rm -f core conftest.err conftest.$ac_objext \
12958 conftest$ac_exeext conftest.$ac_ext
12959 LIBS=$ac_check_lib_save_LIBS
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12962 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12963 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12965 /* end confdefs.h. */
12966 #ifdef HAVE_ALSA_ASOUNDLIB_H
12967 #include <alsa/asoundlib.h>
12968 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12969 #include <sys/asoundlib.h>
12970 #endif
12972 main ()
12974 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12976 return 0;
12978 _ACEOF
12979 if ac_fn_c_try_compile "$LINENO"; then :
12980 ALSA_LIBS="-lasound"
12982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12986 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12988 if test "x$with_oss" != xno
12989 then
12990 ac_save_CPPFLAGS="$CPPFLAGS"
12991 if test -f /etc/oss.conf
12992 then
12993 . /etc/oss.conf
12995 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12996 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12997 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12998 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12999 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13001 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13003 cat >>confdefs.h <<_ACEOF
13004 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13005 _ACEOF
13007 OSS4_CFLAGS="$ac_oss_incl"
13014 CPPFLAGS="$ac_save_CPPFLAGS"
13016 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13017 case "x$with_oss" in
13018 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13019 xno) ;;
13020 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13021 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13022 esac
13023 enable_wineoss_drv=${enable_wineoss_drv:-no}
13026 if test "x$with_udev" != "xno"
13027 then
13028 if ${UDEV_CFLAGS:+false} :; then :
13029 if ${PKG_CONFIG+:} false; then :
13030 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13034 if ${UDEV_LIBS:+false} :; then :
13035 if ${PKG_CONFIG+:} false; then :
13036 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13040 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13041 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13042 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13043 ac_save_CPPFLAGS=$CPPFLAGS
13044 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13045 for ac_header in libudev.h
13046 do :
13047 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13048 if test "x$ac_cv_header_libudev_h" = xyes; then :
13049 cat >>confdefs.h <<_ACEOF
13050 #define HAVE_LIBUDEV_H 1
13051 _ACEOF
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13053 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13054 if ${ac_cv_lib_udev_udev_new+:} false; then :
13055 $as_echo_n "(cached) " >&6
13056 else
13057 ac_check_lib_save_LIBS=$LIBS
13058 LIBS="-ludev $UDEV_LIBS $LIBS"
13059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13060 /* end confdefs.h. */
13062 /* Override any GCC internal prototype to avoid an error.
13063 Use char because int might match the return type of a GCC
13064 builtin and then its argument prototype would still apply. */
13065 #ifdef __cplusplus
13066 extern "C"
13067 #endif
13068 char udev_new ();
13070 main ()
13072 return udev_new ();
13074 return 0;
13076 _ACEOF
13077 if ac_fn_c_try_link "$LINENO"; then :
13078 ac_cv_lib_udev_udev_new=yes
13079 else
13080 ac_cv_lib_udev_udev_new=no
13082 rm -f core conftest.err conftest.$ac_objext \
13083 conftest$ac_exeext conftest.$ac_ext
13084 LIBS=$ac_check_lib_save_LIBS
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13087 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13088 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13090 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13092 else
13093 UDEV_LIBS=""
13096 else
13097 UDEV_LIBS=""
13100 done
13102 CPPFLAGS=$ac_save_CPPFLAGS
13103 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13104 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13107 if test "x$UDEV_LIBS" = "x"; then :
13108 case "x$with_udev" in
13109 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13110 xno) ;;
13111 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13112 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13113 esac
13117 if test "x$with_sdl" != "xno"
13118 then
13119 if ${SDL2_CFLAGS:+false} :; then :
13120 if ${PKG_CONFIG+:} false; then :
13121 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13125 if ${SDL2_LIBS:+false} :; then :
13126 if ${PKG_CONFIG+:} false; then :
13127 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13131 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13132 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13133 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13134 ac_save_CPPFLAGS=$CPPFLAGS
13135 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13136 for ac_header in SDL2/SDL.h
13137 do :
13138 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13139 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13140 cat >>confdefs.h <<_ACEOF
13141 #define HAVE_SDL2_SDL_H 1
13142 _ACEOF
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13144 $as_echo_n "checking for -lSDL2... " >&6; }
13145 if ${ac_cv_lib_soname_SDL2+:} false; then :
13146 $as_echo_n "(cached) " >&6
13147 else
13148 ac_check_soname_save_LIBS=$LIBS
13149 LIBS="-lSDL2 $LIBS"
13150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13151 /* end confdefs.h. */
13153 /* Override any GCC internal prototype to avoid an error.
13154 Use char because int might match the return type of a GCC
13155 builtin and then its argument prototype would still apply. */
13156 #ifdef __cplusplus
13157 extern "C"
13158 #endif
13159 char SDL_Init ();
13161 main ()
13163 return SDL_Init ();
13165 return 0;
13167 _ACEOF
13168 if ac_fn_c_try_link "$LINENO"; then :
13169 case "$LIBEXT" in
13170 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13171 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'` ;;
13172 *) 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'`
13173 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13174 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13175 fi ;;
13176 esac
13178 rm -f core conftest.err conftest.$ac_objext \
13179 conftest$ac_exeext conftest.$ac_ext
13180 LIBS=$ac_check_soname_save_LIBS
13182 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13184 $as_echo "not found" >&6; }
13186 else
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13188 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13190 cat >>confdefs.h <<_ACEOF
13191 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13192 _ACEOF
13198 done
13200 CPPFLAGS=$ac_save_CPPFLAGS
13201 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13202 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13205 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13206 case "x$with_sdl" in
13207 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13208 xno) ;;
13209 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13210 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13211 esac
13215 if test "x$with_capi" != "xno"
13216 then
13217 if ${CAPI20_CFLAGS:+false} :; then :
13218 if ${PKG_CONFIG+:} false; then :
13219 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13223 if ${CAPI20_LIBS:+false} :; then :
13224 if ${PKG_CONFIG+:} false; then :
13225 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13230 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13231 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13232 ac_save_CPPFLAGS=$CPPFLAGS
13233 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13234 for ac_header in capi20.h linux/capi.h
13235 do :
13236 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13237 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13239 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13240 cat >>confdefs.h <<_ACEOF
13241 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13242 _ACEOF
13246 done
13248 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13249 then
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13251 $as_echo_n "checking for -lcapi20... " >&6; }
13252 if ${ac_cv_lib_soname_capi20+:} false; then :
13253 $as_echo_n "(cached) " >&6
13254 else
13255 ac_check_soname_save_LIBS=$LIBS
13256 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13258 /* end confdefs.h. */
13260 /* Override any GCC internal prototype to avoid an error.
13261 Use char because int might match the return type of a GCC
13262 builtin and then its argument prototype would still apply. */
13263 #ifdef __cplusplus
13264 extern "C"
13265 #endif
13266 char capi20_register ();
13268 main ()
13270 return capi20_register ();
13272 return 0;
13274 _ACEOF
13275 if ac_fn_c_try_link "$LINENO"; then :
13276 case "$LIBEXT" in
13277 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13278 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'` ;;
13279 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13280 if ${ac_cv_lib_soname_capi20:+false} :; then :
13281 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13282 fi ;;
13283 esac
13285 rm -f core conftest.err conftest.$ac_objext \
13286 conftest$ac_exeext conftest.$ac_ext
13287 LIBS=$ac_check_soname_save_LIBS
13289 if ${ac_cv_lib_soname_capi20:+false} :; then :
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13291 $as_echo "not found" >&6; }
13293 else
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13295 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13297 cat >>confdefs.h <<_ACEOF
13298 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13299 _ACEOF
13304 CPPFLAGS=$ac_save_CPPFLAGS
13305 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13306 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13309 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13310 case "x$with_capi" in
13311 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13312 xno) ;;
13313 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13314 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13315 esac
13319 if test "x$with_cups" != "xno"
13320 then
13321 if ${CUPS_CFLAGS:+false} :; then :
13322 if ${PKG_CONFIG+:} false; then :
13323 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13326 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13327 if ${CUPS_LIBS:+false} :; then :
13328 if ${PKG_CONFIG+:} false; then :
13329 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13332 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13333 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13334 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13335 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13336 ac_save_CPPFLAGS=$CPPFLAGS
13337 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13338 for ac_header in cups/cups.h cups/ppd.h
13339 do :
13340 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13341 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13342 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13343 cat >>confdefs.h <<_ACEOF
13344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13345 _ACEOF
13349 done
13351 if test "$ac_cv_header_cups_cups_h" = "yes"
13352 then
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13354 $as_echo_n "checking for -lcups... " >&6; }
13355 if ${ac_cv_lib_soname_cups+:} false; then :
13356 $as_echo_n "(cached) " >&6
13357 else
13358 ac_check_soname_save_LIBS=$LIBS
13359 LIBS="-lcups $CUPS_LIBS $LIBS"
13360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h. */
13363 /* Override any GCC internal prototype to avoid an error.
13364 Use char because int might match the return type of a GCC
13365 builtin and then its argument prototype would still apply. */
13366 #ifdef __cplusplus
13367 extern "C"
13368 #endif
13369 char cupsGetDefault ();
13371 main ()
13373 return cupsGetDefault ();
13375 return 0;
13377 _ACEOF
13378 if ac_fn_c_try_link "$LINENO"; then :
13379 case "$LIBEXT" in
13380 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13381 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'` ;;
13382 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13383 if ${ac_cv_lib_soname_cups:+false} :; then :
13384 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13385 fi ;;
13386 esac
13388 rm -f core conftest.err conftest.$ac_objext \
13389 conftest$ac_exeext conftest.$ac_ext
13390 LIBS=$ac_check_soname_save_LIBS
13392 if ${ac_cv_lib_soname_cups:+false} :; then :
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13394 $as_echo "not found" >&6; }
13395 CUPS_LIBS=""
13396 else
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13398 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13400 cat >>confdefs.h <<_ACEOF
13401 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13402 _ACEOF
13406 else
13407 CUPS_CFLAGS=""
13408 CUPS_LIBS=""
13410 CPPFLAGS=$ac_save_CPPFLAGS
13411 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13412 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13415 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13416 case "x$with_cups" in
13417 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13418 xno) ;;
13419 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13420 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13421 esac
13425 if test "x$with_fontconfig" != "xno"
13426 then
13427 if ${FONTCONFIG_CFLAGS:+false} :; then :
13428 if ${PKG_CONFIG+:} false; then :
13429 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13432 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13433 if ${FONTCONFIG_LIBS:+false} :; then :
13434 if ${PKG_CONFIG+:} false; then :
13435 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13438 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13440 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13441 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13442 ac_save_CPPFLAGS=$CPPFLAGS
13443 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13444 for ac_header in fontconfig/fontconfig.h
13445 do :
13446 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13447 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13448 cat >>confdefs.h <<_ACEOF
13449 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13450 _ACEOF
13454 done
13456 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13457 then
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13459 $as_echo_n "checking for -lfontconfig... " >&6; }
13460 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13461 $as_echo_n "(cached) " >&6
13462 else
13463 ac_check_soname_save_LIBS=$LIBS
13464 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13466 /* end confdefs.h. */
13468 /* Override any GCC internal prototype to avoid an error.
13469 Use char because int might match the return type of a GCC
13470 builtin and then its argument prototype would still apply. */
13471 #ifdef __cplusplus
13472 extern "C"
13473 #endif
13474 char FcInit ();
13476 main ()
13478 return FcInit ();
13480 return 0;
13482 _ACEOF
13483 if ac_fn_c_try_link "$LINENO"; then :
13484 case "$LIBEXT" in
13485 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13486 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'` ;;
13487 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13488 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13489 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13490 fi ;;
13491 esac
13493 rm -f core conftest.err conftest.$ac_objext \
13494 conftest$ac_exeext conftest.$ac_ext
13495 LIBS=$ac_check_soname_save_LIBS
13497 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13499 $as_echo "not found" >&6; }
13500 FONTCONFIG_CFLAGS=""
13501 else
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13503 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13505 cat >>confdefs.h <<_ACEOF
13506 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13507 _ACEOF
13511 else
13512 FONTCONFIG_CFLAGS=""
13514 CPPFLAGS=$ac_save_CPPFLAGS
13515 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13516 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13519 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13520 case "x$with_fontconfig" in
13521 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13522 xno) ;;
13523 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13524 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13525 esac
13529 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13530 then
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13532 $as_echo_n "checking for -lgsm... " >&6; }
13533 if ${ac_cv_lib_soname_gsm+:} false; then :
13534 $as_echo_n "(cached) " >&6
13535 else
13536 ac_check_soname_save_LIBS=$LIBS
13537 LIBS="-lgsm $LIBS"
13538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13539 /* end confdefs.h. */
13541 /* Override any GCC internal prototype to avoid an error.
13542 Use char because int might match the return type of a GCC
13543 builtin and then its argument prototype would still apply. */
13544 #ifdef __cplusplus
13545 extern "C"
13546 #endif
13547 char gsm_create ();
13549 main ()
13551 return gsm_create ();
13553 return 0;
13555 _ACEOF
13556 if ac_fn_c_try_link "$LINENO"; then :
13557 case "$LIBEXT" in
13558 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13559 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'` ;;
13560 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13561 if ${ac_cv_lib_soname_gsm:+false} :; then :
13562 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13563 fi ;;
13564 esac
13566 rm -f core conftest.err conftest.$ac_objext \
13567 conftest$ac_exeext conftest.$ac_ext
13568 LIBS=$ac_check_soname_save_LIBS
13570 if ${ac_cv_lib_soname_gsm:+false} :; then :
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13572 $as_echo "not found" >&6; }
13574 else
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13576 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13578 cat >>confdefs.h <<_ACEOF
13579 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13580 _ACEOF
13585 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13586 case "x$with_gsm" in
13587 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13588 xno) ;;
13589 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13590 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13591 esac
13595 if test "x$with_krb5" != "xno"
13596 then
13597 if ${KRB5_CFLAGS:+false} :; then :
13598 if ${PKG_CONFIG+:} false; then :
13599 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13602 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13603 if ${KRB5_LIBS:+false} :; then :
13604 if ${PKG_CONFIG+:} false; then :
13605 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13608 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13610 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13611 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13612 ac_save_CPPFLAGS=$CPPFLAGS
13613 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13614 for ac_header in krb5/krb5.h
13615 do :
13616 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13617 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13618 cat >>confdefs.h <<_ACEOF
13619 #define HAVE_KRB5_KRB5_H 1
13620 _ACEOF
13624 done
13626 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13627 then
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13629 $as_echo_n "checking for -lkrb5... " >&6; }
13630 if ${ac_cv_lib_soname_krb5+:} false; then :
13631 $as_echo_n "(cached) " >&6
13632 else
13633 ac_check_soname_save_LIBS=$LIBS
13634 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13636 /* end confdefs.h. */
13638 /* Override any GCC internal prototype to avoid an error.
13639 Use char because int might match the return type of a GCC
13640 builtin and then its argument prototype would still apply. */
13641 #ifdef __cplusplus
13642 extern "C"
13643 #endif
13644 char krb5_is_config_principal ();
13646 main ()
13648 return krb5_is_config_principal ();
13650 return 0;
13652 _ACEOF
13653 if ac_fn_c_try_link "$LINENO"; then :
13654 case "$LIBEXT" in
13655 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13656 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'` ;;
13657 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13658 if ${ac_cv_lib_soname_krb5:+false} :; then :
13659 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13660 fi ;;
13661 esac
13663 rm -f core conftest.err conftest.$ac_objext \
13664 conftest$ac_exeext conftest.$ac_ext
13665 LIBS=$ac_check_soname_save_LIBS
13667 if ${ac_cv_lib_soname_krb5:+false} :; then :
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13669 $as_echo "not found" >&6; }
13670 KRB5_CFLAGS=""
13671 else
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13673 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13675 cat >>confdefs.h <<_ACEOF
13676 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13677 _ACEOF
13681 else
13682 KRB5_CFLAGS=""
13684 CPPFLAGS=$ac_save_CPPFLAGS
13685 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13686 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13688 else
13689 with_gssapi=${with_gssapi:-no}
13691 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13692 case "x$with_krb5" in
13693 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
13694 xno) ;;
13695 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
13696 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13697 esac
13701 if test "x$with_gssapi" != "xno"
13702 then
13703 if ${GSSAPI_CFLAGS:+false} :; then :
13704 if ${PKG_CONFIG+:} false; then :
13705 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13708 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13709 if ${GSSAPI_LIBS:+false} :; then :
13710 if ${PKG_CONFIG+:} false; then :
13711 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13714 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13716 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13717 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13718 ac_save_CPPFLAGS=$CPPFLAGS
13719 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13720 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13721 do :
13722 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13723 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13724 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13725 cat >>confdefs.h <<_ACEOF
13726 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13727 _ACEOF
13731 done
13733 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13734 then
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13736 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13737 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13738 $as_echo_n "(cached) " >&6
13739 else
13740 ac_check_soname_save_LIBS=$LIBS
13741 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13743 /* end confdefs.h. */
13745 /* Override any GCC internal prototype to avoid an error.
13746 Use char because int might match the return type of a GCC
13747 builtin and then its argument prototype would still apply. */
13748 #ifdef __cplusplus
13749 extern "C"
13750 #endif
13751 char gss_init_sec_context ();
13753 main ()
13755 return gss_init_sec_context ();
13757 return 0;
13759 _ACEOF
13760 if ac_fn_c_try_link "$LINENO"; then :
13761 case "$LIBEXT" in
13762 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13763 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'` ;;
13764 *) 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'`
13765 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13766 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13767 fi ;;
13768 esac
13770 rm -f core conftest.err conftest.$ac_objext \
13771 conftest$ac_exeext conftest.$ac_ext
13772 LIBS=$ac_check_soname_save_LIBS
13774 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13776 $as_echo "not found" >&6; }
13777 GSSAPI_CFLAGS=""
13778 else
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13780 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13782 cat >>confdefs.h <<_ACEOF
13783 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13784 _ACEOF
13788 else
13789 GSSAPI_CFLAGS=""
13791 CPPFLAGS=$ac_save_CPPFLAGS
13792 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13793 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13796 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13797 case "x$with_gssapi" in
13798 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13799 xno) ;;
13800 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13801 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13802 esac
13806 if test "x$with_jpeg" != "xno"
13807 then
13808 if ${JPEG_CFLAGS:+false} :; then :
13809 if ${PKG_CONFIG+:} false; then :
13810 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13814 if ${JPEG_LIBS:+false} :; then :
13815 if ${PKG_CONFIG+:} false; then :
13816 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13821 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13822 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13823 ac_save_CPPFLAGS=$CPPFLAGS
13824 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13825 for ac_header in jpeglib.h
13826 do :
13827 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13828 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13829 cat >>confdefs.h <<_ACEOF
13830 #define HAVE_JPEGLIB_H 1
13831 _ACEOF
13835 done
13837 if test "$ac_cv_header_jpeglib_h" = "yes"
13838 then
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13840 $as_echo_n "checking for -ljpeg... " >&6; }
13841 if ${ac_cv_lib_soname_jpeg+:} false; then :
13842 $as_echo_n "(cached) " >&6
13843 else
13844 ac_check_soname_save_LIBS=$LIBS
13845 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13847 /* end confdefs.h. */
13849 /* Override any GCC internal prototype to avoid an error.
13850 Use char because int might match the return type of a GCC
13851 builtin and then its argument prototype would still apply. */
13852 #ifdef __cplusplus
13853 extern "C"
13854 #endif
13855 char jpeg_start_decompress ();
13857 main ()
13859 return jpeg_start_decompress ();
13861 return 0;
13863 _ACEOF
13864 if ac_fn_c_try_link "$LINENO"; then :
13865 case "$LIBEXT" in
13866 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13867 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'` ;;
13868 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13869 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13870 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13871 fi ;;
13872 esac
13874 rm -f core conftest.err conftest.$ac_objext \
13875 conftest$ac_exeext conftest.$ac_ext
13876 LIBS=$ac_check_soname_save_LIBS
13878 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13880 $as_echo "not found" >&6; }
13881 JPEG_CFLAGS=""
13882 else
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13884 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13886 cat >>confdefs.h <<_ACEOF
13887 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13888 _ACEOF
13892 else
13893 JPEG_CFLAGS=""
13895 CPPFLAGS=$ac_save_CPPFLAGS
13896 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13897 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13900 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13901 case "x$with_jpeg" in
13902 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13903 xno) ;;
13904 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13905 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13906 esac
13910 if test "x$with_png" != "xno"
13911 then
13912 if ${PNG_CFLAGS:+false} :; then :
13913 if ${PKG_CONFIG+:} false; then :
13914 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13917 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13918 if ${PNG_LIBS:+false} :; then :
13919 if ${PKG_CONFIG+:} false; then :
13920 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13923 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13925 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13926 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13927 ac_save_CPPFLAGS=$CPPFLAGS
13928 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13929 for ac_header in png.h
13930 do :
13931 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13932 if test "x$ac_cv_header_png_h" = xyes; then :
13933 cat >>confdefs.h <<_ACEOF
13934 #define HAVE_PNG_H 1
13935 _ACEOF
13939 done
13941 if test "$ac_cv_header_png_h" = "yes"
13942 then
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13944 $as_echo_n "checking for -lpng... " >&6; }
13945 if ${ac_cv_lib_soname_png+:} false; then :
13946 $as_echo_n "(cached) " >&6
13947 else
13948 ac_check_soname_save_LIBS=$LIBS
13949 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13951 /* end confdefs.h. */
13953 /* Override any GCC internal prototype to avoid an error.
13954 Use char because int might match the return type of a GCC
13955 builtin and then its argument prototype would still apply. */
13956 #ifdef __cplusplus
13957 extern "C"
13958 #endif
13959 char png_create_read_struct ();
13961 main ()
13963 return png_create_read_struct ();
13965 return 0;
13967 _ACEOF
13968 if ac_fn_c_try_link "$LINENO"; then :
13969 case "$LIBEXT" in
13970 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13971 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'` ;;
13972 *) 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'`
13973 if ${ac_cv_lib_soname_png:+false} :; then :
13974 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13975 fi ;;
13976 esac
13978 rm -f core conftest.err conftest.$ac_objext \
13979 conftest$ac_exeext conftest.$ac_ext
13980 LIBS=$ac_check_soname_save_LIBS
13982 if ${ac_cv_lib_soname_png:+false} :; then :
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13984 $as_echo "not found" >&6; }
13985 PNG_CFLAGS=""
13986 else
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13988 $as_echo "$ac_cv_lib_soname_png" >&6; }
13990 cat >>confdefs.h <<_ACEOF
13991 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13992 _ACEOF
13996 else
13997 PNG_CFLAGS=""
13999 CPPFLAGS=$ac_save_CPPFLAGS
14000 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14001 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14004 if test "x$ac_cv_lib_soname_png" = "x"; then :
14005 case "x$with_png" in
14006 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14007 xno) ;;
14008 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14009 This is an error since --with-png was requested." "$LINENO" 5 ;;
14010 esac
14014 if test "x$with_tiff" != "xno"
14015 then
14016 if ${TIFF_CFLAGS:+false} :; then :
14017 if ${PKG_CONFIG+:} false; then :
14018 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14022 if ${TIFF_LIBS:+false} :; then :
14023 if ${PKG_CONFIG+:} false; then :
14024 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14029 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14030 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14031 ac_save_CPPFLAGS=$CPPFLAGS
14032 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14033 for ac_header in tiffio.h
14034 do :
14035 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14036 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14037 cat >>confdefs.h <<_ACEOF
14038 #define HAVE_TIFFIO_H 1
14039 _ACEOF
14043 done
14045 if test "$ac_cv_header_tiffio_h" = "yes"
14046 then
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14048 $as_echo_n "checking for -ltiff... " >&6; }
14049 if ${ac_cv_lib_soname_tiff+:} false; then :
14050 $as_echo_n "(cached) " >&6
14051 else
14052 ac_check_soname_save_LIBS=$LIBS
14053 LIBS="-ltiff $TIFF_LIBS $LIBS"
14054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14055 /* end confdefs.h. */
14057 /* Override any GCC internal prototype to avoid an error.
14058 Use char because int might match the return type of a GCC
14059 builtin and then its argument prototype would still apply. */
14060 #ifdef __cplusplus
14061 extern "C"
14062 #endif
14063 char TIFFClientOpen ();
14065 main ()
14067 return TIFFClientOpen ();
14069 return 0;
14071 _ACEOF
14072 if ac_fn_c_try_link "$LINENO"; then :
14073 case "$LIBEXT" in
14074 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14075 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'` ;;
14076 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14077 if ${ac_cv_lib_soname_tiff:+false} :; then :
14078 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14079 fi ;;
14080 esac
14082 rm -f core conftest.err conftest.$ac_objext \
14083 conftest$ac_exeext conftest.$ac_ext
14084 LIBS=$ac_check_soname_save_LIBS
14086 if ${ac_cv_lib_soname_tiff:+false} :; then :
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14088 $as_echo "not found" >&6; }
14090 else
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14092 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14094 cat >>confdefs.h <<_ACEOF
14095 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14096 _ACEOF
14101 CPPFLAGS=$ac_save_CPPFLAGS
14102 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14103 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14106 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14107 case "x$with_tiff" in
14108 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14109 xno) ;;
14110 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14111 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14112 esac
14116 if test "x$with_mpg123" != "xno"
14117 then
14118 if ${MPG123_CFLAGS:+false} :; then :
14119 if ${PKG_CONFIG+:} false; then :
14120 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14124 if ${MPG123_LIBS:+false} :; then :
14125 if ${PKG_CONFIG+:} false; then :
14126 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14130 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14131 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14132 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14133 ac_save_CPPFLAGS=$CPPFLAGS
14134 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14135 for ac_header in mpg123.h
14136 do :
14137 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14138 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14139 cat >>confdefs.h <<_ACEOF
14140 #define HAVE_MPG123_H 1
14141 _ACEOF
14145 done
14147 if test "$ac_cv_header_mpg123_h" = "yes"
14148 then
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14150 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14151 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14152 $as_echo_n "(cached) " >&6
14153 else
14154 ac_check_lib_save_LIBS=$LIBS
14155 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14157 /* end confdefs.h. */
14159 /* Override any GCC internal prototype to avoid an error.
14160 Use char because int might match the return type of a GCC
14161 builtin and then its argument prototype would still apply. */
14162 #ifdef __cplusplus
14163 extern "C"
14164 #endif
14165 char mpg123_feed ();
14167 main ()
14169 return mpg123_feed ();
14171 return 0;
14173 _ACEOF
14174 if ac_fn_c_try_link "$LINENO"; then :
14175 ac_cv_lib_mpg123_mpg123_feed=yes
14176 else
14177 ac_cv_lib_mpg123_mpg123_feed=no
14179 rm -f core conftest.err conftest.$ac_objext \
14180 conftest$ac_exeext conftest.$ac_ext
14181 LIBS=$ac_check_lib_save_LIBS
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14184 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14185 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14187 else
14188 MPG123_LIBS=""
14191 else
14192 MPG123_CFLAGS=""
14193 MPG123_LIBS=""
14195 CPPFLAGS=$ac_save_CPPFLAGS
14196 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14197 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14200 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14201 case "x$with_mpg123" in
14202 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14203 xno) ;;
14204 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14205 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14206 esac
14207 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14210 if test "$ac_cv_header_AL_al_h" = "yes"
14211 then
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14213 $as_echo_n "checking for -lopenal... " >&6; }
14214 if ${ac_cv_lib_soname_openal+:} false; then :
14215 $as_echo_n "(cached) " >&6
14216 else
14217 ac_check_soname_save_LIBS=$LIBS
14218 LIBS="-lopenal $LIBS"
14219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14220 /* end confdefs.h. */
14222 /* Override any GCC internal prototype to avoid an error.
14223 Use char because int might match the return type of a GCC
14224 builtin and then its argument prototype would still apply. */
14225 #ifdef __cplusplus
14226 extern "C"
14227 #endif
14228 char alGetSource3i ();
14230 main ()
14232 return alGetSource3i ();
14234 return 0;
14236 _ACEOF
14237 if ac_fn_c_try_link "$LINENO"; then :
14238 case "$LIBEXT" in
14239 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14240 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'` ;;
14241 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14242 if ${ac_cv_lib_soname_openal:+false} :; then :
14243 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14244 fi ;;
14245 esac
14247 rm -f core conftest.err conftest.$ac_objext \
14248 conftest$ac_exeext conftest.$ac_ext
14249 LIBS=$ac_check_soname_save_LIBS
14251 if ${ac_cv_lib_soname_openal:+false} :; then :
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14253 $as_echo "not found" >&6; }
14255 else
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14257 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14259 cat >>confdefs.h <<_ACEOF
14260 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14261 _ACEOF
14263 OPENAL_LIBS="-lopenal"
14265 ac_cv_lib_openal=yes
14267 cat >>confdefs.h <<_ACEOF
14268 #define HAVE_OPENAL 1
14269 _ACEOF
14273 if test "x$ac_cv_lib_openal" != xyes; then :
14274 case "x$with_openal" in
14275 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14276 xno) ;;
14277 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14278 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14279 esac
14280 enable_openal32=${enable_openal32:-no}
14283 if test "x$ac_cv_lib_openal" = xyes
14284 then
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14286 $as_echo_n "checking for openal-soft... " >&6; }
14287 if ${ac_cv_have_openalsoft+:} false; then :
14288 $as_echo_n "(cached) " >&6
14289 else
14290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14291 /* end confdefs.h. */
14292 #include <AL/al.h>
14293 #include <AL/alc.h>
14294 #include <AL/alext.h>
14295 LPALCRENDERSAMPLESSOFT x;
14297 main ()
14301 return 0;
14303 _ACEOF
14304 if ac_fn_c_try_compile "$LINENO"; then :
14305 ac_cv_have_openalsoft=yes
14306 else
14307 ac_cv_have_openalsoft=no
14309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14312 $as_echo "$ac_cv_have_openalsoft" >&6; }
14314 if test "x$ac_cv_have_openalsoft" != xyes
14315 then
14316 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14317 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14318 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14319 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14320 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14321 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14322 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14323 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14324 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14325 enable_xapofx1_1=${enable_xapofx1_1:-no}
14326 enable_xapofx1_2=${enable_xapofx1_2:-no}
14327 enable_xapofx1_3=${enable_xapofx1_3:-no}
14328 enable_xapofx1_4=${enable_xapofx1_4:-no}
14329 enable_xapofx1_5=${enable_xapofx1_5:-no}
14330 enable_xaudio2_0=${enable_xaudio2_0:-no}
14331 enable_xaudio2_1=${enable_xaudio2_1:-no}
14332 enable_xaudio2_2=${enable_xaudio2_2:-no}
14333 enable_xaudio2_3=${enable_xaudio2_3:-no}
14334 enable_xaudio2_4=${enable_xaudio2_4:-no}
14335 enable_xaudio2_5=${enable_xaudio2_5:-no}
14336 enable_xaudio2_6=${enable_xaudio2_6:-no}
14337 enable_xaudio2_7=${enable_xaudio2_7:-no}
14338 enable_xaudio2_8=${enable_xaudio2_8:-no}
14339 enable_xaudio2_9=${enable_xaudio2_9:-no}
14342 if test "$ac_cv_header_kstat_h" = "yes"
14343 then
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14345 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14346 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14347 $as_echo_n "(cached) " >&6
14348 else
14349 ac_check_lib_save_LIBS=$LIBS
14350 LIBS="-lkstat $LIBS"
14351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14352 /* end confdefs.h. */
14354 /* Override any GCC internal prototype to avoid an error.
14355 Use char because int might match the return type of a GCC
14356 builtin and then its argument prototype would still apply. */
14357 #ifdef __cplusplus
14358 extern "C"
14359 #endif
14360 char kstat_open ();
14362 main ()
14364 return kstat_open ();
14366 return 0;
14368 _ACEOF
14369 if ac_fn_c_try_link "$LINENO"; then :
14370 ac_cv_lib_kstat_kstat_open=yes
14371 else
14372 ac_cv_lib_kstat_kstat_open=no
14374 rm -f core conftest.err conftest.$ac_objext \
14375 conftest$ac_exeext conftest.$ac_ext
14376 LIBS=$ac_check_lib_save_LIBS
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14379 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14380 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14382 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14384 KSTAT_LIBS="-lkstat"
14390 if test "$ac_cv_header_libprocstat_h" = "yes"
14391 then
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14393 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14394 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14395 $as_echo_n "(cached) " >&6
14396 else
14397 ac_check_lib_save_LIBS=$LIBS
14398 LIBS="-lprocstat $LIBS"
14399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14400 /* end confdefs.h. */
14402 /* Override any GCC internal prototype to avoid an error.
14403 Use char because int might match the return type of a GCC
14404 builtin and then its argument prototype would still apply. */
14405 #ifdef __cplusplus
14406 extern "C"
14407 #endif
14408 char procstat_open_sysctl ();
14410 main ()
14412 return procstat_open_sysctl ();
14414 return 0;
14416 _ACEOF
14417 if ac_fn_c_try_link "$LINENO"; then :
14418 ac_cv_lib_procstat_procstat_open_sysctl=yes
14419 else
14420 ac_cv_lib_procstat_procstat_open_sysctl=no
14422 rm -f core conftest.err conftest.$ac_objext \
14423 conftest$ac_exeext conftest.$ac_ext
14424 LIBS=$ac_check_lib_save_LIBS
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14427 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14428 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14430 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14432 PROCSTAT_LIBS="-lprocstat"
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14439 $as_echo_n "checking for -lodbc... " >&6; }
14440 if ${ac_cv_lib_soname_odbc+:} false; then :
14441 $as_echo_n "(cached) " >&6
14442 else
14443 ac_check_soname_save_LIBS=$LIBS
14444 LIBS="-lodbc $LIBS"
14445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14446 /* end confdefs.h. */
14448 /* Override any GCC internal prototype to avoid an error.
14449 Use char because int might match the return type of a GCC
14450 builtin and then its argument prototype would still apply. */
14451 #ifdef __cplusplus
14452 extern "C"
14453 #endif
14454 char SQLConnect ();
14456 main ()
14458 return SQLConnect ();
14460 return 0;
14462 _ACEOF
14463 if ac_fn_c_try_link "$LINENO"; then :
14464 case "$LIBEXT" in
14465 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14466 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'` ;;
14467 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14468 if ${ac_cv_lib_soname_odbc:+false} :; then :
14469 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14470 fi ;;
14471 esac
14473 rm -f core conftest.err conftest.$ac_objext \
14474 conftest$ac_exeext conftest.$ac_ext
14475 LIBS=$ac_check_soname_save_LIBS
14477 if ${ac_cv_lib_soname_odbc:+false} :; then :
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14479 $as_echo "not found" >&6; }
14480 cat >>confdefs.h <<_ACEOF
14481 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14482 _ACEOF
14484 else
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14486 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14488 cat >>confdefs.h <<_ACEOF
14489 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14490 _ACEOF
14495 if test "x$with_netapi" != "xno"
14496 then
14497 if ${NETAPI_CFLAGS:+false} :; then :
14498 if ${PKG_CONFIG+:} false; then :
14499 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14503 if ${NETAPI_LIBS:+false} :; then :
14504 if ${PKG_CONFIG+:} false; then :
14505 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14510 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14511 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14512 ac_save_CPPFLAGS=$CPPFLAGS
14513 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14515 $as_echo_n "checking for -lnetapi... " >&6; }
14516 if ${ac_cv_lib_soname_netapi+:} false; then :
14517 $as_echo_n "(cached) " >&6
14518 else
14519 ac_check_soname_save_LIBS=$LIBS
14520 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */
14524 /* Override any GCC internal prototype to avoid an error.
14525 Use char because int might match the return type of a GCC
14526 builtin and then its argument prototype would still apply. */
14527 #ifdef __cplusplus
14528 extern "C"
14529 #endif
14530 char libnetapi_init ();
14532 main ()
14534 return libnetapi_init ();
14536 return 0;
14538 _ACEOF
14539 if ac_fn_c_try_link "$LINENO"; then :
14540 case "$LIBEXT" in
14541 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14542 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'` ;;
14543 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14544 if ${ac_cv_lib_soname_netapi:+false} :; then :
14545 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14546 fi ;;
14547 esac
14549 rm -f core conftest.err conftest.$ac_objext \
14550 conftest$ac_exeext conftest.$ac_ext
14551 LIBS=$ac_check_soname_save_LIBS
14553 if ${ac_cv_lib_soname_netapi:+false} :; then :
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14555 $as_echo "not found" >&6; }
14556 cat >>confdefs.h <<_ACEOF
14557 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14558 _ACEOF
14560 else
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14562 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14564 cat >>confdefs.h <<_ACEOF
14565 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14566 _ACEOF
14570 CPPFLAGS=$ac_save_CPPFLAGS
14571 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14572 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14576 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14577 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14578 then
14579 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14582 if test "x$with_vulkan" != "xno"
14583 then
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14585 $as_echo_n "checking for -lvulkan... " >&6; }
14586 if ${ac_cv_lib_soname_vulkan+:} false; then :
14587 $as_echo_n "(cached) " >&6
14588 else
14589 ac_check_soname_save_LIBS=$LIBS
14590 LIBS="-lvulkan $LIBS"
14591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14592 /* end confdefs.h. */
14594 /* Override any GCC internal prototype to avoid an error.
14595 Use char because int might match the return type of a GCC
14596 builtin and then its argument prototype would still apply. */
14597 #ifdef __cplusplus
14598 extern "C"
14599 #endif
14600 char vkGetInstanceProcAddr ();
14602 main ()
14604 return vkGetInstanceProcAddr ();
14606 return 0;
14608 _ACEOF
14609 if ac_fn_c_try_link "$LINENO"; then :
14610 case "$LIBEXT" in
14611 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14612 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'` ;;
14613 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14614 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14615 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14616 fi ;;
14617 esac
14619 rm -f core conftest.err conftest.$ac_objext \
14620 conftest$ac_exeext conftest.$ac_ext
14621 LIBS=$ac_check_soname_save_LIBS
14623 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14625 $as_echo "not found" >&6; }
14627 else
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14629 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14631 cat >>confdefs.h <<_ACEOF
14632 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14633 _ACEOF
14638 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14639 case "x$with_vulkan" in
14640 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14641 xno) ;;
14642 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14643 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14644 esac
14649 EXTRACFLAGS=""
14651 if test "x${GCC}" = "xyes"
14652 then
14653 EXTRACFLAGS="-Wall -pipe"
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14656 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14657 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14658 $as_echo_n "(cached) " >&6
14659 else
14660 if test "$cross_compiling" = yes; then :
14661 ac_cv_c_gcc_strength_bug="no"
14662 else
14663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14664 /* end confdefs.h. */
14665 int L[4] = {0,1,2,3};
14667 main ()
14669 static int Array[3];
14670 unsigned int B = 3;
14671 int i;
14672 for(i=0; i<B; i++) Array[i] = i - 3;
14673 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14674 L[i] = 4;
14675 return (Array[1] != -2 || L[2] != 3)
14677 return 0;
14679 _ACEOF
14680 if ac_fn_c_try_run "$LINENO"; then :
14681 ac_cv_c_gcc_strength_bug="no"
14682 else
14683 ac_cv_c_gcc_strength_bug="yes"
14685 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14686 conftest.$ac_objext conftest.beam conftest.$ac_ext
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14691 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14692 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14693 then
14694 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14698 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14699 if ${ac_cv_cflags__fno_builtin+:} false; then :
14700 $as_echo_n "(cached) " >&6
14701 else
14702 ac_wine_try_cflags_saved=$CFLAGS
14703 CFLAGS="$CFLAGS -fno-builtin"
14704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14705 /* end confdefs.h. */
14706 int main(int argc, char **argv) { return 0; }
14707 _ACEOF
14708 if ac_fn_c_try_link "$LINENO"; then :
14709 ac_cv_cflags__fno_builtin=yes
14710 else
14711 ac_cv_cflags__fno_builtin=no
14713 rm -f core conftest.err conftest.$ac_objext \
14714 conftest$ac_exeext conftest.$ac_ext
14715 CFLAGS=$ac_wine_try_cflags_saved
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14718 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14719 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14720 BUILTINFLAG="-fno-builtin"
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14724 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14725 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14726 $as_echo_n "(cached) " >&6
14727 else
14728 ac_wine_try_cflags_saved=$CFLAGS
14729 CFLAGS="$CFLAGS -fno-strict-aliasing"
14730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14732 int main(int argc, char **argv) { return 0; }
14733 _ACEOF
14734 if ac_fn_c_try_link "$LINENO"; then :
14735 ac_cv_cflags__fno_strict_aliasing=yes
14736 else
14737 ac_cv_cflags__fno_strict_aliasing=no
14739 rm -f core conftest.err conftest.$ac_objext \
14740 conftest$ac_exeext conftest.$ac_ext
14741 CFLAGS=$ac_wine_try_cflags_saved
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14744 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14745 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14746 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14749 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14750 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14751 $as_echo_n "(cached) " >&6
14752 else
14753 ac_wine_try_cflags_saved=$CFLAGS
14754 CFLAGS="$CFLAGS -fexcess-precision=standard"
14755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14756 /* end confdefs.h. */
14757 int main(int argc, char **argv) { return 0; }
14758 _ACEOF
14759 if ac_fn_c_try_link "$LINENO"; then :
14760 ac_cv_cflags__fexcess_precision_standard=yes
14761 else
14762 ac_cv_cflags__fexcess_precision_standard=no
14764 rm -f core conftest.err conftest.$ac_objext \
14765 conftest$ac_exeext conftest.$ac_ext
14766 CFLAGS=$ac_wine_try_cflags_saved
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14769 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14770 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14771 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14774 saved_CFLAGS=$CFLAGS
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14776 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14777 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14778 $as_echo_n "(cached) " >&6
14779 else
14780 ac_wine_try_cflags_saved=$CFLAGS
14781 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14783 /* end confdefs.h. */
14784 int main(int argc, char **argv) { return 0; }
14785 _ACEOF
14786 if ac_fn_c_try_link "$LINENO"; then :
14787 ac_cv_cflags__Werror_unknown_warning_option=yes
14788 else
14789 ac_cv_cflags__Werror_unknown_warning_option=no
14791 rm -f core conftest.err conftest.$ac_objext \
14792 conftest$ac_exeext conftest.$ac_ext
14793 CFLAGS=$ac_wine_try_cflags_saved
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14796 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14797 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14798 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14801 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14802 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14803 $as_echo_n "(cached) " >&6
14804 else
14805 ac_wine_try_cflags_saved=$CFLAGS
14806 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14808 /* end confdefs.h. */
14809 int main(int argc, char **argv) { return 0; }
14810 _ACEOF
14811 if ac_fn_c_try_link "$LINENO"; then :
14812 ac_cv_cflags__Wdeclaration_after_statement=yes
14813 else
14814 ac_cv_cflags__Wdeclaration_after_statement=no
14816 rm -f core conftest.err conftest.$ac_objext \
14817 conftest$ac_exeext conftest.$ac_ext
14818 CFLAGS=$ac_wine_try_cflags_saved
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14821 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14822 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14823 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14826 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14827 if ${ac_cv_cflags__Wempty_body+:} false; then :
14828 $as_echo_n "(cached) " >&6
14829 else
14830 ac_wine_try_cflags_saved=$CFLAGS
14831 CFLAGS="$CFLAGS -Wempty-body"
14832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14833 /* end confdefs.h. */
14834 int main(int argc, char **argv) { return 0; }
14835 _ACEOF
14836 if ac_fn_c_try_link "$LINENO"; then :
14837 ac_cv_cflags__Wempty_body=yes
14838 else
14839 ac_cv_cflags__Wempty_body=no
14841 rm -f core conftest.err conftest.$ac_objext \
14842 conftest$ac_exeext conftest.$ac_ext
14843 CFLAGS=$ac_wine_try_cflags_saved
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14846 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14847 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14848 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14851 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14852 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14853 $as_echo_n "(cached) " >&6
14854 else
14855 ac_wine_try_cflags_saved=$CFLAGS
14856 CFLAGS="$CFLAGS -Wignored-qualifiers"
14857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14858 /* end confdefs.h. */
14859 int main(int argc, char **argv) { return 0; }
14860 _ACEOF
14861 if ac_fn_c_try_link "$LINENO"; then :
14862 ac_cv_cflags__Wignored_qualifiers=yes
14863 else
14864 ac_cv_cflags__Wignored_qualifiers=no
14866 rm -f core conftest.err conftest.$ac_objext \
14867 conftest$ac_exeext conftest.$ac_ext
14868 CFLAGS=$ac_wine_try_cflags_saved
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14871 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14872 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14873 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14876 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14877 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14878 $as_echo_n "(cached) " >&6
14879 else
14880 ac_wine_try_cflags_saved=$CFLAGS
14881 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14883 /* end confdefs.h. */
14884 int main(int argc, char **argv) { return 0; }
14885 _ACEOF
14886 if ac_fn_c_try_link "$LINENO"; then :
14887 ac_cv_cflags__Wpacked_not_aligned=yes
14888 else
14889 ac_cv_cflags__Wpacked_not_aligned=no
14891 rm -f core conftest.err conftest.$ac_objext \
14892 conftest$ac_exeext conftest.$ac_ext
14893 CFLAGS=$ac_wine_try_cflags_saved
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14896 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14897 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14898 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14901 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14902 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14903 $as_echo_n "(cached) " >&6
14904 else
14905 ac_wine_try_cflags_saved=$CFLAGS
14906 CFLAGS="$CFLAGS -Wpragma-pack"
14907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14908 /* end confdefs.h. */
14909 int main(int argc, char **argv) { return 0; }
14910 _ACEOF
14911 if ac_fn_c_try_link "$LINENO"; then :
14912 ac_cv_cflags__Wpragma_pack=yes
14913 else
14914 ac_cv_cflags__Wpragma_pack=no
14916 rm -f core conftest.err conftest.$ac_objext \
14917 conftest$ac_exeext conftest.$ac_ext
14918 CFLAGS=$ac_wine_try_cflags_saved
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14921 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14922 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14923 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14926 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14927 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14928 $as_echo_n "(cached) " >&6
14929 else
14930 ac_wine_try_cflags_saved=$CFLAGS
14931 CFLAGS="$CFLAGS -Wshift-overflow=2"
14932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14933 /* end confdefs.h. */
14934 int main(int argc, char **argv) { return 0; }
14935 _ACEOF
14936 if ac_fn_c_try_link "$LINENO"; then :
14937 ac_cv_cflags__Wshift_overflow_2=yes
14938 else
14939 ac_cv_cflags__Wshift_overflow_2=no
14941 rm -f core conftest.err conftest.$ac_objext \
14942 conftest$ac_exeext conftest.$ac_ext
14943 CFLAGS=$ac_wine_try_cflags_saved
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14946 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14947 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14948 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14951 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14952 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14953 $as_echo_n "(cached) " >&6
14954 else
14955 ac_wine_try_cflags_saved=$CFLAGS
14956 CFLAGS="$CFLAGS -Wstrict-prototypes"
14957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14958 /* end confdefs.h. */
14959 int main(int argc, char **argv) { return 0; }
14960 _ACEOF
14961 if ac_fn_c_try_link "$LINENO"; then :
14962 ac_cv_cflags__Wstrict_prototypes=yes
14963 else
14964 ac_cv_cflags__Wstrict_prototypes=no
14966 rm -f core conftest.err conftest.$ac_objext \
14967 conftest$ac_exeext conftest.$ac_ext
14968 CFLAGS=$ac_wine_try_cflags_saved
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14971 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14972 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14973 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14976 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14977 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14978 $as_echo_n "(cached) " >&6
14979 else
14980 ac_wine_try_cflags_saved=$CFLAGS
14981 CFLAGS="$CFLAGS -Wtype-limits"
14982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14983 /* end confdefs.h. */
14984 int main(int argc, char **argv) { return 0; }
14985 _ACEOF
14986 if ac_fn_c_try_link "$LINENO"; then :
14987 ac_cv_cflags__Wtype_limits=yes
14988 else
14989 ac_cv_cflags__Wtype_limits=no
14991 rm -f core conftest.err conftest.$ac_objext \
14992 conftest$ac_exeext conftest.$ac_ext
14993 CFLAGS=$ac_wine_try_cflags_saved
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14996 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14997 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14998 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15001 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15002 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15003 $as_echo_n "(cached) " >&6
15004 else
15005 ac_wine_try_cflags_saved=$CFLAGS
15006 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15008 /* end confdefs.h. */
15009 int main(int argc, char **argv) { return 0; }
15010 _ACEOF
15011 if ac_fn_c_try_link "$LINENO"; then :
15012 ac_cv_cflags__Wunused_but_set_parameter=yes
15013 else
15014 ac_cv_cflags__Wunused_but_set_parameter=no
15016 rm -f core conftest.err conftest.$ac_objext \
15017 conftest$ac_exeext conftest.$ac_ext
15018 CFLAGS=$ac_wine_try_cflags_saved
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15021 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15022 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15023 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15026 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15027 if ${ac_cv_cflags__Wvla+:} false; then :
15028 $as_echo_n "(cached) " >&6
15029 else
15030 ac_wine_try_cflags_saved=$CFLAGS
15031 CFLAGS="$CFLAGS -Wvla"
15032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15033 /* end confdefs.h. */
15034 int main(int argc, char **argv) { return 0; }
15035 _ACEOF
15036 if ac_fn_c_try_link "$LINENO"; then :
15037 ac_cv_cflags__Wvla=yes
15038 else
15039 ac_cv_cflags__Wvla=no
15041 rm -f core conftest.err conftest.$ac_objext \
15042 conftest$ac_exeext conftest.$ac_ext
15043 CFLAGS=$ac_wine_try_cflags_saved
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15046 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15047 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15048 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15051 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15052 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15053 $as_echo_n "(cached) " >&6
15054 else
15055 ac_wine_try_cflags_saved=$CFLAGS
15056 CFLAGS="$CFLAGS -Wwrite-strings"
15057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15058 /* end confdefs.h. */
15059 int main(int argc, char **argv) { return 0; }
15060 _ACEOF
15061 if ac_fn_c_try_link "$LINENO"; then :
15062 ac_cv_cflags__Wwrite_strings=yes
15063 else
15064 ac_cv_cflags__Wwrite_strings=no
15066 rm -f core conftest.err conftest.$ac_objext \
15067 conftest$ac_exeext conftest.$ac_ext
15068 CFLAGS=$ac_wine_try_cflags_saved
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15071 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15072 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15073 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15077 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15078 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15079 $as_echo_n "(cached) " >&6
15080 else
15081 ac_wine_try_cflags_saved=$CFLAGS
15082 CFLAGS="$CFLAGS -Wpointer-arith"
15083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15084 /* end confdefs.h. */
15085 int main(int argc, char **argv) { return 0; }
15086 _ACEOF
15087 if ac_fn_c_try_link "$LINENO"; then :
15088 ac_cv_cflags__Wpointer_arith=yes
15089 else
15090 ac_cv_cflags__Wpointer_arith=no
15092 rm -f core conftest.err conftest.$ac_objext \
15093 conftest$ac_exeext conftest.$ac_ext
15094 CFLAGS=$ac_wine_try_cflags_saved
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15097 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15098 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15099 saved_string_h_CFLAGS=$CFLAGS
15100 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15102 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15103 if ${ac_cv_c_string_h_warnings+:} false; then :
15104 $as_echo_n "(cached) " >&6
15105 else
15106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15107 /* end confdefs.h. */
15108 #include <string.h>
15110 main ()
15114 return 0;
15116 _ACEOF
15117 if ac_fn_c_try_compile "$LINENO"; then :
15118 ac_cv_c_string_h_warnings=no
15119 else
15120 ac_cv_c_string_h_warnings=yes
15122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15125 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15126 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15127 CFLAGS=$saved_string_h_CFLAGS
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15131 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15132 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15133 $as_echo_n "(cached) " >&6
15134 else
15135 ac_wine_try_cflags_saved=$CFLAGS
15136 CFLAGS="$CFLAGS -Wlogical-op"
15137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15138 /* end confdefs.h. */
15139 int main(int argc, char **argv) { return 0; }
15140 _ACEOF
15141 if ac_fn_c_try_link "$LINENO"; then :
15142 ac_cv_cflags__Wlogical_op=yes
15143 else
15144 ac_cv_cflags__Wlogical_op=no
15146 rm -f core conftest.err conftest.$ac_objext \
15147 conftest$ac_exeext conftest.$ac_ext
15148 CFLAGS=$ac_wine_try_cflags_saved
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15151 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15152 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15153 saved_string_h_CFLAGS=$CFLAGS
15154 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15156 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15157 if ${ac_cv_c_logicalop_noisy+:} false; then :
15158 $as_echo_n "(cached) " >&6
15159 else
15160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15161 /* end confdefs.h. */
15162 #include <string.h>
15163 char*f(const char *h,char n) {return strchr(h,n);}
15165 main ()
15169 return 0;
15171 _ACEOF
15172 if ac_fn_c_try_compile "$LINENO"; then :
15173 ac_cv_c_logicalop_noisy=no
15174 else
15175 ac_cv_c_logicalop_noisy=yes
15177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15180 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15181 CFLAGS=$saved_string_h_CFLAGS
15182 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15185 CFLAGS=$saved_CFLAGS
15187 for ac_flag in $CFLAGS; do
15188 case $ac_flag in
15189 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15190 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15191 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15192 $as_echo_n "(cached) " >&6
15193 else
15194 ac_wine_try_cflags_saved=$CFLAGS
15195 CFLAGS="$CFLAGS -gdwarf-2"
15196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15197 /* end confdefs.h. */
15198 int main(int argc, char **argv) { return 0; }
15199 _ACEOF
15200 if ac_fn_c_try_link "$LINENO"; then :
15201 ac_cv_cflags__gdwarf_2=yes
15202 else
15203 ac_cv_cflags__gdwarf_2=no
15205 rm -f core conftest.err conftest.$ac_objext \
15206 conftest$ac_exeext conftest.$ac_ext
15207 CFLAGS=$ac_wine_try_cflags_saved
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15210 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15211 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15212 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15215 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15216 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15217 $as_echo_n "(cached) " >&6
15218 else
15219 ac_wine_try_cflags_saved=$CFLAGS
15220 CFLAGS="$CFLAGS -gstrict-dwarf"
15221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15223 int main(int argc, char **argv) { return 0; }
15224 _ACEOF
15225 if ac_fn_c_try_link "$LINENO"; then :
15226 ac_cv_cflags__gstrict_dwarf=yes
15227 else
15228 ac_cv_cflags__gstrict_dwarf=no
15230 rm -f core conftest.err conftest.$ac_objext \
15231 conftest$ac_exeext conftest.$ac_ext
15232 CFLAGS=$ac_wine_try_cflags_saved
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15235 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15236 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15237 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15238 fi ;;
15239 esac
15240 done
15242 case $host_cpu in
15243 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15244 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15245 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15246 $as_echo_n "(cached) " >&6
15247 else
15248 ac_wine_try_cflags_saved=$CFLAGS
15249 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15251 /* end confdefs.h. */
15252 int main(int argc, char **argv) { return 0; }
15253 _ACEOF
15254 if ac_fn_c_try_link "$LINENO"; then :
15255 ac_cv_cflags__fno_omit_frame_pointer=yes
15256 else
15257 ac_cv_cflags__fno_omit_frame_pointer=no
15259 rm -f core conftest.err conftest.$ac_objext \
15260 conftest$ac_exeext conftest.$ac_ext
15261 CFLAGS=$ac_wine_try_cflags_saved
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15264 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15265 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15266 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15267 fi ;;
15268 esac
15270 case $host in
15271 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15272 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15273 if ${ac_cv_cflags__Wno_format+:} false; then :
15274 $as_echo_n "(cached) " >&6
15275 else
15276 ac_wine_try_cflags_saved=$CFLAGS
15277 CFLAGS="$CFLAGS -Wno-format"
15278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15279 /* end confdefs.h. */
15280 int main(int argc, char **argv) { return 0; }
15281 _ACEOF
15282 if ac_fn_c_try_link "$LINENO"; then :
15283 ac_cv_cflags__Wno_format=yes
15284 else
15285 ac_cv_cflags__Wno_format=no
15287 rm -f core conftest.err conftest.$ac_objext \
15288 conftest$ac_exeext conftest.$ac_ext
15289 CFLAGS=$ac_wine_try_cflags_saved
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15292 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15293 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15294 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15295 fi ;;
15296 esac
15298 if test "x$enable_maintainer_mode" = "xyes"
15299 then
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15301 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15302 if ${ac_cv_cflags__Werror+:} false; then :
15303 $as_echo_n "(cached) " >&6
15304 else
15305 ac_wine_try_cflags_saved=$CFLAGS
15306 CFLAGS="$CFLAGS -Werror"
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15309 int main(int argc, char **argv) { return 0; }
15310 _ACEOF
15311 if ac_fn_c_try_link "$LINENO"; then :
15312 ac_cv_cflags__Werror=yes
15313 else
15314 ac_cv_cflags__Werror=no
15316 rm -f core conftest.err conftest.$ac_objext \
15317 conftest$ac_exeext conftest.$ac_ext
15318 CFLAGS=$ac_wine_try_cflags_saved
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15321 $as_echo "$ac_cv_cflags__Werror" >&6; }
15322 if test "x$ac_cv_cflags__Werror" = xyes; then :
15323 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15327 saved_CFLAGS="$CFLAGS"
15328 CFLAGS="$CFLAGS -Werror"
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15330 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15331 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15332 $as_echo_n "(cached) " >&6
15333 else
15334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15335 /* end confdefs.h. */
15336 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15338 main ()
15342 return 0;
15344 _ACEOF
15345 if ac_fn_c_try_compile "$LINENO"; then :
15346 ac_cv_have_ms_hook_prologue="yes"
15347 else
15348 ac_cv_have_ms_hook_prologue="no"
15350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15353 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15354 CFLAGS="$saved_CFLAGS"
15355 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15356 then
15358 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15360 else
15361 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15368 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15369 if ${ac_cv_c_fortify_enabled+:} false; then :
15370 $as_echo_n "(cached) " >&6
15371 else
15372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15373 /* end confdefs.h. */
15374 #include <string.h>
15376 main ()
15378 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15379 #error Fortify enabled
15380 #endif
15382 return 0;
15384 _ACEOF
15385 if ac_fn_c_try_compile "$LINENO"; then :
15386 ac_cv_c_fortify_enabled=no
15387 else
15388 ac_cv_c_fortify_enabled=yes
15390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15393 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15394 if test "$ac_cv_c_fortify_enabled" = yes
15395 then
15396 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15401 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15402 if ${ac_cv_c_extern_prefix+:} false; then :
15403 $as_echo_n "(cached) " >&6
15404 else
15405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15406 /* end confdefs.h. */
15407 extern int ac_test;
15409 main ()
15411 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15413 return 0;
15415 _ACEOF
15416 if ac_fn_c_try_link "$LINENO"; then :
15417 ac_cv_c_extern_prefix="yes"
15418 else
15419 ac_cv_c_extern_prefix="no"
15421 rm -f core conftest.err conftest.$ac_objext \
15422 conftest$ac_exeext conftest.$ac_ext
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15425 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15427 case $host_cpu in
15428 *i[3456789]86*)
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15430 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15431 if ${ac_cv_c_stdcall_suffix+:} false; then :
15432 $as_echo_n "(cached) " >&6
15433 else
15434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15435 /* end confdefs.h. */
15436 #ifndef _MSC_VER
15437 #define __stdcall __attribute__((__stdcall__))
15438 #endif
15439 int __stdcall ac_test(int i) { return i; }
15441 main ()
15443 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15445 return 0;
15447 _ACEOF
15448 if ac_fn_c_try_link "$LINENO"; then :
15449 ac_cv_c_stdcall_suffix="yes"
15450 else
15451 ac_cv_c_stdcall_suffix="no"
15453 rm -f core conftest.err conftest.$ac_objext \
15454 conftest$ac_exeext conftest.$ac_ext
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15457 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15458 *) ac_cv_c_stdcall_suffix="no" ;;
15459 esac
15462 if test "$ac_cv_c_extern_prefix" = "yes"
15463 then
15464 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15466 asm_name_prefix="_"
15467 else
15468 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15470 asm_name_prefix=""
15474 if test "$ac_cv_c_stdcall_suffix" = "yes"
15475 then
15476 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15478 else
15479 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15485 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15486 if ${ac_cv_asm_func_def+:} false; then :
15487 $as_echo_n "(cached) " >&6
15488 else
15489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15490 /* end confdefs.h. */
15493 main ()
15495 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15497 return 0;
15499 _ACEOF
15500 if ac_fn_c_try_link "$LINENO"; then :
15501 ac_cv_asm_func_def=".def"
15502 else
15503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15504 /* end confdefs.h. */
15507 main ()
15509 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15511 return 0;
15513 _ACEOF
15514 if ac_fn_c_try_link "$LINENO"; then :
15515 ac_cv_asm_func_def=".type @function"
15516 else
15517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15518 /* end confdefs.h. */
15521 main ()
15523 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15525 return 0;
15527 _ACEOF
15528 if ac_fn_c_try_link "$LINENO"; then :
15529 ac_cv_asm_func_def=".type 2"
15530 else
15531 ac_cv_asm_func_def="unknown"
15533 rm -f core conftest.err conftest.$ac_objext \
15534 conftest$ac_exeext conftest.$ac_ext
15536 rm -f core conftest.err conftest.$ac_objext \
15537 conftest$ac_exeext conftest.$ac_ext
15539 rm -f core conftest.err conftest.$ac_objext \
15540 conftest$ac_exeext conftest.$ac_ext
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15543 $as_echo "$ac_cv_asm_func_def" >&6; }
15546 case "$ac_cv_asm_func_def" in
15547 ".def")
15548 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15550 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15551 ".type @function")
15552 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15554 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15555 ".type 2")
15556 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15558 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15560 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15562 asm_func_header="" ;;
15563 esac
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15566 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15567 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15568 $as_echo_n "(cached) " >&6
15569 else
15570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15571 /* end confdefs.h. */
15572 asm(".text\n\t.long 0");
15574 main ()
15578 return 0;
15580 _ACEOF
15581 if ac_fn_c_try_compile "$LINENO"; then :
15582 ac_cv_c_asm_outside_funcs="yes"
15583 else
15584 ac_cv_c_asm_outside_funcs="no"
15586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15589 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15592 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15593 if ${ac_cv_c_dot_previous+:} false; then :
15594 $as_echo_n "(cached) " >&6
15595 else
15596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15597 /* end confdefs.h. */
15600 main ()
15602 asm(".text\nac_test:\t.long 0\n\t.previous");
15604 return 0;
15606 _ACEOF
15607 if ac_fn_c_try_link "$LINENO"; then :
15608 ac_cv_c_dot_previous="yes"
15609 else
15610 ac_cv_c_dot_previous="no"
15612 rm -f core conftest.err conftest.$ac_objext \
15613 conftest$ac_exeext conftest.$ac_ext
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15616 $as_echo "$ac_cv_c_dot_previous" >&6; }
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15619 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15620 if ${ac_cv_c_cfi_support+:} false; then :
15621 $as_echo_n "(cached) " >&6
15622 else
15623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15624 /* end confdefs.h. */
15625 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15627 main ()
15631 return 0;
15633 _ACEOF
15634 if ac_fn_c_try_compile "$LINENO"; then :
15635 ac_cv_c_cfi_support="yes"
15636 else
15637 ac_cv_c_cfi_support="no"
15639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15642 $as_echo "$ac_cv_c_cfi_support" >&6; }
15644 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15645 asm_func_trailer=""
15646 if test "$ac_cv_c_dot_previous" = "yes"
15647 then
15648 asm_func_trailer="\\n\\t.previous"
15650 if test "$ac_cv_c_cfi_support" = "yes"
15651 then
15652 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15653 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15655 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15657 UNWINDFLAGS=-fasynchronous-unwind-tables
15659 else
15660 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15662 if test "x$enable_win64" = "xyes"
15663 then
15664 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15668 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15671 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15672 then
15673 cat >>confdefs.h <<_ACEOF
15674 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15675 _ACEOF
15677 else
15678 cat >>confdefs.h <<_ACEOF
15679 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15680 _ACEOF
15684 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15687 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15691 case $build_os in
15692 cygwin*|mingw32*) TOOLSEXT=".exe"
15694 esac
15696 case $host_os in
15697 linux*)
15698 case $host_cpu in
15699 *i[3456789]86*|x86_64*|*aarch64*)
15700 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15701 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15703 esac
15705 esac
15708 ac_save_CFLAGS="$CFLAGS"
15709 CFLAGS="$CFLAGS $BUILTINFLAG"
15710 for ac_func in \
15711 __res_get_state \
15712 __res_getservers \
15713 _finite \
15714 _isnan \
15715 _pclose \
15716 _popen \
15717 _snprintf \
15718 _spawnvp \
15719 _strdup \
15720 _stricmp \
15721 _strnicmp \
15722 _strtoi64 \
15723 _strtoui64 \
15724 _vsnprintf \
15725 asctime_r \
15726 chsize \
15727 dlopen \
15728 epoll_create \
15729 ffs \
15730 finitef \
15731 fnmatch \
15732 fork \
15733 fpclass \
15734 fstatfs \
15735 fstatvfs \
15736 ftruncate \
15737 futimens \
15738 futimes \
15739 futimesat \
15740 getattrlist \
15741 getauxval \
15742 getifaddrs \
15743 getopt_long_only \
15744 getpwuid \
15745 gettimeofday \
15746 getuid \
15747 isnanf \
15748 kqueue \
15749 lstat \
15750 memmove \
15751 mmap \
15752 pclose \
15753 pipe2 \
15754 poll \
15755 popen \
15756 port_create \
15757 prctl \
15758 pread \
15759 proc_pidinfo \
15760 pwrite \
15761 readdir \
15762 readlink \
15763 sched_yield \
15764 select \
15765 setproctitle \
15766 setprogname \
15767 setrlimit \
15768 settimeofday \
15769 sigaltstack \
15770 sigprocmask \
15771 snprintf \
15772 statfs \
15773 statvfs \
15774 strcasecmp \
15775 strdup \
15776 strerror \
15777 strncasecmp \
15778 strnlen \
15779 strtold \
15780 strtoll \
15781 strtoull \
15782 symlink \
15783 sysinfo \
15784 tcdrain \
15785 thr_kill2 \
15786 timegm \
15787 usleep \
15788 vsnprintf
15790 do :
15791 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15792 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15793 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15794 cat >>confdefs.h <<_ACEOF
15795 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15796 _ACEOF
15799 done
15801 CFLAGS="$ac_save_CFLAGS"
15803 if test "$ac_cv_func_dlopen" = no
15804 then
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15806 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15807 if ${ac_cv_lib_dl_dlopen+:} false; then :
15808 $as_echo_n "(cached) " >&6
15809 else
15810 ac_check_lib_save_LIBS=$LIBS
15811 LIBS="-ldl $LIBS"
15812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15813 /* end confdefs.h. */
15815 /* Override any GCC internal prototype to avoid an error.
15816 Use char because int might match the return type of a GCC
15817 builtin and then its argument prototype would still apply. */
15818 #ifdef __cplusplus
15819 extern "C"
15820 #endif
15821 char dlopen ();
15823 main ()
15825 return dlopen ();
15827 return 0;
15829 _ACEOF
15830 if ac_fn_c_try_link "$LINENO"; then :
15831 ac_cv_lib_dl_dlopen=yes
15832 else
15833 ac_cv_lib_dl_dlopen=no
15835 rm -f core conftest.err conftest.$ac_objext \
15836 conftest$ac_exeext conftest.$ac_ext
15837 LIBS=$ac_check_lib_save_LIBS
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15840 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15841 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15842 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15843 DL_LIBS="-ldl"
15848 ac_wine_check_funcs_save_LIBS="$LIBS"
15849 LIBS="$LIBS $DL_LIBS"
15850 for ac_func in dladdr
15851 do :
15852 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15853 if test "x$ac_cv_func_dladdr" = xyes; then :
15854 cat >>confdefs.h <<_ACEOF
15855 #define HAVE_DLADDR 1
15856 _ACEOF
15859 done
15861 LIBS="$ac_wine_check_funcs_save_LIBS"
15863 if test "$ac_cv_func_poll" = no
15864 then
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15866 $as_echo_n "checking for poll in -lpoll... " >&6; }
15867 if ${ac_cv_lib_poll_poll+:} false; then :
15868 $as_echo_n "(cached) " >&6
15869 else
15870 ac_check_lib_save_LIBS=$LIBS
15871 LIBS="-lpoll $LIBS"
15872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15873 /* end confdefs.h. */
15875 /* Override any GCC internal prototype to avoid an error.
15876 Use char because int might match the return type of a GCC
15877 builtin and then its argument prototype would still apply. */
15878 #ifdef __cplusplus
15879 extern "C"
15880 #endif
15881 char poll ();
15883 main ()
15885 return poll ();
15887 return 0;
15889 _ACEOF
15890 if ac_fn_c_try_link "$LINENO"; then :
15891 ac_cv_lib_poll_poll=yes
15892 else
15893 ac_cv_lib_poll_poll=no
15895 rm -f core conftest.err conftest.$ac_objext \
15896 conftest$ac_exeext conftest.$ac_ext
15897 LIBS=$ac_check_lib_save_LIBS
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15900 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15901 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15902 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15903 POLL_LIBS="-lpoll"
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15910 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15911 if ${ac_cv_search_gethostbyname+:} false; then :
15912 $as_echo_n "(cached) " >&6
15913 else
15914 ac_func_search_save_LIBS=$LIBS
15915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15916 /* end confdefs.h. */
15918 /* Override any GCC internal prototype to avoid an error.
15919 Use char because int might match the return type of a GCC
15920 builtin and then its argument prototype would still apply. */
15921 #ifdef __cplusplus
15922 extern "C"
15923 #endif
15924 char gethostbyname ();
15926 main ()
15928 return gethostbyname ();
15930 return 0;
15932 _ACEOF
15933 for ac_lib in '' nsl; do
15934 if test -z "$ac_lib"; then
15935 ac_res="none required"
15936 else
15937 ac_res=-l$ac_lib
15938 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15940 if ac_fn_c_try_link "$LINENO"; then :
15941 ac_cv_search_gethostbyname=$ac_res
15943 rm -f core conftest.err conftest.$ac_objext \
15944 conftest$ac_exeext
15945 if ${ac_cv_search_gethostbyname+:} false; then :
15946 break
15948 done
15949 if ${ac_cv_search_gethostbyname+:} false; then :
15951 else
15952 ac_cv_search_gethostbyname=no
15954 rm conftest.$ac_ext
15955 LIBS=$ac_func_search_save_LIBS
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15958 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15959 ac_res=$ac_cv_search_gethostbyname
15960 if test "$ac_res" != no; then :
15961 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15967 $as_echo_n "checking for library containing connect... " >&6; }
15968 if ${ac_cv_search_connect+:} false; then :
15969 $as_echo_n "(cached) " >&6
15970 else
15971 ac_func_search_save_LIBS=$LIBS
15972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15973 /* end confdefs.h. */
15975 /* Override any GCC internal prototype to avoid an error.
15976 Use char because int might match the return type of a GCC
15977 builtin and then its argument prototype would still apply. */
15978 #ifdef __cplusplus
15979 extern "C"
15980 #endif
15981 char connect ();
15983 main ()
15985 return connect ();
15987 return 0;
15989 _ACEOF
15990 for ac_lib in '' socket; do
15991 if test -z "$ac_lib"; then
15992 ac_res="none required"
15993 else
15994 ac_res=-l$ac_lib
15995 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15997 if ac_fn_c_try_link "$LINENO"; then :
15998 ac_cv_search_connect=$ac_res
16000 rm -f core conftest.err conftest.$ac_objext \
16001 conftest$ac_exeext
16002 if ${ac_cv_search_connect+:} false; then :
16003 break
16005 done
16006 if ${ac_cv_search_connect+:} false; then :
16008 else
16009 ac_cv_search_connect=no
16011 rm conftest.$ac_ext
16012 LIBS=$ac_func_search_save_LIBS
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16015 $as_echo "$ac_cv_search_connect" >&6; }
16016 ac_res=$ac_cv_search_connect
16017 if test "$ac_res" != no; then :
16018 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16024 $as_echo_n "checking for library containing inet_aton... " >&6; }
16025 if ${ac_cv_search_inet_aton+:} false; then :
16026 $as_echo_n "(cached) " >&6
16027 else
16028 ac_func_search_save_LIBS=$LIBS
16029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16030 /* end confdefs.h. */
16032 /* Override any GCC internal prototype to avoid an error.
16033 Use char because int might match the return type of a GCC
16034 builtin and then its argument prototype would still apply. */
16035 #ifdef __cplusplus
16036 extern "C"
16037 #endif
16038 char inet_aton ();
16040 main ()
16042 return inet_aton ();
16044 return 0;
16046 _ACEOF
16047 for ac_lib in '' resolv; do
16048 if test -z "$ac_lib"; then
16049 ac_res="none required"
16050 else
16051 ac_res=-l$ac_lib
16052 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16054 if ac_fn_c_try_link "$LINENO"; then :
16055 ac_cv_search_inet_aton=$ac_res
16057 rm -f core conftest.err conftest.$ac_objext \
16058 conftest$ac_exeext
16059 if ${ac_cv_search_inet_aton+:} false; then :
16060 break
16062 done
16063 if ${ac_cv_search_inet_aton+:} false; then :
16065 else
16066 ac_cv_search_inet_aton=no
16068 rm conftest.$ac_ext
16069 LIBS=$ac_func_search_save_LIBS
16071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16072 $as_echo "$ac_cv_search_inet_aton" >&6; }
16073 ac_res=$ac_cv_search_inet_aton
16074 if test "$ac_res" != no; then :
16075 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16080 for ac_func in \
16081 getaddrinfo \
16082 getnameinfo \
16083 getnetbyname \
16084 getprotobyname \
16085 getprotobynumber \
16086 getservbyport \
16087 inet_addr \
16088 inet_network \
16089 inet_ntop \
16090 inet_pton \
16091 sendmsg \
16092 socketpair \
16094 do :
16095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16096 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16097 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16098 cat >>confdefs.h <<_ACEOF
16099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16100 _ACEOF
16103 done
16106 ac_save_LIBS=$LIBS
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16108 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16109 if ${ac_cv_search_clock_gettime+:} false; then :
16110 $as_echo_n "(cached) " >&6
16111 else
16112 ac_func_search_save_LIBS=$LIBS
16113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16114 /* end confdefs.h. */
16116 /* Override any GCC internal prototype to avoid an error.
16117 Use char because int might match the return type of a GCC
16118 builtin and then its argument prototype would still apply. */
16119 #ifdef __cplusplus
16120 extern "C"
16121 #endif
16122 char clock_gettime ();
16124 main ()
16126 return clock_gettime ();
16128 return 0;
16130 _ACEOF
16131 for ac_lib in '' rt; do
16132 if test -z "$ac_lib"; then
16133 ac_res="none required"
16134 else
16135 ac_res=-l$ac_lib
16136 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16138 if ac_fn_c_try_link "$LINENO"; then :
16139 ac_cv_search_clock_gettime=$ac_res
16141 rm -f core conftest.err conftest.$ac_objext \
16142 conftest$ac_exeext
16143 if ${ac_cv_search_clock_gettime+:} false; then :
16144 break
16146 done
16147 if ${ac_cv_search_clock_gettime+:} false; then :
16149 else
16150 ac_cv_search_clock_gettime=no
16152 rm conftest.$ac_ext
16153 LIBS=$ac_func_search_save_LIBS
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16156 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16157 ac_res=$ac_cv_search_clock_gettime
16158 if test "$ac_res" != no; then :
16159 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16161 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16163 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16167 LIBS=$ac_save_LIBS
16169 if test "x$with_ldap" != "xno"
16170 then
16171 if ${LDAP_CFLAGS:+false} :; then :
16172 if ${PKG_CONFIG+:} false; then :
16173 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16177 if ${LDAP_LIBS:+false} :; then :
16178 if ${PKG_CONFIG+:} false; then :
16179 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16183 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16184 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16185 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16186 ac_save_CPPFLAGS=$CPPFLAGS
16187 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16188 for ac_header in ldap.h lber.h
16189 do :
16190 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16191 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16192 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16193 cat >>confdefs.h <<_ACEOF
16194 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16195 _ACEOF
16199 done
16201 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16202 then
16203 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16205 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16207 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16208 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16209 $as_echo_n "(cached) " >&6
16210 else
16211 ac_check_lib_save_LIBS=$LIBS
16212 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16214 /* end confdefs.h. */
16216 /* Override any GCC internal prototype to avoid an error.
16217 Use char because int might match the return type of a GCC
16218 builtin and then its argument prototype would still apply. */
16219 #ifdef __cplusplus
16220 extern "C"
16221 #endif
16222 char ldap_initialize ();
16224 main ()
16226 return ldap_initialize ();
16228 return 0;
16230 _ACEOF
16231 if ac_fn_c_try_link "$LINENO"; then :
16232 ac_cv_lib_ldap_r_ldap_initialize=yes
16233 else
16234 ac_cv_lib_ldap_r_ldap_initialize=no
16236 rm -f core conftest.err conftest.$ac_objext \
16237 conftest$ac_exeext conftest.$ac_ext
16238 LIBS=$ac_check_lib_save_LIBS
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16241 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16242 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16244 $as_echo_n "checking for ber_init in -llber... " >&6; }
16245 if ${ac_cv_lib_lber_ber_init+:} false; then :
16246 $as_echo_n "(cached) " >&6
16247 else
16248 ac_check_lib_save_LIBS=$LIBS
16249 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16251 /* end confdefs.h. */
16253 /* Override any GCC internal prototype to avoid an error.
16254 Use char because int might match the return type of a GCC
16255 builtin and then its argument prototype would still apply. */
16256 #ifdef __cplusplus
16257 extern "C"
16258 #endif
16259 char ber_init ();
16261 main ()
16263 return ber_init ();
16265 return 0;
16267 _ACEOF
16268 if ac_fn_c_try_link "$LINENO"; then :
16269 ac_cv_lib_lber_ber_init=yes
16270 else
16271 ac_cv_lib_lber_ber_init=no
16273 rm -f core conftest.err conftest.$ac_objext \
16274 conftest$ac_exeext conftest.$ac_ext
16275 LIBS=$ac_check_lib_save_LIBS
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16278 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16279 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16281 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16283 else
16284 LDAP_LIBS=""
16287 else
16288 LDAP_LIBS=""
16291 else
16292 LDAP_LIBS=""
16295 ac_wine_check_funcs_save_LIBS="$LIBS"
16296 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16297 for ac_func in \
16298 ldap_count_references \
16299 ldap_first_reference \
16300 ldap_next_reference \
16301 ldap_parse_reference \
16302 ldap_parse_sort_control \
16303 ldap_parse_sortresponse_control \
16304 ldap_parse_vlv_control \
16305 ldap_parse_vlvresponse_control
16306 do :
16307 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16308 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16309 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16310 cat >>confdefs.h <<_ACEOF
16311 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16312 _ACEOF
16315 done
16317 LIBS="$ac_wine_check_funcs_save_LIBS"
16318 else
16319 LDAP_LIBS=""
16321 CPPFLAGS=$ac_save_CPPFLAGS
16322 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16323 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16326 if test "x$LDAP_LIBS" = "x"; then :
16327 case "x$with_ldap" in
16328 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16329 xno) ;;
16330 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16331 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16332 esac
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16337 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16338 if ${wine_cv_one_arg_mkdir+:} false; then :
16339 $as_echo_n "(cached) " >&6
16340 else
16341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16342 /* end confdefs.h. */
16343 #include <sys/stat.h>
16345 main ()
16347 mkdir("foo");
16349 return 0;
16351 _ACEOF
16352 if ac_fn_c_try_compile "$LINENO"; then :
16353 wine_cv_one_arg_mkdir=yes
16354 else
16355 wine_cv_one_arg_mkdir=no
16357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16360 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16361 if test "$wine_cv_one_arg_mkdir" = "yes"
16362 then
16364 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16369 $as_echo_n "checking for sched_setaffinity... " >&6; }
16370 if ${wine_cv_have_sched_setaffinity+:} false; then :
16371 $as_echo_n "(cached) " >&6
16372 else
16373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16374 /* end confdefs.h. */
16375 #define _GNU_SOURCE
16376 #include <sched.h>
16378 main ()
16380 sched_setaffinity(0, 0, 0);
16382 return 0;
16384 _ACEOF
16385 if ac_fn_c_try_link "$LINENO"; then :
16386 wine_cv_have_sched_setaffinity=yes
16387 else
16388 wine_cv_have_sched_setaffinity=no
16390 rm -f core conftest.err conftest.$ac_objext \
16391 conftest$ac_exeext conftest.$ac_ext
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16394 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16395 if test "$wine_cv_have_sched_setaffinity" = "yes"
16396 then
16398 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16403 $as_echo_n "checking for fallocate... " >&6; }
16404 if ${wine_cv_have_fallocate+:} false; then :
16405 $as_echo_n "(cached) " >&6
16406 else
16407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16408 /* end confdefs.h. */
16409 #define _GNU_SOURCE
16410 #include <fcntl.h>
16412 main ()
16414 fallocate(-1, 0, 0, 0);
16416 return 0;
16418 _ACEOF
16419 if ac_fn_c_try_link "$LINENO"; then :
16420 wine_cv_have_fallocate=yes
16421 else
16422 wine_cv_have_fallocate=no
16424 rm -f core conftest.err conftest.$ac_objext \
16425 conftest$ac_exeext conftest.$ac_ext
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16428 $as_echo "$wine_cv_have_fallocate" >&6; }
16429 if test "$wine_cv_have_fallocate" = "yes"
16430 then
16432 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16438 $as_echo_n "checking for inline... " >&6; }
16439 if ${ac_cv_c_inline+:} false; then :
16440 $as_echo_n "(cached) " >&6
16441 else
16442 ac_cv_c_inline=no
16443 for ac_kw in inline __inline__ __inline; do
16444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16445 /* end confdefs.h. */
16446 #ifndef __cplusplus
16447 typedef int foo_t;
16448 static $ac_kw foo_t static_foo () {return 0; }
16449 $ac_kw foo_t foo () {return 0; }
16450 #endif
16452 _ACEOF
16453 if ac_fn_c_try_compile "$LINENO"; then :
16454 ac_cv_c_inline=$ac_kw
16456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16457 test "$ac_cv_c_inline" != no && break
16458 done
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16462 $as_echo "$ac_cv_c_inline" >&6; }
16464 case $ac_cv_c_inline in
16465 inline | yes) ;;
16467 case $ac_cv_c_inline in
16468 no) ac_val=;;
16469 *) ac_val=$ac_cv_c_inline;;
16470 esac
16471 cat >>confdefs.h <<_ACEOF
16472 #ifndef __cplusplus
16473 #define inline $ac_val
16474 #endif
16475 _ACEOF
16477 esac
16479 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16480 if test "x$ac_cv_type_mode_t" = xyes; then :
16482 cat >>confdefs.h <<_ACEOF
16483 #define HAVE_MODE_T 1
16484 _ACEOF
16488 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16489 if test "x$ac_cv_type_off_t" = xyes; then :
16491 cat >>confdefs.h <<_ACEOF
16492 #define HAVE_OFF_T 1
16493 _ACEOF
16497 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16498 if test "x$ac_cv_type_pid_t" = xyes; then :
16500 cat >>confdefs.h <<_ACEOF
16501 #define HAVE_PID_T 1
16502 _ACEOF
16506 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16507 if test "x$ac_cv_type_size_t" = xyes; then :
16509 cat >>confdefs.h <<_ACEOF
16510 #define HAVE_SIZE_T 1
16511 _ACEOF
16515 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16516 if test "x$ac_cv_type_ssize_t" = xyes; then :
16518 cat >>confdefs.h <<_ACEOF
16519 #define HAVE_SSIZE_T 1
16520 _ACEOF
16524 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16525 if test "x$ac_cv_type_long_long" = xyes; then :
16527 cat >>confdefs.h <<_ACEOF
16528 #define HAVE_LONG_LONG 1
16529 _ACEOF
16533 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16534 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16536 cat >>confdefs.h <<_ACEOF
16537 #define HAVE_FSBLKCNT_T 1
16538 _ACEOF
16542 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16543 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16545 cat >>confdefs.h <<_ACEOF
16546 #define HAVE_FSFILCNT_T 1
16547 _ACEOF
16552 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16553 #include <signal.h>
16555 if test "x$ac_cv_type_sigset_t" = xyes; then :
16557 cat >>confdefs.h <<_ACEOF
16558 #define HAVE_SIGSET_T 1
16559 _ACEOF
16564 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16566 if test "x$ac_cv_type_request_sense" = xyes; then :
16568 cat >>confdefs.h <<_ACEOF
16569 #define HAVE_REQUEST_SENSE 1
16570 _ACEOF
16576 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16577 #ifdef HAVE_SYS_SOCKET_H
16578 #include <sys/socket.h>
16579 #endif
16580 #ifdef HAVE_SYS_SOCKETVAR_H
16581 #include <sys/socketvar.h>
16582 #endif
16583 #ifdef HAVE_NET_ROUTE_H
16584 #include <net/route.h>
16585 #endif
16586 #ifdef HAVE_NETINET_IN_H
16587 #include <netinet/in.h>
16588 #endif
16589 #ifdef HAVE_NETINET_IN_SYSTM_H
16590 #include <netinet/in_systm.h>
16591 #endif
16592 #ifdef HAVE_NETINET_IP_H
16593 #include <netinet/ip.h>
16594 #endif
16595 #ifdef HAVE_NETINET_IN_PCB_H
16596 #include <netinet/in_pcb.h>
16597 #endif
16599 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16601 cat >>confdefs.h <<_ACEOF
16602 #define HAVE_STRUCT_XINPGEN 1
16603 _ACEOF
16609 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16610 #include <link.h>
16611 #endif
16612 #ifdef HAVE_SYS_LINK_H
16613 #include <sys/link.h>
16614 #endif
16616 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16618 cat >>confdefs.h <<_ACEOF
16619 #define HAVE_STRUCT_R_DEBUG 1
16620 _ACEOF
16624 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16625 #include <link.h>
16626 #endif
16627 #ifdef HAVE_SYS_LINK_H
16628 #include <sys/link.h>
16629 #endif
16631 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16633 cat >>confdefs.h <<_ACEOF
16634 #define HAVE_STRUCT_LINK_MAP 1
16635 _ACEOF
16641 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16642 #include <linux/input.h>
16643 #endif
16645 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16647 cat >>confdefs.h <<_ACEOF
16648 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16649 _ACEOF
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16656 $as_echo_n "checking for if_nameindex... " >&6; }
16657 if ${wine_cv_have_if_nameindex+:} false; then :
16658 $as_echo_n "(cached) " >&6
16659 else
16660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16661 /* end confdefs.h. */
16662 #ifdef HAVE_SYS_TYPES_H
16663 #include <sys/types.h>
16664 #endif
16665 #ifdef HAVE_SYS_SOCKET_H
16666 #include <sys/socket.h>
16667 #endif
16668 #ifdef HAVE_NET_IF_H
16669 # include <net/if.h>
16670 #endif
16672 main ()
16674 struct if_nameindex *p = if_nameindex(); return p->if_index;
16676 return 0;
16678 _ACEOF
16679 if ac_fn_c_try_link "$LINENO"; then :
16680 wine_cv_have_if_nameindex=yes
16681 else
16682 wine_cv_have_if_nameindex=no
16684 rm -f core conftest.err conftest.$ac_objext \
16685 conftest$ac_exeext conftest.$ac_ext
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16688 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16689 if test "$wine_cv_have_if_nameindex" = "yes"
16690 then
16692 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16697 $as_echo_n "checking for sigaddset... " >&6; }
16698 if ${wine_cv_have_sigaddset+:} false; then :
16699 $as_echo_n "(cached) " >&6
16700 else
16701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16702 /* end confdefs.h. */
16703 #include <signal.h>
16705 main ()
16707 sigset_t set; sigaddset(&set,SIGTERM);
16709 return 0;
16711 _ACEOF
16712 if ac_fn_c_try_link "$LINENO"; then :
16713 wine_cv_have_sigaddset=yes
16714 else
16715 wine_cv_have_sigaddset=no
16717 rm -f core conftest.err conftest.$ac_objext \
16718 conftest$ac_exeext conftest.$ac_ext
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16721 $as_echo "$wine_cv_have_sigaddset" >&6; }
16722 if test "$wine_cv_have_sigaddset" = "yes"
16723 then
16725 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16731 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16732 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16733 $as_echo_n "(cached) " >&6
16734 else
16735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16736 /* end confdefs.h. */
16737 #include <netdb.h>
16739 main ()
16742 char *name=0;
16743 struct hostent he;
16744 struct hostent *result;
16745 char *buf=0;
16746 int bufsize=0;
16747 int errnr;
16748 char *addr=0;
16749 int addrlen=0;
16750 int addrtype=0;
16751 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16752 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16755 return 0;
16757 _ACEOF
16758 if ac_fn_c_try_link "$LINENO"; then :
16759 wine_cv_linux_gethostbyname_r_6=yes
16760 else
16761 wine_cv_linux_gethostbyname_r_6=no
16764 rm -f core conftest.err conftest.$ac_objext \
16765 conftest$ac_exeext conftest.$ac_ext
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16769 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16770 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16771 then
16773 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16777 if test "$ac_cv_header_linux_joystick_h" = "yes"
16778 then
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16780 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16781 if ${wine_cv_linux_joystick_22_api+:} false; then :
16782 $as_echo_n "(cached) " >&6
16783 else
16784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16785 /* end confdefs.h. */
16787 #include <sys/ioctl.h>
16788 #include <sys/types.h>
16789 #include <linux/joystick.h>
16791 struct js_event blub;
16792 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16793 #error "no 2.2 header"
16794 #endif
16797 main ()
16799 /*empty*/
16801 return 0;
16803 _ACEOF
16804 if ac_fn_c_try_compile "$LINENO"; then :
16805 wine_cv_linux_joystick_22_api=yes
16806 else
16807 wine_cv_linux_joystick_22_api=no
16809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16813 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16814 if test "$wine_cv_linux_joystick_22_api" = "yes"
16815 then
16817 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16823 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16824 #ifdef HAVE_SYS_PARAM_H
16825 # include <sys/param.h>
16826 #endif
16827 #ifdef HAVE_SYS_MOUNT_H
16828 # include <sys/mount.h>
16829 #endif
16830 #ifdef HAVE_SYS_VFS_H
16831 # include <sys/vfs.h>
16832 #endif
16833 #ifdef HAVE_SYS_STATFS_H
16834 # include <sys/statfs.h>
16835 #endif
16837 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16839 cat >>confdefs.h <<_ACEOF
16840 #define HAVE_STRUCT_STATFS_F_BFREE 1
16841 _ACEOF
16845 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16846 #ifdef HAVE_SYS_PARAM_H
16847 # include <sys/param.h>
16848 #endif
16849 #ifdef HAVE_SYS_MOUNT_H
16850 # include <sys/mount.h>
16851 #endif
16852 #ifdef HAVE_SYS_VFS_H
16853 # include <sys/vfs.h>
16854 #endif
16855 #ifdef HAVE_SYS_STATFS_H
16856 # include <sys/statfs.h>
16857 #endif
16859 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16861 cat >>confdefs.h <<_ACEOF
16862 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16863 _ACEOF
16867 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16868 #ifdef HAVE_SYS_PARAM_H
16869 # include <sys/param.h>
16870 #endif
16871 #ifdef HAVE_SYS_MOUNT_H
16872 # include <sys/mount.h>
16873 #endif
16874 #ifdef HAVE_SYS_VFS_H
16875 # include <sys/vfs.h>
16876 #endif
16877 #ifdef HAVE_SYS_STATFS_H
16878 # include <sys/statfs.h>
16879 #endif
16881 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16883 cat >>confdefs.h <<_ACEOF
16884 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16885 _ACEOF
16889 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16890 #ifdef HAVE_SYS_PARAM_H
16891 # include <sys/param.h>
16892 #endif
16893 #ifdef HAVE_SYS_MOUNT_H
16894 # include <sys/mount.h>
16895 #endif
16896 #ifdef HAVE_SYS_VFS_H
16897 # include <sys/vfs.h>
16898 #endif
16899 #ifdef HAVE_SYS_STATFS_H
16900 # include <sys/statfs.h>
16901 #endif
16903 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16905 cat >>confdefs.h <<_ACEOF
16906 #define HAVE_STRUCT_STATFS_F_FFREE 1
16907 _ACEOF
16911 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16912 #ifdef HAVE_SYS_PARAM_H
16913 # include <sys/param.h>
16914 #endif
16915 #ifdef HAVE_SYS_MOUNT_H
16916 # include <sys/mount.h>
16917 #endif
16918 #ifdef HAVE_SYS_VFS_H
16919 # include <sys/vfs.h>
16920 #endif
16921 #ifdef HAVE_SYS_STATFS_H
16922 # include <sys/statfs.h>
16923 #endif
16925 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16927 cat >>confdefs.h <<_ACEOF
16928 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16929 _ACEOF
16933 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16934 #ifdef HAVE_SYS_PARAM_H
16935 # include <sys/param.h>
16936 #endif
16937 #ifdef HAVE_SYS_MOUNT_H
16938 # include <sys/mount.h>
16939 #endif
16940 #ifdef HAVE_SYS_VFS_H
16941 # include <sys/vfs.h>
16942 #endif
16943 #ifdef HAVE_SYS_STATFS_H
16944 # include <sys/statfs.h>
16945 #endif
16947 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16949 cat >>confdefs.h <<_ACEOF
16950 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16951 _ACEOF
16957 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16958 #include <sys/statvfs.h>
16959 #endif
16961 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16963 cat >>confdefs.h <<_ACEOF
16964 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16965 _ACEOF
16971 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16972 #include <dirent.h>
16973 #endif
16975 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16977 cat >>confdefs.h <<_ACEOF
16978 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16979 _ACEOF
16985 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16986 #ifdef HAVE_SYS_SOCKET_H
16987 # include <sys/socket.h>
16988 #endif
16989 #ifdef HAVE_SYS_UN_H
16990 # include <sys/un.h>
16991 #endif
16993 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16995 cat >>confdefs.h <<_ACEOF
16996 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16997 _ACEOF
17001 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17002 #ifdef HAVE_SYS_SOCKET_H
17003 # include <sys/socket.h>
17004 #endif
17005 #ifdef HAVE_SYS_UN_H
17006 # include <sys/un.h>
17007 #endif
17009 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17011 cat >>confdefs.h <<_ACEOF
17012 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17013 _ACEOF
17017 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17018 #ifdef HAVE_SYS_SOCKET_H
17019 # include <sys/socket.h>
17020 #endif
17021 #ifdef HAVE_SYS_UN_H
17022 # include <sys/un.h>
17023 #endif
17025 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17027 cat >>confdefs.h <<_ACEOF
17028 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17029 _ACEOF
17035 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17036 #ifdef HAVE_SCSI_SG_H
17037 #include <scsi/sg.h>
17038 #endif
17040 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17042 cat >>confdefs.h <<_ACEOF
17043 #define HAVE_SCSIREQ_T_CMD 1
17044 _ACEOF
17048 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>
17049 #ifdef HAVE_SCSI_SG_H
17050 #include <scsi/sg.h>
17051 #endif
17053 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17055 cat >>confdefs.h <<_ACEOF
17056 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17057 _ACEOF
17063 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17065 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17067 cat >>confdefs.h <<_ACEOF
17068 #define HAVE_SIGINFO_T_SI_FD 1
17069 _ACEOF
17075 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17076 #ifdef HAVE_SYS_MTIO_H
17077 #include <sys/mtio.h>
17078 #endif
17080 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17082 cat >>confdefs.h <<_ACEOF
17083 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17084 _ACEOF
17088 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17089 #ifdef HAVE_SYS_MTIO_H
17090 #include <sys/mtio.h>
17091 #endif
17093 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17095 cat >>confdefs.h <<_ACEOF
17096 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17097 _ACEOF
17101 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17102 #ifdef HAVE_SYS_MTIO_H
17103 #include <sys/mtio.h>
17104 #endif
17106 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17108 cat >>confdefs.h <<_ACEOF
17109 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17110 _ACEOF
17116 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17117 #include <getopt.h>
17118 #endif
17120 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17122 cat >>confdefs.h <<_ACEOF
17123 #define HAVE_STRUCT_OPTION_NAME 1
17124 _ACEOF
17130 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17131 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17133 cat >>confdefs.h <<_ACEOF
17134 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17135 _ACEOF
17139 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17140 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17142 cat >>confdefs.h <<_ACEOF
17143 #define HAVE_STRUCT_STAT_ST_MTIM 1
17144 _ACEOF
17148 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17149 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17151 cat >>confdefs.h <<_ACEOF
17152 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17153 _ACEOF
17157 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17158 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17160 cat >>confdefs.h <<_ACEOF
17161 #define HAVE_STRUCT_STAT_ST_CTIM 1
17162 _ACEOF
17166 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17167 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17169 cat >>confdefs.h <<_ACEOF
17170 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17171 _ACEOF
17175 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17176 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17178 cat >>confdefs.h <<_ACEOF
17179 #define HAVE_STRUCT_STAT_ST_ATIM 1
17180 _ACEOF
17184 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17185 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17187 cat >>confdefs.h <<_ACEOF
17188 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17189 _ACEOF
17193 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17194 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17196 cat >>confdefs.h <<_ACEOF
17197 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17198 _ACEOF
17202 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17203 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17205 cat >>confdefs.h <<_ACEOF
17206 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17207 _ACEOF
17211 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17212 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17214 cat >>confdefs.h <<_ACEOF
17215 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17216 _ACEOF
17220 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17221 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17223 cat >>confdefs.h <<_ACEOF
17224 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17225 _ACEOF
17229 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17230 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17232 cat >>confdefs.h <<_ACEOF
17233 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17234 _ACEOF
17240 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
17241 #include <sys/types.h>
17242 #endif
17243 #ifdef HAVE_NETINET_IN_H
17244 #include <netinet/in.h>
17245 #endif
17247 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17249 cat >>confdefs.h <<_ACEOF
17250 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17251 _ACEOF
17257 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17258 #include <sys/types.h>
17259 #endif
17260 #ifdef HAVE_NETINET_IN_H
17261 #include <netinet/in.h>
17262 #endif
17263 #ifdef HAVE_RESOLV_H
17264 #include <resolv.h>
17265 #endif
17267 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17269 cat >>confdefs.h <<_ACEOF
17270 #define HAVE_STRUCT___RES_STATE 1
17271 _ACEOF
17277 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
17278 #include <resolv.h>
17279 #endif
17281 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17283 cat >>confdefs.h <<_ACEOF
17284 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17285 _ACEOF
17291 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17292 #include <sys/types.h>
17293 #endif
17294 #ifdef HAVE_NETINET_IN_H
17295 # include <netinet/in.h>
17296 #endif
17297 #ifdef HAVE_ARPA_NAMESER_H
17298 # include <arpa/nameser.h>
17299 #endif
17301 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17303 cat >>confdefs.h <<_ACEOF
17304 #define HAVE_NS_MSG__MSG_PTR 1
17305 _ACEOF
17311 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17312 #include <sys/types.h>
17313 #endif
17314 #ifdef HAVE_NETINET_IN_H
17315 #include <netinet/in.h>
17316 #endif
17317 #ifdef HAVE_NETINET_IP_H
17318 #include <netinet/ip.h>
17319 #endif
17320 #ifdef HAVE_NETINET_IP_ICMP_H
17321 #include <netinet/ip_icmp.h>
17322 #endif
17323 #ifdef HAVE_NETINET_ICMP_VAR_H
17324 #include <netinet/icmp_var.h>
17325 #endif
17327 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17329 cat >>confdefs.h <<_ACEOF
17330 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17331 _ACEOF
17337 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17338 #include <sys/types.h>
17339 #endif
17340 #ifdef HAVE_ALIAS_H
17341 #include <alias.h>
17342 #endif
17343 #ifdef HAVE_SYS_SOCKET_H
17344 #include <sys/socket.h>
17345 #endif
17346 #ifdef HAVE_SYS_SOCKETVAR_H
17347 #include <sys/socketvar.h>
17348 #endif
17349 #ifdef HAVE_SYS_TIMEOUT_H
17350 #include <sys/timeout.h>
17351 #endif
17352 #ifdef HAVE_NETINET_IN_H
17353 #include <netinet/in.h>
17354 #endif
17355 #ifdef HAVE_NETINET_IN_SYSTM_H
17356 #include <netinet/in_systm.h>
17357 #endif
17358 #ifdef HAVE_NETINET_IP_H
17359 #include <netinet/ip.h>
17360 #endif
17361 #ifdef HAVE_NETINET_IP_VAR_H
17362 #include <netinet/ip_var.h>
17363 #endif
17364 #ifdef HAVE_NETINET_IP_ICMP_H
17365 #include <netinet/ip_icmp.h>
17366 #endif
17367 #ifdef HAVE_NETINET_ICMP_VAR_H
17368 #include <netinet/icmp_var.h>
17369 #endif
17371 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17373 cat >>confdefs.h <<_ACEOF
17374 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17375 _ACEOF
17381 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17382 #include <sys/types.h>
17383 #endif
17384 #ifdef HAVE_SYS_SOCKETVAR_H
17385 #include <sys/socketvar.h>
17386 #endif
17387 #ifdef HAVE_NETINET_IN_H
17388 #include <netinet/in.h>
17389 #endif
17390 #ifdef HAVE_NETINET_IP_VAR_H
17391 #include <netinet/ip_var.h>
17392 #endif
17394 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17396 cat >>confdefs.h <<_ACEOF
17397 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17398 _ACEOF
17404 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
17405 #include <netinet/ip_var.h>
17406 #endif
17408 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17410 cat >>confdefs.h <<_ACEOF
17411 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17412 _ACEOF
17418 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17419 #include <sys/types.h>
17420 #endif
17421 #ifdef HAVE_SYS_SOCKETVAR_H
17422 #include <sys/socketvar.h>
17423 #endif
17424 #ifdef HAVE_NETINET_IN_H
17425 #include <netinet/in.h>
17426 #endif
17427 #ifdef HAVE_NETINET_TCP_H
17428 #include <netinet/tcp.h>
17429 #endif
17430 #ifdef HAVE_NETINET_TCP_VAR_H
17431 #include <netinet/tcp_var.h>
17432 #endif
17434 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17436 cat >>confdefs.h <<_ACEOF
17437 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17438 _ACEOF
17444 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
17445 #include <netinet/tcp_var.h>
17446 #endif
17448 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17450 cat >>confdefs.h <<_ACEOF
17451 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17452 _ACEOF
17458 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17459 #include <sys/types.h>
17460 #endif
17461 #ifdef HAVE_NETINET_IN_H
17462 #include <netinet/in.h>
17463 #endif
17464 #ifdef HAVE_NETINET_IP_VAR_H
17465 #include <netinet/ip_var.h>
17466 #endif
17467 #ifdef HAVE_NETINET_UDP_H
17468 #include <netinet/udp.h>
17469 #endif
17470 #ifdef HAVE_NETINET_UDP_VAR_H
17471 #include <netinet/udp_var.h>
17472 #endif
17474 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17476 cat >>confdefs.h <<_ACEOF
17477 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17478 _ACEOF
17484 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17485 #include <sys/types.h>
17486 #endif
17487 #ifdef HAVE_NET_IF_H
17488 # include <net/if.h>
17489 #endif
17491 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17493 cat >>confdefs.h <<_ACEOF
17494 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17495 _ACEOF
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17502 $as_echo_n "checking for timezone variable... " >&6; }
17503 if ${ac_cv_have_timezone+:} false; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17507 /* end confdefs.h. */
17508 #include <time.h>
17510 main ()
17512 timezone = 1
17514 return 0;
17516 _ACEOF
17517 if ac_fn_c_try_link "$LINENO"; then :
17518 ac_cv_have_timezone="yes"
17519 else
17520 ac_cv_have_timezone="no"
17522 rm -f core conftest.err conftest.$ac_objext \
17523 conftest$ac_exeext conftest.$ac_ext
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17526 $as_echo "$ac_cv_have_timezone" >&6; }
17527 if test "$ac_cv_have_timezone" = "yes"
17528 then
17530 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17534 $as_echo_n "checking for daylight variable... " >&6; }
17535 if ${ac_cv_have_daylight+:} false; then :
17536 $as_echo_n "(cached) " >&6
17537 else
17538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17539 /* end confdefs.h. */
17540 #include <time.h>
17542 main ()
17544 daylight = 1
17546 return 0;
17548 _ACEOF
17549 if ac_fn_c_try_link "$LINENO"; then :
17550 ac_cv_have_daylight="yes"
17551 else
17552 ac_cv_have_daylight="no"
17554 rm -f core conftest.err conftest.$ac_objext \
17555 conftest$ac_exeext conftest.$ac_ext
17557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17558 $as_echo "$ac_cv_have_daylight" >&6; }
17559 if test "$ac_cv_have_daylight" = "yes"
17560 then
17562 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17566 ac_save_LIBS="$LIBS"
17567 LIBS="$LIBS -lm"
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17569 $as_echo_n "checking for isfinite... " >&6; }
17570 if ${ac_cv_have_isfinite+:} false; then :
17571 $as_echo_n "(cached) " >&6
17572 else
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h. */
17575 #define _GNU_SOURCE
17576 #include <math.h>
17578 main ()
17580 float f = 0.0; return isfinite(f)
17582 return 0;
17584 _ACEOF
17585 if ac_fn_c_try_link "$LINENO"; then :
17586 ac_cv_have_isfinite="yes"
17587 else
17588 ac_cv_have_isfinite="no"
17590 rm -f core conftest.err conftest.$ac_objext \
17591 conftest$ac_exeext conftest.$ac_ext
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17594 $as_echo "$ac_cv_have_isfinite" >&6; }
17595 if test "$ac_cv_have_isfinite" = "yes"
17596 then
17598 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17603 $as_echo_n "checking for isinf... " >&6; }
17604 if ${ac_cv_have_isinf+:} false; then :
17605 $as_echo_n "(cached) " >&6
17606 else
17607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17608 /* end confdefs.h. */
17609 #include <math.h>
17611 main ()
17613 float f = 0.0; return isinf(f)
17615 return 0;
17617 _ACEOF
17618 if ac_fn_c_try_link "$LINENO"; then :
17619 ac_cv_have_isinf="yes"
17620 else
17621 ac_cv_have_isinf="no"
17623 rm -f core conftest.err conftest.$ac_objext \
17624 conftest$ac_exeext conftest.$ac_ext
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17627 $as_echo "$ac_cv_have_isinf" >&6; }
17628 if test "$ac_cv_have_isinf" = "yes"
17629 then
17631 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17636 $as_echo_n "checking for isnan... " >&6; }
17637 if ${ac_cv_have_isnan+:} false; then :
17638 $as_echo_n "(cached) " >&6
17639 else
17640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17641 /* end confdefs.h. */
17642 #include <math.h>
17644 main ()
17646 float f = 0.0; return isnan(f)
17648 return 0;
17650 _ACEOF
17651 if ac_fn_c_try_link "$LINENO"; then :
17652 ac_cv_have_isnan="yes"
17653 else
17654 ac_cv_have_isnan="no"
17656 rm -f core conftest.err conftest.$ac_objext \
17657 conftest$ac_exeext conftest.$ac_ext
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17660 $as_echo "$ac_cv_have_isnan" >&6; }
17661 if test "$ac_cv_have_isnan" = "yes"
17662 then
17664 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17668 for ac_func in \
17669 acosh \
17670 acoshf \
17671 asinh \
17672 asinhf \
17673 atanh \
17674 atanhf \
17675 cbrt \
17676 cbrtf \
17677 erf \
17678 erfc \
17679 erfcf \
17680 erff \
17681 exp2 \
17682 exp2f \
17683 expm1 \
17684 expm1f \
17685 j0 \
17686 j1 \
17687 jn \
17688 lgamma \
17689 lgammaf \
17690 llrint \
17691 llrintf \
17692 llround \
17693 llroundf \
17694 log1p \
17695 log1pf \
17696 log2 \
17697 log2f \
17698 lrint \
17699 lrintf \
17700 lround \
17701 lroundf \
17702 nearbyint \
17703 nearbyintf \
17704 powl \
17705 remainder \
17706 remainderf \
17707 rint \
17708 rintf \
17709 round \
17710 roundf \
17711 trunc \
17712 truncf \
17713 y0 \
17714 y1 \
17717 do :
17718 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17719 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17720 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17721 cat >>confdefs.h <<_ACEOF
17722 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17723 _ACEOF
17726 done
17728 LIBS="$ac_save_LIBS"
17730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17731 $as_echo_n "checking for __builtin_clz... " >&6; }
17732 if ${ac_cv_have___builtin_clz+:} false; then :
17733 $as_echo_n "(cached) " >&6
17734 else
17735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17736 /* end confdefs.h. */
17739 main ()
17741 return __builtin_clz(1)
17743 return 0;
17745 _ACEOF
17746 if ac_fn_c_try_link "$LINENO"; then :
17747 ac_cv_have___builtin_clz="yes"
17748 else
17749 ac_cv_have___builtin_clz="no"
17751 rm -f core conftest.err conftest.$ac_objext \
17752 conftest$ac_exeext conftest.$ac_ext
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17755 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17756 if test "$ac_cv_have___builtin_clz" = "yes"
17757 then
17759 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17764 $as_echo_n "checking for __builtin_popcount... " >&6; }
17765 if ${ac_cv_have___builtin_popcount+:} false; then :
17766 $as_echo_n "(cached) " >&6
17767 else
17768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h. */
17772 main ()
17774 return __builtin_popcount(1)
17776 return 0;
17778 _ACEOF
17779 if ac_fn_c_try_link "$LINENO"; then :
17780 ac_cv_have___builtin_popcount="yes"
17781 else
17782 ac_cv_have___builtin_popcount="no"
17784 rm -f core conftest.err conftest.$ac_objext \
17785 conftest$ac_exeext conftest.$ac_ext
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17788 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17789 if test "$ac_cv_have___builtin_popcount" = "yes"
17790 then
17792 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17797 $as_echo_n "checking for __clear_cache... " >&6; }
17798 if ${ac_cv_have___clear_cache+:} false; then :
17799 $as_echo_n "(cached) " >&6
17800 else
17801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17802 /* end confdefs.h. */
17805 main ()
17807 __clear_cache((void*)0, (void*)0); return 0;
17809 return 0;
17811 _ACEOF
17812 if ac_fn_c_try_link "$LINENO"; then :
17813 ac_cv_have___clear_cache="yes"
17814 else
17815 ac_cv_have___clear_cache="no"
17817 rm -f core conftest.err conftest.$ac_objext \
17818 conftest$ac_exeext conftest.$ac_ext
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17821 $as_echo "$ac_cv_have___clear_cache" >&6; }
17822 if test "$ac_cv_have___clear_cache" = "yes"
17823 then
17825 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17830 case $host_cpu in
17831 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17832 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17833 if ${ac_cv_cpp_def___i386__+:} false; then :
17834 $as_echo_n "(cached) " >&6
17835 else
17836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17837 /* end confdefs.h. */
17838 #ifndef __i386__
17840 #endif
17841 _ACEOF
17842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17843 $EGREP "yes" >/dev/null 2>&1; then :
17844 ac_cv_cpp_def___i386__=yes
17845 else
17846 ac_cv_cpp_def___i386__=no
17848 rm -f conftest*
17851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17852 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17853 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17854 CFLAGS="$CFLAGS -D__i386__"
17855 LINTFLAGS="$LINTFLAGS -D__i386__"
17856 fi ;;
17857 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17858 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17859 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17860 $as_echo_n "(cached) " >&6
17861 else
17862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17863 /* end confdefs.h. */
17864 #ifndef __x86_64__
17866 #endif
17867 _ACEOF
17868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17869 $EGREP "yes" >/dev/null 2>&1; then :
17870 ac_cv_cpp_def___x86_64__=yes
17871 else
17872 ac_cv_cpp_def___x86_64__=no
17874 rm -f conftest*
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17878 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17879 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17880 CFLAGS="$CFLAGS -D__x86_64__"
17881 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17882 fi ;;
17883 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17884 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17885 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17886 $as_echo_n "(cached) " >&6
17887 else
17888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17889 /* end confdefs.h. */
17890 #ifndef __sparc64__
17892 #endif
17893 _ACEOF
17894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17895 $EGREP "yes" >/dev/null 2>&1; then :
17896 ac_cv_cpp_def___sparc64__=yes
17897 else
17898 ac_cv_cpp_def___sparc64__=no
17900 rm -f conftest*
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17904 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17905 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17906 CFLAGS="$CFLAGS -D__sparc64__"
17907 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17908 fi ;;
17909 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17910 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17911 if ${ac_cv_cpp_def___sparc__+:} false; then :
17912 $as_echo_n "(cached) " >&6
17913 else
17914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17915 /* end confdefs.h. */
17916 #ifndef __sparc__
17918 #endif
17919 _ACEOF
17920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17921 $EGREP "yes" >/dev/null 2>&1; then :
17922 ac_cv_cpp_def___sparc__=yes
17923 else
17924 ac_cv_cpp_def___sparc__=no
17926 rm -f conftest*
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17930 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17931 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17932 CFLAGS="$CFLAGS -D__sparc__"
17933 LINTFLAGS="$LINTFLAGS -D__sparc__"
17934 fi ;;
17935 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17936 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17937 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17938 $as_echo_n "(cached) " >&6
17939 else
17940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17941 /* end confdefs.h. */
17942 #ifndef __powerpc64__
17944 #endif
17945 _ACEOF
17946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17947 $EGREP "yes" >/dev/null 2>&1; then :
17948 ac_cv_cpp_def___powerpc64__=yes
17949 else
17950 ac_cv_cpp_def___powerpc64__=no
17952 rm -f conftest*
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17956 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17957 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17958 CFLAGS="$CFLAGS -D__powerpc64__"
17959 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17960 fi ;;
17961 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17962 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17963 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17964 $as_echo_n "(cached) " >&6
17965 else
17966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17967 /* end confdefs.h. */
17968 #ifndef __powerpc__
17970 #endif
17971 _ACEOF
17972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17973 $EGREP "yes" >/dev/null 2>&1; then :
17974 ac_cv_cpp_def___powerpc__=yes
17975 else
17976 ac_cv_cpp_def___powerpc__=no
17978 rm -f conftest*
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17982 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17983 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17984 CFLAGS="$CFLAGS -D__powerpc__"
17985 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17986 fi ;;
17987 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17988 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17989 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17990 $as_echo_n "(cached) " >&6
17991 else
17992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17993 /* end confdefs.h. */
17994 #ifndef __aarch64__
17996 #endif
17997 _ACEOF
17998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17999 $EGREP "yes" >/dev/null 2>&1; then :
18000 ac_cv_cpp_def___aarch64__=yes
18001 else
18002 ac_cv_cpp_def___aarch64__=no
18004 rm -f conftest*
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18008 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18009 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18010 CFLAGS="$CFLAGS -D__aarch64__"
18011 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18012 fi ;;
18013 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18014 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18015 if ${ac_cv_cpp_def___arm__+:} false; then :
18016 $as_echo_n "(cached) " >&6
18017 else
18018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18019 /* end confdefs.h. */
18020 #ifndef __arm__
18022 #endif
18023 _ACEOF
18024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18025 $EGREP "yes" >/dev/null 2>&1; then :
18026 ac_cv_cpp_def___arm__=yes
18027 else
18028 ac_cv_cpp_def___arm__=no
18030 rm -f conftest*
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18034 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18035 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18036 CFLAGS="$CFLAGS -D__arm__"
18037 LINTFLAGS="$LINTFLAGS -D__arm__"
18038 fi ;;
18039 esac
18041 case $host_vendor in
18042 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18043 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18044 if ${ac_cv_cpp_def___sun__+:} false; then :
18045 $as_echo_n "(cached) " >&6
18046 else
18047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18048 /* end confdefs.h. */
18049 #ifndef __sun__
18051 #endif
18052 _ACEOF
18053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18054 $EGREP "yes" >/dev/null 2>&1; then :
18055 ac_cv_cpp_def___sun__=yes
18056 else
18057 ac_cv_cpp_def___sun__=no
18059 rm -f conftest*
18062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18063 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18064 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18065 CFLAGS="$CFLAGS -D__sun__"
18066 LINTFLAGS="$LINTFLAGS -D__sun__"
18067 fi ;;
18068 esac
18074 ac_config_commands="$ac_config_commands include/stamp-h"
18076 $as_echo_n "creating Makefile rules..." >&6
18078 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18079 SOCKET_LIBS = $SOCKET_LIBS
18080 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18081 IOKIT_LIBS = $IOKIT_LIBS
18082 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18083 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18084 CORESERVICES_LIBS = $CORESERVICES_LIBS
18085 APPKIT_LIBS = $APPKIT_LIBS
18086 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18087 SECURITY_LIBS = $SECURITY_LIBS
18088 COREAUDIO_LIBS = $COREAUDIO_LIBS
18089 OPENAL_LIBS = $OPENAL_LIBS
18090 OPENCL_LIBS = $OPENCL_LIBS
18091 QUICKTIME_LIBS = $QUICKTIME_LIBS
18092 CARBON_LIBS = $CARBON_LIBS
18093 PTHREAD_LIBS = $PTHREAD_LIBS
18094 X_CFLAGS = $X_CFLAGS
18095 X_PRE_LIBS = $X_PRE_LIBS
18096 X_LIBS = $X_LIBS
18097 X_EXTRA_LIBS = $X_EXTRA_LIBS
18098 PCAP_LIBS = $PCAP_LIBS
18099 XML2_CFLAGS = $XML2_CFLAGS
18100 XML2_LIBS = $XML2_LIBS
18101 XSLT_CFLAGS = $XSLT_CFLAGS
18102 XSLT_LIBS = $XSLT_LIBS
18103 DBUS_CFLAGS = $DBUS_CFLAGS
18104 DBUS_LIBS = $DBUS_LIBS
18105 HAL_CFLAGS = $HAL_CFLAGS
18106 HAL_LIBS = $HAL_LIBS
18107 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18108 GNUTLS_LIBS = $GNUTLS_LIBS
18109 SANE_CFLAGS = $SANE_CFLAGS
18110 SANE_LIBS = $SANE_LIBS
18111 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18112 GPHOTO2_LIBS = $GPHOTO2_LIBS
18113 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18114 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18115 RESOLV_LIBS = $RESOLV_LIBS
18116 LCMS2_CFLAGS = $LCMS2_CFLAGS
18117 LCMS2_LIBS = $LCMS2_LIBS
18118 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18119 FREETYPE_LIBS = $FREETYPE_LIBS
18120 Z_LIBS = $Z_LIBS
18121 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18122 PULSE_CFLAGS = $PULSE_CFLAGS
18123 PULSE_LIBS = $PULSE_LIBS
18124 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18125 GSTREAMER_LIBS = $GSTREAMER_LIBS
18126 ALSA_LIBS = $ALSA_LIBS
18127 OSS4_CFLAGS = $OSS4_CFLAGS
18128 UDEV_CFLAGS = $UDEV_CFLAGS
18129 UDEV_LIBS = $UDEV_LIBS
18130 SDL2_CFLAGS = $SDL2_CFLAGS
18131 SDL2_LIBS = $SDL2_LIBS
18132 CAPI20_CFLAGS = $CAPI20_CFLAGS
18133 CAPI20_LIBS = $CAPI20_LIBS
18134 CUPS_CFLAGS = $CUPS_CFLAGS
18135 CUPS_LIBS = $CUPS_LIBS
18136 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18137 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18138 KRB5_CFLAGS = $KRB5_CFLAGS
18139 KRB5_LIBS = $KRB5_LIBS
18140 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18141 GSSAPI_LIBS = $GSSAPI_LIBS
18142 JPEG_CFLAGS = $JPEG_CFLAGS
18143 JPEG_LIBS = $JPEG_LIBS
18144 PNG_CFLAGS = $PNG_CFLAGS
18145 PNG_LIBS = $PNG_LIBS
18146 TIFF_CFLAGS = $TIFF_CFLAGS
18147 TIFF_LIBS = $TIFF_LIBS
18148 MPG123_CFLAGS = $MPG123_CFLAGS
18149 MPG123_LIBS = $MPG123_LIBS
18150 KSTAT_LIBS = $KSTAT_LIBS
18151 PROCSTAT_LIBS = $PROCSTAT_LIBS
18152 NETAPI_CFLAGS = $NETAPI_CFLAGS
18153 NETAPI_LIBS = $NETAPI_LIBS
18154 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18155 DL_LIBS = $DL_LIBS
18156 POLL_LIBS = $POLL_LIBS
18157 RT_LIBS = $RT_LIBS
18158 LDAP_CFLAGS = $LDAP_CFLAGS
18159 LDAP_LIBS = $LDAP_LIBS
18164 wine_fn_append_rule "
18165 # Rules automatically generated by configure
18167 .INIT: Makefile
18168 .MAKEFILEDEPS:
18169 all: Makefile
18170 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18171 @./config.status Make.tmp Makefile
18172 depend: \$(MAKEDEP) dummy
18173 \$(MAKEDEP)"
18175 if test "x$enable_fonts" != xno; then
18176 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18177 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18178 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18179 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18180 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18181 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18183 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18184 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18185 ac_config_links="$ac_config_links wine:tools/winewrapper"
18186 wine_fn_config_symlink wine
18187 if test "x$enable_win64" != xno; then
18188 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18189 wine_fn_config_symlink wine64
18192 wine_fn_config_makefile dlls/acledit enable_acledit
18193 wine_fn_config_makefile dlls/aclui enable_aclui
18194 wine_fn_config_makefile dlls/activeds enable_activeds
18195 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18196 wine_fn_config_makefile dlls/adsiid enable_adsiid
18197 wine_fn_config_makefile dlls/adsldp enable_adsldp
18198 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18199 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18200 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18201 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18202 wine_fn_config_makefile dlls/advpack enable_advpack
18203 wine_fn_config_makefile dlls/advpack/tests enable_tests
18204 wine_fn_config_makefile dlls/amstream enable_amstream
18205 wine_fn_config_makefile dlls/amstream/tests enable_tests
18206 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18207 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18208 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18209 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18210 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18211 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18212 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18213 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18214 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18215 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18216 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18217 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18218 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18219 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18220 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18221 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18222 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18223 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18224 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18225 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18226 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18227 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18228 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18229 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18230 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18231 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18232 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18233 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18234 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18235 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18236 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18237 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18238 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18239 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18240 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18241 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18242 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18243 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18244 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18245 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18246 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18247 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18248 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18249 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18250 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18251 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18252 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18253 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18254 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
18255 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18256 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18257 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18258 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18259 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18260 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18261 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18262 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18263 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18264 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18265 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18266 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18267 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18268 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18269 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18270 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18271 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18272 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18273 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18274 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18275 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18276 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18277 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18278 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18279 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18280 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18281 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18282 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18283 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18284 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18285 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18286 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18287 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18288 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18289 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18290 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18291 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18292 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18293 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18294 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18295 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18296 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18297 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18298 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18299 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18300 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18301 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18302 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18303 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18304 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18305 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18306 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18307 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18308 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18309 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18310 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18311 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18312 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18313 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18314 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18315 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18316 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18317 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18318 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18319 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18320 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18321 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18322 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18323 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18324 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18325 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18326 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18327 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18328 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18329 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18330 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18331 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18332 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18333 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18334 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18335 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18336 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18337 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18338 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18339 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18340 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18341 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18342 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18343 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18344 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18345 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18346 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18347 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18348 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18349 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18350 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18351 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18352 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18353 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18354 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18355 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18356 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18357 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18358 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18359 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18360 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18361 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18362 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18363 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18364 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18365 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18366 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18367 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18368 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18369 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
18370 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18371 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18372 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18373 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18374 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18375 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18376 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18377 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18378 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18379 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
18380 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18381 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
18382 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
18383 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
18384 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
18385 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
18386 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18387 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18388 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18389 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18390 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18391 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18392 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18393 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18394 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18395 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18396 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18397 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18398 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18399 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18400 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18401 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18402 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18403 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18404 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18405 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18406 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18407 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18408 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
18409 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18410 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
18411 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
18412 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18413 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18414 wine_fn_config_makefile dlls/apphelp enable_apphelp
18415 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18416 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18417 wine_fn_config_makefile dlls/atl enable_atl
18418 wine_fn_config_makefile dlls/atl/tests enable_tests
18419 wine_fn_config_makefile dlls/atl100 enable_atl100
18420 wine_fn_config_makefile dlls/atl100/tests enable_tests
18421 wine_fn_config_makefile dlls/atl110 enable_atl110
18422 wine_fn_config_makefile dlls/atl80 enable_atl80
18423 wine_fn_config_makefile dlls/atl80/tests enable_tests
18424 wine_fn_config_makefile dlls/atl90 enable_atl90
18425 wine_fn_config_makefile dlls/authz enable_authz
18426 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18427 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18428 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18429 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18430 wine_fn_config_makefile dlls/avrt enable_avrt
18431 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18432 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18433 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18434 wine_fn_config_makefile dlls/browseui enable_browseui
18435 wine_fn_config_makefile dlls/browseui/tests enable_tests
18436 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18437 wine_fn_config_makefile dlls/cabinet enable_cabinet
18438 wine_fn_config_makefile dlls/cabinet/tests enable_tests
18439 wine_fn_config_makefile dlls/capi2032 enable_capi2032
18440 wine_fn_config_makefile dlls/cards enable_cards
18441 wine_fn_config_makefile dlls/cdosys enable_cdosys
18442 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
18443 wine_fn_config_makefile dlls/clusapi enable_clusapi
18444 wine_fn_config_makefile dlls/combase enable_combase
18445 wine_fn_config_makefile dlls/combase/tests enable_tests
18446 wine_fn_config_makefile dlls/comcat enable_comcat
18447 wine_fn_config_makefile dlls/comcat/tests enable_tests
18448 wine_fn_config_makefile dlls/comctl32 enable_comctl32
18449 wine_fn_config_makefile dlls/comctl32/tests enable_tests
18450 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
18451 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
18452 wine_fn_config_makefile dlls/comm.drv16 enable_win16
18453 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
18454 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
18455 wine_fn_config_makefile dlls/compstui enable_compstui
18456 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
18457 wine_fn_config_makefile dlls/concrt140 enable_concrt140
18458 wine_fn_config_makefile dlls/connect enable_connect
18459 wine_fn_config_makefile dlls/credui enable_credui
18460 wine_fn_config_makefile dlls/credui/tests enable_tests
18461 wine_fn_config_makefile dlls/crtdll enable_crtdll
18462 wine_fn_config_makefile dlls/crypt32 enable_crypt32
18463 wine_fn_config_makefile dlls/crypt32/tests enable_tests
18464 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
18465 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
18466 wine_fn_config_makefile dlls/cryptext enable_cryptext
18467 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
18468 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
18469 wine_fn_config_makefile dlls/cryptui enable_cryptui
18470 wine_fn_config_makefile dlls/cryptui/tests enable_tests
18471 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
18472 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
18473 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
18474 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
18475 wine_fn_config_makefile dlls/d2d1 enable_d2d1
18476 wine_fn_config_makefile dlls/d2d1/tests enable_tests
18477 wine_fn_config_makefile dlls/d3d10 enable_d3d10
18478 wine_fn_config_makefile dlls/d3d10/tests enable_tests
18479 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
18480 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
18481 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
18482 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
18483 wine_fn_config_makefile dlls/d3d11 enable_d3d11
18484 wine_fn_config_makefile dlls/d3d11/tests enable_tests
18485 wine_fn_config_makefile dlls/d3d12 enable_d3d12
18486 wine_fn_config_makefile dlls/d3d12/tests enable_tests
18487 wine_fn_config_makefile dlls/d3d8 enable_d3d8
18488 wine_fn_config_makefile dlls/d3d8/tests enable_tests
18489 wine_fn_config_makefile dlls/d3d9 enable_d3d9
18490 wine_fn_config_makefile dlls/d3d9/tests enable_tests
18491 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
18492 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
18493 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
18494 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
18495 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
18496 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
18497 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
18498 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
18499 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
18500 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
18501 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
18502 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
18503 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
18504 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
18505 wine_fn_config_makefile dlls/d3dim enable_d3dim
18506 wine_fn_config_makefile dlls/d3drm enable_d3drm
18507 wine_fn_config_makefile dlls/d3drm/tests enable_tests
18508 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
18509 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
18510 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
18511 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
18512 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
18513 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
18514 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
18515 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
18516 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
18517 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
18518 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
18519 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
18520 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
18521 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
18522 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
18523 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
18524 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
18525 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
18526 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
18527 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
18528 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
18529 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
18530 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
18531 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
18532 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
18533 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
18534 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
18535 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
18536 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
18537 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
18538 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
18539 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
18540 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
18541 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
18542 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
18543 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
18544 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
18545 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
18546 wine_fn_config_makefile dlls/davclnt enable_davclnt
18547 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
18548 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
18549 wine_fn_config_makefile dlls/dciman32 enable_dciman32
18550 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
18551 wine_fn_config_makefile dlls/ddraw enable_ddraw
18552 wine_fn_config_makefile dlls/ddraw/tests enable_tests
18553 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
18554 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
18555 wine_fn_config_makefile dlls/devenum enable_devenum
18556 wine_fn_config_makefile dlls/devenum/tests enable_tests
18557 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
18558 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
18559 wine_fn_config_makefile dlls/difxapi enable_difxapi
18560 wine_fn_config_makefile dlls/dinput enable_dinput
18561 wine_fn_config_makefile dlls/dinput/tests enable_tests
18562 wine_fn_config_makefile dlls/dinput8 enable_dinput8
18563 wine_fn_config_makefile dlls/dinput8/tests enable_tests
18564 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
18565 wine_fn_config_makefile dlls/dispex enable_dispex
18566 wine_fn_config_makefile dlls/dispex/tests enable_tests
18567 wine_fn_config_makefile dlls/display.drv16 enable_win16
18568 wine_fn_config_makefile dlls/dmband enable_dmband
18569 wine_fn_config_makefile dlls/dmband/tests enable_tests
18570 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
18571 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
18572 wine_fn_config_makefile dlls/dmime enable_dmime
18573 wine_fn_config_makefile dlls/dmime/tests enable_tests
18574 wine_fn_config_makefile dlls/dmloader enable_dmloader
18575 wine_fn_config_makefile dlls/dmloader/tests enable_tests
18576 wine_fn_config_makefile dlls/dmscript enable_dmscript
18577 wine_fn_config_makefile dlls/dmscript/tests enable_tests
18578 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
18579 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
18580 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
18581 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
18582 wine_fn_config_makefile dlls/dmusic enable_dmusic
18583 wine_fn_config_makefile dlls/dmusic/tests enable_tests
18584 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
18585 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
18586 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
18587 wine_fn_config_makefile dlls/dplay enable_dplay
18588 wine_fn_config_makefile dlls/dplayx enable_dplayx
18589 wine_fn_config_makefile dlls/dplayx/tests enable_tests
18590 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
18591 wine_fn_config_makefile dlls/dpnet enable_dpnet
18592 wine_fn_config_makefile dlls/dpnet/tests enable_tests
18593 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
18594 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
18595 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
18596 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
18597 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
18598 wine_fn_config_makefile dlls/drmclien enable_drmclien
18599 wine_fn_config_makefile dlls/dsound enable_dsound
18600 wine_fn_config_makefile dlls/dsound/tests enable_tests
18601 wine_fn_config_makefile dlls/dsquery enable_dsquery
18602 wine_fn_config_makefile dlls/dssenh enable_dssenh
18603 wine_fn_config_makefile dlls/dssenh/tests enable_tests
18604 wine_fn_config_makefile dlls/dswave enable_dswave
18605 wine_fn_config_makefile dlls/dswave/tests enable_tests
18606 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
18607 wine_fn_config_makefile dlls/dwrite enable_dwrite
18608 wine_fn_config_makefile dlls/dwrite/tests enable_tests
18609 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
18610 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
18611 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
18612 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
18613 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
18614 wine_fn_config_makefile dlls/dxgi enable_dxgi
18615 wine_fn_config_makefile dlls/dxgi/tests enable_tests
18616 wine_fn_config_makefile dlls/dxguid enable_dxguid
18617 wine_fn_config_makefile dlls/dxva2 enable_dxva2
18618 wine_fn_config_makefile dlls/esent enable_esent
18619 wine_fn_config_makefile dlls/evr enable_evr
18620 wine_fn_config_makefile dlls/evr/tests enable_tests
18621 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
18622 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
18623 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18624 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18625 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
18626 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18627 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18628 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18629 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18630 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18631 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18632 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18633 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
18634 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
18635 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
18636 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18637 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
18638 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
18639 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18640 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
18641 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18642 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18643 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18644 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
18645 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18646 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
18647 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18648 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
18649 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18650 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18651 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
18652 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
18653 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18654 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
18655 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
18656 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
18657 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18658 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18659 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18660 wine_fn_config_makefile dlls/faultrep enable_faultrep
18661 wine_fn_config_makefile dlls/faultrep/tests enable_tests
18662 wine_fn_config_makefile dlls/fltlib enable_fltlib
18663 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
18664 wine_fn_config_makefile dlls/fntcache enable_fntcache
18665 wine_fn_config_makefile dlls/fontsub enable_fontsub
18666 wine_fn_config_makefile dlls/fusion enable_fusion
18667 wine_fn_config_makefile dlls/fusion/tests enable_tests
18668 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
18669 wine_fn_config_makefile dlls/gameux enable_gameux
18670 wine_fn_config_makefile dlls/gameux/tests enable_tests
18671 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
18672 wine_fn_config_makefile dlls/gdi32 enable_gdi32
18673 wine_fn_config_makefile dlls/gdi32/tests enable_tests
18674 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
18675 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
18676 wine_fn_config_makefile dlls/glu32 enable_glu32
18677 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
18678 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
18679 wine_fn_config_makefile dlls/hal enable_hal
18680 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
18681 wine_fn_config_makefile dlls/hid enable_hid
18682 wine_fn_config_makefile dlls/hid/tests enable_tests
18683 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
18684 wine_fn_config_makefile dlls/hlink enable_hlink
18685 wine_fn_config_makefile dlls/hlink/tests enable_tests
18686 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
18687 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
18688 wine_fn_config_makefile dlls/httpapi enable_httpapi
18689 wine_fn_config_makefile dlls/httpapi/tests enable_tests
18690 wine_fn_config_makefile dlls/iccvid enable_iccvid
18691 wine_fn_config_makefile dlls/icmp enable_icmp
18692 wine_fn_config_makefile dlls/ieframe enable_ieframe
18693 wine_fn_config_makefile dlls/ieframe/tests enable_tests
18694 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
18695 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
18696 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
18697 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
18698 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
18699 wine_fn_config_makefile dlls/imm.dll16 enable_win16
18700 wine_fn_config_makefile dlls/imm32 enable_imm32
18701 wine_fn_config_makefile dlls/imm32/tests enable_tests
18702 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
18703 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
18704 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
18705 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
18706 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
18707 wine_fn_config_makefile dlls/infosoft enable_infosoft
18708 wine_fn_config_makefile dlls/infosoft/tests enable_tests
18709 wine_fn_config_makefile dlls/initpki enable_initpki
18710 wine_fn_config_makefile dlls/inkobj enable_inkobj
18711 wine_fn_config_makefile dlls/inseng enable_inseng
18712 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
18713 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
18714 wine_fn_config_makefile dlls/iprop enable_iprop
18715 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
18716 wine_fn_config_makefile dlls/itircl enable_itircl
18717 wine_fn_config_makefile dlls/itss enable_itss
18718 wine_fn_config_makefile dlls/itss/tests enable_tests
18719 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
18720 wine_fn_config_makefile dlls/jscript enable_jscript
18721 wine_fn_config_makefile dlls/jscript/tests enable_tests
18722 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
18723 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
18724 wine_fn_config_makefile dlls/kerberos enable_kerberos
18725 wine_fn_config_makefile dlls/kernel32 enable_kernel32
18726 wine_fn_config_makefile dlls/kernel32/tests enable_tests
18727 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
18728 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
18729 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
18730 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
18731 wine_fn_config_makefile dlls/ksuser enable_ksuser
18732 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
18733 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
18734 wine_fn_config_makefile dlls/loadperf enable_loadperf
18735 wine_fn_config_makefile dlls/localspl enable_localspl
18736 wine_fn_config_makefile dlls/localspl/tests enable_tests
18737 wine_fn_config_makefile dlls/localui enable_localui
18738 wine_fn_config_makefile dlls/localui/tests enable_tests
18739 wine_fn_config_makefile dlls/lz32 enable_lz32
18740 wine_fn_config_makefile dlls/lz32/tests enable_tests
18741 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
18742 wine_fn_config_makefile dlls/mapi32 enable_mapi32
18743 wine_fn_config_makefile dlls/mapi32/tests enable_tests
18744 wine_fn_config_makefile dlls/mapistub enable_mapistub
18745 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
18746 wine_fn_config_makefile dlls/mcicda enable_mcicda
18747 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
18748 wine_fn_config_makefile dlls/mciseq enable_mciseq
18749 wine_fn_config_makefile dlls/mciwave enable_mciwave
18750 wine_fn_config_makefile dlls/mf enable_mf
18751 wine_fn_config_makefile dlls/mf/tests enable_tests
18752 wine_fn_config_makefile dlls/mf3216 enable_mf3216
18753 wine_fn_config_makefile dlls/mfplat enable_mfplat
18754 wine_fn_config_makefile dlls/mfplat/tests enable_tests
18755 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
18756 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
18757 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
18758 wine_fn_config_makefile dlls/midimap enable_midimap
18759 wine_fn_config_makefile dlls/mlang enable_mlang
18760 wine_fn_config_makefile dlls/mlang/tests enable_tests
18761 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
18762 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
18763 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
18764 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
18765 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
18766 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
18767 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
18768 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
18769 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
18770 wine_fn_config_makefile dlls/mpr enable_mpr
18771 wine_fn_config_makefile dlls/mpr/tests enable_tests
18772 wine_fn_config_makefile dlls/mprapi enable_mprapi
18773 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
18774 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
18775 wine_fn_config_makefile dlls/msacm32 enable_msacm32
18776 wine_fn_config_makefile dlls/msacm32/tests enable_tests
18777 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
18778 wine_fn_config_makefile dlls/msasn1 enable_msasn1
18779 wine_fn_config_makefile dlls/mscat32 enable_mscat32
18780 wine_fn_config_makefile dlls/mscms enable_mscms
18781 wine_fn_config_makefile dlls/mscms/tests enable_tests
18782 wine_fn_config_makefile dlls/mscoree enable_mscoree
18783 wine_fn_config_makefile dlls/mscoree/tests enable_tests
18784 wine_fn_config_makefile dlls/msctf enable_msctf
18785 wine_fn_config_makefile dlls/msctf/tests enable_tests
18786 wine_fn_config_makefile dlls/msctfp enable_msctfp
18787 wine_fn_config_makefile dlls/msdaps enable_msdaps
18788 wine_fn_config_makefile dlls/msdelta enable_msdelta
18789 wine_fn_config_makefile dlls/msdmo enable_msdmo
18790 wine_fn_config_makefile dlls/msdmo/tests enable_tests
18791 wine_fn_config_makefile dlls/msdrm enable_msdrm
18792 wine_fn_config_makefile dlls/msftedit enable_msftedit
18793 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
18794 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
18795 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
18796 wine_fn_config_makefile dlls/mshtml enable_mshtml
18797 wine_fn_config_makefile dlls/mshtml/tests enable_tests
18798 wine_fn_config_makefile dlls/msi enable_msi
18799 wine_fn_config_makefile dlls/msi/tests enable_tests
18800 wine_fn_config_makefile dlls/msident enable_msident
18801 wine_fn_config_makefile dlls/msimg32 enable_msimg32
18802 wine_fn_config_makefile dlls/msimsg enable_msimsg
18803 wine_fn_config_makefile dlls/msimtf enable_msimtf
18804 wine_fn_config_makefile dlls/msisip enable_msisip
18805 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
18806 wine_fn_config_makefile dlls/msls31 enable_msls31
18807 wine_fn_config_makefile dlls/msnet32 enable_msnet32
18808 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
18809 wine_fn_config_makefile dlls/msports enable_msports
18810 wine_fn_config_makefile dlls/msrle32 enable_msrle32
18811 wine_fn_config_makefile dlls/msrle32/tests enable_tests
18812 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
18813 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
18814 wine_fn_config_makefile dlls/mssign32 enable_mssign32
18815 wine_fn_config_makefile dlls/mssip32 enable_mssip32
18816 wine_fn_config_makefile dlls/mstask enable_mstask
18817 wine_fn_config_makefile dlls/mstask/tests enable_tests
18818 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
18819 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
18820 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
18821 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
18822 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
18823 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
18824 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
18825 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
18826 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
18827 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
18828 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
18829 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
18830 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
18831 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
18832 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
18833 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
18834 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
18835 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
18836 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
18837 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
18838 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
18839 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
18840 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
18841 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
18842 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
18843 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
18844 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
18845 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
18846 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
18847 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
18848 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
18849 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
18850 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
18851 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
18852 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
18853 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
18854 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
18855 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
18856 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
18857 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
18858 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
18859 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
18860 wine_fn_config_makefile dlls/mswsock enable_mswsock
18861 wine_fn_config_makefile dlls/msxml enable_msxml
18862 wine_fn_config_makefile dlls/msxml2 enable_msxml2
18863 wine_fn_config_makefile dlls/msxml3 enable_msxml3
18864 wine_fn_config_makefile dlls/msxml3/tests enable_tests
18865 wine_fn_config_makefile dlls/msxml4 enable_msxml4
18866 wine_fn_config_makefile dlls/msxml6 enable_msxml6
18867 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
18868 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
18869 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
18870 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
18871 wine_fn_config_makefile dlls/netapi32 enable_netapi32
18872 wine_fn_config_makefile dlls/netapi32/tests enable_tests
18873 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
18874 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
18875 wine_fn_config_makefile dlls/netprofm enable_netprofm
18876 wine_fn_config_makefile dlls/netprofm/tests enable_tests
18877 wine_fn_config_makefile dlls/newdev enable_newdev
18878 wine_fn_config_makefile dlls/ninput enable_ninput
18879 wine_fn_config_makefile dlls/normaliz enable_normaliz
18880 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
18881 wine_fn_config_makefile dlls/npptools enable_npptools
18882 wine_fn_config_makefile dlls/ntdll enable_ntdll
18883 wine_fn_config_makefile dlls/ntdll/tests enable_tests
18884 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
18885 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
18886 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
18887 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
18888 wine_fn_config_makefile dlls/ntprint enable_ntprint
18889 wine_fn_config_makefile dlls/ntprint/tests enable_tests
18890 wine_fn_config_makefile dlls/objsel enable_objsel
18891 wine_fn_config_makefile dlls/odbc32 enable_odbc32
18892 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
18893 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
18894 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
18895 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
18896 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
18897 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
18898 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
18899 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
18900 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
18901 wine_fn_config_makefile dlls/ole32 enable_ole32
18902 wine_fn_config_makefile dlls/ole32/tests enable_tests
18903 wine_fn_config_makefile dlls/oleacc enable_oleacc
18904 wine_fn_config_makefile dlls/oleacc/tests enable_tests
18905 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
18906 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
18907 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
18908 wine_fn_config_makefile dlls/olecli32 enable_olecli32
18909 wine_fn_config_makefile dlls/oledb32 enable_oledb32
18910 wine_fn_config_makefile dlls/oledb32/tests enable_tests
18911 wine_fn_config_makefile dlls/oledlg enable_oledlg
18912 wine_fn_config_makefile dlls/oledlg/tests enable_tests
18913 wine_fn_config_makefile dlls/olepro32 enable_olepro32
18914 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
18915 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
18916 wine_fn_config_makefile dlls/olethk32 enable_olethk32
18917 wine_fn_config_makefile dlls/openal32 enable_openal32
18918 wine_fn_config_makefile dlls/opencl enable_opencl
18919 wine_fn_config_makefile dlls/opengl32 enable_opengl32
18920 wine_fn_config_makefile dlls/opengl32/tests enable_tests
18921 wine_fn_config_makefile dlls/packager enable_packager
18922 wine_fn_config_makefile dlls/packager/tests enable_tests
18923 wine_fn_config_makefile dlls/pdh enable_pdh
18924 wine_fn_config_makefile dlls/pdh/tests enable_tests
18925 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
18926 wine_fn_config_makefile dlls/pidgen enable_pidgen
18927 wine_fn_config_makefile dlls/powrprof enable_powrprof
18928 wine_fn_config_makefile dlls/printui enable_printui
18929 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
18930 wine_fn_config_makefile dlls/propsys enable_propsys
18931 wine_fn_config_makefile dlls/propsys/tests enable_tests
18932 wine_fn_config_makefile dlls/psapi enable_psapi
18933 wine_fn_config_makefile dlls/psapi/tests enable_tests
18934 wine_fn_config_makefile dlls/pstorec enable_pstorec
18935 wine_fn_config_makefile dlls/pstorec/tests enable_tests
18936 wine_fn_config_makefile dlls/qcap enable_qcap
18937 wine_fn_config_makefile dlls/qcap/tests enable_tests
18938 wine_fn_config_makefile dlls/qedit enable_qedit
18939 wine_fn_config_makefile dlls/qedit/tests enable_tests
18940 wine_fn_config_makefile dlls/qmgr enable_qmgr
18941 wine_fn_config_makefile dlls/qmgr/tests enable_tests
18942 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
18943 wine_fn_config_makefile dlls/quartz enable_quartz
18944 wine_fn_config_makefile dlls/quartz/tests enable_tests
18945 wine_fn_config_makefile dlls/query enable_query
18946 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
18947 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
18948 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
18949 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
18950 wine_fn_config_makefile dlls/regapi enable_regapi
18951 wine_fn_config_makefile dlls/resutils enable_resutils
18952 wine_fn_config_makefile dlls/riched20 enable_riched20
18953 wine_fn_config_makefile dlls/riched20/tests enable_tests
18954 wine_fn_config_makefile dlls/riched32 enable_riched32
18955 wine_fn_config_makefile dlls/riched32/tests enable_tests
18956 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
18957 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
18958 wine_fn_config_makefile dlls/rsabase enable_rsabase
18959 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
18960 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
18961 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
18962 wine_fn_config_makefile dlls/rtutils enable_rtutils
18963 wine_fn_config_makefile dlls/samlib enable_samlib
18964 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
18965 wine_fn_config_makefile dlls/sapi enable_sapi
18966 wine_fn_config_makefile dlls/sapi/tests enable_tests
18967 wine_fn_config_makefile dlls/sas enable_sas
18968 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
18969 wine_fn_config_makefile dlls/sccbase enable_sccbase
18970 wine_fn_config_makefile dlls/schannel enable_schannel
18971 wine_fn_config_makefile dlls/schannel/tests enable_tests
18972 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
18973 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
18974 wine_fn_config_makefile dlls/scrobj enable_scrobj
18975 wine_fn_config_makefile dlls/scrrun enable_scrrun
18976 wine_fn_config_makefile dlls/scrrun/tests enable_tests
18977 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
18978 wine_fn_config_makefile dlls/secur32 enable_secur32
18979 wine_fn_config_makefile dlls/secur32/tests enable_tests
18980 wine_fn_config_makefile dlls/security enable_security
18981 wine_fn_config_makefile dlls/sensapi enable_sensapi
18982 wine_fn_config_makefile dlls/serialui enable_serialui
18983 wine_fn_config_makefile dlls/serialui/tests enable_tests
18984 wine_fn_config_makefile dlls/setupapi enable_setupapi
18985 wine_fn_config_makefile dlls/setupapi/tests enable_tests
18986 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
18987 wine_fn_config_makefile dlls/sfc enable_sfc
18988 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
18989 wine_fn_config_makefile dlls/shcore enable_shcore
18990 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
18991 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
18992 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
18993 wine_fn_config_makefile dlls/shell.dll16 enable_win16
18994 wine_fn_config_makefile dlls/shell32 enable_shell32
18995 wine_fn_config_makefile dlls/shell32/tests enable_tests
18996 wine_fn_config_makefile dlls/shfolder enable_shfolder
18997 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
18998 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
18999 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19000 wine_fn_config_makefile dlls/slc enable_slc
19001 wine_fn_config_makefile dlls/slc/tests enable_tests
19002 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19003 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19004 wine_fn_config_makefile dlls/softpub enable_softpub
19005 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19006 wine_fn_config_makefile dlls/spoolss enable_spoolss
19007 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19008 wine_fn_config_makefile dlls/srclient enable_srclient
19009 wine_fn_config_makefile dlls/sspicli enable_sspicli
19010 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19011 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19012 wine_fn_config_makefile dlls/sti enable_sti
19013 wine_fn_config_makefile dlls/sti/tests enable_tests
19014 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19015 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19016 wine_fn_config_makefile dlls/strmbase enable_strmbase
19017 wine_fn_config_makefile dlls/strmdll enable_strmdll
19018 wine_fn_config_makefile dlls/strmiids enable_strmiids
19019 wine_fn_config_makefile dlls/svrapi enable_svrapi
19020 wine_fn_config_makefile dlls/sxs enable_sxs
19021 wine_fn_config_makefile dlls/sxs/tests enable_tests
19022 wine_fn_config_makefile dlls/system.drv16 enable_win16
19023 wine_fn_config_makefile dlls/t2embed enable_t2embed
19024 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19025 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19026 wine_fn_config_makefile dlls/taskschd enable_taskschd
19027 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19028 wine_fn_config_makefile dlls/tdh enable_tdh
19029 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19030 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19031 wine_fn_config_makefile dlls/traffic enable_traffic
19032 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19033 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19034 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19035 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19036 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19037 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19038 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19039 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19040 wine_fn_config_makefile dlls/unicows enable_unicows
19041 wine_fn_config_makefile dlls/updspapi enable_updspapi
19042 wine_fn_config_makefile dlls/url enable_url
19043 wine_fn_config_makefile dlls/urlmon enable_urlmon
19044 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19045 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19046 wine_fn_config_makefile dlls/user.exe16 enable_win16
19047 wine_fn_config_makefile dlls/user32 enable_user32
19048 wine_fn_config_makefile dlls/user32/tests enable_tests
19049 wine_fn_config_makefile dlls/userenv enable_userenv
19050 wine_fn_config_makefile dlls/userenv/tests enable_tests
19051 wine_fn_config_makefile dlls/usp10 enable_usp10
19052 wine_fn_config_makefile dlls/usp10/tests enable_tests
19053 wine_fn_config_makefile dlls/uuid enable_uuid
19054 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19055 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19056 wine_fn_config_makefile dlls/vbscript enable_vbscript
19057 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19058 wine_fn_config_makefile dlls/vcomp enable_vcomp
19059 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19060 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19061 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19062 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19063 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19064 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19065 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19066 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19067 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19068 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19069 wine_fn_config_makefile dlls/version enable_version
19070 wine_fn_config_makefile dlls/version/tests enable_tests
19071 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19072 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19073 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19074 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19075 wine_fn_config_makefile dlls/vssapi enable_vssapi
19076 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19077 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19078 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19079 wine_fn_config_makefile dlls/w32skrnl enable_win16
19080 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19081 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19082 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19083 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19084 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19085 wine_fn_config_makefile dlls/wdscore enable_wdscore
19086 wine_fn_config_makefile dlls/webservices enable_webservices
19087 wine_fn_config_makefile dlls/webservices/tests enable_tests
19088 wine_fn_config_makefile dlls/wer enable_wer
19089 wine_fn_config_makefile dlls/wer/tests enable_tests
19090 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19091 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19092 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19093 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19094 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19095 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19096 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19097 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19098 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19099 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19100 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19101 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19102 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19103 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19104 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19105 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19106 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19107 wine_fn_config_makefile dlls/wined3d enable_wined3d
19108 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19109 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19110 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19111 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19112 wine_fn_config_makefile dlls/winemapi enable_winemapi
19113 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19114 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19115 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19116 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19117 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19118 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19119 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19120 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19121 wine_fn_config_makefile dlls/wing32 enable_wing32
19122 wine_fn_config_makefile dlls/winhttp enable_winhttp
19123 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19124 wine_fn_config_makefile dlls/wininet enable_wininet
19125 wine_fn_config_makefile dlls/wininet/tests enable_tests
19126 wine_fn_config_makefile dlls/winmm enable_winmm
19127 wine_fn_config_makefile dlls/winmm/tests enable_tests
19128 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19129 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19130 wine_fn_config_makefile dlls/winscard enable_winscard
19131 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19132 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19133 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19134 wine_fn_config_makefile dlls/winsta enable_winsta
19135 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19136 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19137 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19138 wine_fn_config_makefile dlls/wintrust enable_wintrust
19139 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19140 wine_fn_config_makefile dlls/winusb enable_winusb
19141 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19142 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19143 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19144 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19145 wine_fn_config_makefile dlls/wmasf enable_wmasf
19146 wine_fn_config_makefile dlls/wmi enable_wmi
19147 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19148 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19149 wine_fn_config_makefile dlls/wmp enable_wmp
19150 wine_fn_config_makefile dlls/wmp/tests enable_tests
19151 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19152 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19153 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19154 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19155 wine_fn_config_makefile dlls/wow32 enable_win16
19156 wine_fn_config_makefile dlls/wpc enable_wpc
19157 wine_fn_config_makefile dlls/wpc/tests enable_tests
19158 wine_fn_config_makefile dlls/wpcap enable_wpcap
19159 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19160 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19161 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19162 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19163 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19164 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19165 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19166 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19167 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19168 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19169 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19170 wine_fn_config_makefile dlls/wuapi enable_wuapi
19171 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19172 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19173 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19174 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19175 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19176 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19177 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19178 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19179 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19180 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19181 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19182 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19183 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19184 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19185 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19186 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19187 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19188 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19189 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19190 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19191 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19192 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19193 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19194 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19195 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19196 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19197 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19198 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19199 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19200 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19201 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19202 wine_fn_config_makefile dlls/xmllite enable_xmllite
19203 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19204 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19205 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19206 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19207 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
19208 wine_fn_config_makefile include enable_include
19209 wine_fn_config_makefile libs/port enable_port
19210 wine_fn_config_makefile libs/wine enable_wine
19211 wine_fn_config_makefile libs/wpp enable_wpp
19212 wine_fn_config_makefile loader enable_loader
19213 wine_fn_config_makefile po enable_po
19214 wine_fn_config_makefile programs/arp enable_arp
19215 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19216 wine_fn_config_makefile programs/attrib enable_attrib
19217 wine_fn_config_makefile programs/cabarc enable_cabarc
19218 wine_fn_config_makefile programs/cacls enable_cacls
19219 wine_fn_config_makefile programs/clock enable_clock
19220 wine_fn_config_makefile programs/cmd enable_cmd
19221 wine_fn_config_makefile programs/cmd/tests enable_tests
19222 wine_fn_config_makefile programs/conhost enable_conhost
19223 wine_fn_config_makefile programs/control enable_control
19224 wine_fn_config_makefile programs/cscript enable_cscript
19225 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19226 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19227 wine_fn_config_makefile programs/eject enable_eject
19228 wine_fn_config_makefile programs/expand enable_expand
19229 wine_fn_config_makefile programs/explorer enable_explorer
19230 wine_fn_config_makefile programs/extrac32 enable_extrac32
19231 wine_fn_config_makefile programs/findstr enable_findstr
19232 wine_fn_config_makefile programs/fsutil enable_fsutil
19233 wine_fn_config_makefile programs/hh enable_hh
19234 wine_fn_config_makefile programs/hostname enable_hostname
19235 wine_fn_config_makefile programs/icacls enable_icacls
19236 wine_fn_config_makefile programs/icinfo enable_icinfo
19237 wine_fn_config_makefile programs/iexplore enable_iexplore
19238 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19239 wine_fn_config_makefile programs/lodctr enable_lodctr
19240 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19241 wine_fn_config_makefile programs/mshta enable_mshta
19242 wine_fn_config_makefile programs/msiexec enable_msiexec
19243 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19244 wine_fn_config_makefile programs/net enable_net
19245 wine_fn_config_makefile programs/netsh enable_netsh
19246 wine_fn_config_makefile programs/netstat enable_netstat
19247 wine_fn_config_makefile programs/ngen enable_ngen
19248 wine_fn_config_makefile programs/notepad enable_notepad
19249 wine_fn_config_makefile programs/oleview enable_oleview
19250 wine_fn_config_makefile programs/ping enable_ping
19251 wine_fn_config_makefile programs/plugplay enable_plugplay
19252 wine_fn_config_makefile programs/powershell enable_powershell
19253 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19254 wine_fn_config_makefile programs/progman enable_progman
19255 wine_fn_config_makefile programs/reg enable_reg
19256 wine_fn_config_makefile programs/reg/tests enable_tests
19257 wine_fn_config_makefile programs/regasm enable_regasm
19258 wine_fn_config_makefile programs/regedit enable_regedit
19259 wine_fn_config_makefile programs/regedit/tests enable_tests
19260 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19261 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19262 wine_fn_config_makefile programs/rpcss enable_rpcss
19263 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19264 wine_fn_config_makefile programs/rundll32 enable_rundll32
19265 wine_fn_config_makefile programs/sc enable_sc
19266 wine_fn_config_makefile programs/schtasks enable_schtasks
19267 wine_fn_config_makefile programs/schtasks/tests enable_tests
19268 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19269 wine_fn_config_makefile programs/secedit enable_secedit
19270 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19271 wine_fn_config_makefile programs/services enable_services
19272 wine_fn_config_makefile programs/services/tests enable_tests
19273 wine_fn_config_makefile programs/shutdown enable_shutdown
19274 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19275 wine_fn_config_makefile programs/start enable_start
19276 wine_fn_config_makefile programs/subst enable_subst
19277 wine_fn_config_makefile programs/svchost enable_svchost
19278 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19279 wine_fn_config_makefile programs/taskkill enable_taskkill
19280 wine_fn_config_makefile programs/tasklist enable_tasklist
19281 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19282 wine_fn_config_makefile programs/termsv enable_termsv
19283 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19284 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19285 wine_fn_config_makefile programs/view enable_view
19286 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19287 wine_fn_config_makefile programs/wineboot enable_wineboot
19288 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19289 wine_fn_config_makefile programs/winecfg enable_winecfg
19290 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19291 wine_fn_config_makefile programs/winedbg enable_winedbg
19292 wine_fn_config_makefile programs/winedevice enable_winedevice
19293 wine_fn_config_makefile programs/winefile enable_winefile
19294 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19295 wine_fn_config_makefile programs/winemine enable_winemine
19296 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19297 wine_fn_config_makefile programs/winepath enable_winepath
19298 wine_fn_config_makefile programs/winetest enable_winetest
19299 wine_fn_config_makefile programs/winevdm enable_win16
19300 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19301 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19302 wine_fn_config_makefile programs/winmgmt enable_winmgmt
19303 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19304 wine_fn_config_makefile programs/winver enable_winver
19305 wine_fn_config_makefile programs/wmic enable_wmic
19306 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19307 wine_fn_config_makefile programs/wordpad enable_wordpad
19308 wine_fn_config_makefile programs/write enable_write
19309 wine_fn_config_makefile programs/wscript enable_wscript
19310 wine_fn_config_makefile programs/wscript/tests enable_tests
19311 wine_fn_config_makefile programs/wusa enable_wusa
19312 wine_fn_config_makefile programs/xcopy enable_xcopy
19313 wine_fn_config_makefile programs/xcopy/tests enable_tests
19314 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
19315 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19316 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19317 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19318 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19319 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19320 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19321 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19322 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19323 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19326 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19327 wine_fn_append_file CONFIGURE_TARGETS "tags"
19328 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19329 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19330 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19331 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19332 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19333 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19335 if test "x$enable_tools" != xno
19336 then
19337 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19338 ac_config_commands="$ac_config_commands tools/makedep"
19342 ac_config_commands="$ac_config_commands Makefile"
19345 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19349 if test "x$enable_maintainer_mode" = xyes
19350 then
19351 wine_fn_append_rule "configure: configure.ac aclocal.m4
19352 autoconf --warnings=all
19353 include/config.h.in: include/stamp-h.in
19354 include/stamp-h.in: configure.ac aclocal.m4
19355 autoheader --warnings=all
19356 @echo timestamp > \$@"
19359 if test "x$enable_tools" != xno
19360 then
19361 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19362 @./config.status tools/makedep
19363 Makefile: tools/makedep$ac_exeext
19364 fonts: tools/sfnt2fon
19365 include: tools tools/widl"
19366 else
19367 wine_fn_append_rule "\$(MAKEDEP):
19368 @echo \"You need to run make in $TOOLSDIR first\" && false"
19371 if test -n "$with_wine64"
19372 then
19373 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19374 fonts server:
19375 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19376 $with_wine64/loader/wine:
19377 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19378 $with_wine64/loader/wine-preloader:
19379 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19380 clean::
19381 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19382 else
19383 WINELOADER_INSTALL="wine.inf l_intl.nls"
19385 case $host_os in
19386 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19387 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19388 esac
19391 $as_echo " done" >&6
19392 cat >confcache <<\_ACEOF
19393 # This file is a shell script that caches the results of configure
19394 # tests run on this system so they can be shared between configure
19395 # scripts and configure runs, see configure's option --config-cache.
19396 # It is not useful on other systems. If it contains results you don't
19397 # want to keep, you may remove or edit it.
19399 # config.status only pays attention to the cache file if you give it
19400 # the --recheck option to rerun configure.
19402 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19403 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19404 # following values.
19406 _ACEOF
19408 # The following way of writing the cache mishandles newlines in values,
19409 # but we know of no workaround that is simple, portable, and efficient.
19410 # So, we kill variables containing newlines.
19411 # Ultrix sh set writes to stderr and can't be redirected directly,
19412 # and sets the high bit in the cache file unless we assign to the vars.
19414 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19415 eval ac_val=\$$ac_var
19416 case $ac_val in #(
19417 *${as_nl}*)
19418 case $ac_var in #(
19419 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19420 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19421 esac
19422 case $ac_var in #(
19423 _ | IFS | as_nl) ;; #(
19424 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19425 *) { eval $ac_var=; unset $ac_var;} ;;
19426 esac ;;
19427 esac
19428 done
19430 (set) 2>&1 |
19431 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19432 *${as_nl}ac_space=\ *)
19433 # `set' does not quote correctly, so add quotes: double-quote
19434 # substitution turns \\\\ into \\, and sed turns \\ into \.
19435 sed -n \
19436 "s/'/'\\\\''/g;
19437 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19438 ;; #(
19440 # `set' quotes correctly as required by POSIX, so do not add quotes.
19441 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19443 esac |
19444 sort
19446 sed '
19447 /^ac_cv_env_/b end
19448 t clear
19449 :clear
19450 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19451 t end
19452 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19453 :end' >>confcache
19454 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19455 if test -w "$cache_file"; then
19456 if test "x$cache_file" != "x/dev/null"; then
19457 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19458 $as_echo "$as_me: updating cache $cache_file" >&6;}
19459 if test ! -f "$cache_file" || test -h "$cache_file"; then
19460 cat confcache >"$cache_file"
19461 else
19462 case $cache_file in #(
19463 */* | ?:*)
19464 mv -f confcache "$cache_file"$$ &&
19465 mv -f "$cache_file"$$ "$cache_file" ;; #(
19467 mv -f confcache "$cache_file" ;;
19468 esac
19471 else
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19473 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19476 rm -f confcache
19478 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19479 # Let make expand exec_prefix.
19480 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19482 DEFS=-DHAVE_CONFIG_H
19484 ac_libobjs=
19485 ac_ltlibobjs=
19487 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19488 # 1. Remove the extension, and $U if already installed.
19489 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19490 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19491 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19492 # will be set to the directory where LIBOBJS objects are built.
19493 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19494 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19495 done
19496 LIBOBJS=$ac_libobjs
19498 LTLIBOBJS=$ac_ltlibobjs
19502 : "${CONFIG_STATUS=./config.status}"
19503 ac_write_fail=0
19504 ac_clean_files_save=$ac_clean_files
19505 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19507 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19508 as_write_fail=0
19509 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19510 #! $SHELL
19511 # Generated by $as_me.
19512 # Run this file to recreate the current configuration.
19513 # Compiler output produced by configure, useful for debugging
19514 # configure, is in config.log if it exists.
19516 debug=false
19517 ac_cs_recheck=false
19518 ac_cs_silent=false
19520 SHELL=\${CONFIG_SHELL-$SHELL}
19521 export SHELL
19522 _ASEOF
19523 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19524 ## -------------------- ##
19525 ## M4sh Initialization. ##
19526 ## -------------------- ##
19528 # Be more Bourne compatible
19529 DUALCASE=1; export DUALCASE # for MKS sh
19530 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19531 emulate sh
19532 NULLCMD=:
19533 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19534 # is contrary to our usage. Disable this feature.
19535 alias -g '${1+"$@"}'='"$@"'
19536 setopt NO_GLOB_SUBST
19537 else
19538 case `(set -o) 2>/dev/null` in #(
19539 *posix*) :
19540 set -o posix ;; #(
19541 *) :
19543 esac
19547 as_nl='
19549 export as_nl
19550 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19551 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19552 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19553 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19554 # Prefer a ksh shell builtin over an external printf program on Solaris,
19555 # but without wasting forks for bash or zsh.
19556 if test -z "$BASH_VERSION$ZSH_VERSION" \
19557 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19558 as_echo='print -r --'
19559 as_echo_n='print -rn --'
19560 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19561 as_echo='printf %s\n'
19562 as_echo_n='printf %s'
19563 else
19564 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19565 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19566 as_echo_n='/usr/ucb/echo -n'
19567 else
19568 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19569 as_echo_n_body='eval
19570 arg=$1;
19571 case $arg in #(
19572 *"$as_nl"*)
19573 expr "X$arg" : "X\\(.*\\)$as_nl";
19574 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19575 esac;
19576 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19578 export as_echo_n_body
19579 as_echo_n='sh -c $as_echo_n_body as_echo'
19581 export as_echo_body
19582 as_echo='sh -c $as_echo_body as_echo'
19585 # The user is always right.
19586 if test "${PATH_SEPARATOR+set}" != set; then
19587 PATH_SEPARATOR=:
19588 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19589 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19590 PATH_SEPARATOR=';'
19595 # IFS
19596 # We need space, tab and new line, in precisely that order. Quoting is
19597 # there to prevent editors from complaining about space-tab.
19598 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19599 # splitting by setting IFS to empty value.)
19600 IFS=" "" $as_nl"
19602 # Find who we are. Look in the path if we contain no directory separator.
19603 as_myself=
19604 case $0 in #((
19605 *[\\/]* ) as_myself=$0 ;;
19606 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19607 for as_dir in $PATH
19609 IFS=$as_save_IFS
19610 test -z "$as_dir" && as_dir=.
19611 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19612 done
19613 IFS=$as_save_IFS
19616 esac
19617 # We did not find ourselves, most probably we were run as `sh COMMAND'
19618 # in which case we are not to be found in the path.
19619 if test "x$as_myself" = x; then
19620 as_myself=$0
19622 if test ! -f "$as_myself"; then
19623 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19624 exit 1
19627 # Unset variables that we do not need and which cause bugs (e.g. in
19628 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19629 # suppresses any "Segmentation fault" message there. '((' could
19630 # trigger a bug in pdksh 5.2.14.
19631 for as_var in BASH_ENV ENV MAIL MAILPATH
19632 do eval test x\${$as_var+set} = xset \
19633 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19634 done
19635 PS1='$ '
19636 PS2='> '
19637 PS4='+ '
19639 # NLS nuisances.
19640 LC_ALL=C
19641 export LC_ALL
19642 LANGUAGE=C
19643 export LANGUAGE
19645 # CDPATH.
19646 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19649 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19650 # ----------------------------------------
19651 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19652 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19653 # script with STATUS, using 1 if that was 0.
19654 as_fn_error ()
19656 as_status=$1; test $as_status -eq 0 && as_status=1
19657 if test "$4"; then
19658 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19659 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19661 $as_echo "$as_me: error: $2" >&2
19662 as_fn_exit $as_status
19663 } # as_fn_error
19666 # as_fn_set_status STATUS
19667 # -----------------------
19668 # Set $? to STATUS, without forking.
19669 as_fn_set_status ()
19671 return $1
19672 } # as_fn_set_status
19674 # as_fn_exit STATUS
19675 # -----------------
19676 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19677 as_fn_exit ()
19679 set +e
19680 as_fn_set_status $1
19681 exit $1
19682 } # as_fn_exit
19684 # as_fn_unset VAR
19685 # ---------------
19686 # Portably unset VAR.
19687 as_fn_unset ()
19689 { eval $1=; unset $1;}
19691 as_unset=as_fn_unset
19692 # as_fn_append VAR VALUE
19693 # ----------------------
19694 # Append the text in VALUE to the end of the definition contained in VAR. Take
19695 # advantage of any shell optimizations that allow amortized linear growth over
19696 # repeated appends, instead of the typical quadratic growth present in naive
19697 # implementations.
19698 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19699 eval 'as_fn_append ()
19701 eval $1+=\$2
19703 else
19704 as_fn_append ()
19706 eval $1=\$$1\$2
19708 fi # as_fn_append
19710 # as_fn_arith ARG...
19711 # ------------------
19712 # Perform arithmetic evaluation on the ARGs, and store the result in the
19713 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19714 # must be portable across $(()) and expr.
19715 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19716 eval 'as_fn_arith ()
19718 as_val=$(( $* ))
19720 else
19721 as_fn_arith ()
19723 as_val=`expr "$@" || test $? -eq 1`
19725 fi # as_fn_arith
19728 if expr a : '\(a\)' >/dev/null 2>&1 &&
19729 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19730 as_expr=expr
19731 else
19732 as_expr=false
19735 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19736 as_basename=basename
19737 else
19738 as_basename=false
19741 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19742 as_dirname=dirname
19743 else
19744 as_dirname=false
19747 as_me=`$as_basename -- "$0" ||
19748 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19749 X"$0" : 'X\(//\)$' \| \
19750 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19751 $as_echo X/"$0" |
19752 sed '/^.*\/\([^/][^/]*\)\/*$/{
19753 s//\1/
19756 /^X\/\(\/\/\)$/{
19757 s//\1/
19760 /^X\/\(\/\).*/{
19761 s//\1/
19764 s/.*/./; q'`
19766 # Avoid depending upon Character Ranges.
19767 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19768 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19769 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19770 as_cr_digits='0123456789'
19771 as_cr_alnum=$as_cr_Letters$as_cr_digits
19773 ECHO_C= ECHO_N= ECHO_T=
19774 case `echo -n x` in #(((((
19775 -n*)
19776 case `echo 'xy\c'` in
19777 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19778 xy) ECHO_C='\c';;
19779 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19780 ECHO_T=' ';;
19781 esac;;
19783 ECHO_N='-n';;
19784 esac
19786 rm -f conf$$ conf$$.exe conf$$.file
19787 if test -d conf$$.dir; then
19788 rm -f conf$$.dir/conf$$.file
19789 else
19790 rm -f conf$$.dir
19791 mkdir conf$$.dir 2>/dev/null
19793 if (echo >conf$$.file) 2>/dev/null; then
19794 if ln -s conf$$.file conf$$ 2>/dev/null; then
19795 as_ln_s='ln -s'
19796 # ... but there are two gotchas:
19797 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19798 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19799 # In both cases, we have to default to `cp -pR'.
19800 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19801 as_ln_s='cp -pR'
19802 elif ln conf$$.file conf$$ 2>/dev/null; then
19803 as_ln_s=ln
19804 else
19805 as_ln_s='cp -pR'
19807 else
19808 as_ln_s='cp -pR'
19810 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19811 rmdir conf$$.dir 2>/dev/null
19814 # as_fn_mkdir_p
19815 # -------------
19816 # Create "$as_dir" as a directory, including parents if necessary.
19817 as_fn_mkdir_p ()
19820 case $as_dir in #(
19821 -*) as_dir=./$as_dir;;
19822 esac
19823 test -d "$as_dir" || eval $as_mkdir_p || {
19824 as_dirs=
19825 while :; do
19826 case $as_dir in #(
19827 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19828 *) as_qdir=$as_dir;;
19829 esac
19830 as_dirs="'$as_qdir' $as_dirs"
19831 as_dir=`$as_dirname -- "$as_dir" ||
19832 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19833 X"$as_dir" : 'X\(//\)[^/]' \| \
19834 X"$as_dir" : 'X\(//\)$' \| \
19835 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19836 $as_echo X"$as_dir" |
19837 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19838 s//\1/
19841 /^X\(\/\/\)[^/].*/{
19842 s//\1/
19845 /^X\(\/\/\)$/{
19846 s//\1/
19849 /^X\(\/\).*/{
19850 s//\1/
19853 s/.*/./; q'`
19854 test -d "$as_dir" && break
19855 done
19856 test -z "$as_dirs" || eval "mkdir $as_dirs"
19857 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19860 } # as_fn_mkdir_p
19861 if mkdir -p . 2>/dev/null; then
19862 as_mkdir_p='mkdir -p "$as_dir"'
19863 else
19864 test -d ./-p && rmdir ./-p
19865 as_mkdir_p=false
19869 # as_fn_executable_p FILE
19870 # -----------------------
19871 # Test if FILE is an executable regular file.
19872 as_fn_executable_p ()
19874 test -f "$1" && test -x "$1"
19875 } # as_fn_executable_p
19876 as_test_x='test -x'
19877 as_executable_p=as_fn_executable_p
19879 # Sed expression to map a string onto a valid CPP name.
19880 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19882 # Sed expression to map a string onto a valid variable name.
19883 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19886 exec 6>&1
19887 ## ----------------------------------- ##
19888 ## Main body of $CONFIG_STATUS script. ##
19889 ## ----------------------------------- ##
19890 _ASEOF
19891 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19894 # Save the log message, to keep $0 and so on meaningful, and to
19895 # report actual input values of CONFIG_FILES etc. instead of their
19896 # values after options handling.
19897 ac_log="
19898 This file was extended by Wine $as_me 3.7, which was
19899 generated by GNU Autoconf 2.69. Invocation command line was
19901 CONFIG_FILES = $CONFIG_FILES
19902 CONFIG_HEADERS = $CONFIG_HEADERS
19903 CONFIG_LINKS = $CONFIG_LINKS
19904 CONFIG_COMMANDS = $CONFIG_COMMANDS
19905 $ $0 $@
19907 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19910 _ACEOF
19912 case $ac_config_files in *"
19913 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19914 esac
19916 case $ac_config_headers in *"
19917 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19918 esac
19921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19922 # Files that config.status was made for.
19923 config_files="$ac_config_files"
19924 config_headers="$ac_config_headers"
19925 config_links="$ac_config_links"
19926 config_commands="$ac_config_commands"
19928 _ACEOF
19930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19931 ac_cs_usage="\
19932 \`$as_me' instantiates files and other configuration actions
19933 from templates according to the current configuration. Unless the files
19934 and actions are specified as TAGs, all are instantiated by default.
19936 Usage: $0 [OPTION]... [TAG]...
19938 -h, --help print this help, then exit
19939 -V, --version print version number and configuration settings, then exit
19940 --config print configuration, then exit
19941 -q, --quiet, --silent
19942 do not print progress messages
19943 -d, --debug don't remove temporary files
19944 --recheck update $as_me by reconfiguring in the same conditions
19945 --file=FILE[:TEMPLATE]
19946 instantiate the configuration file FILE
19947 --header=FILE[:TEMPLATE]
19948 instantiate the configuration header FILE
19950 Configuration files:
19951 $config_files
19953 Configuration headers:
19954 $config_headers
19956 Configuration links:
19957 $config_links
19959 Configuration commands:
19960 $config_commands
19962 Report bugs to <wine-devel@winehq.org>.
19963 Wine home page: <https://www.winehq.org>."
19965 _ACEOF
19966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19967 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19968 ac_cs_version="\\
19969 Wine config.status 3.7
19970 configured by $0, generated by GNU Autoconf 2.69,
19971 with options \\"\$ac_cs_config\\"
19973 Copyright (C) 2012 Free Software Foundation, Inc.
19974 This config.status script is free software; the Free Software Foundation
19975 gives unlimited permission to copy, distribute and modify it."
19977 ac_pwd='$ac_pwd'
19978 srcdir='$srcdir'
19979 test -n "\$AWK" || AWK=awk
19980 _ACEOF
19982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19983 # The default lists apply if the user does not specify any file.
19984 ac_need_defaults=:
19985 while test $# != 0
19987 case $1 in
19988 --*=?*)
19989 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19990 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19991 ac_shift=:
19993 --*=)
19994 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19995 ac_optarg=
19996 ac_shift=:
19999 ac_option=$1
20000 ac_optarg=$2
20001 ac_shift=shift
20003 esac
20005 case $ac_option in
20006 # Handling of the options.
20007 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20008 ac_cs_recheck=: ;;
20009 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20010 $as_echo "$ac_cs_version"; exit ;;
20011 --config | --confi | --conf | --con | --co | --c )
20012 $as_echo "$ac_cs_config"; exit ;;
20013 --debug | --debu | --deb | --de | --d | -d )
20014 debug=: ;;
20015 --file | --fil | --fi | --f )
20016 $ac_shift
20017 case $ac_optarg in
20018 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20019 '') as_fn_error $? "missing file argument" ;;
20020 esac
20021 as_fn_append CONFIG_FILES " '$ac_optarg'"
20022 ac_need_defaults=false;;
20023 --header | --heade | --head | --hea )
20024 $ac_shift
20025 case $ac_optarg in
20026 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20027 esac
20028 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20029 ac_need_defaults=false;;
20030 --he | --h)
20031 # Conflict between --help and --header
20032 as_fn_error $? "ambiguous option: \`$1'
20033 Try \`$0 --help' for more information.";;
20034 --help | --hel | -h )
20035 $as_echo "$ac_cs_usage"; exit ;;
20036 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20037 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20038 ac_cs_silent=: ;;
20040 # This is an error.
20041 -*) as_fn_error $? "unrecognized option: \`$1'
20042 Try \`$0 --help' for more information." ;;
20044 *) as_fn_append ac_config_targets " $1"
20045 ac_need_defaults=false ;;
20047 esac
20048 shift
20049 done
20051 ac_configure_extra_args=
20053 if $ac_cs_silent; then
20054 exec 6>/dev/null
20055 ac_configure_extra_args="$ac_configure_extra_args --silent"
20058 _ACEOF
20059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20060 if \$ac_cs_recheck; then
20061 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20062 shift
20063 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20064 CONFIG_SHELL='$SHELL'
20065 export CONFIG_SHELL
20066 exec "\$@"
20069 _ACEOF
20070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20071 exec 5>>config.log
20073 echo
20074 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20075 ## Running $as_me. ##
20076 _ASBOX
20077 $as_echo "$ac_log"
20078 } >&5
20080 _ACEOF
20081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20083 # INIT-COMMANDS
20085 wine_fn_output_makedep ()
20087 as_dir=tools; as_fn_mkdir_p
20088 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20090 wine_fn_output_makefile ()
20092 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20093 `cat $wine_rules_file`
20094 _WINE_EOF
20095 as_fn_error $? "could not create Makefile" "$LINENO" 5
20098 _ACEOF
20100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20102 # Handling of arguments.
20103 for ac_config_target in $ac_config_targets
20105 case $ac_config_target in
20106 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20107 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20108 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20109 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20110 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20111 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20112 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20113 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20114 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20115 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20116 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20117 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20118 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20120 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20121 esac
20122 done
20125 # If the user did not use the arguments to specify the items to instantiate,
20126 # then the envvar interface is used. Set only those that are not.
20127 # We use the long form for the default assignment because of an extremely
20128 # bizarre bug on SunOS 4.1.3.
20129 if $ac_need_defaults; then
20130 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20131 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20132 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20133 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20136 # Have a temporary directory for convenience. Make it in the build tree
20137 # simply because there is no reason against having it here, and in addition,
20138 # creating and moving files from /tmp can sometimes cause problems.
20139 # Hook for its removal unless debugging.
20140 # Note that there is a small window in which the directory will not be cleaned:
20141 # after its creation but before its name has been assigned to `$tmp'.
20142 $debug ||
20144 tmp= ac_tmp=
20145 trap 'exit_status=$?
20146 : "${ac_tmp:=$tmp}"
20147 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20149 trap 'as_fn_exit 1' 1 2 13 15
20151 # Create a (secure) tmp directory for tmp files.
20154 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20155 test -d "$tmp"
20156 } ||
20158 tmp=./conf$$-$RANDOM
20159 (umask 077 && mkdir "$tmp")
20160 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20161 ac_tmp=$tmp
20163 # Set up the scripts for CONFIG_FILES section.
20164 # No need to generate them if there are no CONFIG_FILES.
20165 # This happens for instance with `./config.status config.h'.
20166 if test -n "$CONFIG_FILES"; then
20169 ac_cr=`echo X | tr X '\015'`
20170 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20171 # But we know of no other shell where ac_cr would be empty at this
20172 # point, so we can use a bashism as a fallback.
20173 if test "x$ac_cr" = x; then
20174 eval ac_cr=\$\'\\r\'
20176 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20177 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20178 ac_cs_awk_cr='\\r'
20179 else
20180 ac_cs_awk_cr=$ac_cr
20183 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20184 _ACEOF
20188 echo "cat >conf$$subs.awk <<_ACEOF" &&
20189 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20190 echo "_ACEOF"
20191 } >conf$$subs.sh ||
20192 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20193 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20194 ac_delim='%!_!# '
20195 for ac_last_try in false false false false false :; do
20196 . ./conf$$subs.sh ||
20197 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20199 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20200 if test $ac_delim_n = $ac_delim_num; then
20201 break
20202 elif $ac_last_try; then
20203 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20204 else
20205 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20207 done
20208 rm -f conf$$subs.sh
20210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20211 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20212 _ACEOF
20213 sed -n '
20215 s/^/S["/; s/!.*/"]=/
20218 s/^[^!]*!//
20219 :repl
20220 t repl
20221 s/'"$ac_delim"'$//
20222 t delim
20225 s/\(.\{148\}\)..*/\1/
20226 t more1
20227 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20230 b repl
20231 :more1
20232 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20235 s/.\{148\}//
20236 t nl
20237 :delim
20239 s/\(.\{148\}\)..*/\1/
20240 t more2
20241 s/["\\]/\\&/g; s/^/"/; s/$/"/
20244 :more2
20245 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20248 s/.\{148\}//
20249 t delim
20250 ' <conf$$subs.awk | sed '
20251 /^[^""]/{
20253 s/\n//
20255 ' >>$CONFIG_STATUS || ac_write_fail=1
20256 rm -f conf$$subs.awk
20257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20258 _ACAWK
20259 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20260 for (key in S) S_is_set[key] = 1
20261 FS = "\a"
20265 line = $ 0
20266 nfields = split(line, field, "@")
20267 substed = 0
20268 len = length(field[1])
20269 for (i = 2; i < nfields; i++) {
20270 key = field[i]
20271 keylen = length(key)
20272 if (S_is_set[key]) {
20273 value = S[key]
20274 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20275 len += length(value) + length(field[++i])
20276 substed = 1
20277 } else
20278 len += 1 + keylen
20281 print line
20284 _ACAWK
20285 _ACEOF
20286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20287 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20288 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20289 else
20291 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20292 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20293 _ACEOF
20295 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20296 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20297 # trailing colons and then remove the whole line if VPATH becomes empty
20298 # (actually we leave an empty line to preserve line numbers).
20299 if test "x$srcdir" = x.; then
20300 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20302 s///
20303 s/^/:/
20304 s/[ ]*$/:/
20305 s/:\$(srcdir):/:/g
20306 s/:\${srcdir}:/:/g
20307 s/:@srcdir@:/:/g
20308 s/^:*//
20309 s/:*$//
20311 s/\(=[ ]*\).*/\1/
20313 s/\n//
20314 s/^[^=]*=[ ]*$//
20318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20319 fi # test -n "$CONFIG_FILES"
20321 # Set up the scripts for CONFIG_HEADERS section.
20322 # No need to generate them if there are no CONFIG_HEADERS.
20323 # This happens for instance with `./config.status Makefile'.
20324 if test -n "$CONFIG_HEADERS"; then
20325 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20326 BEGIN {
20327 _ACEOF
20329 # Transform confdefs.h into an awk script `defines.awk', embedded as
20330 # here-document in config.status, that substitutes the proper values into
20331 # config.h.in to produce config.h.
20333 # Create a delimiter string that does not exist in confdefs.h, to ease
20334 # handling of long lines.
20335 ac_delim='%!_!# '
20336 for ac_last_try in false false :; do
20337 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20338 if test -z "$ac_tt"; then
20339 break
20340 elif $ac_last_try; then
20341 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20342 else
20343 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20345 done
20347 # For the awk script, D is an array of macro values keyed by name,
20348 # likewise P contains macro parameters if any. Preserve backslash
20349 # newline sequences.
20351 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20352 sed -n '
20353 s/.\{148\}/&'"$ac_delim"'/g
20354 t rset
20355 :rset
20356 s/^[ ]*#[ ]*define[ ][ ]*/ /
20357 t def
20359 :def
20360 s/\\$//
20361 t bsnl
20362 s/["\\]/\\&/g
20363 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20364 D["\1"]=" \3"/p
20365 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20367 :bsnl
20368 s/["\\]/\\&/g
20369 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20370 D["\1"]=" \3\\\\\\n"\\/p
20371 t cont
20372 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20373 t cont
20375 :cont
20377 s/.\{148\}/&'"$ac_delim"'/g
20378 t clear
20379 :clear
20380 s/\\$//
20381 t bsnlc
20382 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20384 :bsnlc
20385 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20386 b cont
20387 ' <confdefs.h | sed '
20388 s/'"$ac_delim"'/"\\\
20389 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20392 for (key in D) D_is_set[key] = 1
20393 FS = "\a"
20395 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20396 line = \$ 0
20397 split(line, arg, " ")
20398 if (arg[1] == "#") {
20399 defundef = arg[2]
20400 mac1 = arg[3]
20401 } else {
20402 defundef = substr(arg[1], 2)
20403 mac1 = arg[2]
20405 split(mac1, mac2, "(") #)
20406 macro = mac2[1]
20407 prefix = substr(line, 1, index(line, defundef) - 1)
20408 if (D_is_set[macro]) {
20409 # Preserve the white space surrounding the "#".
20410 print prefix "define", macro P[macro] D[macro]
20411 next
20412 } else {
20413 # Replace #undef with comments. This is necessary, for example,
20414 # in the case of _POSIX_SOURCE, which is predefined and required
20415 # on some systems where configure will not decide to define it.
20416 if (defundef == "undef") {
20417 print "/*", prefix defundef, macro, "*/"
20418 next
20422 { print }
20423 _ACAWK
20424 _ACEOF
20425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20426 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20427 fi # test -n "$CONFIG_HEADERS"
20430 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20431 shift
20432 for ac_tag
20434 case $ac_tag in
20435 :[FHLC]) ac_mode=$ac_tag; continue;;
20436 esac
20437 case $ac_mode$ac_tag in
20438 :[FHL]*:*);;
20439 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20440 :[FH]-) ac_tag=-:-;;
20441 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20442 esac
20443 ac_save_IFS=$IFS
20444 IFS=:
20445 set x $ac_tag
20446 IFS=$ac_save_IFS
20447 shift
20448 ac_file=$1
20449 shift
20451 case $ac_mode in
20452 :L) ac_source=$1;;
20453 :[FH])
20454 ac_file_inputs=
20455 for ac_f
20457 case $ac_f in
20458 -) ac_f="$ac_tmp/stdin";;
20459 *) # Look for the file first in the build tree, then in the source tree
20460 # (if the path is not absolute). The absolute path cannot be DOS-style,
20461 # because $ac_f cannot contain `:'.
20462 test -f "$ac_f" ||
20463 case $ac_f in
20464 [\\/$]*) false;;
20465 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20466 esac ||
20467 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20468 esac
20469 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20470 as_fn_append ac_file_inputs " '$ac_f'"
20471 done
20473 # Let's still pretend it is `configure' which instantiates (i.e., don't
20474 # use $as_me), people would be surprised to read:
20475 # /* config.h. Generated by config.status. */
20476 configure_input='Generated from '`
20477 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20478 `' by configure.'
20479 if test x"$ac_file" != x-; then
20480 configure_input="$ac_file. $configure_input"
20481 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20482 $as_echo "$as_me: creating $ac_file" >&6;}
20484 # Neutralize special characters interpreted by sed in replacement strings.
20485 case $configure_input in #(
20486 *\&* | *\|* | *\\* )
20487 ac_sed_conf_input=`$as_echo "$configure_input" |
20488 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20489 *) ac_sed_conf_input=$configure_input;;
20490 esac
20492 case $ac_tag in
20493 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20494 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20495 esac
20497 esac
20499 ac_dir=`$as_dirname -- "$ac_file" ||
20500 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20501 X"$ac_file" : 'X\(//\)[^/]' \| \
20502 X"$ac_file" : 'X\(//\)$' \| \
20503 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20504 $as_echo X"$ac_file" |
20505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20506 s//\1/
20509 /^X\(\/\/\)[^/].*/{
20510 s//\1/
20513 /^X\(\/\/\)$/{
20514 s//\1/
20517 /^X\(\/\).*/{
20518 s//\1/
20521 s/.*/./; q'`
20522 as_dir="$ac_dir"; as_fn_mkdir_p
20523 ac_builddir=.
20525 case "$ac_dir" in
20526 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20528 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20529 # A ".." for each directory in $ac_dir_suffix.
20530 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20531 case $ac_top_builddir_sub in
20532 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20533 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20534 esac ;;
20535 esac
20536 ac_abs_top_builddir=$ac_pwd
20537 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20538 # for backward compatibility:
20539 ac_top_builddir=$ac_top_build_prefix
20541 case $srcdir in
20542 .) # We are building in place.
20543 ac_srcdir=.
20544 ac_top_srcdir=$ac_top_builddir_sub
20545 ac_abs_top_srcdir=$ac_pwd ;;
20546 [\\/]* | ?:[\\/]* ) # Absolute name.
20547 ac_srcdir=$srcdir$ac_dir_suffix;
20548 ac_top_srcdir=$srcdir
20549 ac_abs_top_srcdir=$srcdir ;;
20550 *) # Relative name.
20551 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20552 ac_top_srcdir=$ac_top_build_prefix$srcdir
20553 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20554 esac
20555 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20558 case $ac_mode in
20561 # CONFIG_FILE
20564 _ACEOF
20566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20567 # If the template does not know about datarootdir, expand it.
20568 # FIXME: This hack should be removed a few years after 2.60.
20569 ac_datarootdir_hack=; ac_datarootdir_seen=
20570 ac_sed_dataroot='
20571 /datarootdir/ {
20575 /@datadir@/p
20576 /@docdir@/p
20577 /@infodir@/p
20578 /@localedir@/p
20579 /@mandir@/p'
20580 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20581 *datarootdir*) ac_datarootdir_seen=yes;;
20582 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20584 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20585 _ACEOF
20586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20587 ac_datarootdir_hack='
20588 s&@datadir@&$datadir&g
20589 s&@docdir@&$docdir&g
20590 s&@infodir@&$infodir&g
20591 s&@localedir@&$localedir&g
20592 s&@mandir@&$mandir&g
20593 s&\\\${datarootdir}&$datarootdir&g' ;;
20594 esac
20595 _ACEOF
20597 # Neutralize VPATH when `$srcdir' = `.'.
20598 # Shell code in configure.ac might set extrasub.
20599 # FIXME: do we really want to maintain this feature?
20600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20601 ac_sed_extra="$ac_vpsub
20602 $extrasub
20603 _ACEOF
20604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20606 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20607 s|@configure_input@|$ac_sed_conf_input|;t t
20608 s&@top_builddir@&$ac_top_builddir_sub&;t t
20609 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20610 s&@srcdir@&$ac_srcdir&;t t
20611 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20612 s&@top_srcdir@&$ac_top_srcdir&;t t
20613 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20614 s&@builddir@&$ac_builddir&;t t
20615 s&@abs_builddir@&$ac_abs_builddir&;t t
20616 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20617 $ac_datarootdir_hack
20619 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20620 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20622 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20623 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20624 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20625 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20627 which seems to be undefined. Please make sure it is defined" >&5
20628 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20629 which seems to be undefined. Please make sure it is defined" >&2;}
20631 rm -f "$ac_tmp/stdin"
20632 case $ac_file in
20633 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20634 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20635 esac \
20636 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20640 # CONFIG_HEADER
20642 if test x"$ac_file" != x-; then
20644 $as_echo "/* $configure_input */" \
20645 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20646 } >"$ac_tmp/config.h" \
20647 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20648 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20649 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20650 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20651 else
20652 rm -f "$ac_file"
20653 mv "$ac_tmp/config.h" "$ac_file" \
20654 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20656 else
20657 $as_echo "/* $configure_input */" \
20658 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20659 || as_fn_error $? "could not create -" "$LINENO" 5
20664 # CONFIG_LINK
20667 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20669 else
20670 # Prefer the file from the source tree if names are identical.
20671 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20672 ac_source=$srcdir/$ac_source
20675 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20676 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20678 if test ! -r "$ac_source"; then
20679 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20681 rm -f "$ac_file"
20683 # Try a relative symlink, then a hard link, then a copy.
20684 case $ac_source in
20685 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20686 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20687 esac
20688 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20689 ln "$ac_source" "$ac_file" 2>/dev/null ||
20690 cp -p "$ac_source" "$ac_file" ||
20691 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20694 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20695 $as_echo "$as_me: executing $ac_file commands" >&6;}
20697 esac
20700 case $ac_file$ac_mode in
20701 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20702 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20703 "Makefile":C) wine_fn_output_makefile Makefile ;;
20705 esac
20706 done # for ac_tag
20709 as_fn_exit 0
20710 _ACEOF
20711 ac_clean_files=$ac_clean_files_save
20713 test $ac_write_fail = 0 ||
20714 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20717 # configure is writing to config.log, and then calls config.status.
20718 # config.status does its own redirection, appending to config.log.
20719 # Unfortunately, on DOS this fails, as config.log is still kept open
20720 # by configure, so config.status won't be able to write to it; its
20721 # output is simply discarded. So we exec the FD to /dev/null,
20722 # effectively closing config.log, so it can be properly (re)opened and
20723 # appended to by config.status. When coming back to configure, we
20724 # need to make the FD available again.
20725 if test "$no_create" != yes; then
20726 ac_cs_success=:
20727 ac_config_status_args=
20728 test "$silent" = yes &&
20729 ac_config_status_args="$ac_config_status_args --quiet"
20730 exec 5>/dev/null
20731 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20732 exec 5>>config.log
20733 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20734 # would make configure fail if this is the last instruction.
20735 $ac_cs_success || as_fn_exit 1
20737 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20739 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20743 if test "$no_create" = "yes"
20744 then
20745 exit 0
20748 ac_save_IFS="$IFS"
20749 if test "x$wine_notices" != x; then
20750 echo >&6
20751 IFS="|"
20752 for msg in $wine_notices; do
20753 IFS="$ac_save_IFS"
20754 if ${msg:+false} :; then :
20756 else
20757 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20758 $as_echo "$as_me: $msg" >&6;}
20760 done
20762 IFS="|"
20763 for msg in $wine_warnings; do
20764 IFS="$ac_save_IFS"
20765 if ${msg:+false} :; then :
20767 else
20768 echo >&2
20769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20770 $as_echo "$as_me: WARNING: $msg" >&2;}
20772 done
20773 IFS="$ac_save_IFS"
20775 $as_echo "
20776 $as_me: Finished. Do '${ac_make}' to compile Wine.
20777 " >&6