wininet/tests: Update the winehq.org certificate data.
[wine.git] / configure
blobb4cfc38086562530e2a0d67e46aed1adff140a11
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.3.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='3.3'
584 PACKAGE_STRING='Wine 3.3'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 SDL2_LIBS
662 SDL2_CFLAGS
663 UDEV_LIBS
664 UDEV_CFLAGS
665 OSS4_CFLAGS
666 ALSA_LIBS
667 GSTREAMER_LIBS
668 GSTREAMER_CFLAGS
669 PULSE_LIBS
670 PULSE_CFLAGS
671 GETTEXTPO_LIBS
672 Z_LIBS
673 FREETYPE_LIBS
674 FREETYPE_CFLAGS
675 LCMS2_LIBS
676 LCMS2_CFLAGS
677 RESOLV_LIBS
678 GPHOTO2_PORT_LIBS
679 GPHOTO2_PORT_CFLAGS
680 GPHOTO2_LIBS
681 GPHOTO2_CFLAGS
682 SANE_LIBS
683 SANE_CFLAGS
684 GNUTLS_LIBS
685 GNUTLS_CFLAGS
686 HAL_LIBS
687 HAL_CFLAGS
688 DBUS_LIBS
689 DBUS_CFLAGS
690 XSLT_LIBS
691 XSLT_CFLAGS
692 XML2_LIBS
693 XML2_CFLAGS
694 PCAP_LIBS
695 X_EXTRA_LIBS
696 X_LIBS
697 X_PRE_LIBS
698 X_CFLAGS
699 XMKMF
700 PTHREAD_LIBS
701 CROSSCFLAGS
702 CROSSCC
703 CROSSTARGET
704 PRELINK
705 WINELOADER_DEPENDS
706 CARBON_LIBS
707 QUICKTIME_LIBS
708 OPENCL_LIBS
709 OPENAL_LIBS
710 COREAUDIO_LIBS
711 SECURITY_LIBS
712 DISKARBITRATION_LIBS
713 APPKIT_LIBS
714 CORESERVICES_LIBS
715 APPLICATIONSERVICES_LIBS
716 FORCEFEEDBACK_LIBS
717 IOKIT_LIBS
718 COREFOUNDATION_LIBS
719 LIBWINE_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_INSTALL_DEV
722 LIBWINE_INSTALL_LIB
723 LIBWINE_IMPORTLIB
724 LIBWINE_SHAREDLIB
725 SOCKET_LIBS
726 DLLTOOL
727 WINELOADER_PROGRAMS
728 CONFIGURE_TARGETS
729 DISABLED_SUBDIRS
730 SUBDIRS
731 READELF
732 OTOOL
734 WINELOADER_LDFLAGS
735 LDEXECFLAGS
736 LDRPATH_LOCAL
737 LDRPATH_INSTALL
738 DLLFLAGS
740 OPENGL_LIBS
741 ICOTOOL
742 CONVERT
743 RSVG
744 FONTFORGE
745 PKG_CONFIG
746 MSGFMT
747 LDCONFIG
748 EGREP
749 GREP
750 LN_S
751 RANLIB
752 ARFLAGS
753 STRIP
754 ac_ct_AR
756 BISON
757 FLEX
758 TOOLSDIR
759 wine64_disable
760 TARGETFLAGS
762 CPPBIN
763 ac_ct_CXX
764 CXXFLAGS
766 OBJEXT
767 EXEEXT
768 ac_ct_CC
769 CPPFLAGS
770 LDFLAGS
771 CFLAGS
773 SET_MAKE
774 host_os
775 host_vendor
776 host_cpu
777 host
778 build_os
779 build_vendor
780 build_cpu
781 build
782 target_alias
783 host_alias
784 build_alias
785 LIBS
786 ECHO_T
787 ECHO_N
788 ECHO_C
789 DEFS
790 mandir
791 localedir
792 libdir
793 psdir
794 pdfdir
795 dvidir
796 htmldir
797 infodir
798 docdir
799 oldincludedir
800 includedir
801 runstatedir
802 localstatedir
803 sharedstatedir
804 sysconfdir
805 datadir
806 datarootdir
807 libexecdir
808 sbindir
809 bindir
810 program_transform_name
811 prefix
812 exec_prefix
813 PACKAGE_URL
814 PACKAGE_BUGREPORT
815 PACKAGE_STRING
816 PACKAGE_VERSION
817 PACKAGE_TARNAME
818 PACKAGE_NAME
819 PATH_SEPARATOR
820 SHELL'
821 ac_subst_files=''
822 ac_user_opts='
823 enable_option_checking
824 enable_win16
825 enable_win64
826 enable_tests
827 enable_maintainer_mode
828 with_alsa
829 with_capi
830 with_cms
831 with_coreaudio
832 with_cups
833 with_curses
834 with_dbus
835 with_float_abi
836 with_fontconfig
837 with_freetype
838 with_gettext
839 with_gettextpo
840 with_gphoto
841 with_glu
842 with_gnutls
843 with_gsm
844 with_gssapi
845 with_gstreamer
846 with_hal
847 with_jpeg
848 with_krb5
849 with_ldap
850 with_mpg123
851 with_netapi
852 with_openal
853 with_opencl
854 with_opengl
855 with_osmesa
856 with_oss
857 with_pcap
858 with_png
859 with_pthread
860 with_pulse
861 with_sane
862 with_sdl
863 with_tiff
864 with_udev
865 with_v4l
866 with_vulkan
867 with_xcomposite
868 with_xcursor
869 with_xfixes
870 with_xinerama
871 with_xinput
872 with_xinput2
873 with_xml
874 with_xrandr
875 with_xrender
876 with_xshape
877 with_xshm
878 with_xslt
879 with_xxf86vm
880 with_zlib
881 with_wine_tools
882 with_wine64
883 enable_largefile
884 with_x
885 enable_acledit
886 enable_aclui
887 enable_activeds
888 enable_actxprxy
889 enable_adsiid
890 enable_adsldp
891 enable_adsldpc
892 enable_advapi32
893 enable_advpack
894 enable_amstream
895 enable_api_ms_win_appmodel_identity_l1_1_0
896 enable_api_ms_win_appmodel_runtime_l1_1_1
897 enable_api_ms_win_appmodel_runtime_l1_1_2
898 enable_api_ms_win_core_apiquery_l1_1_0
899 enable_api_ms_win_core_appcompat_l1_1_1
900 enable_api_ms_win_core_appinit_l1_1_0
901 enable_api_ms_win_core_atoms_l1_1_0
902 enable_api_ms_win_core_bem_l1_1_0
903 enable_api_ms_win_core_com_l1_1_0
904 enable_api_ms_win_core_com_l1_1_1
905 enable_api_ms_win_core_com_private_l1_1_0
906 enable_api_ms_win_core_console_l1_1_0
907 enable_api_ms_win_core_console_l2_1_0
908 enable_api_ms_win_core_crt_l1_1_0
909 enable_api_ms_win_core_crt_l2_1_0
910 enable_api_ms_win_core_datetime_l1_1_0
911 enable_api_ms_win_core_datetime_l1_1_1
912 enable_api_ms_win_core_debug_l1_1_0
913 enable_api_ms_win_core_debug_l1_1_1
914 enable_api_ms_win_core_delayload_l1_1_0
915 enable_api_ms_win_core_delayload_l1_1_1
916 enable_api_ms_win_core_errorhandling_l1_1_0
917 enable_api_ms_win_core_errorhandling_l1_1_1
918 enable_api_ms_win_core_errorhandling_l1_1_2
919 enable_api_ms_win_core_errorhandling_l1_1_3
920 enable_api_ms_win_core_fibers_l1_1_0
921 enable_api_ms_win_core_fibers_l1_1_1
922 enable_api_ms_win_core_file_l1_1_0
923 enable_api_ms_win_core_file_l1_2_0
924 enable_api_ms_win_core_file_l1_2_1
925 enable_api_ms_win_core_file_l1_2_2
926 enable_api_ms_win_core_file_l2_1_0
927 enable_api_ms_win_core_file_l2_1_1
928 enable_api_ms_win_core_file_l2_1_2
929 enable_api_ms_win_core_handle_l1_1_0
930 enable_api_ms_win_core_heap_l1_1_0
931 enable_api_ms_win_core_heap_l1_2_0
932 enable_api_ms_win_core_heap_l2_1_0
933 enable_api_ms_win_core_heap_obsolete_l1_1_0
934 enable_api_ms_win_core_interlocked_l1_1_0
935 enable_api_ms_win_core_interlocked_l1_2_0
936 enable_api_ms_win_core_io_l1_1_0
937 enable_api_ms_win_core_io_l1_1_1
938 enable_api_ms_win_core_job_l1_1_0
939 enable_api_ms_win_core_job_l2_1_0
940 enable_api_ms_win_core_kernel32_legacy_l1_1_0
941 enable_api_ms_win_core_kernel32_legacy_l1_1_1
942 enable_api_ms_win_core_kernel32_private_l1_1_1
943 enable_api_ms_win_core_libraryloader_l1_1_0
944 enable_api_ms_win_core_libraryloader_l1_1_1
945 enable_api_ms_win_core_libraryloader_l1_2_0
946 enable_api_ms_win_core_libraryloader_l1_2_1
947 enable_api_ms_win_core_libraryloader_l1_2_2
948 enable_api_ms_win_core_localization_l1_1_0
949 enable_api_ms_win_core_localization_l1_2_0
950 enable_api_ms_win_core_localization_l1_2_1
951 enable_api_ms_win_core_localization_l2_1_0
952 enable_api_ms_win_core_localization_obsolete_l1_1_0
953 enable_api_ms_win_core_localization_obsolete_l1_2_0
954 enable_api_ms_win_core_localization_obsolete_l1_3_0
955 enable_api_ms_win_core_localization_private_l1_1_0
956 enable_api_ms_win_core_localregistry_l1_1_0
957 enable_api_ms_win_core_memory_l1_1_0
958 enable_api_ms_win_core_memory_l1_1_1
959 enable_api_ms_win_core_memory_l1_1_2
960 enable_api_ms_win_core_misc_l1_1_0
961 enable_api_ms_win_core_namedpipe_l1_1_0
962 enable_api_ms_win_core_namedpipe_l1_2_0
963 enable_api_ms_win_core_namespace_l1_1_0
964 enable_api_ms_win_core_normalization_l1_1_0
965 enable_api_ms_win_core_path_l1_1_0
966 enable_api_ms_win_core_privateprofile_l1_1_1
967 enable_api_ms_win_core_processenvironment_l1_1_0
968 enable_api_ms_win_core_processenvironment_l1_2_0
969 enable_api_ms_win_core_processthreads_l1_1_0
970 enable_api_ms_win_core_processthreads_l1_1_1
971 enable_api_ms_win_core_processthreads_l1_1_2
972 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
973 enable_api_ms_win_core_profile_l1_1_0
974 enable_api_ms_win_core_psapi_ansi_l1_1_0
975 enable_api_ms_win_core_psapi_l1_1_0
976 enable_api_ms_win_core_psapi_obsolete_l1_1_0
977 enable_api_ms_win_core_quirks_l1_1_0
978 enable_api_ms_win_core_realtime_l1_1_0
979 enable_api_ms_win_core_registry_l1_1_0
980 enable_api_ms_win_core_registry_l2_1_0
981 enable_api_ms_win_core_registryuserspecific_l1_1_0
982 enable_api_ms_win_core_rtlsupport_l1_1_0
983 enable_api_ms_win_core_rtlsupport_l1_2_0
984 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
985 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
986 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
987 enable_api_ms_win_core_shutdown_l1_1_0
988 enable_api_ms_win_core_sidebyside_l1_1_0
989 enable_api_ms_win_core_string_l1_1_0
990 enable_api_ms_win_core_string_l2_1_0
991 enable_api_ms_win_core_string_obsolete_l1_1_0
992 enable_api_ms_win_core_stringansi_l1_1_0
993 enable_api_ms_win_core_synch_ansi_l1_1_0
994 enable_api_ms_win_core_synch_l1_1_0
995 enable_api_ms_win_core_synch_l1_2_0
996 enable_api_ms_win_core_synch_l1_2_1
997 enable_api_ms_win_core_sysinfo_l1_1_0
998 enable_api_ms_win_core_sysinfo_l1_2_0
999 enable_api_ms_win_core_sysinfo_l1_2_1
1000 enable_api_ms_win_core_threadpool_l1_1_0
1001 enable_api_ms_win_core_threadpool_l1_2_0
1002 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1003 enable_api_ms_win_core_threadpool_private_l1_1_0
1004 enable_api_ms_win_core_timezone_l1_1_0
1005 enable_api_ms_win_core_toolhelp_l1_1_0
1006 enable_api_ms_win_core_url_l1_1_0
1007 enable_api_ms_win_core_util_l1_1_0
1008 enable_api_ms_win_core_version_l1_1_0
1009 enable_api_ms_win_core_version_l1_1_1
1010 enable_api_ms_win_core_version_private_l1_1_0
1011 enable_api_ms_win_core_versionansi_l1_1_0
1012 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1013 enable_api_ms_win_core_winrt_error_l1_1_0
1014 enable_api_ms_win_core_winrt_error_l1_1_1
1015 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1016 enable_api_ms_win_core_winrt_l1_1_0
1017 enable_api_ms_win_core_winrt_registration_l1_1_0
1018 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1019 enable_api_ms_win_core_winrt_string_l1_1_0
1020 enable_api_ms_win_core_wow64_l1_1_0
1021 enable_api_ms_win_core_wow64_l1_1_1
1022 enable_api_ms_win_core_xstate_l1_1_0
1023 enable_api_ms_win_core_xstate_l2_1_0
1024 enable_api_ms_win_crt_conio_l1_1_0
1025 enable_api_ms_win_crt_convert_l1_1_0
1026 enable_api_ms_win_crt_environment_l1_1_0
1027 enable_api_ms_win_crt_filesystem_l1_1_0
1028 enable_api_ms_win_crt_heap_l1_1_0
1029 enable_api_ms_win_crt_locale_l1_1_0
1030 enable_api_ms_win_crt_math_l1_1_0
1031 enable_api_ms_win_crt_multibyte_l1_1_0
1032 enable_api_ms_win_crt_private_l1_1_0
1033 enable_api_ms_win_crt_process_l1_1_0
1034 enable_api_ms_win_crt_runtime_l1_1_0
1035 enable_api_ms_win_crt_stdio_l1_1_0
1036 enable_api_ms_win_crt_string_l1_1_0
1037 enable_api_ms_win_crt_time_l1_1_0
1038 enable_api_ms_win_crt_utility_l1_1_0
1039 enable_api_ms_win_devices_config_l1_1_1
1040 enable_api_ms_win_devices_query_l1_1_1
1041 enable_api_ms_win_downlevel_advapi32_l1_1_0
1042 enable_api_ms_win_downlevel_advapi32_l2_1_0
1043 enable_api_ms_win_downlevel_normaliz_l1_1_0
1044 enable_api_ms_win_downlevel_ole32_l1_1_0
1045 enable_api_ms_win_downlevel_shell32_l1_1_0
1046 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1047 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1048 enable_api_ms_win_downlevel_user32_l1_1_0
1049 enable_api_ms_win_downlevel_version_l1_1_0
1050 enable_api_ms_win_dx_d3dkmt_l1_1_0
1051 enable_api_ms_win_eventing_classicprovider_l1_1_0
1052 enable_api_ms_win_eventing_consumer_l1_1_0
1053 enable_api_ms_win_eventing_controller_l1_1_0
1054 enable_api_ms_win_eventing_legacy_l1_1_0
1055 enable_api_ms_win_eventing_provider_l1_1_0
1056 enable_api_ms_win_eventlog_legacy_l1_1_0
1057 enable_api_ms_win_mm_joystick_l1_1_0
1058 enable_api_ms_win_mm_misc_l1_1_1
1059 enable_api_ms_win_mm_mme_l1_1_0
1060 enable_api_ms_win_mm_time_l1_1_0
1061 enable_api_ms_win_ntuser_dc_access_l1_1_0
1062 enable_api_ms_win_ntuser_rectangle_l1_1_0
1063 enable_api_ms_win_perf_legacy_l1_1_0
1064 enable_api_ms_win_power_base_l1_1_0
1065 enable_api_ms_win_power_setting_l1_1_0
1066 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1067 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1068 enable_api_ms_win_security_audit_l1_1_1
1069 enable_api_ms_win_security_base_l1_1_0
1070 enable_api_ms_win_security_base_l1_2_0
1071 enable_api_ms_win_security_base_private_l1_1_1
1072 enable_api_ms_win_security_credentials_l1_1_0
1073 enable_api_ms_win_security_grouppolicy_l1_1_0
1074 enable_api_ms_win_security_lsalookup_l1_1_0
1075 enable_api_ms_win_security_lsalookup_l1_1_1
1076 enable_api_ms_win_security_lsalookup_l2_1_0
1077 enable_api_ms_win_security_lsalookup_l2_1_1
1078 enable_api_ms_win_security_lsapolicy_l1_1_0
1079 enable_api_ms_win_security_provider_l1_1_0
1080 enable_api_ms_win_security_sddl_l1_1_0
1081 enable_api_ms_win_security_systemfunctions_l1_1_0
1082 enable_api_ms_win_service_core_l1_1_0
1083 enable_api_ms_win_service_core_l1_1_1
1084 enable_api_ms_win_service_management_l1_1_0
1085 enable_api_ms_win_service_management_l2_1_0
1086 enable_api_ms_win_service_private_l1_1_1
1087 enable_api_ms_win_service_winsvc_l1_1_0
1088 enable_api_ms_win_service_winsvc_l1_2_0
1089 enable_api_ms_win_shcore_scaling_l1_1_1
1090 enable_api_ms_win_shell_shellcom_l1_1_0
1091 enable_api_ms_win_shell_shellfolders_l1_1_0
1092 enable_apphelp
1093 enable_appwiz_cpl
1094 enable_atl
1095 enable_atl100
1096 enable_atl110
1097 enable_atl80
1098 enable_atl90
1099 enable_authz
1100 enable_avicap32
1101 enable_avifil32
1102 enable_avrt
1103 enable_bcrypt
1104 enable_bluetoothapis
1105 enable_browseui
1106 enable_bthprops_cpl
1107 enable_cabinet
1108 enable_capi2032
1109 enable_cards
1110 enable_cdosys
1111 enable_cfgmgr32
1112 enable_clusapi
1113 enable_combase
1114 enable_comcat
1115 enable_comctl32
1116 enable_comdlg32
1117 enable_compstui
1118 enable_comsvcs
1119 enable_concrt140
1120 enable_connect
1121 enable_credui
1122 enable_crtdll
1123 enable_crypt32
1124 enable_cryptdlg
1125 enable_cryptdll
1126 enable_cryptext
1127 enable_cryptnet
1128 enable_cryptui
1129 enable_ctapi32
1130 enable_ctl3d32
1131 enable_d2d1
1132 enable_d3d10
1133 enable_d3d10_1
1134 enable_d3d10core
1135 enable_d3d11
1136 enable_d3d12
1137 enable_d3d8
1138 enable_d3d9
1139 enable_d3dcompiler_33
1140 enable_d3dcompiler_34
1141 enable_d3dcompiler_35
1142 enable_d3dcompiler_36
1143 enable_d3dcompiler_37
1144 enable_d3dcompiler_38
1145 enable_d3dcompiler_39
1146 enable_d3dcompiler_40
1147 enable_d3dcompiler_41
1148 enable_d3dcompiler_42
1149 enable_d3dcompiler_43
1150 enable_d3dcompiler_46
1151 enable_d3dcompiler_47
1152 enable_d3dim
1153 enable_d3drm
1154 enable_d3dx10_33
1155 enable_d3dx10_34
1156 enable_d3dx10_35
1157 enable_d3dx10_36
1158 enable_d3dx10_37
1159 enable_d3dx10_38
1160 enable_d3dx10_39
1161 enable_d3dx10_40
1162 enable_d3dx10_41
1163 enable_d3dx10_42
1164 enable_d3dx10_43
1165 enable_d3dx11_42
1166 enable_d3dx11_43
1167 enable_d3dx9_24
1168 enable_d3dx9_25
1169 enable_d3dx9_26
1170 enable_d3dx9_27
1171 enable_d3dx9_28
1172 enable_d3dx9_29
1173 enable_d3dx9_30
1174 enable_d3dx9_31
1175 enable_d3dx9_32
1176 enable_d3dx9_33
1177 enable_d3dx9_34
1178 enable_d3dx9_35
1179 enable_d3dx9_36
1180 enable_d3dx9_37
1181 enable_d3dx9_38
1182 enable_d3dx9_39
1183 enable_d3dx9_40
1184 enable_d3dx9_41
1185 enable_d3dx9_42
1186 enable_d3dx9_43
1187 enable_d3dxof
1188 enable_davclnt
1189 enable_dbgeng
1190 enable_dbghelp
1191 enable_dciman32
1192 enable_ddraw
1193 enable_ddrawex
1194 enable_devenum
1195 enable_dhcpcsvc
1196 enable_dhtmled_ocx
1197 enable_difxapi
1198 enable_dinput
1199 enable_dinput8
1200 enable_dispex
1201 enable_dmband
1202 enable_dmcompos
1203 enable_dmime
1204 enable_dmloader
1205 enable_dmscript
1206 enable_dmstyle
1207 enable_dmsynth
1208 enable_dmusic
1209 enable_dmusic32
1210 enable_dnsapi
1211 enable_dplay
1212 enable_dplayx
1213 enable_dpnaddr
1214 enable_dpnet
1215 enable_dpnhpast
1216 enable_dpnlobby
1217 enable_dpvoice
1218 enable_dpwsockx
1219 enable_drmclien
1220 enable_dsound
1221 enable_dsquery
1222 enable_dssenh
1223 enable_dswave
1224 enable_dwmapi
1225 enable_dwrite
1226 enable_dx8vb
1227 enable_dxdiagn
1228 enable_dxerr8
1229 enable_dxerr9
1230 enable_dxgi
1231 enable_dxguid
1232 enable_dxva2
1233 enable_esent
1234 enable_evr
1235 enable_explorerframe
1236 enable_ext_ms_win_authz_context_l1_1_0
1237 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1238 enable_ext_ms_win_gdi_dc_create_l1_1_1
1239 enable_ext_ms_win_gdi_dc_l1_2_0
1240 enable_ext_ms_win_gdi_devcaps_l1_1_0
1241 enable_ext_ms_win_gdi_draw_l1_1_1
1242 enable_ext_ms_win_gdi_render_l1_1_0
1243 enable_ext_ms_win_kernel32_package_current_l1_1_0
1244 enable_ext_ms_win_kernel32_package_l1_1_1
1245 enable_ext_ms_win_ntuser_message_l1_1_1
1246 enable_ext_ms_win_ntuser_private_l1_1_1
1247 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1248 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1249 enable_ext_ms_win_ntuser_window_l1_1_1
1250 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1251 enable_ext_ms_win_ras_rasapi32_l1_1_0
1252 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1253 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1254 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1255 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1256 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1257 enable_ext_ms_win_security_credui_l1_1_0
1258 enable_ext_ms_win_security_cryptui_l1_1_0
1259 enable_faultrep
1260 enable_fltlib
1261 enable_fltmgr_sys
1262 enable_fntcache
1263 enable_fontsub
1264 enable_fusion
1265 enable_fwpuclnt
1266 enable_gameux
1267 enable_gdi32
1268 enable_gdiplus
1269 enable_glu32
1270 enable_gphoto2_ds
1271 enable_gpkcsp
1272 enable_hal
1273 enable_hhctrl_ocx
1274 enable_hid
1275 enable_hidclass_sys
1276 enable_hlink
1277 enable_hnetcfg
1278 enable_httpapi
1279 enable_iccvid
1280 enable_icmp
1281 enable_ieframe
1282 enable_ieproxy
1283 enable_imaadp32_acm
1284 enable_imagehlp
1285 enable_imm32
1286 enable_inetcomm
1287 enable_inetcpl_cpl
1288 enable_inetmib1
1289 enable_infosoft
1290 enable_initpki
1291 enable_inkobj
1292 enable_inseng
1293 enable_iphlpapi
1294 enable_iprop
1295 enable_irprops_cpl
1296 enable_itircl
1297 enable_itss
1298 enable_joy_cpl
1299 enable_jscript
1300 enable_jsproxy
1301 enable_kerberos
1302 enable_kernel32
1303 enable_kernelbase
1304 enable_ksuser
1305 enable_ktmw32
1306 enable_l3codeca_acm
1307 enable_loadperf
1308 enable_localspl
1309 enable_localui
1310 enable_lz32
1311 enable_mapi32
1312 enable_mapistub
1313 enable_mciavi32
1314 enable_mcicda
1315 enable_mciqtz32
1316 enable_mciseq
1317 enable_mciwave
1318 enable_mf
1319 enable_mf3216
1320 enable_mfplat
1321 enable_mfreadwrite
1322 enable_mfuuid
1323 enable_mgmtapi
1324 enable_midimap
1325 enable_mlang
1326 enable_mmcndmgr
1327 enable_mmdevapi
1328 enable_mountmgr_sys
1329 enable_mpr
1330 enable_mprapi
1331 enable_msacm32_drv
1332 enable_msacm32
1333 enable_msadp32_acm
1334 enable_msasn1
1335 enable_mscat32
1336 enable_mscms
1337 enable_mscoree
1338 enable_msctf
1339 enable_msctfp
1340 enable_msdaps
1341 enable_msdelta
1342 enable_msdmo
1343 enable_msdrm
1344 enable_msftedit
1345 enable_msg711_acm
1346 enable_msgsm32_acm
1347 enable_mshtml_tlb
1348 enable_mshtml
1349 enable_msi
1350 enable_msident
1351 enable_msimg32
1352 enable_msimsg
1353 enable_msimtf
1354 enable_msisip
1355 enable_msisys_ocx
1356 enable_msls31
1357 enable_msnet32
1358 enable_mspatcha
1359 enable_msports
1360 enable_msrle32
1361 enable_msscript_ocx
1362 enable_mssign32
1363 enable_mssip32
1364 enable_mstask
1365 enable_msvcirt
1366 enable_msvcm80
1367 enable_msvcm90
1368 enable_msvcp100
1369 enable_msvcp110
1370 enable_msvcp120
1371 enable_msvcp120_app
1372 enable_msvcp140
1373 enable_msvcp60
1374 enable_msvcp70
1375 enable_msvcp71
1376 enable_msvcp80
1377 enable_msvcp90
1378 enable_msvcr100
1379 enable_msvcr110
1380 enable_msvcr120
1381 enable_msvcr120_app
1382 enable_msvcr70
1383 enable_msvcr71
1384 enable_msvcr80
1385 enable_msvcr90
1386 enable_msvcrt
1387 enable_msvcrt20
1388 enable_msvcrt40
1389 enable_msvcrtd
1390 enable_msvfw32
1391 enable_msvidc32
1392 enable_mswsock
1393 enable_msxml
1394 enable_msxml2
1395 enable_msxml3
1396 enable_msxml4
1397 enable_msxml6
1398 enable_mtxdm
1399 enable_ncrypt
1400 enable_nddeapi
1401 enable_ndis_sys
1402 enable_netapi32
1403 enable_netcfgx
1404 enable_netprofm
1405 enable_newdev
1406 enable_normaliz
1407 enable_npmshtml
1408 enable_npptools
1409 enable_ntdll
1410 enable_ntdsapi
1411 enable_ntoskrnl_exe
1412 enable_ntprint
1413 enable_objsel
1414 enable_odbc32
1415 enable_odbccp32
1416 enable_odbccu32
1417 enable_ole32
1418 enable_oleacc
1419 enable_oleaut32
1420 enable_olecli32
1421 enable_oledb32
1422 enable_oledlg
1423 enable_olepro32
1424 enable_olesvr32
1425 enable_olethk32
1426 enable_openal32
1427 enable_opencl
1428 enable_opengl32
1429 enable_packager
1430 enable_pdh
1431 enable_photometadatahandler
1432 enable_pidgen
1433 enable_powrprof
1434 enable_printui
1435 enable_prntvpt
1436 enable_propsys
1437 enable_psapi
1438 enable_pstorec
1439 enable_qcap
1440 enable_qedit
1441 enable_qmgr
1442 enable_qmgrprxy
1443 enable_quartz
1444 enable_query
1445 enable_rasapi32
1446 enable_rasdlg
1447 enable_regapi
1448 enable_resutils
1449 enable_riched20
1450 enable_riched32
1451 enable_rpcrt4
1452 enable_rsabase
1453 enable_rsaenh
1454 enable_rstrtmgr
1455 enable_rtutils
1456 enable_samlib
1457 enable_sane_ds
1458 enable_sapi
1459 enable_scarddlg
1460 enable_sccbase
1461 enable_schannel
1462 enable_schedsvc
1463 enable_scrobj
1464 enable_scrrun
1465 enable_scsiport_sys
1466 enable_secur32
1467 enable_security
1468 enable_sensapi
1469 enable_serialui
1470 enable_setupapi
1471 enable_sfc
1472 enable_sfc_os
1473 enable_shcore
1474 enable_shdoclc
1475 enable_shdocvw
1476 enable_shell32
1477 enable_shfolder
1478 enable_shlwapi
1479 enable_slbcsp
1480 enable_slc
1481 enable_snmpapi
1482 enable_softpub
1483 enable_spoolss
1484 enable_sspicli
1485 enable_stdole2_tlb
1486 enable_stdole32_tlb
1487 enable_sti
1488 enable_strmbase
1489 enable_strmiids
1490 enable_svrapi
1491 enable_sxs
1492 enable_t2embed
1493 enable_tapi32
1494 enable_taskschd
1495 enable_tdh
1496 enable_tdi_sys
1497 enable_traffic
1498 enable_twain_32
1499 enable_ucrtbase
1500 enable_uiautomationcore
1501 enable_uiribbon
1502 enable_unicows
1503 enable_updspapi
1504 enable_url
1505 enable_urlmon
1506 enable_usbd_sys
1507 enable_user32
1508 enable_userenv
1509 enable_usp10
1510 enable_uuid
1511 enable_uxtheme
1512 enable_vbscript
1513 enable_vcomp
1514 enable_vcomp100
1515 enable_vcomp110
1516 enable_vcomp120
1517 enable_vcomp140
1518 enable_vcomp90
1519 enable_vcruntime140
1520 enable_vdmdbg
1521 enable_version
1522 enable_virtdisk
1523 enable_vssapi
1524 enable_wbemdisp
1525 enable_wbemprox
1526 enable_wdscore
1527 enable_webservices
1528 enable_wer
1529 enable_wevtapi
1530 enable_wiaservc
1531 enable_wimgapi
1532 enable_windowscodecs
1533 enable_windowscodecsext
1534 enable_winealsa_drv
1535 enable_wineandroid_drv
1536 enable_winebus_sys
1537 enable_winecoreaudio_drv
1538 enable_winecrt0
1539 enable_wined3d
1540 enable_winegstreamer
1541 enable_winehid_sys
1542 enable_winejoystick_drv
1543 enable_winemac_drv
1544 enable_winemapi
1545 enable_wineoss_drv
1546 enable_wineps_drv
1547 enable_winepulse_drv
1548 enable_wineqtdecoder
1549 enable_winevulkan
1550 enable_winex11_drv
1551 enable_wing32
1552 enable_winhttp
1553 enable_wininet
1554 enable_winmm
1555 enable_winnls32
1556 enable_winscard
1557 enable_winspool_drv
1558 enable_winsta
1559 enable_wintab32
1560 enable_wintrust
1561 enable_winusb
1562 enable_wlanapi
1563 enable_wldap32
1564 enable_wmasf
1565 enable_wmi
1566 enable_wmiutils
1567 enable_wmp
1568 enable_wmphoto
1569 enable_wmvcore
1570 enable_wnaspi32
1571 enable_wpc
1572 enable_wpcap
1573 enable_ws2_32
1574 enable_wsdapi
1575 enable_wshom_ocx
1576 enable_wsnmp32
1577 enable_wsock32
1578 enable_wtsapi32
1579 enable_wuapi
1580 enable_wuaueng
1581 enable_x3daudio1_0
1582 enable_x3daudio1_1
1583 enable_x3daudio1_2
1584 enable_x3daudio1_3
1585 enable_x3daudio1_4
1586 enable_x3daudio1_5
1587 enable_x3daudio1_6
1588 enable_x3daudio1_7
1589 enable_xapofx1_1
1590 enable_xapofx1_2
1591 enable_xapofx1_3
1592 enable_xapofx1_4
1593 enable_xapofx1_5
1594 enable_xaudio2_0
1595 enable_xaudio2_1
1596 enable_xaudio2_2
1597 enable_xaudio2_3
1598 enable_xaudio2_4
1599 enable_xaudio2_5
1600 enable_xaudio2_6
1601 enable_xaudio2_7
1602 enable_xaudio2_8
1603 enable_xaudio2_9
1604 enable_xinput1_1
1605 enable_xinput1_2
1606 enable_xinput1_3
1607 enable_xinput1_4
1608 enable_xinput9_1_0
1609 enable_xmllite
1610 enable_xolehlp
1611 enable_xpsprint
1612 enable_xpssvcs
1613 enable_fonts
1614 enable_include
1615 enable_port
1616 enable_wine
1617 enable_wpp
1618 enable_loader
1619 enable_po
1620 enable_arp
1621 enable_aspnet_regiis
1622 enable_attrib
1623 enable_cabarc
1624 enable_cacls
1625 enable_clock
1626 enable_cmd
1627 enable_conhost
1628 enable_control
1629 enable_cscript
1630 enable_dpnsvr
1631 enable_dxdiag
1632 enable_eject
1633 enable_expand
1634 enable_explorer
1635 enable_extrac32
1636 enable_findstr
1637 enable_fsutil
1638 enable_hh
1639 enable_hostname
1640 enable_icacls
1641 enable_icinfo
1642 enable_iexplore
1643 enable_ipconfig
1644 enable_lodctr
1645 enable_mofcomp
1646 enable_mshta
1647 enable_msiexec
1648 enable_msinfo32
1649 enable_net
1650 enable_netsh
1651 enable_netstat
1652 enable_ngen
1653 enable_notepad
1654 enable_oleview
1655 enable_ping
1656 enable_plugplay
1657 enable_powershell
1658 enable_presentationfontcache
1659 enable_progman
1660 enable_reg
1661 enable_regasm
1662 enable_regedit
1663 enable_regsvcs
1664 enable_regsvr32
1665 enable_rpcss
1666 enable_rundll32
1667 enable_sc
1668 enable_schtasks
1669 enable_sdbinst
1670 enable_secedit
1671 enable_servicemodelreg
1672 enable_services
1673 enable_shutdown
1674 enable_spoolsv
1675 enable_start
1676 enable_subst
1677 enable_svchost
1678 enable_systeminfo
1679 enable_taskkill
1680 enable_tasklist
1681 enable_taskmgr
1682 enable_termsv
1683 enable_uninstaller
1684 enable_unlodctr
1685 enable_view
1686 enable_wevtutil
1687 enable_wineboot
1688 enable_winebrowser
1689 enable_winecfg
1690 enable_wineconsole
1691 enable_winedbg
1692 enable_winedevice
1693 enable_winefile
1694 enable_winemenubuilder
1695 enable_winemine
1696 enable_winemsibuilder
1697 enable_winepath
1698 enable_winetest
1699 enable_winhlp32
1700 enable_winver
1701 enable_wmic
1702 enable_wmplayer
1703 enable_wordpad
1704 enable_write
1705 enable_wscript
1706 enable_wusa
1707 enable_xcopy
1708 enable_server
1709 enable_tools
1710 enable_sfnt2fon
1711 enable_widl
1712 enable_winebuild
1713 enable_winedump
1714 enable_winegcc
1715 enable_winemaker
1716 enable_wmc
1717 enable_wrc
1719 ac_precious_vars='build_alias
1720 host_alias
1721 target_alias
1723 CFLAGS
1724 LDFLAGS
1725 LIBS
1726 CPPFLAGS
1728 CXXFLAGS
1731 XMKMF
1732 XML2_CFLAGS
1733 XML2_LIBS
1734 XSLT_CFLAGS
1735 XSLT_LIBS
1736 DBUS_CFLAGS
1737 DBUS_LIBS
1738 HAL_CFLAGS
1739 HAL_LIBS
1740 GNUTLS_CFLAGS
1741 GNUTLS_LIBS
1742 SANE_CFLAGS
1743 SANE_LIBS
1744 GPHOTO2_CFLAGS
1745 GPHOTO2_LIBS
1746 GPHOTO2_PORT_CFLAGS
1747 GPHOTO2_PORT_LIBS
1748 LCMS2_CFLAGS
1749 LCMS2_LIBS
1750 FREETYPE_CFLAGS
1751 FREETYPE_LIBS
1752 PULSE_CFLAGS
1753 PULSE_LIBS
1754 GSTREAMER_CFLAGS
1755 GSTREAMER_LIBS
1756 UDEV_CFLAGS
1757 UDEV_LIBS
1758 SDL2_CFLAGS
1759 SDL2_LIBS
1760 CAPI20_CFLAGS
1761 CAPI20_LIBS
1762 CUPS_CFLAGS
1763 CUPS_LIBS
1764 FONTCONFIG_CFLAGS
1765 FONTCONFIG_LIBS
1766 KRB5_CFLAGS
1767 KRB5_LIBS
1768 GSSAPI_CFLAGS
1769 GSSAPI_LIBS
1770 JPEG_CFLAGS
1771 JPEG_LIBS
1772 PNG_CFLAGS
1773 PNG_LIBS
1774 TIFF_CFLAGS
1775 TIFF_LIBS
1776 MPG123_CFLAGS
1777 MPG123_LIBS
1778 NETAPI_CFLAGS
1779 NETAPI_LIBS
1780 LDAP_CFLAGS
1781 LDAP_LIBS'
1784 # Initialize some variables set by options.
1785 ac_init_help=
1786 ac_init_version=false
1787 ac_unrecognized_opts=
1788 ac_unrecognized_sep=
1789 # The variables have the same names as the options, with
1790 # dashes changed to underlines.
1791 cache_file=/dev/null
1792 exec_prefix=NONE
1793 no_create=
1794 no_recursion=
1795 prefix=NONE
1796 program_prefix=NONE
1797 program_suffix=NONE
1798 program_transform_name=s,x,x,
1799 silent=
1800 site=
1801 srcdir=
1802 verbose=
1803 x_includes=NONE
1804 x_libraries=NONE
1806 # Installation directory options.
1807 # These are left unexpanded so users can "make install exec_prefix=/foo"
1808 # and all the variables that are supposed to be based on exec_prefix
1809 # by default will actually change.
1810 # Use braces instead of parens because sh, perl, etc. also accept them.
1811 # (The list follows the same order as the GNU Coding Standards.)
1812 bindir='${exec_prefix}/bin'
1813 sbindir='${exec_prefix}/sbin'
1814 libexecdir='${exec_prefix}/libexec'
1815 datarootdir='${prefix}/share'
1816 datadir='${datarootdir}'
1817 sysconfdir='${prefix}/etc'
1818 sharedstatedir='${prefix}/com'
1819 localstatedir='${prefix}/var'
1820 runstatedir='${localstatedir}/run'
1821 includedir='${prefix}/include'
1822 oldincludedir='/usr/include'
1823 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1824 infodir='${datarootdir}/info'
1825 htmldir='${docdir}'
1826 dvidir='${docdir}'
1827 pdfdir='${docdir}'
1828 psdir='${docdir}'
1829 libdir='${exec_prefix}/lib'
1830 localedir='${datarootdir}/locale'
1831 mandir='${datarootdir}/man'
1833 ac_prev=
1834 ac_dashdash=
1835 for ac_option
1837 # If the previous option needs an argument, assign it.
1838 if test -n "$ac_prev"; then
1839 eval $ac_prev=\$ac_option
1840 ac_prev=
1841 continue
1844 case $ac_option in
1845 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1846 *=) ac_optarg= ;;
1847 *) ac_optarg=yes ;;
1848 esac
1850 # Accept the important Cygnus configure options, so we can diagnose typos.
1852 case $ac_dashdash$ac_option in
1854 ac_dashdash=yes ;;
1856 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1857 ac_prev=bindir ;;
1858 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1859 bindir=$ac_optarg ;;
1861 -build | --build | --buil | --bui | --bu)
1862 ac_prev=build_alias ;;
1863 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1864 build_alias=$ac_optarg ;;
1866 -cache-file | --cache-file | --cache-fil | --cache-fi \
1867 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1868 ac_prev=cache_file ;;
1869 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1870 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1871 cache_file=$ac_optarg ;;
1873 --config-cache | -C)
1874 cache_file=config.cache ;;
1876 -datadir | --datadir | --datadi | --datad)
1877 ac_prev=datadir ;;
1878 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1879 datadir=$ac_optarg ;;
1881 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1882 | --dataroo | --dataro | --datar)
1883 ac_prev=datarootdir ;;
1884 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1885 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1886 datarootdir=$ac_optarg ;;
1888 -disable-* | --disable-*)
1889 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1890 # Reject names that are not valid shell variable names.
1891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1892 as_fn_error $? "invalid feature name: $ac_useropt"
1893 ac_useropt_orig=$ac_useropt
1894 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1895 case $ac_user_opts in
1897 "enable_$ac_useropt"
1898 "*) ;;
1899 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1900 ac_unrecognized_sep=', ';;
1901 esac
1902 eval enable_$ac_useropt=no ;;
1904 -docdir | --docdir | --docdi | --doc | --do)
1905 ac_prev=docdir ;;
1906 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1907 docdir=$ac_optarg ;;
1909 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1910 ac_prev=dvidir ;;
1911 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1912 dvidir=$ac_optarg ;;
1914 -enable-* | --enable-*)
1915 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1916 # Reject names that are not valid shell variable names.
1917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1918 as_fn_error $? "invalid feature name: $ac_useropt"
1919 ac_useropt_orig=$ac_useropt
1920 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1921 case $ac_user_opts in
1923 "enable_$ac_useropt"
1924 "*) ;;
1925 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1926 ac_unrecognized_sep=', ';;
1927 esac
1928 eval enable_$ac_useropt=\$ac_optarg ;;
1930 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1931 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1932 | --exec | --exe | --ex)
1933 ac_prev=exec_prefix ;;
1934 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1935 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1936 | --exec=* | --exe=* | --ex=*)
1937 exec_prefix=$ac_optarg ;;
1939 -gas | --gas | --ga | --g)
1940 # Obsolete; use --with-gas.
1941 with_gas=yes ;;
1943 -help | --help | --hel | --he | -h)
1944 ac_init_help=long ;;
1945 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1946 ac_init_help=recursive ;;
1947 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1948 ac_init_help=short ;;
1950 -host | --host | --hos | --ho)
1951 ac_prev=host_alias ;;
1952 -host=* | --host=* | --hos=* | --ho=*)
1953 host_alias=$ac_optarg ;;
1955 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1956 ac_prev=htmldir ;;
1957 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1958 | --ht=*)
1959 htmldir=$ac_optarg ;;
1961 -includedir | --includedir | --includedi | --included | --include \
1962 | --includ | --inclu | --incl | --inc)
1963 ac_prev=includedir ;;
1964 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1965 | --includ=* | --inclu=* | --incl=* | --inc=*)
1966 includedir=$ac_optarg ;;
1968 -infodir | --infodir | --infodi | --infod | --info | --inf)
1969 ac_prev=infodir ;;
1970 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1971 infodir=$ac_optarg ;;
1973 -libdir | --libdir | --libdi | --libd)
1974 ac_prev=libdir ;;
1975 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1976 libdir=$ac_optarg ;;
1978 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1979 | --libexe | --libex | --libe)
1980 ac_prev=libexecdir ;;
1981 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1982 | --libexe=* | --libex=* | --libe=*)
1983 libexecdir=$ac_optarg ;;
1985 -localedir | --localedir | --localedi | --localed | --locale)
1986 ac_prev=localedir ;;
1987 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1988 localedir=$ac_optarg ;;
1990 -localstatedir | --localstatedir | --localstatedi | --localstated \
1991 | --localstate | --localstat | --localsta | --localst | --locals)
1992 ac_prev=localstatedir ;;
1993 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1994 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1995 localstatedir=$ac_optarg ;;
1997 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1998 ac_prev=mandir ;;
1999 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2000 mandir=$ac_optarg ;;
2002 -nfp | --nfp | --nf)
2003 # Obsolete; use --without-fp.
2004 with_fp=no ;;
2006 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2007 | --no-cr | --no-c | -n)
2008 no_create=yes ;;
2010 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2011 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2012 no_recursion=yes ;;
2014 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2015 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2016 | --oldin | --oldi | --old | --ol | --o)
2017 ac_prev=oldincludedir ;;
2018 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2019 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2020 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2021 oldincludedir=$ac_optarg ;;
2023 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2024 ac_prev=prefix ;;
2025 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2026 prefix=$ac_optarg ;;
2028 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2029 | --program-pre | --program-pr | --program-p)
2030 ac_prev=program_prefix ;;
2031 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2032 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2033 program_prefix=$ac_optarg ;;
2035 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2036 | --program-suf | --program-su | --program-s)
2037 ac_prev=program_suffix ;;
2038 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2039 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2040 program_suffix=$ac_optarg ;;
2042 -program-transform-name | --program-transform-name \
2043 | --program-transform-nam | --program-transform-na \
2044 | --program-transform-n | --program-transform- \
2045 | --program-transform | --program-transfor \
2046 | --program-transfo | --program-transf \
2047 | --program-trans | --program-tran \
2048 | --progr-tra | --program-tr | --program-t)
2049 ac_prev=program_transform_name ;;
2050 -program-transform-name=* | --program-transform-name=* \
2051 | --program-transform-nam=* | --program-transform-na=* \
2052 | --program-transform-n=* | --program-transform-=* \
2053 | --program-transform=* | --program-transfor=* \
2054 | --program-transfo=* | --program-transf=* \
2055 | --program-trans=* | --program-tran=* \
2056 | --progr-tra=* | --program-tr=* | --program-t=*)
2057 program_transform_name=$ac_optarg ;;
2059 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2060 ac_prev=pdfdir ;;
2061 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2062 pdfdir=$ac_optarg ;;
2064 -psdir | --psdir | --psdi | --psd | --ps)
2065 ac_prev=psdir ;;
2066 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2067 psdir=$ac_optarg ;;
2069 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2070 | -silent | --silent | --silen | --sile | --sil)
2071 silent=yes ;;
2073 -runstatedir | --runstatedir | --runstatedi | --runstated \
2074 | --runstate | --runstat | --runsta | --runst | --runs \
2075 | --run | --ru | --r)
2076 ac_prev=runstatedir ;;
2077 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2078 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2079 | --run=* | --ru=* | --r=*)
2080 runstatedir=$ac_optarg ;;
2082 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2083 ac_prev=sbindir ;;
2084 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2085 | --sbi=* | --sb=*)
2086 sbindir=$ac_optarg ;;
2088 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2089 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2090 | --sharedst | --shareds | --shared | --share | --shar \
2091 | --sha | --sh)
2092 ac_prev=sharedstatedir ;;
2093 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2094 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2095 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2096 | --sha=* | --sh=*)
2097 sharedstatedir=$ac_optarg ;;
2099 -site | --site | --sit)
2100 ac_prev=site ;;
2101 -site=* | --site=* | --sit=*)
2102 site=$ac_optarg ;;
2104 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2105 ac_prev=srcdir ;;
2106 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2107 srcdir=$ac_optarg ;;
2109 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2110 | --syscon | --sysco | --sysc | --sys | --sy)
2111 ac_prev=sysconfdir ;;
2112 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2113 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2114 sysconfdir=$ac_optarg ;;
2116 -target | --target | --targe | --targ | --tar | --ta | --t)
2117 ac_prev=target_alias ;;
2118 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2119 target_alias=$ac_optarg ;;
2121 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2122 verbose=yes ;;
2124 -version | --version | --versio | --versi | --vers | -V)
2125 ac_init_version=: ;;
2127 -with-* | --with-*)
2128 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2129 # Reject names that are not valid shell variable names.
2130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2131 as_fn_error $? "invalid package name: $ac_useropt"
2132 ac_useropt_orig=$ac_useropt
2133 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2134 case $ac_user_opts in
2136 "with_$ac_useropt"
2137 "*) ;;
2138 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2139 ac_unrecognized_sep=', ';;
2140 esac
2141 eval with_$ac_useropt=\$ac_optarg ;;
2143 -without-* | --without-*)
2144 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2145 # Reject names that are not valid shell variable names.
2146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2147 as_fn_error $? "invalid package name: $ac_useropt"
2148 ac_useropt_orig=$ac_useropt
2149 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2150 case $ac_user_opts in
2152 "with_$ac_useropt"
2153 "*) ;;
2154 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2155 ac_unrecognized_sep=', ';;
2156 esac
2157 eval with_$ac_useropt=no ;;
2159 --x)
2160 # Obsolete; use --with-x.
2161 with_x=yes ;;
2163 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2164 | --x-incl | --x-inc | --x-in | --x-i)
2165 ac_prev=x_includes ;;
2166 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2167 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2168 x_includes=$ac_optarg ;;
2170 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2171 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2172 ac_prev=x_libraries ;;
2173 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2174 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2175 x_libraries=$ac_optarg ;;
2177 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2178 Try \`$0 --help' for more information"
2181 *=*)
2182 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2183 # Reject names that are not valid shell variable names.
2184 case $ac_envvar in #(
2185 '' | [0-9]* | *[!_$as_cr_alnum]* )
2186 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2187 esac
2188 eval $ac_envvar=\$ac_optarg
2189 export $ac_envvar ;;
2192 # FIXME: should be removed in autoconf 3.0.
2193 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2194 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2195 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2196 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2199 esac
2200 done
2202 if test -n "$ac_prev"; then
2203 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2204 as_fn_error $? "missing argument to $ac_option"
2207 if test -n "$ac_unrecognized_opts"; then
2208 case $enable_option_checking in
2209 no) ;;
2210 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2211 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2212 esac
2215 # Check all directory arguments for consistency.
2216 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2217 datadir sysconfdir sharedstatedir localstatedir includedir \
2218 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2219 libdir localedir mandir runstatedir
2221 eval ac_val=\$$ac_var
2222 # Remove trailing slashes.
2223 case $ac_val in
2224 */ )
2225 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2226 eval $ac_var=\$ac_val;;
2227 esac
2228 # Be sure to have absolute directory names.
2229 case $ac_val in
2230 [\\/$]* | ?:[\\/]* ) continue;;
2231 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2232 esac
2233 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2234 done
2236 # There might be people who depend on the old broken behavior: `$host'
2237 # used to hold the argument of --host etc.
2238 # FIXME: To remove some day.
2239 build=$build_alias
2240 host=$host_alias
2241 target=$target_alias
2243 # FIXME: To remove some day.
2244 if test "x$host_alias" != x; then
2245 if test "x$build_alias" = x; then
2246 cross_compiling=maybe
2247 elif test "x$build_alias" != "x$host_alias"; then
2248 cross_compiling=yes
2252 ac_tool_prefix=
2253 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2255 test "$silent" = yes && exec 6>/dev/null
2258 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2259 ac_ls_di=`ls -di .` &&
2260 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2261 as_fn_error $? "working directory cannot be determined"
2262 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2263 as_fn_error $? "pwd does not report name of working directory"
2266 # Find the source files, if location was not specified.
2267 if test -z "$srcdir"; then
2268 ac_srcdir_defaulted=yes
2269 # Try the directory containing this script, then the parent directory.
2270 ac_confdir=`$as_dirname -- "$as_myself" ||
2271 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2272 X"$as_myself" : 'X\(//\)[^/]' \| \
2273 X"$as_myself" : 'X\(//\)$' \| \
2274 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2275 $as_echo X"$as_myself" |
2276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2277 s//\1/
2280 /^X\(\/\/\)[^/].*/{
2281 s//\1/
2284 /^X\(\/\/\)$/{
2285 s//\1/
2288 /^X\(\/\).*/{
2289 s//\1/
2292 s/.*/./; q'`
2293 srcdir=$ac_confdir
2294 if test ! -r "$srcdir/$ac_unique_file"; then
2295 srcdir=..
2297 else
2298 ac_srcdir_defaulted=no
2300 if test ! -r "$srcdir/$ac_unique_file"; then
2301 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2302 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2304 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2305 ac_abs_confdir=`(
2306 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2307 pwd)`
2308 # When building in place, set srcdir=.
2309 if test "$ac_abs_confdir" = "$ac_pwd"; then
2310 srcdir=.
2312 # Remove unnecessary trailing slashes from srcdir.
2313 # Double slashes in file names in object file debugging info
2314 # mess up M-x gdb in Emacs.
2315 case $srcdir in
2316 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2317 esac
2318 for ac_var in $ac_precious_vars; do
2319 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2320 eval ac_env_${ac_var}_value=\$${ac_var}
2321 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2322 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2323 done
2326 # Report the --help message.
2328 if test "$ac_init_help" = "long"; then
2329 # Omit some internal or obsolete options to make the list less imposing.
2330 # This message is too long to be a string in the A/UX 3.1 sh.
2331 cat <<_ACEOF
2332 \`configure' configures Wine 3.3 to adapt to many kinds of systems.
2334 Usage: $0 [OPTION]... [VAR=VALUE]...
2336 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2337 VAR=VALUE. See below for descriptions of some of the useful variables.
2339 Defaults for the options are specified in brackets.
2341 Configuration:
2342 -h, --help display this help and exit
2343 --help=short display options specific to this package
2344 --help=recursive display the short help of all the included packages
2345 -V, --version display version information and exit
2346 -q, --quiet, --silent do not print \`checking ...' messages
2347 --cache-file=FILE cache test results in FILE [disabled]
2348 -C, --config-cache alias for \`--cache-file=config.cache'
2349 -n, --no-create do not create output files
2350 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2352 Installation directories:
2353 --prefix=PREFIX install architecture-independent files in PREFIX
2354 [$ac_default_prefix]
2355 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2356 [PREFIX]
2358 By default, \`make install' will install all the files in
2359 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2360 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2361 for instance \`--prefix=\$HOME'.
2363 For better control, use the options below.
2365 Fine tuning of the installation directories:
2366 --bindir=DIR user executables [EPREFIX/bin]
2367 --sbindir=DIR system admin executables [EPREFIX/sbin]
2368 --libexecdir=DIR program executables [EPREFIX/libexec]
2369 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2370 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2371 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2372 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2373 --libdir=DIR object code libraries [EPREFIX/lib]
2374 --includedir=DIR C header files [PREFIX/include]
2375 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2376 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2377 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2378 --infodir=DIR info documentation [DATAROOTDIR/info]
2379 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2380 --mandir=DIR man documentation [DATAROOTDIR/man]
2381 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2382 --htmldir=DIR html documentation [DOCDIR]
2383 --dvidir=DIR dvi documentation [DOCDIR]
2384 --pdfdir=DIR pdf documentation [DOCDIR]
2385 --psdir=DIR ps documentation [DOCDIR]
2386 _ACEOF
2388 cat <<\_ACEOF
2390 X features:
2391 --x-includes=DIR X include files are in DIR
2392 --x-libraries=DIR X library files are in DIR
2394 System types:
2395 --build=BUILD configure for building on BUILD [guessed]
2396 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2397 _ACEOF
2400 if test -n "$ac_init_help"; then
2401 case $ac_init_help in
2402 short | recursive ) echo "Configuration of Wine 3.3:";;
2403 esac
2404 cat <<\_ACEOF
2406 Optional Features:
2407 --disable-option-checking ignore unrecognized --enable/--with options
2408 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2409 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2410 --disable-win16 do not include Win16 support
2411 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2412 binaries)
2413 --disable-tests do not build the regression tests
2414 --enable-maintainer-mode
2415 enable maintainer-specific build rules
2416 --disable-largefile omit support for large files
2418 Optional Packages:
2419 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2420 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2421 --without-alsa do not use the Alsa sound support
2422 --without-capi do not use CAPI (ISDN support)
2423 --without-cms do not use CMS (color management support)
2424 --without-coreaudio do not use the CoreAudio sound support
2425 --without-cups do not use CUPS
2426 --without-curses do not use (n)curses
2427 --without-dbus do not use DBus (dynamic device support)
2428 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2429 --without-fontconfig do not use fontconfig
2430 --without-freetype do not use the FreeType library
2431 --without-gettext do not use gettext
2432 --with-gettextpo use the GetTextPO library to rebuild po files
2433 --without-gphoto do not use gphoto (Digital Camera support)
2434 --without-glu do not use the GLU library
2435 --without-gnutls do not use GnuTLS (schannel support)
2436 --without-gsm do not use libgsm (GSM 06.10 codec support)
2437 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2438 --without-gstreamer do not use GStreamer (codecs support)
2439 --without-hal do not use HAL (dynamic device support)
2440 --without-jpeg do not use JPEG
2441 --without-krb5 do not use krb5 (Kerberos)
2442 --without-ldap do not use LDAP
2443 --without-mpg123 do not use the mpg123 library
2444 --without-netapi do not use the Samba NetAPI library
2445 --without-openal do not use OpenAL
2446 --without-opencl do not use OpenCL
2447 --without-opengl do not use OpenGL
2448 --without-osmesa do not use the OSMesa library
2449 --without-oss do not use the OSS sound support
2450 --without-pcap do not use the Packet Capture library
2451 --without-png do not use PNG
2452 --without-pthread do not use the pthread library
2453 --without-pulse do not use PulseAudio sound support
2454 --without-sane do not use SANE (scanner support)
2455 --without-sdl do not use SDL
2456 --without-tiff do not use TIFF
2457 --without-udev do not use udev (plug and play support)
2458 --without-v4l do not use v4l1 (v4l support)
2459 --without-vulkan do not use Vulkan
2460 --without-xcomposite do not use the Xcomposite extension
2461 --without-xcursor do not use the Xcursor extension
2462 --without-xfixes do not use Xfixes for clipboard change notifications
2463 --without-xinerama do not use Xinerama (multi-monitor support)
2464 --without-xinput do not use the Xinput extension
2465 --without-xinput2 do not use the Xinput 2 extension
2466 --without-xml do not use XML
2467 --without-xrandr do not use Xrandr (resolution changes)
2468 --without-xrender do not use the Xrender extension
2469 --without-xshape do not use the Xshape extension
2470 --without-xshm do not use XShm (shared memory extension)
2471 --without-xslt do not use XSLT
2472 --without-xxf86vm do not use XFree video mode extension
2473 --without-zlib do not use Zlib (data compression)
2474 --with-wine-tools=DIR use Wine tools from directory DIR
2475 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2476 --with-x use the X Window System
2478 Some influential environment variables:
2479 CC C compiler command
2480 CFLAGS C compiler flags
2481 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2482 nonstandard directory <lib dir>
2483 LIBS libraries to pass to the linker, e.g. -l<library>
2484 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2485 you have headers in a nonstandard directory <include dir>
2486 CXX C++ compiler command
2487 CXXFLAGS C++ compiler flags
2488 CPP C preprocessor
2489 XMKMF Path to xmkmf, Makefile generator for X Window System
2490 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2491 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2492 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2493 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2494 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2495 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2496 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2497 HAL_LIBS Linker flags for hal, overriding pkg-config
2498 GNUTLS_CFLAGS
2499 C compiler flags for gnutls, overriding pkg-config
2500 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2501 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2502 SANE_LIBS Linker flags for libsane, overriding pkg-config
2503 GPHOTO2_CFLAGS
2504 C compiler flags for libgphoto2, overriding pkg-config
2505 GPHOTO2_LIBS
2506 Linker flags for libgphoto2, overriding pkg-config
2507 GPHOTO2_PORT_CFLAGS
2508 C compiler flags for libgphoto2_port, overriding pkg-config
2509 GPHOTO2_PORT_LIBS
2510 Linker flags for libgphoto2_port, overriding pkg-config
2511 LCMS2_CFLAGS
2512 C compiler flags for lcms2, overriding pkg-config
2513 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2514 FREETYPE_CFLAGS
2515 C compiler flags for freetype2, overriding pkg-config
2516 FREETYPE_LIBS
2517 Linker flags for freetype2, overriding pkg-config
2518 PULSE_CFLAGS
2519 C compiler flags for libpulse, overriding pkg-config
2520 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2521 GSTREAMER_CFLAGS
2522 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2523 gstreamer-audio-1.0, overriding pkg-config
2524 GSTREAMER_LIBS
2525 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2526 gstreamer-audio-1.0, overriding pkg-config
2527 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2528 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2529 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2530 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2531 CAPI20_CFLAGS
2532 C compiler flags for capi20, overriding pkg-config
2533 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2534 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2535 CUPS_LIBS Linker flags for cups, overriding pkg-config
2536 FONTCONFIG_CFLAGS
2537 C compiler flags for fontconfig, overriding pkg-config
2538 FONTCONFIG_LIBS
2539 Linker flags for fontconfig, overriding pkg-config
2540 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2541 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2542 GSSAPI_CFLAGS
2543 C compiler flags for krb5-gssapi, overriding pkg-config
2544 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2545 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2546 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2547 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2548 PNG_LIBS Linker flags for libpng, overriding pkg-config
2549 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2550 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2551 MPG123_CFLAGS
2552 C compiler flags for libmpg123, overriding pkg-config
2553 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2554 NETAPI_CFLAGS
2555 C compiler flags for netapi, overriding pkg-config
2556 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2557 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2558 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2560 Use these variables to override the choices made by `configure' or to help
2561 it to find libraries and programs with nonstandard names/locations.
2563 Report bugs to <wine-devel@winehq.org>.
2564 Wine home page: <https://www.winehq.org>.
2565 _ACEOF
2566 ac_status=$?
2569 if test "$ac_init_help" = "recursive"; then
2570 # If there are subdirs, report their specific --help.
2571 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2572 test -d "$ac_dir" ||
2573 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2574 continue
2575 ac_builddir=.
2577 case "$ac_dir" in
2578 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2580 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2581 # A ".." for each directory in $ac_dir_suffix.
2582 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2583 case $ac_top_builddir_sub in
2584 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2585 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2586 esac ;;
2587 esac
2588 ac_abs_top_builddir=$ac_pwd
2589 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2590 # for backward compatibility:
2591 ac_top_builddir=$ac_top_build_prefix
2593 case $srcdir in
2594 .) # We are building in place.
2595 ac_srcdir=.
2596 ac_top_srcdir=$ac_top_builddir_sub
2597 ac_abs_top_srcdir=$ac_pwd ;;
2598 [\\/]* | ?:[\\/]* ) # Absolute name.
2599 ac_srcdir=$srcdir$ac_dir_suffix;
2600 ac_top_srcdir=$srcdir
2601 ac_abs_top_srcdir=$srcdir ;;
2602 *) # Relative name.
2603 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2604 ac_top_srcdir=$ac_top_build_prefix$srcdir
2605 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2606 esac
2607 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2609 cd "$ac_dir" || { ac_status=$?; continue; }
2610 # Check for guested configure.
2611 if test -f "$ac_srcdir/configure.gnu"; then
2612 echo &&
2613 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2614 elif test -f "$ac_srcdir/configure"; then
2615 echo &&
2616 $SHELL "$ac_srcdir/configure" --help=recursive
2617 else
2618 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2619 fi || ac_status=$?
2620 cd "$ac_pwd" || { ac_status=$?; break; }
2621 done
2624 test -n "$ac_init_help" && exit $ac_status
2625 if $ac_init_version; then
2626 cat <<\_ACEOF
2627 Wine configure 3.3
2628 generated by GNU Autoconf 2.69
2630 Copyright (C) 2012 Free Software Foundation, Inc.
2631 This configure script is free software; the Free Software Foundation
2632 gives unlimited permission to copy, distribute and modify it.
2633 _ACEOF
2634 exit
2637 ## ------------------------ ##
2638 ## Autoconf initialization. ##
2639 ## ------------------------ ##
2641 # ac_fn_c_try_compile LINENO
2642 # --------------------------
2643 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2644 ac_fn_c_try_compile ()
2646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2647 rm -f conftest.$ac_objext
2648 if { { ac_try="$ac_compile"
2649 case "(($ac_try" in
2650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2651 *) ac_try_echo=$ac_try;;
2652 esac
2653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2654 $as_echo "$ac_try_echo"; } >&5
2655 (eval "$ac_compile") 2>conftest.err
2656 ac_status=$?
2657 if test -s conftest.err; then
2658 grep -v '^ *+' conftest.err >conftest.er1
2659 cat conftest.er1 >&5
2660 mv -f conftest.er1 conftest.err
2662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2663 test $ac_status = 0; } && {
2664 test -z "$ac_c_werror_flag" ||
2665 test ! -s conftest.err
2666 } && test -s conftest.$ac_objext; then :
2667 ac_retval=0
2668 else
2669 $as_echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2672 ac_retval=1
2674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2675 as_fn_set_status $ac_retval
2677 } # ac_fn_c_try_compile
2679 # ac_fn_cxx_try_compile LINENO
2680 # ----------------------------
2681 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2682 ac_fn_cxx_try_compile ()
2684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2685 rm -f conftest.$ac_objext
2686 if { { ac_try="$ac_compile"
2687 case "(($ac_try" in
2688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2689 *) ac_try_echo=$ac_try;;
2690 esac
2691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2692 $as_echo "$ac_try_echo"; } >&5
2693 (eval "$ac_compile") 2>conftest.err
2694 ac_status=$?
2695 if test -s conftest.err; then
2696 grep -v '^ *+' conftest.err >conftest.er1
2697 cat conftest.er1 >&5
2698 mv -f conftest.er1 conftest.err
2700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2701 test $ac_status = 0; } && {
2702 test -z "$ac_cxx_werror_flag" ||
2703 test ! -s conftest.err
2704 } && test -s conftest.$ac_objext; then :
2705 ac_retval=0
2706 else
2707 $as_echo "$as_me: failed program was:" >&5
2708 sed 's/^/| /' conftest.$ac_ext >&5
2710 ac_retval=1
2712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713 as_fn_set_status $ac_retval
2715 } # ac_fn_cxx_try_compile
2717 # ac_fn_c_try_link LINENO
2718 # -----------------------
2719 # Try to link conftest.$ac_ext, and return whether this succeeded.
2720 ac_fn_c_try_link ()
2722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2723 rm -f conftest.$ac_objext conftest$ac_exeext
2724 if { { ac_try="$ac_link"
2725 case "(($ac_try" in
2726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;;
2728 esac
2729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2730 $as_echo "$ac_try_echo"; } >&5
2731 (eval "$ac_link") 2>conftest.err
2732 ac_status=$?
2733 if test -s conftest.err; then
2734 grep -v '^ *+' conftest.err >conftest.er1
2735 cat conftest.er1 >&5
2736 mv -f conftest.er1 conftest.err
2738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2739 test $ac_status = 0; } && {
2740 test -z "$ac_c_werror_flag" ||
2741 test ! -s conftest.err
2742 } && test -s conftest$ac_exeext && {
2743 test "$cross_compiling" = yes ||
2744 test -x conftest$ac_exeext
2745 }; then :
2746 ac_retval=0
2747 else
2748 $as_echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2751 ac_retval=1
2753 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2754 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2755 # interfere with the next link command; also delete a directory that is
2756 # left behind by Apple's compiler. We do this before executing the actions.
2757 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2759 as_fn_set_status $ac_retval
2761 } # ac_fn_c_try_link
2763 # ac_fn_c_try_cpp LINENO
2764 # ----------------------
2765 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2766 ac_fn_c_try_cpp ()
2768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2769 if { { ac_try="$ac_cpp conftest.$ac_ext"
2770 case "(($ac_try" in
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2773 esac
2774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2775 $as_echo "$ac_try_echo"; } >&5
2776 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2777 ac_status=$?
2778 if test -s conftest.err; then
2779 grep -v '^ *+' conftest.err >conftest.er1
2780 cat conftest.er1 >&5
2781 mv -f conftest.er1 conftest.err
2783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2784 test $ac_status = 0; } > conftest.i && {
2785 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2786 test ! -s conftest.err
2787 }; then :
2788 ac_retval=0
2789 else
2790 $as_echo "$as_me: failed program was:" >&5
2791 sed 's/^/| /' conftest.$ac_ext >&5
2793 ac_retval=1
2795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2796 as_fn_set_status $ac_retval
2798 } # ac_fn_c_try_cpp
2800 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2801 # -------------------------------------------------------
2802 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2803 # the include files in INCLUDES and setting the cache variable VAR
2804 # accordingly.
2805 ac_fn_c_check_header_mongrel ()
2807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2808 if eval \${$3+:} false; then :
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2810 $as_echo_n "checking for $2... " >&6; }
2811 if eval \${$3+:} false; then :
2812 $as_echo_n "(cached) " >&6
2814 eval ac_res=\$$3
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2816 $as_echo "$ac_res" >&6; }
2817 else
2818 # Is the header compilable?
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2820 $as_echo_n "checking $2 usability... " >&6; }
2821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2822 /* end confdefs.h. */
2824 #include <$2>
2825 _ACEOF
2826 if ac_fn_c_try_compile "$LINENO"; then :
2827 ac_header_compiler=yes
2828 else
2829 ac_header_compiler=no
2831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2833 $as_echo "$ac_header_compiler" >&6; }
2835 # Is the header present?
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2837 $as_echo_n "checking $2 presence... " >&6; }
2838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2839 /* end confdefs.h. */
2840 #include <$2>
2841 _ACEOF
2842 if ac_fn_c_try_cpp "$LINENO"; then :
2843 ac_header_preproc=yes
2844 else
2845 ac_header_preproc=no
2847 rm -f conftest.err conftest.i conftest.$ac_ext
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2849 $as_echo "$ac_header_preproc" >&6; }
2851 # So? What about this header?
2852 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2853 yes:no: )
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2855 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2857 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2859 no:yes:* )
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2861 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2863 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2865 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2867 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2869 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2870 ( $as_echo "## ------------------------------------ ##
2871 ## Report this to wine-devel@winehq.org ##
2872 ## ------------------------------------ ##"
2873 ) | sed "s/^/$as_me: WARNING: /" >&2
2875 esac
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2877 $as_echo_n "checking for $2... " >&6; }
2878 if eval \${$3+:} false; then :
2879 $as_echo_n "(cached) " >&6
2880 else
2881 eval "$3=\$ac_header_compiler"
2883 eval ac_res=\$$3
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2885 $as_echo "$ac_res" >&6; }
2887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2889 } # ac_fn_c_check_header_mongrel
2891 # ac_fn_c_try_run LINENO
2892 # ----------------------
2893 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2894 # that executables *can* be run.
2895 ac_fn_c_try_run ()
2897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2898 if { { ac_try="$ac_link"
2899 case "(($ac_try" in
2900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2901 *) ac_try_echo=$ac_try;;
2902 esac
2903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2904 $as_echo "$ac_try_echo"; } >&5
2905 (eval "$ac_link") 2>&5
2906 ac_status=$?
2907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2908 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2909 { { case "(($ac_try" in
2910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 *) ac_try_echo=$ac_try;;
2912 esac
2913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2914 $as_echo "$ac_try_echo"; } >&5
2915 (eval "$ac_try") 2>&5
2916 ac_status=$?
2917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2918 test $ac_status = 0; }; }; then :
2919 ac_retval=0
2920 else
2921 $as_echo "$as_me: program exited with status $ac_status" >&5
2922 $as_echo "$as_me: failed program was:" >&5
2923 sed 's/^/| /' conftest.$ac_ext >&5
2925 ac_retval=$ac_status
2927 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2929 as_fn_set_status $ac_retval
2931 } # ac_fn_c_try_run
2933 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2934 # -------------------------------------------------------
2935 # Tests whether HEADER exists and can be compiled using the include files in
2936 # INCLUDES, setting the cache variable VAR accordingly.
2937 ac_fn_c_check_header_compile ()
2939 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2941 $as_echo_n "checking for $2... " >&6; }
2942 if eval \${$3+:} false; then :
2943 $as_echo_n "(cached) " >&6
2944 else
2945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2946 /* end confdefs.h. */
2948 #include <$2>
2949 _ACEOF
2950 if ac_fn_c_try_compile "$LINENO"; then :
2951 eval "$3=yes"
2952 else
2953 eval "$3=no"
2955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2957 eval ac_res=\$$3
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2959 $as_echo "$ac_res" >&6; }
2960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2962 } # ac_fn_c_check_header_compile
2964 # ac_fn_c_check_func LINENO FUNC VAR
2965 # ----------------------------------
2966 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2967 ac_fn_c_check_func ()
2969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2971 $as_echo_n "checking for $2... " >&6; }
2972 if eval \${$3+:} false; then :
2973 $as_echo_n "(cached) " >&6
2974 else
2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2976 /* end confdefs.h. */
2977 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2979 #define $2 innocuous_$2
2981 /* System header to define __stub macros and hopefully few prototypes,
2982 which can conflict with char $2 (); below.
2983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2984 <limits.h> exists even on freestanding compilers. */
2986 #ifdef __STDC__
2987 # include <limits.h>
2988 #else
2989 # include <assert.h>
2990 #endif
2992 #undef $2
2994 /* Override any GCC internal prototype to avoid an error.
2995 Use char because int might match the return type of a GCC
2996 builtin and then its argument prototype would still apply. */
2997 #ifdef __cplusplus
2998 extern "C"
2999 #endif
3000 char $2 ();
3001 /* The GNU C library defines this for functions which it implements
3002 to always fail with ENOSYS. Some functions are actually named
3003 something starting with __ and the normal name is an alias. */
3004 #if defined __stub_$2 || defined __stub___$2
3005 choke me
3006 #endif
3009 main ()
3011 return $2 ();
3013 return 0;
3015 _ACEOF
3016 if ac_fn_c_try_link "$LINENO"; then :
3017 eval "$3=yes"
3018 else
3019 eval "$3=no"
3021 rm -f core conftest.err conftest.$ac_objext \
3022 conftest$ac_exeext conftest.$ac_ext
3024 eval ac_res=\$$3
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3026 $as_echo "$ac_res" >&6; }
3027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3029 } # ac_fn_c_check_func
3031 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3032 # ----------------------------------------------------
3033 # Tries to find if the field MEMBER exists in type AGGR, after including
3034 # INCLUDES, setting cache variable VAR accordingly.
3035 ac_fn_c_check_member ()
3037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3039 $as_echo_n "checking for $2.$3... " >&6; }
3040 if eval \${$4+:} false; then :
3041 $as_echo_n "(cached) " >&6
3042 else
3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h. */
3047 main ()
3049 static $2 ac_aggr;
3050 if (ac_aggr.$3)
3051 return 0;
3053 return 0;
3055 _ACEOF
3056 if ac_fn_c_try_compile "$LINENO"; then :
3057 eval "$4=yes"
3058 else
3059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3060 /* end confdefs.h. */
3063 main ()
3065 static $2 ac_aggr;
3066 if (sizeof ac_aggr.$3)
3067 return 0;
3069 return 0;
3071 _ACEOF
3072 if ac_fn_c_try_compile "$LINENO"; then :
3073 eval "$4=yes"
3074 else
3075 eval "$4=no"
3077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3081 eval ac_res=\$$4
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3083 $as_echo "$ac_res" >&6; }
3084 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3086 } # ac_fn_c_check_member
3088 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3089 # -------------------------------------------
3090 # Tests whether TYPE exists after having included INCLUDES, setting cache
3091 # variable VAR accordingly.
3092 ac_fn_c_check_type ()
3094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3096 $as_echo_n "checking for $2... " >&6; }
3097 if eval \${$3+:} false; then :
3098 $as_echo_n "(cached) " >&6
3099 else
3100 eval "$3=no"
3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3105 main ()
3107 if (sizeof ($2))
3108 return 0;
3110 return 0;
3112 _ACEOF
3113 if ac_fn_c_try_compile "$LINENO"; then :
3114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3115 /* end confdefs.h. */
3118 main ()
3120 if (sizeof (($2)))
3121 return 0;
3123 return 0;
3125 _ACEOF
3126 if ac_fn_c_try_compile "$LINENO"; then :
3128 else
3129 eval "$3=yes"
3131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3135 eval ac_res=\$$3
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3137 $as_echo "$ac_res" >&6; }
3138 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3140 } # ac_fn_c_check_type
3141 cat >config.log <<_ACEOF
3142 This file contains any messages produced by compilers while
3143 running configure, to aid debugging if configure makes a mistake.
3145 It was created by Wine $as_me 3.3, which was
3146 generated by GNU Autoconf 2.69. Invocation command line was
3148 $ $0 $@
3150 _ACEOF
3151 exec 5>>config.log
3153 cat <<_ASUNAME
3154 ## --------- ##
3155 ## Platform. ##
3156 ## --------- ##
3158 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3159 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3160 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3161 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3162 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3164 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3165 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3167 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3168 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3169 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3170 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3171 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3172 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3173 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3175 _ASUNAME
3177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3178 for as_dir in $PATH
3180 IFS=$as_save_IFS
3181 test -z "$as_dir" && as_dir=.
3182 $as_echo "PATH: $as_dir"
3183 done
3184 IFS=$as_save_IFS
3186 } >&5
3188 cat >&5 <<_ACEOF
3191 ## ----------- ##
3192 ## Core tests. ##
3193 ## ----------- ##
3195 _ACEOF
3198 # Keep a trace of the command line.
3199 # Strip out --no-create and --no-recursion so they do not pile up.
3200 # Strip out --silent because we don't want to record it for future runs.
3201 # Also quote any args containing shell meta-characters.
3202 # Make two passes to allow for proper duplicate-argument suppression.
3203 ac_configure_args=
3204 ac_configure_args0=
3205 ac_configure_args1=
3206 ac_must_keep_next=false
3207 for ac_pass in 1 2
3209 for ac_arg
3211 case $ac_arg in
3212 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3213 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3214 | -silent | --silent | --silen | --sile | --sil)
3215 continue ;;
3216 *\'*)
3217 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3218 esac
3219 case $ac_pass in
3220 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3222 as_fn_append ac_configure_args1 " '$ac_arg'"
3223 if test $ac_must_keep_next = true; then
3224 ac_must_keep_next=false # Got value, back to normal.
3225 else
3226 case $ac_arg in
3227 *=* | --config-cache | -C | -disable-* | --disable-* \
3228 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3229 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3230 | -with-* | --with-* | -without-* | --without-* | --x)
3231 case "$ac_configure_args0 " in
3232 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3233 esac
3235 -* ) ac_must_keep_next=true ;;
3236 esac
3238 as_fn_append ac_configure_args " '$ac_arg'"
3240 esac
3241 done
3242 done
3243 { ac_configure_args0=; unset ac_configure_args0;}
3244 { ac_configure_args1=; unset ac_configure_args1;}
3246 # When interrupted or exit'd, cleanup temporary files, and complete
3247 # config.log. We remove comments because anyway the quotes in there
3248 # would cause problems or look ugly.
3249 # WARNING: Use '\'' to represent an apostrophe within the trap.
3250 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3251 trap 'exit_status=$?
3252 # Save into config.log some information that might help in debugging.
3254 echo
3256 $as_echo "## ---------------- ##
3257 ## Cache variables. ##
3258 ## ---------------- ##"
3259 echo
3260 # The following way of writing the cache mishandles newlines in values,
3262 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3263 eval ac_val=\$$ac_var
3264 case $ac_val in #(
3265 *${as_nl}*)
3266 case $ac_var in #(
3267 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3268 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3269 esac
3270 case $ac_var in #(
3271 _ | IFS | as_nl) ;; #(
3272 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3273 *) { eval $ac_var=; unset $ac_var;} ;;
3274 esac ;;
3275 esac
3276 done
3277 (set) 2>&1 |
3278 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3279 *${as_nl}ac_space=\ *)
3280 sed -n \
3281 "s/'\''/'\''\\\\'\'''\''/g;
3282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3283 ;; #(
3285 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3287 esac |
3288 sort
3290 echo
3292 $as_echo "## ----------------- ##
3293 ## Output variables. ##
3294 ## ----------------- ##"
3295 echo
3296 for ac_var in $ac_subst_vars
3298 eval ac_val=\$$ac_var
3299 case $ac_val in
3300 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3301 esac
3302 $as_echo "$ac_var='\''$ac_val'\''"
3303 done | sort
3304 echo
3306 if test -n "$ac_subst_files"; then
3307 $as_echo "## ------------------- ##
3308 ## File substitutions. ##
3309 ## ------------------- ##"
3310 echo
3311 for ac_var in $ac_subst_files
3313 eval ac_val=\$$ac_var
3314 case $ac_val in
3315 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3316 esac
3317 $as_echo "$ac_var='\''$ac_val'\''"
3318 done | sort
3319 echo
3322 if test -s confdefs.h; then
3323 $as_echo "## ----------- ##
3324 ## confdefs.h. ##
3325 ## ----------- ##"
3326 echo
3327 cat confdefs.h
3328 echo
3330 test "$ac_signal" != 0 &&
3331 $as_echo "$as_me: caught signal $ac_signal"
3332 $as_echo "$as_me: exit $exit_status"
3333 } >&5
3334 rm -f core *.core core.conftest.* &&
3335 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3336 exit $exit_status
3338 for ac_signal in 1 2 13 15; do
3339 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3340 done
3341 ac_signal=0
3343 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3344 rm -f -r conftest* confdefs.h
3346 $as_echo "/* confdefs.h */" > confdefs.h
3348 # Predefined preprocessor variables.
3350 cat >>confdefs.h <<_ACEOF
3351 #define PACKAGE_NAME "$PACKAGE_NAME"
3352 _ACEOF
3354 cat >>confdefs.h <<_ACEOF
3355 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3356 _ACEOF
3358 cat >>confdefs.h <<_ACEOF
3359 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3360 _ACEOF
3362 cat >>confdefs.h <<_ACEOF
3363 #define PACKAGE_STRING "$PACKAGE_STRING"
3364 _ACEOF
3366 cat >>confdefs.h <<_ACEOF
3367 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3368 _ACEOF
3370 cat >>confdefs.h <<_ACEOF
3371 #define PACKAGE_URL "$PACKAGE_URL"
3372 _ACEOF
3375 # Let the site file select an alternate cache file if it wants to.
3376 # Prefer an explicitly selected file to automatically selected ones.
3377 ac_site_file1=NONE
3378 ac_site_file2=NONE
3379 if test -n "$CONFIG_SITE"; then
3380 # We do not want a PATH search for config.site.
3381 case $CONFIG_SITE in #((
3382 -*) ac_site_file1=./$CONFIG_SITE;;
3383 */*) ac_site_file1=$CONFIG_SITE;;
3384 *) ac_site_file1=./$CONFIG_SITE;;
3385 esac
3386 elif test "x$prefix" != xNONE; then
3387 ac_site_file1=$prefix/share/config.site
3388 ac_site_file2=$prefix/etc/config.site
3389 else
3390 ac_site_file1=$ac_default_prefix/share/config.site
3391 ac_site_file2=$ac_default_prefix/etc/config.site
3393 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3395 test "x$ac_site_file" = xNONE && continue
3396 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3398 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3399 sed 's/^/| /' "$ac_site_file" >&5
3400 . "$ac_site_file" \
3401 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3403 as_fn_error $? "failed to load site script $ac_site_file
3404 See \`config.log' for more details" "$LINENO" 5; }
3406 done
3408 if test -r "$cache_file"; then
3409 # Some versions of bash will fail to source /dev/null (special files
3410 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3411 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3413 $as_echo "$as_me: loading cache $cache_file" >&6;}
3414 case $cache_file in
3415 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3416 *) . "./$cache_file";;
3417 esac
3419 else
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3421 $as_echo "$as_me: creating cache $cache_file" >&6;}
3422 >$cache_file
3425 # Check that the precious variables saved in the cache have kept the same
3426 # value.
3427 ac_cache_corrupted=false
3428 for ac_var in $ac_precious_vars; do
3429 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3430 eval ac_new_set=\$ac_env_${ac_var}_set
3431 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3432 eval ac_new_val=\$ac_env_${ac_var}_value
3433 case $ac_old_set,$ac_new_set in
3434 set,)
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3436 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3437 ac_cache_corrupted=: ;;
3438 ,set)
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3440 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3441 ac_cache_corrupted=: ;;
3442 ,);;
3444 if test "x$ac_old_val" != "x$ac_new_val"; then
3445 # differences in whitespace do not lead to failure.
3446 ac_old_val_w=`echo x $ac_old_val`
3447 ac_new_val_w=`echo x $ac_new_val`
3448 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3450 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3451 ac_cache_corrupted=:
3452 else
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3454 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3455 eval $ac_var=\$ac_old_val
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3458 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3460 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3461 fi;;
3462 esac
3463 # Pass precious variables to config.status.
3464 if test "$ac_new_set" = set; then
3465 case $ac_new_val in
3466 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3467 *) ac_arg=$ac_var=$ac_new_val ;;
3468 esac
3469 case " $ac_configure_args " in
3470 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3471 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3472 esac
3474 done
3475 if $ac_cache_corrupted; then
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3479 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3480 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3482 ## -------------------- ##
3483 ## Main body of script. ##
3484 ## -------------------- ##
3486 ac_ext=c
3487 ac_cpp='$CPP $CPPFLAGS'
3488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3494 ac_config_headers="$ac_config_headers include/config.h"
3496 ac_aux_dir=
3497 for ac_dir in tools "$srcdir"/tools; do
3498 if test -f "$ac_dir/install-sh"; then
3499 ac_aux_dir=$ac_dir
3500 ac_install_sh="$ac_aux_dir/install-sh -c"
3501 break
3502 elif test -f "$ac_dir/install.sh"; then
3503 ac_aux_dir=$ac_dir
3504 ac_install_sh="$ac_aux_dir/install.sh -c"
3505 break
3506 elif test -f "$ac_dir/shtool"; then
3507 ac_aux_dir=$ac_dir
3508 ac_install_sh="$ac_aux_dir/shtool install -c"
3509 break
3511 done
3512 if test -z "$ac_aux_dir"; then
3513 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3516 # These three variables are undocumented and unsupported,
3517 # and are intended to be withdrawn in a future Autoconf release.
3518 # They can cause serious problems if a builder's source tree is in a directory
3519 # whose full name contains unusual characters.
3520 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3521 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3522 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3526 libwine_version="1.0"
3530 # Check whether --enable-win16 was given.
3531 if test "${enable_win16+set}" = set; then :
3532 enableval=$enable_win16;
3535 # Check whether --enable-win64 was given.
3536 if test "${enable_win64+set}" = set; then :
3537 enableval=$enable_win64;
3540 # Check whether --enable-tests was given.
3541 if test "${enable_tests+set}" = set; then :
3542 enableval=$enable_tests;
3545 # Check whether --enable-maintainer-mode was given.
3546 if test "${enable_maintainer_mode+set}" = set; then :
3547 enableval=$enable_maintainer_mode;
3552 # Check whether --with-alsa was given.
3553 if test "${with_alsa+set}" = set; then :
3554 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3558 # Check whether --with-capi was given.
3559 if test "${with_capi+set}" = set; then :
3560 withval=$with_capi;
3564 # Check whether --with-cms was given.
3565 if test "${with_cms+set}" = set; then :
3566 withval=$with_cms;
3570 # Check whether --with-coreaudio was given.
3571 if test "${with_coreaudio+set}" = set; then :
3572 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3576 # Check whether --with-cups was given.
3577 if test "${with_cups+set}" = set; then :
3578 withval=$with_cups;
3582 # Check whether --with-curses was given.
3583 if test "${with_curses+set}" = set; then :
3584 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3588 # Check whether --with-dbus was given.
3589 if test "${with_dbus+set}" = set; then :
3590 withval=$with_dbus;
3594 # Check whether --with-float-abi was given.
3595 if test "${with_float_abi+set}" = set; then :
3596 withval=$with_float_abi;
3600 # Check whether --with-fontconfig was given.
3601 if test "${with_fontconfig+set}" = set; then :
3602 withval=$with_fontconfig;
3606 # Check whether --with-freetype was given.
3607 if test "${with_freetype+set}" = set; then :
3608 withval=$with_freetype;
3612 # Check whether --with-gettext was given.
3613 if test "${with_gettext+set}" = set; then :
3614 withval=$with_gettext;
3618 # Check whether --with-gettextpo was given.
3619 if test "${with_gettextpo+set}" = set; then :
3620 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3624 # Check whether --with-gphoto was given.
3625 if test "${with_gphoto+set}" = set; then :
3626 withval=$with_gphoto;
3630 # Check whether --with-glu was given.
3631 if test "${with_glu+set}" = set; then :
3632 withval=$with_glu;
3636 # Check whether --with-gnutls was given.
3637 if test "${with_gnutls+set}" = set; then :
3638 withval=$with_gnutls;
3642 # Check whether --with-gsm was given.
3643 if test "${with_gsm+set}" = set; then :
3644 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3648 # Check whether --with-gssapi was given.
3649 if test "${with_gssapi+set}" = set; then :
3650 withval=$with_gssapi;
3654 # Check whether --with-gstreamer was given.
3655 if test "${with_gstreamer+set}" = set; then :
3656 withval=$with_gstreamer;
3660 # Check whether --with-hal was given.
3661 if test "${with_hal+set}" = set; then :
3662 withval=$with_hal;
3666 # Check whether --with-jpeg was given.
3667 if test "${with_jpeg+set}" = set; then :
3668 withval=$with_jpeg;
3672 # Check whether --with-krb5 was given.
3673 if test "${with_krb5+set}" = set; then :
3674 withval=$with_krb5;
3678 # Check whether --with-ldap was given.
3679 if test "${with_ldap+set}" = set; then :
3680 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3684 # Check whether --with-mpg123 was given.
3685 if test "${with_mpg123+set}" = set; then :
3686 withval=$with_mpg123;
3690 # Check whether --with-netapi was given.
3691 if test "${with_netapi+set}" = set; then :
3692 withval=$with_netapi;
3696 # Check whether --with-openal was given.
3697 if test "${with_openal+set}" = set; then :
3698 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3702 # Check whether --with-opencl was given.
3703 if test "${with_opencl+set}" = set; then :
3704 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3708 # Check whether --with-opengl was given.
3709 if test "${with_opengl+set}" = set; then :
3710 withval=$with_opengl;
3714 # Check whether --with-osmesa was given.
3715 if test "${with_osmesa+set}" = set; then :
3716 withval=$with_osmesa;
3720 # Check whether --with-oss was given.
3721 if test "${with_oss+set}" = set; then :
3722 withval=$with_oss;
3726 # Check whether --with-pcap was given.
3727 if test "${with_pcap+set}" = set; then :
3728 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3732 # Check whether --with-png was given.
3733 if test "${with_png+set}" = set; then :
3734 withval=$with_png;
3738 # Check whether --with-pthread was given.
3739 if test "${with_pthread+set}" = set; then :
3740 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3744 # Check whether --with-pulse was given.
3745 if test "${with_pulse+set}" = set; then :
3746 withval=$with_pulse;
3750 # Check whether --with-sane was given.
3751 if test "${with_sane+set}" = set; then :
3752 withval=$with_sane;
3756 # Check whether --with-sdl was given.
3757 if test "${with_sdl+set}" = set; then :
3758 withval=$with_sdl;
3762 # Check whether --with-tiff was given.
3763 if test "${with_tiff+set}" = set; then :
3764 withval=$with_tiff;
3768 # Check whether --with-udev was given.
3769 if test "${with_udev+set}" = set; then :
3770 withval=$with_udev;
3774 # Check whether --with-v4l was given.
3775 if test "${with_v4l+set}" = set; then :
3776 withval=$with_v4l;
3780 # Check whether --with-vulkan was given.
3781 if test "${with_vulkan+set}" = set; then :
3782 withval=$with_vulkan;
3786 # Check whether --with-xcomposite was given.
3787 if test "${with_xcomposite+set}" = set; then :
3788 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3792 # Check whether --with-xcursor was given.
3793 if test "${with_xcursor+set}" = set; then :
3794 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3798 # Check whether --with-xfixes was given.
3799 if test "${with_xfixes+set}" = set; then :
3800 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3804 # Check whether --with-xinerama was given.
3805 if test "${with_xinerama+set}" = set; then :
3806 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3810 # Check whether --with-xinput was given.
3811 if test "${with_xinput+set}" = set; then :
3812 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3816 # Check whether --with-xinput2 was given.
3817 if test "${with_xinput2+set}" = set; then :
3818 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3822 # Check whether --with-xml was given.
3823 if test "${with_xml+set}" = set; then :
3824 withval=$with_xml;
3828 # Check whether --with-xrandr was given.
3829 if test "${with_xrandr+set}" = set; then :
3830 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3834 # Check whether --with-xrender was given.
3835 if test "${with_xrender+set}" = set; then :
3836 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3840 # Check whether --with-xshape was given.
3841 if test "${with_xshape+set}" = set; then :
3842 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3846 # Check whether --with-xshm was given.
3847 if test "${with_xshm+set}" = set; then :
3848 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3852 # Check whether --with-xslt was given.
3853 if test "${with_xslt+set}" = set; then :
3854 withval=$with_xslt;
3858 # Check whether --with-xxf86vm was given.
3859 if test "${with_xxf86vm+set}" = set; then :
3860 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
3864 # Check whether --with-zlib was given.
3865 if test "${with_zlib+set}" = set; then :
3866 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3871 # Check whether --with-wine-tools was given.
3872 if test "${with_wine_tools+set}" = set; then :
3873 withval=$with_wine_tools;
3877 # Check whether --with-wine64 was given.
3878 if test "${with_wine64+set}" = set; then :
3879 withval=$with_wine64;
3883 # Make sure we can run config.sub.
3884 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3885 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3888 $as_echo_n "checking build system type... " >&6; }
3889 if ${ac_cv_build+:} false; then :
3890 $as_echo_n "(cached) " >&6
3891 else
3892 ac_build_alias=$build_alias
3893 test "x$ac_build_alias" = x &&
3894 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3895 test "x$ac_build_alias" = x &&
3896 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3897 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3898 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3902 $as_echo "$ac_cv_build" >&6; }
3903 case $ac_cv_build in
3904 *-*-*) ;;
3905 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3906 esac
3907 build=$ac_cv_build
3908 ac_save_IFS=$IFS; IFS='-'
3909 set x $ac_cv_build
3910 shift
3911 build_cpu=$1
3912 build_vendor=$2
3913 shift; shift
3914 # Remember, the first character of IFS is used to create $*,
3915 # except with old shells:
3916 build_os=$*
3917 IFS=$ac_save_IFS
3918 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3922 $as_echo_n "checking host system type... " >&6; }
3923 if ${ac_cv_host+:} false; then :
3924 $as_echo_n "(cached) " >&6
3925 else
3926 if test "x$host_alias" = x; then
3927 ac_cv_host=$ac_cv_build
3928 else
3929 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3930 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3935 $as_echo "$ac_cv_host" >&6; }
3936 case $ac_cv_host in
3937 *-*-*) ;;
3938 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3939 esac
3940 host=$ac_cv_host
3941 ac_save_IFS=$IFS; IFS='-'
3942 set x $ac_cv_host
3943 shift
3944 host_cpu=$1
3945 host_vendor=$2
3946 shift; shift
3947 # Remember, the first character of IFS is used to create $*,
3948 # except with old shells:
3949 host_os=$*
3950 IFS=$ac_save_IFS
3951 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3955 case "$srcdir" in
3956 .) ;;
3957 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3958 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3959 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3960 fi ;;
3961 esac
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3965 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3966 set x ${MAKE-make}
3967 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3968 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3969 $as_echo_n "(cached) " >&6
3970 else
3971 cat >conftest.make <<\_ACEOF
3972 SHELL = /bin/sh
3973 all:
3974 @echo '@@@%%%=$(MAKE)=@@@%%%'
3975 _ACEOF
3976 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3977 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3978 *@@@%%%=?*=@@@%%%*)
3979 eval ac_cv_prog_make_${ac_make}_set=yes;;
3981 eval ac_cv_prog_make_${ac_make}_set=no;;
3982 esac
3983 rm -f conftest.make
3985 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3987 $as_echo "yes" >&6; }
3988 SET_MAKE=
3989 else
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3991 $as_echo "no" >&6; }
3992 SET_MAKE="MAKE=${MAKE-make}"
3995 ac_ext=c
3996 ac_cpp='$CPP $CPPFLAGS'
3997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4000 if test -n "$ac_tool_prefix"; then
4001 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4002 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4004 $as_echo_n "checking for $ac_word... " >&6; }
4005 if ${ac_cv_prog_CC+:} false; then :
4006 $as_echo_n "(cached) " >&6
4007 else
4008 if test -n "$CC"; then
4009 ac_cv_prog_CC="$CC" # Let the user override the test.
4010 else
4011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4012 for as_dir in $PATH
4014 IFS=$as_save_IFS
4015 test -z "$as_dir" && as_dir=.
4016 for ac_exec_ext in '' $ac_executable_extensions; do
4017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4018 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4020 break 2
4022 done
4023 done
4024 IFS=$as_save_IFS
4028 CC=$ac_cv_prog_CC
4029 if test -n "$CC"; then
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4031 $as_echo "$CC" >&6; }
4032 else
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4034 $as_echo "no" >&6; }
4039 if test -z "$ac_cv_prog_CC"; then
4040 ac_ct_CC=$CC
4041 # Extract the first word of "gcc", so it can be a program name with args.
4042 set dummy gcc; ac_word=$2
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4044 $as_echo_n "checking for $ac_word... " >&6; }
4045 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4046 $as_echo_n "(cached) " >&6
4047 else
4048 if test -n "$ac_ct_CC"; then
4049 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4050 else
4051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4052 for as_dir in $PATH
4054 IFS=$as_save_IFS
4055 test -z "$as_dir" && as_dir=.
4056 for ac_exec_ext in '' $ac_executable_extensions; do
4057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4058 ac_cv_prog_ac_ct_CC="gcc"
4059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4060 break 2
4062 done
4063 done
4064 IFS=$as_save_IFS
4068 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4069 if test -n "$ac_ct_CC"; then
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4071 $as_echo "$ac_ct_CC" >&6; }
4072 else
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4074 $as_echo "no" >&6; }
4077 if test "x$ac_ct_CC" = x; then
4078 CC=""
4079 else
4080 case $cross_compiling:$ac_tool_warned in
4081 yes:)
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4084 ac_tool_warned=yes ;;
4085 esac
4086 CC=$ac_ct_CC
4088 else
4089 CC="$ac_cv_prog_CC"
4092 if test -z "$CC"; then
4093 if test -n "$ac_tool_prefix"; then
4094 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4095 set dummy ${ac_tool_prefix}cc; ac_word=$2
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4097 $as_echo_n "checking for $ac_word... " >&6; }
4098 if ${ac_cv_prog_CC+:} false; then :
4099 $as_echo_n "(cached) " >&6
4100 else
4101 if test -n "$CC"; then
4102 ac_cv_prog_CC="$CC" # Let the user override the test.
4103 else
4104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4105 for as_dir in $PATH
4107 IFS=$as_save_IFS
4108 test -z "$as_dir" && as_dir=.
4109 for ac_exec_ext in '' $ac_executable_extensions; do
4110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4111 ac_cv_prog_CC="${ac_tool_prefix}cc"
4112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4113 break 2
4115 done
4116 done
4117 IFS=$as_save_IFS
4121 CC=$ac_cv_prog_CC
4122 if test -n "$CC"; then
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4124 $as_echo "$CC" >&6; }
4125 else
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4127 $as_echo "no" >&6; }
4133 if test -z "$CC"; then
4134 # Extract the first word of "cc", so it can be a program name with args.
4135 set dummy cc; ac_word=$2
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4137 $as_echo_n "checking for $ac_word... " >&6; }
4138 if ${ac_cv_prog_CC+:} false; then :
4139 $as_echo_n "(cached) " >&6
4140 else
4141 if test -n "$CC"; then
4142 ac_cv_prog_CC="$CC" # Let the user override the test.
4143 else
4144 ac_prog_rejected=no
4145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4146 for as_dir in $PATH
4148 IFS=$as_save_IFS
4149 test -z "$as_dir" && as_dir=.
4150 for ac_exec_ext in '' $ac_executable_extensions; do
4151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4152 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4153 ac_prog_rejected=yes
4154 continue
4156 ac_cv_prog_CC="cc"
4157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4158 break 2
4160 done
4161 done
4162 IFS=$as_save_IFS
4164 if test $ac_prog_rejected = yes; then
4165 # We found a bogon in the path, so make sure we never use it.
4166 set dummy $ac_cv_prog_CC
4167 shift
4168 if test $# != 0; then
4169 # We chose a different compiler from the bogus one.
4170 # However, it has the same basename, so the bogon will be chosen
4171 # first if we set CC to just the basename; use the full file name.
4172 shift
4173 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4178 CC=$ac_cv_prog_CC
4179 if test -n "$CC"; then
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4181 $as_echo "$CC" >&6; }
4182 else
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4184 $as_echo "no" >&6; }
4189 if test -z "$CC"; then
4190 if test -n "$ac_tool_prefix"; then
4191 for ac_prog in cl.exe
4193 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4194 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4196 $as_echo_n "checking for $ac_word... " >&6; }
4197 if ${ac_cv_prog_CC+:} false; then :
4198 $as_echo_n "(cached) " >&6
4199 else
4200 if test -n "$CC"; then
4201 ac_cv_prog_CC="$CC" # Let the user override the test.
4202 else
4203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4204 for as_dir in $PATH
4206 IFS=$as_save_IFS
4207 test -z "$as_dir" && as_dir=.
4208 for ac_exec_ext in '' $ac_executable_extensions; do
4209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4210 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4212 break 2
4214 done
4215 done
4216 IFS=$as_save_IFS
4220 CC=$ac_cv_prog_CC
4221 if test -n "$CC"; then
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4223 $as_echo "$CC" >&6; }
4224 else
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4226 $as_echo "no" >&6; }
4230 test -n "$CC" && break
4231 done
4233 if test -z "$CC"; then
4234 ac_ct_CC=$CC
4235 for ac_prog in cl.exe
4237 # Extract the first word of "$ac_prog", so it can be a program name with args.
4238 set dummy $ac_prog; ac_word=$2
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4240 $as_echo_n "checking for $ac_word... " >&6; }
4241 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4242 $as_echo_n "(cached) " >&6
4243 else
4244 if test -n "$ac_ct_CC"; then
4245 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4246 else
4247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4248 for as_dir in $PATH
4250 IFS=$as_save_IFS
4251 test -z "$as_dir" && as_dir=.
4252 for ac_exec_ext in '' $ac_executable_extensions; do
4253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4254 ac_cv_prog_ac_ct_CC="$ac_prog"
4255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4256 break 2
4258 done
4259 done
4260 IFS=$as_save_IFS
4264 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4265 if test -n "$ac_ct_CC"; then
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4267 $as_echo "$ac_ct_CC" >&6; }
4268 else
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4270 $as_echo "no" >&6; }
4274 test -n "$ac_ct_CC" && break
4275 done
4277 if test "x$ac_ct_CC" = x; then
4278 CC=""
4279 else
4280 case $cross_compiling:$ac_tool_warned in
4281 yes:)
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4284 ac_tool_warned=yes ;;
4285 esac
4286 CC=$ac_ct_CC
4293 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4295 as_fn_error $? "no acceptable C compiler found in \$PATH
4296 See \`config.log' for more details" "$LINENO" 5; }
4298 # Provide some information about the compiler.
4299 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4300 set X $ac_compile
4301 ac_compiler=$2
4302 for ac_option in --version -v -V -qversion; do
4303 { { ac_try="$ac_compiler $ac_option >&5"
4304 case "(($ac_try" in
4305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4306 *) ac_try_echo=$ac_try;;
4307 esac
4308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4309 $as_echo "$ac_try_echo"; } >&5
4310 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4311 ac_status=$?
4312 if test -s conftest.err; then
4313 sed '10a\
4314 ... rest of stderr output deleted ...
4315 10q' conftest.err >conftest.er1
4316 cat conftest.er1 >&5
4318 rm -f conftest.er1 conftest.err
4319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4320 test $ac_status = 0; }
4321 done
4323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4324 /* end confdefs.h. */
4327 main ()
4331 return 0;
4333 _ACEOF
4334 ac_clean_files_save=$ac_clean_files
4335 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4336 # Try to create an executable without -o first, disregard a.out.
4337 # It will help us diagnose broken compilers, and finding out an intuition
4338 # of exeext.
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4340 $as_echo_n "checking whether the C compiler works... " >&6; }
4341 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4343 # The possible output files:
4344 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4346 ac_rmfiles=
4347 for ac_file in $ac_files
4349 case $ac_file in
4350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4351 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4352 esac
4353 done
4354 rm -f $ac_rmfiles
4356 if { { ac_try="$ac_link_default"
4357 case "(($ac_try" in
4358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4359 *) ac_try_echo=$ac_try;;
4360 esac
4361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4362 $as_echo "$ac_try_echo"; } >&5
4363 (eval "$ac_link_default") 2>&5
4364 ac_status=$?
4365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4366 test $ac_status = 0; }; then :
4367 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4368 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4369 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4370 # so that the user can short-circuit this test for compilers unknown to
4371 # Autoconf.
4372 for ac_file in $ac_files ''
4374 test -f "$ac_file" || continue
4375 case $ac_file in
4376 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4378 [ab].out )
4379 # We found the default executable, but exeext='' is most
4380 # certainly right.
4381 break;;
4382 *.* )
4383 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4384 then :; else
4385 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4387 # We set ac_cv_exeext here because the later test for it is not
4388 # safe: cross compilers may not add the suffix if given an `-o'
4389 # argument, so we may need to know it at that point already.
4390 # Even if this section looks crufty: it has the advantage of
4391 # actually working.
4392 break;;
4394 break;;
4395 esac
4396 done
4397 test "$ac_cv_exeext" = no && ac_cv_exeext=
4399 else
4400 ac_file=''
4402 if test -z "$ac_file"; then :
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4404 $as_echo "no" >&6; }
4405 $as_echo "$as_me: failed program was:" >&5
4406 sed 's/^/| /' conftest.$ac_ext >&5
4408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4410 as_fn_error 77 "C compiler cannot create executables
4411 See \`config.log' for more details" "$LINENO" 5; }
4412 else
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4414 $as_echo "yes" >&6; }
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4417 $as_echo_n "checking for C compiler default output file name... " >&6; }
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4419 $as_echo "$ac_file" >&6; }
4420 ac_exeext=$ac_cv_exeext
4422 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4423 ac_clean_files=$ac_clean_files_save
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4425 $as_echo_n "checking for suffix of executables... " >&6; }
4426 if { { ac_try="$ac_link"
4427 case "(($ac_try" in
4428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4429 *) ac_try_echo=$ac_try;;
4430 esac
4431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4432 $as_echo "$ac_try_echo"; } >&5
4433 (eval "$ac_link") 2>&5
4434 ac_status=$?
4435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4436 test $ac_status = 0; }; then :
4437 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4438 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4439 # work properly (i.e., refer to `conftest.exe'), while it won't with
4440 # `rm'.
4441 for ac_file in conftest.exe conftest conftest.*; do
4442 test -f "$ac_file" || continue
4443 case $ac_file in
4444 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4445 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4446 break;;
4447 * ) break;;
4448 esac
4449 done
4450 else
4451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4453 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4454 See \`config.log' for more details" "$LINENO" 5; }
4456 rm -f conftest conftest$ac_cv_exeext
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4458 $as_echo "$ac_cv_exeext" >&6; }
4460 rm -f conftest.$ac_ext
4461 EXEEXT=$ac_cv_exeext
4462 ac_exeext=$EXEEXT
4463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4464 /* end confdefs.h. */
4465 #include <stdio.h>
4467 main ()
4469 FILE *f = fopen ("conftest.out", "w");
4470 return ferror (f) || fclose (f) != 0;
4473 return 0;
4475 _ACEOF
4476 ac_clean_files="$ac_clean_files conftest.out"
4477 # Check that the compiler produces executables we can run. If not, either
4478 # the compiler is broken, or we cross compile.
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4480 $as_echo_n "checking whether we are cross compiling... " >&6; }
4481 if test "$cross_compiling" != yes; then
4482 { { ac_try="$ac_link"
4483 case "(($ac_try" in
4484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4485 *) ac_try_echo=$ac_try;;
4486 esac
4487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4488 $as_echo "$ac_try_echo"; } >&5
4489 (eval "$ac_link") 2>&5
4490 ac_status=$?
4491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4492 test $ac_status = 0; }
4493 if { ac_try='./conftest$ac_cv_exeext'
4494 { { case "(($ac_try" in
4495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4496 *) ac_try_echo=$ac_try;;
4497 esac
4498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4499 $as_echo "$ac_try_echo"; } >&5
4500 (eval "$ac_try") 2>&5
4501 ac_status=$?
4502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4503 test $ac_status = 0; }; }; then
4504 cross_compiling=no
4505 else
4506 if test "$cross_compiling" = maybe; then
4507 cross_compiling=yes
4508 else
4509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4511 as_fn_error $? "cannot run C compiled programs.
4512 If you meant to cross compile, use \`--host'.
4513 See \`config.log' for more details" "$LINENO" 5; }
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4518 $as_echo "$cross_compiling" >&6; }
4520 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4521 ac_clean_files=$ac_clean_files_save
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4523 $as_echo_n "checking for suffix of object files... " >&6; }
4524 if ${ac_cv_objext+:} false; then :
4525 $as_echo_n "(cached) " >&6
4526 else
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4531 main ()
4535 return 0;
4537 _ACEOF
4538 rm -f conftest.o conftest.obj
4539 if { { ac_try="$ac_compile"
4540 case "(($ac_try" in
4541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4542 *) ac_try_echo=$ac_try;;
4543 esac
4544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4545 $as_echo "$ac_try_echo"; } >&5
4546 (eval "$ac_compile") 2>&5
4547 ac_status=$?
4548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4549 test $ac_status = 0; }; then :
4550 for ac_file in conftest.o conftest.obj conftest.*; do
4551 test -f "$ac_file" || continue;
4552 case $ac_file in
4553 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4554 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4555 break;;
4556 esac
4557 done
4558 else
4559 $as_echo "$as_me: failed program was:" >&5
4560 sed 's/^/| /' conftest.$ac_ext >&5
4562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4564 as_fn_error $? "cannot compute suffix of object files: cannot compile
4565 See \`config.log' for more details" "$LINENO" 5; }
4567 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4570 $as_echo "$ac_cv_objext" >&6; }
4571 OBJEXT=$ac_cv_objext
4572 ac_objext=$OBJEXT
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4574 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4575 if ${ac_cv_c_compiler_gnu+:} false; then :
4576 $as_echo_n "(cached) " >&6
4577 else
4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4582 main ()
4584 #ifndef __GNUC__
4585 choke me
4586 #endif
4589 return 0;
4591 _ACEOF
4592 if ac_fn_c_try_compile "$LINENO"; then :
4593 ac_compiler_gnu=yes
4594 else
4595 ac_compiler_gnu=no
4597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4598 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4602 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4603 if test $ac_compiler_gnu = yes; then
4604 GCC=yes
4605 else
4606 GCC=
4608 ac_test_CFLAGS=${CFLAGS+set}
4609 ac_save_CFLAGS=$CFLAGS
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4611 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4612 if ${ac_cv_prog_cc_g+:} false; then :
4613 $as_echo_n "(cached) " >&6
4614 else
4615 ac_save_c_werror_flag=$ac_c_werror_flag
4616 ac_c_werror_flag=yes
4617 ac_cv_prog_cc_g=no
4618 CFLAGS="-g"
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4623 main ()
4627 return 0;
4629 _ACEOF
4630 if ac_fn_c_try_compile "$LINENO"; then :
4631 ac_cv_prog_cc_g=yes
4632 else
4633 CFLAGS=""
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4638 main ()
4642 return 0;
4644 _ACEOF
4645 if ac_fn_c_try_compile "$LINENO"; then :
4647 else
4648 ac_c_werror_flag=$ac_save_c_werror_flag
4649 CFLAGS="-g"
4650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4651 /* end confdefs.h. */
4654 main ()
4658 return 0;
4660 _ACEOF
4661 if ac_fn_c_try_compile "$LINENO"; then :
4662 ac_cv_prog_cc_g=yes
4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4669 ac_c_werror_flag=$ac_save_c_werror_flag
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4672 $as_echo "$ac_cv_prog_cc_g" >&6; }
4673 if test "$ac_test_CFLAGS" = set; then
4674 CFLAGS=$ac_save_CFLAGS
4675 elif test $ac_cv_prog_cc_g = yes; then
4676 if test "$GCC" = yes; then
4677 CFLAGS="-g -O2"
4678 else
4679 CFLAGS="-g"
4681 else
4682 if test "$GCC" = yes; then
4683 CFLAGS="-O2"
4684 else
4685 CFLAGS=
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4689 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4690 if ${ac_cv_prog_cc_c89+:} false; then :
4691 $as_echo_n "(cached) " >&6
4692 else
4693 ac_cv_prog_cc_c89=no
4694 ac_save_CC=$CC
4695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4696 /* end confdefs.h. */
4697 #include <stdarg.h>
4698 #include <stdio.h>
4699 struct stat;
4700 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4701 struct buf { int x; };
4702 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4703 static char *e (p, i)
4704 char **p;
4705 int i;
4707 return p[i];
4709 static char *f (char * (*g) (char **, int), char **p, ...)
4711 char *s;
4712 va_list v;
4713 va_start (v,p);
4714 s = g (p, va_arg (v,int));
4715 va_end (v);
4716 return s;
4719 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4720 function prototypes and stuff, but not '\xHH' hex character constants.
4721 These don't provoke an error unfortunately, instead are silently treated
4722 as 'x'. The following induces an error, until -std is added to get
4723 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4724 array size at least. It's necessary to write '\x00'==0 to get something
4725 that's true only with -std. */
4726 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4728 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4729 inside strings and character constants. */
4730 #define FOO(x) 'x'
4731 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4733 int test (int i, double x);
4734 struct s1 {int (*f) (int a);};
4735 struct s2 {int (*f) (double a);};
4736 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4737 int argc;
4738 char **argv;
4740 main ()
4742 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4744 return 0;
4746 _ACEOF
4747 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4748 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4750 CC="$ac_save_CC $ac_arg"
4751 if ac_fn_c_try_compile "$LINENO"; then :
4752 ac_cv_prog_cc_c89=$ac_arg
4754 rm -f core conftest.err conftest.$ac_objext
4755 test "x$ac_cv_prog_cc_c89" != "xno" && break
4756 done
4757 rm -f conftest.$ac_ext
4758 CC=$ac_save_CC
4761 # AC_CACHE_VAL
4762 case "x$ac_cv_prog_cc_c89" in
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4765 $as_echo "none needed" >&6; } ;;
4766 xno)
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4768 $as_echo "unsupported" >&6; } ;;
4770 CC="$CC $ac_cv_prog_cc_c89"
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4772 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4773 esac
4774 if test "x$ac_cv_prog_cc_c89" != xno; then :
4778 ac_ext=c
4779 ac_cpp='$CPP $CPPFLAGS'
4780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4784 ac_ext=cpp
4785 ac_cpp='$CXXCPP $CPPFLAGS'
4786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4789 if test -z "$CXX"; then
4790 if test -n "$CCC"; then
4791 CXX=$CCC
4792 else
4793 if test -n "$ac_tool_prefix"; then
4794 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4796 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4797 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4799 $as_echo_n "checking for $ac_word... " >&6; }
4800 if ${ac_cv_prog_CXX+:} false; then :
4801 $as_echo_n "(cached) " >&6
4802 else
4803 if test -n "$CXX"; then
4804 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4805 else
4806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4807 for as_dir in $PATH
4809 IFS=$as_save_IFS
4810 test -z "$as_dir" && as_dir=.
4811 for ac_exec_ext in '' $ac_executable_extensions; do
4812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4813 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4815 break 2
4817 done
4818 done
4819 IFS=$as_save_IFS
4823 CXX=$ac_cv_prog_CXX
4824 if test -n "$CXX"; then
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4826 $as_echo "$CXX" >&6; }
4827 else
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4829 $as_echo "no" >&6; }
4833 test -n "$CXX" && break
4834 done
4836 if test -z "$CXX"; then
4837 ac_ct_CXX=$CXX
4838 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4840 # Extract the first word of "$ac_prog", so it can be a program name with args.
4841 set dummy $ac_prog; ac_word=$2
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4843 $as_echo_n "checking for $ac_word... " >&6; }
4844 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4845 $as_echo_n "(cached) " >&6
4846 else
4847 if test -n "$ac_ct_CXX"; then
4848 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4849 else
4850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4851 for as_dir in $PATH
4853 IFS=$as_save_IFS
4854 test -z "$as_dir" && as_dir=.
4855 for ac_exec_ext in '' $ac_executable_extensions; do
4856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4857 ac_cv_prog_ac_ct_CXX="$ac_prog"
4858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4859 break 2
4861 done
4862 done
4863 IFS=$as_save_IFS
4867 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4868 if test -n "$ac_ct_CXX"; then
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4870 $as_echo "$ac_ct_CXX" >&6; }
4871 else
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4873 $as_echo "no" >&6; }
4877 test -n "$ac_ct_CXX" && break
4878 done
4880 if test "x$ac_ct_CXX" = x; then
4881 CXX="g++"
4882 else
4883 case $cross_compiling:$ac_tool_warned in
4884 yes:)
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4887 ac_tool_warned=yes ;;
4888 esac
4889 CXX=$ac_ct_CXX
4895 # Provide some information about the compiler.
4896 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4897 set X $ac_compile
4898 ac_compiler=$2
4899 for ac_option in --version -v -V -qversion; do
4900 { { ac_try="$ac_compiler $ac_option >&5"
4901 case "(($ac_try" in
4902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4903 *) ac_try_echo=$ac_try;;
4904 esac
4905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4906 $as_echo "$ac_try_echo"; } >&5
4907 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4908 ac_status=$?
4909 if test -s conftest.err; then
4910 sed '10a\
4911 ... rest of stderr output deleted ...
4912 10q' conftest.err >conftest.er1
4913 cat conftest.er1 >&5
4915 rm -f conftest.er1 conftest.err
4916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4917 test $ac_status = 0; }
4918 done
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4921 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4922 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4923 $as_echo_n "(cached) " >&6
4924 else
4925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4926 /* end confdefs.h. */
4929 main ()
4931 #ifndef __GNUC__
4932 choke me
4933 #endif
4936 return 0;
4938 _ACEOF
4939 if ac_fn_cxx_try_compile "$LINENO"; then :
4940 ac_compiler_gnu=yes
4941 else
4942 ac_compiler_gnu=no
4944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4945 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4949 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4950 if test $ac_compiler_gnu = yes; then
4951 GXX=yes
4952 else
4953 GXX=
4955 ac_test_CXXFLAGS=${CXXFLAGS+set}
4956 ac_save_CXXFLAGS=$CXXFLAGS
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4958 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4959 if ${ac_cv_prog_cxx_g+:} false; then :
4960 $as_echo_n "(cached) " >&6
4961 else
4962 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4963 ac_cxx_werror_flag=yes
4964 ac_cv_prog_cxx_g=no
4965 CXXFLAGS="-g"
4966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4967 /* end confdefs.h. */
4970 main ()
4974 return 0;
4976 _ACEOF
4977 if ac_fn_cxx_try_compile "$LINENO"; then :
4978 ac_cv_prog_cxx_g=yes
4979 else
4980 CXXFLAGS=""
4981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4982 /* end confdefs.h. */
4985 main ()
4989 return 0;
4991 _ACEOF
4992 if ac_fn_cxx_try_compile "$LINENO"; then :
4994 else
4995 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4996 CXXFLAGS="-g"
4997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998 /* end confdefs.h. */
5001 main ()
5005 return 0;
5007 _ACEOF
5008 if ac_fn_cxx_try_compile "$LINENO"; then :
5009 ac_cv_prog_cxx_g=yes
5011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5016 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5019 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5020 if test "$ac_test_CXXFLAGS" = set; then
5021 CXXFLAGS=$ac_save_CXXFLAGS
5022 elif test $ac_cv_prog_cxx_g = yes; then
5023 if test "$GXX" = yes; then
5024 CXXFLAGS="-g -O2"
5025 else
5026 CXXFLAGS="-g"
5028 else
5029 if test "$GXX" = yes; then
5030 CXXFLAGS="-O2"
5031 else
5032 CXXFLAGS=
5035 ac_ext=c
5036 ac_cpp='$CPP $CPPFLAGS'
5037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5041 if test -n "$ac_tool_prefix"; then
5042 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5043 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045 $as_echo_n "checking for $ac_word... " >&6; }
5046 if ${ac_cv_prog_CPPBIN+:} false; then :
5047 $as_echo_n "(cached) " >&6
5048 else
5049 if test -n "$CPPBIN"; then
5050 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5051 else
5052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053 for as_dir in $PATH
5055 IFS=$as_save_IFS
5056 test -z "$as_dir" && as_dir=.
5057 for ac_exec_ext in '' $ac_executable_extensions; do
5058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5059 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 break 2
5063 done
5064 done
5065 IFS=$as_save_IFS
5069 CPPBIN=$ac_cv_prog_CPPBIN
5070 if test -n "$CPPBIN"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5072 $as_echo "$CPPBIN" >&6; }
5073 else
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5080 if test -z "$ac_cv_prog_CPPBIN"; then
5081 ac_ct_CPPBIN=$CPPBIN
5082 # Extract the first word of "cpp", so it can be a program name with args.
5083 set dummy cpp; ac_word=$2
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5085 $as_echo_n "checking for $ac_word... " >&6; }
5086 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5087 $as_echo_n "(cached) " >&6
5088 else
5089 if test -n "$ac_ct_CPPBIN"; then
5090 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5091 else
5092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5093 for as_dir in $PATH
5095 IFS=$as_save_IFS
5096 test -z "$as_dir" && as_dir=.
5097 for ac_exec_ext in '' $ac_executable_extensions; do
5098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5099 ac_cv_prog_ac_ct_CPPBIN="cpp"
5100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5101 break 2
5103 done
5104 done
5105 IFS=$as_save_IFS
5109 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5110 if test -n "$ac_ct_CPPBIN"; then
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5112 $as_echo "$ac_ct_CPPBIN" >&6; }
5113 else
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5115 $as_echo "no" >&6; }
5118 if test "x$ac_ct_CPPBIN" = x; then
5119 CPPBIN="cpp"
5120 else
5121 case $cross_compiling:$ac_tool_warned in
5122 yes:)
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5125 ac_tool_warned=yes ;;
5126 esac
5127 CPPBIN=$ac_ct_CPPBIN
5129 else
5130 CPPBIN="$ac_cv_prog_CPPBIN"
5134 cat >>confdefs.h <<_ACEOF
5135 #define EXEEXT "$ac_exeext"
5136 _ACEOF
5138 if test -n "$ac_tool_prefix"; then
5139 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5140 set dummy ${ac_tool_prefix}ld; ac_word=$2
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5142 $as_echo_n "checking for $ac_word... " >&6; }
5143 if ${ac_cv_prog_LD+:} false; then :
5144 $as_echo_n "(cached) " >&6
5145 else
5146 if test -n "$LD"; then
5147 ac_cv_prog_LD="$LD" # Let the user override the test.
5148 else
5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5150 for as_dir in $PATH
5152 IFS=$as_save_IFS
5153 test -z "$as_dir" && as_dir=.
5154 for ac_exec_ext in '' $ac_executable_extensions; do
5155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5156 ac_cv_prog_LD="${ac_tool_prefix}ld"
5157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 break 2
5160 done
5161 done
5162 IFS=$as_save_IFS
5166 LD=$ac_cv_prog_LD
5167 if test -n "$LD"; then
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5169 $as_echo "$LD" >&6; }
5170 else
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5172 $as_echo "no" >&6; }
5177 if test -z "$ac_cv_prog_LD"; then
5178 ac_ct_LD=$LD
5179 # Extract the first word of "ld", so it can be a program name with args.
5180 set dummy ld; ac_word=$2
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5182 $as_echo_n "checking for $ac_word... " >&6; }
5183 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5184 $as_echo_n "(cached) " >&6
5185 else
5186 if test -n "$ac_ct_LD"; then
5187 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5188 else
5189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5190 for as_dir in $PATH
5192 IFS=$as_save_IFS
5193 test -z "$as_dir" && as_dir=.
5194 for ac_exec_ext in '' $ac_executable_extensions; do
5195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5196 ac_cv_prog_ac_ct_LD="ld"
5197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 break 2
5200 done
5201 done
5202 IFS=$as_save_IFS
5206 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5207 if test -n "$ac_ct_LD"; then
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5209 $as_echo "$ac_ct_LD" >&6; }
5210 else
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5212 $as_echo "no" >&6; }
5215 if test "x$ac_ct_LD" = x; then
5216 LD=""
5217 else
5218 case $cross_compiling:$ac_tool_warned in
5219 yes:)
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5222 ac_tool_warned=yes ;;
5223 esac
5224 LD=$ac_ct_LD
5226 else
5227 LD="$ac_cv_prog_LD"
5231 case $host in
5232 *-darwin*)
5233 with_fontconfig=${with_fontconfig:-no}
5235 *-mingw32*|*-cygwin*)
5236 enable_win16=${enable_win16:-no}
5237 CFLAGS="$CFLAGS -D_WIN32"
5239 esac
5241 case $host in
5242 x86_64*|amd64*)
5243 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5244 then
5245 CC="$CC -m32"
5246 CXX="$CXX -m32"
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5248 $as_echo_n "checking whether $CC works... " >&6; }
5250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5251 /* end confdefs.h. */
5254 main ()
5258 return 0;
5260 _ACEOF
5261 if ac_fn_c_try_link "$LINENO"; then :
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5263 $as_echo "yes" >&6; }
5264 else
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5266 $as_echo "no" >&6; }
5267 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5269 rm -f core conftest.err conftest.$ac_objext \
5270 conftest$ac_exeext conftest.$ac_ext
5271 host_cpu="i386"
5272 notice_platform="32-bit "
5273 TARGETFLAGS="-m32"
5275 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5276 export PKG_CONFIG_PATH
5277 enable_win16=${enable_win16:-yes}
5278 else
5279 if test "x${GCC}" = "xyes"
5280 then
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5282 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5284 /* end confdefs.h. */
5285 #include <stdarg.h>
5287 main ()
5289 void func(__builtin_ms_va_list *args);
5291 return 0;
5293 _ACEOF
5294 if ac_fn_c_try_compile "$LINENO"; then :
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5296 $as_echo "yes" >&6; }
5297 else
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5299 $as_echo "no" >&6; }
5300 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5304 CC="$CC -m64"
5305 CXX="$CXX -m64"
5306 host_cpu="x86_64"
5307 notice_platform="64-bit "
5308 TARGETFLAGS="-m64"
5312 arm*)
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5314 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5316 /* end confdefs.h. */
5317 int ac_test(int i) { return i; }
5319 main ()
5321 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5323 return 0;
5325 _ACEOF
5326 if ac_fn_c_try_link "$LINENO"; then :
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5328 $as_echo "yes" >&6; }
5329 else
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5331 $as_echo "no" >&6; }
5332 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5334 rm -f core conftest.err conftest.$ac_objext \
5335 conftest$ac_exeext conftest.$ac_ext
5336 case $with_float_abi in
5337 soft|softfp|hard)
5338 float_abi=$with_float_abi ;;
5340 case $host_os in
5341 *eabihf)
5342 float_abi=hard ;;
5344 float_abi=softfp
5345 saved_CFLAGS=$CFLAGS
5346 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5348 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5350 /* end confdefs.h. */
5353 main ()
5355 asm("vmrs r2,fpscr");
5357 return 0;
5359 _ACEOF
5360 if ac_fn_c_try_link "$LINENO"; then :
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5362 $as_echo "yes" >&6; }
5363 else
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }
5366 float_abi=soft
5367 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5369 rm -f core conftest.err conftest.$ac_objext \
5370 conftest$ac_exeext conftest.$ac_ext
5371 CFLAGS=$saved_CFLAGS
5372 esac
5374 esac
5375 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5376 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5379 i[3456789]86*)
5380 enable_win16=${enable_win16:-yes}
5382 esac
5384 enable_win16=${enable_win16:-no}
5385 enable_win64=${enable_win64:-no}
5387 enable_winetest=${enable_winetest:-$enable_tests}
5389 if test -n "$with_wine64"
5390 then
5391 if test "x$enable_win64" = "xyes"
5392 then
5393 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5394 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5396 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5397 You should create a separate build directory and run configure from there." "$LINENO" 5
5398 enable_fonts=${enable_fonts:-no}
5399 enable_server=${enable_server:-no}
5400 wine64_disable=\#
5402 elif test "x$enable_win64" = "xyes"
5403 then
5404 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5408 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5409 if ${wine_cv_toolsdir+:} false; then :
5410 $as_echo_n "(cached) " >&6
5411 else
5412 wine_cv_toolsdir="$with_wine_tools"
5413 if test -z "$with_wine_tools"; then
5414 if test "$cross_compiling" = "yes"; then
5415 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5416 elif test -n "$with_wine64"; then
5417 wine_cv_toolsdir="$with_wine64"
5420 if test -z "$wine_cv_toolsdir"; then
5421 wine_makedep=tools/makedep
5422 wine_cv_toolsdir="\$(top_builddir)"
5423 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5424 wine_makedep=$wine_cv_toolsdir/tools/makedep
5425 case "$wine_cv_toolsdir" in
5426 /*) ;;
5427 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5428 esac
5429 enable_tools=${enable_tools:-no}
5430 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5431 else
5432 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5436 $as_echo "$wine_cv_toolsdir" >&6; }
5437 TOOLSDIR=$wine_cv_toolsdir
5439 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5440 then
5441 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5445 for ac_prog in flex
5447 # Extract the first word of "$ac_prog", so it can be a program name with args.
5448 set dummy $ac_prog; ac_word=$2
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5450 $as_echo_n "checking for $ac_word... " >&6; }
5451 if ${ac_cv_prog_FLEX+:} false; then :
5452 $as_echo_n "(cached) " >&6
5453 else
5454 if test -n "$FLEX"; then
5455 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5456 else
5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5458 for as_dir in $PATH
5460 IFS=$as_save_IFS
5461 test -z "$as_dir" && as_dir=.
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5464 ac_cv_prog_FLEX="$ac_prog"
5465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5466 break 2
5468 done
5469 done
5470 IFS=$as_save_IFS
5474 FLEX=$ac_cv_prog_FLEX
5475 if test -n "$FLEX"; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5477 $as_echo "$FLEX" >&6; }
5478 else
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5484 test -n "$FLEX" && break
5485 done
5486 test -n "$FLEX" || FLEX="none"
5488 if test "$FLEX" = "none"
5489 then
5490 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5493 $as_echo_n "checking whether flex is recent enough... " >&6; }
5494 cat >conftest.l <<EOF
5495 %top{
5496 #include "prediluvian.h"
5500 if $FLEX -t conftest.l >/dev/null 2>&5
5501 then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5503 $as_echo "yes" >&6; }
5504 else
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5507 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5510 for ac_prog in bison
5512 # Extract the first word of "$ac_prog", so it can be a program name with args.
5513 set dummy $ac_prog; ac_word=$2
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5515 $as_echo_n "checking for $ac_word... " >&6; }
5516 if ${ac_cv_prog_BISON+:} false; then :
5517 $as_echo_n "(cached) " >&6
5518 else
5519 if test -n "$BISON"; then
5520 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5521 else
5522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523 for as_dir in $PATH
5525 IFS=$as_save_IFS
5526 test -z "$as_dir" && as_dir=.
5527 for ac_exec_ext in '' $ac_executable_extensions; do
5528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5529 ac_cv_prog_BISON="$ac_prog"
5530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5531 break 2
5533 done
5534 done
5535 IFS=$as_save_IFS
5539 BISON=$ac_cv_prog_BISON
5540 if test -n "$BISON"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5542 $as_echo "$BISON" >&6; }
5543 else
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545 $as_echo "no" >&6; }
5549 test -n "$BISON" && break
5550 done
5551 test -n "$BISON" || BISON="none"
5553 if test "$BISON" = "none"
5554 then
5555 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5558 if test -n "$ac_tool_prefix"; then
5559 for ac_prog in ar gar
5561 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5562 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564 $as_echo_n "checking for $ac_word... " >&6; }
5565 if ${ac_cv_prog_AR+:} false; then :
5566 $as_echo_n "(cached) " >&6
5567 else
5568 if test -n "$AR"; then
5569 ac_cv_prog_AR="$AR" # Let the user override the test.
5570 else
5571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5572 for as_dir in $PATH
5574 IFS=$as_save_IFS
5575 test -z "$as_dir" && as_dir=.
5576 for ac_exec_ext in '' $ac_executable_extensions; do
5577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5578 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5580 break 2
5582 done
5583 done
5584 IFS=$as_save_IFS
5588 AR=$ac_cv_prog_AR
5589 if test -n "$AR"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5591 $as_echo "$AR" >&6; }
5592 else
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5598 test -n "$AR" && break
5599 done
5601 if test -z "$AR"; then
5602 ac_ct_AR=$AR
5603 for ac_prog in ar gar
5605 # Extract the first word of "$ac_prog", so it can be a program name with args.
5606 set dummy $ac_prog; ac_word=$2
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5608 $as_echo_n "checking for $ac_word... " >&6; }
5609 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5610 $as_echo_n "(cached) " >&6
5611 else
5612 if test -n "$ac_ct_AR"; then
5613 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5614 else
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 for as_dir in $PATH
5618 IFS=$as_save_IFS
5619 test -z "$as_dir" && as_dir=.
5620 for ac_exec_ext in '' $ac_executable_extensions; do
5621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5622 ac_cv_prog_ac_ct_AR="$ac_prog"
5623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5624 break 2
5626 done
5627 done
5628 IFS=$as_save_IFS
5632 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5633 if test -n "$ac_ct_AR"; then
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5635 $as_echo "$ac_ct_AR" >&6; }
5636 else
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5638 $as_echo "no" >&6; }
5642 test -n "$ac_ct_AR" && break
5643 done
5645 if test "x$ac_ct_AR" = x; then
5646 AR="ar"
5647 else
5648 case $cross_compiling:$ac_tool_warned in
5649 yes:)
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5652 ac_tool_warned=yes ;;
5653 esac
5654 AR=$ac_ct_AR
5658 if test -n "$ac_tool_prefix"; then
5659 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5660 set dummy ${ac_tool_prefix}strip; ac_word=$2
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5662 $as_echo_n "checking for $ac_word... " >&6; }
5663 if ${ac_cv_prog_STRIP+:} false; then :
5664 $as_echo_n "(cached) " >&6
5665 else
5666 if test -n "$STRIP"; then
5667 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5668 else
5669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5670 for as_dir in $PATH
5672 IFS=$as_save_IFS
5673 test -z "$as_dir" && as_dir=.
5674 for ac_exec_ext in '' $ac_executable_extensions; do
5675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5676 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5678 break 2
5680 done
5681 done
5682 IFS=$as_save_IFS
5686 STRIP=$ac_cv_prog_STRIP
5687 if test -n "$STRIP"; then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5689 $as_echo "$STRIP" >&6; }
5690 else
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5692 $as_echo "no" >&6; }
5697 if test -z "$ac_cv_prog_STRIP"; then
5698 ac_ct_STRIP=$STRIP
5699 # Extract the first word of "strip", so it can be a program name with args.
5700 set dummy strip; ac_word=$2
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5702 $as_echo_n "checking for $ac_word... " >&6; }
5703 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5704 $as_echo_n "(cached) " >&6
5705 else
5706 if test -n "$ac_ct_STRIP"; then
5707 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5708 else
5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 for as_dir in $PATH
5712 IFS=$as_save_IFS
5713 test -z "$as_dir" && as_dir=.
5714 for ac_exec_ext in '' $ac_executable_extensions; do
5715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5716 ac_cv_prog_ac_ct_STRIP="strip"
5717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5718 break 2
5720 done
5721 done
5722 IFS=$as_save_IFS
5726 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5727 if test -n "$ac_ct_STRIP"; then
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5729 $as_echo "$ac_ct_STRIP" >&6; }
5730 else
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5732 $as_echo "no" >&6; }
5735 if test "x$ac_ct_STRIP" = x; then
5736 STRIP="strip"
5737 else
5738 case $cross_compiling:$ac_tool_warned in
5739 yes:)
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5742 ac_tool_warned=yes ;;
5743 esac
5744 STRIP=$ac_ct_STRIP
5746 else
5747 STRIP="$ac_cv_prog_STRIP"
5750 ARFLAGS=rc
5752 if test -n "$ac_tool_prefix"; then
5753 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5754 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756 $as_echo_n "checking for $ac_word... " >&6; }
5757 if ${ac_cv_prog_RANLIB+:} false; then :
5758 $as_echo_n "(cached) " >&6
5759 else
5760 if test -n "$RANLIB"; then
5761 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5762 else
5763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764 for as_dir in $PATH
5766 IFS=$as_save_IFS
5767 test -z "$as_dir" && as_dir=.
5768 for ac_exec_ext in '' $ac_executable_extensions; do
5769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5770 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5772 break 2
5774 done
5775 done
5776 IFS=$as_save_IFS
5780 RANLIB=$ac_cv_prog_RANLIB
5781 if test -n "$RANLIB"; then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5783 $as_echo "$RANLIB" >&6; }
5784 else
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786 $as_echo "no" >&6; }
5791 if test -z "$ac_cv_prog_RANLIB"; then
5792 ac_ct_RANLIB=$RANLIB
5793 # Extract the first word of "ranlib", so it can be a program name with args.
5794 set dummy ranlib; ac_word=$2
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5796 $as_echo_n "checking for $ac_word... " >&6; }
5797 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5798 $as_echo_n "(cached) " >&6
5799 else
5800 if test -n "$ac_ct_RANLIB"; then
5801 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5802 else
5803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5804 for as_dir in $PATH
5806 IFS=$as_save_IFS
5807 test -z "$as_dir" && as_dir=.
5808 for ac_exec_ext in '' $ac_executable_extensions; do
5809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5810 ac_cv_prog_ac_ct_RANLIB="ranlib"
5811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5812 break 2
5814 done
5815 done
5816 IFS=$as_save_IFS
5820 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5821 if test -n "$ac_ct_RANLIB"; then
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5823 $as_echo "$ac_ct_RANLIB" >&6; }
5824 else
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5826 $as_echo "no" >&6; }
5829 if test "x$ac_ct_RANLIB" = x; then
5830 RANLIB=":"
5831 else
5832 case $cross_compiling:$ac_tool_warned in
5833 yes:)
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5836 ac_tool_warned=yes ;;
5837 esac
5838 RANLIB=$ac_ct_RANLIB
5840 else
5841 RANLIB="$ac_cv_prog_RANLIB"
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5845 $as_echo_n "checking whether ln -s works... " >&6; }
5846 LN_S=$as_ln_s
5847 if test "$LN_S" = "ln -s"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5849 $as_echo "yes" >&6; }
5850 else
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5852 $as_echo "no, using $LN_S" >&6; }
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5856 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5857 if ${ac_cv_path_GREP+:} false; then :
5858 $as_echo_n "(cached) " >&6
5859 else
5860 if test -z "$GREP"; then
5861 ac_path_GREP_found=false
5862 # Loop through the user's path and test for each of PROGNAME-LIST
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5866 IFS=$as_save_IFS
5867 test -z "$as_dir" && as_dir=.
5868 for ac_prog in grep ggrep; do
5869 for ac_exec_ext in '' $ac_executable_extensions; do
5870 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5871 as_fn_executable_p "$ac_path_GREP" || continue
5872 # Check for GNU ac_path_GREP and select it if it is found.
5873 # Check for GNU $ac_path_GREP
5874 case `"$ac_path_GREP" --version 2>&1` in
5875 *GNU*)
5876 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5878 ac_count=0
5879 $as_echo_n 0123456789 >"conftest.in"
5880 while :
5882 cat "conftest.in" "conftest.in" >"conftest.tmp"
5883 mv "conftest.tmp" "conftest.in"
5884 cp "conftest.in" "conftest.nl"
5885 $as_echo 'GREP' >> "conftest.nl"
5886 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5887 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5888 as_fn_arith $ac_count + 1 && ac_count=$as_val
5889 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5890 # Best one so far, save it but keep looking for a better one
5891 ac_cv_path_GREP="$ac_path_GREP"
5892 ac_path_GREP_max=$ac_count
5894 # 10*(2^10) chars as input seems more than enough
5895 test $ac_count -gt 10 && break
5896 done
5897 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5898 esac
5900 $ac_path_GREP_found && break 3
5901 done
5902 done
5903 done
5904 IFS=$as_save_IFS
5905 if test -z "$ac_cv_path_GREP"; then
5906 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5908 else
5909 ac_cv_path_GREP=$GREP
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5914 $as_echo "$ac_cv_path_GREP" >&6; }
5915 GREP="$ac_cv_path_GREP"
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5919 $as_echo_n "checking for egrep... " >&6; }
5920 if ${ac_cv_path_EGREP+:} false; then :
5921 $as_echo_n "(cached) " >&6
5922 else
5923 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5924 then ac_cv_path_EGREP="$GREP -E"
5925 else
5926 if test -z "$EGREP"; then
5927 ac_path_EGREP_found=false
5928 # Loop through the user's path and test for each of PROGNAME-LIST
5929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5932 IFS=$as_save_IFS
5933 test -z "$as_dir" && as_dir=.
5934 for ac_prog in egrep; do
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5937 as_fn_executable_p "$ac_path_EGREP" || continue
5938 # Check for GNU ac_path_EGREP and select it if it is found.
5939 # Check for GNU $ac_path_EGREP
5940 case `"$ac_path_EGREP" --version 2>&1` in
5941 *GNU*)
5942 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5944 ac_count=0
5945 $as_echo_n 0123456789 >"conftest.in"
5946 while :
5948 cat "conftest.in" "conftest.in" >"conftest.tmp"
5949 mv "conftest.tmp" "conftest.in"
5950 cp "conftest.in" "conftest.nl"
5951 $as_echo 'EGREP' >> "conftest.nl"
5952 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5953 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5954 as_fn_arith $ac_count + 1 && ac_count=$as_val
5955 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5956 # Best one so far, save it but keep looking for a better one
5957 ac_cv_path_EGREP="$ac_path_EGREP"
5958 ac_path_EGREP_max=$ac_count
5960 # 10*(2^10) chars as input seems more than enough
5961 test $ac_count -gt 10 && break
5962 done
5963 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5964 esac
5966 $ac_path_EGREP_found && break 3
5967 done
5968 done
5969 done
5970 IFS=$as_save_IFS
5971 if test -z "$ac_cv_path_EGREP"; then
5972 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5974 else
5975 ac_cv_path_EGREP=$EGREP
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5981 $as_echo "$ac_cv_path_EGREP" >&6; }
5982 EGREP="$ac_cv_path_EGREP"
5985 # Extract the first word of "ldconfig", so it can be a program name with args.
5986 set dummy ldconfig; ac_word=$2
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5988 $as_echo_n "checking for $ac_word... " >&6; }
5989 if ${ac_cv_path_LDCONFIG+:} false; then :
5990 $as_echo_n "(cached) " >&6
5991 else
5992 case $LDCONFIG in
5993 [\\/]* | ?:[\\/]*)
5994 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5998 for as_dir in /sbin /usr/sbin $PATH
6000 IFS=$as_save_IFS
6001 test -z "$as_dir" && as_dir=.
6002 for ac_exec_ext in '' $ac_executable_extensions; do
6003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6004 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6006 break 2
6008 done
6009 done
6010 IFS=$as_save_IFS
6012 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6014 esac
6016 LDCONFIG=$ac_cv_path_LDCONFIG
6017 if test -n "$LDCONFIG"; then
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6019 $as_echo "$LDCONFIG" >&6; }
6020 else
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6022 $as_echo "no" >&6; }
6026 for ac_prog in msgfmt
6028 # Extract the first word of "$ac_prog", so it can be a program name with args.
6029 set dummy $ac_prog; ac_word=$2
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6031 $as_echo_n "checking for $ac_word... " >&6; }
6032 if ${ac_cv_prog_MSGFMT+:} false; then :
6033 $as_echo_n "(cached) " >&6
6034 else
6035 if test -n "$MSGFMT"; then
6036 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6037 else
6038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6039 for as_dir in $PATH
6041 IFS=$as_save_IFS
6042 test -z "$as_dir" && as_dir=.
6043 for ac_exec_ext in '' $ac_executable_extensions; do
6044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6045 ac_cv_prog_MSGFMT="$ac_prog"
6046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6047 break 2
6049 done
6050 done
6051 IFS=$as_save_IFS
6055 MSGFMT=$ac_cv_prog_MSGFMT
6056 if test -n "$MSGFMT"; then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6058 $as_echo "$MSGFMT" >&6; }
6059 else
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6061 $as_echo "no" >&6; }
6065 test -n "$MSGFMT" && break
6066 done
6067 test -n "$MSGFMT" || MSGFMT="false"
6069 if ${ac_tool_prefix+:} false; then :
6070 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6071 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6073 $as_echo_n "checking for $ac_word... " >&6; }
6074 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6075 $as_echo_n "(cached) " >&6
6076 else
6077 if test -n "$PKG_CONFIG"; then
6078 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6079 else
6080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6081 for as_dir in $PATH
6083 IFS=$as_save_IFS
6084 test -z "$as_dir" && as_dir=.
6085 for ac_exec_ext in '' $ac_executable_extensions; do
6086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6087 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6089 break 2
6091 done
6092 done
6093 IFS=$as_save_IFS
6097 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6098 if test -n "$PKG_CONFIG"; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6100 $as_echo "$PKG_CONFIG" >&6; }
6101 else
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6103 $as_echo "no" >&6; }
6108 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6109 if test "x$cross_compiling" = xyes; then :
6111 else
6112 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6113 # Extract the first word of "pkg-config", so it can be a program name with args.
6114 set dummy pkg-config; ac_word=$2
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6116 $as_echo_n "checking for $ac_word... " >&6; }
6117 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6118 $as_echo_n "(cached) " >&6
6119 else
6120 if test -n "$PKG_CONFIG"; then
6121 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6122 else
6123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6124 for as_dir in $PATH
6126 IFS=$as_save_IFS
6127 test -z "$as_dir" && as_dir=.
6128 for ac_exec_ext in '' $ac_executable_extensions; do
6129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6130 ac_cv_prog_PKG_CONFIG="pkg-config"
6131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6132 break 2
6134 done
6135 done
6136 IFS=$as_save_IFS
6140 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6141 if test -n "$PKG_CONFIG"; then
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6143 $as_echo "$PKG_CONFIG" >&6; }
6144 else
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6146 $as_echo "no" >&6; }
6151 else
6152 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6155 if test "x$enable_maintainer_mode" != "xyes"
6156 then
6157 FONTFORGE=""
6158 RSVG=""
6159 CONVERT=""
6160 ICOTOOL=""
6161 else
6162 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6163 for ac_prog in fontforge
6165 # Extract the first word of "$ac_prog", so it can be a program name with args.
6166 set dummy $ac_prog; ac_word=$2
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 $as_echo_n "checking for $ac_word... " >&6; }
6169 if ${ac_cv_prog_FONTFORGE+:} false; then :
6170 $as_echo_n "(cached) " >&6
6171 else
6172 if test -n "$FONTFORGE"; then
6173 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6174 else
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 for as_dir in $PATH
6178 IFS=$as_save_IFS
6179 test -z "$as_dir" && as_dir=.
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6182 ac_cv_prog_FONTFORGE="$ac_prog"
6183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184 break 2
6186 done
6187 done
6188 IFS=$as_save_IFS
6192 FONTFORGE=$ac_cv_prog_FONTFORGE
6193 if test -n "$FONTFORGE"; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6195 $as_echo "$FONTFORGE" >&6; }
6196 else
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6202 test -n "$FONTFORGE" && break
6203 done
6204 test -n "$FONTFORGE" || FONTFORGE="false"
6206 for ac_prog in rsvg-convert rsvg
6208 # Extract the first word of "$ac_prog", so it can be a program name with args.
6209 set dummy $ac_prog; ac_word=$2
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6211 $as_echo_n "checking for $ac_word... " >&6; }
6212 if ${ac_cv_prog_RSVG+:} false; then :
6213 $as_echo_n "(cached) " >&6
6214 else
6215 if test -n "$RSVG"; then
6216 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6217 else
6218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6219 for as_dir in $PATH
6221 IFS=$as_save_IFS
6222 test -z "$as_dir" && as_dir=.
6223 for ac_exec_ext in '' $ac_executable_extensions; do
6224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6225 ac_cv_prog_RSVG="$ac_prog"
6226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6227 break 2
6229 done
6230 done
6231 IFS=$as_save_IFS
6235 RSVG=$ac_cv_prog_RSVG
6236 if test -n "$RSVG"; then
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6238 $as_echo "$RSVG" >&6; }
6239 else
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6241 $as_echo "no" >&6; }
6245 test -n "$RSVG" && break
6246 done
6247 test -n "$RSVG" || RSVG="false"
6249 for ac_prog in convert
6251 # Extract the first word of "$ac_prog", so it can be a program name with args.
6252 set dummy $ac_prog; ac_word=$2
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6254 $as_echo_n "checking for $ac_word... " >&6; }
6255 if ${ac_cv_prog_CONVERT+:} false; then :
6256 $as_echo_n "(cached) " >&6
6257 else
6258 if test -n "$CONVERT"; then
6259 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6260 else
6261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6262 for as_dir in $PATH
6264 IFS=$as_save_IFS
6265 test -z "$as_dir" && as_dir=.
6266 for ac_exec_ext in '' $ac_executable_extensions; do
6267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6268 ac_cv_prog_CONVERT="$ac_prog"
6269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6270 break 2
6272 done
6273 done
6274 IFS=$as_save_IFS
6278 CONVERT=$ac_cv_prog_CONVERT
6279 if test -n "$CONVERT"; then
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6281 $as_echo "$CONVERT" >&6; }
6282 else
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6284 $as_echo "no" >&6; }
6288 test -n "$CONVERT" && break
6289 done
6290 test -n "$CONVERT" || CONVERT="false"
6292 for ac_prog in icotool
6294 # Extract the first word of "$ac_prog", so it can be a program name with args.
6295 set dummy $ac_prog; ac_word=$2
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6297 $as_echo_n "checking for $ac_word... " >&6; }
6298 if ${ac_cv_prog_ICOTOOL+:} false; then :
6299 $as_echo_n "(cached) " >&6
6300 else
6301 if test -n "$ICOTOOL"; then
6302 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6303 else
6304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6305 for as_dir in $PATH
6307 IFS=$as_save_IFS
6308 test -z "$as_dir" && as_dir=.
6309 for ac_exec_ext in '' $ac_executable_extensions; do
6310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6311 ac_cv_prog_ICOTOOL="$ac_prog"
6312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6313 break 2
6315 done
6316 done
6317 IFS=$as_save_IFS
6321 ICOTOOL=$ac_cv_prog_ICOTOOL
6322 if test -n "$ICOTOOL"; then
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6324 $as_echo "$ICOTOOL" >&6; }
6325 else
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6327 $as_echo "no" >&6; }
6331 test -n "$ICOTOOL" && break
6332 done
6333 test -n "$ICOTOOL" || ICOTOOL="false"
6335 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6336 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6338 if test "$CONVERT" = false
6339 then
6340 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6341 else
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6343 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6344 convert_version=`convert --version | head -n1`
6345 if test "x$convert_version" != "x"
6346 then
6347 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6348 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6349 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6350 then
6351 CONVERT=false
6354 if test "$CONVERT" = false
6355 then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6357 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6358 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6359 else
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6361 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6365 if test "$ICOTOOL" = false
6366 then
6367 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6368 else
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6370 $as_echo_n "checking for recent enough icotool... " >&6; }
6371 icotool_version=`icotool --version | head -n1`
6372 if test "x$icotool_version" != "x"
6373 then
6374 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6375 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6376 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6377 then
6378 ICOTOOL=false
6379 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6382 if test "$ICOTOOL" = false
6383 then
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6385 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6386 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6387 else
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6389 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6393 with_gettext=yes
6394 with_gettextpo=yes
6395 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6398 test "x$with_gettext" != xno || MSGFMT=false
6399 if test "$MSGFMT" != "false"
6400 then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6402 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6403 cat >conftest.po <<EOF
6404 # comment
6405 msgctxt "ctxt"
6406 msgid "id"
6407 msgstr "str"
6409 if $MSGFMT -o /dev/null conftest.po 2>&5
6410 then
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6412 $as_echo "yes" >&6; }
6413 else
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6415 $as_echo "no" >&6; }
6416 MSGFMT=false
6419 if test "$MSGFMT" = false; then :
6420 case "x$with_gettext" in
6421 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6422 xno) ;;
6423 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6424 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6425 esac
6426 enable_po=${enable_po:-no}
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6431 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6432 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6433 $as_echo_n "(cached) " >&6
6434 else
6435 ac_check_lib_save_LIBS=$LIBS
6436 LIBS="-li386 $LIBS"
6437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6438 /* end confdefs.h. */
6440 /* Override any GCC internal prototype to avoid an error.
6441 Use char because int might match the return type of a GCC
6442 builtin and then its argument prototype would still apply. */
6443 #ifdef __cplusplus
6444 extern "C"
6445 #endif
6446 char i386_set_ldt ();
6448 main ()
6450 return i386_set_ldt ();
6452 return 0;
6454 _ACEOF
6455 if ac_fn_c_try_link "$LINENO"; then :
6456 ac_cv_lib_i386_i386_set_ldt=yes
6457 else
6458 ac_cv_lib_i386_i386_set_ldt=no
6460 rm -f core conftest.err conftest.$ac_objext \
6461 conftest$ac_exeext conftest.$ac_ext
6462 LIBS=$ac_check_lib_save_LIBS
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6465 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6466 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6467 cat >>confdefs.h <<_ACEOF
6468 #define HAVE_LIBI386 1
6469 _ACEOF
6471 LIBS="-li386 $LIBS"
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6476 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6477 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6478 $as_echo_n "(cached) " >&6
6479 else
6480 ac_check_lib_save_LIBS=$LIBS
6481 LIBS="-lossaudio $LIBS"
6482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6483 /* end confdefs.h. */
6485 /* Override any GCC internal prototype to avoid an error.
6486 Use char because int might match the return type of a GCC
6487 builtin and then its argument prototype would still apply. */
6488 #ifdef __cplusplus
6489 extern "C"
6490 #endif
6491 char _oss_ioctl ();
6493 main ()
6495 return _oss_ioctl ();
6497 return 0;
6499 _ACEOF
6500 if ac_fn_c_try_link "$LINENO"; then :
6501 ac_cv_lib_ossaudio__oss_ioctl=yes
6502 else
6503 ac_cv_lib_ossaudio__oss_ioctl=no
6505 rm -f core conftest.err conftest.$ac_objext \
6506 conftest$ac_exeext conftest.$ac_ext
6507 LIBS=$ac_check_lib_save_LIBS
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6510 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6511 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6512 cat >>confdefs.h <<_ACEOF
6513 #define HAVE_LIBOSSAUDIO 1
6514 _ACEOF
6516 LIBS="-lossaudio $LIBS"
6521 OPENGL_LIBS=""
6525 # Check whether --enable-largefile was given.
6526 if test "${enable_largefile+set}" = set; then :
6527 enableval=$enable_largefile;
6530 if test "$enable_largefile" != no; then
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6533 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6534 if ${ac_cv_sys_largefile_CC+:} false; then :
6535 $as_echo_n "(cached) " >&6
6536 else
6537 ac_cv_sys_largefile_CC=no
6538 if test "$GCC" != yes; then
6539 ac_save_CC=$CC
6540 while :; do
6541 # IRIX 6.2 and later do not support large files by default,
6542 # so use the C compiler's -n32 option if that helps.
6543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6544 /* end confdefs.h. */
6545 #include <sys/types.h>
6546 /* Check that off_t can represent 2**63 - 1 correctly.
6547 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6548 since some C++ compilers masquerading as C compilers
6549 incorrectly reject 9223372036854775807. */
6550 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6551 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6552 && LARGE_OFF_T % 2147483647 == 1)
6553 ? 1 : -1];
6555 main ()
6559 return 0;
6561 _ACEOF
6562 if ac_fn_c_try_compile "$LINENO"; then :
6563 break
6565 rm -f core conftest.err conftest.$ac_objext
6566 CC="$CC -n32"
6567 if ac_fn_c_try_compile "$LINENO"; then :
6568 ac_cv_sys_largefile_CC=' -n32'; break
6570 rm -f core conftest.err conftest.$ac_objext
6571 break
6572 done
6573 CC=$ac_save_CC
6574 rm -f conftest.$ac_ext
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6578 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6579 if test "$ac_cv_sys_largefile_CC" != no; then
6580 CC=$CC$ac_cv_sys_largefile_CC
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6584 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6585 if ${ac_cv_sys_file_offset_bits+:} false; then :
6586 $as_echo_n "(cached) " >&6
6587 else
6588 while :; do
6589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6590 /* end confdefs.h. */
6591 #include <sys/types.h>
6592 /* Check that off_t can represent 2**63 - 1 correctly.
6593 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6594 since some C++ compilers masquerading as C compilers
6595 incorrectly reject 9223372036854775807. */
6596 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6597 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6598 && LARGE_OFF_T % 2147483647 == 1)
6599 ? 1 : -1];
6601 main ()
6605 return 0;
6607 _ACEOF
6608 if ac_fn_c_try_compile "$LINENO"; then :
6609 ac_cv_sys_file_offset_bits=no; break
6611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6613 /* end confdefs.h. */
6614 #define _FILE_OFFSET_BITS 64
6615 #include <sys/types.h>
6616 /* Check that off_t can represent 2**63 - 1 correctly.
6617 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6618 since some C++ compilers masquerading as C compilers
6619 incorrectly reject 9223372036854775807. */
6620 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6621 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6622 && LARGE_OFF_T % 2147483647 == 1)
6623 ? 1 : -1];
6625 main ()
6629 return 0;
6631 _ACEOF
6632 if ac_fn_c_try_compile "$LINENO"; then :
6633 ac_cv_sys_file_offset_bits=64; break
6635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6636 ac_cv_sys_file_offset_bits=unknown
6637 break
6638 done
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6641 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6642 case $ac_cv_sys_file_offset_bits in #(
6643 no | unknown) ;;
6645 cat >>confdefs.h <<_ACEOF
6646 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6647 _ACEOF
6649 esac
6650 rm -rf conftest*
6651 if test $ac_cv_sys_file_offset_bits = unknown; then
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6653 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6654 if ${ac_cv_sys_large_files+:} false; then :
6655 $as_echo_n "(cached) " >&6
6656 else
6657 while :; do
6658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6659 /* end confdefs.h. */
6660 #include <sys/types.h>
6661 /* Check that off_t can represent 2**63 - 1 correctly.
6662 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6663 since some C++ compilers masquerading as C compilers
6664 incorrectly reject 9223372036854775807. */
6665 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6666 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6667 && LARGE_OFF_T % 2147483647 == 1)
6668 ? 1 : -1];
6670 main ()
6674 return 0;
6676 _ACEOF
6677 if ac_fn_c_try_compile "$LINENO"; then :
6678 ac_cv_sys_large_files=no; break
6680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6682 /* end confdefs.h. */
6683 #define _LARGE_FILES 1
6684 #include <sys/types.h>
6685 /* Check that off_t can represent 2**63 - 1 correctly.
6686 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6687 since some C++ compilers masquerading as C compilers
6688 incorrectly reject 9223372036854775807. */
6689 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6690 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6691 && LARGE_OFF_T % 2147483647 == 1)
6692 ? 1 : -1];
6694 main ()
6698 return 0;
6700 _ACEOF
6701 if ac_fn_c_try_compile "$LINENO"; then :
6702 ac_cv_sys_large_files=1; break
6704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6705 ac_cv_sys_large_files=unknown
6706 break
6707 done
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6710 $as_echo "$ac_cv_sys_large_files" >&6; }
6711 case $ac_cv_sys_large_files in #(
6712 no | unknown) ;;
6714 cat >>confdefs.h <<_ACEOF
6715 #define _LARGE_FILES $ac_cv_sys_large_files
6716 _ACEOF
6718 esac
6719 rm -rf conftest*
6726 ac_ext=c
6727 ac_cpp='$CPP $CPPFLAGS'
6728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6732 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6733 # On Suns, sometimes $CPP names a directory.
6734 if test -n "$CPP" && test -d "$CPP"; then
6735 CPP=
6737 if test -z "$CPP"; then
6738 if ${ac_cv_prog_CPP+:} false; then :
6739 $as_echo_n "(cached) " >&6
6740 else
6741 # Double quotes because CPP needs to be expanded
6742 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6744 ac_preproc_ok=false
6745 for ac_c_preproc_warn_flag in '' yes
6747 # Use a header file that comes with gcc, so configuring glibc
6748 # with a fresh cross-compiler works.
6749 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6750 # <limits.h> exists even on freestanding compilers.
6751 # On the NeXT, cc -E runs the code through the compiler's parser,
6752 # not just through cpp. "Syntax error" is here to catch this case.
6753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6754 /* end confdefs.h. */
6755 #ifdef __STDC__
6756 # include <limits.h>
6757 #else
6758 # include <assert.h>
6759 #endif
6760 Syntax error
6761 _ACEOF
6762 if ac_fn_c_try_cpp "$LINENO"; then :
6764 else
6765 # Broken: fails on valid input.
6766 continue
6768 rm -f conftest.err conftest.i conftest.$ac_ext
6770 # OK, works on sane cases. Now check whether nonexistent headers
6771 # can be detected and how.
6772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6773 /* end confdefs.h. */
6774 #include <ac_nonexistent.h>
6775 _ACEOF
6776 if ac_fn_c_try_cpp "$LINENO"; then :
6777 # Broken: success on invalid input.
6778 continue
6779 else
6780 # Passes both tests.
6781 ac_preproc_ok=:
6782 break
6784 rm -f conftest.err conftest.i conftest.$ac_ext
6786 done
6787 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6788 rm -f conftest.i conftest.err conftest.$ac_ext
6789 if $ac_preproc_ok; then :
6790 break
6793 done
6794 ac_cv_prog_CPP=$CPP
6797 CPP=$ac_cv_prog_CPP
6798 else
6799 ac_cv_prog_CPP=$CPP
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6802 $as_echo "$CPP" >&6; }
6803 ac_preproc_ok=false
6804 for ac_c_preproc_warn_flag in '' yes
6806 # Use a header file that comes with gcc, so configuring glibc
6807 # with a fresh cross-compiler works.
6808 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6809 # <limits.h> exists even on freestanding compilers.
6810 # On the NeXT, cc -E runs the code through the compiler's parser,
6811 # not just through cpp. "Syntax error" is here to catch this case.
6812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6813 /* end confdefs.h. */
6814 #ifdef __STDC__
6815 # include <limits.h>
6816 #else
6817 # include <assert.h>
6818 #endif
6819 Syntax error
6820 _ACEOF
6821 if ac_fn_c_try_cpp "$LINENO"; then :
6823 else
6824 # Broken: fails on valid input.
6825 continue
6827 rm -f conftest.err conftest.i conftest.$ac_ext
6829 # OK, works on sane cases. Now check whether nonexistent headers
6830 # can be detected and how.
6831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6832 /* end confdefs.h. */
6833 #include <ac_nonexistent.h>
6834 _ACEOF
6835 if ac_fn_c_try_cpp "$LINENO"; then :
6836 # Broken: success on invalid input.
6837 continue
6838 else
6839 # Passes both tests.
6840 ac_preproc_ok=:
6841 break
6843 rm -f conftest.err conftest.i conftest.$ac_ext
6845 done
6846 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6847 rm -f conftest.i conftest.err conftest.$ac_ext
6848 if $ac_preproc_ok; then :
6850 else
6851 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6853 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6854 See \`config.log' for more details" "$LINENO" 5; }
6857 ac_ext=c
6858 ac_cpp='$CPP $CPPFLAGS'
6859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6865 $as_echo_n "checking for ANSI C header files... " >&6; }
6866 if ${ac_cv_header_stdc+:} false; then :
6867 $as_echo_n "(cached) " >&6
6868 else
6869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6870 /* end confdefs.h. */
6871 #include <stdlib.h>
6872 #include <stdarg.h>
6873 #include <string.h>
6874 #include <float.h>
6877 main ()
6881 return 0;
6883 _ACEOF
6884 if ac_fn_c_try_compile "$LINENO"; then :
6885 ac_cv_header_stdc=yes
6886 else
6887 ac_cv_header_stdc=no
6889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6891 if test $ac_cv_header_stdc = yes; then
6892 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6894 /* end confdefs.h. */
6895 #include <string.h>
6897 _ACEOF
6898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6899 $EGREP "memchr" >/dev/null 2>&1; then :
6901 else
6902 ac_cv_header_stdc=no
6904 rm -f conftest*
6908 if test $ac_cv_header_stdc = yes; then
6909 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6911 /* end confdefs.h. */
6912 #include <stdlib.h>
6914 _ACEOF
6915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6916 $EGREP "free" >/dev/null 2>&1; then :
6918 else
6919 ac_cv_header_stdc=no
6921 rm -f conftest*
6925 if test $ac_cv_header_stdc = yes; then
6926 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6927 if test "$cross_compiling" = yes; then :
6929 else
6930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6931 /* end confdefs.h. */
6932 #include <ctype.h>
6933 #include <stdlib.h>
6934 #if ((' ' & 0x0FF) == 0x020)
6935 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6936 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6937 #else
6938 # define ISLOWER(c) \
6939 (('a' <= (c) && (c) <= 'i') \
6940 || ('j' <= (c) && (c) <= 'r') \
6941 || ('s' <= (c) && (c) <= 'z'))
6942 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6943 #endif
6945 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6947 main ()
6949 int i;
6950 for (i = 0; i < 256; i++)
6951 if (XOR (islower (i), ISLOWER (i))
6952 || toupper (i) != TOUPPER (i))
6953 return 2;
6954 return 0;
6956 _ACEOF
6957 if ac_fn_c_try_run "$LINENO"; then :
6959 else
6960 ac_cv_header_stdc=no
6962 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6963 conftest.$ac_objext conftest.beam conftest.$ac_ext
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6969 $as_echo "$ac_cv_header_stdc" >&6; }
6970 if test $ac_cv_header_stdc = yes; then
6972 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6976 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6977 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6978 inttypes.h stdint.h unistd.h
6979 do :
6980 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6981 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6983 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6984 cat >>confdefs.h <<_ACEOF
6985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6986 _ACEOF
6990 done
6993 for ac_header in \
6994 AL/al.h \
6995 ApplicationServices/ApplicationServices.h \
6996 AudioToolbox/AudioConverter.h \
6997 AudioUnit/AudioUnit.h \
6998 AudioUnit/AudioComponent.h \
6999 CL/cl.h \
7000 Carbon/Carbon.h \
7001 CommonCrypto/CommonCryptor.h \
7002 CoreAudio/CoreAudio.h \
7003 CoreServices/CoreServices.h \
7004 DiskArbitration/DiskArbitration.h \
7005 EGL/egl.h \
7006 IOKit/IOKitLib.h \
7007 IOKit/hid/IOHIDLib.h \
7008 OpenAL/al.h \
7009 OpenCL/opencl.h \
7010 QuickTime/ImageCompression.h \
7011 Security/Security.h \
7012 alias.h \
7013 alsa/asoundlib.h \
7014 arpa/inet.h \
7015 arpa/nameser.h \
7016 asm/types.h \
7017 asm/user.h \
7018 curses.h \
7019 direct.h \
7020 dirent.h \
7021 dlfcn.h \
7022 elf.h \
7023 float.h \
7024 fnmatch.h \
7025 getopt.h \
7026 gettext-po.h \
7027 grp.h \
7028 gsm.h \
7029 gsm/gsm.h \
7030 ieeefp.h \
7031 inet/mib2.h \
7032 io.h \
7033 kstat.h \
7034 libproc.h \
7035 link.h \
7036 linux/cdrom.h \
7037 linux/compiler.h \
7038 linux/filter.h \
7039 linux/hdreg.h \
7040 linux/hidraw.h \
7041 linux/input.h \
7042 linux/ioctl.h \
7043 linux/joystick.h \
7044 linux/major.h \
7045 linux/param.h \
7046 linux/serial.h \
7047 linux/types.h \
7048 linux/ucdrom.h \
7049 lwp.h \
7050 mach-o/nlist.h \
7051 mach-o/loader.h \
7052 mach/mach.h \
7053 mach/machine.h \
7054 machine/cpu.h \
7055 machine/limits.h \
7056 machine/sysarch.h \
7057 mntent.h \
7058 ncurses.h \
7059 netdb.h \
7060 netinet/in.h \
7061 netinet/in_systm.h \
7062 netinet/tcp.h \
7063 netinet/tcp_fsm.h \
7064 pcap/pcap.h \
7065 poll.h \
7066 port.h \
7067 process.h \
7068 pthread.h \
7069 pwd.h \
7070 sched.h \
7071 scsi/scsi.h \
7072 scsi/scsi_ioctl.h \
7073 scsi/sg.h \
7074 stdbool.h \
7075 stdint.h \
7076 stropts.h \
7077 sys/asoundlib.h \
7078 sys/attr.h \
7079 sys/auxv.h \
7080 sys/cdio.h \
7081 sys/elf32.h \
7082 sys/epoll.h \
7083 sys/event.h \
7084 sys/exec_elf.h \
7085 sys/filio.h \
7086 sys/inotify.h \
7087 sys/ioctl.h \
7088 sys/ipc.h \
7089 sys/limits.h \
7090 sys/link.h \
7091 sys/mman.h \
7092 sys/modem.h \
7093 sys/msg.h \
7094 sys/mtio.h \
7095 sys/param.h \
7096 sys/poll.h \
7097 sys/prctl.h \
7098 sys/protosw.h \
7099 sys/ptrace.h \
7100 sys/queue.h \
7101 sys/resource.h \
7102 sys/scsiio.h \
7103 sys/shm.h \
7104 sys/signal.h \
7105 sys/socket.h \
7106 sys/socketvar.h \
7107 sys/sockio.h \
7108 sys/statvfs.h \
7109 sys/strtio.h \
7110 sys/syscall.h \
7111 sys/sysinfo.h \
7112 sys/tihdr.h \
7113 sys/time.h \
7114 sys/timeout.h \
7115 sys/times.h \
7116 sys/uio.h \
7117 sys/user.h \
7118 sys/utsname.h \
7119 sys/vnode.h \
7120 sys/wait.h \
7121 syscall.h \
7122 termios.h \
7123 unistd.h \
7124 utime.h \
7125 valgrind/memcheck.h \
7126 valgrind/valgrind.h \
7127 zlib.h
7129 do :
7130 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7131 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7132 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7133 cat >>confdefs.h <<_ACEOF
7134 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7135 _ACEOF
7139 done
7141 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7142 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7144 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7149 if test $ac_cv_header_sys_mkdev_h = no; then
7150 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7151 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7153 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7160 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7161 if ${ac_cv_header_stat_broken+:} false; then :
7162 $as_echo_n "(cached) " >&6
7163 else
7164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7165 /* end confdefs.h. */
7166 #include <sys/types.h>
7167 #include <sys/stat.h>
7169 #if defined S_ISBLK && defined S_IFDIR
7170 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7171 #endif
7173 #if defined S_ISBLK && defined S_IFCHR
7174 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7175 #endif
7177 #if defined S_ISLNK && defined S_IFREG
7178 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7179 #endif
7181 #if defined S_ISSOCK && defined S_IFREG
7182 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7183 #endif
7185 _ACEOF
7186 if ac_fn_c_try_compile "$LINENO"; then :
7187 ac_cv_header_stat_broken=no
7188 else
7189 ac_cv_header_stat_broken=yes
7191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7194 $as_echo "$ac_cv_header_stat_broken" >&6; }
7195 if test $ac_cv_header_stat_broken = yes; then
7197 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7203 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7204 do :
7205 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7206 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7207 #ifdef HAVE_SYS_PARAM_H
7208 # include <sys/param.h>
7209 #endif
7211 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7212 cat >>confdefs.h <<_ACEOF
7213 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7214 _ACEOF
7218 done
7221 for ac_header in \
7222 netinet/ip.h \
7223 net/if.h \
7224 net/if_arp.h \
7225 net/if_dl.h \
7226 net/if_types.h \
7227 net/route.h \
7228 netinet/if_ether.h \
7229 netinet/if_inarp.h \
7230 netinet/in_pcb.h \
7231 netinet/ip_icmp.h \
7232 netinet/ip_var.h \
7233 netinet/udp.h \
7234 netipx/ipx.h \
7235 sys/un.h \
7237 do :
7238 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7239 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7240 #ifdef HAVE_SYS_SOCKET_H
7241 # include <sys/socket.h>
7242 #endif
7243 #ifdef HAVE_SYS_SOCKETVAR_H
7244 # include <sys/socketvar.h>
7245 #endif
7246 #ifdef HAVE_NET_ROUTE_H
7247 # include <net/route.h>
7248 #endif
7249 #ifdef HAVE_NETINET_IN_H
7250 # include <netinet/in.h>
7251 #endif
7252 #ifdef HAVE_NETINET_IN_SYSTM_H
7253 # include <netinet/in_systm.h>
7254 #endif
7255 #ifdef HAVE_NET_IF_H
7256 # include <net/if.h>
7257 #endif
7258 #ifdef HAVE_NETINET_IP_H
7259 # include <netinet/ip.h>
7260 #endif
7262 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7263 cat >>confdefs.h <<_ACEOF
7264 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7265 _ACEOF
7269 done
7272 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7273 do :
7274 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7275 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7276 #ifdef HAVE_ALIAS_H
7277 # include <alias.h>
7278 #endif
7279 #ifdef HAVE_SYS_SOCKET_H
7280 # include <sys/socket.h>
7281 #endif
7282 #ifdef HAVE_SYS_SOCKETVAR_H
7283 # include <sys/socketvar.h>
7284 #endif
7285 #ifdef HAVE_SYS_TIMEOUT_H
7286 # include <sys/timeout.h>
7287 #endif
7288 #ifdef HAVE_NETINET_IN_H
7289 # include <netinet/in.h>
7290 #endif
7291 #ifdef HAVE_NETINET_IN_SYSTM_H
7292 # include <netinet/in_systm.h>
7293 #endif
7294 #ifdef HAVE_NETINET_IP_H
7295 # include <netinet/ip.h>
7296 #endif
7297 #ifdef HAVE_NETINET_IP_VAR_H
7298 # include <netinet/ip_var.h>
7299 #endif
7300 #ifdef HAVE_NETINET_IP_ICMP_H
7301 # include <netinet/ip_icmp.h>
7302 #endif
7303 #ifdef HAVE_NETINET_UDP_H
7304 # include <netinet/udp.h>
7305 #endif
7306 #ifdef HAVE_NETINET_TCP_H
7307 # include <netinet/tcp.h>
7308 #endif
7309 #ifdef HAVE_NETINET_TCP_TIMER_H
7310 #include <netinet/tcp_timer.h>
7311 #endif
7313 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7314 cat >>confdefs.h <<_ACEOF
7315 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7316 _ACEOF
7320 done
7323 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7324 do :
7325 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7326 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7327 #ifdef HAVE_ASM_TYPES_H
7328 # include <asm/types.h>
7329 #endif
7330 #ifdef HAVE_SYS_SOCKET_H
7331 # include <sys/socket.h>
7332 #endif
7333 #ifdef HAVE_LINUX_TYPES_H
7334 # include <linux/types.h>
7335 #endif
7337 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7338 cat >>confdefs.h <<_ACEOF
7339 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7340 _ACEOF
7344 done
7347 for ac_header in mach-o/dyld_images.h
7348 do :
7349 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7350 # include <stdbool.h>
7351 #endif
7352 #ifdef HAVE_STDINT_H
7353 # include <stdint.h>
7354 #endif
7356 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7357 cat >>confdefs.h <<_ACEOF
7358 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7359 _ACEOF
7363 done
7366 for ac_header in resolv.h
7367 do :
7368 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7369 #ifdef HAVE_SYS_SOCKET_H
7370 # include <sys/socket.h>
7371 #endif
7372 #ifdef HAVE_NETINET_IN_H
7373 # include <netinet/in.h>
7374 #endif
7375 #ifdef HAVE_ARPA_NAMESER_H
7376 # include <arpa/nameser.h>
7377 #endif
7379 if test "x$ac_cv_header_resolv_h" = xyes; then :
7380 cat >>confdefs.h <<_ACEOF
7381 #define HAVE_RESOLV_H 1
7382 _ACEOF
7386 done
7389 for ac_header in ifaddrs.h
7390 do :
7391 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7393 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7394 cat >>confdefs.h <<_ACEOF
7395 #define HAVE_IFADDRS_H 1
7396 _ACEOF
7400 done
7403 for ac_header in sys/ucontext.h
7404 do :
7405 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7407 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7408 cat >>confdefs.h <<_ACEOF
7409 #define HAVE_SYS_UCONTEXT_H 1
7410 _ACEOF
7414 done
7417 for ac_header in sys/thr.h
7418 do :
7419 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7420 #ifdef HAVE_SYS_UCONTEXT_H
7421 #include <sys/ucontext.h>
7422 #endif
7424 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7425 cat >>confdefs.h <<_ACEOF
7426 #define HAVE_SYS_THR_H 1
7427 _ACEOF
7431 done
7434 for ac_header in pthread_np.h
7435 do :
7436 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7437 #include <pthread.h>
7438 #endif
7440 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7441 cat >>confdefs.h <<_ACEOF
7442 #define HAVE_PTHREAD_NP_H 1
7443 _ACEOF
7447 done
7450 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7451 do :
7452 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7453 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7454 #include <sys/time.h>
7455 #endif
7456 #include <sys/types.h>
7457 #ifdef HAVE_ASM_TYPES_H
7458 #include <asm/types.h>
7459 #endif
7461 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7462 cat >>confdefs.h <<_ACEOF
7463 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7464 _ACEOF
7468 done
7471 for ac_header in libprocstat.h
7472 do :
7473 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7474 #include <sys/param.h>
7475 #endif
7476 #ifdef HAVE_SYS_QUEUE_H
7477 #include <sys/queue.h>
7478 #endif
7479 #ifdef HAVE_SYS_SOCKET_H
7480 #include <sys/socket.h>
7481 #endif
7483 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7484 cat >>confdefs.h <<_ACEOF
7485 #define HAVE_LIBPROCSTAT_H 1
7486 _ACEOF
7490 done
7494 DLLFLAGS="-D_REENTRANT"
7496 LDRPATH_INSTALL=""
7498 LDRPATH_LOCAL=""
7500 LDEXECFLAGS=""
7502 WINELOADER_LDFLAGS=""
7504 LIBEXT="so"
7505 DLLEXT=".so"
7506 IMPLIBEXT="def"
7507 # Extract the first word of "ldd", so it can be a program name with args.
7508 set dummy ldd; ac_word=$2
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7510 $as_echo_n "checking for $ac_word... " >&6; }
7511 if ${ac_cv_path_LDD+:} false; then :
7512 $as_echo_n "(cached) " >&6
7513 else
7514 case $LDD in
7515 [\\/]* | ?:[\\/]*)
7516 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7520 as_dummy="/sbin:/usr/sbin:$PATH"
7521 for as_dir in $as_dummy
7523 IFS=$as_save_IFS
7524 test -z "$as_dir" && as_dir=.
7525 for ac_exec_ext in '' $ac_executable_extensions; do
7526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7527 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7529 break 2
7531 done
7532 done
7533 IFS=$as_save_IFS
7535 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7537 esac
7539 LDD=$ac_cv_path_LDD
7540 if test -n "$LDD"; then
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7542 $as_echo "$LDD" >&6; }
7543 else
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7545 $as_echo "no" >&6; }
7549 if test -n "$ac_tool_prefix"; then
7550 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7551 set dummy ${ac_tool_prefix}otool; ac_word=$2
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7553 $as_echo_n "checking for $ac_word... " >&6; }
7554 if ${ac_cv_prog_OTOOL+:} false; then :
7555 $as_echo_n "(cached) " >&6
7556 else
7557 if test -n "$OTOOL"; then
7558 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7559 else
7560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7561 for as_dir in $PATH
7563 IFS=$as_save_IFS
7564 test -z "$as_dir" && as_dir=.
7565 for ac_exec_ext in '' $ac_executable_extensions; do
7566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7567 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7569 break 2
7571 done
7572 done
7573 IFS=$as_save_IFS
7577 OTOOL=$ac_cv_prog_OTOOL
7578 if test -n "$OTOOL"; then
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7580 $as_echo "$OTOOL" >&6; }
7581 else
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7583 $as_echo "no" >&6; }
7588 if test -z "$ac_cv_prog_OTOOL"; then
7589 ac_ct_OTOOL=$OTOOL
7590 # Extract the first word of "otool", so it can be a program name with args.
7591 set dummy otool; ac_word=$2
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7593 $as_echo_n "checking for $ac_word... " >&6; }
7594 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7595 $as_echo_n "(cached) " >&6
7596 else
7597 if test -n "$ac_ct_OTOOL"; then
7598 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7599 else
7600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7601 for as_dir in $PATH
7603 IFS=$as_save_IFS
7604 test -z "$as_dir" && as_dir=.
7605 for ac_exec_ext in '' $ac_executable_extensions; do
7606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7607 ac_cv_prog_ac_ct_OTOOL="otool"
7608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7609 break 2
7611 done
7612 done
7613 IFS=$as_save_IFS
7617 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7618 if test -n "$ac_ct_OTOOL"; then
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7620 $as_echo "$ac_ct_OTOOL" >&6; }
7621 else
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7623 $as_echo "no" >&6; }
7626 if test "x$ac_ct_OTOOL" = x; then
7627 OTOOL="otool"
7628 else
7629 case $cross_compiling:$ac_tool_warned in
7630 yes:)
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7633 ac_tool_warned=yes ;;
7634 esac
7635 OTOOL=$ac_ct_OTOOL
7637 else
7638 OTOOL="$ac_cv_prog_OTOOL"
7641 if test -n "$ac_tool_prefix"; then
7642 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7643 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7645 $as_echo_n "checking for $ac_word... " >&6; }
7646 if ${ac_cv_prog_READELF+:} false; then :
7647 $as_echo_n "(cached) " >&6
7648 else
7649 if test -n "$READELF"; then
7650 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7651 else
7652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7653 for as_dir in $PATH
7655 IFS=$as_save_IFS
7656 test -z "$as_dir" && as_dir=.
7657 for ac_exec_ext in '' $ac_executable_extensions; do
7658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7659 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7661 break 2
7663 done
7664 done
7665 IFS=$as_save_IFS
7669 READELF=$ac_cv_prog_READELF
7670 if test -n "$READELF"; then
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7672 $as_echo "$READELF" >&6; }
7673 else
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7675 $as_echo "no" >&6; }
7680 if test -z "$ac_cv_prog_READELF"; then
7681 ac_ct_READELF=$READELF
7682 # Extract the first word of "readelf", so it can be a program name with args.
7683 set dummy readelf; ac_word=$2
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7685 $as_echo_n "checking for $ac_word... " >&6; }
7686 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7687 $as_echo_n "(cached) " >&6
7688 else
7689 if test -n "$ac_ct_READELF"; then
7690 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7691 else
7692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7693 for as_dir in $PATH
7695 IFS=$as_save_IFS
7696 test -z "$as_dir" && as_dir=.
7697 for ac_exec_ext in '' $ac_executable_extensions; do
7698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7699 ac_cv_prog_ac_ct_READELF="readelf"
7700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7701 break 2
7703 done
7704 done
7705 IFS=$as_save_IFS
7709 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7710 if test -n "$ac_ct_READELF"; then
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7712 $as_echo "$ac_ct_READELF" >&6; }
7713 else
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7715 $as_echo "no" >&6; }
7718 if test "x$ac_ct_READELF" = x; then
7719 READELF="true"
7720 else
7721 case $cross_compiling:$ac_tool_warned in
7722 yes:)
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7725 ac_tool_warned=yes ;;
7726 esac
7727 READELF=$ac_ct_READELF
7729 else
7730 READELF="$ac_cv_prog_READELF"
7733 wine_rules_file=conf$$rules.make
7734 rm -f $wine_rules_file
7735 SUBDIRS=""
7737 DISABLED_SUBDIRS=""
7739 CONFIGURE_TARGETS=""
7742 wine_fn_append_file ()
7744 as_fn_append $1 " \\$as_nl $2"
7747 wine_fn_append_rule ()
7749 $as_echo "$1" >>$wine_rules_file
7752 wine_fn_config_makefile ()
7754 wine_fn_append_file SUBDIRS $1
7755 if eval test \"x\$"$2"\" = x"no"; then :
7756 wine_fn_append_file DISABLED_SUBDIRS $1
7760 wine_fn_config_symlink ()
7762 ac_links=$@
7763 wine_fn_append_rule \
7764 "$ac_links:
7765 @./config.status \$@"
7766 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7769 wine_binary="wine"
7770 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7771 WINELOADER_PROGRAMS="$wine_binary"
7773 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7775 case $host_os in
7776 cygwin*|mingw32*)
7777 if test -n "$ac_tool_prefix"; then
7778 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7779 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7781 $as_echo_n "checking for $ac_word... " >&6; }
7782 if ${ac_cv_prog_DLLTOOL+:} false; then :
7783 $as_echo_n "(cached) " >&6
7784 else
7785 if test -n "$DLLTOOL"; then
7786 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7787 else
7788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7789 for as_dir in $PATH
7791 IFS=$as_save_IFS
7792 test -z "$as_dir" && as_dir=.
7793 for ac_exec_ext in '' $ac_executable_extensions; do
7794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7795 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7797 break 2
7799 done
7800 done
7801 IFS=$as_save_IFS
7805 DLLTOOL=$ac_cv_prog_DLLTOOL
7806 if test -n "$DLLTOOL"; then
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7808 $as_echo "$DLLTOOL" >&6; }
7809 else
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7811 $as_echo "no" >&6; }
7816 if test -z "$ac_cv_prog_DLLTOOL"; then
7817 ac_ct_DLLTOOL=$DLLTOOL
7818 # Extract the first word of "dlltool", so it can be a program name with args.
7819 set dummy dlltool; ac_word=$2
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7821 $as_echo_n "checking for $ac_word... " >&6; }
7822 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7823 $as_echo_n "(cached) " >&6
7824 else
7825 if test -n "$ac_ct_DLLTOOL"; then
7826 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7827 else
7828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7829 for as_dir in $PATH
7831 IFS=$as_save_IFS
7832 test -z "$as_dir" && as_dir=.
7833 for ac_exec_ext in '' $ac_executable_extensions; do
7834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7835 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7837 break 2
7839 done
7840 done
7841 IFS=$as_save_IFS
7845 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7846 if test -n "$ac_ct_DLLTOOL"; then
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7848 $as_echo "$ac_ct_DLLTOOL" >&6; }
7849 else
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7851 $as_echo "no" >&6; }
7854 if test "x$ac_ct_DLLTOOL" = x; then
7855 DLLTOOL="false"
7856 else
7857 case $cross_compiling:$ac_tool_warned in
7858 yes:)
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7861 ac_tool_warned=yes ;;
7862 esac
7863 DLLTOOL=$ac_ct_DLLTOOL
7865 else
7866 DLLTOOL="$ac_cv_prog_DLLTOOL"
7869 LIBEXT="dll"
7870 DLLEXT=""
7871 IMPLIBEXT="a"
7872 enable_iphlpapi=${enable_iphlpapi:-no}
7873 enable_kernel32=${enable_kernel32:-no}
7874 enable_msvcrt=${enable_msvcrt:-no}
7875 enable_ntdll=${enable_ntdll:-no}
7876 enable_ws2_32=${enable_ws2_32:-no}
7877 enable_loader=${enable_loader:-no}
7878 enable_server=${enable_server:-no}
7879 with_x=${with_x:-no}
7880 with_pthread=${with_pthread:-no}
7882 crtlibs=""
7883 case $host_os in
7884 mingw32*)
7885 crtlibs="-lmsvcrt"
7886 SOCKET_LIBS="-lws2_32"
7888 esac
7890 LIBWINE_SHAREDLIB="libwine.dll"
7892 LIBWINE_IMPORTLIB="libwine.a"
7894 LIBWINE_INSTALL_LIB="libwine.dll"
7896 LIBWINE_INSTALL_DEV="libwine.a"
7898 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7900 LIBWINE_DEPENDS="wine.def"
7904 darwin*|macosx*)
7905 for ac_header in libunwind.h
7906 do :
7907 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7908 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7909 cat >>confdefs.h <<_ACEOF
7910 #define HAVE_LIBUNWIND_H 1
7911 _ACEOF
7915 done
7917 LIBEXT="dylib"
7918 DLLFLAGS="$DLLFLAGS -fPIC"
7919 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7920 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7921 COREFOUNDATION_LIBS="-framework CoreFoundation"
7923 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7925 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7927 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7929 CORESERVICES_LIBS="-framework CoreServices"
7931 APPKIT_LIBS="-framework AppKit"
7933 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7935 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7936 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7937 $as_echo_n "(cached) " >&6
7938 else
7939 ac_wine_try_cflags_saved=$CFLAGS
7940 CFLAGS="$CFLAGS -Wl,-no_pie"
7941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7942 /* end confdefs.h. */
7943 int main(int argc, char **argv) { return 0; }
7944 _ACEOF
7945 if ac_fn_c_try_link "$LINENO"; then :
7946 ac_cv_cflags__Wl__no_pie=yes
7947 else
7948 ac_cv_cflags__Wl__no_pie=no
7950 rm -f core conftest.err conftest.$ac_objext \
7951 conftest$ac_exeext conftest.$ac_ext
7952 CFLAGS=$ac_wine_try_cflags_saved
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7955 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7956 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7957 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
7959 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7960 then
7961 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7964 if test "$ac_cv_header_Security_Security_h" = "yes"
7965 then
7966 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7968 ac_save_LIBS="$LIBS"
7969 LIBS="$LIBS $SECURITY_LIBS"
7970 for ac_func in SSLCopyPeerCertificates
7971 do :
7972 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7973 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7974 cat >>confdefs.h <<_ACEOF
7975 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7976 _ACEOF
7979 done
7981 LIBS="$ac_save_LIBS"
7982 with_gnutls=${with_gnutls:-no}
7984 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7985 then
7986 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7987 then
7988 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7990 else
7991 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7994 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
7995 ac_save_LIBS="$LIBS"
7996 LIBS="$LIBS $COREAUDIO_LIBS"
7997 for ac_func in AUGraphAddNode
7998 do :
7999 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8000 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8001 cat >>confdefs.h <<_ACEOF
8002 #define HAVE_AUGRAPHADDNODE 1
8003 _ACEOF
8006 done
8008 LIBS="$ac_save_LIBS"
8010 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8011 then
8012 OPENAL_LIBS="-framework OpenAL"
8015 cat >>confdefs.h <<_ACEOF
8016 #define HAVE_OPENAL 1
8017 _ACEOF
8019 ac_cv_lib_openal=yes
8021 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8022 then
8023 OPENCL_LIBS="-framework OpenCL"
8025 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8027 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8028 then
8029 ac_save_LIBS="$LIBS"
8030 LIBS="$LIBS $IOKIT_LIBS"
8031 for ac_func in IOHIDManagerCreate
8032 do :
8033 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8034 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8035 cat >>confdefs.h <<_ACEOF
8036 #define HAVE_IOHIDMANAGERCREATE 1
8037 _ACEOF
8040 done
8042 LIBS="$ac_save_LIBS"
8044 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8045 then
8046 ac_save_LIBS="$LIBS"
8047 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8049 $as_echo_n "checking for the QuickTime framework... " >&6; }
8050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8051 /* end confdefs.h. */
8052 #include <QuickTime/ImageCompression.h>
8054 main ()
8056 CodecManagerVersion(NULL);
8058 return 0;
8060 _ACEOF
8061 if ac_fn_c_try_link "$LINENO"; then :
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8063 $as_echo "yes" >&6; }
8064 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8066 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8067 else
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8069 $as_echo "no" >&6; }
8070 ac_cv_header_QuickTime_ImageCompression_h=no
8072 rm -f core conftest.err conftest.$ac_objext \
8073 conftest$ac_exeext conftest.$ac_ext
8074 LIBS="$ac_save_LIBS"
8076 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8077 then
8078 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8080 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8081 then
8082 CARBON_LIBS="-framework Carbon"
8086 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8087 then
8088 ac_save_LIBS="$LIBS"
8089 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8090 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8091 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8092 enable_winemac_drv=${enable_winemac_drv:-yes}
8095 LIBS="$ac_save_LIBS"
8098 if test "x$enable_win16" = "xyes"
8099 then
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8101 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8102 if test "$cross_compiling" = yes; then :
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8104 $as_echo "cross-compiling, assuming yes" >&6; }
8105 else
8106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8107 /* end confdefs.h. */
8108 asm(".text\n"
8109 "bad:\tnop;nop\n"
8110 "good:\tnop;nop\n\t"
8111 ".globl _testfunc\n"
8112 "_testfunc:\tcallw good");
8113 extern void testfunc();
8115 main ()
8117 unsigned short *p = (unsigned short *)testfunc;
8118 return p[0] != 0xe866 || p[1] != 0xfffa
8120 return 0;
8122 _ACEOF
8123 if ac_fn_c_try_run "$LINENO"; then :
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8125 $as_echo "yes" >&6; }
8126 else
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8128 $as_echo "no" >&6; }
8129 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
8131 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8132 conftest.$ac_objext conftest.beam conftest.$ac_ext
8137 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8139 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8141 LIBWINE_INSTALL_DEV="libwine.dylib"
8143 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8145 WINELOADER_DEPENDS="wine_info.plist"
8149 linux-android*)
8150 DLLFLAGS="$DLLFLAGS -fPIC"
8151 LDEXECFLAGS="-Wl,-pie"
8152 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8154 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8155 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8156 $as_echo_n "(cached) " >&6
8157 else
8158 ac_wine_try_cflags_saved=$CFLAGS
8159 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8161 /* end confdefs.h. */
8162 int main(int argc, char **argv) { return 0; }
8163 _ACEOF
8164 if ac_fn_c_try_link "$LINENO"; then :
8165 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8166 else
8167 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8169 rm -f core conftest.err conftest.$ac_objext \
8170 conftest$ac_exeext conftest.$ac_ext
8171 CFLAGS=$ac_wine_try_cflags_saved
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8174 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8175 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8176 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8178 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8180 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8181 if eval \${$as_ac_var+:} false; then :
8182 $as_echo_n "(cached) " >&6
8183 else
8184 ac_wine_try_cflags_saved=$CFLAGS
8185 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8187 /* end confdefs.h. */
8188 int main(int argc, char **argv) { return 0; }
8189 _ACEOF
8190 if ac_fn_c_try_link "$LINENO"; then :
8191 eval "$as_ac_var=yes"
8192 else
8193 eval "$as_ac_var=no"
8195 rm -f core conftest.err conftest.$ac_objext \
8196 conftest$ac_exeext conftest.$ac_ext
8197 CFLAGS=$ac_wine_try_cflags_saved
8199 eval ac_res=\$$as_ac_var
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8201 $as_echo "$ac_res" >&6; }
8202 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8203 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8204 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8205 else
8206 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8208 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8209 if eval \${$as_ac_var+:} false; then :
8210 $as_echo_n "(cached) " >&6
8211 else
8212 ac_wine_try_cflags_saved=$CFLAGS
8213 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8215 /* end confdefs.h. */
8216 int main(int argc, char **argv) { return 0; }
8217 _ACEOF
8218 if ac_fn_c_try_link "$LINENO"; then :
8219 eval "$as_ac_var=yes"
8220 else
8221 eval "$as_ac_var=no"
8223 rm -f core conftest.err conftest.$ac_objext \
8224 conftest$ac_exeext conftest.$ac_ext
8225 CFLAGS=$ac_wine_try_cflags_saved
8227 eval ac_res=\$$as_ac_var
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8229 $as_echo "$ac_res" >&6; }
8230 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8231 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8232 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8236 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8237 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8238 $as_echo_n "(cached) " >&6
8239 else
8240 ac_wine_try_cflags_saved=$CFLAGS
8241 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8243 /* end confdefs.h. */
8244 int main(int argc, char **argv) { return 0; }
8245 _ACEOF
8246 if ac_fn_c_try_link "$LINENO"; then :
8247 ac_cv_cflags__Wl___enable_new_dtags=yes
8248 else
8249 ac_cv_cflags__Wl___enable_new_dtags=no
8251 rm -f core conftest.err conftest.$ac_objext \
8252 conftest$ac_exeext conftest.$ac_ext
8253 CFLAGS=$ac_wine_try_cflags_saved
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8256 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8257 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8258 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8261 LIBWINE_SHAREDLIB="libwine.so"
8263 LIBWINE_INSTALL_LIB="libwine.so"
8265 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8269 $as_echo_n "checking for -lEGL... " >&6; }
8270 if ${ac_cv_lib_soname_EGL+:} false; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 ac_check_soname_save_LIBS=$LIBS
8274 LIBS="-lEGL $LIBS"
8275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8276 /* end confdefs.h. */
8278 /* Override any GCC internal prototype to avoid an error.
8279 Use char because int might match the return type of a GCC
8280 builtin and then its argument prototype would still apply. */
8281 #ifdef __cplusplus
8282 extern "C"
8283 #endif
8284 char eglGetProcAddress ();
8286 main ()
8288 return eglGetProcAddress ();
8290 return 0;
8292 _ACEOF
8293 if ac_fn_c_try_link "$LINENO"; then :
8294 case "$LIBEXT" in
8295 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8296 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'` ;;
8297 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8298 if ${ac_cv_lib_soname_EGL:+false} :; then :
8299 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8300 fi ;;
8301 esac
8303 rm -f core conftest.err conftest.$ac_objext \
8304 conftest$ac_exeext conftest.$ac_ext
8305 LIBS=$ac_check_soname_save_LIBS
8307 if ${ac_cv_lib_soname_EGL:+false} :; then :
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8309 $as_echo "not found" >&6; }
8311 else
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8313 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8315 cat >>confdefs.h <<_ACEOF
8316 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8317 _ACEOF
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8322 $as_echo_n "checking for -lGLESv2... " >&6; }
8323 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8324 $as_echo_n "(cached) " >&6
8325 else
8326 ac_check_soname_save_LIBS=$LIBS
8327 LIBS="-lGLESv2 $LIBS"
8328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8329 /* end confdefs.h. */
8331 /* Override any GCC internal prototype to avoid an error.
8332 Use char because int might match the return type of a GCC
8333 builtin and then its argument prototype would still apply. */
8334 #ifdef __cplusplus
8335 extern "C"
8336 #endif
8337 char glFlush ();
8339 main ()
8341 return glFlush ();
8343 return 0;
8345 _ACEOF
8346 if ac_fn_c_try_link "$LINENO"; then :
8347 case "$LIBEXT" in
8348 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8349 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'` ;;
8350 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8351 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8352 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8353 fi ;;
8354 esac
8356 rm -f core conftest.err conftest.$ac_objext \
8357 conftest$ac_exeext conftest.$ac_ext
8358 LIBS=$ac_check_soname_save_LIBS
8360 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8362 $as_echo "not found" >&6; }
8364 else
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8366 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8368 cat >>confdefs.h <<_ACEOF
8369 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8370 _ACEOF
8375 if test "x$exec_prefix" = xNONE
8376 then
8377 case $host_cpu in
8378 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8379 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8380 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8381 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8382 esac
8387 DLLFLAGS="$DLLFLAGS -fPIC"
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8389 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8390 if ${ac_cv_c_dll_gnuelf+:} false; then :
8391 $as_echo_n "(cached) " >&6
8392 else
8393 ac_wine_try_cflags_saved=$CFLAGS
8394 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8396 /* end confdefs.h. */
8397 void myfunc() {}
8398 _ACEOF
8399 if ac_fn_c_try_link "$LINENO"; then :
8400 ac_cv_c_dll_gnuelf="yes"
8401 else
8402 ac_cv_c_dll_gnuelf="no"
8404 rm -f core conftest.err conftest.$ac_objext \
8405 conftest$ac_exeext conftest.$ac_ext
8406 CFLAGS=$ac_wine_try_cflags_saved
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8409 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8410 if test "$ac_cv_c_dll_gnuelf" = "yes"
8411 then
8412 LIBWINE_LDFLAGS="-shared"
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8414 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8415 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8416 $as_echo_n "(cached) " >&6
8417 else
8418 ac_wine_try_cflags_saved=$CFLAGS
8419 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8421 /* end confdefs.h. */
8422 int main(int argc, char **argv) { return 0; }
8423 _ACEOF
8424 if ac_fn_c_try_link "$LINENO"; then :
8425 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8426 else
8427 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8429 rm -f core conftest.err conftest.$ac_objext \
8430 conftest$ac_exeext conftest.$ac_ext
8431 CFLAGS=$ac_wine_try_cflags_saved
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8434 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8435 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8436 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8437 else
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8439 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8440 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8441 $as_echo_n "(cached) " >&6
8442 else
8443 ac_wine_try_cflags_saved=$CFLAGS
8444 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8446 /* end confdefs.h. */
8447 int main(int argc, char **argv) { return 0; }
8448 _ACEOF
8449 if ac_fn_c_try_link "$LINENO"; then :
8450 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8451 else
8452 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8454 rm -f core conftest.err conftest.$ac_objext \
8455 conftest$ac_exeext conftest.$ac_ext
8456 CFLAGS=$ac_wine_try_cflags_saved
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8459 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8460 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8461 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8465 echo '{ global: *; };' >conftest.map
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8467 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8468 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8469 $as_echo_n "(cached) " >&6
8470 else
8471 ac_wine_try_cflags_saved=$CFLAGS
8472 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8474 /* end confdefs.h. */
8475 int main(int argc, char **argv) { return 0; }
8476 _ACEOF
8477 if ac_fn_c_try_link "$LINENO"; then :
8478 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8479 else
8480 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8482 rm -f core conftest.err conftest.$ac_objext \
8483 conftest$ac_exeext conftest.$ac_ext
8484 CFLAGS=$ac_wine_try_cflags_saved
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8487 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8488 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8489 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8491 rm -f conftest.map
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8494 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8495 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8496 $as_echo_n "(cached) " >&6
8497 else
8498 ac_wine_try_cflags_saved=$CFLAGS
8499 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
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__Wl___export_dynamic=yes
8506 else
8507 ac_cv_cflags__fPIC__Wl___export_dynamic=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__Wl___export_dynamic" >&5
8514 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8515 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8516 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8519 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8521 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8522 if eval \${$as_ac_var+:} false; then :
8523 $as_echo_n "(cached) " >&6
8524 else
8525 ac_wine_try_cflags_saved=$CFLAGS
8526 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
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 eval "$as_ac_var=yes"
8533 else
8534 eval "$as_ac_var=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 eval ac_res=\$$as_ac_var
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8542 $as_echo "$ac_res" >&6; }
8543 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8544 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8545 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8546 else
8547 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8549 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8550 if eval \${$as_ac_var+:} false; then :
8551 $as_echo_n "(cached) " >&6
8552 else
8553 ac_wine_try_cflags_saved=$CFLAGS
8554 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8556 /* end confdefs.h. */
8557 int main(int argc, char **argv) { return 0; }
8558 _ACEOF
8559 if ac_fn_c_try_link "$LINENO"; then :
8560 eval "$as_ac_var=yes"
8561 else
8562 eval "$as_ac_var=no"
8564 rm -f core conftest.err conftest.$ac_objext \
8565 conftest$ac_exeext conftest.$ac_ext
8566 CFLAGS=$ac_wine_try_cflags_saved
8568 eval ac_res=\$$as_ac_var
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8570 $as_echo "$ac_res" >&6; }
8571 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8572 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8573 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8578 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8579 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8580 $as_echo_n "(cached) " >&6
8581 else
8582 ac_wine_try_cflags_saved=$CFLAGS
8583 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8585 /* end confdefs.h. */
8586 int main(int argc, char **argv) { return 0; }
8587 _ACEOF
8588 if ac_fn_c_try_link "$LINENO"; then :
8589 ac_cv_cflags__Wl___enable_new_dtags=yes
8590 else
8591 ac_cv_cflags__Wl___enable_new_dtags=no
8593 rm -f core conftest.err conftest.$ac_objext \
8594 conftest$ac_exeext conftest.$ac_ext
8595 CFLAGS=$ac_wine_try_cflags_saved
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8598 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8599 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8600 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8603 case $host_cpu in
8604 *i[3456789]86* | x86_64 | *aarch64*)
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8606 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8607 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8608 $as_echo_n "(cached) " >&6
8609 else
8610 ac_wine_try_cflags_saved=$CFLAGS
8611 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8613 /* end confdefs.h. */
8614 int main(int argc, char **argv) { return 0; }
8615 _ACEOF
8616 if ac_fn_c_try_link "$LINENO"; then :
8617 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8618 else
8619 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8621 rm -f core conftest.err conftest.$ac_objext \
8622 conftest$ac_exeext conftest.$ac_ext
8623 CFLAGS=$ac_wine_try_cflags_saved
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8626 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8627 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8628 case $host_os in
8629 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8630 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8631 esac
8632 else
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8634 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8635 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8636 $as_echo_n "(cached) " >&6
8637 else
8638 ac_wine_try_cflags_saved=$CFLAGS
8639 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8641 /* end confdefs.h. */
8642 int main(int argc, char **argv) { return 0; }
8643 _ACEOF
8644 if ac_fn_c_try_link "$LINENO"; then :
8645 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8646 else
8647 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8649 rm -f core conftest.err conftest.$ac_objext \
8650 conftest$ac_exeext conftest.$ac_ext
8651 CFLAGS=$ac_wine_try_cflags_saved
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8654 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8655 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8656 case $host_os in
8657 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8658 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8659 esac
8661 # Extract the first word of "prelink", so it can be a program name with args.
8662 set dummy prelink; ac_word=$2
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8664 $as_echo_n "checking for $ac_word... " >&6; }
8665 if ${ac_cv_path_PRELINK+:} false; then :
8666 $as_echo_n "(cached) " >&6
8667 else
8668 case $PRELINK in
8669 [\\/]* | ?:[\\/]*)
8670 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8674 for as_dir in /sbin /usr/sbin $PATH
8676 IFS=$as_save_IFS
8677 test -z "$as_dir" && as_dir=.
8678 for ac_exec_ext in '' $ac_executable_extensions; do
8679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8680 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8682 break 2
8684 done
8685 done
8686 IFS=$as_save_IFS
8688 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8690 esac
8692 PRELINK=$ac_cv_path_PRELINK
8693 if test -n "$PRELINK"; then
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8695 $as_echo "$PRELINK" >&6; }
8696 else
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8698 $as_echo "no" >&6; }
8702 if test "x$PRELINK" = xfalse
8703 then
8704 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8708 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8709 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8710 $as_echo_n "(cached) " >&6
8711 else
8712 ac_wine_try_cflags_saved=$CFLAGS
8713 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8715 /* end confdefs.h. */
8716 int main(int argc, char **argv) { return 0; }
8717 _ACEOF
8718 if ac_fn_c_try_link "$LINENO"; then :
8719 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8720 else
8721 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8723 rm -f core conftest.err conftest.$ac_objext \
8724 conftest$ac_exeext conftest.$ac_ext
8725 CFLAGS=$ac_wine_try_cflags_saved
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8728 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8729 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8730 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8733 esac
8735 else
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8737 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8738 if ${ac_cv_c_dll_unixware+:} false; then :
8739 $as_echo_n "(cached) " >&6
8740 else
8741 ac_wine_try_cflags_saved=$CFLAGS
8742 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8744 /* end confdefs.h. */
8745 void myfunc() {}
8746 _ACEOF
8747 if ac_fn_c_try_link "$LINENO"; then :
8748 ac_cv_c_dll_unixware="yes"
8749 else
8750 ac_cv_c_dll_unixware="no"
8752 rm -f core conftest.err conftest.$ac_objext \
8753 conftest$ac_exeext conftest.$ac_ext
8754 CFLAGS=$ac_wine_try_cflags_saved
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8757 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8758 if test "$ac_cv_c_dll_unixware" = "yes"
8759 then
8760 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8763 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8765 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8767 LIBWINE_INSTALL_DEV="libwine.so"
8769 LIBWINE_DEPENDS="wine.map"
8772 esac
8774 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8775 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8776 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8777 enable_winemac_drv=${enable_winemac_drv:-no}
8778 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8780 CROSSTARGET=""
8782 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8783 then
8784 case "$host_cpu" in
8785 arm*)
8786 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8787 i[3456789]86*)
8788 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
8789 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8790 mingw32-gcc" ;;
8791 x86_64)
8792 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
8793 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8795 ac_prefix_list="" ;;
8796 esac
8797 for ac_prog in $ac_prefix_list
8799 # Extract the first word of "$ac_prog", so it can be a program name with args.
8800 set dummy $ac_prog; ac_word=$2
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8802 $as_echo_n "checking for $ac_word... " >&6; }
8803 if ${ac_cv_prog_CROSSCC+:} false; then :
8804 $as_echo_n "(cached) " >&6
8805 else
8806 if test -n "$CROSSCC"; then
8807 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8808 else
8809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8810 for as_dir in $PATH
8812 IFS=$as_save_IFS
8813 test -z "$as_dir" && as_dir=.
8814 for ac_exec_ext in '' $ac_executable_extensions; do
8815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8816 ac_cv_prog_CROSSCC="$ac_prog"
8817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8818 break 2
8820 done
8821 done
8822 IFS=$as_save_IFS
8826 CROSSCC=$ac_cv_prog_CROSSCC
8827 if test -n "$CROSSCC"; then
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8829 $as_echo "$CROSSCC" >&6; }
8830 else
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8832 $as_echo "no" >&6; }
8836 test -n "$CROSSCC" && break
8837 done
8838 test -n "$CROSSCC" || CROSSCC="false"
8840 if test "$CROSSCC" != "false"
8841 then
8842 ac_save_CC="$CC"
8843 CC="$CROSSCC"
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8845 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8847 /* end confdefs.h. */
8850 main ()
8854 return 0;
8856 _ACEOF
8857 if ac_fn_c_try_compile "$LINENO"; then :
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8859 $as_echo "yes" >&6; }
8860 set x $CROSSCC
8861 shift
8862 while test $# -ge 1
8864 case "$1" in
8865 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8866 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8867 esac
8868 shift
8869 done
8870 else
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8872 $as_echo "no" >&6; }
8874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8875 CC="$ac_save_CC"
8876 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8882 if test "$ac_cv_header_pthread_h" = "yes"
8883 then
8884 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8885 if test "x$ac_cv_func_pthread_create" = xyes; then :
8887 else
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8889 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8890 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8891 $as_echo_n "(cached) " >&6
8892 else
8893 ac_check_lib_save_LIBS=$LIBS
8894 LIBS="-lpthread $LIBS"
8895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8896 /* end confdefs.h. */
8898 /* Override any GCC internal prototype to avoid an error.
8899 Use char because int might match the return type of a GCC
8900 builtin and then its argument prototype would still apply. */
8901 #ifdef __cplusplus
8902 extern "C"
8903 #endif
8904 char pthread_create ();
8906 main ()
8908 return pthread_create ();
8910 return 0;
8912 _ACEOF
8913 if ac_fn_c_try_link "$LINENO"; then :
8914 ac_cv_lib_pthread_pthread_create=yes
8915 else
8916 ac_cv_lib_pthread_pthread_create=no
8918 rm -f core conftest.err conftest.$ac_objext \
8919 conftest$ac_exeext conftest.$ac_ext
8920 LIBS=$ac_check_lib_save_LIBS
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8923 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8924 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8925 PTHREAD_LIBS="-lpthread"
8932 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8933 case "x$with_pthread" in
8934 xno) ;;
8935 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8936 Wine cannot support threads without libpthread.
8937 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8938 esac
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8944 $as_echo_n "checking for X... " >&6; }
8947 # Check whether --with-x was given.
8948 if test "${with_x+set}" = set; then :
8949 withval=$with_x;
8952 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8953 if test "x$with_x" = xno; then
8954 # The user explicitly disabled X.
8955 have_x=disabled
8956 else
8957 case $x_includes,$x_libraries in #(
8958 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8959 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8960 $as_echo_n "(cached) " >&6
8961 else
8962 # One or both of the vars are not set, and there is no cached value.
8963 ac_x_includes=no ac_x_libraries=no
8964 rm -f -r conftest.dir
8965 if mkdir conftest.dir; then
8966 cd conftest.dir
8967 cat >Imakefile <<'_ACEOF'
8968 incroot:
8969 @echo incroot='${INCROOT}'
8970 usrlibdir:
8971 @echo usrlibdir='${USRLIBDIR}'
8972 libdir:
8973 @echo libdir='${LIBDIR}'
8974 _ACEOF
8975 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8976 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8977 for ac_var in incroot usrlibdir libdir; do
8978 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8979 done
8980 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8981 for ac_extension in a so sl dylib la dll; do
8982 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8983 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8984 ac_im_usrlibdir=$ac_im_libdir; break
8986 done
8987 # Screen out bogus values from the imake configuration. They are
8988 # bogus both because they are the default anyway, and because
8989 # using them would break gcc on systems where it needs fixed includes.
8990 case $ac_im_incroot in
8991 /usr/include) ac_x_includes= ;;
8992 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8993 esac
8994 case $ac_im_usrlibdir in
8995 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8996 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8997 esac
8999 cd ..
9000 rm -f -r conftest.dir
9003 # Standard set of common directories for X headers.
9004 # Check X11 before X11Rn because it is often a symlink to the current release.
9005 ac_x_header_dirs='
9006 /usr/X11/include
9007 /usr/X11R7/include
9008 /usr/X11R6/include
9009 /usr/X11R5/include
9010 /usr/X11R4/include
9012 /usr/include/X11
9013 /usr/include/X11R7
9014 /usr/include/X11R6
9015 /usr/include/X11R5
9016 /usr/include/X11R4
9018 /usr/local/X11/include
9019 /usr/local/X11R7/include
9020 /usr/local/X11R6/include
9021 /usr/local/X11R5/include
9022 /usr/local/X11R4/include
9024 /usr/local/include/X11
9025 /usr/local/include/X11R7
9026 /usr/local/include/X11R6
9027 /usr/local/include/X11R5
9028 /usr/local/include/X11R4
9030 /usr/X386/include
9031 /usr/x386/include
9032 /usr/XFree86/include/X11
9034 /usr/include
9035 /usr/local/include
9036 /usr/unsupported/include
9037 /usr/athena/include
9038 /usr/local/x11r5/include
9039 /usr/lpp/Xamples/include
9041 /usr/openwin/include
9042 /usr/openwin/share/include'
9044 if test "$ac_x_includes" = no; then
9045 # Guess where to find include files, by looking for Xlib.h.
9046 # First, try using that file with no special directory specified.
9047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h. */
9049 #include <X11/Xlib.h>
9050 _ACEOF
9051 if ac_fn_c_try_cpp "$LINENO"; then :
9052 # We can compile using X headers with no special include directory.
9053 ac_x_includes=
9054 else
9055 for ac_dir in $ac_x_header_dirs; do
9056 if test -r "$ac_dir/X11/Xlib.h"; then
9057 ac_x_includes=$ac_dir
9058 break
9060 done
9062 rm -f conftest.err conftest.i conftest.$ac_ext
9063 fi # $ac_x_includes = no
9065 if test "$ac_x_libraries" = no; then
9066 # Check for the libraries.
9067 # See if we find them without any special options.
9068 # Don't add to $LIBS permanently.
9069 ac_save_LIBS=$LIBS
9070 LIBS="-lX11 $LIBS"
9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9073 #include <X11/Xlib.h>
9075 main ()
9077 XrmInitialize ()
9079 return 0;
9081 _ACEOF
9082 if ac_fn_c_try_link "$LINENO"; then :
9083 LIBS=$ac_save_LIBS
9084 # We can link X programs with no special library path.
9085 ac_x_libraries=
9086 else
9087 LIBS=$ac_save_LIBS
9088 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9090 # Don't even attempt the hair of trying to link an X program!
9091 for ac_extension in a so sl dylib la dll; do
9092 if test -r "$ac_dir/libX11.$ac_extension"; then
9093 ac_x_libraries=$ac_dir
9094 break 2
9096 done
9097 done
9099 rm -f core conftest.err conftest.$ac_objext \
9100 conftest$ac_exeext conftest.$ac_ext
9101 fi # $ac_x_libraries = no
9103 case $ac_x_includes,$ac_x_libraries in #(
9104 no,* | *,no | *\'*)
9105 # Didn't find X, or a directory has "'" in its name.
9106 ac_cv_have_x="have_x=no";; #(
9108 # Record where we found X for the cache.
9109 ac_cv_have_x="have_x=yes\
9110 ac_x_includes='$ac_x_includes'\
9111 ac_x_libraries='$ac_x_libraries'"
9112 esac
9114 ;; #(
9115 *) have_x=yes;;
9116 esac
9117 eval "$ac_cv_have_x"
9118 fi # $with_x != no
9120 if test "$have_x" != yes; then
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9122 $as_echo "$have_x" >&6; }
9123 no_x=yes
9124 else
9125 # If each of the values was on the command line, it overrides each guess.
9126 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9127 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9128 # Update the cache value to reflect the command line values.
9129 ac_cv_have_x="have_x=yes\
9130 ac_x_includes='$x_includes'\
9131 ac_x_libraries='$x_libraries'"
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9133 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9136 if test "$no_x" = yes; then
9137 # Not all programs may use this symbol, but it does not hurt to define it.
9139 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9141 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9142 else
9143 if test -n "$x_includes"; then
9144 X_CFLAGS="$X_CFLAGS -I$x_includes"
9147 # It would also be nice to do this for all -L options, not just this one.
9148 if test -n "$x_libraries"; then
9149 X_LIBS="$X_LIBS -L$x_libraries"
9150 # For Solaris; some versions of Sun CC require a space after -R and
9151 # others require no space. Words are not sufficient . . . .
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9153 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9154 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9155 ac_xsave_c_werror_flag=$ac_c_werror_flag
9156 ac_c_werror_flag=yes
9157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9158 /* end confdefs.h. */
9161 main ()
9165 return 0;
9167 _ACEOF
9168 if ac_fn_c_try_link "$LINENO"; then :
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9170 $as_echo "no" >&6; }
9171 X_LIBS="$X_LIBS -R$x_libraries"
9172 else
9173 LIBS="$ac_xsave_LIBS -R $x_libraries"
9174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9175 /* end confdefs.h. */
9178 main ()
9182 return 0;
9184 _ACEOF
9185 if ac_fn_c_try_link "$LINENO"; then :
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9187 $as_echo "yes" >&6; }
9188 X_LIBS="$X_LIBS -R $x_libraries"
9189 else
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9191 $as_echo "neither works" >&6; }
9193 rm -f core conftest.err conftest.$ac_objext \
9194 conftest$ac_exeext conftest.$ac_ext
9196 rm -f core conftest.err conftest.$ac_objext \
9197 conftest$ac_exeext conftest.$ac_ext
9198 ac_c_werror_flag=$ac_xsave_c_werror_flag
9199 LIBS=$ac_xsave_LIBS
9202 # Check for system-dependent libraries X programs must link with.
9203 # Do this before checking for the system-independent R6 libraries
9204 # (-lICE), since we may need -lsocket or whatever for X linking.
9206 if test "$ISC" = yes; then
9207 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9208 else
9209 # Martyn Johnson says this is needed for Ultrix, if the X
9210 # libraries were built with DECnet support. And Karl Berry says
9211 # the Alpha needs dnet_stub (dnet does not exist).
9212 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9214 /* end confdefs.h. */
9216 /* Override any GCC internal prototype to avoid an error.
9217 Use char because int might match the return type of a GCC
9218 builtin and then its argument prototype would still apply. */
9219 #ifdef __cplusplus
9220 extern "C"
9221 #endif
9222 char XOpenDisplay ();
9224 main ()
9226 return XOpenDisplay ();
9228 return 0;
9230 _ACEOF
9231 if ac_fn_c_try_link "$LINENO"; then :
9233 else
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9235 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9236 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9237 $as_echo_n "(cached) " >&6
9238 else
9239 ac_check_lib_save_LIBS=$LIBS
9240 LIBS="-ldnet $LIBS"
9241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9244 /* Override any GCC internal prototype to avoid an error.
9245 Use char because int might match the return type of a GCC
9246 builtin and then its argument prototype would still apply. */
9247 #ifdef __cplusplus
9248 extern "C"
9249 #endif
9250 char dnet_ntoa ();
9252 main ()
9254 return dnet_ntoa ();
9256 return 0;
9258 _ACEOF
9259 if ac_fn_c_try_link "$LINENO"; then :
9260 ac_cv_lib_dnet_dnet_ntoa=yes
9261 else
9262 ac_cv_lib_dnet_dnet_ntoa=no
9264 rm -f core conftest.err conftest.$ac_objext \
9265 conftest$ac_exeext conftest.$ac_ext
9266 LIBS=$ac_check_lib_save_LIBS
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9269 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9270 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9271 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9274 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9276 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9277 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9278 $as_echo_n "(cached) " >&6
9279 else
9280 ac_check_lib_save_LIBS=$LIBS
9281 LIBS="-ldnet_stub $LIBS"
9282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h. */
9285 /* Override any GCC internal prototype to avoid an error.
9286 Use char because int might match the return type of a GCC
9287 builtin and then its argument prototype would still apply. */
9288 #ifdef __cplusplus
9289 extern "C"
9290 #endif
9291 char dnet_ntoa ();
9293 main ()
9295 return dnet_ntoa ();
9297 return 0;
9299 _ACEOF
9300 if ac_fn_c_try_link "$LINENO"; then :
9301 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9302 else
9303 ac_cv_lib_dnet_stub_dnet_ntoa=no
9305 rm -f core conftest.err conftest.$ac_objext \
9306 conftest$ac_exeext conftest.$ac_ext
9307 LIBS=$ac_check_lib_save_LIBS
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9310 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9311 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9312 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9317 rm -f core conftest.err conftest.$ac_objext \
9318 conftest$ac_exeext conftest.$ac_ext
9319 LIBS="$ac_xsave_LIBS"
9321 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9322 # to get the SysV transport functions.
9323 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9324 # needs -lnsl.
9325 # The nsl library prevents programs from opening the X display
9326 # on Irix 5.2, according to T.E. Dickey.
9327 # The functions gethostbyname, getservbyname, and inet_addr are
9328 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9329 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9330 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9334 if test $ac_cv_func_gethostbyname = no; then
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9336 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9337 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9338 $as_echo_n "(cached) " >&6
9339 else
9340 ac_check_lib_save_LIBS=$LIBS
9341 LIBS="-lnsl $LIBS"
9342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9343 /* end confdefs.h. */
9345 /* Override any GCC internal prototype to avoid an error.
9346 Use char because int might match the return type of a GCC
9347 builtin and then its argument prototype would still apply. */
9348 #ifdef __cplusplus
9349 extern "C"
9350 #endif
9351 char gethostbyname ();
9353 main ()
9355 return gethostbyname ();
9357 return 0;
9359 _ACEOF
9360 if ac_fn_c_try_link "$LINENO"; then :
9361 ac_cv_lib_nsl_gethostbyname=yes
9362 else
9363 ac_cv_lib_nsl_gethostbyname=no
9365 rm -f core conftest.err conftest.$ac_objext \
9366 conftest$ac_exeext conftest.$ac_ext
9367 LIBS=$ac_check_lib_save_LIBS
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9370 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9371 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9372 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9375 if test $ac_cv_lib_nsl_gethostbyname = no; then
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9377 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9378 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9379 $as_echo_n "(cached) " >&6
9380 else
9381 ac_check_lib_save_LIBS=$LIBS
9382 LIBS="-lbsd $LIBS"
9383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9384 /* end confdefs.h. */
9386 /* Override any GCC internal prototype to avoid an error.
9387 Use char because int might match the return type of a GCC
9388 builtin and then its argument prototype would still apply. */
9389 #ifdef __cplusplus
9390 extern "C"
9391 #endif
9392 char gethostbyname ();
9394 main ()
9396 return gethostbyname ();
9398 return 0;
9400 _ACEOF
9401 if ac_fn_c_try_link "$LINENO"; then :
9402 ac_cv_lib_bsd_gethostbyname=yes
9403 else
9404 ac_cv_lib_bsd_gethostbyname=no
9406 rm -f core conftest.err conftest.$ac_objext \
9407 conftest$ac_exeext conftest.$ac_ext
9408 LIBS=$ac_check_lib_save_LIBS
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9411 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9412 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9413 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9419 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9420 # socket/setsockopt and other routines are undefined under SCO ODT
9421 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9422 # on later versions), says Simon Leinen: it contains gethostby*
9423 # variants that don't use the name server (or something). -lsocket
9424 # must be given before -lnsl if both are needed. We assume that
9425 # if connect needs -lnsl, so does gethostbyname.
9426 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9427 if test "x$ac_cv_func_connect" = xyes; then :
9431 if test $ac_cv_func_connect = no; then
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9433 $as_echo_n "checking for connect in -lsocket... " >&6; }
9434 if ${ac_cv_lib_socket_connect+:} false; then :
9435 $as_echo_n "(cached) " >&6
9436 else
9437 ac_check_lib_save_LIBS=$LIBS
9438 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9442 /* Override any GCC internal prototype to avoid an error.
9443 Use char because int might match the return type of a GCC
9444 builtin and then its argument prototype would still apply. */
9445 #ifdef __cplusplus
9446 extern "C"
9447 #endif
9448 char connect ();
9450 main ()
9452 return connect ();
9454 return 0;
9456 _ACEOF
9457 if ac_fn_c_try_link "$LINENO"; then :
9458 ac_cv_lib_socket_connect=yes
9459 else
9460 ac_cv_lib_socket_connect=no
9462 rm -f core conftest.err conftest.$ac_objext \
9463 conftest$ac_exeext conftest.$ac_ext
9464 LIBS=$ac_check_lib_save_LIBS
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9467 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9468 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9469 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9474 # Guillermo Gomez says -lposix is necessary on A/UX.
9475 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9476 if test "x$ac_cv_func_remove" = xyes; then :
9480 if test $ac_cv_func_remove = no; then
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9482 $as_echo_n "checking for remove in -lposix... " >&6; }
9483 if ${ac_cv_lib_posix_remove+:} false; then :
9484 $as_echo_n "(cached) " >&6
9485 else
9486 ac_check_lib_save_LIBS=$LIBS
9487 LIBS="-lposix $LIBS"
9488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9489 /* end confdefs.h. */
9491 /* Override any GCC internal prototype to avoid an error.
9492 Use char because int might match the return type of a GCC
9493 builtin and then its argument prototype would still apply. */
9494 #ifdef __cplusplus
9495 extern "C"
9496 #endif
9497 char remove ();
9499 main ()
9501 return remove ();
9503 return 0;
9505 _ACEOF
9506 if ac_fn_c_try_link "$LINENO"; then :
9507 ac_cv_lib_posix_remove=yes
9508 else
9509 ac_cv_lib_posix_remove=no
9511 rm -f core conftest.err conftest.$ac_objext \
9512 conftest$ac_exeext conftest.$ac_ext
9513 LIBS=$ac_check_lib_save_LIBS
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9516 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9517 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9518 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9523 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9524 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9525 if test "x$ac_cv_func_shmat" = xyes; then :
9529 if test $ac_cv_func_shmat = no; then
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9531 $as_echo_n "checking for shmat in -lipc... " >&6; }
9532 if ${ac_cv_lib_ipc_shmat+:} false; then :
9533 $as_echo_n "(cached) " >&6
9534 else
9535 ac_check_lib_save_LIBS=$LIBS
9536 LIBS="-lipc $LIBS"
9537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9538 /* end confdefs.h. */
9540 /* Override any GCC internal prototype to avoid an error.
9541 Use char because int might match the return type of a GCC
9542 builtin and then its argument prototype would still apply. */
9543 #ifdef __cplusplus
9544 extern "C"
9545 #endif
9546 char shmat ();
9548 main ()
9550 return shmat ();
9552 return 0;
9554 _ACEOF
9555 if ac_fn_c_try_link "$LINENO"; then :
9556 ac_cv_lib_ipc_shmat=yes
9557 else
9558 ac_cv_lib_ipc_shmat=no
9560 rm -f core conftest.err conftest.$ac_objext \
9561 conftest$ac_exeext conftest.$ac_ext
9562 LIBS=$ac_check_lib_save_LIBS
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9565 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9566 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9567 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9573 # Check for libraries that X11R6 Xt/Xaw programs need.
9574 ac_save_LDFLAGS=$LDFLAGS
9575 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9576 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9577 # check for ICE first), but we must link in the order -lSM -lICE or
9578 # we get undefined symbols. So assume we have SM if we have ICE.
9579 # These have to be linked with before -lX11, unlike the other
9580 # libraries we check for below, so use a different variable.
9581 # John Interrante, Karl Berry
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9583 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9584 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9585 $as_echo_n "(cached) " >&6
9586 else
9587 ac_check_lib_save_LIBS=$LIBS
9588 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9590 /* end confdefs.h. */
9592 /* Override any GCC internal prototype to avoid an error.
9593 Use char because int might match the return type of a GCC
9594 builtin and then its argument prototype would still apply. */
9595 #ifdef __cplusplus
9596 extern "C"
9597 #endif
9598 char IceConnectionNumber ();
9600 main ()
9602 return IceConnectionNumber ();
9604 return 0;
9606 _ACEOF
9607 if ac_fn_c_try_link "$LINENO"; then :
9608 ac_cv_lib_ICE_IceConnectionNumber=yes
9609 else
9610 ac_cv_lib_ICE_IceConnectionNumber=no
9612 rm -f core conftest.err conftest.$ac_objext \
9613 conftest$ac_exeext conftest.$ac_ext
9614 LIBS=$ac_check_lib_save_LIBS
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9617 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9618 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9619 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9622 LDFLAGS=$ac_save_LDFLAGS
9627 if test "$have_x" = "yes"
9628 then
9629 ac_save_CPPFLAGS="$CPPFLAGS"
9630 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9633 $as_echo_n "checking for -lX11... " >&6; }
9634 if ${ac_cv_lib_soname_X11+:} false; then :
9635 $as_echo_n "(cached) " >&6
9636 else
9637 ac_check_soname_save_LIBS=$LIBS
9638 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9640 /* end confdefs.h. */
9642 /* Override any GCC internal prototype to avoid an error.
9643 Use char because int might match the return type of a GCC
9644 builtin and then its argument prototype would still apply. */
9645 #ifdef __cplusplus
9646 extern "C"
9647 #endif
9648 char XCreateWindow ();
9650 main ()
9652 return XCreateWindow ();
9654 return 0;
9656 _ACEOF
9657 if ac_fn_c_try_link "$LINENO"; then :
9658 case "$LIBEXT" in
9659 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9660 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'` ;;
9661 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9662 if ${ac_cv_lib_soname_X11:+false} :; then :
9663 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9664 fi ;;
9665 esac
9667 rm -f core conftest.err conftest.$ac_objext \
9668 conftest$ac_exeext conftest.$ac_ext
9669 LIBS=$ac_check_soname_save_LIBS
9671 if ${ac_cv_lib_soname_X11:+false} :; then :
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9673 $as_echo "not found" >&6; }
9675 else
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9677 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9679 cat >>confdefs.h <<_ACEOF
9680 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9681 _ACEOF
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9686 $as_echo_n "checking for -lXext... " >&6; }
9687 if ${ac_cv_lib_soname_Xext+:} false; then :
9688 $as_echo_n "(cached) " >&6
9689 else
9690 ac_check_soname_save_LIBS=$LIBS
9691 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9693 /* end confdefs.h. */
9695 /* Override any GCC internal prototype to avoid an error.
9696 Use char because int might match the return type of a GCC
9697 builtin and then its argument prototype would still apply. */
9698 #ifdef __cplusplus
9699 extern "C"
9700 #endif
9701 char XextCreateExtension ();
9703 main ()
9705 return XextCreateExtension ();
9707 return 0;
9709 _ACEOF
9710 if ac_fn_c_try_link "$LINENO"; then :
9711 case "$LIBEXT" in
9712 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9713 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'` ;;
9714 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9715 if ${ac_cv_lib_soname_Xext:+false} :; then :
9716 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9717 fi ;;
9718 esac
9720 rm -f core conftest.err conftest.$ac_objext \
9721 conftest$ac_exeext conftest.$ac_ext
9722 LIBS=$ac_check_soname_save_LIBS
9724 if ${ac_cv_lib_soname_Xext:+false} :; then :
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9726 $as_echo "not found" >&6; }
9728 else
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9730 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9732 cat >>confdefs.h <<_ACEOF
9733 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9734 _ACEOF
9736 X_LIBS="$X_LIBS -lXext"
9738 X_LIBS="$X_LIBS -lX11"
9740 for ac_header in X11/Xlib.h \
9741 X11/XKBlib.h \
9742 X11/Xutil.h \
9743 X11/Xcursor/Xcursor.h \
9744 X11/extensions/shape.h \
9745 X11/extensions/XInput.h \
9746 X11/extensions/XInput2.h \
9747 X11/extensions/XShm.h \
9748 X11/extensions/Xcomposite.h \
9749 X11/extensions/Xfixes.h \
9750 X11/extensions/Xinerama.h \
9751 X11/extensions/Xrandr.h \
9752 X11/extensions/Xrender.h \
9753 X11/extensions/xf86vmode.h \
9754 X11/extensions/xf86vmproto.h
9755 do :
9756 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9757 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9758 # include <X11/Xlib.h>
9759 #endif
9760 #ifdef HAVE_X11_XUTIL_H
9761 # include <X11/Xutil.h>
9762 #endif
9764 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9765 cat >>confdefs.h <<_ACEOF
9766 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9767 _ACEOF
9771 done
9774 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9775 then
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9777 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9778 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9779 $as_echo_n "(cached) " >&6
9780 else
9781 ac_check_lib_save_LIBS=$LIBS
9782 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9784 /* end confdefs.h. */
9786 /* Override any GCC internal prototype to avoid an error.
9787 Use char because int might match the return type of a GCC
9788 builtin and then its argument prototype would still apply. */
9789 #ifdef __cplusplus
9790 extern "C"
9791 #endif
9792 char XkbQueryExtension ();
9794 main ()
9796 return XkbQueryExtension ();
9798 return 0;
9800 _ACEOF
9801 if ac_fn_c_try_link "$LINENO"; then :
9802 ac_cv_lib_X11_XkbQueryExtension=yes
9803 else
9804 ac_cv_lib_X11_XkbQueryExtension=no
9806 rm -f core conftest.err conftest.$ac_objext \
9807 conftest$ac_exeext conftest.$ac_ext
9808 LIBS=$ac_check_lib_save_LIBS
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9811 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9812 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9814 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9820 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9821 then
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9823 $as_echo_n "checking for -lXcursor... " >&6; }
9824 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9825 $as_echo_n "(cached) " >&6
9826 else
9827 ac_check_soname_save_LIBS=$LIBS
9828 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9830 /* end confdefs.h. */
9832 /* Override any GCC internal prototype to avoid an error.
9833 Use char because int might match the return type of a GCC
9834 builtin and then its argument prototype would still apply. */
9835 #ifdef __cplusplus
9836 extern "C"
9837 #endif
9838 char XcursorImageLoadCursor ();
9840 main ()
9842 return XcursorImageLoadCursor ();
9844 return 0;
9846 _ACEOF
9847 if ac_fn_c_try_link "$LINENO"; then :
9848 case "$LIBEXT" in
9849 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9850 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'` ;;
9851 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9852 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9853 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9854 fi ;;
9855 esac
9857 rm -f core conftest.err conftest.$ac_objext \
9858 conftest$ac_exeext conftest.$ac_ext
9859 LIBS=$ac_check_soname_save_LIBS
9861 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9863 $as_echo "not found" >&6; }
9865 else
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9867 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9869 cat >>confdefs.h <<_ACEOF
9870 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9871 _ACEOF
9876 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9877 case "x$with_xcursor" in
9878 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9879 xno) ;;
9880 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9881 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9882 esac
9886 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9887 then
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9889 $as_echo_n "checking for -lXi... " >&6; }
9890 if ${ac_cv_lib_soname_Xi+:} false; then :
9891 $as_echo_n "(cached) " >&6
9892 else
9893 ac_check_soname_save_LIBS=$LIBS
9894 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9896 /* end confdefs.h. */
9898 /* Override any GCC internal prototype to avoid an error.
9899 Use char because int might match the return type of a GCC
9900 builtin and then its argument prototype would still apply. */
9901 #ifdef __cplusplus
9902 extern "C"
9903 #endif
9904 char XOpenDevice ();
9906 main ()
9908 return XOpenDevice ();
9910 return 0;
9912 _ACEOF
9913 if ac_fn_c_try_link "$LINENO"; then :
9914 case "$LIBEXT" in
9915 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9916 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'` ;;
9917 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9918 if ${ac_cv_lib_soname_Xi:+false} :; then :
9919 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9920 fi ;;
9921 esac
9923 rm -f core conftest.err conftest.$ac_objext \
9924 conftest$ac_exeext conftest.$ac_ext
9925 LIBS=$ac_check_soname_save_LIBS
9927 if ${ac_cv_lib_soname_Xi:+false} :; then :
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9929 $as_echo "not found" >&6; }
9931 else
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9933 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9935 cat >>confdefs.h <<_ACEOF
9936 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9937 _ACEOF
9942 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9943 case "x$with_xinput" in
9944 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9945 xno) ;;
9946 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9947 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9948 esac
9952 if test "x$ac_cv_lib_soname_Xi" != x
9953 then
9954 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9955 case "x$with_xinput2" in
9956 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9957 xno) ;;
9958 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9959 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9960 esac
9965 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9966 then
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9968 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9969 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9970 $as_echo_n "(cached) " >&6
9971 else
9972 ac_check_lib_save_LIBS=$LIBS
9973 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9975 /* end confdefs.h. */
9977 /* Override any GCC internal prototype to avoid an error.
9978 Use char because int might match the return type of a GCC
9979 builtin and then its argument prototype would still apply. */
9980 #ifdef __cplusplus
9981 extern "C"
9982 #endif
9983 char XShmQueryExtension ();
9985 main ()
9987 return XShmQueryExtension ();
9989 return 0;
9991 _ACEOF
9992 if ac_fn_c_try_link "$LINENO"; then :
9993 ac_cv_lib_Xext_XShmQueryExtension=yes
9994 else
9995 ac_cv_lib_Xext_XShmQueryExtension=no
9997 rm -f core conftest.err conftest.$ac_objext \
9998 conftest$ac_exeext conftest.$ac_ext
9999 LIBS=$ac_check_lib_save_LIBS
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10002 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10003 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10005 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10010 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10011 case "x$with_xshm" in
10012 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10013 xno) ;;
10014 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10015 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10016 esac
10020 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10021 then
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10023 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10024 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10025 $as_echo_n "(cached) " >&6
10026 else
10027 ac_check_lib_save_LIBS=$LIBS
10028 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10030 /* end confdefs.h. */
10032 /* Override any GCC internal prototype to avoid an error.
10033 Use char because int might match the return type of a GCC
10034 builtin and then its argument prototype would still apply. */
10035 #ifdef __cplusplus
10036 extern "C"
10037 #endif
10038 char XShapeQueryExtension ();
10040 main ()
10042 return XShapeQueryExtension ();
10044 return 0;
10046 _ACEOF
10047 if ac_fn_c_try_link "$LINENO"; then :
10048 ac_cv_lib_Xext_XShapeQueryExtension=yes
10049 else
10050 ac_cv_lib_Xext_XShapeQueryExtension=no
10052 rm -f core conftest.err conftest.$ac_objext \
10053 conftest$ac_exeext conftest.$ac_ext
10054 LIBS=$ac_check_lib_save_LIBS
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10057 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10058 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10060 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10065 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10066 case "x$with_xshape" in
10067 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10068 xno) ;;
10069 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10070 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10071 esac
10075 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10076 then
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10078 $as_echo_n "checking for -lXxf86vm... " >&6; }
10079 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10080 $as_echo_n "(cached) " >&6
10081 else
10082 ac_check_soname_save_LIBS=$LIBS
10083 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10085 /* end confdefs.h. */
10087 /* Override any GCC internal prototype to avoid an error.
10088 Use char because int might match the return type of a GCC
10089 builtin and then its argument prototype would still apply. */
10090 #ifdef __cplusplus
10091 extern "C"
10092 #endif
10093 char XF86VidModeQueryExtension ();
10095 main ()
10097 return XF86VidModeQueryExtension ();
10099 return 0;
10101 _ACEOF
10102 if ac_fn_c_try_link "$LINENO"; then :
10103 case "$LIBEXT" in
10104 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10105 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'` ;;
10106 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10107 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10108 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10109 fi ;;
10110 esac
10112 rm -f core conftest.err conftest.$ac_objext \
10113 conftest$ac_exeext conftest.$ac_ext
10114 LIBS=$ac_check_soname_save_LIBS
10116 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10118 $as_echo "not found" >&6; }
10120 else
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10122 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10124 cat >>confdefs.h <<_ACEOF
10125 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10126 _ACEOF
10131 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10132 case "x$with_xxf86vm" in
10133 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10134 xno) ;;
10135 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10136 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10137 esac
10141 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10142 then
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10144 $as_echo_n "checking for -lXrender... " >&6; }
10145 if ${ac_cv_lib_soname_Xrender+:} false; then :
10146 $as_echo_n "(cached) " >&6
10147 else
10148 ac_check_soname_save_LIBS=$LIBS
10149 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10151 /* end confdefs.h. */
10153 /* Override any GCC internal prototype to avoid an error.
10154 Use char because int might match the return type of a GCC
10155 builtin and then its argument prototype would still apply. */
10156 #ifdef __cplusplus
10157 extern "C"
10158 #endif
10159 char XRenderQueryExtension ();
10161 main ()
10163 return XRenderQueryExtension ();
10165 return 0;
10167 _ACEOF
10168 if ac_fn_c_try_link "$LINENO"; then :
10169 case "$LIBEXT" in
10170 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10171 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'` ;;
10172 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10173 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10174 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10175 fi ;;
10176 esac
10178 rm -f core conftest.err conftest.$ac_objext \
10179 conftest$ac_exeext conftest.$ac_ext
10180 LIBS=$ac_check_soname_save_LIBS
10182 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10184 $as_echo "not found" >&6; }
10186 else
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10188 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10190 cat >>confdefs.h <<_ACEOF
10191 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10192 _ACEOF
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10195 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10196 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10197 $as_echo_n "(cached) " >&6
10198 else
10199 ac_check_lib_save_LIBS=$LIBS
10200 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10204 /* Override any GCC internal prototype to avoid an error.
10205 Use char because int might match the return type of a GCC
10206 builtin and then its argument prototype would still apply. */
10207 #ifdef __cplusplus
10208 extern "C"
10209 #endif
10210 char XRenderSetPictureTransform ();
10212 main ()
10214 return XRenderSetPictureTransform ();
10216 return 0;
10218 _ACEOF
10219 if ac_fn_c_try_link "$LINENO"; then :
10220 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10221 else
10222 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10224 rm -f core conftest.err conftest.$ac_objext \
10225 conftest$ac_exeext conftest.$ac_ext
10226 LIBS=$ac_check_lib_save_LIBS
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10229 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10230 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10232 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10237 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10238 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10239 $as_echo_n "(cached) " >&6
10240 else
10241 ac_check_lib_save_LIBS=$LIBS
10242 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10246 /* Override any GCC internal prototype to avoid an error.
10247 Use char because int might match the return type of a GCC
10248 builtin and then its argument prototype would still apply. */
10249 #ifdef __cplusplus
10250 extern "C"
10251 #endif
10252 char XRenderCreateLinearGradient ();
10254 main ()
10256 return XRenderCreateLinearGradient ();
10258 return 0;
10260 _ACEOF
10261 if ac_fn_c_try_link "$LINENO"; then :
10262 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10263 else
10264 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10266 rm -f core conftest.err conftest.$ac_objext \
10267 conftest$ac_exeext conftest.$ac_ext
10268 LIBS=$ac_check_lib_save_LIBS
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10271 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10272 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10274 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10281 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10282 case "x$with_xrender" in
10283 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10284 xno) ;;
10285 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10286 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10287 esac
10291 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10292 then
10293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10294 /* end confdefs.h. */
10295 #include <X11/Xlib.h>
10296 #include <X11/extensions/Xrandr.h>
10298 main ()
10300 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10302 return 0;
10304 _ACEOF
10305 if ac_fn_c_try_compile "$LINENO"; then :
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10307 $as_echo_n "checking for -lXrandr... " >&6; }
10308 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10309 $as_echo_n "(cached) " >&6
10310 else
10311 ac_check_soname_save_LIBS=$LIBS
10312 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10316 /* Override any GCC internal prototype to avoid an error.
10317 Use char because int might match the return type of a GCC
10318 builtin and then its argument prototype would still apply. */
10319 #ifdef __cplusplus
10320 extern "C"
10321 #endif
10322 char XRRQueryExtension ();
10324 main ()
10326 return XRRQueryExtension ();
10328 return 0;
10330 _ACEOF
10331 if ac_fn_c_try_link "$LINENO"; then :
10332 case "$LIBEXT" in
10333 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10334 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'` ;;
10335 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10336 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10337 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10338 fi ;;
10339 esac
10341 rm -f core conftest.err conftest.$ac_objext \
10342 conftest$ac_exeext conftest.$ac_ext
10343 LIBS=$ac_check_soname_save_LIBS
10345 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10347 $as_echo "not found" >&6; }
10349 else
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10351 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10353 cat >>confdefs.h <<_ACEOF
10354 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10355 _ACEOF
10357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10359 #include <X11/Xlib.h>
10360 #include <X11/extensions/Xrandr.h>
10362 main ()
10364 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10366 return 0;
10368 _ACEOF
10369 if ac_fn_c_try_compile "$LINENO"; then :
10371 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10379 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10380 case "x$with_xrandr" in
10381 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10382 xno) ;;
10383 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10384 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10385 esac
10389 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10390 then
10391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10392 /* end confdefs.h. */
10393 #include <X11/Xlib.h>
10394 #include <X11/extensions/Xfixes.h>
10396 main ()
10398 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10400 return 0;
10402 _ACEOF
10403 if ac_fn_c_try_compile "$LINENO"; then :
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10405 $as_echo_n "checking for -lXfixes... " >&6; }
10406 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10407 $as_echo_n "(cached) " >&6
10408 else
10409 ac_check_soname_save_LIBS=$LIBS
10410 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10412 /* end confdefs.h. */
10414 /* Override any GCC internal prototype to avoid an error.
10415 Use char because int might match the return type of a GCC
10416 builtin and then its argument prototype would still apply. */
10417 #ifdef __cplusplus
10418 extern "C"
10419 #endif
10420 char XFixesQueryVersion ();
10422 main ()
10424 return XFixesQueryVersion ();
10426 return 0;
10428 _ACEOF
10429 if ac_fn_c_try_link "$LINENO"; then :
10430 case "$LIBEXT" in
10431 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10432 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'` ;;
10433 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10434 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10435 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10436 fi ;;
10437 esac
10439 rm -f core conftest.err conftest.$ac_objext \
10440 conftest$ac_exeext conftest.$ac_ext
10441 LIBS=$ac_check_soname_save_LIBS
10443 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10445 $as_echo "not found" >&6; }
10447 else
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10449 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10451 cat >>confdefs.h <<_ACEOF
10452 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10453 _ACEOF
10458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10460 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10461 case "x$with_xfixes" in
10462 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10463 xno) ;;
10464 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10465 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10466 esac
10470 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10471 then
10472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10473 /* end confdefs.h. */
10474 #include <X11/Xlib.h>
10475 #include <X11/extensions/Xinerama.h>
10477 main ()
10479 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10481 return 0;
10483 _ACEOF
10484 if ac_fn_c_try_compile "$LINENO"; then :
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10486 $as_echo_n "checking for -lXinerama... " >&6; }
10487 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10488 $as_echo_n "(cached) " >&6
10489 else
10490 ac_check_soname_save_LIBS=$LIBS
10491 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10493 /* end confdefs.h. */
10495 /* Override any GCC internal prototype to avoid an error.
10496 Use char because int might match the return type of a GCC
10497 builtin and then its argument prototype would still apply. */
10498 #ifdef __cplusplus
10499 extern "C"
10500 #endif
10501 char XineramaQueryScreens ();
10503 main ()
10505 return XineramaQueryScreens ();
10507 return 0;
10509 _ACEOF
10510 if ac_fn_c_try_link "$LINENO"; then :
10511 case "$LIBEXT" in
10512 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10513 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'` ;;
10514 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10515 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10516 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10517 fi ;;
10518 esac
10520 rm -f core conftest.err conftest.$ac_objext \
10521 conftest$ac_exeext conftest.$ac_ext
10522 LIBS=$ac_check_soname_save_LIBS
10524 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10526 $as_echo "not found" >&6; }
10528 else
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10530 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10532 cat >>confdefs.h <<_ACEOF
10533 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10534 _ACEOF
10539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10541 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10542 case "x$with_xinerama" in
10543 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10544 xno) ;;
10545 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10546 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10547 esac
10551 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10552 then
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10554 $as_echo_n "checking for -lXcomposite... " >&6; }
10555 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10556 $as_echo_n "(cached) " >&6
10557 else
10558 ac_check_soname_save_LIBS=$LIBS
10559 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10561 /* end confdefs.h. */
10563 /* Override any GCC internal prototype to avoid an error.
10564 Use char because int might match the return type of a GCC
10565 builtin and then its argument prototype would still apply. */
10566 #ifdef __cplusplus
10567 extern "C"
10568 #endif
10569 char XCompositeRedirectWindow ();
10571 main ()
10573 return XCompositeRedirectWindow ();
10575 return 0;
10577 _ACEOF
10578 if ac_fn_c_try_link "$LINENO"; then :
10579 case "$LIBEXT" in
10580 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10581 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'` ;;
10582 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10583 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10584 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10585 fi ;;
10586 esac
10588 rm -f core conftest.err conftest.$ac_objext \
10589 conftest$ac_exeext conftest.$ac_ext
10590 LIBS=$ac_check_soname_save_LIBS
10592 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10594 $as_echo "not found" >&6; }
10596 else
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10598 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10600 cat >>confdefs.h <<_ACEOF
10601 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10602 _ACEOF
10607 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10608 case "x$with_xcomposite" in
10609 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10610 xno) ;;
10611 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10612 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10613 esac
10617 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10618 #include <X11/Xlib.h>
10619 #endif
10621 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10623 cat >>confdefs.h <<_ACEOF
10624 #define HAVE_XICCALLBACK_CALLBACK 1
10625 _ACEOF
10629 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10630 #include <X11/Xlib.h>
10631 #endif
10633 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10635 cat >>confdefs.h <<_ACEOF
10636 #define HAVE_XEVENT_XCOOKIE 1
10637 _ACEOF
10644 opengl_msg=""
10645 if test "x$with_opengl" != "xno"
10646 then
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10648 $as_echo_n "checking for -lGL... " >&6; }
10649 if ${ac_cv_lib_soname_GL+:} false; then :
10650 $as_echo_n "(cached) " >&6
10651 else
10652 ac_check_soname_save_LIBS=$LIBS
10653 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10655 /* end confdefs.h. */
10657 /* Override any GCC internal prototype to avoid an error.
10658 Use char because int might match the return type of a GCC
10659 builtin and then its argument prototype would still apply. */
10660 #ifdef __cplusplus
10661 extern "C"
10662 #endif
10663 char glXCreateContext ();
10665 main ()
10667 return glXCreateContext ();
10669 return 0;
10671 _ACEOF
10672 if ac_fn_c_try_link "$LINENO"; then :
10673 case "$LIBEXT" in
10674 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10675 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'` ;;
10676 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10677 if ${ac_cv_lib_soname_GL:+false} :; then :
10678 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10679 fi ;;
10680 esac
10682 rm -f core conftest.err conftest.$ac_objext \
10683 conftest$ac_exeext conftest.$ac_ext
10684 LIBS=$ac_check_soname_save_LIBS
10686 if ${ac_cv_lib_soname_GL:+false} :; then :
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10688 $as_echo "not found" >&6; }
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10690 $as_echo_n "checking for -lGL... " >&6; }
10691 if ${ac_cv_lib_soname_GL+:} false; then :
10692 $as_echo_n "(cached) " >&6
10693 else
10694 ac_check_soname_save_LIBS=$LIBS
10695 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"
10696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10697 /* end confdefs.h. */
10699 /* Override any GCC internal prototype to avoid an error.
10700 Use char because int might match the return type of a GCC
10701 builtin and then its argument prototype would still apply. */
10702 #ifdef __cplusplus
10703 extern "C"
10704 #endif
10705 char glXCreateContext ();
10707 main ()
10709 return glXCreateContext ();
10711 return 0;
10713 _ACEOF
10714 if ac_fn_c_try_link "$LINENO"; then :
10715 case "$LIBEXT" in
10716 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10717 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'` ;;
10718 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10719 if ${ac_cv_lib_soname_GL:+false} :; then :
10720 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10721 fi ;;
10722 esac
10724 rm -f core conftest.err conftest.$ac_objext \
10725 conftest$ac_exeext conftest.$ac_ext
10726 LIBS=$ac_check_soname_save_LIBS
10728 if ${ac_cv_lib_soname_GL:+false} :; then :
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10730 $as_echo "not found" >&6; }
10731 if test -f /usr/X11R6/lib/libGL.a
10732 then
10733 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10734 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10735 else
10736 opengl_msg="No OpenGL library found on this system."
10738 else
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10740 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10742 cat >>confdefs.h <<_ACEOF
10743 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10744 _ACEOF
10746 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"
10748 else
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10750 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10752 cat >>confdefs.h <<_ACEOF
10753 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10754 _ACEOF
10756 OPENGL_LIBS="-lGL"
10758 if test "x$with_glu" != "xno"
10759 then
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10761 $as_echo_n "checking for -lGLU... " >&6; }
10762 if ${ac_cv_lib_soname_GLU+:} false; then :
10763 $as_echo_n "(cached) " >&6
10764 else
10765 ac_check_soname_save_LIBS=$LIBS
10766 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10768 /* end confdefs.h. */
10770 /* Override any GCC internal prototype to avoid an error.
10771 Use char because int might match the return type of a GCC
10772 builtin and then its argument prototype would still apply. */
10773 #ifdef __cplusplus
10774 extern "C"
10775 #endif
10776 char gluLookAt ();
10778 main ()
10780 return gluLookAt ();
10782 return 0;
10784 _ACEOF
10785 if ac_fn_c_try_link "$LINENO"; then :
10786 case "$LIBEXT" in
10787 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10788 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'` ;;
10789 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10790 if ${ac_cv_lib_soname_GLU:+false} :; then :
10791 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10792 fi ;;
10793 esac
10795 rm -f core conftest.err conftest.$ac_objext \
10796 conftest$ac_exeext conftest.$ac_ext
10797 LIBS=$ac_check_soname_save_LIBS
10799 if ${ac_cv_lib_soname_GLU:+false} :; then :
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10801 $as_echo "not found" >&6; }
10803 else
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10805 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10807 cat >>confdefs.h <<_ACEOF
10808 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10809 _ACEOF
10813 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10814 case "x$with_glu" in
10815 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10816 xno) ;;
10817 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10818 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10819 esac
10824 if test "x$with_osmesa" != "xno"
10825 then
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10827 $as_echo_n "checking for -lOSMesa... " >&6; }
10828 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10829 $as_echo_n "(cached) " >&6
10830 else
10831 ac_check_soname_save_LIBS=$LIBS
10832 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h. */
10836 /* Override any GCC internal prototype to avoid an error.
10837 Use char because int might match the return type of a GCC
10838 builtin and then its argument prototype would still apply. */
10839 #ifdef __cplusplus
10840 extern "C"
10841 #endif
10842 char OSMesaGetProcAddress ();
10844 main ()
10846 return OSMesaGetProcAddress ();
10848 return 0;
10850 _ACEOF
10851 if ac_fn_c_try_link "$LINENO"; then :
10852 case "$LIBEXT" in
10853 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10854 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'` ;;
10855 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10856 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10857 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10858 fi ;;
10859 esac
10861 rm -f core conftest.err conftest.$ac_objext \
10862 conftest$ac_exeext conftest.$ac_ext
10863 LIBS=$ac_check_soname_save_LIBS
10865 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10867 $as_echo "not found" >&6; }
10869 else
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10871 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10873 cat >>confdefs.h <<_ACEOF
10874 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10875 _ACEOF
10879 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10880 case "x$with_osmesa" in
10881 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10882 xno) ;;
10883 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10884 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10885 esac
10890 if test -n "$opengl_msg"; then :
10891 case "x$with_opengl" in
10892 x) as_fn_append wine_warnings "|$opengl_msg
10893 OpenGL and Direct3D won't be supported." ;;
10894 xno) ;;
10895 *) as_fn_error $? "$opengl_msg
10896 OpenGL and Direct3D won't be supported.
10897 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10898 esac
10902 CPPFLAGS="$ac_save_CPPFLAGS"
10903 else
10904 X_CFLAGS=""
10905 X_LIBS=""
10908 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10909 then
10910 if test "x$X_LIBS" = "x"; then :
10911 case "x$with_x" in
10912 xno) ;;
10913 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10914 without X support, which probably isn't what you want. You will need
10915 to install ${notice_platform}development packages of Xlib at the very least.
10916 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10917 esac
10918 enable_winex11_drv=${enable_winex11_drv:-no}
10920 else
10921 if test "x$X_LIBS" = "x"; then :
10922 case "x$with_x" in
10923 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10924 xno) ;;
10925 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10926 This is an error since --with-x was requested." "$LINENO" 5 ;;
10927 esac
10928 enable_winex11_drv=${enable_winex11_drv:-no}
10932 if test "$ac_cv_header_CL_cl_h" = "yes"
10933 then
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10935 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10936 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10937 $as_echo_n "(cached) " >&6
10938 else
10939 ac_check_lib_save_LIBS=$LIBS
10940 LIBS="-lOpenCL $LIBS"
10941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10942 /* end confdefs.h. */
10944 /* Override any GCC internal prototype to avoid an error.
10945 Use char because int might match the return type of a GCC
10946 builtin and then its argument prototype would still apply. */
10947 #ifdef __cplusplus
10948 extern "C"
10949 #endif
10950 char clGetPlatformInfo ();
10952 main ()
10954 return clGetPlatformInfo ();
10956 return 0;
10958 _ACEOF
10959 if ac_fn_c_try_link "$LINENO"; then :
10960 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10961 else
10962 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10964 rm -f core conftest.err conftest.$ac_objext \
10965 conftest$ac_exeext conftest.$ac_ext
10966 LIBS=$ac_check_lib_save_LIBS
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10969 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10970 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10971 OPENCL_LIBS="-lOpenCL"
10976 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10977 case "x$with_opencl" in
10978 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10979 xno) ;;
10980 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10981 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10982 esac
10983 enable_opencl=${enable_opencl:-no}
10986 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10987 then
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10989 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10990 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10991 $as_echo_n "(cached) " >&6
10992 else
10993 ac_check_lib_save_LIBS=$LIBS
10994 LIBS="-lpcap $LIBS"
10995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10996 /* end confdefs.h. */
10998 /* Override any GCC internal prototype to avoid an error.
10999 Use char because int might match the return type of a GCC
11000 builtin and then its argument prototype would still apply. */
11001 #ifdef __cplusplus
11002 extern "C"
11003 #endif
11004 char pcap_create ();
11006 main ()
11008 return pcap_create ();
11010 return 0;
11012 _ACEOF
11013 if ac_fn_c_try_link "$LINENO"; then :
11014 ac_cv_lib_pcap_pcap_create=yes
11015 else
11016 ac_cv_lib_pcap_pcap_create=no
11018 rm -f core conftest.err conftest.$ac_objext \
11019 conftest$ac_exeext conftest.$ac_ext
11020 LIBS=$ac_check_lib_save_LIBS
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11023 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11024 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11025 PCAP_LIBS="-lpcap"
11030 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11031 case "x$with_pcap" in
11032 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11033 xno) ;;
11034 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11035 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11036 esac
11037 enable_wpcap=${enable_wpcap:-no}
11041 if test "x$with_xml" != "xno"
11042 then
11043 if ${XML2_CFLAGS:+false} :; then :
11044 if ${PKG_CONFIG+:} false; then :
11045 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11048 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11049 if ${XML2_LIBS:+false} :; then :
11050 if ${PKG_CONFIG+:} false; then :
11051 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11054 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11055 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11056 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11057 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11058 ac_save_CPPFLAGS=$CPPFLAGS
11059 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11060 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11061 do :
11062 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11063 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11064 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11065 cat >>confdefs.h <<_ACEOF
11066 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11067 _ACEOF
11071 done
11073 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"
11074 then
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11076 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11077 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11078 $as_echo_n "(cached) " >&6
11079 else
11080 ac_check_lib_save_LIBS=$LIBS
11081 LIBS="-lxml2 $XML2_LIBS $LIBS"
11082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11083 /* end confdefs.h. */
11085 /* Override any GCC internal prototype to avoid an error.
11086 Use char because int might match the return type of a GCC
11087 builtin and then its argument prototype would still apply. */
11088 #ifdef __cplusplus
11089 extern "C"
11090 #endif
11091 char xmlParseMemory ();
11093 main ()
11095 return xmlParseMemory ();
11097 return 0;
11099 _ACEOF
11100 if ac_fn_c_try_link "$LINENO"; then :
11101 ac_cv_lib_xml2_xmlParseMemory=yes
11102 else
11103 ac_cv_lib_xml2_xmlParseMemory=no
11105 rm -f core conftest.err conftest.$ac_objext \
11106 conftest$ac_exeext conftest.$ac_ext
11107 LIBS=$ac_check_lib_save_LIBS
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11110 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11111 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11113 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11115 else
11116 XML2_LIBS=""
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11120 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11121 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11122 $as_echo_n "(cached) " >&6
11123 else
11124 ac_check_lib_save_LIBS=$LIBS
11125 LIBS="-lxml2 $XML2_LIBS $LIBS"
11126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11127 /* end confdefs.h. */
11129 /* Override any GCC internal prototype to avoid an error.
11130 Use char because int might match the return type of a GCC
11131 builtin and then its argument prototype would still apply. */
11132 #ifdef __cplusplus
11133 extern "C"
11134 #endif
11135 char xmlReadMemory ();
11137 main ()
11139 return xmlReadMemory ();
11141 return 0;
11143 _ACEOF
11144 if ac_fn_c_try_link "$LINENO"; then :
11145 ac_cv_lib_xml2_xmlReadMemory=yes
11146 else
11147 ac_cv_lib_xml2_xmlReadMemory=no
11149 rm -f core conftest.err conftest.$ac_objext \
11150 conftest$ac_exeext conftest.$ac_ext
11151 LIBS=$ac_check_lib_save_LIBS
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11154 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11155 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11157 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11162 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11163 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11164 $as_echo_n "(cached) " >&6
11165 else
11166 ac_check_lib_save_LIBS=$LIBS
11167 LIBS="-lxml2 $XML2_LIBS $LIBS"
11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h. */
11171 /* Override any GCC internal prototype to avoid an error.
11172 Use char because int might match the return type of a GCC
11173 builtin and then its argument prototype would still apply. */
11174 #ifdef __cplusplus
11175 extern "C"
11176 #endif
11177 char xmlNewDocPI ();
11179 main ()
11181 return xmlNewDocPI ();
11183 return 0;
11185 _ACEOF
11186 if ac_fn_c_try_link "$LINENO"; then :
11187 ac_cv_lib_xml2_xmlNewDocPI=yes
11188 else
11189 ac_cv_lib_xml2_xmlNewDocPI=no
11191 rm -f core conftest.err conftest.$ac_objext \
11192 conftest$ac_exeext conftest.$ac_ext
11193 LIBS=$ac_check_lib_save_LIBS
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11196 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11197 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11199 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11204 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11205 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11206 $as_echo_n "(cached) " >&6
11207 else
11208 ac_check_lib_save_LIBS=$LIBS
11209 LIBS="-lxml2 $XML2_LIBS $LIBS"
11210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h. */
11213 /* Override any GCC internal prototype to avoid an error.
11214 Use char because int might match the return type of a GCC
11215 builtin and then its argument prototype would still apply. */
11216 #ifdef __cplusplus
11217 extern "C"
11218 #endif
11219 char xmlSchemaSetParserStructuredErrors ();
11221 main ()
11223 return xmlSchemaSetParserStructuredErrors ();
11225 return 0;
11227 _ACEOF
11228 if ac_fn_c_try_link "$LINENO"; then :
11229 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11230 else
11231 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11233 rm -f core conftest.err conftest.$ac_objext \
11234 conftest$ac_exeext conftest.$ac_ext
11235 LIBS=$ac_check_lib_save_LIBS
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11238 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11239 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11241 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11246 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11247 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11248 $as_echo_n "(cached) " >&6
11249 else
11250 ac_check_lib_save_LIBS=$LIBS
11251 LIBS="-lxml2 $XML2_LIBS $LIBS"
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11255 /* Override any GCC internal prototype to avoid an error.
11256 Use char because int might match the return type of a GCC
11257 builtin and then its argument prototype would still apply. */
11258 #ifdef __cplusplus
11259 extern "C"
11260 #endif
11261 char xmlSchemaSetValidStructuredErrors ();
11263 main ()
11265 return xmlSchemaSetValidStructuredErrors ();
11267 return 0;
11269 _ACEOF
11270 if ac_fn_c_try_link "$LINENO"; then :
11271 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11272 else
11273 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11275 rm -f core conftest.err conftest.$ac_objext \
11276 conftest$ac_exeext conftest.$ac_ext
11277 LIBS=$ac_check_lib_save_LIBS
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11280 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11281 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11283 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11288 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11289 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11290 $as_echo_n "(cached) " >&6
11291 else
11292 ac_check_lib_save_LIBS=$LIBS
11293 LIBS="-lxml2 $XML2_LIBS $LIBS"
11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h. */
11297 /* Override any GCC internal prototype to avoid an error.
11298 Use char because int might match the return type of a GCC
11299 builtin and then its argument prototype would still apply. */
11300 #ifdef __cplusplus
11301 extern "C"
11302 #endif
11303 char xmlFirstElementChild ();
11305 main ()
11307 return xmlFirstElementChild ();
11309 return 0;
11311 _ACEOF
11312 if ac_fn_c_try_link "$LINENO"; then :
11313 ac_cv_lib_xml2_xmlFirstElementChild=yes
11314 else
11315 ac_cv_lib_xml2_xmlFirstElementChild=no
11317 rm -f core conftest.err conftest.$ac_objext \
11318 conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_lib_save_LIBS
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11322 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11323 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11325 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11329 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11331 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11333 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11337 else
11338 XML2_CFLAGS=""
11339 XML2_LIBS=""
11341 CPPFLAGS=$ac_save_CPPFLAGS
11342 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11343 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11346 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11347 case "x$with_xml" in
11348 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11349 xno) ;;
11350 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11351 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11352 esac
11356 if test "x$with_xslt" != "xno"
11357 then
11358 if ${XSLT_CFLAGS:+false} :; then :
11359 if ${PKG_CONFIG+:} false; then :
11360 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11363 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11364 if ${XSLT_LIBS:+false} :; then :
11365 if ${PKG_CONFIG+:} false; then :
11366 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11369 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11370 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11371 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11372 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11373 ac_save_CPPFLAGS=$CPPFLAGS
11374 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11375 for ac_header in libxslt/pattern.h libxslt/transform.h
11376 do :
11377 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11378 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11379 # include <libxslt/pattern.h>
11380 #endif
11382 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11383 cat >>confdefs.h <<_ACEOF
11384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11385 _ACEOF
11389 done
11391 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11392 then
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11394 $as_echo_n "checking for -lxslt... " >&6; }
11395 if ${ac_cv_lib_soname_xslt+:} false; then :
11396 $as_echo_n "(cached) " >&6
11397 else
11398 ac_check_soname_save_LIBS=$LIBS
11399 LIBS="-lxslt $XSLT_LIBS $LIBS"
11400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11401 /* end confdefs.h. */
11403 /* Override any GCC internal prototype to avoid an error.
11404 Use char because int might match the return type of a GCC
11405 builtin and then its argument prototype would still apply. */
11406 #ifdef __cplusplus
11407 extern "C"
11408 #endif
11409 char xsltCompilePattern ();
11411 main ()
11413 return xsltCompilePattern ();
11415 return 0;
11417 _ACEOF
11418 if ac_fn_c_try_link "$LINENO"; then :
11419 case "$LIBEXT" in
11420 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11421 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'` ;;
11422 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11423 if ${ac_cv_lib_soname_xslt:+false} :; then :
11424 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11425 fi ;;
11426 esac
11428 rm -f core conftest.err conftest.$ac_objext \
11429 conftest$ac_exeext conftest.$ac_ext
11430 LIBS=$ac_check_soname_save_LIBS
11432 if ${ac_cv_lib_soname_xslt:+false} :; then :
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11434 $as_echo "not found" >&6; }
11436 else
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11438 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11440 cat >>confdefs.h <<_ACEOF
11441 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11442 _ACEOF
11446 else
11447 XSLT_CFLAGS=""
11449 CPPFLAGS=$ac_save_CPPFLAGS
11450 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11451 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11454 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11455 case "x$with_xslt" in
11456 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11457 xno) ;;
11458 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11459 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11460 esac
11464 if test "x$with_dbus" != "xno"
11465 then
11466 if ${DBUS_CFLAGS:+false} :; then :
11467 if ${PKG_CONFIG+:} false; then :
11468 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11472 if ${DBUS_LIBS:+false} :; then :
11473 if ${PKG_CONFIG+:} false; then :
11474 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11479 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11480 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11481 ac_save_CPPFLAGS=$CPPFLAGS
11482 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11483 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11484 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11486 $as_echo_n "checking for -ldbus-1... " >&6; }
11487 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11488 $as_echo_n "(cached) " >&6
11489 else
11490 ac_check_soname_save_LIBS=$LIBS
11491 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11493 /* end confdefs.h. */
11495 /* Override any GCC internal prototype to avoid an error.
11496 Use char because int might match the return type of a GCC
11497 builtin and then its argument prototype would still apply. */
11498 #ifdef __cplusplus
11499 extern "C"
11500 #endif
11501 char dbus_connection_close ();
11503 main ()
11505 return dbus_connection_close ();
11507 return 0;
11509 _ACEOF
11510 if ac_fn_c_try_link "$LINENO"; then :
11511 case "$LIBEXT" in
11512 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11513 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'` ;;
11514 *) 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'`
11515 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11516 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11517 fi ;;
11518 esac
11520 rm -f core conftest.err conftest.$ac_objext \
11521 conftest$ac_exeext conftest.$ac_ext
11522 LIBS=$ac_check_soname_save_LIBS
11524 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11526 $as_echo "not found" >&6; }
11527 DBUS_CFLAGS=""
11528 else
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11530 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11532 cat >>confdefs.h <<_ACEOF
11533 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11534 _ACEOF
11538 else
11539 DBUS_CFLAGS=""
11543 CPPFLAGS=$ac_save_CPPFLAGS
11544 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11545 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11548 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11549 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11550 case "x$with_dbus" in
11551 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11552 xno) ;;
11553 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11554 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11555 esac
11559 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11560 then
11561 if ${HAL_CFLAGS:+false} :; then :
11562 if ${PKG_CONFIG+:} false; then :
11563 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11567 if ${HAL_LIBS:+false} :; then :
11568 if ${PKG_CONFIG+:} false; then :
11569 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11573 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11574 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11575 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11576 ac_save_CPPFLAGS=$CPPFLAGS
11577 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11578 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11579 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11581 $as_echo_n "checking for -lhal... " >&6; }
11582 if ${ac_cv_lib_soname_hal+:} false; then :
11583 $as_echo_n "(cached) " >&6
11584 else
11585 ac_check_soname_save_LIBS=$LIBS
11586 LIBS="-lhal $HAL_LIBS $LIBS"
11587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11588 /* end confdefs.h. */
11590 /* Override any GCC internal prototype to avoid an error.
11591 Use char because int might match the return type of a GCC
11592 builtin and then its argument prototype would still apply. */
11593 #ifdef __cplusplus
11594 extern "C"
11595 #endif
11596 char libhal_ctx_new ();
11598 main ()
11600 return libhal_ctx_new ();
11602 return 0;
11604 _ACEOF
11605 if ac_fn_c_try_link "$LINENO"; then :
11606 case "$LIBEXT" in
11607 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11608 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'` ;;
11609 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11610 if ${ac_cv_lib_soname_hal:+false} :; then :
11611 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11612 fi ;;
11613 esac
11615 rm -f core conftest.err conftest.$ac_objext \
11616 conftest$ac_exeext conftest.$ac_ext
11617 LIBS=$ac_check_soname_save_LIBS
11619 if ${ac_cv_lib_soname_hal:+false} :; then :
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11621 $as_echo "not found" >&6; }
11622 HAL_CFLAGS=""
11623 else
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11625 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11627 cat >>confdefs.h <<_ACEOF
11628 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11629 _ACEOF
11633 else
11634 HAL_CFLAGS=""
11638 CPPFLAGS=$ac_save_CPPFLAGS
11639 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11640 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11642 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11643 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11644 case "x$with_hal" in
11645 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11646 xno) ;;
11647 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11648 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11649 esac
11654 if test "x$with_gnutls" != "xno"
11655 then
11656 if ${GNUTLS_CFLAGS:+false} :; then :
11657 if ${PKG_CONFIG+:} false; then :
11658 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11662 if ${GNUTLS_LIBS:+false} :; then :
11663 if ${PKG_CONFIG+:} false; then :
11664 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11669 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11670 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11671 ac_save_CPPFLAGS=$CPPFLAGS
11672 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11673 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11674 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11676 /* end confdefs.h. */
11677 #include <gnutls/gnutls.h>
11678 #include <gnutls/crypto.h>
11680 main ()
11682 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11684 return 0;
11686 _ACEOF
11687 if ac_fn_c_try_compile "$LINENO"; then :
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11689 $as_echo_n "checking for -lgnutls... " >&6; }
11690 if ${ac_cv_lib_soname_gnutls+:} false; then :
11691 $as_echo_n "(cached) " >&6
11692 else
11693 ac_check_soname_save_LIBS=$LIBS
11694 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11696 /* end confdefs.h. */
11698 /* Override any GCC internal prototype to avoid an error.
11699 Use char because int might match the return type of a GCC
11700 builtin and then its argument prototype would still apply. */
11701 #ifdef __cplusplus
11702 extern "C"
11703 #endif
11704 char gnutls_global_init ();
11706 main ()
11708 return gnutls_global_init ();
11710 return 0;
11712 _ACEOF
11713 if ac_fn_c_try_link "$LINENO"; then :
11714 case "$LIBEXT" in
11715 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11716 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'` ;;
11717 *) 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'`
11718 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11719 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'`
11720 fi ;;
11721 esac
11723 rm -f core conftest.err conftest.$ac_objext \
11724 conftest$ac_exeext conftest.$ac_ext
11725 LIBS=$ac_check_soname_save_LIBS
11727 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11729 $as_echo "not found" >&6; }
11730 GNUTLS_CFLAGS=""
11731 else
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11733 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11735 cat >>confdefs.h <<_ACEOF
11736 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11737 _ACEOF
11741 ac_wine_check_funcs_save_LIBS="$LIBS"
11742 LIBS="$LIBS $GNUTLS_LIBS"
11743 for ac_func in gnutls_cipher_init
11744 do :
11745 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11746 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11747 cat >>confdefs.h <<_ACEOF
11748 #define HAVE_GNUTLS_CIPHER_INIT 1
11749 _ACEOF
11751 else
11752 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11754 done
11756 LIBS="$ac_wine_check_funcs_save_LIBS"
11758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11759 else
11760 GNUTLS_CFLAGS=""
11764 CPPFLAGS=$ac_save_CPPFLAGS
11765 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11766 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11769 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11770 case "x$with_gnutls" in
11771 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11772 xno) ;;
11773 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11774 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11775 esac
11779 CURSES_LIBS=""
11780 if test "$ac_cv_header_ncurses_h" = "yes"
11781 then
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11783 $as_echo_n "checking for -lncurses... " >&6; }
11784 if ${ac_cv_lib_soname_ncurses+:} false; then :
11785 $as_echo_n "(cached) " >&6
11786 else
11787 ac_check_soname_save_LIBS=$LIBS
11788 LIBS="-lncurses $LIBS"
11789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11790 /* end confdefs.h. */
11792 /* Override any GCC internal prototype to avoid an error.
11793 Use char because int might match the return type of a GCC
11794 builtin and then its argument prototype would still apply. */
11795 #ifdef __cplusplus
11796 extern "C"
11797 #endif
11798 char waddch ();
11800 main ()
11802 return waddch ();
11804 return 0;
11806 _ACEOF
11807 if ac_fn_c_try_link "$LINENO"; then :
11808 case "$LIBEXT" in
11809 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11810 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'` ;;
11811 *) 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'`
11812 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11813 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11814 fi ;;
11815 esac
11817 rm -f core conftest.err conftest.$ac_objext \
11818 conftest$ac_exeext conftest.$ac_ext
11819 LIBS=$ac_check_soname_save_LIBS
11821 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11823 $as_echo "not found" >&6; }
11825 else
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11827 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11829 cat >>confdefs.h <<_ACEOF
11830 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11831 _ACEOF
11833 CURSES_LIBS="-lncurses"
11835 elif test "$ac_cv_header_curses_h" = "yes"
11836 then
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11838 $as_echo_n "checking for -lcurses... " >&6; }
11839 if ${ac_cv_lib_soname_curses+:} false; then :
11840 $as_echo_n "(cached) " >&6
11841 else
11842 ac_check_soname_save_LIBS=$LIBS
11843 LIBS="-lcurses $LIBS"
11844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11845 /* end confdefs.h. */
11847 /* Override any GCC internal prototype to avoid an error.
11848 Use char because int might match the return type of a GCC
11849 builtin and then its argument prototype would still apply. */
11850 #ifdef __cplusplus
11851 extern "C"
11852 #endif
11853 char waddch ();
11855 main ()
11857 return waddch ();
11859 return 0;
11861 _ACEOF
11862 if ac_fn_c_try_link "$LINENO"; then :
11863 case "$LIBEXT" in
11864 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11865 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'` ;;
11866 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11867 if ${ac_cv_lib_soname_curses:+false} :; then :
11868 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11869 fi ;;
11870 esac
11872 rm -f core conftest.err conftest.$ac_objext \
11873 conftest$ac_exeext conftest.$ac_ext
11874 LIBS=$ac_check_soname_save_LIBS
11876 if ${ac_cv_lib_soname_curses:+false} :; then :
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11878 $as_echo "not found" >&6; }
11880 else
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11882 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11884 cat >>confdefs.h <<_ACEOF
11885 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11886 _ACEOF
11888 CURSES_LIBS="-lcurses"
11891 ac_save_LIBS="$LIBS"
11892 LIBS="$LIBS $CURSES_LIBS"
11893 for ac_func in mousemask
11894 do :
11895 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11896 if test "x$ac_cv_func_mousemask" = xyes; then :
11897 cat >>confdefs.h <<_ACEOF
11898 #define HAVE_MOUSEMASK 1
11899 _ACEOF
11902 done
11904 LIBS="$ac_save_LIBS"
11905 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11906 case "x$with_curses" in
11907 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11908 xno) ;;
11909 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11910 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11911 esac
11915 if test "x$with_sane" != "xno"
11916 then
11917 if ${SANE_CFLAGS:+false} :; then :
11918 if ${PKG_CONFIG+:} false; then :
11919 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11922 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11923 if ${SANE_LIBS:+false} :; then :
11924 if ${PKG_CONFIG+:} false; then :
11925 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11928 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11930 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11931 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11932 ac_save_CPPFLAGS=$CPPFLAGS
11933 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11934 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11935 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11937 $as_echo_n "checking for -lsane... " >&6; }
11938 if ${ac_cv_lib_soname_sane+:} false; then :
11939 $as_echo_n "(cached) " >&6
11940 else
11941 ac_check_soname_save_LIBS=$LIBS
11942 LIBS="-lsane $SANE_LIBS $LIBS"
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11946 /* Override any GCC internal prototype to avoid an error.
11947 Use char because int might match the return type of a GCC
11948 builtin and then its argument prototype would still apply. */
11949 #ifdef __cplusplus
11950 extern "C"
11951 #endif
11952 char sane_init ();
11954 main ()
11956 return sane_init ();
11958 return 0;
11960 _ACEOF
11961 if ac_fn_c_try_link "$LINENO"; then :
11962 case "$LIBEXT" in
11963 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11964 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'` ;;
11965 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11966 if ${ac_cv_lib_soname_sane:+false} :; then :
11967 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11968 fi ;;
11969 esac
11971 rm -f core conftest.err conftest.$ac_objext \
11972 conftest$ac_exeext conftest.$ac_ext
11973 LIBS=$ac_check_soname_save_LIBS
11975 if ${ac_cv_lib_soname_sane:+false} :; then :
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11977 $as_echo "not found" >&6; }
11978 SANE_CFLAGS=""
11979 else
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11981 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11983 cat >>confdefs.h <<_ACEOF
11984 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11985 _ACEOF
11989 else
11990 SANE_CFLAGS=""
11994 CPPFLAGS=$ac_save_CPPFLAGS
11995 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11996 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11999 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12000 case "x$with_sane" in
12001 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12002 xno) ;;
12003 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12004 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12005 esac
12009 if test "x$with_v4l" != "xno"
12010 then
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12012 $as_echo_n "checking for -lv4l1... " >&6; }
12013 if ${ac_cv_lib_soname_v4l1+:} false; then :
12014 $as_echo_n "(cached) " >&6
12015 else
12016 ac_check_soname_save_LIBS=$LIBS
12017 LIBS="-lv4l1 $LIBS"
12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12021 /* Override any GCC internal prototype to avoid an error.
12022 Use char because int might match the return type of a GCC
12023 builtin and then its argument prototype would still apply. */
12024 #ifdef __cplusplus
12025 extern "C"
12026 #endif
12027 char v4l1_open ();
12029 main ()
12031 return v4l1_open ();
12033 return 0;
12035 _ACEOF
12036 if ac_fn_c_try_link "$LINENO"; then :
12037 case "$LIBEXT" in
12038 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12039 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'` ;;
12040 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12041 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12042 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12043 fi ;;
12044 esac
12046 rm -f core conftest.err conftest.$ac_objext \
12047 conftest$ac_exeext conftest.$ac_ext
12048 LIBS=$ac_check_soname_save_LIBS
12050 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12052 $as_echo "not found" >&6; }
12054 else
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12056 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12058 cat >>confdefs.h <<_ACEOF
12059 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12060 _ACEOF
12065 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12066 case "x$with_v4l" in
12067 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12068 xno) ;;
12069 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12070 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12071 esac
12075 if test "x$with_gphoto" != "xno"
12076 then
12077 if ${GPHOTO2_CFLAGS:+false} :; then :
12078 if ${PKG_CONFIG+:} false; then :
12079 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12082 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12083 if ${GPHOTO2_LIBS:+false} :; then :
12084 if ${PKG_CONFIG+:} false; then :
12085 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12088 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12089 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12090 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12091 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12092 ac_save_CPPFLAGS=$CPPFLAGS
12093 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12094 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12095 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12097 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12098 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12099 $as_echo_n "(cached) " >&6
12100 else
12101 ac_check_lib_save_LIBS=$LIBS
12102 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12106 /* Override any GCC internal prototype to avoid an error.
12107 Use char because int might match the return type of a GCC
12108 builtin and then its argument prototype would still apply. */
12109 #ifdef __cplusplus
12110 extern "C"
12111 #endif
12112 char gp_camera_new ();
12114 main ()
12116 return gp_camera_new ();
12118 return 0;
12120 _ACEOF
12121 if ac_fn_c_try_link "$LINENO"; then :
12122 ac_cv_lib_gphoto2_gp_camera_new=yes
12123 else
12124 ac_cv_lib_gphoto2_gp_camera_new=no
12126 rm -f core conftest.err conftest.$ac_objext \
12127 conftest$ac_exeext conftest.$ac_ext
12128 LIBS=$ac_check_lib_save_LIBS
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12131 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12132 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12134 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12136 else
12137 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12140 else
12141 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12145 CPPFLAGS=$ac_save_CPPFLAGS
12146 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12147 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12149 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12150 if ${PKG_CONFIG+:} false; then :
12151 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12154 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12155 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12156 if ${PKG_CONFIG+:} false; then :
12157 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12160 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12161 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12162 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12163 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12164 ac_save_CPPFLAGS=$CPPFLAGS
12165 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12166 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12167 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12169 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12170 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12171 $as_echo_n "(cached) " >&6
12172 else
12173 ac_check_lib_save_LIBS=$LIBS
12174 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12176 /* end confdefs.h. */
12178 /* Override any GCC internal prototype to avoid an error.
12179 Use char because int might match the return type of a GCC
12180 builtin and then its argument prototype would still apply. */
12181 #ifdef __cplusplus
12182 extern "C"
12183 #endif
12184 char gp_port_info_list_new ();
12186 main ()
12188 return gp_port_info_list_new ();
12190 return 0;
12192 _ACEOF
12193 if ac_fn_c_try_link "$LINENO"; then :
12194 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12195 else
12196 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12198 rm -f core conftest.err conftest.$ac_objext \
12199 conftest$ac_exeext conftest.$ac_ext
12200 LIBS=$ac_check_lib_save_LIBS
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12203 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12204 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12206 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12208 else
12209 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12212 else
12213 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12217 CPPFLAGS=$ac_save_CPPFLAGS
12218 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12219 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12222 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12223 case "x$with_gphoto" in
12224 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12225 xno) ;;
12226 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12227 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12228 esac
12231 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12232 case "x$with_gphoto" in
12233 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12234 xno) ;;
12235 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12236 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12237 esac
12242 if test "$ac_cv_header_resolv_h" = "yes"
12243 then
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12245 $as_echo_n "checking for resolver library... " >&6; }
12246 if ${ac_cv_have_resolv+:} false; then :
12247 $as_echo_n "(cached) " >&6
12248 else
12249 ac_save_LIBS="$LIBS"
12250 for lib in '' -lresolv
12252 LIBS="$lib $ac_save_LIBS"
12253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12254 /* end confdefs.h. */
12255 #ifdef HAVE_NETINET_IN_H
12256 #include <netinet/in.h>
12257 #endif
12258 #include <resolv.h>
12260 main ()
12262 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12264 return 0;
12266 _ACEOF
12267 if ac_fn_c_try_link "$LINENO"; then :
12268 ac_cv_have_resolv=${lib:-"none required"}
12269 else
12270 ac_cv_have_resolv="not found"
12272 rm -f core conftest.err conftest.$ac_objext \
12273 conftest$ac_exeext conftest.$ac_ext
12274 test "x$ac_cv_have_resolv" = "xnot found" || break
12275 done
12276 LIBS="$ac_save_LIBS"
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12279 $as_echo "$ac_cv_have_resolv" >&6; }
12281 case "$ac_cv_have_resolv" in
12282 "not found") ;;
12283 "none required")
12285 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12288 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12290 RESOLV_LIBS=$ac_cv_have_resolv
12292 esac
12295 if test "x$with_cms" != "xno"
12296 then
12297 if ${LCMS2_CFLAGS:+false} :; then :
12298 if ${PKG_CONFIG+:} false; then :
12299 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12303 if ${LCMS2_LIBS:+false} :; then :
12304 if ${PKG_CONFIG+:} false; then :
12305 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12309 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12310 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12311 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12312 ac_save_CPPFLAGS=$CPPFLAGS
12313 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12314 for ac_header in lcms2.h
12315 do :
12316 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12317 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12318 cat >>confdefs.h <<_ACEOF
12319 #define HAVE_LCMS2_H 1
12320 _ACEOF
12324 done
12326 if test "$ac_cv_header_lcms2_h" = "yes"
12327 then
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12329 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12330 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12331 $as_echo_n "(cached) " >&6
12332 else
12333 ac_check_lib_save_LIBS=$LIBS
12334 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12338 /* Override any GCC internal prototype to avoid an error.
12339 Use char because int might match the return type of a GCC
12340 builtin and then its argument prototype would still apply. */
12341 #ifdef __cplusplus
12342 extern "C"
12343 #endif
12344 char cmsOpenProfileFromFile ();
12346 main ()
12348 return cmsOpenProfileFromFile ();
12350 return 0;
12352 _ACEOF
12353 if ac_fn_c_try_link "$LINENO"; then :
12354 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12355 else
12356 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12358 rm -f core conftest.err conftest.$ac_objext \
12359 conftest$ac_exeext conftest.$ac_ext
12360 LIBS=$ac_check_lib_save_LIBS
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12363 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12364 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12366 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12368 else
12369 LCMS2_LIBS=""
12372 else
12373 LCMS2_CFLAGS=""
12374 LCMS2_LIBS=""
12376 CPPFLAGS=$ac_save_CPPFLAGS
12377 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12378 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12381 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12382 case "x$with_cms" in
12383 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12384 xno) ;;
12385 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12386 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12387 esac
12391 if test "x$with_freetype" != "xno"
12392 then
12393 if ${FREETYPE_CFLAGS:+false} :; then :
12394 if ${PKG_CONFIG+:} false; then :
12395 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12398 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12399 if ${FREETYPE_LIBS:+false} :; then :
12400 if ${PKG_CONFIG+:} false; then :
12401 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12404 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12405 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12406 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12407 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12408 ac_save_CPPFLAGS=$CPPFLAGS
12409 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12410 for ac_header in ft2build.h
12411 do :
12412 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12413 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12414 cat >>confdefs.h <<_ACEOF
12415 #define HAVE_FT2BUILD_H 1
12416 _ACEOF
12420 done
12422 if test "$ac_cv_header_ft2build_h" = "yes"
12423 then
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12425 $as_echo_n "checking for -lfreetype... " >&6; }
12426 if ${ac_cv_lib_soname_freetype+:} false; then :
12427 $as_echo_n "(cached) " >&6
12428 else
12429 ac_check_soname_save_LIBS=$LIBS
12430 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h. */
12434 /* Override any GCC internal prototype to avoid an error.
12435 Use char because int might match the return type of a GCC
12436 builtin and then its argument prototype would still apply. */
12437 #ifdef __cplusplus
12438 extern "C"
12439 #endif
12440 char FT_Init_FreeType ();
12442 main ()
12444 return FT_Init_FreeType ();
12446 return 0;
12448 _ACEOF
12449 if ac_fn_c_try_link "$LINENO"; then :
12450 case "$LIBEXT" in
12451 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12452 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'` ;;
12453 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12454 if ${ac_cv_lib_soname_freetype:+false} :; then :
12455 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12456 fi ;;
12457 esac
12459 rm -f core conftest.err conftest.$ac_objext \
12460 conftest$ac_exeext conftest.$ac_ext
12461 LIBS=$ac_check_soname_save_LIBS
12463 if ${ac_cv_lib_soname_freetype:+false} :; then :
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12465 $as_echo "not found" >&6; }
12466 FREETYPE_LIBS=""
12467 else
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12469 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12471 cat >>confdefs.h <<_ACEOF
12472 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12473 _ACEOF
12476 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12478 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12479 #include FT_MODULE_H
12481 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12483 cat >>confdefs.h <<_ACEOF
12484 #define HAVE_FT_TRUETYPEENGINETYPE 1
12485 _ACEOF
12491 else
12492 FREETYPE_CFLAGS=""
12493 FREETYPE_LIBS=""
12495 CPPFLAGS=$ac_save_CPPFLAGS
12496 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12497 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12500 if test "x$ac_cv_lib_soname_freetype" = x; then :
12501 case "x$with_freetype" in
12502 xno) ;;
12503 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12504 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12505 esac
12506 enable_fonts=${enable_fonts:-no}
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12510 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12511 if ${ac_cv_c_ppdev+:} false; then :
12512 $as_echo_n "(cached) " >&6
12513 else
12514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12515 /* end confdefs.h. */
12516 #ifdef HAVE_SYS_IOCTL_H
12517 # include <sys/ioctl.h>
12518 #endif
12519 #include <linux/ppdev.h>
12521 main ()
12523 ioctl (1,PPCLAIM,0)
12525 return 0;
12527 _ACEOF
12528 if ac_fn_c_try_compile "$LINENO"; then :
12529 ac_cv_c_ppdev="yes"
12530 else
12531 ac_cv_c_ppdev="no"
12533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12536 $as_echo "$ac_cv_c_ppdev" >&6; }
12537 if test "$ac_cv_c_ppdev" = "yes"
12538 then
12540 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12544 ac_wine_check_funcs_save_LIBS="$LIBS"
12545 LIBS="$LIBS $PTHREAD_LIBS"
12546 for ac_func in \
12547 pthread_attr_get_np \
12548 pthread_getattr_np \
12549 pthread_getthreadid_np \
12550 pthread_get_stackaddr_np \
12551 pthread_get_stacksize_np
12552 do :
12553 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12554 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12555 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12556 cat >>confdefs.h <<_ACEOF
12557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12558 _ACEOF
12561 done
12563 LIBS="$ac_wine_check_funcs_save_LIBS"
12565 if test "$ac_cv_header_zlib_h" = "yes"
12566 then
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12568 $as_echo_n "checking for inflate in -lz... " >&6; }
12569 if ${ac_cv_lib_z_inflate+:} false; then :
12570 $as_echo_n "(cached) " >&6
12571 else
12572 ac_check_lib_save_LIBS=$LIBS
12573 LIBS="-lz $LIBS"
12574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12577 /* Override any GCC internal prototype to avoid an error.
12578 Use char because int might match the return type of a GCC
12579 builtin and then its argument prototype would still apply. */
12580 #ifdef __cplusplus
12581 extern "C"
12582 #endif
12583 char inflate ();
12585 main ()
12587 return inflate ();
12589 return 0;
12591 _ACEOF
12592 if ac_fn_c_try_link "$LINENO"; then :
12593 ac_cv_lib_z_inflate=yes
12594 else
12595 ac_cv_lib_z_inflate=no
12597 rm -f core conftest.err conftest.$ac_objext \
12598 conftest$ac_exeext conftest.$ac_ext
12599 LIBS=$ac_check_lib_save_LIBS
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12602 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12603 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12605 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12607 Z_LIBS="-lz"
12612 if test "x$Z_LIBS" = "x"; then :
12613 case "x$with_zlib" in
12614 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12615 xno) ;;
12616 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12617 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12618 esac
12622 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12623 then
12624 if test "$ac_cv_header_gettext_po_h" = "yes"
12625 then
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12627 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12628 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12629 $as_echo_n "(cached) " >&6
12630 else
12631 ac_check_lib_save_LIBS=$LIBS
12632 LIBS="-lgettextpo $LIBS"
12633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12634 /* end confdefs.h. */
12636 /* Override any GCC internal prototype to avoid an error.
12637 Use char because int might match the return type of a GCC
12638 builtin and then its argument prototype would still apply. */
12639 #ifdef __cplusplus
12640 extern "C"
12641 #endif
12642 char po_message_msgctxt ();
12644 main ()
12646 return po_message_msgctxt ();
12648 return 0;
12650 _ACEOF
12651 if ac_fn_c_try_link "$LINENO"; then :
12652 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12653 else
12654 ac_cv_lib_gettextpo_po_message_msgctxt=no
12656 rm -f core conftest.err conftest.$ac_objext \
12657 conftest$ac_exeext conftest.$ac_ext
12658 LIBS=$ac_check_lib_save_LIBS
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12661 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12662 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12664 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12666 GETTEXTPO_LIBS="-lgettextpo"
12671 if test "x$GETTEXTPO_LIBS" = "x"; then :
12672 case "x$with_gettextpo" in
12673 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12674 xno) ;;
12675 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12676 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12677 esac
12680 if test "$srcdir" != .; then :
12681 case "x$with_gettextpo" in
12682 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12683 xno) ;;
12684 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12685 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12686 esac
12691 if test "x$with_pulse" != "xno";
12692 then
12693 if ${PULSE_CFLAGS:+false} :; then :
12694 if ${PKG_CONFIG+:} false; then :
12695 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12699 if ${PULSE_LIBS:+false} :; then :
12700 if ${PKG_CONFIG+:} false; then :
12701 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12706 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12707 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12708 ac_save_CPPFLAGS=$CPPFLAGS
12709 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12710 for ac_header in pulse/pulseaudio.h
12711 do :
12712 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12713 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12714 cat >>confdefs.h <<_ACEOF
12715 #define HAVE_PULSE_PULSEAUDIO_H 1
12716 _ACEOF
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12718 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12719 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12720 $as_echo_n "(cached) " >&6
12721 else
12722 ac_check_lib_save_LIBS=$LIBS
12723 LIBS="-lpulse $PULSE_LIBS $LIBS"
12724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12725 /* end confdefs.h. */
12727 /* Override any GCC internal prototype to avoid an error.
12728 Use char because int might match the return type of a GCC
12729 builtin and then its argument prototype would still apply. */
12730 #ifdef __cplusplus
12731 extern "C"
12732 #endif
12733 char pa_stream_is_corked ();
12735 main ()
12737 return pa_stream_is_corked ();
12739 return 0;
12741 _ACEOF
12742 if ac_fn_c_try_link "$LINENO"; then :
12743 ac_cv_lib_pulse_pa_stream_is_corked=yes
12744 else
12745 ac_cv_lib_pulse_pa_stream_is_corked=no
12747 rm -f core conftest.err conftest.$ac_objext \
12748 conftest$ac_exeext conftest.$ac_ext
12749 LIBS=$ac_check_lib_save_LIBS
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12752 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12753 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12755 else
12756 PULSE_LIBS=""
12759 else
12760 PULSE_LIBS=""
12763 done
12765 CPPFLAGS=$ac_save_CPPFLAGS
12766 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12767 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12770 if test -z "$PULSE_LIBS"; then :
12771 case "x$with_pulse" in
12772 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12773 xno) ;;
12774 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12775 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12776 esac
12777 enable_winepulse_drv=${enable_winepulse_drv:-no}
12780 if test "x$with_gstreamer" != "xno"
12781 then
12782 if ${GSTREAMER_CFLAGS:+false} :; then :
12783 if ${PKG_CONFIG+:} false; then :
12784 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12788 if ${GSTREAMER_LIBS:+false} :; then :
12789 if ${PKG_CONFIG+:} false; then :
12790 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12795 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12796 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12797 ac_save_CPPFLAGS=$CPPFLAGS
12798 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12799 ac_gst_incl=""
12800 for i in $GSTREAMER_CFLAGS
12802 case "$i" in
12803 -I*) ac_gst_incl="$ac_gst_incl $i";;
12804 esac
12805 done
12806 GSTREAMER_CFLAGS=$ac_gst_incl
12807 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12808 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12809 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12811 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12813 /* end confdefs.h. */
12814 #include <gst/gst.h>
12816 main ()
12818 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12820 return 0;
12822 _ACEOF
12823 if ac_fn_c_try_compile "$LINENO"; then :
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12825 $as_echo "yes" >&6; }
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12827 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12828 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12829 $as_echo_n "(cached) " >&6
12830 else
12831 ac_check_lib_save_LIBS=$LIBS
12832 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12834 /* end confdefs.h. */
12836 /* Override any GCC internal prototype to avoid an error.
12837 Use char because int might match the return type of a GCC
12838 builtin and then its argument prototype would still apply. */
12839 #ifdef __cplusplus
12840 extern "C"
12841 #endif
12842 char gst_pad_new ();
12844 main ()
12846 return gst_pad_new ();
12848 return 0;
12850 _ACEOF
12851 if ac_fn_c_try_link "$LINENO"; then :
12852 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12853 else
12854 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12856 rm -f core conftest.err conftest.$ac_objext \
12857 conftest$ac_exeext conftest.$ac_ext
12858 LIBS=$ac_check_lib_save_LIBS
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12861 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12862 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12866 else
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12868 $as_echo "no" >&6; }
12869 ac_glib2_broken=yes
12870 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12876 CPPFLAGS=$ac_save_CPPFLAGS
12877 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12878 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12881 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 :
12882 case "x$with_gstreamer" in
12883 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12884 xno) ;;
12885 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12886 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12887 esac
12890 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12892 ALSA_LIBS=""
12894 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12895 then
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12897 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12898 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12899 $as_echo_n "(cached) " >&6
12900 else
12901 ac_check_lib_save_LIBS=$LIBS
12902 LIBS="-lasound $LIBS"
12903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12904 /* end confdefs.h. */
12906 /* Override any GCC internal prototype to avoid an error.
12907 Use char because int might match the return type of a GCC
12908 builtin and then its argument prototype would still apply. */
12909 #ifdef __cplusplus
12910 extern "C"
12911 #endif
12912 char snd_pcm_hw_params_get_access_mask ();
12914 main ()
12916 return snd_pcm_hw_params_get_access_mask ();
12918 return 0;
12920 _ACEOF
12921 if ac_fn_c_try_link "$LINENO"; then :
12922 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12923 else
12924 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12926 rm -f core conftest.err conftest.$ac_objext \
12927 conftest$ac_exeext conftest.$ac_ext
12928 LIBS=$ac_check_lib_save_LIBS
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12931 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12932 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12934 /* end confdefs.h. */
12935 #ifdef HAVE_ALSA_ASOUNDLIB_H
12936 #include <alsa/asoundlib.h>
12937 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12938 #include <sys/asoundlib.h>
12939 #endif
12941 main ()
12943 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12945 return 0;
12947 _ACEOF
12948 if ac_fn_c_try_compile "$LINENO"; then :
12949 ALSA_LIBS="-lasound"
12951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12955 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12957 if test "x$with_oss" != xno
12958 then
12959 ac_save_CPPFLAGS="$CPPFLAGS"
12960 if test -f /etc/oss.conf
12961 then
12962 . /etc/oss.conf
12964 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12965 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12966 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12967 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12968 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12970 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12972 cat >>confdefs.h <<_ACEOF
12973 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12974 _ACEOF
12976 OSS4_CFLAGS="$ac_oss_incl"
12983 CPPFLAGS="$ac_save_CPPFLAGS"
12985 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12986 case "x$with_oss" in
12987 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12988 xno) ;;
12989 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12990 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12991 esac
12992 enable_wineoss_drv=${enable_wineoss_drv:-no}
12995 if test "x$with_udev" != "xno"
12996 then
12997 if ${UDEV_CFLAGS:+false} :; then :
12998 if ${PKG_CONFIG+:} false; then :
12999 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13003 if ${UDEV_LIBS:+false} :; then :
13004 if ${PKG_CONFIG+:} false; then :
13005 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13009 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13010 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13011 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13012 ac_save_CPPFLAGS=$CPPFLAGS
13013 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13014 for ac_header in libudev.h
13015 do :
13016 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13017 if test "x$ac_cv_header_libudev_h" = xyes; then :
13018 cat >>confdefs.h <<_ACEOF
13019 #define HAVE_LIBUDEV_H 1
13020 _ACEOF
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13022 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13023 if ${ac_cv_lib_udev_udev_new+:} false; then :
13024 $as_echo_n "(cached) " >&6
13025 else
13026 ac_check_lib_save_LIBS=$LIBS
13027 LIBS="-ludev $UDEV_LIBS $LIBS"
13028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h. */
13031 /* Override any GCC internal prototype to avoid an error.
13032 Use char because int might match the return type of a GCC
13033 builtin and then its argument prototype would still apply. */
13034 #ifdef __cplusplus
13035 extern "C"
13036 #endif
13037 char udev_new ();
13039 main ()
13041 return udev_new ();
13043 return 0;
13045 _ACEOF
13046 if ac_fn_c_try_link "$LINENO"; then :
13047 ac_cv_lib_udev_udev_new=yes
13048 else
13049 ac_cv_lib_udev_udev_new=no
13051 rm -f core conftest.err conftest.$ac_objext \
13052 conftest$ac_exeext conftest.$ac_ext
13053 LIBS=$ac_check_lib_save_LIBS
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13056 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13057 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13059 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13061 else
13062 UDEV_LIBS=""
13065 else
13066 UDEV_LIBS=""
13069 done
13071 CPPFLAGS=$ac_save_CPPFLAGS
13072 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13073 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13076 if test "x$UDEV_LIBS" = "x"; then :
13077 case "x$with_udev" in
13078 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13079 xno) ;;
13080 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13081 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13082 esac
13086 if test "x$with_sdl" != "xno"
13087 then
13088 if ${SDL2_CFLAGS:+false} :; then :
13089 if ${PKG_CONFIG+:} false; then :
13090 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13094 if ${SDL2_LIBS:+false} :; then :
13095 if ${PKG_CONFIG+:} false; then :
13096 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13100 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13101 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13102 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13103 ac_save_CPPFLAGS=$CPPFLAGS
13104 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13105 for ac_header in SDL2/SDL.h
13106 do :
13107 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13108 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13109 cat >>confdefs.h <<_ACEOF
13110 #define HAVE_SDL2_SDL_H 1
13111 _ACEOF
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13113 $as_echo_n "checking for -lSDL2... " >&6; }
13114 if ${ac_cv_lib_soname_SDL2+:} false; then :
13115 $as_echo_n "(cached) " >&6
13116 else
13117 ac_check_soname_save_LIBS=$LIBS
13118 LIBS="-lSDL2 $LIBS"
13119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13120 /* end confdefs.h. */
13122 /* Override any GCC internal prototype to avoid an error.
13123 Use char because int might match the return type of a GCC
13124 builtin and then its argument prototype would still apply. */
13125 #ifdef __cplusplus
13126 extern "C"
13127 #endif
13128 char SDL_Init ();
13130 main ()
13132 return SDL_Init ();
13134 return 0;
13136 _ACEOF
13137 if ac_fn_c_try_link "$LINENO"; then :
13138 case "$LIBEXT" in
13139 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13140 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'` ;;
13141 *) 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'`
13142 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13143 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13144 fi ;;
13145 esac
13147 rm -f core conftest.err conftest.$ac_objext \
13148 conftest$ac_exeext conftest.$ac_ext
13149 LIBS=$ac_check_soname_save_LIBS
13151 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13153 $as_echo "not found" >&6; }
13155 else
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13157 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13159 cat >>confdefs.h <<_ACEOF
13160 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13161 _ACEOF
13167 done
13169 CPPFLAGS=$ac_save_CPPFLAGS
13170 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13171 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13174 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13175 case "x$with_sdl" in
13176 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13177 xno) ;;
13178 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13179 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13180 esac
13184 if test "x$with_capi" != "xno"
13185 then
13186 if ${CAPI20_CFLAGS:+false} :; then :
13187 if ${PKG_CONFIG+:} false; then :
13188 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13192 if ${CAPI20_LIBS:+false} :; then :
13193 if ${PKG_CONFIG+:} false; then :
13194 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13199 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13200 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13201 ac_save_CPPFLAGS=$CPPFLAGS
13202 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13203 for ac_header in capi20.h linux/capi.h
13204 do :
13205 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13206 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13208 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13209 cat >>confdefs.h <<_ACEOF
13210 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13211 _ACEOF
13215 done
13217 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13218 then
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13220 $as_echo_n "checking for -lcapi20... " >&6; }
13221 if ${ac_cv_lib_soname_capi20+:} false; then :
13222 $as_echo_n "(cached) " >&6
13223 else
13224 ac_check_soname_save_LIBS=$LIBS
13225 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13227 /* end confdefs.h. */
13229 /* Override any GCC internal prototype to avoid an error.
13230 Use char because int might match the return type of a GCC
13231 builtin and then its argument prototype would still apply. */
13232 #ifdef __cplusplus
13233 extern "C"
13234 #endif
13235 char capi20_register ();
13237 main ()
13239 return capi20_register ();
13241 return 0;
13243 _ACEOF
13244 if ac_fn_c_try_link "$LINENO"; then :
13245 case "$LIBEXT" in
13246 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13247 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'` ;;
13248 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13249 if ${ac_cv_lib_soname_capi20:+false} :; then :
13250 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13251 fi ;;
13252 esac
13254 rm -f core conftest.err conftest.$ac_objext \
13255 conftest$ac_exeext conftest.$ac_ext
13256 LIBS=$ac_check_soname_save_LIBS
13258 if ${ac_cv_lib_soname_capi20:+false} :; then :
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13260 $as_echo "not found" >&6; }
13262 else
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13264 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13266 cat >>confdefs.h <<_ACEOF
13267 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13268 _ACEOF
13273 CPPFLAGS=$ac_save_CPPFLAGS
13274 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13275 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13278 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13279 case "x$with_capi" in
13280 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13281 xno) ;;
13282 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13283 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13284 esac
13288 if test "x$with_cups" != "xno"
13289 then
13290 if ${CUPS_CFLAGS:+false} :; then :
13291 if ${PKG_CONFIG+:} false; then :
13292 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13295 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13296 if ${CUPS_LIBS:+false} :; then :
13297 if ${PKG_CONFIG+:} false; then :
13298 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13301 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13302 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13303 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13304 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13305 ac_save_CPPFLAGS=$CPPFLAGS
13306 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13307 for ac_header in cups/cups.h cups/ppd.h
13308 do :
13309 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13310 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13311 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13312 cat >>confdefs.h <<_ACEOF
13313 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13314 _ACEOF
13318 done
13320 if test "$ac_cv_header_cups_cups_h" = "yes"
13321 then
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13323 $as_echo_n "checking for -lcups... " >&6; }
13324 if ${ac_cv_lib_soname_cups+:} false; then :
13325 $as_echo_n "(cached) " >&6
13326 else
13327 ac_check_soname_save_LIBS=$LIBS
13328 LIBS="-lcups $CUPS_LIBS $LIBS"
13329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13330 /* end confdefs.h. */
13332 /* Override any GCC internal prototype to avoid an error.
13333 Use char because int might match the return type of a GCC
13334 builtin and then its argument prototype would still apply. */
13335 #ifdef __cplusplus
13336 extern "C"
13337 #endif
13338 char cupsGetDefault ();
13340 main ()
13342 return cupsGetDefault ();
13344 return 0;
13346 _ACEOF
13347 if ac_fn_c_try_link "$LINENO"; then :
13348 case "$LIBEXT" in
13349 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13350 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'` ;;
13351 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13352 if ${ac_cv_lib_soname_cups:+false} :; then :
13353 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13354 fi ;;
13355 esac
13357 rm -f core conftest.err conftest.$ac_objext \
13358 conftest$ac_exeext conftest.$ac_ext
13359 LIBS=$ac_check_soname_save_LIBS
13361 if ${ac_cv_lib_soname_cups:+false} :; then :
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13363 $as_echo "not found" >&6; }
13364 CUPS_LIBS=""
13365 else
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13367 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13369 cat >>confdefs.h <<_ACEOF
13370 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13371 _ACEOF
13375 else
13376 CUPS_CFLAGS=""
13377 CUPS_LIBS=""
13379 CPPFLAGS=$ac_save_CPPFLAGS
13380 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13381 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13384 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13385 case "x$with_cups" in
13386 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13387 xno) ;;
13388 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13389 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13390 esac
13394 if test "x$with_fontconfig" != "xno"
13395 then
13396 if ${FONTCONFIG_CFLAGS:+false} :; then :
13397 if ${PKG_CONFIG+:} false; then :
13398 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13401 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13402 if ${FONTCONFIG_LIBS:+false} :; then :
13403 if ${PKG_CONFIG+:} false; then :
13404 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13407 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13409 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13410 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13411 ac_save_CPPFLAGS=$CPPFLAGS
13412 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13413 for ac_header in fontconfig/fontconfig.h
13414 do :
13415 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13416 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13417 cat >>confdefs.h <<_ACEOF
13418 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13419 _ACEOF
13423 done
13425 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13426 then
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13428 $as_echo_n "checking for -lfontconfig... " >&6; }
13429 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13430 $as_echo_n "(cached) " >&6
13431 else
13432 ac_check_soname_save_LIBS=$LIBS
13433 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13435 /* end confdefs.h. */
13437 /* Override any GCC internal prototype to avoid an error.
13438 Use char because int might match the return type of a GCC
13439 builtin and then its argument prototype would still apply. */
13440 #ifdef __cplusplus
13441 extern "C"
13442 #endif
13443 char FcInit ();
13445 main ()
13447 return FcInit ();
13449 return 0;
13451 _ACEOF
13452 if ac_fn_c_try_link "$LINENO"; then :
13453 case "$LIBEXT" in
13454 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13455 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'` ;;
13456 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13457 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13458 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13459 fi ;;
13460 esac
13462 rm -f core conftest.err conftest.$ac_objext \
13463 conftest$ac_exeext conftest.$ac_ext
13464 LIBS=$ac_check_soname_save_LIBS
13466 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13468 $as_echo "not found" >&6; }
13469 FONTCONFIG_CFLAGS=""
13470 else
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13472 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13474 cat >>confdefs.h <<_ACEOF
13475 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13476 _ACEOF
13480 else
13481 FONTCONFIG_CFLAGS=""
13483 CPPFLAGS=$ac_save_CPPFLAGS
13484 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13485 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13488 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13489 case "x$with_fontconfig" in
13490 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13491 xno) ;;
13492 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13493 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13494 esac
13498 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13499 then
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13501 $as_echo_n "checking for -lgsm... " >&6; }
13502 if ${ac_cv_lib_soname_gsm+:} false; then :
13503 $as_echo_n "(cached) " >&6
13504 else
13505 ac_check_soname_save_LIBS=$LIBS
13506 LIBS="-lgsm $LIBS"
13507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13508 /* end confdefs.h. */
13510 /* Override any GCC internal prototype to avoid an error.
13511 Use char because int might match the return type of a GCC
13512 builtin and then its argument prototype would still apply. */
13513 #ifdef __cplusplus
13514 extern "C"
13515 #endif
13516 char gsm_create ();
13518 main ()
13520 return gsm_create ();
13522 return 0;
13524 _ACEOF
13525 if ac_fn_c_try_link "$LINENO"; then :
13526 case "$LIBEXT" in
13527 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13528 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'` ;;
13529 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13530 if ${ac_cv_lib_soname_gsm:+false} :; then :
13531 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13532 fi ;;
13533 esac
13535 rm -f core conftest.err conftest.$ac_objext \
13536 conftest$ac_exeext conftest.$ac_ext
13537 LIBS=$ac_check_soname_save_LIBS
13539 if ${ac_cv_lib_soname_gsm:+false} :; then :
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13541 $as_echo "not found" >&6; }
13543 else
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13545 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13547 cat >>confdefs.h <<_ACEOF
13548 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13549 _ACEOF
13554 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13555 case "x$with_gsm" in
13556 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13557 xno) ;;
13558 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13559 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13560 esac
13564 if test "x$with_krb5" != "xno"
13565 then
13566 if ${KRB5_CFLAGS:+false} :; then :
13567 if ${PKG_CONFIG+:} false; then :
13568 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13571 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13572 if ${KRB5_LIBS:+false} :; then :
13573 if ${PKG_CONFIG+:} false; then :
13574 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13577 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13579 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13580 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13581 ac_save_CPPFLAGS=$CPPFLAGS
13582 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13583 for ac_header in krb5/krb5.h
13584 do :
13585 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13586 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13587 cat >>confdefs.h <<_ACEOF
13588 #define HAVE_KRB5_KRB5_H 1
13589 _ACEOF
13593 done
13595 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13596 then
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13598 $as_echo_n "checking for -lkrb5... " >&6; }
13599 if ${ac_cv_lib_soname_krb5+:} false; then :
13600 $as_echo_n "(cached) " >&6
13601 else
13602 ac_check_soname_save_LIBS=$LIBS
13603 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13605 /* end confdefs.h. */
13607 /* Override any GCC internal prototype to avoid an error.
13608 Use char because int might match the return type of a GCC
13609 builtin and then its argument prototype would still apply. */
13610 #ifdef __cplusplus
13611 extern "C"
13612 #endif
13613 char krb5_init_context ();
13615 main ()
13617 return krb5_init_context ();
13619 return 0;
13621 _ACEOF
13622 if ac_fn_c_try_link "$LINENO"; then :
13623 case "$LIBEXT" in
13624 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13625 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'` ;;
13626 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13627 if ${ac_cv_lib_soname_krb5:+false} :; then :
13628 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13629 fi ;;
13630 esac
13632 rm -f core conftest.err conftest.$ac_objext \
13633 conftest$ac_exeext conftest.$ac_ext
13634 LIBS=$ac_check_soname_save_LIBS
13636 if ${ac_cv_lib_soname_krb5:+false} :; then :
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13638 $as_echo "not found" >&6; }
13639 KRB5_CFLAGS=""
13640 else
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13642 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13644 cat >>confdefs.h <<_ACEOF
13645 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13646 _ACEOF
13650 else
13651 KRB5_CFLAGS=""
13653 CPPFLAGS=$ac_save_CPPFLAGS
13654 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13655 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13657 else
13658 with_gssapi=${with_gssapi:-no}
13660 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13661 case "x$with_krb5" in
13662 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13663 xno) ;;
13664 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13665 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13666 esac
13670 if test "x$with_gssapi" != "xno"
13671 then
13672 if ${GSSAPI_CFLAGS:+false} :; then :
13673 if ${PKG_CONFIG+:} false; then :
13674 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13677 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13678 if ${GSSAPI_LIBS:+false} :; then :
13679 if ${PKG_CONFIG+:} false; then :
13680 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13683 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13685 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13686 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13687 ac_save_CPPFLAGS=$CPPFLAGS
13688 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13689 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13690 do :
13691 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13692 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13693 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13694 cat >>confdefs.h <<_ACEOF
13695 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13696 _ACEOF
13700 done
13702 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13703 then
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13705 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13706 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13707 $as_echo_n "(cached) " >&6
13708 else
13709 ac_check_soname_save_LIBS=$LIBS
13710 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13712 /* end confdefs.h. */
13714 /* Override any GCC internal prototype to avoid an error.
13715 Use char because int might match the return type of a GCC
13716 builtin and then its argument prototype would still apply. */
13717 #ifdef __cplusplus
13718 extern "C"
13719 #endif
13720 char gss_init_sec_context ();
13722 main ()
13724 return gss_init_sec_context ();
13726 return 0;
13728 _ACEOF
13729 if ac_fn_c_try_link "$LINENO"; then :
13730 case "$LIBEXT" in
13731 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13732 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'` ;;
13733 *) 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'`
13734 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13735 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13736 fi ;;
13737 esac
13739 rm -f core conftest.err conftest.$ac_objext \
13740 conftest$ac_exeext conftest.$ac_ext
13741 LIBS=$ac_check_soname_save_LIBS
13743 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13745 $as_echo "not found" >&6; }
13746 GSSAPI_CFLAGS=""
13747 else
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13749 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13751 cat >>confdefs.h <<_ACEOF
13752 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13753 _ACEOF
13757 else
13758 GSSAPI_CFLAGS=""
13760 CPPFLAGS=$ac_save_CPPFLAGS
13761 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13762 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13765 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13766 case "x$with_gssapi" in
13767 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13768 xno) ;;
13769 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13770 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13771 esac
13775 if test "x$with_jpeg" != "xno"
13776 then
13777 if ${JPEG_CFLAGS:+false} :; then :
13778 if ${PKG_CONFIG+:} false; then :
13779 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13783 if ${JPEG_LIBS:+false} :; then :
13784 if ${PKG_CONFIG+:} false; then :
13785 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13790 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13791 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13792 ac_save_CPPFLAGS=$CPPFLAGS
13793 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13794 for ac_header in jpeglib.h
13795 do :
13796 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13797 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13798 cat >>confdefs.h <<_ACEOF
13799 #define HAVE_JPEGLIB_H 1
13800 _ACEOF
13804 done
13806 if test "$ac_cv_header_jpeglib_h" = "yes"
13807 then
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13809 $as_echo_n "checking for -ljpeg... " >&6; }
13810 if ${ac_cv_lib_soname_jpeg+:} false; then :
13811 $as_echo_n "(cached) " >&6
13812 else
13813 ac_check_soname_save_LIBS=$LIBS
13814 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13816 /* end confdefs.h. */
13818 /* Override any GCC internal prototype to avoid an error.
13819 Use char because int might match the return type of a GCC
13820 builtin and then its argument prototype would still apply. */
13821 #ifdef __cplusplus
13822 extern "C"
13823 #endif
13824 char jpeg_start_decompress ();
13826 main ()
13828 return jpeg_start_decompress ();
13830 return 0;
13832 _ACEOF
13833 if ac_fn_c_try_link "$LINENO"; then :
13834 case "$LIBEXT" in
13835 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13836 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'` ;;
13837 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13838 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13839 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13840 fi ;;
13841 esac
13843 rm -f core conftest.err conftest.$ac_objext \
13844 conftest$ac_exeext conftest.$ac_ext
13845 LIBS=$ac_check_soname_save_LIBS
13847 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13849 $as_echo "not found" >&6; }
13850 JPEG_CFLAGS=""
13851 else
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13853 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13855 cat >>confdefs.h <<_ACEOF
13856 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13857 _ACEOF
13861 else
13862 JPEG_CFLAGS=""
13864 CPPFLAGS=$ac_save_CPPFLAGS
13865 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13866 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13869 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13870 case "x$with_jpeg" in
13871 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13872 xno) ;;
13873 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13874 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13875 esac
13879 if test "x$with_png" != "xno"
13880 then
13881 if ${PNG_CFLAGS:+false} :; then :
13882 if ${PKG_CONFIG+:} false; then :
13883 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13886 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13887 if ${PNG_LIBS:+false} :; then :
13888 if ${PKG_CONFIG+:} false; then :
13889 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13892 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13894 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13895 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13896 ac_save_CPPFLAGS=$CPPFLAGS
13897 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13898 for ac_header in png.h
13899 do :
13900 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13901 if test "x$ac_cv_header_png_h" = xyes; then :
13902 cat >>confdefs.h <<_ACEOF
13903 #define HAVE_PNG_H 1
13904 _ACEOF
13908 done
13910 if test "$ac_cv_header_png_h" = "yes"
13911 then
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13913 $as_echo_n "checking for -lpng... " >&6; }
13914 if ${ac_cv_lib_soname_png+:} false; then :
13915 $as_echo_n "(cached) " >&6
13916 else
13917 ac_check_soname_save_LIBS=$LIBS
13918 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13920 /* end confdefs.h. */
13922 /* Override any GCC internal prototype to avoid an error.
13923 Use char because int might match the return type of a GCC
13924 builtin and then its argument prototype would still apply. */
13925 #ifdef __cplusplus
13926 extern "C"
13927 #endif
13928 char png_create_read_struct ();
13930 main ()
13932 return png_create_read_struct ();
13934 return 0;
13936 _ACEOF
13937 if ac_fn_c_try_link "$LINENO"; then :
13938 case "$LIBEXT" in
13939 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13940 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'` ;;
13941 *) 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'`
13942 if ${ac_cv_lib_soname_png:+false} :; then :
13943 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13944 fi ;;
13945 esac
13947 rm -f core conftest.err conftest.$ac_objext \
13948 conftest$ac_exeext conftest.$ac_ext
13949 LIBS=$ac_check_soname_save_LIBS
13951 if ${ac_cv_lib_soname_png:+false} :; then :
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13953 $as_echo "not found" >&6; }
13954 PNG_CFLAGS=""
13955 else
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13957 $as_echo "$ac_cv_lib_soname_png" >&6; }
13959 cat >>confdefs.h <<_ACEOF
13960 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13961 _ACEOF
13965 else
13966 PNG_CFLAGS=""
13968 CPPFLAGS=$ac_save_CPPFLAGS
13969 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13970 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13973 if test "x$ac_cv_lib_soname_png" = "x"; then :
13974 case "x$with_png" in
13975 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13976 xno) ;;
13977 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13978 This is an error since --with-png was requested." "$LINENO" 5 ;;
13979 esac
13983 if test "x$with_tiff" != "xno"
13984 then
13985 if ${TIFF_CFLAGS:+false} :; then :
13986 if ${PKG_CONFIG+:} false; then :
13987 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13991 if ${TIFF_LIBS:+false} :; then :
13992 if ${PKG_CONFIG+:} false; then :
13993 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13998 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13999 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14000 ac_save_CPPFLAGS=$CPPFLAGS
14001 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14002 for ac_header in tiffio.h
14003 do :
14004 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14005 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14006 cat >>confdefs.h <<_ACEOF
14007 #define HAVE_TIFFIO_H 1
14008 _ACEOF
14012 done
14014 if test "$ac_cv_header_tiffio_h" = "yes"
14015 then
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14017 $as_echo_n "checking for -ltiff... " >&6; }
14018 if ${ac_cv_lib_soname_tiff+:} false; then :
14019 $as_echo_n "(cached) " >&6
14020 else
14021 ac_check_soname_save_LIBS=$LIBS
14022 LIBS="-ltiff $TIFF_LIBS $LIBS"
14023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14024 /* end confdefs.h. */
14026 /* Override any GCC internal prototype to avoid an error.
14027 Use char because int might match the return type of a GCC
14028 builtin and then its argument prototype would still apply. */
14029 #ifdef __cplusplus
14030 extern "C"
14031 #endif
14032 char TIFFClientOpen ();
14034 main ()
14036 return TIFFClientOpen ();
14038 return 0;
14040 _ACEOF
14041 if ac_fn_c_try_link "$LINENO"; then :
14042 case "$LIBEXT" in
14043 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14044 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'` ;;
14045 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14046 if ${ac_cv_lib_soname_tiff:+false} :; then :
14047 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14048 fi ;;
14049 esac
14051 rm -f core conftest.err conftest.$ac_objext \
14052 conftest$ac_exeext conftest.$ac_ext
14053 LIBS=$ac_check_soname_save_LIBS
14055 if ${ac_cv_lib_soname_tiff:+false} :; then :
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14057 $as_echo "not found" >&6; }
14059 else
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14061 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14063 cat >>confdefs.h <<_ACEOF
14064 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14065 _ACEOF
14070 CPPFLAGS=$ac_save_CPPFLAGS
14071 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14072 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14075 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14076 case "x$with_tiff" in
14077 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14078 xno) ;;
14079 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14080 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14081 esac
14085 if test "x$with_mpg123" != "xno"
14086 then
14087 if ${MPG123_CFLAGS:+false} :; then :
14088 if ${PKG_CONFIG+:} false; then :
14089 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14093 if ${MPG123_LIBS:+false} :; then :
14094 if ${PKG_CONFIG+:} false; then :
14095 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14099 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14100 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14101 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14102 ac_save_CPPFLAGS=$CPPFLAGS
14103 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14104 for ac_header in mpg123.h
14105 do :
14106 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14107 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14108 cat >>confdefs.h <<_ACEOF
14109 #define HAVE_MPG123_H 1
14110 _ACEOF
14114 done
14116 if test "$ac_cv_header_mpg123_h" = "yes"
14117 then
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14119 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14120 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14121 $as_echo_n "(cached) " >&6
14122 else
14123 ac_check_lib_save_LIBS=$LIBS
14124 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14128 /* Override any GCC internal prototype to avoid an error.
14129 Use char because int might match the return type of a GCC
14130 builtin and then its argument prototype would still apply. */
14131 #ifdef __cplusplus
14132 extern "C"
14133 #endif
14134 char mpg123_feed ();
14136 main ()
14138 return mpg123_feed ();
14140 return 0;
14142 _ACEOF
14143 if ac_fn_c_try_link "$LINENO"; then :
14144 ac_cv_lib_mpg123_mpg123_feed=yes
14145 else
14146 ac_cv_lib_mpg123_mpg123_feed=no
14148 rm -f core conftest.err conftest.$ac_objext \
14149 conftest$ac_exeext conftest.$ac_ext
14150 LIBS=$ac_check_lib_save_LIBS
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14153 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14154 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14156 else
14157 MPG123_LIBS=""
14160 else
14161 MPG123_CFLAGS=""
14162 MPG123_LIBS=""
14164 CPPFLAGS=$ac_save_CPPFLAGS
14165 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14166 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14169 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14170 case "x$with_mpg123" in
14171 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14172 xno) ;;
14173 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14174 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14175 esac
14176 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14179 if test "$ac_cv_header_AL_al_h" = "yes"
14180 then
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14182 $as_echo_n "checking for -lopenal... " >&6; }
14183 if ${ac_cv_lib_soname_openal+:} false; then :
14184 $as_echo_n "(cached) " >&6
14185 else
14186 ac_check_soname_save_LIBS=$LIBS
14187 LIBS="-lopenal $LIBS"
14188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14189 /* end confdefs.h. */
14191 /* Override any GCC internal prototype to avoid an error.
14192 Use char because int might match the return type of a GCC
14193 builtin and then its argument prototype would still apply. */
14194 #ifdef __cplusplus
14195 extern "C"
14196 #endif
14197 char alGetSource3i ();
14199 main ()
14201 return alGetSource3i ();
14203 return 0;
14205 _ACEOF
14206 if ac_fn_c_try_link "$LINENO"; then :
14207 case "$LIBEXT" in
14208 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14209 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'` ;;
14210 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14211 if ${ac_cv_lib_soname_openal:+false} :; then :
14212 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14213 fi ;;
14214 esac
14216 rm -f core conftest.err conftest.$ac_objext \
14217 conftest$ac_exeext conftest.$ac_ext
14218 LIBS=$ac_check_soname_save_LIBS
14220 if ${ac_cv_lib_soname_openal:+false} :; then :
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14222 $as_echo "not found" >&6; }
14224 else
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14226 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14228 cat >>confdefs.h <<_ACEOF
14229 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14230 _ACEOF
14232 OPENAL_LIBS="-lopenal"
14234 ac_cv_lib_openal=yes
14236 cat >>confdefs.h <<_ACEOF
14237 #define HAVE_OPENAL 1
14238 _ACEOF
14242 if test "x$ac_cv_lib_openal" != xyes; then :
14243 case "x$with_openal" in
14244 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14245 xno) ;;
14246 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14247 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14248 esac
14249 enable_openal32=${enable_openal32:-no}
14252 if test "x$ac_cv_lib_openal" = xyes
14253 then
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14255 $as_echo_n "checking for openal-soft... " >&6; }
14256 if ${ac_cv_have_openalsoft+:} false; then :
14257 $as_echo_n "(cached) " >&6
14258 else
14259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14261 #include <AL/al.h>
14262 #include <AL/alc.h>
14263 #include <AL/alext.h>
14264 LPALCRENDERSAMPLESSOFT x;
14266 main ()
14270 return 0;
14272 _ACEOF
14273 if ac_fn_c_try_compile "$LINENO"; then :
14274 ac_cv_have_openalsoft=yes
14275 else
14276 ac_cv_have_openalsoft=no
14278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14281 $as_echo "$ac_cv_have_openalsoft" >&6; }
14283 if test "x$ac_cv_have_openalsoft" != xyes
14284 then
14285 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14286 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14287 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14288 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14289 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14290 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14291 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14292 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14293 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14294 enable_xapofx1_1=${enable_xapofx1_1:-no}
14295 enable_xapofx1_2=${enable_xapofx1_2:-no}
14296 enable_xapofx1_3=${enable_xapofx1_3:-no}
14297 enable_xapofx1_4=${enable_xapofx1_4:-no}
14298 enable_xapofx1_5=${enable_xapofx1_5:-no}
14299 enable_xaudio2_0=${enable_xaudio2_0:-no}
14300 enable_xaudio2_1=${enable_xaudio2_1:-no}
14301 enable_xaudio2_2=${enable_xaudio2_2:-no}
14302 enable_xaudio2_3=${enable_xaudio2_3:-no}
14303 enable_xaudio2_4=${enable_xaudio2_4:-no}
14304 enable_xaudio2_5=${enable_xaudio2_5:-no}
14305 enable_xaudio2_6=${enable_xaudio2_6:-no}
14306 enable_xaudio2_7=${enable_xaudio2_7:-no}
14307 enable_xaudio2_8=${enable_xaudio2_8:-no}
14308 enable_xaudio2_9=${enable_xaudio2_9:-no}
14311 if test "$ac_cv_header_kstat_h" = "yes"
14312 then
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14314 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14315 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14316 $as_echo_n "(cached) " >&6
14317 else
14318 ac_check_lib_save_LIBS=$LIBS
14319 LIBS="-lkstat $LIBS"
14320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14321 /* end confdefs.h. */
14323 /* Override any GCC internal prototype to avoid an error.
14324 Use char because int might match the return type of a GCC
14325 builtin and then its argument prototype would still apply. */
14326 #ifdef __cplusplus
14327 extern "C"
14328 #endif
14329 char kstat_open ();
14331 main ()
14333 return kstat_open ();
14335 return 0;
14337 _ACEOF
14338 if ac_fn_c_try_link "$LINENO"; then :
14339 ac_cv_lib_kstat_kstat_open=yes
14340 else
14341 ac_cv_lib_kstat_kstat_open=no
14343 rm -f core conftest.err conftest.$ac_objext \
14344 conftest$ac_exeext conftest.$ac_ext
14345 LIBS=$ac_check_lib_save_LIBS
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14348 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14349 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14351 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14353 KSTAT_LIBS="-lkstat"
14359 if test "$ac_cv_header_libprocstat_h" = "yes"
14360 then
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14362 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14363 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14364 $as_echo_n "(cached) " >&6
14365 else
14366 ac_check_lib_save_LIBS=$LIBS
14367 LIBS="-lprocstat $LIBS"
14368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14371 /* Override any GCC internal prototype to avoid an error.
14372 Use char because int might match the return type of a GCC
14373 builtin and then its argument prototype would still apply. */
14374 #ifdef __cplusplus
14375 extern "C"
14376 #endif
14377 char procstat_open_sysctl ();
14379 main ()
14381 return procstat_open_sysctl ();
14383 return 0;
14385 _ACEOF
14386 if ac_fn_c_try_link "$LINENO"; then :
14387 ac_cv_lib_procstat_procstat_open_sysctl=yes
14388 else
14389 ac_cv_lib_procstat_procstat_open_sysctl=no
14391 rm -f core conftest.err conftest.$ac_objext \
14392 conftest$ac_exeext conftest.$ac_ext
14393 LIBS=$ac_check_lib_save_LIBS
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14396 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14397 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14399 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14401 PROCSTAT_LIBS="-lprocstat"
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14408 $as_echo_n "checking for -lodbc... " >&6; }
14409 if ${ac_cv_lib_soname_odbc+:} false; then :
14410 $as_echo_n "(cached) " >&6
14411 else
14412 ac_check_soname_save_LIBS=$LIBS
14413 LIBS="-lodbc $LIBS"
14414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14415 /* end confdefs.h. */
14417 /* Override any GCC internal prototype to avoid an error.
14418 Use char because int might match the return type of a GCC
14419 builtin and then its argument prototype would still apply. */
14420 #ifdef __cplusplus
14421 extern "C"
14422 #endif
14423 char SQLConnect ();
14425 main ()
14427 return SQLConnect ();
14429 return 0;
14431 _ACEOF
14432 if ac_fn_c_try_link "$LINENO"; then :
14433 case "$LIBEXT" in
14434 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14435 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'` ;;
14436 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14437 if ${ac_cv_lib_soname_odbc:+false} :; then :
14438 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14439 fi ;;
14440 esac
14442 rm -f core conftest.err conftest.$ac_objext \
14443 conftest$ac_exeext conftest.$ac_ext
14444 LIBS=$ac_check_soname_save_LIBS
14446 if ${ac_cv_lib_soname_odbc:+false} :; then :
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14448 $as_echo "not found" >&6; }
14449 cat >>confdefs.h <<_ACEOF
14450 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14451 _ACEOF
14453 else
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14455 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14457 cat >>confdefs.h <<_ACEOF
14458 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14459 _ACEOF
14464 if test "x$with_netapi" != "xno"
14465 then
14466 if ${NETAPI_CFLAGS:+false} :; then :
14467 if ${PKG_CONFIG+:} false; then :
14468 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14472 if ${NETAPI_LIBS:+false} :; then :
14473 if ${PKG_CONFIG+:} false; then :
14474 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14479 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14480 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14481 ac_save_CPPFLAGS=$CPPFLAGS
14482 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14484 $as_echo_n "checking for -lnetapi... " >&6; }
14485 if ${ac_cv_lib_soname_netapi+:} false; then :
14486 $as_echo_n "(cached) " >&6
14487 else
14488 ac_check_soname_save_LIBS=$LIBS
14489 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h. */
14493 /* Override any GCC internal prototype to avoid an error.
14494 Use char because int might match the return type of a GCC
14495 builtin and then its argument prototype would still apply. */
14496 #ifdef __cplusplus
14497 extern "C"
14498 #endif
14499 char libnetapi_init ();
14501 main ()
14503 return libnetapi_init ();
14505 return 0;
14507 _ACEOF
14508 if ac_fn_c_try_link "$LINENO"; then :
14509 case "$LIBEXT" in
14510 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14511 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'` ;;
14512 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14513 if ${ac_cv_lib_soname_netapi:+false} :; then :
14514 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14515 fi ;;
14516 esac
14518 rm -f core conftest.err conftest.$ac_objext \
14519 conftest$ac_exeext conftest.$ac_ext
14520 LIBS=$ac_check_soname_save_LIBS
14522 if ${ac_cv_lib_soname_netapi:+false} :; then :
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14524 $as_echo "not found" >&6; }
14525 cat >>confdefs.h <<_ACEOF
14526 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14527 _ACEOF
14529 else
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14531 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14533 cat >>confdefs.h <<_ACEOF
14534 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14535 _ACEOF
14539 CPPFLAGS=$ac_save_CPPFLAGS
14540 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14541 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14545 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14546 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14547 then
14548 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14551 if test "x$with_vulkan" != "xno"
14552 then
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14554 $as_echo_n "checking for -lvulkan... " >&6; }
14555 if ${ac_cv_lib_soname_vulkan+:} false; then :
14556 $as_echo_n "(cached) " >&6
14557 else
14558 ac_check_soname_save_LIBS=$LIBS
14559 LIBS="-lvulkan $LIBS"
14560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14561 /* end confdefs.h. */
14563 /* Override any GCC internal prototype to avoid an error.
14564 Use char because int might match the return type of a GCC
14565 builtin and then its argument prototype would still apply. */
14566 #ifdef __cplusplus
14567 extern "C"
14568 #endif
14569 char vkGetInstanceProcAddr ();
14571 main ()
14573 return vkGetInstanceProcAddr ();
14575 return 0;
14577 _ACEOF
14578 if ac_fn_c_try_link "$LINENO"; then :
14579 case "$LIBEXT" in
14580 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14581 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'` ;;
14582 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14583 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14584 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14585 fi ;;
14586 esac
14588 rm -f core conftest.err conftest.$ac_objext \
14589 conftest$ac_exeext conftest.$ac_ext
14590 LIBS=$ac_check_soname_save_LIBS
14592 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14594 $as_echo "not found" >&6; }
14596 else
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14598 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14600 cat >>confdefs.h <<_ACEOF
14601 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14602 _ACEOF
14607 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14608 case "x$with_vulkan" in
14609 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14610 xno) ;;
14611 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14612 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14613 esac
14618 EXTRACFLAGS=""
14620 if test "x${GCC}" = "xyes"
14621 then
14622 EXTRACFLAGS="-Wall -pipe"
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14625 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14626 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14627 $as_echo_n "(cached) " >&6
14628 else
14629 if test "$cross_compiling" = yes; then :
14630 ac_cv_c_gcc_strength_bug="no"
14631 else
14632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14633 /* end confdefs.h. */
14634 int L[4] = {0,1,2,3};
14636 main ()
14638 static int Array[3];
14639 unsigned int B = 3;
14640 int i;
14641 for(i=0; i<B; i++) Array[i] = i - 3;
14642 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14643 L[i] = 4;
14644 return (Array[1] != -2 || L[2] != 3)
14646 return 0;
14648 _ACEOF
14649 if ac_fn_c_try_run "$LINENO"; then :
14650 ac_cv_c_gcc_strength_bug="no"
14651 else
14652 ac_cv_c_gcc_strength_bug="yes"
14654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14655 conftest.$ac_objext conftest.beam conftest.$ac_ext
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14660 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14661 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14662 then
14663 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14667 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14668 if ${ac_cv_cflags__fno_builtin+:} false; then :
14669 $as_echo_n "(cached) " >&6
14670 else
14671 ac_wine_try_cflags_saved=$CFLAGS
14672 CFLAGS="$CFLAGS -fno-builtin"
14673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14674 /* end confdefs.h. */
14675 int main(int argc, char **argv) { return 0; }
14676 _ACEOF
14677 if ac_fn_c_try_link "$LINENO"; then :
14678 ac_cv_cflags__fno_builtin=yes
14679 else
14680 ac_cv_cflags__fno_builtin=no
14682 rm -f core conftest.err conftest.$ac_objext \
14683 conftest$ac_exeext conftest.$ac_ext
14684 CFLAGS=$ac_wine_try_cflags_saved
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14687 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14688 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14689 BUILTINFLAG="-fno-builtin"
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14693 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14694 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14695 $as_echo_n "(cached) " >&6
14696 else
14697 ac_wine_try_cflags_saved=$CFLAGS
14698 CFLAGS="$CFLAGS -fno-strict-aliasing"
14699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14700 /* end confdefs.h. */
14701 int main(int argc, char **argv) { return 0; }
14702 _ACEOF
14703 if ac_fn_c_try_link "$LINENO"; then :
14704 ac_cv_cflags__fno_strict_aliasing=yes
14705 else
14706 ac_cv_cflags__fno_strict_aliasing=no
14708 rm -f core conftest.err conftest.$ac_objext \
14709 conftest$ac_exeext conftest.$ac_ext
14710 CFLAGS=$ac_wine_try_cflags_saved
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14713 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14714 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14715 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14718 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14719 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14720 $as_echo_n "(cached) " >&6
14721 else
14722 ac_wine_try_cflags_saved=$CFLAGS
14723 CFLAGS="$CFLAGS -fexcess-precision=standard"
14724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14726 int main(int argc, char **argv) { return 0; }
14727 _ACEOF
14728 if ac_fn_c_try_link "$LINENO"; then :
14729 ac_cv_cflags__fexcess_precision_standard=yes
14730 else
14731 ac_cv_cflags__fexcess_precision_standard=no
14733 rm -f core conftest.err conftest.$ac_objext \
14734 conftest$ac_exeext conftest.$ac_ext
14735 CFLAGS=$ac_wine_try_cflags_saved
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14738 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14739 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14740 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14743 saved_CFLAGS=$CFLAGS
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14745 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14746 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14747 $as_echo_n "(cached) " >&6
14748 else
14749 ac_wine_try_cflags_saved=$CFLAGS
14750 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
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__Werror_unknown_warning_option=yes
14757 else
14758 ac_cv_cflags__Werror_unknown_warning_option=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__Werror_unknown_warning_option" >&5
14765 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14766 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14767 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14770 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14771 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14772 $as_echo_n "(cached) " >&6
14773 else
14774 ac_wine_try_cflags_saved=$CFLAGS
14775 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14777 /* end confdefs.h. */
14778 int main(int argc, char **argv) { return 0; }
14779 _ACEOF
14780 if ac_fn_c_try_link "$LINENO"; then :
14781 ac_cv_cflags__Wdeclaration_after_statement=yes
14782 else
14783 ac_cv_cflags__Wdeclaration_after_statement=no
14785 rm -f core conftest.err conftest.$ac_objext \
14786 conftest$ac_exeext conftest.$ac_ext
14787 CFLAGS=$ac_wine_try_cflags_saved
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14790 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14791 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14792 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14795 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14796 if ${ac_cv_cflags__Wempty_body+:} false; then :
14797 $as_echo_n "(cached) " >&6
14798 else
14799 ac_wine_try_cflags_saved=$CFLAGS
14800 CFLAGS="$CFLAGS -Wempty-body"
14801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14802 /* end confdefs.h. */
14803 int main(int argc, char **argv) { return 0; }
14804 _ACEOF
14805 if ac_fn_c_try_link "$LINENO"; then :
14806 ac_cv_cflags__Wempty_body=yes
14807 else
14808 ac_cv_cflags__Wempty_body=no
14810 rm -f core conftest.err conftest.$ac_objext \
14811 conftest$ac_exeext conftest.$ac_ext
14812 CFLAGS=$ac_wine_try_cflags_saved
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14815 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14816 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14817 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14820 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14821 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14822 $as_echo_n "(cached) " >&6
14823 else
14824 ac_wine_try_cflags_saved=$CFLAGS
14825 CFLAGS="$CFLAGS -Wignored-qualifiers"
14826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14827 /* end confdefs.h. */
14828 int main(int argc, char **argv) { return 0; }
14829 _ACEOF
14830 if ac_fn_c_try_link "$LINENO"; then :
14831 ac_cv_cflags__Wignored_qualifiers=yes
14832 else
14833 ac_cv_cflags__Wignored_qualifiers=no
14835 rm -f core conftest.err conftest.$ac_objext \
14836 conftest$ac_exeext conftest.$ac_ext
14837 CFLAGS=$ac_wine_try_cflags_saved
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14840 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14841 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14842 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14845 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14846 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14847 $as_echo_n "(cached) " >&6
14848 else
14849 ac_wine_try_cflags_saved=$CFLAGS
14850 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14852 /* end confdefs.h. */
14853 int main(int argc, char **argv) { return 0; }
14854 _ACEOF
14855 if ac_fn_c_try_link "$LINENO"; then :
14856 ac_cv_cflags__Wpacked_not_aligned=yes
14857 else
14858 ac_cv_cflags__Wpacked_not_aligned=no
14860 rm -f core conftest.err conftest.$ac_objext \
14861 conftest$ac_exeext conftest.$ac_ext
14862 CFLAGS=$ac_wine_try_cflags_saved
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14865 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14866 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14867 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14870 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14871 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14872 $as_echo_n "(cached) " >&6
14873 else
14874 ac_wine_try_cflags_saved=$CFLAGS
14875 CFLAGS="$CFLAGS -Wpragma-pack"
14876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14878 int main(int argc, char **argv) { return 0; }
14879 _ACEOF
14880 if ac_fn_c_try_link "$LINENO"; then :
14881 ac_cv_cflags__Wpragma_pack=yes
14882 else
14883 ac_cv_cflags__Wpragma_pack=no
14885 rm -f core conftest.err conftest.$ac_objext \
14886 conftest$ac_exeext conftest.$ac_ext
14887 CFLAGS=$ac_wine_try_cflags_saved
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14890 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14891 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14892 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14895 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14896 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14897 $as_echo_n "(cached) " >&6
14898 else
14899 ac_wine_try_cflags_saved=$CFLAGS
14900 CFLAGS="$CFLAGS -Wshift-overflow=2"
14901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14902 /* end confdefs.h. */
14903 int main(int argc, char **argv) { return 0; }
14904 _ACEOF
14905 if ac_fn_c_try_link "$LINENO"; then :
14906 ac_cv_cflags__Wshift_overflow_2=yes
14907 else
14908 ac_cv_cflags__Wshift_overflow_2=no
14910 rm -f core conftest.err conftest.$ac_objext \
14911 conftest$ac_exeext conftest.$ac_ext
14912 CFLAGS=$ac_wine_try_cflags_saved
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14915 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14916 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14917 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14920 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14921 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14922 $as_echo_n "(cached) " >&6
14923 else
14924 ac_wine_try_cflags_saved=$CFLAGS
14925 CFLAGS="$CFLAGS -Wstrict-prototypes"
14926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14927 /* end confdefs.h. */
14928 int main(int argc, char **argv) { return 0; }
14929 _ACEOF
14930 if ac_fn_c_try_link "$LINENO"; then :
14931 ac_cv_cflags__Wstrict_prototypes=yes
14932 else
14933 ac_cv_cflags__Wstrict_prototypes=no
14935 rm -f core conftest.err conftest.$ac_objext \
14936 conftest$ac_exeext conftest.$ac_ext
14937 CFLAGS=$ac_wine_try_cflags_saved
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14940 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14941 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14942 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14945 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14946 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14947 $as_echo_n "(cached) " >&6
14948 else
14949 ac_wine_try_cflags_saved=$CFLAGS
14950 CFLAGS="$CFLAGS -Wtype-limits"
14951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14952 /* end confdefs.h. */
14953 int main(int argc, char **argv) { return 0; }
14954 _ACEOF
14955 if ac_fn_c_try_link "$LINENO"; then :
14956 ac_cv_cflags__Wtype_limits=yes
14957 else
14958 ac_cv_cflags__Wtype_limits=no
14960 rm -f core conftest.err conftest.$ac_objext \
14961 conftest$ac_exeext conftest.$ac_ext
14962 CFLAGS=$ac_wine_try_cflags_saved
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14965 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14966 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14967 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14970 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14971 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14972 $as_echo_n "(cached) " >&6
14973 else
14974 ac_wine_try_cflags_saved=$CFLAGS
14975 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14977 /* end confdefs.h. */
14978 int main(int argc, char **argv) { return 0; }
14979 _ACEOF
14980 if ac_fn_c_try_link "$LINENO"; then :
14981 ac_cv_cflags__Wunused_but_set_parameter=yes
14982 else
14983 ac_cv_cflags__Wunused_but_set_parameter=no
14985 rm -f core conftest.err conftest.$ac_objext \
14986 conftest$ac_exeext conftest.$ac_ext
14987 CFLAGS=$ac_wine_try_cflags_saved
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14990 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14991 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14992 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14995 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14996 if ${ac_cv_cflags__Wvla+:} false; then :
14997 $as_echo_n "(cached) " >&6
14998 else
14999 ac_wine_try_cflags_saved=$CFLAGS
15000 CFLAGS="$CFLAGS -Wvla"
15001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15002 /* end confdefs.h. */
15003 int main(int argc, char **argv) { return 0; }
15004 _ACEOF
15005 if ac_fn_c_try_link "$LINENO"; then :
15006 ac_cv_cflags__Wvla=yes
15007 else
15008 ac_cv_cflags__Wvla=no
15010 rm -f core conftest.err conftest.$ac_objext \
15011 conftest$ac_exeext conftest.$ac_ext
15012 CFLAGS=$ac_wine_try_cflags_saved
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15015 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15016 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15017 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15020 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15021 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15022 $as_echo_n "(cached) " >&6
15023 else
15024 ac_wine_try_cflags_saved=$CFLAGS
15025 CFLAGS="$CFLAGS -Wwrite-strings"
15026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15027 /* end confdefs.h. */
15028 int main(int argc, char **argv) { return 0; }
15029 _ACEOF
15030 if ac_fn_c_try_link "$LINENO"; then :
15031 ac_cv_cflags__Wwrite_strings=yes
15032 else
15033 ac_cv_cflags__Wwrite_strings=no
15035 rm -f core conftest.err conftest.$ac_objext \
15036 conftest$ac_exeext conftest.$ac_ext
15037 CFLAGS=$ac_wine_try_cflags_saved
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15040 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15041 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15042 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15046 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15047 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15048 $as_echo_n "(cached) " >&6
15049 else
15050 ac_wine_try_cflags_saved=$CFLAGS
15051 CFLAGS="$CFLAGS -Wpointer-arith"
15052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15053 /* end confdefs.h. */
15054 int main(int argc, char **argv) { return 0; }
15055 _ACEOF
15056 if ac_fn_c_try_link "$LINENO"; then :
15057 ac_cv_cflags__Wpointer_arith=yes
15058 else
15059 ac_cv_cflags__Wpointer_arith=no
15061 rm -f core conftest.err conftest.$ac_objext \
15062 conftest$ac_exeext conftest.$ac_ext
15063 CFLAGS=$ac_wine_try_cflags_saved
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15066 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15067 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15068 saved_string_h_CFLAGS=$CFLAGS
15069 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15071 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15072 if ${ac_cv_c_string_h_warnings+:} false; then :
15073 $as_echo_n "(cached) " >&6
15074 else
15075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15076 /* end confdefs.h. */
15077 #include <string.h>
15079 main ()
15083 return 0;
15085 _ACEOF
15086 if ac_fn_c_try_compile "$LINENO"; then :
15087 ac_cv_c_string_h_warnings=no
15088 else
15089 ac_cv_c_string_h_warnings=yes
15091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15094 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15095 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15096 CFLAGS=$saved_string_h_CFLAGS
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15100 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15101 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15102 $as_echo_n "(cached) " >&6
15103 else
15104 ac_wine_try_cflags_saved=$CFLAGS
15105 CFLAGS="$CFLAGS -Wlogical-op"
15106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15107 /* end confdefs.h. */
15108 int main(int argc, char **argv) { return 0; }
15109 _ACEOF
15110 if ac_fn_c_try_link "$LINENO"; then :
15111 ac_cv_cflags__Wlogical_op=yes
15112 else
15113 ac_cv_cflags__Wlogical_op=no
15115 rm -f core conftest.err conftest.$ac_objext \
15116 conftest$ac_exeext conftest.$ac_ext
15117 CFLAGS=$ac_wine_try_cflags_saved
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15120 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15121 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15122 saved_string_h_CFLAGS=$CFLAGS
15123 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15125 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15126 if ${ac_cv_c_logicalop_noisy+:} false; then :
15127 $as_echo_n "(cached) " >&6
15128 else
15129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15130 /* end confdefs.h. */
15131 #include <string.h>
15132 char*f(const char *h,char n) {return strchr(h,n);}
15134 main ()
15138 return 0;
15140 _ACEOF
15141 if ac_fn_c_try_compile "$LINENO"; then :
15142 ac_cv_c_logicalop_noisy=no
15143 else
15144 ac_cv_c_logicalop_noisy=yes
15146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15149 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15150 CFLAGS=$saved_string_h_CFLAGS
15151 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15154 CFLAGS=$saved_CFLAGS
15156 for ac_flag in $CFLAGS; do
15157 case $ac_flag in
15158 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15159 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15160 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15161 $as_echo_n "(cached) " >&6
15162 else
15163 ac_wine_try_cflags_saved=$CFLAGS
15164 CFLAGS="$CFLAGS -gdwarf-2"
15165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h. */
15167 int main(int argc, char **argv) { return 0; }
15168 _ACEOF
15169 if ac_fn_c_try_link "$LINENO"; then :
15170 ac_cv_cflags__gdwarf_2=yes
15171 else
15172 ac_cv_cflags__gdwarf_2=no
15174 rm -f core conftest.err conftest.$ac_objext \
15175 conftest$ac_exeext conftest.$ac_ext
15176 CFLAGS=$ac_wine_try_cflags_saved
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15179 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15180 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15181 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15184 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15185 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15186 $as_echo_n "(cached) " >&6
15187 else
15188 ac_wine_try_cflags_saved=$CFLAGS
15189 CFLAGS="$CFLAGS -gstrict-dwarf"
15190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15191 /* end confdefs.h. */
15192 int main(int argc, char **argv) { return 0; }
15193 _ACEOF
15194 if ac_fn_c_try_link "$LINENO"; then :
15195 ac_cv_cflags__gstrict_dwarf=yes
15196 else
15197 ac_cv_cflags__gstrict_dwarf=no
15199 rm -f core conftest.err conftest.$ac_objext \
15200 conftest$ac_exeext conftest.$ac_ext
15201 CFLAGS=$ac_wine_try_cflags_saved
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15204 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15205 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15206 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15207 fi ;;
15208 esac
15209 done
15211 case $host_cpu in
15212 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15213 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15214 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15215 $as_echo_n "(cached) " >&6
15216 else
15217 ac_wine_try_cflags_saved=$CFLAGS
15218 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15220 /* end confdefs.h. */
15221 int main(int argc, char **argv) { return 0; }
15222 _ACEOF
15223 if ac_fn_c_try_link "$LINENO"; then :
15224 ac_cv_cflags__fno_omit_frame_pointer=yes
15225 else
15226 ac_cv_cflags__fno_omit_frame_pointer=no
15228 rm -f core conftest.err conftest.$ac_objext \
15229 conftest$ac_exeext conftest.$ac_ext
15230 CFLAGS=$ac_wine_try_cflags_saved
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15233 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15234 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15235 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15236 fi ;;
15237 esac
15239 case $host in
15240 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15241 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15242 if ${ac_cv_cflags__Wno_format+:} false; then :
15243 $as_echo_n "(cached) " >&6
15244 else
15245 ac_wine_try_cflags_saved=$CFLAGS
15246 CFLAGS="$CFLAGS -Wno-format"
15247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15248 /* end confdefs.h. */
15249 int main(int argc, char **argv) { return 0; }
15250 _ACEOF
15251 if ac_fn_c_try_link "$LINENO"; then :
15252 ac_cv_cflags__Wno_format=yes
15253 else
15254 ac_cv_cflags__Wno_format=no
15256 rm -f core conftest.err conftest.$ac_objext \
15257 conftest$ac_exeext conftest.$ac_ext
15258 CFLAGS=$ac_wine_try_cflags_saved
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15261 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15262 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15263 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15264 fi ;;
15265 esac
15267 if test "x$enable_maintainer_mode" = "xyes"
15268 then
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15270 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15271 if ${ac_cv_cflags__Werror+:} false; then :
15272 $as_echo_n "(cached) " >&6
15273 else
15274 ac_wine_try_cflags_saved=$CFLAGS
15275 CFLAGS="$CFLAGS -Werror"
15276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15277 /* end confdefs.h. */
15278 int main(int argc, char **argv) { return 0; }
15279 _ACEOF
15280 if ac_fn_c_try_link "$LINENO"; then :
15281 ac_cv_cflags__Werror=yes
15282 else
15283 ac_cv_cflags__Werror=no
15285 rm -f core conftest.err conftest.$ac_objext \
15286 conftest$ac_exeext conftest.$ac_ext
15287 CFLAGS=$ac_wine_try_cflags_saved
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15290 $as_echo "$ac_cv_cflags__Werror" >&6; }
15291 if test "x$ac_cv_cflags__Werror" = xyes; then :
15292 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15296 saved_CFLAGS="$CFLAGS"
15297 CFLAGS="$CFLAGS -Werror"
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15299 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15300 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15301 $as_echo_n "(cached) " >&6
15302 else
15303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15304 /* end confdefs.h. */
15305 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15307 main ()
15311 return 0;
15313 _ACEOF
15314 if ac_fn_c_try_compile "$LINENO"; then :
15315 ac_cv_have_ms_hook_prologue="yes"
15316 else
15317 ac_cv_have_ms_hook_prologue="no"
15319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15322 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15323 CFLAGS="$saved_CFLAGS"
15324 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15325 then
15327 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15329 else
15330 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15337 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15338 if ${ac_cv_c_fortify_enabled+:} false; then :
15339 $as_echo_n "(cached) " >&6
15340 else
15341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15342 /* end confdefs.h. */
15343 #include <string.h>
15345 main ()
15347 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15348 #error Fortify enabled
15349 #endif
15351 return 0;
15353 _ACEOF
15354 if ac_fn_c_try_compile "$LINENO"; then :
15355 ac_cv_c_fortify_enabled=no
15356 else
15357 ac_cv_c_fortify_enabled=yes
15359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15362 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15363 if test "$ac_cv_c_fortify_enabled" = yes
15364 then
15365 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15370 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15371 if ${ac_cv_c_extern_prefix+:} false; then :
15372 $as_echo_n "(cached) " >&6
15373 else
15374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15375 /* end confdefs.h. */
15376 extern int ac_test;
15378 main ()
15380 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15382 return 0;
15384 _ACEOF
15385 if ac_fn_c_try_link "$LINENO"; then :
15386 ac_cv_c_extern_prefix="yes"
15387 else
15388 ac_cv_c_extern_prefix="no"
15390 rm -f core conftest.err conftest.$ac_objext \
15391 conftest$ac_exeext conftest.$ac_ext
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15394 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15396 case $host_cpu in
15397 *i[3456789]86*)
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15399 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15400 if ${ac_cv_c_stdcall_suffix+:} false; then :
15401 $as_echo_n "(cached) " >&6
15402 else
15403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15404 /* end confdefs.h. */
15405 #ifndef _MSC_VER
15406 #define __stdcall __attribute__((__stdcall__))
15407 #endif
15408 int __stdcall ac_test(int i) { return i; }
15410 main ()
15412 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15414 return 0;
15416 _ACEOF
15417 if ac_fn_c_try_link "$LINENO"; then :
15418 ac_cv_c_stdcall_suffix="yes"
15419 else
15420 ac_cv_c_stdcall_suffix="no"
15422 rm -f core conftest.err conftest.$ac_objext \
15423 conftest$ac_exeext conftest.$ac_ext
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15426 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15427 *) ac_cv_c_stdcall_suffix="no" ;;
15428 esac
15431 if test "$ac_cv_c_extern_prefix" = "yes"
15432 then
15433 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15435 asm_name_prefix="_"
15436 else
15437 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15439 asm_name_prefix=""
15443 if test "$ac_cv_c_stdcall_suffix" = "yes"
15444 then
15445 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15447 else
15448 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15454 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15455 if ${ac_cv_asm_func_def+:} false; then :
15456 $as_echo_n "(cached) " >&6
15457 else
15458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15459 /* end confdefs.h. */
15462 main ()
15464 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15466 return 0;
15468 _ACEOF
15469 if ac_fn_c_try_link "$LINENO"; then :
15470 ac_cv_asm_func_def=".def"
15471 else
15472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15473 /* end confdefs.h. */
15476 main ()
15478 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15480 return 0;
15482 _ACEOF
15483 if ac_fn_c_try_link "$LINENO"; then :
15484 ac_cv_asm_func_def=".type @function"
15485 else
15486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15487 /* end confdefs.h. */
15490 main ()
15492 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15494 return 0;
15496 _ACEOF
15497 if ac_fn_c_try_link "$LINENO"; then :
15498 ac_cv_asm_func_def=".type 2"
15499 else
15500 ac_cv_asm_func_def="unknown"
15502 rm -f core conftest.err conftest.$ac_objext \
15503 conftest$ac_exeext conftest.$ac_ext
15505 rm -f core conftest.err conftest.$ac_objext \
15506 conftest$ac_exeext conftest.$ac_ext
15508 rm -f core conftest.err conftest.$ac_objext \
15509 conftest$ac_exeext conftest.$ac_ext
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15512 $as_echo "$ac_cv_asm_func_def" >&6; }
15515 case "$ac_cv_asm_func_def" in
15516 ".def")
15517 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15519 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15520 ".type @function")
15521 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15523 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15524 ".type 2")
15525 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15527 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15529 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15531 asm_func_header="" ;;
15532 esac
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15535 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15536 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15537 $as_echo_n "(cached) " >&6
15538 else
15539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15540 /* end confdefs.h. */
15541 asm(".text\n\t.long 0");
15543 main ()
15547 return 0;
15549 _ACEOF
15550 if ac_fn_c_try_compile "$LINENO"; then :
15551 ac_cv_c_asm_outside_funcs="yes"
15552 else
15553 ac_cv_c_asm_outside_funcs="no"
15555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15558 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15561 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15562 if ${ac_cv_c_dot_previous+:} false; then :
15563 $as_echo_n "(cached) " >&6
15564 else
15565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15566 /* end confdefs.h. */
15569 main ()
15571 asm(".text\nac_test:\t.long 0\n\t.previous");
15573 return 0;
15575 _ACEOF
15576 if ac_fn_c_try_link "$LINENO"; then :
15577 ac_cv_c_dot_previous="yes"
15578 else
15579 ac_cv_c_dot_previous="no"
15581 rm -f core conftest.err conftest.$ac_objext \
15582 conftest$ac_exeext conftest.$ac_ext
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15585 $as_echo "$ac_cv_c_dot_previous" >&6; }
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15588 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15589 if ${ac_cv_c_cfi_support+:} false; then :
15590 $as_echo_n "(cached) " >&6
15591 else
15592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15593 /* end confdefs.h. */
15594 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15596 main ()
15600 return 0;
15602 _ACEOF
15603 if ac_fn_c_try_compile "$LINENO"; then :
15604 ac_cv_c_cfi_support="yes"
15605 else
15606 ac_cv_c_cfi_support="no"
15608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15611 $as_echo "$ac_cv_c_cfi_support" >&6; }
15613 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15614 asm_func_trailer=""
15615 if test "$ac_cv_c_dot_previous" = "yes"
15616 then
15617 asm_func_trailer="\\n\\t.previous"
15619 if test "$ac_cv_c_cfi_support" = "yes"
15620 then
15621 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15622 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15624 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15626 UNWINDFLAGS=-fasynchronous-unwind-tables
15628 else
15629 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15631 if test "x$enable_win64" = "xyes"
15632 then
15633 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15637 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15640 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15641 then
15642 cat >>confdefs.h <<_ACEOF
15643 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15644 _ACEOF
15646 else
15647 cat >>confdefs.h <<_ACEOF
15648 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15649 _ACEOF
15653 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15656 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15660 case $build_os in
15661 cygwin*|mingw32*) TOOLSEXT=".exe"
15663 esac
15665 case $host_os in
15666 linux*)
15667 case $host_cpu in
15668 *i[3456789]86*|x86_64*|*aarch64*)
15669 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15670 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15672 esac
15674 esac
15677 ac_save_CFLAGS="$CFLAGS"
15678 CFLAGS="$CFLAGS $BUILTINFLAG"
15679 for ac_func in \
15680 __res_get_state \
15681 __res_getservers \
15682 _finite \
15683 _isnan \
15684 _pclose \
15685 _popen \
15686 _snprintf \
15687 _spawnvp \
15688 _strdup \
15689 _stricmp \
15690 _strnicmp \
15691 _strtoi64 \
15692 _strtoui64 \
15693 _vsnprintf \
15694 asctime_r \
15695 chsize \
15696 dlopen \
15697 epoll_create \
15698 ffs \
15699 finitef \
15700 fnmatch \
15701 fork \
15702 fpclass \
15703 fstatfs \
15704 fstatvfs \
15705 ftruncate \
15706 futimens \
15707 futimes \
15708 futimesat \
15709 getattrlist \
15710 getauxval \
15711 getifaddrs \
15712 getopt_long_only \
15713 getpwuid \
15714 gettimeofday \
15715 getuid \
15716 isnanf \
15717 kqueue \
15718 lstat \
15719 memmove \
15720 mmap \
15721 pclose \
15722 pipe2 \
15723 poll \
15724 popen \
15725 port_create \
15726 prctl \
15727 pread \
15728 proc_pidinfo \
15729 pwrite \
15730 readdir \
15731 readlink \
15732 sched_yield \
15733 select \
15734 setproctitle \
15735 setprogname \
15736 setrlimit \
15737 settimeofday \
15738 sigaltstack \
15739 sigprocmask \
15740 snprintf \
15741 statfs \
15742 statvfs \
15743 strcasecmp \
15744 strdup \
15745 strerror \
15746 strncasecmp \
15747 strnlen \
15748 strtold \
15749 strtoll \
15750 strtoull \
15751 symlink \
15752 sysinfo \
15753 tcdrain \
15754 thr_kill2 \
15755 timegm \
15756 usleep \
15757 vsnprintf
15759 do :
15760 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15761 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15762 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15763 cat >>confdefs.h <<_ACEOF
15764 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15765 _ACEOF
15768 done
15770 CFLAGS="$ac_save_CFLAGS"
15772 if test "$ac_cv_func_dlopen" = no
15773 then
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15775 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15776 if ${ac_cv_lib_dl_dlopen+:} false; then :
15777 $as_echo_n "(cached) " >&6
15778 else
15779 ac_check_lib_save_LIBS=$LIBS
15780 LIBS="-ldl $LIBS"
15781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15782 /* end confdefs.h. */
15784 /* Override any GCC internal prototype to avoid an error.
15785 Use char because int might match the return type of a GCC
15786 builtin and then its argument prototype would still apply. */
15787 #ifdef __cplusplus
15788 extern "C"
15789 #endif
15790 char dlopen ();
15792 main ()
15794 return dlopen ();
15796 return 0;
15798 _ACEOF
15799 if ac_fn_c_try_link "$LINENO"; then :
15800 ac_cv_lib_dl_dlopen=yes
15801 else
15802 ac_cv_lib_dl_dlopen=no
15804 rm -f core conftest.err conftest.$ac_objext \
15805 conftest$ac_exeext conftest.$ac_ext
15806 LIBS=$ac_check_lib_save_LIBS
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15809 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15810 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15811 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15812 DL_LIBS="-ldl"
15817 ac_wine_check_funcs_save_LIBS="$LIBS"
15818 LIBS="$LIBS $DL_LIBS"
15819 for ac_func in dladdr
15820 do :
15821 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15822 if test "x$ac_cv_func_dladdr" = xyes; then :
15823 cat >>confdefs.h <<_ACEOF
15824 #define HAVE_DLADDR 1
15825 _ACEOF
15828 done
15830 LIBS="$ac_wine_check_funcs_save_LIBS"
15832 if test "$ac_cv_func_poll" = no
15833 then
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15835 $as_echo_n "checking for poll in -lpoll... " >&6; }
15836 if ${ac_cv_lib_poll_poll+:} false; then :
15837 $as_echo_n "(cached) " >&6
15838 else
15839 ac_check_lib_save_LIBS=$LIBS
15840 LIBS="-lpoll $LIBS"
15841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15842 /* end confdefs.h. */
15844 /* Override any GCC internal prototype to avoid an error.
15845 Use char because int might match the return type of a GCC
15846 builtin and then its argument prototype would still apply. */
15847 #ifdef __cplusplus
15848 extern "C"
15849 #endif
15850 char poll ();
15852 main ()
15854 return poll ();
15856 return 0;
15858 _ACEOF
15859 if ac_fn_c_try_link "$LINENO"; then :
15860 ac_cv_lib_poll_poll=yes
15861 else
15862 ac_cv_lib_poll_poll=no
15864 rm -f core conftest.err conftest.$ac_objext \
15865 conftest$ac_exeext conftest.$ac_ext
15866 LIBS=$ac_check_lib_save_LIBS
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15869 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15870 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15871 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15872 POLL_LIBS="-lpoll"
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15879 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15880 if ${ac_cv_search_gethostbyname+:} false; then :
15881 $as_echo_n "(cached) " >&6
15882 else
15883 ac_func_search_save_LIBS=$LIBS
15884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15885 /* end confdefs.h. */
15887 /* Override any GCC internal prototype to avoid an error.
15888 Use char because int might match the return type of a GCC
15889 builtin and then its argument prototype would still apply. */
15890 #ifdef __cplusplus
15891 extern "C"
15892 #endif
15893 char gethostbyname ();
15895 main ()
15897 return gethostbyname ();
15899 return 0;
15901 _ACEOF
15902 for ac_lib in '' nsl; do
15903 if test -z "$ac_lib"; then
15904 ac_res="none required"
15905 else
15906 ac_res=-l$ac_lib
15907 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15909 if ac_fn_c_try_link "$LINENO"; then :
15910 ac_cv_search_gethostbyname=$ac_res
15912 rm -f core conftest.err conftest.$ac_objext \
15913 conftest$ac_exeext
15914 if ${ac_cv_search_gethostbyname+:} false; then :
15915 break
15917 done
15918 if ${ac_cv_search_gethostbyname+:} false; then :
15920 else
15921 ac_cv_search_gethostbyname=no
15923 rm conftest.$ac_ext
15924 LIBS=$ac_func_search_save_LIBS
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15927 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15928 ac_res=$ac_cv_search_gethostbyname
15929 if test "$ac_res" != no; then :
15930 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15936 $as_echo_n "checking for library containing connect... " >&6; }
15937 if ${ac_cv_search_connect+:} false; then :
15938 $as_echo_n "(cached) " >&6
15939 else
15940 ac_func_search_save_LIBS=$LIBS
15941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15942 /* end confdefs.h. */
15944 /* Override any GCC internal prototype to avoid an error.
15945 Use char because int might match the return type of a GCC
15946 builtin and then its argument prototype would still apply. */
15947 #ifdef __cplusplus
15948 extern "C"
15949 #endif
15950 char connect ();
15952 main ()
15954 return connect ();
15956 return 0;
15958 _ACEOF
15959 for ac_lib in '' socket; do
15960 if test -z "$ac_lib"; then
15961 ac_res="none required"
15962 else
15963 ac_res=-l$ac_lib
15964 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15966 if ac_fn_c_try_link "$LINENO"; then :
15967 ac_cv_search_connect=$ac_res
15969 rm -f core conftest.err conftest.$ac_objext \
15970 conftest$ac_exeext
15971 if ${ac_cv_search_connect+:} false; then :
15972 break
15974 done
15975 if ${ac_cv_search_connect+:} false; then :
15977 else
15978 ac_cv_search_connect=no
15980 rm conftest.$ac_ext
15981 LIBS=$ac_func_search_save_LIBS
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15984 $as_echo "$ac_cv_search_connect" >&6; }
15985 ac_res=$ac_cv_search_connect
15986 if test "$ac_res" != no; then :
15987 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15993 $as_echo_n "checking for library containing inet_aton... " >&6; }
15994 if ${ac_cv_search_inet_aton+:} false; then :
15995 $as_echo_n "(cached) " >&6
15996 else
15997 ac_func_search_save_LIBS=$LIBS
15998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15999 /* end confdefs.h. */
16001 /* Override any GCC internal prototype to avoid an error.
16002 Use char because int might match the return type of a GCC
16003 builtin and then its argument prototype would still apply. */
16004 #ifdef __cplusplus
16005 extern "C"
16006 #endif
16007 char inet_aton ();
16009 main ()
16011 return inet_aton ();
16013 return 0;
16015 _ACEOF
16016 for ac_lib in '' resolv; do
16017 if test -z "$ac_lib"; then
16018 ac_res="none required"
16019 else
16020 ac_res=-l$ac_lib
16021 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16023 if ac_fn_c_try_link "$LINENO"; then :
16024 ac_cv_search_inet_aton=$ac_res
16026 rm -f core conftest.err conftest.$ac_objext \
16027 conftest$ac_exeext
16028 if ${ac_cv_search_inet_aton+:} false; then :
16029 break
16031 done
16032 if ${ac_cv_search_inet_aton+:} false; then :
16034 else
16035 ac_cv_search_inet_aton=no
16037 rm conftest.$ac_ext
16038 LIBS=$ac_func_search_save_LIBS
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16041 $as_echo "$ac_cv_search_inet_aton" >&6; }
16042 ac_res=$ac_cv_search_inet_aton
16043 if test "$ac_res" != no; then :
16044 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16049 for ac_func in \
16050 getaddrinfo \
16051 getnameinfo \
16052 getnetbyname \
16053 getprotobyname \
16054 getprotobynumber \
16055 getservbyport \
16056 inet_addr \
16057 inet_network \
16058 inet_ntop \
16059 inet_pton \
16060 sendmsg \
16061 socketpair \
16063 do :
16064 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16066 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16067 cat >>confdefs.h <<_ACEOF
16068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16069 _ACEOF
16072 done
16075 ac_save_LIBS=$LIBS
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16077 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16078 if ${ac_cv_search_clock_gettime+:} false; then :
16079 $as_echo_n "(cached) " >&6
16080 else
16081 ac_func_search_save_LIBS=$LIBS
16082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16083 /* end confdefs.h. */
16085 /* Override any GCC internal prototype to avoid an error.
16086 Use char because int might match the return type of a GCC
16087 builtin and then its argument prototype would still apply. */
16088 #ifdef __cplusplus
16089 extern "C"
16090 #endif
16091 char clock_gettime ();
16093 main ()
16095 return clock_gettime ();
16097 return 0;
16099 _ACEOF
16100 for ac_lib in '' rt; do
16101 if test -z "$ac_lib"; then
16102 ac_res="none required"
16103 else
16104 ac_res=-l$ac_lib
16105 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16107 if ac_fn_c_try_link "$LINENO"; then :
16108 ac_cv_search_clock_gettime=$ac_res
16110 rm -f core conftest.err conftest.$ac_objext \
16111 conftest$ac_exeext
16112 if ${ac_cv_search_clock_gettime+:} false; then :
16113 break
16115 done
16116 if ${ac_cv_search_clock_gettime+:} false; then :
16118 else
16119 ac_cv_search_clock_gettime=no
16121 rm conftest.$ac_ext
16122 LIBS=$ac_func_search_save_LIBS
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16125 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16126 ac_res=$ac_cv_search_clock_gettime
16127 if test "$ac_res" != no; then :
16128 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16130 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16132 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16136 LIBS=$ac_save_LIBS
16138 if test "x$with_ldap" != "xno"
16139 then
16140 if ${LDAP_CFLAGS:+false} :; then :
16141 if ${PKG_CONFIG+:} false; then :
16142 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16146 if ${LDAP_LIBS:+false} :; then :
16147 if ${PKG_CONFIG+:} false; then :
16148 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16152 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16153 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16154 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16155 ac_save_CPPFLAGS=$CPPFLAGS
16156 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16157 for ac_header in ldap.h lber.h
16158 do :
16159 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16160 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16161 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16162 cat >>confdefs.h <<_ACEOF
16163 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16164 _ACEOF
16168 done
16170 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16171 then
16172 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16174 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16176 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16177 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16178 $as_echo_n "(cached) " >&6
16179 else
16180 ac_check_lib_save_LIBS=$LIBS
16181 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16183 /* end confdefs.h. */
16185 /* Override any GCC internal prototype to avoid an error.
16186 Use char because int might match the return type of a GCC
16187 builtin and then its argument prototype would still apply. */
16188 #ifdef __cplusplus
16189 extern "C"
16190 #endif
16191 char ldap_initialize ();
16193 main ()
16195 return ldap_initialize ();
16197 return 0;
16199 _ACEOF
16200 if ac_fn_c_try_link "$LINENO"; then :
16201 ac_cv_lib_ldap_r_ldap_initialize=yes
16202 else
16203 ac_cv_lib_ldap_r_ldap_initialize=no
16205 rm -f core conftest.err conftest.$ac_objext \
16206 conftest$ac_exeext conftest.$ac_ext
16207 LIBS=$ac_check_lib_save_LIBS
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16210 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16211 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16213 $as_echo_n "checking for ber_init in -llber... " >&6; }
16214 if ${ac_cv_lib_lber_ber_init+:} false; then :
16215 $as_echo_n "(cached) " >&6
16216 else
16217 ac_check_lib_save_LIBS=$LIBS
16218 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16220 /* end confdefs.h. */
16222 /* Override any GCC internal prototype to avoid an error.
16223 Use char because int might match the return type of a GCC
16224 builtin and then its argument prototype would still apply. */
16225 #ifdef __cplusplus
16226 extern "C"
16227 #endif
16228 char ber_init ();
16230 main ()
16232 return ber_init ();
16234 return 0;
16236 _ACEOF
16237 if ac_fn_c_try_link "$LINENO"; then :
16238 ac_cv_lib_lber_ber_init=yes
16239 else
16240 ac_cv_lib_lber_ber_init=no
16242 rm -f core conftest.err conftest.$ac_objext \
16243 conftest$ac_exeext conftest.$ac_ext
16244 LIBS=$ac_check_lib_save_LIBS
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16247 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16248 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16250 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16252 else
16253 LDAP_LIBS=""
16256 else
16257 LDAP_LIBS=""
16260 else
16261 LDAP_LIBS=""
16264 ac_wine_check_funcs_save_LIBS="$LIBS"
16265 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16266 for ac_func in \
16267 ldap_count_references \
16268 ldap_first_reference \
16269 ldap_next_reference \
16270 ldap_parse_reference \
16271 ldap_parse_sort_control \
16272 ldap_parse_sortresponse_control \
16273 ldap_parse_vlv_control \
16274 ldap_parse_vlvresponse_control
16275 do :
16276 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16277 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16278 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16279 cat >>confdefs.h <<_ACEOF
16280 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16281 _ACEOF
16284 done
16286 LIBS="$ac_wine_check_funcs_save_LIBS"
16287 else
16288 LDAP_LIBS=""
16290 CPPFLAGS=$ac_save_CPPFLAGS
16291 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16292 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16295 if test "x$LDAP_LIBS" = "x"; then :
16296 case "x$with_ldap" in
16297 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16298 xno) ;;
16299 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16300 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16301 esac
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16306 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16307 if ${wine_cv_one_arg_mkdir+:} false; then :
16308 $as_echo_n "(cached) " >&6
16309 else
16310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16311 /* end confdefs.h. */
16312 #include <sys/stat.h>
16314 main ()
16316 mkdir("foo");
16318 return 0;
16320 _ACEOF
16321 if ac_fn_c_try_compile "$LINENO"; then :
16322 wine_cv_one_arg_mkdir=yes
16323 else
16324 wine_cv_one_arg_mkdir=no
16326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16329 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16330 if test "$wine_cv_one_arg_mkdir" = "yes"
16331 then
16333 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16338 $as_echo_n "checking for sched_setaffinity... " >&6; }
16339 if ${wine_cv_have_sched_setaffinity+:} false; then :
16340 $as_echo_n "(cached) " >&6
16341 else
16342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16343 /* end confdefs.h. */
16344 #define _GNU_SOURCE
16345 #include <sched.h>
16347 main ()
16349 sched_setaffinity(0, 0, 0);
16351 return 0;
16353 _ACEOF
16354 if ac_fn_c_try_link "$LINENO"; then :
16355 wine_cv_have_sched_setaffinity=yes
16356 else
16357 wine_cv_have_sched_setaffinity=no
16359 rm -f core conftest.err conftest.$ac_objext \
16360 conftest$ac_exeext conftest.$ac_ext
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16363 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16364 if test "$wine_cv_have_sched_setaffinity" = "yes"
16365 then
16367 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16372 $as_echo_n "checking for fallocate... " >&6; }
16373 if ${wine_cv_have_fallocate+:} false; then :
16374 $as_echo_n "(cached) " >&6
16375 else
16376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16377 /* end confdefs.h. */
16378 #define _GNU_SOURCE
16379 #include <fcntl.h>
16381 main ()
16383 fallocate(-1, 0, 0, 0);
16385 return 0;
16387 _ACEOF
16388 if ac_fn_c_try_link "$LINENO"; then :
16389 wine_cv_have_fallocate=yes
16390 else
16391 wine_cv_have_fallocate=no
16393 rm -f core conftest.err conftest.$ac_objext \
16394 conftest$ac_exeext conftest.$ac_ext
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16397 $as_echo "$wine_cv_have_fallocate" >&6; }
16398 if test "$wine_cv_have_fallocate" = "yes"
16399 then
16401 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16407 $as_echo_n "checking for inline... " >&6; }
16408 if ${ac_cv_c_inline+:} false; then :
16409 $as_echo_n "(cached) " >&6
16410 else
16411 ac_cv_c_inline=no
16412 for ac_kw in inline __inline__ __inline; do
16413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16414 /* end confdefs.h. */
16415 #ifndef __cplusplus
16416 typedef int foo_t;
16417 static $ac_kw foo_t static_foo () {return 0; }
16418 $ac_kw foo_t foo () {return 0; }
16419 #endif
16421 _ACEOF
16422 if ac_fn_c_try_compile "$LINENO"; then :
16423 ac_cv_c_inline=$ac_kw
16425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16426 test "$ac_cv_c_inline" != no && break
16427 done
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16431 $as_echo "$ac_cv_c_inline" >&6; }
16433 case $ac_cv_c_inline in
16434 inline | yes) ;;
16436 case $ac_cv_c_inline in
16437 no) ac_val=;;
16438 *) ac_val=$ac_cv_c_inline;;
16439 esac
16440 cat >>confdefs.h <<_ACEOF
16441 #ifndef __cplusplus
16442 #define inline $ac_val
16443 #endif
16444 _ACEOF
16446 esac
16448 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16449 if test "x$ac_cv_type_mode_t" = xyes; then :
16451 cat >>confdefs.h <<_ACEOF
16452 #define HAVE_MODE_T 1
16453 _ACEOF
16457 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16458 if test "x$ac_cv_type_off_t" = xyes; then :
16460 cat >>confdefs.h <<_ACEOF
16461 #define HAVE_OFF_T 1
16462 _ACEOF
16466 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16467 if test "x$ac_cv_type_pid_t" = xyes; then :
16469 cat >>confdefs.h <<_ACEOF
16470 #define HAVE_PID_T 1
16471 _ACEOF
16475 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16476 if test "x$ac_cv_type_size_t" = xyes; then :
16478 cat >>confdefs.h <<_ACEOF
16479 #define HAVE_SIZE_T 1
16480 _ACEOF
16484 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16485 if test "x$ac_cv_type_ssize_t" = xyes; then :
16487 cat >>confdefs.h <<_ACEOF
16488 #define HAVE_SSIZE_T 1
16489 _ACEOF
16493 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16494 if test "x$ac_cv_type_long_long" = xyes; then :
16496 cat >>confdefs.h <<_ACEOF
16497 #define HAVE_LONG_LONG 1
16498 _ACEOF
16502 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16503 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16505 cat >>confdefs.h <<_ACEOF
16506 #define HAVE_FSBLKCNT_T 1
16507 _ACEOF
16511 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16512 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16514 cat >>confdefs.h <<_ACEOF
16515 #define HAVE_FSFILCNT_T 1
16516 _ACEOF
16521 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16522 #include <signal.h>
16524 if test "x$ac_cv_type_sigset_t" = xyes; then :
16526 cat >>confdefs.h <<_ACEOF
16527 #define HAVE_SIGSET_T 1
16528 _ACEOF
16533 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16535 if test "x$ac_cv_type_request_sense" = xyes; then :
16537 cat >>confdefs.h <<_ACEOF
16538 #define HAVE_REQUEST_SENSE 1
16539 _ACEOF
16545 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16546 #ifdef HAVE_SYS_SOCKET_H
16547 #include <sys/socket.h>
16548 #endif
16549 #ifdef HAVE_SYS_SOCKETVAR_H
16550 #include <sys/socketvar.h>
16551 #endif
16552 #ifdef HAVE_NET_ROUTE_H
16553 #include <net/route.h>
16554 #endif
16555 #ifdef HAVE_NETINET_IN_H
16556 #include <netinet/in.h>
16557 #endif
16558 #ifdef HAVE_NETINET_IN_SYSTM_H
16559 #include <netinet/in_systm.h>
16560 #endif
16561 #ifdef HAVE_NETINET_IP_H
16562 #include <netinet/ip.h>
16563 #endif
16564 #ifdef HAVE_NETINET_IN_PCB_H
16565 #include <netinet/in_pcb.h>
16566 #endif
16568 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16570 cat >>confdefs.h <<_ACEOF
16571 #define HAVE_STRUCT_XINPGEN 1
16572 _ACEOF
16578 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16579 #include <link.h>
16580 #endif
16581 #ifdef HAVE_SYS_LINK_H
16582 #include <sys/link.h>
16583 #endif
16585 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16587 cat >>confdefs.h <<_ACEOF
16588 #define HAVE_STRUCT_R_DEBUG 1
16589 _ACEOF
16593 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16594 #include <link.h>
16595 #endif
16596 #ifdef HAVE_SYS_LINK_H
16597 #include <sys/link.h>
16598 #endif
16600 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16602 cat >>confdefs.h <<_ACEOF
16603 #define HAVE_STRUCT_LINK_MAP 1
16604 _ACEOF
16610 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16611 #include <linux/input.h>
16612 #endif
16614 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16616 cat >>confdefs.h <<_ACEOF
16617 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16618 _ACEOF
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16625 $as_echo_n "checking for if_nameindex... " >&6; }
16626 if ${wine_cv_have_if_nameindex+:} false; then :
16627 $as_echo_n "(cached) " >&6
16628 else
16629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16630 /* end confdefs.h. */
16631 #ifdef HAVE_SYS_TYPES_H
16632 #include <sys/types.h>
16633 #endif
16634 #ifdef HAVE_SYS_SOCKET_H
16635 #include <sys/socket.h>
16636 #endif
16637 #ifdef HAVE_NET_IF_H
16638 # include <net/if.h>
16639 #endif
16641 main ()
16643 struct if_nameindex *p = if_nameindex(); return p->if_index;
16645 return 0;
16647 _ACEOF
16648 if ac_fn_c_try_link "$LINENO"; then :
16649 wine_cv_have_if_nameindex=yes
16650 else
16651 wine_cv_have_if_nameindex=no
16653 rm -f core conftest.err conftest.$ac_objext \
16654 conftest$ac_exeext conftest.$ac_ext
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16657 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16658 if test "$wine_cv_have_if_nameindex" = "yes"
16659 then
16661 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16666 $as_echo_n "checking for sigaddset... " >&6; }
16667 if ${wine_cv_have_sigaddset+:} false; then :
16668 $as_echo_n "(cached) " >&6
16669 else
16670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16671 /* end confdefs.h. */
16672 #include <signal.h>
16674 main ()
16676 sigset_t set; sigaddset(&set,SIGTERM);
16678 return 0;
16680 _ACEOF
16681 if ac_fn_c_try_link "$LINENO"; then :
16682 wine_cv_have_sigaddset=yes
16683 else
16684 wine_cv_have_sigaddset=no
16686 rm -f core conftest.err conftest.$ac_objext \
16687 conftest$ac_exeext conftest.$ac_ext
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16690 $as_echo "$wine_cv_have_sigaddset" >&6; }
16691 if test "$wine_cv_have_sigaddset" = "yes"
16692 then
16694 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16700 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16701 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16702 $as_echo_n "(cached) " >&6
16703 else
16704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16705 /* end confdefs.h. */
16706 #include <netdb.h>
16708 main ()
16711 char *name=0;
16712 struct hostent he;
16713 struct hostent *result;
16714 char *buf=0;
16715 int bufsize=0;
16716 int errnr;
16717 char *addr=0;
16718 int addrlen=0;
16719 int addrtype=0;
16720 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16721 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16724 return 0;
16726 _ACEOF
16727 if ac_fn_c_try_link "$LINENO"; then :
16728 wine_cv_linux_gethostbyname_r_6=yes
16729 else
16730 wine_cv_linux_gethostbyname_r_6=no
16733 rm -f core conftest.err conftest.$ac_objext \
16734 conftest$ac_exeext conftest.$ac_ext
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16738 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16739 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16740 then
16742 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16746 if test "$ac_cv_header_linux_joystick_h" = "yes"
16747 then
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16749 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16750 if ${wine_cv_linux_joystick_22_api+:} false; then :
16751 $as_echo_n "(cached) " >&6
16752 else
16753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16754 /* end confdefs.h. */
16756 #include <sys/ioctl.h>
16757 #include <sys/types.h>
16758 #include <linux/joystick.h>
16760 struct js_event blub;
16761 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16762 #error "no 2.2 header"
16763 #endif
16766 main ()
16768 /*empty*/
16770 return 0;
16772 _ACEOF
16773 if ac_fn_c_try_compile "$LINENO"; then :
16774 wine_cv_linux_joystick_22_api=yes
16775 else
16776 wine_cv_linux_joystick_22_api=no
16778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16782 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16783 if test "$wine_cv_linux_joystick_22_api" = "yes"
16784 then
16786 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16792 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16793 #ifdef HAVE_SYS_PARAM_H
16794 # include <sys/param.h>
16795 #endif
16796 #ifdef HAVE_SYS_MOUNT_H
16797 # include <sys/mount.h>
16798 #endif
16799 #ifdef HAVE_SYS_VFS_H
16800 # include <sys/vfs.h>
16801 #endif
16802 #ifdef HAVE_SYS_STATFS_H
16803 # include <sys/statfs.h>
16804 #endif
16806 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16808 cat >>confdefs.h <<_ACEOF
16809 #define HAVE_STRUCT_STATFS_F_BFREE 1
16810 _ACEOF
16814 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16815 #ifdef HAVE_SYS_PARAM_H
16816 # include <sys/param.h>
16817 #endif
16818 #ifdef HAVE_SYS_MOUNT_H
16819 # include <sys/mount.h>
16820 #endif
16821 #ifdef HAVE_SYS_VFS_H
16822 # include <sys/vfs.h>
16823 #endif
16824 #ifdef HAVE_SYS_STATFS_H
16825 # include <sys/statfs.h>
16826 #endif
16828 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16830 cat >>confdefs.h <<_ACEOF
16831 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16832 _ACEOF
16836 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16837 #ifdef HAVE_SYS_PARAM_H
16838 # include <sys/param.h>
16839 #endif
16840 #ifdef HAVE_SYS_MOUNT_H
16841 # include <sys/mount.h>
16842 #endif
16843 #ifdef HAVE_SYS_VFS_H
16844 # include <sys/vfs.h>
16845 #endif
16846 #ifdef HAVE_SYS_STATFS_H
16847 # include <sys/statfs.h>
16848 #endif
16850 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16852 cat >>confdefs.h <<_ACEOF
16853 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16854 _ACEOF
16858 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16859 #ifdef HAVE_SYS_PARAM_H
16860 # include <sys/param.h>
16861 #endif
16862 #ifdef HAVE_SYS_MOUNT_H
16863 # include <sys/mount.h>
16864 #endif
16865 #ifdef HAVE_SYS_VFS_H
16866 # include <sys/vfs.h>
16867 #endif
16868 #ifdef HAVE_SYS_STATFS_H
16869 # include <sys/statfs.h>
16870 #endif
16872 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16874 cat >>confdefs.h <<_ACEOF
16875 #define HAVE_STRUCT_STATFS_F_FFREE 1
16876 _ACEOF
16880 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16881 #ifdef HAVE_SYS_PARAM_H
16882 # include <sys/param.h>
16883 #endif
16884 #ifdef HAVE_SYS_MOUNT_H
16885 # include <sys/mount.h>
16886 #endif
16887 #ifdef HAVE_SYS_VFS_H
16888 # include <sys/vfs.h>
16889 #endif
16890 #ifdef HAVE_SYS_STATFS_H
16891 # include <sys/statfs.h>
16892 #endif
16894 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16896 cat >>confdefs.h <<_ACEOF
16897 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16898 _ACEOF
16902 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16903 #ifdef HAVE_SYS_PARAM_H
16904 # include <sys/param.h>
16905 #endif
16906 #ifdef HAVE_SYS_MOUNT_H
16907 # include <sys/mount.h>
16908 #endif
16909 #ifdef HAVE_SYS_VFS_H
16910 # include <sys/vfs.h>
16911 #endif
16912 #ifdef HAVE_SYS_STATFS_H
16913 # include <sys/statfs.h>
16914 #endif
16916 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16918 cat >>confdefs.h <<_ACEOF
16919 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16920 _ACEOF
16926 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16927 #include <sys/statvfs.h>
16928 #endif
16930 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16932 cat >>confdefs.h <<_ACEOF
16933 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16934 _ACEOF
16940 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16941 #include <dirent.h>
16942 #endif
16944 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16946 cat >>confdefs.h <<_ACEOF
16947 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16948 _ACEOF
16954 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16955 #ifdef HAVE_SYS_SOCKET_H
16956 # include <sys/socket.h>
16957 #endif
16958 #ifdef HAVE_SYS_UN_H
16959 # include <sys/un.h>
16960 #endif
16962 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16964 cat >>confdefs.h <<_ACEOF
16965 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16966 _ACEOF
16970 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16971 #ifdef HAVE_SYS_SOCKET_H
16972 # include <sys/socket.h>
16973 #endif
16974 #ifdef HAVE_SYS_UN_H
16975 # include <sys/un.h>
16976 #endif
16978 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16980 cat >>confdefs.h <<_ACEOF
16981 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16982 _ACEOF
16986 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16987 #ifdef HAVE_SYS_SOCKET_H
16988 # include <sys/socket.h>
16989 #endif
16990 #ifdef HAVE_SYS_UN_H
16991 # include <sys/un.h>
16992 #endif
16994 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16996 cat >>confdefs.h <<_ACEOF
16997 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16998 _ACEOF
17004 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17005 #ifdef HAVE_SCSI_SG_H
17006 #include <scsi/sg.h>
17007 #endif
17009 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17011 cat >>confdefs.h <<_ACEOF
17012 #define HAVE_SCSIREQ_T_CMD 1
17013 _ACEOF
17017 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>
17018 #ifdef HAVE_SCSI_SG_H
17019 #include <scsi/sg.h>
17020 #endif
17022 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17024 cat >>confdefs.h <<_ACEOF
17025 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17026 _ACEOF
17032 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17034 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17036 cat >>confdefs.h <<_ACEOF
17037 #define HAVE_SIGINFO_T_SI_FD 1
17038 _ACEOF
17044 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17045 #ifdef HAVE_SYS_MTIO_H
17046 #include <sys/mtio.h>
17047 #endif
17049 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17051 cat >>confdefs.h <<_ACEOF
17052 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17053 _ACEOF
17057 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17058 #ifdef HAVE_SYS_MTIO_H
17059 #include <sys/mtio.h>
17060 #endif
17062 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17064 cat >>confdefs.h <<_ACEOF
17065 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17066 _ACEOF
17070 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17071 #ifdef HAVE_SYS_MTIO_H
17072 #include <sys/mtio.h>
17073 #endif
17075 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17077 cat >>confdefs.h <<_ACEOF
17078 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17079 _ACEOF
17085 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17086 #include <getopt.h>
17087 #endif
17089 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17091 cat >>confdefs.h <<_ACEOF
17092 #define HAVE_STRUCT_OPTION_NAME 1
17093 _ACEOF
17099 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17100 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17102 cat >>confdefs.h <<_ACEOF
17103 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17104 _ACEOF
17108 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17109 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17111 cat >>confdefs.h <<_ACEOF
17112 #define HAVE_STRUCT_STAT_ST_MTIM 1
17113 _ACEOF
17117 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17118 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17120 cat >>confdefs.h <<_ACEOF
17121 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17122 _ACEOF
17126 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17127 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17129 cat >>confdefs.h <<_ACEOF
17130 #define HAVE_STRUCT_STAT_ST_CTIM 1
17131 _ACEOF
17135 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17136 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17138 cat >>confdefs.h <<_ACEOF
17139 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17140 _ACEOF
17144 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17145 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17147 cat >>confdefs.h <<_ACEOF
17148 #define HAVE_STRUCT_STAT_ST_ATIM 1
17149 _ACEOF
17153 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17154 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17156 cat >>confdefs.h <<_ACEOF
17157 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17158 _ACEOF
17162 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17163 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17165 cat >>confdefs.h <<_ACEOF
17166 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17167 _ACEOF
17171 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17172 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17174 cat >>confdefs.h <<_ACEOF
17175 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17176 _ACEOF
17180 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17181 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17183 cat >>confdefs.h <<_ACEOF
17184 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 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
17209 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
17210 #include <sys/types.h>
17211 #endif
17212 #ifdef HAVE_NETINET_IN_H
17213 #include <netinet/in.h>
17214 #endif
17216 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17218 cat >>confdefs.h <<_ACEOF
17219 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17220 _ACEOF
17226 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17227 #include <sys/types.h>
17228 #endif
17229 #ifdef HAVE_NETINET_IN_H
17230 #include <netinet/in.h>
17231 #endif
17232 #ifdef HAVE_RESOLV_H
17233 #include <resolv.h>
17234 #endif
17236 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17238 cat >>confdefs.h <<_ACEOF
17239 #define HAVE_STRUCT___RES_STATE 1
17240 _ACEOF
17246 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
17247 #include <resolv.h>
17248 #endif
17250 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17252 cat >>confdefs.h <<_ACEOF
17253 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17254 _ACEOF
17260 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17261 #include <sys/types.h>
17262 #endif
17263 #ifdef HAVE_NETINET_IN_H
17264 # include <netinet/in.h>
17265 #endif
17266 #ifdef HAVE_ARPA_NAMESER_H
17267 # include <arpa/nameser.h>
17268 #endif
17270 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17272 cat >>confdefs.h <<_ACEOF
17273 #define HAVE_NS_MSG__MSG_PTR 1
17274 _ACEOF
17280 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17281 #include <sys/types.h>
17282 #endif
17283 #ifdef HAVE_NETINET_IN_H
17284 #include <netinet/in.h>
17285 #endif
17286 #ifdef HAVE_NETINET_IP_H
17287 #include <netinet/ip.h>
17288 #endif
17289 #ifdef HAVE_NETINET_IP_ICMP_H
17290 #include <netinet/ip_icmp.h>
17291 #endif
17292 #ifdef HAVE_NETINET_ICMP_VAR_H
17293 #include <netinet/icmp_var.h>
17294 #endif
17296 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17298 cat >>confdefs.h <<_ACEOF
17299 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17300 _ACEOF
17306 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17307 #include <sys/types.h>
17308 #endif
17309 #ifdef HAVE_ALIAS_H
17310 #include <alias.h>
17311 #endif
17312 #ifdef HAVE_SYS_SOCKET_H
17313 #include <sys/socket.h>
17314 #endif
17315 #ifdef HAVE_SYS_SOCKETVAR_H
17316 #include <sys/socketvar.h>
17317 #endif
17318 #ifdef HAVE_SYS_TIMEOUT_H
17319 #include <sys/timeout.h>
17320 #endif
17321 #ifdef HAVE_NETINET_IN_H
17322 #include <netinet/in.h>
17323 #endif
17324 #ifdef HAVE_NETINET_IN_SYSTM_H
17325 #include <netinet/in_systm.h>
17326 #endif
17327 #ifdef HAVE_NETINET_IP_H
17328 #include <netinet/ip.h>
17329 #endif
17330 #ifdef HAVE_NETINET_IP_VAR_H
17331 #include <netinet/ip_var.h>
17332 #endif
17333 #ifdef HAVE_NETINET_IP_ICMP_H
17334 #include <netinet/ip_icmp.h>
17335 #endif
17336 #ifdef HAVE_NETINET_ICMP_VAR_H
17337 #include <netinet/icmp_var.h>
17338 #endif
17340 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17342 cat >>confdefs.h <<_ACEOF
17343 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17344 _ACEOF
17350 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17351 #include <sys/types.h>
17352 #endif
17353 #ifdef HAVE_SYS_SOCKETVAR_H
17354 #include <sys/socketvar.h>
17355 #endif
17356 #ifdef HAVE_NETINET_IN_H
17357 #include <netinet/in.h>
17358 #endif
17359 #ifdef HAVE_NETINET_IP_VAR_H
17360 #include <netinet/ip_var.h>
17361 #endif
17363 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17365 cat >>confdefs.h <<_ACEOF
17366 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17367 _ACEOF
17373 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
17374 #include <netinet/ip_var.h>
17375 #endif
17377 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17379 cat >>confdefs.h <<_ACEOF
17380 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17381 _ACEOF
17387 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17388 #include <sys/types.h>
17389 #endif
17390 #ifdef HAVE_SYS_SOCKETVAR_H
17391 #include <sys/socketvar.h>
17392 #endif
17393 #ifdef HAVE_NETINET_IN_H
17394 #include <netinet/in.h>
17395 #endif
17396 #ifdef HAVE_NETINET_TCP_H
17397 #include <netinet/tcp.h>
17398 #endif
17399 #ifdef HAVE_NETINET_TCP_VAR_H
17400 #include <netinet/tcp_var.h>
17401 #endif
17403 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17405 cat >>confdefs.h <<_ACEOF
17406 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17407 _ACEOF
17413 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
17414 #include <netinet/tcp_var.h>
17415 #endif
17417 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17419 cat >>confdefs.h <<_ACEOF
17420 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17421 _ACEOF
17427 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17428 #include <sys/types.h>
17429 #endif
17430 #ifdef HAVE_NETINET_IN_H
17431 #include <netinet/in.h>
17432 #endif
17433 #ifdef HAVE_NETINET_IP_VAR_H
17434 #include <netinet/ip_var.h>
17435 #endif
17436 #ifdef HAVE_NETINET_UDP_H
17437 #include <netinet/udp.h>
17438 #endif
17439 #ifdef HAVE_NETINET_UDP_VAR_H
17440 #include <netinet/udp_var.h>
17441 #endif
17443 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17445 cat >>confdefs.h <<_ACEOF
17446 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17447 _ACEOF
17453 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17454 #include <sys/types.h>
17455 #endif
17456 #ifdef HAVE_NET_IF_H
17457 # include <net/if.h>
17458 #endif
17460 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17462 cat >>confdefs.h <<_ACEOF
17463 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17464 _ACEOF
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17471 $as_echo_n "checking for timezone variable... " >&6; }
17472 if ${ac_cv_have_timezone+:} false; then :
17473 $as_echo_n "(cached) " >&6
17474 else
17475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17476 /* end confdefs.h. */
17477 #include <time.h>
17479 main ()
17481 timezone = 1
17483 return 0;
17485 _ACEOF
17486 if ac_fn_c_try_link "$LINENO"; then :
17487 ac_cv_have_timezone="yes"
17488 else
17489 ac_cv_have_timezone="no"
17491 rm -f core conftest.err conftest.$ac_objext \
17492 conftest$ac_exeext conftest.$ac_ext
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17495 $as_echo "$ac_cv_have_timezone" >&6; }
17496 if test "$ac_cv_have_timezone" = "yes"
17497 then
17499 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17503 $as_echo_n "checking for daylight variable... " >&6; }
17504 if ${ac_cv_have_daylight+:} false; then :
17505 $as_echo_n "(cached) " >&6
17506 else
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17509 #include <time.h>
17511 main ()
17513 daylight = 1
17515 return 0;
17517 _ACEOF
17518 if ac_fn_c_try_link "$LINENO"; then :
17519 ac_cv_have_daylight="yes"
17520 else
17521 ac_cv_have_daylight="no"
17523 rm -f core conftest.err conftest.$ac_objext \
17524 conftest$ac_exeext conftest.$ac_ext
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17527 $as_echo "$ac_cv_have_daylight" >&6; }
17528 if test "$ac_cv_have_daylight" = "yes"
17529 then
17531 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17535 ac_save_LIBS="$LIBS"
17536 LIBS="$LIBS -lm"
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17538 $as_echo_n "checking for isfinite... " >&6; }
17539 if ${ac_cv_have_isfinite+:} false; then :
17540 $as_echo_n "(cached) " >&6
17541 else
17542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17543 /* end confdefs.h. */
17544 #define _GNU_SOURCE
17545 #include <math.h>
17547 main ()
17549 float f = 0.0; return isfinite(f)
17551 return 0;
17553 _ACEOF
17554 if ac_fn_c_try_link "$LINENO"; then :
17555 ac_cv_have_isfinite="yes"
17556 else
17557 ac_cv_have_isfinite="no"
17559 rm -f core conftest.err conftest.$ac_objext \
17560 conftest$ac_exeext conftest.$ac_ext
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17563 $as_echo "$ac_cv_have_isfinite" >&6; }
17564 if test "$ac_cv_have_isfinite" = "yes"
17565 then
17567 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17572 $as_echo_n "checking for isinf... " >&6; }
17573 if ${ac_cv_have_isinf+:} false; then :
17574 $as_echo_n "(cached) " >&6
17575 else
17576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17577 /* end confdefs.h. */
17578 #include <math.h>
17580 main ()
17582 float f = 0.0; return isinf(f)
17584 return 0;
17586 _ACEOF
17587 if ac_fn_c_try_link "$LINENO"; then :
17588 ac_cv_have_isinf="yes"
17589 else
17590 ac_cv_have_isinf="no"
17592 rm -f core conftest.err conftest.$ac_objext \
17593 conftest$ac_exeext conftest.$ac_ext
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17596 $as_echo "$ac_cv_have_isinf" >&6; }
17597 if test "$ac_cv_have_isinf" = "yes"
17598 then
17600 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17605 $as_echo_n "checking for isnan... " >&6; }
17606 if ${ac_cv_have_isnan+:} false; then :
17607 $as_echo_n "(cached) " >&6
17608 else
17609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17610 /* end confdefs.h. */
17611 #include <math.h>
17613 main ()
17615 float f = 0.0; return isnan(f)
17617 return 0;
17619 _ACEOF
17620 if ac_fn_c_try_link "$LINENO"; then :
17621 ac_cv_have_isnan="yes"
17622 else
17623 ac_cv_have_isnan="no"
17625 rm -f core conftest.err conftest.$ac_objext \
17626 conftest$ac_exeext conftest.$ac_ext
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17629 $as_echo "$ac_cv_have_isnan" >&6; }
17630 if test "$ac_cv_have_isnan" = "yes"
17631 then
17633 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17637 for ac_func in \
17638 acosh \
17639 acoshf \
17640 asinh \
17641 asinhf \
17642 atanh \
17643 atanhf \
17644 cbrt \
17645 cbrtf \
17646 erf \
17647 erfc \
17648 erfcf \
17649 erff \
17650 exp2 \
17651 exp2f \
17652 expm1 \
17653 expm1f \
17654 j0 \
17655 j1 \
17656 jn \
17657 lgamma \
17658 lgammaf \
17659 llrint \
17660 llrintf \
17661 llround \
17662 llroundf \
17663 log1p \
17664 log1pf \
17665 log2 \
17666 log2f \
17667 lrint \
17668 lrintf \
17669 lround \
17670 lroundf \
17671 nearbyint \
17672 nearbyintf \
17673 powl \
17674 remainder \
17675 remainderf \
17676 rint \
17677 rintf \
17678 round \
17679 roundf \
17680 trunc \
17681 truncf \
17682 y0 \
17683 y1 \
17686 do :
17687 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17688 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17689 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17690 cat >>confdefs.h <<_ACEOF
17691 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17692 _ACEOF
17695 done
17697 LIBS="$ac_save_LIBS"
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17700 $as_echo_n "checking for __builtin_clz... " >&6; }
17701 if ${ac_cv_have___builtin_clz+:} false; then :
17702 $as_echo_n "(cached) " >&6
17703 else
17704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17705 /* end confdefs.h. */
17708 main ()
17710 return __builtin_clz(1)
17712 return 0;
17714 _ACEOF
17715 if ac_fn_c_try_link "$LINENO"; then :
17716 ac_cv_have___builtin_clz="yes"
17717 else
17718 ac_cv_have___builtin_clz="no"
17720 rm -f core conftest.err conftest.$ac_objext \
17721 conftest$ac_exeext conftest.$ac_ext
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17724 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17725 if test "$ac_cv_have___builtin_clz" = "yes"
17726 then
17728 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17733 $as_echo_n "checking for __builtin_popcount... " >&6; }
17734 if ${ac_cv_have___builtin_popcount+:} false; then :
17735 $as_echo_n "(cached) " >&6
17736 else
17737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17738 /* end confdefs.h. */
17741 main ()
17743 return __builtin_popcount(1)
17745 return 0;
17747 _ACEOF
17748 if ac_fn_c_try_link "$LINENO"; then :
17749 ac_cv_have___builtin_popcount="yes"
17750 else
17751 ac_cv_have___builtin_popcount="no"
17753 rm -f core conftest.err conftest.$ac_objext \
17754 conftest$ac_exeext conftest.$ac_ext
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17757 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17758 if test "$ac_cv_have___builtin_popcount" = "yes"
17759 then
17761 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17766 $as_echo_n "checking for __clear_cache... " >&6; }
17767 if ${ac_cv_have___clear_cache+:} false; then :
17768 $as_echo_n "(cached) " >&6
17769 else
17770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17771 /* end confdefs.h. */
17774 main ()
17776 __clear_cache((void*)0, (void*)0); return 0;
17778 return 0;
17780 _ACEOF
17781 if ac_fn_c_try_link "$LINENO"; then :
17782 ac_cv_have___clear_cache="yes"
17783 else
17784 ac_cv_have___clear_cache="no"
17786 rm -f core conftest.err conftest.$ac_objext \
17787 conftest$ac_exeext conftest.$ac_ext
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17790 $as_echo "$ac_cv_have___clear_cache" >&6; }
17791 if test "$ac_cv_have___clear_cache" = "yes"
17792 then
17794 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17799 case $host_cpu in
17800 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17801 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17802 if ${ac_cv_cpp_def___i386__+:} false; then :
17803 $as_echo_n "(cached) " >&6
17804 else
17805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17806 /* end confdefs.h. */
17807 #ifndef __i386__
17809 #endif
17810 _ACEOF
17811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17812 $EGREP "yes" >/dev/null 2>&1; then :
17813 ac_cv_cpp_def___i386__=yes
17814 else
17815 ac_cv_cpp_def___i386__=no
17817 rm -f conftest*
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17821 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17822 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17823 CFLAGS="$CFLAGS -D__i386__"
17824 LINTFLAGS="$LINTFLAGS -D__i386__"
17825 fi ;;
17826 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17827 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17828 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17829 $as_echo_n "(cached) " >&6
17830 else
17831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17832 /* end confdefs.h. */
17833 #ifndef __x86_64__
17835 #endif
17836 _ACEOF
17837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17838 $EGREP "yes" >/dev/null 2>&1; then :
17839 ac_cv_cpp_def___x86_64__=yes
17840 else
17841 ac_cv_cpp_def___x86_64__=no
17843 rm -f conftest*
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17847 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17848 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17849 CFLAGS="$CFLAGS -D__x86_64__"
17850 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17851 fi ;;
17852 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17853 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17854 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17855 $as_echo_n "(cached) " >&6
17856 else
17857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17858 /* end confdefs.h. */
17859 #ifndef __sparc64__
17861 #endif
17862 _ACEOF
17863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17864 $EGREP "yes" >/dev/null 2>&1; then :
17865 ac_cv_cpp_def___sparc64__=yes
17866 else
17867 ac_cv_cpp_def___sparc64__=no
17869 rm -f conftest*
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17873 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17874 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17875 CFLAGS="$CFLAGS -D__sparc64__"
17876 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17877 fi ;;
17878 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17879 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17880 if ${ac_cv_cpp_def___sparc__+:} false; then :
17881 $as_echo_n "(cached) " >&6
17882 else
17883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17884 /* end confdefs.h. */
17885 #ifndef __sparc__
17887 #endif
17888 _ACEOF
17889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17890 $EGREP "yes" >/dev/null 2>&1; then :
17891 ac_cv_cpp_def___sparc__=yes
17892 else
17893 ac_cv_cpp_def___sparc__=no
17895 rm -f conftest*
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17899 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17900 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17901 CFLAGS="$CFLAGS -D__sparc__"
17902 LINTFLAGS="$LINTFLAGS -D__sparc__"
17903 fi ;;
17904 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17905 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17906 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17907 $as_echo_n "(cached) " >&6
17908 else
17909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17910 /* end confdefs.h. */
17911 #ifndef __powerpc64__
17913 #endif
17914 _ACEOF
17915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17916 $EGREP "yes" >/dev/null 2>&1; then :
17917 ac_cv_cpp_def___powerpc64__=yes
17918 else
17919 ac_cv_cpp_def___powerpc64__=no
17921 rm -f conftest*
17924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17925 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17926 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17927 CFLAGS="$CFLAGS -D__powerpc64__"
17928 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17929 fi ;;
17930 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17931 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17932 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17933 $as_echo_n "(cached) " >&6
17934 else
17935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17936 /* end confdefs.h. */
17937 #ifndef __powerpc__
17939 #endif
17940 _ACEOF
17941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17942 $EGREP "yes" >/dev/null 2>&1; then :
17943 ac_cv_cpp_def___powerpc__=yes
17944 else
17945 ac_cv_cpp_def___powerpc__=no
17947 rm -f conftest*
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17951 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17952 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17953 CFLAGS="$CFLAGS -D__powerpc__"
17954 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17955 fi ;;
17956 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17957 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17958 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17959 $as_echo_n "(cached) " >&6
17960 else
17961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17962 /* end confdefs.h. */
17963 #ifndef __aarch64__
17965 #endif
17966 _ACEOF
17967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17968 $EGREP "yes" >/dev/null 2>&1; then :
17969 ac_cv_cpp_def___aarch64__=yes
17970 else
17971 ac_cv_cpp_def___aarch64__=no
17973 rm -f conftest*
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17977 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17978 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17979 CFLAGS="$CFLAGS -D__aarch64__"
17980 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17981 fi ;;
17982 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17983 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17984 if ${ac_cv_cpp_def___arm__+:} false; then :
17985 $as_echo_n "(cached) " >&6
17986 else
17987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17988 /* end confdefs.h. */
17989 #ifndef __arm__
17991 #endif
17992 _ACEOF
17993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17994 $EGREP "yes" >/dev/null 2>&1; then :
17995 ac_cv_cpp_def___arm__=yes
17996 else
17997 ac_cv_cpp_def___arm__=no
17999 rm -f conftest*
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18003 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18004 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18005 CFLAGS="$CFLAGS -D__arm__"
18006 LINTFLAGS="$LINTFLAGS -D__arm__"
18007 fi ;;
18008 esac
18010 case $host_vendor in
18011 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18012 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18013 if ${ac_cv_cpp_def___sun__+:} false; then :
18014 $as_echo_n "(cached) " >&6
18015 else
18016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18017 /* end confdefs.h. */
18018 #ifndef __sun__
18020 #endif
18021 _ACEOF
18022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18023 $EGREP "yes" >/dev/null 2>&1; then :
18024 ac_cv_cpp_def___sun__=yes
18025 else
18026 ac_cv_cpp_def___sun__=no
18028 rm -f conftest*
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18032 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18033 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18034 CFLAGS="$CFLAGS -D__sun__"
18035 LINTFLAGS="$LINTFLAGS -D__sun__"
18036 fi ;;
18037 esac
18043 ac_config_commands="$ac_config_commands include/stamp-h"
18045 $as_echo_n "creating Makefile rules..." >&6
18047 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18048 SOCKET_LIBS = $SOCKET_LIBS
18049 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18050 IOKIT_LIBS = $IOKIT_LIBS
18051 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18052 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18053 CORESERVICES_LIBS = $CORESERVICES_LIBS
18054 APPKIT_LIBS = $APPKIT_LIBS
18055 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18056 SECURITY_LIBS = $SECURITY_LIBS
18057 COREAUDIO_LIBS = $COREAUDIO_LIBS
18058 OPENAL_LIBS = $OPENAL_LIBS
18059 OPENCL_LIBS = $OPENCL_LIBS
18060 QUICKTIME_LIBS = $QUICKTIME_LIBS
18061 CARBON_LIBS = $CARBON_LIBS
18062 PTHREAD_LIBS = $PTHREAD_LIBS
18063 X_CFLAGS = $X_CFLAGS
18064 X_PRE_LIBS = $X_PRE_LIBS
18065 X_LIBS = $X_LIBS
18066 X_EXTRA_LIBS = $X_EXTRA_LIBS
18067 PCAP_LIBS = $PCAP_LIBS
18068 XML2_CFLAGS = $XML2_CFLAGS
18069 XML2_LIBS = $XML2_LIBS
18070 XSLT_CFLAGS = $XSLT_CFLAGS
18071 XSLT_LIBS = $XSLT_LIBS
18072 DBUS_CFLAGS = $DBUS_CFLAGS
18073 DBUS_LIBS = $DBUS_LIBS
18074 HAL_CFLAGS = $HAL_CFLAGS
18075 HAL_LIBS = $HAL_LIBS
18076 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18077 GNUTLS_LIBS = $GNUTLS_LIBS
18078 SANE_CFLAGS = $SANE_CFLAGS
18079 SANE_LIBS = $SANE_LIBS
18080 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18081 GPHOTO2_LIBS = $GPHOTO2_LIBS
18082 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18083 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18084 RESOLV_LIBS = $RESOLV_LIBS
18085 LCMS2_CFLAGS = $LCMS2_CFLAGS
18086 LCMS2_LIBS = $LCMS2_LIBS
18087 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18088 FREETYPE_LIBS = $FREETYPE_LIBS
18089 Z_LIBS = $Z_LIBS
18090 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18091 PULSE_CFLAGS = $PULSE_CFLAGS
18092 PULSE_LIBS = $PULSE_LIBS
18093 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18094 GSTREAMER_LIBS = $GSTREAMER_LIBS
18095 ALSA_LIBS = $ALSA_LIBS
18096 OSS4_CFLAGS = $OSS4_CFLAGS
18097 UDEV_CFLAGS = $UDEV_CFLAGS
18098 UDEV_LIBS = $UDEV_LIBS
18099 SDL2_CFLAGS = $SDL2_CFLAGS
18100 SDL2_LIBS = $SDL2_LIBS
18101 CAPI20_CFLAGS = $CAPI20_CFLAGS
18102 CAPI20_LIBS = $CAPI20_LIBS
18103 CUPS_CFLAGS = $CUPS_CFLAGS
18104 CUPS_LIBS = $CUPS_LIBS
18105 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18106 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18107 KRB5_CFLAGS = $KRB5_CFLAGS
18108 KRB5_LIBS = $KRB5_LIBS
18109 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18110 GSSAPI_LIBS = $GSSAPI_LIBS
18111 JPEG_CFLAGS = $JPEG_CFLAGS
18112 JPEG_LIBS = $JPEG_LIBS
18113 PNG_CFLAGS = $PNG_CFLAGS
18114 PNG_LIBS = $PNG_LIBS
18115 TIFF_CFLAGS = $TIFF_CFLAGS
18116 TIFF_LIBS = $TIFF_LIBS
18117 MPG123_CFLAGS = $MPG123_CFLAGS
18118 MPG123_LIBS = $MPG123_LIBS
18119 KSTAT_LIBS = $KSTAT_LIBS
18120 PROCSTAT_LIBS = $PROCSTAT_LIBS
18121 NETAPI_CFLAGS = $NETAPI_CFLAGS
18122 NETAPI_LIBS = $NETAPI_LIBS
18123 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18124 DL_LIBS = $DL_LIBS
18125 POLL_LIBS = $POLL_LIBS
18126 RT_LIBS = $RT_LIBS
18127 LDAP_CFLAGS = $LDAP_CFLAGS
18128 LDAP_LIBS = $LDAP_LIBS
18133 wine_fn_append_rule "
18134 # Rules automatically generated by configure
18136 .INIT: Makefile
18137 .MAKEFILEDEPS:
18138 all: Makefile
18139 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18140 @./config.status Make.tmp Makefile
18141 depend: \$(MAKEDEP) dummy
18142 \$(MAKEDEP)"
18144 if test "x$enable_fonts" != xno; then
18145 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18146 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18147 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18148 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18149 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18150 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18152 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18153 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18154 ac_config_links="$ac_config_links wine:tools/winewrapper"
18155 wine_fn_config_symlink wine
18156 if test "x$enable_win64" != xno; then
18157 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18158 wine_fn_config_symlink wine64
18161 wine_fn_config_makefile dlls/acledit enable_acledit
18162 wine_fn_config_makefile dlls/aclui enable_aclui
18163 wine_fn_config_makefile dlls/activeds enable_activeds
18164 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18165 wine_fn_config_makefile dlls/adsiid enable_adsiid
18166 wine_fn_config_makefile dlls/adsldp enable_adsldp
18167 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18168 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18169 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18170 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18171 wine_fn_config_makefile dlls/advpack enable_advpack
18172 wine_fn_config_makefile dlls/advpack/tests enable_tests
18173 wine_fn_config_makefile dlls/amstream enable_amstream
18174 wine_fn_config_makefile dlls/amstream/tests enable_tests
18175 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18176 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18177 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18178 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18179 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18180 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18181 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18182 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18183 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18184 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18185 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18186 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18187 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18188 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18189 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18190 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18191 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18192 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18193 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18194 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18195 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18196 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18197 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18198 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18199 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18200 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18201 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18202 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18203 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18204 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18205 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18206 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18207 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18208 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18209 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18210 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18211 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18212 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18213 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18214 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18215 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18216 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18217 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18218 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18219 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18220 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18221 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18222 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18223 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18224 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18225 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18226 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18227 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18228 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18229 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18230 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18231 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18232 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18233 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18234 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18235 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18236 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18237 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18238 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18239 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18240 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18241 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18242 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18243 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18244 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18245 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18246 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18247 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18248 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18249 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18250 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18251 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18252 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18253 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18254 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18255 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18256 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18257 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18258 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18259 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18260 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18261 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18262 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18263 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18264 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18265 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18266 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18267 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18268 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18269 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18270 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18271 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18272 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18273 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18274 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18275 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18276 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18277 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18278 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18279 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18280 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18281 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18282 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18283 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18284 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18285 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18286 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18287 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18288 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18289 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18290 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18291 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18292 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18293 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18294 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18295 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18296 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18297 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18298 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18299 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18300 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18301 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18302 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18303 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18304 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18305 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18306 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18307 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18308 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18309 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18310 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18311 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18312 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18313 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18314 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18315 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18316 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18317 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18318 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18319 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18320 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18321 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18322 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18323 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18324 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18325 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18326 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18327 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18328 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18329 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18330 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18331 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18332 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18333 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18334 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18335 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18336 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18337 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18338 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18339 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18340 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18341 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18342 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18343 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18344 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18345 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18346 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18347 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18348 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18349 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18350 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18351 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18352 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18353 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18354 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18355 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18356 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18357 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18358 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18359 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18360 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18361 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18362 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18363 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18364 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18365 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18366 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18367 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18368 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18369 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18370 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18371 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18372 wine_fn_config_makefile dlls/apphelp enable_apphelp
18373 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18374 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18375 wine_fn_config_makefile dlls/atl enable_atl
18376 wine_fn_config_makefile dlls/atl/tests enable_tests
18377 wine_fn_config_makefile dlls/atl100 enable_atl100
18378 wine_fn_config_makefile dlls/atl100/tests enable_tests
18379 wine_fn_config_makefile dlls/atl110 enable_atl110
18380 wine_fn_config_makefile dlls/atl80 enable_atl80
18381 wine_fn_config_makefile dlls/atl80/tests enable_tests
18382 wine_fn_config_makefile dlls/atl90 enable_atl90
18383 wine_fn_config_makefile dlls/authz enable_authz
18384 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18385 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18386 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18387 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18388 wine_fn_config_makefile dlls/avrt enable_avrt
18389 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18390 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18391 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18392 wine_fn_config_makefile dlls/browseui enable_browseui
18393 wine_fn_config_makefile dlls/browseui/tests enable_tests
18394 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18395 wine_fn_config_makefile dlls/cabinet enable_cabinet
18396 wine_fn_config_makefile dlls/cabinet/tests enable_tests
18397 wine_fn_config_makefile dlls/capi2032 enable_capi2032
18398 wine_fn_config_makefile dlls/cards enable_cards
18399 wine_fn_config_makefile dlls/cdosys enable_cdosys
18400 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
18401 wine_fn_config_makefile dlls/clusapi enable_clusapi
18402 wine_fn_config_makefile dlls/combase enable_combase
18403 wine_fn_config_makefile dlls/combase/tests enable_tests
18404 wine_fn_config_makefile dlls/comcat enable_comcat
18405 wine_fn_config_makefile dlls/comcat/tests enable_tests
18406 wine_fn_config_makefile dlls/comctl32 enable_comctl32
18407 wine_fn_config_makefile dlls/comctl32/tests enable_tests
18408 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
18409 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
18410 wine_fn_config_makefile dlls/comm.drv16 enable_win16
18411 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
18412 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
18413 wine_fn_config_makefile dlls/compstui enable_compstui
18414 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
18415 wine_fn_config_makefile dlls/concrt140 enable_concrt140
18416 wine_fn_config_makefile dlls/connect enable_connect
18417 wine_fn_config_makefile dlls/credui enable_credui
18418 wine_fn_config_makefile dlls/credui/tests enable_tests
18419 wine_fn_config_makefile dlls/crtdll enable_crtdll
18420 wine_fn_config_makefile dlls/crypt32 enable_crypt32
18421 wine_fn_config_makefile dlls/crypt32/tests enable_tests
18422 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
18423 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
18424 wine_fn_config_makefile dlls/cryptext enable_cryptext
18425 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
18426 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
18427 wine_fn_config_makefile dlls/cryptui enable_cryptui
18428 wine_fn_config_makefile dlls/cryptui/tests enable_tests
18429 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
18430 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
18431 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
18432 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
18433 wine_fn_config_makefile dlls/d2d1 enable_d2d1
18434 wine_fn_config_makefile dlls/d2d1/tests enable_tests
18435 wine_fn_config_makefile dlls/d3d10 enable_d3d10
18436 wine_fn_config_makefile dlls/d3d10/tests enable_tests
18437 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
18438 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
18439 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
18440 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
18441 wine_fn_config_makefile dlls/d3d11 enable_d3d11
18442 wine_fn_config_makefile dlls/d3d11/tests enable_tests
18443 wine_fn_config_makefile dlls/d3d12 enable_d3d12
18444 wine_fn_config_makefile dlls/d3d12/tests enable_tests
18445 wine_fn_config_makefile dlls/d3d8 enable_d3d8
18446 wine_fn_config_makefile dlls/d3d8/tests enable_tests
18447 wine_fn_config_makefile dlls/d3d9 enable_d3d9
18448 wine_fn_config_makefile dlls/d3d9/tests enable_tests
18449 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
18450 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
18451 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
18452 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
18453 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
18454 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
18455 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
18456 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
18457 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
18458 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
18459 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
18460 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
18461 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
18462 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
18463 wine_fn_config_makefile dlls/d3dim enable_d3dim
18464 wine_fn_config_makefile dlls/d3drm enable_d3drm
18465 wine_fn_config_makefile dlls/d3drm/tests enable_tests
18466 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
18467 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
18468 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
18469 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
18470 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
18471 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
18472 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
18473 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
18474 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
18475 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
18476 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
18477 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
18478 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
18479 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
18480 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
18481 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
18482 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
18483 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
18484 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
18485 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
18486 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
18487 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
18488 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
18489 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
18490 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
18491 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
18492 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
18493 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
18494 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
18495 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
18496 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
18497 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
18498 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
18499 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
18500 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
18501 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
18502 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
18503 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
18504 wine_fn_config_makefile dlls/davclnt enable_davclnt
18505 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
18506 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
18507 wine_fn_config_makefile dlls/dciman32 enable_dciman32
18508 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
18509 wine_fn_config_makefile dlls/ddraw enable_ddraw
18510 wine_fn_config_makefile dlls/ddraw/tests enable_tests
18511 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
18512 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
18513 wine_fn_config_makefile dlls/devenum enable_devenum
18514 wine_fn_config_makefile dlls/devenum/tests enable_tests
18515 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
18516 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
18517 wine_fn_config_makefile dlls/difxapi enable_difxapi
18518 wine_fn_config_makefile dlls/dinput enable_dinput
18519 wine_fn_config_makefile dlls/dinput/tests enable_tests
18520 wine_fn_config_makefile dlls/dinput8 enable_dinput8
18521 wine_fn_config_makefile dlls/dinput8/tests enable_tests
18522 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
18523 wine_fn_config_makefile dlls/dispex enable_dispex
18524 wine_fn_config_makefile dlls/dispex/tests enable_tests
18525 wine_fn_config_makefile dlls/display.drv16 enable_win16
18526 wine_fn_config_makefile dlls/dmband enable_dmband
18527 wine_fn_config_makefile dlls/dmband/tests enable_tests
18528 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
18529 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
18530 wine_fn_config_makefile dlls/dmime enable_dmime
18531 wine_fn_config_makefile dlls/dmime/tests enable_tests
18532 wine_fn_config_makefile dlls/dmloader enable_dmloader
18533 wine_fn_config_makefile dlls/dmloader/tests enable_tests
18534 wine_fn_config_makefile dlls/dmscript enable_dmscript
18535 wine_fn_config_makefile dlls/dmscript/tests enable_tests
18536 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
18537 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
18538 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
18539 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
18540 wine_fn_config_makefile dlls/dmusic enable_dmusic
18541 wine_fn_config_makefile dlls/dmusic/tests enable_tests
18542 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
18543 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
18544 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
18545 wine_fn_config_makefile dlls/dplay enable_dplay
18546 wine_fn_config_makefile dlls/dplayx enable_dplayx
18547 wine_fn_config_makefile dlls/dplayx/tests enable_tests
18548 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
18549 wine_fn_config_makefile dlls/dpnet enable_dpnet
18550 wine_fn_config_makefile dlls/dpnet/tests enable_tests
18551 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
18552 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
18553 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
18554 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
18555 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
18556 wine_fn_config_makefile dlls/drmclien enable_drmclien
18557 wine_fn_config_makefile dlls/dsound enable_dsound
18558 wine_fn_config_makefile dlls/dsound/tests enable_tests
18559 wine_fn_config_makefile dlls/dsquery enable_dsquery
18560 wine_fn_config_makefile dlls/dssenh enable_dssenh
18561 wine_fn_config_makefile dlls/dssenh/tests enable_tests
18562 wine_fn_config_makefile dlls/dswave enable_dswave
18563 wine_fn_config_makefile dlls/dswave/tests enable_tests
18564 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
18565 wine_fn_config_makefile dlls/dwrite enable_dwrite
18566 wine_fn_config_makefile dlls/dwrite/tests enable_tests
18567 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
18568 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
18569 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
18570 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
18571 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
18572 wine_fn_config_makefile dlls/dxgi enable_dxgi
18573 wine_fn_config_makefile dlls/dxgi/tests enable_tests
18574 wine_fn_config_makefile dlls/dxguid enable_dxguid
18575 wine_fn_config_makefile dlls/dxva2 enable_dxva2
18576 wine_fn_config_makefile dlls/esent enable_esent
18577 wine_fn_config_makefile dlls/evr enable_evr
18578 wine_fn_config_makefile dlls/evr/tests enable_tests
18579 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
18580 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
18581 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18582 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18583 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18584 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18585 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18586 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18587 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18588 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18589 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18590 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18591 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18592 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18593 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18594 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18595 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18596 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18597 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18598 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18599 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
18600 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18601 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18602 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18603 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18604 wine_fn_config_makefile dlls/faultrep enable_faultrep
18605 wine_fn_config_makefile dlls/faultrep/tests enable_tests
18606 wine_fn_config_makefile dlls/fltlib enable_fltlib
18607 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
18608 wine_fn_config_makefile dlls/fntcache enable_fntcache
18609 wine_fn_config_makefile dlls/fontsub enable_fontsub
18610 wine_fn_config_makefile dlls/fusion enable_fusion
18611 wine_fn_config_makefile dlls/fusion/tests enable_tests
18612 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
18613 wine_fn_config_makefile dlls/gameux enable_gameux
18614 wine_fn_config_makefile dlls/gameux/tests enable_tests
18615 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
18616 wine_fn_config_makefile dlls/gdi32 enable_gdi32
18617 wine_fn_config_makefile dlls/gdi32/tests enable_tests
18618 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
18619 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
18620 wine_fn_config_makefile dlls/glu32 enable_glu32
18621 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
18622 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
18623 wine_fn_config_makefile dlls/hal enable_hal
18624 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
18625 wine_fn_config_makefile dlls/hid enable_hid
18626 wine_fn_config_makefile dlls/hid/tests enable_tests
18627 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
18628 wine_fn_config_makefile dlls/hlink enable_hlink
18629 wine_fn_config_makefile dlls/hlink/tests enable_tests
18630 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
18631 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
18632 wine_fn_config_makefile dlls/httpapi enable_httpapi
18633 wine_fn_config_makefile dlls/httpapi/tests enable_tests
18634 wine_fn_config_makefile dlls/iccvid enable_iccvid
18635 wine_fn_config_makefile dlls/icmp enable_icmp
18636 wine_fn_config_makefile dlls/ieframe enable_ieframe
18637 wine_fn_config_makefile dlls/ieframe/tests enable_tests
18638 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
18639 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
18640 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
18641 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
18642 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
18643 wine_fn_config_makefile dlls/imm.dll16 enable_win16
18644 wine_fn_config_makefile dlls/imm32 enable_imm32
18645 wine_fn_config_makefile dlls/imm32/tests enable_tests
18646 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
18647 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
18648 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
18649 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
18650 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
18651 wine_fn_config_makefile dlls/infosoft enable_infosoft
18652 wine_fn_config_makefile dlls/infosoft/tests enable_tests
18653 wine_fn_config_makefile dlls/initpki enable_initpki
18654 wine_fn_config_makefile dlls/inkobj enable_inkobj
18655 wine_fn_config_makefile dlls/inseng enable_inseng
18656 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
18657 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
18658 wine_fn_config_makefile dlls/iprop enable_iprop
18659 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
18660 wine_fn_config_makefile dlls/itircl enable_itircl
18661 wine_fn_config_makefile dlls/itss enable_itss
18662 wine_fn_config_makefile dlls/itss/tests enable_tests
18663 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
18664 wine_fn_config_makefile dlls/jscript enable_jscript
18665 wine_fn_config_makefile dlls/jscript/tests enable_tests
18666 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
18667 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
18668 wine_fn_config_makefile dlls/kerberos enable_kerberos
18669 wine_fn_config_makefile dlls/kernel32 enable_kernel32
18670 wine_fn_config_makefile dlls/kernel32/tests enable_tests
18671 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
18672 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
18673 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
18674 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
18675 wine_fn_config_makefile dlls/ksuser enable_ksuser
18676 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
18677 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
18678 wine_fn_config_makefile dlls/loadperf enable_loadperf
18679 wine_fn_config_makefile dlls/localspl enable_localspl
18680 wine_fn_config_makefile dlls/localspl/tests enable_tests
18681 wine_fn_config_makefile dlls/localui enable_localui
18682 wine_fn_config_makefile dlls/localui/tests enable_tests
18683 wine_fn_config_makefile dlls/lz32 enable_lz32
18684 wine_fn_config_makefile dlls/lz32/tests enable_tests
18685 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
18686 wine_fn_config_makefile dlls/mapi32 enable_mapi32
18687 wine_fn_config_makefile dlls/mapi32/tests enable_tests
18688 wine_fn_config_makefile dlls/mapistub enable_mapistub
18689 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
18690 wine_fn_config_makefile dlls/mcicda enable_mcicda
18691 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
18692 wine_fn_config_makefile dlls/mciseq enable_mciseq
18693 wine_fn_config_makefile dlls/mciwave enable_mciwave
18694 wine_fn_config_makefile dlls/mf enable_mf
18695 wine_fn_config_makefile dlls/mf/tests enable_tests
18696 wine_fn_config_makefile dlls/mf3216 enable_mf3216
18697 wine_fn_config_makefile dlls/mfplat enable_mfplat
18698 wine_fn_config_makefile dlls/mfplat/tests enable_tests
18699 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
18700 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
18701 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
18702 wine_fn_config_makefile dlls/midimap enable_midimap
18703 wine_fn_config_makefile dlls/mlang enable_mlang
18704 wine_fn_config_makefile dlls/mlang/tests enable_tests
18705 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
18706 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
18707 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
18708 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
18709 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
18710 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
18711 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
18712 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
18713 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
18714 wine_fn_config_makefile dlls/mpr enable_mpr
18715 wine_fn_config_makefile dlls/mpr/tests enable_tests
18716 wine_fn_config_makefile dlls/mprapi enable_mprapi
18717 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
18718 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
18719 wine_fn_config_makefile dlls/msacm32 enable_msacm32
18720 wine_fn_config_makefile dlls/msacm32/tests enable_tests
18721 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
18722 wine_fn_config_makefile dlls/msasn1 enable_msasn1
18723 wine_fn_config_makefile dlls/mscat32 enable_mscat32
18724 wine_fn_config_makefile dlls/mscms enable_mscms
18725 wine_fn_config_makefile dlls/mscms/tests enable_tests
18726 wine_fn_config_makefile dlls/mscoree enable_mscoree
18727 wine_fn_config_makefile dlls/mscoree/tests enable_tests
18728 wine_fn_config_makefile dlls/msctf enable_msctf
18729 wine_fn_config_makefile dlls/msctf/tests enable_tests
18730 wine_fn_config_makefile dlls/msctfp enable_msctfp
18731 wine_fn_config_makefile dlls/msdaps enable_msdaps
18732 wine_fn_config_makefile dlls/msdelta enable_msdelta
18733 wine_fn_config_makefile dlls/msdmo enable_msdmo
18734 wine_fn_config_makefile dlls/msdmo/tests enable_tests
18735 wine_fn_config_makefile dlls/msdrm enable_msdrm
18736 wine_fn_config_makefile dlls/msftedit enable_msftedit
18737 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
18738 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
18739 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
18740 wine_fn_config_makefile dlls/mshtml enable_mshtml
18741 wine_fn_config_makefile dlls/mshtml/tests enable_tests
18742 wine_fn_config_makefile dlls/msi enable_msi
18743 wine_fn_config_makefile dlls/msi/tests enable_tests
18744 wine_fn_config_makefile dlls/msident enable_msident
18745 wine_fn_config_makefile dlls/msimg32 enable_msimg32
18746 wine_fn_config_makefile dlls/msimsg enable_msimsg
18747 wine_fn_config_makefile dlls/msimtf enable_msimtf
18748 wine_fn_config_makefile dlls/msisip enable_msisip
18749 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
18750 wine_fn_config_makefile dlls/msls31 enable_msls31
18751 wine_fn_config_makefile dlls/msnet32 enable_msnet32
18752 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
18753 wine_fn_config_makefile dlls/msports enable_msports
18754 wine_fn_config_makefile dlls/msrle32 enable_msrle32
18755 wine_fn_config_makefile dlls/msrle32/tests enable_tests
18756 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
18757 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
18758 wine_fn_config_makefile dlls/mssign32 enable_mssign32
18759 wine_fn_config_makefile dlls/mssip32 enable_mssip32
18760 wine_fn_config_makefile dlls/mstask enable_mstask
18761 wine_fn_config_makefile dlls/mstask/tests enable_tests
18762 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
18763 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
18764 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
18765 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
18766 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
18767 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
18768 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
18769 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
18770 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
18771 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
18772 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
18773 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
18774 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
18775 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
18776 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
18777 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
18778 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
18779 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
18780 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
18781 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
18782 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
18783 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
18784 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
18785 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
18786 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
18787 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
18788 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
18789 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
18790 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
18791 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
18792 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
18793 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
18794 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
18795 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
18796 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
18797 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
18798 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
18799 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
18800 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
18801 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
18802 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
18803 wine_fn_config_makefile dlls/mswsock enable_mswsock
18804 wine_fn_config_makefile dlls/msxml enable_msxml
18805 wine_fn_config_makefile dlls/msxml2 enable_msxml2
18806 wine_fn_config_makefile dlls/msxml3 enable_msxml3
18807 wine_fn_config_makefile dlls/msxml3/tests enable_tests
18808 wine_fn_config_makefile dlls/msxml4 enable_msxml4
18809 wine_fn_config_makefile dlls/msxml6 enable_msxml6
18810 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
18811 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
18812 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
18813 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
18814 wine_fn_config_makefile dlls/netapi32 enable_netapi32
18815 wine_fn_config_makefile dlls/netapi32/tests enable_tests
18816 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
18817 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
18818 wine_fn_config_makefile dlls/netprofm enable_netprofm
18819 wine_fn_config_makefile dlls/netprofm/tests enable_tests
18820 wine_fn_config_makefile dlls/newdev enable_newdev
18821 wine_fn_config_makefile dlls/normaliz enable_normaliz
18822 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
18823 wine_fn_config_makefile dlls/npptools enable_npptools
18824 wine_fn_config_makefile dlls/ntdll enable_ntdll
18825 wine_fn_config_makefile dlls/ntdll/tests enable_tests
18826 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
18827 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
18828 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
18829 wine_fn_config_makefile dlls/ntprint enable_ntprint
18830 wine_fn_config_makefile dlls/ntprint/tests enable_tests
18831 wine_fn_config_makefile dlls/objsel enable_objsel
18832 wine_fn_config_makefile dlls/odbc32 enable_odbc32
18833 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
18834 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
18835 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
18836 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
18837 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
18838 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
18839 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
18840 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
18841 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
18842 wine_fn_config_makefile dlls/ole32 enable_ole32
18843 wine_fn_config_makefile dlls/ole32/tests enable_tests
18844 wine_fn_config_makefile dlls/oleacc enable_oleacc
18845 wine_fn_config_makefile dlls/oleacc/tests enable_tests
18846 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
18847 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
18848 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
18849 wine_fn_config_makefile dlls/olecli32 enable_olecli32
18850 wine_fn_config_makefile dlls/oledb32 enable_oledb32
18851 wine_fn_config_makefile dlls/oledb32/tests enable_tests
18852 wine_fn_config_makefile dlls/oledlg enable_oledlg
18853 wine_fn_config_makefile dlls/oledlg/tests enable_tests
18854 wine_fn_config_makefile dlls/olepro32 enable_olepro32
18855 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
18856 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
18857 wine_fn_config_makefile dlls/olethk32 enable_olethk32
18858 wine_fn_config_makefile dlls/openal32 enable_openal32
18859 wine_fn_config_makefile dlls/opencl enable_opencl
18860 wine_fn_config_makefile dlls/opengl32 enable_opengl32
18861 wine_fn_config_makefile dlls/opengl32/tests enable_tests
18862 wine_fn_config_makefile dlls/packager enable_packager
18863 wine_fn_config_makefile dlls/packager/tests enable_tests
18864 wine_fn_config_makefile dlls/pdh enable_pdh
18865 wine_fn_config_makefile dlls/pdh/tests enable_tests
18866 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
18867 wine_fn_config_makefile dlls/pidgen enable_pidgen
18868 wine_fn_config_makefile dlls/powrprof enable_powrprof
18869 wine_fn_config_makefile dlls/printui enable_printui
18870 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
18871 wine_fn_config_makefile dlls/propsys enable_propsys
18872 wine_fn_config_makefile dlls/propsys/tests enable_tests
18873 wine_fn_config_makefile dlls/psapi enable_psapi
18874 wine_fn_config_makefile dlls/psapi/tests enable_tests
18875 wine_fn_config_makefile dlls/pstorec enable_pstorec
18876 wine_fn_config_makefile dlls/pstorec/tests enable_tests
18877 wine_fn_config_makefile dlls/qcap enable_qcap
18878 wine_fn_config_makefile dlls/qcap/tests enable_tests
18879 wine_fn_config_makefile dlls/qedit enable_qedit
18880 wine_fn_config_makefile dlls/qedit/tests enable_tests
18881 wine_fn_config_makefile dlls/qmgr enable_qmgr
18882 wine_fn_config_makefile dlls/qmgr/tests enable_tests
18883 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
18884 wine_fn_config_makefile dlls/quartz enable_quartz
18885 wine_fn_config_makefile dlls/quartz/tests enable_tests
18886 wine_fn_config_makefile dlls/query enable_query
18887 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
18888 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
18889 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
18890 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
18891 wine_fn_config_makefile dlls/regapi enable_regapi
18892 wine_fn_config_makefile dlls/resutils enable_resutils
18893 wine_fn_config_makefile dlls/riched20 enable_riched20
18894 wine_fn_config_makefile dlls/riched20/tests enable_tests
18895 wine_fn_config_makefile dlls/riched32 enable_riched32
18896 wine_fn_config_makefile dlls/riched32/tests enable_tests
18897 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
18898 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
18899 wine_fn_config_makefile dlls/rsabase enable_rsabase
18900 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
18901 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
18902 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
18903 wine_fn_config_makefile dlls/rtutils enable_rtutils
18904 wine_fn_config_makefile dlls/samlib enable_samlib
18905 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
18906 wine_fn_config_makefile dlls/sapi enable_sapi
18907 wine_fn_config_makefile dlls/sapi/tests enable_tests
18908 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
18909 wine_fn_config_makefile dlls/sccbase enable_sccbase
18910 wine_fn_config_makefile dlls/schannel enable_schannel
18911 wine_fn_config_makefile dlls/schannel/tests enable_tests
18912 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
18913 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
18914 wine_fn_config_makefile dlls/scrobj enable_scrobj
18915 wine_fn_config_makefile dlls/scrrun enable_scrrun
18916 wine_fn_config_makefile dlls/scrrun/tests enable_tests
18917 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
18918 wine_fn_config_makefile dlls/secur32 enable_secur32
18919 wine_fn_config_makefile dlls/secur32/tests enable_tests
18920 wine_fn_config_makefile dlls/security enable_security
18921 wine_fn_config_makefile dlls/sensapi enable_sensapi
18922 wine_fn_config_makefile dlls/serialui enable_serialui
18923 wine_fn_config_makefile dlls/serialui/tests enable_tests
18924 wine_fn_config_makefile dlls/setupapi enable_setupapi
18925 wine_fn_config_makefile dlls/setupapi/tests enable_tests
18926 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
18927 wine_fn_config_makefile dlls/sfc enable_sfc
18928 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
18929 wine_fn_config_makefile dlls/shcore enable_shcore
18930 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
18931 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
18932 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
18933 wine_fn_config_makefile dlls/shell.dll16 enable_win16
18934 wine_fn_config_makefile dlls/shell32 enable_shell32
18935 wine_fn_config_makefile dlls/shell32/tests enable_tests
18936 wine_fn_config_makefile dlls/shfolder enable_shfolder
18937 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
18938 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
18939 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
18940 wine_fn_config_makefile dlls/slc enable_slc
18941 wine_fn_config_makefile dlls/slc/tests enable_tests
18942 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
18943 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
18944 wine_fn_config_makefile dlls/softpub enable_softpub
18945 wine_fn_config_makefile dlls/sound.drv16 enable_win16
18946 wine_fn_config_makefile dlls/spoolss enable_spoolss
18947 wine_fn_config_makefile dlls/spoolss/tests enable_tests
18948 wine_fn_config_makefile dlls/sspicli enable_sspicli
18949 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
18950 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
18951 wine_fn_config_makefile dlls/sti enable_sti
18952 wine_fn_config_makefile dlls/sti/tests enable_tests
18953 wine_fn_config_makefile dlls/storage.dll16 enable_win16
18954 wine_fn_config_makefile dlls/stress.dll16 enable_win16
18955 wine_fn_config_makefile dlls/strmbase enable_strmbase
18956 wine_fn_config_makefile dlls/strmiids enable_strmiids
18957 wine_fn_config_makefile dlls/svrapi enable_svrapi
18958 wine_fn_config_makefile dlls/sxs enable_sxs
18959 wine_fn_config_makefile dlls/sxs/tests enable_tests
18960 wine_fn_config_makefile dlls/system.drv16 enable_win16
18961 wine_fn_config_makefile dlls/t2embed enable_t2embed
18962 wine_fn_config_makefile dlls/t2embed/tests enable_tests
18963 wine_fn_config_makefile dlls/tapi32 enable_tapi32
18964 wine_fn_config_makefile dlls/taskschd enable_taskschd
18965 wine_fn_config_makefile dlls/taskschd/tests enable_tests
18966 wine_fn_config_makefile dlls/tdh enable_tdh
18967 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
18968 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
18969 wine_fn_config_makefile dlls/traffic enable_traffic
18970 wine_fn_config_makefile dlls/twain.dll16 enable_win16
18971 wine_fn_config_makefile dlls/twain_32 enable_twain_32
18972 wine_fn_config_makefile dlls/twain_32/tests enable_tests
18973 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
18974 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
18975 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
18976 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
18977 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
18978 wine_fn_config_makefile dlls/unicows enable_unicows
18979 wine_fn_config_makefile dlls/updspapi enable_updspapi
18980 wine_fn_config_makefile dlls/url enable_url
18981 wine_fn_config_makefile dlls/urlmon enable_urlmon
18982 wine_fn_config_makefile dlls/urlmon/tests enable_tests
18983 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
18984 wine_fn_config_makefile dlls/user.exe16 enable_win16
18985 wine_fn_config_makefile dlls/user32 enable_user32
18986 wine_fn_config_makefile dlls/user32/tests enable_tests
18987 wine_fn_config_makefile dlls/userenv enable_userenv
18988 wine_fn_config_makefile dlls/userenv/tests enable_tests
18989 wine_fn_config_makefile dlls/usp10 enable_usp10
18990 wine_fn_config_makefile dlls/usp10/tests enable_tests
18991 wine_fn_config_makefile dlls/uuid enable_uuid
18992 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
18993 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
18994 wine_fn_config_makefile dlls/vbscript enable_vbscript
18995 wine_fn_config_makefile dlls/vbscript/tests enable_tests
18996 wine_fn_config_makefile dlls/vcomp enable_vcomp
18997 wine_fn_config_makefile dlls/vcomp/tests enable_tests
18998 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
18999 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19000 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19001 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19002 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19003 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19004 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19005 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19006 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19007 wine_fn_config_makefile dlls/version enable_version
19008 wine_fn_config_makefile dlls/version/tests enable_tests
19009 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19010 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19011 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19012 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19013 wine_fn_config_makefile dlls/vssapi enable_vssapi
19014 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19015 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19016 wine_fn_config_makefile dlls/w32skrnl enable_win16
19017 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19018 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19019 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19020 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19021 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19022 wine_fn_config_makefile dlls/wdscore enable_wdscore
19023 wine_fn_config_makefile dlls/webservices enable_webservices
19024 wine_fn_config_makefile dlls/webservices/tests enable_tests
19025 wine_fn_config_makefile dlls/wer enable_wer
19026 wine_fn_config_makefile dlls/wer/tests enable_tests
19027 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19028 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19029 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19030 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19031 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19032 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19033 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19034 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19035 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19036 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19037 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19038 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19039 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19040 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19041 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19042 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19043 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19044 wine_fn_config_makefile dlls/wined3d enable_wined3d
19045 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19046 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19047 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19048 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19049 wine_fn_config_makefile dlls/winemapi enable_winemapi
19050 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19051 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19052 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19053 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19054 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19055 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19056 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19057 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19058 wine_fn_config_makefile dlls/wing32 enable_wing32
19059 wine_fn_config_makefile dlls/winhttp enable_winhttp
19060 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19061 wine_fn_config_makefile dlls/wininet enable_wininet
19062 wine_fn_config_makefile dlls/wininet/tests enable_tests
19063 wine_fn_config_makefile dlls/winmm enable_winmm
19064 wine_fn_config_makefile dlls/winmm/tests enable_tests
19065 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19066 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19067 wine_fn_config_makefile dlls/winscard enable_winscard
19068 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19069 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19070 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19071 wine_fn_config_makefile dlls/winsta enable_winsta
19072 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19073 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19074 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19075 wine_fn_config_makefile dlls/wintrust enable_wintrust
19076 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19077 wine_fn_config_makefile dlls/winusb enable_winusb
19078 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19079 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19080 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19081 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19082 wine_fn_config_makefile dlls/wmasf enable_wmasf
19083 wine_fn_config_makefile dlls/wmi enable_wmi
19084 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19085 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19086 wine_fn_config_makefile dlls/wmp enable_wmp
19087 wine_fn_config_makefile dlls/wmp/tests enable_tests
19088 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19089 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19090 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19091 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19092 wine_fn_config_makefile dlls/wow32 enable_win16
19093 wine_fn_config_makefile dlls/wpc enable_wpc
19094 wine_fn_config_makefile dlls/wpc/tests enable_tests
19095 wine_fn_config_makefile dlls/wpcap enable_wpcap
19096 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19097 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19098 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19099 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19100 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19101 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19102 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19103 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19104 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19105 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19106 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19107 wine_fn_config_makefile dlls/wuapi enable_wuapi
19108 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19109 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19110 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19111 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19112 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19113 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19114 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19115 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19116 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19117 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19118 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19119 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19120 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19121 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19122 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19123 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19124 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19125 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19126 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19127 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19128 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19129 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19130 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19131 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19132 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19133 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19134 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19135 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19136 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19137 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19138 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19139 wine_fn_config_makefile dlls/xmllite enable_xmllite
19140 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19141 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19142 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19143 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19144 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
19145 wine_fn_config_makefile include enable_include
19146 wine_fn_config_makefile libs/port enable_port
19147 wine_fn_config_makefile libs/wine enable_wine
19148 wine_fn_config_makefile libs/wpp enable_wpp
19149 wine_fn_config_makefile loader enable_loader
19150 wine_fn_config_makefile po enable_po
19151 wine_fn_config_makefile programs/arp enable_arp
19152 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19153 wine_fn_config_makefile programs/attrib enable_attrib
19154 wine_fn_config_makefile programs/cabarc enable_cabarc
19155 wine_fn_config_makefile programs/cacls enable_cacls
19156 wine_fn_config_makefile programs/clock enable_clock
19157 wine_fn_config_makefile programs/cmd enable_cmd
19158 wine_fn_config_makefile programs/cmd/tests enable_tests
19159 wine_fn_config_makefile programs/conhost enable_conhost
19160 wine_fn_config_makefile programs/control enable_control
19161 wine_fn_config_makefile programs/cscript enable_cscript
19162 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19163 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19164 wine_fn_config_makefile programs/eject enable_eject
19165 wine_fn_config_makefile programs/expand enable_expand
19166 wine_fn_config_makefile programs/explorer enable_explorer
19167 wine_fn_config_makefile programs/extrac32 enable_extrac32
19168 wine_fn_config_makefile programs/findstr enable_findstr
19169 wine_fn_config_makefile programs/fsutil enable_fsutil
19170 wine_fn_config_makefile programs/hh enable_hh
19171 wine_fn_config_makefile programs/hostname enable_hostname
19172 wine_fn_config_makefile programs/icacls enable_icacls
19173 wine_fn_config_makefile programs/icinfo enable_icinfo
19174 wine_fn_config_makefile programs/iexplore enable_iexplore
19175 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19176 wine_fn_config_makefile programs/lodctr enable_lodctr
19177 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19178 wine_fn_config_makefile programs/mshta enable_mshta
19179 wine_fn_config_makefile programs/msiexec enable_msiexec
19180 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19181 wine_fn_config_makefile programs/net enable_net
19182 wine_fn_config_makefile programs/netsh enable_netsh
19183 wine_fn_config_makefile programs/netstat enable_netstat
19184 wine_fn_config_makefile programs/ngen enable_ngen
19185 wine_fn_config_makefile programs/notepad enable_notepad
19186 wine_fn_config_makefile programs/oleview enable_oleview
19187 wine_fn_config_makefile programs/ping enable_ping
19188 wine_fn_config_makefile programs/plugplay enable_plugplay
19189 wine_fn_config_makefile programs/powershell enable_powershell
19190 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19191 wine_fn_config_makefile programs/progman enable_progman
19192 wine_fn_config_makefile programs/reg enable_reg
19193 wine_fn_config_makefile programs/reg/tests enable_tests
19194 wine_fn_config_makefile programs/regasm enable_regasm
19195 wine_fn_config_makefile programs/regedit enable_regedit
19196 wine_fn_config_makefile programs/regedit/tests enable_tests
19197 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19198 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19199 wine_fn_config_makefile programs/rpcss enable_rpcss
19200 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19201 wine_fn_config_makefile programs/rundll32 enable_rundll32
19202 wine_fn_config_makefile programs/sc enable_sc
19203 wine_fn_config_makefile programs/schtasks enable_schtasks
19204 wine_fn_config_makefile programs/schtasks/tests enable_tests
19205 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19206 wine_fn_config_makefile programs/secedit enable_secedit
19207 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19208 wine_fn_config_makefile programs/services enable_services
19209 wine_fn_config_makefile programs/services/tests enable_tests
19210 wine_fn_config_makefile programs/shutdown enable_shutdown
19211 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19212 wine_fn_config_makefile programs/start enable_start
19213 wine_fn_config_makefile programs/subst enable_subst
19214 wine_fn_config_makefile programs/svchost enable_svchost
19215 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19216 wine_fn_config_makefile programs/taskkill enable_taskkill
19217 wine_fn_config_makefile programs/tasklist enable_tasklist
19218 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19219 wine_fn_config_makefile programs/termsv enable_termsv
19220 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19221 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19222 wine_fn_config_makefile programs/view enable_view
19223 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19224 wine_fn_config_makefile programs/wineboot enable_wineboot
19225 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19226 wine_fn_config_makefile programs/winecfg enable_winecfg
19227 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19228 wine_fn_config_makefile programs/winedbg enable_winedbg
19229 wine_fn_config_makefile programs/winedevice enable_winedevice
19230 wine_fn_config_makefile programs/winefile enable_winefile
19231 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19232 wine_fn_config_makefile programs/winemine enable_winemine
19233 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19234 wine_fn_config_makefile programs/winepath enable_winepath
19235 wine_fn_config_makefile programs/winetest enable_winetest
19236 wine_fn_config_makefile programs/winevdm enable_win16
19237 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19238 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19239 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19240 wine_fn_config_makefile programs/winver enable_winver
19241 wine_fn_config_makefile programs/wmic enable_wmic
19242 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19243 wine_fn_config_makefile programs/wordpad enable_wordpad
19244 wine_fn_config_makefile programs/write enable_write
19245 wine_fn_config_makefile programs/wscript enable_wscript
19246 wine_fn_config_makefile programs/wscript/tests enable_tests
19247 wine_fn_config_makefile programs/wusa enable_wusa
19248 wine_fn_config_makefile programs/xcopy enable_xcopy
19249 wine_fn_config_makefile programs/xcopy/tests enable_tests
19250 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
19251 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19252 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19253 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19254 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19255 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19256 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19257 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19258 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19259 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19262 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19263 wine_fn_append_file CONFIGURE_TARGETS "tags"
19264 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19265 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19266 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19267 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19268 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19269 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19271 if test "x$enable_tools" != xno
19272 then
19273 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19274 ac_config_commands="$ac_config_commands tools/makedep"
19278 ac_config_commands="$ac_config_commands Makefile"
19281 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19285 if test "x$enable_maintainer_mode" = xyes
19286 then
19287 wine_fn_append_rule "configure: configure.ac aclocal.m4
19288 autoconf --warnings=all
19289 include/config.h.in: include/stamp-h.in
19290 include/stamp-h.in: configure.ac aclocal.m4
19291 autoheader --warnings=all
19292 @echo timestamp > \$@"
19295 if test "x$enable_tools" != xno
19296 then
19297 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19298 @./config.status tools/makedep
19299 Makefile: tools/makedep$ac_exeext
19300 fonts: tools/sfnt2fon
19301 include: tools tools/widl"
19302 else
19303 wine_fn_append_rule "\$(MAKEDEP):
19304 @echo \"You need to run make in $TOOLSDIR first\" && false"
19307 if test -n "$with_wine64"
19308 then
19309 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19310 fonts server:
19311 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19312 $with_wine64/loader/wine:
19313 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19314 $with_wine64/loader/wine-preloader:
19315 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19316 clean::
19317 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19318 else
19319 WINELOADER_INSTALL="wine.inf l_intl.nls"
19321 case $host_os in
19322 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19323 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19324 esac
19327 $as_echo " done" >&6
19328 cat >confcache <<\_ACEOF
19329 # This file is a shell script that caches the results of configure
19330 # tests run on this system so they can be shared between configure
19331 # scripts and configure runs, see configure's option --config-cache.
19332 # It is not useful on other systems. If it contains results you don't
19333 # want to keep, you may remove or edit it.
19335 # config.status only pays attention to the cache file if you give it
19336 # the --recheck option to rerun configure.
19338 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19339 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19340 # following values.
19342 _ACEOF
19344 # The following way of writing the cache mishandles newlines in values,
19345 # but we know of no workaround that is simple, portable, and efficient.
19346 # So, we kill variables containing newlines.
19347 # Ultrix sh set writes to stderr and can't be redirected directly,
19348 # and sets the high bit in the cache file unless we assign to the vars.
19350 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19351 eval ac_val=\$$ac_var
19352 case $ac_val in #(
19353 *${as_nl}*)
19354 case $ac_var in #(
19355 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19356 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19357 esac
19358 case $ac_var in #(
19359 _ | IFS | as_nl) ;; #(
19360 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19361 *) { eval $ac_var=; unset $ac_var;} ;;
19362 esac ;;
19363 esac
19364 done
19366 (set) 2>&1 |
19367 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19368 *${as_nl}ac_space=\ *)
19369 # `set' does not quote correctly, so add quotes: double-quote
19370 # substitution turns \\\\ into \\, and sed turns \\ into \.
19371 sed -n \
19372 "s/'/'\\\\''/g;
19373 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19374 ;; #(
19376 # `set' quotes correctly as required by POSIX, so do not add quotes.
19377 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19379 esac |
19380 sort
19382 sed '
19383 /^ac_cv_env_/b end
19384 t clear
19385 :clear
19386 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19387 t end
19388 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19389 :end' >>confcache
19390 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19391 if test -w "$cache_file"; then
19392 if test "x$cache_file" != "x/dev/null"; then
19393 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19394 $as_echo "$as_me: updating cache $cache_file" >&6;}
19395 if test ! -f "$cache_file" || test -h "$cache_file"; then
19396 cat confcache >"$cache_file"
19397 else
19398 case $cache_file in #(
19399 */* | ?:*)
19400 mv -f confcache "$cache_file"$$ &&
19401 mv -f "$cache_file"$$ "$cache_file" ;; #(
19403 mv -f confcache "$cache_file" ;;
19404 esac
19407 else
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19409 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19412 rm -f confcache
19414 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19415 # Let make expand exec_prefix.
19416 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19418 DEFS=-DHAVE_CONFIG_H
19420 ac_libobjs=
19421 ac_ltlibobjs=
19423 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19424 # 1. Remove the extension, and $U if already installed.
19425 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19426 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19427 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19428 # will be set to the directory where LIBOBJS objects are built.
19429 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19430 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19431 done
19432 LIBOBJS=$ac_libobjs
19434 LTLIBOBJS=$ac_ltlibobjs
19438 : "${CONFIG_STATUS=./config.status}"
19439 ac_write_fail=0
19440 ac_clean_files_save=$ac_clean_files
19441 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19443 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19444 as_write_fail=0
19445 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19446 #! $SHELL
19447 # Generated by $as_me.
19448 # Run this file to recreate the current configuration.
19449 # Compiler output produced by configure, useful for debugging
19450 # configure, is in config.log if it exists.
19452 debug=false
19453 ac_cs_recheck=false
19454 ac_cs_silent=false
19456 SHELL=\${CONFIG_SHELL-$SHELL}
19457 export SHELL
19458 _ASEOF
19459 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19460 ## -------------------- ##
19461 ## M4sh Initialization. ##
19462 ## -------------------- ##
19464 # Be more Bourne compatible
19465 DUALCASE=1; export DUALCASE # for MKS sh
19466 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19467 emulate sh
19468 NULLCMD=:
19469 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19470 # is contrary to our usage. Disable this feature.
19471 alias -g '${1+"$@"}'='"$@"'
19472 setopt NO_GLOB_SUBST
19473 else
19474 case `(set -o) 2>/dev/null` in #(
19475 *posix*) :
19476 set -o posix ;; #(
19477 *) :
19479 esac
19483 as_nl='
19485 export as_nl
19486 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19487 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19488 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19489 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19490 # Prefer a ksh shell builtin over an external printf program on Solaris,
19491 # but without wasting forks for bash or zsh.
19492 if test -z "$BASH_VERSION$ZSH_VERSION" \
19493 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19494 as_echo='print -r --'
19495 as_echo_n='print -rn --'
19496 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19497 as_echo='printf %s\n'
19498 as_echo_n='printf %s'
19499 else
19500 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19501 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19502 as_echo_n='/usr/ucb/echo -n'
19503 else
19504 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19505 as_echo_n_body='eval
19506 arg=$1;
19507 case $arg in #(
19508 *"$as_nl"*)
19509 expr "X$arg" : "X\\(.*\\)$as_nl";
19510 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19511 esac;
19512 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19514 export as_echo_n_body
19515 as_echo_n='sh -c $as_echo_n_body as_echo'
19517 export as_echo_body
19518 as_echo='sh -c $as_echo_body as_echo'
19521 # The user is always right.
19522 if test "${PATH_SEPARATOR+set}" != set; then
19523 PATH_SEPARATOR=:
19524 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19525 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19526 PATH_SEPARATOR=';'
19531 # IFS
19532 # We need space, tab and new line, in precisely that order. Quoting is
19533 # there to prevent editors from complaining about space-tab.
19534 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19535 # splitting by setting IFS to empty value.)
19536 IFS=" "" $as_nl"
19538 # Find who we are. Look in the path if we contain no directory separator.
19539 as_myself=
19540 case $0 in #((
19541 *[\\/]* ) as_myself=$0 ;;
19542 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19543 for as_dir in $PATH
19545 IFS=$as_save_IFS
19546 test -z "$as_dir" && as_dir=.
19547 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19548 done
19549 IFS=$as_save_IFS
19552 esac
19553 # We did not find ourselves, most probably we were run as `sh COMMAND'
19554 # in which case we are not to be found in the path.
19555 if test "x$as_myself" = x; then
19556 as_myself=$0
19558 if test ! -f "$as_myself"; then
19559 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19560 exit 1
19563 # Unset variables that we do not need and which cause bugs (e.g. in
19564 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19565 # suppresses any "Segmentation fault" message there. '((' could
19566 # trigger a bug in pdksh 5.2.14.
19567 for as_var in BASH_ENV ENV MAIL MAILPATH
19568 do eval test x\${$as_var+set} = xset \
19569 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19570 done
19571 PS1='$ '
19572 PS2='> '
19573 PS4='+ '
19575 # NLS nuisances.
19576 LC_ALL=C
19577 export LC_ALL
19578 LANGUAGE=C
19579 export LANGUAGE
19581 # CDPATH.
19582 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19585 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19586 # ----------------------------------------
19587 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19588 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19589 # script with STATUS, using 1 if that was 0.
19590 as_fn_error ()
19592 as_status=$1; test $as_status -eq 0 && as_status=1
19593 if test "$4"; then
19594 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19595 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19597 $as_echo "$as_me: error: $2" >&2
19598 as_fn_exit $as_status
19599 } # as_fn_error
19602 # as_fn_set_status STATUS
19603 # -----------------------
19604 # Set $? to STATUS, without forking.
19605 as_fn_set_status ()
19607 return $1
19608 } # as_fn_set_status
19610 # as_fn_exit STATUS
19611 # -----------------
19612 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19613 as_fn_exit ()
19615 set +e
19616 as_fn_set_status $1
19617 exit $1
19618 } # as_fn_exit
19620 # as_fn_unset VAR
19621 # ---------------
19622 # Portably unset VAR.
19623 as_fn_unset ()
19625 { eval $1=; unset $1;}
19627 as_unset=as_fn_unset
19628 # as_fn_append VAR VALUE
19629 # ----------------------
19630 # Append the text in VALUE to the end of the definition contained in VAR. Take
19631 # advantage of any shell optimizations that allow amortized linear growth over
19632 # repeated appends, instead of the typical quadratic growth present in naive
19633 # implementations.
19634 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19635 eval 'as_fn_append ()
19637 eval $1+=\$2
19639 else
19640 as_fn_append ()
19642 eval $1=\$$1\$2
19644 fi # as_fn_append
19646 # as_fn_arith ARG...
19647 # ------------------
19648 # Perform arithmetic evaluation on the ARGs, and store the result in the
19649 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19650 # must be portable across $(()) and expr.
19651 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19652 eval 'as_fn_arith ()
19654 as_val=$(( $* ))
19656 else
19657 as_fn_arith ()
19659 as_val=`expr "$@" || test $? -eq 1`
19661 fi # as_fn_arith
19664 if expr a : '\(a\)' >/dev/null 2>&1 &&
19665 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19666 as_expr=expr
19667 else
19668 as_expr=false
19671 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19672 as_basename=basename
19673 else
19674 as_basename=false
19677 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19678 as_dirname=dirname
19679 else
19680 as_dirname=false
19683 as_me=`$as_basename -- "$0" ||
19684 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19685 X"$0" : 'X\(//\)$' \| \
19686 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19687 $as_echo X/"$0" |
19688 sed '/^.*\/\([^/][^/]*\)\/*$/{
19689 s//\1/
19692 /^X\/\(\/\/\)$/{
19693 s//\1/
19696 /^X\/\(\/\).*/{
19697 s//\1/
19700 s/.*/./; q'`
19702 # Avoid depending upon Character Ranges.
19703 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19704 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19705 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19706 as_cr_digits='0123456789'
19707 as_cr_alnum=$as_cr_Letters$as_cr_digits
19709 ECHO_C= ECHO_N= ECHO_T=
19710 case `echo -n x` in #(((((
19711 -n*)
19712 case `echo 'xy\c'` in
19713 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19714 xy) ECHO_C='\c';;
19715 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19716 ECHO_T=' ';;
19717 esac;;
19719 ECHO_N='-n';;
19720 esac
19722 rm -f conf$$ conf$$.exe conf$$.file
19723 if test -d conf$$.dir; then
19724 rm -f conf$$.dir/conf$$.file
19725 else
19726 rm -f conf$$.dir
19727 mkdir conf$$.dir 2>/dev/null
19729 if (echo >conf$$.file) 2>/dev/null; then
19730 if ln -s conf$$.file conf$$ 2>/dev/null; then
19731 as_ln_s='ln -s'
19732 # ... but there are two gotchas:
19733 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19734 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19735 # In both cases, we have to default to `cp -pR'.
19736 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19737 as_ln_s='cp -pR'
19738 elif ln conf$$.file conf$$ 2>/dev/null; then
19739 as_ln_s=ln
19740 else
19741 as_ln_s='cp -pR'
19743 else
19744 as_ln_s='cp -pR'
19746 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19747 rmdir conf$$.dir 2>/dev/null
19750 # as_fn_mkdir_p
19751 # -------------
19752 # Create "$as_dir" as a directory, including parents if necessary.
19753 as_fn_mkdir_p ()
19756 case $as_dir in #(
19757 -*) as_dir=./$as_dir;;
19758 esac
19759 test -d "$as_dir" || eval $as_mkdir_p || {
19760 as_dirs=
19761 while :; do
19762 case $as_dir in #(
19763 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19764 *) as_qdir=$as_dir;;
19765 esac
19766 as_dirs="'$as_qdir' $as_dirs"
19767 as_dir=`$as_dirname -- "$as_dir" ||
19768 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19769 X"$as_dir" : 'X\(//\)[^/]' \| \
19770 X"$as_dir" : 'X\(//\)$' \| \
19771 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19772 $as_echo X"$as_dir" |
19773 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19774 s//\1/
19777 /^X\(\/\/\)[^/].*/{
19778 s//\1/
19781 /^X\(\/\/\)$/{
19782 s//\1/
19785 /^X\(\/\).*/{
19786 s//\1/
19789 s/.*/./; q'`
19790 test -d "$as_dir" && break
19791 done
19792 test -z "$as_dirs" || eval "mkdir $as_dirs"
19793 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19796 } # as_fn_mkdir_p
19797 if mkdir -p . 2>/dev/null; then
19798 as_mkdir_p='mkdir -p "$as_dir"'
19799 else
19800 test -d ./-p && rmdir ./-p
19801 as_mkdir_p=false
19805 # as_fn_executable_p FILE
19806 # -----------------------
19807 # Test if FILE is an executable regular file.
19808 as_fn_executable_p ()
19810 test -f "$1" && test -x "$1"
19811 } # as_fn_executable_p
19812 as_test_x='test -x'
19813 as_executable_p=as_fn_executable_p
19815 # Sed expression to map a string onto a valid CPP name.
19816 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19818 # Sed expression to map a string onto a valid variable name.
19819 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19822 exec 6>&1
19823 ## ----------------------------------- ##
19824 ## Main body of $CONFIG_STATUS script. ##
19825 ## ----------------------------------- ##
19826 _ASEOF
19827 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19830 # Save the log message, to keep $0 and so on meaningful, and to
19831 # report actual input values of CONFIG_FILES etc. instead of their
19832 # values after options handling.
19833 ac_log="
19834 This file was extended by Wine $as_me 3.3, which was
19835 generated by GNU Autoconf 2.69. Invocation command line was
19837 CONFIG_FILES = $CONFIG_FILES
19838 CONFIG_HEADERS = $CONFIG_HEADERS
19839 CONFIG_LINKS = $CONFIG_LINKS
19840 CONFIG_COMMANDS = $CONFIG_COMMANDS
19841 $ $0 $@
19843 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19846 _ACEOF
19848 case $ac_config_files in *"
19849 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19850 esac
19852 case $ac_config_headers in *"
19853 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19854 esac
19857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19858 # Files that config.status was made for.
19859 config_files="$ac_config_files"
19860 config_headers="$ac_config_headers"
19861 config_links="$ac_config_links"
19862 config_commands="$ac_config_commands"
19864 _ACEOF
19866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19867 ac_cs_usage="\
19868 \`$as_me' instantiates files and other configuration actions
19869 from templates according to the current configuration. Unless the files
19870 and actions are specified as TAGs, all are instantiated by default.
19872 Usage: $0 [OPTION]... [TAG]...
19874 -h, --help print this help, then exit
19875 -V, --version print version number and configuration settings, then exit
19876 --config print configuration, then exit
19877 -q, --quiet, --silent
19878 do not print progress messages
19879 -d, --debug don't remove temporary files
19880 --recheck update $as_me by reconfiguring in the same conditions
19881 --file=FILE[:TEMPLATE]
19882 instantiate the configuration file FILE
19883 --header=FILE[:TEMPLATE]
19884 instantiate the configuration header FILE
19886 Configuration files:
19887 $config_files
19889 Configuration headers:
19890 $config_headers
19892 Configuration links:
19893 $config_links
19895 Configuration commands:
19896 $config_commands
19898 Report bugs to <wine-devel@winehq.org>.
19899 Wine home page: <https://www.winehq.org>."
19901 _ACEOF
19902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19903 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19904 ac_cs_version="\\
19905 Wine config.status 3.3
19906 configured by $0, generated by GNU Autoconf 2.69,
19907 with options \\"\$ac_cs_config\\"
19909 Copyright (C) 2012 Free Software Foundation, Inc.
19910 This config.status script is free software; the Free Software Foundation
19911 gives unlimited permission to copy, distribute and modify it."
19913 ac_pwd='$ac_pwd'
19914 srcdir='$srcdir'
19915 test -n "\$AWK" || AWK=awk
19916 _ACEOF
19918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19919 # The default lists apply if the user does not specify any file.
19920 ac_need_defaults=:
19921 while test $# != 0
19923 case $1 in
19924 --*=?*)
19925 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19926 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19927 ac_shift=:
19929 --*=)
19930 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19931 ac_optarg=
19932 ac_shift=:
19935 ac_option=$1
19936 ac_optarg=$2
19937 ac_shift=shift
19939 esac
19941 case $ac_option in
19942 # Handling of the options.
19943 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19944 ac_cs_recheck=: ;;
19945 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19946 $as_echo "$ac_cs_version"; exit ;;
19947 --config | --confi | --conf | --con | --co | --c )
19948 $as_echo "$ac_cs_config"; exit ;;
19949 --debug | --debu | --deb | --de | --d | -d )
19950 debug=: ;;
19951 --file | --fil | --fi | --f )
19952 $ac_shift
19953 case $ac_optarg in
19954 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19955 '') as_fn_error $? "missing file argument" ;;
19956 esac
19957 as_fn_append CONFIG_FILES " '$ac_optarg'"
19958 ac_need_defaults=false;;
19959 --header | --heade | --head | --hea )
19960 $ac_shift
19961 case $ac_optarg in
19962 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19963 esac
19964 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19965 ac_need_defaults=false;;
19966 --he | --h)
19967 # Conflict between --help and --header
19968 as_fn_error $? "ambiguous option: \`$1'
19969 Try \`$0 --help' for more information.";;
19970 --help | --hel | -h )
19971 $as_echo "$ac_cs_usage"; exit ;;
19972 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19973 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19974 ac_cs_silent=: ;;
19976 # This is an error.
19977 -*) as_fn_error $? "unrecognized option: \`$1'
19978 Try \`$0 --help' for more information." ;;
19980 *) as_fn_append ac_config_targets " $1"
19981 ac_need_defaults=false ;;
19983 esac
19984 shift
19985 done
19987 ac_configure_extra_args=
19989 if $ac_cs_silent; then
19990 exec 6>/dev/null
19991 ac_configure_extra_args="$ac_configure_extra_args --silent"
19994 _ACEOF
19995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19996 if \$ac_cs_recheck; then
19997 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19998 shift
19999 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20000 CONFIG_SHELL='$SHELL'
20001 export CONFIG_SHELL
20002 exec "\$@"
20005 _ACEOF
20006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20007 exec 5>>config.log
20009 echo
20010 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20011 ## Running $as_me. ##
20012 _ASBOX
20013 $as_echo "$ac_log"
20014 } >&5
20016 _ACEOF
20017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20019 # INIT-COMMANDS
20021 wine_fn_output_makedep ()
20023 as_dir=tools; as_fn_mkdir_p
20024 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20026 wine_fn_output_makefile ()
20028 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20029 `cat $wine_rules_file`
20030 _WINE_EOF
20031 as_fn_error $? "could not create Makefile" "$LINENO" 5
20034 _ACEOF
20036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20038 # Handling of arguments.
20039 for ac_config_target in $ac_config_targets
20041 case $ac_config_target in
20042 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20043 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20044 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20045 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20046 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20047 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20048 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20049 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20050 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20051 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20052 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20053 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20054 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20056 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20057 esac
20058 done
20061 # If the user did not use the arguments to specify the items to instantiate,
20062 # then the envvar interface is used. Set only those that are not.
20063 # We use the long form for the default assignment because of an extremely
20064 # bizarre bug on SunOS 4.1.3.
20065 if $ac_need_defaults; then
20066 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20067 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20068 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20069 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20072 # Have a temporary directory for convenience. Make it in the build tree
20073 # simply because there is no reason against having it here, and in addition,
20074 # creating and moving files from /tmp can sometimes cause problems.
20075 # Hook for its removal unless debugging.
20076 # Note that there is a small window in which the directory will not be cleaned:
20077 # after its creation but before its name has been assigned to `$tmp'.
20078 $debug ||
20080 tmp= ac_tmp=
20081 trap 'exit_status=$?
20082 : "${ac_tmp:=$tmp}"
20083 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20085 trap 'as_fn_exit 1' 1 2 13 15
20087 # Create a (secure) tmp directory for tmp files.
20090 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20091 test -d "$tmp"
20092 } ||
20094 tmp=./conf$$-$RANDOM
20095 (umask 077 && mkdir "$tmp")
20096 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20097 ac_tmp=$tmp
20099 # Set up the scripts for CONFIG_FILES section.
20100 # No need to generate them if there are no CONFIG_FILES.
20101 # This happens for instance with `./config.status config.h'.
20102 if test -n "$CONFIG_FILES"; then
20105 ac_cr=`echo X | tr X '\015'`
20106 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20107 # But we know of no other shell where ac_cr would be empty at this
20108 # point, so we can use a bashism as a fallback.
20109 if test "x$ac_cr" = x; then
20110 eval ac_cr=\$\'\\r\'
20112 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20113 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20114 ac_cs_awk_cr='\\r'
20115 else
20116 ac_cs_awk_cr=$ac_cr
20119 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20120 _ACEOF
20124 echo "cat >conf$$subs.awk <<_ACEOF" &&
20125 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20126 echo "_ACEOF"
20127 } >conf$$subs.sh ||
20128 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20129 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20130 ac_delim='%!_!# '
20131 for ac_last_try in false false false false false :; do
20132 . ./conf$$subs.sh ||
20133 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20135 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20136 if test $ac_delim_n = $ac_delim_num; then
20137 break
20138 elif $ac_last_try; then
20139 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20140 else
20141 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20143 done
20144 rm -f conf$$subs.sh
20146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20147 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20148 _ACEOF
20149 sed -n '
20151 s/^/S["/; s/!.*/"]=/
20154 s/^[^!]*!//
20155 :repl
20156 t repl
20157 s/'"$ac_delim"'$//
20158 t delim
20161 s/\(.\{148\}\)..*/\1/
20162 t more1
20163 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20166 b repl
20167 :more1
20168 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20171 s/.\{148\}//
20172 t nl
20173 :delim
20175 s/\(.\{148\}\)..*/\1/
20176 t more2
20177 s/["\\]/\\&/g; s/^/"/; s/$/"/
20180 :more2
20181 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20184 s/.\{148\}//
20185 t delim
20186 ' <conf$$subs.awk | sed '
20187 /^[^""]/{
20189 s/\n//
20191 ' >>$CONFIG_STATUS || ac_write_fail=1
20192 rm -f conf$$subs.awk
20193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20194 _ACAWK
20195 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20196 for (key in S) S_is_set[key] = 1
20197 FS = "\a"
20201 line = $ 0
20202 nfields = split(line, field, "@")
20203 substed = 0
20204 len = length(field[1])
20205 for (i = 2; i < nfields; i++) {
20206 key = field[i]
20207 keylen = length(key)
20208 if (S_is_set[key]) {
20209 value = S[key]
20210 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20211 len += length(value) + length(field[++i])
20212 substed = 1
20213 } else
20214 len += 1 + keylen
20217 print line
20220 _ACAWK
20221 _ACEOF
20222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20223 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20224 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20225 else
20227 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20228 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20229 _ACEOF
20231 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20232 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20233 # trailing colons and then remove the whole line if VPATH becomes empty
20234 # (actually we leave an empty line to preserve line numbers).
20235 if test "x$srcdir" = x.; then
20236 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20238 s///
20239 s/^/:/
20240 s/[ ]*$/:/
20241 s/:\$(srcdir):/:/g
20242 s/:\${srcdir}:/:/g
20243 s/:@srcdir@:/:/g
20244 s/^:*//
20245 s/:*$//
20247 s/\(=[ ]*\).*/\1/
20249 s/\n//
20250 s/^[^=]*=[ ]*$//
20254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20255 fi # test -n "$CONFIG_FILES"
20257 # Set up the scripts for CONFIG_HEADERS section.
20258 # No need to generate them if there are no CONFIG_HEADERS.
20259 # This happens for instance with `./config.status Makefile'.
20260 if test -n "$CONFIG_HEADERS"; then
20261 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20262 BEGIN {
20263 _ACEOF
20265 # Transform confdefs.h into an awk script `defines.awk', embedded as
20266 # here-document in config.status, that substitutes the proper values into
20267 # config.h.in to produce config.h.
20269 # Create a delimiter string that does not exist in confdefs.h, to ease
20270 # handling of long lines.
20271 ac_delim='%!_!# '
20272 for ac_last_try in false false :; do
20273 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20274 if test -z "$ac_tt"; then
20275 break
20276 elif $ac_last_try; then
20277 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20278 else
20279 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20281 done
20283 # For the awk script, D is an array of macro values keyed by name,
20284 # likewise P contains macro parameters if any. Preserve backslash
20285 # newline sequences.
20287 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20288 sed -n '
20289 s/.\{148\}/&'"$ac_delim"'/g
20290 t rset
20291 :rset
20292 s/^[ ]*#[ ]*define[ ][ ]*/ /
20293 t def
20295 :def
20296 s/\\$//
20297 t bsnl
20298 s/["\\]/\\&/g
20299 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20300 D["\1"]=" \3"/p
20301 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20303 :bsnl
20304 s/["\\]/\\&/g
20305 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20306 D["\1"]=" \3\\\\\\n"\\/p
20307 t cont
20308 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20309 t cont
20311 :cont
20313 s/.\{148\}/&'"$ac_delim"'/g
20314 t clear
20315 :clear
20316 s/\\$//
20317 t bsnlc
20318 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20320 :bsnlc
20321 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20322 b cont
20323 ' <confdefs.h | sed '
20324 s/'"$ac_delim"'/"\\\
20325 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20328 for (key in D) D_is_set[key] = 1
20329 FS = "\a"
20331 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20332 line = \$ 0
20333 split(line, arg, " ")
20334 if (arg[1] == "#") {
20335 defundef = arg[2]
20336 mac1 = arg[3]
20337 } else {
20338 defundef = substr(arg[1], 2)
20339 mac1 = arg[2]
20341 split(mac1, mac2, "(") #)
20342 macro = mac2[1]
20343 prefix = substr(line, 1, index(line, defundef) - 1)
20344 if (D_is_set[macro]) {
20345 # Preserve the white space surrounding the "#".
20346 print prefix "define", macro P[macro] D[macro]
20347 next
20348 } else {
20349 # Replace #undef with comments. This is necessary, for example,
20350 # in the case of _POSIX_SOURCE, which is predefined and required
20351 # on some systems where configure will not decide to define it.
20352 if (defundef == "undef") {
20353 print "/*", prefix defundef, macro, "*/"
20354 next
20358 { print }
20359 _ACAWK
20360 _ACEOF
20361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20362 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20363 fi # test -n "$CONFIG_HEADERS"
20366 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20367 shift
20368 for ac_tag
20370 case $ac_tag in
20371 :[FHLC]) ac_mode=$ac_tag; continue;;
20372 esac
20373 case $ac_mode$ac_tag in
20374 :[FHL]*:*);;
20375 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20376 :[FH]-) ac_tag=-:-;;
20377 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20378 esac
20379 ac_save_IFS=$IFS
20380 IFS=:
20381 set x $ac_tag
20382 IFS=$ac_save_IFS
20383 shift
20384 ac_file=$1
20385 shift
20387 case $ac_mode in
20388 :L) ac_source=$1;;
20389 :[FH])
20390 ac_file_inputs=
20391 for ac_f
20393 case $ac_f in
20394 -) ac_f="$ac_tmp/stdin";;
20395 *) # Look for the file first in the build tree, then in the source tree
20396 # (if the path is not absolute). The absolute path cannot be DOS-style,
20397 # because $ac_f cannot contain `:'.
20398 test -f "$ac_f" ||
20399 case $ac_f in
20400 [\\/$]*) false;;
20401 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20402 esac ||
20403 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20404 esac
20405 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20406 as_fn_append ac_file_inputs " '$ac_f'"
20407 done
20409 # Let's still pretend it is `configure' which instantiates (i.e., don't
20410 # use $as_me), people would be surprised to read:
20411 # /* config.h. Generated by config.status. */
20412 configure_input='Generated from '`
20413 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20414 `' by configure.'
20415 if test x"$ac_file" != x-; then
20416 configure_input="$ac_file. $configure_input"
20417 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20418 $as_echo "$as_me: creating $ac_file" >&6;}
20420 # Neutralize special characters interpreted by sed in replacement strings.
20421 case $configure_input in #(
20422 *\&* | *\|* | *\\* )
20423 ac_sed_conf_input=`$as_echo "$configure_input" |
20424 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20425 *) ac_sed_conf_input=$configure_input;;
20426 esac
20428 case $ac_tag in
20429 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20430 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20431 esac
20433 esac
20435 ac_dir=`$as_dirname -- "$ac_file" ||
20436 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20437 X"$ac_file" : 'X\(//\)[^/]' \| \
20438 X"$ac_file" : 'X\(//\)$' \| \
20439 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20440 $as_echo X"$ac_file" |
20441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20442 s//\1/
20445 /^X\(\/\/\)[^/].*/{
20446 s//\1/
20449 /^X\(\/\/\)$/{
20450 s//\1/
20453 /^X\(\/\).*/{
20454 s//\1/
20457 s/.*/./; q'`
20458 as_dir="$ac_dir"; as_fn_mkdir_p
20459 ac_builddir=.
20461 case "$ac_dir" in
20462 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20464 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20465 # A ".." for each directory in $ac_dir_suffix.
20466 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20467 case $ac_top_builddir_sub in
20468 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20469 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20470 esac ;;
20471 esac
20472 ac_abs_top_builddir=$ac_pwd
20473 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20474 # for backward compatibility:
20475 ac_top_builddir=$ac_top_build_prefix
20477 case $srcdir in
20478 .) # We are building in place.
20479 ac_srcdir=.
20480 ac_top_srcdir=$ac_top_builddir_sub
20481 ac_abs_top_srcdir=$ac_pwd ;;
20482 [\\/]* | ?:[\\/]* ) # Absolute name.
20483 ac_srcdir=$srcdir$ac_dir_suffix;
20484 ac_top_srcdir=$srcdir
20485 ac_abs_top_srcdir=$srcdir ;;
20486 *) # Relative name.
20487 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20488 ac_top_srcdir=$ac_top_build_prefix$srcdir
20489 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20490 esac
20491 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20494 case $ac_mode in
20497 # CONFIG_FILE
20500 _ACEOF
20502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20503 # If the template does not know about datarootdir, expand it.
20504 # FIXME: This hack should be removed a few years after 2.60.
20505 ac_datarootdir_hack=; ac_datarootdir_seen=
20506 ac_sed_dataroot='
20507 /datarootdir/ {
20511 /@datadir@/p
20512 /@docdir@/p
20513 /@infodir@/p
20514 /@localedir@/p
20515 /@mandir@/p'
20516 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20517 *datarootdir*) ac_datarootdir_seen=yes;;
20518 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20520 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20521 _ACEOF
20522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20523 ac_datarootdir_hack='
20524 s&@datadir@&$datadir&g
20525 s&@docdir@&$docdir&g
20526 s&@infodir@&$infodir&g
20527 s&@localedir@&$localedir&g
20528 s&@mandir@&$mandir&g
20529 s&\\\${datarootdir}&$datarootdir&g' ;;
20530 esac
20531 _ACEOF
20533 # Neutralize VPATH when `$srcdir' = `.'.
20534 # Shell code in configure.ac might set extrasub.
20535 # FIXME: do we really want to maintain this feature?
20536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20537 ac_sed_extra="$ac_vpsub
20538 $extrasub
20539 _ACEOF
20540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20542 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20543 s|@configure_input@|$ac_sed_conf_input|;t t
20544 s&@top_builddir@&$ac_top_builddir_sub&;t t
20545 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20546 s&@srcdir@&$ac_srcdir&;t t
20547 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20548 s&@top_srcdir@&$ac_top_srcdir&;t t
20549 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20550 s&@builddir@&$ac_builddir&;t t
20551 s&@abs_builddir@&$ac_abs_builddir&;t t
20552 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20553 $ac_datarootdir_hack
20555 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20556 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20558 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20559 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20560 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20561 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20563 which seems to be undefined. Please make sure it is defined" >&5
20564 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20565 which seems to be undefined. Please make sure it is defined" >&2;}
20567 rm -f "$ac_tmp/stdin"
20568 case $ac_file in
20569 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20570 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20571 esac \
20572 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20576 # CONFIG_HEADER
20578 if test x"$ac_file" != x-; then
20580 $as_echo "/* $configure_input */" \
20581 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20582 } >"$ac_tmp/config.h" \
20583 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20584 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20585 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20586 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20587 else
20588 rm -f "$ac_file"
20589 mv "$ac_tmp/config.h" "$ac_file" \
20590 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20592 else
20593 $as_echo "/* $configure_input */" \
20594 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20595 || as_fn_error $? "could not create -" "$LINENO" 5
20600 # CONFIG_LINK
20603 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20605 else
20606 # Prefer the file from the source tree if names are identical.
20607 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20608 ac_source=$srcdir/$ac_source
20611 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20612 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20614 if test ! -r "$ac_source"; then
20615 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20617 rm -f "$ac_file"
20619 # Try a relative symlink, then a hard link, then a copy.
20620 case $ac_source in
20621 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20622 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20623 esac
20624 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20625 ln "$ac_source" "$ac_file" 2>/dev/null ||
20626 cp -p "$ac_source" "$ac_file" ||
20627 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20630 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20631 $as_echo "$as_me: executing $ac_file commands" >&6;}
20633 esac
20636 case $ac_file$ac_mode in
20637 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20638 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20639 "Makefile":C) wine_fn_output_makefile Makefile ;;
20641 esac
20642 done # for ac_tag
20645 as_fn_exit 0
20646 _ACEOF
20647 ac_clean_files=$ac_clean_files_save
20649 test $ac_write_fail = 0 ||
20650 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20653 # configure is writing to config.log, and then calls config.status.
20654 # config.status does its own redirection, appending to config.log.
20655 # Unfortunately, on DOS this fails, as config.log is still kept open
20656 # by configure, so config.status won't be able to write to it; its
20657 # output is simply discarded. So we exec the FD to /dev/null,
20658 # effectively closing config.log, so it can be properly (re)opened and
20659 # appended to by config.status. When coming back to configure, we
20660 # need to make the FD available again.
20661 if test "$no_create" != yes; then
20662 ac_cs_success=:
20663 ac_config_status_args=
20664 test "$silent" = yes &&
20665 ac_config_status_args="$ac_config_status_args --quiet"
20666 exec 5>/dev/null
20667 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20668 exec 5>>config.log
20669 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20670 # would make configure fail if this is the last instruction.
20671 $ac_cs_success || as_fn_exit 1
20673 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20675 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20679 if test "$no_create" = "yes"
20680 then
20681 exit 0
20684 ac_save_IFS="$IFS"
20685 if test "x$wine_notices" != x; then
20686 echo >&6
20687 IFS="|"
20688 for msg in $wine_notices; do
20689 IFS="$ac_save_IFS"
20690 if ${msg:+false} :; then :
20692 else
20693 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20694 $as_echo "$as_me: $msg" >&6;}
20696 done
20698 IFS="|"
20699 for msg in $wine_warnings; do
20700 IFS="$ac_save_IFS"
20701 if ${msg:+false} :; then :
20703 else
20704 echo >&2
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20706 $as_echo "$as_me: WARNING: $msg" >&2;}
20708 done
20709 IFS="$ac_save_IFS"
20711 $as_echo "
20712 $as_me: Finished. Do '${ac_make}' to compile Wine.
20713 " >&6