user32: Add redirected class registration callback.
[wine.git] / configure
blob88ee44d9b134820d08add2fbf2952eeb6bab4f6c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.4.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='3.4'
584 PACKAGE_STRING='Wine 3.4'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 SDL2_LIBS
662 SDL2_CFLAGS
663 UDEV_LIBS
664 UDEV_CFLAGS
665 OSS4_CFLAGS
666 ALSA_LIBS
667 GSTREAMER_LIBS
668 GSTREAMER_CFLAGS
669 PULSE_LIBS
670 PULSE_CFLAGS
671 GETTEXTPO_LIBS
672 Z_LIBS
673 FREETYPE_LIBS
674 FREETYPE_CFLAGS
675 LCMS2_LIBS
676 LCMS2_CFLAGS
677 RESOLV_LIBS
678 GPHOTO2_PORT_LIBS
679 GPHOTO2_PORT_CFLAGS
680 GPHOTO2_LIBS
681 GPHOTO2_CFLAGS
682 SANE_LIBS
683 SANE_CFLAGS
684 GNUTLS_LIBS
685 GNUTLS_CFLAGS
686 HAL_LIBS
687 HAL_CFLAGS
688 DBUS_LIBS
689 DBUS_CFLAGS
690 XSLT_LIBS
691 XSLT_CFLAGS
692 XML2_LIBS
693 XML2_CFLAGS
694 PCAP_LIBS
695 X_EXTRA_LIBS
696 X_LIBS
697 X_PRE_LIBS
698 X_CFLAGS
699 XMKMF
700 PTHREAD_LIBS
701 CROSSCFLAGS
702 CROSSCC
703 CROSSTARGET
704 PRELINK
705 WINELOADER_DEPENDS
706 CARBON_LIBS
707 QUICKTIME_LIBS
708 OPENCL_LIBS
709 OPENAL_LIBS
710 COREAUDIO_LIBS
711 SECURITY_LIBS
712 DISKARBITRATION_LIBS
713 APPKIT_LIBS
714 CORESERVICES_LIBS
715 APPLICATIONSERVICES_LIBS
716 FORCEFEEDBACK_LIBS
717 IOKIT_LIBS
718 COREFOUNDATION_LIBS
719 LIBWINE_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_INSTALL_DEV
722 LIBWINE_INSTALL_LIB
723 LIBWINE_IMPORTLIB
724 LIBWINE_SHAREDLIB
725 SOCKET_LIBS
726 DLLTOOL
727 WINELOADER_PROGRAMS
728 CONFIGURE_TARGETS
729 DISABLED_SUBDIRS
730 SUBDIRS
731 READELF
732 OTOOL
734 WINELOADER_LDFLAGS
735 LDEXECFLAGS
736 LDRPATH_LOCAL
737 LDRPATH_INSTALL
738 DLLFLAGS
740 OPENGL_LIBS
741 ICOTOOL
742 CONVERT
743 RSVG
744 FONTFORGE
745 PKG_CONFIG
746 MSGFMT
747 LDCONFIG
748 EGREP
749 GREP
750 LN_S
751 RANLIB
752 ARFLAGS
753 STRIP
754 ac_ct_AR
756 BISON
757 FLEX
758 TOOLSDIR
759 wine64_disable
760 TARGETFLAGS
762 CPPBIN
763 ac_ct_CXX
764 CXXFLAGS
766 OBJEXT
767 EXEEXT
768 ac_ct_CC
769 CPPFLAGS
770 LDFLAGS
771 CFLAGS
773 SET_MAKE
774 host_os
775 host_vendor
776 host_cpu
777 host
778 build_os
779 build_vendor
780 build_cpu
781 build
782 target_alias
783 host_alias
784 build_alias
785 LIBS
786 ECHO_T
787 ECHO_N
788 ECHO_C
789 DEFS
790 mandir
791 localedir
792 libdir
793 psdir
794 pdfdir
795 dvidir
796 htmldir
797 infodir
798 docdir
799 oldincludedir
800 includedir
801 runstatedir
802 localstatedir
803 sharedstatedir
804 sysconfdir
805 datadir
806 datarootdir
807 libexecdir
808 sbindir
809 bindir
810 program_transform_name
811 prefix
812 exec_prefix
813 PACKAGE_URL
814 PACKAGE_BUGREPORT
815 PACKAGE_STRING
816 PACKAGE_VERSION
817 PACKAGE_TARNAME
818 PACKAGE_NAME
819 PATH_SEPARATOR
820 SHELL'
821 ac_subst_files=''
822 ac_user_opts='
823 enable_option_checking
824 enable_win16
825 enable_win64
826 enable_tests
827 enable_maintainer_mode
828 with_alsa
829 with_capi
830 with_cms
831 with_coreaudio
832 with_cups
833 with_curses
834 with_dbus
835 with_float_abi
836 with_fontconfig
837 with_freetype
838 with_gettext
839 with_gettextpo
840 with_gphoto
841 with_glu
842 with_gnutls
843 with_gsm
844 with_gssapi
845 with_gstreamer
846 with_hal
847 with_jpeg
848 with_krb5
849 with_ldap
850 with_mpg123
851 with_netapi
852 with_openal
853 with_opencl
854 with_opengl
855 with_osmesa
856 with_oss
857 with_pcap
858 with_png
859 with_pthread
860 with_pulse
861 with_sane
862 with_sdl
863 with_tiff
864 with_udev
865 with_v4l
866 with_vulkan
867 with_xcomposite
868 with_xcursor
869 with_xfixes
870 with_xinerama
871 with_xinput
872 with_xinput2
873 with_xml
874 with_xrandr
875 with_xrender
876 with_xshape
877 with_xshm
878 with_xslt
879 with_xxf86vm
880 with_zlib
881 with_wine_tools
882 with_wine64
883 enable_largefile
884 with_x
885 enable_acledit
886 enable_aclui
887 enable_activeds
888 enable_actxprxy
889 enable_adsiid
890 enable_adsldp
891 enable_adsldpc
892 enable_advapi32
893 enable_advpack
894 enable_amstream
895 enable_api_ms_win_appmodel_identity_l1_1_0
896 enable_api_ms_win_appmodel_runtime_l1_1_1
897 enable_api_ms_win_appmodel_runtime_l1_1_2
898 enable_api_ms_win_core_apiquery_l1_1_0
899 enable_api_ms_win_core_appcompat_l1_1_1
900 enable_api_ms_win_core_appinit_l1_1_0
901 enable_api_ms_win_core_atoms_l1_1_0
902 enable_api_ms_win_core_bem_l1_1_0
903 enable_api_ms_win_core_com_l1_1_0
904 enable_api_ms_win_core_com_l1_1_1
905 enable_api_ms_win_core_com_private_l1_1_0
906 enable_api_ms_win_core_console_l1_1_0
907 enable_api_ms_win_core_console_l2_1_0
908 enable_api_ms_win_core_crt_l1_1_0
909 enable_api_ms_win_core_crt_l2_1_0
910 enable_api_ms_win_core_datetime_l1_1_0
911 enable_api_ms_win_core_datetime_l1_1_1
912 enable_api_ms_win_core_debug_l1_1_0
913 enable_api_ms_win_core_debug_l1_1_1
914 enable_api_ms_win_core_delayload_l1_1_0
915 enable_api_ms_win_core_delayload_l1_1_1
916 enable_api_ms_win_core_errorhandling_l1_1_0
917 enable_api_ms_win_core_errorhandling_l1_1_1
918 enable_api_ms_win_core_errorhandling_l1_1_2
919 enable_api_ms_win_core_errorhandling_l1_1_3
920 enable_api_ms_win_core_fibers_l1_1_0
921 enable_api_ms_win_core_fibers_l1_1_1
922 enable_api_ms_win_core_file_l1_1_0
923 enable_api_ms_win_core_file_l1_2_0
924 enable_api_ms_win_core_file_l1_2_1
925 enable_api_ms_win_core_file_l1_2_2
926 enable_api_ms_win_core_file_l2_1_0
927 enable_api_ms_win_core_file_l2_1_1
928 enable_api_ms_win_core_file_l2_1_2
929 enable_api_ms_win_core_handle_l1_1_0
930 enable_api_ms_win_core_heap_l1_1_0
931 enable_api_ms_win_core_heap_l1_2_0
932 enable_api_ms_win_core_heap_l2_1_0
933 enable_api_ms_win_core_heap_obsolete_l1_1_0
934 enable_api_ms_win_core_interlocked_l1_1_0
935 enable_api_ms_win_core_interlocked_l1_2_0
936 enable_api_ms_win_core_io_l1_1_0
937 enable_api_ms_win_core_io_l1_1_1
938 enable_api_ms_win_core_job_l1_1_0
939 enable_api_ms_win_core_job_l2_1_0
940 enable_api_ms_win_core_kernel32_legacy_l1_1_0
941 enable_api_ms_win_core_kernel32_legacy_l1_1_1
942 enable_api_ms_win_core_kernel32_private_l1_1_1
943 enable_api_ms_win_core_largeinteger_l1_1_0
944 enable_api_ms_win_core_libraryloader_l1_1_0
945 enable_api_ms_win_core_libraryloader_l1_1_1
946 enable_api_ms_win_core_libraryloader_l1_2_0
947 enable_api_ms_win_core_libraryloader_l1_2_1
948 enable_api_ms_win_core_libraryloader_l1_2_2
949 enable_api_ms_win_core_localization_l1_1_0
950 enable_api_ms_win_core_localization_l1_2_0
951 enable_api_ms_win_core_localization_l1_2_1
952 enable_api_ms_win_core_localization_l2_1_0
953 enable_api_ms_win_core_localization_obsolete_l1_1_0
954 enable_api_ms_win_core_localization_obsolete_l1_2_0
955 enable_api_ms_win_core_localization_obsolete_l1_3_0
956 enable_api_ms_win_core_localization_private_l1_1_0
957 enable_api_ms_win_core_localregistry_l1_1_0
958 enable_api_ms_win_core_memory_l1_1_0
959 enable_api_ms_win_core_memory_l1_1_1
960 enable_api_ms_win_core_memory_l1_1_2
961 enable_api_ms_win_core_misc_l1_1_0
962 enable_api_ms_win_core_namedpipe_l1_1_0
963 enable_api_ms_win_core_namedpipe_l1_2_0
964 enable_api_ms_win_core_namespace_l1_1_0
965 enable_api_ms_win_core_normalization_l1_1_0
966 enable_api_ms_win_core_path_l1_1_0
967 enable_api_ms_win_core_privateprofile_l1_1_1
968 enable_api_ms_win_core_processenvironment_l1_1_0
969 enable_api_ms_win_core_processenvironment_l1_2_0
970 enable_api_ms_win_core_processthreads_l1_1_0
971 enable_api_ms_win_core_processthreads_l1_1_1
972 enable_api_ms_win_core_processthreads_l1_1_2
973 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
974 enable_api_ms_win_core_profile_l1_1_0
975 enable_api_ms_win_core_psapi_ansi_l1_1_0
976 enable_api_ms_win_core_psapi_l1_1_0
977 enable_api_ms_win_core_psapi_obsolete_l1_1_0
978 enable_api_ms_win_core_quirks_l1_1_0
979 enable_api_ms_win_core_realtime_l1_1_0
980 enable_api_ms_win_core_registry_l1_1_0
981 enable_api_ms_win_core_registry_l2_1_0
982 enable_api_ms_win_core_registryuserspecific_l1_1_0
983 enable_api_ms_win_core_rtlsupport_l1_1_0
984 enable_api_ms_win_core_rtlsupport_l1_2_0
985 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
986 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
987 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
988 enable_api_ms_win_core_shutdown_l1_1_0
989 enable_api_ms_win_core_sidebyside_l1_1_0
990 enable_api_ms_win_core_string_l1_1_0
991 enable_api_ms_win_core_string_l2_1_0
992 enable_api_ms_win_core_string_obsolete_l1_1_0
993 enable_api_ms_win_core_stringansi_l1_1_0
994 enable_api_ms_win_core_synch_ansi_l1_1_0
995 enable_api_ms_win_core_synch_l1_1_0
996 enable_api_ms_win_core_synch_l1_2_0
997 enable_api_ms_win_core_synch_l1_2_1
998 enable_api_ms_win_core_sysinfo_l1_1_0
999 enable_api_ms_win_core_sysinfo_l1_2_0
1000 enable_api_ms_win_core_sysinfo_l1_2_1
1001 enable_api_ms_win_core_threadpool_l1_1_0
1002 enable_api_ms_win_core_threadpool_l1_2_0
1003 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1004 enable_api_ms_win_core_threadpool_private_l1_1_0
1005 enable_api_ms_win_core_timezone_l1_1_0
1006 enable_api_ms_win_core_toolhelp_l1_1_0
1007 enable_api_ms_win_core_url_l1_1_0
1008 enable_api_ms_win_core_util_l1_1_0
1009 enable_api_ms_win_core_version_l1_1_0
1010 enable_api_ms_win_core_version_l1_1_1
1011 enable_api_ms_win_core_version_private_l1_1_0
1012 enable_api_ms_win_core_versionansi_l1_1_0
1013 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1014 enable_api_ms_win_core_winrt_error_l1_1_0
1015 enable_api_ms_win_core_winrt_error_l1_1_1
1016 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1017 enable_api_ms_win_core_winrt_l1_1_0
1018 enable_api_ms_win_core_winrt_registration_l1_1_0
1019 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1020 enable_api_ms_win_core_winrt_string_l1_1_0
1021 enable_api_ms_win_core_wow64_l1_1_0
1022 enable_api_ms_win_core_wow64_l1_1_1
1023 enable_api_ms_win_core_xstate_l1_1_0
1024 enable_api_ms_win_core_xstate_l2_1_0
1025 enable_api_ms_win_crt_conio_l1_1_0
1026 enable_api_ms_win_crt_convert_l1_1_0
1027 enable_api_ms_win_crt_environment_l1_1_0
1028 enable_api_ms_win_crt_filesystem_l1_1_0
1029 enable_api_ms_win_crt_heap_l1_1_0
1030 enable_api_ms_win_crt_locale_l1_1_0
1031 enable_api_ms_win_crt_math_l1_1_0
1032 enable_api_ms_win_crt_multibyte_l1_1_0
1033 enable_api_ms_win_crt_private_l1_1_0
1034 enable_api_ms_win_crt_process_l1_1_0
1035 enable_api_ms_win_crt_runtime_l1_1_0
1036 enable_api_ms_win_crt_stdio_l1_1_0
1037 enable_api_ms_win_crt_string_l1_1_0
1038 enable_api_ms_win_crt_time_l1_1_0
1039 enable_api_ms_win_crt_utility_l1_1_0
1040 enable_api_ms_win_devices_config_l1_1_1
1041 enable_api_ms_win_devices_query_l1_1_1
1042 enable_api_ms_win_downlevel_advapi32_l1_1_0
1043 enable_api_ms_win_downlevel_advapi32_l2_1_0
1044 enable_api_ms_win_downlevel_normaliz_l1_1_0
1045 enable_api_ms_win_downlevel_ole32_l1_1_0
1046 enable_api_ms_win_downlevel_shell32_l1_1_0
1047 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1048 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1049 enable_api_ms_win_downlevel_user32_l1_1_0
1050 enable_api_ms_win_downlevel_version_l1_1_0
1051 enable_api_ms_win_dx_d3dkmt_l1_1_0
1052 enable_api_ms_win_eventing_classicprovider_l1_1_0
1053 enable_api_ms_win_eventing_consumer_l1_1_0
1054 enable_api_ms_win_eventing_controller_l1_1_0
1055 enable_api_ms_win_eventing_legacy_l1_1_0
1056 enable_api_ms_win_eventing_provider_l1_1_0
1057 enable_api_ms_win_eventlog_legacy_l1_1_0
1058 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1059 enable_api_ms_win_mm_joystick_l1_1_0
1060 enable_api_ms_win_mm_misc_l1_1_1
1061 enable_api_ms_win_mm_mme_l1_1_0
1062 enable_api_ms_win_mm_time_l1_1_0
1063 enable_api_ms_win_ntuser_dc_access_l1_1_0
1064 enable_api_ms_win_ntuser_rectangle_l1_1_0
1065 enable_api_ms_win_perf_legacy_l1_1_0
1066 enable_api_ms_win_power_base_l1_1_0
1067 enable_api_ms_win_power_setting_l1_1_0
1068 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1069 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1070 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1071 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1072 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1073 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1074 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1075 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1076 enable_api_ms_win_security_audit_l1_1_1
1077 enable_api_ms_win_security_base_l1_1_0
1078 enable_api_ms_win_security_base_l1_2_0
1079 enable_api_ms_win_security_base_private_l1_1_1
1080 enable_api_ms_win_security_credentials_l1_1_0
1081 enable_api_ms_win_security_grouppolicy_l1_1_0
1082 enable_api_ms_win_security_lsalookup_l1_1_0
1083 enable_api_ms_win_security_lsalookup_l1_1_1
1084 enable_api_ms_win_security_lsalookup_l2_1_0
1085 enable_api_ms_win_security_lsalookup_l2_1_1
1086 enable_api_ms_win_security_lsapolicy_l1_1_0
1087 enable_api_ms_win_security_provider_l1_1_0
1088 enable_api_ms_win_security_sddl_l1_1_0
1089 enable_api_ms_win_security_systemfunctions_l1_1_0
1090 enable_api_ms_win_service_core_l1_1_0
1091 enable_api_ms_win_service_core_l1_1_1
1092 enable_api_ms_win_service_management_l1_1_0
1093 enable_api_ms_win_service_management_l2_1_0
1094 enable_api_ms_win_service_private_l1_1_1
1095 enable_api_ms_win_service_winsvc_l1_1_0
1096 enable_api_ms_win_service_winsvc_l1_2_0
1097 enable_api_ms_win_shcore_obsolete_l1_1_0
1098 enable_api_ms_win_shcore_scaling_l1_1_1
1099 enable_api_ms_win_shcore_stream_l1_1_0
1100 enable_api_ms_win_shcore_thread_l1_1_0
1101 enable_api_ms_win_shell_shellcom_l1_1_0
1102 enable_api_ms_win_shell_shellfolders_l1_1_0
1103 enable_apphelp
1104 enable_appwiz_cpl
1105 enable_atl
1106 enable_atl100
1107 enable_atl110
1108 enable_atl80
1109 enable_atl90
1110 enable_authz
1111 enable_avicap32
1112 enable_avifil32
1113 enable_avrt
1114 enable_bcrypt
1115 enable_bluetoothapis
1116 enable_browseui
1117 enable_bthprops_cpl
1118 enable_cabinet
1119 enable_capi2032
1120 enable_cards
1121 enable_cdosys
1122 enable_cfgmgr32
1123 enable_clusapi
1124 enable_combase
1125 enable_comcat
1126 enable_comctl32
1127 enable_comdlg32
1128 enable_compstui
1129 enable_comsvcs
1130 enable_concrt140
1131 enable_connect
1132 enable_credui
1133 enable_crtdll
1134 enable_crypt32
1135 enable_cryptdlg
1136 enable_cryptdll
1137 enable_cryptext
1138 enable_cryptnet
1139 enable_cryptui
1140 enable_ctapi32
1141 enable_ctl3d32
1142 enable_d2d1
1143 enable_d3d10
1144 enable_d3d10_1
1145 enable_d3d10core
1146 enable_d3d11
1147 enable_d3d12
1148 enable_d3d8
1149 enable_d3d9
1150 enable_d3dcompiler_33
1151 enable_d3dcompiler_34
1152 enable_d3dcompiler_35
1153 enable_d3dcompiler_36
1154 enable_d3dcompiler_37
1155 enable_d3dcompiler_38
1156 enable_d3dcompiler_39
1157 enable_d3dcompiler_40
1158 enable_d3dcompiler_41
1159 enable_d3dcompiler_42
1160 enable_d3dcompiler_43
1161 enable_d3dcompiler_46
1162 enable_d3dcompiler_47
1163 enable_d3dim
1164 enable_d3drm
1165 enable_d3dx10_33
1166 enable_d3dx10_34
1167 enable_d3dx10_35
1168 enable_d3dx10_36
1169 enable_d3dx10_37
1170 enable_d3dx10_38
1171 enable_d3dx10_39
1172 enable_d3dx10_40
1173 enable_d3dx10_41
1174 enable_d3dx10_42
1175 enable_d3dx10_43
1176 enable_d3dx11_42
1177 enable_d3dx11_43
1178 enable_d3dx9_24
1179 enable_d3dx9_25
1180 enable_d3dx9_26
1181 enable_d3dx9_27
1182 enable_d3dx9_28
1183 enable_d3dx9_29
1184 enable_d3dx9_30
1185 enable_d3dx9_31
1186 enable_d3dx9_32
1187 enable_d3dx9_33
1188 enable_d3dx9_34
1189 enable_d3dx9_35
1190 enable_d3dx9_36
1191 enable_d3dx9_37
1192 enable_d3dx9_38
1193 enable_d3dx9_39
1194 enable_d3dx9_40
1195 enable_d3dx9_41
1196 enable_d3dx9_42
1197 enable_d3dx9_43
1198 enable_d3dxof
1199 enable_davclnt
1200 enable_dbgeng
1201 enable_dbghelp
1202 enable_dciman32
1203 enable_ddraw
1204 enable_ddrawex
1205 enable_devenum
1206 enable_dhcpcsvc
1207 enable_dhtmled_ocx
1208 enable_difxapi
1209 enable_dinput
1210 enable_dinput8
1211 enable_dispex
1212 enable_dmband
1213 enable_dmcompos
1214 enable_dmime
1215 enable_dmloader
1216 enable_dmscript
1217 enable_dmstyle
1218 enable_dmsynth
1219 enable_dmusic
1220 enable_dmusic32
1221 enable_dnsapi
1222 enable_dplay
1223 enable_dplayx
1224 enable_dpnaddr
1225 enable_dpnet
1226 enable_dpnhpast
1227 enable_dpnlobby
1228 enable_dpvoice
1229 enable_dpwsockx
1230 enable_drmclien
1231 enable_dsound
1232 enable_dsquery
1233 enable_dssenh
1234 enable_dswave
1235 enable_dwmapi
1236 enable_dwrite
1237 enable_dx8vb
1238 enable_dxdiagn
1239 enable_dxerr8
1240 enable_dxerr9
1241 enable_dxgi
1242 enable_dxguid
1243 enable_dxva2
1244 enable_esent
1245 enable_evr
1246 enable_explorerframe
1247 enable_ext_ms_win_authz_context_l1_1_0
1248 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1249 enable_ext_ms_win_dwmapi_ext_l1_1_0
1250 enable_ext_ms_win_gdi_dc_create_l1_1_1
1251 enable_ext_ms_win_gdi_dc_l1_2_0
1252 enable_ext_ms_win_gdi_devcaps_l1_1_0
1253 enable_ext_ms_win_gdi_draw_l1_1_1
1254 enable_ext_ms_win_gdi_render_l1_1_0
1255 enable_ext_ms_win_kernel32_package_current_l1_1_0
1256 enable_ext_ms_win_kernel32_package_l1_1_1
1257 enable_ext_ms_win_ntuser_draw_l1_1_0
1258 enable_ext_ms_win_ntuser_gui_l1_3_0
1259 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1260 enable_ext_ms_win_ntuser_message_l1_1_1
1261 enable_ext_ms_win_ntuser_misc_l1_5_1
1262 enable_ext_ms_win_ntuser_mouse_l1_1_0
1263 enable_ext_ms_win_ntuser_private_l1_1_1
1264 enable_ext_ms_win_ntuser_private_l1_3_1
1265 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1266 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1267 enable_ext_ms_win_ntuser_window_l1_1_1
1268 enable_ext_ms_win_ntuser_window_l1_1_4
1269 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1270 enable_ext_ms_win_oleacc_l1_1_0
1271 enable_ext_ms_win_ras_rasapi32_l1_1_0
1272 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1273 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1274 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1275 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1276 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1277 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1278 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1279 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1280 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1281 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1282 enable_ext_ms_win_security_credui_l1_1_0
1283 enable_ext_ms_win_security_cryptui_l1_1_0
1284 enable_faultrep
1285 enable_fltlib
1286 enable_fltmgr_sys
1287 enable_fntcache
1288 enable_fontsub
1289 enable_fusion
1290 enable_fwpuclnt
1291 enable_gameux
1292 enable_gdi32
1293 enable_gdiplus
1294 enable_glu32
1295 enable_gphoto2_ds
1296 enable_gpkcsp
1297 enable_hal
1298 enable_hhctrl_ocx
1299 enable_hid
1300 enable_hidclass_sys
1301 enable_hlink
1302 enable_hnetcfg
1303 enable_httpapi
1304 enable_iccvid
1305 enable_icmp
1306 enable_ieframe
1307 enable_ieproxy
1308 enable_imaadp32_acm
1309 enable_imagehlp
1310 enable_imm32
1311 enable_inetcomm
1312 enable_inetcpl_cpl
1313 enable_inetmib1
1314 enable_infosoft
1315 enable_initpki
1316 enable_inkobj
1317 enable_inseng
1318 enable_iphlpapi
1319 enable_iprop
1320 enable_irprops_cpl
1321 enable_itircl
1322 enable_itss
1323 enable_joy_cpl
1324 enable_jscript
1325 enable_jsproxy
1326 enable_kerberos
1327 enable_kernel32
1328 enable_kernelbase
1329 enable_ksuser
1330 enable_ktmw32
1331 enable_l3codeca_acm
1332 enable_loadperf
1333 enable_localspl
1334 enable_localui
1335 enable_lz32
1336 enable_mapi32
1337 enable_mapistub
1338 enable_mciavi32
1339 enable_mcicda
1340 enable_mciqtz32
1341 enable_mciseq
1342 enable_mciwave
1343 enable_mf
1344 enable_mf3216
1345 enable_mfplat
1346 enable_mfreadwrite
1347 enable_mfuuid
1348 enable_mgmtapi
1349 enable_midimap
1350 enable_mlang
1351 enable_mmcndmgr
1352 enable_mmdevapi
1353 enable_mountmgr_sys
1354 enable_mpr
1355 enable_mprapi
1356 enable_msacm32_drv
1357 enable_msacm32
1358 enable_msadp32_acm
1359 enable_msasn1
1360 enable_mscat32
1361 enable_mscms
1362 enable_mscoree
1363 enable_msctf
1364 enable_msctfp
1365 enable_msdaps
1366 enable_msdelta
1367 enable_msdmo
1368 enable_msdrm
1369 enable_msftedit
1370 enable_msg711_acm
1371 enable_msgsm32_acm
1372 enable_mshtml_tlb
1373 enable_mshtml
1374 enable_msi
1375 enable_msident
1376 enable_msimg32
1377 enable_msimsg
1378 enable_msimtf
1379 enable_msisip
1380 enable_msisys_ocx
1381 enable_msls31
1382 enable_msnet32
1383 enable_mspatcha
1384 enable_msports
1385 enable_msrle32
1386 enable_msscript_ocx
1387 enable_mssign32
1388 enable_mssip32
1389 enable_mstask
1390 enable_msvcirt
1391 enable_msvcm80
1392 enable_msvcm90
1393 enable_msvcp100
1394 enable_msvcp110
1395 enable_msvcp120
1396 enable_msvcp120_app
1397 enable_msvcp140
1398 enable_msvcp60
1399 enable_msvcp70
1400 enable_msvcp71
1401 enable_msvcp80
1402 enable_msvcp90
1403 enable_msvcr100
1404 enable_msvcr110
1405 enable_msvcr120
1406 enable_msvcr120_app
1407 enable_msvcr70
1408 enable_msvcr71
1409 enable_msvcr80
1410 enable_msvcr90
1411 enable_msvcrt
1412 enable_msvcrt20
1413 enable_msvcrt40
1414 enable_msvcrtd
1415 enable_msvfw32
1416 enable_msvidc32
1417 enable_mswsock
1418 enable_msxml
1419 enable_msxml2
1420 enable_msxml3
1421 enable_msxml4
1422 enable_msxml6
1423 enable_mtxdm
1424 enable_ncrypt
1425 enable_nddeapi
1426 enable_ndis_sys
1427 enable_netapi32
1428 enable_netcfgx
1429 enable_netprofm
1430 enable_newdev
1431 enable_ninput
1432 enable_normaliz
1433 enable_npmshtml
1434 enable_npptools
1435 enable_ntdll
1436 enable_ntdsapi
1437 enable_ntoskrnl_exe
1438 enable_ntprint
1439 enable_objsel
1440 enable_odbc32
1441 enable_odbccp32
1442 enable_odbccu32
1443 enable_ole32
1444 enable_oleacc
1445 enable_oleaut32
1446 enable_olecli32
1447 enable_oledb32
1448 enable_oledlg
1449 enable_olepro32
1450 enable_olesvr32
1451 enable_olethk32
1452 enable_openal32
1453 enable_opencl
1454 enable_opengl32
1455 enable_packager
1456 enable_pdh
1457 enable_photometadatahandler
1458 enable_pidgen
1459 enable_powrprof
1460 enable_printui
1461 enable_prntvpt
1462 enable_propsys
1463 enable_psapi
1464 enable_pstorec
1465 enable_qcap
1466 enable_qedit
1467 enable_qmgr
1468 enable_qmgrprxy
1469 enable_quartz
1470 enable_query
1471 enable_rasapi32
1472 enable_rasdlg
1473 enable_regapi
1474 enable_resutils
1475 enable_riched20
1476 enable_riched32
1477 enable_rpcrt4
1478 enable_rsabase
1479 enable_rsaenh
1480 enable_rstrtmgr
1481 enable_rtutils
1482 enable_samlib
1483 enable_sane_ds
1484 enable_sapi
1485 enable_scarddlg
1486 enable_sccbase
1487 enable_schannel
1488 enable_schedsvc
1489 enable_scrobj
1490 enable_scrrun
1491 enable_scsiport_sys
1492 enable_secur32
1493 enable_security
1494 enable_sensapi
1495 enable_serialui
1496 enable_setupapi
1497 enable_sfc
1498 enable_sfc_os
1499 enable_shcore
1500 enable_shdoclc
1501 enable_shdocvw
1502 enable_shell32
1503 enable_shfolder
1504 enable_shlwapi
1505 enable_slbcsp
1506 enable_slc
1507 enable_snmpapi
1508 enable_softpub
1509 enable_spoolss
1510 enable_sspicli
1511 enable_stdole2_tlb
1512 enable_stdole32_tlb
1513 enable_sti
1514 enable_strmbase
1515 enable_strmdll
1516 enable_strmiids
1517 enable_svrapi
1518 enable_sxs
1519 enable_t2embed
1520 enable_tapi32
1521 enable_taskschd
1522 enable_tdh
1523 enable_tdi_sys
1524 enable_traffic
1525 enable_twain_32
1526 enable_ucrtbase
1527 enable_uiautomationcore
1528 enable_uiribbon
1529 enable_unicows
1530 enable_updspapi
1531 enable_url
1532 enable_urlmon
1533 enable_usbd_sys
1534 enable_user32
1535 enable_userenv
1536 enable_usp10
1537 enable_uuid
1538 enable_uxtheme
1539 enable_vbscript
1540 enable_vcomp
1541 enable_vcomp100
1542 enable_vcomp110
1543 enable_vcomp120
1544 enable_vcomp140
1545 enable_vcomp90
1546 enable_vcruntime140
1547 enable_vdmdbg
1548 enable_version
1549 enable_virtdisk
1550 enable_vssapi
1551 enable_wbemdisp
1552 enable_wbemprox
1553 enable_wdscore
1554 enable_webservices
1555 enable_wer
1556 enable_wevtapi
1557 enable_wiaservc
1558 enable_wimgapi
1559 enable_windowscodecs
1560 enable_windowscodecsext
1561 enable_winealsa_drv
1562 enable_wineandroid_drv
1563 enable_winebus_sys
1564 enable_winecoreaudio_drv
1565 enable_winecrt0
1566 enable_wined3d
1567 enable_winegstreamer
1568 enable_winehid_sys
1569 enable_winejoystick_drv
1570 enable_winemac_drv
1571 enable_winemapi
1572 enable_wineoss_drv
1573 enable_wineps_drv
1574 enable_winepulse_drv
1575 enable_wineqtdecoder
1576 enable_winevulkan
1577 enable_winex11_drv
1578 enable_wing32
1579 enable_winhttp
1580 enable_wininet
1581 enable_winmm
1582 enable_winnls32
1583 enable_winscard
1584 enable_winspool_drv
1585 enable_winsta
1586 enable_wintab32
1587 enable_wintrust
1588 enable_winusb
1589 enable_wlanapi
1590 enable_wldap32
1591 enable_wmasf
1592 enable_wmi
1593 enable_wmiutils
1594 enable_wmp
1595 enable_wmphoto
1596 enable_wmvcore
1597 enable_wnaspi32
1598 enable_wpc
1599 enable_wpcap
1600 enable_ws2_32
1601 enable_wsdapi
1602 enable_wshom_ocx
1603 enable_wsnmp32
1604 enable_wsock32
1605 enable_wtsapi32
1606 enable_wuapi
1607 enable_wuaueng
1608 enable_x3daudio1_0
1609 enable_x3daudio1_1
1610 enable_x3daudio1_2
1611 enable_x3daudio1_3
1612 enable_x3daudio1_4
1613 enable_x3daudio1_5
1614 enable_x3daudio1_6
1615 enable_x3daudio1_7
1616 enable_xapofx1_1
1617 enable_xapofx1_2
1618 enable_xapofx1_3
1619 enable_xapofx1_4
1620 enable_xapofx1_5
1621 enable_xaudio2_0
1622 enable_xaudio2_1
1623 enable_xaudio2_2
1624 enable_xaudio2_3
1625 enable_xaudio2_4
1626 enable_xaudio2_5
1627 enable_xaudio2_6
1628 enable_xaudio2_7
1629 enable_xaudio2_8
1630 enable_xaudio2_9
1631 enable_xinput1_1
1632 enable_xinput1_2
1633 enable_xinput1_3
1634 enable_xinput1_4
1635 enable_xinput9_1_0
1636 enable_xmllite
1637 enable_xolehlp
1638 enable_xpsprint
1639 enable_xpssvcs
1640 enable_fonts
1641 enable_include
1642 enable_port
1643 enable_wine
1644 enable_wpp
1645 enable_loader
1646 enable_po
1647 enable_arp
1648 enable_aspnet_regiis
1649 enable_attrib
1650 enable_cabarc
1651 enable_cacls
1652 enable_clock
1653 enable_cmd
1654 enable_conhost
1655 enable_control
1656 enable_cscript
1657 enable_dpnsvr
1658 enable_dxdiag
1659 enable_eject
1660 enable_expand
1661 enable_explorer
1662 enable_extrac32
1663 enable_findstr
1664 enable_fsutil
1665 enable_hh
1666 enable_hostname
1667 enable_icacls
1668 enable_icinfo
1669 enable_iexplore
1670 enable_ipconfig
1671 enable_lodctr
1672 enable_mofcomp
1673 enable_mshta
1674 enable_msiexec
1675 enable_msinfo32
1676 enable_net
1677 enable_netsh
1678 enable_netstat
1679 enable_ngen
1680 enable_notepad
1681 enable_oleview
1682 enable_ping
1683 enable_plugplay
1684 enable_powershell
1685 enable_presentationfontcache
1686 enable_progman
1687 enable_reg
1688 enable_regasm
1689 enable_regedit
1690 enable_regsvcs
1691 enable_regsvr32
1692 enable_rpcss
1693 enable_rundll32
1694 enable_sc
1695 enable_schtasks
1696 enable_sdbinst
1697 enable_secedit
1698 enable_servicemodelreg
1699 enable_services
1700 enable_shutdown
1701 enable_spoolsv
1702 enable_start
1703 enable_subst
1704 enable_svchost
1705 enable_systeminfo
1706 enable_taskkill
1707 enable_tasklist
1708 enable_taskmgr
1709 enable_termsv
1710 enable_uninstaller
1711 enable_unlodctr
1712 enable_view
1713 enable_wevtutil
1714 enable_wineboot
1715 enable_winebrowser
1716 enable_winecfg
1717 enable_wineconsole
1718 enable_winedbg
1719 enable_winedevice
1720 enable_winefile
1721 enable_winemenubuilder
1722 enable_winemine
1723 enable_winemsibuilder
1724 enable_winepath
1725 enable_winetest
1726 enable_winhlp32
1727 enable_winver
1728 enable_wmic
1729 enable_wmplayer
1730 enable_wordpad
1731 enable_write
1732 enable_wscript
1733 enable_wusa
1734 enable_xcopy
1735 enable_server
1736 enable_tools
1737 enable_sfnt2fon
1738 enable_widl
1739 enable_winebuild
1740 enable_winedump
1741 enable_winegcc
1742 enable_winemaker
1743 enable_wmc
1744 enable_wrc
1746 ac_precious_vars='build_alias
1747 host_alias
1748 target_alias
1750 CFLAGS
1751 LDFLAGS
1752 LIBS
1753 CPPFLAGS
1755 CXXFLAGS
1758 XMKMF
1759 XML2_CFLAGS
1760 XML2_LIBS
1761 XSLT_CFLAGS
1762 XSLT_LIBS
1763 DBUS_CFLAGS
1764 DBUS_LIBS
1765 HAL_CFLAGS
1766 HAL_LIBS
1767 GNUTLS_CFLAGS
1768 GNUTLS_LIBS
1769 SANE_CFLAGS
1770 SANE_LIBS
1771 GPHOTO2_CFLAGS
1772 GPHOTO2_LIBS
1773 GPHOTO2_PORT_CFLAGS
1774 GPHOTO2_PORT_LIBS
1775 LCMS2_CFLAGS
1776 LCMS2_LIBS
1777 FREETYPE_CFLAGS
1778 FREETYPE_LIBS
1779 PULSE_CFLAGS
1780 PULSE_LIBS
1781 GSTREAMER_CFLAGS
1782 GSTREAMER_LIBS
1783 UDEV_CFLAGS
1784 UDEV_LIBS
1785 SDL2_CFLAGS
1786 SDL2_LIBS
1787 CAPI20_CFLAGS
1788 CAPI20_LIBS
1789 CUPS_CFLAGS
1790 CUPS_LIBS
1791 FONTCONFIG_CFLAGS
1792 FONTCONFIG_LIBS
1793 KRB5_CFLAGS
1794 KRB5_LIBS
1795 GSSAPI_CFLAGS
1796 GSSAPI_LIBS
1797 JPEG_CFLAGS
1798 JPEG_LIBS
1799 PNG_CFLAGS
1800 PNG_LIBS
1801 TIFF_CFLAGS
1802 TIFF_LIBS
1803 MPG123_CFLAGS
1804 MPG123_LIBS
1805 NETAPI_CFLAGS
1806 NETAPI_LIBS
1807 LDAP_CFLAGS
1808 LDAP_LIBS'
1811 # Initialize some variables set by options.
1812 ac_init_help=
1813 ac_init_version=false
1814 ac_unrecognized_opts=
1815 ac_unrecognized_sep=
1816 # The variables have the same names as the options, with
1817 # dashes changed to underlines.
1818 cache_file=/dev/null
1819 exec_prefix=NONE
1820 no_create=
1821 no_recursion=
1822 prefix=NONE
1823 program_prefix=NONE
1824 program_suffix=NONE
1825 program_transform_name=s,x,x,
1826 silent=
1827 site=
1828 srcdir=
1829 verbose=
1830 x_includes=NONE
1831 x_libraries=NONE
1833 # Installation directory options.
1834 # These are left unexpanded so users can "make install exec_prefix=/foo"
1835 # and all the variables that are supposed to be based on exec_prefix
1836 # by default will actually change.
1837 # Use braces instead of parens because sh, perl, etc. also accept them.
1838 # (The list follows the same order as the GNU Coding Standards.)
1839 bindir='${exec_prefix}/bin'
1840 sbindir='${exec_prefix}/sbin'
1841 libexecdir='${exec_prefix}/libexec'
1842 datarootdir='${prefix}/share'
1843 datadir='${datarootdir}'
1844 sysconfdir='${prefix}/etc'
1845 sharedstatedir='${prefix}/com'
1846 localstatedir='${prefix}/var'
1847 runstatedir='${localstatedir}/run'
1848 includedir='${prefix}/include'
1849 oldincludedir='/usr/include'
1850 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1851 infodir='${datarootdir}/info'
1852 htmldir='${docdir}'
1853 dvidir='${docdir}'
1854 pdfdir='${docdir}'
1855 psdir='${docdir}'
1856 libdir='${exec_prefix}/lib'
1857 localedir='${datarootdir}/locale'
1858 mandir='${datarootdir}/man'
1860 ac_prev=
1861 ac_dashdash=
1862 for ac_option
1864 # If the previous option needs an argument, assign it.
1865 if test -n "$ac_prev"; then
1866 eval $ac_prev=\$ac_option
1867 ac_prev=
1868 continue
1871 case $ac_option in
1872 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1873 *=) ac_optarg= ;;
1874 *) ac_optarg=yes ;;
1875 esac
1877 # Accept the important Cygnus configure options, so we can diagnose typos.
1879 case $ac_dashdash$ac_option in
1881 ac_dashdash=yes ;;
1883 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1884 ac_prev=bindir ;;
1885 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1886 bindir=$ac_optarg ;;
1888 -build | --build | --buil | --bui | --bu)
1889 ac_prev=build_alias ;;
1890 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1891 build_alias=$ac_optarg ;;
1893 -cache-file | --cache-file | --cache-fil | --cache-fi \
1894 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1895 ac_prev=cache_file ;;
1896 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1897 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1898 cache_file=$ac_optarg ;;
1900 --config-cache | -C)
1901 cache_file=config.cache ;;
1903 -datadir | --datadir | --datadi | --datad)
1904 ac_prev=datadir ;;
1905 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1906 datadir=$ac_optarg ;;
1908 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1909 | --dataroo | --dataro | --datar)
1910 ac_prev=datarootdir ;;
1911 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1912 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1913 datarootdir=$ac_optarg ;;
1915 -disable-* | --disable-*)
1916 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1917 # Reject names that are not valid shell variable names.
1918 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1919 as_fn_error $? "invalid feature name: $ac_useropt"
1920 ac_useropt_orig=$ac_useropt
1921 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1922 case $ac_user_opts in
1924 "enable_$ac_useropt"
1925 "*) ;;
1926 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1927 ac_unrecognized_sep=', ';;
1928 esac
1929 eval enable_$ac_useropt=no ;;
1931 -docdir | --docdir | --docdi | --doc | --do)
1932 ac_prev=docdir ;;
1933 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1934 docdir=$ac_optarg ;;
1936 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1937 ac_prev=dvidir ;;
1938 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1939 dvidir=$ac_optarg ;;
1941 -enable-* | --enable-*)
1942 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1943 # Reject names that are not valid shell variable names.
1944 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1945 as_fn_error $? "invalid feature name: $ac_useropt"
1946 ac_useropt_orig=$ac_useropt
1947 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1948 case $ac_user_opts in
1950 "enable_$ac_useropt"
1951 "*) ;;
1952 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1953 ac_unrecognized_sep=', ';;
1954 esac
1955 eval enable_$ac_useropt=\$ac_optarg ;;
1957 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1958 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1959 | --exec | --exe | --ex)
1960 ac_prev=exec_prefix ;;
1961 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1962 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1963 | --exec=* | --exe=* | --ex=*)
1964 exec_prefix=$ac_optarg ;;
1966 -gas | --gas | --ga | --g)
1967 # Obsolete; use --with-gas.
1968 with_gas=yes ;;
1970 -help | --help | --hel | --he | -h)
1971 ac_init_help=long ;;
1972 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1973 ac_init_help=recursive ;;
1974 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1975 ac_init_help=short ;;
1977 -host | --host | --hos | --ho)
1978 ac_prev=host_alias ;;
1979 -host=* | --host=* | --hos=* | --ho=*)
1980 host_alias=$ac_optarg ;;
1982 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1983 ac_prev=htmldir ;;
1984 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1985 | --ht=*)
1986 htmldir=$ac_optarg ;;
1988 -includedir | --includedir | --includedi | --included | --include \
1989 | --includ | --inclu | --incl | --inc)
1990 ac_prev=includedir ;;
1991 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1992 | --includ=* | --inclu=* | --incl=* | --inc=*)
1993 includedir=$ac_optarg ;;
1995 -infodir | --infodir | --infodi | --infod | --info | --inf)
1996 ac_prev=infodir ;;
1997 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1998 infodir=$ac_optarg ;;
2000 -libdir | --libdir | --libdi | --libd)
2001 ac_prev=libdir ;;
2002 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2003 libdir=$ac_optarg ;;
2005 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2006 | --libexe | --libex | --libe)
2007 ac_prev=libexecdir ;;
2008 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2009 | --libexe=* | --libex=* | --libe=*)
2010 libexecdir=$ac_optarg ;;
2012 -localedir | --localedir | --localedi | --localed | --locale)
2013 ac_prev=localedir ;;
2014 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2015 localedir=$ac_optarg ;;
2017 -localstatedir | --localstatedir | --localstatedi | --localstated \
2018 | --localstate | --localstat | --localsta | --localst | --locals)
2019 ac_prev=localstatedir ;;
2020 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2021 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2022 localstatedir=$ac_optarg ;;
2024 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2025 ac_prev=mandir ;;
2026 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2027 mandir=$ac_optarg ;;
2029 -nfp | --nfp | --nf)
2030 # Obsolete; use --without-fp.
2031 with_fp=no ;;
2033 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2034 | --no-cr | --no-c | -n)
2035 no_create=yes ;;
2037 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2038 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2039 no_recursion=yes ;;
2041 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2042 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2043 | --oldin | --oldi | --old | --ol | --o)
2044 ac_prev=oldincludedir ;;
2045 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2046 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2047 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2048 oldincludedir=$ac_optarg ;;
2050 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2051 ac_prev=prefix ;;
2052 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2053 prefix=$ac_optarg ;;
2055 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2056 | --program-pre | --program-pr | --program-p)
2057 ac_prev=program_prefix ;;
2058 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2059 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2060 program_prefix=$ac_optarg ;;
2062 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2063 | --program-suf | --program-su | --program-s)
2064 ac_prev=program_suffix ;;
2065 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2066 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2067 program_suffix=$ac_optarg ;;
2069 -program-transform-name | --program-transform-name \
2070 | --program-transform-nam | --program-transform-na \
2071 | --program-transform-n | --program-transform- \
2072 | --program-transform | --program-transfor \
2073 | --program-transfo | --program-transf \
2074 | --program-trans | --program-tran \
2075 | --progr-tra | --program-tr | --program-t)
2076 ac_prev=program_transform_name ;;
2077 -program-transform-name=* | --program-transform-name=* \
2078 | --program-transform-nam=* | --program-transform-na=* \
2079 | --program-transform-n=* | --program-transform-=* \
2080 | --program-transform=* | --program-transfor=* \
2081 | --program-transfo=* | --program-transf=* \
2082 | --program-trans=* | --program-tran=* \
2083 | --progr-tra=* | --program-tr=* | --program-t=*)
2084 program_transform_name=$ac_optarg ;;
2086 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2087 ac_prev=pdfdir ;;
2088 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2089 pdfdir=$ac_optarg ;;
2091 -psdir | --psdir | --psdi | --psd | --ps)
2092 ac_prev=psdir ;;
2093 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2094 psdir=$ac_optarg ;;
2096 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2097 | -silent | --silent | --silen | --sile | --sil)
2098 silent=yes ;;
2100 -runstatedir | --runstatedir | --runstatedi | --runstated \
2101 | --runstate | --runstat | --runsta | --runst | --runs \
2102 | --run | --ru | --r)
2103 ac_prev=runstatedir ;;
2104 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2105 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2106 | --run=* | --ru=* | --r=*)
2107 runstatedir=$ac_optarg ;;
2109 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2110 ac_prev=sbindir ;;
2111 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2112 | --sbi=* | --sb=*)
2113 sbindir=$ac_optarg ;;
2115 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2116 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2117 | --sharedst | --shareds | --shared | --share | --shar \
2118 | --sha | --sh)
2119 ac_prev=sharedstatedir ;;
2120 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2121 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2122 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2123 | --sha=* | --sh=*)
2124 sharedstatedir=$ac_optarg ;;
2126 -site | --site | --sit)
2127 ac_prev=site ;;
2128 -site=* | --site=* | --sit=*)
2129 site=$ac_optarg ;;
2131 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2132 ac_prev=srcdir ;;
2133 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2134 srcdir=$ac_optarg ;;
2136 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2137 | --syscon | --sysco | --sysc | --sys | --sy)
2138 ac_prev=sysconfdir ;;
2139 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2140 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2141 sysconfdir=$ac_optarg ;;
2143 -target | --target | --targe | --targ | --tar | --ta | --t)
2144 ac_prev=target_alias ;;
2145 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2146 target_alias=$ac_optarg ;;
2148 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2149 verbose=yes ;;
2151 -version | --version | --versio | --versi | --vers | -V)
2152 ac_init_version=: ;;
2154 -with-* | --with-*)
2155 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2156 # Reject names that are not valid shell variable names.
2157 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2158 as_fn_error $? "invalid package name: $ac_useropt"
2159 ac_useropt_orig=$ac_useropt
2160 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2161 case $ac_user_opts in
2163 "with_$ac_useropt"
2164 "*) ;;
2165 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2166 ac_unrecognized_sep=', ';;
2167 esac
2168 eval with_$ac_useropt=\$ac_optarg ;;
2170 -without-* | --without-*)
2171 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2172 # Reject names that are not valid shell variable names.
2173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2174 as_fn_error $? "invalid package name: $ac_useropt"
2175 ac_useropt_orig=$ac_useropt
2176 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2177 case $ac_user_opts in
2179 "with_$ac_useropt"
2180 "*) ;;
2181 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2182 ac_unrecognized_sep=', ';;
2183 esac
2184 eval with_$ac_useropt=no ;;
2186 --x)
2187 # Obsolete; use --with-x.
2188 with_x=yes ;;
2190 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2191 | --x-incl | --x-inc | --x-in | --x-i)
2192 ac_prev=x_includes ;;
2193 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2194 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2195 x_includes=$ac_optarg ;;
2197 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2198 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2199 ac_prev=x_libraries ;;
2200 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2201 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2202 x_libraries=$ac_optarg ;;
2204 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2205 Try \`$0 --help' for more information"
2208 *=*)
2209 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2210 # Reject names that are not valid shell variable names.
2211 case $ac_envvar in #(
2212 '' | [0-9]* | *[!_$as_cr_alnum]* )
2213 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2214 esac
2215 eval $ac_envvar=\$ac_optarg
2216 export $ac_envvar ;;
2219 # FIXME: should be removed in autoconf 3.0.
2220 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2221 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2222 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2223 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2226 esac
2227 done
2229 if test -n "$ac_prev"; then
2230 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2231 as_fn_error $? "missing argument to $ac_option"
2234 if test -n "$ac_unrecognized_opts"; then
2235 case $enable_option_checking in
2236 no) ;;
2237 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2238 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2239 esac
2242 # Check all directory arguments for consistency.
2243 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2244 datadir sysconfdir sharedstatedir localstatedir includedir \
2245 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2246 libdir localedir mandir runstatedir
2248 eval ac_val=\$$ac_var
2249 # Remove trailing slashes.
2250 case $ac_val in
2251 */ )
2252 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2253 eval $ac_var=\$ac_val;;
2254 esac
2255 # Be sure to have absolute directory names.
2256 case $ac_val in
2257 [\\/$]* | ?:[\\/]* ) continue;;
2258 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2259 esac
2260 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2261 done
2263 # There might be people who depend on the old broken behavior: `$host'
2264 # used to hold the argument of --host etc.
2265 # FIXME: To remove some day.
2266 build=$build_alias
2267 host=$host_alias
2268 target=$target_alias
2270 # FIXME: To remove some day.
2271 if test "x$host_alias" != x; then
2272 if test "x$build_alias" = x; then
2273 cross_compiling=maybe
2274 elif test "x$build_alias" != "x$host_alias"; then
2275 cross_compiling=yes
2279 ac_tool_prefix=
2280 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2282 test "$silent" = yes && exec 6>/dev/null
2285 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2286 ac_ls_di=`ls -di .` &&
2287 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2288 as_fn_error $? "working directory cannot be determined"
2289 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2290 as_fn_error $? "pwd does not report name of working directory"
2293 # Find the source files, if location was not specified.
2294 if test -z "$srcdir"; then
2295 ac_srcdir_defaulted=yes
2296 # Try the directory containing this script, then the parent directory.
2297 ac_confdir=`$as_dirname -- "$as_myself" ||
2298 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2299 X"$as_myself" : 'X\(//\)[^/]' \| \
2300 X"$as_myself" : 'X\(//\)$' \| \
2301 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2302 $as_echo X"$as_myself" |
2303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2304 s//\1/
2307 /^X\(\/\/\)[^/].*/{
2308 s//\1/
2311 /^X\(\/\/\)$/{
2312 s//\1/
2315 /^X\(\/\).*/{
2316 s//\1/
2319 s/.*/./; q'`
2320 srcdir=$ac_confdir
2321 if test ! -r "$srcdir/$ac_unique_file"; then
2322 srcdir=..
2324 else
2325 ac_srcdir_defaulted=no
2327 if test ! -r "$srcdir/$ac_unique_file"; then
2328 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2329 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2331 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2332 ac_abs_confdir=`(
2333 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2334 pwd)`
2335 # When building in place, set srcdir=.
2336 if test "$ac_abs_confdir" = "$ac_pwd"; then
2337 srcdir=.
2339 # Remove unnecessary trailing slashes from srcdir.
2340 # Double slashes in file names in object file debugging info
2341 # mess up M-x gdb in Emacs.
2342 case $srcdir in
2343 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2344 esac
2345 for ac_var in $ac_precious_vars; do
2346 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2347 eval ac_env_${ac_var}_value=\$${ac_var}
2348 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2349 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2350 done
2353 # Report the --help message.
2355 if test "$ac_init_help" = "long"; then
2356 # Omit some internal or obsolete options to make the list less imposing.
2357 # This message is too long to be a string in the A/UX 3.1 sh.
2358 cat <<_ACEOF
2359 \`configure' configures Wine 3.4 to adapt to many kinds of systems.
2361 Usage: $0 [OPTION]... [VAR=VALUE]...
2363 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2364 VAR=VALUE. See below for descriptions of some of the useful variables.
2366 Defaults for the options are specified in brackets.
2368 Configuration:
2369 -h, --help display this help and exit
2370 --help=short display options specific to this package
2371 --help=recursive display the short help of all the included packages
2372 -V, --version display version information and exit
2373 -q, --quiet, --silent do not print \`checking ...' messages
2374 --cache-file=FILE cache test results in FILE [disabled]
2375 -C, --config-cache alias for \`--cache-file=config.cache'
2376 -n, --no-create do not create output files
2377 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2379 Installation directories:
2380 --prefix=PREFIX install architecture-independent files in PREFIX
2381 [$ac_default_prefix]
2382 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2383 [PREFIX]
2385 By default, \`make install' will install all the files in
2386 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2387 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2388 for instance \`--prefix=\$HOME'.
2390 For better control, use the options below.
2392 Fine tuning of the installation directories:
2393 --bindir=DIR user executables [EPREFIX/bin]
2394 --sbindir=DIR system admin executables [EPREFIX/sbin]
2395 --libexecdir=DIR program executables [EPREFIX/libexec]
2396 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2397 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2398 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2399 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2400 --libdir=DIR object code libraries [EPREFIX/lib]
2401 --includedir=DIR C header files [PREFIX/include]
2402 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2403 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2404 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2405 --infodir=DIR info documentation [DATAROOTDIR/info]
2406 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2407 --mandir=DIR man documentation [DATAROOTDIR/man]
2408 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2409 --htmldir=DIR html documentation [DOCDIR]
2410 --dvidir=DIR dvi documentation [DOCDIR]
2411 --pdfdir=DIR pdf documentation [DOCDIR]
2412 --psdir=DIR ps documentation [DOCDIR]
2413 _ACEOF
2415 cat <<\_ACEOF
2417 X features:
2418 --x-includes=DIR X include files are in DIR
2419 --x-libraries=DIR X library files are in DIR
2421 System types:
2422 --build=BUILD configure for building on BUILD [guessed]
2423 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2424 _ACEOF
2427 if test -n "$ac_init_help"; then
2428 case $ac_init_help in
2429 short | recursive ) echo "Configuration of Wine 3.4:";;
2430 esac
2431 cat <<\_ACEOF
2433 Optional Features:
2434 --disable-option-checking ignore unrecognized --enable/--with options
2435 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2436 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2437 --disable-win16 do not include Win16 support
2438 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2439 binaries)
2440 --disable-tests do not build the regression tests
2441 --enable-maintainer-mode
2442 enable maintainer-specific build rules
2443 --disable-largefile omit support for large files
2445 Optional Packages:
2446 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2447 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2448 --without-alsa do not use the Alsa sound support
2449 --without-capi do not use CAPI (ISDN support)
2450 --without-cms do not use CMS (color management support)
2451 --without-coreaudio do not use the CoreAudio sound support
2452 --without-cups do not use CUPS
2453 --without-curses do not use (n)curses
2454 --without-dbus do not use DBus (dynamic device support)
2455 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2456 --without-fontconfig do not use fontconfig
2457 --without-freetype do not use the FreeType library
2458 --without-gettext do not use gettext
2459 --with-gettextpo use the GetTextPO library to rebuild po files
2460 --without-gphoto do not use gphoto (Digital Camera support)
2461 --without-glu do not use the GLU library
2462 --without-gnutls do not use GnuTLS (schannel support)
2463 --without-gsm do not use libgsm (GSM 06.10 codec support)
2464 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2465 --without-gstreamer do not use GStreamer (codecs support)
2466 --without-hal do not use HAL (dynamic device support)
2467 --without-jpeg do not use JPEG
2468 --without-krb5 do not use krb5 (Kerberos)
2469 --without-ldap do not use LDAP
2470 --without-mpg123 do not use the mpg123 library
2471 --without-netapi do not use the Samba NetAPI library
2472 --without-openal do not use OpenAL
2473 --without-opencl do not use OpenCL
2474 --without-opengl do not use OpenGL
2475 --without-osmesa do not use the OSMesa library
2476 --without-oss do not use the OSS sound support
2477 --without-pcap do not use the Packet Capture library
2478 --without-png do not use PNG
2479 --without-pthread do not use the pthread library
2480 --without-pulse do not use PulseAudio sound support
2481 --without-sane do not use SANE (scanner support)
2482 --without-sdl do not use SDL
2483 --without-tiff do not use TIFF
2484 --without-udev do not use udev (plug and play support)
2485 --without-v4l do not use v4l1 (v4l support)
2486 --without-vulkan do not use Vulkan
2487 --without-xcomposite do not use the Xcomposite extension
2488 --without-xcursor do not use the Xcursor extension
2489 --without-xfixes do not use Xfixes for clipboard change notifications
2490 --without-xinerama do not use Xinerama (multi-monitor support)
2491 --without-xinput do not use the Xinput extension
2492 --without-xinput2 do not use the Xinput 2 extension
2493 --without-xml do not use XML
2494 --without-xrandr do not use Xrandr (resolution changes)
2495 --without-xrender do not use the Xrender extension
2496 --without-xshape do not use the Xshape extension
2497 --without-xshm do not use XShm (shared memory extension)
2498 --without-xslt do not use XSLT
2499 --without-xxf86vm do not use XFree video mode extension
2500 --without-zlib do not use Zlib (data compression)
2501 --with-wine-tools=DIR use Wine tools from directory DIR
2502 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2503 --with-x use the X Window System
2505 Some influential environment variables:
2506 CC C compiler command
2507 CFLAGS C compiler flags
2508 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2509 nonstandard directory <lib dir>
2510 LIBS libraries to pass to the linker, e.g. -l<library>
2511 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2512 you have headers in a nonstandard directory <include dir>
2513 CXX C++ compiler command
2514 CXXFLAGS C++ compiler flags
2515 CPP C preprocessor
2516 XMKMF Path to xmkmf, Makefile generator for X Window System
2517 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2518 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2519 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2520 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2521 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2522 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2523 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2524 HAL_LIBS Linker flags for hal, overriding pkg-config
2525 GNUTLS_CFLAGS
2526 C compiler flags for gnutls, overriding pkg-config
2527 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2528 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2529 SANE_LIBS Linker flags for libsane, overriding pkg-config
2530 GPHOTO2_CFLAGS
2531 C compiler flags for libgphoto2, overriding pkg-config
2532 GPHOTO2_LIBS
2533 Linker flags for libgphoto2, overriding pkg-config
2534 GPHOTO2_PORT_CFLAGS
2535 C compiler flags for libgphoto2_port, overriding pkg-config
2536 GPHOTO2_PORT_LIBS
2537 Linker flags for libgphoto2_port, overriding pkg-config
2538 LCMS2_CFLAGS
2539 C compiler flags for lcms2, overriding pkg-config
2540 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2541 FREETYPE_CFLAGS
2542 C compiler flags for freetype2, overriding pkg-config
2543 FREETYPE_LIBS
2544 Linker flags for freetype2, overriding pkg-config
2545 PULSE_CFLAGS
2546 C compiler flags for libpulse, overriding pkg-config
2547 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2548 GSTREAMER_CFLAGS
2549 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2550 gstreamer-audio-1.0, overriding pkg-config
2551 GSTREAMER_LIBS
2552 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2553 gstreamer-audio-1.0, overriding pkg-config
2554 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2555 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2556 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2557 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2558 CAPI20_CFLAGS
2559 C compiler flags for capi20, overriding pkg-config
2560 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2561 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2562 CUPS_LIBS Linker flags for cups, overriding pkg-config
2563 FONTCONFIG_CFLAGS
2564 C compiler flags for fontconfig, overriding pkg-config
2565 FONTCONFIG_LIBS
2566 Linker flags for fontconfig, overriding pkg-config
2567 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2568 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2569 GSSAPI_CFLAGS
2570 C compiler flags for krb5-gssapi, overriding pkg-config
2571 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2572 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2573 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2574 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2575 PNG_LIBS Linker flags for libpng, overriding pkg-config
2576 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2577 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2578 MPG123_CFLAGS
2579 C compiler flags for libmpg123, overriding pkg-config
2580 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2581 NETAPI_CFLAGS
2582 C compiler flags for netapi, overriding pkg-config
2583 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2584 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2585 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2587 Use these variables to override the choices made by `configure' or to help
2588 it to find libraries and programs with nonstandard names/locations.
2590 Report bugs to <wine-devel@winehq.org>.
2591 Wine home page: <https://www.winehq.org>.
2592 _ACEOF
2593 ac_status=$?
2596 if test "$ac_init_help" = "recursive"; then
2597 # If there are subdirs, report their specific --help.
2598 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2599 test -d "$ac_dir" ||
2600 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2601 continue
2602 ac_builddir=.
2604 case "$ac_dir" in
2605 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2607 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2608 # A ".." for each directory in $ac_dir_suffix.
2609 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2610 case $ac_top_builddir_sub in
2611 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2612 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2613 esac ;;
2614 esac
2615 ac_abs_top_builddir=$ac_pwd
2616 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2617 # for backward compatibility:
2618 ac_top_builddir=$ac_top_build_prefix
2620 case $srcdir in
2621 .) # We are building in place.
2622 ac_srcdir=.
2623 ac_top_srcdir=$ac_top_builddir_sub
2624 ac_abs_top_srcdir=$ac_pwd ;;
2625 [\\/]* | ?:[\\/]* ) # Absolute name.
2626 ac_srcdir=$srcdir$ac_dir_suffix;
2627 ac_top_srcdir=$srcdir
2628 ac_abs_top_srcdir=$srcdir ;;
2629 *) # Relative name.
2630 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2631 ac_top_srcdir=$ac_top_build_prefix$srcdir
2632 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2633 esac
2634 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2636 cd "$ac_dir" || { ac_status=$?; continue; }
2637 # Check for guested configure.
2638 if test -f "$ac_srcdir/configure.gnu"; then
2639 echo &&
2640 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2641 elif test -f "$ac_srcdir/configure"; then
2642 echo &&
2643 $SHELL "$ac_srcdir/configure" --help=recursive
2644 else
2645 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2646 fi || ac_status=$?
2647 cd "$ac_pwd" || { ac_status=$?; break; }
2648 done
2651 test -n "$ac_init_help" && exit $ac_status
2652 if $ac_init_version; then
2653 cat <<\_ACEOF
2654 Wine configure 3.4
2655 generated by GNU Autoconf 2.69
2657 Copyright (C) 2012 Free Software Foundation, Inc.
2658 This configure script is free software; the Free Software Foundation
2659 gives unlimited permission to copy, distribute and modify it.
2660 _ACEOF
2661 exit
2664 ## ------------------------ ##
2665 ## Autoconf initialization. ##
2666 ## ------------------------ ##
2668 # ac_fn_c_try_compile LINENO
2669 # --------------------------
2670 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2671 ac_fn_c_try_compile ()
2673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2674 rm -f conftest.$ac_objext
2675 if { { ac_try="$ac_compile"
2676 case "(($ac_try" in
2677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2678 *) ac_try_echo=$ac_try;;
2679 esac
2680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2681 $as_echo "$ac_try_echo"; } >&5
2682 (eval "$ac_compile") 2>conftest.err
2683 ac_status=$?
2684 if test -s conftest.err; then
2685 grep -v '^ *+' conftest.err >conftest.er1
2686 cat conftest.er1 >&5
2687 mv -f conftest.er1 conftest.err
2689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2690 test $ac_status = 0; } && {
2691 test -z "$ac_c_werror_flag" ||
2692 test ! -s conftest.err
2693 } && test -s conftest.$ac_objext; then :
2694 ac_retval=0
2695 else
2696 $as_echo "$as_me: failed program was:" >&5
2697 sed 's/^/| /' conftest.$ac_ext >&5
2699 ac_retval=1
2701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2702 as_fn_set_status $ac_retval
2704 } # ac_fn_c_try_compile
2706 # ac_fn_cxx_try_compile LINENO
2707 # ----------------------------
2708 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2709 ac_fn_cxx_try_compile ()
2711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2712 rm -f conftest.$ac_objext
2713 if { { ac_try="$ac_compile"
2714 case "(($ac_try" in
2715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716 *) ac_try_echo=$ac_try;;
2717 esac
2718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2719 $as_echo "$ac_try_echo"; } >&5
2720 (eval "$ac_compile") 2>conftest.err
2721 ac_status=$?
2722 if test -s conftest.err; then
2723 grep -v '^ *+' conftest.err >conftest.er1
2724 cat conftest.er1 >&5
2725 mv -f conftest.er1 conftest.err
2727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2728 test $ac_status = 0; } && {
2729 test -z "$ac_cxx_werror_flag" ||
2730 test ! -s conftest.err
2731 } && test -s conftest.$ac_objext; then :
2732 ac_retval=0
2733 else
2734 $as_echo "$as_me: failed program was:" >&5
2735 sed 's/^/| /' conftest.$ac_ext >&5
2737 ac_retval=1
2739 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2740 as_fn_set_status $ac_retval
2742 } # ac_fn_cxx_try_compile
2744 # ac_fn_c_try_link LINENO
2745 # -----------------------
2746 # Try to link conftest.$ac_ext, and return whether this succeeded.
2747 ac_fn_c_try_link ()
2749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2750 rm -f conftest.$ac_objext conftest$ac_exeext
2751 if { { ac_try="$ac_link"
2752 case "(($ac_try" in
2753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2754 *) ac_try_echo=$ac_try;;
2755 esac
2756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2757 $as_echo "$ac_try_echo"; } >&5
2758 (eval "$ac_link") 2>conftest.err
2759 ac_status=$?
2760 if test -s conftest.err; then
2761 grep -v '^ *+' conftest.err >conftest.er1
2762 cat conftest.er1 >&5
2763 mv -f conftest.er1 conftest.err
2765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2766 test $ac_status = 0; } && {
2767 test -z "$ac_c_werror_flag" ||
2768 test ! -s conftest.err
2769 } && test -s conftest$ac_exeext && {
2770 test "$cross_compiling" = yes ||
2771 test -x conftest$ac_exeext
2772 }; then :
2773 ac_retval=0
2774 else
2775 $as_echo "$as_me: failed program was:" >&5
2776 sed 's/^/| /' conftest.$ac_ext >&5
2778 ac_retval=1
2780 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2781 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2782 # interfere with the next link command; also delete a directory that is
2783 # left behind by Apple's compiler. We do this before executing the actions.
2784 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2786 as_fn_set_status $ac_retval
2788 } # ac_fn_c_try_link
2790 # ac_fn_c_try_cpp LINENO
2791 # ----------------------
2792 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2793 ac_fn_c_try_cpp ()
2795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2796 if { { ac_try="$ac_cpp conftest.$ac_ext"
2797 case "(($ac_try" in
2798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2799 *) ac_try_echo=$ac_try;;
2800 esac
2801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2802 $as_echo "$ac_try_echo"; } >&5
2803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2804 ac_status=$?
2805 if test -s conftest.err; then
2806 grep -v '^ *+' conftest.err >conftest.er1
2807 cat conftest.er1 >&5
2808 mv -f conftest.er1 conftest.err
2810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2811 test $ac_status = 0; } > conftest.i && {
2812 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2813 test ! -s conftest.err
2814 }; then :
2815 ac_retval=0
2816 else
2817 $as_echo "$as_me: failed program was:" >&5
2818 sed 's/^/| /' conftest.$ac_ext >&5
2820 ac_retval=1
2822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2823 as_fn_set_status $ac_retval
2825 } # ac_fn_c_try_cpp
2827 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2828 # -------------------------------------------------------
2829 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2830 # the include files in INCLUDES and setting the cache variable VAR
2831 # accordingly.
2832 ac_fn_c_check_header_mongrel ()
2834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2835 if eval \${$3+:} false; then :
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2837 $as_echo_n "checking for $2... " >&6; }
2838 if eval \${$3+:} false; then :
2839 $as_echo_n "(cached) " >&6
2841 eval ac_res=\$$3
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2843 $as_echo "$ac_res" >&6; }
2844 else
2845 # Is the header compilable?
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2847 $as_echo_n "checking $2 usability... " >&6; }
2848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2849 /* end confdefs.h. */
2851 #include <$2>
2852 _ACEOF
2853 if ac_fn_c_try_compile "$LINENO"; then :
2854 ac_header_compiler=yes
2855 else
2856 ac_header_compiler=no
2858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2860 $as_echo "$ac_header_compiler" >&6; }
2862 # Is the header present?
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2864 $as_echo_n "checking $2 presence... " >&6; }
2865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2866 /* end confdefs.h. */
2867 #include <$2>
2868 _ACEOF
2869 if ac_fn_c_try_cpp "$LINENO"; then :
2870 ac_header_preproc=yes
2871 else
2872 ac_header_preproc=no
2874 rm -f conftest.err conftest.i conftest.$ac_ext
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2876 $as_echo "$ac_header_preproc" >&6; }
2878 # So? What about this header?
2879 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2880 yes:no: )
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2882 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2884 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2886 no:yes:* )
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2888 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2890 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2892 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2894 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2896 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2897 ( $as_echo "## ------------------------------------ ##
2898 ## Report this to wine-devel@winehq.org ##
2899 ## ------------------------------------ ##"
2900 ) | sed "s/^/$as_me: WARNING: /" >&2
2902 esac
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2904 $as_echo_n "checking for $2... " >&6; }
2905 if eval \${$3+:} false; then :
2906 $as_echo_n "(cached) " >&6
2907 else
2908 eval "$3=\$ac_header_compiler"
2910 eval ac_res=\$$3
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2912 $as_echo "$ac_res" >&6; }
2914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2916 } # ac_fn_c_check_header_mongrel
2918 # ac_fn_c_try_run LINENO
2919 # ----------------------
2920 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2921 # that executables *can* be run.
2922 ac_fn_c_try_run ()
2924 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2925 if { { ac_try="$ac_link"
2926 case "(($ac_try" in
2927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2928 *) ac_try_echo=$ac_try;;
2929 esac
2930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2931 $as_echo "$ac_try_echo"; } >&5
2932 (eval "$ac_link") 2>&5
2933 ac_status=$?
2934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2935 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2936 { { case "(($ac_try" in
2937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2938 *) ac_try_echo=$ac_try;;
2939 esac
2940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2941 $as_echo "$ac_try_echo"; } >&5
2942 (eval "$ac_try") 2>&5
2943 ac_status=$?
2944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2945 test $ac_status = 0; }; }; then :
2946 ac_retval=0
2947 else
2948 $as_echo "$as_me: program exited with status $ac_status" >&5
2949 $as_echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.$ac_ext >&5
2952 ac_retval=$ac_status
2954 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2955 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2956 as_fn_set_status $ac_retval
2958 } # ac_fn_c_try_run
2960 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2961 # -------------------------------------------------------
2962 # Tests whether HEADER exists and can be compiled using the include files in
2963 # INCLUDES, setting the cache variable VAR accordingly.
2964 ac_fn_c_check_header_compile ()
2966 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2968 $as_echo_n "checking for $2... " >&6; }
2969 if eval \${$3+:} false; then :
2970 $as_echo_n "(cached) " >&6
2971 else
2972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2973 /* end confdefs.h. */
2975 #include <$2>
2976 _ACEOF
2977 if ac_fn_c_try_compile "$LINENO"; then :
2978 eval "$3=yes"
2979 else
2980 eval "$3=no"
2982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2984 eval ac_res=\$$3
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2986 $as_echo "$ac_res" >&6; }
2987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2989 } # ac_fn_c_check_header_compile
2991 # ac_fn_c_check_func LINENO FUNC VAR
2992 # ----------------------------------
2993 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2994 ac_fn_c_check_func ()
2996 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2998 $as_echo_n "checking for $2... " >&6; }
2999 if eval \${$3+:} false; then :
3000 $as_echo_n "(cached) " >&6
3001 else
3002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3004 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3006 #define $2 innocuous_$2
3008 /* System header to define __stub macros and hopefully few prototypes,
3009 which can conflict with char $2 (); below.
3010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3011 <limits.h> exists even on freestanding compilers. */
3013 #ifdef __STDC__
3014 # include <limits.h>
3015 #else
3016 # include <assert.h>
3017 #endif
3019 #undef $2
3021 /* Override any GCC internal prototype to avoid an error.
3022 Use char because int might match the return type of a GCC
3023 builtin and then its argument prototype would still apply. */
3024 #ifdef __cplusplus
3025 extern "C"
3026 #endif
3027 char $2 ();
3028 /* The GNU C library defines this for functions which it implements
3029 to always fail with ENOSYS. Some functions are actually named
3030 something starting with __ and the normal name is an alias. */
3031 #if defined __stub_$2 || defined __stub___$2
3032 choke me
3033 #endif
3036 main ()
3038 return $2 ();
3040 return 0;
3042 _ACEOF
3043 if ac_fn_c_try_link "$LINENO"; then :
3044 eval "$3=yes"
3045 else
3046 eval "$3=no"
3048 rm -f core conftest.err conftest.$ac_objext \
3049 conftest$ac_exeext conftest.$ac_ext
3051 eval ac_res=\$$3
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3053 $as_echo "$ac_res" >&6; }
3054 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3056 } # ac_fn_c_check_func
3058 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3059 # ----------------------------------------------------
3060 # Tries to find if the field MEMBER exists in type AGGR, after including
3061 # INCLUDES, setting cache variable VAR accordingly.
3062 ac_fn_c_check_member ()
3064 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3066 $as_echo_n "checking for $2.$3... " >&6; }
3067 if eval \${$4+:} false; then :
3068 $as_echo_n "(cached) " >&6
3069 else
3070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3071 /* end confdefs.h. */
3074 main ()
3076 static $2 ac_aggr;
3077 if (ac_aggr.$3)
3078 return 0;
3080 return 0;
3082 _ACEOF
3083 if ac_fn_c_try_compile "$LINENO"; then :
3084 eval "$4=yes"
3085 else
3086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3087 /* end confdefs.h. */
3090 main ()
3092 static $2 ac_aggr;
3093 if (sizeof ac_aggr.$3)
3094 return 0;
3096 return 0;
3098 _ACEOF
3099 if ac_fn_c_try_compile "$LINENO"; then :
3100 eval "$4=yes"
3101 else
3102 eval "$4=no"
3104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3108 eval ac_res=\$$4
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3110 $as_echo "$ac_res" >&6; }
3111 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3113 } # ac_fn_c_check_member
3115 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3116 # -------------------------------------------
3117 # Tests whether TYPE exists after having included INCLUDES, setting cache
3118 # variable VAR accordingly.
3119 ac_fn_c_check_type ()
3121 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3123 $as_echo_n "checking for $2... " >&6; }
3124 if eval \${$3+:} false; then :
3125 $as_echo_n "(cached) " >&6
3126 else
3127 eval "$3=no"
3128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3129 /* end confdefs.h. */
3132 main ()
3134 if (sizeof ($2))
3135 return 0;
3137 return 0;
3139 _ACEOF
3140 if ac_fn_c_try_compile "$LINENO"; then :
3141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3142 /* end confdefs.h. */
3145 main ()
3147 if (sizeof (($2)))
3148 return 0;
3150 return 0;
3152 _ACEOF
3153 if ac_fn_c_try_compile "$LINENO"; then :
3155 else
3156 eval "$3=yes"
3158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3162 eval ac_res=\$$3
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3164 $as_echo "$ac_res" >&6; }
3165 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3167 } # ac_fn_c_check_type
3168 cat >config.log <<_ACEOF
3169 This file contains any messages produced by compilers while
3170 running configure, to aid debugging if configure makes a mistake.
3172 It was created by Wine $as_me 3.4, which was
3173 generated by GNU Autoconf 2.69. Invocation command line was
3175 $ $0 $@
3177 _ACEOF
3178 exec 5>>config.log
3180 cat <<_ASUNAME
3181 ## --------- ##
3182 ## Platform. ##
3183 ## --------- ##
3185 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3186 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3187 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3188 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3189 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3191 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3192 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3194 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3195 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3196 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3197 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3198 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3199 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3200 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3202 _ASUNAME
3204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205 for as_dir in $PATH
3207 IFS=$as_save_IFS
3208 test -z "$as_dir" && as_dir=.
3209 $as_echo "PATH: $as_dir"
3210 done
3211 IFS=$as_save_IFS
3213 } >&5
3215 cat >&5 <<_ACEOF
3218 ## ----------- ##
3219 ## Core tests. ##
3220 ## ----------- ##
3222 _ACEOF
3225 # Keep a trace of the command line.
3226 # Strip out --no-create and --no-recursion so they do not pile up.
3227 # Strip out --silent because we don't want to record it for future runs.
3228 # Also quote any args containing shell meta-characters.
3229 # Make two passes to allow for proper duplicate-argument suppression.
3230 ac_configure_args=
3231 ac_configure_args0=
3232 ac_configure_args1=
3233 ac_must_keep_next=false
3234 for ac_pass in 1 2
3236 for ac_arg
3238 case $ac_arg in
3239 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3240 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3241 | -silent | --silent | --silen | --sile | --sil)
3242 continue ;;
3243 *\'*)
3244 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3245 esac
3246 case $ac_pass in
3247 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3249 as_fn_append ac_configure_args1 " '$ac_arg'"
3250 if test $ac_must_keep_next = true; then
3251 ac_must_keep_next=false # Got value, back to normal.
3252 else
3253 case $ac_arg in
3254 *=* | --config-cache | -C | -disable-* | --disable-* \
3255 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3256 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3257 | -with-* | --with-* | -without-* | --without-* | --x)
3258 case "$ac_configure_args0 " in
3259 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3260 esac
3262 -* ) ac_must_keep_next=true ;;
3263 esac
3265 as_fn_append ac_configure_args " '$ac_arg'"
3267 esac
3268 done
3269 done
3270 { ac_configure_args0=; unset ac_configure_args0;}
3271 { ac_configure_args1=; unset ac_configure_args1;}
3273 # When interrupted or exit'd, cleanup temporary files, and complete
3274 # config.log. We remove comments because anyway the quotes in there
3275 # would cause problems or look ugly.
3276 # WARNING: Use '\'' to represent an apostrophe within the trap.
3277 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3278 trap 'exit_status=$?
3279 # Save into config.log some information that might help in debugging.
3281 echo
3283 $as_echo "## ---------------- ##
3284 ## Cache variables. ##
3285 ## ---------------- ##"
3286 echo
3287 # The following way of writing the cache mishandles newlines in values,
3289 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3290 eval ac_val=\$$ac_var
3291 case $ac_val in #(
3292 *${as_nl}*)
3293 case $ac_var in #(
3294 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3295 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3296 esac
3297 case $ac_var in #(
3298 _ | IFS | as_nl) ;; #(
3299 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3300 *) { eval $ac_var=; unset $ac_var;} ;;
3301 esac ;;
3302 esac
3303 done
3304 (set) 2>&1 |
3305 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3306 *${as_nl}ac_space=\ *)
3307 sed -n \
3308 "s/'\''/'\''\\\\'\'''\''/g;
3309 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3310 ;; #(
3312 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3314 esac |
3315 sort
3317 echo
3319 $as_echo "## ----------------- ##
3320 ## Output variables. ##
3321 ## ----------------- ##"
3322 echo
3323 for ac_var in $ac_subst_vars
3325 eval ac_val=\$$ac_var
3326 case $ac_val in
3327 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3328 esac
3329 $as_echo "$ac_var='\''$ac_val'\''"
3330 done | sort
3331 echo
3333 if test -n "$ac_subst_files"; then
3334 $as_echo "## ------------------- ##
3335 ## File substitutions. ##
3336 ## ------------------- ##"
3337 echo
3338 for ac_var in $ac_subst_files
3340 eval ac_val=\$$ac_var
3341 case $ac_val in
3342 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3343 esac
3344 $as_echo "$ac_var='\''$ac_val'\''"
3345 done | sort
3346 echo
3349 if test -s confdefs.h; then
3350 $as_echo "## ----------- ##
3351 ## confdefs.h. ##
3352 ## ----------- ##"
3353 echo
3354 cat confdefs.h
3355 echo
3357 test "$ac_signal" != 0 &&
3358 $as_echo "$as_me: caught signal $ac_signal"
3359 $as_echo "$as_me: exit $exit_status"
3360 } >&5
3361 rm -f core *.core core.conftest.* &&
3362 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3363 exit $exit_status
3365 for ac_signal in 1 2 13 15; do
3366 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3367 done
3368 ac_signal=0
3370 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3371 rm -f -r conftest* confdefs.h
3373 $as_echo "/* confdefs.h */" > confdefs.h
3375 # Predefined preprocessor variables.
3377 cat >>confdefs.h <<_ACEOF
3378 #define PACKAGE_NAME "$PACKAGE_NAME"
3379 _ACEOF
3381 cat >>confdefs.h <<_ACEOF
3382 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3383 _ACEOF
3385 cat >>confdefs.h <<_ACEOF
3386 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3387 _ACEOF
3389 cat >>confdefs.h <<_ACEOF
3390 #define PACKAGE_STRING "$PACKAGE_STRING"
3391 _ACEOF
3393 cat >>confdefs.h <<_ACEOF
3394 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3395 _ACEOF
3397 cat >>confdefs.h <<_ACEOF
3398 #define PACKAGE_URL "$PACKAGE_URL"
3399 _ACEOF
3402 # Let the site file select an alternate cache file if it wants to.
3403 # Prefer an explicitly selected file to automatically selected ones.
3404 ac_site_file1=NONE
3405 ac_site_file2=NONE
3406 if test -n "$CONFIG_SITE"; then
3407 # We do not want a PATH search for config.site.
3408 case $CONFIG_SITE in #((
3409 -*) ac_site_file1=./$CONFIG_SITE;;
3410 */*) ac_site_file1=$CONFIG_SITE;;
3411 *) ac_site_file1=./$CONFIG_SITE;;
3412 esac
3413 elif test "x$prefix" != xNONE; then
3414 ac_site_file1=$prefix/share/config.site
3415 ac_site_file2=$prefix/etc/config.site
3416 else
3417 ac_site_file1=$ac_default_prefix/share/config.site
3418 ac_site_file2=$ac_default_prefix/etc/config.site
3420 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3422 test "x$ac_site_file" = xNONE && continue
3423 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3425 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3426 sed 's/^/| /' "$ac_site_file" >&5
3427 . "$ac_site_file" \
3428 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3430 as_fn_error $? "failed to load site script $ac_site_file
3431 See \`config.log' for more details" "$LINENO" 5; }
3433 done
3435 if test -r "$cache_file"; then
3436 # Some versions of bash will fail to source /dev/null (special files
3437 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3438 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3440 $as_echo "$as_me: loading cache $cache_file" >&6;}
3441 case $cache_file in
3442 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3443 *) . "./$cache_file";;
3444 esac
3446 else
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3448 $as_echo "$as_me: creating cache $cache_file" >&6;}
3449 >$cache_file
3452 # Check that the precious variables saved in the cache have kept the same
3453 # value.
3454 ac_cache_corrupted=false
3455 for ac_var in $ac_precious_vars; do
3456 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3457 eval ac_new_set=\$ac_env_${ac_var}_set
3458 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3459 eval ac_new_val=\$ac_env_${ac_var}_value
3460 case $ac_old_set,$ac_new_set in
3461 set,)
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3463 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3464 ac_cache_corrupted=: ;;
3465 ,set)
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3467 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3468 ac_cache_corrupted=: ;;
3469 ,);;
3471 if test "x$ac_old_val" != "x$ac_new_val"; then
3472 # differences in whitespace do not lead to failure.
3473 ac_old_val_w=`echo x $ac_old_val`
3474 ac_new_val_w=`echo x $ac_new_val`
3475 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3477 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3478 ac_cache_corrupted=:
3479 else
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3481 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3482 eval $ac_var=\$ac_old_val
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3485 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3487 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3488 fi;;
3489 esac
3490 # Pass precious variables to config.status.
3491 if test "$ac_new_set" = set; then
3492 case $ac_new_val in
3493 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3494 *) ac_arg=$ac_var=$ac_new_val ;;
3495 esac
3496 case " $ac_configure_args " in
3497 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3498 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3499 esac
3501 done
3502 if $ac_cache_corrupted; then
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3506 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3507 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3509 ## -------------------- ##
3510 ## Main body of script. ##
3511 ## -------------------- ##
3513 ac_ext=c
3514 ac_cpp='$CPP $CPPFLAGS'
3515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3521 ac_config_headers="$ac_config_headers include/config.h"
3523 ac_aux_dir=
3524 for ac_dir in tools "$srcdir"/tools; do
3525 if test -f "$ac_dir/install-sh"; then
3526 ac_aux_dir=$ac_dir
3527 ac_install_sh="$ac_aux_dir/install-sh -c"
3528 break
3529 elif 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/shtool"; then
3534 ac_aux_dir=$ac_dir
3535 ac_install_sh="$ac_aux_dir/shtool install -c"
3536 break
3538 done
3539 if test -z "$ac_aux_dir"; then
3540 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3543 # These three variables are undocumented and unsupported,
3544 # and are intended to be withdrawn in a future Autoconf release.
3545 # They can cause serious problems if a builder's source tree is in a directory
3546 # whose full name contains unusual characters.
3547 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3548 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3549 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3553 libwine_version="1.0"
3557 # Check whether --enable-win16 was given.
3558 if test "${enable_win16+set}" = set; then :
3559 enableval=$enable_win16;
3562 # Check whether --enable-win64 was given.
3563 if test "${enable_win64+set}" = set; then :
3564 enableval=$enable_win64;
3567 # Check whether --enable-tests was given.
3568 if test "${enable_tests+set}" = set; then :
3569 enableval=$enable_tests;
3572 # Check whether --enable-maintainer-mode was given.
3573 if test "${enable_maintainer_mode+set}" = set; then :
3574 enableval=$enable_maintainer_mode;
3579 # Check whether --with-alsa was given.
3580 if test "${with_alsa+set}" = set; then :
3581 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3585 # Check whether --with-capi was given.
3586 if test "${with_capi+set}" = set; then :
3587 withval=$with_capi;
3591 # Check whether --with-cms was given.
3592 if test "${with_cms+set}" = set; then :
3593 withval=$with_cms;
3597 # Check whether --with-coreaudio was given.
3598 if test "${with_coreaudio+set}" = set; then :
3599 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3603 # Check whether --with-cups was given.
3604 if test "${with_cups+set}" = set; then :
3605 withval=$with_cups;
3609 # Check whether --with-curses was given.
3610 if test "${with_curses+set}" = set; then :
3611 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3615 # Check whether --with-dbus was given.
3616 if test "${with_dbus+set}" = set; then :
3617 withval=$with_dbus;
3621 # Check whether --with-float-abi was given.
3622 if test "${with_float_abi+set}" = set; then :
3623 withval=$with_float_abi;
3627 # Check whether --with-fontconfig was given.
3628 if test "${with_fontconfig+set}" = set; then :
3629 withval=$with_fontconfig;
3633 # Check whether --with-freetype was given.
3634 if test "${with_freetype+set}" = set; then :
3635 withval=$with_freetype;
3639 # Check whether --with-gettext was given.
3640 if test "${with_gettext+set}" = set; then :
3641 withval=$with_gettext;
3645 # Check whether --with-gettextpo was given.
3646 if test "${with_gettextpo+set}" = set; then :
3647 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3651 # Check whether --with-gphoto was given.
3652 if test "${with_gphoto+set}" = set; then :
3653 withval=$with_gphoto;
3657 # Check whether --with-glu was given.
3658 if test "${with_glu+set}" = set; then :
3659 withval=$with_glu;
3663 # Check whether --with-gnutls was given.
3664 if test "${with_gnutls+set}" = set; then :
3665 withval=$with_gnutls;
3669 # Check whether --with-gsm was given.
3670 if test "${with_gsm+set}" = set; then :
3671 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3675 # Check whether --with-gssapi was given.
3676 if test "${with_gssapi+set}" = set; then :
3677 withval=$with_gssapi;
3681 # Check whether --with-gstreamer was given.
3682 if test "${with_gstreamer+set}" = set; then :
3683 withval=$with_gstreamer;
3687 # Check whether --with-hal was given.
3688 if test "${with_hal+set}" = set; then :
3689 withval=$with_hal;
3693 # Check whether --with-jpeg was given.
3694 if test "${with_jpeg+set}" = set; then :
3695 withval=$with_jpeg;
3699 # Check whether --with-krb5 was given.
3700 if test "${with_krb5+set}" = set; then :
3701 withval=$with_krb5;
3705 # Check whether --with-ldap was given.
3706 if test "${with_ldap+set}" = set; then :
3707 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3711 # Check whether --with-mpg123 was given.
3712 if test "${with_mpg123+set}" = set; then :
3713 withval=$with_mpg123;
3717 # Check whether --with-netapi was given.
3718 if test "${with_netapi+set}" = set; then :
3719 withval=$with_netapi;
3723 # Check whether --with-openal was given.
3724 if test "${with_openal+set}" = set; then :
3725 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3729 # Check whether --with-opencl was given.
3730 if test "${with_opencl+set}" = set; then :
3731 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3735 # Check whether --with-opengl was given.
3736 if test "${with_opengl+set}" = set; then :
3737 withval=$with_opengl;
3741 # Check whether --with-osmesa was given.
3742 if test "${with_osmesa+set}" = set; then :
3743 withval=$with_osmesa;
3747 # Check whether --with-oss was given.
3748 if test "${with_oss+set}" = set; then :
3749 withval=$with_oss;
3753 # Check whether --with-pcap was given.
3754 if test "${with_pcap+set}" = set; then :
3755 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3759 # Check whether --with-png was given.
3760 if test "${with_png+set}" = set; then :
3761 withval=$with_png;
3765 # Check whether --with-pthread was given.
3766 if test "${with_pthread+set}" = set; then :
3767 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3771 # Check whether --with-pulse was given.
3772 if test "${with_pulse+set}" = set; then :
3773 withval=$with_pulse;
3777 # Check whether --with-sane was given.
3778 if test "${with_sane+set}" = set; then :
3779 withval=$with_sane;
3783 # Check whether --with-sdl was given.
3784 if test "${with_sdl+set}" = set; then :
3785 withval=$with_sdl;
3789 # Check whether --with-tiff was given.
3790 if test "${with_tiff+set}" = set; then :
3791 withval=$with_tiff;
3795 # Check whether --with-udev was given.
3796 if test "${with_udev+set}" = set; then :
3797 withval=$with_udev;
3801 # Check whether --with-v4l was given.
3802 if test "${with_v4l+set}" = set; then :
3803 withval=$with_v4l;
3807 # Check whether --with-vulkan was given.
3808 if test "${with_vulkan+set}" = set; then :
3809 withval=$with_vulkan;
3813 # Check whether --with-xcomposite was given.
3814 if test "${with_xcomposite+set}" = set; then :
3815 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3819 # Check whether --with-xcursor was given.
3820 if test "${with_xcursor+set}" = set; then :
3821 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3825 # Check whether --with-xfixes was given.
3826 if test "${with_xfixes+set}" = set; then :
3827 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3831 # Check whether --with-xinerama was given.
3832 if test "${with_xinerama+set}" = set; then :
3833 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3837 # Check whether --with-xinput was given.
3838 if test "${with_xinput+set}" = set; then :
3839 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3843 # Check whether --with-xinput2 was given.
3844 if test "${with_xinput2+set}" = set; then :
3845 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3849 # Check whether --with-xml was given.
3850 if test "${with_xml+set}" = set; then :
3851 withval=$with_xml;
3855 # Check whether --with-xrandr was given.
3856 if test "${with_xrandr+set}" = set; then :
3857 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3861 # Check whether --with-xrender was given.
3862 if test "${with_xrender+set}" = set; then :
3863 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3867 # Check whether --with-xshape was given.
3868 if test "${with_xshape+set}" = set; then :
3869 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3873 # Check whether --with-xshm was given.
3874 if test "${with_xshm+set}" = set; then :
3875 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3879 # Check whether --with-xslt was given.
3880 if test "${with_xslt+set}" = set; then :
3881 withval=$with_xslt;
3885 # Check whether --with-xxf86vm was given.
3886 if test "${with_xxf86vm+set}" = set; then :
3887 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
3891 # Check whether --with-zlib was given.
3892 if test "${with_zlib+set}" = set; then :
3893 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3898 # Check whether --with-wine-tools was given.
3899 if test "${with_wine_tools+set}" = set; then :
3900 withval=$with_wine_tools;
3904 # Check whether --with-wine64 was given.
3905 if test "${with_wine64+set}" = set; then :
3906 withval=$with_wine64;
3910 # Make sure we can run config.sub.
3911 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3912 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3915 $as_echo_n "checking build system type... " >&6; }
3916 if ${ac_cv_build+:} false; then :
3917 $as_echo_n "(cached) " >&6
3918 else
3919 ac_build_alias=$build_alias
3920 test "x$ac_build_alias" = x &&
3921 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3922 test "x$ac_build_alias" = x &&
3923 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3924 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3925 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3929 $as_echo "$ac_cv_build" >&6; }
3930 case $ac_cv_build in
3931 *-*-*) ;;
3932 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3933 esac
3934 build=$ac_cv_build
3935 ac_save_IFS=$IFS; IFS='-'
3936 set x $ac_cv_build
3937 shift
3938 build_cpu=$1
3939 build_vendor=$2
3940 shift; shift
3941 # Remember, the first character of IFS is used to create $*,
3942 # except with old shells:
3943 build_os=$*
3944 IFS=$ac_save_IFS
3945 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3949 $as_echo_n "checking host system type... " >&6; }
3950 if ${ac_cv_host+:} false; then :
3951 $as_echo_n "(cached) " >&6
3952 else
3953 if test "x$host_alias" = x; then
3954 ac_cv_host=$ac_cv_build
3955 else
3956 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3957 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3962 $as_echo "$ac_cv_host" >&6; }
3963 case $ac_cv_host in
3964 *-*-*) ;;
3965 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3966 esac
3967 host=$ac_cv_host
3968 ac_save_IFS=$IFS; IFS='-'
3969 set x $ac_cv_host
3970 shift
3971 host_cpu=$1
3972 host_vendor=$2
3973 shift; shift
3974 # Remember, the first character of IFS is used to create $*,
3975 # except with old shells:
3976 host_os=$*
3977 IFS=$ac_save_IFS
3978 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3982 case "$srcdir" in
3983 .) ;;
3984 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3985 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3986 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3987 fi ;;
3988 esac
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3992 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3993 set x ${MAKE-make}
3994 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3995 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3996 $as_echo_n "(cached) " >&6
3997 else
3998 cat >conftest.make <<\_ACEOF
3999 SHELL = /bin/sh
4000 all:
4001 @echo '@@@%%%=$(MAKE)=@@@%%%'
4002 _ACEOF
4003 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4004 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4005 *@@@%%%=?*=@@@%%%*)
4006 eval ac_cv_prog_make_${ac_make}_set=yes;;
4008 eval ac_cv_prog_make_${ac_make}_set=no;;
4009 esac
4010 rm -f conftest.make
4012 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4014 $as_echo "yes" >&6; }
4015 SET_MAKE=
4016 else
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018 $as_echo "no" >&6; }
4019 SET_MAKE="MAKE=${MAKE-make}"
4022 ac_ext=c
4023 ac_cpp='$CPP $CPPFLAGS'
4024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4027 if test -n "$ac_tool_prefix"; then
4028 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4029 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4031 $as_echo_n "checking for $ac_word... " >&6; }
4032 if ${ac_cv_prog_CC+:} false; then :
4033 $as_echo_n "(cached) " >&6
4034 else
4035 if test -n "$CC"; then
4036 ac_cv_prog_CC="$CC" # Let the user override the test.
4037 else
4038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4039 for as_dir in $PATH
4041 IFS=$as_save_IFS
4042 test -z "$as_dir" && as_dir=.
4043 for ac_exec_ext in '' $ac_executable_extensions; do
4044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4045 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 break 2
4049 done
4050 done
4051 IFS=$as_save_IFS
4055 CC=$ac_cv_prog_CC
4056 if test -n "$CC"; then
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4058 $as_echo "$CC" >&6; }
4059 else
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4061 $as_echo "no" >&6; }
4066 if test -z "$ac_cv_prog_CC"; then
4067 ac_ct_CC=$CC
4068 # Extract the first word of "gcc", so it can be a program name with args.
4069 set dummy gcc; ac_word=$2
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4071 $as_echo_n "checking for $ac_word... " >&6; }
4072 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4073 $as_echo_n "(cached) " >&6
4074 else
4075 if test -n "$ac_ct_CC"; then
4076 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4077 else
4078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4079 for as_dir in $PATH
4081 IFS=$as_save_IFS
4082 test -z "$as_dir" && as_dir=.
4083 for ac_exec_ext in '' $ac_executable_extensions; do
4084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4085 ac_cv_prog_ac_ct_CC="gcc"
4086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4087 break 2
4089 done
4090 done
4091 IFS=$as_save_IFS
4095 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4096 if test -n "$ac_ct_CC"; then
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4098 $as_echo "$ac_ct_CC" >&6; }
4099 else
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4101 $as_echo "no" >&6; }
4104 if test "x$ac_ct_CC" = x; then
4105 CC=""
4106 else
4107 case $cross_compiling:$ac_tool_warned in
4108 yes:)
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4111 ac_tool_warned=yes ;;
4112 esac
4113 CC=$ac_ct_CC
4115 else
4116 CC="$ac_cv_prog_CC"
4119 if test -z "$CC"; then
4120 if test -n "$ac_tool_prefix"; then
4121 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4122 set dummy ${ac_tool_prefix}cc; ac_word=$2
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4124 $as_echo_n "checking for $ac_word... " >&6; }
4125 if ${ac_cv_prog_CC+:} false; then :
4126 $as_echo_n "(cached) " >&6
4127 else
4128 if test -n "$CC"; then
4129 ac_cv_prog_CC="$CC" # Let the user override the test.
4130 else
4131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4132 for as_dir in $PATH
4134 IFS=$as_save_IFS
4135 test -z "$as_dir" && as_dir=.
4136 for ac_exec_ext in '' $ac_executable_extensions; do
4137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4138 ac_cv_prog_CC="${ac_tool_prefix}cc"
4139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4140 break 2
4142 done
4143 done
4144 IFS=$as_save_IFS
4148 CC=$ac_cv_prog_CC
4149 if test -n "$CC"; then
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4151 $as_echo "$CC" >&6; }
4152 else
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4154 $as_echo "no" >&6; }
4160 if test -z "$CC"; then
4161 # Extract the first word of "cc", so it can be a program name with args.
4162 set dummy cc; ac_word=$2
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4164 $as_echo_n "checking for $ac_word... " >&6; }
4165 if ${ac_cv_prog_CC+:} false; then :
4166 $as_echo_n "(cached) " >&6
4167 else
4168 if test -n "$CC"; then
4169 ac_cv_prog_CC="$CC" # Let the user override the test.
4170 else
4171 ac_prog_rejected=no
4172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4173 for as_dir in $PATH
4175 IFS=$as_save_IFS
4176 test -z "$as_dir" && as_dir=.
4177 for ac_exec_ext in '' $ac_executable_extensions; do
4178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4179 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4180 ac_prog_rejected=yes
4181 continue
4183 ac_cv_prog_CC="cc"
4184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4185 break 2
4187 done
4188 done
4189 IFS=$as_save_IFS
4191 if test $ac_prog_rejected = yes; then
4192 # We found a bogon in the path, so make sure we never use it.
4193 set dummy $ac_cv_prog_CC
4194 shift
4195 if test $# != 0; then
4196 # We chose a different compiler from the bogus one.
4197 # However, it has the same basename, so the bogon will be chosen
4198 # first if we set CC to just the basename; use the full file name.
4199 shift
4200 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4205 CC=$ac_cv_prog_CC
4206 if test -n "$CC"; then
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4208 $as_echo "$CC" >&6; }
4209 else
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4211 $as_echo "no" >&6; }
4216 if test -z "$CC"; then
4217 if test -n "$ac_tool_prefix"; then
4218 for ac_prog in cl.exe
4220 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4221 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4223 $as_echo_n "checking for $ac_word... " >&6; }
4224 if ${ac_cv_prog_CC+:} false; then :
4225 $as_echo_n "(cached) " >&6
4226 else
4227 if test -n "$CC"; then
4228 ac_cv_prog_CC="$CC" # Let the user override the test.
4229 else
4230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4231 for as_dir in $PATH
4233 IFS=$as_save_IFS
4234 test -z "$as_dir" && as_dir=.
4235 for ac_exec_ext in '' $ac_executable_extensions; do
4236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4237 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4239 break 2
4241 done
4242 done
4243 IFS=$as_save_IFS
4247 CC=$ac_cv_prog_CC
4248 if test -n "$CC"; then
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4250 $as_echo "$CC" >&6; }
4251 else
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4253 $as_echo "no" >&6; }
4257 test -n "$CC" && break
4258 done
4260 if test -z "$CC"; then
4261 ac_ct_CC=$CC
4262 for ac_prog in cl.exe
4264 # Extract the first word of "$ac_prog", so it can be a program name with args.
4265 set dummy $ac_prog; ac_word=$2
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4267 $as_echo_n "checking for $ac_word... " >&6; }
4268 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4269 $as_echo_n "(cached) " >&6
4270 else
4271 if test -n "$ac_ct_CC"; then
4272 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4273 else
4274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4275 for as_dir in $PATH
4277 IFS=$as_save_IFS
4278 test -z "$as_dir" && as_dir=.
4279 for ac_exec_ext in '' $ac_executable_extensions; do
4280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4281 ac_cv_prog_ac_ct_CC="$ac_prog"
4282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4283 break 2
4285 done
4286 done
4287 IFS=$as_save_IFS
4291 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4292 if test -n "$ac_ct_CC"; then
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4294 $as_echo "$ac_ct_CC" >&6; }
4295 else
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4297 $as_echo "no" >&6; }
4301 test -n "$ac_ct_CC" && break
4302 done
4304 if test "x$ac_ct_CC" = x; then
4305 CC=""
4306 else
4307 case $cross_compiling:$ac_tool_warned in
4308 yes:)
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4311 ac_tool_warned=yes ;;
4312 esac
4313 CC=$ac_ct_CC
4320 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4322 as_fn_error $? "no acceptable C compiler found in \$PATH
4323 See \`config.log' for more details" "$LINENO" 5; }
4325 # Provide some information about the compiler.
4326 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4327 set X $ac_compile
4328 ac_compiler=$2
4329 for ac_option in --version -v -V -qversion; do
4330 { { ac_try="$ac_compiler $ac_option >&5"
4331 case "(($ac_try" in
4332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4333 *) ac_try_echo=$ac_try;;
4334 esac
4335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4336 $as_echo "$ac_try_echo"; } >&5
4337 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4338 ac_status=$?
4339 if test -s conftest.err; then
4340 sed '10a\
4341 ... rest of stderr output deleted ...
4342 10q' conftest.err >conftest.er1
4343 cat conftest.er1 >&5
4345 rm -f conftest.er1 conftest.err
4346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4347 test $ac_status = 0; }
4348 done
4350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4351 /* end confdefs.h. */
4354 main ()
4358 return 0;
4360 _ACEOF
4361 ac_clean_files_save=$ac_clean_files
4362 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4363 # Try to create an executable without -o first, disregard a.out.
4364 # It will help us diagnose broken compilers, and finding out an intuition
4365 # of exeext.
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4367 $as_echo_n "checking whether the C compiler works... " >&6; }
4368 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4370 # The possible output files:
4371 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4373 ac_rmfiles=
4374 for ac_file in $ac_files
4376 case $ac_file in
4377 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4378 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4379 esac
4380 done
4381 rm -f $ac_rmfiles
4383 if { { ac_try="$ac_link_default"
4384 case "(($ac_try" in
4385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4386 *) ac_try_echo=$ac_try;;
4387 esac
4388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4389 $as_echo "$ac_try_echo"; } >&5
4390 (eval "$ac_link_default") 2>&5
4391 ac_status=$?
4392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4393 test $ac_status = 0; }; then :
4394 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4395 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4396 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4397 # so that the user can short-circuit this test for compilers unknown to
4398 # Autoconf.
4399 for ac_file in $ac_files ''
4401 test -f "$ac_file" || continue
4402 case $ac_file in
4403 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4405 [ab].out )
4406 # We found the default executable, but exeext='' is most
4407 # certainly right.
4408 break;;
4409 *.* )
4410 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4411 then :; else
4412 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4414 # We set ac_cv_exeext here because the later test for it is not
4415 # safe: cross compilers may not add the suffix if given an `-o'
4416 # argument, so we may need to know it at that point already.
4417 # Even if this section looks crufty: it has the advantage of
4418 # actually working.
4419 break;;
4421 break;;
4422 esac
4423 done
4424 test "$ac_cv_exeext" = no && ac_cv_exeext=
4426 else
4427 ac_file=''
4429 if test -z "$ac_file"; then :
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4432 $as_echo "$as_me: failed program was:" >&5
4433 sed 's/^/| /' conftest.$ac_ext >&5
4435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4437 as_fn_error 77 "C compiler cannot create executables
4438 See \`config.log' for more details" "$LINENO" 5; }
4439 else
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4441 $as_echo "yes" >&6; }
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4444 $as_echo_n "checking for C compiler default output file name... " >&6; }
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4446 $as_echo "$ac_file" >&6; }
4447 ac_exeext=$ac_cv_exeext
4449 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4450 ac_clean_files=$ac_clean_files_save
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4452 $as_echo_n "checking for suffix of executables... " >&6; }
4453 if { { ac_try="$ac_link"
4454 case "(($ac_try" in
4455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4456 *) ac_try_echo=$ac_try;;
4457 esac
4458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4459 $as_echo "$ac_try_echo"; } >&5
4460 (eval "$ac_link") 2>&5
4461 ac_status=$?
4462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4463 test $ac_status = 0; }; then :
4464 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4465 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4466 # work properly (i.e., refer to `conftest.exe'), while it won't with
4467 # `rm'.
4468 for ac_file in conftest.exe conftest conftest.*; do
4469 test -f "$ac_file" || continue
4470 case $ac_file in
4471 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4472 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4473 break;;
4474 * ) break;;
4475 esac
4476 done
4477 else
4478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4480 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4481 See \`config.log' for more details" "$LINENO" 5; }
4483 rm -f conftest conftest$ac_cv_exeext
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4485 $as_echo "$ac_cv_exeext" >&6; }
4487 rm -f conftest.$ac_ext
4488 EXEEXT=$ac_cv_exeext
4489 ac_exeext=$EXEEXT
4490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4492 #include <stdio.h>
4494 main ()
4496 FILE *f = fopen ("conftest.out", "w");
4497 return ferror (f) || fclose (f) != 0;
4500 return 0;
4502 _ACEOF
4503 ac_clean_files="$ac_clean_files conftest.out"
4504 # Check that the compiler produces executables we can run. If not, either
4505 # the compiler is broken, or we cross compile.
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4507 $as_echo_n "checking whether we are cross compiling... " >&6; }
4508 if test "$cross_compiling" != yes; then
4509 { { ac_try="$ac_link"
4510 case "(($ac_try" in
4511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4512 *) ac_try_echo=$ac_try;;
4513 esac
4514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4515 $as_echo "$ac_try_echo"; } >&5
4516 (eval "$ac_link") 2>&5
4517 ac_status=$?
4518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4519 test $ac_status = 0; }
4520 if { ac_try='./conftest$ac_cv_exeext'
4521 { { case "(($ac_try" in
4522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4523 *) ac_try_echo=$ac_try;;
4524 esac
4525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4526 $as_echo "$ac_try_echo"; } >&5
4527 (eval "$ac_try") 2>&5
4528 ac_status=$?
4529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4530 test $ac_status = 0; }; }; then
4531 cross_compiling=no
4532 else
4533 if test "$cross_compiling" = maybe; then
4534 cross_compiling=yes
4535 else
4536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4538 as_fn_error $? "cannot run C compiled programs.
4539 If you meant to cross compile, use \`--host'.
4540 See \`config.log' for more details" "$LINENO" 5; }
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4545 $as_echo "$cross_compiling" >&6; }
4547 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4548 ac_clean_files=$ac_clean_files_save
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4550 $as_echo_n "checking for suffix of object files... " >&6; }
4551 if ${ac_cv_objext+:} false; then :
4552 $as_echo_n "(cached) " >&6
4553 else
4554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4555 /* end confdefs.h. */
4558 main ()
4562 return 0;
4564 _ACEOF
4565 rm -f conftest.o conftest.obj
4566 if { { ac_try="$ac_compile"
4567 case "(($ac_try" in
4568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4569 *) ac_try_echo=$ac_try;;
4570 esac
4571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4572 $as_echo "$ac_try_echo"; } >&5
4573 (eval "$ac_compile") 2>&5
4574 ac_status=$?
4575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4576 test $ac_status = 0; }; then :
4577 for ac_file in conftest.o conftest.obj conftest.*; do
4578 test -f "$ac_file" || continue;
4579 case $ac_file in
4580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4581 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4582 break;;
4583 esac
4584 done
4585 else
4586 $as_echo "$as_me: failed program was:" >&5
4587 sed 's/^/| /' conftest.$ac_ext >&5
4589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4591 as_fn_error $? "cannot compute suffix of object files: cannot compile
4592 See \`config.log' for more details" "$LINENO" 5; }
4594 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4597 $as_echo "$ac_cv_objext" >&6; }
4598 OBJEXT=$ac_cv_objext
4599 ac_objext=$OBJEXT
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4601 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4602 if ${ac_cv_c_compiler_gnu+:} false; then :
4603 $as_echo_n "(cached) " >&6
4604 else
4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4609 main ()
4611 #ifndef __GNUC__
4612 choke me
4613 #endif
4616 return 0;
4618 _ACEOF
4619 if ac_fn_c_try_compile "$LINENO"; then :
4620 ac_compiler_gnu=yes
4621 else
4622 ac_compiler_gnu=no
4624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4625 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4629 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4630 if test $ac_compiler_gnu = yes; then
4631 GCC=yes
4632 else
4633 GCC=
4635 ac_test_CFLAGS=${CFLAGS+set}
4636 ac_save_CFLAGS=$CFLAGS
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4638 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4639 if ${ac_cv_prog_cc_g+:} false; then :
4640 $as_echo_n "(cached) " >&6
4641 else
4642 ac_save_c_werror_flag=$ac_c_werror_flag
4643 ac_c_werror_flag=yes
4644 ac_cv_prog_cc_g=no
4645 CFLAGS="-g"
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4650 main ()
4654 return 0;
4656 _ACEOF
4657 if ac_fn_c_try_compile "$LINENO"; then :
4658 ac_cv_prog_cc_g=yes
4659 else
4660 CFLAGS=""
4661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4662 /* end confdefs.h. */
4665 main ()
4669 return 0;
4671 _ACEOF
4672 if ac_fn_c_try_compile "$LINENO"; then :
4674 else
4675 ac_c_werror_flag=$ac_save_c_werror_flag
4676 CFLAGS="-g"
4677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */
4681 main ()
4685 return 0;
4687 _ACEOF
4688 if ac_fn_c_try_compile "$LINENO"; then :
4689 ac_cv_prog_cc_g=yes
4691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4696 ac_c_werror_flag=$ac_save_c_werror_flag
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4699 $as_echo "$ac_cv_prog_cc_g" >&6; }
4700 if test "$ac_test_CFLAGS" = set; then
4701 CFLAGS=$ac_save_CFLAGS
4702 elif test $ac_cv_prog_cc_g = yes; then
4703 if test "$GCC" = yes; then
4704 CFLAGS="-g -O2"
4705 else
4706 CFLAGS="-g"
4708 else
4709 if test "$GCC" = yes; then
4710 CFLAGS="-O2"
4711 else
4712 CFLAGS=
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4716 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4717 if ${ac_cv_prog_cc_c89+:} false; then :
4718 $as_echo_n "(cached) " >&6
4719 else
4720 ac_cv_prog_cc_c89=no
4721 ac_save_CC=$CC
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4724 #include <stdarg.h>
4725 #include <stdio.h>
4726 struct stat;
4727 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4728 struct buf { int x; };
4729 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4730 static char *e (p, i)
4731 char **p;
4732 int i;
4734 return p[i];
4736 static char *f (char * (*g) (char **, int), char **p, ...)
4738 char *s;
4739 va_list v;
4740 va_start (v,p);
4741 s = g (p, va_arg (v,int));
4742 va_end (v);
4743 return s;
4746 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4747 function prototypes and stuff, but not '\xHH' hex character constants.
4748 These don't provoke an error unfortunately, instead are silently treated
4749 as 'x'. The following induces an error, until -std is added to get
4750 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4751 array size at least. It's necessary to write '\x00'==0 to get something
4752 that's true only with -std. */
4753 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4755 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4756 inside strings and character constants. */
4757 #define FOO(x) 'x'
4758 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4760 int test (int i, double x);
4761 struct s1 {int (*f) (int a);};
4762 struct s2 {int (*f) (double a);};
4763 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4764 int argc;
4765 char **argv;
4767 main ()
4769 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4771 return 0;
4773 _ACEOF
4774 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4775 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4777 CC="$ac_save_CC $ac_arg"
4778 if ac_fn_c_try_compile "$LINENO"; then :
4779 ac_cv_prog_cc_c89=$ac_arg
4781 rm -f core conftest.err conftest.$ac_objext
4782 test "x$ac_cv_prog_cc_c89" != "xno" && break
4783 done
4784 rm -f conftest.$ac_ext
4785 CC=$ac_save_CC
4788 # AC_CACHE_VAL
4789 case "x$ac_cv_prog_cc_c89" in
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4792 $as_echo "none needed" >&6; } ;;
4793 xno)
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4795 $as_echo "unsupported" >&6; } ;;
4797 CC="$CC $ac_cv_prog_cc_c89"
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4799 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4800 esac
4801 if test "x$ac_cv_prog_cc_c89" != xno; then :
4805 ac_ext=c
4806 ac_cpp='$CPP $CPPFLAGS'
4807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4811 ac_ext=cpp
4812 ac_cpp='$CXXCPP $CPPFLAGS'
4813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4816 if test -z "$CXX"; then
4817 if test -n "$CCC"; then
4818 CXX=$CCC
4819 else
4820 if test -n "$ac_tool_prefix"; then
4821 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4823 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4824 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4826 $as_echo_n "checking for $ac_word... " >&6; }
4827 if ${ac_cv_prog_CXX+:} false; then :
4828 $as_echo_n "(cached) " >&6
4829 else
4830 if test -n "$CXX"; then
4831 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4832 else
4833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4834 for as_dir in $PATH
4836 IFS=$as_save_IFS
4837 test -z "$as_dir" && as_dir=.
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4840 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4842 break 2
4844 done
4845 done
4846 IFS=$as_save_IFS
4850 CXX=$ac_cv_prog_CXX
4851 if test -n "$CXX"; then
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4853 $as_echo "$CXX" >&6; }
4854 else
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 $as_echo "no" >&6; }
4860 test -n "$CXX" && break
4861 done
4863 if test -z "$CXX"; then
4864 ac_ct_CXX=$CXX
4865 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4867 # Extract the first word of "$ac_prog", so it can be a program name with args.
4868 set dummy $ac_prog; ac_word=$2
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4870 $as_echo_n "checking for $ac_word... " >&6; }
4871 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4872 $as_echo_n "(cached) " >&6
4873 else
4874 if test -n "$ac_ct_CXX"; then
4875 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4876 else
4877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4878 for as_dir in $PATH
4880 IFS=$as_save_IFS
4881 test -z "$as_dir" && as_dir=.
4882 for ac_exec_ext in '' $ac_executable_extensions; do
4883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4884 ac_cv_prog_ac_ct_CXX="$ac_prog"
4885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4886 break 2
4888 done
4889 done
4890 IFS=$as_save_IFS
4894 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4895 if test -n "$ac_ct_CXX"; then
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4897 $as_echo "$ac_ct_CXX" >&6; }
4898 else
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4900 $as_echo "no" >&6; }
4904 test -n "$ac_ct_CXX" && break
4905 done
4907 if test "x$ac_ct_CXX" = x; then
4908 CXX="g++"
4909 else
4910 case $cross_compiling:$ac_tool_warned in
4911 yes:)
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4914 ac_tool_warned=yes ;;
4915 esac
4916 CXX=$ac_ct_CXX
4922 # Provide some information about the compiler.
4923 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4924 set X $ac_compile
4925 ac_compiler=$2
4926 for ac_option in --version -v -V -qversion; do
4927 { { ac_try="$ac_compiler $ac_option >&5"
4928 case "(($ac_try" in
4929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4930 *) ac_try_echo=$ac_try;;
4931 esac
4932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4933 $as_echo "$ac_try_echo"; } >&5
4934 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4935 ac_status=$?
4936 if test -s conftest.err; then
4937 sed '10a\
4938 ... rest of stderr output deleted ...
4939 10q' conftest.err >conftest.er1
4940 cat conftest.er1 >&5
4942 rm -f conftest.er1 conftest.err
4943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4944 test $ac_status = 0; }
4945 done
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4948 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4949 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4950 $as_echo_n "(cached) " >&6
4951 else
4952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4956 main ()
4958 #ifndef __GNUC__
4959 choke me
4960 #endif
4963 return 0;
4965 _ACEOF
4966 if ac_fn_cxx_try_compile "$LINENO"; then :
4967 ac_compiler_gnu=yes
4968 else
4969 ac_compiler_gnu=no
4971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4972 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4976 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4977 if test $ac_compiler_gnu = yes; then
4978 GXX=yes
4979 else
4980 GXX=
4982 ac_test_CXXFLAGS=${CXXFLAGS+set}
4983 ac_save_CXXFLAGS=$CXXFLAGS
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4985 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4986 if ${ac_cv_prog_cxx_g+:} false; then :
4987 $as_echo_n "(cached) " >&6
4988 else
4989 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4990 ac_cxx_werror_flag=yes
4991 ac_cv_prog_cxx_g=no
4992 CXXFLAGS="-g"
4993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
4997 main ()
5001 return 0;
5003 _ACEOF
5004 if ac_fn_cxx_try_compile "$LINENO"; then :
5005 ac_cv_prog_cxx_g=yes
5006 else
5007 CXXFLAGS=""
5008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5009 /* end confdefs.h. */
5012 main ()
5016 return 0;
5018 _ACEOF
5019 if ac_fn_cxx_try_compile "$LINENO"; then :
5021 else
5022 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5023 CXXFLAGS="-g"
5024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5025 /* end confdefs.h. */
5028 main ()
5032 return 0;
5034 _ACEOF
5035 if ac_fn_cxx_try_compile "$LINENO"; then :
5036 ac_cv_prog_cxx_g=yes
5038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5043 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5046 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5047 if test "$ac_test_CXXFLAGS" = set; then
5048 CXXFLAGS=$ac_save_CXXFLAGS
5049 elif test $ac_cv_prog_cxx_g = yes; then
5050 if test "$GXX" = yes; then
5051 CXXFLAGS="-g -O2"
5052 else
5053 CXXFLAGS="-g"
5055 else
5056 if test "$GXX" = yes; then
5057 CXXFLAGS="-O2"
5058 else
5059 CXXFLAGS=
5062 ac_ext=c
5063 ac_cpp='$CPP $CPPFLAGS'
5064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5068 if test -n "$ac_tool_prefix"; then
5069 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5070 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5072 $as_echo_n "checking for $ac_word... " >&6; }
5073 if ${ac_cv_prog_CPPBIN+:} false; then :
5074 $as_echo_n "(cached) " >&6
5075 else
5076 if test -n "$CPPBIN"; then
5077 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5078 else
5079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5080 for as_dir in $PATH
5082 IFS=$as_save_IFS
5083 test -z "$as_dir" && as_dir=.
5084 for ac_exec_ext in '' $ac_executable_extensions; do
5085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5086 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 break 2
5090 done
5091 done
5092 IFS=$as_save_IFS
5096 CPPBIN=$ac_cv_prog_CPPBIN
5097 if test -n "$CPPBIN"; then
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5099 $as_echo "$CPPBIN" >&6; }
5100 else
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5102 $as_echo "no" >&6; }
5107 if test -z "$ac_cv_prog_CPPBIN"; then
5108 ac_ct_CPPBIN=$CPPBIN
5109 # Extract the first word of "cpp", so it can be a program name with args.
5110 set dummy cpp; ac_word=$2
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5112 $as_echo_n "checking for $ac_word... " >&6; }
5113 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5114 $as_echo_n "(cached) " >&6
5115 else
5116 if test -n "$ac_ct_CPPBIN"; then
5117 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5118 else
5119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5120 for as_dir in $PATH
5122 IFS=$as_save_IFS
5123 test -z "$as_dir" && as_dir=.
5124 for ac_exec_ext in '' $ac_executable_extensions; do
5125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5126 ac_cv_prog_ac_ct_CPPBIN="cpp"
5127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5128 break 2
5130 done
5131 done
5132 IFS=$as_save_IFS
5136 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5137 if test -n "$ac_ct_CPPBIN"; then
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5139 $as_echo "$ac_ct_CPPBIN" >&6; }
5140 else
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 $as_echo "no" >&6; }
5145 if test "x$ac_ct_CPPBIN" = x; then
5146 CPPBIN="cpp"
5147 else
5148 case $cross_compiling:$ac_tool_warned in
5149 yes:)
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5152 ac_tool_warned=yes ;;
5153 esac
5154 CPPBIN=$ac_ct_CPPBIN
5156 else
5157 CPPBIN="$ac_cv_prog_CPPBIN"
5161 cat >>confdefs.h <<_ACEOF
5162 #define EXEEXT "$ac_exeext"
5163 _ACEOF
5165 if test -n "$ac_tool_prefix"; then
5166 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5167 set dummy ${ac_tool_prefix}ld; ac_word=$2
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5169 $as_echo_n "checking for $ac_word... " >&6; }
5170 if ${ac_cv_prog_LD+:} false; then :
5171 $as_echo_n "(cached) " >&6
5172 else
5173 if test -n "$LD"; then
5174 ac_cv_prog_LD="$LD" # Let the user override the test.
5175 else
5176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5177 for as_dir in $PATH
5179 IFS=$as_save_IFS
5180 test -z "$as_dir" && as_dir=.
5181 for ac_exec_ext in '' $ac_executable_extensions; do
5182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5183 ac_cv_prog_LD="${ac_tool_prefix}ld"
5184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5185 break 2
5187 done
5188 done
5189 IFS=$as_save_IFS
5193 LD=$ac_cv_prog_LD
5194 if test -n "$LD"; then
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5196 $as_echo "$LD" >&6; }
5197 else
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5199 $as_echo "no" >&6; }
5204 if test -z "$ac_cv_prog_LD"; then
5205 ac_ct_LD=$LD
5206 # Extract the first word of "ld", so it can be a program name with args.
5207 set dummy ld; ac_word=$2
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5209 $as_echo_n "checking for $ac_word... " >&6; }
5210 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5211 $as_echo_n "(cached) " >&6
5212 else
5213 if test -n "$ac_ct_LD"; then
5214 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5215 else
5216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5217 for as_dir in $PATH
5219 IFS=$as_save_IFS
5220 test -z "$as_dir" && as_dir=.
5221 for ac_exec_ext in '' $ac_executable_extensions; do
5222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5223 ac_cv_prog_ac_ct_LD="ld"
5224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5225 break 2
5227 done
5228 done
5229 IFS=$as_save_IFS
5233 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5234 if test -n "$ac_ct_LD"; then
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5236 $as_echo "$ac_ct_LD" >&6; }
5237 else
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5239 $as_echo "no" >&6; }
5242 if test "x$ac_ct_LD" = x; then
5243 LD=""
5244 else
5245 case $cross_compiling:$ac_tool_warned in
5246 yes:)
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5249 ac_tool_warned=yes ;;
5250 esac
5251 LD=$ac_ct_LD
5253 else
5254 LD="$ac_cv_prog_LD"
5258 case $host in
5259 *-darwin*)
5260 with_fontconfig=${with_fontconfig:-no}
5262 *-mingw32*|*-cygwin*)
5263 enable_win16=${enable_win16:-no}
5264 CFLAGS="$CFLAGS -D_WIN32"
5266 esac
5268 case $host in
5269 x86_64*|amd64*)
5270 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5271 then
5272 CC="$CC -m32"
5273 CXX="$CXX -m32"
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5275 $as_echo_n "checking whether $CC works... " >&6; }
5277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5278 /* end confdefs.h. */
5281 main ()
5285 return 0;
5287 _ACEOF
5288 if ac_fn_c_try_link "$LINENO"; then :
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5290 $as_echo "yes" >&6; }
5291 else
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5294 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5296 rm -f core conftest.err conftest.$ac_objext \
5297 conftest$ac_exeext conftest.$ac_ext
5298 host_cpu="i386"
5299 notice_platform="32-bit "
5300 TARGETFLAGS="-m32"
5302 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5303 export PKG_CONFIG_PATH
5304 enable_win16=${enable_win16:-yes}
5305 else
5306 if test "x${GCC}" = "xyes"
5307 then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5309 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5312 #include <stdarg.h>
5314 main ()
5316 void func(__builtin_ms_va_list *args);
5318 return 0;
5320 _ACEOF
5321 if ac_fn_c_try_compile "$LINENO"; then :
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5323 $as_echo "yes" >&6; }
5324 else
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5326 $as_echo "no" >&6; }
5327 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5331 CC="$CC -m64"
5332 CXX="$CXX -m64"
5333 host_cpu="x86_64"
5334 notice_platform="64-bit "
5335 TARGETFLAGS="-m64"
5339 arm*)
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5341 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5343 /* end confdefs.h. */
5344 int ac_test(int i) { return i; }
5346 main ()
5348 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5350 return 0;
5352 _ACEOF
5353 if ac_fn_c_try_link "$LINENO"; then :
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5355 $as_echo "yes" >&6; }
5356 else
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358 $as_echo "no" >&6; }
5359 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5361 rm -f core conftest.err conftest.$ac_objext \
5362 conftest$ac_exeext conftest.$ac_ext
5363 case $with_float_abi in
5364 soft|softfp|hard)
5365 float_abi=$with_float_abi ;;
5367 case $host_os in
5368 *eabihf)
5369 float_abi=hard ;;
5371 float_abi=softfp
5372 saved_CFLAGS=$CFLAGS
5373 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5375 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5377 /* end confdefs.h. */
5380 main ()
5382 asm("vmrs r2,fpscr");
5384 return 0;
5386 _ACEOF
5387 if ac_fn_c_try_link "$LINENO"; then :
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5389 $as_echo "yes" >&6; }
5390 else
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5392 $as_echo "no" >&6; }
5393 float_abi=soft
5394 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5396 rm -f core conftest.err conftest.$ac_objext \
5397 conftest$ac_exeext conftest.$ac_ext
5398 CFLAGS=$saved_CFLAGS
5399 esac
5401 esac
5402 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5403 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5406 i[3456789]86*)
5407 enable_win16=${enable_win16:-yes}
5409 esac
5411 enable_win16=${enable_win16:-no}
5412 enable_win64=${enable_win64:-no}
5414 enable_winetest=${enable_winetest:-$enable_tests}
5416 if test -n "$with_wine64"
5417 then
5418 if test "x$enable_win64" = "xyes"
5419 then
5420 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5421 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5423 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5424 You should create a separate build directory and run configure from there." "$LINENO" 5
5425 enable_fonts=${enable_fonts:-no}
5426 enable_server=${enable_server:-no}
5427 wine64_disable=\#
5429 elif test "x$enable_win64" = "xyes"
5430 then
5431 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5435 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5436 if ${wine_cv_toolsdir+:} false; then :
5437 $as_echo_n "(cached) " >&6
5438 else
5439 wine_cv_toolsdir="$with_wine_tools"
5440 if test -z "$with_wine_tools"; then
5441 if test "$cross_compiling" = "yes"; then
5442 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5443 elif test -n "$with_wine64"; then
5444 wine_cv_toolsdir="$with_wine64"
5447 if test -z "$wine_cv_toolsdir"; then
5448 wine_makedep=tools/makedep
5449 wine_cv_toolsdir="\$(top_builddir)"
5450 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5451 wine_makedep=$wine_cv_toolsdir/tools/makedep
5452 case "$wine_cv_toolsdir" in
5453 /*) ;;
5454 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5455 esac
5456 enable_tools=${enable_tools:-no}
5457 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5458 else
5459 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5463 $as_echo "$wine_cv_toolsdir" >&6; }
5464 TOOLSDIR=$wine_cv_toolsdir
5466 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5467 then
5468 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5472 for ac_prog in flex
5474 # Extract the first word of "$ac_prog", so it can be a program name with args.
5475 set dummy $ac_prog; ac_word=$2
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477 $as_echo_n "checking for $ac_word... " >&6; }
5478 if ${ac_cv_prog_FLEX+:} false; then :
5479 $as_echo_n "(cached) " >&6
5480 else
5481 if test -n "$FLEX"; then
5482 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5483 else
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH
5487 IFS=$as_save_IFS
5488 test -z "$as_dir" && as_dir=.
5489 for ac_exec_ext in '' $ac_executable_extensions; do
5490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5491 ac_cv_prog_FLEX="$ac_prog"
5492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 break 2
5495 done
5496 done
5497 IFS=$as_save_IFS
5501 FLEX=$ac_cv_prog_FLEX
5502 if test -n "$FLEX"; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5504 $as_echo "$FLEX" >&6; }
5505 else
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }
5511 test -n "$FLEX" && break
5512 done
5513 test -n "$FLEX" || FLEX="none"
5515 if test "$FLEX" = "none"
5516 then
5517 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5520 $as_echo_n "checking whether flex is recent enough... " >&6; }
5521 cat >conftest.l <<EOF
5522 %top{
5523 #include "prediluvian.h"
5527 if $FLEX -t conftest.l >/dev/null 2>&5
5528 then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5530 $as_echo "yes" >&6; }
5531 else
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533 $as_echo "no" >&6; }
5534 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5537 for ac_prog in bison
5539 # Extract the first word of "$ac_prog", so it can be a program name with args.
5540 set dummy $ac_prog; ac_word=$2
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5542 $as_echo_n "checking for $ac_word... " >&6; }
5543 if ${ac_cv_prog_BISON+:} false; then :
5544 $as_echo_n "(cached) " >&6
5545 else
5546 if test -n "$BISON"; then
5547 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5548 else
5549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5550 for as_dir in $PATH
5552 IFS=$as_save_IFS
5553 test -z "$as_dir" && as_dir=.
5554 for ac_exec_ext in '' $ac_executable_extensions; do
5555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5556 ac_cv_prog_BISON="$ac_prog"
5557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5558 break 2
5560 done
5561 done
5562 IFS=$as_save_IFS
5566 BISON=$ac_cv_prog_BISON
5567 if test -n "$BISON"; then
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5569 $as_echo "$BISON" >&6; }
5570 else
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5572 $as_echo "no" >&6; }
5576 test -n "$BISON" && break
5577 done
5578 test -n "$BISON" || BISON="none"
5580 if test "$BISON" = "none"
5581 then
5582 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5585 if test -n "$ac_tool_prefix"; then
5586 for ac_prog in ar gar
5588 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5589 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5591 $as_echo_n "checking for $ac_word... " >&6; }
5592 if ${ac_cv_prog_AR+:} false; then :
5593 $as_echo_n "(cached) " >&6
5594 else
5595 if test -n "$AR"; then
5596 ac_cv_prog_AR="$AR" # Let the user override the test.
5597 else
5598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5599 for as_dir in $PATH
5601 IFS=$as_save_IFS
5602 test -z "$as_dir" && as_dir=.
5603 for ac_exec_ext in '' $ac_executable_extensions; do
5604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5605 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5607 break 2
5609 done
5610 done
5611 IFS=$as_save_IFS
5615 AR=$ac_cv_prog_AR
5616 if test -n "$AR"; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5618 $as_echo "$AR" >&6; }
5619 else
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621 $as_echo "no" >&6; }
5625 test -n "$AR" && break
5626 done
5628 if test -z "$AR"; then
5629 ac_ct_AR=$AR
5630 for ac_prog in ar gar
5632 # Extract the first word of "$ac_prog", so it can be a program name with args.
5633 set dummy $ac_prog; ac_word=$2
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5635 $as_echo_n "checking for $ac_word... " >&6; }
5636 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5637 $as_echo_n "(cached) " >&6
5638 else
5639 if test -n "$ac_ct_AR"; then
5640 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5641 else
5642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5643 for as_dir in $PATH
5645 IFS=$as_save_IFS
5646 test -z "$as_dir" && as_dir=.
5647 for ac_exec_ext in '' $ac_executable_extensions; do
5648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5649 ac_cv_prog_ac_ct_AR="$ac_prog"
5650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5651 break 2
5653 done
5654 done
5655 IFS=$as_save_IFS
5659 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5660 if test -n "$ac_ct_AR"; then
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5662 $as_echo "$ac_ct_AR" >&6; }
5663 else
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 $as_echo "no" >&6; }
5669 test -n "$ac_ct_AR" && break
5670 done
5672 if test "x$ac_ct_AR" = x; then
5673 AR="ar"
5674 else
5675 case $cross_compiling:$ac_tool_warned in
5676 yes:)
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5679 ac_tool_warned=yes ;;
5680 esac
5681 AR=$ac_ct_AR
5685 if test -n "$ac_tool_prefix"; then
5686 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5687 set dummy ${ac_tool_prefix}strip; ac_word=$2
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5689 $as_echo_n "checking for $ac_word... " >&6; }
5690 if ${ac_cv_prog_STRIP+:} false; then :
5691 $as_echo_n "(cached) " >&6
5692 else
5693 if test -n "$STRIP"; then
5694 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5695 else
5696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697 for as_dir in $PATH
5699 IFS=$as_save_IFS
5700 test -z "$as_dir" && as_dir=.
5701 for ac_exec_ext in '' $ac_executable_extensions; do
5702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5703 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5705 break 2
5707 done
5708 done
5709 IFS=$as_save_IFS
5713 STRIP=$ac_cv_prog_STRIP
5714 if test -n "$STRIP"; then
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5716 $as_echo "$STRIP" >&6; }
5717 else
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5719 $as_echo "no" >&6; }
5724 if test -z "$ac_cv_prog_STRIP"; then
5725 ac_ct_STRIP=$STRIP
5726 # Extract the first word of "strip", so it can be a program name with args.
5727 set dummy strip; ac_word=$2
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5729 $as_echo_n "checking for $ac_word... " >&6; }
5730 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5731 $as_echo_n "(cached) " >&6
5732 else
5733 if test -n "$ac_ct_STRIP"; then
5734 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5735 else
5736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737 for as_dir in $PATH
5739 IFS=$as_save_IFS
5740 test -z "$as_dir" && as_dir=.
5741 for ac_exec_ext in '' $ac_executable_extensions; do
5742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5743 ac_cv_prog_ac_ct_STRIP="strip"
5744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5745 break 2
5747 done
5748 done
5749 IFS=$as_save_IFS
5753 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5754 if test -n "$ac_ct_STRIP"; then
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5756 $as_echo "$ac_ct_STRIP" >&6; }
5757 else
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5759 $as_echo "no" >&6; }
5762 if test "x$ac_ct_STRIP" = x; then
5763 STRIP="strip"
5764 else
5765 case $cross_compiling:$ac_tool_warned in
5766 yes:)
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5769 ac_tool_warned=yes ;;
5770 esac
5771 STRIP=$ac_ct_STRIP
5773 else
5774 STRIP="$ac_cv_prog_STRIP"
5777 ARFLAGS=rc
5779 if test -n "$ac_tool_prefix"; then
5780 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5781 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5783 $as_echo_n "checking for $ac_word... " >&6; }
5784 if ${ac_cv_prog_RANLIB+:} false; then :
5785 $as_echo_n "(cached) " >&6
5786 else
5787 if test -n "$RANLIB"; then
5788 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5789 else
5790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5791 for as_dir in $PATH
5793 IFS=$as_save_IFS
5794 test -z "$as_dir" && as_dir=.
5795 for ac_exec_ext in '' $ac_executable_extensions; do
5796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5797 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5799 break 2
5801 done
5802 done
5803 IFS=$as_save_IFS
5807 RANLIB=$ac_cv_prog_RANLIB
5808 if test -n "$RANLIB"; then
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5810 $as_echo "$RANLIB" >&6; }
5811 else
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5813 $as_echo "no" >&6; }
5818 if test -z "$ac_cv_prog_RANLIB"; then
5819 ac_ct_RANLIB=$RANLIB
5820 # Extract the first word of "ranlib", so it can be a program name with args.
5821 set dummy ranlib; ac_word=$2
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823 $as_echo_n "checking for $ac_word... " >&6; }
5824 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5825 $as_echo_n "(cached) " >&6
5826 else
5827 if test -n "$ac_ct_RANLIB"; then
5828 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5829 else
5830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831 for as_dir in $PATH
5833 IFS=$as_save_IFS
5834 test -z "$as_dir" && as_dir=.
5835 for ac_exec_ext in '' $ac_executable_extensions; do
5836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5837 ac_cv_prog_ac_ct_RANLIB="ranlib"
5838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 break 2
5841 done
5842 done
5843 IFS=$as_save_IFS
5847 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5848 if test -n "$ac_ct_RANLIB"; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5850 $as_echo "$ac_ct_RANLIB" >&6; }
5851 else
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853 $as_echo "no" >&6; }
5856 if test "x$ac_ct_RANLIB" = x; then
5857 RANLIB=":"
5858 else
5859 case $cross_compiling:$ac_tool_warned in
5860 yes:)
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5863 ac_tool_warned=yes ;;
5864 esac
5865 RANLIB=$ac_ct_RANLIB
5867 else
5868 RANLIB="$ac_cv_prog_RANLIB"
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5872 $as_echo_n "checking whether ln -s works... " >&6; }
5873 LN_S=$as_ln_s
5874 if test "$LN_S" = "ln -s"; then
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5876 $as_echo "yes" >&6; }
5877 else
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5879 $as_echo "no, using $LN_S" >&6; }
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5883 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5884 if ${ac_cv_path_GREP+:} false; then :
5885 $as_echo_n "(cached) " >&6
5886 else
5887 if test -z "$GREP"; then
5888 ac_path_GREP_found=false
5889 # Loop through the user's path and test for each of PROGNAME-LIST
5890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5891 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5893 IFS=$as_save_IFS
5894 test -z "$as_dir" && as_dir=.
5895 for ac_prog in grep ggrep; do
5896 for ac_exec_ext in '' $ac_executable_extensions; do
5897 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5898 as_fn_executable_p "$ac_path_GREP" || continue
5899 # Check for GNU ac_path_GREP and select it if it is found.
5900 # Check for GNU $ac_path_GREP
5901 case `"$ac_path_GREP" --version 2>&1` in
5902 *GNU*)
5903 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5905 ac_count=0
5906 $as_echo_n 0123456789 >"conftest.in"
5907 while :
5909 cat "conftest.in" "conftest.in" >"conftest.tmp"
5910 mv "conftest.tmp" "conftest.in"
5911 cp "conftest.in" "conftest.nl"
5912 $as_echo 'GREP' >> "conftest.nl"
5913 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5914 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5915 as_fn_arith $ac_count + 1 && ac_count=$as_val
5916 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5917 # Best one so far, save it but keep looking for a better one
5918 ac_cv_path_GREP="$ac_path_GREP"
5919 ac_path_GREP_max=$ac_count
5921 # 10*(2^10) chars as input seems more than enough
5922 test $ac_count -gt 10 && break
5923 done
5924 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5925 esac
5927 $ac_path_GREP_found && break 3
5928 done
5929 done
5930 done
5931 IFS=$as_save_IFS
5932 if test -z "$ac_cv_path_GREP"; then
5933 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5935 else
5936 ac_cv_path_GREP=$GREP
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5941 $as_echo "$ac_cv_path_GREP" >&6; }
5942 GREP="$ac_cv_path_GREP"
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5946 $as_echo_n "checking for egrep... " >&6; }
5947 if ${ac_cv_path_EGREP+:} false; then :
5948 $as_echo_n "(cached) " >&6
5949 else
5950 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5951 then ac_cv_path_EGREP="$GREP -E"
5952 else
5953 if test -z "$EGREP"; then
5954 ac_path_EGREP_found=false
5955 # Loop through the user's path and test for each of PROGNAME-LIST
5956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5957 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5959 IFS=$as_save_IFS
5960 test -z "$as_dir" && as_dir=.
5961 for ac_prog in egrep; do
5962 for ac_exec_ext in '' $ac_executable_extensions; do
5963 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5964 as_fn_executable_p "$ac_path_EGREP" || continue
5965 # Check for GNU ac_path_EGREP and select it if it is found.
5966 # Check for GNU $ac_path_EGREP
5967 case `"$ac_path_EGREP" --version 2>&1` in
5968 *GNU*)
5969 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5971 ac_count=0
5972 $as_echo_n 0123456789 >"conftest.in"
5973 while :
5975 cat "conftest.in" "conftest.in" >"conftest.tmp"
5976 mv "conftest.tmp" "conftest.in"
5977 cp "conftest.in" "conftest.nl"
5978 $as_echo 'EGREP' >> "conftest.nl"
5979 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5980 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5981 as_fn_arith $ac_count + 1 && ac_count=$as_val
5982 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5983 # Best one so far, save it but keep looking for a better one
5984 ac_cv_path_EGREP="$ac_path_EGREP"
5985 ac_path_EGREP_max=$ac_count
5987 # 10*(2^10) chars as input seems more than enough
5988 test $ac_count -gt 10 && break
5989 done
5990 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5991 esac
5993 $ac_path_EGREP_found && break 3
5994 done
5995 done
5996 done
5997 IFS=$as_save_IFS
5998 if test -z "$ac_cv_path_EGREP"; then
5999 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6001 else
6002 ac_cv_path_EGREP=$EGREP
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6008 $as_echo "$ac_cv_path_EGREP" >&6; }
6009 EGREP="$ac_cv_path_EGREP"
6012 # Extract the first word of "ldconfig", so it can be a program name with args.
6013 set dummy ldconfig; ac_word=$2
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015 $as_echo_n "checking for $ac_word... " >&6; }
6016 if ${ac_cv_path_LDCONFIG+:} false; then :
6017 $as_echo_n "(cached) " >&6
6018 else
6019 case $LDCONFIG in
6020 [\\/]* | ?:[\\/]*)
6021 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6025 for as_dir in /sbin /usr/sbin $PATH
6027 IFS=$as_save_IFS
6028 test -z "$as_dir" && as_dir=.
6029 for ac_exec_ext in '' $ac_executable_extensions; do
6030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6031 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6033 break 2
6035 done
6036 done
6037 IFS=$as_save_IFS
6039 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6041 esac
6043 LDCONFIG=$ac_cv_path_LDCONFIG
6044 if test -n "$LDCONFIG"; then
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6046 $as_echo "$LDCONFIG" >&6; }
6047 else
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6049 $as_echo "no" >&6; }
6053 for ac_prog in msgfmt
6055 # Extract the first word of "$ac_prog", so it can be a program name with args.
6056 set dummy $ac_prog; ac_word=$2
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6058 $as_echo_n "checking for $ac_word... " >&6; }
6059 if ${ac_cv_prog_MSGFMT+:} false; then :
6060 $as_echo_n "(cached) " >&6
6061 else
6062 if test -n "$MSGFMT"; then
6063 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6064 else
6065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6066 for as_dir in $PATH
6068 IFS=$as_save_IFS
6069 test -z "$as_dir" && as_dir=.
6070 for ac_exec_ext in '' $ac_executable_extensions; do
6071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6072 ac_cv_prog_MSGFMT="$ac_prog"
6073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 break 2
6076 done
6077 done
6078 IFS=$as_save_IFS
6082 MSGFMT=$ac_cv_prog_MSGFMT
6083 if test -n "$MSGFMT"; then
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6085 $as_echo "$MSGFMT" >&6; }
6086 else
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6088 $as_echo "no" >&6; }
6092 test -n "$MSGFMT" && break
6093 done
6094 test -n "$MSGFMT" || MSGFMT="false"
6096 if ${ac_tool_prefix+:} false; then :
6097 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6098 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6100 $as_echo_n "checking for $ac_word... " >&6; }
6101 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6102 $as_echo_n "(cached) " >&6
6103 else
6104 if test -n "$PKG_CONFIG"; then
6105 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6106 else
6107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6108 for as_dir in $PATH
6110 IFS=$as_save_IFS
6111 test -z "$as_dir" && as_dir=.
6112 for ac_exec_ext in '' $ac_executable_extensions; do
6113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6114 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6116 break 2
6118 done
6119 done
6120 IFS=$as_save_IFS
6124 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6125 if test -n "$PKG_CONFIG"; then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6127 $as_echo "$PKG_CONFIG" >&6; }
6128 else
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6130 $as_echo "no" >&6; }
6135 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6136 if test "x$cross_compiling" = xyes; then :
6138 else
6139 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6140 # Extract the first word of "pkg-config", so it can be a program name with args.
6141 set dummy pkg-config; ac_word=$2
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6143 $as_echo_n "checking for $ac_word... " >&6; }
6144 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6145 $as_echo_n "(cached) " >&6
6146 else
6147 if test -n "$PKG_CONFIG"; then
6148 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6149 else
6150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6151 for as_dir in $PATH
6153 IFS=$as_save_IFS
6154 test -z "$as_dir" && as_dir=.
6155 for ac_exec_ext in '' $ac_executable_extensions; do
6156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6157 ac_cv_prog_PKG_CONFIG="pkg-config"
6158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 break 2
6161 done
6162 done
6163 IFS=$as_save_IFS
6167 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6168 if test -n "$PKG_CONFIG"; then
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6170 $as_echo "$PKG_CONFIG" >&6; }
6171 else
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6173 $as_echo "no" >&6; }
6178 else
6179 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6182 if test "x$enable_maintainer_mode" != "xyes"
6183 then
6184 FONTFORGE=""
6185 RSVG=""
6186 CONVERT=""
6187 ICOTOOL=""
6188 else
6189 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6190 for ac_prog in fontforge
6192 # Extract the first word of "$ac_prog", so it can be a program name with args.
6193 set dummy $ac_prog; ac_word=$2
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6195 $as_echo_n "checking for $ac_word... " >&6; }
6196 if ${ac_cv_prog_FONTFORGE+:} false; then :
6197 $as_echo_n "(cached) " >&6
6198 else
6199 if test -n "$FONTFORGE"; then
6200 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6201 else
6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6203 for as_dir in $PATH
6205 IFS=$as_save_IFS
6206 test -z "$as_dir" && as_dir=.
6207 for ac_exec_ext in '' $ac_executable_extensions; do
6208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6209 ac_cv_prog_FONTFORGE="$ac_prog"
6210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6211 break 2
6213 done
6214 done
6215 IFS=$as_save_IFS
6219 FONTFORGE=$ac_cv_prog_FONTFORGE
6220 if test -n "$FONTFORGE"; then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6222 $as_echo "$FONTFORGE" >&6; }
6223 else
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225 $as_echo "no" >&6; }
6229 test -n "$FONTFORGE" && break
6230 done
6231 test -n "$FONTFORGE" || FONTFORGE="false"
6233 for ac_prog in rsvg-convert rsvg
6235 # Extract the first word of "$ac_prog", so it can be a program name with args.
6236 set dummy $ac_prog; ac_word=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6238 $as_echo_n "checking for $ac_word... " >&6; }
6239 if ${ac_cv_prog_RSVG+:} false; then :
6240 $as_echo_n "(cached) " >&6
6241 else
6242 if test -n "$RSVG"; then
6243 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6244 else
6245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6246 for as_dir in $PATH
6248 IFS=$as_save_IFS
6249 test -z "$as_dir" && as_dir=.
6250 for ac_exec_ext in '' $ac_executable_extensions; do
6251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6252 ac_cv_prog_RSVG="$ac_prog"
6253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6254 break 2
6256 done
6257 done
6258 IFS=$as_save_IFS
6262 RSVG=$ac_cv_prog_RSVG
6263 if test -n "$RSVG"; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6265 $as_echo "$RSVG" >&6; }
6266 else
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6268 $as_echo "no" >&6; }
6272 test -n "$RSVG" && break
6273 done
6274 test -n "$RSVG" || RSVG="false"
6276 for ac_prog in convert
6278 # Extract the first word of "$ac_prog", so it can be a program name with args.
6279 set dummy $ac_prog; ac_word=$2
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6281 $as_echo_n "checking for $ac_word... " >&6; }
6282 if ${ac_cv_prog_CONVERT+:} false; then :
6283 $as_echo_n "(cached) " >&6
6284 else
6285 if test -n "$CONVERT"; then
6286 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6287 else
6288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6289 for as_dir in $PATH
6291 IFS=$as_save_IFS
6292 test -z "$as_dir" && as_dir=.
6293 for ac_exec_ext in '' $ac_executable_extensions; do
6294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6295 ac_cv_prog_CONVERT="$ac_prog"
6296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297 break 2
6299 done
6300 done
6301 IFS=$as_save_IFS
6305 CONVERT=$ac_cv_prog_CONVERT
6306 if test -n "$CONVERT"; then
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6308 $as_echo "$CONVERT" >&6; }
6309 else
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6311 $as_echo "no" >&6; }
6315 test -n "$CONVERT" && break
6316 done
6317 test -n "$CONVERT" || CONVERT="false"
6319 for ac_prog in icotool
6321 # Extract the first word of "$ac_prog", so it can be a program name with args.
6322 set dummy $ac_prog; ac_word=$2
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6324 $as_echo_n "checking for $ac_word... " >&6; }
6325 if ${ac_cv_prog_ICOTOOL+:} false; then :
6326 $as_echo_n "(cached) " >&6
6327 else
6328 if test -n "$ICOTOOL"; then
6329 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6330 else
6331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6332 for as_dir in $PATH
6334 IFS=$as_save_IFS
6335 test -z "$as_dir" && as_dir=.
6336 for ac_exec_ext in '' $ac_executable_extensions; do
6337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6338 ac_cv_prog_ICOTOOL="$ac_prog"
6339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6340 break 2
6342 done
6343 done
6344 IFS=$as_save_IFS
6348 ICOTOOL=$ac_cv_prog_ICOTOOL
6349 if test -n "$ICOTOOL"; then
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6351 $as_echo "$ICOTOOL" >&6; }
6352 else
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6354 $as_echo "no" >&6; }
6358 test -n "$ICOTOOL" && break
6359 done
6360 test -n "$ICOTOOL" || ICOTOOL="false"
6362 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6363 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6365 if test "$CONVERT" = false
6366 then
6367 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6368 else
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6370 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6371 convert_version=`convert --version | head -n1`
6372 if test "x$convert_version" != "x"
6373 then
6374 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6375 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6376 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6377 then
6378 CONVERT=false
6381 if test "$CONVERT" = false
6382 then
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6384 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6385 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6386 else
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6388 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6392 if test "$ICOTOOL" = false
6393 then
6394 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6395 else
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6397 $as_echo_n "checking for recent enough icotool... " >&6; }
6398 icotool_version=`icotool --version | head -n1`
6399 if test "x$icotool_version" != "x"
6400 then
6401 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6402 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6403 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6404 then
6405 ICOTOOL=false
6406 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6409 if test "$ICOTOOL" = false
6410 then
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6412 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6413 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6414 else
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6416 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6420 with_gettext=yes
6421 with_gettextpo=yes
6422 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6425 test "x$with_gettext" != xno || MSGFMT=false
6426 if test "$MSGFMT" != "false"
6427 then
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6429 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6430 cat >conftest.po <<EOF
6431 # comment
6432 msgctxt "ctxt"
6433 msgid "id"
6434 msgstr "str"
6436 if $MSGFMT -o /dev/null conftest.po 2>&5
6437 then
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6439 $as_echo "yes" >&6; }
6440 else
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6442 $as_echo "no" >&6; }
6443 MSGFMT=false
6446 if test "$MSGFMT" = false; then :
6447 case "x$with_gettext" in
6448 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6449 xno) ;;
6450 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6451 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6452 esac
6453 enable_po=${enable_po:-no}
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6458 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6459 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6460 $as_echo_n "(cached) " >&6
6461 else
6462 ac_check_lib_save_LIBS=$LIBS
6463 LIBS="-li386 $LIBS"
6464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6465 /* end confdefs.h. */
6467 /* Override any GCC internal prototype to avoid an error.
6468 Use char because int might match the return type of a GCC
6469 builtin and then its argument prototype would still apply. */
6470 #ifdef __cplusplus
6471 extern "C"
6472 #endif
6473 char i386_set_ldt ();
6475 main ()
6477 return i386_set_ldt ();
6479 return 0;
6481 _ACEOF
6482 if ac_fn_c_try_link "$LINENO"; then :
6483 ac_cv_lib_i386_i386_set_ldt=yes
6484 else
6485 ac_cv_lib_i386_i386_set_ldt=no
6487 rm -f core conftest.err conftest.$ac_objext \
6488 conftest$ac_exeext conftest.$ac_ext
6489 LIBS=$ac_check_lib_save_LIBS
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6492 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6493 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6494 cat >>confdefs.h <<_ACEOF
6495 #define HAVE_LIBI386 1
6496 _ACEOF
6498 LIBS="-li386 $LIBS"
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6503 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6504 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6505 $as_echo_n "(cached) " >&6
6506 else
6507 ac_check_lib_save_LIBS=$LIBS
6508 LIBS="-lossaudio $LIBS"
6509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6510 /* end confdefs.h. */
6512 /* Override any GCC internal prototype to avoid an error.
6513 Use char because int might match the return type of a GCC
6514 builtin and then its argument prototype would still apply. */
6515 #ifdef __cplusplus
6516 extern "C"
6517 #endif
6518 char _oss_ioctl ();
6520 main ()
6522 return _oss_ioctl ();
6524 return 0;
6526 _ACEOF
6527 if ac_fn_c_try_link "$LINENO"; then :
6528 ac_cv_lib_ossaudio__oss_ioctl=yes
6529 else
6530 ac_cv_lib_ossaudio__oss_ioctl=no
6532 rm -f core conftest.err conftest.$ac_objext \
6533 conftest$ac_exeext conftest.$ac_ext
6534 LIBS=$ac_check_lib_save_LIBS
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6537 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6538 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6539 cat >>confdefs.h <<_ACEOF
6540 #define HAVE_LIBOSSAUDIO 1
6541 _ACEOF
6543 LIBS="-lossaudio $LIBS"
6548 OPENGL_LIBS=""
6552 # Check whether --enable-largefile was given.
6553 if test "${enable_largefile+set}" = set; then :
6554 enableval=$enable_largefile;
6557 if test "$enable_largefile" != no; then
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6560 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6561 if ${ac_cv_sys_largefile_CC+:} false; then :
6562 $as_echo_n "(cached) " >&6
6563 else
6564 ac_cv_sys_largefile_CC=no
6565 if test "$GCC" != yes; then
6566 ac_save_CC=$CC
6567 while :; do
6568 # IRIX 6.2 and later do not support large files by default,
6569 # so use the C compiler's -n32 option if that helps.
6570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6572 #include <sys/types.h>
6573 /* Check that off_t can represent 2**63 - 1 correctly.
6574 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6575 since some C++ compilers masquerading as C compilers
6576 incorrectly reject 9223372036854775807. */
6577 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6578 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6579 && LARGE_OFF_T % 2147483647 == 1)
6580 ? 1 : -1];
6582 main ()
6586 return 0;
6588 _ACEOF
6589 if ac_fn_c_try_compile "$LINENO"; then :
6590 break
6592 rm -f core conftest.err conftest.$ac_objext
6593 CC="$CC -n32"
6594 if ac_fn_c_try_compile "$LINENO"; then :
6595 ac_cv_sys_largefile_CC=' -n32'; break
6597 rm -f core conftest.err conftest.$ac_objext
6598 break
6599 done
6600 CC=$ac_save_CC
6601 rm -f conftest.$ac_ext
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6605 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6606 if test "$ac_cv_sys_largefile_CC" != no; then
6607 CC=$CC$ac_cv_sys_largefile_CC
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6611 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6612 if ${ac_cv_sys_file_offset_bits+:} false; then :
6613 $as_echo_n "(cached) " >&6
6614 else
6615 while :; do
6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6618 #include <sys/types.h>
6619 /* Check that off_t can represent 2**63 - 1 correctly.
6620 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6621 since some C++ compilers masquerading as C compilers
6622 incorrectly reject 9223372036854775807. */
6623 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6624 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6625 && LARGE_OFF_T % 2147483647 == 1)
6626 ? 1 : -1];
6628 main ()
6632 return 0;
6634 _ACEOF
6635 if ac_fn_c_try_compile "$LINENO"; then :
6636 ac_cv_sys_file_offset_bits=no; break
6638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6640 /* end confdefs.h. */
6641 #define _FILE_OFFSET_BITS 64
6642 #include <sys/types.h>
6643 /* Check that off_t can represent 2**63 - 1 correctly.
6644 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6645 since some C++ compilers masquerading as C compilers
6646 incorrectly reject 9223372036854775807. */
6647 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6648 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6649 && LARGE_OFF_T % 2147483647 == 1)
6650 ? 1 : -1];
6652 main ()
6656 return 0;
6658 _ACEOF
6659 if ac_fn_c_try_compile "$LINENO"; then :
6660 ac_cv_sys_file_offset_bits=64; break
6662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6663 ac_cv_sys_file_offset_bits=unknown
6664 break
6665 done
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6668 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6669 case $ac_cv_sys_file_offset_bits in #(
6670 no | unknown) ;;
6672 cat >>confdefs.h <<_ACEOF
6673 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6674 _ACEOF
6676 esac
6677 rm -rf conftest*
6678 if test $ac_cv_sys_file_offset_bits = unknown; then
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6680 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6681 if ${ac_cv_sys_large_files+:} false; then :
6682 $as_echo_n "(cached) " >&6
6683 else
6684 while :; do
6685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6686 /* end confdefs.h. */
6687 #include <sys/types.h>
6688 /* Check that off_t can represent 2**63 - 1 correctly.
6689 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6690 since some C++ compilers masquerading as C compilers
6691 incorrectly reject 9223372036854775807. */
6692 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6693 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6694 && LARGE_OFF_T % 2147483647 == 1)
6695 ? 1 : -1];
6697 main ()
6701 return 0;
6703 _ACEOF
6704 if ac_fn_c_try_compile "$LINENO"; then :
6705 ac_cv_sys_large_files=no; break
6707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6709 /* end confdefs.h. */
6710 #define _LARGE_FILES 1
6711 #include <sys/types.h>
6712 /* Check that off_t can represent 2**63 - 1 correctly.
6713 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6714 since some C++ compilers masquerading as C compilers
6715 incorrectly reject 9223372036854775807. */
6716 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6717 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6718 && LARGE_OFF_T % 2147483647 == 1)
6719 ? 1 : -1];
6721 main ()
6725 return 0;
6727 _ACEOF
6728 if ac_fn_c_try_compile "$LINENO"; then :
6729 ac_cv_sys_large_files=1; break
6731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6732 ac_cv_sys_large_files=unknown
6733 break
6734 done
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6737 $as_echo "$ac_cv_sys_large_files" >&6; }
6738 case $ac_cv_sys_large_files in #(
6739 no | unknown) ;;
6741 cat >>confdefs.h <<_ACEOF
6742 #define _LARGE_FILES $ac_cv_sys_large_files
6743 _ACEOF
6745 esac
6746 rm -rf conftest*
6753 ac_ext=c
6754 ac_cpp='$CPP $CPPFLAGS'
6755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6759 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6760 # On Suns, sometimes $CPP names a directory.
6761 if test -n "$CPP" && test -d "$CPP"; then
6762 CPP=
6764 if test -z "$CPP"; then
6765 if ${ac_cv_prog_CPP+:} false; then :
6766 $as_echo_n "(cached) " >&6
6767 else
6768 # Double quotes because CPP needs to be expanded
6769 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6771 ac_preproc_ok=false
6772 for ac_c_preproc_warn_flag in '' yes
6774 # Use a header file that comes with gcc, so configuring glibc
6775 # with a fresh cross-compiler works.
6776 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6777 # <limits.h> exists even on freestanding compilers.
6778 # On the NeXT, cc -E runs the code through the compiler's parser,
6779 # not just through cpp. "Syntax error" is here to catch this case.
6780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6781 /* end confdefs.h. */
6782 #ifdef __STDC__
6783 # include <limits.h>
6784 #else
6785 # include <assert.h>
6786 #endif
6787 Syntax error
6788 _ACEOF
6789 if ac_fn_c_try_cpp "$LINENO"; then :
6791 else
6792 # Broken: fails on valid input.
6793 continue
6795 rm -f conftest.err conftest.i conftest.$ac_ext
6797 # OK, works on sane cases. Now check whether nonexistent headers
6798 # can be detected and how.
6799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6800 /* end confdefs.h. */
6801 #include <ac_nonexistent.h>
6802 _ACEOF
6803 if ac_fn_c_try_cpp "$LINENO"; then :
6804 # Broken: success on invalid input.
6805 continue
6806 else
6807 # Passes both tests.
6808 ac_preproc_ok=:
6809 break
6811 rm -f conftest.err conftest.i conftest.$ac_ext
6813 done
6814 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6815 rm -f conftest.i conftest.err conftest.$ac_ext
6816 if $ac_preproc_ok; then :
6817 break
6820 done
6821 ac_cv_prog_CPP=$CPP
6824 CPP=$ac_cv_prog_CPP
6825 else
6826 ac_cv_prog_CPP=$CPP
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6829 $as_echo "$CPP" >&6; }
6830 ac_preproc_ok=false
6831 for ac_c_preproc_warn_flag in '' yes
6833 # Use a header file that comes with gcc, so configuring glibc
6834 # with a fresh cross-compiler works.
6835 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6836 # <limits.h> exists even on freestanding compilers.
6837 # On the NeXT, cc -E runs the code through the compiler's parser,
6838 # not just through cpp. "Syntax error" is here to catch this case.
6839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6840 /* end confdefs.h. */
6841 #ifdef __STDC__
6842 # include <limits.h>
6843 #else
6844 # include <assert.h>
6845 #endif
6846 Syntax error
6847 _ACEOF
6848 if ac_fn_c_try_cpp "$LINENO"; then :
6850 else
6851 # Broken: fails on valid input.
6852 continue
6854 rm -f conftest.err conftest.i conftest.$ac_ext
6856 # OK, works on sane cases. Now check whether nonexistent headers
6857 # can be detected and how.
6858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6859 /* end confdefs.h. */
6860 #include <ac_nonexistent.h>
6861 _ACEOF
6862 if ac_fn_c_try_cpp "$LINENO"; then :
6863 # Broken: success on invalid input.
6864 continue
6865 else
6866 # Passes both tests.
6867 ac_preproc_ok=:
6868 break
6870 rm -f conftest.err conftest.i conftest.$ac_ext
6872 done
6873 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6874 rm -f conftest.i conftest.err conftest.$ac_ext
6875 if $ac_preproc_ok; then :
6877 else
6878 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6880 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6881 See \`config.log' for more details" "$LINENO" 5; }
6884 ac_ext=c
6885 ac_cpp='$CPP $CPPFLAGS'
6886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6892 $as_echo_n "checking for ANSI C header files... " >&6; }
6893 if ${ac_cv_header_stdc+:} false; then :
6894 $as_echo_n "(cached) " >&6
6895 else
6896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6897 /* end confdefs.h. */
6898 #include <stdlib.h>
6899 #include <stdarg.h>
6900 #include <string.h>
6901 #include <float.h>
6904 main ()
6908 return 0;
6910 _ACEOF
6911 if ac_fn_c_try_compile "$LINENO"; then :
6912 ac_cv_header_stdc=yes
6913 else
6914 ac_cv_header_stdc=no
6916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6918 if test $ac_cv_header_stdc = yes; then
6919 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6921 /* end confdefs.h. */
6922 #include <string.h>
6924 _ACEOF
6925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6926 $EGREP "memchr" >/dev/null 2>&1; then :
6928 else
6929 ac_cv_header_stdc=no
6931 rm -f conftest*
6935 if test $ac_cv_header_stdc = yes; then
6936 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6938 /* end confdefs.h. */
6939 #include <stdlib.h>
6941 _ACEOF
6942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6943 $EGREP "free" >/dev/null 2>&1; then :
6945 else
6946 ac_cv_header_stdc=no
6948 rm -f conftest*
6952 if test $ac_cv_header_stdc = yes; then
6953 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6954 if test "$cross_compiling" = yes; then :
6956 else
6957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6958 /* end confdefs.h. */
6959 #include <ctype.h>
6960 #include <stdlib.h>
6961 #if ((' ' & 0x0FF) == 0x020)
6962 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6963 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6964 #else
6965 # define ISLOWER(c) \
6966 (('a' <= (c) && (c) <= 'i') \
6967 || ('j' <= (c) && (c) <= 'r') \
6968 || ('s' <= (c) && (c) <= 'z'))
6969 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6970 #endif
6972 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6974 main ()
6976 int i;
6977 for (i = 0; i < 256; i++)
6978 if (XOR (islower (i), ISLOWER (i))
6979 || toupper (i) != TOUPPER (i))
6980 return 2;
6981 return 0;
6983 _ACEOF
6984 if ac_fn_c_try_run "$LINENO"; then :
6986 else
6987 ac_cv_header_stdc=no
6989 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6990 conftest.$ac_objext conftest.beam conftest.$ac_ext
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6996 $as_echo "$ac_cv_header_stdc" >&6; }
6997 if test $ac_cv_header_stdc = yes; then
6999 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7003 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7004 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7005 inttypes.h stdint.h unistd.h
7006 do :
7007 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7008 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7010 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7011 cat >>confdefs.h <<_ACEOF
7012 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7013 _ACEOF
7017 done
7020 for ac_header in \
7021 AL/al.h \
7022 ApplicationServices/ApplicationServices.h \
7023 AudioToolbox/AudioConverter.h \
7024 AudioUnit/AudioUnit.h \
7025 AudioUnit/AudioComponent.h \
7026 CL/cl.h \
7027 Carbon/Carbon.h \
7028 CommonCrypto/CommonCryptor.h \
7029 CoreAudio/CoreAudio.h \
7030 CoreServices/CoreServices.h \
7031 DiskArbitration/DiskArbitration.h \
7032 EGL/egl.h \
7033 IOKit/IOKitLib.h \
7034 IOKit/hid/IOHIDLib.h \
7035 OpenAL/al.h \
7036 OpenCL/opencl.h \
7037 QuickTime/ImageCompression.h \
7038 Security/Security.h \
7039 alias.h \
7040 alsa/asoundlib.h \
7041 arpa/inet.h \
7042 arpa/nameser.h \
7043 asm/types.h \
7044 asm/user.h \
7045 curses.h \
7046 direct.h \
7047 dirent.h \
7048 dlfcn.h \
7049 elf.h \
7050 float.h \
7051 fnmatch.h \
7052 getopt.h \
7053 gettext-po.h \
7054 grp.h \
7055 gsm.h \
7056 gsm/gsm.h \
7057 ieeefp.h \
7058 inet/mib2.h \
7059 io.h \
7060 kstat.h \
7061 libproc.h \
7062 link.h \
7063 linux/cdrom.h \
7064 linux/compiler.h \
7065 linux/filter.h \
7066 linux/hdreg.h \
7067 linux/hidraw.h \
7068 linux/input.h \
7069 linux/ioctl.h \
7070 linux/joystick.h \
7071 linux/major.h \
7072 linux/param.h \
7073 linux/serial.h \
7074 linux/types.h \
7075 linux/ucdrom.h \
7076 lwp.h \
7077 mach-o/nlist.h \
7078 mach-o/loader.h \
7079 mach/mach.h \
7080 mach/machine.h \
7081 machine/cpu.h \
7082 machine/limits.h \
7083 machine/sysarch.h \
7084 mntent.h \
7085 ncurses.h \
7086 netdb.h \
7087 netinet/in.h \
7088 netinet/in_systm.h \
7089 netinet/tcp.h \
7090 netinet/tcp_fsm.h \
7091 pcap/pcap.h \
7092 poll.h \
7093 port.h \
7094 process.h \
7095 pthread.h \
7096 pwd.h \
7097 sched.h \
7098 scsi/scsi.h \
7099 scsi/scsi_ioctl.h \
7100 scsi/sg.h \
7101 stdbool.h \
7102 stdint.h \
7103 stropts.h \
7104 sys/asoundlib.h \
7105 sys/attr.h \
7106 sys/auxv.h \
7107 sys/cdio.h \
7108 sys/elf32.h \
7109 sys/epoll.h \
7110 sys/event.h \
7111 sys/exec_elf.h \
7112 sys/filio.h \
7113 sys/inotify.h \
7114 sys/ioctl.h \
7115 sys/ipc.h \
7116 sys/limits.h \
7117 sys/link.h \
7118 sys/mman.h \
7119 sys/modem.h \
7120 sys/msg.h \
7121 sys/mtio.h \
7122 sys/param.h \
7123 sys/poll.h \
7124 sys/prctl.h \
7125 sys/protosw.h \
7126 sys/ptrace.h \
7127 sys/queue.h \
7128 sys/resource.h \
7129 sys/scsiio.h \
7130 sys/shm.h \
7131 sys/signal.h \
7132 sys/socket.h \
7133 sys/socketvar.h \
7134 sys/sockio.h \
7135 sys/statvfs.h \
7136 sys/strtio.h \
7137 sys/syscall.h \
7138 sys/sysinfo.h \
7139 sys/tihdr.h \
7140 sys/time.h \
7141 sys/timeout.h \
7142 sys/times.h \
7143 sys/uio.h \
7144 sys/user.h \
7145 sys/utsname.h \
7146 sys/vnode.h \
7147 sys/wait.h \
7148 syscall.h \
7149 termios.h \
7150 unistd.h \
7151 utime.h \
7152 valgrind/memcheck.h \
7153 valgrind/valgrind.h \
7154 zlib.h
7156 do :
7157 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7158 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7159 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7160 cat >>confdefs.h <<_ACEOF
7161 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7162 _ACEOF
7166 done
7168 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7169 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7171 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7176 if test $ac_cv_header_sys_mkdev_h = no; then
7177 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7178 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7180 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7187 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7188 if ${ac_cv_header_stat_broken+:} false; then :
7189 $as_echo_n "(cached) " >&6
7190 else
7191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7192 /* end confdefs.h. */
7193 #include <sys/types.h>
7194 #include <sys/stat.h>
7196 #if defined S_ISBLK && defined S_IFDIR
7197 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7198 #endif
7200 #if defined S_ISBLK && defined S_IFCHR
7201 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7202 #endif
7204 #if defined S_ISLNK && defined S_IFREG
7205 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7206 #endif
7208 #if defined S_ISSOCK && defined S_IFREG
7209 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7210 #endif
7212 _ACEOF
7213 if ac_fn_c_try_compile "$LINENO"; then :
7214 ac_cv_header_stat_broken=no
7215 else
7216 ac_cv_header_stat_broken=yes
7218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7221 $as_echo "$ac_cv_header_stat_broken" >&6; }
7222 if test $ac_cv_header_stat_broken = yes; then
7224 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7230 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7231 do :
7232 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7233 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7234 #ifdef HAVE_SYS_PARAM_H
7235 # include <sys/param.h>
7236 #endif
7238 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7239 cat >>confdefs.h <<_ACEOF
7240 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7241 _ACEOF
7245 done
7248 for ac_header in \
7249 netinet/ip.h \
7250 net/if.h \
7251 net/if_arp.h \
7252 net/if_dl.h \
7253 net/if_types.h \
7254 net/route.h \
7255 netinet/if_ether.h \
7256 netinet/if_inarp.h \
7257 netinet/in_pcb.h \
7258 netinet/ip_icmp.h \
7259 netinet/ip_var.h \
7260 netinet/udp.h \
7261 netipx/ipx.h \
7262 sys/un.h \
7264 do :
7265 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7266 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7267 #ifdef HAVE_SYS_SOCKET_H
7268 # include <sys/socket.h>
7269 #endif
7270 #ifdef HAVE_SYS_SOCKETVAR_H
7271 # include <sys/socketvar.h>
7272 #endif
7273 #ifdef HAVE_NET_ROUTE_H
7274 # include <net/route.h>
7275 #endif
7276 #ifdef HAVE_NETINET_IN_H
7277 # include <netinet/in.h>
7278 #endif
7279 #ifdef HAVE_NETINET_IN_SYSTM_H
7280 # include <netinet/in_systm.h>
7281 #endif
7282 #ifdef HAVE_NET_IF_H
7283 # include <net/if.h>
7284 #endif
7285 #ifdef HAVE_NETINET_IP_H
7286 # include <netinet/ip.h>
7287 #endif
7289 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7290 cat >>confdefs.h <<_ACEOF
7291 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7292 _ACEOF
7296 done
7299 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7300 do :
7301 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7302 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7303 #ifdef HAVE_ALIAS_H
7304 # include <alias.h>
7305 #endif
7306 #ifdef HAVE_SYS_SOCKET_H
7307 # include <sys/socket.h>
7308 #endif
7309 #ifdef HAVE_SYS_SOCKETVAR_H
7310 # include <sys/socketvar.h>
7311 #endif
7312 #ifdef HAVE_SYS_TIMEOUT_H
7313 # include <sys/timeout.h>
7314 #endif
7315 #ifdef HAVE_NETINET_IN_H
7316 # include <netinet/in.h>
7317 #endif
7318 #ifdef HAVE_NETINET_IN_SYSTM_H
7319 # include <netinet/in_systm.h>
7320 #endif
7321 #ifdef HAVE_NETINET_IP_H
7322 # include <netinet/ip.h>
7323 #endif
7324 #ifdef HAVE_NETINET_IP_VAR_H
7325 # include <netinet/ip_var.h>
7326 #endif
7327 #ifdef HAVE_NETINET_IP_ICMP_H
7328 # include <netinet/ip_icmp.h>
7329 #endif
7330 #ifdef HAVE_NETINET_UDP_H
7331 # include <netinet/udp.h>
7332 #endif
7333 #ifdef HAVE_NETINET_TCP_H
7334 # include <netinet/tcp.h>
7335 #endif
7336 #ifdef HAVE_NETINET_TCP_TIMER_H
7337 #include <netinet/tcp_timer.h>
7338 #endif
7340 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7341 cat >>confdefs.h <<_ACEOF
7342 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7343 _ACEOF
7347 done
7350 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7351 do :
7352 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7353 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7354 #ifdef HAVE_ASM_TYPES_H
7355 # include <asm/types.h>
7356 #endif
7357 #ifdef HAVE_SYS_SOCKET_H
7358 # include <sys/socket.h>
7359 #endif
7360 #ifdef HAVE_LINUX_TYPES_H
7361 # include <linux/types.h>
7362 #endif
7364 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7365 cat >>confdefs.h <<_ACEOF
7366 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7367 _ACEOF
7371 done
7374 for ac_header in mach-o/dyld_images.h
7375 do :
7376 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7377 # include <stdbool.h>
7378 #endif
7379 #ifdef HAVE_STDINT_H
7380 # include <stdint.h>
7381 #endif
7383 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7384 cat >>confdefs.h <<_ACEOF
7385 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7386 _ACEOF
7390 done
7393 for ac_header in resolv.h
7394 do :
7395 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7396 #ifdef HAVE_SYS_SOCKET_H
7397 # include <sys/socket.h>
7398 #endif
7399 #ifdef HAVE_NETINET_IN_H
7400 # include <netinet/in.h>
7401 #endif
7402 #ifdef HAVE_ARPA_NAMESER_H
7403 # include <arpa/nameser.h>
7404 #endif
7406 if test "x$ac_cv_header_resolv_h" = xyes; then :
7407 cat >>confdefs.h <<_ACEOF
7408 #define HAVE_RESOLV_H 1
7409 _ACEOF
7413 done
7416 for ac_header in ifaddrs.h
7417 do :
7418 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7420 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7421 cat >>confdefs.h <<_ACEOF
7422 #define HAVE_IFADDRS_H 1
7423 _ACEOF
7427 done
7430 for ac_header in sys/ucontext.h
7431 do :
7432 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7434 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7435 cat >>confdefs.h <<_ACEOF
7436 #define HAVE_SYS_UCONTEXT_H 1
7437 _ACEOF
7441 done
7444 for ac_header in sys/thr.h
7445 do :
7446 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7447 #ifdef HAVE_SYS_UCONTEXT_H
7448 #include <sys/ucontext.h>
7449 #endif
7451 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7452 cat >>confdefs.h <<_ACEOF
7453 #define HAVE_SYS_THR_H 1
7454 _ACEOF
7458 done
7461 for ac_header in pthread_np.h
7462 do :
7463 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7464 #include <pthread.h>
7465 #endif
7467 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7468 cat >>confdefs.h <<_ACEOF
7469 #define HAVE_PTHREAD_NP_H 1
7470 _ACEOF
7474 done
7477 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7478 do :
7479 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7480 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7481 #include <sys/time.h>
7482 #endif
7483 #include <sys/types.h>
7484 #ifdef HAVE_ASM_TYPES_H
7485 #include <asm/types.h>
7486 #endif
7488 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7489 cat >>confdefs.h <<_ACEOF
7490 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7491 _ACEOF
7495 done
7498 for ac_header in libprocstat.h
7499 do :
7500 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7501 #include <sys/param.h>
7502 #endif
7503 #ifdef HAVE_SYS_QUEUE_H
7504 #include <sys/queue.h>
7505 #endif
7506 #ifdef HAVE_SYS_SOCKET_H
7507 #include <sys/socket.h>
7508 #endif
7510 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7511 cat >>confdefs.h <<_ACEOF
7512 #define HAVE_LIBPROCSTAT_H 1
7513 _ACEOF
7517 done
7521 DLLFLAGS="-D_REENTRANT"
7523 LDRPATH_INSTALL=""
7525 LDRPATH_LOCAL=""
7527 LDEXECFLAGS=""
7529 WINELOADER_LDFLAGS=""
7531 LIBEXT="so"
7532 DLLEXT=".so"
7533 IMPLIBEXT="def"
7534 # Extract the first word of "ldd", so it can be a program name with args.
7535 set dummy ldd; ac_word=$2
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7537 $as_echo_n "checking for $ac_word... " >&6; }
7538 if ${ac_cv_path_LDD+:} false; then :
7539 $as_echo_n "(cached) " >&6
7540 else
7541 case $LDD in
7542 [\\/]* | ?:[\\/]*)
7543 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7547 as_dummy="/sbin:/usr/sbin:$PATH"
7548 for as_dir in $as_dummy
7550 IFS=$as_save_IFS
7551 test -z "$as_dir" && as_dir=.
7552 for ac_exec_ext in '' $ac_executable_extensions; do
7553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7554 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7556 break 2
7558 done
7559 done
7560 IFS=$as_save_IFS
7562 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7564 esac
7566 LDD=$ac_cv_path_LDD
7567 if test -n "$LDD"; then
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7569 $as_echo "$LDD" >&6; }
7570 else
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7572 $as_echo "no" >&6; }
7576 if test -n "$ac_tool_prefix"; then
7577 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7578 set dummy ${ac_tool_prefix}otool; ac_word=$2
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7580 $as_echo_n "checking for $ac_word... " >&6; }
7581 if ${ac_cv_prog_OTOOL+:} false; then :
7582 $as_echo_n "(cached) " >&6
7583 else
7584 if test -n "$OTOOL"; then
7585 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7586 else
7587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7588 for as_dir in $PATH
7590 IFS=$as_save_IFS
7591 test -z "$as_dir" && as_dir=.
7592 for ac_exec_ext in '' $ac_executable_extensions; do
7593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7594 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7596 break 2
7598 done
7599 done
7600 IFS=$as_save_IFS
7604 OTOOL=$ac_cv_prog_OTOOL
7605 if test -n "$OTOOL"; then
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7607 $as_echo "$OTOOL" >&6; }
7608 else
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7610 $as_echo "no" >&6; }
7615 if test -z "$ac_cv_prog_OTOOL"; then
7616 ac_ct_OTOOL=$OTOOL
7617 # Extract the first word of "otool", so it can be a program name with args.
7618 set dummy otool; ac_word=$2
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7620 $as_echo_n "checking for $ac_word... " >&6; }
7621 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7622 $as_echo_n "(cached) " >&6
7623 else
7624 if test -n "$ac_ct_OTOOL"; then
7625 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7626 else
7627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7628 for as_dir in $PATH
7630 IFS=$as_save_IFS
7631 test -z "$as_dir" && as_dir=.
7632 for ac_exec_ext in '' $ac_executable_extensions; do
7633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7634 ac_cv_prog_ac_ct_OTOOL="otool"
7635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7636 break 2
7638 done
7639 done
7640 IFS=$as_save_IFS
7644 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7645 if test -n "$ac_ct_OTOOL"; then
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7647 $as_echo "$ac_ct_OTOOL" >&6; }
7648 else
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7650 $as_echo "no" >&6; }
7653 if test "x$ac_ct_OTOOL" = x; then
7654 OTOOL="otool"
7655 else
7656 case $cross_compiling:$ac_tool_warned in
7657 yes:)
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7660 ac_tool_warned=yes ;;
7661 esac
7662 OTOOL=$ac_ct_OTOOL
7664 else
7665 OTOOL="$ac_cv_prog_OTOOL"
7668 if test -n "$ac_tool_prefix"; then
7669 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7670 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7672 $as_echo_n "checking for $ac_word... " >&6; }
7673 if ${ac_cv_prog_READELF+:} false; then :
7674 $as_echo_n "(cached) " >&6
7675 else
7676 if test -n "$READELF"; then
7677 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7678 else
7679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7680 for as_dir in $PATH
7682 IFS=$as_save_IFS
7683 test -z "$as_dir" && as_dir=.
7684 for ac_exec_ext in '' $ac_executable_extensions; do
7685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7686 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7688 break 2
7690 done
7691 done
7692 IFS=$as_save_IFS
7696 READELF=$ac_cv_prog_READELF
7697 if test -n "$READELF"; then
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7699 $as_echo "$READELF" >&6; }
7700 else
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7702 $as_echo "no" >&6; }
7707 if test -z "$ac_cv_prog_READELF"; then
7708 ac_ct_READELF=$READELF
7709 # Extract the first word of "readelf", so it can be a program name with args.
7710 set dummy readelf; ac_word=$2
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7712 $as_echo_n "checking for $ac_word... " >&6; }
7713 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7714 $as_echo_n "(cached) " >&6
7715 else
7716 if test -n "$ac_ct_READELF"; then
7717 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7718 else
7719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7720 for as_dir in $PATH
7722 IFS=$as_save_IFS
7723 test -z "$as_dir" && as_dir=.
7724 for ac_exec_ext in '' $ac_executable_extensions; do
7725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7726 ac_cv_prog_ac_ct_READELF="readelf"
7727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7728 break 2
7730 done
7731 done
7732 IFS=$as_save_IFS
7736 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7737 if test -n "$ac_ct_READELF"; then
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7739 $as_echo "$ac_ct_READELF" >&6; }
7740 else
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7742 $as_echo "no" >&6; }
7745 if test "x$ac_ct_READELF" = x; then
7746 READELF="true"
7747 else
7748 case $cross_compiling:$ac_tool_warned in
7749 yes:)
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7752 ac_tool_warned=yes ;;
7753 esac
7754 READELF=$ac_ct_READELF
7756 else
7757 READELF="$ac_cv_prog_READELF"
7760 wine_rules_file=conf$$rules.make
7761 rm -f $wine_rules_file
7762 SUBDIRS=""
7764 DISABLED_SUBDIRS=""
7766 CONFIGURE_TARGETS=""
7769 wine_fn_append_file ()
7771 as_fn_append $1 " \\$as_nl $2"
7774 wine_fn_append_rule ()
7776 $as_echo "$1" >>$wine_rules_file
7779 wine_fn_config_makefile ()
7781 wine_fn_append_file SUBDIRS $1
7782 if eval test \"x\$"$2"\" = x"no"; then :
7783 wine_fn_append_file DISABLED_SUBDIRS $1
7787 wine_fn_config_symlink ()
7789 ac_links=$@
7790 wine_fn_append_rule \
7791 "$ac_links:
7792 @./config.status \$@"
7793 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7796 wine_binary="wine"
7797 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7798 WINELOADER_PROGRAMS="$wine_binary"
7800 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7802 case $host_os in
7803 cygwin*|mingw32*)
7804 if test -n "$ac_tool_prefix"; then
7805 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7806 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7808 $as_echo_n "checking for $ac_word... " >&6; }
7809 if ${ac_cv_prog_DLLTOOL+:} false; then :
7810 $as_echo_n "(cached) " >&6
7811 else
7812 if test -n "$DLLTOOL"; then
7813 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7814 else
7815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7816 for as_dir in $PATH
7818 IFS=$as_save_IFS
7819 test -z "$as_dir" && as_dir=.
7820 for ac_exec_ext in '' $ac_executable_extensions; do
7821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7822 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7824 break 2
7826 done
7827 done
7828 IFS=$as_save_IFS
7832 DLLTOOL=$ac_cv_prog_DLLTOOL
7833 if test -n "$DLLTOOL"; then
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7835 $as_echo "$DLLTOOL" >&6; }
7836 else
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7838 $as_echo "no" >&6; }
7843 if test -z "$ac_cv_prog_DLLTOOL"; then
7844 ac_ct_DLLTOOL=$DLLTOOL
7845 # Extract the first word of "dlltool", so it can be a program name with args.
7846 set dummy dlltool; ac_word=$2
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7848 $as_echo_n "checking for $ac_word... " >&6; }
7849 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7850 $as_echo_n "(cached) " >&6
7851 else
7852 if test -n "$ac_ct_DLLTOOL"; then
7853 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7854 else
7855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7856 for as_dir in $PATH
7858 IFS=$as_save_IFS
7859 test -z "$as_dir" && as_dir=.
7860 for ac_exec_ext in '' $ac_executable_extensions; do
7861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7862 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7864 break 2
7866 done
7867 done
7868 IFS=$as_save_IFS
7872 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7873 if test -n "$ac_ct_DLLTOOL"; then
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7875 $as_echo "$ac_ct_DLLTOOL" >&6; }
7876 else
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7878 $as_echo "no" >&6; }
7881 if test "x$ac_ct_DLLTOOL" = x; then
7882 DLLTOOL="false"
7883 else
7884 case $cross_compiling:$ac_tool_warned in
7885 yes:)
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7888 ac_tool_warned=yes ;;
7889 esac
7890 DLLTOOL=$ac_ct_DLLTOOL
7892 else
7893 DLLTOOL="$ac_cv_prog_DLLTOOL"
7896 LIBEXT="dll"
7897 DLLEXT=""
7898 IMPLIBEXT="a"
7899 enable_iphlpapi=${enable_iphlpapi:-no}
7900 enable_kernel32=${enable_kernel32:-no}
7901 enable_msvcrt=${enable_msvcrt:-no}
7902 enable_ntdll=${enable_ntdll:-no}
7903 enable_ws2_32=${enable_ws2_32:-no}
7904 enable_loader=${enable_loader:-no}
7905 enable_server=${enable_server:-no}
7906 with_x=${with_x:-no}
7907 with_pthread=${with_pthread:-no}
7909 crtlibs=""
7910 case $host_os in
7911 mingw32*)
7912 crtlibs="-lmsvcrt"
7913 SOCKET_LIBS="-lws2_32"
7915 esac
7917 LIBWINE_SHAREDLIB="libwine.dll"
7919 LIBWINE_IMPORTLIB="libwine.a"
7921 LIBWINE_INSTALL_LIB="libwine.dll"
7923 LIBWINE_INSTALL_DEV="libwine.a"
7925 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7927 LIBWINE_DEPENDS="wine.def"
7931 darwin*|macosx*)
7932 for ac_header in libunwind.h
7933 do :
7934 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7936 cat >>confdefs.h <<_ACEOF
7937 #define HAVE_LIBUNWIND_H 1
7938 _ACEOF
7942 done
7944 LIBEXT="dylib"
7945 DLLFLAGS="$DLLFLAGS -fPIC"
7946 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7947 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7948 COREFOUNDATION_LIBS="-framework CoreFoundation"
7950 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7952 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7954 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7956 CORESERVICES_LIBS="-framework CoreServices"
7958 APPKIT_LIBS="-framework AppKit"
7960 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7962 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7963 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7964 $as_echo_n "(cached) " >&6
7965 else
7966 ac_wine_try_cflags_saved=$CFLAGS
7967 CFLAGS="$CFLAGS -Wl,-no_pie"
7968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7969 /* end confdefs.h. */
7970 int main(int argc, char **argv) { return 0; }
7971 _ACEOF
7972 if ac_fn_c_try_link "$LINENO"; then :
7973 ac_cv_cflags__Wl__no_pie=yes
7974 else
7975 ac_cv_cflags__Wl__no_pie=no
7977 rm -f core conftest.err conftest.$ac_objext \
7978 conftest$ac_exeext conftest.$ac_ext
7979 CFLAGS=$ac_wine_try_cflags_saved
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7982 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7983 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7984 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
7986 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7987 then
7988 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7991 if test "$ac_cv_header_Security_Security_h" = "yes"
7992 then
7993 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7995 ac_save_LIBS="$LIBS"
7996 LIBS="$LIBS $SECURITY_LIBS"
7997 for ac_func in SSLCopyPeerCertificates
7998 do :
7999 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8000 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8001 cat >>confdefs.h <<_ACEOF
8002 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8003 _ACEOF
8006 done
8008 LIBS="$ac_save_LIBS"
8009 with_gnutls=${with_gnutls:-no}
8011 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8012 then
8013 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8014 then
8015 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8017 else
8018 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8021 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8022 ac_save_LIBS="$LIBS"
8023 LIBS="$LIBS $COREAUDIO_LIBS"
8024 for ac_func in AUGraphAddNode
8025 do :
8026 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8027 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8028 cat >>confdefs.h <<_ACEOF
8029 #define HAVE_AUGRAPHADDNODE 1
8030 _ACEOF
8033 done
8035 LIBS="$ac_save_LIBS"
8037 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8038 then
8039 OPENAL_LIBS="-framework OpenAL"
8042 cat >>confdefs.h <<_ACEOF
8043 #define HAVE_OPENAL 1
8044 _ACEOF
8046 ac_cv_lib_openal=yes
8048 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8049 then
8050 OPENCL_LIBS="-framework OpenCL"
8052 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8054 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8055 then
8056 ac_save_LIBS="$LIBS"
8057 LIBS="$LIBS $IOKIT_LIBS"
8058 for ac_func in IOHIDManagerCreate
8059 do :
8060 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8061 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8062 cat >>confdefs.h <<_ACEOF
8063 #define HAVE_IOHIDMANAGERCREATE 1
8064 _ACEOF
8067 done
8069 LIBS="$ac_save_LIBS"
8071 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8072 then
8073 ac_save_LIBS="$LIBS"
8074 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8076 $as_echo_n "checking for the QuickTime framework... " >&6; }
8077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8078 /* end confdefs.h. */
8079 #include <QuickTime/ImageCompression.h>
8081 main ()
8083 CodecManagerVersion(NULL);
8085 return 0;
8087 _ACEOF
8088 if ac_fn_c_try_link "$LINENO"; then :
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8090 $as_echo "yes" >&6; }
8091 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8093 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8094 else
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8096 $as_echo "no" >&6; }
8097 ac_cv_header_QuickTime_ImageCompression_h=no
8099 rm -f core conftest.err conftest.$ac_objext \
8100 conftest$ac_exeext conftest.$ac_ext
8101 LIBS="$ac_save_LIBS"
8103 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8104 then
8105 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8107 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8108 then
8109 CARBON_LIBS="-framework Carbon"
8113 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8114 then
8115 ac_save_LIBS="$LIBS"
8116 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8117 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8118 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8119 enable_winemac_drv=${enable_winemac_drv:-yes}
8122 LIBS="$ac_save_LIBS"
8125 if test "x$enable_win16" = "xyes"
8126 then
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8128 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8129 if test "$cross_compiling" = yes; then :
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8131 $as_echo "cross-compiling, assuming yes" >&6; }
8132 else
8133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8134 /* end confdefs.h. */
8135 asm(".text\n"
8136 "bad:\tnop;nop\n"
8137 "good:\tnop;nop\n\t"
8138 ".globl _testfunc\n"
8139 "_testfunc:\tcallw good");
8140 extern void testfunc();
8142 main ()
8144 unsigned short *p = (unsigned short *)testfunc;
8145 return p[0] != 0xe866 || p[1] != 0xfffa
8147 return 0;
8149 _ACEOF
8150 if ac_fn_c_try_run "$LINENO"; then :
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8152 $as_echo "yes" >&6; }
8153 else
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8155 $as_echo "no" >&6; }
8156 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
8158 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8159 conftest.$ac_objext conftest.beam conftest.$ac_ext
8164 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8166 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8168 LIBWINE_INSTALL_DEV="libwine.dylib"
8170 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8172 WINELOADER_DEPENDS="wine_info.plist"
8176 linux-android*)
8177 DLLFLAGS="$DLLFLAGS -fPIC"
8178 LDEXECFLAGS="-Wl,-pie"
8179 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8181 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8182 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8183 $as_echo_n "(cached) " >&6
8184 else
8185 ac_wine_try_cflags_saved=$CFLAGS
8186 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8188 /* end confdefs.h. */
8189 int main(int argc, char **argv) { return 0; }
8190 _ACEOF
8191 if ac_fn_c_try_link "$LINENO"; then :
8192 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8193 else
8194 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8196 rm -f core conftest.err conftest.$ac_objext \
8197 conftest$ac_exeext conftest.$ac_ext
8198 CFLAGS=$ac_wine_try_cflags_saved
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8201 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8202 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8203 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8205 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8207 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8208 if eval \${$as_ac_var+:} false; then :
8209 $as_echo_n "(cached) " >&6
8210 else
8211 ac_wine_try_cflags_saved=$CFLAGS
8212 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8214 /* end confdefs.h. */
8215 int main(int argc, char **argv) { return 0; }
8216 _ACEOF
8217 if ac_fn_c_try_link "$LINENO"; then :
8218 eval "$as_ac_var=yes"
8219 else
8220 eval "$as_ac_var=no"
8222 rm -f core conftest.err conftest.$ac_objext \
8223 conftest$ac_exeext conftest.$ac_ext
8224 CFLAGS=$ac_wine_try_cflags_saved
8226 eval ac_res=\$$as_ac_var
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8228 $as_echo "$ac_res" >&6; }
8229 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8230 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8231 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8232 else
8233 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8235 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8236 if eval \${$as_ac_var+:} false; then :
8237 $as_echo_n "(cached) " >&6
8238 else
8239 ac_wine_try_cflags_saved=$CFLAGS
8240 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8242 /* end confdefs.h. */
8243 int main(int argc, char **argv) { return 0; }
8244 _ACEOF
8245 if ac_fn_c_try_link "$LINENO"; then :
8246 eval "$as_ac_var=yes"
8247 else
8248 eval "$as_ac_var=no"
8250 rm -f core conftest.err conftest.$ac_objext \
8251 conftest$ac_exeext conftest.$ac_ext
8252 CFLAGS=$ac_wine_try_cflags_saved
8254 eval ac_res=\$$as_ac_var
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8256 $as_echo "$ac_res" >&6; }
8257 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8258 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8259 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8263 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8264 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8265 $as_echo_n "(cached) " >&6
8266 else
8267 ac_wine_try_cflags_saved=$CFLAGS
8268 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8270 /* end confdefs.h. */
8271 int main(int argc, char **argv) { return 0; }
8272 _ACEOF
8273 if ac_fn_c_try_link "$LINENO"; then :
8274 ac_cv_cflags__Wl___enable_new_dtags=yes
8275 else
8276 ac_cv_cflags__Wl___enable_new_dtags=no
8278 rm -f core conftest.err conftest.$ac_objext \
8279 conftest$ac_exeext conftest.$ac_ext
8280 CFLAGS=$ac_wine_try_cflags_saved
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8283 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8284 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8285 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8288 LIBWINE_SHAREDLIB="libwine.so"
8290 LIBWINE_INSTALL_LIB="libwine.so"
8292 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8296 $as_echo_n "checking for -lEGL... " >&6; }
8297 if ${ac_cv_lib_soname_EGL+:} false; then :
8298 $as_echo_n "(cached) " >&6
8299 else
8300 ac_check_soname_save_LIBS=$LIBS
8301 LIBS="-lEGL $LIBS"
8302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8303 /* end confdefs.h. */
8305 /* Override any GCC internal prototype to avoid an error.
8306 Use char because int might match the return type of a GCC
8307 builtin and then its argument prototype would still apply. */
8308 #ifdef __cplusplus
8309 extern "C"
8310 #endif
8311 char eglGetProcAddress ();
8313 main ()
8315 return eglGetProcAddress ();
8317 return 0;
8319 _ACEOF
8320 if ac_fn_c_try_link "$LINENO"; then :
8321 case "$LIBEXT" in
8322 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8323 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'` ;;
8324 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8325 if ${ac_cv_lib_soname_EGL:+false} :; then :
8326 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8327 fi ;;
8328 esac
8330 rm -f core conftest.err conftest.$ac_objext \
8331 conftest$ac_exeext conftest.$ac_ext
8332 LIBS=$ac_check_soname_save_LIBS
8334 if ${ac_cv_lib_soname_EGL:+false} :; then :
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8336 $as_echo "not found" >&6; }
8338 else
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8340 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8342 cat >>confdefs.h <<_ACEOF
8343 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8344 _ACEOF
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8349 $as_echo_n "checking for -lGLESv2... " >&6; }
8350 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8351 $as_echo_n "(cached) " >&6
8352 else
8353 ac_check_soname_save_LIBS=$LIBS
8354 LIBS="-lGLESv2 $LIBS"
8355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8356 /* end confdefs.h. */
8358 /* Override any GCC internal prototype to avoid an error.
8359 Use char because int might match the return type of a GCC
8360 builtin and then its argument prototype would still apply. */
8361 #ifdef __cplusplus
8362 extern "C"
8363 #endif
8364 char glFlush ();
8366 main ()
8368 return glFlush ();
8370 return 0;
8372 _ACEOF
8373 if ac_fn_c_try_link "$LINENO"; then :
8374 case "$LIBEXT" in
8375 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8376 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'` ;;
8377 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8378 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8379 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8380 fi ;;
8381 esac
8383 rm -f core conftest.err conftest.$ac_objext \
8384 conftest$ac_exeext conftest.$ac_ext
8385 LIBS=$ac_check_soname_save_LIBS
8387 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8389 $as_echo "not found" >&6; }
8391 else
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8393 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8395 cat >>confdefs.h <<_ACEOF
8396 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8397 _ACEOF
8402 if test "x$exec_prefix" = xNONE
8403 then
8404 case $host_cpu in
8405 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8406 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8407 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8408 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8409 esac
8414 DLLFLAGS="$DLLFLAGS -fPIC"
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8416 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8417 if ${ac_cv_c_dll_gnuelf+:} false; then :
8418 $as_echo_n "(cached) " >&6
8419 else
8420 ac_wine_try_cflags_saved=$CFLAGS
8421 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8423 /* end confdefs.h. */
8424 void myfunc() {}
8425 _ACEOF
8426 if ac_fn_c_try_link "$LINENO"; then :
8427 ac_cv_c_dll_gnuelf="yes"
8428 else
8429 ac_cv_c_dll_gnuelf="no"
8431 rm -f core conftest.err conftest.$ac_objext \
8432 conftest$ac_exeext conftest.$ac_ext
8433 CFLAGS=$ac_wine_try_cflags_saved
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8436 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8437 if test "$ac_cv_c_dll_gnuelf" = "yes"
8438 then
8439 LIBWINE_LDFLAGS="-shared"
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8441 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8442 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8443 $as_echo_n "(cached) " >&6
8444 else
8445 ac_wine_try_cflags_saved=$CFLAGS
8446 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8448 /* end confdefs.h. */
8449 int main(int argc, char **argv) { return 0; }
8450 _ACEOF
8451 if ac_fn_c_try_link "$LINENO"; then :
8452 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8453 else
8454 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8456 rm -f core conftest.err conftest.$ac_objext \
8457 conftest$ac_exeext conftest.$ac_ext
8458 CFLAGS=$ac_wine_try_cflags_saved
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8461 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8462 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8463 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8464 else
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8466 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8467 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8468 $as_echo_n "(cached) " >&6
8469 else
8470 ac_wine_try_cflags_saved=$CFLAGS
8471 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8473 /* end confdefs.h. */
8474 int main(int argc, char **argv) { return 0; }
8475 _ACEOF
8476 if ac_fn_c_try_link "$LINENO"; then :
8477 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8478 else
8479 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8481 rm -f core conftest.err conftest.$ac_objext \
8482 conftest$ac_exeext conftest.$ac_ext
8483 CFLAGS=$ac_wine_try_cflags_saved
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8486 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8487 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8488 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8492 echo '{ global: *; };' >conftest.map
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8494 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8495 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8496 $as_echo_n "(cached) " >&6
8497 else
8498 ac_wine_try_cflags_saved=$CFLAGS
8499 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8501 /* end confdefs.h. */
8502 int main(int argc, char **argv) { return 0; }
8503 _ACEOF
8504 if ac_fn_c_try_link "$LINENO"; then :
8505 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8506 else
8507 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8509 rm -f core conftest.err conftest.$ac_objext \
8510 conftest$ac_exeext conftest.$ac_ext
8511 CFLAGS=$ac_wine_try_cflags_saved
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8514 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8515 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8516 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8518 rm -f conftest.map
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8521 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8522 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8523 $as_echo_n "(cached) " >&6
8524 else
8525 ac_wine_try_cflags_saved=$CFLAGS
8526 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8528 /* end confdefs.h. */
8529 int main(int argc, char **argv) { return 0; }
8530 _ACEOF
8531 if ac_fn_c_try_link "$LINENO"; then :
8532 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8533 else
8534 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8536 rm -f core conftest.err conftest.$ac_objext \
8537 conftest$ac_exeext conftest.$ac_ext
8538 CFLAGS=$ac_wine_try_cflags_saved
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8541 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8542 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8543 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8546 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8548 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8549 if eval \${$as_ac_var+:} false; then :
8550 $as_echo_n "(cached) " >&6
8551 else
8552 ac_wine_try_cflags_saved=$CFLAGS
8553 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8555 /* end confdefs.h. */
8556 int main(int argc, char **argv) { return 0; }
8557 _ACEOF
8558 if ac_fn_c_try_link "$LINENO"; then :
8559 eval "$as_ac_var=yes"
8560 else
8561 eval "$as_ac_var=no"
8563 rm -f core conftest.err conftest.$ac_objext \
8564 conftest$ac_exeext conftest.$ac_ext
8565 CFLAGS=$ac_wine_try_cflags_saved
8567 eval ac_res=\$$as_ac_var
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8569 $as_echo "$ac_res" >&6; }
8570 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8571 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8572 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8573 else
8574 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8576 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8577 if eval \${$as_ac_var+:} false; then :
8578 $as_echo_n "(cached) " >&6
8579 else
8580 ac_wine_try_cflags_saved=$CFLAGS
8581 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8583 /* end confdefs.h. */
8584 int main(int argc, char **argv) { return 0; }
8585 _ACEOF
8586 if ac_fn_c_try_link "$LINENO"; then :
8587 eval "$as_ac_var=yes"
8588 else
8589 eval "$as_ac_var=no"
8591 rm -f core conftest.err conftest.$ac_objext \
8592 conftest$ac_exeext conftest.$ac_ext
8593 CFLAGS=$ac_wine_try_cflags_saved
8595 eval ac_res=\$$as_ac_var
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8597 $as_echo "$ac_res" >&6; }
8598 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8599 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8600 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8605 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8606 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8607 $as_echo_n "(cached) " >&6
8608 else
8609 ac_wine_try_cflags_saved=$CFLAGS
8610 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8612 /* end confdefs.h. */
8613 int main(int argc, char **argv) { return 0; }
8614 _ACEOF
8615 if ac_fn_c_try_link "$LINENO"; then :
8616 ac_cv_cflags__Wl___enable_new_dtags=yes
8617 else
8618 ac_cv_cflags__Wl___enable_new_dtags=no
8620 rm -f core conftest.err conftest.$ac_objext \
8621 conftest$ac_exeext conftest.$ac_ext
8622 CFLAGS=$ac_wine_try_cflags_saved
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8625 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8626 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8627 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8630 case $host_cpu in
8631 *i[3456789]86* | x86_64 | *aarch64*)
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8633 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8634 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8635 $as_echo_n "(cached) " >&6
8636 else
8637 ac_wine_try_cflags_saved=$CFLAGS
8638 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8640 /* end confdefs.h. */
8641 int main(int argc, char **argv) { return 0; }
8642 _ACEOF
8643 if ac_fn_c_try_link "$LINENO"; then :
8644 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8645 else
8646 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8648 rm -f core conftest.err conftest.$ac_objext \
8649 conftest$ac_exeext conftest.$ac_ext
8650 CFLAGS=$ac_wine_try_cflags_saved
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8653 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8654 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8655 case $host_os in
8656 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8657 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8658 esac
8659 else
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8661 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8662 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8663 $as_echo_n "(cached) " >&6
8664 else
8665 ac_wine_try_cflags_saved=$CFLAGS
8666 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8668 /* end confdefs.h. */
8669 int main(int argc, char **argv) { return 0; }
8670 _ACEOF
8671 if ac_fn_c_try_link "$LINENO"; then :
8672 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8673 else
8674 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8676 rm -f core conftest.err conftest.$ac_objext \
8677 conftest$ac_exeext conftest.$ac_ext
8678 CFLAGS=$ac_wine_try_cflags_saved
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8681 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8682 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8683 case $host_os in
8684 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8685 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8686 esac
8688 # Extract the first word of "prelink", so it can be a program name with args.
8689 set dummy prelink; ac_word=$2
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8691 $as_echo_n "checking for $ac_word... " >&6; }
8692 if ${ac_cv_path_PRELINK+:} false; then :
8693 $as_echo_n "(cached) " >&6
8694 else
8695 case $PRELINK in
8696 [\\/]* | ?:[\\/]*)
8697 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8701 for as_dir in /sbin /usr/sbin $PATH
8703 IFS=$as_save_IFS
8704 test -z "$as_dir" && as_dir=.
8705 for ac_exec_ext in '' $ac_executable_extensions; do
8706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8707 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8709 break 2
8711 done
8712 done
8713 IFS=$as_save_IFS
8715 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8717 esac
8719 PRELINK=$ac_cv_path_PRELINK
8720 if test -n "$PRELINK"; then
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8722 $as_echo "$PRELINK" >&6; }
8723 else
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8725 $as_echo "no" >&6; }
8729 if test "x$PRELINK" = xfalse
8730 then
8731 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8735 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8736 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8737 $as_echo_n "(cached) " >&6
8738 else
8739 ac_wine_try_cflags_saved=$CFLAGS
8740 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8742 /* end confdefs.h. */
8743 int main(int argc, char **argv) { return 0; }
8744 _ACEOF
8745 if ac_fn_c_try_link "$LINENO"; then :
8746 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8747 else
8748 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8750 rm -f core conftest.err conftest.$ac_objext \
8751 conftest$ac_exeext conftest.$ac_ext
8752 CFLAGS=$ac_wine_try_cflags_saved
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8755 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8756 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8757 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8760 esac
8762 else
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8764 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8765 if ${ac_cv_c_dll_unixware+:} false; then :
8766 $as_echo_n "(cached) " >&6
8767 else
8768 ac_wine_try_cflags_saved=$CFLAGS
8769 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8771 /* end confdefs.h. */
8772 void myfunc() {}
8773 _ACEOF
8774 if ac_fn_c_try_link "$LINENO"; then :
8775 ac_cv_c_dll_unixware="yes"
8776 else
8777 ac_cv_c_dll_unixware="no"
8779 rm -f core conftest.err conftest.$ac_objext \
8780 conftest$ac_exeext conftest.$ac_ext
8781 CFLAGS=$ac_wine_try_cflags_saved
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8784 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8785 if test "$ac_cv_c_dll_unixware" = "yes"
8786 then
8787 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8790 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8792 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8794 LIBWINE_INSTALL_DEV="libwine.so"
8796 LIBWINE_DEPENDS="wine.map"
8799 esac
8801 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8802 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8803 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8804 enable_winemac_drv=${enable_winemac_drv:-no}
8805 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8807 CROSSTARGET=""
8809 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8810 then
8811 case "$host_cpu" in
8812 arm*)
8813 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8814 i[3456789]86*)
8815 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
8816 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8817 mingw32-gcc" ;;
8818 x86_64)
8819 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
8820 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8822 ac_prefix_list="" ;;
8823 esac
8824 for ac_prog in $ac_prefix_list
8826 # Extract the first word of "$ac_prog", so it can be a program name with args.
8827 set dummy $ac_prog; ac_word=$2
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8829 $as_echo_n "checking for $ac_word... " >&6; }
8830 if ${ac_cv_prog_CROSSCC+:} false; then :
8831 $as_echo_n "(cached) " >&6
8832 else
8833 if test -n "$CROSSCC"; then
8834 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8835 else
8836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8837 for as_dir in $PATH
8839 IFS=$as_save_IFS
8840 test -z "$as_dir" && as_dir=.
8841 for ac_exec_ext in '' $ac_executable_extensions; do
8842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8843 ac_cv_prog_CROSSCC="$ac_prog"
8844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8845 break 2
8847 done
8848 done
8849 IFS=$as_save_IFS
8853 CROSSCC=$ac_cv_prog_CROSSCC
8854 if test -n "$CROSSCC"; then
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8856 $as_echo "$CROSSCC" >&6; }
8857 else
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8859 $as_echo "no" >&6; }
8863 test -n "$CROSSCC" && break
8864 done
8865 test -n "$CROSSCC" || CROSSCC="false"
8867 if test "$CROSSCC" != "false"
8868 then
8869 ac_save_CC="$CC"
8870 CC="$CROSSCC"
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8872 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8874 /* end confdefs.h. */
8877 main ()
8881 return 0;
8883 _ACEOF
8884 if ac_fn_c_try_compile "$LINENO"; then :
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8886 $as_echo "yes" >&6; }
8887 set x $CROSSCC
8888 shift
8889 while test $# -ge 1
8891 case "$1" in
8892 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8893 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8894 esac
8895 shift
8896 done
8897 else
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8899 $as_echo "no" >&6; }
8901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8902 CC="$ac_save_CC"
8903 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8909 if test "$ac_cv_header_pthread_h" = "yes"
8910 then
8911 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8912 if test "x$ac_cv_func_pthread_create" = xyes; then :
8914 else
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8916 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8917 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8918 $as_echo_n "(cached) " >&6
8919 else
8920 ac_check_lib_save_LIBS=$LIBS
8921 LIBS="-lpthread $LIBS"
8922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8923 /* end confdefs.h. */
8925 /* Override any GCC internal prototype to avoid an error.
8926 Use char because int might match the return type of a GCC
8927 builtin and then its argument prototype would still apply. */
8928 #ifdef __cplusplus
8929 extern "C"
8930 #endif
8931 char pthread_create ();
8933 main ()
8935 return pthread_create ();
8937 return 0;
8939 _ACEOF
8940 if ac_fn_c_try_link "$LINENO"; then :
8941 ac_cv_lib_pthread_pthread_create=yes
8942 else
8943 ac_cv_lib_pthread_pthread_create=no
8945 rm -f core conftest.err conftest.$ac_objext \
8946 conftest$ac_exeext conftest.$ac_ext
8947 LIBS=$ac_check_lib_save_LIBS
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8950 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8951 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8952 PTHREAD_LIBS="-lpthread"
8959 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8960 case "x$with_pthread" in
8961 xno) ;;
8962 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8963 Wine cannot support threads without libpthread.
8964 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8965 esac
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8971 $as_echo_n "checking for X... " >&6; }
8974 # Check whether --with-x was given.
8975 if test "${with_x+set}" = set; then :
8976 withval=$with_x;
8979 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8980 if test "x$with_x" = xno; then
8981 # The user explicitly disabled X.
8982 have_x=disabled
8983 else
8984 case $x_includes,$x_libraries in #(
8985 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8986 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8987 $as_echo_n "(cached) " >&6
8988 else
8989 # One or both of the vars are not set, and there is no cached value.
8990 ac_x_includes=no ac_x_libraries=no
8991 rm -f -r conftest.dir
8992 if mkdir conftest.dir; then
8993 cd conftest.dir
8994 cat >Imakefile <<'_ACEOF'
8995 incroot:
8996 @echo incroot='${INCROOT}'
8997 usrlibdir:
8998 @echo usrlibdir='${USRLIBDIR}'
8999 libdir:
9000 @echo libdir='${LIBDIR}'
9001 _ACEOF
9002 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9003 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9004 for ac_var in incroot usrlibdir libdir; do
9005 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9006 done
9007 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9008 for ac_extension in a so sl dylib la dll; do
9009 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9010 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9011 ac_im_usrlibdir=$ac_im_libdir; break
9013 done
9014 # Screen out bogus values from the imake configuration. They are
9015 # bogus both because they are the default anyway, and because
9016 # using them would break gcc on systems where it needs fixed includes.
9017 case $ac_im_incroot in
9018 /usr/include) ac_x_includes= ;;
9019 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9020 esac
9021 case $ac_im_usrlibdir in
9022 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9023 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9024 esac
9026 cd ..
9027 rm -f -r conftest.dir
9030 # Standard set of common directories for X headers.
9031 # Check X11 before X11Rn because it is often a symlink to the current release.
9032 ac_x_header_dirs='
9033 /usr/X11/include
9034 /usr/X11R7/include
9035 /usr/X11R6/include
9036 /usr/X11R5/include
9037 /usr/X11R4/include
9039 /usr/include/X11
9040 /usr/include/X11R7
9041 /usr/include/X11R6
9042 /usr/include/X11R5
9043 /usr/include/X11R4
9045 /usr/local/X11/include
9046 /usr/local/X11R7/include
9047 /usr/local/X11R6/include
9048 /usr/local/X11R5/include
9049 /usr/local/X11R4/include
9051 /usr/local/include/X11
9052 /usr/local/include/X11R7
9053 /usr/local/include/X11R6
9054 /usr/local/include/X11R5
9055 /usr/local/include/X11R4
9057 /usr/X386/include
9058 /usr/x386/include
9059 /usr/XFree86/include/X11
9061 /usr/include
9062 /usr/local/include
9063 /usr/unsupported/include
9064 /usr/athena/include
9065 /usr/local/x11r5/include
9066 /usr/lpp/Xamples/include
9068 /usr/openwin/include
9069 /usr/openwin/share/include'
9071 if test "$ac_x_includes" = no; then
9072 # Guess where to find include files, by looking for Xlib.h.
9073 # First, try using that file with no special directory specified.
9074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9075 /* end confdefs.h. */
9076 #include <X11/Xlib.h>
9077 _ACEOF
9078 if ac_fn_c_try_cpp "$LINENO"; then :
9079 # We can compile using X headers with no special include directory.
9080 ac_x_includes=
9081 else
9082 for ac_dir in $ac_x_header_dirs; do
9083 if test -r "$ac_dir/X11/Xlib.h"; then
9084 ac_x_includes=$ac_dir
9085 break
9087 done
9089 rm -f conftest.err conftest.i conftest.$ac_ext
9090 fi # $ac_x_includes = no
9092 if test "$ac_x_libraries" = no; then
9093 # Check for the libraries.
9094 # See if we find them without any special options.
9095 # Don't add to $LIBS permanently.
9096 ac_save_LIBS=$LIBS
9097 LIBS="-lX11 $LIBS"
9098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9099 /* end confdefs.h. */
9100 #include <X11/Xlib.h>
9102 main ()
9104 XrmInitialize ()
9106 return 0;
9108 _ACEOF
9109 if ac_fn_c_try_link "$LINENO"; then :
9110 LIBS=$ac_save_LIBS
9111 # We can link X programs with no special library path.
9112 ac_x_libraries=
9113 else
9114 LIBS=$ac_save_LIBS
9115 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9117 # Don't even attempt the hair of trying to link an X program!
9118 for ac_extension in a so sl dylib la dll; do
9119 if test -r "$ac_dir/libX11.$ac_extension"; then
9120 ac_x_libraries=$ac_dir
9121 break 2
9123 done
9124 done
9126 rm -f core conftest.err conftest.$ac_objext \
9127 conftest$ac_exeext conftest.$ac_ext
9128 fi # $ac_x_libraries = no
9130 case $ac_x_includes,$ac_x_libraries in #(
9131 no,* | *,no | *\'*)
9132 # Didn't find X, or a directory has "'" in its name.
9133 ac_cv_have_x="have_x=no";; #(
9135 # Record where we found X for the cache.
9136 ac_cv_have_x="have_x=yes\
9137 ac_x_includes='$ac_x_includes'\
9138 ac_x_libraries='$ac_x_libraries'"
9139 esac
9141 ;; #(
9142 *) have_x=yes;;
9143 esac
9144 eval "$ac_cv_have_x"
9145 fi # $with_x != no
9147 if test "$have_x" != yes; then
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9149 $as_echo "$have_x" >&6; }
9150 no_x=yes
9151 else
9152 # If each of the values was on the command line, it overrides each guess.
9153 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9154 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9155 # Update the cache value to reflect the command line values.
9156 ac_cv_have_x="have_x=yes\
9157 ac_x_includes='$x_includes'\
9158 ac_x_libraries='$x_libraries'"
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9160 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9163 if test "$no_x" = yes; then
9164 # Not all programs may use this symbol, but it does not hurt to define it.
9166 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9168 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9169 else
9170 if test -n "$x_includes"; then
9171 X_CFLAGS="$X_CFLAGS -I$x_includes"
9174 # It would also be nice to do this for all -L options, not just this one.
9175 if test -n "$x_libraries"; then
9176 X_LIBS="$X_LIBS -L$x_libraries"
9177 # For Solaris; some versions of Sun CC require a space after -R and
9178 # others require no space. Words are not sufficient . . . .
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9180 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9181 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9182 ac_xsave_c_werror_flag=$ac_c_werror_flag
9183 ac_c_werror_flag=yes
9184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9185 /* end confdefs.h. */
9188 main ()
9192 return 0;
9194 _ACEOF
9195 if ac_fn_c_try_link "$LINENO"; then :
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9197 $as_echo "no" >&6; }
9198 X_LIBS="$X_LIBS -R$x_libraries"
9199 else
9200 LIBS="$ac_xsave_LIBS -R $x_libraries"
9201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9202 /* end confdefs.h. */
9205 main ()
9209 return 0;
9211 _ACEOF
9212 if ac_fn_c_try_link "$LINENO"; then :
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9214 $as_echo "yes" >&6; }
9215 X_LIBS="$X_LIBS -R $x_libraries"
9216 else
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9218 $as_echo "neither works" >&6; }
9220 rm -f core conftest.err conftest.$ac_objext \
9221 conftest$ac_exeext conftest.$ac_ext
9223 rm -f core conftest.err conftest.$ac_objext \
9224 conftest$ac_exeext conftest.$ac_ext
9225 ac_c_werror_flag=$ac_xsave_c_werror_flag
9226 LIBS=$ac_xsave_LIBS
9229 # Check for system-dependent libraries X programs must link with.
9230 # Do this before checking for the system-independent R6 libraries
9231 # (-lICE), since we may need -lsocket or whatever for X linking.
9233 if test "$ISC" = yes; then
9234 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9235 else
9236 # Martyn Johnson says this is needed for Ultrix, if the X
9237 # libraries were built with DECnet support. And Karl Berry says
9238 # the Alpha needs dnet_stub (dnet does not exist).
9239 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9241 /* end confdefs.h. */
9243 /* Override any GCC internal prototype to avoid an error.
9244 Use char because int might match the return type of a GCC
9245 builtin and then its argument prototype would still apply. */
9246 #ifdef __cplusplus
9247 extern "C"
9248 #endif
9249 char XOpenDisplay ();
9251 main ()
9253 return XOpenDisplay ();
9255 return 0;
9257 _ACEOF
9258 if ac_fn_c_try_link "$LINENO"; then :
9260 else
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9262 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9263 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9264 $as_echo_n "(cached) " >&6
9265 else
9266 ac_check_lib_save_LIBS=$LIBS
9267 LIBS="-ldnet $LIBS"
9268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9269 /* end confdefs.h. */
9271 /* Override any GCC internal prototype to avoid an error.
9272 Use char because int might match the return type of a GCC
9273 builtin and then its argument prototype would still apply. */
9274 #ifdef __cplusplus
9275 extern "C"
9276 #endif
9277 char dnet_ntoa ();
9279 main ()
9281 return dnet_ntoa ();
9283 return 0;
9285 _ACEOF
9286 if ac_fn_c_try_link "$LINENO"; then :
9287 ac_cv_lib_dnet_dnet_ntoa=yes
9288 else
9289 ac_cv_lib_dnet_dnet_ntoa=no
9291 rm -f core conftest.err conftest.$ac_objext \
9292 conftest$ac_exeext conftest.$ac_ext
9293 LIBS=$ac_check_lib_save_LIBS
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9296 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9297 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9298 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9301 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9303 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9304 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9305 $as_echo_n "(cached) " >&6
9306 else
9307 ac_check_lib_save_LIBS=$LIBS
9308 LIBS="-ldnet_stub $LIBS"
9309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9310 /* end confdefs.h. */
9312 /* Override any GCC internal prototype to avoid an error.
9313 Use char because int might match the return type of a GCC
9314 builtin and then its argument prototype would still apply. */
9315 #ifdef __cplusplus
9316 extern "C"
9317 #endif
9318 char dnet_ntoa ();
9320 main ()
9322 return dnet_ntoa ();
9324 return 0;
9326 _ACEOF
9327 if ac_fn_c_try_link "$LINENO"; then :
9328 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9329 else
9330 ac_cv_lib_dnet_stub_dnet_ntoa=no
9332 rm -f core conftest.err conftest.$ac_objext \
9333 conftest$ac_exeext conftest.$ac_ext
9334 LIBS=$ac_check_lib_save_LIBS
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9337 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9338 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9339 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9344 rm -f core conftest.err conftest.$ac_objext \
9345 conftest$ac_exeext conftest.$ac_ext
9346 LIBS="$ac_xsave_LIBS"
9348 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9349 # to get the SysV transport functions.
9350 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9351 # needs -lnsl.
9352 # The nsl library prevents programs from opening the X display
9353 # on Irix 5.2, according to T.E. Dickey.
9354 # The functions gethostbyname, getservbyname, and inet_addr are
9355 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9356 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9357 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9361 if test $ac_cv_func_gethostbyname = no; then
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9363 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9364 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9365 $as_echo_n "(cached) " >&6
9366 else
9367 ac_check_lib_save_LIBS=$LIBS
9368 LIBS="-lnsl $LIBS"
9369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9370 /* end confdefs.h. */
9372 /* Override any GCC internal prototype to avoid an error.
9373 Use char because int might match the return type of a GCC
9374 builtin and then its argument prototype would still apply. */
9375 #ifdef __cplusplus
9376 extern "C"
9377 #endif
9378 char gethostbyname ();
9380 main ()
9382 return gethostbyname ();
9384 return 0;
9386 _ACEOF
9387 if ac_fn_c_try_link "$LINENO"; then :
9388 ac_cv_lib_nsl_gethostbyname=yes
9389 else
9390 ac_cv_lib_nsl_gethostbyname=no
9392 rm -f core conftest.err conftest.$ac_objext \
9393 conftest$ac_exeext conftest.$ac_ext
9394 LIBS=$ac_check_lib_save_LIBS
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9397 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9398 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9399 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9402 if test $ac_cv_lib_nsl_gethostbyname = no; then
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9404 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9405 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9406 $as_echo_n "(cached) " >&6
9407 else
9408 ac_check_lib_save_LIBS=$LIBS
9409 LIBS="-lbsd $LIBS"
9410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9411 /* end confdefs.h. */
9413 /* Override any GCC internal prototype to avoid an error.
9414 Use char because int might match the return type of a GCC
9415 builtin and then its argument prototype would still apply. */
9416 #ifdef __cplusplus
9417 extern "C"
9418 #endif
9419 char gethostbyname ();
9421 main ()
9423 return gethostbyname ();
9425 return 0;
9427 _ACEOF
9428 if ac_fn_c_try_link "$LINENO"; then :
9429 ac_cv_lib_bsd_gethostbyname=yes
9430 else
9431 ac_cv_lib_bsd_gethostbyname=no
9433 rm -f core conftest.err conftest.$ac_objext \
9434 conftest$ac_exeext conftest.$ac_ext
9435 LIBS=$ac_check_lib_save_LIBS
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9438 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9439 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9440 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9446 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9447 # socket/setsockopt and other routines are undefined under SCO ODT
9448 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9449 # on later versions), says Simon Leinen: it contains gethostby*
9450 # variants that don't use the name server (or something). -lsocket
9451 # must be given before -lnsl if both are needed. We assume that
9452 # if connect needs -lnsl, so does gethostbyname.
9453 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9454 if test "x$ac_cv_func_connect" = xyes; then :
9458 if test $ac_cv_func_connect = no; then
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9460 $as_echo_n "checking for connect in -lsocket... " >&6; }
9461 if ${ac_cv_lib_socket_connect+:} false; then :
9462 $as_echo_n "(cached) " >&6
9463 else
9464 ac_check_lib_save_LIBS=$LIBS
9465 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9467 /* end confdefs.h. */
9469 /* Override any GCC internal prototype to avoid an error.
9470 Use char because int might match the return type of a GCC
9471 builtin and then its argument prototype would still apply. */
9472 #ifdef __cplusplus
9473 extern "C"
9474 #endif
9475 char connect ();
9477 main ()
9479 return connect ();
9481 return 0;
9483 _ACEOF
9484 if ac_fn_c_try_link "$LINENO"; then :
9485 ac_cv_lib_socket_connect=yes
9486 else
9487 ac_cv_lib_socket_connect=no
9489 rm -f core conftest.err conftest.$ac_objext \
9490 conftest$ac_exeext conftest.$ac_ext
9491 LIBS=$ac_check_lib_save_LIBS
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9494 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9495 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9496 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9501 # Guillermo Gomez says -lposix is necessary on A/UX.
9502 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9503 if test "x$ac_cv_func_remove" = xyes; then :
9507 if test $ac_cv_func_remove = no; then
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9509 $as_echo_n "checking for remove in -lposix... " >&6; }
9510 if ${ac_cv_lib_posix_remove+:} false; then :
9511 $as_echo_n "(cached) " >&6
9512 else
9513 ac_check_lib_save_LIBS=$LIBS
9514 LIBS="-lposix $LIBS"
9515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9516 /* end confdefs.h. */
9518 /* Override any GCC internal prototype to avoid an error.
9519 Use char because int might match the return type of a GCC
9520 builtin and then its argument prototype would still apply. */
9521 #ifdef __cplusplus
9522 extern "C"
9523 #endif
9524 char remove ();
9526 main ()
9528 return remove ();
9530 return 0;
9532 _ACEOF
9533 if ac_fn_c_try_link "$LINENO"; then :
9534 ac_cv_lib_posix_remove=yes
9535 else
9536 ac_cv_lib_posix_remove=no
9538 rm -f core conftest.err conftest.$ac_objext \
9539 conftest$ac_exeext conftest.$ac_ext
9540 LIBS=$ac_check_lib_save_LIBS
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9543 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9544 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9545 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9550 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9551 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9552 if test "x$ac_cv_func_shmat" = xyes; then :
9556 if test $ac_cv_func_shmat = no; then
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9558 $as_echo_n "checking for shmat in -lipc... " >&6; }
9559 if ${ac_cv_lib_ipc_shmat+:} false; then :
9560 $as_echo_n "(cached) " >&6
9561 else
9562 ac_check_lib_save_LIBS=$LIBS
9563 LIBS="-lipc $LIBS"
9564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9567 /* Override any GCC internal prototype to avoid an error.
9568 Use char because int might match the return type of a GCC
9569 builtin and then its argument prototype would still apply. */
9570 #ifdef __cplusplus
9571 extern "C"
9572 #endif
9573 char shmat ();
9575 main ()
9577 return shmat ();
9579 return 0;
9581 _ACEOF
9582 if ac_fn_c_try_link "$LINENO"; then :
9583 ac_cv_lib_ipc_shmat=yes
9584 else
9585 ac_cv_lib_ipc_shmat=no
9587 rm -f core conftest.err conftest.$ac_objext \
9588 conftest$ac_exeext conftest.$ac_ext
9589 LIBS=$ac_check_lib_save_LIBS
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9592 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9593 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9594 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9600 # Check for libraries that X11R6 Xt/Xaw programs need.
9601 ac_save_LDFLAGS=$LDFLAGS
9602 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9603 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9604 # check for ICE first), but we must link in the order -lSM -lICE or
9605 # we get undefined symbols. So assume we have SM if we have ICE.
9606 # These have to be linked with before -lX11, unlike the other
9607 # libraries we check for below, so use a different variable.
9608 # John Interrante, Karl Berry
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9610 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9611 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9612 $as_echo_n "(cached) " >&6
9613 else
9614 ac_check_lib_save_LIBS=$LIBS
9615 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9617 /* end confdefs.h. */
9619 /* Override any GCC internal prototype to avoid an error.
9620 Use char because int might match the return type of a GCC
9621 builtin and then its argument prototype would still apply. */
9622 #ifdef __cplusplus
9623 extern "C"
9624 #endif
9625 char IceConnectionNumber ();
9627 main ()
9629 return IceConnectionNumber ();
9631 return 0;
9633 _ACEOF
9634 if ac_fn_c_try_link "$LINENO"; then :
9635 ac_cv_lib_ICE_IceConnectionNumber=yes
9636 else
9637 ac_cv_lib_ICE_IceConnectionNumber=no
9639 rm -f core conftest.err conftest.$ac_objext \
9640 conftest$ac_exeext conftest.$ac_ext
9641 LIBS=$ac_check_lib_save_LIBS
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9644 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9645 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9646 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9649 LDFLAGS=$ac_save_LDFLAGS
9654 if test "$have_x" = "yes"
9655 then
9656 ac_save_CPPFLAGS="$CPPFLAGS"
9657 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9660 $as_echo_n "checking for -lX11... " >&6; }
9661 if ${ac_cv_lib_soname_X11+:} false; then :
9662 $as_echo_n "(cached) " >&6
9663 else
9664 ac_check_soname_save_LIBS=$LIBS
9665 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9667 /* end confdefs.h. */
9669 /* Override any GCC internal prototype to avoid an error.
9670 Use char because int might match the return type of a GCC
9671 builtin and then its argument prototype would still apply. */
9672 #ifdef __cplusplus
9673 extern "C"
9674 #endif
9675 char XCreateWindow ();
9677 main ()
9679 return XCreateWindow ();
9681 return 0;
9683 _ACEOF
9684 if ac_fn_c_try_link "$LINENO"; then :
9685 case "$LIBEXT" in
9686 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9687 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'` ;;
9688 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9689 if ${ac_cv_lib_soname_X11:+false} :; then :
9690 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9691 fi ;;
9692 esac
9694 rm -f core conftest.err conftest.$ac_objext \
9695 conftest$ac_exeext conftest.$ac_ext
9696 LIBS=$ac_check_soname_save_LIBS
9698 if ${ac_cv_lib_soname_X11:+false} :; then :
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9700 $as_echo "not found" >&6; }
9702 else
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9704 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9706 cat >>confdefs.h <<_ACEOF
9707 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9708 _ACEOF
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9713 $as_echo_n "checking for -lXext... " >&6; }
9714 if ${ac_cv_lib_soname_Xext+:} false; then :
9715 $as_echo_n "(cached) " >&6
9716 else
9717 ac_check_soname_save_LIBS=$LIBS
9718 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9720 /* end confdefs.h. */
9722 /* Override any GCC internal prototype to avoid an error.
9723 Use char because int might match the return type of a GCC
9724 builtin and then its argument prototype would still apply. */
9725 #ifdef __cplusplus
9726 extern "C"
9727 #endif
9728 char XextCreateExtension ();
9730 main ()
9732 return XextCreateExtension ();
9734 return 0;
9736 _ACEOF
9737 if ac_fn_c_try_link "$LINENO"; then :
9738 case "$LIBEXT" in
9739 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9740 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'` ;;
9741 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9742 if ${ac_cv_lib_soname_Xext:+false} :; then :
9743 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9744 fi ;;
9745 esac
9747 rm -f core conftest.err conftest.$ac_objext \
9748 conftest$ac_exeext conftest.$ac_ext
9749 LIBS=$ac_check_soname_save_LIBS
9751 if ${ac_cv_lib_soname_Xext:+false} :; then :
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9753 $as_echo "not found" >&6; }
9755 else
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9757 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9759 cat >>confdefs.h <<_ACEOF
9760 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9761 _ACEOF
9763 X_LIBS="$X_LIBS -lXext"
9765 X_LIBS="$X_LIBS -lX11"
9767 for ac_header in X11/Xlib.h \
9768 X11/XKBlib.h \
9769 X11/Xutil.h \
9770 X11/Xcursor/Xcursor.h \
9771 X11/extensions/shape.h \
9772 X11/extensions/XInput.h \
9773 X11/extensions/XInput2.h \
9774 X11/extensions/XShm.h \
9775 X11/extensions/Xcomposite.h \
9776 X11/extensions/Xfixes.h \
9777 X11/extensions/Xinerama.h \
9778 X11/extensions/Xrandr.h \
9779 X11/extensions/Xrender.h \
9780 X11/extensions/xf86vmode.h \
9781 X11/extensions/xf86vmproto.h
9782 do :
9783 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9784 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9785 # include <X11/Xlib.h>
9786 #endif
9787 #ifdef HAVE_X11_XUTIL_H
9788 # include <X11/Xutil.h>
9789 #endif
9791 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9792 cat >>confdefs.h <<_ACEOF
9793 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9794 _ACEOF
9798 done
9801 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9802 then
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9804 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9805 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9806 $as_echo_n "(cached) " >&6
9807 else
9808 ac_check_lib_save_LIBS=$LIBS
9809 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9811 /* end confdefs.h. */
9813 /* Override any GCC internal prototype to avoid an error.
9814 Use char because int might match the return type of a GCC
9815 builtin and then its argument prototype would still apply. */
9816 #ifdef __cplusplus
9817 extern "C"
9818 #endif
9819 char XkbQueryExtension ();
9821 main ()
9823 return XkbQueryExtension ();
9825 return 0;
9827 _ACEOF
9828 if ac_fn_c_try_link "$LINENO"; then :
9829 ac_cv_lib_X11_XkbQueryExtension=yes
9830 else
9831 ac_cv_lib_X11_XkbQueryExtension=no
9833 rm -f core conftest.err conftest.$ac_objext \
9834 conftest$ac_exeext conftest.$ac_ext
9835 LIBS=$ac_check_lib_save_LIBS
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9838 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9839 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9841 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9847 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9848 then
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9850 $as_echo_n "checking for -lXcursor... " >&6; }
9851 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9852 $as_echo_n "(cached) " >&6
9853 else
9854 ac_check_soname_save_LIBS=$LIBS
9855 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9857 /* end confdefs.h. */
9859 /* Override any GCC internal prototype to avoid an error.
9860 Use char because int might match the return type of a GCC
9861 builtin and then its argument prototype would still apply. */
9862 #ifdef __cplusplus
9863 extern "C"
9864 #endif
9865 char XcursorImageLoadCursor ();
9867 main ()
9869 return XcursorImageLoadCursor ();
9871 return 0;
9873 _ACEOF
9874 if ac_fn_c_try_link "$LINENO"; then :
9875 case "$LIBEXT" in
9876 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9877 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'` ;;
9878 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9879 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9880 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9881 fi ;;
9882 esac
9884 rm -f core conftest.err conftest.$ac_objext \
9885 conftest$ac_exeext conftest.$ac_ext
9886 LIBS=$ac_check_soname_save_LIBS
9888 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9890 $as_echo "not found" >&6; }
9892 else
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9894 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9896 cat >>confdefs.h <<_ACEOF
9897 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9898 _ACEOF
9903 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9904 case "x$with_xcursor" in
9905 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9906 xno) ;;
9907 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9908 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9909 esac
9913 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9914 then
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9916 $as_echo_n "checking for -lXi... " >&6; }
9917 if ${ac_cv_lib_soname_Xi+:} false; then :
9918 $as_echo_n "(cached) " >&6
9919 else
9920 ac_check_soname_save_LIBS=$LIBS
9921 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9923 /* end confdefs.h. */
9925 /* Override any GCC internal prototype to avoid an error.
9926 Use char because int might match the return type of a GCC
9927 builtin and then its argument prototype would still apply. */
9928 #ifdef __cplusplus
9929 extern "C"
9930 #endif
9931 char XOpenDevice ();
9933 main ()
9935 return XOpenDevice ();
9937 return 0;
9939 _ACEOF
9940 if ac_fn_c_try_link "$LINENO"; then :
9941 case "$LIBEXT" in
9942 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9943 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'` ;;
9944 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9945 if ${ac_cv_lib_soname_Xi:+false} :; then :
9946 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9947 fi ;;
9948 esac
9950 rm -f core conftest.err conftest.$ac_objext \
9951 conftest$ac_exeext conftest.$ac_ext
9952 LIBS=$ac_check_soname_save_LIBS
9954 if ${ac_cv_lib_soname_Xi:+false} :; then :
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9956 $as_echo "not found" >&6; }
9958 else
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9960 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9962 cat >>confdefs.h <<_ACEOF
9963 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9964 _ACEOF
9969 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9970 case "x$with_xinput" in
9971 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9972 xno) ;;
9973 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9974 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9975 esac
9979 if test "x$ac_cv_lib_soname_Xi" != x
9980 then
9981 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9982 case "x$with_xinput2" in
9983 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9984 xno) ;;
9985 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9986 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9987 esac
9992 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9993 then
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9995 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9996 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9997 $as_echo_n "(cached) " >&6
9998 else
9999 ac_check_lib_save_LIBS=$LIBS
10000 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10002 /* end confdefs.h. */
10004 /* Override any GCC internal prototype to avoid an error.
10005 Use char because int might match the return type of a GCC
10006 builtin and then its argument prototype would still apply. */
10007 #ifdef __cplusplus
10008 extern "C"
10009 #endif
10010 char XShmQueryExtension ();
10012 main ()
10014 return XShmQueryExtension ();
10016 return 0;
10018 _ACEOF
10019 if ac_fn_c_try_link "$LINENO"; then :
10020 ac_cv_lib_Xext_XShmQueryExtension=yes
10021 else
10022 ac_cv_lib_Xext_XShmQueryExtension=no
10024 rm -f core conftest.err conftest.$ac_objext \
10025 conftest$ac_exeext conftest.$ac_ext
10026 LIBS=$ac_check_lib_save_LIBS
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10029 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10030 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10032 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10037 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10038 case "x$with_xshm" in
10039 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10040 xno) ;;
10041 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10042 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10043 esac
10047 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10048 then
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10050 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10051 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10052 $as_echo_n "(cached) " >&6
10053 else
10054 ac_check_lib_save_LIBS=$LIBS
10055 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10057 /* end confdefs.h. */
10059 /* Override any GCC internal prototype to avoid an error.
10060 Use char because int might match the return type of a GCC
10061 builtin and then its argument prototype would still apply. */
10062 #ifdef __cplusplus
10063 extern "C"
10064 #endif
10065 char XShapeQueryExtension ();
10067 main ()
10069 return XShapeQueryExtension ();
10071 return 0;
10073 _ACEOF
10074 if ac_fn_c_try_link "$LINENO"; then :
10075 ac_cv_lib_Xext_XShapeQueryExtension=yes
10076 else
10077 ac_cv_lib_Xext_XShapeQueryExtension=no
10079 rm -f core conftest.err conftest.$ac_objext \
10080 conftest$ac_exeext conftest.$ac_ext
10081 LIBS=$ac_check_lib_save_LIBS
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10084 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10085 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10087 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10092 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10093 case "x$with_xshape" in
10094 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10095 xno) ;;
10096 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10097 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10098 esac
10102 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10103 then
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10105 $as_echo_n "checking for -lXxf86vm... " >&6; }
10106 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10107 $as_echo_n "(cached) " >&6
10108 else
10109 ac_check_soname_save_LIBS=$LIBS
10110 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10114 /* Override any GCC internal prototype to avoid an error.
10115 Use char because int might match the return type of a GCC
10116 builtin and then its argument prototype would still apply. */
10117 #ifdef __cplusplus
10118 extern "C"
10119 #endif
10120 char XF86VidModeQueryExtension ();
10122 main ()
10124 return XF86VidModeQueryExtension ();
10126 return 0;
10128 _ACEOF
10129 if ac_fn_c_try_link "$LINENO"; then :
10130 case "$LIBEXT" in
10131 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10132 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'` ;;
10133 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10134 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10135 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10136 fi ;;
10137 esac
10139 rm -f core conftest.err conftest.$ac_objext \
10140 conftest$ac_exeext conftest.$ac_ext
10141 LIBS=$ac_check_soname_save_LIBS
10143 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10145 $as_echo "not found" >&6; }
10147 else
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10149 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10151 cat >>confdefs.h <<_ACEOF
10152 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10153 _ACEOF
10158 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10159 case "x$with_xxf86vm" in
10160 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10161 xno) ;;
10162 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10163 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10164 esac
10168 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10169 then
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10171 $as_echo_n "checking for -lXrender... " >&6; }
10172 if ${ac_cv_lib_soname_Xrender+:} false; then :
10173 $as_echo_n "(cached) " >&6
10174 else
10175 ac_check_soname_save_LIBS=$LIBS
10176 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10180 /* Override any GCC internal prototype to avoid an error.
10181 Use char because int might match the return type of a GCC
10182 builtin and then its argument prototype would still apply. */
10183 #ifdef __cplusplus
10184 extern "C"
10185 #endif
10186 char XRenderQueryExtension ();
10188 main ()
10190 return XRenderQueryExtension ();
10192 return 0;
10194 _ACEOF
10195 if ac_fn_c_try_link "$LINENO"; then :
10196 case "$LIBEXT" in
10197 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10198 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'` ;;
10199 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10200 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10201 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10202 fi ;;
10203 esac
10205 rm -f core conftest.err conftest.$ac_objext \
10206 conftest$ac_exeext conftest.$ac_ext
10207 LIBS=$ac_check_soname_save_LIBS
10209 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10211 $as_echo "not found" >&6; }
10213 else
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10215 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10217 cat >>confdefs.h <<_ACEOF
10218 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10219 _ACEOF
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10222 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10223 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10224 $as_echo_n "(cached) " >&6
10225 else
10226 ac_check_lib_save_LIBS=$LIBS
10227 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10229 /* end confdefs.h. */
10231 /* Override any GCC internal prototype to avoid an error.
10232 Use char because int might match the return type of a GCC
10233 builtin and then its argument prototype would still apply. */
10234 #ifdef __cplusplus
10235 extern "C"
10236 #endif
10237 char XRenderSetPictureTransform ();
10239 main ()
10241 return XRenderSetPictureTransform ();
10243 return 0;
10245 _ACEOF
10246 if ac_fn_c_try_link "$LINENO"; then :
10247 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10248 else
10249 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10251 rm -f core conftest.err conftest.$ac_objext \
10252 conftest$ac_exeext conftest.$ac_ext
10253 LIBS=$ac_check_lib_save_LIBS
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10256 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10257 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10259 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10264 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10265 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10266 $as_echo_n "(cached) " >&6
10267 else
10268 ac_check_lib_save_LIBS=$LIBS
10269 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10271 /* end confdefs.h. */
10273 /* Override any GCC internal prototype to avoid an error.
10274 Use char because int might match the return type of a GCC
10275 builtin and then its argument prototype would still apply. */
10276 #ifdef __cplusplus
10277 extern "C"
10278 #endif
10279 char XRenderCreateLinearGradient ();
10281 main ()
10283 return XRenderCreateLinearGradient ();
10285 return 0;
10287 _ACEOF
10288 if ac_fn_c_try_link "$LINENO"; then :
10289 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10290 else
10291 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10293 rm -f core conftest.err conftest.$ac_objext \
10294 conftest$ac_exeext conftest.$ac_ext
10295 LIBS=$ac_check_lib_save_LIBS
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10298 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10299 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10301 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10308 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10309 case "x$with_xrender" in
10310 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10311 xno) ;;
10312 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10313 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10314 esac
10318 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10319 then
10320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10321 /* end confdefs.h. */
10322 #include <X11/Xlib.h>
10323 #include <X11/extensions/Xrandr.h>
10325 main ()
10327 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10329 return 0;
10331 _ACEOF
10332 if ac_fn_c_try_compile "$LINENO"; then :
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10334 $as_echo_n "checking for -lXrandr... " >&6; }
10335 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10336 $as_echo_n "(cached) " >&6
10337 else
10338 ac_check_soname_save_LIBS=$LIBS
10339 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10341 /* end confdefs.h. */
10343 /* Override any GCC internal prototype to avoid an error.
10344 Use char because int might match the return type of a GCC
10345 builtin and then its argument prototype would still apply. */
10346 #ifdef __cplusplus
10347 extern "C"
10348 #endif
10349 char XRRQueryExtension ();
10351 main ()
10353 return XRRQueryExtension ();
10355 return 0;
10357 _ACEOF
10358 if ac_fn_c_try_link "$LINENO"; then :
10359 case "$LIBEXT" in
10360 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10361 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'` ;;
10362 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10363 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10364 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10365 fi ;;
10366 esac
10368 rm -f core conftest.err conftest.$ac_objext \
10369 conftest$ac_exeext conftest.$ac_ext
10370 LIBS=$ac_check_soname_save_LIBS
10372 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10374 $as_echo "not found" >&6; }
10376 else
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10378 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10380 cat >>confdefs.h <<_ACEOF
10381 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10382 _ACEOF
10384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10385 /* end confdefs.h. */
10386 #include <X11/Xlib.h>
10387 #include <X11/extensions/Xrandr.h>
10389 main ()
10391 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10393 return 0;
10395 _ACEOF
10396 if ac_fn_c_try_compile "$LINENO"; then :
10398 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10406 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10407 case "x$with_xrandr" in
10408 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10409 xno) ;;
10410 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10411 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10412 esac
10416 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10417 then
10418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10419 /* end confdefs.h. */
10420 #include <X11/Xlib.h>
10421 #include <X11/extensions/Xfixes.h>
10423 main ()
10425 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10427 return 0;
10429 _ACEOF
10430 if ac_fn_c_try_compile "$LINENO"; then :
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10432 $as_echo_n "checking for -lXfixes... " >&6; }
10433 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10434 $as_echo_n "(cached) " >&6
10435 else
10436 ac_check_soname_save_LIBS=$LIBS
10437 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10441 /* Override any GCC internal prototype to avoid an error.
10442 Use char because int might match the return type of a GCC
10443 builtin and then its argument prototype would still apply. */
10444 #ifdef __cplusplus
10445 extern "C"
10446 #endif
10447 char XFixesQueryVersion ();
10449 main ()
10451 return XFixesQueryVersion ();
10453 return 0;
10455 _ACEOF
10456 if ac_fn_c_try_link "$LINENO"; then :
10457 case "$LIBEXT" in
10458 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10459 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'` ;;
10460 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10461 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10462 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10463 fi ;;
10464 esac
10466 rm -f core conftest.err conftest.$ac_objext \
10467 conftest$ac_exeext conftest.$ac_ext
10468 LIBS=$ac_check_soname_save_LIBS
10470 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10472 $as_echo "not found" >&6; }
10474 else
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10476 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10478 cat >>confdefs.h <<_ACEOF
10479 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10480 _ACEOF
10485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10487 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10488 case "x$with_xfixes" in
10489 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10490 xno) ;;
10491 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10492 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10493 esac
10497 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10498 then
10499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10500 /* end confdefs.h. */
10501 #include <X11/Xlib.h>
10502 #include <X11/extensions/Xinerama.h>
10504 main ()
10506 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10508 return 0;
10510 _ACEOF
10511 if ac_fn_c_try_compile "$LINENO"; then :
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10513 $as_echo_n "checking for -lXinerama... " >&6; }
10514 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10515 $as_echo_n "(cached) " >&6
10516 else
10517 ac_check_soname_save_LIBS=$LIBS
10518 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10520 /* end confdefs.h. */
10522 /* Override any GCC internal prototype to avoid an error.
10523 Use char because int might match the return type of a GCC
10524 builtin and then its argument prototype would still apply. */
10525 #ifdef __cplusplus
10526 extern "C"
10527 #endif
10528 char XineramaQueryScreens ();
10530 main ()
10532 return XineramaQueryScreens ();
10534 return 0;
10536 _ACEOF
10537 if ac_fn_c_try_link "$LINENO"; then :
10538 case "$LIBEXT" in
10539 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10540 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'` ;;
10541 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10542 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10543 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10544 fi ;;
10545 esac
10547 rm -f core conftest.err conftest.$ac_objext \
10548 conftest$ac_exeext conftest.$ac_ext
10549 LIBS=$ac_check_soname_save_LIBS
10551 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10553 $as_echo "not found" >&6; }
10555 else
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10557 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10559 cat >>confdefs.h <<_ACEOF
10560 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10561 _ACEOF
10566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10568 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10569 case "x$with_xinerama" in
10570 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10571 xno) ;;
10572 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10573 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10574 esac
10578 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10579 then
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10581 $as_echo_n "checking for -lXcomposite... " >&6; }
10582 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10583 $as_echo_n "(cached) " >&6
10584 else
10585 ac_check_soname_save_LIBS=$LIBS
10586 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10588 /* end confdefs.h. */
10590 /* Override any GCC internal prototype to avoid an error.
10591 Use char because int might match the return type of a GCC
10592 builtin and then its argument prototype would still apply. */
10593 #ifdef __cplusplus
10594 extern "C"
10595 #endif
10596 char XCompositeRedirectWindow ();
10598 main ()
10600 return XCompositeRedirectWindow ();
10602 return 0;
10604 _ACEOF
10605 if ac_fn_c_try_link "$LINENO"; then :
10606 case "$LIBEXT" in
10607 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10608 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'` ;;
10609 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10610 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10611 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10612 fi ;;
10613 esac
10615 rm -f core conftest.err conftest.$ac_objext \
10616 conftest$ac_exeext conftest.$ac_ext
10617 LIBS=$ac_check_soname_save_LIBS
10619 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10621 $as_echo "not found" >&6; }
10623 else
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10625 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10627 cat >>confdefs.h <<_ACEOF
10628 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10629 _ACEOF
10634 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10635 case "x$with_xcomposite" in
10636 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10637 xno) ;;
10638 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10639 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10640 esac
10644 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10645 #include <X11/Xlib.h>
10646 #endif
10648 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10650 cat >>confdefs.h <<_ACEOF
10651 #define HAVE_XICCALLBACK_CALLBACK 1
10652 _ACEOF
10656 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10657 #include <X11/Xlib.h>
10658 #endif
10660 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10662 cat >>confdefs.h <<_ACEOF
10663 #define HAVE_XEVENT_XCOOKIE 1
10664 _ACEOF
10671 opengl_msg=""
10672 if test "x$with_opengl" != "xno"
10673 then
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10675 $as_echo_n "checking for -lGL... " >&6; }
10676 if ${ac_cv_lib_soname_GL+:} false; then :
10677 $as_echo_n "(cached) " >&6
10678 else
10679 ac_check_soname_save_LIBS=$LIBS
10680 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10682 /* end confdefs.h. */
10684 /* Override any GCC internal prototype to avoid an error.
10685 Use char because int might match the return type of a GCC
10686 builtin and then its argument prototype would still apply. */
10687 #ifdef __cplusplus
10688 extern "C"
10689 #endif
10690 char glXCreateContext ();
10692 main ()
10694 return glXCreateContext ();
10696 return 0;
10698 _ACEOF
10699 if ac_fn_c_try_link "$LINENO"; then :
10700 case "$LIBEXT" in
10701 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10702 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'` ;;
10703 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10704 if ${ac_cv_lib_soname_GL:+false} :; then :
10705 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10706 fi ;;
10707 esac
10709 rm -f core conftest.err conftest.$ac_objext \
10710 conftest$ac_exeext conftest.$ac_ext
10711 LIBS=$ac_check_soname_save_LIBS
10713 if ${ac_cv_lib_soname_GL:+false} :; then :
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10715 $as_echo "not found" >&6; }
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10717 $as_echo_n "checking for -lGL... " >&6; }
10718 if ${ac_cv_lib_soname_GL+:} false; then :
10719 $as_echo_n "(cached) " >&6
10720 else
10721 ac_check_soname_save_LIBS=$LIBS
10722 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"
10723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10724 /* end confdefs.h. */
10726 /* Override any GCC internal prototype to avoid an error.
10727 Use char because int might match the return type of a GCC
10728 builtin and then its argument prototype would still apply. */
10729 #ifdef __cplusplus
10730 extern "C"
10731 #endif
10732 char glXCreateContext ();
10734 main ()
10736 return glXCreateContext ();
10738 return 0;
10740 _ACEOF
10741 if ac_fn_c_try_link "$LINENO"; then :
10742 case "$LIBEXT" in
10743 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10744 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'` ;;
10745 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10746 if ${ac_cv_lib_soname_GL:+false} :; then :
10747 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10748 fi ;;
10749 esac
10751 rm -f core conftest.err conftest.$ac_objext \
10752 conftest$ac_exeext conftest.$ac_ext
10753 LIBS=$ac_check_soname_save_LIBS
10755 if ${ac_cv_lib_soname_GL:+false} :; then :
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10757 $as_echo "not found" >&6; }
10758 if test -f /usr/X11R6/lib/libGL.a
10759 then
10760 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10761 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10762 else
10763 opengl_msg="No OpenGL library found on this system."
10765 else
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10767 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10769 cat >>confdefs.h <<_ACEOF
10770 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10771 _ACEOF
10773 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"
10775 else
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10777 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10779 cat >>confdefs.h <<_ACEOF
10780 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10781 _ACEOF
10783 OPENGL_LIBS="-lGL"
10785 if test "x$with_glu" != "xno"
10786 then
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10788 $as_echo_n "checking for -lGLU... " >&6; }
10789 if ${ac_cv_lib_soname_GLU+:} false; then :
10790 $as_echo_n "(cached) " >&6
10791 else
10792 ac_check_soname_save_LIBS=$LIBS
10793 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10797 /* Override any GCC internal prototype to avoid an error.
10798 Use char because int might match the return type of a GCC
10799 builtin and then its argument prototype would still apply. */
10800 #ifdef __cplusplus
10801 extern "C"
10802 #endif
10803 char gluLookAt ();
10805 main ()
10807 return gluLookAt ();
10809 return 0;
10811 _ACEOF
10812 if ac_fn_c_try_link "$LINENO"; then :
10813 case "$LIBEXT" in
10814 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10815 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'` ;;
10816 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10817 if ${ac_cv_lib_soname_GLU:+false} :; then :
10818 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10819 fi ;;
10820 esac
10822 rm -f core conftest.err conftest.$ac_objext \
10823 conftest$ac_exeext conftest.$ac_ext
10824 LIBS=$ac_check_soname_save_LIBS
10826 if ${ac_cv_lib_soname_GLU:+false} :; then :
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10828 $as_echo "not found" >&6; }
10830 else
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10832 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10834 cat >>confdefs.h <<_ACEOF
10835 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10836 _ACEOF
10840 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10841 case "x$with_glu" in
10842 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10843 xno) ;;
10844 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10845 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10846 esac
10851 if test "x$with_osmesa" != "xno"
10852 then
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10854 $as_echo_n "checking for -lOSMesa... " >&6; }
10855 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10856 $as_echo_n "(cached) " >&6
10857 else
10858 ac_check_soname_save_LIBS=$LIBS
10859 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10861 /* end confdefs.h. */
10863 /* Override any GCC internal prototype to avoid an error.
10864 Use char because int might match the return type of a GCC
10865 builtin and then its argument prototype would still apply. */
10866 #ifdef __cplusplus
10867 extern "C"
10868 #endif
10869 char OSMesaGetProcAddress ();
10871 main ()
10873 return OSMesaGetProcAddress ();
10875 return 0;
10877 _ACEOF
10878 if ac_fn_c_try_link "$LINENO"; then :
10879 case "$LIBEXT" in
10880 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10881 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'` ;;
10882 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10883 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10884 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10885 fi ;;
10886 esac
10888 rm -f core conftest.err conftest.$ac_objext \
10889 conftest$ac_exeext conftest.$ac_ext
10890 LIBS=$ac_check_soname_save_LIBS
10892 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10894 $as_echo "not found" >&6; }
10896 else
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10898 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10900 cat >>confdefs.h <<_ACEOF
10901 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10902 _ACEOF
10906 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10907 case "x$with_osmesa" in
10908 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10909 xno) ;;
10910 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10911 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10912 esac
10917 if test -n "$opengl_msg"; then :
10918 case "x$with_opengl" in
10919 x) as_fn_append wine_warnings "|$opengl_msg
10920 OpenGL and Direct3D won't be supported." ;;
10921 xno) ;;
10922 *) as_fn_error $? "$opengl_msg
10923 OpenGL and Direct3D won't be supported.
10924 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10925 esac
10929 CPPFLAGS="$ac_save_CPPFLAGS"
10930 else
10931 X_CFLAGS=""
10932 X_LIBS=""
10935 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10936 then
10937 if test "x$X_LIBS" = "x"; then :
10938 case "x$with_x" in
10939 xno) ;;
10940 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10941 without X support, which probably isn't what you want. You will need
10942 to install ${notice_platform}development packages of Xlib at the very least.
10943 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10944 esac
10945 enable_winex11_drv=${enable_winex11_drv:-no}
10947 else
10948 if test "x$X_LIBS" = "x"; then :
10949 case "x$with_x" in
10950 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10951 xno) ;;
10952 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10953 This is an error since --with-x was requested." "$LINENO" 5 ;;
10954 esac
10955 enable_winex11_drv=${enable_winex11_drv:-no}
10959 if test "$ac_cv_header_CL_cl_h" = "yes"
10960 then
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10962 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10963 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10964 $as_echo_n "(cached) " >&6
10965 else
10966 ac_check_lib_save_LIBS=$LIBS
10967 LIBS="-lOpenCL $LIBS"
10968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10969 /* end confdefs.h. */
10971 /* Override any GCC internal prototype to avoid an error.
10972 Use char because int might match the return type of a GCC
10973 builtin and then its argument prototype would still apply. */
10974 #ifdef __cplusplus
10975 extern "C"
10976 #endif
10977 char clGetPlatformInfo ();
10979 main ()
10981 return clGetPlatformInfo ();
10983 return 0;
10985 _ACEOF
10986 if ac_fn_c_try_link "$LINENO"; then :
10987 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10988 else
10989 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10991 rm -f core conftest.err conftest.$ac_objext \
10992 conftest$ac_exeext conftest.$ac_ext
10993 LIBS=$ac_check_lib_save_LIBS
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10996 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10997 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10998 OPENCL_LIBS="-lOpenCL"
11003 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11004 case "x$with_opencl" in
11005 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11006 xno) ;;
11007 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11008 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11009 esac
11010 enable_opencl=${enable_opencl:-no}
11013 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11014 then
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11016 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11017 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11018 $as_echo_n "(cached) " >&6
11019 else
11020 ac_check_lib_save_LIBS=$LIBS
11021 LIBS="-lpcap $LIBS"
11022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11023 /* end confdefs.h. */
11025 /* Override any GCC internal prototype to avoid an error.
11026 Use char because int might match the return type of a GCC
11027 builtin and then its argument prototype would still apply. */
11028 #ifdef __cplusplus
11029 extern "C"
11030 #endif
11031 char pcap_create ();
11033 main ()
11035 return pcap_create ();
11037 return 0;
11039 _ACEOF
11040 if ac_fn_c_try_link "$LINENO"; then :
11041 ac_cv_lib_pcap_pcap_create=yes
11042 else
11043 ac_cv_lib_pcap_pcap_create=no
11045 rm -f core conftest.err conftest.$ac_objext \
11046 conftest$ac_exeext conftest.$ac_ext
11047 LIBS=$ac_check_lib_save_LIBS
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11050 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11051 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11052 PCAP_LIBS="-lpcap"
11057 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11058 case "x$with_pcap" in
11059 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11060 xno) ;;
11061 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11062 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11063 esac
11064 enable_wpcap=${enable_wpcap:-no}
11068 if test "x$with_xml" != "xno"
11069 then
11070 if ${XML2_CFLAGS:+false} :; then :
11071 if ${PKG_CONFIG+:} false; then :
11072 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11075 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11076 if ${XML2_LIBS:+false} :; then :
11077 if ${PKG_CONFIG+:} false; then :
11078 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11081 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11082 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11083 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11084 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11085 ac_save_CPPFLAGS=$CPPFLAGS
11086 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11087 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11088 do :
11089 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11090 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11091 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11092 cat >>confdefs.h <<_ACEOF
11093 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11094 _ACEOF
11098 done
11100 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"
11101 then
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11103 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11104 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11105 $as_echo_n "(cached) " >&6
11106 else
11107 ac_check_lib_save_LIBS=$LIBS
11108 LIBS="-lxml2 $XML2_LIBS $LIBS"
11109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11110 /* end confdefs.h. */
11112 /* Override any GCC internal prototype to avoid an error.
11113 Use char because int might match the return type of a GCC
11114 builtin and then its argument prototype would still apply. */
11115 #ifdef __cplusplus
11116 extern "C"
11117 #endif
11118 char xmlParseMemory ();
11120 main ()
11122 return xmlParseMemory ();
11124 return 0;
11126 _ACEOF
11127 if ac_fn_c_try_link "$LINENO"; then :
11128 ac_cv_lib_xml2_xmlParseMemory=yes
11129 else
11130 ac_cv_lib_xml2_xmlParseMemory=no
11132 rm -f core conftest.err conftest.$ac_objext \
11133 conftest$ac_exeext conftest.$ac_ext
11134 LIBS=$ac_check_lib_save_LIBS
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11137 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11138 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11140 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11142 else
11143 XML2_LIBS=""
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11147 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11148 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11149 $as_echo_n "(cached) " >&6
11150 else
11151 ac_check_lib_save_LIBS=$LIBS
11152 LIBS="-lxml2 $XML2_LIBS $LIBS"
11153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11154 /* end confdefs.h. */
11156 /* Override any GCC internal prototype to avoid an error.
11157 Use char because int might match the return type of a GCC
11158 builtin and then its argument prototype would still apply. */
11159 #ifdef __cplusplus
11160 extern "C"
11161 #endif
11162 char xmlReadMemory ();
11164 main ()
11166 return xmlReadMemory ();
11168 return 0;
11170 _ACEOF
11171 if ac_fn_c_try_link "$LINENO"; then :
11172 ac_cv_lib_xml2_xmlReadMemory=yes
11173 else
11174 ac_cv_lib_xml2_xmlReadMemory=no
11176 rm -f core conftest.err conftest.$ac_objext \
11177 conftest$ac_exeext conftest.$ac_ext
11178 LIBS=$ac_check_lib_save_LIBS
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11181 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11182 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11184 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11189 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11190 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11191 $as_echo_n "(cached) " >&6
11192 else
11193 ac_check_lib_save_LIBS=$LIBS
11194 LIBS="-lxml2 $XML2_LIBS $LIBS"
11195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11196 /* end confdefs.h. */
11198 /* Override any GCC internal prototype to avoid an error.
11199 Use char because int might match the return type of a GCC
11200 builtin and then its argument prototype would still apply. */
11201 #ifdef __cplusplus
11202 extern "C"
11203 #endif
11204 char xmlNewDocPI ();
11206 main ()
11208 return xmlNewDocPI ();
11210 return 0;
11212 _ACEOF
11213 if ac_fn_c_try_link "$LINENO"; then :
11214 ac_cv_lib_xml2_xmlNewDocPI=yes
11215 else
11216 ac_cv_lib_xml2_xmlNewDocPI=no
11218 rm -f core conftest.err conftest.$ac_objext \
11219 conftest$ac_exeext conftest.$ac_ext
11220 LIBS=$ac_check_lib_save_LIBS
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11223 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11224 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11226 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11231 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11232 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11233 $as_echo_n "(cached) " >&6
11234 else
11235 ac_check_lib_save_LIBS=$LIBS
11236 LIBS="-lxml2 $XML2_LIBS $LIBS"
11237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11240 /* Override any GCC internal prototype to avoid an error.
11241 Use char because int might match the return type of a GCC
11242 builtin and then its argument prototype would still apply. */
11243 #ifdef __cplusplus
11244 extern "C"
11245 #endif
11246 char xmlSchemaSetParserStructuredErrors ();
11248 main ()
11250 return xmlSchemaSetParserStructuredErrors ();
11252 return 0;
11254 _ACEOF
11255 if ac_fn_c_try_link "$LINENO"; then :
11256 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11257 else
11258 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11260 rm -f core conftest.err conftest.$ac_objext \
11261 conftest$ac_exeext conftest.$ac_ext
11262 LIBS=$ac_check_lib_save_LIBS
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11265 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11266 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11268 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11273 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11274 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11275 $as_echo_n "(cached) " >&6
11276 else
11277 ac_check_lib_save_LIBS=$LIBS
11278 LIBS="-lxml2 $XML2_LIBS $LIBS"
11279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11280 /* end confdefs.h. */
11282 /* Override any GCC internal prototype to avoid an error.
11283 Use char because int might match the return type of a GCC
11284 builtin and then its argument prototype would still apply. */
11285 #ifdef __cplusplus
11286 extern "C"
11287 #endif
11288 char xmlSchemaSetValidStructuredErrors ();
11290 main ()
11292 return xmlSchemaSetValidStructuredErrors ();
11294 return 0;
11296 _ACEOF
11297 if ac_fn_c_try_link "$LINENO"; then :
11298 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11299 else
11300 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11302 rm -f core conftest.err conftest.$ac_objext \
11303 conftest$ac_exeext conftest.$ac_ext
11304 LIBS=$ac_check_lib_save_LIBS
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11307 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11308 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11310 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11315 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11316 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11317 $as_echo_n "(cached) " >&6
11318 else
11319 ac_check_lib_save_LIBS=$LIBS
11320 LIBS="-lxml2 $XML2_LIBS $LIBS"
11321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11322 /* end confdefs.h. */
11324 /* Override any GCC internal prototype to avoid an error.
11325 Use char because int might match the return type of a GCC
11326 builtin and then its argument prototype would still apply. */
11327 #ifdef __cplusplus
11328 extern "C"
11329 #endif
11330 char xmlFirstElementChild ();
11332 main ()
11334 return xmlFirstElementChild ();
11336 return 0;
11338 _ACEOF
11339 if ac_fn_c_try_link "$LINENO"; then :
11340 ac_cv_lib_xml2_xmlFirstElementChild=yes
11341 else
11342 ac_cv_lib_xml2_xmlFirstElementChild=no
11344 rm -f core conftest.err conftest.$ac_objext \
11345 conftest$ac_exeext conftest.$ac_ext
11346 LIBS=$ac_check_lib_save_LIBS
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11349 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11350 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11352 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11356 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11358 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11360 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11364 else
11365 XML2_CFLAGS=""
11366 XML2_LIBS=""
11368 CPPFLAGS=$ac_save_CPPFLAGS
11369 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11370 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11373 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11374 case "x$with_xml" in
11375 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11376 xno) ;;
11377 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11378 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11379 esac
11383 if test "x$with_xslt" != "xno"
11384 then
11385 if ${XSLT_CFLAGS:+false} :; then :
11386 if ${PKG_CONFIG+:} false; then :
11387 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11390 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11391 if ${XSLT_LIBS:+false} :; then :
11392 if ${PKG_CONFIG+:} false; then :
11393 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11396 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11397 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11398 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11399 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11400 ac_save_CPPFLAGS=$CPPFLAGS
11401 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11402 for ac_header in libxslt/pattern.h libxslt/transform.h
11403 do :
11404 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11405 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11406 # include <libxslt/pattern.h>
11407 #endif
11409 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11410 cat >>confdefs.h <<_ACEOF
11411 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11412 _ACEOF
11416 done
11418 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11419 then
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11421 $as_echo_n "checking for -lxslt... " >&6; }
11422 if ${ac_cv_lib_soname_xslt+:} false; then :
11423 $as_echo_n "(cached) " >&6
11424 else
11425 ac_check_soname_save_LIBS=$LIBS
11426 LIBS="-lxslt $XSLT_LIBS $LIBS"
11427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11428 /* end confdefs.h. */
11430 /* Override any GCC internal prototype to avoid an error.
11431 Use char because int might match the return type of a GCC
11432 builtin and then its argument prototype would still apply. */
11433 #ifdef __cplusplus
11434 extern "C"
11435 #endif
11436 char xsltCompilePattern ();
11438 main ()
11440 return xsltCompilePattern ();
11442 return 0;
11444 _ACEOF
11445 if ac_fn_c_try_link "$LINENO"; then :
11446 case "$LIBEXT" in
11447 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11448 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'` ;;
11449 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11450 if ${ac_cv_lib_soname_xslt:+false} :; then :
11451 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11452 fi ;;
11453 esac
11455 rm -f core conftest.err conftest.$ac_objext \
11456 conftest$ac_exeext conftest.$ac_ext
11457 LIBS=$ac_check_soname_save_LIBS
11459 if ${ac_cv_lib_soname_xslt:+false} :; then :
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11461 $as_echo "not found" >&6; }
11463 else
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11465 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11467 cat >>confdefs.h <<_ACEOF
11468 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11469 _ACEOF
11473 else
11474 XSLT_CFLAGS=""
11476 CPPFLAGS=$ac_save_CPPFLAGS
11477 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11478 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11481 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11482 case "x$with_xslt" in
11483 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11484 xno) ;;
11485 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11486 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11487 esac
11491 if test "x$with_dbus" != "xno"
11492 then
11493 if ${DBUS_CFLAGS:+false} :; then :
11494 if ${PKG_CONFIG+:} false; then :
11495 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11499 if ${DBUS_LIBS:+false} :; then :
11500 if ${PKG_CONFIG+:} false; then :
11501 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11506 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11507 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11508 ac_save_CPPFLAGS=$CPPFLAGS
11509 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11510 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11511 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11513 $as_echo_n "checking for -ldbus-1... " >&6; }
11514 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11515 $as_echo_n "(cached) " >&6
11516 else
11517 ac_check_soname_save_LIBS=$LIBS
11518 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11520 /* end confdefs.h. */
11522 /* Override any GCC internal prototype to avoid an error.
11523 Use char because int might match the return type of a GCC
11524 builtin and then its argument prototype would still apply. */
11525 #ifdef __cplusplus
11526 extern "C"
11527 #endif
11528 char dbus_connection_close ();
11530 main ()
11532 return dbus_connection_close ();
11534 return 0;
11536 _ACEOF
11537 if ac_fn_c_try_link "$LINENO"; then :
11538 case "$LIBEXT" in
11539 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11540 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'` ;;
11541 *) 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'`
11542 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11543 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11544 fi ;;
11545 esac
11547 rm -f core conftest.err conftest.$ac_objext \
11548 conftest$ac_exeext conftest.$ac_ext
11549 LIBS=$ac_check_soname_save_LIBS
11551 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11553 $as_echo "not found" >&6; }
11554 DBUS_CFLAGS=""
11555 else
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11557 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11559 cat >>confdefs.h <<_ACEOF
11560 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11561 _ACEOF
11565 else
11566 DBUS_CFLAGS=""
11570 CPPFLAGS=$ac_save_CPPFLAGS
11571 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11572 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11575 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11576 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11577 case "x$with_dbus" in
11578 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11579 xno) ;;
11580 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11581 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11582 esac
11586 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11587 then
11588 if ${HAL_CFLAGS:+false} :; then :
11589 if ${PKG_CONFIG+:} false; then :
11590 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11594 if ${HAL_LIBS:+false} :; then :
11595 if ${PKG_CONFIG+:} false; then :
11596 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11600 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11601 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11602 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11603 ac_save_CPPFLAGS=$CPPFLAGS
11604 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11605 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11606 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11608 $as_echo_n "checking for -lhal... " >&6; }
11609 if ${ac_cv_lib_soname_hal+:} false; then :
11610 $as_echo_n "(cached) " >&6
11611 else
11612 ac_check_soname_save_LIBS=$LIBS
11613 LIBS="-lhal $HAL_LIBS $LIBS"
11614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11615 /* end confdefs.h. */
11617 /* Override any GCC internal prototype to avoid an error.
11618 Use char because int might match the return type of a GCC
11619 builtin and then its argument prototype would still apply. */
11620 #ifdef __cplusplus
11621 extern "C"
11622 #endif
11623 char libhal_ctx_new ();
11625 main ()
11627 return libhal_ctx_new ();
11629 return 0;
11631 _ACEOF
11632 if ac_fn_c_try_link "$LINENO"; then :
11633 case "$LIBEXT" in
11634 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11635 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'` ;;
11636 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11637 if ${ac_cv_lib_soname_hal:+false} :; then :
11638 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11639 fi ;;
11640 esac
11642 rm -f core conftest.err conftest.$ac_objext \
11643 conftest$ac_exeext conftest.$ac_ext
11644 LIBS=$ac_check_soname_save_LIBS
11646 if ${ac_cv_lib_soname_hal:+false} :; then :
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11648 $as_echo "not found" >&6; }
11649 HAL_CFLAGS=""
11650 else
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11652 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11654 cat >>confdefs.h <<_ACEOF
11655 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11656 _ACEOF
11660 else
11661 HAL_CFLAGS=""
11665 CPPFLAGS=$ac_save_CPPFLAGS
11666 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11667 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11669 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11670 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11671 case "x$with_hal" in
11672 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11673 xno) ;;
11674 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11675 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11676 esac
11681 if test "x$with_gnutls" != "xno"
11682 then
11683 if ${GNUTLS_CFLAGS:+false} :; then :
11684 if ${PKG_CONFIG+:} false; then :
11685 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11689 if ${GNUTLS_LIBS:+false} :; then :
11690 if ${PKG_CONFIG+:} false; then :
11691 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11696 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11697 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11698 ac_save_CPPFLAGS=$CPPFLAGS
11699 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11700 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11701 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h. */
11704 #include <gnutls/gnutls.h>
11705 #include <gnutls/crypto.h>
11707 main ()
11709 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11711 return 0;
11713 _ACEOF
11714 if ac_fn_c_try_compile "$LINENO"; then :
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11716 $as_echo_n "checking for -lgnutls... " >&6; }
11717 if ${ac_cv_lib_soname_gnutls+:} false; then :
11718 $as_echo_n "(cached) " >&6
11719 else
11720 ac_check_soname_save_LIBS=$LIBS
11721 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11723 /* end confdefs.h. */
11725 /* Override any GCC internal prototype to avoid an error.
11726 Use char because int might match the return type of a GCC
11727 builtin and then its argument prototype would still apply. */
11728 #ifdef __cplusplus
11729 extern "C"
11730 #endif
11731 char gnutls_global_init ();
11733 main ()
11735 return gnutls_global_init ();
11737 return 0;
11739 _ACEOF
11740 if ac_fn_c_try_link "$LINENO"; then :
11741 case "$LIBEXT" in
11742 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11743 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'` ;;
11744 *) 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'`
11745 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11746 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'`
11747 fi ;;
11748 esac
11750 rm -f core conftest.err conftest.$ac_objext \
11751 conftest$ac_exeext conftest.$ac_ext
11752 LIBS=$ac_check_soname_save_LIBS
11754 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11756 $as_echo "not found" >&6; }
11757 GNUTLS_CFLAGS=""
11758 else
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11760 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11762 cat >>confdefs.h <<_ACEOF
11763 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11764 _ACEOF
11768 ac_wine_check_funcs_save_LIBS="$LIBS"
11769 LIBS="$LIBS $GNUTLS_LIBS"
11770 for ac_func in gnutls_cipher_init
11771 do :
11772 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11773 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11774 cat >>confdefs.h <<_ACEOF
11775 #define HAVE_GNUTLS_CIPHER_INIT 1
11776 _ACEOF
11778 else
11779 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11781 done
11783 LIBS="$ac_wine_check_funcs_save_LIBS"
11785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11786 else
11787 GNUTLS_CFLAGS=""
11791 CPPFLAGS=$ac_save_CPPFLAGS
11792 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11793 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11796 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11797 case "x$with_gnutls" in
11798 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11799 xno) ;;
11800 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11801 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11802 esac
11806 CURSES_LIBS=""
11807 if test "$ac_cv_header_ncurses_h" = "yes"
11808 then
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11810 $as_echo_n "checking for -lncurses... " >&6; }
11811 if ${ac_cv_lib_soname_ncurses+:} false; then :
11812 $as_echo_n "(cached) " >&6
11813 else
11814 ac_check_soname_save_LIBS=$LIBS
11815 LIBS="-lncurses $LIBS"
11816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11817 /* end confdefs.h. */
11819 /* Override any GCC internal prototype to avoid an error.
11820 Use char because int might match the return type of a GCC
11821 builtin and then its argument prototype would still apply. */
11822 #ifdef __cplusplus
11823 extern "C"
11824 #endif
11825 char waddch ();
11827 main ()
11829 return waddch ();
11831 return 0;
11833 _ACEOF
11834 if ac_fn_c_try_link "$LINENO"; then :
11835 case "$LIBEXT" in
11836 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11837 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'` ;;
11838 *) 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'`
11839 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11840 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11841 fi ;;
11842 esac
11844 rm -f core conftest.err conftest.$ac_objext \
11845 conftest$ac_exeext conftest.$ac_ext
11846 LIBS=$ac_check_soname_save_LIBS
11848 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11850 $as_echo "not found" >&6; }
11852 else
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11854 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11856 cat >>confdefs.h <<_ACEOF
11857 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11858 _ACEOF
11860 CURSES_LIBS="-lncurses"
11862 elif test "$ac_cv_header_curses_h" = "yes"
11863 then
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11865 $as_echo_n "checking for -lcurses... " >&6; }
11866 if ${ac_cv_lib_soname_curses+:} false; then :
11867 $as_echo_n "(cached) " >&6
11868 else
11869 ac_check_soname_save_LIBS=$LIBS
11870 LIBS="-lcurses $LIBS"
11871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h. */
11874 /* Override any GCC internal prototype to avoid an error.
11875 Use char because int might match the return type of a GCC
11876 builtin and then its argument prototype would still apply. */
11877 #ifdef __cplusplus
11878 extern "C"
11879 #endif
11880 char waddch ();
11882 main ()
11884 return waddch ();
11886 return 0;
11888 _ACEOF
11889 if ac_fn_c_try_link "$LINENO"; then :
11890 case "$LIBEXT" in
11891 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11892 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'` ;;
11893 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11894 if ${ac_cv_lib_soname_curses:+false} :; then :
11895 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11896 fi ;;
11897 esac
11899 rm -f core conftest.err conftest.$ac_objext \
11900 conftest$ac_exeext conftest.$ac_ext
11901 LIBS=$ac_check_soname_save_LIBS
11903 if ${ac_cv_lib_soname_curses:+false} :; then :
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11905 $as_echo "not found" >&6; }
11907 else
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11909 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11911 cat >>confdefs.h <<_ACEOF
11912 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11913 _ACEOF
11915 CURSES_LIBS="-lcurses"
11918 ac_save_LIBS="$LIBS"
11919 LIBS="$LIBS $CURSES_LIBS"
11920 for ac_func in mousemask
11921 do :
11922 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11923 if test "x$ac_cv_func_mousemask" = xyes; then :
11924 cat >>confdefs.h <<_ACEOF
11925 #define HAVE_MOUSEMASK 1
11926 _ACEOF
11929 done
11931 LIBS="$ac_save_LIBS"
11932 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11933 case "x$with_curses" in
11934 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11935 xno) ;;
11936 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11937 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11938 esac
11942 if test "x$with_sane" != "xno"
11943 then
11944 if ${SANE_CFLAGS:+false} :; then :
11945 if ${PKG_CONFIG+:} false; then :
11946 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11949 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11950 if ${SANE_LIBS:+false} :; then :
11951 if ${PKG_CONFIG+:} false; then :
11952 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11955 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11957 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11958 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11959 ac_save_CPPFLAGS=$CPPFLAGS
11960 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11961 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11962 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11964 $as_echo_n "checking for -lsane... " >&6; }
11965 if ${ac_cv_lib_soname_sane+:} false; then :
11966 $as_echo_n "(cached) " >&6
11967 else
11968 ac_check_soname_save_LIBS=$LIBS
11969 LIBS="-lsane $SANE_LIBS $LIBS"
11970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11971 /* end confdefs.h. */
11973 /* Override any GCC internal prototype to avoid an error.
11974 Use char because int might match the return type of a GCC
11975 builtin and then its argument prototype would still apply. */
11976 #ifdef __cplusplus
11977 extern "C"
11978 #endif
11979 char sane_init ();
11981 main ()
11983 return sane_init ();
11985 return 0;
11987 _ACEOF
11988 if ac_fn_c_try_link "$LINENO"; then :
11989 case "$LIBEXT" in
11990 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11991 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'` ;;
11992 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11993 if ${ac_cv_lib_soname_sane:+false} :; then :
11994 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11995 fi ;;
11996 esac
11998 rm -f core conftest.err conftest.$ac_objext \
11999 conftest$ac_exeext conftest.$ac_ext
12000 LIBS=$ac_check_soname_save_LIBS
12002 if ${ac_cv_lib_soname_sane:+false} :; then :
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12004 $as_echo "not found" >&6; }
12005 SANE_CFLAGS=""
12006 else
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12008 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12010 cat >>confdefs.h <<_ACEOF
12011 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12012 _ACEOF
12016 else
12017 SANE_CFLAGS=""
12021 CPPFLAGS=$ac_save_CPPFLAGS
12022 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12023 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12026 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12027 case "x$with_sane" in
12028 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12029 xno) ;;
12030 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12031 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12032 esac
12036 if test "x$with_v4l" != "xno"
12037 then
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12039 $as_echo_n "checking for -lv4l1... " >&6; }
12040 if ${ac_cv_lib_soname_v4l1+:} false; then :
12041 $as_echo_n "(cached) " >&6
12042 else
12043 ac_check_soname_save_LIBS=$LIBS
12044 LIBS="-lv4l1 $LIBS"
12045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12048 /* Override any GCC internal prototype to avoid an error.
12049 Use char because int might match the return type of a GCC
12050 builtin and then its argument prototype would still apply. */
12051 #ifdef __cplusplus
12052 extern "C"
12053 #endif
12054 char v4l1_open ();
12056 main ()
12058 return v4l1_open ();
12060 return 0;
12062 _ACEOF
12063 if ac_fn_c_try_link "$LINENO"; then :
12064 case "$LIBEXT" in
12065 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12066 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'` ;;
12067 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12068 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12069 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12070 fi ;;
12071 esac
12073 rm -f core conftest.err conftest.$ac_objext \
12074 conftest$ac_exeext conftest.$ac_ext
12075 LIBS=$ac_check_soname_save_LIBS
12077 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12079 $as_echo "not found" >&6; }
12081 else
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12083 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12085 cat >>confdefs.h <<_ACEOF
12086 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12087 _ACEOF
12092 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12093 case "x$with_v4l" in
12094 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12095 xno) ;;
12096 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12097 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12098 esac
12102 if test "x$with_gphoto" != "xno"
12103 then
12104 if ${GPHOTO2_CFLAGS:+false} :; then :
12105 if ${PKG_CONFIG+:} false; then :
12106 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12109 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12110 if ${GPHOTO2_LIBS:+false} :; then :
12111 if ${PKG_CONFIG+:} false; then :
12112 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12115 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12116 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12117 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12118 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12119 ac_save_CPPFLAGS=$CPPFLAGS
12120 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12121 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12122 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12124 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12125 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12126 $as_echo_n "(cached) " >&6
12127 else
12128 ac_check_lib_save_LIBS=$LIBS
12129 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12131 /* end confdefs.h. */
12133 /* Override any GCC internal prototype to avoid an error.
12134 Use char because int might match the return type of a GCC
12135 builtin and then its argument prototype would still apply. */
12136 #ifdef __cplusplus
12137 extern "C"
12138 #endif
12139 char gp_camera_new ();
12141 main ()
12143 return gp_camera_new ();
12145 return 0;
12147 _ACEOF
12148 if ac_fn_c_try_link "$LINENO"; then :
12149 ac_cv_lib_gphoto2_gp_camera_new=yes
12150 else
12151 ac_cv_lib_gphoto2_gp_camera_new=no
12153 rm -f core conftest.err conftest.$ac_objext \
12154 conftest$ac_exeext conftest.$ac_ext
12155 LIBS=$ac_check_lib_save_LIBS
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12158 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12159 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12161 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12163 else
12164 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12167 else
12168 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12172 CPPFLAGS=$ac_save_CPPFLAGS
12173 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12174 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12176 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12177 if ${PKG_CONFIG+:} false; then :
12178 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12181 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12182 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12183 if ${PKG_CONFIG+:} false; then :
12184 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12187 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12188 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12189 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12190 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12191 ac_save_CPPFLAGS=$CPPFLAGS
12192 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12193 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12194 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12196 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12197 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12198 $as_echo_n "(cached) " >&6
12199 else
12200 ac_check_lib_save_LIBS=$LIBS
12201 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h. */
12205 /* Override any GCC internal prototype to avoid an error.
12206 Use char because int might match the return type of a GCC
12207 builtin and then its argument prototype would still apply. */
12208 #ifdef __cplusplus
12209 extern "C"
12210 #endif
12211 char gp_port_info_list_new ();
12213 main ()
12215 return gp_port_info_list_new ();
12217 return 0;
12219 _ACEOF
12220 if ac_fn_c_try_link "$LINENO"; then :
12221 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12222 else
12223 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12225 rm -f core conftest.err conftest.$ac_objext \
12226 conftest$ac_exeext conftest.$ac_ext
12227 LIBS=$ac_check_lib_save_LIBS
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12230 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12231 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12233 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12235 else
12236 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12239 else
12240 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12244 CPPFLAGS=$ac_save_CPPFLAGS
12245 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12246 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12249 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12250 case "x$with_gphoto" in
12251 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12252 xno) ;;
12253 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12254 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12255 esac
12258 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12259 case "x$with_gphoto" in
12260 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12261 xno) ;;
12262 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12263 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12264 esac
12269 if test "$ac_cv_header_resolv_h" = "yes"
12270 then
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12272 $as_echo_n "checking for resolver library... " >&6; }
12273 if ${ac_cv_have_resolv+:} false; then :
12274 $as_echo_n "(cached) " >&6
12275 else
12276 ac_save_LIBS="$LIBS"
12277 for lib in '' -lresolv
12279 LIBS="$lib $ac_save_LIBS"
12280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12281 /* end confdefs.h. */
12282 #ifdef HAVE_NETINET_IN_H
12283 #include <netinet/in.h>
12284 #endif
12285 #include <resolv.h>
12287 main ()
12289 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12291 return 0;
12293 _ACEOF
12294 if ac_fn_c_try_link "$LINENO"; then :
12295 ac_cv_have_resolv=${lib:-"none required"}
12296 else
12297 ac_cv_have_resolv="not found"
12299 rm -f core conftest.err conftest.$ac_objext \
12300 conftest$ac_exeext conftest.$ac_ext
12301 test "x$ac_cv_have_resolv" = "xnot found" || break
12302 done
12303 LIBS="$ac_save_LIBS"
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12306 $as_echo "$ac_cv_have_resolv" >&6; }
12308 case "$ac_cv_have_resolv" in
12309 "not found") ;;
12310 "none required")
12312 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12315 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12317 RESOLV_LIBS=$ac_cv_have_resolv
12319 esac
12322 if test "x$with_cms" != "xno"
12323 then
12324 if ${LCMS2_CFLAGS:+false} :; then :
12325 if ${PKG_CONFIG+:} false; then :
12326 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12330 if ${LCMS2_LIBS:+false} :; then :
12331 if ${PKG_CONFIG+:} false; then :
12332 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12336 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12337 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12338 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12339 ac_save_CPPFLAGS=$CPPFLAGS
12340 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12341 for ac_header in lcms2.h
12342 do :
12343 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12344 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12345 cat >>confdefs.h <<_ACEOF
12346 #define HAVE_LCMS2_H 1
12347 _ACEOF
12351 done
12353 if test "$ac_cv_header_lcms2_h" = "yes"
12354 then
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12356 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12357 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12358 $as_echo_n "(cached) " >&6
12359 else
12360 ac_check_lib_save_LIBS=$LIBS
12361 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12365 /* Override any GCC internal prototype to avoid an error.
12366 Use char because int might match the return type of a GCC
12367 builtin and then its argument prototype would still apply. */
12368 #ifdef __cplusplus
12369 extern "C"
12370 #endif
12371 char cmsOpenProfileFromFile ();
12373 main ()
12375 return cmsOpenProfileFromFile ();
12377 return 0;
12379 _ACEOF
12380 if ac_fn_c_try_link "$LINENO"; then :
12381 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12382 else
12383 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12385 rm -f core conftest.err conftest.$ac_objext \
12386 conftest$ac_exeext conftest.$ac_ext
12387 LIBS=$ac_check_lib_save_LIBS
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12390 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12391 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12393 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12395 else
12396 LCMS2_LIBS=""
12399 else
12400 LCMS2_CFLAGS=""
12401 LCMS2_LIBS=""
12403 CPPFLAGS=$ac_save_CPPFLAGS
12404 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12405 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12408 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12409 case "x$with_cms" in
12410 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12411 xno) ;;
12412 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12413 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12414 esac
12418 if test "x$with_freetype" != "xno"
12419 then
12420 if ${FREETYPE_CFLAGS:+false} :; then :
12421 if ${PKG_CONFIG+:} false; then :
12422 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12425 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12426 if ${FREETYPE_LIBS:+false} :; then :
12427 if ${PKG_CONFIG+:} false; then :
12428 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12431 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12432 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12433 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12434 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12435 ac_save_CPPFLAGS=$CPPFLAGS
12436 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12437 for ac_header in ft2build.h
12438 do :
12439 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12440 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12441 cat >>confdefs.h <<_ACEOF
12442 #define HAVE_FT2BUILD_H 1
12443 _ACEOF
12447 done
12449 if test "$ac_cv_header_ft2build_h" = "yes"
12450 then
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12452 $as_echo_n "checking for -lfreetype... " >&6; }
12453 if ${ac_cv_lib_soname_freetype+:} false; then :
12454 $as_echo_n "(cached) " >&6
12455 else
12456 ac_check_soname_save_LIBS=$LIBS
12457 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12461 /* Override any GCC internal prototype to avoid an error.
12462 Use char because int might match the return type of a GCC
12463 builtin and then its argument prototype would still apply. */
12464 #ifdef __cplusplus
12465 extern "C"
12466 #endif
12467 char FT_Init_FreeType ();
12469 main ()
12471 return FT_Init_FreeType ();
12473 return 0;
12475 _ACEOF
12476 if ac_fn_c_try_link "$LINENO"; then :
12477 case "$LIBEXT" in
12478 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12479 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'` ;;
12480 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12481 if ${ac_cv_lib_soname_freetype:+false} :; then :
12482 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12483 fi ;;
12484 esac
12486 rm -f core conftest.err conftest.$ac_objext \
12487 conftest$ac_exeext conftest.$ac_ext
12488 LIBS=$ac_check_soname_save_LIBS
12490 if ${ac_cv_lib_soname_freetype:+false} :; then :
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12492 $as_echo "not found" >&6; }
12493 FREETYPE_LIBS=""
12494 else
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12496 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12498 cat >>confdefs.h <<_ACEOF
12499 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12500 _ACEOF
12503 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12505 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12506 #include FT_MODULE_H
12508 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12510 cat >>confdefs.h <<_ACEOF
12511 #define HAVE_FT_TRUETYPEENGINETYPE 1
12512 _ACEOF
12518 else
12519 FREETYPE_CFLAGS=""
12520 FREETYPE_LIBS=""
12522 CPPFLAGS=$ac_save_CPPFLAGS
12523 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12524 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12527 if test "x$ac_cv_lib_soname_freetype" = x; then :
12528 case "x$with_freetype" in
12529 xno) ;;
12530 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12531 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12532 esac
12533 enable_fonts=${enable_fonts:-no}
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12537 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12538 if ${ac_cv_c_ppdev+:} false; then :
12539 $as_echo_n "(cached) " >&6
12540 else
12541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12543 #ifdef HAVE_SYS_IOCTL_H
12544 # include <sys/ioctl.h>
12545 #endif
12546 #include <linux/ppdev.h>
12548 main ()
12550 ioctl (1,PPCLAIM,0)
12552 return 0;
12554 _ACEOF
12555 if ac_fn_c_try_compile "$LINENO"; then :
12556 ac_cv_c_ppdev="yes"
12557 else
12558 ac_cv_c_ppdev="no"
12560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12563 $as_echo "$ac_cv_c_ppdev" >&6; }
12564 if test "$ac_cv_c_ppdev" = "yes"
12565 then
12567 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12571 ac_wine_check_funcs_save_LIBS="$LIBS"
12572 LIBS="$LIBS $PTHREAD_LIBS"
12573 for ac_func in \
12574 pthread_attr_get_np \
12575 pthread_getattr_np \
12576 pthread_getthreadid_np \
12577 pthread_get_stackaddr_np \
12578 pthread_get_stacksize_np
12579 do :
12580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12582 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12583 cat >>confdefs.h <<_ACEOF
12584 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12585 _ACEOF
12588 done
12590 LIBS="$ac_wine_check_funcs_save_LIBS"
12592 if test "$ac_cv_header_zlib_h" = "yes"
12593 then
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12595 $as_echo_n "checking for inflate in -lz... " >&6; }
12596 if ${ac_cv_lib_z_inflate+:} false; then :
12597 $as_echo_n "(cached) " >&6
12598 else
12599 ac_check_lib_save_LIBS=$LIBS
12600 LIBS="-lz $LIBS"
12601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12602 /* end confdefs.h. */
12604 /* Override any GCC internal prototype to avoid an error.
12605 Use char because int might match the return type of a GCC
12606 builtin and then its argument prototype would still apply. */
12607 #ifdef __cplusplus
12608 extern "C"
12609 #endif
12610 char inflate ();
12612 main ()
12614 return inflate ();
12616 return 0;
12618 _ACEOF
12619 if ac_fn_c_try_link "$LINENO"; then :
12620 ac_cv_lib_z_inflate=yes
12621 else
12622 ac_cv_lib_z_inflate=no
12624 rm -f core conftest.err conftest.$ac_objext \
12625 conftest$ac_exeext conftest.$ac_ext
12626 LIBS=$ac_check_lib_save_LIBS
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12629 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12630 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12632 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12634 Z_LIBS="-lz"
12639 if test "x$Z_LIBS" = "x"; then :
12640 case "x$with_zlib" in
12641 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12642 xno) ;;
12643 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12644 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12645 esac
12649 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12650 then
12651 if test "$ac_cv_header_gettext_po_h" = "yes"
12652 then
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12654 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12655 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12656 $as_echo_n "(cached) " >&6
12657 else
12658 ac_check_lib_save_LIBS=$LIBS
12659 LIBS="-lgettextpo $LIBS"
12660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12661 /* end confdefs.h. */
12663 /* Override any GCC internal prototype to avoid an error.
12664 Use char because int might match the return type of a GCC
12665 builtin and then its argument prototype would still apply. */
12666 #ifdef __cplusplus
12667 extern "C"
12668 #endif
12669 char po_message_msgctxt ();
12671 main ()
12673 return po_message_msgctxt ();
12675 return 0;
12677 _ACEOF
12678 if ac_fn_c_try_link "$LINENO"; then :
12679 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12680 else
12681 ac_cv_lib_gettextpo_po_message_msgctxt=no
12683 rm -f core conftest.err conftest.$ac_objext \
12684 conftest$ac_exeext conftest.$ac_ext
12685 LIBS=$ac_check_lib_save_LIBS
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12688 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12689 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12691 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12693 GETTEXTPO_LIBS="-lgettextpo"
12698 if test "x$GETTEXTPO_LIBS" = "x"; then :
12699 case "x$with_gettextpo" in
12700 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12701 xno) ;;
12702 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12703 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12704 esac
12707 if test "$srcdir" != .; then :
12708 case "x$with_gettextpo" in
12709 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12710 xno) ;;
12711 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12712 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12713 esac
12718 if test "x$with_pulse" != "xno";
12719 then
12720 if ${PULSE_CFLAGS:+false} :; then :
12721 if ${PKG_CONFIG+:} false; then :
12722 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12726 if ${PULSE_LIBS:+false} :; then :
12727 if ${PKG_CONFIG+:} false; then :
12728 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12733 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12734 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12735 ac_save_CPPFLAGS=$CPPFLAGS
12736 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12737 for ac_header in pulse/pulseaudio.h
12738 do :
12739 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12740 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12741 cat >>confdefs.h <<_ACEOF
12742 #define HAVE_PULSE_PULSEAUDIO_H 1
12743 _ACEOF
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12745 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12746 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12747 $as_echo_n "(cached) " >&6
12748 else
12749 ac_check_lib_save_LIBS=$LIBS
12750 LIBS="-lpulse $PULSE_LIBS $LIBS"
12751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12754 /* Override any GCC internal prototype to avoid an error.
12755 Use char because int might match the return type of a GCC
12756 builtin and then its argument prototype would still apply. */
12757 #ifdef __cplusplus
12758 extern "C"
12759 #endif
12760 char pa_stream_is_corked ();
12762 main ()
12764 return pa_stream_is_corked ();
12766 return 0;
12768 _ACEOF
12769 if ac_fn_c_try_link "$LINENO"; then :
12770 ac_cv_lib_pulse_pa_stream_is_corked=yes
12771 else
12772 ac_cv_lib_pulse_pa_stream_is_corked=no
12774 rm -f core conftest.err conftest.$ac_objext \
12775 conftest$ac_exeext conftest.$ac_ext
12776 LIBS=$ac_check_lib_save_LIBS
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12779 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12780 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12782 else
12783 PULSE_LIBS=""
12786 else
12787 PULSE_LIBS=""
12790 done
12792 CPPFLAGS=$ac_save_CPPFLAGS
12793 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12794 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12797 if test -z "$PULSE_LIBS"; then :
12798 case "x$with_pulse" in
12799 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12800 xno) ;;
12801 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12802 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12803 esac
12804 enable_winepulse_drv=${enable_winepulse_drv:-no}
12807 if test "x$with_gstreamer" != "xno"
12808 then
12809 if ${GSTREAMER_CFLAGS:+false} :; then :
12810 if ${PKG_CONFIG+:} false; then :
12811 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12815 if ${GSTREAMER_LIBS:+false} :; then :
12816 if ${PKG_CONFIG+:} false; then :
12817 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12822 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12823 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12824 ac_save_CPPFLAGS=$CPPFLAGS
12825 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12826 ac_gst_incl=""
12827 for i in $GSTREAMER_CFLAGS
12829 case "$i" in
12830 -I*) ac_gst_incl="$ac_gst_incl $i";;
12831 esac
12832 done
12833 GSTREAMER_CFLAGS=$ac_gst_incl
12834 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12835 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12836 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12838 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12840 /* end confdefs.h. */
12841 #include <gst/gst.h>
12843 main ()
12845 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12847 return 0;
12849 _ACEOF
12850 if ac_fn_c_try_compile "$LINENO"; then :
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12852 $as_echo "yes" >&6; }
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12854 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12855 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12856 $as_echo_n "(cached) " >&6
12857 else
12858 ac_check_lib_save_LIBS=$LIBS
12859 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12861 /* end confdefs.h. */
12863 /* Override any GCC internal prototype to avoid an error.
12864 Use char because int might match the return type of a GCC
12865 builtin and then its argument prototype would still apply. */
12866 #ifdef __cplusplus
12867 extern "C"
12868 #endif
12869 char gst_pad_new ();
12871 main ()
12873 return gst_pad_new ();
12875 return 0;
12877 _ACEOF
12878 if ac_fn_c_try_link "$LINENO"; then :
12879 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12880 else
12881 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12883 rm -f core conftest.err conftest.$ac_objext \
12884 conftest$ac_exeext conftest.$ac_ext
12885 LIBS=$ac_check_lib_save_LIBS
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12888 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12889 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12893 else
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12895 $as_echo "no" >&6; }
12896 ac_glib2_broken=yes
12897 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12903 CPPFLAGS=$ac_save_CPPFLAGS
12904 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12905 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12908 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 :
12909 case "x$with_gstreamer" in
12910 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12911 xno) ;;
12912 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12913 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12914 esac
12917 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12919 ALSA_LIBS=""
12921 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12922 then
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12924 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12925 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12926 $as_echo_n "(cached) " >&6
12927 else
12928 ac_check_lib_save_LIBS=$LIBS
12929 LIBS="-lasound $LIBS"
12930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12931 /* end confdefs.h. */
12933 /* Override any GCC internal prototype to avoid an error.
12934 Use char because int might match the return type of a GCC
12935 builtin and then its argument prototype would still apply. */
12936 #ifdef __cplusplus
12937 extern "C"
12938 #endif
12939 char snd_pcm_hw_params_get_access_mask ();
12941 main ()
12943 return snd_pcm_hw_params_get_access_mask ();
12945 return 0;
12947 _ACEOF
12948 if ac_fn_c_try_link "$LINENO"; then :
12949 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12950 else
12951 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12953 rm -f core conftest.err conftest.$ac_objext \
12954 conftest$ac_exeext conftest.$ac_ext
12955 LIBS=$ac_check_lib_save_LIBS
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12958 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12959 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12961 /* end confdefs.h. */
12962 #ifdef HAVE_ALSA_ASOUNDLIB_H
12963 #include <alsa/asoundlib.h>
12964 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12965 #include <sys/asoundlib.h>
12966 #endif
12968 main ()
12970 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12972 return 0;
12974 _ACEOF
12975 if ac_fn_c_try_compile "$LINENO"; then :
12976 ALSA_LIBS="-lasound"
12978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12982 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12984 if test "x$with_oss" != xno
12985 then
12986 ac_save_CPPFLAGS="$CPPFLAGS"
12987 if test -f /etc/oss.conf
12988 then
12989 . /etc/oss.conf
12991 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12992 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12993 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12994 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12995 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12997 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12999 cat >>confdefs.h <<_ACEOF
13000 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13001 _ACEOF
13003 OSS4_CFLAGS="$ac_oss_incl"
13010 CPPFLAGS="$ac_save_CPPFLAGS"
13012 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13013 case "x$with_oss" in
13014 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13015 xno) ;;
13016 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13017 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13018 esac
13019 enable_wineoss_drv=${enable_wineoss_drv:-no}
13022 if test "x$with_udev" != "xno"
13023 then
13024 if ${UDEV_CFLAGS:+false} :; then :
13025 if ${PKG_CONFIG+:} false; then :
13026 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13030 if ${UDEV_LIBS:+false} :; then :
13031 if ${PKG_CONFIG+:} false; then :
13032 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13036 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13037 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13038 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13039 ac_save_CPPFLAGS=$CPPFLAGS
13040 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13041 for ac_header in libudev.h
13042 do :
13043 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13044 if test "x$ac_cv_header_libudev_h" = xyes; then :
13045 cat >>confdefs.h <<_ACEOF
13046 #define HAVE_LIBUDEV_H 1
13047 _ACEOF
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13049 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13050 if ${ac_cv_lib_udev_udev_new+:} false; then :
13051 $as_echo_n "(cached) " >&6
13052 else
13053 ac_check_lib_save_LIBS=$LIBS
13054 LIBS="-ludev $UDEV_LIBS $LIBS"
13055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13056 /* end confdefs.h. */
13058 /* Override any GCC internal prototype to avoid an error.
13059 Use char because int might match the return type of a GCC
13060 builtin and then its argument prototype would still apply. */
13061 #ifdef __cplusplus
13062 extern "C"
13063 #endif
13064 char udev_new ();
13066 main ()
13068 return udev_new ();
13070 return 0;
13072 _ACEOF
13073 if ac_fn_c_try_link "$LINENO"; then :
13074 ac_cv_lib_udev_udev_new=yes
13075 else
13076 ac_cv_lib_udev_udev_new=no
13078 rm -f core conftest.err conftest.$ac_objext \
13079 conftest$ac_exeext conftest.$ac_ext
13080 LIBS=$ac_check_lib_save_LIBS
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13083 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13084 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13086 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13088 else
13089 UDEV_LIBS=""
13092 else
13093 UDEV_LIBS=""
13096 done
13098 CPPFLAGS=$ac_save_CPPFLAGS
13099 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13100 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13103 if test "x$UDEV_LIBS" = "x"; then :
13104 case "x$with_udev" in
13105 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13106 xno) ;;
13107 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13108 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13109 esac
13113 if test "x$with_sdl" != "xno"
13114 then
13115 if ${SDL2_CFLAGS:+false} :; then :
13116 if ${PKG_CONFIG+:} false; then :
13117 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13121 if ${SDL2_LIBS:+false} :; then :
13122 if ${PKG_CONFIG+:} false; then :
13123 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13127 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13128 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13129 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13130 ac_save_CPPFLAGS=$CPPFLAGS
13131 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13132 for ac_header in SDL2/SDL.h
13133 do :
13134 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13135 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13136 cat >>confdefs.h <<_ACEOF
13137 #define HAVE_SDL2_SDL_H 1
13138 _ACEOF
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13140 $as_echo_n "checking for -lSDL2... " >&6; }
13141 if ${ac_cv_lib_soname_SDL2+:} false; then :
13142 $as_echo_n "(cached) " >&6
13143 else
13144 ac_check_soname_save_LIBS=$LIBS
13145 LIBS="-lSDL2 $LIBS"
13146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13147 /* end confdefs.h. */
13149 /* Override any GCC internal prototype to avoid an error.
13150 Use char because int might match the return type of a GCC
13151 builtin and then its argument prototype would still apply. */
13152 #ifdef __cplusplus
13153 extern "C"
13154 #endif
13155 char SDL_Init ();
13157 main ()
13159 return SDL_Init ();
13161 return 0;
13163 _ACEOF
13164 if ac_fn_c_try_link "$LINENO"; then :
13165 case "$LIBEXT" in
13166 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13167 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'` ;;
13168 *) 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'`
13169 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13170 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13171 fi ;;
13172 esac
13174 rm -f core conftest.err conftest.$ac_objext \
13175 conftest$ac_exeext conftest.$ac_ext
13176 LIBS=$ac_check_soname_save_LIBS
13178 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13180 $as_echo "not found" >&6; }
13182 else
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13184 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13186 cat >>confdefs.h <<_ACEOF
13187 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13188 _ACEOF
13194 done
13196 CPPFLAGS=$ac_save_CPPFLAGS
13197 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13198 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13201 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13202 case "x$with_sdl" in
13203 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13204 xno) ;;
13205 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13206 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13207 esac
13211 if test "x$with_capi" != "xno"
13212 then
13213 if ${CAPI20_CFLAGS:+false} :; then :
13214 if ${PKG_CONFIG+:} false; then :
13215 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13219 if ${CAPI20_LIBS:+false} :; then :
13220 if ${PKG_CONFIG+:} false; then :
13221 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13226 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13227 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13228 ac_save_CPPFLAGS=$CPPFLAGS
13229 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13230 for ac_header in capi20.h linux/capi.h
13231 do :
13232 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13233 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13235 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13236 cat >>confdefs.h <<_ACEOF
13237 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13238 _ACEOF
13242 done
13244 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13245 then
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13247 $as_echo_n "checking for -lcapi20... " >&6; }
13248 if ${ac_cv_lib_soname_capi20+:} false; then :
13249 $as_echo_n "(cached) " >&6
13250 else
13251 ac_check_soname_save_LIBS=$LIBS
13252 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13254 /* end confdefs.h. */
13256 /* Override any GCC internal prototype to avoid an error.
13257 Use char because int might match the return type of a GCC
13258 builtin and then its argument prototype would still apply. */
13259 #ifdef __cplusplus
13260 extern "C"
13261 #endif
13262 char capi20_register ();
13264 main ()
13266 return capi20_register ();
13268 return 0;
13270 _ACEOF
13271 if ac_fn_c_try_link "$LINENO"; then :
13272 case "$LIBEXT" in
13273 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13274 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'` ;;
13275 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13276 if ${ac_cv_lib_soname_capi20:+false} :; then :
13277 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13278 fi ;;
13279 esac
13281 rm -f core conftest.err conftest.$ac_objext \
13282 conftest$ac_exeext conftest.$ac_ext
13283 LIBS=$ac_check_soname_save_LIBS
13285 if ${ac_cv_lib_soname_capi20:+false} :; then :
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13287 $as_echo "not found" >&6; }
13289 else
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13291 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13293 cat >>confdefs.h <<_ACEOF
13294 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13295 _ACEOF
13300 CPPFLAGS=$ac_save_CPPFLAGS
13301 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13302 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13305 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13306 case "x$with_capi" in
13307 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13308 xno) ;;
13309 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13310 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13311 esac
13315 if test "x$with_cups" != "xno"
13316 then
13317 if ${CUPS_CFLAGS:+false} :; then :
13318 if ${PKG_CONFIG+:} false; then :
13319 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13322 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13323 if ${CUPS_LIBS:+false} :; then :
13324 if ${PKG_CONFIG+:} false; then :
13325 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13328 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13329 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13330 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13331 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13332 ac_save_CPPFLAGS=$CPPFLAGS
13333 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13334 for ac_header in cups/cups.h cups/ppd.h
13335 do :
13336 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13337 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13338 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13339 cat >>confdefs.h <<_ACEOF
13340 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13341 _ACEOF
13345 done
13347 if test "$ac_cv_header_cups_cups_h" = "yes"
13348 then
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13350 $as_echo_n "checking for -lcups... " >&6; }
13351 if ${ac_cv_lib_soname_cups+:} false; then :
13352 $as_echo_n "(cached) " >&6
13353 else
13354 ac_check_soname_save_LIBS=$LIBS
13355 LIBS="-lcups $CUPS_LIBS $LIBS"
13356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13357 /* end confdefs.h. */
13359 /* Override any GCC internal prototype to avoid an error.
13360 Use char because int might match the return type of a GCC
13361 builtin and then its argument prototype would still apply. */
13362 #ifdef __cplusplus
13363 extern "C"
13364 #endif
13365 char cupsGetDefault ();
13367 main ()
13369 return cupsGetDefault ();
13371 return 0;
13373 _ACEOF
13374 if ac_fn_c_try_link "$LINENO"; then :
13375 case "$LIBEXT" in
13376 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13377 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'` ;;
13378 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13379 if ${ac_cv_lib_soname_cups:+false} :; then :
13380 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13381 fi ;;
13382 esac
13384 rm -f core conftest.err conftest.$ac_objext \
13385 conftest$ac_exeext conftest.$ac_ext
13386 LIBS=$ac_check_soname_save_LIBS
13388 if ${ac_cv_lib_soname_cups:+false} :; then :
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13390 $as_echo "not found" >&6; }
13391 CUPS_LIBS=""
13392 else
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13394 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13396 cat >>confdefs.h <<_ACEOF
13397 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13398 _ACEOF
13402 else
13403 CUPS_CFLAGS=""
13404 CUPS_LIBS=""
13406 CPPFLAGS=$ac_save_CPPFLAGS
13407 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13408 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13411 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13412 case "x$with_cups" in
13413 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13414 xno) ;;
13415 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13416 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13417 esac
13421 if test "x$with_fontconfig" != "xno"
13422 then
13423 if ${FONTCONFIG_CFLAGS:+false} :; then :
13424 if ${PKG_CONFIG+:} false; then :
13425 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13428 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13429 if ${FONTCONFIG_LIBS:+false} :; then :
13430 if ${PKG_CONFIG+:} false; then :
13431 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13434 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13436 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13437 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13438 ac_save_CPPFLAGS=$CPPFLAGS
13439 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13440 for ac_header in fontconfig/fontconfig.h
13441 do :
13442 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13443 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13444 cat >>confdefs.h <<_ACEOF
13445 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13446 _ACEOF
13450 done
13452 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13453 then
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13455 $as_echo_n "checking for -lfontconfig... " >&6; }
13456 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13457 $as_echo_n "(cached) " >&6
13458 else
13459 ac_check_soname_save_LIBS=$LIBS
13460 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13462 /* end confdefs.h. */
13464 /* Override any GCC internal prototype to avoid an error.
13465 Use char because int might match the return type of a GCC
13466 builtin and then its argument prototype would still apply. */
13467 #ifdef __cplusplus
13468 extern "C"
13469 #endif
13470 char FcInit ();
13472 main ()
13474 return FcInit ();
13476 return 0;
13478 _ACEOF
13479 if ac_fn_c_try_link "$LINENO"; then :
13480 case "$LIBEXT" in
13481 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13482 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'` ;;
13483 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13484 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13485 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13486 fi ;;
13487 esac
13489 rm -f core conftest.err conftest.$ac_objext \
13490 conftest$ac_exeext conftest.$ac_ext
13491 LIBS=$ac_check_soname_save_LIBS
13493 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13495 $as_echo "not found" >&6; }
13496 FONTCONFIG_CFLAGS=""
13497 else
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13499 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13501 cat >>confdefs.h <<_ACEOF
13502 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13503 _ACEOF
13507 else
13508 FONTCONFIG_CFLAGS=""
13510 CPPFLAGS=$ac_save_CPPFLAGS
13511 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13512 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13515 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13516 case "x$with_fontconfig" in
13517 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13518 xno) ;;
13519 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13520 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13521 esac
13525 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13526 then
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13528 $as_echo_n "checking for -lgsm... " >&6; }
13529 if ${ac_cv_lib_soname_gsm+:} false; then :
13530 $as_echo_n "(cached) " >&6
13531 else
13532 ac_check_soname_save_LIBS=$LIBS
13533 LIBS="-lgsm $LIBS"
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13537 /* Override any GCC internal prototype to avoid an error.
13538 Use char because int might match the return type of a GCC
13539 builtin and then its argument prototype would still apply. */
13540 #ifdef __cplusplus
13541 extern "C"
13542 #endif
13543 char gsm_create ();
13545 main ()
13547 return gsm_create ();
13549 return 0;
13551 _ACEOF
13552 if ac_fn_c_try_link "$LINENO"; then :
13553 case "$LIBEXT" in
13554 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13555 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'` ;;
13556 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13557 if ${ac_cv_lib_soname_gsm:+false} :; then :
13558 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13559 fi ;;
13560 esac
13562 rm -f core conftest.err conftest.$ac_objext \
13563 conftest$ac_exeext conftest.$ac_ext
13564 LIBS=$ac_check_soname_save_LIBS
13566 if ${ac_cv_lib_soname_gsm:+false} :; then :
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13568 $as_echo "not found" >&6; }
13570 else
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13572 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13574 cat >>confdefs.h <<_ACEOF
13575 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13576 _ACEOF
13581 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13582 case "x$with_gsm" in
13583 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13584 xno) ;;
13585 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13586 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13587 esac
13591 if test "x$with_krb5" != "xno"
13592 then
13593 if ${KRB5_CFLAGS:+false} :; then :
13594 if ${PKG_CONFIG+:} false; then :
13595 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13598 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13599 if ${KRB5_LIBS:+false} :; then :
13600 if ${PKG_CONFIG+:} false; then :
13601 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13604 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13606 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13607 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13608 ac_save_CPPFLAGS=$CPPFLAGS
13609 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13610 for ac_header in krb5/krb5.h
13611 do :
13612 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13613 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13614 cat >>confdefs.h <<_ACEOF
13615 #define HAVE_KRB5_KRB5_H 1
13616 _ACEOF
13620 done
13622 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13623 then
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13625 $as_echo_n "checking for -lkrb5... " >&6; }
13626 if ${ac_cv_lib_soname_krb5+:} false; then :
13627 $as_echo_n "(cached) " >&6
13628 else
13629 ac_check_soname_save_LIBS=$LIBS
13630 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13632 /* end confdefs.h. */
13634 /* Override any GCC internal prototype to avoid an error.
13635 Use char because int might match the return type of a GCC
13636 builtin and then its argument prototype would still apply. */
13637 #ifdef __cplusplus
13638 extern "C"
13639 #endif
13640 char krb5_init_context ();
13642 main ()
13644 return krb5_init_context ();
13646 return 0;
13648 _ACEOF
13649 if ac_fn_c_try_link "$LINENO"; then :
13650 case "$LIBEXT" in
13651 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13652 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'` ;;
13653 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13654 if ${ac_cv_lib_soname_krb5:+false} :; then :
13655 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13656 fi ;;
13657 esac
13659 rm -f core conftest.err conftest.$ac_objext \
13660 conftest$ac_exeext conftest.$ac_ext
13661 LIBS=$ac_check_soname_save_LIBS
13663 if ${ac_cv_lib_soname_krb5:+false} :; then :
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13665 $as_echo "not found" >&6; }
13666 KRB5_CFLAGS=""
13667 else
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13669 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13671 cat >>confdefs.h <<_ACEOF
13672 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13673 _ACEOF
13677 else
13678 KRB5_CFLAGS=""
13680 CPPFLAGS=$ac_save_CPPFLAGS
13681 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13682 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13684 else
13685 with_gssapi=${with_gssapi:-no}
13687 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13688 case "x$with_krb5" in
13689 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13690 xno) ;;
13691 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13692 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13693 esac
13697 if test "x$with_gssapi" != "xno"
13698 then
13699 if ${GSSAPI_CFLAGS:+false} :; then :
13700 if ${PKG_CONFIG+:} false; then :
13701 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13704 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13705 if ${GSSAPI_LIBS:+false} :; then :
13706 if ${PKG_CONFIG+:} false; then :
13707 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13710 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13712 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13713 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13714 ac_save_CPPFLAGS=$CPPFLAGS
13715 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13716 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13717 do :
13718 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13719 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13720 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13721 cat >>confdefs.h <<_ACEOF
13722 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13723 _ACEOF
13727 done
13729 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13730 then
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13732 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13733 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13734 $as_echo_n "(cached) " >&6
13735 else
13736 ac_check_soname_save_LIBS=$LIBS
13737 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13739 /* end confdefs.h. */
13741 /* Override any GCC internal prototype to avoid an error.
13742 Use char because int might match the return type of a GCC
13743 builtin and then its argument prototype would still apply. */
13744 #ifdef __cplusplus
13745 extern "C"
13746 #endif
13747 char gss_init_sec_context ();
13749 main ()
13751 return gss_init_sec_context ();
13753 return 0;
13755 _ACEOF
13756 if ac_fn_c_try_link "$LINENO"; then :
13757 case "$LIBEXT" in
13758 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13759 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'` ;;
13760 *) 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'`
13761 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13762 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13763 fi ;;
13764 esac
13766 rm -f core conftest.err conftest.$ac_objext \
13767 conftest$ac_exeext conftest.$ac_ext
13768 LIBS=$ac_check_soname_save_LIBS
13770 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13772 $as_echo "not found" >&6; }
13773 GSSAPI_CFLAGS=""
13774 else
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13776 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13778 cat >>confdefs.h <<_ACEOF
13779 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13780 _ACEOF
13784 else
13785 GSSAPI_CFLAGS=""
13787 CPPFLAGS=$ac_save_CPPFLAGS
13788 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13789 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13792 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13793 case "x$with_gssapi" in
13794 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13795 xno) ;;
13796 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13797 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13798 esac
13802 if test "x$with_jpeg" != "xno"
13803 then
13804 if ${JPEG_CFLAGS:+false} :; then :
13805 if ${PKG_CONFIG+:} false; then :
13806 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13810 if ${JPEG_LIBS:+false} :; then :
13811 if ${PKG_CONFIG+:} false; then :
13812 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13817 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13818 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13819 ac_save_CPPFLAGS=$CPPFLAGS
13820 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13821 for ac_header in jpeglib.h
13822 do :
13823 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13824 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13825 cat >>confdefs.h <<_ACEOF
13826 #define HAVE_JPEGLIB_H 1
13827 _ACEOF
13831 done
13833 if test "$ac_cv_header_jpeglib_h" = "yes"
13834 then
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13836 $as_echo_n "checking for -ljpeg... " >&6; }
13837 if ${ac_cv_lib_soname_jpeg+:} false; then :
13838 $as_echo_n "(cached) " >&6
13839 else
13840 ac_check_soname_save_LIBS=$LIBS
13841 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13845 /* Override any GCC internal prototype to avoid an error.
13846 Use char because int might match the return type of a GCC
13847 builtin and then its argument prototype would still apply. */
13848 #ifdef __cplusplus
13849 extern "C"
13850 #endif
13851 char jpeg_start_decompress ();
13853 main ()
13855 return jpeg_start_decompress ();
13857 return 0;
13859 _ACEOF
13860 if ac_fn_c_try_link "$LINENO"; then :
13861 case "$LIBEXT" in
13862 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13863 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'` ;;
13864 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13865 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13866 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13867 fi ;;
13868 esac
13870 rm -f core conftest.err conftest.$ac_objext \
13871 conftest$ac_exeext conftest.$ac_ext
13872 LIBS=$ac_check_soname_save_LIBS
13874 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13876 $as_echo "not found" >&6; }
13877 JPEG_CFLAGS=""
13878 else
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13880 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13882 cat >>confdefs.h <<_ACEOF
13883 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13884 _ACEOF
13888 else
13889 JPEG_CFLAGS=""
13891 CPPFLAGS=$ac_save_CPPFLAGS
13892 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13893 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13896 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13897 case "x$with_jpeg" in
13898 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13899 xno) ;;
13900 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13901 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13902 esac
13906 if test "x$with_png" != "xno"
13907 then
13908 if ${PNG_CFLAGS:+false} :; then :
13909 if ${PKG_CONFIG+:} false; then :
13910 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13913 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13914 if ${PNG_LIBS:+false} :; then :
13915 if ${PKG_CONFIG+:} false; then :
13916 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13919 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13921 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13922 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13923 ac_save_CPPFLAGS=$CPPFLAGS
13924 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13925 for ac_header in png.h
13926 do :
13927 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13928 if test "x$ac_cv_header_png_h" = xyes; then :
13929 cat >>confdefs.h <<_ACEOF
13930 #define HAVE_PNG_H 1
13931 _ACEOF
13935 done
13937 if test "$ac_cv_header_png_h" = "yes"
13938 then
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13940 $as_echo_n "checking for -lpng... " >&6; }
13941 if ${ac_cv_lib_soname_png+:} false; then :
13942 $as_echo_n "(cached) " >&6
13943 else
13944 ac_check_soname_save_LIBS=$LIBS
13945 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13947 /* end confdefs.h. */
13949 /* Override any GCC internal prototype to avoid an error.
13950 Use char because int might match the return type of a GCC
13951 builtin and then its argument prototype would still apply. */
13952 #ifdef __cplusplus
13953 extern "C"
13954 #endif
13955 char png_create_read_struct ();
13957 main ()
13959 return png_create_read_struct ();
13961 return 0;
13963 _ACEOF
13964 if ac_fn_c_try_link "$LINENO"; then :
13965 case "$LIBEXT" in
13966 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13967 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'` ;;
13968 *) 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'`
13969 if ${ac_cv_lib_soname_png:+false} :; then :
13970 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13971 fi ;;
13972 esac
13974 rm -f core conftest.err conftest.$ac_objext \
13975 conftest$ac_exeext conftest.$ac_ext
13976 LIBS=$ac_check_soname_save_LIBS
13978 if ${ac_cv_lib_soname_png:+false} :; then :
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13980 $as_echo "not found" >&6; }
13981 PNG_CFLAGS=""
13982 else
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13984 $as_echo "$ac_cv_lib_soname_png" >&6; }
13986 cat >>confdefs.h <<_ACEOF
13987 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13988 _ACEOF
13992 else
13993 PNG_CFLAGS=""
13995 CPPFLAGS=$ac_save_CPPFLAGS
13996 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13997 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14000 if test "x$ac_cv_lib_soname_png" = "x"; then :
14001 case "x$with_png" in
14002 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14003 xno) ;;
14004 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14005 This is an error since --with-png was requested." "$LINENO" 5 ;;
14006 esac
14010 if test "x$with_tiff" != "xno"
14011 then
14012 if ${TIFF_CFLAGS:+false} :; then :
14013 if ${PKG_CONFIG+:} false; then :
14014 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14018 if ${TIFF_LIBS:+false} :; then :
14019 if ${PKG_CONFIG+:} false; then :
14020 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14025 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14026 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14027 ac_save_CPPFLAGS=$CPPFLAGS
14028 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14029 for ac_header in tiffio.h
14030 do :
14031 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14032 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14033 cat >>confdefs.h <<_ACEOF
14034 #define HAVE_TIFFIO_H 1
14035 _ACEOF
14039 done
14041 if test "$ac_cv_header_tiffio_h" = "yes"
14042 then
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14044 $as_echo_n "checking for -ltiff... " >&6; }
14045 if ${ac_cv_lib_soname_tiff+:} false; then :
14046 $as_echo_n "(cached) " >&6
14047 else
14048 ac_check_soname_save_LIBS=$LIBS
14049 LIBS="-ltiff $TIFF_LIBS $LIBS"
14050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14051 /* end confdefs.h. */
14053 /* Override any GCC internal prototype to avoid an error.
14054 Use char because int might match the return type of a GCC
14055 builtin and then its argument prototype would still apply. */
14056 #ifdef __cplusplus
14057 extern "C"
14058 #endif
14059 char TIFFClientOpen ();
14061 main ()
14063 return TIFFClientOpen ();
14065 return 0;
14067 _ACEOF
14068 if ac_fn_c_try_link "$LINENO"; then :
14069 case "$LIBEXT" in
14070 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14071 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'` ;;
14072 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14073 if ${ac_cv_lib_soname_tiff:+false} :; then :
14074 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14075 fi ;;
14076 esac
14078 rm -f core conftest.err conftest.$ac_objext \
14079 conftest$ac_exeext conftest.$ac_ext
14080 LIBS=$ac_check_soname_save_LIBS
14082 if ${ac_cv_lib_soname_tiff:+false} :; then :
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14084 $as_echo "not found" >&6; }
14086 else
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14088 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14090 cat >>confdefs.h <<_ACEOF
14091 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14092 _ACEOF
14097 CPPFLAGS=$ac_save_CPPFLAGS
14098 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14099 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14102 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14103 case "x$with_tiff" in
14104 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14105 xno) ;;
14106 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14107 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14108 esac
14112 if test "x$with_mpg123" != "xno"
14113 then
14114 if ${MPG123_CFLAGS:+false} :; then :
14115 if ${PKG_CONFIG+:} false; then :
14116 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14120 if ${MPG123_LIBS:+false} :; then :
14121 if ${PKG_CONFIG+:} false; then :
14122 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14126 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14127 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14128 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14129 ac_save_CPPFLAGS=$CPPFLAGS
14130 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14131 for ac_header in mpg123.h
14132 do :
14133 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14134 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14135 cat >>confdefs.h <<_ACEOF
14136 #define HAVE_MPG123_H 1
14137 _ACEOF
14141 done
14143 if test "$ac_cv_header_mpg123_h" = "yes"
14144 then
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14146 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14147 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14148 $as_echo_n "(cached) " >&6
14149 else
14150 ac_check_lib_save_LIBS=$LIBS
14151 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14155 /* Override any GCC internal prototype to avoid an error.
14156 Use char because int might match the return type of a GCC
14157 builtin and then its argument prototype would still apply. */
14158 #ifdef __cplusplus
14159 extern "C"
14160 #endif
14161 char mpg123_feed ();
14163 main ()
14165 return mpg123_feed ();
14167 return 0;
14169 _ACEOF
14170 if ac_fn_c_try_link "$LINENO"; then :
14171 ac_cv_lib_mpg123_mpg123_feed=yes
14172 else
14173 ac_cv_lib_mpg123_mpg123_feed=no
14175 rm -f core conftest.err conftest.$ac_objext \
14176 conftest$ac_exeext conftest.$ac_ext
14177 LIBS=$ac_check_lib_save_LIBS
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14180 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14181 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14183 else
14184 MPG123_LIBS=""
14187 else
14188 MPG123_CFLAGS=""
14189 MPG123_LIBS=""
14191 CPPFLAGS=$ac_save_CPPFLAGS
14192 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14193 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14196 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14197 case "x$with_mpg123" in
14198 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14199 xno) ;;
14200 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14201 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14202 esac
14203 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14206 if test "$ac_cv_header_AL_al_h" = "yes"
14207 then
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14209 $as_echo_n "checking for -lopenal... " >&6; }
14210 if ${ac_cv_lib_soname_openal+:} false; then :
14211 $as_echo_n "(cached) " >&6
14212 else
14213 ac_check_soname_save_LIBS=$LIBS
14214 LIBS="-lopenal $LIBS"
14215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14216 /* end confdefs.h. */
14218 /* Override any GCC internal prototype to avoid an error.
14219 Use char because int might match the return type of a GCC
14220 builtin and then its argument prototype would still apply. */
14221 #ifdef __cplusplus
14222 extern "C"
14223 #endif
14224 char alGetSource3i ();
14226 main ()
14228 return alGetSource3i ();
14230 return 0;
14232 _ACEOF
14233 if ac_fn_c_try_link "$LINENO"; then :
14234 case "$LIBEXT" in
14235 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14236 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'` ;;
14237 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14238 if ${ac_cv_lib_soname_openal:+false} :; then :
14239 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14240 fi ;;
14241 esac
14243 rm -f core conftest.err conftest.$ac_objext \
14244 conftest$ac_exeext conftest.$ac_ext
14245 LIBS=$ac_check_soname_save_LIBS
14247 if ${ac_cv_lib_soname_openal:+false} :; then :
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14249 $as_echo "not found" >&6; }
14251 else
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14253 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14255 cat >>confdefs.h <<_ACEOF
14256 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14257 _ACEOF
14259 OPENAL_LIBS="-lopenal"
14261 ac_cv_lib_openal=yes
14263 cat >>confdefs.h <<_ACEOF
14264 #define HAVE_OPENAL 1
14265 _ACEOF
14269 if test "x$ac_cv_lib_openal" != xyes; then :
14270 case "x$with_openal" in
14271 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14272 xno) ;;
14273 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14274 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14275 esac
14276 enable_openal32=${enable_openal32:-no}
14279 if test "x$ac_cv_lib_openal" = xyes
14280 then
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14282 $as_echo_n "checking for openal-soft... " >&6; }
14283 if ${ac_cv_have_openalsoft+:} false; then :
14284 $as_echo_n "(cached) " >&6
14285 else
14286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14287 /* end confdefs.h. */
14288 #include <AL/al.h>
14289 #include <AL/alc.h>
14290 #include <AL/alext.h>
14291 LPALCRENDERSAMPLESSOFT x;
14293 main ()
14297 return 0;
14299 _ACEOF
14300 if ac_fn_c_try_compile "$LINENO"; then :
14301 ac_cv_have_openalsoft=yes
14302 else
14303 ac_cv_have_openalsoft=no
14305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14308 $as_echo "$ac_cv_have_openalsoft" >&6; }
14310 if test "x$ac_cv_have_openalsoft" != xyes
14311 then
14312 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14313 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14314 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14315 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14316 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14317 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14318 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14319 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14320 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14321 enable_xapofx1_1=${enable_xapofx1_1:-no}
14322 enable_xapofx1_2=${enable_xapofx1_2:-no}
14323 enable_xapofx1_3=${enable_xapofx1_3:-no}
14324 enable_xapofx1_4=${enable_xapofx1_4:-no}
14325 enable_xapofx1_5=${enable_xapofx1_5:-no}
14326 enable_xaudio2_0=${enable_xaudio2_0:-no}
14327 enable_xaudio2_1=${enable_xaudio2_1:-no}
14328 enable_xaudio2_2=${enable_xaudio2_2:-no}
14329 enable_xaudio2_3=${enable_xaudio2_3:-no}
14330 enable_xaudio2_4=${enable_xaudio2_4:-no}
14331 enable_xaudio2_5=${enable_xaudio2_5:-no}
14332 enable_xaudio2_6=${enable_xaudio2_6:-no}
14333 enable_xaudio2_7=${enable_xaudio2_7:-no}
14334 enable_xaudio2_8=${enable_xaudio2_8:-no}
14335 enable_xaudio2_9=${enable_xaudio2_9:-no}
14338 if test "$ac_cv_header_kstat_h" = "yes"
14339 then
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14341 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14342 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14343 $as_echo_n "(cached) " >&6
14344 else
14345 ac_check_lib_save_LIBS=$LIBS
14346 LIBS="-lkstat $LIBS"
14347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14348 /* end confdefs.h. */
14350 /* Override any GCC internal prototype to avoid an error.
14351 Use char because int might match the return type of a GCC
14352 builtin and then its argument prototype would still apply. */
14353 #ifdef __cplusplus
14354 extern "C"
14355 #endif
14356 char kstat_open ();
14358 main ()
14360 return kstat_open ();
14362 return 0;
14364 _ACEOF
14365 if ac_fn_c_try_link "$LINENO"; then :
14366 ac_cv_lib_kstat_kstat_open=yes
14367 else
14368 ac_cv_lib_kstat_kstat_open=no
14370 rm -f core conftest.err conftest.$ac_objext \
14371 conftest$ac_exeext conftest.$ac_ext
14372 LIBS=$ac_check_lib_save_LIBS
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14375 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14376 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14378 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14380 KSTAT_LIBS="-lkstat"
14386 if test "$ac_cv_header_libprocstat_h" = "yes"
14387 then
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14389 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14390 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14391 $as_echo_n "(cached) " >&6
14392 else
14393 ac_check_lib_save_LIBS=$LIBS
14394 LIBS="-lprocstat $LIBS"
14395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14396 /* end confdefs.h. */
14398 /* Override any GCC internal prototype to avoid an error.
14399 Use char because int might match the return type of a GCC
14400 builtin and then its argument prototype would still apply. */
14401 #ifdef __cplusplus
14402 extern "C"
14403 #endif
14404 char procstat_open_sysctl ();
14406 main ()
14408 return procstat_open_sysctl ();
14410 return 0;
14412 _ACEOF
14413 if ac_fn_c_try_link "$LINENO"; then :
14414 ac_cv_lib_procstat_procstat_open_sysctl=yes
14415 else
14416 ac_cv_lib_procstat_procstat_open_sysctl=no
14418 rm -f core conftest.err conftest.$ac_objext \
14419 conftest$ac_exeext conftest.$ac_ext
14420 LIBS=$ac_check_lib_save_LIBS
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14423 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14424 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14426 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14428 PROCSTAT_LIBS="-lprocstat"
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14435 $as_echo_n "checking for -lodbc... " >&6; }
14436 if ${ac_cv_lib_soname_odbc+:} false; then :
14437 $as_echo_n "(cached) " >&6
14438 else
14439 ac_check_soname_save_LIBS=$LIBS
14440 LIBS="-lodbc $LIBS"
14441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14442 /* end confdefs.h. */
14444 /* Override any GCC internal prototype to avoid an error.
14445 Use char because int might match the return type of a GCC
14446 builtin and then its argument prototype would still apply. */
14447 #ifdef __cplusplus
14448 extern "C"
14449 #endif
14450 char SQLConnect ();
14452 main ()
14454 return SQLConnect ();
14456 return 0;
14458 _ACEOF
14459 if ac_fn_c_try_link "$LINENO"; then :
14460 case "$LIBEXT" in
14461 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14462 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'` ;;
14463 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14464 if ${ac_cv_lib_soname_odbc:+false} :; then :
14465 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14466 fi ;;
14467 esac
14469 rm -f core conftest.err conftest.$ac_objext \
14470 conftest$ac_exeext conftest.$ac_ext
14471 LIBS=$ac_check_soname_save_LIBS
14473 if ${ac_cv_lib_soname_odbc:+false} :; then :
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14475 $as_echo "not found" >&6; }
14476 cat >>confdefs.h <<_ACEOF
14477 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14478 _ACEOF
14480 else
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14482 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14484 cat >>confdefs.h <<_ACEOF
14485 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14486 _ACEOF
14491 if test "x$with_netapi" != "xno"
14492 then
14493 if ${NETAPI_CFLAGS:+false} :; then :
14494 if ${PKG_CONFIG+:} false; then :
14495 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14499 if ${NETAPI_LIBS:+false} :; then :
14500 if ${PKG_CONFIG+:} false; then :
14501 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14506 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14507 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14508 ac_save_CPPFLAGS=$CPPFLAGS
14509 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14511 $as_echo_n "checking for -lnetapi... " >&6; }
14512 if ${ac_cv_lib_soname_netapi+:} false; then :
14513 $as_echo_n "(cached) " >&6
14514 else
14515 ac_check_soname_save_LIBS=$LIBS
14516 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14518 /* end confdefs.h. */
14520 /* Override any GCC internal prototype to avoid an error.
14521 Use char because int might match the return type of a GCC
14522 builtin and then its argument prototype would still apply. */
14523 #ifdef __cplusplus
14524 extern "C"
14525 #endif
14526 char libnetapi_init ();
14528 main ()
14530 return libnetapi_init ();
14532 return 0;
14534 _ACEOF
14535 if ac_fn_c_try_link "$LINENO"; then :
14536 case "$LIBEXT" in
14537 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14538 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'` ;;
14539 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14540 if ${ac_cv_lib_soname_netapi:+false} :; then :
14541 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14542 fi ;;
14543 esac
14545 rm -f core conftest.err conftest.$ac_objext \
14546 conftest$ac_exeext conftest.$ac_ext
14547 LIBS=$ac_check_soname_save_LIBS
14549 if ${ac_cv_lib_soname_netapi:+false} :; then :
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14551 $as_echo "not found" >&6; }
14552 cat >>confdefs.h <<_ACEOF
14553 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14554 _ACEOF
14556 else
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14558 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14560 cat >>confdefs.h <<_ACEOF
14561 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14562 _ACEOF
14566 CPPFLAGS=$ac_save_CPPFLAGS
14567 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14568 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14572 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14573 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14574 then
14575 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14578 if test "x$with_vulkan" != "xno"
14579 then
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14581 $as_echo_n "checking for -lvulkan... " >&6; }
14582 if ${ac_cv_lib_soname_vulkan+:} false; then :
14583 $as_echo_n "(cached) " >&6
14584 else
14585 ac_check_soname_save_LIBS=$LIBS
14586 LIBS="-lvulkan $LIBS"
14587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14588 /* end confdefs.h. */
14590 /* Override any GCC internal prototype to avoid an error.
14591 Use char because int might match the return type of a GCC
14592 builtin and then its argument prototype would still apply. */
14593 #ifdef __cplusplus
14594 extern "C"
14595 #endif
14596 char vkGetInstanceProcAddr ();
14598 main ()
14600 return vkGetInstanceProcAddr ();
14602 return 0;
14604 _ACEOF
14605 if ac_fn_c_try_link "$LINENO"; then :
14606 case "$LIBEXT" in
14607 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14608 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'` ;;
14609 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14610 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14611 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14612 fi ;;
14613 esac
14615 rm -f core conftest.err conftest.$ac_objext \
14616 conftest$ac_exeext conftest.$ac_ext
14617 LIBS=$ac_check_soname_save_LIBS
14619 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14621 $as_echo "not found" >&6; }
14623 else
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14625 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14627 cat >>confdefs.h <<_ACEOF
14628 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14629 _ACEOF
14634 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14635 case "x$with_vulkan" in
14636 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14637 xno) ;;
14638 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14639 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14640 esac
14645 EXTRACFLAGS=""
14647 if test "x${GCC}" = "xyes"
14648 then
14649 EXTRACFLAGS="-Wall -pipe"
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14652 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14653 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14654 $as_echo_n "(cached) " >&6
14655 else
14656 if test "$cross_compiling" = yes; then :
14657 ac_cv_c_gcc_strength_bug="no"
14658 else
14659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14660 /* end confdefs.h. */
14661 int L[4] = {0,1,2,3};
14663 main ()
14665 static int Array[3];
14666 unsigned int B = 3;
14667 int i;
14668 for(i=0; i<B; i++) Array[i] = i - 3;
14669 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14670 L[i] = 4;
14671 return (Array[1] != -2 || L[2] != 3)
14673 return 0;
14675 _ACEOF
14676 if ac_fn_c_try_run "$LINENO"; then :
14677 ac_cv_c_gcc_strength_bug="no"
14678 else
14679 ac_cv_c_gcc_strength_bug="yes"
14681 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14682 conftest.$ac_objext conftest.beam conftest.$ac_ext
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14687 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14688 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14689 then
14690 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14694 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14695 if ${ac_cv_cflags__fno_builtin+:} false; then :
14696 $as_echo_n "(cached) " >&6
14697 else
14698 ac_wine_try_cflags_saved=$CFLAGS
14699 CFLAGS="$CFLAGS -fno-builtin"
14700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14702 int main(int argc, char **argv) { return 0; }
14703 _ACEOF
14704 if ac_fn_c_try_link "$LINENO"; then :
14705 ac_cv_cflags__fno_builtin=yes
14706 else
14707 ac_cv_cflags__fno_builtin=no
14709 rm -f core conftest.err conftest.$ac_objext \
14710 conftest$ac_exeext conftest.$ac_ext
14711 CFLAGS=$ac_wine_try_cflags_saved
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14714 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14715 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14716 BUILTINFLAG="-fno-builtin"
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14720 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14721 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14722 $as_echo_n "(cached) " >&6
14723 else
14724 ac_wine_try_cflags_saved=$CFLAGS
14725 CFLAGS="$CFLAGS -fno-strict-aliasing"
14726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14727 /* end confdefs.h. */
14728 int main(int argc, char **argv) { return 0; }
14729 _ACEOF
14730 if ac_fn_c_try_link "$LINENO"; then :
14731 ac_cv_cflags__fno_strict_aliasing=yes
14732 else
14733 ac_cv_cflags__fno_strict_aliasing=no
14735 rm -f core conftest.err conftest.$ac_objext \
14736 conftest$ac_exeext conftest.$ac_ext
14737 CFLAGS=$ac_wine_try_cflags_saved
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14740 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14741 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14742 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14745 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14746 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14747 $as_echo_n "(cached) " >&6
14748 else
14749 ac_wine_try_cflags_saved=$CFLAGS
14750 CFLAGS="$CFLAGS -fexcess-precision=standard"
14751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14752 /* end confdefs.h. */
14753 int main(int argc, char **argv) { return 0; }
14754 _ACEOF
14755 if ac_fn_c_try_link "$LINENO"; then :
14756 ac_cv_cflags__fexcess_precision_standard=yes
14757 else
14758 ac_cv_cflags__fexcess_precision_standard=no
14760 rm -f core conftest.err conftest.$ac_objext \
14761 conftest$ac_exeext conftest.$ac_ext
14762 CFLAGS=$ac_wine_try_cflags_saved
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14765 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14766 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14767 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14770 saved_CFLAGS=$CFLAGS
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14772 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14773 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14774 $as_echo_n "(cached) " >&6
14775 else
14776 ac_wine_try_cflags_saved=$CFLAGS
14777 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14779 /* end confdefs.h. */
14780 int main(int argc, char **argv) { return 0; }
14781 _ACEOF
14782 if ac_fn_c_try_link "$LINENO"; then :
14783 ac_cv_cflags__Werror_unknown_warning_option=yes
14784 else
14785 ac_cv_cflags__Werror_unknown_warning_option=no
14787 rm -f core conftest.err conftest.$ac_objext \
14788 conftest$ac_exeext conftest.$ac_ext
14789 CFLAGS=$ac_wine_try_cflags_saved
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14792 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14793 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14794 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14797 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14798 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14799 $as_echo_n "(cached) " >&6
14800 else
14801 ac_wine_try_cflags_saved=$CFLAGS
14802 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14804 /* end confdefs.h. */
14805 int main(int argc, char **argv) { return 0; }
14806 _ACEOF
14807 if ac_fn_c_try_link "$LINENO"; then :
14808 ac_cv_cflags__Wdeclaration_after_statement=yes
14809 else
14810 ac_cv_cflags__Wdeclaration_after_statement=no
14812 rm -f core conftest.err conftest.$ac_objext \
14813 conftest$ac_exeext conftest.$ac_ext
14814 CFLAGS=$ac_wine_try_cflags_saved
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14817 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14818 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14819 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14822 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14823 if ${ac_cv_cflags__Wempty_body+:} false; then :
14824 $as_echo_n "(cached) " >&6
14825 else
14826 ac_wine_try_cflags_saved=$CFLAGS
14827 CFLAGS="$CFLAGS -Wempty-body"
14828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14829 /* end confdefs.h. */
14830 int main(int argc, char **argv) { return 0; }
14831 _ACEOF
14832 if ac_fn_c_try_link "$LINENO"; then :
14833 ac_cv_cflags__Wempty_body=yes
14834 else
14835 ac_cv_cflags__Wempty_body=no
14837 rm -f core conftest.err conftest.$ac_objext \
14838 conftest$ac_exeext conftest.$ac_ext
14839 CFLAGS=$ac_wine_try_cflags_saved
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14842 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14843 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14844 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14847 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14848 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14849 $as_echo_n "(cached) " >&6
14850 else
14851 ac_wine_try_cflags_saved=$CFLAGS
14852 CFLAGS="$CFLAGS -Wignored-qualifiers"
14853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14854 /* end confdefs.h. */
14855 int main(int argc, char **argv) { return 0; }
14856 _ACEOF
14857 if ac_fn_c_try_link "$LINENO"; then :
14858 ac_cv_cflags__Wignored_qualifiers=yes
14859 else
14860 ac_cv_cflags__Wignored_qualifiers=no
14862 rm -f core conftest.err conftest.$ac_objext \
14863 conftest$ac_exeext conftest.$ac_ext
14864 CFLAGS=$ac_wine_try_cflags_saved
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14867 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14868 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14869 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14872 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14873 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14874 $as_echo_n "(cached) " >&6
14875 else
14876 ac_wine_try_cflags_saved=$CFLAGS
14877 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14879 /* end confdefs.h. */
14880 int main(int argc, char **argv) { return 0; }
14881 _ACEOF
14882 if ac_fn_c_try_link "$LINENO"; then :
14883 ac_cv_cflags__Wpacked_not_aligned=yes
14884 else
14885 ac_cv_cflags__Wpacked_not_aligned=no
14887 rm -f core conftest.err conftest.$ac_objext \
14888 conftest$ac_exeext conftest.$ac_ext
14889 CFLAGS=$ac_wine_try_cflags_saved
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14892 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14893 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14894 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14897 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14898 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14899 $as_echo_n "(cached) " >&6
14900 else
14901 ac_wine_try_cflags_saved=$CFLAGS
14902 CFLAGS="$CFLAGS -Wpragma-pack"
14903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14904 /* end confdefs.h. */
14905 int main(int argc, char **argv) { return 0; }
14906 _ACEOF
14907 if ac_fn_c_try_link "$LINENO"; then :
14908 ac_cv_cflags__Wpragma_pack=yes
14909 else
14910 ac_cv_cflags__Wpragma_pack=no
14912 rm -f core conftest.err conftest.$ac_objext \
14913 conftest$ac_exeext conftest.$ac_ext
14914 CFLAGS=$ac_wine_try_cflags_saved
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14917 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14918 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14919 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14922 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14923 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14924 $as_echo_n "(cached) " >&6
14925 else
14926 ac_wine_try_cflags_saved=$CFLAGS
14927 CFLAGS="$CFLAGS -Wshift-overflow=2"
14928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14929 /* end confdefs.h. */
14930 int main(int argc, char **argv) { return 0; }
14931 _ACEOF
14932 if ac_fn_c_try_link "$LINENO"; then :
14933 ac_cv_cflags__Wshift_overflow_2=yes
14934 else
14935 ac_cv_cflags__Wshift_overflow_2=no
14937 rm -f core conftest.err conftest.$ac_objext \
14938 conftest$ac_exeext conftest.$ac_ext
14939 CFLAGS=$ac_wine_try_cflags_saved
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14942 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14943 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14944 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14947 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14948 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14949 $as_echo_n "(cached) " >&6
14950 else
14951 ac_wine_try_cflags_saved=$CFLAGS
14952 CFLAGS="$CFLAGS -Wstrict-prototypes"
14953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h. */
14955 int main(int argc, char **argv) { return 0; }
14956 _ACEOF
14957 if ac_fn_c_try_link "$LINENO"; then :
14958 ac_cv_cflags__Wstrict_prototypes=yes
14959 else
14960 ac_cv_cflags__Wstrict_prototypes=no
14962 rm -f core conftest.err conftest.$ac_objext \
14963 conftest$ac_exeext conftest.$ac_ext
14964 CFLAGS=$ac_wine_try_cflags_saved
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14967 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14968 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14969 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14972 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14973 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14974 $as_echo_n "(cached) " >&6
14975 else
14976 ac_wine_try_cflags_saved=$CFLAGS
14977 CFLAGS="$CFLAGS -Wtype-limits"
14978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14980 int main(int argc, char **argv) { return 0; }
14981 _ACEOF
14982 if ac_fn_c_try_link "$LINENO"; then :
14983 ac_cv_cflags__Wtype_limits=yes
14984 else
14985 ac_cv_cflags__Wtype_limits=no
14987 rm -f core conftest.err conftest.$ac_objext \
14988 conftest$ac_exeext conftest.$ac_ext
14989 CFLAGS=$ac_wine_try_cflags_saved
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14992 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14993 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14994 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14997 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14998 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14999 $as_echo_n "(cached) " >&6
15000 else
15001 ac_wine_try_cflags_saved=$CFLAGS
15002 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15004 /* end confdefs.h. */
15005 int main(int argc, char **argv) { return 0; }
15006 _ACEOF
15007 if ac_fn_c_try_link "$LINENO"; then :
15008 ac_cv_cflags__Wunused_but_set_parameter=yes
15009 else
15010 ac_cv_cflags__Wunused_but_set_parameter=no
15012 rm -f core conftest.err conftest.$ac_objext \
15013 conftest$ac_exeext conftest.$ac_ext
15014 CFLAGS=$ac_wine_try_cflags_saved
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15017 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15018 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15019 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15022 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15023 if ${ac_cv_cflags__Wvla+:} false; then :
15024 $as_echo_n "(cached) " >&6
15025 else
15026 ac_wine_try_cflags_saved=$CFLAGS
15027 CFLAGS="$CFLAGS -Wvla"
15028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15029 /* end confdefs.h. */
15030 int main(int argc, char **argv) { return 0; }
15031 _ACEOF
15032 if ac_fn_c_try_link "$LINENO"; then :
15033 ac_cv_cflags__Wvla=yes
15034 else
15035 ac_cv_cflags__Wvla=no
15037 rm -f core conftest.err conftest.$ac_objext \
15038 conftest$ac_exeext conftest.$ac_ext
15039 CFLAGS=$ac_wine_try_cflags_saved
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15042 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15043 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15044 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15047 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15048 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15049 $as_echo_n "(cached) " >&6
15050 else
15051 ac_wine_try_cflags_saved=$CFLAGS
15052 CFLAGS="$CFLAGS -Wwrite-strings"
15053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15054 /* end confdefs.h. */
15055 int main(int argc, char **argv) { return 0; }
15056 _ACEOF
15057 if ac_fn_c_try_link "$LINENO"; then :
15058 ac_cv_cflags__Wwrite_strings=yes
15059 else
15060 ac_cv_cflags__Wwrite_strings=no
15062 rm -f core conftest.err conftest.$ac_objext \
15063 conftest$ac_exeext conftest.$ac_ext
15064 CFLAGS=$ac_wine_try_cflags_saved
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15067 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15068 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15069 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15073 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15074 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15075 $as_echo_n "(cached) " >&6
15076 else
15077 ac_wine_try_cflags_saved=$CFLAGS
15078 CFLAGS="$CFLAGS -Wpointer-arith"
15079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15080 /* end confdefs.h. */
15081 int main(int argc, char **argv) { return 0; }
15082 _ACEOF
15083 if ac_fn_c_try_link "$LINENO"; then :
15084 ac_cv_cflags__Wpointer_arith=yes
15085 else
15086 ac_cv_cflags__Wpointer_arith=no
15088 rm -f core conftest.err conftest.$ac_objext \
15089 conftest$ac_exeext conftest.$ac_ext
15090 CFLAGS=$ac_wine_try_cflags_saved
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15093 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15094 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15095 saved_string_h_CFLAGS=$CFLAGS
15096 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15098 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15099 if ${ac_cv_c_string_h_warnings+:} false; then :
15100 $as_echo_n "(cached) " >&6
15101 else
15102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15104 #include <string.h>
15106 main ()
15110 return 0;
15112 _ACEOF
15113 if ac_fn_c_try_compile "$LINENO"; then :
15114 ac_cv_c_string_h_warnings=no
15115 else
15116 ac_cv_c_string_h_warnings=yes
15118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15121 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15122 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15123 CFLAGS=$saved_string_h_CFLAGS
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15127 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15128 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15129 $as_echo_n "(cached) " >&6
15130 else
15131 ac_wine_try_cflags_saved=$CFLAGS
15132 CFLAGS="$CFLAGS -Wlogical-op"
15133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15134 /* end confdefs.h. */
15135 int main(int argc, char **argv) { return 0; }
15136 _ACEOF
15137 if ac_fn_c_try_link "$LINENO"; then :
15138 ac_cv_cflags__Wlogical_op=yes
15139 else
15140 ac_cv_cflags__Wlogical_op=no
15142 rm -f core conftest.err conftest.$ac_objext \
15143 conftest$ac_exeext conftest.$ac_ext
15144 CFLAGS=$ac_wine_try_cflags_saved
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15147 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15148 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15149 saved_string_h_CFLAGS=$CFLAGS
15150 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15152 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15153 if ${ac_cv_c_logicalop_noisy+:} false; then :
15154 $as_echo_n "(cached) " >&6
15155 else
15156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15158 #include <string.h>
15159 char*f(const char *h,char n) {return strchr(h,n);}
15161 main ()
15165 return 0;
15167 _ACEOF
15168 if ac_fn_c_try_compile "$LINENO"; then :
15169 ac_cv_c_logicalop_noisy=no
15170 else
15171 ac_cv_c_logicalop_noisy=yes
15173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15176 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15177 CFLAGS=$saved_string_h_CFLAGS
15178 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15181 CFLAGS=$saved_CFLAGS
15183 for ac_flag in $CFLAGS; do
15184 case $ac_flag in
15185 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15186 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15187 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15188 $as_echo_n "(cached) " >&6
15189 else
15190 ac_wine_try_cflags_saved=$CFLAGS
15191 CFLAGS="$CFLAGS -gdwarf-2"
15192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15193 /* end confdefs.h. */
15194 int main(int argc, char **argv) { return 0; }
15195 _ACEOF
15196 if ac_fn_c_try_link "$LINENO"; then :
15197 ac_cv_cflags__gdwarf_2=yes
15198 else
15199 ac_cv_cflags__gdwarf_2=no
15201 rm -f core conftest.err conftest.$ac_objext \
15202 conftest$ac_exeext conftest.$ac_ext
15203 CFLAGS=$ac_wine_try_cflags_saved
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15206 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15207 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15208 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15211 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15212 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15213 $as_echo_n "(cached) " >&6
15214 else
15215 ac_wine_try_cflags_saved=$CFLAGS
15216 CFLAGS="$CFLAGS -gstrict-dwarf"
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15219 int main(int argc, char **argv) { return 0; }
15220 _ACEOF
15221 if ac_fn_c_try_link "$LINENO"; then :
15222 ac_cv_cflags__gstrict_dwarf=yes
15223 else
15224 ac_cv_cflags__gstrict_dwarf=no
15226 rm -f core conftest.err conftest.$ac_objext \
15227 conftest$ac_exeext conftest.$ac_ext
15228 CFLAGS=$ac_wine_try_cflags_saved
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15231 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15232 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15233 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15234 fi ;;
15235 esac
15236 done
15238 case $host_cpu in
15239 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15240 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15241 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15242 $as_echo_n "(cached) " >&6
15243 else
15244 ac_wine_try_cflags_saved=$CFLAGS
15245 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15247 /* end confdefs.h. */
15248 int main(int argc, char **argv) { return 0; }
15249 _ACEOF
15250 if ac_fn_c_try_link "$LINENO"; then :
15251 ac_cv_cflags__fno_omit_frame_pointer=yes
15252 else
15253 ac_cv_cflags__fno_omit_frame_pointer=no
15255 rm -f core conftest.err conftest.$ac_objext \
15256 conftest$ac_exeext conftest.$ac_ext
15257 CFLAGS=$ac_wine_try_cflags_saved
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15260 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15261 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15262 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15263 fi ;;
15264 esac
15266 case $host in
15267 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15268 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15269 if ${ac_cv_cflags__Wno_format+:} false; then :
15270 $as_echo_n "(cached) " >&6
15271 else
15272 ac_wine_try_cflags_saved=$CFLAGS
15273 CFLAGS="$CFLAGS -Wno-format"
15274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15275 /* end confdefs.h. */
15276 int main(int argc, char **argv) { return 0; }
15277 _ACEOF
15278 if ac_fn_c_try_link "$LINENO"; then :
15279 ac_cv_cflags__Wno_format=yes
15280 else
15281 ac_cv_cflags__Wno_format=no
15283 rm -f core conftest.err conftest.$ac_objext \
15284 conftest$ac_exeext conftest.$ac_ext
15285 CFLAGS=$ac_wine_try_cflags_saved
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15288 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15289 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15290 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15291 fi ;;
15292 esac
15294 if test "x$enable_maintainer_mode" = "xyes"
15295 then
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15297 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15298 if ${ac_cv_cflags__Werror+:} false; then :
15299 $as_echo_n "(cached) " >&6
15300 else
15301 ac_wine_try_cflags_saved=$CFLAGS
15302 CFLAGS="$CFLAGS -Werror"
15303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15304 /* end confdefs.h. */
15305 int main(int argc, char **argv) { return 0; }
15306 _ACEOF
15307 if ac_fn_c_try_link "$LINENO"; then :
15308 ac_cv_cflags__Werror=yes
15309 else
15310 ac_cv_cflags__Werror=no
15312 rm -f core conftest.err conftest.$ac_objext \
15313 conftest$ac_exeext conftest.$ac_ext
15314 CFLAGS=$ac_wine_try_cflags_saved
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15317 $as_echo "$ac_cv_cflags__Werror" >&6; }
15318 if test "x$ac_cv_cflags__Werror" = xyes; then :
15319 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15323 saved_CFLAGS="$CFLAGS"
15324 CFLAGS="$CFLAGS -Werror"
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15326 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15327 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15328 $as_echo_n "(cached) " >&6
15329 else
15330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15331 /* end confdefs.h. */
15332 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15334 main ()
15338 return 0;
15340 _ACEOF
15341 if ac_fn_c_try_compile "$LINENO"; then :
15342 ac_cv_have_ms_hook_prologue="yes"
15343 else
15344 ac_cv_have_ms_hook_prologue="no"
15346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15349 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15350 CFLAGS="$saved_CFLAGS"
15351 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15352 then
15354 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15356 else
15357 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15364 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15365 if ${ac_cv_c_fortify_enabled+:} false; then :
15366 $as_echo_n "(cached) " >&6
15367 else
15368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15369 /* end confdefs.h. */
15370 #include <string.h>
15372 main ()
15374 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15375 #error Fortify enabled
15376 #endif
15378 return 0;
15380 _ACEOF
15381 if ac_fn_c_try_compile "$LINENO"; then :
15382 ac_cv_c_fortify_enabled=no
15383 else
15384 ac_cv_c_fortify_enabled=yes
15386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15389 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15390 if test "$ac_cv_c_fortify_enabled" = yes
15391 then
15392 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15397 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15398 if ${ac_cv_c_extern_prefix+:} false; then :
15399 $as_echo_n "(cached) " >&6
15400 else
15401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15402 /* end confdefs.h. */
15403 extern int ac_test;
15405 main ()
15407 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15409 return 0;
15411 _ACEOF
15412 if ac_fn_c_try_link "$LINENO"; then :
15413 ac_cv_c_extern_prefix="yes"
15414 else
15415 ac_cv_c_extern_prefix="no"
15417 rm -f core conftest.err conftest.$ac_objext \
15418 conftest$ac_exeext conftest.$ac_ext
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15421 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15423 case $host_cpu in
15424 *i[3456789]86*)
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15426 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15427 if ${ac_cv_c_stdcall_suffix+:} false; then :
15428 $as_echo_n "(cached) " >&6
15429 else
15430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15431 /* end confdefs.h. */
15432 #ifndef _MSC_VER
15433 #define __stdcall __attribute__((__stdcall__))
15434 #endif
15435 int __stdcall ac_test(int i) { return i; }
15437 main ()
15439 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15441 return 0;
15443 _ACEOF
15444 if ac_fn_c_try_link "$LINENO"; then :
15445 ac_cv_c_stdcall_suffix="yes"
15446 else
15447 ac_cv_c_stdcall_suffix="no"
15449 rm -f core conftest.err conftest.$ac_objext \
15450 conftest$ac_exeext conftest.$ac_ext
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15453 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15454 *) ac_cv_c_stdcall_suffix="no" ;;
15455 esac
15458 if test "$ac_cv_c_extern_prefix" = "yes"
15459 then
15460 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15462 asm_name_prefix="_"
15463 else
15464 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15466 asm_name_prefix=""
15470 if test "$ac_cv_c_stdcall_suffix" = "yes"
15471 then
15472 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15474 else
15475 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15481 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15482 if ${ac_cv_asm_func_def+:} false; then :
15483 $as_echo_n "(cached) " >&6
15484 else
15485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15486 /* end confdefs.h. */
15489 main ()
15491 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15493 return 0;
15495 _ACEOF
15496 if ac_fn_c_try_link "$LINENO"; then :
15497 ac_cv_asm_func_def=".def"
15498 else
15499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15500 /* end confdefs.h. */
15503 main ()
15505 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15507 return 0;
15509 _ACEOF
15510 if ac_fn_c_try_link "$LINENO"; then :
15511 ac_cv_asm_func_def=".type @function"
15512 else
15513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15514 /* end confdefs.h. */
15517 main ()
15519 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15521 return 0;
15523 _ACEOF
15524 if ac_fn_c_try_link "$LINENO"; then :
15525 ac_cv_asm_func_def=".type 2"
15526 else
15527 ac_cv_asm_func_def="unknown"
15529 rm -f core conftest.err conftest.$ac_objext \
15530 conftest$ac_exeext conftest.$ac_ext
15532 rm -f core conftest.err conftest.$ac_objext \
15533 conftest$ac_exeext conftest.$ac_ext
15535 rm -f core conftest.err conftest.$ac_objext \
15536 conftest$ac_exeext conftest.$ac_ext
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15539 $as_echo "$ac_cv_asm_func_def" >&6; }
15542 case "$ac_cv_asm_func_def" in
15543 ".def")
15544 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15546 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15547 ".type @function")
15548 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15550 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15551 ".type 2")
15552 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15554 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15556 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15558 asm_func_header="" ;;
15559 esac
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15562 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15563 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15564 $as_echo_n "(cached) " >&6
15565 else
15566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15567 /* end confdefs.h. */
15568 asm(".text\n\t.long 0");
15570 main ()
15574 return 0;
15576 _ACEOF
15577 if ac_fn_c_try_compile "$LINENO"; then :
15578 ac_cv_c_asm_outside_funcs="yes"
15579 else
15580 ac_cv_c_asm_outside_funcs="no"
15582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15585 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15588 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15589 if ${ac_cv_c_dot_previous+:} false; then :
15590 $as_echo_n "(cached) " >&6
15591 else
15592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15593 /* end confdefs.h. */
15596 main ()
15598 asm(".text\nac_test:\t.long 0\n\t.previous");
15600 return 0;
15602 _ACEOF
15603 if ac_fn_c_try_link "$LINENO"; then :
15604 ac_cv_c_dot_previous="yes"
15605 else
15606 ac_cv_c_dot_previous="no"
15608 rm -f core conftest.err conftest.$ac_objext \
15609 conftest$ac_exeext conftest.$ac_ext
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15612 $as_echo "$ac_cv_c_dot_previous" >&6; }
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15615 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15616 if ${ac_cv_c_cfi_support+:} false; then :
15617 $as_echo_n "(cached) " >&6
15618 else
15619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15620 /* end confdefs.h. */
15621 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15623 main ()
15627 return 0;
15629 _ACEOF
15630 if ac_fn_c_try_compile "$LINENO"; then :
15631 ac_cv_c_cfi_support="yes"
15632 else
15633 ac_cv_c_cfi_support="no"
15635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15638 $as_echo "$ac_cv_c_cfi_support" >&6; }
15640 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15641 asm_func_trailer=""
15642 if test "$ac_cv_c_dot_previous" = "yes"
15643 then
15644 asm_func_trailer="\\n\\t.previous"
15646 if test "$ac_cv_c_cfi_support" = "yes"
15647 then
15648 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15649 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15651 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15653 UNWINDFLAGS=-fasynchronous-unwind-tables
15655 else
15656 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15658 if test "x$enable_win64" = "xyes"
15659 then
15660 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15664 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15667 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15668 then
15669 cat >>confdefs.h <<_ACEOF
15670 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15671 _ACEOF
15673 else
15674 cat >>confdefs.h <<_ACEOF
15675 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15676 _ACEOF
15680 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15683 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15687 case $build_os in
15688 cygwin*|mingw32*) TOOLSEXT=".exe"
15690 esac
15692 case $host_os in
15693 linux*)
15694 case $host_cpu in
15695 *i[3456789]86*|x86_64*|*aarch64*)
15696 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15697 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15699 esac
15701 esac
15704 ac_save_CFLAGS="$CFLAGS"
15705 CFLAGS="$CFLAGS $BUILTINFLAG"
15706 for ac_func in \
15707 __res_get_state \
15708 __res_getservers \
15709 _finite \
15710 _isnan \
15711 _pclose \
15712 _popen \
15713 _snprintf \
15714 _spawnvp \
15715 _strdup \
15716 _stricmp \
15717 _strnicmp \
15718 _strtoi64 \
15719 _strtoui64 \
15720 _vsnprintf \
15721 asctime_r \
15722 chsize \
15723 dlopen \
15724 epoll_create \
15725 ffs \
15726 finitef \
15727 fnmatch \
15728 fork \
15729 fpclass \
15730 fstatfs \
15731 fstatvfs \
15732 ftruncate \
15733 futimens \
15734 futimes \
15735 futimesat \
15736 getattrlist \
15737 getauxval \
15738 getifaddrs \
15739 getopt_long_only \
15740 getpwuid \
15741 gettimeofday \
15742 getuid \
15743 isnanf \
15744 kqueue \
15745 lstat \
15746 memmove \
15747 mmap \
15748 pclose \
15749 pipe2 \
15750 poll \
15751 popen \
15752 port_create \
15753 prctl \
15754 pread \
15755 proc_pidinfo \
15756 pwrite \
15757 readdir \
15758 readlink \
15759 sched_yield \
15760 select \
15761 setproctitle \
15762 setprogname \
15763 setrlimit \
15764 settimeofday \
15765 sigaltstack \
15766 sigprocmask \
15767 snprintf \
15768 statfs \
15769 statvfs \
15770 strcasecmp \
15771 strdup \
15772 strerror \
15773 strncasecmp \
15774 strnlen \
15775 strtold \
15776 strtoll \
15777 strtoull \
15778 symlink \
15779 sysinfo \
15780 tcdrain \
15781 thr_kill2 \
15782 timegm \
15783 usleep \
15784 vsnprintf
15786 do :
15787 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15788 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15789 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15790 cat >>confdefs.h <<_ACEOF
15791 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15792 _ACEOF
15795 done
15797 CFLAGS="$ac_save_CFLAGS"
15799 if test "$ac_cv_func_dlopen" = no
15800 then
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15802 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15803 if ${ac_cv_lib_dl_dlopen+:} false; then :
15804 $as_echo_n "(cached) " >&6
15805 else
15806 ac_check_lib_save_LIBS=$LIBS
15807 LIBS="-ldl $LIBS"
15808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15809 /* end confdefs.h. */
15811 /* Override any GCC internal prototype to avoid an error.
15812 Use char because int might match the return type of a GCC
15813 builtin and then its argument prototype would still apply. */
15814 #ifdef __cplusplus
15815 extern "C"
15816 #endif
15817 char dlopen ();
15819 main ()
15821 return dlopen ();
15823 return 0;
15825 _ACEOF
15826 if ac_fn_c_try_link "$LINENO"; then :
15827 ac_cv_lib_dl_dlopen=yes
15828 else
15829 ac_cv_lib_dl_dlopen=no
15831 rm -f core conftest.err conftest.$ac_objext \
15832 conftest$ac_exeext conftest.$ac_ext
15833 LIBS=$ac_check_lib_save_LIBS
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15836 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15837 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15838 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15839 DL_LIBS="-ldl"
15844 ac_wine_check_funcs_save_LIBS="$LIBS"
15845 LIBS="$LIBS $DL_LIBS"
15846 for ac_func in dladdr
15847 do :
15848 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15849 if test "x$ac_cv_func_dladdr" = xyes; then :
15850 cat >>confdefs.h <<_ACEOF
15851 #define HAVE_DLADDR 1
15852 _ACEOF
15855 done
15857 LIBS="$ac_wine_check_funcs_save_LIBS"
15859 if test "$ac_cv_func_poll" = no
15860 then
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15862 $as_echo_n "checking for poll in -lpoll... " >&6; }
15863 if ${ac_cv_lib_poll_poll+:} false; then :
15864 $as_echo_n "(cached) " >&6
15865 else
15866 ac_check_lib_save_LIBS=$LIBS
15867 LIBS="-lpoll $LIBS"
15868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15869 /* end confdefs.h. */
15871 /* Override any GCC internal prototype to avoid an error.
15872 Use char because int might match the return type of a GCC
15873 builtin and then its argument prototype would still apply. */
15874 #ifdef __cplusplus
15875 extern "C"
15876 #endif
15877 char poll ();
15879 main ()
15881 return poll ();
15883 return 0;
15885 _ACEOF
15886 if ac_fn_c_try_link "$LINENO"; then :
15887 ac_cv_lib_poll_poll=yes
15888 else
15889 ac_cv_lib_poll_poll=no
15891 rm -f core conftest.err conftest.$ac_objext \
15892 conftest$ac_exeext conftest.$ac_ext
15893 LIBS=$ac_check_lib_save_LIBS
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15896 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15897 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15898 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15899 POLL_LIBS="-lpoll"
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15906 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15907 if ${ac_cv_search_gethostbyname+:} false; then :
15908 $as_echo_n "(cached) " >&6
15909 else
15910 ac_func_search_save_LIBS=$LIBS
15911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15912 /* end confdefs.h. */
15914 /* Override any GCC internal prototype to avoid an error.
15915 Use char because int might match the return type of a GCC
15916 builtin and then its argument prototype would still apply. */
15917 #ifdef __cplusplus
15918 extern "C"
15919 #endif
15920 char gethostbyname ();
15922 main ()
15924 return gethostbyname ();
15926 return 0;
15928 _ACEOF
15929 for ac_lib in '' nsl; do
15930 if test -z "$ac_lib"; then
15931 ac_res="none required"
15932 else
15933 ac_res=-l$ac_lib
15934 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15936 if ac_fn_c_try_link "$LINENO"; then :
15937 ac_cv_search_gethostbyname=$ac_res
15939 rm -f core conftest.err conftest.$ac_objext \
15940 conftest$ac_exeext
15941 if ${ac_cv_search_gethostbyname+:} false; then :
15942 break
15944 done
15945 if ${ac_cv_search_gethostbyname+:} false; then :
15947 else
15948 ac_cv_search_gethostbyname=no
15950 rm conftest.$ac_ext
15951 LIBS=$ac_func_search_save_LIBS
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15954 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15955 ac_res=$ac_cv_search_gethostbyname
15956 if test "$ac_res" != no; then :
15957 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15963 $as_echo_n "checking for library containing connect... " >&6; }
15964 if ${ac_cv_search_connect+:} false; then :
15965 $as_echo_n "(cached) " >&6
15966 else
15967 ac_func_search_save_LIBS=$LIBS
15968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15969 /* end confdefs.h. */
15971 /* Override any GCC internal prototype to avoid an error.
15972 Use char because int might match the return type of a GCC
15973 builtin and then its argument prototype would still apply. */
15974 #ifdef __cplusplus
15975 extern "C"
15976 #endif
15977 char connect ();
15979 main ()
15981 return connect ();
15983 return 0;
15985 _ACEOF
15986 for ac_lib in '' socket; do
15987 if test -z "$ac_lib"; then
15988 ac_res="none required"
15989 else
15990 ac_res=-l$ac_lib
15991 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15993 if ac_fn_c_try_link "$LINENO"; then :
15994 ac_cv_search_connect=$ac_res
15996 rm -f core conftest.err conftest.$ac_objext \
15997 conftest$ac_exeext
15998 if ${ac_cv_search_connect+:} false; then :
15999 break
16001 done
16002 if ${ac_cv_search_connect+:} false; then :
16004 else
16005 ac_cv_search_connect=no
16007 rm conftest.$ac_ext
16008 LIBS=$ac_func_search_save_LIBS
16010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16011 $as_echo "$ac_cv_search_connect" >&6; }
16012 ac_res=$ac_cv_search_connect
16013 if test "$ac_res" != no; then :
16014 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16020 $as_echo_n "checking for library containing inet_aton... " >&6; }
16021 if ${ac_cv_search_inet_aton+:} false; then :
16022 $as_echo_n "(cached) " >&6
16023 else
16024 ac_func_search_save_LIBS=$LIBS
16025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16026 /* end confdefs.h. */
16028 /* Override any GCC internal prototype to avoid an error.
16029 Use char because int might match the return type of a GCC
16030 builtin and then its argument prototype would still apply. */
16031 #ifdef __cplusplus
16032 extern "C"
16033 #endif
16034 char inet_aton ();
16036 main ()
16038 return inet_aton ();
16040 return 0;
16042 _ACEOF
16043 for ac_lib in '' resolv; do
16044 if test -z "$ac_lib"; then
16045 ac_res="none required"
16046 else
16047 ac_res=-l$ac_lib
16048 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16050 if ac_fn_c_try_link "$LINENO"; then :
16051 ac_cv_search_inet_aton=$ac_res
16053 rm -f core conftest.err conftest.$ac_objext \
16054 conftest$ac_exeext
16055 if ${ac_cv_search_inet_aton+:} false; then :
16056 break
16058 done
16059 if ${ac_cv_search_inet_aton+:} false; then :
16061 else
16062 ac_cv_search_inet_aton=no
16064 rm conftest.$ac_ext
16065 LIBS=$ac_func_search_save_LIBS
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16068 $as_echo "$ac_cv_search_inet_aton" >&6; }
16069 ac_res=$ac_cv_search_inet_aton
16070 if test "$ac_res" != no; then :
16071 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16076 for ac_func in \
16077 getaddrinfo \
16078 getnameinfo \
16079 getnetbyname \
16080 getprotobyname \
16081 getprotobynumber \
16082 getservbyport \
16083 inet_addr \
16084 inet_network \
16085 inet_ntop \
16086 inet_pton \
16087 sendmsg \
16088 socketpair \
16090 do :
16091 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16092 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16093 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16094 cat >>confdefs.h <<_ACEOF
16095 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16096 _ACEOF
16099 done
16102 ac_save_LIBS=$LIBS
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16104 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16105 if ${ac_cv_search_clock_gettime+:} false; then :
16106 $as_echo_n "(cached) " >&6
16107 else
16108 ac_func_search_save_LIBS=$LIBS
16109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16110 /* end confdefs.h. */
16112 /* Override any GCC internal prototype to avoid an error.
16113 Use char because int might match the return type of a GCC
16114 builtin and then its argument prototype would still apply. */
16115 #ifdef __cplusplus
16116 extern "C"
16117 #endif
16118 char clock_gettime ();
16120 main ()
16122 return clock_gettime ();
16124 return 0;
16126 _ACEOF
16127 for ac_lib in '' rt; do
16128 if test -z "$ac_lib"; then
16129 ac_res="none required"
16130 else
16131 ac_res=-l$ac_lib
16132 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16134 if ac_fn_c_try_link "$LINENO"; then :
16135 ac_cv_search_clock_gettime=$ac_res
16137 rm -f core conftest.err conftest.$ac_objext \
16138 conftest$ac_exeext
16139 if ${ac_cv_search_clock_gettime+:} false; then :
16140 break
16142 done
16143 if ${ac_cv_search_clock_gettime+:} false; then :
16145 else
16146 ac_cv_search_clock_gettime=no
16148 rm conftest.$ac_ext
16149 LIBS=$ac_func_search_save_LIBS
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16152 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16153 ac_res=$ac_cv_search_clock_gettime
16154 if test "$ac_res" != no; then :
16155 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16157 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16159 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16163 LIBS=$ac_save_LIBS
16165 if test "x$with_ldap" != "xno"
16166 then
16167 if ${LDAP_CFLAGS:+false} :; then :
16168 if ${PKG_CONFIG+:} false; then :
16169 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16173 if ${LDAP_LIBS:+false} :; then :
16174 if ${PKG_CONFIG+:} false; then :
16175 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16179 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16180 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16181 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16182 ac_save_CPPFLAGS=$CPPFLAGS
16183 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16184 for ac_header in ldap.h lber.h
16185 do :
16186 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16187 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16188 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16189 cat >>confdefs.h <<_ACEOF
16190 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16191 _ACEOF
16195 done
16197 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16198 then
16199 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16201 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16203 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16204 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16205 $as_echo_n "(cached) " >&6
16206 else
16207 ac_check_lib_save_LIBS=$LIBS
16208 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16210 /* end confdefs.h. */
16212 /* Override any GCC internal prototype to avoid an error.
16213 Use char because int might match the return type of a GCC
16214 builtin and then its argument prototype would still apply. */
16215 #ifdef __cplusplus
16216 extern "C"
16217 #endif
16218 char ldap_initialize ();
16220 main ()
16222 return ldap_initialize ();
16224 return 0;
16226 _ACEOF
16227 if ac_fn_c_try_link "$LINENO"; then :
16228 ac_cv_lib_ldap_r_ldap_initialize=yes
16229 else
16230 ac_cv_lib_ldap_r_ldap_initialize=no
16232 rm -f core conftest.err conftest.$ac_objext \
16233 conftest$ac_exeext conftest.$ac_ext
16234 LIBS=$ac_check_lib_save_LIBS
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16237 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16238 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16240 $as_echo_n "checking for ber_init in -llber... " >&6; }
16241 if ${ac_cv_lib_lber_ber_init+:} false; then :
16242 $as_echo_n "(cached) " >&6
16243 else
16244 ac_check_lib_save_LIBS=$LIBS
16245 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16247 /* end confdefs.h. */
16249 /* Override any GCC internal prototype to avoid an error.
16250 Use char because int might match the return type of a GCC
16251 builtin and then its argument prototype would still apply. */
16252 #ifdef __cplusplus
16253 extern "C"
16254 #endif
16255 char ber_init ();
16257 main ()
16259 return ber_init ();
16261 return 0;
16263 _ACEOF
16264 if ac_fn_c_try_link "$LINENO"; then :
16265 ac_cv_lib_lber_ber_init=yes
16266 else
16267 ac_cv_lib_lber_ber_init=no
16269 rm -f core conftest.err conftest.$ac_objext \
16270 conftest$ac_exeext conftest.$ac_ext
16271 LIBS=$ac_check_lib_save_LIBS
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16274 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16275 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16277 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16279 else
16280 LDAP_LIBS=""
16283 else
16284 LDAP_LIBS=""
16287 else
16288 LDAP_LIBS=""
16291 ac_wine_check_funcs_save_LIBS="$LIBS"
16292 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16293 for ac_func in \
16294 ldap_count_references \
16295 ldap_first_reference \
16296 ldap_next_reference \
16297 ldap_parse_reference \
16298 ldap_parse_sort_control \
16299 ldap_parse_sortresponse_control \
16300 ldap_parse_vlv_control \
16301 ldap_parse_vlvresponse_control
16302 do :
16303 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16305 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16306 cat >>confdefs.h <<_ACEOF
16307 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16308 _ACEOF
16311 done
16313 LIBS="$ac_wine_check_funcs_save_LIBS"
16314 else
16315 LDAP_LIBS=""
16317 CPPFLAGS=$ac_save_CPPFLAGS
16318 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16319 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16322 if test "x$LDAP_LIBS" = "x"; then :
16323 case "x$with_ldap" in
16324 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16325 xno) ;;
16326 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16327 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16328 esac
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16333 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16334 if ${wine_cv_one_arg_mkdir+:} false; then :
16335 $as_echo_n "(cached) " >&6
16336 else
16337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16338 /* end confdefs.h. */
16339 #include <sys/stat.h>
16341 main ()
16343 mkdir("foo");
16345 return 0;
16347 _ACEOF
16348 if ac_fn_c_try_compile "$LINENO"; then :
16349 wine_cv_one_arg_mkdir=yes
16350 else
16351 wine_cv_one_arg_mkdir=no
16353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16356 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16357 if test "$wine_cv_one_arg_mkdir" = "yes"
16358 then
16360 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16365 $as_echo_n "checking for sched_setaffinity... " >&6; }
16366 if ${wine_cv_have_sched_setaffinity+:} false; then :
16367 $as_echo_n "(cached) " >&6
16368 else
16369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16371 #define _GNU_SOURCE
16372 #include <sched.h>
16374 main ()
16376 sched_setaffinity(0, 0, 0);
16378 return 0;
16380 _ACEOF
16381 if ac_fn_c_try_link "$LINENO"; then :
16382 wine_cv_have_sched_setaffinity=yes
16383 else
16384 wine_cv_have_sched_setaffinity=no
16386 rm -f core conftest.err conftest.$ac_objext \
16387 conftest$ac_exeext conftest.$ac_ext
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16390 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16391 if test "$wine_cv_have_sched_setaffinity" = "yes"
16392 then
16394 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16399 $as_echo_n "checking for fallocate... " >&6; }
16400 if ${wine_cv_have_fallocate+:} false; then :
16401 $as_echo_n "(cached) " >&6
16402 else
16403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16404 /* end confdefs.h. */
16405 #define _GNU_SOURCE
16406 #include <fcntl.h>
16408 main ()
16410 fallocate(-1, 0, 0, 0);
16412 return 0;
16414 _ACEOF
16415 if ac_fn_c_try_link "$LINENO"; then :
16416 wine_cv_have_fallocate=yes
16417 else
16418 wine_cv_have_fallocate=no
16420 rm -f core conftest.err conftest.$ac_objext \
16421 conftest$ac_exeext conftest.$ac_ext
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16424 $as_echo "$wine_cv_have_fallocate" >&6; }
16425 if test "$wine_cv_have_fallocate" = "yes"
16426 then
16428 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16434 $as_echo_n "checking for inline... " >&6; }
16435 if ${ac_cv_c_inline+:} false; then :
16436 $as_echo_n "(cached) " >&6
16437 else
16438 ac_cv_c_inline=no
16439 for ac_kw in inline __inline__ __inline; do
16440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16441 /* end confdefs.h. */
16442 #ifndef __cplusplus
16443 typedef int foo_t;
16444 static $ac_kw foo_t static_foo () {return 0; }
16445 $ac_kw foo_t foo () {return 0; }
16446 #endif
16448 _ACEOF
16449 if ac_fn_c_try_compile "$LINENO"; then :
16450 ac_cv_c_inline=$ac_kw
16452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16453 test "$ac_cv_c_inline" != no && break
16454 done
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16458 $as_echo "$ac_cv_c_inline" >&6; }
16460 case $ac_cv_c_inline in
16461 inline | yes) ;;
16463 case $ac_cv_c_inline in
16464 no) ac_val=;;
16465 *) ac_val=$ac_cv_c_inline;;
16466 esac
16467 cat >>confdefs.h <<_ACEOF
16468 #ifndef __cplusplus
16469 #define inline $ac_val
16470 #endif
16471 _ACEOF
16473 esac
16475 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16476 if test "x$ac_cv_type_mode_t" = xyes; then :
16478 cat >>confdefs.h <<_ACEOF
16479 #define HAVE_MODE_T 1
16480 _ACEOF
16484 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16485 if test "x$ac_cv_type_off_t" = xyes; then :
16487 cat >>confdefs.h <<_ACEOF
16488 #define HAVE_OFF_T 1
16489 _ACEOF
16493 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16494 if test "x$ac_cv_type_pid_t" = xyes; then :
16496 cat >>confdefs.h <<_ACEOF
16497 #define HAVE_PID_T 1
16498 _ACEOF
16502 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16503 if test "x$ac_cv_type_size_t" = xyes; then :
16505 cat >>confdefs.h <<_ACEOF
16506 #define HAVE_SIZE_T 1
16507 _ACEOF
16511 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16512 if test "x$ac_cv_type_ssize_t" = xyes; then :
16514 cat >>confdefs.h <<_ACEOF
16515 #define HAVE_SSIZE_T 1
16516 _ACEOF
16520 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16521 if test "x$ac_cv_type_long_long" = xyes; then :
16523 cat >>confdefs.h <<_ACEOF
16524 #define HAVE_LONG_LONG 1
16525 _ACEOF
16529 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16530 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16532 cat >>confdefs.h <<_ACEOF
16533 #define HAVE_FSBLKCNT_T 1
16534 _ACEOF
16538 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16539 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16541 cat >>confdefs.h <<_ACEOF
16542 #define HAVE_FSFILCNT_T 1
16543 _ACEOF
16548 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16549 #include <signal.h>
16551 if test "x$ac_cv_type_sigset_t" = xyes; then :
16553 cat >>confdefs.h <<_ACEOF
16554 #define HAVE_SIGSET_T 1
16555 _ACEOF
16560 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16562 if test "x$ac_cv_type_request_sense" = xyes; then :
16564 cat >>confdefs.h <<_ACEOF
16565 #define HAVE_REQUEST_SENSE 1
16566 _ACEOF
16572 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16573 #ifdef HAVE_SYS_SOCKET_H
16574 #include <sys/socket.h>
16575 #endif
16576 #ifdef HAVE_SYS_SOCKETVAR_H
16577 #include <sys/socketvar.h>
16578 #endif
16579 #ifdef HAVE_NET_ROUTE_H
16580 #include <net/route.h>
16581 #endif
16582 #ifdef HAVE_NETINET_IN_H
16583 #include <netinet/in.h>
16584 #endif
16585 #ifdef HAVE_NETINET_IN_SYSTM_H
16586 #include <netinet/in_systm.h>
16587 #endif
16588 #ifdef HAVE_NETINET_IP_H
16589 #include <netinet/ip.h>
16590 #endif
16591 #ifdef HAVE_NETINET_IN_PCB_H
16592 #include <netinet/in_pcb.h>
16593 #endif
16595 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16597 cat >>confdefs.h <<_ACEOF
16598 #define HAVE_STRUCT_XINPGEN 1
16599 _ACEOF
16605 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16606 #include <link.h>
16607 #endif
16608 #ifdef HAVE_SYS_LINK_H
16609 #include <sys/link.h>
16610 #endif
16612 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16614 cat >>confdefs.h <<_ACEOF
16615 #define HAVE_STRUCT_R_DEBUG 1
16616 _ACEOF
16620 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16621 #include <link.h>
16622 #endif
16623 #ifdef HAVE_SYS_LINK_H
16624 #include <sys/link.h>
16625 #endif
16627 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16629 cat >>confdefs.h <<_ACEOF
16630 #define HAVE_STRUCT_LINK_MAP 1
16631 _ACEOF
16637 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16638 #include <linux/input.h>
16639 #endif
16641 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16643 cat >>confdefs.h <<_ACEOF
16644 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16645 _ACEOF
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16652 $as_echo_n "checking for if_nameindex... " >&6; }
16653 if ${wine_cv_have_if_nameindex+:} false; then :
16654 $as_echo_n "(cached) " >&6
16655 else
16656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16657 /* end confdefs.h. */
16658 #ifdef HAVE_SYS_TYPES_H
16659 #include <sys/types.h>
16660 #endif
16661 #ifdef HAVE_SYS_SOCKET_H
16662 #include <sys/socket.h>
16663 #endif
16664 #ifdef HAVE_NET_IF_H
16665 # include <net/if.h>
16666 #endif
16668 main ()
16670 struct if_nameindex *p = if_nameindex(); return p->if_index;
16672 return 0;
16674 _ACEOF
16675 if ac_fn_c_try_link "$LINENO"; then :
16676 wine_cv_have_if_nameindex=yes
16677 else
16678 wine_cv_have_if_nameindex=no
16680 rm -f core conftest.err conftest.$ac_objext \
16681 conftest$ac_exeext conftest.$ac_ext
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16684 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16685 if test "$wine_cv_have_if_nameindex" = "yes"
16686 then
16688 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16693 $as_echo_n "checking for sigaddset... " >&6; }
16694 if ${wine_cv_have_sigaddset+:} false; then :
16695 $as_echo_n "(cached) " >&6
16696 else
16697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16698 /* end confdefs.h. */
16699 #include <signal.h>
16701 main ()
16703 sigset_t set; sigaddset(&set,SIGTERM);
16705 return 0;
16707 _ACEOF
16708 if ac_fn_c_try_link "$LINENO"; then :
16709 wine_cv_have_sigaddset=yes
16710 else
16711 wine_cv_have_sigaddset=no
16713 rm -f core conftest.err conftest.$ac_objext \
16714 conftest$ac_exeext conftest.$ac_ext
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16717 $as_echo "$wine_cv_have_sigaddset" >&6; }
16718 if test "$wine_cv_have_sigaddset" = "yes"
16719 then
16721 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16727 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16728 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16729 $as_echo_n "(cached) " >&6
16730 else
16731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16732 /* end confdefs.h. */
16733 #include <netdb.h>
16735 main ()
16738 char *name=0;
16739 struct hostent he;
16740 struct hostent *result;
16741 char *buf=0;
16742 int bufsize=0;
16743 int errnr;
16744 char *addr=0;
16745 int addrlen=0;
16746 int addrtype=0;
16747 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16748 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16751 return 0;
16753 _ACEOF
16754 if ac_fn_c_try_link "$LINENO"; then :
16755 wine_cv_linux_gethostbyname_r_6=yes
16756 else
16757 wine_cv_linux_gethostbyname_r_6=no
16760 rm -f core conftest.err conftest.$ac_objext \
16761 conftest$ac_exeext conftest.$ac_ext
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16765 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16766 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16767 then
16769 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16773 if test "$ac_cv_header_linux_joystick_h" = "yes"
16774 then
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16776 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16777 if ${wine_cv_linux_joystick_22_api+:} false; then :
16778 $as_echo_n "(cached) " >&6
16779 else
16780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16781 /* end confdefs.h. */
16783 #include <sys/ioctl.h>
16784 #include <sys/types.h>
16785 #include <linux/joystick.h>
16787 struct js_event blub;
16788 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16789 #error "no 2.2 header"
16790 #endif
16793 main ()
16795 /*empty*/
16797 return 0;
16799 _ACEOF
16800 if ac_fn_c_try_compile "$LINENO"; then :
16801 wine_cv_linux_joystick_22_api=yes
16802 else
16803 wine_cv_linux_joystick_22_api=no
16805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16809 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16810 if test "$wine_cv_linux_joystick_22_api" = "yes"
16811 then
16813 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16819 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16820 #ifdef HAVE_SYS_PARAM_H
16821 # include <sys/param.h>
16822 #endif
16823 #ifdef HAVE_SYS_MOUNT_H
16824 # include <sys/mount.h>
16825 #endif
16826 #ifdef HAVE_SYS_VFS_H
16827 # include <sys/vfs.h>
16828 #endif
16829 #ifdef HAVE_SYS_STATFS_H
16830 # include <sys/statfs.h>
16831 #endif
16833 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16835 cat >>confdefs.h <<_ACEOF
16836 #define HAVE_STRUCT_STATFS_F_BFREE 1
16837 _ACEOF
16841 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16842 #ifdef HAVE_SYS_PARAM_H
16843 # include <sys/param.h>
16844 #endif
16845 #ifdef HAVE_SYS_MOUNT_H
16846 # include <sys/mount.h>
16847 #endif
16848 #ifdef HAVE_SYS_VFS_H
16849 # include <sys/vfs.h>
16850 #endif
16851 #ifdef HAVE_SYS_STATFS_H
16852 # include <sys/statfs.h>
16853 #endif
16855 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16857 cat >>confdefs.h <<_ACEOF
16858 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16859 _ACEOF
16863 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16864 #ifdef HAVE_SYS_PARAM_H
16865 # include <sys/param.h>
16866 #endif
16867 #ifdef HAVE_SYS_MOUNT_H
16868 # include <sys/mount.h>
16869 #endif
16870 #ifdef HAVE_SYS_VFS_H
16871 # include <sys/vfs.h>
16872 #endif
16873 #ifdef HAVE_SYS_STATFS_H
16874 # include <sys/statfs.h>
16875 #endif
16877 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16879 cat >>confdefs.h <<_ACEOF
16880 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16881 _ACEOF
16885 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16886 #ifdef HAVE_SYS_PARAM_H
16887 # include <sys/param.h>
16888 #endif
16889 #ifdef HAVE_SYS_MOUNT_H
16890 # include <sys/mount.h>
16891 #endif
16892 #ifdef HAVE_SYS_VFS_H
16893 # include <sys/vfs.h>
16894 #endif
16895 #ifdef HAVE_SYS_STATFS_H
16896 # include <sys/statfs.h>
16897 #endif
16899 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16901 cat >>confdefs.h <<_ACEOF
16902 #define HAVE_STRUCT_STATFS_F_FFREE 1
16903 _ACEOF
16907 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16908 #ifdef HAVE_SYS_PARAM_H
16909 # include <sys/param.h>
16910 #endif
16911 #ifdef HAVE_SYS_MOUNT_H
16912 # include <sys/mount.h>
16913 #endif
16914 #ifdef HAVE_SYS_VFS_H
16915 # include <sys/vfs.h>
16916 #endif
16917 #ifdef HAVE_SYS_STATFS_H
16918 # include <sys/statfs.h>
16919 #endif
16921 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16923 cat >>confdefs.h <<_ACEOF
16924 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16925 _ACEOF
16929 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16930 #ifdef HAVE_SYS_PARAM_H
16931 # include <sys/param.h>
16932 #endif
16933 #ifdef HAVE_SYS_MOUNT_H
16934 # include <sys/mount.h>
16935 #endif
16936 #ifdef HAVE_SYS_VFS_H
16937 # include <sys/vfs.h>
16938 #endif
16939 #ifdef HAVE_SYS_STATFS_H
16940 # include <sys/statfs.h>
16941 #endif
16943 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16945 cat >>confdefs.h <<_ACEOF
16946 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16947 _ACEOF
16953 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16954 #include <sys/statvfs.h>
16955 #endif
16957 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16959 cat >>confdefs.h <<_ACEOF
16960 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16961 _ACEOF
16967 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16968 #include <dirent.h>
16969 #endif
16971 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16973 cat >>confdefs.h <<_ACEOF
16974 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16975 _ACEOF
16981 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16982 #ifdef HAVE_SYS_SOCKET_H
16983 # include <sys/socket.h>
16984 #endif
16985 #ifdef HAVE_SYS_UN_H
16986 # include <sys/un.h>
16987 #endif
16989 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16991 cat >>confdefs.h <<_ACEOF
16992 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16993 _ACEOF
16997 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16998 #ifdef HAVE_SYS_SOCKET_H
16999 # include <sys/socket.h>
17000 #endif
17001 #ifdef HAVE_SYS_UN_H
17002 # include <sys/un.h>
17003 #endif
17005 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17007 cat >>confdefs.h <<_ACEOF
17008 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17009 _ACEOF
17013 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17014 #ifdef HAVE_SYS_SOCKET_H
17015 # include <sys/socket.h>
17016 #endif
17017 #ifdef HAVE_SYS_UN_H
17018 # include <sys/un.h>
17019 #endif
17021 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17023 cat >>confdefs.h <<_ACEOF
17024 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17025 _ACEOF
17031 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17032 #ifdef HAVE_SCSI_SG_H
17033 #include <scsi/sg.h>
17034 #endif
17036 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17038 cat >>confdefs.h <<_ACEOF
17039 #define HAVE_SCSIREQ_T_CMD 1
17040 _ACEOF
17044 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>
17045 #ifdef HAVE_SCSI_SG_H
17046 #include <scsi/sg.h>
17047 #endif
17049 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17051 cat >>confdefs.h <<_ACEOF
17052 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17053 _ACEOF
17059 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17061 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17063 cat >>confdefs.h <<_ACEOF
17064 #define HAVE_SIGINFO_T_SI_FD 1
17065 _ACEOF
17071 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17072 #ifdef HAVE_SYS_MTIO_H
17073 #include <sys/mtio.h>
17074 #endif
17076 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17078 cat >>confdefs.h <<_ACEOF
17079 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17080 _ACEOF
17084 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17085 #ifdef HAVE_SYS_MTIO_H
17086 #include <sys/mtio.h>
17087 #endif
17089 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17091 cat >>confdefs.h <<_ACEOF
17092 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17093 _ACEOF
17097 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17098 #ifdef HAVE_SYS_MTIO_H
17099 #include <sys/mtio.h>
17100 #endif
17102 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17104 cat >>confdefs.h <<_ACEOF
17105 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17106 _ACEOF
17112 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17113 #include <getopt.h>
17114 #endif
17116 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17118 cat >>confdefs.h <<_ACEOF
17119 #define HAVE_STRUCT_OPTION_NAME 1
17120 _ACEOF
17126 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17127 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17129 cat >>confdefs.h <<_ACEOF
17130 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17131 _ACEOF
17135 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17136 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17138 cat >>confdefs.h <<_ACEOF
17139 #define HAVE_STRUCT_STAT_ST_MTIM 1
17140 _ACEOF
17144 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17145 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17147 cat >>confdefs.h <<_ACEOF
17148 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17149 _ACEOF
17153 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17154 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17156 cat >>confdefs.h <<_ACEOF
17157 #define HAVE_STRUCT_STAT_ST_CTIM 1
17158 _ACEOF
17162 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17163 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17165 cat >>confdefs.h <<_ACEOF
17166 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17167 _ACEOF
17171 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17172 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17174 cat >>confdefs.h <<_ACEOF
17175 #define HAVE_STRUCT_STAT_ST_ATIM 1
17176 _ACEOF
17180 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17181 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17183 cat >>confdefs.h <<_ACEOF
17184 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17185 _ACEOF
17189 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17190 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17192 cat >>confdefs.h <<_ACEOF
17193 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17194 _ACEOF
17198 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17199 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17201 cat >>confdefs.h <<_ACEOF
17202 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17203 _ACEOF
17207 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17208 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17210 cat >>confdefs.h <<_ACEOF
17211 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17212 _ACEOF
17216 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17217 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17219 cat >>confdefs.h <<_ACEOF
17220 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17221 _ACEOF
17225 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17226 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17228 cat >>confdefs.h <<_ACEOF
17229 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17230 _ACEOF
17236 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
17237 #include <sys/types.h>
17238 #endif
17239 #ifdef HAVE_NETINET_IN_H
17240 #include <netinet/in.h>
17241 #endif
17243 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17245 cat >>confdefs.h <<_ACEOF
17246 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17247 _ACEOF
17253 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17254 #include <sys/types.h>
17255 #endif
17256 #ifdef HAVE_NETINET_IN_H
17257 #include <netinet/in.h>
17258 #endif
17259 #ifdef HAVE_RESOLV_H
17260 #include <resolv.h>
17261 #endif
17263 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17265 cat >>confdefs.h <<_ACEOF
17266 #define HAVE_STRUCT___RES_STATE 1
17267 _ACEOF
17273 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
17274 #include <resolv.h>
17275 #endif
17277 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17279 cat >>confdefs.h <<_ACEOF
17280 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17281 _ACEOF
17287 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17288 #include <sys/types.h>
17289 #endif
17290 #ifdef HAVE_NETINET_IN_H
17291 # include <netinet/in.h>
17292 #endif
17293 #ifdef HAVE_ARPA_NAMESER_H
17294 # include <arpa/nameser.h>
17295 #endif
17297 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17299 cat >>confdefs.h <<_ACEOF
17300 #define HAVE_NS_MSG__MSG_PTR 1
17301 _ACEOF
17307 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17308 #include <sys/types.h>
17309 #endif
17310 #ifdef HAVE_NETINET_IN_H
17311 #include <netinet/in.h>
17312 #endif
17313 #ifdef HAVE_NETINET_IP_H
17314 #include <netinet/ip.h>
17315 #endif
17316 #ifdef HAVE_NETINET_IP_ICMP_H
17317 #include <netinet/ip_icmp.h>
17318 #endif
17319 #ifdef HAVE_NETINET_ICMP_VAR_H
17320 #include <netinet/icmp_var.h>
17321 #endif
17323 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17325 cat >>confdefs.h <<_ACEOF
17326 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17327 _ACEOF
17333 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17334 #include <sys/types.h>
17335 #endif
17336 #ifdef HAVE_ALIAS_H
17337 #include <alias.h>
17338 #endif
17339 #ifdef HAVE_SYS_SOCKET_H
17340 #include <sys/socket.h>
17341 #endif
17342 #ifdef HAVE_SYS_SOCKETVAR_H
17343 #include <sys/socketvar.h>
17344 #endif
17345 #ifdef HAVE_SYS_TIMEOUT_H
17346 #include <sys/timeout.h>
17347 #endif
17348 #ifdef HAVE_NETINET_IN_H
17349 #include <netinet/in.h>
17350 #endif
17351 #ifdef HAVE_NETINET_IN_SYSTM_H
17352 #include <netinet/in_systm.h>
17353 #endif
17354 #ifdef HAVE_NETINET_IP_H
17355 #include <netinet/ip.h>
17356 #endif
17357 #ifdef HAVE_NETINET_IP_VAR_H
17358 #include <netinet/ip_var.h>
17359 #endif
17360 #ifdef HAVE_NETINET_IP_ICMP_H
17361 #include <netinet/ip_icmp.h>
17362 #endif
17363 #ifdef HAVE_NETINET_ICMP_VAR_H
17364 #include <netinet/icmp_var.h>
17365 #endif
17367 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17369 cat >>confdefs.h <<_ACEOF
17370 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17371 _ACEOF
17377 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17378 #include <sys/types.h>
17379 #endif
17380 #ifdef HAVE_SYS_SOCKETVAR_H
17381 #include <sys/socketvar.h>
17382 #endif
17383 #ifdef HAVE_NETINET_IN_H
17384 #include <netinet/in.h>
17385 #endif
17386 #ifdef HAVE_NETINET_IP_VAR_H
17387 #include <netinet/ip_var.h>
17388 #endif
17390 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17392 cat >>confdefs.h <<_ACEOF
17393 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17394 _ACEOF
17400 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
17401 #include <netinet/ip_var.h>
17402 #endif
17404 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17406 cat >>confdefs.h <<_ACEOF
17407 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17408 _ACEOF
17414 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17415 #include <sys/types.h>
17416 #endif
17417 #ifdef HAVE_SYS_SOCKETVAR_H
17418 #include <sys/socketvar.h>
17419 #endif
17420 #ifdef HAVE_NETINET_IN_H
17421 #include <netinet/in.h>
17422 #endif
17423 #ifdef HAVE_NETINET_TCP_H
17424 #include <netinet/tcp.h>
17425 #endif
17426 #ifdef HAVE_NETINET_TCP_VAR_H
17427 #include <netinet/tcp_var.h>
17428 #endif
17430 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17432 cat >>confdefs.h <<_ACEOF
17433 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17434 _ACEOF
17440 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
17441 #include <netinet/tcp_var.h>
17442 #endif
17444 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17446 cat >>confdefs.h <<_ACEOF
17447 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17448 _ACEOF
17454 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17455 #include <sys/types.h>
17456 #endif
17457 #ifdef HAVE_NETINET_IN_H
17458 #include <netinet/in.h>
17459 #endif
17460 #ifdef HAVE_NETINET_IP_VAR_H
17461 #include <netinet/ip_var.h>
17462 #endif
17463 #ifdef HAVE_NETINET_UDP_H
17464 #include <netinet/udp.h>
17465 #endif
17466 #ifdef HAVE_NETINET_UDP_VAR_H
17467 #include <netinet/udp_var.h>
17468 #endif
17470 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17472 cat >>confdefs.h <<_ACEOF
17473 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17474 _ACEOF
17480 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17481 #include <sys/types.h>
17482 #endif
17483 #ifdef HAVE_NET_IF_H
17484 # include <net/if.h>
17485 #endif
17487 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17489 cat >>confdefs.h <<_ACEOF
17490 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17491 _ACEOF
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17498 $as_echo_n "checking for timezone variable... " >&6; }
17499 if ${ac_cv_have_timezone+:} false; then :
17500 $as_echo_n "(cached) " >&6
17501 else
17502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17503 /* end confdefs.h. */
17504 #include <time.h>
17506 main ()
17508 timezone = 1
17510 return 0;
17512 _ACEOF
17513 if ac_fn_c_try_link "$LINENO"; then :
17514 ac_cv_have_timezone="yes"
17515 else
17516 ac_cv_have_timezone="no"
17518 rm -f core conftest.err conftest.$ac_objext \
17519 conftest$ac_exeext conftest.$ac_ext
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17522 $as_echo "$ac_cv_have_timezone" >&6; }
17523 if test "$ac_cv_have_timezone" = "yes"
17524 then
17526 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17530 $as_echo_n "checking for daylight variable... " >&6; }
17531 if ${ac_cv_have_daylight+:} false; then :
17532 $as_echo_n "(cached) " >&6
17533 else
17534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17535 /* end confdefs.h. */
17536 #include <time.h>
17538 main ()
17540 daylight = 1
17542 return 0;
17544 _ACEOF
17545 if ac_fn_c_try_link "$LINENO"; then :
17546 ac_cv_have_daylight="yes"
17547 else
17548 ac_cv_have_daylight="no"
17550 rm -f core conftest.err conftest.$ac_objext \
17551 conftest$ac_exeext conftest.$ac_ext
17553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17554 $as_echo "$ac_cv_have_daylight" >&6; }
17555 if test "$ac_cv_have_daylight" = "yes"
17556 then
17558 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17562 ac_save_LIBS="$LIBS"
17563 LIBS="$LIBS -lm"
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17565 $as_echo_n "checking for isfinite... " >&6; }
17566 if ${ac_cv_have_isfinite+:} false; then :
17567 $as_echo_n "(cached) " >&6
17568 else
17569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17570 /* end confdefs.h. */
17571 #define _GNU_SOURCE
17572 #include <math.h>
17574 main ()
17576 float f = 0.0; return isfinite(f)
17578 return 0;
17580 _ACEOF
17581 if ac_fn_c_try_link "$LINENO"; then :
17582 ac_cv_have_isfinite="yes"
17583 else
17584 ac_cv_have_isfinite="no"
17586 rm -f core conftest.err conftest.$ac_objext \
17587 conftest$ac_exeext conftest.$ac_ext
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17590 $as_echo "$ac_cv_have_isfinite" >&6; }
17591 if test "$ac_cv_have_isfinite" = "yes"
17592 then
17594 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17599 $as_echo_n "checking for isinf... " >&6; }
17600 if ${ac_cv_have_isinf+:} false; then :
17601 $as_echo_n "(cached) " >&6
17602 else
17603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17604 /* end confdefs.h. */
17605 #include <math.h>
17607 main ()
17609 float f = 0.0; return isinf(f)
17611 return 0;
17613 _ACEOF
17614 if ac_fn_c_try_link "$LINENO"; then :
17615 ac_cv_have_isinf="yes"
17616 else
17617 ac_cv_have_isinf="no"
17619 rm -f core conftest.err conftest.$ac_objext \
17620 conftest$ac_exeext conftest.$ac_ext
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17623 $as_echo "$ac_cv_have_isinf" >&6; }
17624 if test "$ac_cv_have_isinf" = "yes"
17625 then
17627 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17632 $as_echo_n "checking for isnan... " >&6; }
17633 if ${ac_cv_have_isnan+:} false; then :
17634 $as_echo_n "(cached) " >&6
17635 else
17636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17637 /* end confdefs.h. */
17638 #include <math.h>
17640 main ()
17642 float f = 0.0; return isnan(f)
17644 return 0;
17646 _ACEOF
17647 if ac_fn_c_try_link "$LINENO"; then :
17648 ac_cv_have_isnan="yes"
17649 else
17650 ac_cv_have_isnan="no"
17652 rm -f core conftest.err conftest.$ac_objext \
17653 conftest$ac_exeext conftest.$ac_ext
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17656 $as_echo "$ac_cv_have_isnan" >&6; }
17657 if test "$ac_cv_have_isnan" = "yes"
17658 then
17660 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17664 for ac_func in \
17665 acosh \
17666 acoshf \
17667 asinh \
17668 asinhf \
17669 atanh \
17670 atanhf \
17671 cbrt \
17672 cbrtf \
17673 erf \
17674 erfc \
17675 erfcf \
17676 erff \
17677 exp2 \
17678 exp2f \
17679 expm1 \
17680 expm1f \
17681 j0 \
17682 j1 \
17683 jn \
17684 lgamma \
17685 lgammaf \
17686 llrint \
17687 llrintf \
17688 llround \
17689 llroundf \
17690 log1p \
17691 log1pf \
17692 log2 \
17693 log2f \
17694 lrint \
17695 lrintf \
17696 lround \
17697 lroundf \
17698 nearbyint \
17699 nearbyintf \
17700 powl \
17701 remainder \
17702 remainderf \
17703 rint \
17704 rintf \
17705 round \
17706 roundf \
17707 trunc \
17708 truncf \
17709 y0 \
17710 y1 \
17713 do :
17714 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17715 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17716 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17717 cat >>confdefs.h <<_ACEOF
17718 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17719 _ACEOF
17722 done
17724 LIBS="$ac_save_LIBS"
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17727 $as_echo_n "checking for __builtin_clz... " >&6; }
17728 if ${ac_cv_have___builtin_clz+:} false; then :
17729 $as_echo_n "(cached) " >&6
17730 else
17731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17732 /* end confdefs.h. */
17735 main ()
17737 return __builtin_clz(1)
17739 return 0;
17741 _ACEOF
17742 if ac_fn_c_try_link "$LINENO"; then :
17743 ac_cv_have___builtin_clz="yes"
17744 else
17745 ac_cv_have___builtin_clz="no"
17747 rm -f core conftest.err conftest.$ac_objext \
17748 conftest$ac_exeext conftest.$ac_ext
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17751 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17752 if test "$ac_cv_have___builtin_clz" = "yes"
17753 then
17755 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17760 $as_echo_n "checking for __builtin_popcount... " >&6; }
17761 if ${ac_cv_have___builtin_popcount+:} false; then :
17762 $as_echo_n "(cached) " >&6
17763 else
17764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17765 /* end confdefs.h. */
17768 main ()
17770 return __builtin_popcount(1)
17772 return 0;
17774 _ACEOF
17775 if ac_fn_c_try_link "$LINENO"; then :
17776 ac_cv_have___builtin_popcount="yes"
17777 else
17778 ac_cv_have___builtin_popcount="no"
17780 rm -f core conftest.err conftest.$ac_objext \
17781 conftest$ac_exeext conftest.$ac_ext
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17784 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17785 if test "$ac_cv_have___builtin_popcount" = "yes"
17786 then
17788 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17793 $as_echo_n "checking for __clear_cache... " >&6; }
17794 if ${ac_cv_have___clear_cache+:} false; then :
17795 $as_echo_n "(cached) " >&6
17796 else
17797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17798 /* end confdefs.h. */
17801 main ()
17803 __clear_cache((void*)0, (void*)0); return 0;
17805 return 0;
17807 _ACEOF
17808 if ac_fn_c_try_link "$LINENO"; then :
17809 ac_cv_have___clear_cache="yes"
17810 else
17811 ac_cv_have___clear_cache="no"
17813 rm -f core conftest.err conftest.$ac_objext \
17814 conftest$ac_exeext conftest.$ac_ext
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17817 $as_echo "$ac_cv_have___clear_cache" >&6; }
17818 if test "$ac_cv_have___clear_cache" = "yes"
17819 then
17821 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17826 case $host_cpu in
17827 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17828 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17829 if ${ac_cv_cpp_def___i386__+:} false; then :
17830 $as_echo_n "(cached) " >&6
17831 else
17832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17833 /* end confdefs.h. */
17834 #ifndef __i386__
17836 #endif
17837 _ACEOF
17838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17839 $EGREP "yes" >/dev/null 2>&1; then :
17840 ac_cv_cpp_def___i386__=yes
17841 else
17842 ac_cv_cpp_def___i386__=no
17844 rm -f conftest*
17847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17848 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17849 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17850 CFLAGS="$CFLAGS -D__i386__"
17851 LINTFLAGS="$LINTFLAGS -D__i386__"
17852 fi ;;
17853 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17854 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17855 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17856 $as_echo_n "(cached) " >&6
17857 else
17858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h. */
17860 #ifndef __x86_64__
17862 #endif
17863 _ACEOF
17864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17865 $EGREP "yes" >/dev/null 2>&1; then :
17866 ac_cv_cpp_def___x86_64__=yes
17867 else
17868 ac_cv_cpp_def___x86_64__=no
17870 rm -f conftest*
17873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17874 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17875 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17876 CFLAGS="$CFLAGS -D__x86_64__"
17877 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17878 fi ;;
17879 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17880 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17881 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17882 $as_echo_n "(cached) " >&6
17883 else
17884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17885 /* end confdefs.h. */
17886 #ifndef __sparc64__
17888 #endif
17889 _ACEOF
17890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17891 $EGREP "yes" >/dev/null 2>&1; then :
17892 ac_cv_cpp_def___sparc64__=yes
17893 else
17894 ac_cv_cpp_def___sparc64__=no
17896 rm -f conftest*
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17900 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17901 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17902 CFLAGS="$CFLAGS -D__sparc64__"
17903 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17904 fi ;;
17905 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17906 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17907 if ${ac_cv_cpp_def___sparc__+:} false; then :
17908 $as_echo_n "(cached) " >&6
17909 else
17910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17911 /* end confdefs.h. */
17912 #ifndef __sparc__
17914 #endif
17915 _ACEOF
17916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17917 $EGREP "yes" >/dev/null 2>&1; then :
17918 ac_cv_cpp_def___sparc__=yes
17919 else
17920 ac_cv_cpp_def___sparc__=no
17922 rm -f conftest*
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17926 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17927 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17928 CFLAGS="$CFLAGS -D__sparc__"
17929 LINTFLAGS="$LINTFLAGS -D__sparc__"
17930 fi ;;
17931 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17932 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17933 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17934 $as_echo_n "(cached) " >&6
17935 else
17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h. */
17938 #ifndef __powerpc64__
17940 #endif
17941 _ACEOF
17942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17943 $EGREP "yes" >/dev/null 2>&1; then :
17944 ac_cv_cpp_def___powerpc64__=yes
17945 else
17946 ac_cv_cpp_def___powerpc64__=no
17948 rm -f conftest*
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17952 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17953 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17954 CFLAGS="$CFLAGS -D__powerpc64__"
17955 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17956 fi ;;
17957 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17958 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17959 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17960 $as_echo_n "(cached) " >&6
17961 else
17962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17963 /* end confdefs.h. */
17964 #ifndef __powerpc__
17966 #endif
17967 _ACEOF
17968 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17969 $EGREP "yes" >/dev/null 2>&1; then :
17970 ac_cv_cpp_def___powerpc__=yes
17971 else
17972 ac_cv_cpp_def___powerpc__=no
17974 rm -f conftest*
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17978 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17979 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17980 CFLAGS="$CFLAGS -D__powerpc__"
17981 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17982 fi ;;
17983 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17984 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17985 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17986 $as_echo_n "(cached) " >&6
17987 else
17988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17989 /* end confdefs.h. */
17990 #ifndef __aarch64__
17992 #endif
17993 _ACEOF
17994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17995 $EGREP "yes" >/dev/null 2>&1; then :
17996 ac_cv_cpp_def___aarch64__=yes
17997 else
17998 ac_cv_cpp_def___aarch64__=no
18000 rm -f conftest*
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18004 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18005 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18006 CFLAGS="$CFLAGS -D__aarch64__"
18007 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18008 fi ;;
18009 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18010 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18011 if ${ac_cv_cpp_def___arm__+:} false; then :
18012 $as_echo_n "(cached) " >&6
18013 else
18014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18015 /* end confdefs.h. */
18016 #ifndef __arm__
18018 #endif
18019 _ACEOF
18020 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18021 $EGREP "yes" >/dev/null 2>&1; then :
18022 ac_cv_cpp_def___arm__=yes
18023 else
18024 ac_cv_cpp_def___arm__=no
18026 rm -f conftest*
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18030 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18031 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18032 CFLAGS="$CFLAGS -D__arm__"
18033 LINTFLAGS="$LINTFLAGS -D__arm__"
18034 fi ;;
18035 esac
18037 case $host_vendor in
18038 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18039 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18040 if ${ac_cv_cpp_def___sun__+:} false; then :
18041 $as_echo_n "(cached) " >&6
18042 else
18043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18044 /* end confdefs.h. */
18045 #ifndef __sun__
18047 #endif
18048 _ACEOF
18049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18050 $EGREP "yes" >/dev/null 2>&1; then :
18051 ac_cv_cpp_def___sun__=yes
18052 else
18053 ac_cv_cpp_def___sun__=no
18055 rm -f conftest*
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18059 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18060 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18061 CFLAGS="$CFLAGS -D__sun__"
18062 LINTFLAGS="$LINTFLAGS -D__sun__"
18063 fi ;;
18064 esac
18070 ac_config_commands="$ac_config_commands include/stamp-h"
18072 $as_echo_n "creating Makefile rules..." >&6
18074 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18075 SOCKET_LIBS = $SOCKET_LIBS
18076 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18077 IOKIT_LIBS = $IOKIT_LIBS
18078 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18079 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18080 CORESERVICES_LIBS = $CORESERVICES_LIBS
18081 APPKIT_LIBS = $APPKIT_LIBS
18082 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18083 SECURITY_LIBS = $SECURITY_LIBS
18084 COREAUDIO_LIBS = $COREAUDIO_LIBS
18085 OPENAL_LIBS = $OPENAL_LIBS
18086 OPENCL_LIBS = $OPENCL_LIBS
18087 QUICKTIME_LIBS = $QUICKTIME_LIBS
18088 CARBON_LIBS = $CARBON_LIBS
18089 PTHREAD_LIBS = $PTHREAD_LIBS
18090 X_CFLAGS = $X_CFLAGS
18091 X_PRE_LIBS = $X_PRE_LIBS
18092 X_LIBS = $X_LIBS
18093 X_EXTRA_LIBS = $X_EXTRA_LIBS
18094 PCAP_LIBS = $PCAP_LIBS
18095 XML2_CFLAGS = $XML2_CFLAGS
18096 XML2_LIBS = $XML2_LIBS
18097 XSLT_CFLAGS = $XSLT_CFLAGS
18098 XSLT_LIBS = $XSLT_LIBS
18099 DBUS_CFLAGS = $DBUS_CFLAGS
18100 DBUS_LIBS = $DBUS_LIBS
18101 HAL_CFLAGS = $HAL_CFLAGS
18102 HAL_LIBS = $HAL_LIBS
18103 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18104 GNUTLS_LIBS = $GNUTLS_LIBS
18105 SANE_CFLAGS = $SANE_CFLAGS
18106 SANE_LIBS = $SANE_LIBS
18107 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18108 GPHOTO2_LIBS = $GPHOTO2_LIBS
18109 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18110 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18111 RESOLV_LIBS = $RESOLV_LIBS
18112 LCMS2_CFLAGS = $LCMS2_CFLAGS
18113 LCMS2_LIBS = $LCMS2_LIBS
18114 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18115 FREETYPE_LIBS = $FREETYPE_LIBS
18116 Z_LIBS = $Z_LIBS
18117 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18118 PULSE_CFLAGS = $PULSE_CFLAGS
18119 PULSE_LIBS = $PULSE_LIBS
18120 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18121 GSTREAMER_LIBS = $GSTREAMER_LIBS
18122 ALSA_LIBS = $ALSA_LIBS
18123 OSS4_CFLAGS = $OSS4_CFLAGS
18124 UDEV_CFLAGS = $UDEV_CFLAGS
18125 UDEV_LIBS = $UDEV_LIBS
18126 SDL2_CFLAGS = $SDL2_CFLAGS
18127 SDL2_LIBS = $SDL2_LIBS
18128 CAPI20_CFLAGS = $CAPI20_CFLAGS
18129 CAPI20_LIBS = $CAPI20_LIBS
18130 CUPS_CFLAGS = $CUPS_CFLAGS
18131 CUPS_LIBS = $CUPS_LIBS
18132 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18133 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18134 KRB5_CFLAGS = $KRB5_CFLAGS
18135 KRB5_LIBS = $KRB5_LIBS
18136 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18137 GSSAPI_LIBS = $GSSAPI_LIBS
18138 JPEG_CFLAGS = $JPEG_CFLAGS
18139 JPEG_LIBS = $JPEG_LIBS
18140 PNG_CFLAGS = $PNG_CFLAGS
18141 PNG_LIBS = $PNG_LIBS
18142 TIFF_CFLAGS = $TIFF_CFLAGS
18143 TIFF_LIBS = $TIFF_LIBS
18144 MPG123_CFLAGS = $MPG123_CFLAGS
18145 MPG123_LIBS = $MPG123_LIBS
18146 KSTAT_LIBS = $KSTAT_LIBS
18147 PROCSTAT_LIBS = $PROCSTAT_LIBS
18148 NETAPI_CFLAGS = $NETAPI_CFLAGS
18149 NETAPI_LIBS = $NETAPI_LIBS
18150 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18151 DL_LIBS = $DL_LIBS
18152 POLL_LIBS = $POLL_LIBS
18153 RT_LIBS = $RT_LIBS
18154 LDAP_CFLAGS = $LDAP_CFLAGS
18155 LDAP_LIBS = $LDAP_LIBS
18160 wine_fn_append_rule "
18161 # Rules automatically generated by configure
18163 .INIT: Makefile
18164 .MAKEFILEDEPS:
18165 all: Makefile
18166 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18167 @./config.status Make.tmp Makefile
18168 depend: \$(MAKEDEP) dummy
18169 \$(MAKEDEP)"
18171 if test "x$enable_fonts" != xno; then
18172 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18173 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18174 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18175 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18176 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18177 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18179 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18180 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18181 ac_config_links="$ac_config_links wine:tools/winewrapper"
18182 wine_fn_config_symlink wine
18183 if test "x$enable_win64" != xno; then
18184 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18185 wine_fn_config_symlink wine64
18188 wine_fn_config_makefile dlls/acledit enable_acledit
18189 wine_fn_config_makefile dlls/aclui enable_aclui
18190 wine_fn_config_makefile dlls/activeds enable_activeds
18191 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18192 wine_fn_config_makefile dlls/adsiid enable_adsiid
18193 wine_fn_config_makefile dlls/adsldp enable_adsldp
18194 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18195 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18196 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18197 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18198 wine_fn_config_makefile dlls/advpack enable_advpack
18199 wine_fn_config_makefile dlls/advpack/tests enable_tests
18200 wine_fn_config_makefile dlls/amstream enable_amstream
18201 wine_fn_config_makefile dlls/amstream/tests enable_tests
18202 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18203 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18204 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18205 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18206 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18207 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18208 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18209 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18210 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18211 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18212 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18213 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18214 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18215 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18216 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18217 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18218 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18219 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18220 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18221 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18222 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18223 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18224 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18225 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18226 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18227 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18228 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18229 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18230 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18231 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18232 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18233 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18234 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18235 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18236 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18237 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18238 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18239 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18240 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18241 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18242 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18243 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18244 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18245 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18246 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18247 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18248 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18249 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18250 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
18251 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18252 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18253 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18254 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18255 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18256 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18257 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18258 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18259 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18260 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18261 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18262 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18263 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18264 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18265 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18266 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18267 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18268 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18269 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18270 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18271 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18272 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18273 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18274 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18275 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18276 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18277 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18278 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18279 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18280 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18281 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18282 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18283 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18284 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18285 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18286 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18287 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18288 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18289 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18290 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18291 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18292 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18293 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18294 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18295 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18296 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18297 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18298 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18299 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18300 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18301 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18302 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18303 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18304 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18305 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18306 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18307 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18308 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18309 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18310 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18311 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18312 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18313 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18314 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18315 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18316 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18317 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18318 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18319 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18320 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18321 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18322 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18323 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18324 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18325 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18326 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18327 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18328 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18329 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18330 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18331 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18332 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18333 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18334 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18335 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18336 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18337 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18338 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18339 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18340 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18341 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18342 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18343 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18344 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18345 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18346 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18347 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18348 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18349 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18350 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18351 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18352 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18353 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18354 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18355 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18356 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18357 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18358 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18359 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18360 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18361 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18362 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18363 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18364 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18365 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
18366 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18367 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18368 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18369 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18370 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18371 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18372 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18373 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18374 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18375 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
18376 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18377 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
18378 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
18379 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
18380 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
18381 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
18382 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18383 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18384 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18385 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18386 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18387 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18388 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18389 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18390 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18391 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18392 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18393 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18394 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18395 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18396 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18397 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18398 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18399 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18400 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18401 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18402 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18403 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18404 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
18405 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18406 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
18407 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
18408 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18409 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18410 wine_fn_config_makefile dlls/apphelp enable_apphelp
18411 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18412 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18413 wine_fn_config_makefile dlls/atl enable_atl
18414 wine_fn_config_makefile dlls/atl/tests enable_tests
18415 wine_fn_config_makefile dlls/atl100 enable_atl100
18416 wine_fn_config_makefile dlls/atl100/tests enable_tests
18417 wine_fn_config_makefile dlls/atl110 enable_atl110
18418 wine_fn_config_makefile dlls/atl80 enable_atl80
18419 wine_fn_config_makefile dlls/atl80/tests enable_tests
18420 wine_fn_config_makefile dlls/atl90 enable_atl90
18421 wine_fn_config_makefile dlls/authz enable_authz
18422 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18423 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18424 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18425 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18426 wine_fn_config_makefile dlls/avrt enable_avrt
18427 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18428 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18429 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18430 wine_fn_config_makefile dlls/browseui enable_browseui
18431 wine_fn_config_makefile dlls/browseui/tests enable_tests
18432 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18433 wine_fn_config_makefile dlls/cabinet enable_cabinet
18434 wine_fn_config_makefile dlls/cabinet/tests enable_tests
18435 wine_fn_config_makefile dlls/capi2032 enable_capi2032
18436 wine_fn_config_makefile dlls/cards enable_cards
18437 wine_fn_config_makefile dlls/cdosys enable_cdosys
18438 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
18439 wine_fn_config_makefile dlls/clusapi enable_clusapi
18440 wine_fn_config_makefile dlls/combase enable_combase
18441 wine_fn_config_makefile dlls/combase/tests enable_tests
18442 wine_fn_config_makefile dlls/comcat enable_comcat
18443 wine_fn_config_makefile dlls/comcat/tests enable_tests
18444 wine_fn_config_makefile dlls/comctl32 enable_comctl32
18445 wine_fn_config_makefile dlls/comctl32/tests enable_tests
18446 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
18447 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
18448 wine_fn_config_makefile dlls/comm.drv16 enable_win16
18449 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
18450 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
18451 wine_fn_config_makefile dlls/compstui enable_compstui
18452 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
18453 wine_fn_config_makefile dlls/concrt140 enable_concrt140
18454 wine_fn_config_makefile dlls/connect enable_connect
18455 wine_fn_config_makefile dlls/credui enable_credui
18456 wine_fn_config_makefile dlls/credui/tests enable_tests
18457 wine_fn_config_makefile dlls/crtdll enable_crtdll
18458 wine_fn_config_makefile dlls/crypt32 enable_crypt32
18459 wine_fn_config_makefile dlls/crypt32/tests enable_tests
18460 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
18461 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
18462 wine_fn_config_makefile dlls/cryptext enable_cryptext
18463 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
18464 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
18465 wine_fn_config_makefile dlls/cryptui enable_cryptui
18466 wine_fn_config_makefile dlls/cryptui/tests enable_tests
18467 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
18468 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
18469 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
18470 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
18471 wine_fn_config_makefile dlls/d2d1 enable_d2d1
18472 wine_fn_config_makefile dlls/d2d1/tests enable_tests
18473 wine_fn_config_makefile dlls/d3d10 enable_d3d10
18474 wine_fn_config_makefile dlls/d3d10/tests enable_tests
18475 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
18476 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
18477 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
18478 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
18479 wine_fn_config_makefile dlls/d3d11 enable_d3d11
18480 wine_fn_config_makefile dlls/d3d11/tests enable_tests
18481 wine_fn_config_makefile dlls/d3d12 enable_d3d12
18482 wine_fn_config_makefile dlls/d3d12/tests enable_tests
18483 wine_fn_config_makefile dlls/d3d8 enable_d3d8
18484 wine_fn_config_makefile dlls/d3d8/tests enable_tests
18485 wine_fn_config_makefile dlls/d3d9 enable_d3d9
18486 wine_fn_config_makefile dlls/d3d9/tests enable_tests
18487 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
18488 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
18489 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
18490 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
18491 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
18492 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
18493 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
18494 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
18495 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
18496 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
18497 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
18498 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
18499 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
18500 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
18501 wine_fn_config_makefile dlls/d3dim enable_d3dim
18502 wine_fn_config_makefile dlls/d3drm enable_d3drm
18503 wine_fn_config_makefile dlls/d3drm/tests enable_tests
18504 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
18505 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
18506 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
18507 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
18508 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
18509 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
18510 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
18511 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
18512 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
18513 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
18514 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
18515 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
18516 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
18517 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
18518 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
18519 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
18520 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
18521 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
18522 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
18523 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
18524 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
18525 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
18526 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
18527 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
18528 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
18529 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
18530 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
18531 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
18532 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
18533 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
18534 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
18535 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
18536 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
18537 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
18538 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
18539 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
18540 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
18541 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
18542 wine_fn_config_makefile dlls/davclnt enable_davclnt
18543 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
18544 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
18545 wine_fn_config_makefile dlls/dciman32 enable_dciman32
18546 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
18547 wine_fn_config_makefile dlls/ddraw enable_ddraw
18548 wine_fn_config_makefile dlls/ddraw/tests enable_tests
18549 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
18550 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
18551 wine_fn_config_makefile dlls/devenum enable_devenum
18552 wine_fn_config_makefile dlls/devenum/tests enable_tests
18553 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
18554 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
18555 wine_fn_config_makefile dlls/difxapi enable_difxapi
18556 wine_fn_config_makefile dlls/dinput enable_dinput
18557 wine_fn_config_makefile dlls/dinput/tests enable_tests
18558 wine_fn_config_makefile dlls/dinput8 enable_dinput8
18559 wine_fn_config_makefile dlls/dinput8/tests enable_tests
18560 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
18561 wine_fn_config_makefile dlls/dispex enable_dispex
18562 wine_fn_config_makefile dlls/dispex/tests enable_tests
18563 wine_fn_config_makefile dlls/display.drv16 enable_win16
18564 wine_fn_config_makefile dlls/dmband enable_dmband
18565 wine_fn_config_makefile dlls/dmband/tests enable_tests
18566 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
18567 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
18568 wine_fn_config_makefile dlls/dmime enable_dmime
18569 wine_fn_config_makefile dlls/dmime/tests enable_tests
18570 wine_fn_config_makefile dlls/dmloader enable_dmloader
18571 wine_fn_config_makefile dlls/dmloader/tests enable_tests
18572 wine_fn_config_makefile dlls/dmscript enable_dmscript
18573 wine_fn_config_makefile dlls/dmscript/tests enable_tests
18574 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
18575 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
18576 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
18577 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
18578 wine_fn_config_makefile dlls/dmusic enable_dmusic
18579 wine_fn_config_makefile dlls/dmusic/tests enable_tests
18580 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
18581 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
18582 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
18583 wine_fn_config_makefile dlls/dplay enable_dplay
18584 wine_fn_config_makefile dlls/dplayx enable_dplayx
18585 wine_fn_config_makefile dlls/dplayx/tests enable_tests
18586 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
18587 wine_fn_config_makefile dlls/dpnet enable_dpnet
18588 wine_fn_config_makefile dlls/dpnet/tests enable_tests
18589 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
18590 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
18591 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
18592 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
18593 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
18594 wine_fn_config_makefile dlls/drmclien enable_drmclien
18595 wine_fn_config_makefile dlls/dsound enable_dsound
18596 wine_fn_config_makefile dlls/dsound/tests enable_tests
18597 wine_fn_config_makefile dlls/dsquery enable_dsquery
18598 wine_fn_config_makefile dlls/dssenh enable_dssenh
18599 wine_fn_config_makefile dlls/dssenh/tests enable_tests
18600 wine_fn_config_makefile dlls/dswave enable_dswave
18601 wine_fn_config_makefile dlls/dswave/tests enable_tests
18602 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
18603 wine_fn_config_makefile dlls/dwrite enable_dwrite
18604 wine_fn_config_makefile dlls/dwrite/tests enable_tests
18605 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
18606 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
18607 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
18608 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
18609 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
18610 wine_fn_config_makefile dlls/dxgi enable_dxgi
18611 wine_fn_config_makefile dlls/dxgi/tests enable_tests
18612 wine_fn_config_makefile dlls/dxguid enable_dxguid
18613 wine_fn_config_makefile dlls/dxva2 enable_dxva2
18614 wine_fn_config_makefile dlls/esent enable_esent
18615 wine_fn_config_makefile dlls/evr enable_evr
18616 wine_fn_config_makefile dlls/evr/tests enable_tests
18617 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
18618 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
18619 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18620 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18621 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
18622 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18623 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18624 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18625 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18626 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18627 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18628 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18629 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
18630 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
18631 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
18632 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18633 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
18634 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
18635 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18636 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
18637 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18638 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18639 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18640 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
18641 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18642 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
18643 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18644 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
18645 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18646 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18647 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
18648 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
18649 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18650 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
18651 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
18652 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
18653 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18654 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18655 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18656 wine_fn_config_makefile dlls/faultrep enable_faultrep
18657 wine_fn_config_makefile dlls/faultrep/tests enable_tests
18658 wine_fn_config_makefile dlls/fltlib enable_fltlib
18659 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
18660 wine_fn_config_makefile dlls/fntcache enable_fntcache
18661 wine_fn_config_makefile dlls/fontsub enable_fontsub
18662 wine_fn_config_makefile dlls/fusion enable_fusion
18663 wine_fn_config_makefile dlls/fusion/tests enable_tests
18664 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
18665 wine_fn_config_makefile dlls/gameux enable_gameux
18666 wine_fn_config_makefile dlls/gameux/tests enable_tests
18667 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
18668 wine_fn_config_makefile dlls/gdi32 enable_gdi32
18669 wine_fn_config_makefile dlls/gdi32/tests enable_tests
18670 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
18671 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
18672 wine_fn_config_makefile dlls/glu32 enable_glu32
18673 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
18674 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
18675 wine_fn_config_makefile dlls/hal enable_hal
18676 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
18677 wine_fn_config_makefile dlls/hid enable_hid
18678 wine_fn_config_makefile dlls/hid/tests enable_tests
18679 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
18680 wine_fn_config_makefile dlls/hlink enable_hlink
18681 wine_fn_config_makefile dlls/hlink/tests enable_tests
18682 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
18683 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
18684 wine_fn_config_makefile dlls/httpapi enable_httpapi
18685 wine_fn_config_makefile dlls/httpapi/tests enable_tests
18686 wine_fn_config_makefile dlls/iccvid enable_iccvid
18687 wine_fn_config_makefile dlls/icmp enable_icmp
18688 wine_fn_config_makefile dlls/ieframe enable_ieframe
18689 wine_fn_config_makefile dlls/ieframe/tests enable_tests
18690 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
18691 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
18692 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
18693 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
18694 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
18695 wine_fn_config_makefile dlls/imm.dll16 enable_win16
18696 wine_fn_config_makefile dlls/imm32 enable_imm32
18697 wine_fn_config_makefile dlls/imm32/tests enable_tests
18698 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
18699 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
18700 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
18701 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
18702 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
18703 wine_fn_config_makefile dlls/infosoft enable_infosoft
18704 wine_fn_config_makefile dlls/infosoft/tests enable_tests
18705 wine_fn_config_makefile dlls/initpki enable_initpki
18706 wine_fn_config_makefile dlls/inkobj enable_inkobj
18707 wine_fn_config_makefile dlls/inseng enable_inseng
18708 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
18709 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
18710 wine_fn_config_makefile dlls/iprop enable_iprop
18711 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
18712 wine_fn_config_makefile dlls/itircl enable_itircl
18713 wine_fn_config_makefile dlls/itss enable_itss
18714 wine_fn_config_makefile dlls/itss/tests enable_tests
18715 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
18716 wine_fn_config_makefile dlls/jscript enable_jscript
18717 wine_fn_config_makefile dlls/jscript/tests enable_tests
18718 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
18719 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
18720 wine_fn_config_makefile dlls/kerberos enable_kerberos
18721 wine_fn_config_makefile dlls/kernel32 enable_kernel32
18722 wine_fn_config_makefile dlls/kernel32/tests enable_tests
18723 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
18724 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
18725 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
18726 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
18727 wine_fn_config_makefile dlls/ksuser enable_ksuser
18728 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
18729 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
18730 wine_fn_config_makefile dlls/loadperf enable_loadperf
18731 wine_fn_config_makefile dlls/localspl enable_localspl
18732 wine_fn_config_makefile dlls/localspl/tests enable_tests
18733 wine_fn_config_makefile dlls/localui enable_localui
18734 wine_fn_config_makefile dlls/localui/tests enable_tests
18735 wine_fn_config_makefile dlls/lz32 enable_lz32
18736 wine_fn_config_makefile dlls/lz32/tests enable_tests
18737 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
18738 wine_fn_config_makefile dlls/mapi32 enable_mapi32
18739 wine_fn_config_makefile dlls/mapi32/tests enable_tests
18740 wine_fn_config_makefile dlls/mapistub enable_mapistub
18741 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
18742 wine_fn_config_makefile dlls/mcicda enable_mcicda
18743 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
18744 wine_fn_config_makefile dlls/mciseq enable_mciseq
18745 wine_fn_config_makefile dlls/mciwave enable_mciwave
18746 wine_fn_config_makefile dlls/mf enable_mf
18747 wine_fn_config_makefile dlls/mf/tests enable_tests
18748 wine_fn_config_makefile dlls/mf3216 enable_mf3216
18749 wine_fn_config_makefile dlls/mfplat enable_mfplat
18750 wine_fn_config_makefile dlls/mfplat/tests enable_tests
18751 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
18752 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
18753 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
18754 wine_fn_config_makefile dlls/midimap enable_midimap
18755 wine_fn_config_makefile dlls/mlang enable_mlang
18756 wine_fn_config_makefile dlls/mlang/tests enable_tests
18757 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
18758 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
18759 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
18760 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
18761 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
18762 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
18763 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
18764 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
18765 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
18766 wine_fn_config_makefile dlls/mpr enable_mpr
18767 wine_fn_config_makefile dlls/mpr/tests enable_tests
18768 wine_fn_config_makefile dlls/mprapi enable_mprapi
18769 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
18770 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
18771 wine_fn_config_makefile dlls/msacm32 enable_msacm32
18772 wine_fn_config_makefile dlls/msacm32/tests enable_tests
18773 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
18774 wine_fn_config_makefile dlls/msasn1 enable_msasn1
18775 wine_fn_config_makefile dlls/mscat32 enable_mscat32
18776 wine_fn_config_makefile dlls/mscms enable_mscms
18777 wine_fn_config_makefile dlls/mscms/tests enable_tests
18778 wine_fn_config_makefile dlls/mscoree enable_mscoree
18779 wine_fn_config_makefile dlls/mscoree/tests enable_tests
18780 wine_fn_config_makefile dlls/msctf enable_msctf
18781 wine_fn_config_makefile dlls/msctf/tests enable_tests
18782 wine_fn_config_makefile dlls/msctfp enable_msctfp
18783 wine_fn_config_makefile dlls/msdaps enable_msdaps
18784 wine_fn_config_makefile dlls/msdelta enable_msdelta
18785 wine_fn_config_makefile dlls/msdmo enable_msdmo
18786 wine_fn_config_makefile dlls/msdmo/tests enable_tests
18787 wine_fn_config_makefile dlls/msdrm enable_msdrm
18788 wine_fn_config_makefile dlls/msftedit enable_msftedit
18789 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
18790 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
18791 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
18792 wine_fn_config_makefile dlls/mshtml enable_mshtml
18793 wine_fn_config_makefile dlls/mshtml/tests enable_tests
18794 wine_fn_config_makefile dlls/msi enable_msi
18795 wine_fn_config_makefile dlls/msi/tests enable_tests
18796 wine_fn_config_makefile dlls/msident enable_msident
18797 wine_fn_config_makefile dlls/msimg32 enable_msimg32
18798 wine_fn_config_makefile dlls/msimsg enable_msimsg
18799 wine_fn_config_makefile dlls/msimtf enable_msimtf
18800 wine_fn_config_makefile dlls/msisip enable_msisip
18801 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
18802 wine_fn_config_makefile dlls/msls31 enable_msls31
18803 wine_fn_config_makefile dlls/msnet32 enable_msnet32
18804 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
18805 wine_fn_config_makefile dlls/msports enable_msports
18806 wine_fn_config_makefile dlls/msrle32 enable_msrle32
18807 wine_fn_config_makefile dlls/msrle32/tests enable_tests
18808 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
18809 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
18810 wine_fn_config_makefile dlls/mssign32 enable_mssign32
18811 wine_fn_config_makefile dlls/mssip32 enable_mssip32
18812 wine_fn_config_makefile dlls/mstask enable_mstask
18813 wine_fn_config_makefile dlls/mstask/tests enable_tests
18814 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
18815 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
18816 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
18817 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
18818 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
18819 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
18820 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
18821 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
18822 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
18823 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
18824 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
18825 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
18826 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
18827 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
18828 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
18829 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
18830 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
18831 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
18832 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
18833 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
18834 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
18835 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
18836 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
18837 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
18838 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
18839 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
18840 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
18841 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
18842 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
18843 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
18844 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
18845 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
18846 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
18847 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
18848 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
18849 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
18850 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
18851 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
18852 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
18853 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
18854 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
18855 wine_fn_config_makefile dlls/mswsock enable_mswsock
18856 wine_fn_config_makefile dlls/msxml enable_msxml
18857 wine_fn_config_makefile dlls/msxml2 enable_msxml2
18858 wine_fn_config_makefile dlls/msxml3 enable_msxml3
18859 wine_fn_config_makefile dlls/msxml3/tests enable_tests
18860 wine_fn_config_makefile dlls/msxml4 enable_msxml4
18861 wine_fn_config_makefile dlls/msxml6 enable_msxml6
18862 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
18863 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
18864 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
18865 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
18866 wine_fn_config_makefile dlls/netapi32 enable_netapi32
18867 wine_fn_config_makefile dlls/netapi32/tests enable_tests
18868 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
18869 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
18870 wine_fn_config_makefile dlls/netprofm enable_netprofm
18871 wine_fn_config_makefile dlls/netprofm/tests enable_tests
18872 wine_fn_config_makefile dlls/newdev enable_newdev
18873 wine_fn_config_makefile dlls/ninput enable_ninput
18874 wine_fn_config_makefile dlls/normaliz enable_normaliz
18875 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
18876 wine_fn_config_makefile dlls/npptools enable_npptools
18877 wine_fn_config_makefile dlls/ntdll enable_ntdll
18878 wine_fn_config_makefile dlls/ntdll/tests enable_tests
18879 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
18880 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
18881 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
18882 wine_fn_config_makefile dlls/ntprint enable_ntprint
18883 wine_fn_config_makefile dlls/ntprint/tests enable_tests
18884 wine_fn_config_makefile dlls/objsel enable_objsel
18885 wine_fn_config_makefile dlls/odbc32 enable_odbc32
18886 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
18887 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
18888 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
18889 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
18890 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
18891 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
18892 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
18893 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
18894 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
18895 wine_fn_config_makefile dlls/ole32 enable_ole32
18896 wine_fn_config_makefile dlls/ole32/tests enable_tests
18897 wine_fn_config_makefile dlls/oleacc enable_oleacc
18898 wine_fn_config_makefile dlls/oleacc/tests enable_tests
18899 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
18900 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
18901 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
18902 wine_fn_config_makefile dlls/olecli32 enable_olecli32
18903 wine_fn_config_makefile dlls/oledb32 enable_oledb32
18904 wine_fn_config_makefile dlls/oledb32/tests enable_tests
18905 wine_fn_config_makefile dlls/oledlg enable_oledlg
18906 wine_fn_config_makefile dlls/oledlg/tests enable_tests
18907 wine_fn_config_makefile dlls/olepro32 enable_olepro32
18908 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
18909 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
18910 wine_fn_config_makefile dlls/olethk32 enable_olethk32
18911 wine_fn_config_makefile dlls/openal32 enable_openal32
18912 wine_fn_config_makefile dlls/opencl enable_opencl
18913 wine_fn_config_makefile dlls/opengl32 enable_opengl32
18914 wine_fn_config_makefile dlls/opengl32/tests enable_tests
18915 wine_fn_config_makefile dlls/packager enable_packager
18916 wine_fn_config_makefile dlls/packager/tests enable_tests
18917 wine_fn_config_makefile dlls/pdh enable_pdh
18918 wine_fn_config_makefile dlls/pdh/tests enable_tests
18919 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
18920 wine_fn_config_makefile dlls/pidgen enable_pidgen
18921 wine_fn_config_makefile dlls/powrprof enable_powrprof
18922 wine_fn_config_makefile dlls/printui enable_printui
18923 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
18924 wine_fn_config_makefile dlls/propsys enable_propsys
18925 wine_fn_config_makefile dlls/propsys/tests enable_tests
18926 wine_fn_config_makefile dlls/psapi enable_psapi
18927 wine_fn_config_makefile dlls/psapi/tests enable_tests
18928 wine_fn_config_makefile dlls/pstorec enable_pstorec
18929 wine_fn_config_makefile dlls/pstorec/tests enable_tests
18930 wine_fn_config_makefile dlls/qcap enable_qcap
18931 wine_fn_config_makefile dlls/qcap/tests enable_tests
18932 wine_fn_config_makefile dlls/qedit enable_qedit
18933 wine_fn_config_makefile dlls/qedit/tests enable_tests
18934 wine_fn_config_makefile dlls/qmgr enable_qmgr
18935 wine_fn_config_makefile dlls/qmgr/tests enable_tests
18936 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
18937 wine_fn_config_makefile dlls/quartz enable_quartz
18938 wine_fn_config_makefile dlls/quartz/tests enable_tests
18939 wine_fn_config_makefile dlls/query enable_query
18940 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
18941 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
18942 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
18943 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
18944 wine_fn_config_makefile dlls/regapi enable_regapi
18945 wine_fn_config_makefile dlls/resutils enable_resutils
18946 wine_fn_config_makefile dlls/riched20 enable_riched20
18947 wine_fn_config_makefile dlls/riched20/tests enable_tests
18948 wine_fn_config_makefile dlls/riched32 enable_riched32
18949 wine_fn_config_makefile dlls/riched32/tests enable_tests
18950 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
18951 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
18952 wine_fn_config_makefile dlls/rsabase enable_rsabase
18953 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
18954 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
18955 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
18956 wine_fn_config_makefile dlls/rtutils enable_rtutils
18957 wine_fn_config_makefile dlls/samlib enable_samlib
18958 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
18959 wine_fn_config_makefile dlls/sapi enable_sapi
18960 wine_fn_config_makefile dlls/sapi/tests enable_tests
18961 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
18962 wine_fn_config_makefile dlls/sccbase enable_sccbase
18963 wine_fn_config_makefile dlls/schannel enable_schannel
18964 wine_fn_config_makefile dlls/schannel/tests enable_tests
18965 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
18966 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
18967 wine_fn_config_makefile dlls/scrobj enable_scrobj
18968 wine_fn_config_makefile dlls/scrrun enable_scrrun
18969 wine_fn_config_makefile dlls/scrrun/tests enable_tests
18970 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
18971 wine_fn_config_makefile dlls/secur32 enable_secur32
18972 wine_fn_config_makefile dlls/secur32/tests enable_tests
18973 wine_fn_config_makefile dlls/security enable_security
18974 wine_fn_config_makefile dlls/sensapi enable_sensapi
18975 wine_fn_config_makefile dlls/serialui enable_serialui
18976 wine_fn_config_makefile dlls/serialui/tests enable_tests
18977 wine_fn_config_makefile dlls/setupapi enable_setupapi
18978 wine_fn_config_makefile dlls/setupapi/tests enable_tests
18979 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
18980 wine_fn_config_makefile dlls/sfc enable_sfc
18981 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
18982 wine_fn_config_makefile dlls/shcore enable_shcore
18983 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
18984 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
18985 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
18986 wine_fn_config_makefile dlls/shell.dll16 enable_win16
18987 wine_fn_config_makefile dlls/shell32 enable_shell32
18988 wine_fn_config_makefile dlls/shell32/tests enable_tests
18989 wine_fn_config_makefile dlls/shfolder enable_shfolder
18990 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
18991 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
18992 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
18993 wine_fn_config_makefile dlls/slc enable_slc
18994 wine_fn_config_makefile dlls/slc/tests enable_tests
18995 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
18996 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
18997 wine_fn_config_makefile dlls/softpub enable_softpub
18998 wine_fn_config_makefile dlls/sound.drv16 enable_win16
18999 wine_fn_config_makefile dlls/spoolss enable_spoolss
19000 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19001 wine_fn_config_makefile dlls/sspicli enable_sspicli
19002 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19003 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19004 wine_fn_config_makefile dlls/sti enable_sti
19005 wine_fn_config_makefile dlls/sti/tests enable_tests
19006 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19007 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19008 wine_fn_config_makefile dlls/strmbase enable_strmbase
19009 wine_fn_config_makefile dlls/strmdll enable_strmdll
19010 wine_fn_config_makefile dlls/strmiids enable_strmiids
19011 wine_fn_config_makefile dlls/svrapi enable_svrapi
19012 wine_fn_config_makefile dlls/sxs enable_sxs
19013 wine_fn_config_makefile dlls/sxs/tests enable_tests
19014 wine_fn_config_makefile dlls/system.drv16 enable_win16
19015 wine_fn_config_makefile dlls/t2embed enable_t2embed
19016 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19017 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19018 wine_fn_config_makefile dlls/taskschd enable_taskschd
19019 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19020 wine_fn_config_makefile dlls/tdh enable_tdh
19021 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19022 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19023 wine_fn_config_makefile dlls/traffic enable_traffic
19024 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19025 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19026 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19027 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19028 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19029 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19030 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19031 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19032 wine_fn_config_makefile dlls/unicows enable_unicows
19033 wine_fn_config_makefile dlls/updspapi enable_updspapi
19034 wine_fn_config_makefile dlls/url enable_url
19035 wine_fn_config_makefile dlls/urlmon enable_urlmon
19036 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19037 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19038 wine_fn_config_makefile dlls/user.exe16 enable_win16
19039 wine_fn_config_makefile dlls/user32 enable_user32
19040 wine_fn_config_makefile dlls/user32/tests enable_tests
19041 wine_fn_config_makefile dlls/userenv enable_userenv
19042 wine_fn_config_makefile dlls/userenv/tests enable_tests
19043 wine_fn_config_makefile dlls/usp10 enable_usp10
19044 wine_fn_config_makefile dlls/usp10/tests enable_tests
19045 wine_fn_config_makefile dlls/uuid enable_uuid
19046 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19047 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19048 wine_fn_config_makefile dlls/vbscript enable_vbscript
19049 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19050 wine_fn_config_makefile dlls/vcomp enable_vcomp
19051 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19052 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19053 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19054 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19055 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19056 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19057 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19058 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19059 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19060 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19061 wine_fn_config_makefile dlls/version enable_version
19062 wine_fn_config_makefile dlls/version/tests enable_tests
19063 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19064 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19065 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19066 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19067 wine_fn_config_makefile dlls/vssapi enable_vssapi
19068 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19069 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19070 wine_fn_config_makefile dlls/w32skrnl enable_win16
19071 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19072 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19073 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19074 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19075 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19076 wine_fn_config_makefile dlls/wdscore enable_wdscore
19077 wine_fn_config_makefile dlls/webservices enable_webservices
19078 wine_fn_config_makefile dlls/webservices/tests enable_tests
19079 wine_fn_config_makefile dlls/wer enable_wer
19080 wine_fn_config_makefile dlls/wer/tests enable_tests
19081 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19082 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19083 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19084 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19085 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19086 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19087 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19088 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19089 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19090 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19091 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19092 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19093 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19094 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19095 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19096 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19097 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19098 wine_fn_config_makefile dlls/wined3d enable_wined3d
19099 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19100 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19101 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19102 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19103 wine_fn_config_makefile dlls/winemapi enable_winemapi
19104 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19105 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19106 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19107 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19108 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19109 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19110 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19111 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19112 wine_fn_config_makefile dlls/wing32 enable_wing32
19113 wine_fn_config_makefile dlls/winhttp enable_winhttp
19114 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19115 wine_fn_config_makefile dlls/wininet enable_wininet
19116 wine_fn_config_makefile dlls/wininet/tests enable_tests
19117 wine_fn_config_makefile dlls/winmm enable_winmm
19118 wine_fn_config_makefile dlls/winmm/tests enable_tests
19119 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19120 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19121 wine_fn_config_makefile dlls/winscard enable_winscard
19122 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19123 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19124 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19125 wine_fn_config_makefile dlls/winsta enable_winsta
19126 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19127 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19128 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19129 wine_fn_config_makefile dlls/wintrust enable_wintrust
19130 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19131 wine_fn_config_makefile dlls/winusb enable_winusb
19132 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19133 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19134 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19135 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19136 wine_fn_config_makefile dlls/wmasf enable_wmasf
19137 wine_fn_config_makefile dlls/wmi enable_wmi
19138 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19139 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19140 wine_fn_config_makefile dlls/wmp enable_wmp
19141 wine_fn_config_makefile dlls/wmp/tests enable_tests
19142 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19143 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19144 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19145 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19146 wine_fn_config_makefile dlls/wow32 enable_win16
19147 wine_fn_config_makefile dlls/wpc enable_wpc
19148 wine_fn_config_makefile dlls/wpc/tests enable_tests
19149 wine_fn_config_makefile dlls/wpcap enable_wpcap
19150 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19151 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19152 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19153 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19154 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19155 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19156 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19157 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19158 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19159 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19160 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19161 wine_fn_config_makefile dlls/wuapi enable_wuapi
19162 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19163 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19164 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19165 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19166 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19167 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19168 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19169 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19170 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19171 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19172 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19173 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19174 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19175 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19176 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19177 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19178 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19179 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19180 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19181 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19182 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19183 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19184 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19185 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19186 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19187 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19188 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19189 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19190 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19191 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19192 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19193 wine_fn_config_makefile dlls/xmllite enable_xmllite
19194 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19195 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19196 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19197 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19198 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
19199 wine_fn_config_makefile include enable_include
19200 wine_fn_config_makefile libs/port enable_port
19201 wine_fn_config_makefile libs/wine enable_wine
19202 wine_fn_config_makefile libs/wpp enable_wpp
19203 wine_fn_config_makefile loader enable_loader
19204 wine_fn_config_makefile po enable_po
19205 wine_fn_config_makefile programs/arp enable_arp
19206 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19207 wine_fn_config_makefile programs/attrib enable_attrib
19208 wine_fn_config_makefile programs/cabarc enable_cabarc
19209 wine_fn_config_makefile programs/cacls enable_cacls
19210 wine_fn_config_makefile programs/clock enable_clock
19211 wine_fn_config_makefile programs/cmd enable_cmd
19212 wine_fn_config_makefile programs/cmd/tests enable_tests
19213 wine_fn_config_makefile programs/conhost enable_conhost
19214 wine_fn_config_makefile programs/control enable_control
19215 wine_fn_config_makefile programs/cscript enable_cscript
19216 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19217 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19218 wine_fn_config_makefile programs/eject enable_eject
19219 wine_fn_config_makefile programs/expand enable_expand
19220 wine_fn_config_makefile programs/explorer enable_explorer
19221 wine_fn_config_makefile programs/extrac32 enable_extrac32
19222 wine_fn_config_makefile programs/findstr enable_findstr
19223 wine_fn_config_makefile programs/fsutil enable_fsutil
19224 wine_fn_config_makefile programs/hh enable_hh
19225 wine_fn_config_makefile programs/hostname enable_hostname
19226 wine_fn_config_makefile programs/icacls enable_icacls
19227 wine_fn_config_makefile programs/icinfo enable_icinfo
19228 wine_fn_config_makefile programs/iexplore enable_iexplore
19229 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19230 wine_fn_config_makefile programs/lodctr enable_lodctr
19231 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19232 wine_fn_config_makefile programs/mshta enable_mshta
19233 wine_fn_config_makefile programs/msiexec enable_msiexec
19234 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19235 wine_fn_config_makefile programs/net enable_net
19236 wine_fn_config_makefile programs/netsh enable_netsh
19237 wine_fn_config_makefile programs/netstat enable_netstat
19238 wine_fn_config_makefile programs/ngen enable_ngen
19239 wine_fn_config_makefile programs/notepad enable_notepad
19240 wine_fn_config_makefile programs/oleview enable_oleview
19241 wine_fn_config_makefile programs/ping enable_ping
19242 wine_fn_config_makefile programs/plugplay enable_plugplay
19243 wine_fn_config_makefile programs/powershell enable_powershell
19244 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19245 wine_fn_config_makefile programs/progman enable_progman
19246 wine_fn_config_makefile programs/reg enable_reg
19247 wine_fn_config_makefile programs/reg/tests enable_tests
19248 wine_fn_config_makefile programs/regasm enable_regasm
19249 wine_fn_config_makefile programs/regedit enable_regedit
19250 wine_fn_config_makefile programs/regedit/tests enable_tests
19251 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19252 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19253 wine_fn_config_makefile programs/rpcss enable_rpcss
19254 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19255 wine_fn_config_makefile programs/rundll32 enable_rundll32
19256 wine_fn_config_makefile programs/sc enable_sc
19257 wine_fn_config_makefile programs/schtasks enable_schtasks
19258 wine_fn_config_makefile programs/schtasks/tests enable_tests
19259 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19260 wine_fn_config_makefile programs/secedit enable_secedit
19261 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19262 wine_fn_config_makefile programs/services enable_services
19263 wine_fn_config_makefile programs/services/tests enable_tests
19264 wine_fn_config_makefile programs/shutdown enable_shutdown
19265 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19266 wine_fn_config_makefile programs/start enable_start
19267 wine_fn_config_makefile programs/subst enable_subst
19268 wine_fn_config_makefile programs/svchost enable_svchost
19269 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19270 wine_fn_config_makefile programs/taskkill enable_taskkill
19271 wine_fn_config_makefile programs/tasklist enable_tasklist
19272 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19273 wine_fn_config_makefile programs/termsv enable_termsv
19274 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19275 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19276 wine_fn_config_makefile programs/view enable_view
19277 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19278 wine_fn_config_makefile programs/wineboot enable_wineboot
19279 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19280 wine_fn_config_makefile programs/winecfg enable_winecfg
19281 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19282 wine_fn_config_makefile programs/winedbg enable_winedbg
19283 wine_fn_config_makefile programs/winedevice enable_winedevice
19284 wine_fn_config_makefile programs/winefile enable_winefile
19285 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19286 wine_fn_config_makefile programs/winemine enable_winemine
19287 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19288 wine_fn_config_makefile programs/winepath enable_winepath
19289 wine_fn_config_makefile programs/winetest enable_winetest
19290 wine_fn_config_makefile programs/winevdm enable_win16
19291 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19292 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19293 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19294 wine_fn_config_makefile programs/winver enable_winver
19295 wine_fn_config_makefile programs/wmic enable_wmic
19296 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19297 wine_fn_config_makefile programs/wordpad enable_wordpad
19298 wine_fn_config_makefile programs/write enable_write
19299 wine_fn_config_makefile programs/wscript enable_wscript
19300 wine_fn_config_makefile programs/wscript/tests enable_tests
19301 wine_fn_config_makefile programs/wusa enable_wusa
19302 wine_fn_config_makefile programs/xcopy enable_xcopy
19303 wine_fn_config_makefile programs/xcopy/tests enable_tests
19304 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
19305 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19306 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19307 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19308 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19309 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19310 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19311 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19312 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19313 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19316 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19317 wine_fn_append_file CONFIGURE_TARGETS "tags"
19318 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19319 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19320 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19321 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19322 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19323 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19325 if test "x$enable_tools" != xno
19326 then
19327 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19328 ac_config_commands="$ac_config_commands tools/makedep"
19332 ac_config_commands="$ac_config_commands Makefile"
19335 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19339 if test "x$enable_maintainer_mode" = xyes
19340 then
19341 wine_fn_append_rule "configure: configure.ac aclocal.m4
19342 autoconf --warnings=all
19343 include/config.h.in: include/stamp-h.in
19344 include/stamp-h.in: configure.ac aclocal.m4
19345 autoheader --warnings=all
19346 @echo timestamp > \$@"
19349 if test "x$enable_tools" != xno
19350 then
19351 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19352 @./config.status tools/makedep
19353 Makefile: tools/makedep$ac_exeext
19354 fonts: tools/sfnt2fon
19355 include: tools tools/widl"
19356 else
19357 wine_fn_append_rule "\$(MAKEDEP):
19358 @echo \"You need to run make in $TOOLSDIR first\" && false"
19361 if test -n "$with_wine64"
19362 then
19363 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19364 fonts server:
19365 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19366 $with_wine64/loader/wine:
19367 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19368 $with_wine64/loader/wine-preloader:
19369 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19370 clean::
19371 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19372 else
19373 WINELOADER_INSTALL="wine.inf l_intl.nls"
19375 case $host_os in
19376 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19377 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19378 esac
19381 $as_echo " done" >&6
19382 cat >confcache <<\_ACEOF
19383 # This file is a shell script that caches the results of configure
19384 # tests run on this system so they can be shared between configure
19385 # scripts and configure runs, see configure's option --config-cache.
19386 # It is not useful on other systems. If it contains results you don't
19387 # want to keep, you may remove or edit it.
19389 # config.status only pays attention to the cache file if you give it
19390 # the --recheck option to rerun configure.
19392 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19393 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19394 # following values.
19396 _ACEOF
19398 # The following way of writing the cache mishandles newlines in values,
19399 # but we know of no workaround that is simple, portable, and efficient.
19400 # So, we kill variables containing newlines.
19401 # Ultrix sh set writes to stderr and can't be redirected directly,
19402 # and sets the high bit in the cache file unless we assign to the vars.
19404 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19405 eval ac_val=\$$ac_var
19406 case $ac_val in #(
19407 *${as_nl}*)
19408 case $ac_var in #(
19409 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19410 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19411 esac
19412 case $ac_var in #(
19413 _ | IFS | as_nl) ;; #(
19414 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19415 *) { eval $ac_var=; unset $ac_var;} ;;
19416 esac ;;
19417 esac
19418 done
19420 (set) 2>&1 |
19421 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19422 *${as_nl}ac_space=\ *)
19423 # `set' does not quote correctly, so add quotes: double-quote
19424 # substitution turns \\\\ into \\, and sed turns \\ into \.
19425 sed -n \
19426 "s/'/'\\\\''/g;
19427 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19428 ;; #(
19430 # `set' quotes correctly as required by POSIX, so do not add quotes.
19431 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19433 esac |
19434 sort
19436 sed '
19437 /^ac_cv_env_/b end
19438 t clear
19439 :clear
19440 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19441 t end
19442 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19443 :end' >>confcache
19444 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19445 if test -w "$cache_file"; then
19446 if test "x$cache_file" != "x/dev/null"; then
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19448 $as_echo "$as_me: updating cache $cache_file" >&6;}
19449 if test ! -f "$cache_file" || test -h "$cache_file"; then
19450 cat confcache >"$cache_file"
19451 else
19452 case $cache_file in #(
19453 */* | ?:*)
19454 mv -f confcache "$cache_file"$$ &&
19455 mv -f "$cache_file"$$ "$cache_file" ;; #(
19457 mv -f confcache "$cache_file" ;;
19458 esac
19461 else
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19463 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19466 rm -f confcache
19468 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19469 # Let make expand exec_prefix.
19470 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19472 DEFS=-DHAVE_CONFIG_H
19474 ac_libobjs=
19475 ac_ltlibobjs=
19477 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19478 # 1. Remove the extension, and $U if already installed.
19479 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19480 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19481 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19482 # will be set to the directory where LIBOBJS objects are built.
19483 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19484 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19485 done
19486 LIBOBJS=$ac_libobjs
19488 LTLIBOBJS=$ac_ltlibobjs
19492 : "${CONFIG_STATUS=./config.status}"
19493 ac_write_fail=0
19494 ac_clean_files_save=$ac_clean_files
19495 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19497 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19498 as_write_fail=0
19499 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19500 #! $SHELL
19501 # Generated by $as_me.
19502 # Run this file to recreate the current configuration.
19503 # Compiler output produced by configure, useful for debugging
19504 # configure, is in config.log if it exists.
19506 debug=false
19507 ac_cs_recheck=false
19508 ac_cs_silent=false
19510 SHELL=\${CONFIG_SHELL-$SHELL}
19511 export SHELL
19512 _ASEOF
19513 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19514 ## -------------------- ##
19515 ## M4sh Initialization. ##
19516 ## -------------------- ##
19518 # Be more Bourne compatible
19519 DUALCASE=1; export DUALCASE # for MKS sh
19520 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19521 emulate sh
19522 NULLCMD=:
19523 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19524 # is contrary to our usage. Disable this feature.
19525 alias -g '${1+"$@"}'='"$@"'
19526 setopt NO_GLOB_SUBST
19527 else
19528 case `(set -o) 2>/dev/null` in #(
19529 *posix*) :
19530 set -o posix ;; #(
19531 *) :
19533 esac
19537 as_nl='
19539 export as_nl
19540 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19541 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19542 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19543 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19544 # Prefer a ksh shell builtin over an external printf program on Solaris,
19545 # but without wasting forks for bash or zsh.
19546 if test -z "$BASH_VERSION$ZSH_VERSION" \
19547 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19548 as_echo='print -r --'
19549 as_echo_n='print -rn --'
19550 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19551 as_echo='printf %s\n'
19552 as_echo_n='printf %s'
19553 else
19554 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19555 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19556 as_echo_n='/usr/ucb/echo -n'
19557 else
19558 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19559 as_echo_n_body='eval
19560 arg=$1;
19561 case $arg in #(
19562 *"$as_nl"*)
19563 expr "X$arg" : "X\\(.*\\)$as_nl";
19564 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19565 esac;
19566 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19568 export as_echo_n_body
19569 as_echo_n='sh -c $as_echo_n_body as_echo'
19571 export as_echo_body
19572 as_echo='sh -c $as_echo_body as_echo'
19575 # The user is always right.
19576 if test "${PATH_SEPARATOR+set}" != set; then
19577 PATH_SEPARATOR=:
19578 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19579 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19580 PATH_SEPARATOR=';'
19585 # IFS
19586 # We need space, tab and new line, in precisely that order. Quoting is
19587 # there to prevent editors from complaining about space-tab.
19588 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19589 # splitting by setting IFS to empty value.)
19590 IFS=" "" $as_nl"
19592 # Find who we are. Look in the path if we contain no directory separator.
19593 as_myself=
19594 case $0 in #((
19595 *[\\/]* ) as_myself=$0 ;;
19596 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19597 for as_dir in $PATH
19599 IFS=$as_save_IFS
19600 test -z "$as_dir" && as_dir=.
19601 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19602 done
19603 IFS=$as_save_IFS
19606 esac
19607 # We did not find ourselves, most probably we were run as `sh COMMAND'
19608 # in which case we are not to be found in the path.
19609 if test "x$as_myself" = x; then
19610 as_myself=$0
19612 if test ! -f "$as_myself"; then
19613 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19614 exit 1
19617 # Unset variables that we do not need and which cause bugs (e.g. in
19618 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19619 # suppresses any "Segmentation fault" message there. '((' could
19620 # trigger a bug in pdksh 5.2.14.
19621 for as_var in BASH_ENV ENV MAIL MAILPATH
19622 do eval test x\${$as_var+set} = xset \
19623 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19624 done
19625 PS1='$ '
19626 PS2='> '
19627 PS4='+ '
19629 # NLS nuisances.
19630 LC_ALL=C
19631 export LC_ALL
19632 LANGUAGE=C
19633 export LANGUAGE
19635 # CDPATH.
19636 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19639 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19640 # ----------------------------------------
19641 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19642 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19643 # script with STATUS, using 1 if that was 0.
19644 as_fn_error ()
19646 as_status=$1; test $as_status -eq 0 && as_status=1
19647 if test "$4"; then
19648 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19649 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19651 $as_echo "$as_me: error: $2" >&2
19652 as_fn_exit $as_status
19653 } # as_fn_error
19656 # as_fn_set_status STATUS
19657 # -----------------------
19658 # Set $? to STATUS, without forking.
19659 as_fn_set_status ()
19661 return $1
19662 } # as_fn_set_status
19664 # as_fn_exit STATUS
19665 # -----------------
19666 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19667 as_fn_exit ()
19669 set +e
19670 as_fn_set_status $1
19671 exit $1
19672 } # as_fn_exit
19674 # as_fn_unset VAR
19675 # ---------------
19676 # Portably unset VAR.
19677 as_fn_unset ()
19679 { eval $1=; unset $1;}
19681 as_unset=as_fn_unset
19682 # as_fn_append VAR VALUE
19683 # ----------------------
19684 # Append the text in VALUE to the end of the definition contained in VAR. Take
19685 # advantage of any shell optimizations that allow amortized linear growth over
19686 # repeated appends, instead of the typical quadratic growth present in naive
19687 # implementations.
19688 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19689 eval 'as_fn_append ()
19691 eval $1+=\$2
19693 else
19694 as_fn_append ()
19696 eval $1=\$$1\$2
19698 fi # as_fn_append
19700 # as_fn_arith ARG...
19701 # ------------------
19702 # Perform arithmetic evaluation on the ARGs, and store the result in the
19703 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19704 # must be portable across $(()) and expr.
19705 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19706 eval 'as_fn_arith ()
19708 as_val=$(( $* ))
19710 else
19711 as_fn_arith ()
19713 as_val=`expr "$@" || test $? -eq 1`
19715 fi # as_fn_arith
19718 if expr a : '\(a\)' >/dev/null 2>&1 &&
19719 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19720 as_expr=expr
19721 else
19722 as_expr=false
19725 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19726 as_basename=basename
19727 else
19728 as_basename=false
19731 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19732 as_dirname=dirname
19733 else
19734 as_dirname=false
19737 as_me=`$as_basename -- "$0" ||
19738 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19739 X"$0" : 'X\(//\)$' \| \
19740 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19741 $as_echo X/"$0" |
19742 sed '/^.*\/\([^/][^/]*\)\/*$/{
19743 s//\1/
19746 /^X\/\(\/\/\)$/{
19747 s//\1/
19750 /^X\/\(\/\).*/{
19751 s//\1/
19754 s/.*/./; q'`
19756 # Avoid depending upon Character Ranges.
19757 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19758 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19759 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19760 as_cr_digits='0123456789'
19761 as_cr_alnum=$as_cr_Letters$as_cr_digits
19763 ECHO_C= ECHO_N= ECHO_T=
19764 case `echo -n x` in #(((((
19765 -n*)
19766 case `echo 'xy\c'` in
19767 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19768 xy) ECHO_C='\c';;
19769 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19770 ECHO_T=' ';;
19771 esac;;
19773 ECHO_N='-n';;
19774 esac
19776 rm -f conf$$ conf$$.exe conf$$.file
19777 if test -d conf$$.dir; then
19778 rm -f conf$$.dir/conf$$.file
19779 else
19780 rm -f conf$$.dir
19781 mkdir conf$$.dir 2>/dev/null
19783 if (echo >conf$$.file) 2>/dev/null; then
19784 if ln -s conf$$.file conf$$ 2>/dev/null; then
19785 as_ln_s='ln -s'
19786 # ... but there are two gotchas:
19787 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19788 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19789 # In both cases, we have to default to `cp -pR'.
19790 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19791 as_ln_s='cp -pR'
19792 elif ln conf$$.file conf$$ 2>/dev/null; then
19793 as_ln_s=ln
19794 else
19795 as_ln_s='cp -pR'
19797 else
19798 as_ln_s='cp -pR'
19800 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19801 rmdir conf$$.dir 2>/dev/null
19804 # as_fn_mkdir_p
19805 # -------------
19806 # Create "$as_dir" as a directory, including parents if necessary.
19807 as_fn_mkdir_p ()
19810 case $as_dir in #(
19811 -*) as_dir=./$as_dir;;
19812 esac
19813 test -d "$as_dir" || eval $as_mkdir_p || {
19814 as_dirs=
19815 while :; do
19816 case $as_dir in #(
19817 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19818 *) as_qdir=$as_dir;;
19819 esac
19820 as_dirs="'$as_qdir' $as_dirs"
19821 as_dir=`$as_dirname -- "$as_dir" ||
19822 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19823 X"$as_dir" : 'X\(//\)[^/]' \| \
19824 X"$as_dir" : 'X\(//\)$' \| \
19825 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19826 $as_echo X"$as_dir" |
19827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19828 s//\1/
19831 /^X\(\/\/\)[^/].*/{
19832 s//\1/
19835 /^X\(\/\/\)$/{
19836 s//\1/
19839 /^X\(\/\).*/{
19840 s//\1/
19843 s/.*/./; q'`
19844 test -d "$as_dir" && break
19845 done
19846 test -z "$as_dirs" || eval "mkdir $as_dirs"
19847 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19850 } # as_fn_mkdir_p
19851 if mkdir -p . 2>/dev/null; then
19852 as_mkdir_p='mkdir -p "$as_dir"'
19853 else
19854 test -d ./-p && rmdir ./-p
19855 as_mkdir_p=false
19859 # as_fn_executable_p FILE
19860 # -----------------------
19861 # Test if FILE is an executable regular file.
19862 as_fn_executable_p ()
19864 test -f "$1" && test -x "$1"
19865 } # as_fn_executable_p
19866 as_test_x='test -x'
19867 as_executable_p=as_fn_executable_p
19869 # Sed expression to map a string onto a valid CPP name.
19870 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19872 # Sed expression to map a string onto a valid variable name.
19873 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19876 exec 6>&1
19877 ## ----------------------------------- ##
19878 ## Main body of $CONFIG_STATUS script. ##
19879 ## ----------------------------------- ##
19880 _ASEOF
19881 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19884 # Save the log message, to keep $0 and so on meaningful, and to
19885 # report actual input values of CONFIG_FILES etc. instead of their
19886 # values after options handling.
19887 ac_log="
19888 This file was extended by Wine $as_me 3.4, which was
19889 generated by GNU Autoconf 2.69. Invocation command line was
19891 CONFIG_FILES = $CONFIG_FILES
19892 CONFIG_HEADERS = $CONFIG_HEADERS
19893 CONFIG_LINKS = $CONFIG_LINKS
19894 CONFIG_COMMANDS = $CONFIG_COMMANDS
19895 $ $0 $@
19897 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19900 _ACEOF
19902 case $ac_config_files in *"
19903 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19904 esac
19906 case $ac_config_headers in *"
19907 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19908 esac
19911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19912 # Files that config.status was made for.
19913 config_files="$ac_config_files"
19914 config_headers="$ac_config_headers"
19915 config_links="$ac_config_links"
19916 config_commands="$ac_config_commands"
19918 _ACEOF
19920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19921 ac_cs_usage="\
19922 \`$as_me' instantiates files and other configuration actions
19923 from templates according to the current configuration. Unless the files
19924 and actions are specified as TAGs, all are instantiated by default.
19926 Usage: $0 [OPTION]... [TAG]...
19928 -h, --help print this help, then exit
19929 -V, --version print version number and configuration settings, then exit
19930 --config print configuration, then exit
19931 -q, --quiet, --silent
19932 do not print progress messages
19933 -d, --debug don't remove temporary files
19934 --recheck update $as_me by reconfiguring in the same conditions
19935 --file=FILE[:TEMPLATE]
19936 instantiate the configuration file FILE
19937 --header=FILE[:TEMPLATE]
19938 instantiate the configuration header FILE
19940 Configuration files:
19941 $config_files
19943 Configuration headers:
19944 $config_headers
19946 Configuration links:
19947 $config_links
19949 Configuration commands:
19950 $config_commands
19952 Report bugs to <wine-devel@winehq.org>.
19953 Wine home page: <https://www.winehq.org>."
19955 _ACEOF
19956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19957 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19958 ac_cs_version="\\
19959 Wine config.status 3.4
19960 configured by $0, generated by GNU Autoconf 2.69,
19961 with options \\"\$ac_cs_config\\"
19963 Copyright (C) 2012 Free Software Foundation, Inc.
19964 This config.status script is free software; the Free Software Foundation
19965 gives unlimited permission to copy, distribute and modify it."
19967 ac_pwd='$ac_pwd'
19968 srcdir='$srcdir'
19969 test -n "\$AWK" || AWK=awk
19970 _ACEOF
19972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19973 # The default lists apply if the user does not specify any file.
19974 ac_need_defaults=:
19975 while test $# != 0
19977 case $1 in
19978 --*=?*)
19979 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19980 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19981 ac_shift=:
19983 --*=)
19984 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19985 ac_optarg=
19986 ac_shift=:
19989 ac_option=$1
19990 ac_optarg=$2
19991 ac_shift=shift
19993 esac
19995 case $ac_option in
19996 # Handling of the options.
19997 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19998 ac_cs_recheck=: ;;
19999 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20000 $as_echo "$ac_cs_version"; exit ;;
20001 --config | --confi | --conf | --con | --co | --c )
20002 $as_echo "$ac_cs_config"; exit ;;
20003 --debug | --debu | --deb | --de | --d | -d )
20004 debug=: ;;
20005 --file | --fil | --fi | --f )
20006 $ac_shift
20007 case $ac_optarg in
20008 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20009 '') as_fn_error $? "missing file argument" ;;
20010 esac
20011 as_fn_append CONFIG_FILES " '$ac_optarg'"
20012 ac_need_defaults=false;;
20013 --header | --heade | --head | --hea )
20014 $ac_shift
20015 case $ac_optarg in
20016 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20017 esac
20018 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20019 ac_need_defaults=false;;
20020 --he | --h)
20021 # Conflict between --help and --header
20022 as_fn_error $? "ambiguous option: \`$1'
20023 Try \`$0 --help' for more information.";;
20024 --help | --hel | -h )
20025 $as_echo "$ac_cs_usage"; exit ;;
20026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20027 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20028 ac_cs_silent=: ;;
20030 # This is an error.
20031 -*) as_fn_error $? "unrecognized option: \`$1'
20032 Try \`$0 --help' for more information." ;;
20034 *) as_fn_append ac_config_targets " $1"
20035 ac_need_defaults=false ;;
20037 esac
20038 shift
20039 done
20041 ac_configure_extra_args=
20043 if $ac_cs_silent; then
20044 exec 6>/dev/null
20045 ac_configure_extra_args="$ac_configure_extra_args --silent"
20048 _ACEOF
20049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20050 if \$ac_cs_recheck; then
20051 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20052 shift
20053 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20054 CONFIG_SHELL='$SHELL'
20055 export CONFIG_SHELL
20056 exec "\$@"
20059 _ACEOF
20060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20061 exec 5>>config.log
20063 echo
20064 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20065 ## Running $as_me. ##
20066 _ASBOX
20067 $as_echo "$ac_log"
20068 } >&5
20070 _ACEOF
20071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20073 # INIT-COMMANDS
20075 wine_fn_output_makedep ()
20077 as_dir=tools; as_fn_mkdir_p
20078 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20080 wine_fn_output_makefile ()
20082 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20083 `cat $wine_rules_file`
20084 _WINE_EOF
20085 as_fn_error $? "could not create Makefile" "$LINENO" 5
20088 _ACEOF
20090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20092 # Handling of arguments.
20093 for ac_config_target in $ac_config_targets
20095 case $ac_config_target in
20096 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20097 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20098 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20099 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20100 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20101 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20102 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20103 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20104 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20105 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20106 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20107 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20108 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20110 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20111 esac
20112 done
20115 # If the user did not use the arguments to specify the items to instantiate,
20116 # then the envvar interface is used. Set only those that are not.
20117 # We use the long form for the default assignment because of an extremely
20118 # bizarre bug on SunOS 4.1.3.
20119 if $ac_need_defaults; then
20120 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20121 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20122 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20123 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20126 # Have a temporary directory for convenience. Make it in the build tree
20127 # simply because there is no reason against having it here, and in addition,
20128 # creating and moving files from /tmp can sometimes cause problems.
20129 # Hook for its removal unless debugging.
20130 # Note that there is a small window in which the directory will not be cleaned:
20131 # after its creation but before its name has been assigned to `$tmp'.
20132 $debug ||
20134 tmp= ac_tmp=
20135 trap 'exit_status=$?
20136 : "${ac_tmp:=$tmp}"
20137 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20139 trap 'as_fn_exit 1' 1 2 13 15
20141 # Create a (secure) tmp directory for tmp files.
20144 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20145 test -d "$tmp"
20146 } ||
20148 tmp=./conf$$-$RANDOM
20149 (umask 077 && mkdir "$tmp")
20150 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20151 ac_tmp=$tmp
20153 # Set up the scripts for CONFIG_FILES section.
20154 # No need to generate them if there are no CONFIG_FILES.
20155 # This happens for instance with `./config.status config.h'.
20156 if test -n "$CONFIG_FILES"; then
20159 ac_cr=`echo X | tr X '\015'`
20160 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20161 # But we know of no other shell where ac_cr would be empty at this
20162 # point, so we can use a bashism as a fallback.
20163 if test "x$ac_cr" = x; then
20164 eval ac_cr=\$\'\\r\'
20166 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20167 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20168 ac_cs_awk_cr='\\r'
20169 else
20170 ac_cs_awk_cr=$ac_cr
20173 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20174 _ACEOF
20178 echo "cat >conf$$subs.awk <<_ACEOF" &&
20179 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20180 echo "_ACEOF"
20181 } >conf$$subs.sh ||
20182 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20183 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20184 ac_delim='%!_!# '
20185 for ac_last_try in false false false false false :; do
20186 . ./conf$$subs.sh ||
20187 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20189 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20190 if test $ac_delim_n = $ac_delim_num; then
20191 break
20192 elif $ac_last_try; then
20193 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20194 else
20195 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20197 done
20198 rm -f conf$$subs.sh
20200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20201 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20202 _ACEOF
20203 sed -n '
20205 s/^/S["/; s/!.*/"]=/
20208 s/^[^!]*!//
20209 :repl
20210 t repl
20211 s/'"$ac_delim"'$//
20212 t delim
20215 s/\(.\{148\}\)..*/\1/
20216 t more1
20217 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20220 b repl
20221 :more1
20222 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20225 s/.\{148\}//
20226 t nl
20227 :delim
20229 s/\(.\{148\}\)..*/\1/
20230 t more2
20231 s/["\\]/\\&/g; s/^/"/; s/$/"/
20234 :more2
20235 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20238 s/.\{148\}//
20239 t delim
20240 ' <conf$$subs.awk | sed '
20241 /^[^""]/{
20243 s/\n//
20245 ' >>$CONFIG_STATUS || ac_write_fail=1
20246 rm -f conf$$subs.awk
20247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20248 _ACAWK
20249 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20250 for (key in S) S_is_set[key] = 1
20251 FS = "\a"
20255 line = $ 0
20256 nfields = split(line, field, "@")
20257 substed = 0
20258 len = length(field[1])
20259 for (i = 2; i < nfields; i++) {
20260 key = field[i]
20261 keylen = length(key)
20262 if (S_is_set[key]) {
20263 value = S[key]
20264 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20265 len += length(value) + length(field[++i])
20266 substed = 1
20267 } else
20268 len += 1 + keylen
20271 print line
20274 _ACAWK
20275 _ACEOF
20276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20277 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20278 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20279 else
20281 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20282 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20283 _ACEOF
20285 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20286 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20287 # trailing colons and then remove the whole line if VPATH becomes empty
20288 # (actually we leave an empty line to preserve line numbers).
20289 if test "x$srcdir" = x.; then
20290 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20292 s///
20293 s/^/:/
20294 s/[ ]*$/:/
20295 s/:\$(srcdir):/:/g
20296 s/:\${srcdir}:/:/g
20297 s/:@srcdir@:/:/g
20298 s/^:*//
20299 s/:*$//
20301 s/\(=[ ]*\).*/\1/
20303 s/\n//
20304 s/^[^=]*=[ ]*$//
20308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20309 fi # test -n "$CONFIG_FILES"
20311 # Set up the scripts for CONFIG_HEADERS section.
20312 # No need to generate them if there are no CONFIG_HEADERS.
20313 # This happens for instance with `./config.status Makefile'.
20314 if test -n "$CONFIG_HEADERS"; then
20315 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20316 BEGIN {
20317 _ACEOF
20319 # Transform confdefs.h into an awk script `defines.awk', embedded as
20320 # here-document in config.status, that substitutes the proper values into
20321 # config.h.in to produce config.h.
20323 # Create a delimiter string that does not exist in confdefs.h, to ease
20324 # handling of long lines.
20325 ac_delim='%!_!# '
20326 for ac_last_try in false false :; do
20327 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20328 if test -z "$ac_tt"; then
20329 break
20330 elif $ac_last_try; then
20331 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20332 else
20333 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20335 done
20337 # For the awk script, D is an array of macro values keyed by name,
20338 # likewise P contains macro parameters if any. Preserve backslash
20339 # newline sequences.
20341 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20342 sed -n '
20343 s/.\{148\}/&'"$ac_delim"'/g
20344 t rset
20345 :rset
20346 s/^[ ]*#[ ]*define[ ][ ]*/ /
20347 t def
20349 :def
20350 s/\\$//
20351 t bsnl
20352 s/["\\]/\\&/g
20353 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20354 D["\1"]=" \3"/p
20355 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20357 :bsnl
20358 s/["\\]/\\&/g
20359 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20360 D["\1"]=" \3\\\\\\n"\\/p
20361 t cont
20362 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20363 t cont
20365 :cont
20367 s/.\{148\}/&'"$ac_delim"'/g
20368 t clear
20369 :clear
20370 s/\\$//
20371 t bsnlc
20372 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20374 :bsnlc
20375 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20376 b cont
20377 ' <confdefs.h | sed '
20378 s/'"$ac_delim"'/"\\\
20379 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20382 for (key in D) D_is_set[key] = 1
20383 FS = "\a"
20385 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20386 line = \$ 0
20387 split(line, arg, " ")
20388 if (arg[1] == "#") {
20389 defundef = arg[2]
20390 mac1 = arg[3]
20391 } else {
20392 defundef = substr(arg[1], 2)
20393 mac1 = arg[2]
20395 split(mac1, mac2, "(") #)
20396 macro = mac2[1]
20397 prefix = substr(line, 1, index(line, defundef) - 1)
20398 if (D_is_set[macro]) {
20399 # Preserve the white space surrounding the "#".
20400 print prefix "define", macro P[macro] D[macro]
20401 next
20402 } else {
20403 # Replace #undef with comments. This is necessary, for example,
20404 # in the case of _POSIX_SOURCE, which is predefined and required
20405 # on some systems where configure will not decide to define it.
20406 if (defundef == "undef") {
20407 print "/*", prefix defundef, macro, "*/"
20408 next
20412 { print }
20413 _ACAWK
20414 _ACEOF
20415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20416 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20417 fi # test -n "$CONFIG_HEADERS"
20420 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20421 shift
20422 for ac_tag
20424 case $ac_tag in
20425 :[FHLC]) ac_mode=$ac_tag; continue;;
20426 esac
20427 case $ac_mode$ac_tag in
20428 :[FHL]*:*);;
20429 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20430 :[FH]-) ac_tag=-:-;;
20431 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20432 esac
20433 ac_save_IFS=$IFS
20434 IFS=:
20435 set x $ac_tag
20436 IFS=$ac_save_IFS
20437 shift
20438 ac_file=$1
20439 shift
20441 case $ac_mode in
20442 :L) ac_source=$1;;
20443 :[FH])
20444 ac_file_inputs=
20445 for ac_f
20447 case $ac_f in
20448 -) ac_f="$ac_tmp/stdin";;
20449 *) # Look for the file first in the build tree, then in the source tree
20450 # (if the path is not absolute). The absolute path cannot be DOS-style,
20451 # because $ac_f cannot contain `:'.
20452 test -f "$ac_f" ||
20453 case $ac_f in
20454 [\\/$]*) false;;
20455 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20456 esac ||
20457 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20458 esac
20459 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20460 as_fn_append ac_file_inputs " '$ac_f'"
20461 done
20463 # Let's still pretend it is `configure' which instantiates (i.e., don't
20464 # use $as_me), people would be surprised to read:
20465 # /* config.h. Generated by config.status. */
20466 configure_input='Generated from '`
20467 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20468 `' by configure.'
20469 if test x"$ac_file" != x-; then
20470 configure_input="$ac_file. $configure_input"
20471 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20472 $as_echo "$as_me: creating $ac_file" >&6;}
20474 # Neutralize special characters interpreted by sed in replacement strings.
20475 case $configure_input in #(
20476 *\&* | *\|* | *\\* )
20477 ac_sed_conf_input=`$as_echo "$configure_input" |
20478 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20479 *) ac_sed_conf_input=$configure_input;;
20480 esac
20482 case $ac_tag in
20483 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20484 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20485 esac
20487 esac
20489 ac_dir=`$as_dirname -- "$ac_file" ||
20490 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20491 X"$ac_file" : 'X\(//\)[^/]' \| \
20492 X"$ac_file" : 'X\(//\)$' \| \
20493 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20494 $as_echo X"$ac_file" |
20495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20496 s//\1/
20499 /^X\(\/\/\)[^/].*/{
20500 s//\1/
20503 /^X\(\/\/\)$/{
20504 s//\1/
20507 /^X\(\/\).*/{
20508 s//\1/
20511 s/.*/./; q'`
20512 as_dir="$ac_dir"; as_fn_mkdir_p
20513 ac_builddir=.
20515 case "$ac_dir" in
20516 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20518 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20519 # A ".." for each directory in $ac_dir_suffix.
20520 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20521 case $ac_top_builddir_sub in
20522 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20523 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20524 esac ;;
20525 esac
20526 ac_abs_top_builddir=$ac_pwd
20527 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20528 # for backward compatibility:
20529 ac_top_builddir=$ac_top_build_prefix
20531 case $srcdir in
20532 .) # We are building in place.
20533 ac_srcdir=.
20534 ac_top_srcdir=$ac_top_builddir_sub
20535 ac_abs_top_srcdir=$ac_pwd ;;
20536 [\\/]* | ?:[\\/]* ) # Absolute name.
20537 ac_srcdir=$srcdir$ac_dir_suffix;
20538 ac_top_srcdir=$srcdir
20539 ac_abs_top_srcdir=$srcdir ;;
20540 *) # Relative name.
20541 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20542 ac_top_srcdir=$ac_top_build_prefix$srcdir
20543 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20544 esac
20545 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20548 case $ac_mode in
20551 # CONFIG_FILE
20554 _ACEOF
20556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20557 # If the template does not know about datarootdir, expand it.
20558 # FIXME: This hack should be removed a few years after 2.60.
20559 ac_datarootdir_hack=; ac_datarootdir_seen=
20560 ac_sed_dataroot='
20561 /datarootdir/ {
20565 /@datadir@/p
20566 /@docdir@/p
20567 /@infodir@/p
20568 /@localedir@/p
20569 /@mandir@/p'
20570 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20571 *datarootdir*) ac_datarootdir_seen=yes;;
20572 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20574 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20575 _ACEOF
20576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20577 ac_datarootdir_hack='
20578 s&@datadir@&$datadir&g
20579 s&@docdir@&$docdir&g
20580 s&@infodir@&$infodir&g
20581 s&@localedir@&$localedir&g
20582 s&@mandir@&$mandir&g
20583 s&\\\${datarootdir}&$datarootdir&g' ;;
20584 esac
20585 _ACEOF
20587 # Neutralize VPATH when `$srcdir' = `.'.
20588 # Shell code in configure.ac might set extrasub.
20589 # FIXME: do we really want to maintain this feature?
20590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20591 ac_sed_extra="$ac_vpsub
20592 $extrasub
20593 _ACEOF
20594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20596 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20597 s|@configure_input@|$ac_sed_conf_input|;t t
20598 s&@top_builddir@&$ac_top_builddir_sub&;t t
20599 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20600 s&@srcdir@&$ac_srcdir&;t t
20601 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20602 s&@top_srcdir@&$ac_top_srcdir&;t t
20603 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20604 s&@builddir@&$ac_builddir&;t t
20605 s&@abs_builddir@&$ac_abs_builddir&;t t
20606 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20607 $ac_datarootdir_hack
20609 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20610 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20612 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20613 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20614 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20615 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20617 which seems to be undefined. Please make sure it is defined" >&5
20618 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20619 which seems to be undefined. Please make sure it is defined" >&2;}
20621 rm -f "$ac_tmp/stdin"
20622 case $ac_file in
20623 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20624 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20625 esac \
20626 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20630 # CONFIG_HEADER
20632 if test x"$ac_file" != x-; then
20634 $as_echo "/* $configure_input */" \
20635 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20636 } >"$ac_tmp/config.h" \
20637 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20638 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20640 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20641 else
20642 rm -f "$ac_file"
20643 mv "$ac_tmp/config.h" "$ac_file" \
20644 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20646 else
20647 $as_echo "/* $configure_input */" \
20648 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20649 || as_fn_error $? "could not create -" "$LINENO" 5
20654 # CONFIG_LINK
20657 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20659 else
20660 # Prefer the file from the source tree if names are identical.
20661 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20662 ac_source=$srcdir/$ac_source
20665 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20666 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20668 if test ! -r "$ac_source"; then
20669 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20671 rm -f "$ac_file"
20673 # Try a relative symlink, then a hard link, then a copy.
20674 case $ac_source in
20675 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20676 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20677 esac
20678 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20679 ln "$ac_source" "$ac_file" 2>/dev/null ||
20680 cp -p "$ac_source" "$ac_file" ||
20681 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20684 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20685 $as_echo "$as_me: executing $ac_file commands" >&6;}
20687 esac
20690 case $ac_file$ac_mode in
20691 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20692 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20693 "Makefile":C) wine_fn_output_makefile Makefile ;;
20695 esac
20696 done # for ac_tag
20699 as_fn_exit 0
20700 _ACEOF
20701 ac_clean_files=$ac_clean_files_save
20703 test $ac_write_fail = 0 ||
20704 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20707 # configure is writing to config.log, and then calls config.status.
20708 # config.status does its own redirection, appending to config.log.
20709 # Unfortunately, on DOS this fails, as config.log is still kept open
20710 # by configure, so config.status won't be able to write to it; its
20711 # output is simply discarded. So we exec the FD to /dev/null,
20712 # effectively closing config.log, so it can be properly (re)opened and
20713 # appended to by config.status. When coming back to configure, we
20714 # need to make the FD available again.
20715 if test "$no_create" != yes; then
20716 ac_cs_success=:
20717 ac_config_status_args=
20718 test "$silent" = yes &&
20719 ac_config_status_args="$ac_config_status_args --quiet"
20720 exec 5>/dev/null
20721 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20722 exec 5>>config.log
20723 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20724 # would make configure fail if this is the last instruction.
20725 $ac_cs_success || as_fn_exit 1
20727 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20729 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20733 if test "$no_create" = "yes"
20734 then
20735 exit 0
20738 ac_save_IFS="$IFS"
20739 if test "x$wine_notices" != x; then
20740 echo >&6
20741 IFS="|"
20742 for msg in $wine_notices; do
20743 IFS="$ac_save_IFS"
20744 if ${msg:+false} :; then :
20746 else
20747 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20748 $as_echo "$as_me: $msg" >&6;}
20750 done
20752 IFS="|"
20753 for msg in $wine_warnings; do
20754 IFS="$ac_save_IFS"
20755 if ${msg:+false} :; then :
20757 else
20758 echo >&2
20759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20760 $as_echo "$as_me: WARNING: $msg" >&2;}
20762 done
20763 IFS="$ac_save_IFS"
20765 $as_echo "
20766 $as_me: Finished. Do '${ac_make}' to compile Wine.
20767 " >&6