ext-ms-win-oleacc-l1-1-0: Add dll.
[wine.git] / configure
blob1de40bf1c8c3a8c302ddf5ba6eb4495dc0e54992
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.3.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='3.3'
584 PACKAGE_STRING='Wine 3.3'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 SDL2_LIBS
662 SDL2_CFLAGS
663 UDEV_LIBS
664 UDEV_CFLAGS
665 OSS4_CFLAGS
666 ALSA_LIBS
667 GSTREAMER_LIBS
668 GSTREAMER_CFLAGS
669 PULSE_LIBS
670 PULSE_CFLAGS
671 GETTEXTPO_LIBS
672 Z_LIBS
673 FREETYPE_LIBS
674 FREETYPE_CFLAGS
675 LCMS2_LIBS
676 LCMS2_CFLAGS
677 RESOLV_LIBS
678 GPHOTO2_PORT_LIBS
679 GPHOTO2_PORT_CFLAGS
680 GPHOTO2_LIBS
681 GPHOTO2_CFLAGS
682 SANE_LIBS
683 SANE_CFLAGS
684 GNUTLS_LIBS
685 GNUTLS_CFLAGS
686 HAL_LIBS
687 HAL_CFLAGS
688 DBUS_LIBS
689 DBUS_CFLAGS
690 XSLT_LIBS
691 XSLT_CFLAGS
692 XML2_LIBS
693 XML2_CFLAGS
694 PCAP_LIBS
695 X_EXTRA_LIBS
696 X_LIBS
697 X_PRE_LIBS
698 X_CFLAGS
699 XMKMF
700 PTHREAD_LIBS
701 CROSSCFLAGS
702 CROSSCC
703 CROSSTARGET
704 PRELINK
705 WINELOADER_DEPENDS
706 CARBON_LIBS
707 QUICKTIME_LIBS
708 OPENCL_LIBS
709 OPENAL_LIBS
710 COREAUDIO_LIBS
711 SECURITY_LIBS
712 DISKARBITRATION_LIBS
713 APPKIT_LIBS
714 CORESERVICES_LIBS
715 APPLICATIONSERVICES_LIBS
716 FORCEFEEDBACK_LIBS
717 IOKIT_LIBS
718 COREFOUNDATION_LIBS
719 LIBWINE_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_INSTALL_DEV
722 LIBWINE_INSTALL_LIB
723 LIBWINE_IMPORTLIB
724 LIBWINE_SHAREDLIB
725 SOCKET_LIBS
726 DLLTOOL
727 WINELOADER_PROGRAMS
728 CONFIGURE_TARGETS
729 DISABLED_SUBDIRS
730 SUBDIRS
731 READELF
732 OTOOL
734 WINELOADER_LDFLAGS
735 LDEXECFLAGS
736 LDRPATH_LOCAL
737 LDRPATH_INSTALL
738 DLLFLAGS
740 OPENGL_LIBS
741 ICOTOOL
742 CONVERT
743 RSVG
744 FONTFORGE
745 PKG_CONFIG
746 MSGFMT
747 LDCONFIG
748 EGREP
749 GREP
750 LN_S
751 RANLIB
752 ARFLAGS
753 STRIP
754 ac_ct_AR
756 BISON
757 FLEX
758 TOOLSDIR
759 wine64_disable
760 TARGETFLAGS
762 CPPBIN
763 ac_ct_CXX
764 CXXFLAGS
766 OBJEXT
767 EXEEXT
768 ac_ct_CC
769 CPPFLAGS
770 LDFLAGS
771 CFLAGS
773 SET_MAKE
774 host_os
775 host_vendor
776 host_cpu
777 host
778 build_os
779 build_vendor
780 build_cpu
781 build
782 target_alias
783 host_alias
784 build_alias
785 LIBS
786 ECHO_T
787 ECHO_N
788 ECHO_C
789 DEFS
790 mandir
791 localedir
792 libdir
793 psdir
794 pdfdir
795 dvidir
796 htmldir
797 infodir
798 docdir
799 oldincludedir
800 includedir
801 runstatedir
802 localstatedir
803 sharedstatedir
804 sysconfdir
805 datadir
806 datarootdir
807 libexecdir
808 sbindir
809 bindir
810 program_transform_name
811 prefix
812 exec_prefix
813 PACKAGE_URL
814 PACKAGE_BUGREPORT
815 PACKAGE_STRING
816 PACKAGE_VERSION
817 PACKAGE_TARNAME
818 PACKAGE_NAME
819 PATH_SEPARATOR
820 SHELL'
821 ac_subst_files=''
822 ac_user_opts='
823 enable_option_checking
824 enable_win16
825 enable_win64
826 enable_tests
827 enable_maintainer_mode
828 with_alsa
829 with_capi
830 with_cms
831 with_coreaudio
832 with_cups
833 with_curses
834 with_dbus
835 with_float_abi
836 with_fontconfig
837 with_freetype
838 with_gettext
839 with_gettextpo
840 with_gphoto
841 with_glu
842 with_gnutls
843 with_gsm
844 with_gssapi
845 with_gstreamer
846 with_hal
847 with_jpeg
848 with_krb5
849 with_ldap
850 with_mpg123
851 with_netapi
852 with_openal
853 with_opencl
854 with_opengl
855 with_osmesa
856 with_oss
857 with_pcap
858 with_png
859 with_pthread
860 with_pulse
861 with_sane
862 with_sdl
863 with_tiff
864 with_udev
865 with_v4l
866 with_vulkan
867 with_xcomposite
868 with_xcursor
869 with_xfixes
870 with_xinerama
871 with_xinput
872 with_xinput2
873 with_xml
874 with_xrandr
875 with_xrender
876 with_xshape
877 with_xshm
878 with_xslt
879 with_xxf86vm
880 with_zlib
881 with_wine_tools
882 with_wine64
883 enable_largefile
884 with_x
885 enable_acledit
886 enable_aclui
887 enable_activeds
888 enable_actxprxy
889 enable_adsiid
890 enable_adsldp
891 enable_adsldpc
892 enable_advapi32
893 enable_advpack
894 enable_amstream
895 enable_api_ms_win_appmodel_identity_l1_1_0
896 enable_api_ms_win_appmodel_runtime_l1_1_1
897 enable_api_ms_win_appmodel_runtime_l1_1_2
898 enable_api_ms_win_core_apiquery_l1_1_0
899 enable_api_ms_win_core_appcompat_l1_1_1
900 enable_api_ms_win_core_appinit_l1_1_0
901 enable_api_ms_win_core_atoms_l1_1_0
902 enable_api_ms_win_core_bem_l1_1_0
903 enable_api_ms_win_core_com_l1_1_0
904 enable_api_ms_win_core_com_l1_1_1
905 enable_api_ms_win_core_com_private_l1_1_0
906 enable_api_ms_win_core_console_l1_1_0
907 enable_api_ms_win_core_console_l2_1_0
908 enable_api_ms_win_core_crt_l1_1_0
909 enable_api_ms_win_core_crt_l2_1_0
910 enable_api_ms_win_core_datetime_l1_1_0
911 enable_api_ms_win_core_datetime_l1_1_1
912 enable_api_ms_win_core_debug_l1_1_0
913 enable_api_ms_win_core_debug_l1_1_1
914 enable_api_ms_win_core_delayload_l1_1_0
915 enable_api_ms_win_core_delayload_l1_1_1
916 enable_api_ms_win_core_errorhandling_l1_1_0
917 enable_api_ms_win_core_errorhandling_l1_1_1
918 enable_api_ms_win_core_errorhandling_l1_1_2
919 enable_api_ms_win_core_errorhandling_l1_1_3
920 enable_api_ms_win_core_fibers_l1_1_0
921 enable_api_ms_win_core_fibers_l1_1_1
922 enable_api_ms_win_core_file_l1_1_0
923 enable_api_ms_win_core_file_l1_2_0
924 enable_api_ms_win_core_file_l1_2_1
925 enable_api_ms_win_core_file_l1_2_2
926 enable_api_ms_win_core_file_l2_1_0
927 enable_api_ms_win_core_file_l2_1_1
928 enable_api_ms_win_core_file_l2_1_2
929 enable_api_ms_win_core_handle_l1_1_0
930 enable_api_ms_win_core_heap_l1_1_0
931 enable_api_ms_win_core_heap_l1_2_0
932 enable_api_ms_win_core_heap_l2_1_0
933 enable_api_ms_win_core_heap_obsolete_l1_1_0
934 enable_api_ms_win_core_interlocked_l1_1_0
935 enable_api_ms_win_core_interlocked_l1_2_0
936 enable_api_ms_win_core_io_l1_1_0
937 enable_api_ms_win_core_io_l1_1_1
938 enable_api_ms_win_core_job_l1_1_0
939 enable_api_ms_win_core_job_l2_1_0
940 enable_api_ms_win_core_kernel32_legacy_l1_1_0
941 enable_api_ms_win_core_kernel32_legacy_l1_1_1
942 enable_api_ms_win_core_kernel32_private_l1_1_1
943 enable_api_ms_win_core_largeinteger_l1_1_0
944 enable_api_ms_win_core_libraryloader_l1_1_0
945 enable_api_ms_win_core_libraryloader_l1_1_1
946 enable_api_ms_win_core_libraryloader_l1_2_0
947 enable_api_ms_win_core_libraryloader_l1_2_1
948 enable_api_ms_win_core_libraryloader_l1_2_2
949 enable_api_ms_win_core_localization_l1_1_0
950 enable_api_ms_win_core_localization_l1_2_0
951 enable_api_ms_win_core_localization_l1_2_1
952 enable_api_ms_win_core_localization_l2_1_0
953 enable_api_ms_win_core_localization_obsolete_l1_1_0
954 enable_api_ms_win_core_localization_obsolete_l1_2_0
955 enable_api_ms_win_core_localization_obsolete_l1_3_0
956 enable_api_ms_win_core_localization_private_l1_1_0
957 enable_api_ms_win_core_localregistry_l1_1_0
958 enable_api_ms_win_core_memory_l1_1_0
959 enable_api_ms_win_core_memory_l1_1_1
960 enable_api_ms_win_core_memory_l1_1_2
961 enable_api_ms_win_core_misc_l1_1_0
962 enable_api_ms_win_core_namedpipe_l1_1_0
963 enable_api_ms_win_core_namedpipe_l1_2_0
964 enable_api_ms_win_core_namespace_l1_1_0
965 enable_api_ms_win_core_normalization_l1_1_0
966 enable_api_ms_win_core_path_l1_1_0
967 enable_api_ms_win_core_privateprofile_l1_1_1
968 enable_api_ms_win_core_processenvironment_l1_1_0
969 enable_api_ms_win_core_processenvironment_l1_2_0
970 enable_api_ms_win_core_processthreads_l1_1_0
971 enable_api_ms_win_core_processthreads_l1_1_1
972 enable_api_ms_win_core_processthreads_l1_1_2
973 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
974 enable_api_ms_win_core_profile_l1_1_0
975 enable_api_ms_win_core_psapi_ansi_l1_1_0
976 enable_api_ms_win_core_psapi_l1_1_0
977 enable_api_ms_win_core_psapi_obsolete_l1_1_0
978 enable_api_ms_win_core_quirks_l1_1_0
979 enable_api_ms_win_core_realtime_l1_1_0
980 enable_api_ms_win_core_registry_l1_1_0
981 enable_api_ms_win_core_registry_l2_1_0
982 enable_api_ms_win_core_registryuserspecific_l1_1_0
983 enable_api_ms_win_core_rtlsupport_l1_1_0
984 enable_api_ms_win_core_rtlsupport_l1_2_0
985 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
986 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
987 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
988 enable_api_ms_win_core_shutdown_l1_1_0
989 enable_api_ms_win_core_sidebyside_l1_1_0
990 enable_api_ms_win_core_string_l1_1_0
991 enable_api_ms_win_core_string_l2_1_0
992 enable_api_ms_win_core_string_obsolete_l1_1_0
993 enable_api_ms_win_core_stringansi_l1_1_0
994 enable_api_ms_win_core_synch_ansi_l1_1_0
995 enable_api_ms_win_core_synch_l1_1_0
996 enable_api_ms_win_core_synch_l1_2_0
997 enable_api_ms_win_core_synch_l1_2_1
998 enable_api_ms_win_core_sysinfo_l1_1_0
999 enable_api_ms_win_core_sysinfo_l1_2_0
1000 enable_api_ms_win_core_sysinfo_l1_2_1
1001 enable_api_ms_win_core_threadpool_l1_1_0
1002 enable_api_ms_win_core_threadpool_l1_2_0
1003 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1004 enable_api_ms_win_core_threadpool_private_l1_1_0
1005 enable_api_ms_win_core_timezone_l1_1_0
1006 enable_api_ms_win_core_toolhelp_l1_1_0
1007 enable_api_ms_win_core_url_l1_1_0
1008 enable_api_ms_win_core_util_l1_1_0
1009 enable_api_ms_win_core_version_l1_1_0
1010 enable_api_ms_win_core_version_l1_1_1
1011 enable_api_ms_win_core_version_private_l1_1_0
1012 enable_api_ms_win_core_versionansi_l1_1_0
1013 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1014 enable_api_ms_win_core_winrt_error_l1_1_0
1015 enable_api_ms_win_core_winrt_error_l1_1_1
1016 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1017 enable_api_ms_win_core_winrt_l1_1_0
1018 enable_api_ms_win_core_winrt_registration_l1_1_0
1019 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1020 enable_api_ms_win_core_winrt_string_l1_1_0
1021 enable_api_ms_win_core_wow64_l1_1_0
1022 enable_api_ms_win_core_wow64_l1_1_1
1023 enable_api_ms_win_core_xstate_l1_1_0
1024 enable_api_ms_win_core_xstate_l2_1_0
1025 enable_api_ms_win_crt_conio_l1_1_0
1026 enable_api_ms_win_crt_convert_l1_1_0
1027 enable_api_ms_win_crt_environment_l1_1_0
1028 enable_api_ms_win_crt_filesystem_l1_1_0
1029 enable_api_ms_win_crt_heap_l1_1_0
1030 enable_api_ms_win_crt_locale_l1_1_0
1031 enable_api_ms_win_crt_math_l1_1_0
1032 enable_api_ms_win_crt_multibyte_l1_1_0
1033 enable_api_ms_win_crt_private_l1_1_0
1034 enable_api_ms_win_crt_process_l1_1_0
1035 enable_api_ms_win_crt_runtime_l1_1_0
1036 enable_api_ms_win_crt_stdio_l1_1_0
1037 enable_api_ms_win_crt_string_l1_1_0
1038 enable_api_ms_win_crt_time_l1_1_0
1039 enable_api_ms_win_crt_utility_l1_1_0
1040 enable_api_ms_win_devices_config_l1_1_1
1041 enable_api_ms_win_devices_query_l1_1_1
1042 enable_api_ms_win_downlevel_advapi32_l1_1_0
1043 enable_api_ms_win_downlevel_advapi32_l2_1_0
1044 enable_api_ms_win_downlevel_normaliz_l1_1_0
1045 enable_api_ms_win_downlevel_ole32_l1_1_0
1046 enable_api_ms_win_downlevel_shell32_l1_1_0
1047 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1048 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1049 enable_api_ms_win_downlevel_user32_l1_1_0
1050 enable_api_ms_win_downlevel_version_l1_1_0
1051 enable_api_ms_win_dx_d3dkmt_l1_1_0
1052 enable_api_ms_win_eventing_classicprovider_l1_1_0
1053 enable_api_ms_win_eventing_consumer_l1_1_0
1054 enable_api_ms_win_eventing_controller_l1_1_0
1055 enable_api_ms_win_eventing_legacy_l1_1_0
1056 enable_api_ms_win_eventing_provider_l1_1_0
1057 enable_api_ms_win_eventlog_legacy_l1_1_0
1058 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1059 enable_api_ms_win_mm_joystick_l1_1_0
1060 enable_api_ms_win_mm_misc_l1_1_1
1061 enable_api_ms_win_mm_mme_l1_1_0
1062 enable_api_ms_win_mm_time_l1_1_0
1063 enable_api_ms_win_ntuser_dc_access_l1_1_0
1064 enable_api_ms_win_ntuser_rectangle_l1_1_0
1065 enable_api_ms_win_perf_legacy_l1_1_0
1066 enable_api_ms_win_power_base_l1_1_0
1067 enable_api_ms_win_power_setting_l1_1_0
1068 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1069 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1070 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1071 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1072 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1073 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1074 enable_api_ms_win_security_audit_l1_1_1
1075 enable_api_ms_win_security_base_l1_1_0
1076 enable_api_ms_win_security_base_l1_2_0
1077 enable_api_ms_win_security_base_private_l1_1_1
1078 enable_api_ms_win_security_credentials_l1_1_0
1079 enable_api_ms_win_security_grouppolicy_l1_1_0
1080 enable_api_ms_win_security_lsalookup_l1_1_0
1081 enable_api_ms_win_security_lsalookup_l1_1_1
1082 enable_api_ms_win_security_lsalookup_l2_1_0
1083 enable_api_ms_win_security_lsalookup_l2_1_1
1084 enable_api_ms_win_security_lsapolicy_l1_1_0
1085 enable_api_ms_win_security_provider_l1_1_0
1086 enable_api_ms_win_security_sddl_l1_1_0
1087 enable_api_ms_win_security_systemfunctions_l1_1_0
1088 enable_api_ms_win_service_core_l1_1_0
1089 enable_api_ms_win_service_core_l1_1_1
1090 enable_api_ms_win_service_management_l1_1_0
1091 enable_api_ms_win_service_management_l2_1_0
1092 enable_api_ms_win_service_private_l1_1_1
1093 enable_api_ms_win_service_winsvc_l1_1_0
1094 enable_api_ms_win_service_winsvc_l1_2_0
1095 enable_api_ms_win_shcore_scaling_l1_1_1
1096 enable_api_ms_win_shell_shellcom_l1_1_0
1097 enable_api_ms_win_shell_shellfolders_l1_1_0
1098 enable_apphelp
1099 enable_appwiz_cpl
1100 enable_atl
1101 enable_atl100
1102 enable_atl110
1103 enable_atl80
1104 enable_atl90
1105 enable_authz
1106 enable_avicap32
1107 enable_avifil32
1108 enable_avrt
1109 enable_bcrypt
1110 enable_bluetoothapis
1111 enable_browseui
1112 enable_bthprops_cpl
1113 enable_cabinet
1114 enable_capi2032
1115 enable_cards
1116 enable_cdosys
1117 enable_cfgmgr32
1118 enable_clusapi
1119 enable_combase
1120 enable_comcat
1121 enable_comctl32
1122 enable_comdlg32
1123 enable_compstui
1124 enable_comsvcs
1125 enable_concrt140
1126 enable_connect
1127 enable_credui
1128 enable_crtdll
1129 enable_crypt32
1130 enable_cryptdlg
1131 enable_cryptdll
1132 enable_cryptext
1133 enable_cryptnet
1134 enable_cryptui
1135 enable_ctapi32
1136 enable_ctl3d32
1137 enable_d2d1
1138 enable_d3d10
1139 enable_d3d10_1
1140 enable_d3d10core
1141 enable_d3d11
1142 enable_d3d12
1143 enable_d3d8
1144 enable_d3d9
1145 enable_d3dcompiler_33
1146 enable_d3dcompiler_34
1147 enable_d3dcompiler_35
1148 enable_d3dcompiler_36
1149 enable_d3dcompiler_37
1150 enable_d3dcompiler_38
1151 enable_d3dcompiler_39
1152 enable_d3dcompiler_40
1153 enable_d3dcompiler_41
1154 enable_d3dcompiler_42
1155 enable_d3dcompiler_43
1156 enable_d3dcompiler_46
1157 enable_d3dcompiler_47
1158 enable_d3dim
1159 enable_d3drm
1160 enable_d3dx10_33
1161 enable_d3dx10_34
1162 enable_d3dx10_35
1163 enable_d3dx10_36
1164 enable_d3dx10_37
1165 enable_d3dx10_38
1166 enable_d3dx10_39
1167 enable_d3dx10_40
1168 enable_d3dx10_41
1169 enable_d3dx10_42
1170 enable_d3dx10_43
1171 enable_d3dx11_42
1172 enable_d3dx11_43
1173 enable_d3dx9_24
1174 enable_d3dx9_25
1175 enable_d3dx9_26
1176 enable_d3dx9_27
1177 enable_d3dx9_28
1178 enable_d3dx9_29
1179 enable_d3dx9_30
1180 enable_d3dx9_31
1181 enable_d3dx9_32
1182 enable_d3dx9_33
1183 enable_d3dx9_34
1184 enable_d3dx9_35
1185 enable_d3dx9_36
1186 enable_d3dx9_37
1187 enable_d3dx9_38
1188 enable_d3dx9_39
1189 enable_d3dx9_40
1190 enable_d3dx9_41
1191 enable_d3dx9_42
1192 enable_d3dx9_43
1193 enable_d3dxof
1194 enable_davclnt
1195 enable_dbgeng
1196 enable_dbghelp
1197 enable_dciman32
1198 enable_ddraw
1199 enable_ddrawex
1200 enable_devenum
1201 enable_dhcpcsvc
1202 enable_dhtmled_ocx
1203 enable_difxapi
1204 enable_dinput
1205 enable_dinput8
1206 enable_dispex
1207 enable_dmband
1208 enable_dmcompos
1209 enable_dmime
1210 enable_dmloader
1211 enable_dmscript
1212 enable_dmstyle
1213 enable_dmsynth
1214 enable_dmusic
1215 enable_dmusic32
1216 enable_dnsapi
1217 enable_dplay
1218 enable_dplayx
1219 enable_dpnaddr
1220 enable_dpnet
1221 enable_dpnhpast
1222 enable_dpnlobby
1223 enable_dpvoice
1224 enable_dpwsockx
1225 enable_drmclien
1226 enable_dsound
1227 enable_dsquery
1228 enable_dssenh
1229 enable_dswave
1230 enable_dwmapi
1231 enable_dwrite
1232 enable_dx8vb
1233 enable_dxdiagn
1234 enable_dxerr8
1235 enable_dxerr9
1236 enable_dxgi
1237 enable_dxguid
1238 enable_dxva2
1239 enable_esent
1240 enable_evr
1241 enable_explorerframe
1242 enable_ext_ms_win_authz_context_l1_1_0
1243 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1244 enable_ext_ms_win_gdi_dc_create_l1_1_1
1245 enable_ext_ms_win_gdi_dc_l1_2_0
1246 enable_ext_ms_win_gdi_devcaps_l1_1_0
1247 enable_ext_ms_win_gdi_draw_l1_1_1
1248 enable_ext_ms_win_gdi_render_l1_1_0
1249 enable_ext_ms_win_kernel32_package_current_l1_1_0
1250 enable_ext_ms_win_kernel32_package_l1_1_1
1251 enable_ext_ms_win_ntuser_draw_l1_1_0
1252 enable_ext_ms_win_ntuser_message_l1_1_1
1253 enable_ext_ms_win_ntuser_mouse_l1_1_0
1254 enable_ext_ms_win_ntuser_private_l1_1_1
1255 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1256 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1257 enable_ext_ms_win_ntuser_window_l1_1_1
1258 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1259 enable_ext_ms_win_oleacc_l1_1_0
1260 enable_ext_ms_win_ras_rasapi32_l1_1_0
1261 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1262 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1263 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1264 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1265 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1266 enable_ext_ms_win_security_credui_l1_1_0
1267 enable_ext_ms_win_security_cryptui_l1_1_0
1268 enable_faultrep
1269 enable_fltlib
1270 enable_fltmgr_sys
1271 enable_fntcache
1272 enable_fontsub
1273 enable_fusion
1274 enable_fwpuclnt
1275 enable_gameux
1276 enable_gdi32
1277 enable_gdiplus
1278 enable_glu32
1279 enable_gphoto2_ds
1280 enable_gpkcsp
1281 enable_hal
1282 enable_hhctrl_ocx
1283 enable_hid
1284 enable_hidclass_sys
1285 enable_hlink
1286 enable_hnetcfg
1287 enable_httpapi
1288 enable_iccvid
1289 enable_icmp
1290 enable_ieframe
1291 enable_ieproxy
1292 enable_imaadp32_acm
1293 enable_imagehlp
1294 enable_imm32
1295 enable_inetcomm
1296 enable_inetcpl_cpl
1297 enable_inetmib1
1298 enable_infosoft
1299 enable_initpki
1300 enable_inkobj
1301 enable_inseng
1302 enable_iphlpapi
1303 enable_iprop
1304 enable_irprops_cpl
1305 enable_itircl
1306 enable_itss
1307 enable_joy_cpl
1308 enable_jscript
1309 enable_jsproxy
1310 enable_kerberos
1311 enable_kernel32
1312 enable_kernelbase
1313 enable_ksuser
1314 enable_ktmw32
1315 enable_l3codeca_acm
1316 enable_loadperf
1317 enable_localspl
1318 enable_localui
1319 enable_lz32
1320 enable_mapi32
1321 enable_mapistub
1322 enable_mciavi32
1323 enable_mcicda
1324 enable_mciqtz32
1325 enable_mciseq
1326 enable_mciwave
1327 enable_mf
1328 enable_mf3216
1329 enable_mfplat
1330 enable_mfreadwrite
1331 enable_mfuuid
1332 enable_mgmtapi
1333 enable_midimap
1334 enable_mlang
1335 enable_mmcndmgr
1336 enable_mmdevapi
1337 enable_mountmgr_sys
1338 enable_mpr
1339 enable_mprapi
1340 enable_msacm32_drv
1341 enable_msacm32
1342 enable_msadp32_acm
1343 enable_msasn1
1344 enable_mscat32
1345 enable_mscms
1346 enable_mscoree
1347 enable_msctf
1348 enable_msctfp
1349 enable_msdaps
1350 enable_msdelta
1351 enable_msdmo
1352 enable_msdrm
1353 enable_msftedit
1354 enable_msg711_acm
1355 enable_msgsm32_acm
1356 enable_mshtml_tlb
1357 enable_mshtml
1358 enable_msi
1359 enable_msident
1360 enable_msimg32
1361 enable_msimsg
1362 enable_msimtf
1363 enable_msisip
1364 enable_msisys_ocx
1365 enable_msls31
1366 enable_msnet32
1367 enable_mspatcha
1368 enable_msports
1369 enable_msrle32
1370 enable_msscript_ocx
1371 enable_mssign32
1372 enable_mssip32
1373 enable_mstask
1374 enable_msvcirt
1375 enable_msvcm80
1376 enable_msvcm90
1377 enable_msvcp100
1378 enable_msvcp110
1379 enable_msvcp120
1380 enable_msvcp120_app
1381 enable_msvcp140
1382 enable_msvcp60
1383 enable_msvcp70
1384 enable_msvcp71
1385 enable_msvcp80
1386 enable_msvcp90
1387 enable_msvcr100
1388 enable_msvcr110
1389 enable_msvcr120
1390 enable_msvcr120_app
1391 enable_msvcr70
1392 enable_msvcr71
1393 enable_msvcr80
1394 enable_msvcr90
1395 enable_msvcrt
1396 enable_msvcrt20
1397 enable_msvcrt40
1398 enable_msvcrtd
1399 enable_msvfw32
1400 enable_msvidc32
1401 enable_mswsock
1402 enable_msxml
1403 enable_msxml2
1404 enable_msxml3
1405 enable_msxml4
1406 enable_msxml6
1407 enable_mtxdm
1408 enable_ncrypt
1409 enable_nddeapi
1410 enable_ndis_sys
1411 enable_netapi32
1412 enable_netcfgx
1413 enable_netprofm
1414 enable_newdev
1415 enable_ninput
1416 enable_normaliz
1417 enable_npmshtml
1418 enable_npptools
1419 enable_ntdll
1420 enable_ntdsapi
1421 enable_ntoskrnl_exe
1422 enable_ntprint
1423 enable_objsel
1424 enable_odbc32
1425 enable_odbccp32
1426 enable_odbccu32
1427 enable_ole32
1428 enable_oleacc
1429 enable_oleaut32
1430 enable_olecli32
1431 enable_oledb32
1432 enable_oledlg
1433 enable_olepro32
1434 enable_olesvr32
1435 enable_olethk32
1436 enable_openal32
1437 enable_opencl
1438 enable_opengl32
1439 enable_packager
1440 enable_pdh
1441 enable_photometadatahandler
1442 enable_pidgen
1443 enable_powrprof
1444 enable_printui
1445 enable_prntvpt
1446 enable_propsys
1447 enable_psapi
1448 enable_pstorec
1449 enable_qcap
1450 enable_qedit
1451 enable_qmgr
1452 enable_qmgrprxy
1453 enable_quartz
1454 enable_query
1455 enable_rasapi32
1456 enable_rasdlg
1457 enable_regapi
1458 enable_resutils
1459 enable_riched20
1460 enable_riched32
1461 enable_rpcrt4
1462 enable_rsabase
1463 enable_rsaenh
1464 enable_rstrtmgr
1465 enable_rtutils
1466 enable_samlib
1467 enable_sane_ds
1468 enable_sapi
1469 enable_scarddlg
1470 enable_sccbase
1471 enable_schannel
1472 enable_schedsvc
1473 enable_scrobj
1474 enable_scrrun
1475 enable_scsiport_sys
1476 enable_secur32
1477 enable_security
1478 enable_sensapi
1479 enable_serialui
1480 enable_setupapi
1481 enable_sfc
1482 enable_sfc_os
1483 enable_shcore
1484 enable_shdoclc
1485 enable_shdocvw
1486 enable_shell32
1487 enable_shfolder
1488 enable_shlwapi
1489 enable_slbcsp
1490 enable_slc
1491 enable_snmpapi
1492 enable_softpub
1493 enable_spoolss
1494 enable_sspicli
1495 enable_stdole2_tlb
1496 enable_stdole32_tlb
1497 enable_sti
1498 enable_strmbase
1499 enable_strmiids
1500 enable_svrapi
1501 enable_sxs
1502 enable_t2embed
1503 enable_tapi32
1504 enable_taskschd
1505 enable_tdh
1506 enable_tdi_sys
1507 enable_traffic
1508 enable_twain_32
1509 enable_ucrtbase
1510 enable_uiautomationcore
1511 enable_uiribbon
1512 enable_unicows
1513 enable_updspapi
1514 enable_url
1515 enable_urlmon
1516 enable_usbd_sys
1517 enable_user32
1518 enable_userenv
1519 enable_usp10
1520 enable_uuid
1521 enable_uxtheme
1522 enable_vbscript
1523 enable_vcomp
1524 enable_vcomp100
1525 enable_vcomp110
1526 enable_vcomp120
1527 enable_vcomp140
1528 enable_vcomp90
1529 enable_vcruntime140
1530 enable_vdmdbg
1531 enable_version
1532 enable_virtdisk
1533 enable_vssapi
1534 enable_wbemdisp
1535 enable_wbemprox
1536 enable_wdscore
1537 enable_webservices
1538 enable_wer
1539 enable_wevtapi
1540 enable_wiaservc
1541 enable_wimgapi
1542 enable_windowscodecs
1543 enable_windowscodecsext
1544 enable_winealsa_drv
1545 enable_wineandroid_drv
1546 enable_winebus_sys
1547 enable_winecoreaudio_drv
1548 enable_winecrt0
1549 enable_wined3d
1550 enable_winegstreamer
1551 enable_winehid_sys
1552 enable_winejoystick_drv
1553 enable_winemac_drv
1554 enable_winemapi
1555 enable_wineoss_drv
1556 enable_wineps_drv
1557 enable_winepulse_drv
1558 enable_wineqtdecoder
1559 enable_winevulkan
1560 enable_winex11_drv
1561 enable_wing32
1562 enable_winhttp
1563 enable_wininet
1564 enable_winmm
1565 enable_winnls32
1566 enable_winscard
1567 enable_winspool_drv
1568 enable_winsta
1569 enable_wintab32
1570 enable_wintrust
1571 enable_winusb
1572 enable_wlanapi
1573 enable_wldap32
1574 enable_wmasf
1575 enable_wmi
1576 enable_wmiutils
1577 enable_wmp
1578 enable_wmphoto
1579 enable_wmvcore
1580 enable_wnaspi32
1581 enable_wpc
1582 enable_wpcap
1583 enable_ws2_32
1584 enable_wsdapi
1585 enable_wshom_ocx
1586 enable_wsnmp32
1587 enable_wsock32
1588 enable_wtsapi32
1589 enable_wuapi
1590 enable_wuaueng
1591 enable_x3daudio1_0
1592 enable_x3daudio1_1
1593 enable_x3daudio1_2
1594 enable_x3daudio1_3
1595 enable_x3daudio1_4
1596 enable_x3daudio1_5
1597 enable_x3daudio1_6
1598 enable_x3daudio1_7
1599 enable_xapofx1_1
1600 enable_xapofx1_2
1601 enable_xapofx1_3
1602 enable_xapofx1_4
1603 enable_xapofx1_5
1604 enable_xaudio2_0
1605 enable_xaudio2_1
1606 enable_xaudio2_2
1607 enable_xaudio2_3
1608 enable_xaudio2_4
1609 enable_xaudio2_5
1610 enable_xaudio2_6
1611 enable_xaudio2_7
1612 enable_xaudio2_8
1613 enable_xaudio2_9
1614 enable_xinput1_1
1615 enable_xinput1_2
1616 enable_xinput1_3
1617 enable_xinput1_4
1618 enable_xinput9_1_0
1619 enable_xmllite
1620 enable_xolehlp
1621 enable_xpsprint
1622 enable_xpssvcs
1623 enable_fonts
1624 enable_include
1625 enable_port
1626 enable_wine
1627 enable_wpp
1628 enable_loader
1629 enable_po
1630 enable_arp
1631 enable_aspnet_regiis
1632 enable_attrib
1633 enable_cabarc
1634 enable_cacls
1635 enable_clock
1636 enable_cmd
1637 enable_conhost
1638 enable_control
1639 enable_cscript
1640 enable_dpnsvr
1641 enable_dxdiag
1642 enable_eject
1643 enable_expand
1644 enable_explorer
1645 enable_extrac32
1646 enable_findstr
1647 enable_fsutil
1648 enable_hh
1649 enable_hostname
1650 enable_icacls
1651 enable_icinfo
1652 enable_iexplore
1653 enable_ipconfig
1654 enable_lodctr
1655 enable_mofcomp
1656 enable_mshta
1657 enable_msiexec
1658 enable_msinfo32
1659 enable_net
1660 enable_netsh
1661 enable_netstat
1662 enable_ngen
1663 enable_notepad
1664 enable_oleview
1665 enable_ping
1666 enable_plugplay
1667 enable_powershell
1668 enable_presentationfontcache
1669 enable_progman
1670 enable_reg
1671 enable_regasm
1672 enable_regedit
1673 enable_regsvcs
1674 enable_regsvr32
1675 enable_rpcss
1676 enable_rundll32
1677 enable_sc
1678 enable_schtasks
1679 enable_sdbinst
1680 enable_secedit
1681 enable_servicemodelreg
1682 enable_services
1683 enable_shutdown
1684 enable_spoolsv
1685 enable_start
1686 enable_subst
1687 enable_svchost
1688 enable_systeminfo
1689 enable_taskkill
1690 enable_tasklist
1691 enable_taskmgr
1692 enable_termsv
1693 enable_uninstaller
1694 enable_unlodctr
1695 enable_view
1696 enable_wevtutil
1697 enable_wineboot
1698 enable_winebrowser
1699 enable_winecfg
1700 enable_wineconsole
1701 enable_winedbg
1702 enable_winedevice
1703 enable_winefile
1704 enable_winemenubuilder
1705 enable_winemine
1706 enable_winemsibuilder
1707 enable_winepath
1708 enable_winetest
1709 enable_winhlp32
1710 enable_winver
1711 enable_wmic
1712 enable_wmplayer
1713 enable_wordpad
1714 enable_write
1715 enable_wscript
1716 enable_wusa
1717 enable_xcopy
1718 enable_server
1719 enable_tools
1720 enable_sfnt2fon
1721 enable_widl
1722 enable_winebuild
1723 enable_winedump
1724 enable_winegcc
1725 enable_winemaker
1726 enable_wmc
1727 enable_wrc
1729 ac_precious_vars='build_alias
1730 host_alias
1731 target_alias
1733 CFLAGS
1734 LDFLAGS
1735 LIBS
1736 CPPFLAGS
1738 CXXFLAGS
1741 XMKMF
1742 XML2_CFLAGS
1743 XML2_LIBS
1744 XSLT_CFLAGS
1745 XSLT_LIBS
1746 DBUS_CFLAGS
1747 DBUS_LIBS
1748 HAL_CFLAGS
1749 HAL_LIBS
1750 GNUTLS_CFLAGS
1751 GNUTLS_LIBS
1752 SANE_CFLAGS
1753 SANE_LIBS
1754 GPHOTO2_CFLAGS
1755 GPHOTO2_LIBS
1756 GPHOTO2_PORT_CFLAGS
1757 GPHOTO2_PORT_LIBS
1758 LCMS2_CFLAGS
1759 LCMS2_LIBS
1760 FREETYPE_CFLAGS
1761 FREETYPE_LIBS
1762 PULSE_CFLAGS
1763 PULSE_LIBS
1764 GSTREAMER_CFLAGS
1765 GSTREAMER_LIBS
1766 UDEV_CFLAGS
1767 UDEV_LIBS
1768 SDL2_CFLAGS
1769 SDL2_LIBS
1770 CAPI20_CFLAGS
1771 CAPI20_LIBS
1772 CUPS_CFLAGS
1773 CUPS_LIBS
1774 FONTCONFIG_CFLAGS
1775 FONTCONFIG_LIBS
1776 KRB5_CFLAGS
1777 KRB5_LIBS
1778 GSSAPI_CFLAGS
1779 GSSAPI_LIBS
1780 JPEG_CFLAGS
1781 JPEG_LIBS
1782 PNG_CFLAGS
1783 PNG_LIBS
1784 TIFF_CFLAGS
1785 TIFF_LIBS
1786 MPG123_CFLAGS
1787 MPG123_LIBS
1788 NETAPI_CFLAGS
1789 NETAPI_LIBS
1790 LDAP_CFLAGS
1791 LDAP_LIBS'
1794 # Initialize some variables set by options.
1795 ac_init_help=
1796 ac_init_version=false
1797 ac_unrecognized_opts=
1798 ac_unrecognized_sep=
1799 # The variables have the same names as the options, with
1800 # dashes changed to underlines.
1801 cache_file=/dev/null
1802 exec_prefix=NONE
1803 no_create=
1804 no_recursion=
1805 prefix=NONE
1806 program_prefix=NONE
1807 program_suffix=NONE
1808 program_transform_name=s,x,x,
1809 silent=
1810 site=
1811 srcdir=
1812 verbose=
1813 x_includes=NONE
1814 x_libraries=NONE
1816 # Installation directory options.
1817 # These are left unexpanded so users can "make install exec_prefix=/foo"
1818 # and all the variables that are supposed to be based on exec_prefix
1819 # by default will actually change.
1820 # Use braces instead of parens because sh, perl, etc. also accept them.
1821 # (The list follows the same order as the GNU Coding Standards.)
1822 bindir='${exec_prefix}/bin'
1823 sbindir='${exec_prefix}/sbin'
1824 libexecdir='${exec_prefix}/libexec'
1825 datarootdir='${prefix}/share'
1826 datadir='${datarootdir}'
1827 sysconfdir='${prefix}/etc'
1828 sharedstatedir='${prefix}/com'
1829 localstatedir='${prefix}/var'
1830 runstatedir='${localstatedir}/run'
1831 includedir='${prefix}/include'
1832 oldincludedir='/usr/include'
1833 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1834 infodir='${datarootdir}/info'
1835 htmldir='${docdir}'
1836 dvidir='${docdir}'
1837 pdfdir='${docdir}'
1838 psdir='${docdir}'
1839 libdir='${exec_prefix}/lib'
1840 localedir='${datarootdir}/locale'
1841 mandir='${datarootdir}/man'
1843 ac_prev=
1844 ac_dashdash=
1845 for ac_option
1847 # If the previous option needs an argument, assign it.
1848 if test -n "$ac_prev"; then
1849 eval $ac_prev=\$ac_option
1850 ac_prev=
1851 continue
1854 case $ac_option in
1855 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1856 *=) ac_optarg= ;;
1857 *) ac_optarg=yes ;;
1858 esac
1860 # Accept the important Cygnus configure options, so we can diagnose typos.
1862 case $ac_dashdash$ac_option in
1864 ac_dashdash=yes ;;
1866 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1867 ac_prev=bindir ;;
1868 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1869 bindir=$ac_optarg ;;
1871 -build | --build | --buil | --bui | --bu)
1872 ac_prev=build_alias ;;
1873 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1874 build_alias=$ac_optarg ;;
1876 -cache-file | --cache-file | --cache-fil | --cache-fi \
1877 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1878 ac_prev=cache_file ;;
1879 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1880 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1881 cache_file=$ac_optarg ;;
1883 --config-cache | -C)
1884 cache_file=config.cache ;;
1886 -datadir | --datadir | --datadi | --datad)
1887 ac_prev=datadir ;;
1888 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1889 datadir=$ac_optarg ;;
1891 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1892 | --dataroo | --dataro | --datar)
1893 ac_prev=datarootdir ;;
1894 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1895 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1896 datarootdir=$ac_optarg ;;
1898 -disable-* | --disable-*)
1899 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1900 # Reject names that are not valid shell variable names.
1901 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1902 as_fn_error $? "invalid feature name: $ac_useropt"
1903 ac_useropt_orig=$ac_useropt
1904 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1905 case $ac_user_opts in
1907 "enable_$ac_useropt"
1908 "*) ;;
1909 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1910 ac_unrecognized_sep=', ';;
1911 esac
1912 eval enable_$ac_useropt=no ;;
1914 -docdir | --docdir | --docdi | --doc | --do)
1915 ac_prev=docdir ;;
1916 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1917 docdir=$ac_optarg ;;
1919 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1920 ac_prev=dvidir ;;
1921 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1922 dvidir=$ac_optarg ;;
1924 -enable-* | --enable-*)
1925 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1926 # Reject names that are not valid shell variable names.
1927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1928 as_fn_error $? "invalid feature name: $ac_useropt"
1929 ac_useropt_orig=$ac_useropt
1930 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1931 case $ac_user_opts in
1933 "enable_$ac_useropt"
1934 "*) ;;
1935 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1936 ac_unrecognized_sep=', ';;
1937 esac
1938 eval enable_$ac_useropt=\$ac_optarg ;;
1940 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1941 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1942 | --exec | --exe | --ex)
1943 ac_prev=exec_prefix ;;
1944 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1945 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1946 | --exec=* | --exe=* | --ex=*)
1947 exec_prefix=$ac_optarg ;;
1949 -gas | --gas | --ga | --g)
1950 # Obsolete; use --with-gas.
1951 with_gas=yes ;;
1953 -help | --help | --hel | --he | -h)
1954 ac_init_help=long ;;
1955 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1956 ac_init_help=recursive ;;
1957 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1958 ac_init_help=short ;;
1960 -host | --host | --hos | --ho)
1961 ac_prev=host_alias ;;
1962 -host=* | --host=* | --hos=* | --ho=*)
1963 host_alias=$ac_optarg ;;
1965 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1966 ac_prev=htmldir ;;
1967 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1968 | --ht=*)
1969 htmldir=$ac_optarg ;;
1971 -includedir | --includedir | --includedi | --included | --include \
1972 | --includ | --inclu | --incl | --inc)
1973 ac_prev=includedir ;;
1974 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1975 | --includ=* | --inclu=* | --incl=* | --inc=*)
1976 includedir=$ac_optarg ;;
1978 -infodir | --infodir | --infodi | --infod | --info | --inf)
1979 ac_prev=infodir ;;
1980 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1981 infodir=$ac_optarg ;;
1983 -libdir | --libdir | --libdi | --libd)
1984 ac_prev=libdir ;;
1985 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1986 libdir=$ac_optarg ;;
1988 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1989 | --libexe | --libex | --libe)
1990 ac_prev=libexecdir ;;
1991 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1992 | --libexe=* | --libex=* | --libe=*)
1993 libexecdir=$ac_optarg ;;
1995 -localedir | --localedir | --localedi | --localed | --locale)
1996 ac_prev=localedir ;;
1997 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1998 localedir=$ac_optarg ;;
2000 -localstatedir | --localstatedir | --localstatedi | --localstated \
2001 | --localstate | --localstat | --localsta | --localst | --locals)
2002 ac_prev=localstatedir ;;
2003 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2004 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2005 localstatedir=$ac_optarg ;;
2007 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2008 ac_prev=mandir ;;
2009 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2010 mandir=$ac_optarg ;;
2012 -nfp | --nfp | --nf)
2013 # Obsolete; use --without-fp.
2014 with_fp=no ;;
2016 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2017 | --no-cr | --no-c | -n)
2018 no_create=yes ;;
2020 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2021 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2022 no_recursion=yes ;;
2024 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2025 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2026 | --oldin | --oldi | --old | --ol | --o)
2027 ac_prev=oldincludedir ;;
2028 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2029 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2030 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2031 oldincludedir=$ac_optarg ;;
2033 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2034 ac_prev=prefix ;;
2035 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2036 prefix=$ac_optarg ;;
2038 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2039 | --program-pre | --program-pr | --program-p)
2040 ac_prev=program_prefix ;;
2041 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2042 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2043 program_prefix=$ac_optarg ;;
2045 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2046 | --program-suf | --program-su | --program-s)
2047 ac_prev=program_suffix ;;
2048 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2049 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2050 program_suffix=$ac_optarg ;;
2052 -program-transform-name | --program-transform-name \
2053 | --program-transform-nam | --program-transform-na \
2054 | --program-transform-n | --program-transform- \
2055 | --program-transform | --program-transfor \
2056 | --program-transfo | --program-transf \
2057 | --program-trans | --program-tran \
2058 | --progr-tra | --program-tr | --program-t)
2059 ac_prev=program_transform_name ;;
2060 -program-transform-name=* | --program-transform-name=* \
2061 | --program-transform-nam=* | --program-transform-na=* \
2062 | --program-transform-n=* | --program-transform-=* \
2063 | --program-transform=* | --program-transfor=* \
2064 | --program-transfo=* | --program-transf=* \
2065 | --program-trans=* | --program-tran=* \
2066 | --progr-tra=* | --program-tr=* | --program-t=*)
2067 program_transform_name=$ac_optarg ;;
2069 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2070 ac_prev=pdfdir ;;
2071 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2072 pdfdir=$ac_optarg ;;
2074 -psdir | --psdir | --psdi | --psd | --ps)
2075 ac_prev=psdir ;;
2076 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2077 psdir=$ac_optarg ;;
2079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2080 | -silent | --silent | --silen | --sile | --sil)
2081 silent=yes ;;
2083 -runstatedir | --runstatedir | --runstatedi | --runstated \
2084 | --runstate | --runstat | --runsta | --runst | --runs \
2085 | --run | --ru | --r)
2086 ac_prev=runstatedir ;;
2087 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2088 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2089 | --run=* | --ru=* | --r=*)
2090 runstatedir=$ac_optarg ;;
2092 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2093 ac_prev=sbindir ;;
2094 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2095 | --sbi=* | --sb=*)
2096 sbindir=$ac_optarg ;;
2098 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2099 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2100 | --sharedst | --shareds | --shared | --share | --shar \
2101 | --sha | --sh)
2102 ac_prev=sharedstatedir ;;
2103 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2104 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2105 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2106 | --sha=* | --sh=*)
2107 sharedstatedir=$ac_optarg ;;
2109 -site | --site | --sit)
2110 ac_prev=site ;;
2111 -site=* | --site=* | --sit=*)
2112 site=$ac_optarg ;;
2114 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2115 ac_prev=srcdir ;;
2116 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2117 srcdir=$ac_optarg ;;
2119 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2120 | --syscon | --sysco | --sysc | --sys | --sy)
2121 ac_prev=sysconfdir ;;
2122 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2123 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2124 sysconfdir=$ac_optarg ;;
2126 -target | --target | --targe | --targ | --tar | --ta | --t)
2127 ac_prev=target_alias ;;
2128 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2129 target_alias=$ac_optarg ;;
2131 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2132 verbose=yes ;;
2134 -version | --version | --versio | --versi | --vers | -V)
2135 ac_init_version=: ;;
2137 -with-* | --with-*)
2138 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2139 # Reject names that are not valid shell variable names.
2140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2141 as_fn_error $? "invalid package name: $ac_useropt"
2142 ac_useropt_orig=$ac_useropt
2143 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2144 case $ac_user_opts in
2146 "with_$ac_useropt"
2147 "*) ;;
2148 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2149 ac_unrecognized_sep=', ';;
2150 esac
2151 eval with_$ac_useropt=\$ac_optarg ;;
2153 -without-* | --without-*)
2154 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2155 # Reject names that are not valid shell variable names.
2156 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2157 as_fn_error $? "invalid package name: $ac_useropt"
2158 ac_useropt_orig=$ac_useropt
2159 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2160 case $ac_user_opts in
2162 "with_$ac_useropt"
2163 "*) ;;
2164 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2165 ac_unrecognized_sep=', ';;
2166 esac
2167 eval with_$ac_useropt=no ;;
2169 --x)
2170 # Obsolete; use --with-x.
2171 with_x=yes ;;
2173 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2174 | --x-incl | --x-inc | --x-in | --x-i)
2175 ac_prev=x_includes ;;
2176 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2177 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2178 x_includes=$ac_optarg ;;
2180 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2181 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2182 ac_prev=x_libraries ;;
2183 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2184 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2185 x_libraries=$ac_optarg ;;
2187 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2188 Try \`$0 --help' for more information"
2191 *=*)
2192 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2193 # Reject names that are not valid shell variable names.
2194 case $ac_envvar in #(
2195 '' | [0-9]* | *[!_$as_cr_alnum]* )
2196 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2197 esac
2198 eval $ac_envvar=\$ac_optarg
2199 export $ac_envvar ;;
2202 # FIXME: should be removed in autoconf 3.0.
2203 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2204 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2205 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2206 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2209 esac
2210 done
2212 if test -n "$ac_prev"; then
2213 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2214 as_fn_error $? "missing argument to $ac_option"
2217 if test -n "$ac_unrecognized_opts"; then
2218 case $enable_option_checking in
2219 no) ;;
2220 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2221 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2222 esac
2225 # Check all directory arguments for consistency.
2226 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2227 datadir sysconfdir sharedstatedir localstatedir includedir \
2228 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2229 libdir localedir mandir runstatedir
2231 eval ac_val=\$$ac_var
2232 # Remove trailing slashes.
2233 case $ac_val in
2234 */ )
2235 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2236 eval $ac_var=\$ac_val;;
2237 esac
2238 # Be sure to have absolute directory names.
2239 case $ac_val in
2240 [\\/$]* | ?:[\\/]* ) continue;;
2241 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2242 esac
2243 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2244 done
2246 # There might be people who depend on the old broken behavior: `$host'
2247 # used to hold the argument of --host etc.
2248 # FIXME: To remove some day.
2249 build=$build_alias
2250 host=$host_alias
2251 target=$target_alias
2253 # FIXME: To remove some day.
2254 if test "x$host_alias" != x; then
2255 if test "x$build_alias" = x; then
2256 cross_compiling=maybe
2257 elif test "x$build_alias" != "x$host_alias"; then
2258 cross_compiling=yes
2262 ac_tool_prefix=
2263 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2265 test "$silent" = yes && exec 6>/dev/null
2268 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2269 ac_ls_di=`ls -di .` &&
2270 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2271 as_fn_error $? "working directory cannot be determined"
2272 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2273 as_fn_error $? "pwd does not report name of working directory"
2276 # Find the source files, if location was not specified.
2277 if test -z "$srcdir"; then
2278 ac_srcdir_defaulted=yes
2279 # Try the directory containing this script, then the parent directory.
2280 ac_confdir=`$as_dirname -- "$as_myself" ||
2281 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2282 X"$as_myself" : 'X\(//\)[^/]' \| \
2283 X"$as_myself" : 'X\(//\)$' \| \
2284 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2285 $as_echo X"$as_myself" |
2286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2287 s//\1/
2290 /^X\(\/\/\)[^/].*/{
2291 s//\1/
2294 /^X\(\/\/\)$/{
2295 s//\1/
2298 /^X\(\/\).*/{
2299 s//\1/
2302 s/.*/./; q'`
2303 srcdir=$ac_confdir
2304 if test ! -r "$srcdir/$ac_unique_file"; then
2305 srcdir=..
2307 else
2308 ac_srcdir_defaulted=no
2310 if test ! -r "$srcdir/$ac_unique_file"; then
2311 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2312 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2314 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2315 ac_abs_confdir=`(
2316 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2317 pwd)`
2318 # When building in place, set srcdir=.
2319 if test "$ac_abs_confdir" = "$ac_pwd"; then
2320 srcdir=.
2322 # Remove unnecessary trailing slashes from srcdir.
2323 # Double slashes in file names in object file debugging info
2324 # mess up M-x gdb in Emacs.
2325 case $srcdir in
2326 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2327 esac
2328 for ac_var in $ac_precious_vars; do
2329 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2330 eval ac_env_${ac_var}_value=\$${ac_var}
2331 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2332 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2333 done
2336 # Report the --help message.
2338 if test "$ac_init_help" = "long"; then
2339 # Omit some internal or obsolete options to make the list less imposing.
2340 # This message is too long to be a string in the A/UX 3.1 sh.
2341 cat <<_ACEOF
2342 \`configure' configures Wine 3.3 to adapt to many kinds of systems.
2344 Usage: $0 [OPTION]... [VAR=VALUE]...
2346 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2347 VAR=VALUE. See below for descriptions of some of the useful variables.
2349 Defaults for the options are specified in brackets.
2351 Configuration:
2352 -h, --help display this help and exit
2353 --help=short display options specific to this package
2354 --help=recursive display the short help of all the included packages
2355 -V, --version display version information and exit
2356 -q, --quiet, --silent do not print \`checking ...' messages
2357 --cache-file=FILE cache test results in FILE [disabled]
2358 -C, --config-cache alias for \`--cache-file=config.cache'
2359 -n, --no-create do not create output files
2360 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2362 Installation directories:
2363 --prefix=PREFIX install architecture-independent files in PREFIX
2364 [$ac_default_prefix]
2365 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2366 [PREFIX]
2368 By default, \`make install' will install all the files in
2369 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2370 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2371 for instance \`--prefix=\$HOME'.
2373 For better control, use the options below.
2375 Fine tuning of the installation directories:
2376 --bindir=DIR user executables [EPREFIX/bin]
2377 --sbindir=DIR system admin executables [EPREFIX/sbin]
2378 --libexecdir=DIR program executables [EPREFIX/libexec]
2379 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2380 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2381 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2382 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2383 --libdir=DIR object code libraries [EPREFIX/lib]
2384 --includedir=DIR C header files [PREFIX/include]
2385 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2386 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2387 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2388 --infodir=DIR info documentation [DATAROOTDIR/info]
2389 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2390 --mandir=DIR man documentation [DATAROOTDIR/man]
2391 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2392 --htmldir=DIR html documentation [DOCDIR]
2393 --dvidir=DIR dvi documentation [DOCDIR]
2394 --pdfdir=DIR pdf documentation [DOCDIR]
2395 --psdir=DIR ps documentation [DOCDIR]
2396 _ACEOF
2398 cat <<\_ACEOF
2400 X features:
2401 --x-includes=DIR X include files are in DIR
2402 --x-libraries=DIR X library files are in DIR
2404 System types:
2405 --build=BUILD configure for building on BUILD [guessed]
2406 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2407 _ACEOF
2410 if test -n "$ac_init_help"; then
2411 case $ac_init_help in
2412 short | recursive ) echo "Configuration of Wine 3.3:";;
2413 esac
2414 cat <<\_ACEOF
2416 Optional Features:
2417 --disable-option-checking ignore unrecognized --enable/--with options
2418 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2419 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2420 --disable-win16 do not include Win16 support
2421 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2422 binaries)
2423 --disable-tests do not build the regression tests
2424 --enable-maintainer-mode
2425 enable maintainer-specific build rules
2426 --disable-largefile omit support for large files
2428 Optional Packages:
2429 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2430 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2431 --without-alsa do not use the Alsa sound support
2432 --without-capi do not use CAPI (ISDN support)
2433 --without-cms do not use CMS (color management support)
2434 --without-coreaudio do not use the CoreAudio sound support
2435 --without-cups do not use CUPS
2436 --without-curses do not use (n)curses
2437 --without-dbus do not use DBus (dynamic device support)
2438 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2439 --without-fontconfig do not use fontconfig
2440 --without-freetype do not use the FreeType library
2441 --without-gettext do not use gettext
2442 --with-gettextpo use the GetTextPO library to rebuild po files
2443 --without-gphoto do not use gphoto (Digital Camera support)
2444 --without-glu do not use the GLU library
2445 --without-gnutls do not use GnuTLS (schannel support)
2446 --without-gsm do not use libgsm (GSM 06.10 codec support)
2447 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2448 --without-gstreamer do not use GStreamer (codecs support)
2449 --without-hal do not use HAL (dynamic device support)
2450 --without-jpeg do not use JPEG
2451 --without-krb5 do not use krb5 (Kerberos)
2452 --without-ldap do not use LDAP
2453 --without-mpg123 do not use the mpg123 library
2454 --without-netapi do not use the Samba NetAPI library
2455 --without-openal do not use OpenAL
2456 --without-opencl do not use OpenCL
2457 --without-opengl do not use OpenGL
2458 --without-osmesa do not use the OSMesa library
2459 --without-oss do not use the OSS sound support
2460 --without-pcap do not use the Packet Capture library
2461 --without-png do not use PNG
2462 --without-pthread do not use the pthread library
2463 --without-pulse do not use PulseAudio sound support
2464 --without-sane do not use SANE (scanner support)
2465 --without-sdl do not use SDL
2466 --without-tiff do not use TIFF
2467 --without-udev do not use udev (plug and play support)
2468 --without-v4l do not use v4l1 (v4l support)
2469 --without-vulkan do not use Vulkan
2470 --without-xcomposite do not use the Xcomposite extension
2471 --without-xcursor do not use the Xcursor extension
2472 --without-xfixes do not use Xfixes for clipboard change notifications
2473 --without-xinerama do not use Xinerama (multi-monitor support)
2474 --without-xinput do not use the Xinput extension
2475 --without-xinput2 do not use the Xinput 2 extension
2476 --without-xml do not use XML
2477 --without-xrandr do not use Xrandr (resolution changes)
2478 --without-xrender do not use the Xrender extension
2479 --without-xshape do not use the Xshape extension
2480 --without-xshm do not use XShm (shared memory extension)
2481 --without-xslt do not use XSLT
2482 --without-xxf86vm do not use XFree video mode extension
2483 --without-zlib do not use Zlib (data compression)
2484 --with-wine-tools=DIR use Wine tools from directory DIR
2485 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2486 --with-x use the X Window System
2488 Some influential environment variables:
2489 CC C compiler command
2490 CFLAGS C compiler flags
2491 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2492 nonstandard directory <lib dir>
2493 LIBS libraries to pass to the linker, e.g. -l<library>
2494 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2495 you have headers in a nonstandard directory <include dir>
2496 CXX C++ compiler command
2497 CXXFLAGS C++ compiler flags
2498 CPP C preprocessor
2499 XMKMF Path to xmkmf, Makefile generator for X Window System
2500 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2501 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2502 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2503 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2504 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2505 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2506 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2507 HAL_LIBS Linker flags for hal, overriding pkg-config
2508 GNUTLS_CFLAGS
2509 C compiler flags for gnutls, overriding pkg-config
2510 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2511 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2512 SANE_LIBS Linker flags for libsane, overriding pkg-config
2513 GPHOTO2_CFLAGS
2514 C compiler flags for libgphoto2, overriding pkg-config
2515 GPHOTO2_LIBS
2516 Linker flags for libgphoto2, overriding pkg-config
2517 GPHOTO2_PORT_CFLAGS
2518 C compiler flags for libgphoto2_port, overriding pkg-config
2519 GPHOTO2_PORT_LIBS
2520 Linker flags for libgphoto2_port, overriding pkg-config
2521 LCMS2_CFLAGS
2522 C compiler flags for lcms2, overriding pkg-config
2523 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2524 FREETYPE_CFLAGS
2525 C compiler flags for freetype2, overriding pkg-config
2526 FREETYPE_LIBS
2527 Linker flags for freetype2, overriding pkg-config
2528 PULSE_CFLAGS
2529 C compiler flags for libpulse, overriding pkg-config
2530 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2531 GSTREAMER_CFLAGS
2532 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2533 gstreamer-audio-1.0, overriding pkg-config
2534 GSTREAMER_LIBS
2535 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2536 gstreamer-audio-1.0, overriding pkg-config
2537 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2538 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2539 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2540 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2541 CAPI20_CFLAGS
2542 C compiler flags for capi20, overriding pkg-config
2543 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2544 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2545 CUPS_LIBS Linker flags for cups, overriding pkg-config
2546 FONTCONFIG_CFLAGS
2547 C compiler flags for fontconfig, overriding pkg-config
2548 FONTCONFIG_LIBS
2549 Linker flags for fontconfig, overriding pkg-config
2550 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2551 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2552 GSSAPI_CFLAGS
2553 C compiler flags for krb5-gssapi, overriding pkg-config
2554 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2555 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2556 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2557 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2558 PNG_LIBS Linker flags for libpng, overriding pkg-config
2559 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2560 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2561 MPG123_CFLAGS
2562 C compiler flags for libmpg123, overriding pkg-config
2563 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2564 NETAPI_CFLAGS
2565 C compiler flags for netapi, overriding pkg-config
2566 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2567 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2568 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2570 Use these variables to override the choices made by `configure' or to help
2571 it to find libraries and programs with nonstandard names/locations.
2573 Report bugs to <wine-devel@winehq.org>.
2574 Wine home page: <https://www.winehq.org>.
2575 _ACEOF
2576 ac_status=$?
2579 if test "$ac_init_help" = "recursive"; then
2580 # If there are subdirs, report their specific --help.
2581 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2582 test -d "$ac_dir" ||
2583 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2584 continue
2585 ac_builddir=.
2587 case "$ac_dir" in
2588 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2590 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2591 # A ".." for each directory in $ac_dir_suffix.
2592 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2593 case $ac_top_builddir_sub in
2594 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2595 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2596 esac ;;
2597 esac
2598 ac_abs_top_builddir=$ac_pwd
2599 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2600 # for backward compatibility:
2601 ac_top_builddir=$ac_top_build_prefix
2603 case $srcdir in
2604 .) # We are building in place.
2605 ac_srcdir=.
2606 ac_top_srcdir=$ac_top_builddir_sub
2607 ac_abs_top_srcdir=$ac_pwd ;;
2608 [\\/]* | ?:[\\/]* ) # Absolute name.
2609 ac_srcdir=$srcdir$ac_dir_suffix;
2610 ac_top_srcdir=$srcdir
2611 ac_abs_top_srcdir=$srcdir ;;
2612 *) # Relative name.
2613 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2614 ac_top_srcdir=$ac_top_build_prefix$srcdir
2615 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2616 esac
2617 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2619 cd "$ac_dir" || { ac_status=$?; continue; }
2620 # Check for guested configure.
2621 if test -f "$ac_srcdir/configure.gnu"; then
2622 echo &&
2623 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2624 elif test -f "$ac_srcdir/configure"; then
2625 echo &&
2626 $SHELL "$ac_srcdir/configure" --help=recursive
2627 else
2628 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2629 fi || ac_status=$?
2630 cd "$ac_pwd" || { ac_status=$?; break; }
2631 done
2634 test -n "$ac_init_help" && exit $ac_status
2635 if $ac_init_version; then
2636 cat <<\_ACEOF
2637 Wine configure 3.3
2638 generated by GNU Autoconf 2.69
2640 Copyright (C) 2012 Free Software Foundation, Inc.
2641 This configure script is free software; the Free Software Foundation
2642 gives unlimited permission to copy, distribute and modify it.
2643 _ACEOF
2644 exit
2647 ## ------------------------ ##
2648 ## Autoconf initialization. ##
2649 ## ------------------------ ##
2651 # ac_fn_c_try_compile LINENO
2652 # --------------------------
2653 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2654 ac_fn_c_try_compile ()
2656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2657 rm -f conftest.$ac_objext
2658 if { { ac_try="$ac_compile"
2659 case "(($ac_try" in
2660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2661 *) ac_try_echo=$ac_try;;
2662 esac
2663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2664 $as_echo "$ac_try_echo"; } >&5
2665 (eval "$ac_compile") 2>conftest.err
2666 ac_status=$?
2667 if test -s conftest.err; then
2668 grep -v '^ *+' conftest.err >conftest.er1
2669 cat conftest.er1 >&5
2670 mv -f conftest.er1 conftest.err
2672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2673 test $ac_status = 0; } && {
2674 test -z "$ac_c_werror_flag" ||
2675 test ! -s conftest.err
2676 } && test -s conftest.$ac_objext; then :
2677 ac_retval=0
2678 else
2679 $as_echo "$as_me: failed program was:" >&5
2680 sed 's/^/| /' conftest.$ac_ext >&5
2682 ac_retval=1
2684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2685 as_fn_set_status $ac_retval
2687 } # ac_fn_c_try_compile
2689 # ac_fn_cxx_try_compile LINENO
2690 # ----------------------------
2691 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2692 ac_fn_cxx_try_compile ()
2694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2695 rm -f conftest.$ac_objext
2696 if { { ac_try="$ac_compile"
2697 case "(($ac_try" in
2698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2699 *) ac_try_echo=$ac_try;;
2700 esac
2701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2702 $as_echo "$ac_try_echo"; } >&5
2703 (eval "$ac_compile") 2>conftest.err
2704 ac_status=$?
2705 if test -s conftest.err; then
2706 grep -v '^ *+' conftest.err >conftest.er1
2707 cat conftest.er1 >&5
2708 mv -f conftest.er1 conftest.err
2710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2711 test $ac_status = 0; } && {
2712 test -z "$ac_cxx_werror_flag" ||
2713 test ! -s conftest.err
2714 } && test -s conftest.$ac_objext; then :
2715 ac_retval=0
2716 else
2717 $as_echo "$as_me: failed program was:" >&5
2718 sed 's/^/| /' conftest.$ac_ext >&5
2720 ac_retval=1
2722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2723 as_fn_set_status $ac_retval
2725 } # ac_fn_cxx_try_compile
2727 # ac_fn_c_try_link LINENO
2728 # -----------------------
2729 # Try to link conftest.$ac_ext, and return whether this succeeded.
2730 ac_fn_c_try_link ()
2732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2733 rm -f conftest.$ac_objext conftest$ac_exeext
2734 if { { ac_try="$ac_link"
2735 case "(($ac_try" in
2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2738 esac
2739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2740 $as_echo "$ac_try_echo"; } >&5
2741 (eval "$ac_link") 2>conftest.err
2742 ac_status=$?
2743 if test -s conftest.err; then
2744 grep -v '^ *+' conftest.err >conftest.er1
2745 cat conftest.er1 >&5
2746 mv -f conftest.er1 conftest.err
2748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2749 test $ac_status = 0; } && {
2750 test -z "$ac_c_werror_flag" ||
2751 test ! -s conftest.err
2752 } && test -s conftest$ac_exeext && {
2753 test "$cross_compiling" = yes ||
2754 test -x conftest$ac_exeext
2755 }; then :
2756 ac_retval=0
2757 else
2758 $as_echo "$as_me: failed program was:" >&5
2759 sed 's/^/| /' conftest.$ac_ext >&5
2761 ac_retval=1
2763 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2764 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2765 # interfere with the next link command; also delete a directory that is
2766 # left behind by Apple's compiler. We do this before executing the actions.
2767 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2769 as_fn_set_status $ac_retval
2771 } # ac_fn_c_try_link
2773 # ac_fn_c_try_cpp LINENO
2774 # ----------------------
2775 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2776 ac_fn_c_try_cpp ()
2778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2779 if { { ac_try="$ac_cpp conftest.$ac_ext"
2780 case "(($ac_try" in
2781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2782 *) ac_try_echo=$ac_try;;
2783 esac
2784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2785 $as_echo "$ac_try_echo"; } >&5
2786 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2787 ac_status=$?
2788 if test -s conftest.err; then
2789 grep -v '^ *+' conftest.err >conftest.er1
2790 cat conftest.er1 >&5
2791 mv -f conftest.er1 conftest.err
2793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2794 test $ac_status = 0; } > conftest.i && {
2795 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2796 test ! -s conftest.err
2797 }; then :
2798 ac_retval=0
2799 else
2800 $as_echo "$as_me: failed program was:" >&5
2801 sed 's/^/| /' conftest.$ac_ext >&5
2803 ac_retval=1
2805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2806 as_fn_set_status $ac_retval
2808 } # ac_fn_c_try_cpp
2810 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2811 # -------------------------------------------------------
2812 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2813 # the include files in INCLUDES and setting the cache variable VAR
2814 # accordingly.
2815 ac_fn_c_check_header_mongrel ()
2817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2818 if eval \${$3+:} false; then :
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2820 $as_echo_n "checking for $2... " >&6; }
2821 if eval \${$3+:} false; then :
2822 $as_echo_n "(cached) " >&6
2824 eval ac_res=\$$3
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2826 $as_echo "$ac_res" >&6; }
2827 else
2828 # Is the header compilable?
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2830 $as_echo_n "checking $2 usability... " >&6; }
2831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2832 /* end confdefs.h. */
2834 #include <$2>
2835 _ACEOF
2836 if ac_fn_c_try_compile "$LINENO"; then :
2837 ac_header_compiler=yes
2838 else
2839 ac_header_compiler=no
2841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2843 $as_echo "$ac_header_compiler" >&6; }
2845 # Is the header present?
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2847 $as_echo_n "checking $2 presence... " >&6; }
2848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2849 /* end confdefs.h. */
2850 #include <$2>
2851 _ACEOF
2852 if ac_fn_c_try_cpp "$LINENO"; then :
2853 ac_header_preproc=yes
2854 else
2855 ac_header_preproc=no
2857 rm -f conftest.err conftest.i conftest.$ac_ext
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2859 $as_echo "$ac_header_preproc" >&6; }
2861 # So? What about this header?
2862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2863 yes:no: )
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2865 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2867 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2869 no:yes:* )
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2871 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2873 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2875 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2877 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2879 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2880 ( $as_echo "## ------------------------------------ ##
2881 ## Report this to wine-devel@winehq.org ##
2882 ## ------------------------------------ ##"
2883 ) | sed "s/^/$as_me: WARNING: /" >&2
2885 esac
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2887 $as_echo_n "checking for $2... " >&6; }
2888 if eval \${$3+:} false; then :
2889 $as_echo_n "(cached) " >&6
2890 else
2891 eval "$3=\$ac_header_compiler"
2893 eval ac_res=\$$3
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2895 $as_echo "$ac_res" >&6; }
2897 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2899 } # ac_fn_c_check_header_mongrel
2901 # ac_fn_c_try_run LINENO
2902 # ----------------------
2903 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2904 # that executables *can* be run.
2905 ac_fn_c_try_run ()
2907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2908 if { { ac_try="$ac_link"
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_link") 2>&5
2916 ac_status=$?
2917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2918 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2919 { { case "(($ac_try" in
2920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2921 *) ac_try_echo=$ac_try;;
2922 esac
2923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2924 $as_echo "$ac_try_echo"; } >&5
2925 (eval "$ac_try") 2>&5
2926 ac_status=$?
2927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2928 test $ac_status = 0; }; }; then :
2929 ac_retval=0
2930 else
2931 $as_echo "$as_me: program exited with status $ac_status" >&5
2932 $as_echo "$as_me: failed program was:" >&5
2933 sed 's/^/| /' conftest.$ac_ext >&5
2935 ac_retval=$ac_status
2937 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2939 as_fn_set_status $ac_retval
2941 } # ac_fn_c_try_run
2943 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2944 # -------------------------------------------------------
2945 # Tests whether HEADER exists and can be compiled using the include files in
2946 # INCLUDES, setting the cache variable VAR accordingly.
2947 ac_fn_c_check_header_compile ()
2949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2951 $as_echo_n "checking for $2... " >&6; }
2952 if eval \${$3+:} false; then :
2953 $as_echo_n "(cached) " >&6
2954 else
2955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2956 /* end confdefs.h. */
2958 #include <$2>
2959 _ACEOF
2960 if ac_fn_c_try_compile "$LINENO"; then :
2961 eval "$3=yes"
2962 else
2963 eval "$3=no"
2965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2967 eval ac_res=\$$3
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2969 $as_echo "$ac_res" >&6; }
2970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2972 } # ac_fn_c_check_header_compile
2974 # ac_fn_c_check_func LINENO FUNC VAR
2975 # ----------------------------------
2976 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2977 ac_fn_c_check_func ()
2979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2981 $as_echo_n "checking for $2... " >&6; }
2982 if eval \${$3+:} false; then :
2983 $as_echo_n "(cached) " >&6
2984 else
2985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2986 /* end confdefs.h. */
2987 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2989 #define $2 innocuous_$2
2991 /* System header to define __stub macros and hopefully few prototypes,
2992 which can conflict with char $2 (); below.
2993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2994 <limits.h> exists even on freestanding compilers. */
2996 #ifdef __STDC__
2997 # include <limits.h>
2998 #else
2999 # include <assert.h>
3000 #endif
3002 #undef $2
3004 /* Override any GCC internal prototype to avoid an error.
3005 Use char because int might match the return type of a GCC
3006 builtin and then its argument prototype would still apply. */
3007 #ifdef __cplusplus
3008 extern "C"
3009 #endif
3010 char $2 ();
3011 /* The GNU C library defines this for functions which it implements
3012 to always fail with ENOSYS. Some functions are actually named
3013 something starting with __ and the normal name is an alias. */
3014 #if defined __stub_$2 || defined __stub___$2
3015 choke me
3016 #endif
3019 main ()
3021 return $2 ();
3023 return 0;
3025 _ACEOF
3026 if ac_fn_c_try_link "$LINENO"; then :
3027 eval "$3=yes"
3028 else
3029 eval "$3=no"
3031 rm -f core conftest.err conftest.$ac_objext \
3032 conftest$ac_exeext conftest.$ac_ext
3034 eval ac_res=\$$3
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3036 $as_echo "$ac_res" >&6; }
3037 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3039 } # ac_fn_c_check_func
3041 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3042 # ----------------------------------------------------
3043 # Tries to find if the field MEMBER exists in type AGGR, after including
3044 # INCLUDES, setting cache variable VAR accordingly.
3045 ac_fn_c_check_member ()
3047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3049 $as_echo_n "checking for $2.$3... " >&6; }
3050 if eval \${$4+:} false; then :
3051 $as_echo_n "(cached) " >&6
3052 else
3053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3054 /* end confdefs.h. */
3057 main ()
3059 static $2 ac_aggr;
3060 if (ac_aggr.$3)
3061 return 0;
3063 return 0;
3065 _ACEOF
3066 if ac_fn_c_try_compile "$LINENO"; then :
3067 eval "$4=yes"
3068 else
3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3073 main ()
3075 static $2 ac_aggr;
3076 if (sizeof ac_aggr.$3)
3077 return 0;
3079 return 0;
3081 _ACEOF
3082 if ac_fn_c_try_compile "$LINENO"; then :
3083 eval "$4=yes"
3084 else
3085 eval "$4=no"
3087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3091 eval ac_res=\$$4
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3093 $as_echo "$ac_res" >&6; }
3094 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3096 } # ac_fn_c_check_member
3098 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3099 # -------------------------------------------
3100 # Tests whether TYPE exists after having included INCLUDES, setting cache
3101 # variable VAR accordingly.
3102 ac_fn_c_check_type ()
3104 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3106 $as_echo_n "checking for $2... " >&6; }
3107 if eval \${$3+:} false; then :
3108 $as_echo_n "(cached) " >&6
3109 else
3110 eval "$3=no"
3111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3112 /* end confdefs.h. */
3115 main ()
3117 if (sizeof ($2))
3118 return 0;
3120 return 0;
3122 _ACEOF
3123 if ac_fn_c_try_compile "$LINENO"; then :
3124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3125 /* end confdefs.h. */
3128 main ()
3130 if (sizeof (($2)))
3131 return 0;
3133 return 0;
3135 _ACEOF
3136 if ac_fn_c_try_compile "$LINENO"; then :
3138 else
3139 eval "$3=yes"
3141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3145 eval ac_res=\$$3
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3147 $as_echo "$ac_res" >&6; }
3148 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3150 } # ac_fn_c_check_type
3151 cat >config.log <<_ACEOF
3152 This file contains any messages produced by compilers while
3153 running configure, to aid debugging if configure makes a mistake.
3155 It was created by Wine $as_me 3.3, which was
3156 generated by GNU Autoconf 2.69. Invocation command line was
3158 $ $0 $@
3160 _ACEOF
3161 exec 5>>config.log
3163 cat <<_ASUNAME
3164 ## --------- ##
3165 ## Platform. ##
3166 ## --------- ##
3168 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3169 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3170 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3171 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3172 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3174 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3175 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3177 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3178 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3179 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3180 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3181 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3182 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3183 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3185 _ASUNAME
3187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3188 for as_dir in $PATH
3190 IFS=$as_save_IFS
3191 test -z "$as_dir" && as_dir=.
3192 $as_echo "PATH: $as_dir"
3193 done
3194 IFS=$as_save_IFS
3196 } >&5
3198 cat >&5 <<_ACEOF
3201 ## ----------- ##
3202 ## Core tests. ##
3203 ## ----------- ##
3205 _ACEOF
3208 # Keep a trace of the command line.
3209 # Strip out --no-create and --no-recursion so they do not pile up.
3210 # Strip out --silent because we don't want to record it for future runs.
3211 # Also quote any args containing shell meta-characters.
3212 # Make two passes to allow for proper duplicate-argument suppression.
3213 ac_configure_args=
3214 ac_configure_args0=
3215 ac_configure_args1=
3216 ac_must_keep_next=false
3217 for ac_pass in 1 2
3219 for ac_arg
3221 case $ac_arg in
3222 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3223 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3224 | -silent | --silent | --silen | --sile | --sil)
3225 continue ;;
3226 *\'*)
3227 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3228 esac
3229 case $ac_pass in
3230 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3232 as_fn_append ac_configure_args1 " '$ac_arg'"
3233 if test $ac_must_keep_next = true; then
3234 ac_must_keep_next=false # Got value, back to normal.
3235 else
3236 case $ac_arg in
3237 *=* | --config-cache | -C | -disable-* | --disable-* \
3238 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3239 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3240 | -with-* | --with-* | -without-* | --without-* | --x)
3241 case "$ac_configure_args0 " in
3242 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3243 esac
3245 -* ) ac_must_keep_next=true ;;
3246 esac
3248 as_fn_append ac_configure_args " '$ac_arg'"
3250 esac
3251 done
3252 done
3253 { ac_configure_args0=; unset ac_configure_args0;}
3254 { ac_configure_args1=; unset ac_configure_args1;}
3256 # When interrupted or exit'd, cleanup temporary files, and complete
3257 # config.log. We remove comments because anyway the quotes in there
3258 # would cause problems or look ugly.
3259 # WARNING: Use '\'' to represent an apostrophe within the trap.
3260 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3261 trap 'exit_status=$?
3262 # Save into config.log some information that might help in debugging.
3264 echo
3266 $as_echo "## ---------------- ##
3267 ## Cache variables. ##
3268 ## ---------------- ##"
3269 echo
3270 # The following way of writing the cache mishandles newlines in values,
3272 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3273 eval ac_val=\$$ac_var
3274 case $ac_val in #(
3275 *${as_nl}*)
3276 case $ac_var in #(
3277 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3278 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3279 esac
3280 case $ac_var in #(
3281 _ | IFS | as_nl) ;; #(
3282 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3283 *) { eval $ac_var=; unset $ac_var;} ;;
3284 esac ;;
3285 esac
3286 done
3287 (set) 2>&1 |
3288 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3289 *${as_nl}ac_space=\ *)
3290 sed -n \
3291 "s/'\''/'\''\\\\'\'''\''/g;
3292 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3293 ;; #(
3295 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3297 esac |
3298 sort
3300 echo
3302 $as_echo "## ----------------- ##
3303 ## Output variables. ##
3304 ## ----------------- ##"
3305 echo
3306 for ac_var in $ac_subst_vars
3308 eval ac_val=\$$ac_var
3309 case $ac_val in
3310 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3311 esac
3312 $as_echo "$ac_var='\''$ac_val'\''"
3313 done | sort
3314 echo
3316 if test -n "$ac_subst_files"; then
3317 $as_echo "## ------------------- ##
3318 ## File substitutions. ##
3319 ## ------------------- ##"
3320 echo
3321 for ac_var in $ac_subst_files
3323 eval ac_val=\$$ac_var
3324 case $ac_val in
3325 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3326 esac
3327 $as_echo "$ac_var='\''$ac_val'\''"
3328 done | sort
3329 echo
3332 if test -s confdefs.h; then
3333 $as_echo "## ----------- ##
3334 ## confdefs.h. ##
3335 ## ----------- ##"
3336 echo
3337 cat confdefs.h
3338 echo
3340 test "$ac_signal" != 0 &&
3341 $as_echo "$as_me: caught signal $ac_signal"
3342 $as_echo "$as_me: exit $exit_status"
3343 } >&5
3344 rm -f core *.core core.conftest.* &&
3345 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3346 exit $exit_status
3348 for ac_signal in 1 2 13 15; do
3349 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3350 done
3351 ac_signal=0
3353 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3354 rm -f -r conftest* confdefs.h
3356 $as_echo "/* confdefs.h */" > confdefs.h
3358 # Predefined preprocessor variables.
3360 cat >>confdefs.h <<_ACEOF
3361 #define PACKAGE_NAME "$PACKAGE_NAME"
3362 _ACEOF
3364 cat >>confdefs.h <<_ACEOF
3365 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3366 _ACEOF
3368 cat >>confdefs.h <<_ACEOF
3369 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3370 _ACEOF
3372 cat >>confdefs.h <<_ACEOF
3373 #define PACKAGE_STRING "$PACKAGE_STRING"
3374 _ACEOF
3376 cat >>confdefs.h <<_ACEOF
3377 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3378 _ACEOF
3380 cat >>confdefs.h <<_ACEOF
3381 #define PACKAGE_URL "$PACKAGE_URL"
3382 _ACEOF
3385 # Let the site file select an alternate cache file if it wants to.
3386 # Prefer an explicitly selected file to automatically selected ones.
3387 ac_site_file1=NONE
3388 ac_site_file2=NONE
3389 if test -n "$CONFIG_SITE"; then
3390 # We do not want a PATH search for config.site.
3391 case $CONFIG_SITE in #((
3392 -*) ac_site_file1=./$CONFIG_SITE;;
3393 */*) ac_site_file1=$CONFIG_SITE;;
3394 *) ac_site_file1=./$CONFIG_SITE;;
3395 esac
3396 elif test "x$prefix" != xNONE; then
3397 ac_site_file1=$prefix/share/config.site
3398 ac_site_file2=$prefix/etc/config.site
3399 else
3400 ac_site_file1=$ac_default_prefix/share/config.site
3401 ac_site_file2=$ac_default_prefix/etc/config.site
3403 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3405 test "x$ac_site_file" = xNONE && continue
3406 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3408 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3409 sed 's/^/| /' "$ac_site_file" >&5
3410 . "$ac_site_file" \
3411 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3413 as_fn_error $? "failed to load site script $ac_site_file
3414 See \`config.log' for more details" "$LINENO" 5; }
3416 done
3418 if test -r "$cache_file"; then
3419 # Some versions of bash will fail to source /dev/null (special files
3420 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3421 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3423 $as_echo "$as_me: loading cache $cache_file" >&6;}
3424 case $cache_file in
3425 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3426 *) . "./$cache_file";;
3427 esac
3429 else
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3431 $as_echo "$as_me: creating cache $cache_file" >&6;}
3432 >$cache_file
3435 # Check that the precious variables saved in the cache have kept the same
3436 # value.
3437 ac_cache_corrupted=false
3438 for ac_var in $ac_precious_vars; do
3439 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3440 eval ac_new_set=\$ac_env_${ac_var}_set
3441 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3442 eval ac_new_val=\$ac_env_${ac_var}_value
3443 case $ac_old_set,$ac_new_set in
3444 set,)
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3446 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3447 ac_cache_corrupted=: ;;
3448 ,set)
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3450 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3451 ac_cache_corrupted=: ;;
3452 ,);;
3454 if test "x$ac_old_val" != "x$ac_new_val"; then
3455 # differences in whitespace do not lead to failure.
3456 ac_old_val_w=`echo x $ac_old_val`
3457 ac_new_val_w=`echo x $ac_new_val`
3458 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3460 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3461 ac_cache_corrupted=:
3462 else
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3464 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3465 eval $ac_var=\$ac_old_val
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3468 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3470 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3471 fi;;
3472 esac
3473 # Pass precious variables to config.status.
3474 if test "$ac_new_set" = set; then
3475 case $ac_new_val in
3476 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3477 *) ac_arg=$ac_var=$ac_new_val ;;
3478 esac
3479 case " $ac_configure_args " in
3480 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3481 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3482 esac
3484 done
3485 if $ac_cache_corrupted; then
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3489 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3490 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3492 ## -------------------- ##
3493 ## Main body of script. ##
3494 ## -------------------- ##
3496 ac_ext=c
3497 ac_cpp='$CPP $CPPFLAGS'
3498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3504 ac_config_headers="$ac_config_headers include/config.h"
3506 ac_aux_dir=
3507 for ac_dir in tools "$srcdir"/tools; do
3508 if test -f "$ac_dir/install-sh"; then
3509 ac_aux_dir=$ac_dir
3510 ac_install_sh="$ac_aux_dir/install-sh -c"
3511 break
3512 elif test -f "$ac_dir/install.sh"; then
3513 ac_aux_dir=$ac_dir
3514 ac_install_sh="$ac_aux_dir/install.sh -c"
3515 break
3516 elif test -f "$ac_dir/shtool"; then
3517 ac_aux_dir=$ac_dir
3518 ac_install_sh="$ac_aux_dir/shtool install -c"
3519 break
3521 done
3522 if test -z "$ac_aux_dir"; then
3523 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3526 # These three variables are undocumented and unsupported,
3527 # and are intended to be withdrawn in a future Autoconf release.
3528 # They can cause serious problems if a builder's source tree is in a directory
3529 # whose full name contains unusual characters.
3530 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3531 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3532 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3536 libwine_version="1.0"
3540 # Check whether --enable-win16 was given.
3541 if test "${enable_win16+set}" = set; then :
3542 enableval=$enable_win16;
3545 # Check whether --enable-win64 was given.
3546 if test "${enable_win64+set}" = set; then :
3547 enableval=$enable_win64;
3550 # Check whether --enable-tests was given.
3551 if test "${enable_tests+set}" = set; then :
3552 enableval=$enable_tests;
3555 # Check whether --enable-maintainer-mode was given.
3556 if test "${enable_maintainer_mode+set}" = set; then :
3557 enableval=$enable_maintainer_mode;
3562 # Check whether --with-alsa was given.
3563 if test "${with_alsa+set}" = set; then :
3564 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3568 # Check whether --with-capi was given.
3569 if test "${with_capi+set}" = set; then :
3570 withval=$with_capi;
3574 # Check whether --with-cms was given.
3575 if test "${with_cms+set}" = set; then :
3576 withval=$with_cms;
3580 # Check whether --with-coreaudio was given.
3581 if test "${with_coreaudio+set}" = set; then :
3582 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3586 # Check whether --with-cups was given.
3587 if test "${with_cups+set}" = set; then :
3588 withval=$with_cups;
3592 # Check whether --with-curses was given.
3593 if test "${with_curses+set}" = set; then :
3594 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3598 # Check whether --with-dbus was given.
3599 if test "${with_dbus+set}" = set; then :
3600 withval=$with_dbus;
3604 # Check whether --with-float-abi was given.
3605 if test "${with_float_abi+set}" = set; then :
3606 withval=$with_float_abi;
3610 # Check whether --with-fontconfig was given.
3611 if test "${with_fontconfig+set}" = set; then :
3612 withval=$with_fontconfig;
3616 # Check whether --with-freetype was given.
3617 if test "${with_freetype+set}" = set; then :
3618 withval=$with_freetype;
3622 # Check whether --with-gettext was given.
3623 if test "${with_gettext+set}" = set; then :
3624 withval=$with_gettext;
3628 # Check whether --with-gettextpo was given.
3629 if test "${with_gettextpo+set}" = set; then :
3630 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3634 # Check whether --with-gphoto was given.
3635 if test "${with_gphoto+set}" = set; then :
3636 withval=$with_gphoto;
3640 # Check whether --with-glu was given.
3641 if test "${with_glu+set}" = set; then :
3642 withval=$with_glu;
3646 # Check whether --with-gnutls was given.
3647 if test "${with_gnutls+set}" = set; then :
3648 withval=$with_gnutls;
3652 # Check whether --with-gsm was given.
3653 if test "${with_gsm+set}" = set; then :
3654 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3658 # Check whether --with-gssapi was given.
3659 if test "${with_gssapi+set}" = set; then :
3660 withval=$with_gssapi;
3664 # Check whether --with-gstreamer was given.
3665 if test "${with_gstreamer+set}" = set; then :
3666 withval=$with_gstreamer;
3670 # Check whether --with-hal was given.
3671 if test "${with_hal+set}" = set; then :
3672 withval=$with_hal;
3676 # Check whether --with-jpeg was given.
3677 if test "${with_jpeg+set}" = set; then :
3678 withval=$with_jpeg;
3682 # Check whether --with-krb5 was given.
3683 if test "${with_krb5+set}" = set; then :
3684 withval=$with_krb5;
3688 # Check whether --with-ldap was given.
3689 if test "${with_ldap+set}" = set; then :
3690 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3694 # Check whether --with-mpg123 was given.
3695 if test "${with_mpg123+set}" = set; then :
3696 withval=$with_mpg123;
3700 # Check whether --with-netapi was given.
3701 if test "${with_netapi+set}" = set; then :
3702 withval=$with_netapi;
3706 # Check whether --with-openal was given.
3707 if test "${with_openal+set}" = set; then :
3708 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3712 # Check whether --with-opencl was given.
3713 if test "${with_opencl+set}" = set; then :
3714 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3718 # Check whether --with-opengl was given.
3719 if test "${with_opengl+set}" = set; then :
3720 withval=$with_opengl;
3724 # Check whether --with-osmesa was given.
3725 if test "${with_osmesa+set}" = set; then :
3726 withval=$with_osmesa;
3730 # Check whether --with-oss was given.
3731 if test "${with_oss+set}" = set; then :
3732 withval=$with_oss;
3736 # Check whether --with-pcap was given.
3737 if test "${with_pcap+set}" = set; then :
3738 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3742 # Check whether --with-png was given.
3743 if test "${with_png+set}" = set; then :
3744 withval=$with_png;
3748 # Check whether --with-pthread was given.
3749 if test "${with_pthread+set}" = set; then :
3750 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3754 # Check whether --with-pulse was given.
3755 if test "${with_pulse+set}" = set; then :
3756 withval=$with_pulse;
3760 # Check whether --with-sane was given.
3761 if test "${with_sane+set}" = set; then :
3762 withval=$with_sane;
3766 # Check whether --with-sdl was given.
3767 if test "${with_sdl+set}" = set; then :
3768 withval=$with_sdl;
3772 # Check whether --with-tiff was given.
3773 if test "${with_tiff+set}" = set; then :
3774 withval=$with_tiff;
3778 # Check whether --with-udev was given.
3779 if test "${with_udev+set}" = set; then :
3780 withval=$with_udev;
3784 # Check whether --with-v4l was given.
3785 if test "${with_v4l+set}" = set; then :
3786 withval=$with_v4l;
3790 # Check whether --with-vulkan was given.
3791 if test "${with_vulkan+set}" = set; then :
3792 withval=$with_vulkan;
3796 # Check whether --with-xcomposite was given.
3797 if test "${with_xcomposite+set}" = set; then :
3798 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3802 # Check whether --with-xcursor was given.
3803 if test "${with_xcursor+set}" = set; then :
3804 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3808 # Check whether --with-xfixes was given.
3809 if test "${with_xfixes+set}" = set; then :
3810 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3814 # Check whether --with-xinerama was given.
3815 if test "${with_xinerama+set}" = set; then :
3816 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3820 # Check whether --with-xinput was given.
3821 if test "${with_xinput+set}" = set; then :
3822 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3826 # Check whether --with-xinput2 was given.
3827 if test "${with_xinput2+set}" = set; then :
3828 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3832 # Check whether --with-xml was given.
3833 if test "${with_xml+set}" = set; then :
3834 withval=$with_xml;
3838 # Check whether --with-xrandr was given.
3839 if test "${with_xrandr+set}" = set; then :
3840 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3844 # Check whether --with-xrender was given.
3845 if test "${with_xrender+set}" = set; then :
3846 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3850 # Check whether --with-xshape was given.
3851 if test "${with_xshape+set}" = set; then :
3852 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3856 # Check whether --with-xshm was given.
3857 if test "${with_xshm+set}" = set; then :
3858 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3862 # Check whether --with-xslt was given.
3863 if test "${with_xslt+set}" = set; then :
3864 withval=$with_xslt;
3868 # Check whether --with-xxf86vm was given.
3869 if test "${with_xxf86vm+set}" = set; then :
3870 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
3874 # Check whether --with-zlib was given.
3875 if test "${with_zlib+set}" = set; then :
3876 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3881 # Check whether --with-wine-tools was given.
3882 if test "${with_wine_tools+set}" = set; then :
3883 withval=$with_wine_tools;
3887 # Check whether --with-wine64 was given.
3888 if test "${with_wine64+set}" = set; then :
3889 withval=$with_wine64;
3893 # Make sure we can run config.sub.
3894 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3895 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3898 $as_echo_n "checking build system type... " >&6; }
3899 if ${ac_cv_build+:} false; then :
3900 $as_echo_n "(cached) " >&6
3901 else
3902 ac_build_alias=$build_alias
3903 test "x$ac_build_alias" = x &&
3904 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3905 test "x$ac_build_alias" = x &&
3906 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3907 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3908 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3912 $as_echo "$ac_cv_build" >&6; }
3913 case $ac_cv_build in
3914 *-*-*) ;;
3915 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3916 esac
3917 build=$ac_cv_build
3918 ac_save_IFS=$IFS; IFS='-'
3919 set x $ac_cv_build
3920 shift
3921 build_cpu=$1
3922 build_vendor=$2
3923 shift; shift
3924 # Remember, the first character of IFS is used to create $*,
3925 # except with old shells:
3926 build_os=$*
3927 IFS=$ac_save_IFS
3928 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3932 $as_echo_n "checking host system type... " >&6; }
3933 if ${ac_cv_host+:} false; then :
3934 $as_echo_n "(cached) " >&6
3935 else
3936 if test "x$host_alias" = x; then
3937 ac_cv_host=$ac_cv_build
3938 else
3939 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3940 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3945 $as_echo "$ac_cv_host" >&6; }
3946 case $ac_cv_host in
3947 *-*-*) ;;
3948 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3949 esac
3950 host=$ac_cv_host
3951 ac_save_IFS=$IFS; IFS='-'
3952 set x $ac_cv_host
3953 shift
3954 host_cpu=$1
3955 host_vendor=$2
3956 shift; shift
3957 # Remember, the first character of IFS is used to create $*,
3958 # except with old shells:
3959 host_os=$*
3960 IFS=$ac_save_IFS
3961 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3965 case "$srcdir" in
3966 .) ;;
3967 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3968 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3969 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3970 fi ;;
3971 esac
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3975 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3976 set x ${MAKE-make}
3977 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3978 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3979 $as_echo_n "(cached) " >&6
3980 else
3981 cat >conftest.make <<\_ACEOF
3982 SHELL = /bin/sh
3983 all:
3984 @echo '@@@%%%=$(MAKE)=@@@%%%'
3985 _ACEOF
3986 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3987 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3988 *@@@%%%=?*=@@@%%%*)
3989 eval ac_cv_prog_make_${ac_make}_set=yes;;
3991 eval ac_cv_prog_make_${ac_make}_set=no;;
3992 esac
3993 rm -f conftest.make
3995 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3997 $as_echo "yes" >&6; }
3998 SET_MAKE=
3999 else
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4001 $as_echo "no" >&6; }
4002 SET_MAKE="MAKE=${MAKE-make}"
4005 ac_ext=c
4006 ac_cpp='$CPP $CPPFLAGS'
4007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4010 if test -n "$ac_tool_prefix"; then
4011 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4012 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4014 $as_echo_n "checking for $ac_word... " >&6; }
4015 if ${ac_cv_prog_CC+:} false; then :
4016 $as_echo_n "(cached) " >&6
4017 else
4018 if test -n "$CC"; then
4019 ac_cv_prog_CC="$CC" # Let the user override the test.
4020 else
4021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4022 for as_dir in $PATH
4024 IFS=$as_save_IFS
4025 test -z "$as_dir" && as_dir=.
4026 for ac_exec_ext in '' $ac_executable_extensions; do
4027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4028 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4030 break 2
4032 done
4033 done
4034 IFS=$as_save_IFS
4038 CC=$ac_cv_prog_CC
4039 if test -n "$CC"; then
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4041 $as_echo "$CC" >&6; }
4042 else
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4044 $as_echo "no" >&6; }
4049 if test -z "$ac_cv_prog_CC"; then
4050 ac_ct_CC=$CC
4051 # Extract the first word of "gcc", so it can be a program name with args.
4052 set dummy gcc; ac_word=$2
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4054 $as_echo_n "checking for $ac_word... " >&6; }
4055 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4056 $as_echo_n "(cached) " >&6
4057 else
4058 if test -n "$ac_ct_CC"; then
4059 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4060 else
4061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4062 for as_dir in $PATH
4064 IFS=$as_save_IFS
4065 test -z "$as_dir" && as_dir=.
4066 for ac_exec_ext in '' $ac_executable_extensions; do
4067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4068 ac_cv_prog_ac_ct_CC="gcc"
4069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4070 break 2
4072 done
4073 done
4074 IFS=$as_save_IFS
4078 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4079 if test -n "$ac_ct_CC"; then
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4081 $as_echo "$ac_ct_CC" >&6; }
4082 else
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4084 $as_echo "no" >&6; }
4087 if test "x$ac_ct_CC" = x; then
4088 CC=""
4089 else
4090 case $cross_compiling:$ac_tool_warned in
4091 yes:)
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4094 ac_tool_warned=yes ;;
4095 esac
4096 CC=$ac_ct_CC
4098 else
4099 CC="$ac_cv_prog_CC"
4102 if test -z "$CC"; then
4103 if test -n "$ac_tool_prefix"; then
4104 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4105 set dummy ${ac_tool_prefix}cc; ac_word=$2
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4107 $as_echo_n "checking for $ac_word... " >&6; }
4108 if ${ac_cv_prog_CC+:} false; then :
4109 $as_echo_n "(cached) " >&6
4110 else
4111 if test -n "$CC"; then
4112 ac_cv_prog_CC="$CC" # Let the user override the test.
4113 else
4114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4115 for as_dir in $PATH
4117 IFS=$as_save_IFS
4118 test -z "$as_dir" && as_dir=.
4119 for ac_exec_ext in '' $ac_executable_extensions; do
4120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4121 ac_cv_prog_CC="${ac_tool_prefix}cc"
4122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4123 break 2
4125 done
4126 done
4127 IFS=$as_save_IFS
4131 CC=$ac_cv_prog_CC
4132 if test -n "$CC"; then
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4134 $as_echo "$CC" >&6; }
4135 else
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4137 $as_echo "no" >&6; }
4143 if test -z "$CC"; then
4144 # Extract the first word of "cc", so it can be a program name with args.
4145 set dummy cc; ac_word=$2
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4147 $as_echo_n "checking for $ac_word... " >&6; }
4148 if ${ac_cv_prog_CC+:} false; then :
4149 $as_echo_n "(cached) " >&6
4150 else
4151 if test -n "$CC"; then
4152 ac_cv_prog_CC="$CC" # Let the user override the test.
4153 else
4154 ac_prog_rejected=no
4155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4156 for as_dir in $PATH
4158 IFS=$as_save_IFS
4159 test -z "$as_dir" && as_dir=.
4160 for ac_exec_ext in '' $ac_executable_extensions; do
4161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4162 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4163 ac_prog_rejected=yes
4164 continue
4166 ac_cv_prog_CC="cc"
4167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4168 break 2
4170 done
4171 done
4172 IFS=$as_save_IFS
4174 if test $ac_prog_rejected = yes; then
4175 # We found a bogon in the path, so make sure we never use it.
4176 set dummy $ac_cv_prog_CC
4177 shift
4178 if test $# != 0; then
4179 # We chose a different compiler from the bogus one.
4180 # However, it has the same basename, so the bogon will be chosen
4181 # first if we set CC to just the basename; use the full file name.
4182 shift
4183 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4188 CC=$ac_cv_prog_CC
4189 if test -n "$CC"; then
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4191 $as_echo "$CC" >&6; }
4192 else
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4194 $as_echo "no" >&6; }
4199 if test -z "$CC"; then
4200 if test -n "$ac_tool_prefix"; then
4201 for ac_prog in cl.exe
4203 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4204 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4206 $as_echo_n "checking for $ac_word... " >&6; }
4207 if ${ac_cv_prog_CC+:} false; then :
4208 $as_echo_n "(cached) " >&6
4209 else
4210 if test -n "$CC"; then
4211 ac_cv_prog_CC="$CC" # Let the user override the test.
4212 else
4213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4214 for as_dir in $PATH
4216 IFS=$as_save_IFS
4217 test -z "$as_dir" && as_dir=.
4218 for ac_exec_ext in '' $ac_executable_extensions; do
4219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4220 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4222 break 2
4224 done
4225 done
4226 IFS=$as_save_IFS
4230 CC=$ac_cv_prog_CC
4231 if test -n "$CC"; then
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4233 $as_echo "$CC" >&6; }
4234 else
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4236 $as_echo "no" >&6; }
4240 test -n "$CC" && break
4241 done
4243 if test -z "$CC"; then
4244 ac_ct_CC=$CC
4245 for ac_prog in cl.exe
4247 # Extract the first word of "$ac_prog", so it can be a program name with args.
4248 set dummy $ac_prog; ac_word=$2
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4250 $as_echo_n "checking for $ac_word... " >&6; }
4251 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4252 $as_echo_n "(cached) " >&6
4253 else
4254 if test -n "$ac_ct_CC"; then
4255 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4256 else
4257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4258 for as_dir in $PATH
4260 IFS=$as_save_IFS
4261 test -z "$as_dir" && as_dir=.
4262 for ac_exec_ext in '' $ac_executable_extensions; do
4263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4264 ac_cv_prog_ac_ct_CC="$ac_prog"
4265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4266 break 2
4268 done
4269 done
4270 IFS=$as_save_IFS
4274 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4275 if test -n "$ac_ct_CC"; then
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4277 $as_echo "$ac_ct_CC" >&6; }
4278 else
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4280 $as_echo "no" >&6; }
4284 test -n "$ac_ct_CC" && break
4285 done
4287 if test "x$ac_ct_CC" = x; then
4288 CC=""
4289 else
4290 case $cross_compiling:$ac_tool_warned in
4291 yes:)
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4294 ac_tool_warned=yes ;;
4295 esac
4296 CC=$ac_ct_CC
4303 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4305 as_fn_error $? "no acceptable C compiler found in \$PATH
4306 See \`config.log' for more details" "$LINENO" 5; }
4308 # Provide some information about the compiler.
4309 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4310 set X $ac_compile
4311 ac_compiler=$2
4312 for ac_option in --version -v -V -qversion; do
4313 { { ac_try="$ac_compiler $ac_option >&5"
4314 case "(($ac_try" in
4315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4316 *) ac_try_echo=$ac_try;;
4317 esac
4318 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4319 $as_echo "$ac_try_echo"; } >&5
4320 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4321 ac_status=$?
4322 if test -s conftest.err; then
4323 sed '10a\
4324 ... rest of stderr output deleted ...
4325 10q' conftest.err >conftest.er1
4326 cat conftest.er1 >&5
4328 rm -f conftest.er1 conftest.err
4329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4330 test $ac_status = 0; }
4331 done
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4337 main ()
4341 return 0;
4343 _ACEOF
4344 ac_clean_files_save=$ac_clean_files
4345 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4346 # Try to create an executable without -o first, disregard a.out.
4347 # It will help us diagnose broken compilers, and finding out an intuition
4348 # of exeext.
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4350 $as_echo_n "checking whether the C compiler works... " >&6; }
4351 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4353 # The possible output files:
4354 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4356 ac_rmfiles=
4357 for ac_file in $ac_files
4359 case $ac_file in
4360 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4361 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4362 esac
4363 done
4364 rm -f $ac_rmfiles
4366 if { { ac_try="$ac_link_default"
4367 case "(($ac_try" in
4368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4369 *) ac_try_echo=$ac_try;;
4370 esac
4371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4372 $as_echo "$ac_try_echo"; } >&5
4373 (eval "$ac_link_default") 2>&5
4374 ac_status=$?
4375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4376 test $ac_status = 0; }; then :
4377 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4378 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4379 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4380 # so that the user can short-circuit this test for compilers unknown to
4381 # Autoconf.
4382 for ac_file in $ac_files ''
4384 test -f "$ac_file" || continue
4385 case $ac_file in
4386 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4388 [ab].out )
4389 # We found the default executable, but exeext='' is most
4390 # certainly right.
4391 break;;
4392 *.* )
4393 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4394 then :; else
4395 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4397 # We set ac_cv_exeext here because the later test for it is not
4398 # safe: cross compilers may not add the suffix if given an `-o'
4399 # argument, so we may need to know it at that point already.
4400 # Even if this section looks crufty: it has the advantage of
4401 # actually working.
4402 break;;
4404 break;;
4405 esac
4406 done
4407 test "$ac_cv_exeext" = no && ac_cv_exeext=
4409 else
4410 ac_file=''
4412 if test -z "$ac_file"; then :
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4414 $as_echo "no" >&6; }
4415 $as_echo "$as_me: failed program was:" >&5
4416 sed 's/^/| /' conftest.$ac_ext >&5
4418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4420 as_fn_error 77 "C compiler cannot create executables
4421 See \`config.log' for more details" "$LINENO" 5; }
4422 else
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4424 $as_echo "yes" >&6; }
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4427 $as_echo_n "checking for C compiler default output file name... " >&6; }
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4429 $as_echo "$ac_file" >&6; }
4430 ac_exeext=$ac_cv_exeext
4432 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4433 ac_clean_files=$ac_clean_files_save
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4435 $as_echo_n "checking for suffix of executables... " >&6; }
4436 if { { ac_try="$ac_link"
4437 case "(($ac_try" in
4438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4439 *) ac_try_echo=$ac_try;;
4440 esac
4441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4442 $as_echo "$ac_try_echo"; } >&5
4443 (eval "$ac_link") 2>&5
4444 ac_status=$?
4445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4446 test $ac_status = 0; }; then :
4447 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4448 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4449 # work properly (i.e., refer to `conftest.exe'), while it won't with
4450 # `rm'.
4451 for ac_file in conftest.exe conftest conftest.*; do
4452 test -f "$ac_file" || continue
4453 case $ac_file in
4454 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4455 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4456 break;;
4457 * ) break;;
4458 esac
4459 done
4460 else
4461 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4463 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4464 See \`config.log' for more details" "$LINENO" 5; }
4466 rm -f conftest conftest$ac_cv_exeext
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4468 $as_echo "$ac_cv_exeext" >&6; }
4470 rm -f conftest.$ac_ext
4471 EXEEXT=$ac_cv_exeext
4472 ac_exeext=$EXEEXT
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4475 #include <stdio.h>
4477 main ()
4479 FILE *f = fopen ("conftest.out", "w");
4480 return ferror (f) || fclose (f) != 0;
4483 return 0;
4485 _ACEOF
4486 ac_clean_files="$ac_clean_files conftest.out"
4487 # Check that the compiler produces executables we can run. If not, either
4488 # the compiler is broken, or we cross compile.
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4490 $as_echo_n "checking whether we are cross compiling... " >&6; }
4491 if test "$cross_compiling" != yes; then
4492 { { ac_try="$ac_link"
4493 case "(($ac_try" in
4494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4495 *) ac_try_echo=$ac_try;;
4496 esac
4497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4498 $as_echo "$ac_try_echo"; } >&5
4499 (eval "$ac_link") 2>&5
4500 ac_status=$?
4501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4502 test $ac_status = 0; }
4503 if { ac_try='./conftest$ac_cv_exeext'
4504 { { case "(($ac_try" in
4505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4506 *) ac_try_echo=$ac_try;;
4507 esac
4508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4509 $as_echo "$ac_try_echo"; } >&5
4510 (eval "$ac_try") 2>&5
4511 ac_status=$?
4512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4513 test $ac_status = 0; }; }; then
4514 cross_compiling=no
4515 else
4516 if test "$cross_compiling" = maybe; then
4517 cross_compiling=yes
4518 else
4519 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4521 as_fn_error $? "cannot run C compiled programs.
4522 If you meant to cross compile, use \`--host'.
4523 See \`config.log' for more details" "$LINENO" 5; }
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4528 $as_echo "$cross_compiling" >&6; }
4530 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4531 ac_clean_files=$ac_clean_files_save
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4533 $as_echo_n "checking for suffix of object files... " >&6; }
4534 if ${ac_cv_objext+:} false; then :
4535 $as_echo_n "(cached) " >&6
4536 else
4537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4538 /* end confdefs.h. */
4541 main ()
4545 return 0;
4547 _ACEOF
4548 rm -f conftest.o conftest.obj
4549 if { { ac_try="$ac_compile"
4550 case "(($ac_try" in
4551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4552 *) ac_try_echo=$ac_try;;
4553 esac
4554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4555 $as_echo "$ac_try_echo"; } >&5
4556 (eval "$ac_compile") 2>&5
4557 ac_status=$?
4558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4559 test $ac_status = 0; }; then :
4560 for ac_file in conftest.o conftest.obj conftest.*; do
4561 test -f "$ac_file" || continue;
4562 case $ac_file in
4563 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4564 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4565 break;;
4566 esac
4567 done
4568 else
4569 $as_echo "$as_me: failed program was:" >&5
4570 sed 's/^/| /' conftest.$ac_ext >&5
4572 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4574 as_fn_error $? "cannot compute suffix of object files: cannot compile
4575 See \`config.log' for more details" "$LINENO" 5; }
4577 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4580 $as_echo "$ac_cv_objext" >&6; }
4581 OBJEXT=$ac_cv_objext
4582 ac_objext=$OBJEXT
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4584 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4585 if ${ac_cv_c_compiler_gnu+:} false; then :
4586 $as_echo_n "(cached) " >&6
4587 else
4588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4589 /* end confdefs.h. */
4592 main ()
4594 #ifndef __GNUC__
4595 choke me
4596 #endif
4599 return 0;
4601 _ACEOF
4602 if ac_fn_c_try_compile "$LINENO"; then :
4603 ac_compiler_gnu=yes
4604 else
4605 ac_compiler_gnu=no
4607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4608 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4612 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4613 if test $ac_compiler_gnu = yes; then
4614 GCC=yes
4615 else
4616 GCC=
4618 ac_test_CFLAGS=${CFLAGS+set}
4619 ac_save_CFLAGS=$CFLAGS
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4621 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4622 if ${ac_cv_prog_cc_g+:} false; then :
4623 $as_echo_n "(cached) " >&6
4624 else
4625 ac_save_c_werror_flag=$ac_c_werror_flag
4626 ac_c_werror_flag=yes
4627 ac_cv_prog_cc_g=no
4628 CFLAGS="-g"
4629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4630 /* end confdefs.h. */
4633 main ()
4637 return 0;
4639 _ACEOF
4640 if ac_fn_c_try_compile "$LINENO"; then :
4641 ac_cv_prog_cc_g=yes
4642 else
4643 CFLAGS=""
4644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4645 /* end confdefs.h. */
4648 main ()
4652 return 0;
4654 _ACEOF
4655 if ac_fn_c_try_compile "$LINENO"; then :
4657 else
4658 ac_c_werror_flag=$ac_save_c_werror_flag
4659 CFLAGS="-g"
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4664 main ()
4668 return 0;
4670 _ACEOF
4671 if ac_fn_c_try_compile "$LINENO"; then :
4672 ac_cv_prog_cc_g=yes
4674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4679 ac_c_werror_flag=$ac_save_c_werror_flag
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4682 $as_echo "$ac_cv_prog_cc_g" >&6; }
4683 if test "$ac_test_CFLAGS" = set; then
4684 CFLAGS=$ac_save_CFLAGS
4685 elif test $ac_cv_prog_cc_g = yes; then
4686 if test "$GCC" = yes; then
4687 CFLAGS="-g -O2"
4688 else
4689 CFLAGS="-g"
4691 else
4692 if test "$GCC" = yes; then
4693 CFLAGS="-O2"
4694 else
4695 CFLAGS=
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4699 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4700 if ${ac_cv_prog_cc_c89+:} false; then :
4701 $as_echo_n "(cached) " >&6
4702 else
4703 ac_cv_prog_cc_c89=no
4704 ac_save_CC=$CC
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4707 #include <stdarg.h>
4708 #include <stdio.h>
4709 struct stat;
4710 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4711 struct buf { int x; };
4712 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4713 static char *e (p, i)
4714 char **p;
4715 int i;
4717 return p[i];
4719 static char *f (char * (*g) (char **, int), char **p, ...)
4721 char *s;
4722 va_list v;
4723 va_start (v,p);
4724 s = g (p, va_arg (v,int));
4725 va_end (v);
4726 return s;
4729 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4730 function prototypes and stuff, but not '\xHH' hex character constants.
4731 These don't provoke an error unfortunately, instead are silently treated
4732 as 'x'. The following induces an error, until -std is added to get
4733 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4734 array size at least. It's necessary to write '\x00'==0 to get something
4735 that's true only with -std. */
4736 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4738 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4739 inside strings and character constants. */
4740 #define FOO(x) 'x'
4741 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4743 int test (int i, double x);
4744 struct s1 {int (*f) (int a);};
4745 struct s2 {int (*f) (double a);};
4746 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4747 int argc;
4748 char **argv;
4750 main ()
4752 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4754 return 0;
4756 _ACEOF
4757 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4758 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4760 CC="$ac_save_CC $ac_arg"
4761 if ac_fn_c_try_compile "$LINENO"; then :
4762 ac_cv_prog_cc_c89=$ac_arg
4764 rm -f core conftest.err conftest.$ac_objext
4765 test "x$ac_cv_prog_cc_c89" != "xno" && break
4766 done
4767 rm -f conftest.$ac_ext
4768 CC=$ac_save_CC
4771 # AC_CACHE_VAL
4772 case "x$ac_cv_prog_cc_c89" in
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4775 $as_echo "none needed" >&6; } ;;
4776 xno)
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4778 $as_echo "unsupported" >&6; } ;;
4780 CC="$CC $ac_cv_prog_cc_c89"
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4782 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4783 esac
4784 if test "x$ac_cv_prog_cc_c89" != xno; then :
4788 ac_ext=c
4789 ac_cpp='$CPP $CPPFLAGS'
4790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4794 ac_ext=cpp
4795 ac_cpp='$CXXCPP $CPPFLAGS'
4796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4799 if test -z "$CXX"; then
4800 if test -n "$CCC"; then
4801 CXX=$CCC
4802 else
4803 if test -n "$ac_tool_prefix"; then
4804 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4806 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4807 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4809 $as_echo_n "checking for $ac_word... " >&6; }
4810 if ${ac_cv_prog_CXX+:} false; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 if test -n "$CXX"; then
4814 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4815 else
4816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4817 for as_dir in $PATH
4819 IFS=$as_save_IFS
4820 test -z "$as_dir" && as_dir=.
4821 for ac_exec_ext in '' $ac_executable_extensions; do
4822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4823 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4825 break 2
4827 done
4828 done
4829 IFS=$as_save_IFS
4833 CXX=$ac_cv_prog_CXX
4834 if test -n "$CXX"; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4836 $as_echo "$CXX" >&6; }
4837 else
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839 $as_echo "no" >&6; }
4843 test -n "$CXX" && break
4844 done
4846 if test -z "$CXX"; then
4847 ac_ct_CXX=$CXX
4848 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4850 # Extract the first word of "$ac_prog", so it can be a program name with args.
4851 set dummy $ac_prog; ac_word=$2
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4853 $as_echo_n "checking for $ac_word... " >&6; }
4854 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4855 $as_echo_n "(cached) " >&6
4856 else
4857 if test -n "$ac_ct_CXX"; then
4858 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4859 else
4860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861 for as_dir in $PATH
4863 IFS=$as_save_IFS
4864 test -z "$as_dir" && as_dir=.
4865 for ac_exec_ext in '' $ac_executable_extensions; do
4866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4867 ac_cv_prog_ac_ct_CXX="$ac_prog"
4868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4869 break 2
4871 done
4872 done
4873 IFS=$as_save_IFS
4877 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4878 if test -n "$ac_ct_CXX"; then
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4880 $as_echo "$ac_ct_CXX" >&6; }
4881 else
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4883 $as_echo "no" >&6; }
4887 test -n "$ac_ct_CXX" && break
4888 done
4890 if test "x$ac_ct_CXX" = x; then
4891 CXX="g++"
4892 else
4893 case $cross_compiling:$ac_tool_warned in
4894 yes:)
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4897 ac_tool_warned=yes ;;
4898 esac
4899 CXX=$ac_ct_CXX
4905 # Provide some information about the compiler.
4906 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4907 set X $ac_compile
4908 ac_compiler=$2
4909 for ac_option in --version -v -V -qversion; do
4910 { { ac_try="$ac_compiler $ac_option >&5"
4911 case "(($ac_try" in
4912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4913 *) ac_try_echo=$ac_try;;
4914 esac
4915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4916 $as_echo "$ac_try_echo"; } >&5
4917 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4918 ac_status=$?
4919 if test -s conftest.err; then
4920 sed '10a\
4921 ... rest of stderr output deleted ...
4922 10q' conftest.err >conftest.er1
4923 cat conftest.er1 >&5
4925 rm -f conftest.er1 conftest.err
4926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4927 test $ac_status = 0; }
4928 done
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4931 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4932 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4933 $as_echo_n "(cached) " >&6
4934 else
4935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4936 /* end confdefs.h. */
4939 main ()
4941 #ifndef __GNUC__
4942 choke me
4943 #endif
4946 return 0;
4948 _ACEOF
4949 if ac_fn_cxx_try_compile "$LINENO"; then :
4950 ac_compiler_gnu=yes
4951 else
4952 ac_compiler_gnu=no
4954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4955 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4959 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4960 if test $ac_compiler_gnu = yes; then
4961 GXX=yes
4962 else
4963 GXX=
4965 ac_test_CXXFLAGS=${CXXFLAGS+set}
4966 ac_save_CXXFLAGS=$CXXFLAGS
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4968 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4969 if ${ac_cv_prog_cxx_g+:} false; then :
4970 $as_echo_n "(cached) " >&6
4971 else
4972 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4973 ac_cxx_werror_flag=yes
4974 ac_cv_prog_cxx_g=no
4975 CXXFLAGS="-g"
4976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4977 /* end confdefs.h. */
4980 main ()
4984 return 0;
4986 _ACEOF
4987 if ac_fn_cxx_try_compile "$LINENO"; then :
4988 ac_cv_prog_cxx_g=yes
4989 else
4990 CXXFLAGS=""
4991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h. */
4995 main ()
4999 return 0;
5001 _ACEOF
5002 if ac_fn_cxx_try_compile "$LINENO"; then :
5004 else
5005 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5006 CXXFLAGS="-g"
5007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5008 /* end confdefs.h. */
5011 main ()
5015 return 0;
5017 _ACEOF
5018 if ac_fn_cxx_try_compile "$LINENO"; then :
5019 ac_cv_prog_cxx_g=yes
5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5026 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5029 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5030 if test "$ac_test_CXXFLAGS" = set; then
5031 CXXFLAGS=$ac_save_CXXFLAGS
5032 elif test $ac_cv_prog_cxx_g = yes; then
5033 if test "$GXX" = yes; then
5034 CXXFLAGS="-g -O2"
5035 else
5036 CXXFLAGS="-g"
5038 else
5039 if test "$GXX" = yes; then
5040 CXXFLAGS="-O2"
5041 else
5042 CXXFLAGS=
5045 ac_ext=c
5046 ac_cpp='$CPP $CPPFLAGS'
5047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5051 if test -n "$ac_tool_prefix"; then
5052 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5053 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 $as_echo_n "checking for $ac_word... " >&6; }
5056 if ${ac_cv_prog_CPPBIN+:} false; then :
5057 $as_echo_n "(cached) " >&6
5058 else
5059 if test -n "$CPPBIN"; then
5060 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5061 else
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 for as_dir in $PATH
5065 IFS=$as_save_IFS
5066 test -z "$as_dir" && as_dir=.
5067 for ac_exec_ext in '' $ac_executable_extensions; do
5068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5069 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5071 break 2
5073 done
5074 done
5075 IFS=$as_save_IFS
5079 CPPBIN=$ac_cv_prog_CPPBIN
5080 if test -n "$CPPBIN"; then
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5082 $as_echo "$CPPBIN" >&6; }
5083 else
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5090 if test -z "$ac_cv_prog_CPPBIN"; then
5091 ac_ct_CPPBIN=$CPPBIN
5092 # Extract the first word of "cpp", so it can be a program name with args.
5093 set dummy cpp; ac_word=$2
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5095 $as_echo_n "checking for $ac_word... " >&6; }
5096 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5097 $as_echo_n "(cached) " >&6
5098 else
5099 if test -n "$ac_ct_CPPBIN"; then
5100 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5101 else
5102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5103 for as_dir in $PATH
5105 IFS=$as_save_IFS
5106 test -z "$as_dir" && as_dir=.
5107 for ac_exec_ext in '' $ac_executable_extensions; do
5108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5109 ac_cv_prog_ac_ct_CPPBIN="cpp"
5110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5111 break 2
5113 done
5114 done
5115 IFS=$as_save_IFS
5119 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5120 if test -n "$ac_ct_CPPBIN"; then
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5122 $as_echo "$ac_ct_CPPBIN" >&6; }
5123 else
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5125 $as_echo "no" >&6; }
5128 if test "x$ac_ct_CPPBIN" = x; then
5129 CPPBIN="cpp"
5130 else
5131 case $cross_compiling:$ac_tool_warned in
5132 yes:)
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5135 ac_tool_warned=yes ;;
5136 esac
5137 CPPBIN=$ac_ct_CPPBIN
5139 else
5140 CPPBIN="$ac_cv_prog_CPPBIN"
5144 cat >>confdefs.h <<_ACEOF
5145 #define EXEEXT "$ac_exeext"
5146 _ACEOF
5148 if test -n "$ac_tool_prefix"; then
5149 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5150 set dummy ${ac_tool_prefix}ld; ac_word=$2
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5152 $as_echo_n "checking for $ac_word... " >&6; }
5153 if ${ac_cv_prog_LD+:} false; then :
5154 $as_echo_n "(cached) " >&6
5155 else
5156 if test -n "$LD"; then
5157 ac_cv_prog_LD="$LD" # Let the user override the test.
5158 else
5159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5160 for as_dir in $PATH
5162 IFS=$as_save_IFS
5163 test -z "$as_dir" && as_dir=.
5164 for ac_exec_ext in '' $ac_executable_extensions; do
5165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5166 ac_cv_prog_LD="${ac_tool_prefix}ld"
5167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5168 break 2
5170 done
5171 done
5172 IFS=$as_save_IFS
5176 LD=$ac_cv_prog_LD
5177 if test -n "$LD"; then
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5179 $as_echo "$LD" >&6; }
5180 else
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5182 $as_echo "no" >&6; }
5187 if test -z "$ac_cv_prog_LD"; then
5188 ac_ct_LD=$LD
5189 # Extract the first word of "ld", so it can be a program name with args.
5190 set dummy ld; ac_word=$2
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5192 $as_echo_n "checking for $ac_word... " >&6; }
5193 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5194 $as_echo_n "(cached) " >&6
5195 else
5196 if test -n "$ac_ct_LD"; then
5197 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5198 else
5199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5200 for as_dir in $PATH
5202 IFS=$as_save_IFS
5203 test -z "$as_dir" && as_dir=.
5204 for ac_exec_ext in '' $ac_executable_extensions; do
5205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5206 ac_cv_prog_ac_ct_LD="ld"
5207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 break 2
5210 done
5211 done
5212 IFS=$as_save_IFS
5216 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5217 if test -n "$ac_ct_LD"; then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5219 $as_echo "$ac_ct_LD" >&6; }
5220 else
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222 $as_echo "no" >&6; }
5225 if test "x$ac_ct_LD" = x; then
5226 LD=""
5227 else
5228 case $cross_compiling:$ac_tool_warned in
5229 yes:)
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5232 ac_tool_warned=yes ;;
5233 esac
5234 LD=$ac_ct_LD
5236 else
5237 LD="$ac_cv_prog_LD"
5241 case $host in
5242 *-darwin*)
5243 with_fontconfig=${with_fontconfig:-no}
5245 *-mingw32*|*-cygwin*)
5246 enable_win16=${enable_win16:-no}
5247 CFLAGS="$CFLAGS -D_WIN32"
5249 esac
5251 case $host in
5252 x86_64*|amd64*)
5253 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5254 then
5255 CC="$CC -m32"
5256 CXX="$CXX -m32"
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5258 $as_echo_n "checking whether $CC works... " >&6; }
5260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5261 /* end confdefs.h. */
5264 main ()
5268 return 0;
5270 _ACEOF
5271 if ac_fn_c_try_link "$LINENO"; then :
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5273 $as_echo "yes" >&6; }
5274 else
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276 $as_echo "no" >&6; }
5277 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5279 rm -f core conftest.err conftest.$ac_objext \
5280 conftest$ac_exeext conftest.$ac_ext
5281 host_cpu="i386"
5282 notice_platform="32-bit "
5283 TARGETFLAGS="-m32"
5285 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5286 export PKG_CONFIG_PATH
5287 enable_win16=${enable_win16:-yes}
5288 else
5289 if test "x${GCC}" = "xyes"
5290 then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5292 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5294 /* end confdefs.h. */
5295 #include <stdarg.h>
5297 main ()
5299 void func(__builtin_ms_va_list *args);
5301 return 0;
5303 _ACEOF
5304 if ac_fn_c_try_compile "$LINENO"; then :
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5306 $as_echo "yes" >&6; }
5307 else
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5309 $as_echo "no" >&6; }
5310 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5314 CC="$CC -m64"
5315 CXX="$CXX -m64"
5316 host_cpu="x86_64"
5317 notice_platform="64-bit "
5318 TARGETFLAGS="-m64"
5322 arm*)
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5324 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5326 /* end confdefs.h. */
5327 int ac_test(int i) { return i; }
5329 main ()
5331 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5333 return 0;
5335 _ACEOF
5336 if ac_fn_c_try_link "$LINENO"; then :
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5338 $as_echo "yes" >&6; }
5339 else
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5341 $as_echo "no" >&6; }
5342 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5344 rm -f core conftest.err conftest.$ac_objext \
5345 conftest$ac_exeext conftest.$ac_ext
5346 case $with_float_abi in
5347 soft|softfp|hard)
5348 float_abi=$with_float_abi ;;
5350 case $host_os in
5351 *eabihf)
5352 float_abi=hard ;;
5354 float_abi=softfp
5355 saved_CFLAGS=$CFLAGS
5356 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5358 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5360 /* end confdefs.h. */
5363 main ()
5365 asm("vmrs r2,fpscr");
5367 return 0;
5369 _ACEOF
5370 if ac_fn_c_try_link "$LINENO"; then :
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5372 $as_echo "yes" >&6; }
5373 else
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5375 $as_echo "no" >&6; }
5376 float_abi=soft
5377 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5379 rm -f core conftest.err conftest.$ac_objext \
5380 conftest$ac_exeext conftest.$ac_ext
5381 CFLAGS=$saved_CFLAGS
5382 esac
5384 esac
5385 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5386 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5389 i[3456789]86*)
5390 enable_win16=${enable_win16:-yes}
5392 esac
5394 enable_win16=${enable_win16:-no}
5395 enable_win64=${enable_win64:-no}
5397 enable_winetest=${enable_winetest:-$enable_tests}
5399 if test -n "$with_wine64"
5400 then
5401 if test "x$enable_win64" = "xyes"
5402 then
5403 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5404 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5406 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5407 You should create a separate build directory and run configure from there." "$LINENO" 5
5408 enable_fonts=${enable_fonts:-no}
5409 enable_server=${enable_server:-no}
5410 wine64_disable=\#
5412 elif test "x$enable_win64" = "xyes"
5413 then
5414 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5418 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5419 if ${wine_cv_toolsdir+:} false; then :
5420 $as_echo_n "(cached) " >&6
5421 else
5422 wine_cv_toolsdir="$with_wine_tools"
5423 if test -z "$with_wine_tools"; then
5424 if test "$cross_compiling" = "yes"; then
5425 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5426 elif test -n "$with_wine64"; then
5427 wine_cv_toolsdir="$with_wine64"
5430 if test -z "$wine_cv_toolsdir"; then
5431 wine_makedep=tools/makedep
5432 wine_cv_toolsdir="\$(top_builddir)"
5433 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5434 wine_makedep=$wine_cv_toolsdir/tools/makedep
5435 case "$wine_cv_toolsdir" in
5436 /*) ;;
5437 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5438 esac
5439 enable_tools=${enable_tools:-no}
5440 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5441 else
5442 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5446 $as_echo "$wine_cv_toolsdir" >&6; }
5447 TOOLSDIR=$wine_cv_toolsdir
5449 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5450 then
5451 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5455 for ac_prog in flex
5457 # Extract the first word of "$ac_prog", so it can be a program name with args.
5458 set dummy $ac_prog; ac_word=$2
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5460 $as_echo_n "checking for $ac_word... " >&6; }
5461 if ${ac_cv_prog_FLEX+:} false; then :
5462 $as_echo_n "(cached) " >&6
5463 else
5464 if test -n "$FLEX"; then
5465 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5466 else
5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 for as_dir in $PATH
5470 IFS=$as_save_IFS
5471 test -z "$as_dir" && as_dir=.
5472 for ac_exec_ext in '' $ac_executable_extensions; do
5473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5474 ac_cv_prog_FLEX="$ac_prog"
5475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5476 break 2
5478 done
5479 done
5480 IFS=$as_save_IFS
5484 FLEX=$ac_cv_prog_FLEX
5485 if test -n "$FLEX"; then
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5487 $as_echo "$FLEX" >&6; }
5488 else
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5490 $as_echo "no" >&6; }
5494 test -n "$FLEX" && break
5495 done
5496 test -n "$FLEX" || FLEX="none"
5498 if test "$FLEX" = "none"
5499 then
5500 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5503 $as_echo_n "checking whether flex is recent enough... " >&6; }
5504 cat >conftest.l <<EOF
5505 %top{
5506 #include "prediluvian.h"
5510 if $FLEX -t conftest.l >/dev/null 2>&5
5511 then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5513 $as_echo "yes" >&6; }
5514 else
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516 $as_echo "no" >&6; }
5517 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5520 for ac_prog in bison
5522 # Extract the first word of "$ac_prog", so it can be a program name with args.
5523 set dummy $ac_prog; ac_word=$2
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5525 $as_echo_n "checking for $ac_word... " >&6; }
5526 if ${ac_cv_prog_BISON+:} false; then :
5527 $as_echo_n "(cached) " >&6
5528 else
5529 if test -n "$BISON"; then
5530 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5531 else
5532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5533 for as_dir in $PATH
5535 IFS=$as_save_IFS
5536 test -z "$as_dir" && as_dir=.
5537 for ac_exec_ext in '' $ac_executable_extensions; do
5538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5539 ac_cv_prog_BISON="$ac_prog"
5540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 break 2
5543 done
5544 done
5545 IFS=$as_save_IFS
5549 BISON=$ac_cv_prog_BISON
5550 if test -n "$BISON"; then
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5552 $as_echo "$BISON" >&6; }
5553 else
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5555 $as_echo "no" >&6; }
5559 test -n "$BISON" && break
5560 done
5561 test -n "$BISON" || BISON="none"
5563 if test "$BISON" = "none"
5564 then
5565 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5568 if test -n "$ac_tool_prefix"; then
5569 for ac_prog in ar gar
5571 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5572 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if ${ac_cv_prog_AR+:} false; then :
5576 $as_echo_n "(cached) " >&6
5577 else
5578 if test -n "$AR"; then
5579 ac_cv_prog_AR="$AR" # Let the user override the test.
5580 else
5581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5582 for as_dir in $PATH
5584 IFS=$as_save_IFS
5585 test -z "$as_dir" && as_dir=.
5586 for ac_exec_ext in '' $ac_executable_extensions; do
5587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5588 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590 break 2
5592 done
5593 done
5594 IFS=$as_save_IFS
5598 AR=$ac_cv_prog_AR
5599 if test -n "$AR"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5601 $as_echo "$AR" >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5608 test -n "$AR" && break
5609 done
5611 if test -z "$AR"; then
5612 ac_ct_AR=$AR
5613 for ac_prog in ar gar
5615 # Extract the first word of "$ac_prog", so it can be a program name with args.
5616 set dummy $ac_prog; ac_word=$2
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5618 $as_echo_n "checking for $ac_word... " >&6; }
5619 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5620 $as_echo_n "(cached) " >&6
5621 else
5622 if test -n "$ac_ct_AR"; then
5623 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5624 else
5625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5626 for as_dir in $PATH
5628 IFS=$as_save_IFS
5629 test -z "$as_dir" && as_dir=.
5630 for ac_exec_ext in '' $ac_executable_extensions; do
5631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5632 ac_cv_prog_ac_ct_AR="$ac_prog"
5633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5634 break 2
5636 done
5637 done
5638 IFS=$as_save_IFS
5642 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5643 if test -n "$ac_ct_AR"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5645 $as_echo "$ac_ct_AR" >&6; }
5646 else
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5652 test -n "$ac_ct_AR" && break
5653 done
5655 if test "x$ac_ct_AR" = x; then
5656 AR="ar"
5657 else
5658 case $cross_compiling:$ac_tool_warned in
5659 yes:)
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5662 ac_tool_warned=yes ;;
5663 esac
5664 AR=$ac_ct_AR
5668 if test -n "$ac_tool_prefix"; then
5669 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5670 set dummy ${ac_tool_prefix}strip; ac_word=$2
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5672 $as_echo_n "checking for $ac_word... " >&6; }
5673 if ${ac_cv_prog_STRIP+:} false; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 if test -n "$STRIP"; then
5677 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5678 else
5679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5680 for as_dir in $PATH
5682 IFS=$as_save_IFS
5683 test -z "$as_dir" && as_dir=.
5684 for ac_exec_ext in '' $ac_executable_extensions; do
5685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5686 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 break 2
5690 done
5691 done
5692 IFS=$as_save_IFS
5696 STRIP=$ac_cv_prog_STRIP
5697 if test -n "$STRIP"; then
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5699 $as_echo "$STRIP" >&6; }
5700 else
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5702 $as_echo "no" >&6; }
5707 if test -z "$ac_cv_prog_STRIP"; then
5708 ac_ct_STRIP=$STRIP
5709 # Extract the first word of "strip", so it can be a program name with args.
5710 set dummy strip; ac_word=$2
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 $as_echo_n "checking for $ac_word... " >&6; }
5713 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5714 $as_echo_n "(cached) " >&6
5715 else
5716 if test -n "$ac_ct_STRIP"; then
5717 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5718 else
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH
5722 IFS=$as_save_IFS
5723 test -z "$as_dir" && as_dir=.
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5726 ac_cv_prog_ac_ct_STRIP="strip"
5727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728 break 2
5730 done
5731 done
5732 IFS=$as_save_IFS
5736 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5737 if test -n "$ac_ct_STRIP"; then
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5739 $as_echo "$ac_ct_STRIP" >&6; }
5740 else
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742 $as_echo "no" >&6; }
5745 if test "x$ac_ct_STRIP" = x; then
5746 STRIP="strip"
5747 else
5748 case $cross_compiling:$ac_tool_warned in
5749 yes:)
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5752 ac_tool_warned=yes ;;
5753 esac
5754 STRIP=$ac_ct_STRIP
5756 else
5757 STRIP="$ac_cv_prog_STRIP"
5760 ARFLAGS=rc
5762 if test -n "$ac_tool_prefix"; then
5763 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5764 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_RANLIB+:} false; then :
5768 $as_echo_n "(cached) " >&6
5769 else
5770 if test -n "$RANLIB"; then
5771 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5772 else
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 for as_dir in $PATH
5776 IFS=$as_save_IFS
5777 test -z "$as_dir" && as_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5780 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 break 2
5784 done
5785 done
5786 IFS=$as_save_IFS
5790 RANLIB=$ac_cv_prog_RANLIB
5791 if test -n "$RANLIB"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5793 $as_echo "$RANLIB" >&6; }
5794 else
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5801 if test -z "$ac_cv_prog_RANLIB"; then
5802 ac_ct_RANLIB=$RANLIB
5803 # Extract the first word of "ranlib", so it can be a program name with args.
5804 set dummy ranlib; ac_word=$2
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5806 $as_echo_n "checking for $ac_word... " >&6; }
5807 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5808 $as_echo_n "(cached) " >&6
5809 else
5810 if test -n "$ac_ct_RANLIB"; then
5811 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5812 else
5813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5814 for as_dir in $PATH
5816 IFS=$as_save_IFS
5817 test -z "$as_dir" && as_dir=.
5818 for ac_exec_ext in '' $ac_executable_extensions; do
5819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5820 ac_cv_prog_ac_ct_RANLIB="ranlib"
5821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 break 2
5824 done
5825 done
5826 IFS=$as_save_IFS
5830 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5831 if test -n "$ac_ct_RANLIB"; then
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5833 $as_echo "$ac_ct_RANLIB" >&6; }
5834 else
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5836 $as_echo "no" >&6; }
5839 if test "x$ac_ct_RANLIB" = x; then
5840 RANLIB=":"
5841 else
5842 case $cross_compiling:$ac_tool_warned in
5843 yes:)
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5846 ac_tool_warned=yes ;;
5847 esac
5848 RANLIB=$ac_ct_RANLIB
5850 else
5851 RANLIB="$ac_cv_prog_RANLIB"
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5855 $as_echo_n "checking whether ln -s works... " >&6; }
5856 LN_S=$as_ln_s
5857 if test "$LN_S" = "ln -s"; then
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5859 $as_echo "yes" >&6; }
5860 else
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5862 $as_echo "no, using $LN_S" >&6; }
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5866 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5867 if ${ac_cv_path_GREP+:} false; then :
5868 $as_echo_n "(cached) " >&6
5869 else
5870 if test -z "$GREP"; then
5871 ac_path_GREP_found=false
5872 # Loop through the user's path and test for each of PROGNAME-LIST
5873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5874 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5876 IFS=$as_save_IFS
5877 test -z "$as_dir" && as_dir=.
5878 for ac_prog in grep ggrep; do
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5881 as_fn_executable_p "$ac_path_GREP" || continue
5882 # Check for GNU ac_path_GREP and select it if it is found.
5883 # Check for GNU $ac_path_GREP
5884 case `"$ac_path_GREP" --version 2>&1` in
5885 *GNU*)
5886 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5888 ac_count=0
5889 $as_echo_n 0123456789 >"conftest.in"
5890 while :
5892 cat "conftest.in" "conftest.in" >"conftest.tmp"
5893 mv "conftest.tmp" "conftest.in"
5894 cp "conftest.in" "conftest.nl"
5895 $as_echo 'GREP' >> "conftest.nl"
5896 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5897 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5898 as_fn_arith $ac_count + 1 && ac_count=$as_val
5899 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5900 # Best one so far, save it but keep looking for a better one
5901 ac_cv_path_GREP="$ac_path_GREP"
5902 ac_path_GREP_max=$ac_count
5904 # 10*(2^10) chars as input seems more than enough
5905 test $ac_count -gt 10 && break
5906 done
5907 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5908 esac
5910 $ac_path_GREP_found && break 3
5911 done
5912 done
5913 done
5914 IFS=$as_save_IFS
5915 if test -z "$ac_cv_path_GREP"; then
5916 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5918 else
5919 ac_cv_path_GREP=$GREP
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5924 $as_echo "$ac_cv_path_GREP" >&6; }
5925 GREP="$ac_cv_path_GREP"
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5929 $as_echo_n "checking for egrep... " >&6; }
5930 if ${ac_cv_path_EGREP+:} false; then :
5931 $as_echo_n "(cached) " >&6
5932 else
5933 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5934 then ac_cv_path_EGREP="$GREP -E"
5935 else
5936 if test -z "$EGREP"; then
5937 ac_path_EGREP_found=false
5938 # Loop through the user's path and test for each of PROGNAME-LIST
5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5940 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5942 IFS=$as_save_IFS
5943 test -z "$as_dir" && as_dir=.
5944 for ac_prog in egrep; do
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5947 as_fn_executable_p "$ac_path_EGREP" || continue
5948 # Check for GNU ac_path_EGREP and select it if it is found.
5949 # Check for GNU $ac_path_EGREP
5950 case `"$ac_path_EGREP" --version 2>&1` in
5951 *GNU*)
5952 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5954 ac_count=0
5955 $as_echo_n 0123456789 >"conftest.in"
5956 while :
5958 cat "conftest.in" "conftest.in" >"conftest.tmp"
5959 mv "conftest.tmp" "conftest.in"
5960 cp "conftest.in" "conftest.nl"
5961 $as_echo 'EGREP' >> "conftest.nl"
5962 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5963 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5964 as_fn_arith $ac_count + 1 && ac_count=$as_val
5965 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5966 # Best one so far, save it but keep looking for a better one
5967 ac_cv_path_EGREP="$ac_path_EGREP"
5968 ac_path_EGREP_max=$ac_count
5970 # 10*(2^10) chars as input seems more than enough
5971 test $ac_count -gt 10 && break
5972 done
5973 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5974 esac
5976 $ac_path_EGREP_found && break 3
5977 done
5978 done
5979 done
5980 IFS=$as_save_IFS
5981 if test -z "$ac_cv_path_EGREP"; then
5982 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5984 else
5985 ac_cv_path_EGREP=$EGREP
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5991 $as_echo "$ac_cv_path_EGREP" >&6; }
5992 EGREP="$ac_cv_path_EGREP"
5995 # Extract the first word of "ldconfig", so it can be a program name with args.
5996 set dummy ldconfig; ac_word=$2
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5998 $as_echo_n "checking for $ac_word... " >&6; }
5999 if ${ac_cv_path_LDCONFIG+:} false; then :
6000 $as_echo_n "(cached) " >&6
6001 else
6002 case $LDCONFIG in
6003 [\\/]* | ?:[\\/]*)
6004 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008 for as_dir in /sbin /usr/sbin $PATH
6010 IFS=$as_save_IFS
6011 test -z "$as_dir" && as_dir=.
6012 for ac_exec_ext in '' $ac_executable_extensions; do
6013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6014 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6016 break 2
6018 done
6019 done
6020 IFS=$as_save_IFS
6022 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6024 esac
6026 LDCONFIG=$ac_cv_path_LDCONFIG
6027 if test -n "$LDCONFIG"; then
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6029 $as_echo "$LDCONFIG" >&6; }
6030 else
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6032 $as_echo "no" >&6; }
6036 for ac_prog in msgfmt
6038 # Extract the first word of "$ac_prog", so it can be a program name with args.
6039 set dummy $ac_prog; ac_word=$2
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6041 $as_echo_n "checking for $ac_word... " >&6; }
6042 if ${ac_cv_prog_MSGFMT+:} false; then :
6043 $as_echo_n "(cached) " >&6
6044 else
6045 if test -n "$MSGFMT"; then
6046 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6047 else
6048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6049 for as_dir in $PATH
6051 IFS=$as_save_IFS
6052 test -z "$as_dir" && as_dir=.
6053 for ac_exec_ext in '' $ac_executable_extensions; do
6054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6055 ac_cv_prog_MSGFMT="$ac_prog"
6056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6057 break 2
6059 done
6060 done
6061 IFS=$as_save_IFS
6065 MSGFMT=$ac_cv_prog_MSGFMT
6066 if test -n "$MSGFMT"; then
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6068 $as_echo "$MSGFMT" >&6; }
6069 else
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6071 $as_echo "no" >&6; }
6075 test -n "$MSGFMT" && break
6076 done
6077 test -n "$MSGFMT" || MSGFMT="false"
6079 if ${ac_tool_prefix+:} false; then :
6080 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6081 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6083 $as_echo_n "checking for $ac_word... " >&6; }
6084 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6085 $as_echo_n "(cached) " >&6
6086 else
6087 if test -n "$PKG_CONFIG"; then
6088 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6089 else
6090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6091 for as_dir in $PATH
6093 IFS=$as_save_IFS
6094 test -z "$as_dir" && as_dir=.
6095 for ac_exec_ext in '' $ac_executable_extensions; do
6096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6097 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6099 break 2
6101 done
6102 done
6103 IFS=$as_save_IFS
6107 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6108 if test -n "$PKG_CONFIG"; then
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6110 $as_echo "$PKG_CONFIG" >&6; }
6111 else
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6113 $as_echo "no" >&6; }
6118 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6119 if test "x$cross_compiling" = xyes; then :
6121 else
6122 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6123 # Extract the first word of "pkg-config", so it can be a program name with args.
6124 set dummy pkg-config; ac_word=$2
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 $as_echo_n "checking for $ac_word... " >&6; }
6127 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6128 $as_echo_n "(cached) " >&6
6129 else
6130 if test -n "$PKG_CONFIG"; then
6131 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6132 else
6133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134 for as_dir in $PATH
6136 IFS=$as_save_IFS
6137 test -z "$as_dir" && as_dir=.
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_PKG_CONFIG="pkg-config"
6141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6142 break 2
6144 done
6145 done
6146 IFS=$as_save_IFS
6150 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6151 if test -n "$PKG_CONFIG"; then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6153 $as_echo "$PKG_CONFIG" >&6; }
6154 else
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 $as_echo "no" >&6; }
6161 else
6162 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6165 if test "x$enable_maintainer_mode" != "xyes"
6166 then
6167 FONTFORGE=""
6168 RSVG=""
6169 CONVERT=""
6170 ICOTOOL=""
6171 else
6172 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6173 for ac_prog in fontforge
6175 # Extract the first word of "$ac_prog", so it can be a program name with args.
6176 set dummy $ac_prog; ac_word=$2
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6178 $as_echo_n "checking for $ac_word... " >&6; }
6179 if ${ac_cv_prog_FONTFORGE+:} false; then :
6180 $as_echo_n "(cached) " >&6
6181 else
6182 if test -n "$FONTFORGE"; then
6183 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6184 else
6185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6186 for as_dir in $PATH
6188 IFS=$as_save_IFS
6189 test -z "$as_dir" && as_dir=.
6190 for ac_exec_ext in '' $ac_executable_extensions; do
6191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6192 ac_cv_prog_FONTFORGE="$ac_prog"
6193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6194 break 2
6196 done
6197 done
6198 IFS=$as_save_IFS
6202 FONTFORGE=$ac_cv_prog_FONTFORGE
6203 if test -n "$FONTFORGE"; then
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6205 $as_echo "$FONTFORGE" >&6; }
6206 else
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6208 $as_echo "no" >&6; }
6212 test -n "$FONTFORGE" && break
6213 done
6214 test -n "$FONTFORGE" || FONTFORGE="false"
6216 for ac_prog in rsvg-convert rsvg
6218 # Extract the first word of "$ac_prog", so it can be a program name with args.
6219 set dummy $ac_prog; ac_word=$2
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6221 $as_echo_n "checking for $ac_word... " >&6; }
6222 if ${ac_cv_prog_RSVG+:} false; then :
6223 $as_echo_n "(cached) " >&6
6224 else
6225 if test -n "$RSVG"; then
6226 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6227 else
6228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6229 for as_dir in $PATH
6231 IFS=$as_save_IFS
6232 test -z "$as_dir" && as_dir=.
6233 for ac_exec_ext in '' $ac_executable_extensions; do
6234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6235 ac_cv_prog_RSVG="$ac_prog"
6236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6237 break 2
6239 done
6240 done
6241 IFS=$as_save_IFS
6245 RSVG=$ac_cv_prog_RSVG
6246 if test -n "$RSVG"; then
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6248 $as_echo "$RSVG" >&6; }
6249 else
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6251 $as_echo "no" >&6; }
6255 test -n "$RSVG" && break
6256 done
6257 test -n "$RSVG" || RSVG="false"
6259 for ac_prog in convert
6261 # Extract the first word of "$ac_prog", so it can be a program name with args.
6262 set dummy $ac_prog; ac_word=$2
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6264 $as_echo_n "checking for $ac_word... " >&6; }
6265 if ${ac_cv_prog_CONVERT+:} false; then :
6266 $as_echo_n "(cached) " >&6
6267 else
6268 if test -n "$CONVERT"; then
6269 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6270 else
6271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6272 for as_dir in $PATH
6274 IFS=$as_save_IFS
6275 test -z "$as_dir" && as_dir=.
6276 for ac_exec_ext in '' $ac_executable_extensions; do
6277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6278 ac_cv_prog_CONVERT="$ac_prog"
6279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6280 break 2
6282 done
6283 done
6284 IFS=$as_save_IFS
6288 CONVERT=$ac_cv_prog_CONVERT
6289 if test -n "$CONVERT"; then
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6291 $as_echo "$CONVERT" >&6; }
6292 else
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6294 $as_echo "no" >&6; }
6298 test -n "$CONVERT" && break
6299 done
6300 test -n "$CONVERT" || CONVERT="false"
6302 for ac_prog in icotool
6304 # Extract the first word of "$ac_prog", so it can be a program name with args.
6305 set dummy $ac_prog; ac_word=$2
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6307 $as_echo_n "checking for $ac_word... " >&6; }
6308 if ${ac_cv_prog_ICOTOOL+:} false; then :
6309 $as_echo_n "(cached) " >&6
6310 else
6311 if test -n "$ICOTOOL"; then
6312 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6313 else
6314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315 for as_dir in $PATH
6317 IFS=$as_save_IFS
6318 test -z "$as_dir" && as_dir=.
6319 for ac_exec_ext in '' $ac_executable_extensions; do
6320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6321 ac_cv_prog_ICOTOOL="$ac_prog"
6322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6323 break 2
6325 done
6326 done
6327 IFS=$as_save_IFS
6331 ICOTOOL=$ac_cv_prog_ICOTOOL
6332 if test -n "$ICOTOOL"; then
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6334 $as_echo "$ICOTOOL" >&6; }
6335 else
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6337 $as_echo "no" >&6; }
6341 test -n "$ICOTOOL" && break
6342 done
6343 test -n "$ICOTOOL" || ICOTOOL="false"
6345 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6346 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6348 if test "$CONVERT" = false
6349 then
6350 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6351 else
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6353 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6354 convert_version=`convert --version | head -n1`
6355 if test "x$convert_version" != "x"
6356 then
6357 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6358 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6359 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6360 then
6361 CONVERT=false
6364 if test "$CONVERT" = false
6365 then
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6367 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6368 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6369 else
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6371 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6375 if test "$ICOTOOL" = false
6376 then
6377 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6378 else
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6380 $as_echo_n "checking for recent enough icotool... " >&6; }
6381 icotool_version=`icotool --version | head -n1`
6382 if test "x$icotool_version" != "x"
6383 then
6384 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6385 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6386 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6387 then
6388 ICOTOOL=false
6389 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6392 if test "$ICOTOOL" = false
6393 then
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6395 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6396 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6397 else
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6399 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6403 with_gettext=yes
6404 with_gettextpo=yes
6405 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6408 test "x$with_gettext" != xno || MSGFMT=false
6409 if test "$MSGFMT" != "false"
6410 then
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6412 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6413 cat >conftest.po <<EOF
6414 # comment
6415 msgctxt "ctxt"
6416 msgid "id"
6417 msgstr "str"
6419 if $MSGFMT -o /dev/null conftest.po 2>&5
6420 then
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6422 $as_echo "yes" >&6; }
6423 else
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6425 $as_echo "no" >&6; }
6426 MSGFMT=false
6429 if test "$MSGFMT" = false; then :
6430 case "x$with_gettext" in
6431 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6432 xno) ;;
6433 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6434 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6435 esac
6436 enable_po=${enable_po:-no}
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6441 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6442 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6443 $as_echo_n "(cached) " >&6
6444 else
6445 ac_check_lib_save_LIBS=$LIBS
6446 LIBS="-li386 $LIBS"
6447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6448 /* end confdefs.h. */
6450 /* Override any GCC internal prototype to avoid an error.
6451 Use char because int might match the return type of a GCC
6452 builtin and then its argument prototype would still apply. */
6453 #ifdef __cplusplus
6454 extern "C"
6455 #endif
6456 char i386_set_ldt ();
6458 main ()
6460 return i386_set_ldt ();
6462 return 0;
6464 _ACEOF
6465 if ac_fn_c_try_link "$LINENO"; then :
6466 ac_cv_lib_i386_i386_set_ldt=yes
6467 else
6468 ac_cv_lib_i386_i386_set_ldt=no
6470 rm -f core conftest.err conftest.$ac_objext \
6471 conftest$ac_exeext conftest.$ac_ext
6472 LIBS=$ac_check_lib_save_LIBS
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6475 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6476 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6477 cat >>confdefs.h <<_ACEOF
6478 #define HAVE_LIBI386 1
6479 _ACEOF
6481 LIBS="-li386 $LIBS"
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6486 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6487 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6488 $as_echo_n "(cached) " >&6
6489 else
6490 ac_check_lib_save_LIBS=$LIBS
6491 LIBS="-lossaudio $LIBS"
6492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6493 /* end confdefs.h. */
6495 /* Override any GCC internal prototype to avoid an error.
6496 Use char because int might match the return type of a GCC
6497 builtin and then its argument prototype would still apply. */
6498 #ifdef __cplusplus
6499 extern "C"
6500 #endif
6501 char _oss_ioctl ();
6503 main ()
6505 return _oss_ioctl ();
6507 return 0;
6509 _ACEOF
6510 if ac_fn_c_try_link "$LINENO"; then :
6511 ac_cv_lib_ossaudio__oss_ioctl=yes
6512 else
6513 ac_cv_lib_ossaudio__oss_ioctl=no
6515 rm -f core conftest.err conftest.$ac_objext \
6516 conftest$ac_exeext conftest.$ac_ext
6517 LIBS=$ac_check_lib_save_LIBS
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6520 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6521 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6522 cat >>confdefs.h <<_ACEOF
6523 #define HAVE_LIBOSSAUDIO 1
6524 _ACEOF
6526 LIBS="-lossaudio $LIBS"
6531 OPENGL_LIBS=""
6535 # Check whether --enable-largefile was given.
6536 if test "${enable_largefile+set}" = set; then :
6537 enableval=$enable_largefile;
6540 if test "$enable_largefile" != no; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6543 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6544 if ${ac_cv_sys_largefile_CC+:} false; then :
6545 $as_echo_n "(cached) " >&6
6546 else
6547 ac_cv_sys_largefile_CC=no
6548 if test "$GCC" != yes; then
6549 ac_save_CC=$CC
6550 while :; do
6551 # IRIX 6.2 and later do not support large files by default,
6552 # so use the C compiler's -n32 option if that helps.
6553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6554 /* end confdefs.h. */
6555 #include <sys/types.h>
6556 /* Check that off_t can represent 2**63 - 1 correctly.
6557 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6558 since some C++ compilers masquerading as C compilers
6559 incorrectly reject 9223372036854775807. */
6560 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6561 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6562 && LARGE_OFF_T % 2147483647 == 1)
6563 ? 1 : -1];
6565 main ()
6569 return 0;
6571 _ACEOF
6572 if ac_fn_c_try_compile "$LINENO"; then :
6573 break
6575 rm -f core conftest.err conftest.$ac_objext
6576 CC="$CC -n32"
6577 if ac_fn_c_try_compile "$LINENO"; then :
6578 ac_cv_sys_largefile_CC=' -n32'; break
6580 rm -f core conftest.err conftest.$ac_objext
6581 break
6582 done
6583 CC=$ac_save_CC
6584 rm -f conftest.$ac_ext
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6588 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6589 if test "$ac_cv_sys_largefile_CC" != no; then
6590 CC=$CC$ac_cv_sys_largefile_CC
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6594 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6595 if ${ac_cv_sys_file_offset_bits+:} false; then :
6596 $as_echo_n "(cached) " >&6
6597 else
6598 while :; do
6599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6600 /* end confdefs.h. */
6601 #include <sys/types.h>
6602 /* Check that off_t can represent 2**63 - 1 correctly.
6603 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6604 since some C++ compilers masquerading as C compilers
6605 incorrectly reject 9223372036854775807. */
6606 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6607 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6608 && LARGE_OFF_T % 2147483647 == 1)
6609 ? 1 : -1];
6611 main ()
6615 return 0;
6617 _ACEOF
6618 if ac_fn_c_try_compile "$LINENO"; then :
6619 ac_cv_sys_file_offset_bits=no; break
6621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6623 /* end confdefs.h. */
6624 #define _FILE_OFFSET_BITS 64
6625 #include <sys/types.h>
6626 /* Check that off_t can represent 2**63 - 1 correctly.
6627 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6628 since some C++ compilers masquerading as C compilers
6629 incorrectly reject 9223372036854775807. */
6630 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6631 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6632 && LARGE_OFF_T % 2147483647 == 1)
6633 ? 1 : -1];
6635 main ()
6639 return 0;
6641 _ACEOF
6642 if ac_fn_c_try_compile "$LINENO"; then :
6643 ac_cv_sys_file_offset_bits=64; break
6645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6646 ac_cv_sys_file_offset_bits=unknown
6647 break
6648 done
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6651 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6652 case $ac_cv_sys_file_offset_bits in #(
6653 no | unknown) ;;
6655 cat >>confdefs.h <<_ACEOF
6656 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6657 _ACEOF
6659 esac
6660 rm -rf conftest*
6661 if test $ac_cv_sys_file_offset_bits = unknown; then
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6663 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6664 if ${ac_cv_sys_large_files+:} false; then :
6665 $as_echo_n "(cached) " >&6
6666 else
6667 while :; do
6668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6669 /* end confdefs.h. */
6670 #include <sys/types.h>
6671 /* Check that off_t can represent 2**63 - 1 correctly.
6672 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6673 since some C++ compilers masquerading as C compilers
6674 incorrectly reject 9223372036854775807. */
6675 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6676 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6677 && LARGE_OFF_T % 2147483647 == 1)
6678 ? 1 : -1];
6680 main ()
6684 return 0;
6686 _ACEOF
6687 if ac_fn_c_try_compile "$LINENO"; then :
6688 ac_cv_sys_large_files=no; break
6690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6692 /* end confdefs.h. */
6693 #define _LARGE_FILES 1
6694 #include <sys/types.h>
6695 /* Check that off_t can represent 2**63 - 1 correctly.
6696 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6697 since some C++ compilers masquerading as C compilers
6698 incorrectly reject 9223372036854775807. */
6699 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6700 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6701 && LARGE_OFF_T % 2147483647 == 1)
6702 ? 1 : -1];
6704 main ()
6708 return 0;
6710 _ACEOF
6711 if ac_fn_c_try_compile "$LINENO"; then :
6712 ac_cv_sys_large_files=1; break
6714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6715 ac_cv_sys_large_files=unknown
6716 break
6717 done
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6720 $as_echo "$ac_cv_sys_large_files" >&6; }
6721 case $ac_cv_sys_large_files in #(
6722 no | unknown) ;;
6724 cat >>confdefs.h <<_ACEOF
6725 #define _LARGE_FILES $ac_cv_sys_large_files
6726 _ACEOF
6728 esac
6729 rm -rf conftest*
6736 ac_ext=c
6737 ac_cpp='$CPP $CPPFLAGS'
6738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6742 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6743 # On Suns, sometimes $CPP names a directory.
6744 if test -n "$CPP" && test -d "$CPP"; then
6745 CPP=
6747 if test -z "$CPP"; then
6748 if ${ac_cv_prog_CPP+:} false; then :
6749 $as_echo_n "(cached) " >&6
6750 else
6751 # Double quotes because CPP needs to be expanded
6752 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6754 ac_preproc_ok=false
6755 for ac_c_preproc_warn_flag in '' yes
6757 # Use a header file that comes with gcc, so configuring glibc
6758 # with a fresh cross-compiler works.
6759 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6760 # <limits.h> exists even on freestanding compilers.
6761 # On the NeXT, cc -E runs the code through the compiler's parser,
6762 # not just through cpp. "Syntax error" is here to catch this case.
6763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6764 /* end confdefs.h. */
6765 #ifdef __STDC__
6766 # include <limits.h>
6767 #else
6768 # include <assert.h>
6769 #endif
6770 Syntax error
6771 _ACEOF
6772 if ac_fn_c_try_cpp "$LINENO"; then :
6774 else
6775 # Broken: fails on valid input.
6776 continue
6778 rm -f conftest.err conftest.i conftest.$ac_ext
6780 # OK, works on sane cases. Now check whether nonexistent headers
6781 # can be detected and how.
6782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6783 /* end confdefs.h. */
6784 #include <ac_nonexistent.h>
6785 _ACEOF
6786 if ac_fn_c_try_cpp "$LINENO"; then :
6787 # Broken: success on invalid input.
6788 continue
6789 else
6790 # Passes both tests.
6791 ac_preproc_ok=:
6792 break
6794 rm -f conftest.err conftest.i conftest.$ac_ext
6796 done
6797 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6798 rm -f conftest.i conftest.err conftest.$ac_ext
6799 if $ac_preproc_ok; then :
6800 break
6803 done
6804 ac_cv_prog_CPP=$CPP
6807 CPP=$ac_cv_prog_CPP
6808 else
6809 ac_cv_prog_CPP=$CPP
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6812 $as_echo "$CPP" >&6; }
6813 ac_preproc_ok=false
6814 for ac_c_preproc_warn_flag in '' yes
6816 # Use a header file that comes with gcc, so configuring glibc
6817 # with a fresh cross-compiler works.
6818 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6819 # <limits.h> exists even on freestanding compilers.
6820 # On the NeXT, cc -E runs the code through the compiler's parser,
6821 # not just through cpp. "Syntax error" is here to catch this case.
6822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6823 /* end confdefs.h. */
6824 #ifdef __STDC__
6825 # include <limits.h>
6826 #else
6827 # include <assert.h>
6828 #endif
6829 Syntax error
6830 _ACEOF
6831 if ac_fn_c_try_cpp "$LINENO"; then :
6833 else
6834 # Broken: fails on valid input.
6835 continue
6837 rm -f conftest.err conftest.i conftest.$ac_ext
6839 # OK, works on sane cases. Now check whether nonexistent headers
6840 # can be detected and how.
6841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6842 /* end confdefs.h. */
6843 #include <ac_nonexistent.h>
6844 _ACEOF
6845 if ac_fn_c_try_cpp "$LINENO"; then :
6846 # Broken: success on invalid input.
6847 continue
6848 else
6849 # Passes both tests.
6850 ac_preproc_ok=:
6851 break
6853 rm -f conftest.err conftest.i conftest.$ac_ext
6855 done
6856 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6857 rm -f conftest.i conftest.err conftest.$ac_ext
6858 if $ac_preproc_ok; then :
6860 else
6861 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6863 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6864 See \`config.log' for more details" "$LINENO" 5; }
6867 ac_ext=c
6868 ac_cpp='$CPP $CPPFLAGS'
6869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6875 $as_echo_n "checking for ANSI C header files... " >&6; }
6876 if ${ac_cv_header_stdc+:} false; then :
6877 $as_echo_n "(cached) " >&6
6878 else
6879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6880 /* end confdefs.h. */
6881 #include <stdlib.h>
6882 #include <stdarg.h>
6883 #include <string.h>
6884 #include <float.h>
6887 main ()
6891 return 0;
6893 _ACEOF
6894 if ac_fn_c_try_compile "$LINENO"; then :
6895 ac_cv_header_stdc=yes
6896 else
6897 ac_cv_header_stdc=no
6899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6901 if test $ac_cv_header_stdc = yes; then
6902 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6904 /* end confdefs.h. */
6905 #include <string.h>
6907 _ACEOF
6908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6909 $EGREP "memchr" >/dev/null 2>&1; then :
6911 else
6912 ac_cv_header_stdc=no
6914 rm -f conftest*
6918 if test $ac_cv_header_stdc = yes; then
6919 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6921 /* end confdefs.h. */
6922 #include <stdlib.h>
6924 _ACEOF
6925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6926 $EGREP "free" >/dev/null 2>&1; then :
6928 else
6929 ac_cv_header_stdc=no
6931 rm -f conftest*
6935 if test $ac_cv_header_stdc = yes; then
6936 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6937 if test "$cross_compiling" = yes; then :
6939 else
6940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6941 /* end confdefs.h. */
6942 #include <ctype.h>
6943 #include <stdlib.h>
6944 #if ((' ' & 0x0FF) == 0x020)
6945 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6946 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6947 #else
6948 # define ISLOWER(c) \
6949 (('a' <= (c) && (c) <= 'i') \
6950 || ('j' <= (c) && (c) <= 'r') \
6951 || ('s' <= (c) && (c) <= 'z'))
6952 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6953 #endif
6955 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6957 main ()
6959 int i;
6960 for (i = 0; i < 256; i++)
6961 if (XOR (islower (i), ISLOWER (i))
6962 || toupper (i) != TOUPPER (i))
6963 return 2;
6964 return 0;
6966 _ACEOF
6967 if ac_fn_c_try_run "$LINENO"; then :
6969 else
6970 ac_cv_header_stdc=no
6972 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6973 conftest.$ac_objext conftest.beam conftest.$ac_ext
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6979 $as_echo "$ac_cv_header_stdc" >&6; }
6980 if test $ac_cv_header_stdc = yes; then
6982 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6986 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6987 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6988 inttypes.h stdint.h unistd.h
6989 do :
6990 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6991 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6993 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6994 cat >>confdefs.h <<_ACEOF
6995 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6996 _ACEOF
7000 done
7003 for ac_header in \
7004 AL/al.h \
7005 ApplicationServices/ApplicationServices.h \
7006 AudioToolbox/AudioConverter.h \
7007 AudioUnit/AudioUnit.h \
7008 AudioUnit/AudioComponent.h \
7009 CL/cl.h \
7010 Carbon/Carbon.h \
7011 CommonCrypto/CommonCryptor.h \
7012 CoreAudio/CoreAudio.h \
7013 CoreServices/CoreServices.h \
7014 DiskArbitration/DiskArbitration.h \
7015 EGL/egl.h \
7016 IOKit/IOKitLib.h \
7017 IOKit/hid/IOHIDLib.h \
7018 OpenAL/al.h \
7019 OpenCL/opencl.h \
7020 QuickTime/ImageCompression.h \
7021 Security/Security.h \
7022 alias.h \
7023 alsa/asoundlib.h \
7024 arpa/inet.h \
7025 arpa/nameser.h \
7026 asm/types.h \
7027 asm/user.h \
7028 curses.h \
7029 direct.h \
7030 dirent.h \
7031 dlfcn.h \
7032 elf.h \
7033 float.h \
7034 fnmatch.h \
7035 getopt.h \
7036 gettext-po.h \
7037 grp.h \
7038 gsm.h \
7039 gsm/gsm.h \
7040 ieeefp.h \
7041 inet/mib2.h \
7042 io.h \
7043 kstat.h \
7044 libproc.h \
7045 link.h \
7046 linux/cdrom.h \
7047 linux/compiler.h \
7048 linux/filter.h \
7049 linux/hdreg.h \
7050 linux/hidraw.h \
7051 linux/input.h \
7052 linux/ioctl.h \
7053 linux/joystick.h \
7054 linux/major.h \
7055 linux/param.h \
7056 linux/serial.h \
7057 linux/types.h \
7058 linux/ucdrom.h \
7059 lwp.h \
7060 mach-o/nlist.h \
7061 mach-o/loader.h \
7062 mach/mach.h \
7063 mach/machine.h \
7064 machine/cpu.h \
7065 machine/limits.h \
7066 machine/sysarch.h \
7067 mntent.h \
7068 ncurses.h \
7069 netdb.h \
7070 netinet/in.h \
7071 netinet/in_systm.h \
7072 netinet/tcp.h \
7073 netinet/tcp_fsm.h \
7074 pcap/pcap.h \
7075 poll.h \
7076 port.h \
7077 process.h \
7078 pthread.h \
7079 pwd.h \
7080 sched.h \
7081 scsi/scsi.h \
7082 scsi/scsi_ioctl.h \
7083 scsi/sg.h \
7084 stdbool.h \
7085 stdint.h \
7086 stropts.h \
7087 sys/asoundlib.h \
7088 sys/attr.h \
7089 sys/auxv.h \
7090 sys/cdio.h \
7091 sys/elf32.h \
7092 sys/epoll.h \
7093 sys/event.h \
7094 sys/exec_elf.h \
7095 sys/filio.h \
7096 sys/inotify.h \
7097 sys/ioctl.h \
7098 sys/ipc.h \
7099 sys/limits.h \
7100 sys/link.h \
7101 sys/mman.h \
7102 sys/modem.h \
7103 sys/msg.h \
7104 sys/mtio.h \
7105 sys/param.h \
7106 sys/poll.h \
7107 sys/prctl.h \
7108 sys/protosw.h \
7109 sys/ptrace.h \
7110 sys/queue.h \
7111 sys/resource.h \
7112 sys/scsiio.h \
7113 sys/shm.h \
7114 sys/signal.h \
7115 sys/socket.h \
7116 sys/socketvar.h \
7117 sys/sockio.h \
7118 sys/statvfs.h \
7119 sys/strtio.h \
7120 sys/syscall.h \
7121 sys/sysinfo.h \
7122 sys/tihdr.h \
7123 sys/time.h \
7124 sys/timeout.h \
7125 sys/times.h \
7126 sys/uio.h \
7127 sys/user.h \
7128 sys/utsname.h \
7129 sys/vnode.h \
7130 sys/wait.h \
7131 syscall.h \
7132 termios.h \
7133 unistd.h \
7134 utime.h \
7135 valgrind/memcheck.h \
7136 valgrind/valgrind.h \
7137 zlib.h
7139 do :
7140 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7141 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7142 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7143 cat >>confdefs.h <<_ACEOF
7144 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7145 _ACEOF
7149 done
7151 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7152 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7154 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7159 if test $ac_cv_header_sys_mkdev_h = no; then
7160 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7161 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7163 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7170 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7171 if ${ac_cv_header_stat_broken+:} false; then :
7172 $as_echo_n "(cached) " >&6
7173 else
7174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7175 /* end confdefs.h. */
7176 #include <sys/types.h>
7177 #include <sys/stat.h>
7179 #if defined S_ISBLK && defined S_IFDIR
7180 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7181 #endif
7183 #if defined S_ISBLK && defined S_IFCHR
7184 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7185 #endif
7187 #if defined S_ISLNK && defined S_IFREG
7188 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7189 #endif
7191 #if defined S_ISSOCK && defined S_IFREG
7192 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7193 #endif
7195 _ACEOF
7196 if ac_fn_c_try_compile "$LINENO"; then :
7197 ac_cv_header_stat_broken=no
7198 else
7199 ac_cv_header_stat_broken=yes
7201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7204 $as_echo "$ac_cv_header_stat_broken" >&6; }
7205 if test $ac_cv_header_stat_broken = yes; then
7207 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7213 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7214 do :
7215 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7216 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7217 #ifdef HAVE_SYS_PARAM_H
7218 # include <sys/param.h>
7219 #endif
7221 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7222 cat >>confdefs.h <<_ACEOF
7223 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7224 _ACEOF
7228 done
7231 for ac_header in \
7232 netinet/ip.h \
7233 net/if.h \
7234 net/if_arp.h \
7235 net/if_dl.h \
7236 net/if_types.h \
7237 net/route.h \
7238 netinet/if_ether.h \
7239 netinet/if_inarp.h \
7240 netinet/in_pcb.h \
7241 netinet/ip_icmp.h \
7242 netinet/ip_var.h \
7243 netinet/udp.h \
7244 netipx/ipx.h \
7245 sys/un.h \
7247 do :
7248 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7249 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7250 #ifdef HAVE_SYS_SOCKET_H
7251 # include <sys/socket.h>
7252 #endif
7253 #ifdef HAVE_SYS_SOCKETVAR_H
7254 # include <sys/socketvar.h>
7255 #endif
7256 #ifdef HAVE_NET_ROUTE_H
7257 # include <net/route.h>
7258 #endif
7259 #ifdef HAVE_NETINET_IN_H
7260 # include <netinet/in.h>
7261 #endif
7262 #ifdef HAVE_NETINET_IN_SYSTM_H
7263 # include <netinet/in_systm.h>
7264 #endif
7265 #ifdef HAVE_NET_IF_H
7266 # include <net/if.h>
7267 #endif
7268 #ifdef HAVE_NETINET_IP_H
7269 # include <netinet/ip.h>
7270 #endif
7272 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7273 cat >>confdefs.h <<_ACEOF
7274 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7275 _ACEOF
7279 done
7282 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7283 do :
7284 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7285 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7286 #ifdef HAVE_ALIAS_H
7287 # include <alias.h>
7288 #endif
7289 #ifdef HAVE_SYS_SOCKET_H
7290 # include <sys/socket.h>
7291 #endif
7292 #ifdef HAVE_SYS_SOCKETVAR_H
7293 # include <sys/socketvar.h>
7294 #endif
7295 #ifdef HAVE_SYS_TIMEOUT_H
7296 # include <sys/timeout.h>
7297 #endif
7298 #ifdef HAVE_NETINET_IN_H
7299 # include <netinet/in.h>
7300 #endif
7301 #ifdef HAVE_NETINET_IN_SYSTM_H
7302 # include <netinet/in_systm.h>
7303 #endif
7304 #ifdef HAVE_NETINET_IP_H
7305 # include <netinet/ip.h>
7306 #endif
7307 #ifdef HAVE_NETINET_IP_VAR_H
7308 # include <netinet/ip_var.h>
7309 #endif
7310 #ifdef HAVE_NETINET_IP_ICMP_H
7311 # include <netinet/ip_icmp.h>
7312 #endif
7313 #ifdef HAVE_NETINET_UDP_H
7314 # include <netinet/udp.h>
7315 #endif
7316 #ifdef HAVE_NETINET_TCP_H
7317 # include <netinet/tcp.h>
7318 #endif
7319 #ifdef HAVE_NETINET_TCP_TIMER_H
7320 #include <netinet/tcp_timer.h>
7321 #endif
7323 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7324 cat >>confdefs.h <<_ACEOF
7325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7326 _ACEOF
7330 done
7333 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7334 do :
7335 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7336 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7337 #ifdef HAVE_ASM_TYPES_H
7338 # include <asm/types.h>
7339 #endif
7340 #ifdef HAVE_SYS_SOCKET_H
7341 # include <sys/socket.h>
7342 #endif
7343 #ifdef HAVE_LINUX_TYPES_H
7344 # include <linux/types.h>
7345 #endif
7347 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7348 cat >>confdefs.h <<_ACEOF
7349 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7350 _ACEOF
7354 done
7357 for ac_header in mach-o/dyld_images.h
7358 do :
7359 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7360 # include <stdbool.h>
7361 #endif
7362 #ifdef HAVE_STDINT_H
7363 # include <stdint.h>
7364 #endif
7366 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7367 cat >>confdefs.h <<_ACEOF
7368 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7369 _ACEOF
7373 done
7376 for ac_header in resolv.h
7377 do :
7378 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7379 #ifdef HAVE_SYS_SOCKET_H
7380 # include <sys/socket.h>
7381 #endif
7382 #ifdef HAVE_NETINET_IN_H
7383 # include <netinet/in.h>
7384 #endif
7385 #ifdef HAVE_ARPA_NAMESER_H
7386 # include <arpa/nameser.h>
7387 #endif
7389 if test "x$ac_cv_header_resolv_h" = xyes; then :
7390 cat >>confdefs.h <<_ACEOF
7391 #define HAVE_RESOLV_H 1
7392 _ACEOF
7396 done
7399 for ac_header in ifaddrs.h
7400 do :
7401 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7403 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7404 cat >>confdefs.h <<_ACEOF
7405 #define HAVE_IFADDRS_H 1
7406 _ACEOF
7410 done
7413 for ac_header in sys/ucontext.h
7414 do :
7415 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7417 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7418 cat >>confdefs.h <<_ACEOF
7419 #define HAVE_SYS_UCONTEXT_H 1
7420 _ACEOF
7424 done
7427 for ac_header in sys/thr.h
7428 do :
7429 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7430 #ifdef HAVE_SYS_UCONTEXT_H
7431 #include <sys/ucontext.h>
7432 #endif
7434 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7435 cat >>confdefs.h <<_ACEOF
7436 #define HAVE_SYS_THR_H 1
7437 _ACEOF
7441 done
7444 for ac_header in pthread_np.h
7445 do :
7446 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7447 #include <pthread.h>
7448 #endif
7450 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7451 cat >>confdefs.h <<_ACEOF
7452 #define HAVE_PTHREAD_NP_H 1
7453 _ACEOF
7457 done
7460 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7461 do :
7462 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7463 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7464 #include <sys/time.h>
7465 #endif
7466 #include <sys/types.h>
7467 #ifdef HAVE_ASM_TYPES_H
7468 #include <asm/types.h>
7469 #endif
7471 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7472 cat >>confdefs.h <<_ACEOF
7473 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7474 _ACEOF
7478 done
7481 for ac_header in libprocstat.h
7482 do :
7483 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7484 #include <sys/param.h>
7485 #endif
7486 #ifdef HAVE_SYS_QUEUE_H
7487 #include <sys/queue.h>
7488 #endif
7489 #ifdef HAVE_SYS_SOCKET_H
7490 #include <sys/socket.h>
7491 #endif
7493 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7494 cat >>confdefs.h <<_ACEOF
7495 #define HAVE_LIBPROCSTAT_H 1
7496 _ACEOF
7500 done
7504 DLLFLAGS="-D_REENTRANT"
7506 LDRPATH_INSTALL=""
7508 LDRPATH_LOCAL=""
7510 LDEXECFLAGS=""
7512 WINELOADER_LDFLAGS=""
7514 LIBEXT="so"
7515 DLLEXT=".so"
7516 IMPLIBEXT="def"
7517 # Extract the first word of "ldd", so it can be a program name with args.
7518 set dummy ldd; ac_word=$2
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7520 $as_echo_n "checking for $ac_word... " >&6; }
7521 if ${ac_cv_path_LDD+:} false; then :
7522 $as_echo_n "(cached) " >&6
7523 else
7524 case $LDD in
7525 [\\/]* | ?:[\\/]*)
7526 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7530 as_dummy="/sbin:/usr/sbin:$PATH"
7531 for as_dir in $as_dummy
7533 IFS=$as_save_IFS
7534 test -z "$as_dir" && as_dir=.
7535 for ac_exec_ext in '' $ac_executable_extensions; do
7536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7537 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7539 break 2
7541 done
7542 done
7543 IFS=$as_save_IFS
7545 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7547 esac
7549 LDD=$ac_cv_path_LDD
7550 if test -n "$LDD"; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7552 $as_echo "$LDD" >&6; }
7553 else
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7559 if test -n "$ac_tool_prefix"; then
7560 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7561 set dummy ${ac_tool_prefix}otool; ac_word=$2
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7563 $as_echo_n "checking for $ac_word... " >&6; }
7564 if ${ac_cv_prog_OTOOL+:} false; then :
7565 $as_echo_n "(cached) " >&6
7566 else
7567 if test -n "$OTOOL"; then
7568 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7569 else
7570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7571 for as_dir in $PATH
7573 IFS=$as_save_IFS
7574 test -z "$as_dir" && as_dir=.
7575 for ac_exec_ext in '' $ac_executable_extensions; do
7576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7577 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7579 break 2
7581 done
7582 done
7583 IFS=$as_save_IFS
7587 OTOOL=$ac_cv_prog_OTOOL
7588 if test -n "$OTOOL"; then
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7590 $as_echo "$OTOOL" >&6; }
7591 else
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7593 $as_echo "no" >&6; }
7598 if test -z "$ac_cv_prog_OTOOL"; then
7599 ac_ct_OTOOL=$OTOOL
7600 # Extract the first word of "otool", so it can be a program name with args.
7601 set dummy otool; ac_word=$2
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7603 $as_echo_n "checking for $ac_word... " >&6; }
7604 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7605 $as_echo_n "(cached) " >&6
7606 else
7607 if test -n "$ac_ct_OTOOL"; then
7608 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7609 else
7610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7611 for as_dir in $PATH
7613 IFS=$as_save_IFS
7614 test -z "$as_dir" && as_dir=.
7615 for ac_exec_ext in '' $ac_executable_extensions; do
7616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7617 ac_cv_prog_ac_ct_OTOOL="otool"
7618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7619 break 2
7621 done
7622 done
7623 IFS=$as_save_IFS
7627 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7628 if test -n "$ac_ct_OTOOL"; then
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7630 $as_echo "$ac_ct_OTOOL" >&6; }
7631 else
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7633 $as_echo "no" >&6; }
7636 if test "x$ac_ct_OTOOL" = x; then
7637 OTOOL="otool"
7638 else
7639 case $cross_compiling:$ac_tool_warned in
7640 yes:)
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7643 ac_tool_warned=yes ;;
7644 esac
7645 OTOOL=$ac_ct_OTOOL
7647 else
7648 OTOOL="$ac_cv_prog_OTOOL"
7651 if test -n "$ac_tool_prefix"; then
7652 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7653 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7655 $as_echo_n "checking for $ac_word... " >&6; }
7656 if ${ac_cv_prog_READELF+:} false; then :
7657 $as_echo_n "(cached) " >&6
7658 else
7659 if test -n "$READELF"; then
7660 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7661 else
7662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7663 for as_dir in $PATH
7665 IFS=$as_save_IFS
7666 test -z "$as_dir" && as_dir=.
7667 for ac_exec_ext in '' $ac_executable_extensions; do
7668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7669 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7671 break 2
7673 done
7674 done
7675 IFS=$as_save_IFS
7679 READELF=$ac_cv_prog_READELF
7680 if test -n "$READELF"; then
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7682 $as_echo "$READELF" >&6; }
7683 else
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7685 $as_echo "no" >&6; }
7690 if test -z "$ac_cv_prog_READELF"; then
7691 ac_ct_READELF=$READELF
7692 # Extract the first word of "readelf", so it can be a program name with args.
7693 set dummy readelf; ac_word=$2
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7695 $as_echo_n "checking for $ac_word... " >&6; }
7696 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7697 $as_echo_n "(cached) " >&6
7698 else
7699 if test -n "$ac_ct_READELF"; then
7700 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7701 else
7702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7703 for as_dir in $PATH
7705 IFS=$as_save_IFS
7706 test -z "$as_dir" && as_dir=.
7707 for ac_exec_ext in '' $ac_executable_extensions; do
7708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7709 ac_cv_prog_ac_ct_READELF="readelf"
7710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7711 break 2
7713 done
7714 done
7715 IFS=$as_save_IFS
7719 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7720 if test -n "$ac_ct_READELF"; then
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7722 $as_echo "$ac_ct_READELF" >&6; }
7723 else
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7725 $as_echo "no" >&6; }
7728 if test "x$ac_ct_READELF" = x; then
7729 READELF="true"
7730 else
7731 case $cross_compiling:$ac_tool_warned in
7732 yes:)
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7735 ac_tool_warned=yes ;;
7736 esac
7737 READELF=$ac_ct_READELF
7739 else
7740 READELF="$ac_cv_prog_READELF"
7743 wine_rules_file=conf$$rules.make
7744 rm -f $wine_rules_file
7745 SUBDIRS=""
7747 DISABLED_SUBDIRS=""
7749 CONFIGURE_TARGETS=""
7752 wine_fn_append_file ()
7754 as_fn_append $1 " \\$as_nl $2"
7757 wine_fn_append_rule ()
7759 $as_echo "$1" >>$wine_rules_file
7762 wine_fn_config_makefile ()
7764 wine_fn_append_file SUBDIRS $1
7765 if eval test \"x\$"$2"\" = x"no"; then :
7766 wine_fn_append_file DISABLED_SUBDIRS $1
7770 wine_fn_config_symlink ()
7772 ac_links=$@
7773 wine_fn_append_rule \
7774 "$ac_links:
7775 @./config.status \$@"
7776 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7779 wine_binary="wine"
7780 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7781 WINELOADER_PROGRAMS="$wine_binary"
7783 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7785 case $host_os in
7786 cygwin*|mingw32*)
7787 if test -n "$ac_tool_prefix"; then
7788 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7789 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7791 $as_echo_n "checking for $ac_word... " >&6; }
7792 if ${ac_cv_prog_DLLTOOL+:} false; then :
7793 $as_echo_n "(cached) " >&6
7794 else
7795 if test -n "$DLLTOOL"; then
7796 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7797 else
7798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7799 for as_dir in $PATH
7801 IFS=$as_save_IFS
7802 test -z "$as_dir" && as_dir=.
7803 for ac_exec_ext in '' $ac_executable_extensions; do
7804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7805 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7807 break 2
7809 done
7810 done
7811 IFS=$as_save_IFS
7815 DLLTOOL=$ac_cv_prog_DLLTOOL
7816 if test -n "$DLLTOOL"; then
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7818 $as_echo "$DLLTOOL" >&6; }
7819 else
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7821 $as_echo "no" >&6; }
7826 if test -z "$ac_cv_prog_DLLTOOL"; then
7827 ac_ct_DLLTOOL=$DLLTOOL
7828 # Extract the first word of "dlltool", so it can be a program name with args.
7829 set dummy dlltool; ac_word=$2
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7831 $as_echo_n "checking for $ac_word... " >&6; }
7832 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7833 $as_echo_n "(cached) " >&6
7834 else
7835 if test -n "$ac_ct_DLLTOOL"; then
7836 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7837 else
7838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7839 for as_dir in $PATH
7841 IFS=$as_save_IFS
7842 test -z "$as_dir" && as_dir=.
7843 for ac_exec_ext in '' $ac_executable_extensions; do
7844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7845 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7847 break 2
7849 done
7850 done
7851 IFS=$as_save_IFS
7855 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7856 if test -n "$ac_ct_DLLTOOL"; then
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7858 $as_echo "$ac_ct_DLLTOOL" >&6; }
7859 else
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7861 $as_echo "no" >&6; }
7864 if test "x$ac_ct_DLLTOOL" = x; then
7865 DLLTOOL="false"
7866 else
7867 case $cross_compiling:$ac_tool_warned in
7868 yes:)
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7871 ac_tool_warned=yes ;;
7872 esac
7873 DLLTOOL=$ac_ct_DLLTOOL
7875 else
7876 DLLTOOL="$ac_cv_prog_DLLTOOL"
7879 LIBEXT="dll"
7880 DLLEXT=""
7881 IMPLIBEXT="a"
7882 enable_iphlpapi=${enable_iphlpapi:-no}
7883 enable_kernel32=${enable_kernel32:-no}
7884 enable_msvcrt=${enable_msvcrt:-no}
7885 enable_ntdll=${enable_ntdll:-no}
7886 enable_ws2_32=${enable_ws2_32:-no}
7887 enable_loader=${enable_loader:-no}
7888 enable_server=${enable_server:-no}
7889 with_x=${with_x:-no}
7890 with_pthread=${with_pthread:-no}
7892 crtlibs=""
7893 case $host_os in
7894 mingw32*)
7895 crtlibs="-lmsvcrt"
7896 SOCKET_LIBS="-lws2_32"
7898 esac
7900 LIBWINE_SHAREDLIB="libwine.dll"
7902 LIBWINE_IMPORTLIB="libwine.a"
7904 LIBWINE_INSTALL_LIB="libwine.dll"
7906 LIBWINE_INSTALL_DEV="libwine.a"
7908 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7910 LIBWINE_DEPENDS="wine.def"
7914 darwin*|macosx*)
7915 for ac_header in libunwind.h
7916 do :
7917 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7918 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7919 cat >>confdefs.h <<_ACEOF
7920 #define HAVE_LIBUNWIND_H 1
7921 _ACEOF
7925 done
7927 LIBEXT="dylib"
7928 DLLFLAGS="$DLLFLAGS -fPIC"
7929 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7930 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7931 COREFOUNDATION_LIBS="-framework CoreFoundation"
7933 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7935 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7937 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7939 CORESERVICES_LIBS="-framework CoreServices"
7941 APPKIT_LIBS="-framework AppKit"
7943 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7945 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7946 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7947 $as_echo_n "(cached) " >&6
7948 else
7949 ac_wine_try_cflags_saved=$CFLAGS
7950 CFLAGS="$CFLAGS -Wl,-no_pie"
7951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7952 /* end confdefs.h. */
7953 int main(int argc, char **argv) { return 0; }
7954 _ACEOF
7955 if ac_fn_c_try_link "$LINENO"; then :
7956 ac_cv_cflags__Wl__no_pie=yes
7957 else
7958 ac_cv_cflags__Wl__no_pie=no
7960 rm -f core conftest.err conftest.$ac_objext \
7961 conftest$ac_exeext conftest.$ac_ext
7962 CFLAGS=$ac_wine_try_cflags_saved
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7965 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7966 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7967 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
7969 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7970 then
7971 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7974 if test "$ac_cv_header_Security_Security_h" = "yes"
7975 then
7976 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7978 ac_save_LIBS="$LIBS"
7979 LIBS="$LIBS $SECURITY_LIBS"
7980 for ac_func in SSLCopyPeerCertificates
7981 do :
7982 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7983 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7984 cat >>confdefs.h <<_ACEOF
7985 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7986 _ACEOF
7989 done
7991 LIBS="$ac_save_LIBS"
7992 with_gnutls=${with_gnutls:-no}
7994 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7995 then
7996 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7997 then
7998 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8000 else
8001 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8004 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8005 ac_save_LIBS="$LIBS"
8006 LIBS="$LIBS $COREAUDIO_LIBS"
8007 for ac_func in AUGraphAddNode
8008 do :
8009 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8010 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8011 cat >>confdefs.h <<_ACEOF
8012 #define HAVE_AUGRAPHADDNODE 1
8013 _ACEOF
8016 done
8018 LIBS="$ac_save_LIBS"
8020 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8021 then
8022 OPENAL_LIBS="-framework OpenAL"
8025 cat >>confdefs.h <<_ACEOF
8026 #define HAVE_OPENAL 1
8027 _ACEOF
8029 ac_cv_lib_openal=yes
8031 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8032 then
8033 OPENCL_LIBS="-framework OpenCL"
8035 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8037 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8038 then
8039 ac_save_LIBS="$LIBS"
8040 LIBS="$LIBS $IOKIT_LIBS"
8041 for ac_func in IOHIDManagerCreate
8042 do :
8043 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8044 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8045 cat >>confdefs.h <<_ACEOF
8046 #define HAVE_IOHIDMANAGERCREATE 1
8047 _ACEOF
8050 done
8052 LIBS="$ac_save_LIBS"
8054 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8055 then
8056 ac_save_LIBS="$LIBS"
8057 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8059 $as_echo_n "checking for the QuickTime framework... " >&6; }
8060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8061 /* end confdefs.h. */
8062 #include <QuickTime/ImageCompression.h>
8064 main ()
8066 CodecManagerVersion(NULL);
8068 return 0;
8070 _ACEOF
8071 if ac_fn_c_try_link "$LINENO"; then :
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8073 $as_echo "yes" >&6; }
8074 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8076 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8077 else
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8079 $as_echo "no" >&6; }
8080 ac_cv_header_QuickTime_ImageCompression_h=no
8082 rm -f core conftest.err conftest.$ac_objext \
8083 conftest$ac_exeext conftest.$ac_ext
8084 LIBS="$ac_save_LIBS"
8086 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8087 then
8088 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8090 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8091 then
8092 CARBON_LIBS="-framework Carbon"
8096 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8097 then
8098 ac_save_LIBS="$LIBS"
8099 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8100 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8101 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8102 enable_winemac_drv=${enable_winemac_drv:-yes}
8105 LIBS="$ac_save_LIBS"
8108 if test "x$enable_win16" = "xyes"
8109 then
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8111 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8112 if test "$cross_compiling" = yes; then :
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8114 $as_echo "cross-compiling, assuming yes" >&6; }
8115 else
8116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8117 /* end confdefs.h. */
8118 asm(".text\n"
8119 "bad:\tnop;nop\n"
8120 "good:\tnop;nop\n\t"
8121 ".globl _testfunc\n"
8122 "_testfunc:\tcallw good");
8123 extern void testfunc();
8125 main ()
8127 unsigned short *p = (unsigned short *)testfunc;
8128 return p[0] != 0xe866 || p[1] != 0xfffa
8130 return 0;
8132 _ACEOF
8133 if ac_fn_c_try_run "$LINENO"; then :
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8135 $as_echo "yes" >&6; }
8136 else
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8138 $as_echo "no" >&6; }
8139 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
8141 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8142 conftest.$ac_objext conftest.beam conftest.$ac_ext
8147 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8149 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8151 LIBWINE_INSTALL_DEV="libwine.dylib"
8153 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8155 WINELOADER_DEPENDS="wine_info.plist"
8159 linux-android*)
8160 DLLFLAGS="$DLLFLAGS -fPIC"
8161 LDEXECFLAGS="-Wl,-pie"
8162 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8164 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8165 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8166 $as_echo_n "(cached) " >&6
8167 else
8168 ac_wine_try_cflags_saved=$CFLAGS
8169 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8171 /* end confdefs.h. */
8172 int main(int argc, char **argv) { return 0; }
8173 _ACEOF
8174 if ac_fn_c_try_link "$LINENO"; then :
8175 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8176 else
8177 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8179 rm -f core conftest.err conftest.$ac_objext \
8180 conftest$ac_exeext conftest.$ac_ext
8181 CFLAGS=$ac_wine_try_cflags_saved
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8184 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8185 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8186 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8188 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8190 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8191 if eval \${$as_ac_var+:} false; then :
8192 $as_echo_n "(cached) " >&6
8193 else
8194 ac_wine_try_cflags_saved=$CFLAGS
8195 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8197 /* end confdefs.h. */
8198 int main(int argc, char **argv) { return 0; }
8199 _ACEOF
8200 if ac_fn_c_try_link "$LINENO"; then :
8201 eval "$as_ac_var=yes"
8202 else
8203 eval "$as_ac_var=no"
8205 rm -f core conftest.err conftest.$ac_objext \
8206 conftest$ac_exeext conftest.$ac_ext
8207 CFLAGS=$ac_wine_try_cflags_saved
8209 eval ac_res=\$$as_ac_var
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8211 $as_echo "$ac_res" >&6; }
8212 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8213 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8214 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8215 else
8216 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8218 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8219 if eval \${$as_ac_var+:} false; then :
8220 $as_echo_n "(cached) " >&6
8221 else
8222 ac_wine_try_cflags_saved=$CFLAGS
8223 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8225 /* end confdefs.h. */
8226 int main(int argc, char **argv) { return 0; }
8227 _ACEOF
8228 if ac_fn_c_try_link "$LINENO"; then :
8229 eval "$as_ac_var=yes"
8230 else
8231 eval "$as_ac_var=no"
8233 rm -f core conftest.err conftest.$ac_objext \
8234 conftest$ac_exeext conftest.$ac_ext
8235 CFLAGS=$ac_wine_try_cflags_saved
8237 eval ac_res=\$$as_ac_var
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8239 $as_echo "$ac_res" >&6; }
8240 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8241 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8242 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8246 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8247 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8248 $as_echo_n "(cached) " >&6
8249 else
8250 ac_wine_try_cflags_saved=$CFLAGS
8251 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8253 /* end confdefs.h. */
8254 int main(int argc, char **argv) { return 0; }
8255 _ACEOF
8256 if ac_fn_c_try_link "$LINENO"; then :
8257 ac_cv_cflags__Wl___enable_new_dtags=yes
8258 else
8259 ac_cv_cflags__Wl___enable_new_dtags=no
8261 rm -f core conftest.err conftest.$ac_objext \
8262 conftest$ac_exeext conftest.$ac_ext
8263 CFLAGS=$ac_wine_try_cflags_saved
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8266 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8267 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8268 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8271 LIBWINE_SHAREDLIB="libwine.so"
8273 LIBWINE_INSTALL_LIB="libwine.so"
8275 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8279 $as_echo_n "checking for -lEGL... " >&6; }
8280 if ${ac_cv_lib_soname_EGL+:} false; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 ac_check_soname_save_LIBS=$LIBS
8284 LIBS="-lEGL $LIBS"
8285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8286 /* end confdefs.h. */
8288 /* Override any GCC internal prototype to avoid an error.
8289 Use char because int might match the return type of a GCC
8290 builtin and then its argument prototype would still apply. */
8291 #ifdef __cplusplus
8292 extern "C"
8293 #endif
8294 char eglGetProcAddress ();
8296 main ()
8298 return eglGetProcAddress ();
8300 return 0;
8302 _ACEOF
8303 if ac_fn_c_try_link "$LINENO"; then :
8304 case "$LIBEXT" in
8305 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8306 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'` ;;
8307 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8308 if ${ac_cv_lib_soname_EGL:+false} :; then :
8309 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8310 fi ;;
8311 esac
8313 rm -f core conftest.err conftest.$ac_objext \
8314 conftest$ac_exeext conftest.$ac_ext
8315 LIBS=$ac_check_soname_save_LIBS
8317 if ${ac_cv_lib_soname_EGL:+false} :; then :
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8319 $as_echo "not found" >&6; }
8321 else
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8323 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8325 cat >>confdefs.h <<_ACEOF
8326 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8327 _ACEOF
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8332 $as_echo_n "checking for -lGLESv2... " >&6; }
8333 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8334 $as_echo_n "(cached) " >&6
8335 else
8336 ac_check_soname_save_LIBS=$LIBS
8337 LIBS="-lGLESv2 $LIBS"
8338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8339 /* end confdefs.h. */
8341 /* Override any GCC internal prototype to avoid an error.
8342 Use char because int might match the return type of a GCC
8343 builtin and then its argument prototype would still apply. */
8344 #ifdef __cplusplus
8345 extern "C"
8346 #endif
8347 char glFlush ();
8349 main ()
8351 return glFlush ();
8353 return 0;
8355 _ACEOF
8356 if ac_fn_c_try_link "$LINENO"; then :
8357 case "$LIBEXT" in
8358 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8359 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'` ;;
8360 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8361 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8362 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8363 fi ;;
8364 esac
8366 rm -f core conftest.err conftest.$ac_objext \
8367 conftest$ac_exeext conftest.$ac_ext
8368 LIBS=$ac_check_soname_save_LIBS
8370 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8372 $as_echo "not found" >&6; }
8374 else
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8376 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8378 cat >>confdefs.h <<_ACEOF
8379 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8380 _ACEOF
8385 if test "x$exec_prefix" = xNONE
8386 then
8387 case $host_cpu in
8388 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8389 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8390 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8391 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8392 esac
8397 DLLFLAGS="$DLLFLAGS -fPIC"
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8399 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8400 if ${ac_cv_c_dll_gnuelf+:} false; then :
8401 $as_echo_n "(cached) " >&6
8402 else
8403 ac_wine_try_cflags_saved=$CFLAGS
8404 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8406 /* end confdefs.h. */
8407 void myfunc() {}
8408 _ACEOF
8409 if ac_fn_c_try_link "$LINENO"; then :
8410 ac_cv_c_dll_gnuelf="yes"
8411 else
8412 ac_cv_c_dll_gnuelf="no"
8414 rm -f core conftest.err conftest.$ac_objext \
8415 conftest$ac_exeext conftest.$ac_ext
8416 CFLAGS=$ac_wine_try_cflags_saved
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8419 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8420 if test "$ac_cv_c_dll_gnuelf" = "yes"
8421 then
8422 LIBWINE_LDFLAGS="-shared"
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8424 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8425 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8426 $as_echo_n "(cached) " >&6
8427 else
8428 ac_wine_try_cflags_saved=$CFLAGS
8429 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8431 /* end confdefs.h. */
8432 int main(int argc, char **argv) { return 0; }
8433 _ACEOF
8434 if ac_fn_c_try_link "$LINENO"; then :
8435 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8436 else
8437 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8439 rm -f core conftest.err conftest.$ac_objext \
8440 conftest$ac_exeext conftest.$ac_ext
8441 CFLAGS=$ac_wine_try_cflags_saved
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8444 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8445 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8446 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8447 else
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8449 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8450 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8451 $as_echo_n "(cached) " >&6
8452 else
8453 ac_wine_try_cflags_saved=$CFLAGS
8454 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8456 /* end confdefs.h. */
8457 int main(int argc, char **argv) { return 0; }
8458 _ACEOF
8459 if ac_fn_c_try_link "$LINENO"; then :
8460 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8461 else
8462 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8464 rm -f core conftest.err conftest.$ac_objext \
8465 conftest$ac_exeext conftest.$ac_ext
8466 CFLAGS=$ac_wine_try_cflags_saved
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8469 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8470 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8471 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8475 echo '{ global: *; };' >conftest.map
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8477 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8478 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8479 $as_echo_n "(cached) " >&6
8480 else
8481 ac_wine_try_cflags_saved=$CFLAGS
8482 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8484 /* end confdefs.h. */
8485 int main(int argc, char **argv) { return 0; }
8486 _ACEOF
8487 if ac_fn_c_try_link "$LINENO"; then :
8488 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8489 else
8490 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8492 rm -f core conftest.err conftest.$ac_objext \
8493 conftest$ac_exeext conftest.$ac_ext
8494 CFLAGS=$ac_wine_try_cflags_saved
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8497 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8498 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8499 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8501 rm -f conftest.map
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8504 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8505 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8506 $as_echo_n "(cached) " >&6
8507 else
8508 ac_wine_try_cflags_saved=$CFLAGS
8509 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8512 int main(int argc, char **argv) { return 0; }
8513 _ACEOF
8514 if ac_fn_c_try_link "$LINENO"; then :
8515 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8516 else
8517 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8519 rm -f core conftest.err conftest.$ac_objext \
8520 conftest$ac_exeext conftest.$ac_ext
8521 CFLAGS=$ac_wine_try_cflags_saved
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8524 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8525 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8526 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8529 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8531 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8532 if eval \${$as_ac_var+:} false; then :
8533 $as_echo_n "(cached) " >&6
8534 else
8535 ac_wine_try_cflags_saved=$CFLAGS
8536 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8538 /* end confdefs.h. */
8539 int main(int argc, char **argv) { return 0; }
8540 _ACEOF
8541 if ac_fn_c_try_link "$LINENO"; then :
8542 eval "$as_ac_var=yes"
8543 else
8544 eval "$as_ac_var=no"
8546 rm -f core conftest.err conftest.$ac_objext \
8547 conftest$ac_exeext conftest.$ac_ext
8548 CFLAGS=$ac_wine_try_cflags_saved
8550 eval ac_res=\$$as_ac_var
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8552 $as_echo "$ac_res" >&6; }
8553 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8554 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8555 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8556 else
8557 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8559 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8560 if eval \${$as_ac_var+:} false; then :
8561 $as_echo_n "(cached) " >&6
8562 else
8563 ac_wine_try_cflags_saved=$CFLAGS
8564 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8566 /* end confdefs.h. */
8567 int main(int argc, char **argv) { return 0; }
8568 _ACEOF
8569 if ac_fn_c_try_link "$LINENO"; then :
8570 eval "$as_ac_var=yes"
8571 else
8572 eval "$as_ac_var=no"
8574 rm -f core conftest.err conftest.$ac_objext \
8575 conftest$ac_exeext conftest.$ac_ext
8576 CFLAGS=$ac_wine_try_cflags_saved
8578 eval ac_res=\$$as_ac_var
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8580 $as_echo "$ac_res" >&6; }
8581 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8582 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8583 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8588 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8589 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8590 $as_echo_n "(cached) " >&6
8591 else
8592 ac_wine_try_cflags_saved=$CFLAGS
8593 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8595 /* end confdefs.h. */
8596 int main(int argc, char **argv) { return 0; }
8597 _ACEOF
8598 if ac_fn_c_try_link "$LINENO"; then :
8599 ac_cv_cflags__Wl___enable_new_dtags=yes
8600 else
8601 ac_cv_cflags__Wl___enable_new_dtags=no
8603 rm -f core conftest.err conftest.$ac_objext \
8604 conftest$ac_exeext conftest.$ac_ext
8605 CFLAGS=$ac_wine_try_cflags_saved
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8608 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8609 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8610 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8613 case $host_cpu in
8614 *i[3456789]86* | x86_64 | *aarch64*)
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8616 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8617 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8618 $as_echo_n "(cached) " >&6
8619 else
8620 ac_wine_try_cflags_saved=$CFLAGS
8621 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8623 /* end confdefs.h. */
8624 int main(int argc, char **argv) { return 0; }
8625 _ACEOF
8626 if ac_fn_c_try_link "$LINENO"; then :
8627 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8628 else
8629 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8631 rm -f core conftest.err conftest.$ac_objext \
8632 conftest$ac_exeext conftest.$ac_ext
8633 CFLAGS=$ac_wine_try_cflags_saved
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8636 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8637 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8638 case $host_os in
8639 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8640 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8641 esac
8642 else
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8644 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8645 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8646 $as_echo_n "(cached) " >&6
8647 else
8648 ac_wine_try_cflags_saved=$CFLAGS
8649 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8651 /* end confdefs.h. */
8652 int main(int argc, char **argv) { return 0; }
8653 _ACEOF
8654 if ac_fn_c_try_link "$LINENO"; then :
8655 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8656 else
8657 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8659 rm -f core conftest.err conftest.$ac_objext \
8660 conftest$ac_exeext conftest.$ac_ext
8661 CFLAGS=$ac_wine_try_cflags_saved
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8664 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8665 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8666 case $host_os in
8667 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8668 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8669 esac
8671 # Extract the first word of "prelink", so it can be a program name with args.
8672 set dummy prelink; ac_word=$2
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8674 $as_echo_n "checking for $ac_word... " >&6; }
8675 if ${ac_cv_path_PRELINK+:} false; then :
8676 $as_echo_n "(cached) " >&6
8677 else
8678 case $PRELINK in
8679 [\\/]* | ?:[\\/]*)
8680 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8684 for as_dir in /sbin /usr/sbin $PATH
8686 IFS=$as_save_IFS
8687 test -z "$as_dir" && as_dir=.
8688 for ac_exec_ext in '' $ac_executable_extensions; do
8689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8690 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8692 break 2
8694 done
8695 done
8696 IFS=$as_save_IFS
8698 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8700 esac
8702 PRELINK=$ac_cv_path_PRELINK
8703 if test -n "$PRELINK"; then
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8705 $as_echo "$PRELINK" >&6; }
8706 else
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8708 $as_echo "no" >&6; }
8712 if test "x$PRELINK" = xfalse
8713 then
8714 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8718 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8719 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8720 $as_echo_n "(cached) " >&6
8721 else
8722 ac_wine_try_cflags_saved=$CFLAGS
8723 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8725 /* end confdefs.h. */
8726 int main(int argc, char **argv) { return 0; }
8727 _ACEOF
8728 if ac_fn_c_try_link "$LINENO"; then :
8729 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8730 else
8731 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8733 rm -f core conftest.err conftest.$ac_objext \
8734 conftest$ac_exeext conftest.$ac_ext
8735 CFLAGS=$ac_wine_try_cflags_saved
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8738 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8739 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8740 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8743 esac
8745 else
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8747 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8748 if ${ac_cv_c_dll_unixware+:} false; then :
8749 $as_echo_n "(cached) " >&6
8750 else
8751 ac_wine_try_cflags_saved=$CFLAGS
8752 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8754 /* end confdefs.h. */
8755 void myfunc() {}
8756 _ACEOF
8757 if ac_fn_c_try_link "$LINENO"; then :
8758 ac_cv_c_dll_unixware="yes"
8759 else
8760 ac_cv_c_dll_unixware="no"
8762 rm -f core conftest.err conftest.$ac_objext \
8763 conftest$ac_exeext conftest.$ac_ext
8764 CFLAGS=$ac_wine_try_cflags_saved
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8767 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8768 if test "$ac_cv_c_dll_unixware" = "yes"
8769 then
8770 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8773 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8775 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8777 LIBWINE_INSTALL_DEV="libwine.so"
8779 LIBWINE_DEPENDS="wine.map"
8782 esac
8784 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8785 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8786 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8787 enable_winemac_drv=${enable_winemac_drv:-no}
8788 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8790 CROSSTARGET=""
8792 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8793 then
8794 case "$host_cpu" in
8795 arm*)
8796 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8797 i[3456789]86*)
8798 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
8799 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8800 mingw32-gcc" ;;
8801 x86_64)
8802 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
8803 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8805 ac_prefix_list="" ;;
8806 esac
8807 for ac_prog in $ac_prefix_list
8809 # Extract the first word of "$ac_prog", so it can be a program name with args.
8810 set dummy $ac_prog; ac_word=$2
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8812 $as_echo_n "checking for $ac_word... " >&6; }
8813 if ${ac_cv_prog_CROSSCC+:} false; then :
8814 $as_echo_n "(cached) " >&6
8815 else
8816 if test -n "$CROSSCC"; then
8817 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8818 else
8819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8820 for as_dir in $PATH
8822 IFS=$as_save_IFS
8823 test -z "$as_dir" && as_dir=.
8824 for ac_exec_ext in '' $ac_executable_extensions; do
8825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8826 ac_cv_prog_CROSSCC="$ac_prog"
8827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8828 break 2
8830 done
8831 done
8832 IFS=$as_save_IFS
8836 CROSSCC=$ac_cv_prog_CROSSCC
8837 if test -n "$CROSSCC"; then
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8839 $as_echo "$CROSSCC" >&6; }
8840 else
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8842 $as_echo "no" >&6; }
8846 test -n "$CROSSCC" && break
8847 done
8848 test -n "$CROSSCC" || CROSSCC="false"
8850 if test "$CROSSCC" != "false"
8851 then
8852 ac_save_CC="$CC"
8853 CC="$CROSSCC"
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8855 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8857 /* end confdefs.h. */
8860 main ()
8864 return 0;
8866 _ACEOF
8867 if ac_fn_c_try_compile "$LINENO"; then :
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8869 $as_echo "yes" >&6; }
8870 set x $CROSSCC
8871 shift
8872 while test $# -ge 1
8874 case "$1" in
8875 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8876 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8877 esac
8878 shift
8879 done
8880 else
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8882 $as_echo "no" >&6; }
8884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8885 CC="$ac_save_CC"
8886 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8892 if test "$ac_cv_header_pthread_h" = "yes"
8893 then
8894 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8895 if test "x$ac_cv_func_pthread_create" = xyes; then :
8897 else
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8899 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8900 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8901 $as_echo_n "(cached) " >&6
8902 else
8903 ac_check_lib_save_LIBS=$LIBS
8904 LIBS="-lpthread $LIBS"
8905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8906 /* end confdefs.h. */
8908 /* Override any GCC internal prototype to avoid an error.
8909 Use char because int might match the return type of a GCC
8910 builtin and then its argument prototype would still apply. */
8911 #ifdef __cplusplus
8912 extern "C"
8913 #endif
8914 char pthread_create ();
8916 main ()
8918 return pthread_create ();
8920 return 0;
8922 _ACEOF
8923 if ac_fn_c_try_link "$LINENO"; then :
8924 ac_cv_lib_pthread_pthread_create=yes
8925 else
8926 ac_cv_lib_pthread_pthread_create=no
8928 rm -f core conftest.err conftest.$ac_objext \
8929 conftest$ac_exeext conftest.$ac_ext
8930 LIBS=$ac_check_lib_save_LIBS
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8933 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8934 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8935 PTHREAD_LIBS="-lpthread"
8942 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8943 case "x$with_pthread" in
8944 xno) ;;
8945 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8946 Wine cannot support threads without libpthread.
8947 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8948 esac
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8954 $as_echo_n "checking for X... " >&6; }
8957 # Check whether --with-x was given.
8958 if test "${with_x+set}" = set; then :
8959 withval=$with_x;
8962 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8963 if test "x$with_x" = xno; then
8964 # The user explicitly disabled X.
8965 have_x=disabled
8966 else
8967 case $x_includes,$x_libraries in #(
8968 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8969 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8970 $as_echo_n "(cached) " >&6
8971 else
8972 # One or both of the vars are not set, and there is no cached value.
8973 ac_x_includes=no ac_x_libraries=no
8974 rm -f -r conftest.dir
8975 if mkdir conftest.dir; then
8976 cd conftest.dir
8977 cat >Imakefile <<'_ACEOF'
8978 incroot:
8979 @echo incroot='${INCROOT}'
8980 usrlibdir:
8981 @echo usrlibdir='${USRLIBDIR}'
8982 libdir:
8983 @echo libdir='${LIBDIR}'
8984 _ACEOF
8985 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8986 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8987 for ac_var in incroot usrlibdir libdir; do
8988 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8989 done
8990 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8991 for ac_extension in a so sl dylib la dll; do
8992 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8993 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8994 ac_im_usrlibdir=$ac_im_libdir; break
8996 done
8997 # Screen out bogus values from the imake configuration. They are
8998 # bogus both because they are the default anyway, and because
8999 # using them would break gcc on systems where it needs fixed includes.
9000 case $ac_im_incroot in
9001 /usr/include) ac_x_includes= ;;
9002 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9003 esac
9004 case $ac_im_usrlibdir in
9005 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9006 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9007 esac
9009 cd ..
9010 rm -f -r conftest.dir
9013 # Standard set of common directories for X headers.
9014 # Check X11 before X11Rn because it is often a symlink to the current release.
9015 ac_x_header_dirs='
9016 /usr/X11/include
9017 /usr/X11R7/include
9018 /usr/X11R6/include
9019 /usr/X11R5/include
9020 /usr/X11R4/include
9022 /usr/include/X11
9023 /usr/include/X11R7
9024 /usr/include/X11R6
9025 /usr/include/X11R5
9026 /usr/include/X11R4
9028 /usr/local/X11/include
9029 /usr/local/X11R7/include
9030 /usr/local/X11R6/include
9031 /usr/local/X11R5/include
9032 /usr/local/X11R4/include
9034 /usr/local/include/X11
9035 /usr/local/include/X11R7
9036 /usr/local/include/X11R6
9037 /usr/local/include/X11R5
9038 /usr/local/include/X11R4
9040 /usr/X386/include
9041 /usr/x386/include
9042 /usr/XFree86/include/X11
9044 /usr/include
9045 /usr/local/include
9046 /usr/unsupported/include
9047 /usr/athena/include
9048 /usr/local/x11r5/include
9049 /usr/lpp/Xamples/include
9051 /usr/openwin/include
9052 /usr/openwin/share/include'
9054 if test "$ac_x_includes" = no; then
9055 # Guess where to find include files, by looking for Xlib.h.
9056 # First, try using that file with no special directory specified.
9057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9058 /* end confdefs.h. */
9059 #include <X11/Xlib.h>
9060 _ACEOF
9061 if ac_fn_c_try_cpp "$LINENO"; then :
9062 # We can compile using X headers with no special include directory.
9063 ac_x_includes=
9064 else
9065 for ac_dir in $ac_x_header_dirs; do
9066 if test -r "$ac_dir/X11/Xlib.h"; then
9067 ac_x_includes=$ac_dir
9068 break
9070 done
9072 rm -f conftest.err conftest.i conftest.$ac_ext
9073 fi # $ac_x_includes = no
9075 if test "$ac_x_libraries" = no; then
9076 # Check for the libraries.
9077 # See if we find them without any special options.
9078 # Don't add to $LIBS permanently.
9079 ac_save_LIBS=$LIBS
9080 LIBS="-lX11 $LIBS"
9081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9082 /* end confdefs.h. */
9083 #include <X11/Xlib.h>
9085 main ()
9087 XrmInitialize ()
9089 return 0;
9091 _ACEOF
9092 if ac_fn_c_try_link "$LINENO"; then :
9093 LIBS=$ac_save_LIBS
9094 # We can link X programs with no special library path.
9095 ac_x_libraries=
9096 else
9097 LIBS=$ac_save_LIBS
9098 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9100 # Don't even attempt the hair of trying to link an X program!
9101 for ac_extension in a so sl dylib la dll; do
9102 if test -r "$ac_dir/libX11.$ac_extension"; then
9103 ac_x_libraries=$ac_dir
9104 break 2
9106 done
9107 done
9109 rm -f core conftest.err conftest.$ac_objext \
9110 conftest$ac_exeext conftest.$ac_ext
9111 fi # $ac_x_libraries = no
9113 case $ac_x_includes,$ac_x_libraries in #(
9114 no,* | *,no | *\'*)
9115 # Didn't find X, or a directory has "'" in its name.
9116 ac_cv_have_x="have_x=no";; #(
9118 # Record where we found X for the cache.
9119 ac_cv_have_x="have_x=yes\
9120 ac_x_includes='$ac_x_includes'\
9121 ac_x_libraries='$ac_x_libraries'"
9122 esac
9124 ;; #(
9125 *) have_x=yes;;
9126 esac
9127 eval "$ac_cv_have_x"
9128 fi # $with_x != no
9130 if test "$have_x" != yes; then
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9132 $as_echo "$have_x" >&6; }
9133 no_x=yes
9134 else
9135 # If each of the values was on the command line, it overrides each guess.
9136 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9137 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9138 # Update the cache value to reflect the command line values.
9139 ac_cv_have_x="have_x=yes\
9140 ac_x_includes='$x_includes'\
9141 ac_x_libraries='$x_libraries'"
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9143 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9146 if test "$no_x" = yes; then
9147 # Not all programs may use this symbol, but it does not hurt to define it.
9149 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9151 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9152 else
9153 if test -n "$x_includes"; then
9154 X_CFLAGS="$X_CFLAGS -I$x_includes"
9157 # It would also be nice to do this for all -L options, not just this one.
9158 if test -n "$x_libraries"; then
9159 X_LIBS="$X_LIBS -L$x_libraries"
9160 # For Solaris; some versions of Sun CC require a space after -R and
9161 # others require no space. Words are not sufficient . . . .
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9163 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9164 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9165 ac_xsave_c_werror_flag=$ac_c_werror_flag
9166 ac_c_werror_flag=yes
9167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9168 /* end confdefs.h. */
9171 main ()
9175 return 0;
9177 _ACEOF
9178 if ac_fn_c_try_link "$LINENO"; then :
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9180 $as_echo "no" >&6; }
9181 X_LIBS="$X_LIBS -R$x_libraries"
9182 else
9183 LIBS="$ac_xsave_LIBS -R $x_libraries"
9184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9185 /* end confdefs.h. */
9188 main ()
9192 return 0;
9194 _ACEOF
9195 if ac_fn_c_try_link "$LINENO"; then :
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9197 $as_echo "yes" >&6; }
9198 X_LIBS="$X_LIBS -R $x_libraries"
9199 else
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9201 $as_echo "neither works" >&6; }
9203 rm -f core conftest.err conftest.$ac_objext \
9204 conftest$ac_exeext conftest.$ac_ext
9206 rm -f core conftest.err conftest.$ac_objext \
9207 conftest$ac_exeext conftest.$ac_ext
9208 ac_c_werror_flag=$ac_xsave_c_werror_flag
9209 LIBS=$ac_xsave_LIBS
9212 # Check for system-dependent libraries X programs must link with.
9213 # Do this before checking for the system-independent R6 libraries
9214 # (-lICE), since we may need -lsocket or whatever for X linking.
9216 if test "$ISC" = yes; then
9217 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9218 else
9219 # Martyn Johnson says this is needed for Ultrix, if the X
9220 # libraries were built with DECnet support. And Karl Berry says
9221 # the Alpha needs dnet_stub (dnet does not exist).
9222 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9224 /* end confdefs.h. */
9226 /* Override any GCC internal prototype to avoid an error.
9227 Use char because int might match the return type of a GCC
9228 builtin and then its argument prototype would still apply. */
9229 #ifdef __cplusplus
9230 extern "C"
9231 #endif
9232 char XOpenDisplay ();
9234 main ()
9236 return XOpenDisplay ();
9238 return 0;
9240 _ACEOF
9241 if ac_fn_c_try_link "$LINENO"; then :
9243 else
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9245 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9246 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9247 $as_echo_n "(cached) " >&6
9248 else
9249 ac_check_lib_save_LIBS=$LIBS
9250 LIBS="-ldnet $LIBS"
9251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9252 /* end confdefs.h. */
9254 /* Override any GCC internal prototype to avoid an error.
9255 Use char because int might match the return type of a GCC
9256 builtin and then its argument prototype would still apply. */
9257 #ifdef __cplusplus
9258 extern "C"
9259 #endif
9260 char dnet_ntoa ();
9262 main ()
9264 return dnet_ntoa ();
9266 return 0;
9268 _ACEOF
9269 if ac_fn_c_try_link "$LINENO"; then :
9270 ac_cv_lib_dnet_dnet_ntoa=yes
9271 else
9272 ac_cv_lib_dnet_dnet_ntoa=no
9274 rm -f core conftest.err conftest.$ac_objext \
9275 conftest$ac_exeext conftest.$ac_ext
9276 LIBS=$ac_check_lib_save_LIBS
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9279 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9280 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9281 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9284 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9286 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9287 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9288 $as_echo_n "(cached) " >&6
9289 else
9290 ac_check_lib_save_LIBS=$LIBS
9291 LIBS="-ldnet_stub $LIBS"
9292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9293 /* end confdefs.h. */
9295 /* Override any GCC internal prototype to avoid an error.
9296 Use char because int might match the return type of a GCC
9297 builtin and then its argument prototype would still apply. */
9298 #ifdef __cplusplus
9299 extern "C"
9300 #endif
9301 char dnet_ntoa ();
9303 main ()
9305 return dnet_ntoa ();
9307 return 0;
9309 _ACEOF
9310 if ac_fn_c_try_link "$LINENO"; then :
9311 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9312 else
9313 ac_cv_lib_dnet_stub_dnet_ntoa=no
9315 rm -f core conftest.err conftest.$ac_objext \
9316 conftest$ac_exeext conftest.$ac_ext
9317 LIBS=$ac_check_lib_save_LIBS
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9320 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9321 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9322 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9327 rm -f core conftest.err conftest.$ac_objext \
9328 conftest$ac_exeext conftest.$ac_ext
9329 LIBS="$ac_xsave_LIBS"
9331 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9332 # to get the SysV transport functions.
9333 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9334 # needs -lnsl.
9335 # The nsl library prevents programs from opening the X display
9336 # on Irix 5.2, according to T.E. Dickey.
9337 # The functions gethostbyname, getservbyname, and inet_addr are
9338 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9339 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9340 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9344 if test $ac_cv_func_gethostbyname = no; then
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9346 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9347 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9348 $as_echo_n "(cached) " >&6
9349 else
9350 ac_check_lib_save_LIBS=$LIBS
9351 LIBS="-lnsl $LIBS"
9352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9353 /* end confdefs.h. */
9355 /* Override any GCC internal prototype to avoid an error.
9356 Use char because int might match the return type of a GCC
9357 builtin and then its argument prototype would still apply. */
9358 #ifdef __cplusplus
9359 extern "C"
9360 #endif
9361 char gethostbyname ();
9363 main ()
9365 return gethostbyname ();
9367 return 0;
9369 _ACEOF
9370 if ac_fn_c_try_link "$LINENO"; then :
9371 ac_cv_lib_nsl_gethostbyname=yes
9372 else
9373 ac_cv_lib_nsl_gethostbyname=no
9375 rm -f core conftest.err conftest.$ac_objext \
9376 conftest$ac_exeext conftest.$ac_ext
9377 LIBS=$ac_check_lib_save_LIBS
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9380 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9381 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9382 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9385 if test $ac_cv_lib_nsl_gethostbyname = no; then
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9387 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9388 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9389 $as_echo_n "(cached) " >&6
9390 else
9391 ac_check_lib_save_LIBS=$LIBS
9392 LIBS="-lbsd $LIBS"
9393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9394 /* end confdefs.h. */
9396 /* Override any GCC internal prototype to avoid an error.
9397 Use char because int might match the return type of a GCC
9398 builtin and then its argument prototype would still apply. */
9399 #ifdef __cplusplus
9400 extern "C"
9401 #endif
9402 char gethostbyname ();
9404 main ()
9406 return gethostbyname ();
9408 return 0;
9410 _ACEOF
9411 if ac_fn_c_try_link "$LINENO"; then :
9412 ac_cv_lib_bsd_gethostbyname=yes
9413 else
9414 ac_cv_lib_bsd_gethostbyname=no
9416 rm -f core conftest.err conftest.$ac_objext \
9417 conftest$ac_exeext conftest.$ac_ext
9418 LIBS=$ac_check_lib_save_LIBS
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9421 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9422 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9423 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9429 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9430 # socket/setsockopt and other routines are undefined under SCO ODT
9431 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9432 # on later versions), says Simon Leinen: it contains gethostby*
9433 # variants that don't use the name server (or something). -lsocket
9434 # must be given before -lnsl if both are needed. We assume that
9435 # if connect needs -lnsl, so does gethostbyname.
9436 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9437 if test "x$ac_cv_func_connect" = xyes; then :
9441 if test $ac_cv_func_connect = no; then
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9443 $as_echo_n "checking for connect in -lsocket... " >&6; }
9444 if ${ac_cv_lib_socket_connect+:} false; then :
9445 $as_echo_n "(cached) " >&6
9446 else
9447 ac_check_lib_save_LIBS=$LIBS
9448 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9450 /* end confdefs.h. */
9452 /* Override any GCC internal prototype to avoid an error.
9453 Use char because int might match the return type of a GCC
9454 builtin and then its argument prototype would still apply. */
9455 #ifdef __cplusplus
9456 extern "C"
9457 #endif
9458 char connect ();
9460 main ()
9462 return connect ();
9464 return 0;
9466 _ACEOF
9467 if ac_fn_c_try_link "$LINENO"; then :
9468 ac_cv_lib_socket_connect=yes
9469 else
9470 ac_cv_lib_socket_connect=no
9472 rm -f core conftest.err conftest.$ac_objext \
9473 conftest$ac_exeext conftest.$ac_ext
9474 LIBS=$ac_check_lib_save_LIBS
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9477 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9478 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9479 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9484 # Guillermo Gomez says -lposix is necessary on A/UX.
9485 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9486 if test "x$ac_cv_func_remove" = xyes; then :
9490 if test $ac_cv_func_remove = no; then
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9492 $as_echo_n "checking for remove in -lposix... " >&6; }
9493 if ${ac_cv_lib_posix_remove+:} false; then :
9494 $as_echo_n "(cached) " >&6
9495 else
9496 ac_check_lib_save_LIBS=$LIBS
9497 LIBS="-lposix $LIBS"
9498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9499 /* end confdefs.h. */
9501 /* Override any GCC internal prototype to avoid an error.
9502 Use char because int might match the return type of a GCC
9503 builtin and then its argument prototype would still apply. */
9504 #ifdef __cplusplus
9505 extern "C"
9506 #endif
9507 char remove ();
9509 main ()
9511 return remove ();
9513 return 0;
9515 _ACEOF
9516 if ac_fn_c_try_link "$LINENO"; then :
9517 ac_cv_lib_posix_remove=yes
9518 else
9519 ac_cv_lib_posix_remove=no
9521 rm -f core conftest.err conftest.$ac_objext \
9522 conftest$ac_exeext conftest.$ac_ext
9523 LIBS=$ac_check_lib_save_LIBS
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9526 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9527 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9528 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9533 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9534 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9535 if test "x$ac_cv_func_shmat" = xyes; then :
9539 if test $ac_cv_func_shmat = no; then
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9541 $as_echo_n "checking for shmat in -lipc... " >&6; }
9542 if ${ac_cv_lib_ipc_shmat+:} false; then :
9543 $as_echo_n "(cached) " >&6
9544 else
9545 ac_check_lib_save_LIBS=$LIBS
9546 LIBS="-lipc $LIBS"
9547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9548 /* end confdefs.h. */
9550 /* Override any GCC internal prototype to avoid an error.
9551 Use char because int might match the return type of a GCC
9552 builtin and then its argument prototype would still apply. */
9553 #ifdef __cplusplus
9554 extern "C"
9555 #endif
9556 char shmat ();
9558 main ()
9560 return shmat ();
9562 return 0;
9564 _ACEOF
9565 if ac_fn_c_try_link "$LINENO"; then :
9566 ac_cv_lib_ipc_shmat=yes
9567 else
9568 ac_cv_lib_ipc_shmat=no
9570 rm -f core conftest.err conftest.$ac_objext \
9571 conftest$ac_exeext conftest.$ac_ext
9572 LIBS=$ac_check_lib_save_LIBS
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9575 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9576 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9577 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9583 # Check for libraries that X11R6 Xt/Xaw programs need.
9584 ac_save_LDFLAGS=$LDFLAGS
9585 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9586 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9587 # check for ICE first), but we must link in the order -lSM -lICE or
9588 # we get undefined symbols. So assume we have SM if we have ICE.
9589 # These have to be linked with before -lX11, unlike the other
9590 # libraries we check for below, so use a different variable.
9591 # John Interrante, Karl Berry
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9593 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9594 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9595 $as_echo_n "(cached) " >&6
9596 else
9597 ac_check_lib_save_LIBS=$LIBS
9598 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9600 /* end confdefs.h. */
9602 /* Override any GCC internal prototype to avoid an error.
9603 Use char because int might match the return type of a GCC
9604 builtin and then its argument prototype would still apply. */
9605 #ifdef __cplusplus
9606 extern "C"
9607 #endif
9608 char IceConnectionNumber ();
9610 main ()
9612 return IceConnectionNumber ();
9614 return 0;
9616 _ACEOF
9617 if ac_fn_c_try_link "$LINENO"; then :
9618 ac_cv_lib_ICE_IceConnectionNumber=yes
9619 else
9620 ac_cv_lib_ICE_IceConnectionNumber=no
9622 rm -f core conftest.err conftest.$ac_objext \
9623 conftest$ac_exeext conftest.$ac_ext
9624 LIBS=$ac_check_lib_save_LIBS
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9627 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9628 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9629 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9632 LDFLAGS=$ac_save_LDFLAGS
9637 if test "$have_x" = "yes"
9638 then
9639 ac_save_CPPFLAGS="$CPPFLAGS"
9640 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9643 $as_echo_n "checking for -lX11... " >&6; }
9644 if ${ac_cv_lib_soname_X11+:} false; then :
9645 $as_echo_n "(cached) " >&6
9646 else
9647 ac_check_soname_save_LIBS=$LIBS
9648 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9650 /* end confdefs.h. */
9652 /* Override any GCC internal prototype to avoid an error.
9653 Use char because int might match the return type of a GCC
9654 builtin and then its argument prototype would still apply. */
9655 #ifdef __cplusplus
9656 extern "C"
9657 #endif
9658 char XCreateWindow ();
9660 main ()
9662 return XCreateWindow ();
9664 return 0;
9666 _ACEOF
9667 if ac_fn_c_try_link "$LINENO"; then :
9668 case "$LIBEXT" in
9669 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9670 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'` ;;
9671 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9672 if ${ac_cv_lib_soname_X11:+false} :; then :
9673 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9674 fi ;;
9675 esac
9677 rm -f core conftest.err conftest.$ac_objext \
9678 conftest$ac_exeext conftest.$ac_ext
9679 LIBS=$ac_check_soname_save_LIBS
9681 if ${ac_cv_lib_soname_X11:+false} :; then :
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9683 $as_echo "not found" >&6; }
9685 else
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9687 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9689 cat >>confdefs.h <<_ACEOF
9690 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9691 _ACEOF
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9696 $as_echo_n "checking for -lXext... " >&6; }
9697 if ${ac_cv_lib_soname_Xext+:} false; then :
9698 $as_echo_n "(cached) " >&6
9699 else
9700 ac_check_soname_save_LIBS=$LIBS
9701 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9703 /* end confdefs.h. */
9705 /* Override any GCC internal prototype to avoid an error.
9706 Use char because int might match the return type of a GCC
9707 builtin and then its argument prototype would still apply. */
9708 #ifdef __cplusplus
9709 extern "C"
9710 #endif
9711 char XextCreateExtension ();
9713 main ()
9715 return XextCreateExtension ();
9717 return 0;
9719 _ACEOF
9720 if ac_fn_c_try_link "$LINENO"; then :
9721 case "$LIBEXT" in
9722 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9723 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'` ;;
9724 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9725 if ${ac_cv_lib_soname_Xext:+false} :; then :
9726 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9727 fi ;;
9728 esac
9730 rm -f core conftest.err conftest.$ac_objext \
9731 conftest$ac_exeext conftest.$ac_ext
9732 LIBS=$ac_check_soname_save_LIBS
9734 if ${ac_cv_lib_soname_Xext:+false} :; then :
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9736 $as_echo "not found" >&6; }
9738 else
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9740 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9742 cat >>confdefs.h <<_ACEOF
9743 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9744 _ACEOF
9746 X_LIBS="$X_LIBS -lXext"
9748 X_LIBS="$X_LIBS -lX11"
9750 for ac_header in X11/Xlib.h \
9751 X11/XKBlib.h \
9752 X11/Xutil.h \
9753 X11/Xcursor/Xcursor.h \
9754 X11/extensions/shape.h \
9755 X11/extensions/XInput.h \
9756 X11/extensions/XInput2.h \
9757 X11/extensions/XShm.h \
9758 X11/extensions/Xcomposite.h \
9759 X11/extensions/Xfixes.h \
9760 X11/extensions/Xinerama.h \
9761 X11/extensions/Xrandr.h \
9762 X11/extensions/Xrender.h \
9763 X11/extensions/xf86vmode.h \
9764 X11/extensions/xf86vmproto.h
9765 do :
9766 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9767 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9768 # include <X11/Xlib.h>
9769 #endif
9770 #ifdef HAVE_X11_XUTIL_H
9771 # include <X11/Xutil.h>
9772 #endif
9774 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9775 cat >>confdefs.h <<_ACEOF
9776 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9777 _ACEOF
9781 done
9784 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9785 then
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9787 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9788 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9789 $as_echo_n "(cached) " >&6
9790 else
9791 ac_check_lib_save_LIBS=$LIBS
9792 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9794 /* end confdefs.h. */
9796 /* Override any GCC internal prototype to avoid an error.
9797 Use char because int might match the return type of a GCC
9798 builtin and then its argument prototype would still apply. */
9799 #ifdef __cplusplus
9800 extern "C"
9801 #endif
9802 char XkbQueryExtension ();
9804 main ()
9806 return XkbQueryExtension ();
9808 return 0;
9810 _ACEOF
9811 if ac_fn_c_try_link "$LINENO"; then :
9812 ac_cv_lib_X11_XkbQueryExtension=yes
9813 else
9814 ac_cv_lib_X11_XkbQueryExtension=no
9816 rm -f core conftest.err conftest.$ac_objext \
9817 conftest$ac_exeext conftest.$ac_ext
9818 LIBS=$ac_check_lib_save_LIBS
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9821 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9822 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9824 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9830 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9831 then
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9833 $as_echo_n "checking for -lXcursor... " >&6; }
9834 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9835 $as_echo_n "(cached) " >&6
9836 else
9837 ac_check_soname_save_LIBS=$LIBS
9838 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9840 /* end confdefs.h. */
9842 /* Override any GCC internal prototype to avoid an error.
9843 Use char because int might match the return type of a GCC
9844 builtin and then its argument prototype would still apply. */
9845 #ifdef __cplusplus
9846 extern "C"
9847 #endif
9848 char XcursorImageLoadCursor ();
9850 main ()
9852 return XcursorImageLoadCursor ();
9854 return 0;
9856 _ACEOF
9857 if ac_fn_c_try_link "$LINENO"; then :
9858 case "$LIBEXT" in
9859 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9860 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'` ;;
9861 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9862 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9863 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9864 fi ;;
9865 esac
9867 rm -f core conftest.err conftest.$ac_objext \
9868 conftest$ac_exeext conftest.$ac_ext
9869 LIBS=$ac_check_soname_save_LIBS
9871 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9873 $as_echo "not found" >&6; }
9875 else
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9877 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9879 cat >>confdefs.h <<_ACEOF
9880 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9881 _ACEOF
9886 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9887 case "x$with_xcursor" in
9888 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9889 xno) ;;
9890 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9891 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9892 esac
9896 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9897 then
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9899 $as_echo_n "checking for -lXi... " >&6; }
9900 if ${ac_cv_lib_soname_Xi+:} false; then :
9901 $as_echo_n "(cached) " >&6
9902 else
9903 ac_check_soname_save_LIBS=$LIBS
9904 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9906 /* end confdefs.h. */
9908 /* Override any GCC internal prototype to avoid an error.
9909 Use char because int might match the return type of a GCC
9910 builtin and then its argument prototype would still apply. */
9911 #ifdef __cplusplus
9912 extern "C"
9913 #endif
9914 char XOpenDevice ();
9916 main ()
9918 return XOpenDevice ();
9920 return 0;
9922 _ACEOF
9923 if ac_fn_c_try_link "$LINENO"; then :
9924 case "$LIBEXT" in
9925 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9926 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'` ;;
9927 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9928 if ${ac_cv_lib_soname_Xi:+false} :; then :
9929 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9930 fi ;;
9931 esac
9933 rm -f core conftest.err conftest.$ac_objext \
9934 conftest$ac_exeext conftest.$ac_ext
9935 LIBS=$ac_check_soname_save_LIBS
9937 if ${ac_cv_lib_soname_Xi:+false} :; then :
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9939 $as_echo "not found" >&6; }
9941 else
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9943 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9945 cat >>confdefs.h <<_ACEOF
9946 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9947 _ACEOF
9952 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9953 case "x$with_xinput" in
9954 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9955 xno) ;;
9956 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9957 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9958 esac
9962 if test "x$ac_cv_lib_soname_Xi" != x
9963 then
9964 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9965 case "x$with_xinput2" in
9966 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9967 xno) ;;
9968 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9969 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9970 esac
9975 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9976 then
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9978 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9979 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9980 $as_echo_n "(cached) " >&6
9981 else
9982 ac_check_lib_save_LIBS=$LIBS
9983 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9985 /* end confdefs.h. */
9987 /* Override any GCC internal prototype to avoid an error.
9988 Use char because int might match the return type of a GCC
9989 builtin and then its argument prototype would still apply. */
9990 #ifdef __cplusplus
9991 extern "C"
9992 #endif
9993 char XShmQueryExtension ();
9995 main ()
9997 return XShmQueryExtension ();
9999 return 0;
10001 _ACEOF
10002 if ac_fn_c_try_link "$LINENO"; then :
10003 ac_cv_lib_Xext_XShmQueryExtension=yes
10004 else
10005 ac_cv_lib_Xext_XShmQueryExtension=no
10007 rm -f core conftest.err conftest.$ac_objext \
10008 conftest$ac_exeext conftest.$ac_ext
10009 LIBS=$ac_check_lib_save_LIBS
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10012 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10013 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10015 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10020 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10021 case "x$with_xshm" in
10022 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10023 xno) ;;
10024 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10025 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10026 esac
10030 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10031 then
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10033 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10034 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10035 $as_echo_n "(cached) " >&6
10036 else
10037 ac_check_lib_save_LIBS=$LIBS
10038 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10040 /* end confdefs.h. */
10042 /* Override any GCC internal prototype to avoid an error.
10043 Use char because int might match the return type of a GCC
10044 builtin and then its argument prototype would still apply. */
10045 #ifdef __cplusplus
10046 extern "C"
10047 #endif
10048 char XShapeQueryExtension ();
10050 main ()
10052 return XShapeQueryExtension ();
10054 return 0;
10056 _ACEOF
10057 if ac_fn_c_try_link "$LINENO"; then :
10058 ac_cv_lib_Xext_XShapeQueryExtension=yes
10059 else
10060 ac_cv_lib_Xext_XShapeQueryExtension=no
10062 rm -f core conftest.err conftest.$ac_objext \
10063 conftest$ac_exeext conftest.$ac_ext
10064 LIBS=$ac_check_lib_save_LIBS
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10067 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10068 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10070 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10075 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10076 case "x$with_xshape" in
10077 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10078 xno) ;;
10079 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10080 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10081 esac
10085 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10086 then
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10088 $as_echo_n "checking for -lXxf86vm... " >&6; }
10089 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10090 $as_echo_n "(cached) " >&6
10091 else
10092 ac_check_soname_save_LIBS=$LIBS
10093 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10095 /* end confdefs.h. */
10097 /* Override any GCC internal prototype to avoid an error.
10098 Use char because int might match the return type of a GCC
10099 builtin and then its argument prototype would still apply. */
10100 #ifdef __cplusplus
10101 extern "C"
10102 #endif
10103 char XF86VidModeQueryExtension ();
10105 main ()
10107 return XF86VidModeQueryExtension ();
10109 return 0;
10111 _ACEOF
10112 if ac_fn_c_try_link "$LINENO"; then :
10113 case "$LIBEXT" in
10114 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10115 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'` ;;
10116 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10117 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10118 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10119 fi ;;
10120 esac
10122 rm -f core conftest.err conftest.$ac_objext \
10123 conftest$ac_exeext conftest.$ac_ext
10124 LIBS=$ac_check_soname_save_LIBS
10126 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10128 $as_echo "not found" >&6; }
10130 else
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10132 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10134 cat >>confdefs.h <<_ACEOF
10135 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10136 _ACEOF
10141 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10142 case "x$with_xxf86vm" in
10143 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10144 xno) ;;
10145 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10146 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10147 esac
10151 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10152 then
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10154 $as_echo_n "checking for -lXrender... " >&6; }
10155 if ${ac_cv_lib_soname_Xrender+:} false; then :
10156 $as_echo_n "(cached) " >&6
10157 else
10158 ac_check_soname_save_LIBS=$LIBS
10159 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10161 /* end confdefs.h. */
10163 /* Override any GCC internal prototype to avoid an error.
10164 Use char because int might match the return type of a GCC
10165 builtin and then its argument prototype would still apply. */
10166 #ifdef __cplusplus
10167 extern "C"
10168 #endif
10169 char XRenderQueryExtension ();
10171 main ()
10173 return XRenderQueryExtension ();
10175 return 0;
10177 _ACEOF
10178 if ac_fn_c_try_link "$LINENO"; then :
10179 case "$LIBEXT" in
10180 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10181 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'` ;;
10182 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10183 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10184 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10185 fi ;;
10186 esac
10188 rm -f core conftest.err conftest.$ac_objext \
10189 conftest$ac_exeext conftest.$ac_ext
10190 LIBS=$ac_check_soname_save_LIBS
10192 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10194 $as_echo "not found" >&6; }
10196 else
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10198 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10200 cat >>confdefs.h <<_ACEOF
10201 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10202 _ACEOF
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10205 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10206 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10207 $as_echo_n "(cached) " >&6
10208 else
10209 ac_check_lib_save_LIBS=$LIBS
10210 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10212 /* end confdefs.h. */
10214 /* Override any GCC internal prototype to avoid an error.
10215 Use char because int might match the return type of a GCC
10216 builtin and then its argument prototype would still apply. */
10217 #ifdef __cplusplus
10218 extern "C"
10219 #endif
10220 char XRenderSetPictureTransform ();
10222 main ()
10224 return XRenderSetPictureTransform ();
10226 return 0;
10228 _ACEOF
10229 if ac_fn_c_try_link "$LINENO"; then :
10230 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10231 else
10232 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10234 rm -f core conftest.err conftest.$ac_objext \
10235 conftest$ac_exeext conftest.$ac_ext
10236 LIBS=$ac_check_lib_save_LIBS
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10239 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10240 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10242 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10247 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10248 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10249 $as_echo_n "(cached) " >&6
10250 else
10251 ac_check_lib_save_LIBS=$LIBS
10252 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10254 /* end confdefs.h. */
10256 /* Override any GCC internal prototype to avoid an error.
10257 Use char because int might match the return type of a GCC
10258 builtin and then its argument prototype would still apply. */
10259 #ifdef __cplusplus
10260 extern "C"
10261 #endif
10262 char XRenderCreateLinearGradient ();
10264 main ()
10266 return XRenderCreateLinearGradient ();
10268 return 0;
10270 _ACEOF
10271 if ac_fn_c_try_link "$LINENO"; then :
10272 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10273 else
10274 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10276 rm -f core conftest.err conftest.$ac_objext \
10277 conftest$ac_exeext conftest.$ac_ext
10278 LIBS=$ac_check_lib_save_LIBS
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10281 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10282 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10284 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10291 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10292 case "x$with_xrender" in
10293 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10294 xno) ;;
10295 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10296 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10297 esac
10301 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10302 then
10303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10304 /* end confdefs.h. */
10305 #include <X11/Xlib.h>
10306 #include <X11/extensions/Xrandr.h>
10308 main ()
10310 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10312 return 0;
10314 _ACEOF
10315 if ac_fn_c_try_compile "$LINENO"; then :
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10317 $as_echo_n "checking for -lXrandr... " >&6; }
10318 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10319 $as_echo_n "(cached) " >&6
10320 else
10321 ac_check_soname_save_LIBS=$LIBS
10322 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10324 /* end confdefs.h. */
10326 /* Override any GCC internal prototype to avoid an error.
10327 Use char because int might match the return type of a GCC
10328 builtin and then its argument prototype would still apply. */
10329 #ifdef __cplusplus
10330 extern "C"
10331 #endif
10332 char XRRQueryExtension ();
10334 main ()
10336 return XRRQueryExtension ();
10338 return 0;
10340 _ACEOF
10341 if ac_fn_c_try_link "$LINENO"; then :
10342 case "$LIBEXT" in
10343 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10344 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'` ;;
10345 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10346 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10347 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10348 fi ;;
10349 esac
10351 rm -f core conftest.err conftest.$ac_objext \
10352 conftest$ac_exeext conftest.$ac_ext
10353 LIBS=$ac_check_soname_save_LIBS
10355 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10357 $as_echo "not found" >&6; }
10359 else
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10361 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10363 cat >>confdefs.h <<_ACEOF
10364 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10365 _ACEOF
10367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10368 /* end confdefs.h. */
10369 #include <X11/Xlib.h>
10370 #include <X11/extensions/Xrandr.h>
10372 main ()
10374 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10376 return 0;
10378 _ACEOF
10379 if ac_fn_c_try_compile "$LINENO"; then :
10381 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10389 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10390 case "x$with_xrandr" in
10391 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10392 xno) ;;
10393 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10394 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10395 esac
10399 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10400 then
10401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10402 /* end confdefs.h. */
10403 #include <X11/Xlib.h>
10404 #include <X11/extensions/Xfixes.h>
10406 main ()
10408 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10410 return 0;
10412 _ACEOF
10413 if ac_fn_c_try_compile "$LINENO"; then :
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10415 $as_echo_n "checking for -lXfixes... " >&6; }
10416 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10417 $as_echo_n "(cached) " >&6
10418 else
10419 ac_check_soname_save_LIBS=$LIBS
10420 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10422 /* end confdefs.h. */
10424 /* Override any GCC internal prototype to avoid an error.
10425 Use char because int might match the return type of a GCC
10426 builtin and then its argument prototype would still apply. */
10427 #ifdef __cplusplus
10428 extern "C"
10429 #endif
10430 char XFixesQueryVersion ();
10432 main ()
10434 return XFixesQueryVersion ();
10436 return 0;
10438 _ACEOF
10439 if ac_fn_c_try_link "$LINENO"; then :
10440 case "$LIBEXT" in
10441 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10442 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'` ;;
10443 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10444 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10445 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10446 fi ;;
10447 esac
10449 rm -f core conftest.err conftest.$ac_objext \
10450 conftest$ac_exeext conftest.$ac_ext
10451 LIBS=$ac_check_soname_save_LIBS
10453 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10455 $as_echo "not found" >&6; }
10457 else
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10459 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10461 cat >>confdefs.h <<_ACEOF
10462 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10463 _ACEOF
10468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10470 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10471 case "x$with_xfixes" in
10472 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10473 xno) ;;
10474 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10475 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10476 esac
10480 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10481 then
10482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10483 /* end confdefs.h. */
10484 #include <X11/Xlib.h>
10485 #include <X11/extensions/Xinerama.h>
10487 main ()
10489 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10491 return 0;
10493 _ACEOF
10494 if ac_fn_c_try_compile "$LINENO"; then :
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10496 $as_echo_n "checking for -lXinerama... " >&6; }
10497 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10498 $as_echo_n "(cached) " >&6
10499 else
10500 ac_check_soname_save_LIBS=$LIBS
10501 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10503 /* end confdefs.h. */
10505 /* Override any GCC internal prototype to avoid an error.
10506 Use char because int might match the return type of a GCC
10507 builtin and then its argument prototype would still apply. */
10508 #ifdef __cplusplus
10509 extern "C"
10510 #endif
10511 char XineramaQueryScreens ();
10513 main ()
10515 return XineramaQueryScreens ();
10517 return 0;
10519 _ACEOF
10520 if ac_fn_c_try_link "$LINENO"; then :
10521 case "$LIBEXT" in
10522 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10523 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'` ;;
10524 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10525 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10526 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10527 fi ;;
10528 esac
10530 rm -f core conftest.err conftest.$ac_objext \
10531 conftest$ac_exeext conftest.$ac_ext
10532 LIBS=$ac_check_soname_save_LIBS
10534 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10536 $as_echo "not found" >&6; }
10538 else
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10540 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10542 cat >>confdefs.h <<_ACEOF
10543 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10544 _ACEOF
10549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10551 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10552 case "x$with_xinerama" in
10553 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10554 xno) ;;
10555 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10556 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10557 esac
10561 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10562 then
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10564 $as_echo_n "checking for -lXcomposite... " >&6; }
10565 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10566 $as_echo_n "(cached) " >&6
10567 else
10568 ac_check_soname_save_LIBS=$LIBS
10569 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10571 /* end confdefs.h. */
10573 /* Override any GCC internal prototype to avoid an error.
10574 Use char because int might match the return type of a GCC
10575 builtin and then its argument prototype would still apply. */
10576 #ifdef __cplusplus
10577 extern "C"
10578 #endif
10579 char XCompositeRedirectWindow ();
10581 main ()
10583 return XCompositeRedirectWindow ();
10585 return 0;
10587 _ACEOF
10588 if ac_fn_c_try_link "$LINENO"; then :
10589 case "$LIBEXT" in
10590 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10591 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'` ;;
10592 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10593 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10594 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10595 fi ;;
10596 esac
10598 rm -f core conftest.err conftest.$ac_objext \
10599 conftest$ac_exeext conftest.$ac_ext
10600 LIBS=$ac_check_soname_save_LIBS
10602 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10604 $as_echo "not found" >&6; }
10606 else
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10608 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10610 cat >>confdefs.h <<_ACEOF
10611 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10612 _ACEOF
10617 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10618 case "x$with_xcomposite" in
10619 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10620 xno) ;;
10621 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10622 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10623 esac
10627 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10628 #include <X11/Xlib.h>
10629 #endif
10631 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10633 cat >>confdefs.h <<_ACEOF
10634 #define HAVE_XICCALLBACK_CALLBACK 1
10635 _ACEOF
10639 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10640 #include <X11/Xlib.h>
10641 #endif
10643 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10645 cat >>confdefs.h <<_ACEOF
10646 #define HAVE_XEVENT_XCOOKIE 1
10647 _ACEOF
10654 opengl_msg=""
10655 if test "x$with_opengl" != "xno"
10656 then
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10658 $as_echo_n "checking for -lGL... " >&6; }
10659 if ${ac_cv_lib_soname_GL+:} false; then :
10660 $as_echo_n "(cached) " >&6
10661 else
10662 ac_check_soname_save_LIBS=$LIBS
10663 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10665 /* end confdefs.h. */
10667 /* Override any GCC internal prototype to avoid an error.
10668 Use char because int might match the return type of a GCC
10669 builtin and then its argument prototype would still apply. */
10670 #ifdef __cplusplus
10671 extern "C"
10672 #endif
10673 char glXCreateContext ();
10675 main ()
10677 return glXCreateContext ();
10679 return 0;
10681 _ACEOF
10682 if ac_fn_c_try_link "$LINENO"; then :
10683 case "$LIBEXT" in
10684 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10685 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'` ;;
10686 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10687 if ${ac_cv_lib_soname_GL:+false} :; then :
10688 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10689 fi ;;
10690 esac
10692 rm -f core conftest.err conftest.$ac_objext \
10693 conftest$ac_exeext conftest.$ac_ext
10694 LIBS=$ac_check_soname_save_LIBS
10696 if ${ac_cv_lib_soname_GL:+false} :; then :
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10698 $as_echo "not found" >&6; }
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10700 $as_echo_n "checking for -lGL... " >&6; }
10701 if ${ac_cv_lib_soname_GL+:} false; then :
10702 $as_echo_n "(cached) " >&6
10703 else
10704 ac_check_soname_save_LIBS=$LIBS
10705 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"
10706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10707 /* end confdefs.h. */
10709 /* Override any GCC internal prototype to avoid an error.
10710 Use char because int might match the return type of a GCC
10711 builtin and then its argument prototype would still apply. */
10712 #ifdef __cplusplus
10713 extern "C"
10714 #endif
10715 char glXCreateContext ();
10717 main ()
10719 return glXCreateContext ();
10721 return 0;
10723 _ACEOF
10724 if ac_fn_c_try_link "$LINENO"; then :
10725 case "$LIBEXT" in
10726 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10727 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'` ;;
10728 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10729 if ${ac_cv_lib_soname_GL:+false} :; then :
10730 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10731 fi ;;
10732 esac
10734 rm -f core conftest.err conftest.$ac_objext \
10735 conftest$ac_exeext conftest.$ac_ext
10736 LIBS=$ac_check_soname_save_LIBS
10738 if ${ac_cv_lib_soname_GL:+false} :; then :
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10740 $as_echo "not found" >&6; }
10741 if test -f /usr/X11R6/lib/libGL.a
10742 then
10743 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10744 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10745 else
10746 opengl_msg="No OpenGL library found on this system."
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="-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"
10758 else
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10760 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10762 cat >>confdefs.h <<_ACEOF
10763 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10764 _ACEOF
10766 OPENGL_LIBS="-lGL"
10768 if test "x$with_glu" != "xno"
10769 then
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10771 $as_echo_n "checking for -lGLU... " >&6; }
10772 if ${ac_cv_lib_soname_GLU+:} false; then :
10773 $as_echo_n "(cached) " >&6
10774 else
10775 ac_check_soname_save_LIBS=$LIBS
10776 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10778 /* end confdefs.h. */
10780 /* Override any GCC internal prototype to avoid an error.
10781 Use char because int might match the return type of a GCC
10782 builtin and then its argument prototype would still apply. */
10783 #ifdef __cplusplus
10784 extern "C"
10785 #endif
10786 char gluLookAt ();
10788 main ()
10790 return gluLookAt ();
10792 return 0;
10794 _ACEOF
10795 if ac_fn_c_try_link "$LINENO"; then :
10796 case "$LIBEXT" in
10797 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10798 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'` ;;
10799 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10800 if ${ac_cv_lib_soname_GLU:+false} :; then :
10801 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10802 fi ;;
10803 esac
10805 rm -f core conftest.err conftest.$ac_objext \
10806 conftest$ac_exeext conftest.$ac_ext
10807 LIBS=$ac_check_soname_save_LIBS
10809 if ${ac_cv_lib_soname_GLU:+false} :; then :
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10811 $as_echo "not found" >&6; }
10813 else
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10815 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10817 cat >>confdefs.h <<_ACEOF
10818 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10819 _ACEOF
10823 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10824 case "x$with_glu" in
10825 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10826 xno) ;;
10827 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10828 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10829 esac
10834 if test "x$with_osmesa" != "xno"
10835 then
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10837 $as_echo_n "checking for -lOSMesa... " >&6; }
10838 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10839 $as_echo_n "(cached) " >&6
10840 else
10841 ac_check_soname_save_LIBS=$LIBS
10842 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10844 /* end confdefs.h. */
10846 /* Override any GCC internal prototype to avoid an error.
10847 Use char because int might match the return type of a GCC
10848 builtin and then its argument prototype would still apply. */
10849 #ifdef __cplusplus
10850 extern "C"
10851 #endif
10852 char OSMesaGetProcAddress ();
10854 main ()
10856 return OSMesaGetProcAddress ();
10858 return 0;
10860 _ACEOF
10861 if ac_fn_c_try_link "$LINENO"; then :
10862 case "$LIBEXT" in
10863 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10864 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'` ;;
10865 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10866 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10867 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10868 fi ;;
10869 esac
10871 rm -f core conftest.err conftest.$ac_objext \
10872 conftest$ac_exeext conftest.$ac_ext
10873 LIBS=$ac_check_soname_save_LIBS
10875 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10877 $as_echo "not found" >&6; }
10879 else
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10881 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10883 cat >>confdefs.h <<_ACEOF
10884 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10885 _ACEOF
10889 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10890 case "x$with_osmesa" in
10891 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10892 xno) ;;
10893 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10894 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10895 esac
10900 if test -n "$opengl_msg"; then :
10901 case "x$with_opengl" in
10902 x) as_fn_append wine_warnings "|$opengl_msg
10903 OpenGL and Direct3D won't be supported." ;;
10904 xno) ;;
10905 *) as_fn_error $? "$opengl_msg
10906 OpenGL and Direct3D won't be supported.
10907 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10908 esac
10912 CPPFLAGS="$ac_save_CPPFLAGS"
10913 else
10914 X_CFLAGS=""
10915 X_LIBS=""
10918 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10919 then
10920 if test "x$X_LIBS" = "x"; then :
10921 case "x$with_x" in
10922 xno) ;;
10923 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10924 without X support, which probably isn't what you want. You will need
10925 to install ${notice_platform}development packages of Xlib at the very least.
10926 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10927 esac
10928 enable_winex11_drv=${enable_winex11_drv:-no}
10930 else
10931 if test "x$X_LIBS" = "x"; then :
10932 case "x$with_x" in
10933 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10934 xno) ;;
10935 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10936 This is an error since --with-x was requested." "$LINENO" 5 ;;
10937 esac
10938 enable_winex11_drv=${enable_winex11_drv:-no}
10942 if test "$ac_cv_header_CL_cl_h" = "yes"
10943 then
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10945 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10946 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10947 $as_echo_n "(cached) " >&6
10948 else
10949 ac_check_lib_save_LIBS=$LIBS
10950 LIBS="-lOpenCL $LIBS"
10951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10952 /* end confdefs.h. */
10954 /* Override any GCC internal prototype to avoid an error.
10955 Use char because int might match the return type of a GCC
10956 builtin and then its argument prototype would still apply. */
10957 #ifdef __cplusplus
10958 extern "C"
10959 #endif
10960 char clGetPlatformInfo ();
10962 main ()
10964 return clGetPlatformInfo ();
10966 return 0;
10968 _ACEOF
10969 if ac_fn_c_try_link "$LINENO"; then :
10970 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10971 else
10972 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10974 rm -f core conftest.err conftest.$ac_objext \
10975 conftest$ac_exeext conftest.$ac_ext
10976 LIBS=$ac_check_lib_save_LIBS
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10979 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10980 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10981 OPENCL_LIBS="-lOpenCL"
10986 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10987 case "x$with_opencl" in
10988 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10989 xno) ;;
10990 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10991 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10992 esac
10993 enable_opencl=${enable_opencl:-no}
10996 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10997 then
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10999 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11000 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11001 $as_echo_n "(cached) " >&6
11002 else
11003 ac_check_lib_save_LIBS=$LIBS
11004 LIBS="-lpcap $LIBS"
11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11008 /* Override any GCC internal prototype to avoid an error.
11009 Use char because int might match the return type of a GCC
11010 builtin and then its argument prototype would still apply. */
11011 #ifdef __cplusplus
11012 extern "C"
11013 #endif
11014 char pcap_create ();
11016 main ()
11018 return pcap_create ();
11020 return 0;
11022 _ACEOF
11023 if ac_fn_c_try_link "$LINENO"; then :
11024 ac_cv_lib_pcap_pcap_create=yes
11025 else
11026 ac_cv_lib_pcap_pcap_create=no
11028 rm -f core conftest.err conftest.$ac_objext \
11029 conftest$ac_exeext conftest.$ac_ext
11030 LIBS=$ac_check_lib_save_LIBS
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11033 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11034 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11035 PCAP_LIBS="-lpcap"
11040 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11041 case "x$with_pcap" in
11042 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11043 xno) ;;
11044 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11045 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11046 esac
11047 enable_wpcap=${enable_wpcap:-no}
11051 if test "x$with_xml" != "xno"
11052 then
11053 if ${XML2_CFLAGS:+false} :; then :
11054 if ${PKG_CONFIG+:} false; then :
11055 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11058 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11059 if ${XML2_LIBS:+false} :; then :
11060 if ${PKG_CONFIG+:} false; then :
11061 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11064 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11065 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11066 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11067 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11068 ac_save_CPPFLAGS=$CPPFLAGS
11069 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11070 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11071 do :
11072 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11073 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11074 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11075 cat >>confdefs.h <<_ACEOF
11076 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11077 _ACEOF
11081 done
11083 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"
11084 then
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11086 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11087 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11088 $as_echo_n "(cached) " >&6
11089 else
11090 ac_check_lib_save_LIBS=$LIBS
11091 LIBS="-lxml2 $XML2_LIBS $LIBS"
11092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11093 /* end confdefs.h. */
11095 /* Override any GCC internal prototype to avoid an error.
11096 Use char because int might match the return type of a GCC
11097 builtin and then its argument prototype would still apply. */
11098 #ifdef __cplusplus
11099 extern "C"
11100 #endif
11101 char xmlParseMemory ();
11103 main ()
11105 return xmlParseMemory ();
11107 return 0;
11109 _ACEOF
11110 if ac_fn_c_try_link "$LINENO"; then :
11111 ac_cv_lib_xml2_xmlParseMemory=yes
11112 else
11113 ac_cv_lib_xml2_xmlParseMemory=no
11115 rm -f core conftest.err conftest.$ac_objext \
11116 conftest$ac_exeext conftest.$ac_ext
11117 LIBS=$ac_check_lib_save_LIBS
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11120 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11121 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11123 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11125 else
11126 XML2_LIBS=""
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11130 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11131 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11132 $as_echo_n "(cached) " >&6
11133 else
11134 ac_check_lib_save_LIBS=$LIBS
11135 LIBS="-lxml2 $XML2_LIBS $LIBS"
11136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11137 /* end confdefs.h. */
11139 /* Override any GCC internal prototype to avoid an error.
11140 Use char because int might match the return type of a GCC
11141 builtin and then its argument prototype would still apply. */
11142 #ifdef __cplusplus
11143 extern "C"
11144 #endif
11145 char xmlReadMemory ();
11147 main ()
11149 return xmlReadMemory ();
11151 return 0;
11153 _ACEOF
11154 if ac_fn_c_try_link "$LINENO"; then :
11155 ac_cv_lib_xml2_xmlReadMemory=yes
11156 else
11157 ac_cv_lib_xml2_xmlReadMemory=no
11159 rm -f core conftest.err conftest.$ac_objext \
11160 conftest$ac_exeext conftest.$ac_ext
11161 LIBS=$ac_check_lib_save_LIBS
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11164 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11165 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11167 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11172 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11173 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11174 $as_echo_n "(cached) " >&6
11175 else
11176 ac_check_lib_save_LIBS=$LIBS
11177 LIBS="-lxml2 $XML2_LIBS $LIBS"
11178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11179 /* end confdefs.h. */
11181 /* Override any GCC internal prototype to avoid an error.
11182 Use char because int might match the return type of a GCC
11183 builtin and then its argument prototype would still apply. */
11184 #ifdef __cplusplus
11185 extern "C"
11186 #endif
11187 char xmlNewDocPI ();
11189 main ()
11191 return xmlNewDocPI ();
11193 return 0;
11195 _ACEOF
11196 if ac_fn_c_try_link "$LINENO"; then :
11197 ac_cv_lib_xml2_xmlNewDocPI=yes
11198 else
11199 ac_cv_lib_xml2_xmlNewDocPI=no
11201 rm -f core conftest.err conftest.$ac_objext \
11202 conftest$ac_exeext conftest.$ac_ext
11203 LIBS=$ac_check_lib_save_LIBS
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11206 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11207 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11209 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11214 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11215 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11216 $as_echo_n "(cached) " >&6
11217 else
11218 ac_check_lib_save_LIBS=$LIBS
11219 LIBS="-lxml2 $XML2_LIBS $LIBS"
11220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11221 /* end confdefs.h. */
11223 /* Override any GCC internal prototype to avoid an error.
11224 Use char because int might match the return type of a GCC
11225 builtin and then its argument prototype would still apply. */
11226 #ifdef __cplusplus
11227 extern "C"
11228 #endif
11229 char xmlSchemaSetParserStructuredErrors ();
11231 main ()
11233 return xmlSchemaSetParserStructuredErrors ();
11235 return 0;
11237 _ACEOF
11238 if ac_fn_c_try_link "$LINENO"; then :
11239 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11240 else
11241 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11243 rm -f core conftest.err conftest.$ac_objext \
11244 conftest$ac_exeext conftest.$ac_ext
11245 LIBS=$ac_check_lib_save_LIBS
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11248 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11249 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11251 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11256 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11257 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11258 $as_echo_n "(cached) " >&6
11259 else
11260 ac_check_lib_save_LIBS=$LIBS
11261 LIBS="-lxml2 $XML2_LIBS $LIBS"
11262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11263 /* end confdefs.h. */
11265 /* Override any GCC internal prototype to avoid an error.
11266 Use char because int might match the return type of a GCC
11267 builtin and then its argument prototype would still apply. */
11268 #ifdef __cplusplus
11269 extern "C"
11270 #endif
11271 char xmlSchemaSetValidStructuredErrors ();
11273 main ()
11275 return xmlSchemaSetValidStructuredErrors ();
11277 return 0;
11279 _ACEOF
11280 if ac_fn_c_try_link "$LINENO"; then :
11281 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11282 else
11283 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11285 rm -f core conftest.err conftest.$ac_objext \
11286 conftest$ac_exeext conftest.$ac_ext
11287 LIBS=$ac_check_lib_save_LIBS
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11290 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11291 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11293 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11298 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11299 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11300 $as_echo_n "(cached) " >&6
11301 else
11302 ac_check_lib_save_LIBS=$LIBS
11303 LIBS="-lxml2 $XML2_LIBS $LIBS"
11304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11305 /* end confdefs.h. */
11307 /* Override any GCC internal prototype to avoid an error.
11308 Use char because int might match the return type of a GCC
11309 builtin and then its argument prototype would still apply. */
11310 #ifdef __cplusplus
11311 extern "C"
11312 #endif
11313 char xmlFirstElementChild ();
11315 main ()
11317 return xmlFirstElementChild ();
11319 return 0;
11321 _ACEOF
11322 if ac_fn_c_try_link "$LINENO"; then :
11323 ac_cv_lib_xml2_xmlFirstElementChild=yes
11324 else
11325 ac_cv_lib_xml2_xmlFirstElementChild=no
11327 rm -f core conftest.err conftest.$ac_objext \
11328 conftest$ac_exeext conftest.$ac_ext
11329 LIBS=$ac_check_lib_save_LIBS
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11332 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11333 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11335 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11339 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11341 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11343 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11347 else
11348 XML2_CFLAGS=""
11349 XML2_LIBS=""
11351 CPPFLAGS=$ac_save_CPPFLAGS
11352 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11353 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11356 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11357 case "x$with_xml" in
11358 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11359 xno) ;;
11360 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11361 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11362 esac
11366 if test "x$with_xslt" != "xno"
11367 then
11368 if ${XSLT_CFLAGS:+false} :; then :
11369 if ${PKG_CONFIG+:} false; then :
11370 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11373 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11374 if ${XSLT_LIBS:+false} :; then :
11375 if ${PKG_CONFIG+:} false; then :
11376 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11379 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11380 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11381 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11382 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11383 ac_save_CPPFLAGS=$CPPFLAGS
11384 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11385 for ac_header in libxslt/pattern.h libxslt/transform.h
11386 do :
11387 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11388 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11389 # include <libxslt/pattern.h>
11390 #endif
11392 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11393 cat >>confdefs.h <<_ACEOF
11394 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11395 _ACEOF
11399 done
11401 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11402 then
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11404 $as_echo_n "checking for -lxslt... " >&6; }
11405 if ${ac_cv_lib_soname_xslt+:} false; then :
11406 $as_echo_n "(cached) " >&6
11407 else
11408 ac_check_soname_save_LIBS=$LIBS
11409 LIBS="-lxslt $XSLT_LIBS $LIBS"
11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11413 /* Override any GCC internal prototype to avoid an error.
11414 Use char because int might match the return type of a GCC
11415 builtin and then its argument prototype would still apply. */
11416 #ifdef __cplusplus
11417 extern "C"
11418 #endif
11419 char xsltCompilePattern ();
11421 main ()
11423 return xsltCompilePattern ();
11425 return 0;
11427 _ACEOF
11428 if ac_fn_c_try_link "$LINENO"; then :
11429 case "$LIBEXT" in
11430 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11431 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'` ;;
11432 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11433 if ${ac_cv_lib_soname_xslt:+false} :; then :
11434 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11435 fi ;;
11436 esac
11438 rm -f core conftest.err conftest.$ac_objext \
11439 conftest$ac_exeext conftest.$ac_ext
11440 LIBS=$ac_check_soname_save_LIBS
11442 if ${ac_cv_lib_soname_xslt:+false} :; then :
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11444 $as_echo "not found" >&6; }
11446 else
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11448 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11450 cat >>confdefs.h <<_ACEOF
11451 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11452 _ACEOF
11456 else
11457 XSLT_CFLAGS=""
11459 CPPFLAGS=$ac_save_CPPFLAGS
11460 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11461 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11464 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11465 case "x$with_xslt" in
11466 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11467 xno) ;;
11468 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11469 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11470 esac
11474 if test "x$with_dbus" != "xno"
11475 then
11476 if ${DBUS_CFLAGS:+false} :; then :
11477 if ${PKG_CONFIG+:} false; then :
11478 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11482 if ${DBUS_LIBS:+false} :; then :
11483 if ${PKG_CONFIG+:} false; then :
11484 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11489 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11490 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11491 ac_save_CPPFLAGS=$CPPFLAGS
11492 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11493 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11494 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11496 $as_echo_n "checking for -ldbus-1... " >&6; }
11497 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11498 $as_echo_n "(cached) " >&6
11499 else
11500 ac_check_soname_save_LIBS=$LIBS
11501 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11503 /* end confdefs.h. */
11505 /* Override any GCC internal prototype to avoid an error.
11506 Use char because int might match the return type of a GCC
11507 builtin and then its argument prototype would still apply. */
11508 #ifdef __cplusplus
11509 extern "C"
11510 #endif
11511 char dbus_connection_close ();
11513 main ()
11515 return dbus_connection_close ();
11517 return 0;
11519 _ACEOF
11520 if ac_fn_c_try_link "$LINENO"; then :
11521 case "$LIBEXT" in
11522 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11523 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'` ;;
11524 *) 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'`
11525 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11526 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11527 fi ;;
11528 esac
11530 rm -f core conftest.err conftest.$ac_objext \
11531 conftest$ac_exeext conftest.$ac_ext
11532 LIBS=$ac_check_soname_save_LIBS
11534 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11536 $as_echo "not found" >&6; }
11537 DBUS_CFLAGS=""
11538 else
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11540 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11542 cat >>confdefs.h <<_ACEOF
11543 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11544 _ACEOF
11548 else
11549 DBUS_CFLAGS=""
11553 CPPFLAGS=$ac_save_CPPFLAGS
11554 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11555 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11558 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11559 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11560 case "x$with_dbus" in
11561 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11562 xno) ;;
11563 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11564 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11565 esac
11569 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11570 then
11571 if ${HAL_CFLAGS:+false} :; then :
11572 if ${PKG_CONFIG+:} false; then :
11573 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11577 if ${HAL_LIBS:+false} :; then :
11578 if ${PKG_CONFIG+:} false; then :
11579 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11583 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11584 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11585 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11586 ac_save_CPPFLAGS=$CPPFLAGS
11587 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11588 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11589 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11591 $as_echo_n "checking for -lhal... " >&6; }
11592 if ${ac_cv_lib_soname_hal+:} false; then :
11593 $as_echo_n "(cached) " >&6
11594 else
11595 ac_check_soname_save_LIBS=$LIBS
11596 LIBS="-lhal $HAL_LIBS $LIBS"
11597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11598 /* end confdefs.h. */
11600 /* Override any GCC internal prototype to avoid an error.
11601 Use char because int might match the return type of a GCC
11602 builtin and then its argument prototype would still apply. */
11603 #ifdef __cplusplus
11604 extern "C"
11605 #endif
11606 char libhal_ctx_new ();
11608 main ()
11610 return libhal_ctx_new ();
11612 return 0;
11614 _ACEOF
11615 if ac_fn_c_try_link "$LINENO"; then :
11616 case "$LIBEXT" in
11617 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11618 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'` ;;
11619 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11620 if ${ac_cv_lib_soname_hal:+false} :; then :
11621 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11622 fi ;;
11623 esac
11625 rm -f core conftest.err conftest.$ac_objext \
11626 conftest$ac_exeext conftest.$ac_ext
11627 LIBS=$ac_check_soname_save_LIBS
11629 if ${ac_cv_lib_soname_hal:+false} :; then :
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11631 $as_echo "not found" >&6; }
11632 HAL_CFLAGS=""
11633 else
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11635 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11637 cat >>confdefs.h <<_ACEOF
11638 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11639 _ACEOF
11643 else
11644 HAL_CFLAGS=""
11648 CPPFLAGS=$ac_save_CPPFLAGS
11649 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11650 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11652 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11653 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11654 case "x$with_hal" in
11655 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11656 xno) ;;
11657 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11658 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11659 esac
11664 if test "x$with_gnutls" != "xno"
11665 then
11666 if ${GNUTLS_CFLAGS:+false} :; then :
11667 if ${PKG_CONFIG+:} false; then :
11668 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11672 if ${GNUTLS_LIBS:+false} :; then :
11673 if ${PKG_CONFIG+:} false; then :
11674 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11679 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11680 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11681 ac_save_CPPFLAGS=$CPPFLAGS
11682 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11683 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11684 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11686 /* end confdefs.h. */
11687 #include <gnutls/gnutls.h>
11688 #include <gnutls/crypto.h>
11690 main ()
11692 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11694 return 0;
11696 _ACEOF
11697 if ac_fn_c_try_compile "$LINENO"; then :
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11699 $as_echo_n "checking for -lgnutls... " >&6; }
11700 if ${ac_cv_lib_soname_gnutls+:} false; then :
11701 $as_echo_n "(cached) " >&6
11702 else
11703 ac_check_soname_save_LIBS=$LIBS
11704 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11706 /* end confdefs.h. */
11708 /* Override any GCC internal prototype to avoid an error.
11709 Use char because int might match the return type of a GCC
11710 builtin and then its argument prototype would still apply. */
11711 #ifdef __cplusplus
11712 extern "C"
11713 #endif
11714 char gnutls_global_init ();
11716 main ()
11718 return gnutls_global_init ();
11720 return 0;
11722 _ACEOF
11723 if ac_fn_c_try_link "$LINENO"; then :
11724 case "$LIBEXT" in
11725 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11726 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'` ;;
11727 *) 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'`
11728 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11729 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'`
11730 fi ;;
11731 esac
11733 rm -f core conftest.err conftest.$ac_objext \
11734 conftest$ac_exeext conftest.$ac_ext
11735 LIBS=$ac_check_soname_save_LIBS
11737 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11739 $as_echo "not found" >&6; }
11740 GNUTLS_CFLAGS=""
11741 else
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11743 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11745 cat >>confdefs.h <<_ACEOF
11746 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11747 _ACEOF
11751 ac_wine_check_funcs_save_LIBS="$LIBS"
11752 LIBS="$LIBS $GNUTLS_LIBS"
11753 for ac_func in gnutls_cipher_init
11754 do :
11755 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11756 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11757 cat >>confdefs.h <<_ACEOF
11758 #define HAVE_GNUTLS_CIPHER_INIT 1
11759 _ACEOF
11761 else
11762 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11764 done
11766 LIBS="$ac_wine_check_funcs_save_LIBS"
11768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11769 else
11770 GNUTLS_CFLAGS=""
11774 CPPFLAGS=$ac_save_CPPFLAGS
11775 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11776 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11779 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11780 case "x$with_gnutls" in
11781 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11782 xno) ;;
11783 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11784 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11785 esac
11789 CURSES_LIBS=""
11790 if test "$ac_cv_header_ncurses_h" = "yes"
11791 then
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11793 $as_echo_n "checking for -lncurses... " >&6; }
11794 if ${ac_cv_lib_soname_ncurses+:} false; then :
11795 $as_echo_n "(cached) " >&6
11796 else
11797 ac_check_soname_save_LIBS=$LIBS
11798 LIBS="-lncurses $LIBS"
11799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11800 /* end confdefs.h. */
11802 /* Override any GCC internal prototype to avoid an error.
11803 Use char because int might match the return type of a GCC
11804 builtin and then its argument prototype would still apply. */
11805 #ifdef __cplusplus
11806 extern "C"
11807 #endif
11808 char waddch ();
11810 main ()
11812 return waddch ();
11814 return 0;
11816 _ACEOF
11817 if ac_fn_c_try_link "$LINENO"; then :
11818 case "$LIBEXT" in
11819 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11820 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'` ;;
11821 *) 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'`
11822 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11823 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11824 fi ;;
11825 esac
11827 rm -f core conftest.err conftest.$ac_objext \
11828 conftest$ac_exeext conftest.$ac_ext
11829 LIBS=$ac_check_soname_save_LIBS
11831 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11833 $as_echo "not found" >&6; }
11835 else
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11837 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11839 cat >>confdefs.h <<_ACEOF
11840 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11841 _ACEOF
11843 CURSES_LIBS="-lncurses"
11845 elif test "$ac_cv_header_curses_h" = "yes"
11846 then
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11848 $as_echo_n "checking for -lcurses... " >&6; }
11849 if ${ac_cv_lib_soname_curses+:} false; then :
11850 $as_echo_n "(cached) " >&6
11851 else
11852 ac_check_soname_save_LIBS=$LIBS
11853 LIBS="-lcurses $LIBS"
11854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11855 /* end confdefs.h. */
11857 /* Override any GCC internal prototype to avoid an error.
11858 Use char because int might match the return type of a GCC
11859 builtin and then its argument prototype would still apply. */
11860 #ifdef __cplusplus
11861 extern "C"
11862 #endif
11863 char waddch ();
11865 main ()
11867 return waddch ();
11869 return 0;
11871 _ACEOF
11872 if ac_fn_c_try_link "$LINENO"; then :
11873 case "$LIBEXT" in
11874 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11875 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'` ;;
11876 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11877 if ${ac_cv_lib_soname_curses:+false} :; then :
11878 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11879 fi ;;
11880 esac
11882 rm -f core conftest.err conftest.$ac_objext \
11883 conftest$ac_exeext conftest.$ac_ext
11884 LIBS=$ac_check_soname_save_LIBS
11886 if ${ac_cv_lib_soname_curses:+false} :; then :
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11888 $as_echo "not found" >&6; }
11890 else
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11892 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11894 cat >>confdefs.h <<_ACEOF
11895 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11896 _ACEOF
11898 CURSES_LIBS="-lcurses"
11901 ac_save_LIBS="$LIBS"
11902 LIBS="$LIBS $CURSES_LIBS"
11903 for ac_func in mousemask
11904 do :
11905 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11906 if test "x$ac_cv_func_mousemask" = xyes; then :
11907 cat >>confdefs.h <<_ACEOF
11908 #define HAVE_MOUSEMASK 1
11909 _ACEOF
11912 done
11914 LIBS="$ac_save_LIBS"
11915 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11916 case "x$with_curses" in
11917 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11918 xno) ;;
11919 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11920 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11921 esac
11925 if test "x$with_sane" != "xno"
11926 then
11927 if ${SANE_CFLAGS:+false} :; then :
11928 if ${PKG_CONFIG+:} false; then :
11929 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11932 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11933 if ${SANE_LIBS:+false} :; then :
11934 if ${PKG_CONFIG+:} false; then :
11935 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11938 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11940 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11941 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11942 ac_save_CPPFLAGS=$CPPFLAGS
11943 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11944 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11945 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11947 $as_echo_n "checking for -lsane... " >&6; }
11948 if ${ac_cv_lib_soname_sane+:} false; then :
11949 $as_echo_n "(cached) " >&6
11950 else
11951 ac_check_soname_save_LIBS=$LIBS
11952 LIBS="-lsane $SANE_LIBS $LIBS"
11953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11954 /* end confdefs.h. */
11956 /* Override any GCC internal prototype to avoid an error.
11957 Use char because int might match the return type of a GCC
11958 builtin and then its argument prototype would still apply. */
11959 #ifdef __cplusplus
11960 extern "C"
11961 #endif
11962 char sane_init ();
11964 main ()
11966 return sane_init ();
11968 return 0;
11970 _ACEOF
11971 if ac_fn_c_try_link "$LINENO"; then :
11972 case "$LIBEXT" in
11973 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11974 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'` ;;
11975 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11976 if ${ac_cv_lib_soname_sane:+false} :; then :
11977 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11978 fi ;;
11979 esac
11981 rm -f core conftest.err conftest.$ac_objext \
11982 conftest$ac_exeext conftest.$ac_ext
11983 LIBS=$ac_check_soname_save_LIBS
11985 if ${ac_cv_lib_soname_sane:+false} :; then :
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11987 $as_echo "not found" >&6; }
11988 SANE_CFLAGS=""
11989 else
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11991 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11993 cat >>confdefs.h <<_ACEOF
11994 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11995 _ACEOF
11999 else
12000 SANE_CFLAGS=""
12004 CPPFLAGS=$ac_save_CPPFLAGS
12005 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12006 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12009 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12010 case "x$with_sane" in
12011 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12012 xno) ;;
12013 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12014 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12015 esac
12019 if test "x$with_v4l" != "xno"
12020 then
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12022 $as_echo_n "checking for -lv4l1... " >&6; }
12023 if ${ac_cv_lib_soname_v4l1+:} false; then :
12024 $as_echo_n "(cached) " >&6
12025 else
12026 ac_check_soname_save_LIBS=$LIBS
12027 LIBS="-lv4l1 $LIBS"
12028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12029 /* end confdefs.h. */
12031 /* Override any GCC internal prototype to avoid an error.
12032 Use char because int might match the return type of a GCC
12033 builtin and then its argument prototype would still apply. */
12034 #ifdef __cplusplus
12035 extern "C"
12036 #endif
12037 char v4l1_open ();
12039 main ()
12041 return v4l1_open ();
12043 return 0;
12045 _ACEOF
12046 if ac_fn_c_try_link "$LINENO"; then :
12047 case "$LIBEXT" in
12048 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12049 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'` ;;
12050 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12051 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12052 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12053 fi ;;
12054 esac
12056 rm -f core conftest.err conftest.$ac_objext \
12057 conftest$ac_exeext conftest.$ac_ext
12058 LIBS=$ac_check_soname_save_LIBS
12060 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12062 $as_echo "not found" >&6; }
12064 else
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12066 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12068 cat >>confdefs.h <<_ACEOF
12069 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12070 _ACEOF
12075 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12076 case "x$with_v4l" in
12077 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12078 xno) ;;
12079 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12080 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12081 esac
12085 if test "x$with_gphoto" != "xno"
12086 then
12087 if ${GPHOTO2_CFLAGS:+false} :; then :
12088 if ${PKG_CONFIG+:} false; then :
12089 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12092 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12093 if ${GPHOTO2_LIBS:+false} :; then :
12094 if ${PKG_CONFIG+:} false; then :
12095 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12098 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12099 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12100 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12101 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12102 ac_save_CPPFLAGS=$CPPFLAGS
12103 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12104 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12105 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12107 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12108 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12109 $as_echo_n "(cached) " >&6
12110 else
12111 ac_check_lib_save_LIBS=$LIBS
12112 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12114 /* end confdefs.h. */
12116 /* Override any GCC internal prototype to avoid an error.
12117 Use char because int might match the return type of a GCC
12118 builtin and then its argument prototype would still apply. */
12119 #ifdef __cplusplus
12120 extern "C"
12121 #endif
12122 char gp_camera_new ();
12124 main ()
12126 return gp_camera_new ();
12128 return 0;
12130 _ACEOF
12131 if ac_fn_c_try_link "$LINENO"; then :
12132 ac_cv_lib_gphoto2_gp_camera_new=yes
12133 else
12134 ac_cv_lib_gphoto2_gp_camera_new=no
12136 rm -f core conftest.err conftest.$ac_objext \
12137 conftest$ac_exeext conftest.$ac_ext
12138 LIBS=$ac_check_lib_save_LIBS
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12141 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12142 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12144 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12146 else
12147 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12150 else
12151 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12155 CPPFLAGS=$ac_save_CPPFLAGS
12156 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12157 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12159 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12160 if ${PKG_CONFIG+:} false; then :
12161 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12164 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12165 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12166 if ${PKG_CONFIG+:} false; then :
12167 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12170 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12171 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12172 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12173 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12174 ac_save_CPPFLAGS=$CPPFLAGS
12175 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12176 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12177 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12179 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12180 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12181 $as_echo_n "(cached) " >&6
12182 else
12183 ac_check_lib_save_LIBS=$LIBS
12184 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12186 /* end confdefs.h. */
12188 /* Override any GCC internal prototype to avoid an error.
12189 Use char because int might match the return type of a GCC
12190 builtin and then its argument prototype would still apply. */
12191 #ifdef __cplusplus
12192 extern "C"
12193 #endif
12194 char gp_port_info_list_new ();
12196 main ()
12198 return gp_port_info_list_new ();
12200 return 0;
12202 _ACEOF
12203 if ac_fn_c_try_link "$LINENO"; then :
12204 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12205 else
12206 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12208 rm -f core conftest.err conftest.$ac_objext \
12209 conftest$ac_exeext conftest.$ac_ext
12210 LIBS=$ac_check_lib_save_LIBS
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12213 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12214 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12216 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12218 else
12219 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12222 else
12223 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12227 CPPFLAGS=$ac_save_CPPFLAGS
12228 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12229 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12232 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12233 case "x$with_gphoto" in
12234 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12235 xno) ;;
12236 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12237 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12238 esac
12241 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12242 case "x$with_gphoto" in
12243 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12244 xno) ;;
12245 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12246 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12247 esac
12252 if test "$ac_cv_header_resolv_h" = "yes"
12253 then
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12255 $as_echo_n "checking for resolver library... " >&6; }
12256 if ${ac_cv_have_resolv+:} false; then :
12257 $as_echo_n "(cached) " >&6
12258 else
12259 ac_save_LIBS="$LIBS"
12260 for lib in '' -lresolv
12262 LIBS="$lib $ac_save_LIBS"
12263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12265 #ifdef HAVE_NETINET_IN_H
12266 #include <netinet/in.h>
12267 #endif
12268 #include <resolv.h>
12270 main ()
12272 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12274 return 0;
12276 _ACEOF
12277 if ac_fn_c_try_link "$LINENO"; then :
12278 ac_cv_have_resolv=${lib:-"none required"}
12279 else
12280 ac_cv_have_resolv="not found"
12282 rm -f core conftest.err conftest.$ac_objext \
12283 conftest$ac_exeext conftest.$ac_ext
12284 test "x$ac_cv_have_resolv" = "xnot found" || break
12285 done
12286 LIBS="$ac_save_LIBS"
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12289 $as_echo "$ac_cv_have_resolv" >&6; }
12291 case "$ac_cv_have_resolv" in
12292 "not found") ;;
12293 "none required")
12295 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12298 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12300 RESOLV_LIBS=$ac_cv_have_resolv
12302 esac
12305 if test "x$with_cms" != "xno"
12306 then
12307 if ${LCMS2_CFLAGS:+false} :; then :
12308 if ${PKG_CONFIG+:} false; then :
12309 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12313 if ${LCMS2_LIBS:+false} :; then :
12314 if ${PKG_CONFIG+:} false; then :
12315 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12319 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12320 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12321 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12322 ac_save_CPPFLAGS=$CPPFLAGS
12323 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12324 for ac_header in lcms2.h
12325 do :
12326 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12327 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12328 cat >>confdefs.h <<_ACEOF
12329 #define HAVE_LCMS2_H 1
12330 _ACEOF
12334 done
12336 if test "$ac_cv_header_lcms2_h" = "yes"
12337 then
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12339 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12340 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12341 $as_echo_n "(cached) " >&6
12342 else
12343 ac_check_lib_save_LIBS=$LIBS
12344 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12346 /* end confdefs.h. */
12348 /* Override any GCC internal prototype to avoid an error.
12349 Use char because int might match the return type of a GCC
12350 builtin and then its argument prototype would still apply. */
12351 #ifdef __cplusplus
12352 extern "C"
12353 #endif
12354 char cmsOpenProfileFromFile ();
12356 main ()
12358 return cmsOpenProfileFromFile ();
12360 return 0;
12362 _ACEOF
12363 if ac_fn_c_try_link "$LINENO"; then :
12364 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12365 else
12366 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12368 rm -f core conftest.err conftest.$ac_objext \
12369 conftest$ac_exeext conftest.$ac_ext
12370 LIBS=$ac_check_lib_save_LIBS
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12373 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12374 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12376 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12378 else
12379 LCMS2_LIBS=""
12382 else
12383 LCMS2_CFLAGS=""
12384 LCMS2_LIBS=""
12386 CPPFLAGS=$ac_save_CPPFLAGS
12387 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12388 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12391 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12392 case "x$with_cms" in
12393 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12394 xno) ;;
12395 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12396 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12397 esac
12401 if test "x$with_freetype" != "xno"
12402 then
12403 if ${FREETYPE_CFLAGS:+false} :; then :
12404 if ${PKG_CONFIG+:} false; then :
12405 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12408 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12409 if ${FREETYPE_LIBS:+false} :; then :
12410 if ${PKG_CONFIG+:} false; then :
12411 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12414 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12415 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12416 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12417 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12418 ac_save_CPPFLAGS=$CPPFLAGS
12419 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12420 for ac_header in ft2build.h
12421 do :
12422 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12423 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12424 cat >>confdefs.h <<_ACEOF
12425 #define HAVE_FT2BUILD_H 1
12426 _ACEOF
12430 done
12432 if test "$ac_cv_header_ft2build_h" = "yes"
12433 then
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12435 $as_echo_n "checking for -lfreetype... " >&6; }
12436 if ${ac_cv_lib_soname_freetype+:} false; then :
12437 $as_echo_n "(cached) " >&6
12438 else
12439 ac_check_soname_save_LIBS=$LIBS
12440 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12442 /* end confdefs.h. */
12444 /* Override any GCC internal prototype to avoid an error.
12445 Use char because int might match the return type of a GCC
12446 builtin and then its argument prototype would still apply. */
12447 #ifdef __cplusplus
12448 extern "C"
12449 #endif
12450 char FT_Init_FreeType ();
12452 main ()
12454 return FT_Init_FreeType ();
12456 return 0;
12458 _ACEOF
12459 if ac_fn_c_try_link "$LINENO"; then :
12460 case "$LIBEXT" in
12461 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12462 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'` ;;
12463 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12464 if ${ac_cv_lib_soname_freetype:+false} :; then :
12465 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12466 fi ;;
12467 esac
12469 rm -f core conftest.err conftest.$ac_objext \
12470 conftest$ac_exeext conftest.$ac_ext
12471 LIBS=$ac_check_soname_save_LIBS
12473 if ${ac_cv_lib_soname_freetype:+false} :; then :
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12475 $as_echo "not found" >&6; }
12476 FREETYPE_LIBS=""
12477 else
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12479 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12481 cat >>confdefs.h <<_ACEOF
12482 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12483 _ACEOF
12486 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12488 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12489 #include FT_MODULE_H
12491 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12493 cat >>confdefs.h <<_ACEOF
12494 #define HAVE_FT_TRUETYPEENGINETYPE 1
12495 _ACEOF
12501 else
12502 FREETYPE_CFLAGS=""
12503 FREETYPE_LIBS=""
12505 CPPFLAGS=$ac_save_CPPFLAGS
12506 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12507 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12510 if test "x$ac_cv_lib_soname_freetype" = x; then :
12511 case "x$with_freetype" in
12512 xno) ;;
12513 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12514 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12515 esac
12516 enable_fonts=${enable_fonts:-no}
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12520 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12521 if ${ac_cv_c_ppdev+:} false; then :
12522 $as_echo_n "(cached) " >&6
12523 else
12524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12526 #ifdef HAVE_SYS_IOCTL_H
12527 # include <sys/ioctl.h>
12528 #endif
12529 #include <linux/ppdev.h>
12531 main ()
12533 ioctl (1,PPCLAIM,0)
12535 return 0;
12537 _ACEOF
12538 if ac_fn_c_try_compile "$LINENO"; then :
12539 ac_cv_c_ppdev="yes"
12540 else
12541 ac_cv_c_ppdev="no"
12543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12546 $as_echo "$ac_cv_c_ppdev" >&6; }
12547 if test "$ac_cv_c_ppdev" = "yes"
12548 then
12550 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12554 ac_wine_check_funcs_save_LIBS="$LIBS"
12555 LIBS="$LIBS $PTHREAD_LIBS"
12556 for ac_func in \
12557 pthread_attr_get_np \
12558 pthread_getattr_np \
12559 pthread_getthreadid_np \
12560 pthread_get_stackaddr_np \
12561 pthread_get_stacksize_np
12562 do :
12563 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12564 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12565 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12566 cat >>confdefs.h <<_ACEOF
12567 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12568 _ACEOF
12571 done
12573 LIBS="$ac_wine_check_funcs_save_LIBS"
12575 if test "$ac_cv_header_zlib_h" = "yes"
12576 then
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12578 $as_echo_n "checking for inflate in -lz... " >&6; }
12579 if ${ac_cv_lib_z_inflate+:} false; then :
12580 $as_echo_n "(cached) " >&6
12581 else
12582 ac_check_lib_save_LIBS=$LIBS
12583 LIBS="-lz $LIBS"
12584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12585 /* end confdefs.h. */
12587 /* Override any GCC internal prototype to avoid an error.
12588 Use char because int might match the return type of a GCC
12589 builtin and then its argument prototype would still apply. */
12590 #ifdef __cplusplus
12591 extern "C"
12592 #endif
12593 char inflate ();
12595 main ()
12597 return inflate ();
12599 return 0;
12601 _ACEOF
12602 if ac_fn_c_try_link "$LINENO"; then :
12603 ac_cv_lib_z_inflate=yes
12604 else
12605 ac_cv_lib_z_inflate=no
12607 rm -f core conftest.err conftest.$ac_objext \
12608 conftest$ac_exeext conftest.$ac_ext
12609 LIBS=$ac_check_lib_save_LIBS
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12612 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12613 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12615 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12617 Z_LIBS="-lz"
12622 if test "x$Z_LIBS" = "x"; then :
12623 case "x$with_zlib" in
12624 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12625 xno) ;;
12626 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12627 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12628 esac
12632 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12633 then
12634 if test "$ac_cv_header_gettext_po_h" = "yes"
12635 then
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12637 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12638 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12639 $as_echo_n "(cached) " >&6
12640 else
12641 ac_check_lib_save_LIBS=$LIBS
12642 LIBS="-lgettextpo $LIBS"
12643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12644 /* end confdefs.h. */
12646 /* Override any GCC internal prototype to avoid an error.
12647 Use char because int might match the return type of a GCC
12648 builtin and then its argument prototype would still apply. */
12649 #ifdef __cplusplus
12650 extern "C"
12651 #endif
12652 char po_message_msgctxt ();
12654 main ()
12656 return po_message_msgctxt ();
12658 return 0;
12660 _ACEOF
12661 if ac_fn_c_try_link "$LINENO"; then :
12662 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12663 else
12664 ac_cv_lib_gettextpo_po_message_msgctxt=no
12666 rm -f core conftest.err conftest.$ac_objext \
12667 conftest$ac_exeext conftest.$ac_ext
12668 LIBS=$ac_check_lib_save_LIBS
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12671 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12672 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12674 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12676 GETTEXTPO_LIBS="-lgettextpo"
12681 if test "x$GETTEXTPO_LIBS" = "x"; then :
12682 case "x$with_gettextpo" in
12683 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12684 xno) ;;
12685 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12686 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12687 esac
12690 if test "$srcdir" != .; then :
12691 case "x$with_gettextpo" in
12692 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12693 xno) ;;
12694 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12695 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12696 esac
12701 if test "x$with_pulse" != "xno";
12702 then
12703 if ${PULSE_CFLAGS:+false} :; then :
12704 if ${PKG_CONFIG+:} false; then :
12705 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12709 if ${PULSE_LIBS:+false} :; then :
12710 if ${PKG_CONFIG+:} false; then :
12711 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12716 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12717 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12718 ac_save_CPPFLAGS=$CPPFLAGS
12719 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12720 for ac_header in pulse/pulseaudio.h
12721 do :
12722 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12723 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12724 cat >>confdefs.h <<_ACEOF
12725 #define HAVE_PULSE_PULSEAUDIO_H 1
12726 _ACEOF
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12728 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12729 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12730 $as_echo_n "(cached) " >&6
12731 else
12732 ac_check_lib_save_LIBS=$LIBS
12733 LIBS="-lpulse $PULSE_LIBS $LIBS"
12734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12735 /* end confdefs.h. */
12737 /* Override any GCC internal prototype to avoid an error.
12738 Use char because int might match the return type of a GCC
12739 builtin and then its argument prototype would still apply. */
12740 #ifdef __cplusplus
12741 extern "C"
12742 #endif
12743 char pa_stream_is_corked ();
12745 main ()
12747 return pa_stream_is_corked ();
12749 return 0;
12751 _ACEOF
12752 if ac_fn_c_try_link "$LINENO"; then :
12753 ac_cv_lib_pulse_pa_stream_is_corked=yes
12754 else
12755 ac_cv_lib_pulse_pa_stream_is_corked=no
12757 rm -f core conftest.err conftest.$ac_objext \
12758 conftest$ac_exeext conftest.$ac_ext
12759 LIBS=$ac_check_lib_save_LIBS
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12762 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12763 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12765 else
12766 PULSE_LIBS=""
12769 else
12770 PULSE_LIBS=""
12773 done
12775 CPPFLAGS=$ac_save_CPPFLAGS
12776 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12777 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12780 if test -z "$PULSE_LIBS"; then :
12781 case "x$with_pulse" in
12782 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12783 xno) ;;
12784 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12785 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12786 esac
12787 enable_winepulse_drv=${enable_winepulse_drv:-no}
12790 if test "x$with_gstreamer" != "xno"
12791 then
12792 if ${GSTREAMER_CFLAGS:+false} :; then :
12793 if ${PKG_CONFIG+:} false; then :
12794 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12798 if ${GSTREAMER_LIBS:+false} :; then :
12799 if ${PKG_CONFIG+:} false; then :
12800 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12805 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12806 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12807 ac_save_CPPFLAGS=$CPPFLAGS
12808 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12809 ac_gst_incl=""
12810 for i in $GSTREAMER_CFLAGS
12812 case "$i" in
12813 -I*) ac_gst_incl="$ac_gst_incl $i";;
12814 esac
12815 done
12816 GSTREAMER_CFLAGS=$ac_gst_incl
12817 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12818 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12819 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12821 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12823 /* end confdefs.h. */
12824 #include <gst/gst.h>
12826 main ()
12828 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12830 return 0;
12832 _ACEOF
12833 if ac_fn_c_try_compile "$LINENO"; then :
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12835 $as_echo "yes" >&6; }
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12837 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12838 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12839 $as_echo_n "(cached) " >&6
12840 else
12841 ac_check_lib_save_LIBS=$LIBS
12842 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12844 /* end confdefs.h. */
12846 /* Override any GCC internal prototype to avoid an error.
12847 Use char because int might match the return type of a GCC
12848 builtin and then its argument prototype would still apply. */
12849 #ifdef __cplusplus
12850 extern "C"
12851 #endif
12852 char gst_pad_new ();
12854 main ()
12856 return gst_pad_new ();
12858 return 0;
12860 _ACEOF
12861 if ac_fn_c_try_link "$LINENO"; then :
12862 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12863 else
12864 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12866 rm -f core conftest.err conftest.$ac_objext \
12867 conftest$ac_exeext conftest.$ac_ext
12868 LIBS=$ac_check_lib_save_LIBS
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12871 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12872 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12876 else
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12878 $as_echo "no" >&6; }
12879 ac_glib2_broken=yes
12880 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12886 CPPFLAGS=$ac_save_CPPFLAGS
12887 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12888 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12891 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 :
12892 case "x$with_gstreamer" in
12893 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12894 xno) ;;
12895 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12896 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12897 esac
12900 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12902 ALSA_LIBS=""
12904 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12905 then
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12907 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12908 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12909 $as_echo_n "(cached) " >&6
12910 else
12911 ac_check_lib_save_LIBS=$LIBS
12912 LIBS="-lasound $LIBS"
12913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12914 /* end confdefs.h. */
12916 /* Override any GCC internal prototype to avoid an error.
12917 Use char because int might match the return type of a GCC
12918 builtin and then its argument prototype would still apply. */
12919 #ifdef __cplusplus
12920 extern "C"
12921 #endif
12922 char snd_pcm_hw_params_get_access_mask ();
12924 main ()
12926 return snd_pcm_hw_params_get_access_mask ();
12928 return 0;
12930 _ACEOF
12931 if ac_fn_c_try_link "$LINENO"; then :
12932 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12933 else
12934 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12936 rm -f core conftest.err conftest.$ac_objext \
12937 conftest$ac_exeext conftest.$ac_ext
12938 LIBS=$ac_check_lib_save_LIBS
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12941 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12942 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12944 /* end confdefs.h. */
12945 #ifdef HAVE_ALSA_ASOUNDLIB_H
12946 #include <alsa/asoundlib.h>
12947 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12948 #include <sys/asoundlib.h>
12949 #endif
12951 main ()
12953 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12955 return 0;
12957 _ACEOF
12958 if ac_fn_c_try_compile "$LINENO"; then :
12959 ALSA_LIBS="-lasound"
12961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12965 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12967 if test "x$with_oss" != xno
12968 then
12969 ac_save_CPPFLAGS="$CPPFLAGS"
12970 if test -f /etc/oss.conf
12971 then
12972 . /etc/oss.conf
12974 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12975 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12976 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12977 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12978 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12980 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12982 cat >>confdefs.h <<_ACEOF
12983 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12984 _ACEOF
12986 OSS4_CFLAGS="$ac_oss_incl"
12993 CPPFLAGS="$ac_save_CPPFLAGS"
12995 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12996 case "x$with_oss" in
12997 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12998 xno) ;;
12999 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13000 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13001 esac
13002 enable_wineoss_drv=${enable_wineoss_drv:-no}
13005 if test "x$with_udev" != "xno"
13006 then
13007 if ${UDEV_CFLAGS:+false} :; then :
13008 if ${PKG_CONFIG+:} false; then :
13009 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13013 if ${UDEV_LIBS:+false} :; then :
13014 if ${PKG_CONFIG+:} false; then :
13015 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13019 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13020 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13021 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13022 ac_save_CPPFLAGS=$CPPFLAGS
13023 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13024 for ac_header in libudev.h
13025 do :
13026 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13027 if test "x$ac_cv_header_libudev_h" = xyes; then :
13028 cat >>confdefs.h <<_ACEOF
13029 #define HAVE_LIBUDEV_H 1
13030 _ACEOF
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13032 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13033 if ${ac_cv_lib_udev_udev_new+:} false; then :
13034 $as_echo_n "(cached) " >&6
13035 else
13036 ac_check_lib_save_LIBS=$LIBS
13037 LIBS="-ludev $UDEV_LIBS $LIBS"
13038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13039 /* end confdefs.h. */
13041 /* Override any GCC internal prototype to avoid an error.
13042 Use char because int might match the return type of a GCC
13043 builtin and then its argument prototype would still apply. */
13044 #ifdef __cplusplus
13045 extern "C"
13046 #endif
13047 char udev_new ();
13049 main ()
13051 return udev_new ();
13053 return 0;
13055 _ACEOF
13056 if ac_fn_c_try_link "$LINENO"; then :
13057 ac_cv_lib_udev_udev_new=yes
13058 else
13059 ac_cv_lib_udev_udev_new=no
13061 rm -f core conftest.err conftest.$ac_objext \
13062 conftest$ac_exeext conftest.$ac_ext
13063 LIBS=$ac_check_lib_save_LIBS
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13066 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13067 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13069 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13071 else
13072 UDEV_LIBS=""
13075 else
13076 UDEV_LIBS=""
13079 done
13081 CPPFLAGS=$ac_save_CPPFLAGS
13082 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13083 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13086 if test "x$UDEV_LIBS" = "x"; then :
13087 case "x$with_udev" in
13088 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13089 xno) ;;
13090 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13091 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13092 esac
13096 if test "x$with_sdl" != "xno"
13097 then
13098 if ${SDL2_CFLAGS:+false} :; then :
13099 if ${PKG_CONFIG+:} false; then :
13100 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13104 if ${SDL2_LIBS:+false} :; then :
13105 if ${PKG_CONFIG+:} false; then :
13106 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13110 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13111 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13112 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13113 ac_save_CPPFLAGS=$CPPFLAGS
13114 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13115 for ac_header in SDL2/SDL.h
13116 do :
13117 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13118 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13119 cat >>confdefs.h <<_ACEOF
13120 #define HAVE_SDL2_SDL_H 1
13121 _ACEOF
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13123 $as_echo_n "checking for -lSDL2... " >&6; }
13124 if ${ac_cv_lib_soname_SDL2+:} false; then :
13125 $as_echo_n "(cached) " >&6
13126 else
13127 ac_check_soname_save_LIBS=$LIBS
13128 LIBS="-lSDL2 $LIBS"
13129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13130 /* end confdefs.h. */
13132 /* Override any GCC internal prototype to avoid an error.
13133 Use char because int might match the return type of a GCC
13134 builtin and then its argument prototype would still apply. */
13135 #ifdef __cplusplus
13136 extern "C"
13137 #endif
13138 char SDL_Init ();
13140 main ()
13142 return SDL_Init ();
13144 return 0;
13146 _ACEOF
13147 if ac_fn_c_try_link "$LINENO"; then :
13148 case "$LIBEXT" in
13149 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13150 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'` ;;
13151 *) 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'`
13152 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13153 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13154 fi ;;
13155 esac
13157 rm -f core conftest.err conftest.$ac_objext \
13158 conftest$ac_exeext conftest.$ac_ext
13159 LIBS=$ac_check_soname_save_LIBS
13161 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13163 $as_echo "not found" >&6; }
13165 else
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13167 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13169 cat >>confdefs.h <<_ACEOF
13170 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13171 _ACEOF
13177 done
13179 CPPFLAGS=$ac_save_CPPFLAGS
13180 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13181 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13184 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13185 case "x$with_sdl" in
13186 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13187 xno) ;;
13188 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13189 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13190 esac
13194 if test "x$with_capi" != "xno"
13195 then
13196 if ${CAPI20_CFLAGS:+false} :; then :
13197 if ${PKG_CONFIG+:} false; then :
13198 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13202 if ${CAPI20_LIBS:+false} :; then :
13203 if ${PKG_CONFIG+:} false; then :
13204 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13209 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13210 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13211 ac_save_CPPFLAGS=$CPPFLAGS
13212 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13213 for ac_header in capi20.h linux/capi.h
13214 do :
13215 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13216 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13218 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13219 cat >>confdefs.h <<_ACEOF
13220 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13221 _ACEOF
13225 done
13227 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13228 then
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13230 $as_echo_n "checking for -lcapi20... " >&6; }
13231 if ${ac_cv_lib_soname_capi20+:} false; then :
13232 $as_echo_n "(cached) " >&6
13233 else
13234 ac_check_soname_save_LIBS=$LIBS
13235 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13237 /* end confdefs.h. */
13239 /* Override any GCC internal prototype to avoid an error.
13240 Use char because int might match the return type of a GCC
13241 builtin and then its argument prototype would still apply. */
13242 #ifdef __cplusplus
13243 extern "C"
13244 #endif
13245 char capi20_register ();
13247 main ()
13249 return capi20_register ();
13251 return 0;
13253 _ACEOF
13254 if ac_fn_c_try_link "$LINENO"; then :
13255 case "$LIBEXT" in
13256 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13257 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'` ;;
13258 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13259 if ${ac_cv_lib_soname_capi20:+false} :; then :
13260 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13261 fi ;;
13262 esac
13264 rm -f core conftest.err conftest.$ac_objext \
13265 conftest$ac_exeext conftest.$ac_ext
13266 LIBS=$ac_check_soname_save_LIBS
13268 if ${ac_cv_lib_soname_capi20:+false} :; then :
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13270 $as_echo "not found" >&6; }
13272 else
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13274 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13276 cat >>confdefs.h <<_ACEOF
13277 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13278 _ACEOF
13283 CPPFLAGS=$ac_save_CPPFLAGS
13284 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13285 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13288 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13289 case "x$with_capi" in
13290 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13291 xno) ;;
13292 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13293 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13294 esac
13298 if test "x$with_cups" != "xno"
13299 then
13300 if ${CUPS_CFLAGS:+false} :; then :
13301 if ${PKG_CONFIG+:} false; then :
13302 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13305 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13306 if ${CUPS_LIBS:+false} :; then :
13307 if ${PKG_CONFIG+:} false; then :
13308 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13311 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13312 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13313 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13314 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13315 ac_save_CPPFLAGS=$CPPFLAGS
13316 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13317 for ac_header in cups/cups.h cups/ppd.h
13318 do :
13319 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13320 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13321 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13322 cat >>confdefs.h <<_ACEOF
13323 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13324 _ACEOF
13328 done
13330 if test "$ac_cv_header_cups_cups_h" = "yes"
13331 then
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13333 $as_echo_n "checking for -lcups... " >&6; }
13334 if ${ac_cv_lib_soname_cups+:} false; then :
13335 $as_echo_n "(cached) " >&6
13336 else
13337 ac_check_soname_save_LIBS=$LIBS
13338 LIBS="-lcups $CUPS_LIBS $LIBS"
13339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13340 /* end confdefs.h. */
13342 /* Override any GCC internal prototype to avoid an error.
13343 Use char because int might match the return type of a GCC
13344 builtin and then its argument prototype would still apply. */
13345 #ifdef __cplusplus
13346 extern "C"
13347 #endif
13348 char cupsGetDefault ();
13350 main ()
13352 return cupsGetDefault ();
13354 return 0;
13356 _ACEOF
13357 if ac_fn_c_try_link "$LINENO"; then :
13358 case "$LIBEXT" in
13359 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13360 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'` ;;
13361 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13362 if ${ac_cv_lib_soname_cups:+false} :; then :
13363 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13364 fi ;;
13365 esac
13367 rm -f core conftest.err conftest.$ac_objext \
13368 conftest$ac_exeext conftest.$ac_ext
13369 LIBS=$ac_check_soname_save_LIBS
13371 if ${ac_cv_lib_soname_cups:+false} :; then :
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13373 $as_echo "not found" >&6; }
13374 CUPS_LIBS=""
13375 else
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13377 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13379 cat >>confdefs.h <<_ACEOF
13380 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13381 _ACEOF
13385 else
13386 CUPS_CFLAGS=""
13387 CUPS_LIBS=""
13389 CPPFLAGS=$ac_save_CPPFLAGS
13390 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13391 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13394 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13395 case "x$with_cups" in
13396 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13397 xno) ;;
13398 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13399 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13400 esac
13404 if test "x$with_fontconfig" != "xno"
13405 then
13406 if ${FONTCONFIG_CFLAGS:+false} :; then :
13407 if ${PKG_CONFIG+:} false; then :
13408 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13411 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13412 if ${FONTCONFIG_LIBS:+false} :; then :
13413 if ${PKG_CONFIG+:} false; then :
13414 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13417 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13419 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13420 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13421 ac_save_CPPFLAGS=$CPPFLAGS
13422 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13423 for ac_header in fontconfig/fontconfig.h
13424 do :
13425 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13426 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13427 cat >>confdefs.h <<_ACEOF
13428 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13429 _ACEOF
13433 done
13435 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13436 then
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13438 $as_echo_n "checking for -lfontconfig... " >&6; }
13439 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13440 $as_echo_n "(cached) " >&6
13441 else
13442 ac_check_soname_save_LIBS=$LIBS
13443 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13445 /* end confdefs.h. */
13447 /* Override any GCC internal prototype to avoid an error.
13448 Use char because int might match the return type of a GCC
13449 builtin and then its argument prototype would still apply. */
13450 #ifdef __cplusplus
13451 extern "C"
13452 #endif
13453 char FcInit ();
13455 main ()
13457 return FcInit ();
13459 return 0;
13461 _ACEOF
13462 if ac_fn_c_try_link "$LINENO"; then :
13463 case "$LIBEXT" in
13464 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13465 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'` ;;
13466 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13467 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13468 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13469 fi ;;
13470 esac
13472 rm -f core conftest.err conftest.$ac_objext \
13473 conftest$ac_exeext conftest.$ac_ext
13474 LIBS=$ac_check_soname_save_LIBS
13476 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13478 $as_echo "not found" >&6; }
13479 FONTCONFIG_CFLAGS=""
13480 else
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13482 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13484 cat >>confdefs.h <<_ACEOF
13485 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13486 _ACEOF
13490 else
13491 FONTCONFIG_CFLAGS=""
13493 CPPFLAGS=$ac_save_CPPFLAGS
13494 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13495 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13498 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13499 case "x$with_fontconfig" in
13500 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13501 xno) ;;
13502 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13503 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13504 esac
13508 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13509 then
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13511 $as_echo_n "checking for -lgsm... " >&6; }
13512 if ${ac_cv_lib_soname_gsm+:} false; then :
13513 $as_echo_n "(cached) " >&6
13514 else
13515 ac_check_soname_save_LIBS=$LIBS
13516 LIBS="-lgsm $LIBS"
13517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13518 /* end confdefs.h. */
13520 /* Override any GCC internal prototype to avoid an error.
13521 Use char because int might match the return type of a GCC
13522 builtin and then its argument prototype would still apply. */
13523 #ifdef __cplusplus
13524 extern "C"
13525 #endif
13526 char gsm_create ();
13528 main ()
13530 return gsm_create ();
13532 return 0;
13534 _ACEOF
13535 if ac_fn_c_try_link "$LINENO"; then :
13536 case "$LIBEXT" in
13537 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13538 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'` ;;
13539 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13540 if ${ac_cv_lib_soname_gsm:+false} :; then :
13541 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13542 fi ;;
13543 esac
13545 rm -f core conftest.err conftest.$ac_objext \
13546 conftest$ac_exeext conftest.$ac_ext
13547 LIBS=$ac_check_soname_save_LIBS
13549 if ${ac_cv_lib_soname_gsm:+false} :; then :
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13551 $as_echo "not found" >&6; }
13553 else
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13555 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13557 cat >>confdefs.h <<_ACEOF
13558 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13559 _ACEOF
13564 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13565 case "x$with_gsm" in
13566 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13567 xno) ;;
13568 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13569 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13570 esac
13574 if test "x$with_krb5" != "xno"
13575 then
13576 if ${KRB5_CFLAGS:+false} :; then :
13577 if ${PKG_CONFIG+:} false; then :
13578 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13581 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13582 if ${KRB5_LIBS:+false} :; then :
13583 if ${PKG_CONFIG+:} false; then :
13584 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13587 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13589 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13590 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13591 ac_save_CPPFLAGS=$CPPFLAGS
13592 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13593 for ac_header in krb5/krb5.h
13594 do :
13595 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13596 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13597 cat >>confdefs.h <<_ACEOF
13598 #define HAVE_KRB5_KRB5_H 1
13599 _ACEOF
13603 done
13605 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13606 then
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13608 $as_echo_n "checking for -lkrb5... " >&6; }
13609 if ${ac_cv_lib_soname_krb5+:} false; then :
13610 $as_echo_n "(cached) " >&6
13611 else
13612 ac_check_soname_save_LIBS=$LIBS
13613 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13615 /* end confdefs.h. */
13617 /* Override any GCC internal prototype to avoid an error.
13618 Use char because int might match the return type of a GCC
13619 builtin and then its argument prototype would still apply. */
13620 #ifdef __cplusplus
13621 extern "C"
13622 #endif
13623 char krb5_init_context ();
13625 main ()
13627 return krb5_init_context ();
13629 return 0;
13631 _ACEOF
13632 if ac_fn_c_try_link "$LINENO"; then :
13633 case "$LIBEXT" in
13634 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13635 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'` ;;
13636 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13637 if ${ac_cv_lib_soname_krb5:+false} :; then :
13638 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13639 fi ;;
13640 esac
13642 rm -f core conftest.err conftest.$ac_objext \
13643 conftest$ac_exeext conftest.$ac_ext
13644 LIBS=$ac_check_soname_save_LIBS
13646 if ${ac_cv_lib_soname_krb5:+false} :; then :
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13648 $as_echo "not found" >&6; }
13649 KRB5_CFLAGS=""
13650 else
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13652 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13654 cat >>confdefs.h <<_ACEOF
13655 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13656 _ACEOF
13660 else
13661 KRB5_CFLAGS=""
13663 CPPFLAGS=$ac_save_CPPFLAGS
13664 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13665 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13667 else
13668 with_gssapi=${with_gssapi:-no}
13670 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13671 case "x$with_krb5" in
13672 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13673 xno) ;;
13674 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13675 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13676 esac
13680 if test "x$with_gssapi" != "xno"
13681 then
13682 if ${GSSAPI_CFLAGS:+false} :; then :
13683 if ${PKG_CONFIG+:} false; then :
13684 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13687 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13688 if ${GSSAPI_LIBS:+false} :; then :
13689 if ${PKG_CONFIG+:} false; then :
13690 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13693 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13695 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13696 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13697 ac_save_CPPFLAGS=$CPPFLAGS
13698 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13699 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13700 do :
13701 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13702 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13703 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13704 cat >>confdefs.h <<_ACEOF
13705 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13706 _ACEOF
13710 done
13712 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13713 then
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13715 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13716 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13717 $as_echo_n "(cached) " >&6
13718 else
13719 ac_check_soname_save_LIBS=$LIBS
13720 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13722 /* end confdefs.h. */
13724 /* Override any GCC internal prototype to avoid an error.
13725 Use char because int might match the return type of a GCC
13726 builtin and then its argument prototype would still apply. */
13727 #ifdef __cplusplus
13728 extern "C"
13729 #endif
13730 char gss_init_sec_context ();
13732 main ()
13734 return gss_init_sec_context ();
13736 return 0;
13738 _ACEOF
13739 if ac_fn_c_try_link "$LINENO"; then :
13740 case "$LIBEXT" in
13741 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13742 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'` ;;
13743 *) 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'`
13744 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13745 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13746 fi ;;
13747 esac
13749 rm -f core conftest.err conftest.$ac_objext \
13750 conftest$ac_exeext conftest.$ac_ext
13751 LIBS=$ac_check_soname_save_LIBS
13753 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13755 $as_echo "not found" >&6; }
13756 GSSAPI_CFLAGS=""
13757 else
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13759 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13761 cat >>confdefs.h <<_ACEOF
13762 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13763 _ACEOF
13767 else
13768 GSSAPI_CFLAGS=""
13770 CPPFLAGS=$ac_save_CPPFLAGS
13771 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13772 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13775 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13776 case "x$with_gssapi" in
13777 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13778 xno) ;;
13779 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13780 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13781 esac
13785 if test "x$with_jpeg" != "xno"
13786 then
13787 if ${JPEG_CFLAGS:+false} :; then :
13788 if ${PKG_CONFIG+:} false; then :
13789 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13793 if ${JPEG_LIBS:+false} :; then :
13794 if ${PKG_CONFIG+:} false; then :
13795 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13800 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13801 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13802 ac_save_CPPFLAGS=$CPPFLAGS
13803 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13804 for ac_header in jpeglib.h
13805 do :
13806 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13807 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13808 cat >>confdefs.h <<_ACEOF
13809 #define HAVE_JPEGLIB_H 1
13810 _ACEOF
13814 done
13816 if test "$ac_cv_header_jpeglib_h" = "yes"
13817 then
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13819 $as_echo_n "checking for -ljpeg... " >&6; }
13820 if ${ac_cv_lib_soname_jpeg+:} false; then :
13821 $as_echo_n "(cached) " >&6
13822 else
13823 ac_check_soname_save_LIBS=$LIBS
13824 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13826 /* end confdefs.h. */
13828 /* Override any GCC internal prototype to avoid an error.
13829 Use char because int might match the return type of a GCC
13830 builtin and then its argument prototype would still apply. */
13831 #ifdef __cplusplus
13832 extern "C"
13833 #endif
13834 char jpeg_start_decompress ();
13836 main ()
13838 return jpeg_start_decompress ();
13840 return 0;
13842 _ACEOF
13843 if ac_fn_c_try_link "$LINENO"; then :
13844 case "$LIBEXT" in
13845 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13846 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'` ;;
13847 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13848 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13849 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13850 fi ;;
13851 esac
13853 rm -f core conftest.err conftest.$ac_objext \
13854 conftest$ac_exeext conftest.$ac_ext
13855 LIBS=$ac_check_soname_save_LIBS
13857 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13859 $as_echo "not found" >&6; }
13860 JPEG_CFLAGS=""
13861 else
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13863 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13865 cat >>confdefs.h <<_ACEOF
13866 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13867 _ACEOF
13871 else
13872 JPEG_CFLAGS=""
13874 CPPFLAGS=$ac_save_CPPFLAGS
13875 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13876 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13879 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13880 case "x$with_jpeg" in
13881 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13882 xno) ;;
13883 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13884 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13885 esac
13889 if test "x$with_png" != "xno"
13890 then
13891 if ${PNG_CFLAGS:+false} :; then :
13892 if ${PKG_CONFIG+:} false; then :
13893 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13896 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13897 if ${PNG_LIBS:+false} :; then :
13898 if ${PKG_CONFIG+:} false; then :
13899 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13902 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13904 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13905 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13906 ac_save_CPPFLAGS=$CPPFLAGS
13907 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13908 for ac_header in png.h
13909 do :
13910 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13911 if test "x$ac_cv_header_png_h" = xyes; then :
13912 cat >>confdefs.h <<_ACEOF
13913 #define HAVE_PNG_H 1
13914 _ACEOF
13918 done
13920 if test "$ac_cv_header_png_h" = "yes"
13921 then
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13923 $as_echo_n "checking for -lpng... " >&6; }
13924 if ${ac_cv_lib_soname_png+:} false; then :
13925 $as_echo_n "(cached) " >&6
13926 else
13927 ac_check_soname_save_LIBS=$LIBS
13928 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13930 /* end confdefs.h. */
13932 /* Override any GCC internal prototype to avoid an error.
13933 Use char because int might match the return type of a GCC
13934 builtin and then its argument prototype would still apply. */
13935 #ifdef __cplusplus
13936 extern "C"
13937 #endif
13938 char png_create_read_struct ();
13940 main ()
13942 return png_create_read_struct ();
13944 return 0;
13946 _ACEOF
13947 if ac_fn_c_try_link "$LINENO"; then :
13948 case "$LIBEXT" in
13949 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13950 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'` ;;
13951 *) 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'`
13952 if ${ac_cv_lib_soname_png:+false} :; then :
13953 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13954 fi ;;
13955 esac
13957 rm -f core conftest.err conftest.$ac_objext \
13958 conftest$ac_exeext conftest.$ac_ext
13959 LIBS=$ac_check_soname_save_LIBS
13961 if ${ac_cv_lib_soname_png:+false} :; then :
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13963 $as_echo "not found" >&6; }
13964 PNG_CFLAGS=""
13965 else
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13967 $as_echo "$ac_cv_lib_soname_png" >&6; }
13969 cat >>confdefs.h <<_ACEOF
13970 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13971 _ACEOF
13975 else
13976 PNG_CFLAGS=""
13978 CPPFLAGS=$ac_save_CPPFLAGS
13979 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13980 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13983 if test "x$ac_cv_lib_soname_png" = "x"; then :
13984 case "x$with_png" in
13985 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13986 xno) ;;
13987 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13988 This is an error since --with-png was requested." "$LINENO" 5 ;;
13989 esac
13993 if test "x$with_tiff" != "xno"
13994 then
13995 if ${TIFF_CFLAGS:+false} :; then :
13996 if ${PKG_CONFIG+:} false; then :
13997 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14001 if ${TIFF_LIBS:+false} :; then :
14002 if ${PKG_CONFIG+:} false; then :
14003 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14008 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14009 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14010 ac_save_CPPFLAGS=$CPPFLAGS
14011 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14012 for ac_header in tiffio.h
14013 do :
14014 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14015 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14016 cat >>confdefs.h <<_ACEOF
14017 #define HAVE_TIFFIO_H 1
14018 _ACEOF
14022 done
14024 if test "$ac_cv_header_tiffio_h" = "yes"
14025 then
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14027 $as_echo_n "checking for -ltiff... " >&6; }
14028 if ${ac_cv_lib_soname_tiff+:} false; then :
14029 $as_echo_n "(cached) " >&6
14030 else
14031 ac_check_soname_save_LIBS=$LIBS
14032 LIBS="-ltiff $TIFF_LIBS $LIBS"
14033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14036 /* Override any GCC internal prototype to avoid an error.
14037 Use char because int might match the return type of a GCC
14038 builtin and then its argument prototype would still apply. */
14039 #ifdef __cplusplus
14040 extern "C"
14041 #endif
14042 char TIFFClientOpen ();
14044 main ()
14046 return TIFFClientOpen ();
14048 return 0;
14050 _ACEOF
14051 if ac_fn_c_try_link "$LINENO"; then :
14052 case "$LIBEXT" in
14053 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14054 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'` ;;
14055 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14056 if ${ac_cv_lib_soname_tiff:+false} :; then :
14057 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14058 fi ;;
14059 esac
14061 rm -f core conftest.err conftest.$ac_objext \
14062 conftest$ac_exeext conftest.$ac_ext
14063 LIBS=$ac_check_soname_save_LIBS
14065 if ${ac_cv_lib_soname_tiff:+false} :; then :
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14067 $as_echo "not found" >&6; }
14069 else
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14071 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14073 cat >>confdefs.h <<_ACEOF
14074 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14075 _ACEOF
14080 CPPFLAGS=$ac_save_CPPFLAGS
14081 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14082 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14085 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14086 case "x$with_tiff" in
14087 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14088 xno) ;;
14089 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14090 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14091 esac
14095 if test "x$with_mpg123" != "xno"
14096 then
14097 if ${MPG123_CFLAGS:+false} :; then :
14098 if ${PKG_CONFIG+:} false; then :
14099 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14103 if ${MPG123_LIBS:+false} :; then :
14104 if ${PKG_CONFIG+:} false; then :
14105 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14109 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14110 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14111 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14112 ac_save_CPPFLAGS=$CPPFLAGS
14113 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14114 for ac_header in mpg123.h
14115 do :
14116 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14117 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14118 cat >>confdefs.h <<_ACEOF
14119 #define HAVE_MPG123_H 1
14120 _ACEOF
14124 done
14126 if test "$ac_cv_header_mpg123_h" = "yes"
14127 then
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14129 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14130 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14131 $as_echo_n "(cached) " >&6
14132 else
14133 ac_check_lib_save_LIBS=$LIBS
14134 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14138 /* Override any GCC internal prototype to avoid an error.
14139 Use char because int might match the return type of a GCC
14140 builtin and then its argument prototype would still apply. */
14141 #ifdef __cplusplus
14142 extern "C"
14143 #endif
14144 char mpg123_feed ();
14146 main ()
14148 return mpg123_feed ();
14150 return 0;
14152 _ACEOF
14153 if ac_fn_c_try_link "$LINENO"; then :
14154 ac_cv_lib_mpg123_mpg123_feed=yes
14155 else
14156 ac_cv_lib_mpg123_mpg123_feed=no
14158 rm -f core conftest.err conftest.$ac_objext \
14159 conftest$ac_exeext conftest.$ac_ext
14160 LIBS=$ac_check_lib_save_LIBS
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14163 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14164 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14166 else
14167 MPG123_LIBS=""
14170 else
14171 MPG123_CFLAGS=""
14172 MPG123_LIBS=""
14174 CPPFLAGS=$ac_save_CPPFLAGS
14175 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14176 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14179 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14180 case "x$with_mpg123" in
14181 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14182 xno) ;;
14183 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14184 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14185 esac
14186 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14189 if test "$ac_cv_header_AL_al_h" = "yes"
14190 then
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14192 $as_echo_n "checking for -lopenal... " >&6; }
14193 if ${ac_cv_lib_soname_openal+:} false; then :
14194 $as_echo_n "(cached) " >&6
14195 else
14196 ac_check_soname_save_LIBS=$LIBS
14197 LIBS="-lopenal $LIBS"
14198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14199 /* end confdefs.h. */
14201 /* Override any GCC internal prototype to avoid an error.
14202 Use char because int might match the return type of a GCC
14203 builtin and then its argument prototype would still apply. */
14204 #ifdef __cplusplus
14205 extern "C"
14206 #endif
14207 char alGetSource3i ();
14209 main ()
14211 return alGetSource3i ();
14213 return 0;
14215 _ACEOF
14216 if ac_fn_c_try_link "$LINENO"; then :
14217 case "$LIBEXT" in
14218 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14219 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'` ;;
14220 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14221 if ${ac_cv_lib_soname_openal:+false} :; then :
14222 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14223 fi ;;
14224 esac
14226 rm -f core conftest.err conftest.$ac_objext \
14227 conftest$ac_exeext conftest.$ac_ext
14228 LIBS=$ac_check_soname_save_LIBS
14230 if ${ac_cv_lib_soname_openal:+false} :; then :
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14232 $as_echo "not found" >&6; }
14234 else
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14236 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14238 cat >>confdefs.h <<_ACEOF
14239 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14240 _ACEOF
14242 OPENAL_LIBS="-lopenal"
14244 ac_cv_lib_openal=yes
14246 cat >>confdefs.h <<_ACEOF
14247 #define HAVE_OPENAL 1
14248 _ACEOF
14252 if test "x$ac_cv_lib_openal" != xyes; then :
14253 case "x$with_openal" in
14254 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14255 xno) ;;
14256 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14257 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14258 esac
14259 enable_openal32=${enable_openal32:-no}
14262 if test "x$ac_cv_lib_openal" = xyes
14263 then
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14265 $as_echo_n "checking for openal-soft... " >&6; }
14266 if ${ac_cv_have_openalsoft+:} false; then :
14267 $as_echo_n "(cached) " >&6
14268 else
14269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14271 #include <AL/al.h>
14272 #include <AL/alc.h>
14273 #include <AL/alext.h>
14274 LPALCRENDERSAMPLESSOFT x;
14276 main ()
14280 return 0;
14282 _ACEOF
14283 if ac_fn_c_try_compile "$LINENO"; then :
14284 ac_cv_have_openalsoft=yes
14285 else
14286 ac_cv_have_openalsoft=no
14288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14291 $as_echo "$ac_cv_have_openalsoft" >&6; }
14293 if test "x$ac_cv_have_openalsoft" != xyes
14294 then
14295 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14296 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14297 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14298 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14299 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14300 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14301 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14302 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14303 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14304 enable_xapofx1_1=${enable_xapofx1_1:-no}
14305 enable_xapofx1_2=${enable_xapofx1_2:-no}
14306 enable_xapofx1_3=${enable_xapofx1_3:-no}
14307 enable_xapofx1_4=${enable_xapofx1_4:-no}
14308 enable_xapofx1_5=${enable_xapofx1_5:-no}
14309 enable_xaudio2_0=${enable_xaudio2_0:-no}
14310 enable_xaudio2_1=${enable_xaudio2_1:-no}
14311 enable_xaudio2_2=${enable_xaudio2_2:-no}
14312 enable_xaudio2_3=${enable_xaudio2_3:-no}
14313 enable_xaudio2_4=${enable_xaudio2_4:-no}
14314 enable_xaudio2_5=${enable_xaudio2_5:-no}
14315 enable_xaudio2_6=${enable_xaudio2_6:-no}
14316 enable_xaudio2_7=${enable_xaudio2_7:-no}
14317 enable_xaudio2_8=${enable_xaudio2_8:-no}
14318 enable_xaudio2_9=${enable_xaudio2_9:-no}
14321 if test "$ac_cv_header_kstat_h" = "yes"
14322 then
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14324 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14325 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14326 $as_echo_n "(cached) " >&6
14327 else
14328 ac_check_lib_save_LIBS=$LIBS
14329 LIBS="-lkstat $LIBS"
14330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14331 /* end confdefs.h. */
14333 /* Override any GCC internal prototype to avoid an error.
14334 Use char because int might match the return type of a GCC
14335 builtin and then its argument prototype would still apply. */
14336 #ifdef __cplusplus
14337 extern "C"
14338 #endif
14339 char kstat_open ();
14341 main ()
14343 return kstat_open ();
14345 return 0;
14347 _ACEOF
14348 if ac_fn_c_try_link "$LINENO"; then :
14349 ac_cv_lib_kstat_kstat_open=yes
14350 else
14351 ac_cv_lib_kstat_kstat_open=no
14353 rm -f core conftest.err conftest.$ac_objext \
14354 conftest$ac_exeext conftest.$ac_ext
14355 LIBS=$ac_check_lib_save_LIBS
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14358 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14359 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14361 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14363 KSTAT_LIBS="-lkstat"
14369 if test "$ac_cv_header_libprocstat_h" = "yes"
14370 then
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14372 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14373 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14374 $as_echo_n "(cached) " >&6
14375 else
14376 ac_check_lib_save_LIBS=$LIBS
14377 LIBS="-lprocstat $LIBS"
14378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14381 /* Override any GCC internal prototype to avoid an error.
14382 Use char because int might match the return type of a GCC
14383 builtin and then its argument prototype would still apply. */
14384 #ifdef __cplusplus
14385 extern "C"
14386 #endif
14387 char procstat_open_sysctl ();
14389 main ()
14391 return procstat_open_sysctl ();
14393 return 0;
14395 _ACEOF
14396 if ac_fn_c_try_link "$LINENO"; then :
14397 ac_cv_lib_procstat_procstat_open_sysctl=yes
14398 else
14399 ac_cv_lib_procstat_procstat_open_sysctl=no
14401 rm -f core conftest.err conftest.$ac_objext \
14402 conftest$ac_exeext conftest.$ac_ext
14403 LIBS=$ac_check_lib_save_LIBS
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14406 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14407 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14409 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14411 PROCSTAT_LIBS="-lprocstat"
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14418 $as_echo_n "checking for -lodbc... " >&6; }
14419 if ${ac_cv_lib_soname_odbc+:} false; then :
14420 $as_echo_n "(cached) " >&6
14421 else
14422 ac_check_soname_save_LIBS=$LIBS
14423 LIBS="-lodbc $LIBS"
14424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14425 /* end confdefs.h. */
14427 /* Override any GCC internal prototype to avoid an error.
14428 Use char because int might match the return type of a GCC
14429 builtin and then its argument prototype would still apply. */
14430 #ifdef __cplusplus
14431 extern "C"
14432 #endif
14433 char SQLConnect ();
14435 main ()
14437 return SQLConnect ();
14439 return 0;
14441 _ACEOF
14442 if ac_fn_c_try_link "$LINENO"; then :
14443 case "$LIBEXT" in
14444 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14445 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'` ;;
14446 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14447 if ${ac_cv_lib_soname_odbc:+false} :; then :
14448 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14449 fi ;;
14450 esac
14452 rm -f core conftest.err conftest.$ac_objext \
14453 conftest$ac_exeext conftest.$ac_ext
14454 LIBS=$ac_check_soname_save_LIBS
14456 if ${ac_cv_lib_soname_odbc:+false} :; then :
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14458 $as_echo "not found" >&6; }
14459 cat >>confdefs.h <<_ACEOF
14460 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14461 _ACEOF
14463 else
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14465 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14467 cat >>confdefs.h <<_ACEOF
14468 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14469 _ACEOF
14474 if test "x$with_netapi" != "xno"
14475 then
14476 if ${NETAPI_CFLAGS:+false} :; then :
14477 if ${PKG_CONFIG+:} false; then :
14478 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14482 if ${NETAPI_LIBS:+false} :; then :
14483 if ${PKG_CONFIG+:} false; then :
14484 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14489 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14490 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14491 ac_save_CPPFLAGS=$CPPFLAGS
14492 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14494 $as_echo_n "checking for -lnetapi... " >&6; }
14495 if ${ac_cv_lib_soname_netapi+:} false; then :
14496 $as_echo_n "(cached) " >&6
14497 else
14498 ac_check_soname_save_LIBS=$LIBS
14499 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14501 /* end confdefs.h. */
14503 /* Override any GCC internal prototype to avoid an error.
14504 Use char because int might match the return type of a GCC
14505 builtin and then its argument prototype would still apply. */
14506 #ifdef __cplusplus
14507 extern "C"
14508 #endif
14509 char libnetapi_init ();
14511 main ()
14513 return libnetapi_init ();
14515 return 0;
14517 _ACEOF
14518 if ac_fn_c_try_link "$LINENO"; then :
14519 case "$LIBEXT" in
14520 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14521 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'` ;;
14522 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14523 if ${ac_cv_lib_soname_netapi:+false} :; then :
14524 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14525 fi ;;
14526 esac
14528 rm -f core conftest.err conftest.$ac_objext \
14529 conftest$ac_exeext conftest.$ac_ext
14530 LIBS=$ac_check_soname_save_LIBS
14532 if ${ac_cv_lib_soname_netapi:+false} :; then :
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14534 $as_echo "not found" >&6; }
14535 cat >>confdefs.h <<_ACEOF
14536 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14537 _ACEOF
14539 else
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14541 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14543 cat >>confdefs.h <<_ACEOF
14544 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14545 _ACEOF
14549 CPPFLAGS=$ac_save_CPPFLAGS
14550 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14551 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14555 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14556 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14557 then
14558 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14561 if test "x$with_vulkan" != "xno"
14562 then
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14564 $as_echo_n "checking for -lvulkan... " >&6; }
14565 if ${ac_cv_lib_soname_vulkan+:} false; then :
14566 $as_echo_n "(cached) " >&6
14567 else
14568 ac_check_soname_save_LIBS=$LIBS
14569 LIBS="-lvulkan $LIBS"
14570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14571 /* end confdefs.h. */
14573 /* Override any GCC internal prototype to avoid an error.
14574 Use char because int might match the return type of a GCC
14575 builtin and then its argument prototype would still apply. */
14576 #ifdef __cplusplus
14577 extern "C"
14578 #endif
14579 char vkGetInstanceProcAddr ();
14581 main ()
14583 return vkGetInstanceProcAddr ();
14585 return 0;
14587 _ACEOF
14588 if ac_fn_c_try_link "$LINENO"; then :
14589 case "$LIBEXT" in
14590 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14591 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'` ;;
14592 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14593 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14594 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14595 fi ;;
14596 esac
14598 rm -f core conftest.err conftest.$ac_objext \
14599 conftest$ac_exeext conftest.$ac_ext
14600 LIBS=$ac_check_soname_save_LIBS
14602 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14604 $as_echo "not found" >&6; }
14606 else
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14608 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14610 cat >>confdefs.h <<_ACEOF
14611 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14612 _ACEOF
14617 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14618 case "x$with_vulkan" in
14619 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14620 xno) ;;
14621 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14622 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14623 esac
14628 EXTRACFLAGS=""
14630 if test "x${GCC}" = "xyes"
14631 then
14632 EXTRACFLAGS="-Wall -pipe"
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14635 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14636 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14637 $as_echo_n "(cached) " >&6
14638 else
14639 if test "$cross_compiling" = yes; then :
14640 ac_cv_c_gcc_strength_bug="no"
14641 else
14642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14644 int L[4] = {0,1,2,3};
14646 main ()
14648 static int Array[3];
14649 unsigned int B = 3;
14650 int i;
14651 for(i=0; i<B; i++) Array[i] = i - 3;
14652 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14653 L[i] = 4;
14654 return (Array[1] != -2 || L[2] != 3)
14656 return 0;
14658 _ACEOF
14659 if ac_fn_c_try_run "$LINENO"; then :
14660 ac_cv_c_gcc_strength_bug="no"
14661 else
14662 ac_cv_c_gcc_strength_bug="yes"
14664 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14665 conftest.$ac_objext conftest.beam conftest.$ac_ext
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14670 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14671 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14672 then
14673 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14677 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14678 if ${ac_cv_cflags__fno_builtin+:} false; then :
14679 $as_echo_n "(cached) " >&6
14680 else
14681 ac_wine_try_cflags_saved=$CFLAGS
14682 CFLAGS="$CFLAGS -fno-builtin"
14683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14684 /* end confdefs.h. */
14685 int main(int argc, char **argv) { return 0; }
14686 _ACEOF
14687 if ac_fn_c_try_link "$LINENO"; then :
14688 ac_cv_cflags__fno_builtin=yes
14689 else
14690 ac_cv_cflags__fno_builtin=no
14692 rm -f core conftest.err conftest.$ac_objext \
14693 conftest$ac_exeext conftest.$ac_ext
14694 CFLAGS=$ac_wine_try_cflags_saved
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14697 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14698 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14699 BUILTINFLAG="-fno-builtin"
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14703 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14704 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14705 $as_echo_n "(cached) " >&6
14706 else
14707 ac_wine_try_cflags_saved=$CFLAGS
14708 CFLAGS="$CFLAGS -fno-strict-aliasing"
14709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14710 /* end confdefs.h. */
14711 int main(int argc, char **argv) { return 0; }
14712 _ACEOF
14713 if ac_fn_c_try_link "$LINENO"; then :
14714 ac_cv_cflags__fno_strict_aliasing=yes
14715 else
14716 ac_cv_cflags__fno_strict_aliasing=no
14718 rm -f core conftest.err conftest.$ac_objext \
14719 conftest$ac_exeext conftest.$ac_ext
14720 CFLAGS=$ac_wine_try_cflags_saved
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14723 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14724 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14725 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14728 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14729 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14730 $as_echo_n "(cached) " >&6
14731 else
14732 ac_wine_try_cflags_saved=$CFLAGS
14733 CFLAGS="$CFLAGS -fexcess-precision=standard"
14734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14735 /* end confdefs.h. */
14736 int main(int argc, char **argv) { return 0; }
14737 _ACEOF
14738 if ac_fn_c_try_link "$LINENO"; then :
14739 ac_cv_cflags__fexcess_precision_standard=yes
14740 else
14741 ac_cv_cflags__fexcess_precision_standard=no
14743 rm -f core conftest.err conftest.$ac_objext \
14744 conftest$ac_exeext conftest.$ac_ext
14745 CFLAGS=$ac_wine_try_cflags_saved
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14748 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14749 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14750 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14753 saved_CFLAGS=$CFLAGS
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14755 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14756 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14757 $as_echo_n "(cached) " >&6
14758 else
14759 ac_wine_try_cflags_saved=$CFLAGS
14760 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14762 /* end confdefs.h. */
14763 int main(int argc, char **argv) { return 0; }
14764 _ACEOF
14765 if ac_fn_c_try_link "$LINENO"; then :
14766 ac_cv_cflags__Werror_unknown_warning_option=yes
14767 else
14768 ac_cv_cflags__Werror_unknown_warning_option=no
14770 rm -f core conftest.err conftest.$ac_objext \
14771 conftest$ac_exeext conftest.$ac_ext
14772 CFLAGS=$ac_wine_try_cflags_saved
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14775 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14776 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14777 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14780 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14781 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14782 $as_echo_n "(cached) " >&6
14783 else
14784 ac_wine_try_cflags_saved=$CFLAGS
14785 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14787 /* end confdefs.h. */
14788 int main(int argc, char **argv) { return 0; }
14789 _ACEOF
14790 if ac_fn_c_try_link "$LINENO"; then :
14791 ac_cv_cflags__Wdeclaration_after_statement=yes
14792 else
14793 ac_cv_cflags__Wdeclaration_after_statement=no
14795 rm -f core conftest.err conftest.$ac_objext \
14796 conftest$ac_exeext conftest.$ac_ext
14797 CFLAGS=$ac_wine_try_cflags_saved
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14800 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14801 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14802 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14805 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14806 if ${ac_cv_cflags__Wempty_body+:} false; then :
14807 $as_echo_n "(cached) " >&6
14808 else
14809 ac_wine_try_cflags_saved=$CFLAGS
14810 CFLAGS="$CFLAGS -Wempty-body"
14811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14812 /* end confdefs.h. */
14813 int main(int argc, char **argv) { return 0; }
14814 _ACEOF
14815 if ac_fn_c_try_link "$LINENO"; then :
14816 ac_cv_cflags__Wempty_body=yes
14817 else
14818 ac_cv_cflags__Wempty_body=no
14820 rm -f core conftest.err conftest.$ac_objext \
14821 conftest$ac_exeext conftest.$ac_ext
14822 CFLAGS=$ac_wine_try_cflags_saved
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14825 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14826 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14827 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14830 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14831 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14832 $as_echo_n "(cached) " >&6
14833 else
14834 ac_wine_try_cflags_saved=$CFLAGS
14835 CFLAGS="$CFLAGS -Wignored-qualifiers"
14836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14837 /* end confdefs.h. */
14838 int main(int argc, char **argv) { return 0; }
14839 _ACEOF
14840 if ac_fn_c_try_link "$LINENO"; then :
14841 ac_cv_cflags__Wignored_qualifiers=yes
14842 else
14843 ac_cv_cflags__Wignored_qualifiers=no
14845 rm -f core conftest.err conftest.$ac_objext \
14846 conftest$ac_exeext conftest.$ac_ext
14847 CFLAGS=$ac_wine_try_cflags_saved
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14850 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14851 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14852 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14855 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14856 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14857 $as_echo_n "(cached) " >&6
14858 else
14859 ac_wine_try_cflags_saved=$CFLAGS
14860 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14862 /* end confdefs.h. */
14863 int main(int argc, char **argv) { return 0; }
14864 _ACEOF
14865 if ac_fn_c_try_link "$LINENO"; then :
14866 ac_cv_cflags__Wpacked_not_aligned=yes
14867 else
14868 ac_cv_cflags__Wpacked_not_aligned=no
14870 rm -f core conftest.err conftest.$ac_objext \
14871 conftest$ac_exeext conftest.$ac_ext
14872 CFLAGS=$ac_wine_try_cflags_saved
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14875 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14876 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14877 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14880 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14881 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14882 $as_echo_n "(cached) " >&6
14883 else
14884 ac_wine_try_cflags_saved=$CFLAGS
14885 CFLAGS="$CFLAGS -Wpragma-pack"
14886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14887 /* end confdefs.h. */
14888 int main(int argc, char **argv) { return 0; }
14889 _ACEOF
14890 if ac_fn_c_try_link "$LINENO"; then :
14891 ac_cv_cflags__Wpragma_pack=yes
14892 else
14893 ac_cv_cflags__Wpragma_pack=no
14895 rm -f core conftest.err conftest.$ac_objext \
14896 conftest$ac_exeext conftest.$ac_ext
14897 CFLAGS=$ac_wine_try_cflags_saved
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14900 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14901 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14902 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14905 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14906 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14907 $as_echo_n "(cached) " >&6
14908 else
14909 ac_wine_try_cflags_saved=$CFLAGS
14910 CFLAGS="$CFLAGS -Wshift-overflow=2"
14911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14912 /* end confdefs.h. */
14913 int main(int argc, char **argv) { return 0; }
14914 _ACEOF
14915 if ac_fn_c_try_link "$LINENO"; then :
14916 ac_cv_cflags__Wshift_overflow_2=yes
14917 else
14918 ac_cv_cflags__Wshift_overflow_2=no
14920 rm -f core conftest.err conftest.$ac_objext \
14921 conftest$ac_exeext conftest.$ac_ext
14922 CFLAGS=$ac_wine_try_cflags_saved
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14925 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14926 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14927 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14930 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14931 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14932 $as_echo_n "(cached) " >&6
14933 else
14934 ac_wine_try_cflags_saved=$CFLAGS
14935 CFLAGS="$CFLAGS -Wstrict-prototypes"
14936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14937 /* end confdefs.h. */
14938 int main(int argc, char **argv) { return 0; }
14939 _ACEOF
14940 if ac_fn_c_try_link "$LINENO"; then :
14941 ac_cv_cflags__Wstrict_prototypes=yes
14942 else
14943 ac_cv_cflags__Wstrict_prototypes=no
14945 rm -f core conftest.err conftest.$ac_objext \
14946 conftest$ac_exeext conftest.$ac_ext
14947 CFLAGS=$ac_wine_try_cflags_saved
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14950 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14951 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14952 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14955 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14956 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14957 $as_echo_n "(cached) " >&6
14958 else
14959 ac_wine_try_cflags_saved=$CFLAGS
14960 CFLAGS="$CFLAGS -Wtype-limits"
14961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h. */
14963 int main(int argc, char **argv) { return 0; }
14964 _ACEOF
14965 if ac_fn_c_try_link "$LINENO"; then :
14966 ac_cv_cflags__Wtype_limits=yes
14967 else
14968 ac_cv_cflags__Wtype_limits=no
14970 rm -f core conftest.err conftest.$ac_objext \
14971 conftest$ac_exeext conftest.$ac_ext
14972 CFLAGS=$ac_wine_try_cflags_saved
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14975 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14976 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14977 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14980 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14981 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14982 $as_echo_n "(cached) " >&6
14983 else
14984 ac_wine_try_cflags_saved=$CFLAGS
14985 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14987 /* end confdefs.h. */
14988 int main(int argc, char **argv) { return 0; }
14989 _ACEOF
14990 if ac_fn_c_try_link "$LINENO"; then :
14991 ac_cv_cflags__Wunused_but_set_parameter=yes
14992 else
14993 ac_cv_cflags__Wunused_but_set_parameter=no
14995 rm -f core conftest.err conftest.$ac_objext \
14996 conftest$ac_exeext conftest.$ac_ext
14997 CFLAGS=$ac_wine_try_cflags_saved
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15000 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15001 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15002 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15005 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15006 if ${ac_cv_cflags__Wvla+:} false; then :
15007 $as_echo_n "(cached) " >&6
15008 else
15009 ac_wine_try_cflags_saved=$CFLAGS
15010 CFLAGS="$CFLAGS -Wvla"
15011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15012 /* end confdefs.h. */
15013 int main(int argc, char **argv) { return 0; }
15014 _ACEOF
15015 if ac_fn_c_try_link "$LINENO"; then :
15016 ac_cv_cflags__Wvla=yes
15017 else
15018 ac_cv_cflags__Wvla=no
15020 rm -f core conftest.err conftest.$ac_objext \
15021 conftest$ac_exeext conftest.$ac_ext
15022 CFLAGS=$ac_wine_try_cflags_saved
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15025 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15026 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15027 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15030 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15031 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15032 $as_echo_n "(cached) " >&6
15033 else
15034 ac_wine_try_cflags_saved=$CFLAGS
15035 CFLAGS="$CFLAGS -Wwrite-strings"
15036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15037 /* end confdefs.h. */
15038 int main(int argc, char **argv) { return 0; }
15039 _ACEOF
15040 if ac_fn_c_try_link "$LINENO"; then :
15041 ac_cv_cflags__Wwrite_strings=yes
15042 else
15043 ac_cv_cflags__Wwrite_strings=no
15045 rm -f core conftest.err conftest.$ac_objext \
15046 conftest$ac_exeext conftest.$ac_ext
15047 CFLAGS=$ac_wine_try_cflags_saved
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15050 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15051 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15052 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15056 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15057 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15058 $as_echo_n "(cached) " >&6
15059 else
15060 ac_wine_try_cflags_saved=$CFLAGS
15061 CFLAGS="$CFLAGS -Wpointer-arith"
15062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15063 /* end confdefs.h. */
15064 int main(int argc, char **argv) { return 0; }
15065 _ACEOF
15066 if ac_fn_c_try_link "$LINENO"; then :
15067 ac_cv_cflags__Wpointer_arith=yes
15068 else
15069 ac_cv_cflags__Wpointer_arith=no
15071 rm -f core conftest.err conftest.$ac_objext \
15072 conftest$ac_exeext conftest.$ac_ext
15073 CFLAGS=$ac_wine_try_cflags_saved
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15076 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15077 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15078 saved_string_h_CFLAGS=$CFLAGS
15079 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15081 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15082 if ${ac_cv_c_string_h_warnings+:} false; then :
15083 $as_echo_n "(cached) " >&6
15084 else
15085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15086 /* end confdefs.h. */
15087 #include <string.h>
15089 main ()
15093 return 0;
15095 _ACEOF
15096 if ac_fn_c_try_compile "$LINENO"; then :
15097 ac_cv_c_string_h_warnings=no
15098 else
15099 ac_cv_c_string_h_warnings=yes
15101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15104 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15105 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15106 CFLAGS=$saved_string_h_CFLAGS
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15110 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15111 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15112 $as_echo_n "(cached) " >&6
15113 else
15114 ac_wine_try_cflags_saved=$CFLAGS
15115 CFLAGS="$CFLAGS -Wlogical-op"
15116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15117 /* end confdefs.h. */
15118 int main(int argc, char **argv) { return 0; }
15119 _ACEOF
15120 if ac_fn_c_try_link "$LINENO"; then :
15121 ac_cv_cflags__Wlogical_op=yes
15122 else
15123 ac_cv_cflags__Wlogical_op=no
15125 rm -f core conftest.err conftest.$ac_objext \
15126 conftest$ac_exeext conftest.$ac_ext
15127 CFLAGS=$ac_wine_try_cflags_saved
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15130 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15131 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15132 saved_string_h_CFLAGS=$CFLAGS
15133 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15135 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15136 if ${ac_cv_c_logicalop_noisy+:} false; then :
15137 $as_echo_n "(cached) " >&6
15138 else
15139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15140 /* end confdefs.h. */
15141 #include <string.h>
15142 char*f(const char *h,char n) {return strchr(h,n);}
15144 main ()
15148 return 0;
15150 _ACEOF
15151 if ac_fn_c_try_compile "$LINENO"; then :
15152 ac_cv_c_logicalop_noisy=no
15153 else
15154 ac_cv_c_logicalop_noisy=yes
15156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15159 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15160 CFLAGS=$saved_string_h_CFLAGS
15161 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15164 CFLAGS=$saved_CFLAGS
15166 for ac_flag in $CFLAGS; do
15167 case $ac_flag in
15168 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15169 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15170 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15171 $as_echo_n "(cached) " >&6
15172 else
15173 ac_wine_try_cflags_saved=$CFLAGS
15174 CFLAGS="$CFLAGS -gdwarf-2"
15175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15176 /* end confdefs.h. */
15177 int main(int argc, char **argv) { return 0; }
15178 _ACEOF
15179 if ac_fn_c_try_link "$LINENO"; then :
15180 ac_cv_cflags__gdwarf_2=yes
15181 else
15182 ac_cv_cflags__gdwarf_2=no
15184 rm -f core conftest.err conftest.$ac_objext \
15185 conftest$ac_exeext conftest.$ac_ext
15186 CFLAGS=$ac_wine_try_cflags_saved
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15189 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15190 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15191 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15194 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15195 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15196 $as_echo_n "(cached) " >&6
15197 else
15198 ac_wine_try_cflags_saved=$CFLAGS
15199 CFLAGS="$CFLAGS -gstrict-dwarf"
15200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15201 /* end confdefs.h. */
15202 int main(int argc, char **argv) { return 0; }
15203 _ACEOF
15204 if ac_fn_c_try_link "$LINENO"; then :
15205 ac_cv_cflags__gstrict_dwarf=yes
15206 else
15207 ac_cv_cflags__gstrict_dwarf=no
15209 rm -f core conftest.err conftest.$ac_objext \
15210 conftest$ac_exeext conftest.$ac_ext
15211 CFLAGS=$ac_wine_try_cflags_saved
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15214 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15215 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15216 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15217 fi ;;
15218 esac
15219 done
15221 case $host_cpu in
15222 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15223 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15224 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15225 $as_echo_n "(cached) " >&6
15226 else
15227 ac_wine_try_cflags_saved=$CFLAGS
15228 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15230 /* end confdefs.h. */
15231 int main(int argc, char **argv) { return 0; }
15232 _ACEOF
15233 if ac_fn_c_try_link "$LINENO"; then :
15234 ac_cv_cflags__fno_omit_frame_pointer=yes
15235 else
15236 ac_cv_cflags__fno_omit_frame_pointer=no
15238 rm -f core conftest.err conftest.$ac_objext \
15239 conftest$ac_exeext conftest.$ac_ext
15240 CFLAGS=$ac_wine_try_cflags_saved
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15243 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15244 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15245 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15246 fi ;;
15247 esac
15249 case $host in
15250 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15251 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15252 if ${ac_cv_cflags__Wno_format+:} false; then :
15253 $as_echo_n "(cached) " >&6
15254 else
15255 ac_wine_try_cflags_saved=$CFLAGS
15256 CFLAGS="$CFLAGS -Wno-format"
15257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15258 /* end confdefs.h. */
15259 int main(int argc, char **argv) { return 0; }
15260 _ACEOF
15261 if ac_fn_c_try_link "$LINENO"; then :
15262 ac_cv_cflags__Wno_format=yes
15263 else
15264 ac_cv_cflags__Wno_format=no
15266 rm -f core conftest.err conftest.$ac_objext \
15267 conftest$ac_exeext conftest.$ac_ext
15268 CFLAGS=$ac_wine_try_cflags_saved
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15271 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15272 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15273 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15274 fi ;;
15275 esac
15277 if test "x$enable_maintainer_mode" = "xyes"
15278 then
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15280 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15281 if ${ac_cv_cflags__Werror+:} false; then :
15282 $as_echo_n "(cached) " >&6
15283 else
15284 ac_wine_try_cflags_saved=$CFLAGS
15285 CFLAGS="$CFLAGS -Werror"
15286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15287 /* end confdefs.h. */
15288 int main(int argc, char **argv) { return 0; }
15289 _ACEOF
15290 if ac_fn_c_try_link "$LINENO"; then :
15291 ac_cv_cflags__Werror=yes
15292 else
15293 ac_cv_cflags__Werror=no
15295 rm -f core conftest.err conftest.$ac_objext \
15296 conftest$ac_exeext conftest.$ac_ext
15297 CFLAGS=$ac_wine_try_cflags_saved
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15300 $as_echo "$ac_cv_cflags__Werror" >&6; }
15301 if test "x$ac_cv_cflags__Werror" = xyes; then :
15302 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15306 saved_CFLAGS="$CFLAGS"
15307 CFLAGS="$CFLAGS -Werror"
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15309 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15310 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15311 $as_echo_n "(cached) " >&6
15312 else
15313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15314 /* end confdefs.h. */
15315 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15317 main ()
15321 return 0;
15323 _ACEOF
15324 if ac_fn_c_try_compile "$LINENO"; then :
15325 ac_cv_have_ms_hook_prologue="yes"
15326 else
15327 ac_cv_have_ms_hook_prologue="no"
15329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15332 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15333 CFLAGS="$saved_CFLAGS"
15334 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15335 then
15337 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15339 else
15340 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15347 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15348 if ${ac_cv_c_fortify_enabled+:} false; then :
15349 $as_echo_n "(cached) " >&6
15350 else
15351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15352 /* end confdefs.h. */
15353 #include <string.h>
15355 main ()
15357 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15358 #error Fortify enabled
15359 #endif
15361 return 0;
15363 _ACEOF
15364 if ac_fn_c_try_compile "$LINENO"; then :
15365 ac_cv_c_fortify_enabled=no
15366 else
15367 ac_cv_c_fortify_enabled=yes
15369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15372 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15373 if test "$ac_cv_c_fortify_enabled" = yes
15374 then
15375 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15380 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15381 if ${ac_cv_c_extern_prefix+:} false; then :
15382 $as_echo_n "(cached) " >&6
15383 else
15384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15385 /* end confdefs.h. */
15386 extern int ac_test;
15388 main ()
15390 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15392 return 0;
15394 _ACEOF
15395 if ac_fn_c_try_link "$LINENO"; then :
15396 ac_cv_c_extern_prefix="yes"
15397 else
15398 ac_cv_c_extern_prefix="no"
15400 rm -f core conftest.err conftest.$ac_objext \
15401 conftest$ac_exeext conftest.$ac_ext
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15404 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15406 case $host_cpu in
15407 *i[3456789]86*)
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15409 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15410 if ${ac_cv_c_stdcall_suffix+:} false; then :
15411 $as_echo_n "(cached) " >&6
15412 else
15413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15414 /* end confdefs.h. */
15415 #ifndef _MSC_VER
15416 #define __stdcall __attribute__((__stdcall__))
15417 #endif
15418 int __stdcall ac_test(int i) { return i; }
15420 main ()
15422 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15424 return 0;
15426 _ACEOF
15427 if ac_fn_c_try_link "$LINENO"; then :
15428 ac_cv_c_stdcall_suffix="yes"
15429 else
15430 ac_cv_c_stdcall_suffix="no"
15432 rm -f core conftest.err conftest.$ac_objext \
15433 conftest$ac_exeext conftest.$ac_ext
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15436 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15437 *) ac_cv_c_stdcall_suffix="no" ;;
15438 esac
15441 if test "$ac_cv_c_extern_prefix" = "yes"
15442 then
15443 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15445 asm_name_prefix="_"
15446 else
15447 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15449 asm_name_prefix=""
15453 if test "$ac_cv_c_stdcall_suffix" = "yes"
15454 then
15455 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15457 else
15458 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15464 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15465 if ${ac_cv_asm_func_def+:} false; then :
15466 $as_echo_n "(cached) " >&6
15467 else
15468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15469 /* end confdefs.h. */
15472 main ()
15474 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15476 return 0;
15478 _ACEOF
15479 if ac_fn_c_try_link "$LINENO"; then :
15480 ac_cv_asm_func_def=".def"
15481 else
15482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15483 /* end confdefs.h. */
15486 main ()
15488 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15490 return 0;
15492 _ACEOF
15493 if ac_fn_c_try_link "$LINENO"; then :
15494 ac_cv_asm_func_def=".type @function"
15495 else
15496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15497 /* end confdefs.h. */
15500 main ()
15502 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15504 return 0;
15506 _ACEOF
15507 if ac_fn_c_try_link "$LINENO"; then :
15508 ac_cv_asm_func_def=".type 2"
15509 else
15510 ac_cv_asm_func_def="unknown"
15512 rm -f core conftest.err conftest.$ac_objext \
15513 conftest$ac_exeext conftest.$ac_ext
15515 rm -f core conftest.err conftest.$ac_objext \
15516 conftest$ac_exeext conftest.$ac_ext
15518 rm -f core conftest.err conftest.$ac_objext \
15519 conftest$ac_exeext conftest.$ac_ext
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15522 $as_echo "$ac_cv_asm_func_def" >&6; }
15525 case "$ac_cv_asm_func_def" in
15526 ".def")
15527 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15529 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15530 ".type @function")
15531 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15533 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15534 ".type 2")
15535 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15537 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15539 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15541 asm_func_header="" ;;
15542 esac
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15545 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15546 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15547 $as_echo_n "(cached) " >&6
15548 else
15549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15550 /* end confdefs.h. */
15551 asm(".text\n\t.long 0");
15553 main ()
15557 return 0;
15559 _ACEOF
15560 if ac_fn_c_try_compile "$LINENO"; then :
15561 ac_cv_c_asm_outside_funcs="yes"
15562 else
15563 ac_cv_c_asm_outside_funcs="no"
15565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15568 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15571 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15572 if ${ac_cv_c_dot_previous+:} false; then :
15573 $as_echo_n "(cached) " >&6
15574 else
15575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15576 /* end confdefs.h. */
15579 main ()
15581 asm(".text\nac_test:\t.long 0\n\t.previous");
15583 return 0;
15585 _ACEOF
15586 if ac_fn_c_try_link "$LINENO"; then :
15587 ac_cv_c_dot_previous="yes"
15588 else
15589 ac_cv_c_dot_previous="no"
15591 rm -f core conftest.err conftest.$ac_objext \
15592 conftest$ac_exeext conftest.$ac_ext
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15595 $as_echo "$ac_cv_c_dot_previous" >&6; }
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15598 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15599 if ${ac_cv_c_cfi_support+:} false; then :
15600 $as_echo_n "(cached) " >&6
15601 else
15602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15603 /* end confdefs.h. */
15604 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15606 main ()
15610 return 0;
15612 _ACEOF
15613 if ac_fn_c_try_compile "$LINENO"; then :
15614 ac_cv_c_cfi_support="yes"
15615 else
15616 ac_cv_c_cfi_support="no"
15618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15621 $as_echo "$ac_cv_c_cfi_support" >&6; }
15623 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15624 asm_func_trailer=""
15625 if test "$ac_cv_c_dot_previous" = "yes"
15626 then
15627 asm_func_trailer="\\n\\t.previous"
15629 if test "$ac_cv_c_cfi_support" = "yes"
15630 then
15631 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15632 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15634 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15636 UNWINDFLAGS=-fasynchronous-unwind-tables
15638 else
15639 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15641 if test "x$enable_win64" = "xyes"
15642 then
15643 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15647 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15650 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15651 then
15652 cat >>confdefs.h <<_ACEOF
15653 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15654 _ACEOF
15656 else
15657 cat >>confdefs.h <<_ACEOF
15658 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15659 _ACEOF
15663 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15666 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15670 case $build_os in
15671 cygwin*|mingw32*) TOOLSEXT=".exe"
15673 esac
15675 case $host_os in
15676 linux*)
15677 case $host_cpu in
15678 *i[3456789]86*|x86_64*|*aarch64*)
15679 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15680 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15682 esac
15684 esac
15687 ac_save_CFLAGS="$CFLAGS"
15688 CFLAGS="$CFLAGS $BUILTINFLAG"
15689 for ac_func in \
15690 __res_get_state \
15691 __res_getservers \
15692 _finite \
15693 _isnan \
15694 _pclose \
15695 _popen \
15696 _snprintf \
15697 _spawnvp \
15698 _strdup \
15699 _stricmp \
15700 _strnicmp \
15701 _strtoi64 \
15702 _strtoui64 \
15703 _vsnprintf \
15704 asctime_r \
15705 chsize \
15706 dlopen \
15707 epoll_create \
15708 ffs \
15709 finitef \
15710 fnmatch \
15711 fork \
15712 fpclass \
15713 fstatfs \
15714 fstatvfs \
15715 ftruncate \
15716 futimens \
15717 futimes \
15718 futimesat \
15719 getattrlist \
15720 getauxval \
15721 getifaddrs \
15722 getopt_long_only \
15723 getpwuid \
15724 gettimeofday \
15725 getuid \
15726 isnanf \
15727 kqueue \
15728 lstat \
15729 memmove \
15730 mmap \
15731 pclose \
15732 pipe2 \
15733 poll \
15734 popen \
15735 port_create \
15736 prctl \
15737 pread \
15738 proc_pidinfo \
15739 pwrite \
15740 readdir \
15741 readlink \
15742 sched_yield \
15743 select \
15744 setproctitle \
15745 setprogname \
15746 setrlimit \
15747 settimeofday \
15748 sigaltstack \
15749 sigprocmask \
15750 snprintf \
15751 statfs \
15752 statvfs \
15753 strcasecmp \
15754 strdup \
15755 strerror \
15756 strncasecmp \
15757 strnlen \
15758 strtold \
15759 strtoll \
15760 strtoull \
15761 symlink \
15762 sysinfo \
15763 tcdrain \
15764 thr_kill2 \
15765 timegm \
15766 usleep \
15767 vsnprintf
15769 do :
15770 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15771 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15772 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15773 cat >>confdefs.h <<_ACEOF
15774 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15775 _ACEOF
15778 done
15780 CFLAGS="$ac_save_CFLAGS"
15782 if test "$ac_cv_func_dlopen" = no
15783 then
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15785 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15786 if ${ac_cv_lib_dl_dlopen+:} false; then :
15787 $as_echo_n "(cached) " >&6
15788 else
15789 ac_check_lib_save_LIBS=$LIBS
15790 LIBS="-ldl $LIBS"
15791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15792 /* end confdefs.h. */
15794 /* Override any GCC internal prototype to avoid an error.
15795 Use char because int might match the return type of a GCC
15796 builtin and then its argument prototype would still apply. */
15797 #ifdef __cplusplus
15798 extern "C"
15799 #endif
15800 char dlopen ();
15802 main ()
15804 return dlopen ();
15806 return 0;
15808 _ACEOF
15809 if ac_fn_c_try_link "$LINENO"; then :
15810 ac_cv_lib_dl_dlopen=yes
15811 else
15812 ac_cv_lib_dl_dlopen=no
15814 rm -f core conftest.err conftest.$ac_objext \
15815 conftest$ac_exeext conftest.$ac_ext
15816 LIBS=$ac_check_lib_save_LIBS
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15819 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15820 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15821 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15822 DL_LIBS="-ldl"
15827 ac_wine_check_funcs_save_LIBS="$LIBS"
15828 LIBS="$LIBS $DL_LIBS"
15829 for ac_func in dladdr
15830 do :
15831 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15832 if test "x$ac_cv_func_dladdr" = xyes; then :
15833 cat >>confdefs.h <<_ACEOF
15834 #define HAVE_DLADDR 1
15835 _ACEOF
15838 done
15840 LIBS="$ac_wine_check_funcs_save_LIBS"
15842 if test "$ac_cv_func_poll" = no
15843 then
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15845 $as_echo_n "checking for poll in -lpoll... " >&6; }
15846 if ${ac_cv_lib_poll_poll+:} false; then :
15847 $as_echo_n "(cached) " >&6
15848 else
15849 ac_check_lib_save_LIBS=$LIBS
15850 LIBS="-lpoll $LIBS"
15851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15852 /* end confdefs.h. */
15854 /* Override any GCC internal prototype to avoid an error.
15855 Use char because int might match the return type of a GCC
15856 builtin and then its argument prototype would still apply. */
15857 #ifdef __cplusplus
15858 extern "C"
15859 #endif
15860 char poll ();
15862 main ()
15864 return poll ();
15866 return 0;
15868 _ACEOF
15869 if ac_fn_c_try_link "$LINENO"; then :
15870 ac_cv_lib_poll_poll=yes
15871 else
15872 ac_cv_lib_poll_poll=no
15874 rm -f core conftest.err conftest.$ac_objext \
15875 conftest$ac_exeext conftest.$ac_ext
15876 LIBS=$ac_check_lib_save_LIBS
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15879 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15880 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15881 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15882 POLL_LIBS="-lpoll"
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15889 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15890 if ${ac_cv_search_gethostbyname+:} false; then :
15891 $as_echo_n "(cached) " >&6
15892 else
15893 ac_func_search_save_LIBS=$LIBS
15894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15895 /* end confdefs.h. */
15897 /* Override any GCC internal prototype to avoid an error.
15898 Use char because int might match the return type of a GCC
15899 builtin and then its argument prototype would still apply. */
15900 #ifdef __cplusplus
15901 extern "C"
15902 #endif
15903 char gethostbyname ();
15905 main ()
15907 return gethostbyname ();
15909 return 0;
15911 _ACEOF
15912 for ac_lib in '' nsl; do
15913 if test -z "$ac_lib"; then
15914 ac_res="none required"
15915 else
15916 ac_res=-l$ac_lib
15917 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15919 if ac_fn_c_try_link "$LINENO"; then :
15920 ac_cv_search_gethostbyname=$ac_res
15922 rm -f core conftest.err conftest.$ac_objext \
15923 conftest$ac_exeext
15924 if ${ac_cv_search_gethostbyname+:} false; then :
15925 break
15927 done
15928 if ${ac_cv_search_gethostbyname+:} false; then :
15930 else
15931 ac_cv_search_gethostbyname=no
15933 rm conftest.$ac_ext
15934 LIBS=$ac_func_search_save_LIBS
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15937 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15938 ac_res=$ac_cv_search_gethostbyname
15939 if test "$ac_res" != no; then :
15940 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15946 $as_echo_n "checking for library containing connect... " >&6; }
15947 if ${ac_cv_search_connect+:} false; then :
15948 $as_echo_n "(cached) " >&6
15949 else
15950 ac_func_search_save_LIBS=$LIBS
15951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15952 /* end confdefs.h. */
15954 /* Override any GCC internal prototype to avoid an error.
15955 Use char because int might match the return type of a GCC
15956 builtin and then its argument prototype would still apply. */
15957 #ifdef __cplusplus
15958 extern "C"
15959 #endif
15960 char connect ();
15962 main ()
15964 return connect ();
15966 return 0;
15968 _ACEOF
15969 for ac_lib in '' socket; do
15970 if test -z "$ac_lib"; then
15971 ac_res="none required"
15972 else
15973 ac_res=-l$ac_lib
15974 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15976 if ac_fn_c_try_link "$LINENO"; then :
15977 ac_cv_search_connect=$ac_res
15979 rm -f core conftest.err conftest.$ac_objext \
15980 conftest$ac_exeext
15981 if ${ac_cv_search_connect+:} false; then :
15982 break
15984 done
15985 if ${ac_cv_search_connect+:} false; then :
15987 else
15988 ac_cv_search_connect=no
15990 rm conftest.$ac_ext
15991 LIBS=$ac_func_search_save_LIBS
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15994 $as_echo "$ac_cv_search_connect" >&6; }
15995 ac_res=$ac_cv_search_connect
15996 if test "$ac_res" != no; then :
15997 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16003 $as_echo_n "checking for library containing inet_aton... " >&6; }
16004 if ${ac_cv_search_inet_aton+:} false; then :
16005 $as_echo_n "(cached) " >&6
16006 else
16007 ac_func_search_save_LIBS=$LIBS
16008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16009 /* end confdefs.h. */
16011 /* Override any GCC internal prototype to avoid an error.
16012 Use char because int might match the return type of a GCC
16013 builtin and then its argument prototype would still apply. */
16014 #ifdef __cplusplus
16015 extern "C"
16016 #endif
16017 char inet_aton ();
16019 main ()
16021 return inet_aton ();
16023 return 0;
16025 _ACEOF
16026 for ac_lib in '' resolv; do
16027 if test -z "$ac_lib"; then
16028 ac_res="none required"
16029 else
16030 ac_res=-l$ac_lib
16031 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16033 if ac_fn_c_try_link "$LINENO"; then :
16034 ac_cv_search_inet_aton=$ac_res
16036 rm -f core conftest.err conftest.$ac_objext \
16037 conftest$ac_exeext
16038 if ${ac_cv_search_inet_aton+:} false; then :
16039 break
16041 done
16042 if ${ac_cv_search_inet_aton+:} false; then :
16044 else
16045 ac_cv_search_inet_aton=no
16047 rm conftest.$ac_ext
16048 LIBS=$ac_func_search_save_LIBS
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16051 $as_echo "$ac_cv_search_inet_aton" >&6; }
16052 ac_res=$ac_cv_search_inet_aton
16053 if test "$ac_res" != no; then :
16054 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16059 for ac_func in \
16060 getaddrinfo \
16061 getnameinfo \
16062 getnetbyname \
16063 getprotobyname \
16064 getprotobynumber \
16065 getservbyport \
16066 inet_addr \
16067 inet_network \
16068 inet_ntop \
16069 inet_pton \
16070 sendmsg \
16071 socketpair \
16073 do :
16074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16076 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16077 cat >>confdefs.h <<_ACEOF
16078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16079 _ACEOF
16082 done
16085 ac_save_LIBS=$LIBS
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16087 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16088 if ${ac_cv_search_clock_gettime+:} false; then :
16089 $as_echo_n "(cached) " >&6
16090 else
16091 ac_func_search_save_LIBS=$LIBS
16092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16093 /* end confdefs.h. */
16095 /* Override any GCC internal prototype to avoid an error.
16096 Use char because int might match the return type of a GCC
16097 builtin and then its argument prototype would still apply. */
16098 #ifdef __cplusplus
16099 extern "C"
16100 #endif
16101 char clock_gettime ();
16103 main ()
16105 return clock_gettime ();
16107 return 0;
16109 _ACEOF
16110 for ac_lib in '' rt; do
16111 if test -z "$ac_lib"; then
16112 ac_res="none required"
16113 else
16114 ac_res=-l$ac_lib
16115 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16117 if ac_fn_c_try_link "$LINENO"; then :
16118 ac_cv_search_clock_gettime=$ac_res
16120 rm -f core conftest.err conftest.$ac_objext \
16121 conftest$ac_exeext
16122 if ${ac_cv_search_clock_gettime+:} false; then :
16123 break
16125 done
16126 if ${ac_cv_search_clock_gettime+:} false; then :
16128 else
16129 ac_cv_search_clock_gettime=no
16131 rm conftest.$ac_ext
16132 LIBS=$ac_func_search_save_LIBS
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16135 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16136 ac_res=$ac_cv_search_clock_gettime
16137 if test "$ac_res" != no; then :
16138 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16140 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16142 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16146 LIBS=$ac_save_LIBS
16148 if test "x$with_ldap" != "xno"
16149 then
16150 if ${LDAP_CFLAGS:+false} :; then :
16151 if ${PKG_CONFIG+:} false; then :
16152 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16156 if ${LDAP_LIBS:+false} :; then :
16157 if ${PKG_CONFIG+:} false; then :
16158 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16162 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16163 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16164 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16165 ac_save_CPPFLAGS=$CPPFLAGS
16166 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16167 for ac_header in ldap.h lber.h
16168 do :
16169 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16170 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16171 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16172 cat >>confdefs.h <<_ACEOF
16173 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16174 _ACEOF
16178 done
16180 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16181 then
16182 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16184 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16186 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16187 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16188 $as_echo_n "(cached) " >&6
16189 else
16190 ac_check_lib_save_LIBS=$LIBS
16191 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16193 /* end confdefs.h. */
16195 /* Override any GCC internal prototype to avoid an error.
16196 Use char because int might match the return type of a GCC
16197 builtin and then its argument prototype would still apply. */
16198 #ifdef __cplusplus
16199 extern "C"
16200 #endif
16201 char ldap_initialize ();
16203 main ()
16205 return ldap_initialize ();
16207 return 0;
16209 _ACEOF
16210 if ac_fn_c_try_link "$LINENO"; then :
16211 ac_cv_lib_ldap_r_ldap_initialize=yes
16212 else
16213 ac_cv_lib_ldap_r_ldap_initialize=no
16215 rm -f core conftest.err conftest.$ac_objext \
16216 conftest$ac_exeext conftest.$ac_ext
16217 LIBS=$ac_check_lib_save_LIBS
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16220 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16221 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16223 $as_echo_n "checking for ber_init in -llber... " >&6; }
16224 if ${ac_cv_lib_lber_ber_init+:} false; then :
16225 $as_echo_n "(cached) " >&6
16226 else
16227 ac_check_lib_save_LIBS=$LIBS
16228 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16230 /* end confdefs.h. */
16232 /* Override any GCC internal prototype to avoid an error.
16233 Use char because int might match the return type of a GCC
16234 builtin and then its argument prototype would still apply. */
16235 #ifdef __cplusplus
16236 extern "C"
16237 #endif
16238 char ber_init ();
16240 main ()
16242 return ber_init ();
16244 return 0;
16246 _ACEOF
16247 if ac_fn_c_try_link "$LINENO"; then :
16248 ac_cv_lib_lber_ber_init=yes
16249 else
16250 ac_cv_lib_lber_ber_init=no
16252 rm -f core conftest.err conftest.$ac_objext \
16253 conftest$ac_exeext conftest.$ac_ext
16254 LIBS=$ac_check_lib_save_LIBS
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16257 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16258 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16260 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16262 else
16263 LDAP_LIBS=""
16266 else
16267 LDAP_LIBS=""
16270 else
16271 LDAP_LIBS=""
16274 ac_wine_check_funcs_save_LIBS="$LIBS"
16275 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16276 for ac_func in \
16277 ldap_count_references \
16278 ldap_first_reference \
16279 ldap_next_reference \
16280 ldap_parse_reference \
16281 ldap_parse_sort_control \
16282 ldap_parse_sortresponse_control \
16283 ldap_parse_vlv_control \
16284 ldap_parse_vlvresponse_control
16285 do :
16286 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16287 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16288 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16289 cat >>confdefs.h <<_ACEOF
16290 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16291 _ACEOF
16294 done
16296 LIBS="$ac_wine_check_funcs_save_LIBS"
16297 else
16298 LDAP_LIBS=""
16300 CPPFLAGS=$ac_save_CPPFLAGS
16301 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16302 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16305 if test "x$LDAP_LIBS" = "x"; then :
16306 case "x$with_ldap" in
16307 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16308 xno) ;;
16309 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16310 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16311 esac
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16316 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16317 if ${wine_cv_one_arg_mkdir+:} false; then :
16318 $as_echo_n "(cached) " >&6
16319 else
16320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16321 /* end confdefs.h. */
16322 #include <sys/stat.h>
16324 main ()
16326 mkdir("foo");
16328 return 0;
16330 _ACEOF
16331 if ac_fn_c_try_compile "$LINENO"; then :
16332 wine_cv_one_arg_mkdir=yes
16333 else
16334 wine_cv_one_arg_mkdir=no
16336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16339 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16340 if test "$wine_cv_one_arg_mkdir" = "yes"
16341 then
16343 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16348 $as_echo_n "checking for sched_setaffinity... " >&6; }
16349 if ${wine_cv_have_sched_setaffinity+:} false; then :
16350 $as_echo_n "(cached) " >&6
16351 else
16352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16353 /* end confdefs.h. */
16354 #define _GNU_SOURCE
16355 #include <sched.h>
16357 main ()
16359 sched_setaffinity(0, 0, 0);
16361 return 0;
16363 _ACEOF
16364 if ac_fn_c_try_link "$LINENO"; then :
16365 wine_cv_have_sched_setaffinity=yes
16366 else
16367 wine_cv_have_sched_setaffinity=no
16369 rm -f core conftest.err conftest.$ac_objext \
16370 conftest$ac_exeext conftest.$ac_ext
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16373 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16374 if test "$wine_cv_have_sched_setaffinity" = "yes"
16375 then
16377 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16382 $as_echo_n "checking for fallocate... " >&6; }
16383 if ${wine_cv_have_fallocate+:} false; then :
16384 $as_echo_n "(cached) " >&6
16385 else
16386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16387 /* end confdefs.h. */
16388 #define _GNU_SOURCE
16389 #include <fcntl.h>
16391 main ()
16393 fallocate(-1, 0, 0, 0);
16395 return 0;
16397 _ACEOF
16398 if ac_fn_c_try_link "$LINENO"; then :
16399 wine_cv_have_fallocate=yes
16400 else
16401 wine_cv_have_fallocate=no
16403 rm -f core conftest.err conftest.$ac_objext \
16404 conftest$ac_exeext conftest.$ac_ext
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16407 $as_echo "$wine_cv_have_fallocate" >&6; }
16408 if test "$wine_cv_have_fallocate" = "yes"
16409 then
16411 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16417 $as_echo_n "checking for inline... " >&6; }
16418 if ${ac_cv_c_inline+:} false; then :
16419 $as_echo_n "(cached) " >&6
16420 else
16421 ac_cv_c_inline=no
16422 for ac_kw in inline __inline__ __inline; do
16423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16424 /* end confdefs.h. */
16425 #ifndef __cplusplus
16426 typedef int foo_t;
16427 static $ac_kw foo_t static_foo () {return 0; }
16428 $ac_kw foo_t foo () {return 0; }
16429 #endif
16431 _ACEOF
16432 if ac_fn_c_try_compile "$LINENO"; then :
16433 ac_cv_c_inline=$ac_kw
16435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16436 test "$ac_cv_c_inline" != no && break
16437 done
16440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16441 $as_echo "$ac_cv_c_inline" >&6; }
16443 case $ac_cv_c_inline in
16444 inline | yes) ;;
16446 case $ac_cv_c_inline in
16447 no) ac_val=;;
16448 *) ac_val=$ac_cv_c_inline;;
16449 esac
16450 cat >>confdefs.h <<_ACEOF
16451 #ifndef __cplusplus
16452 #define inline $ac_val
16453 #endif
16454 _ACEOF
16456 esac
16458 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16459 if test "x$ac_cv_type_mode_t" = xyes; then :
16461 cat >>confdefs.h <<_ACEOF
16462 #define HAVE_MODE_T 1
16463 _ACEOF
16467 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16468 if test "x$ac_cv_type_off_t" = xyes; then :
16470 cat >>confdefs.h <<_ACEOF
16471 #define HAVE_OFF_T 1
16472 _ACEOF
16476 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16477 if test "x$ac_cv_type_pid_t" = xyes; then :
16479 cat >>confdefs.h <<_ACEOF
16480 #define HAVE_PID_T 1
16481 _ACEOF
16485 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16486 if test "x$ac_cv_type_size_t" = xyes; then :
16488 cat >>confdefs.h <<_ACEOF
16489 #define HAVE_SIZE_T 1
16490 _ACEOF
16494 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16495 if test "x$ac_cv_type_ssize_t" = xyes; then :
16497 cat >>confdefs.h <<_ACEOF
16498 #define HAVE_SSIZE_T 1
16499 _ACEOF
16503 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16504 if test "x$ac_cv_type_long_long" = xyes; then :
16506 cat >>confdefs.h <<_ACEOF
16507 #define HAVE_LONG_LONG 1
16508 _ACEOF
16512 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16513 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16515 cat >>confdefs.h <<_ACEOF
16516 #define HAVE_FSBLKCNT_T 1
16517 _ACEOF
16521 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16522 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16524 cat >>confdefs.h <<_ACEOF
16525 #define HAVE_FSFILCNT_T 1
16526 _ACEOF
16531 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16532 #include <signal.h>
16534 if test "x$ac_cv_type_sigset_t" = xyes; then :
16536 cat >>confdefs.h <<_ACEOF
16537 #define HAVE_SIGSET_T 1
16538 _ACEOF
16543 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16545 if test "x$ac_cv_type_request_sense" = xyes; then :
16547 cat >>confdefs.h <<_ACEOF
16548 #define HAVE_REQUEST_SENSE 1
16549 _ACEOF
16555 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16556 #ifdef HAVE_SYS_SOCKET_H
16557 #include <sys/socket.h>
16558 #endif
16559 #ifdef HAVE_SYS_SOCKETVAR_H
16560 #include <sys/socketvar.h>
16561 #endif
16562 #ifdef HAVE_NET_ROUTE_H
16563 #include <net/route.h>
16564 #endif
16565 #ifdef HAVE_NETINET_IN_H
16566 #include <netinet/in.h>
16567 #endif
16568 #ifdef HAVE_NETINET_IN_SYSTM_H
16569 #include <netinet/in_systm.h>
16570 #endif
16571 #ifdef HAVE_NETINET_IP_H
16572 #include <netinet/ip.h>
16573 #endif
16574 #ifdef HAVE_NETINET_IN_PCB_H
16575 #include <netinet/in_pcb.h>
16576 #endif
16578 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16580 cat >>confdefs.h <<_ACEOF
16581 #define HAVE_STRUCT_XINPGEN 1
16582 _ACEOF
16588 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16589 #include <link.h>
16590 #endif
16591 #ifdef HAVE_SYS_LINK_H
16592 #include <sys/link.h>
16593 #endif
16595 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16597 cat >>confdefs.h <<_ACEOF
16598 #define HAVE_STRUCT_R_DEBUG 1
16599 _ACEOF
16603 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16604 #include <link.h>
16605 #endif
16606 #ifdef HAVE_SYS_LINK_H
16607 #include <sys/link.h>
16608 #endif
16610 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16612 cat >>confdefs.h <<_ACEOF
16613 #define HAVE_STRUCT_LINK_MAP 1
16614 _ACEOF
16620 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16621 #include <linux/input.h>
16622 #endif
16624 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16626 cat >>confdefs.h <<_ACEOF
16627 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16628 _ACEOF
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16635 $as_echo_n "checking for if_nameindex... " >&6; }
16636 if ${wine_cv_have_if_nameindex+:} false; then :
16637 $as_echo_n "(cached) " >&6
16638 else
16639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16640 /* end confdefs.h. */
16641 #ifdef HAVE_SYS_TYPES_H
16642 #include <sys/types.h>
16643 #endif
16644 #ifdef HAVE_SYS_SOCKET_H
16645 #include <sys/socket.h>
16646 #endif
16647 #ifdef HAVE_NET_IF_H
16648 # include <net/if.h>
16649 #endif
16651 main ()
16653 struct if_nameindex *p = if_nameindex(); return p->if_index;
16655 return 0;
16657 _ACEOF
16658 if ac_fn_c_try_link "$LINENO"; then :
16659 wine_cv_have_if_nameindex=yes
16660 else
16661 wine_cv_have_if_nameindex=no
16663 rm -f core conftest.err conftest.$ac_objext \
16664 conftest$ac_exeext conftest.$ac_ext
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16667 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16668 if test "$wine_cv_have_if_nameindex" = "yes"
16669 then
16671 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16676 $as_echo_n "checking for sigaddset... " >&6; }
16677 if ${wine_cv_have_sigaddset+:} false; then :
16678 $as_echo_n "(cached) " >&6
16679 else
16680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16681 /* end confdefs.h. */
16682 #include <signal.h>
16684 main ()
16686 sigset_t set; sigaddset(&set,SIGTERM);
16688 return 0;
16690 _ACEOF
16691 if ac_fn_c_try_link "$LINENO"; then :
16692 wine_cv_have_sigaddset=yes
16693 else
16694 wine_cv_have_sigaddset=no
16696 rm -f core conftest.err conftest.$ac_objext \
16697 conftest$ac_exeext conftest.$ac_ext
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16700 $as_echo "$wine_cv_have_sigaddset" >&6; }
16701 if test "$wine_cv_have_sigaddset" = "yes"
16702 then
16704 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16710 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16711 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16712 $as_echo_n "(cached) " >&6
16713 else
16714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16715 /* end confdefs.h. */
16716 #include <netdb.h>
16718 main ()
16721 char *name=0;
16722 struct hostent he;
16723 struct hostent *result;
16724 char *buf=0;
16725 int bufsize=0;
16726 int errnr;
16727 char *addr=0;
16728 int addrlen=0;
16729 int addrtype=0;
16730 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16731 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16734 return 0;
16736 _ACEOF
16737 if ac_fn_c_try_link "$LINENO"; then :
16738 wine_cv_linux_gethostbyname_r_6=yes
16739 else
16740 wine_cv_linux_gethostbyname_r_6=no
16743 rm -f core conftest.err conftest.$ac_objext \
16744 conftest$ac_exeext conftest.$ac_ext
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16748 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16749 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16750 then
16752 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16756 if test "$ac_cv_header_linux_joystick_h" = "yes"
16757 then
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16759 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16760 if ${wine_cv_linux_joystick_22_api+:} false; then :
16761 $as_echo_n "(cached) " >&6
16762 else
16763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16764 /* end confdefs.h. */
16766 #include <sys/ioctl.h>
16767 #include <sys/types.h>
16768 #include <linux/joystick.h>
16770 struct js_event blub;
16771 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16772 #error "no 2.2 header"
16773 #endif
16776 main ()
16778 /*empty*/
16780 return 0;
16782 _ACEOF
16783 if ac_fn_c_try_compile "$LINENO"; then :
16784 wine_cv_linux_joystick_22_api=yes
16785 else
16786 wine_cv_linux_joystick_22_api=no
16788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16792 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16793 if test "$wine_cv_linux_joystick_22_api" = "yes"
16794 then
16796 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16802 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16803 #ifdef HAVE_SYS_PARAM_H
16804 # include <sys/param.h>
16805 #endif
16806 #ifdef HAVE_SYS_MOUNT_H
16807 # include <sys/mount.h>
16808 #endif
16809 #ifdef HAVE_SYS_VFS_H
16810 # include <sys/vfs.h>
16811 #endif
16812 #ifdef HAVE_SYS_STATFS_H
16813 # include <sys/statfs.h>
16814 #endif
16816 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16818 cat >>confdefs.h <<_ACEOF
16819 #define HAVE_STRUCT_STATFS_F_BFREE 1
16820 _ACEOF
16824 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16825 #ifdef HAVE_SYS_PARAM_H
16826 # include <sys/param.h>
16827 #endif
16828 #ifdef HAVE_SYS_MOUNT_H
16829 # include <sys/mount.h>
16830 #endif
16831 #ifdef HAVE_SYS_VFS_H
16832 # include <sys/vfs.h>
16833 #endif
16834 #ifdef HAVE_SYS_STATFS_H
16835 # include <sys/statfs.h>
16836 #endif
16838 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16840 cat >>confdefs.h <<_ACEOF
16841 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16842 _ACEOF
16846 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16847 #ifdef HAVE_SYS_PARAM_H
16848 # include <sys/param.h>
16849 #endif
16850 #ifdef HAVE_SYS_MOUNT_H
16851 # include <sys/mount.h>
16852 #endif
16853 #ifdef HAVE_SYS_VFS_H
16854 # include <sys/vfs.h>
16855 #endif
16856 #ifdef HAVE_SYS_STATFS_H
16857 # include <sys/statfs.h>
16858 #endif
16860 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16862 cat >>confdefs.h <<_ACEOF
16863 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16864 _ACEOF
16868 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16869 #ifdef HAVE_SYS_PARAM_H
16870 # include <sys/param.h>
16871 #endif
16872 #ifdef HAVE_SYS_MOUNT_H
16873 # include <sys/mount.h>
16874 #endif
16875 #ifdef HAVE_SYS_VFS_H
16876 # include <sys/vfs.h>
16877 #endif
16878 #ifdef HAVE_SYS_STATFS_H
16879 # include <sys/statfs.h>
16880 #endif
16882 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16884 cat >>confdefs.h <<_ACEOF
16885 #define HAVE_STRUCT_STATFS_F_FFREE 1
16886 _ACEOF
16890 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16891 #ifdef HAVE_SYS_PARAM_H
16892 # include <sys/param.h>
16893 #endif
16894 #ifdef HAVE_SYS_MOUNT_H
16895 # include <sys/mount.h>
16896 #endif
16897 #ifdef HAVE_SYS_VFS_H
16898 # include <sys/vfs.h>
16899 #endif
16900 #ifdef HAVE_SYS_STATFS_H
16901 # include <sys/statfs.h>
16902 #endif
16904 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16906 cat >>confdefs.h <<_ACEOF
16907 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16908 _ACEOF
16912 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16913 #ifdef HAVE_SYS_PARAM_H
16914 # include <sys/param.h>
16915 #endif
16916 #ifdef HAVE_SYS_MOUNT_H
16917 # include <sys/mount.h>
16918 #endif
16919 #ifdef HAVE_SYS_VFS_H
16920 # include <sys/vfs.h>
16921 #endif
16922 #ifdef HAVE_SYS_STATFS_H
16923 # include <sys/statfs.h>
16924 #endif
16926 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16928 cat >>confdefs.h <<_ACEOF
16929 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16930 _ACEOF
16936 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16937 #include <sys/statvfs.h>
16938 #endif
16940 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16942 cat >>confdefs.h <<_ACEOF
16943 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16944 _ACEOF
16950 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16951 #include <dirent.h>
16952 #endif
16954 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16956 cat >>confdefs.h <<_ACEOF
16957 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16958 _ACEOF
16964 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16965 #ifdef HAVE_SYS_SOCKET_H
16966 # include <sys/socket.h>
16967 #endif
16968 #ifdef HAVE_SYS_UN_H
16969 # include <sys/un.h>
16970 #endif
16972 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16974 cat >>confdefs.h <<_ACEOF
16975 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16976 _ACEOF
16980 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16981 #ifdef HAVE_SYS_SOCKET_H
16982 # include <sys/socket.h>
16983 #endif
16984 #ifdef HAVE_SYS_UN_H
16985 # include <sys/un.h>
16986 #endif
16988 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16990 cat >>confdefs.h <<_ACEOF
16991 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16992 _ACEOF
16996 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16997 #ifdef HAVE_SYS_SOCKET_H
16998 # include <sys/socket.h>
16999 #endif
17000 #ifdef HAVE_SYS_UN_H
17001 # include <sys/un.h>
17002 #endif
17004 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17006 cat >>confdefs.h <<_ACEOF
17007 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17008 _ACEOF
17014 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17015 #ifdef HAVE_SCSI_SG_H
17016 #include <scsi/sg.h>
17017 #endif
17019 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17021 cat >>confdefs.h <<_ACEOF
17022 #define HAVE_SCSIREQ_T_CMD 1
17023 _ACEOF
17027 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>
17028 #ifdef HAVE_SCSI_SG_H
17029 #include <scsi/sg.h>
17030 #endif
17032 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17034 cat >>confdefs.h <<_ACEOF
17035 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17036 _ACEOF
17042 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17044 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17046 cat >>confdefs.h <<_ACEOF
17047 #define HAVE_SIGINFO_T_SI_FD 1
17048 _ACEOF
17054 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17055 #ifdef HAVE_SYS_MTIO_H
17056 #include <sys/mtio.h>
17057 #endif
17059 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17061 cat >>confdefs.h <<_ACEOF
17062 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17063 _ACEOF
17067 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17068 #ifdef HAVE_SYS_MTIO_H
17069 #include <sys/mtio.h>
17070 #endif
17072 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17074 cat >>confdefs.h <<_ACEOF
17075 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17076 _ACEOF
17080 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17081 #ifdef HAVE_SYS_MTIO_H
17082 #include <sys/mtio.h>
17083 #endif
17085 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17087 cat >>confdefs.h <<_ACEOF
17088 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17089 _ACEOF
17095 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17096 #include <getopt.h>
17097 #endif
17099 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17101 cat >>confdefs.h <<_ACEOF
17102 #define HAVE_STRUCT_OPTION_NAME 1
17103 _ACEOF
17109 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17110 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17112 cat >>confdefs.h <<_ACEOF
17113 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17114 _ACEOF
17118 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17119 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17121 cat >>confdefs.h <<_ACEOF
17122 #define HAVE_STRUCT_STAT_ST_MTIM 1
17123 _ACEOF
17127 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17128 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17130 cat >>confdefs.h <<_ACEOF
17131 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17132 _ACEOF
17136 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17137 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17139 cat >>confdefs.h <<_ACEOF
17140 #define HAVE_STRUCT_STAT_ST_CTIM 1
17141 _ACEOF
17145 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17146 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17148 cat >>confdefs.h <<_ACEOF
17149 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17150 _ACEOF
17154 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17155 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17157 cat >>confdefs.h <<_ACEOF
17158 #define HAVE_STRUCT_STAT_ST_ATIM 1
17159 _ACEOF
17163 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17164 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17166 cat >>confdefs.h <<_ACEOF
17167 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17168 _ACEOF
17172 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17173 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17175 cat >>confdefs.h <<_ACEOF
17176 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17177 _ACEOF
17181 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17182 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17184 cat >>confdefs.h <<_ACEOF
17185 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17186 _ACEOF
17190 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17191 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17193 cat >>confdefs.h <<_ACEOF
17194 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17195 _ACEOF
17199 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17200 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17202 cat >>confdefs.h <<_ACEOF
17203 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17204 _ACEOF
17208 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17209 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17211 cat >>confdefs.h <<_ACEOF
17212 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17213 _ACEOF
17219 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
17220 #include <sys/types.h>
17221 #endif
17222 #ifdef HAVE_NETINET_IN_H
17223 #include <netinet/in.h>
17224 #endif
17226 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17228 cat >>confdefs.h <<_ACEOF
17229 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17230 _ACEOF
17236 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17237 #include <sys/types.h>
17238 #endif
17239 #ifdef HAVE_NETINET_IN_H
17240 #include <netinet/in.h>
17241 #endif
17242 #ifdef HAVE_RESOLV_H
17243 #include <resolv.h>
17244 #endif
17246 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17248 cat >>confdefs.h <<_ACEOF
17249 #define HAVE_STRUCT___RES_STATE 1
17250 _ACEOF
17256 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
17257 #include <resolv.h>
17258 #endif
17260 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17262 cat >>confdefs.h <<_ACEOF
17263 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17264 _ACEOF
17270 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17271 #include <sys/types.h>
17272 #endif
17273 #ifdef HAVE_NETINET_IN_H
17274 # include <netinet/in.h>
17275 #endif
17276 #ifdef HAVE_ARPA_NAMESER_H
17277 # include <arpa/nameser.h>
17278 #endif
17280 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17282 cat >>confdefs.h <<_ACEOF
17283 #define HAVE_NS_MSG__MSG_PTR 1
17284 _ACEOF
17290 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17291 #include <sys/types.h>
17292 #endif
17293 #ifdef HAVE_NETINET_IN_H
17294 #include <netinet/in.h>
17295 #endif
17296 #ifdef HAVE_NETINET_IP_H
17297 #include <netinet/ip.h>
17298 #endif
17299 #ifdef HAVE_NETINET_IP_ICMP_H
17300 #include <netinet/ip_icmp.h>
17301 #endif
17302 #ifdef HAVE_NETINET_ICMP_VAR_H
17303 #include <netinet/icmp_var.h>
17304 #endif
17306 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17308 cat >>confdefs.h <<_ACEOF
17309 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17310 _ACEOF
17316 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17317 #include <sys/types.h>
17318 #endif
17319 #ifdef HAVE_ALIAS_H
17320 #include <alias.h>
17321 #endif
17322 #ifdef HAVE_SYS_SOCKET_H
17323 #include <sys/socket.h>
17324 #endif
17325 #ifdef HAVE_SYS_SOCKETVAR_H
17326 #include <sys/socketvar.h>
17327 #endif
17328 #ifdef HAVE_SYS_TIMEOUT_H
17329 #include <sys/timeout.h>
17330 #endif
17331 #ifdef HAVE_NETINET_IN_H
17332 #include <netinet/in.h>
17333 #endif
17334 #ifdef HAVE_NETINET_IN_SYSTM_H
17335 #include <netinet/in_systm.h>
17336 #endif
17337 #ifdef HAVE_NETINET_IP_H
17338 #include <netinet/ip.h>
17339 #endif
17340 #ifdef HAVE_NETINET_IP_VAR_H
17341 #include <netinet/ip_var.h>
17342 #endif
17343 #ifdef HAVE_NETINET_IP_ICMP_H
17344 #include <netinet/ip_icmp.h>
17345 #endif
17346 #ifdef HAVE_NETINET_ICMP_VAR_H
17347 #include <netinet/icmp_var.h>
17348 #endif
17350 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17352 cat >>confdefs.h <<_ACEOF
17353 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17354 _ACEOF
17360 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17361 #include <sys/types.h>
17362 #endif
17363 #ifdef HAVE_SYS_SOCKETVAR_H
17364 #include <sys/socketvar.h>
17365 #endif
17366 #ifdef HAVE_NETINET_IN_H
17367 #include <netinet/in.h>
17368 #endif
17369 #ifdef HAVE_NETINET_IP_VAR_H
17370 #include <netinet/ip_var.h>
17371 #endif
17373 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17375 cat >>confdefs.h <<_ACEOF
17376 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17377 _ACEOF
17383 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
17384 #include <netinet/ip_var.h>
17385 #endif
17387 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17389 cat >>confdefs.h <<_ACEOF
17390 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17391 _ACEOF
17397 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17398 #include <sys/types.h>
17399 #endif
17400 #ifdef HAVE_SYS_SOCKETVAR_H
17401 #include <sys/socketvar.h>
17402 #endif
17403 #ifdef HAVE_NETINET_IN_H
17404 #include <netinet/in.h>
17405 #endif
17406 #ifdef HAVE_NETINET_TCP_H
17407 #include <netinet/tcp.h>
17408 #endif
17409 #ifdef HAVE_NETINET_TCP_VAR_H
17410 #include <netinet/tcp_var.h>
17411 #endif
17413 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17415 cat >>confdefs.h <<_ACEOF
17416 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17417 _ACEOF
17423 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
17424 #include <netinet/tcp_var.h>
17425 #endif
17427 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17429 cat >>confdefs.h <<_ACEOF
17430 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17431 _ACEOF
17437 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17438 #include <sys/types.h>
17439 #endif
17440 #ifdef HAVE_NETINET_IN_H
17441 #include <netinet/in.h>
17442 #endif
17443 #ifdef HAVE_NETINET_IP_VAR_H
17444 #include <netinet/ip_var.h>
17445 #endif
17446 #ifdef HAVE_NETINET_UDP_H
17447 #include <netinet/udp.h>
17448 #endif
17449 #ifdef HAVE_NETINET_UDP_VAR_H
17450 #include <netinet/udp_var.h>
17451 #endif
17453 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17455 cat >>confdefs.h <<_ACEOF
17456 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17457 _ACEOF
17463 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17464 #include <sys/types.h>
17465 #endif
17466 #ifdef HAVE_NET_IF_H
17467 # include <net/if.h>
17468 #endif
17470 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17472 cat >>confdefs.h <<_ACEOF
17473 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17474 _ACEOF
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17481 $as_echo_n "checking for timezone variable... " >&6; }
17482 if ${ac_cv_have_timezone+:} false; then :
17483 $as_echo_n "(cached) " >&6
17484 else
17485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17486 /* end confdefs.h. */
17487 #include <time.h>
17489 main ()
17491 timezone = 1
17493 return 0;
17495 _ACEOF
17496 if ac_fn_c_try_link "$LINENO"; then :
17497 ac_cv_have_timezone="yes"
17498 else
17499 ac_cv_have_timezone="no"
17501 rm -f core conftest.err conftest.$ac_objext \
17502 conftest$ac_exeext conftest.$ac_ext
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17505 $as_echo "$ac_cv_have_timezone" >&6; }
17506 if test "$ac_cv_have_timezone" = "yes"
17507 then
17509 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17513 $as_echo_n "checking for daylight variable... " >&6; }
17514 if ${ac_cv_have_daylight+:} false; then :
17515 $as_echo_n "(cached) " >&6
17516 else
17517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17518 /* end confdefs.h. */
17519 #include <time.h>
17521 main ()
17523 daylight = 1
17525 return 0;
17527 _ACEOF
17528 if ac_fn_c_try_link "$LINENO"; then :
17529 ac_cv_have_daylight="yes"
17530 else
17531 ac_cv_have_daylight="no"
17533 rm -f core conftest.err conftest.$ac_objext \
17534 conftest$ac_exeext conftest.$ac_ext
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17537 $as_echo "$ac_cv_have_daylight" >&6; }
17538 if test "$ac_cv_have_daylight" = "yes"
17539 then
17541 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17545 ac_save_LIBS="$LIBS"
17546 LIBS="$LIBS -lm"
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17548 $as_echo_n "checking for isfinite... " >&6; }
17549 if ${ac_cv_have_isfinite+:} false; then :
17550 $as_echo_n "(cached) " >&6
17551 else
17552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17553 /* end confdefs.h. */
17554 #define _GNU_SOURCE
17555 #include <math.h>
17557 main ()
17559 float f = 0.0; return isfinite(f)
17561 return 0;
17563 _ACEOF
17564 if ac_fn_c_try_link "$LINENO"; then :
17565 ac_cv_have_isfinite="yes"
17566 else
17567 ac_cv_have_isfinite="no"
17569 rm -f core conftest.err conftest.$ac_objext \
17570 conftest$ac_exeext conftest.$ac_ext
17572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17573 $as_echo "$ac_cv_have_isfinite" >&6; }
17574 if test "$ac_cv_have_isfinite" = "yes"
17575 then
17577 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17582 $as_echo_n "checking for isinf... " >&6; }
17583 if ${ac_cv_have_isinf+:} false; then :
17584 $as_echo_n "(cached) " >&6
17585 else
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17588 #include <math.h>
17590 main ()
17592 float f = 0.0; return isinf(f)
17594 return 0;
17596 _ACEOF
17597 if ac_fn_c_try_link "$LINENO"; then :
17598 ac_cv_have_isinf="yes"
17599 else
17600 ac_cv_have_isinf="no"
17602 rm -f core conftest.err conftest.$ac_objext \
17603 conftest$ac_exeext conftest.$ac_ext
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17606 $as_echo "$ac_cv_have_isinf" >&6; }
17607 if test "$ac_cv_have_isinf" = "yes"
17608 then
17610 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17615 $as_echo_n "checking for isnan... " >&6; }
17616 if ${ac_cv_have_isnan+:} false; then :
17617 $as_echo_n "(cached) " >&6
17618 else
17619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17620 /* end confdefs.h. */
17621 #include <math.h>
17623 main ()
17625 float f = 0.0; return isnan(f)
17627 return 0;
17629 _ACEOF
17630 if ac_fn_c_try_link "$LINENO"; then :
17631 ac_cv_have_isnan="yes"
17632 else
17633 ac_cv_have_isnan="no"
17635 rm -f core conftest.err conftest.$ac_objext \
17636 conftest$ac_exeext conftest.$ac_ext
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17639 $as_echo "$ac_cv_have_isnan" >&6; }
17640 if test "$ac_cv_have_isnan" = "yes"
17641 then
17643 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17647 for ac_func in \
17648 acosh \
17649 acoshf \
17650 asinh \
17651 asinhf \
17652 atanh \
17653 atanhf \
17654 cbrt \
17655 cbrtf \
17656 erf \
17657 erfc \
17658 erfcf \
17659 erff \
17660 exp2 \
17661 exp2f \
17662 expm1 \
17663 expm1f \
17664 j0 \
17665 j1 \
17666 jn \
17667 lgamma \
17668 lgammaf \
17669 llrint \
17670 llrintf \
17671 llround \
17672 llroundf \
17673 log1p \
17674 log1pf \
17675 log2 \
17676 log2f \
17677 lrint \
17678 lrintf \
17679 lround \
17680 lroundf \
17681 nearbyint \
17682 nearbyintf \
17683 powl \
17684 remainder \
17685 remainderf \
17686 rint \
17687 rintf \
17688 round \
17689 roundf \
17690 trunc \
17691 truncf \
17692 y0 \
17693 y1 \
17696 do :
17697 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17698 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17699 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17700 cat >>confdefs.h <<_ACEOF
17701 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17702 _ACEOF
17705 done
17707 LIBS="$ac_save_LIBS"
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17710 $as_echo_n "checking for __builtin_clz... " >&6; }
17711 if ${ac_cv_have___builtin_clz+:} false; then :
17712 $as_echo_n "(cached) " >&6
17713 else
17714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17715 /* end confdefs.h. */
17718 main ()
17720 return __builtin_clz(1)
17722 return 0;
17724 _ACEOF
17725 if ac_fn_c_try_link "$LINENO"; then :
17726 ac_cv_have___builtin_clz="yes"
17727 else
17728 ac_cv_have___builtin_clz="no"
17730 rm -f core conftest.err conftest.$ac_objext \
17731 conftest$ac_exeext conftest.$ac_ext
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17734 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17735 if test "$ac_cv_have___builtin_clz" = "yes"
17736 then
17738 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17743 $as_echo_n "checking for __builtin_popcount... " >&6; }
17744 if ${ac_cv_have___builtin_popcount+:} false; then :
17745 $as_echo_n "(cached) " >&6
17746 else
17747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17748 /* end confdefs.h. */
17751 main ()
17753 return __builtin_popcount(1)
17755 return 0;
17757 _ACEOF
17758 if ac_fn_c_try_link "$LINENO"; then :
17759 ac_cv_have___builtin_popcount="yes"
17760 else
17761 ac_cv_have___builtin_popcount="no"
17763 rm -f core conftest.err conftest.$ac_objext \
17764 conftest$ac_exeext conftest.$ac_ext
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17767 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17768 if test "$ac_cv_have___builtin_popcount" = "yes"
17769 then
17771 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17776 $as_echo_n "checking for __clear_cache... " >&6; }
17777 if ${ac_cv_have___clear_cache+:} false; then :
17778 $as_echo_n "(cached) " >&6
17779 else
17780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17781 /* end confdefs.h. */
17784 main ()
17786 __clear_cache((void*)0, (void*)0); return 0;
17788 return 0;
17790 _ACEOF
17791 if ac_fn_c_try_link "$LINENO"; then :
17792 ac_cv_have___clear_cache="yes"
17793 else
17794 ac_cv_have___clear_cache="no"
17796 rm -f core conftest.err conftest.$ac_objext \
17797 conftest$ac_exeext conftest.$ac_ext
17799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17800 $as_echo "$ac_cv_have___clear_cache" >&6; }
17801 if test "$ac_cv_have___clear_cache" = "yes"
17802 then
17804 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17809 case $host_cpu in
17810 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17811 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17812 if ${ac_cv_cpp_def___i386__+:} false; then :
17813 $as_echo_n "(cached) " >&6
17814 else
17815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17816 /* end confdefs.h. */
17817 #ifndef __i386__
17819 #endif
17820 _ACEOF
17821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17822 $EGREP "yes" >/dev/null 2>&1; then :
17823 ac_cv_cpp_def___i386__=yes
17824 else
17825 ac_cv_cpp_def___i386__=no
17827 rm -f conftest*
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17831 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17832 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17833 CFLAGS="$CFLAGS -D__i386__"
17834 LINTFLAGS="$LINTFLAGS -D__i386__"
17835 fi ;;
17836 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17837 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17838 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17839 $as_echo_n "(cached) " >&6
17840 else
17841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17842 /* end confdefs.h. */
17843 #ifndef __x86_64__
17845 #endif
17846 _ACEOF
17847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17848 $EGREP "yes" >/dev/null 2>&1; then :
17849 ac_cv_cpp_def___x86_64__=yes
17850 else
17851 ac_cv_cpp_def___x86_64__=no
17853 rm -f conftest*
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17857 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17858 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17859 CFLAGS="$CFLAGS -D__x86_64__"
17860 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17861 fi ;;
17862 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17863 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17864 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17865 $as_echo_n "(cached) " >&6
17866 else
17867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17868 /* end confdefs.h. */
17869 #ifndef __sparc64__
17871 #endif
17872 _ACEOF
17873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17874 $EGREP "yes" >/dev/null 2>&1; then :
17875 ac_cv_cpp_def___sparc64__=yes
17876 else
17877 ac_cv_cpp_def___sparc64__=no
17879 rm -f conftest*
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17883 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17884 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17885 CFLAGS="$CFLAGS -D__sparc64__"
17886 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17887 fi ;;
17888 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17889 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17890 if ${ac_cv_cpp_def___sparc__+:} false; then :
17891 $as_echo_n "(cached) " >&6
17892 else
17893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17894 /* end confdefs.h. */
17895 #ifndef __sparc__
17897 #endif
17898 _ACEOF
17899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17900 $EGREP "yes" >/dev/null 2>&1; then :
17901 ac_cv_cpp_def___sparc__=yes
17902 else
17903 ac_cv_cpp_def___sparc__=no
17905 rm -f conftest*
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17909 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17910 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17911 CFLAGS="$CFLAGS -D__sparc__"
17912 LINTFLAGS="$LINTFLAGS -D__sparc__"
17913 fi ;;
17914 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17915 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17916 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17917 $as_echo_n "(cached) " >&6
17918 else
17919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17920 /* end confdefs.h. */
17921 #ifndef __powerpc64__
17923 #endif
17924 _ACEOF
17925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17926 $EGREP "yes" >/dev/null 2>&1; then :
17927 ac_cv_cpp_def___powerpc64__=yes
17928 else
17929 ac_cv_cpp_def___powerpc64__=no
17931 rm -f conftest*
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17935 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17936 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17937 CFLAGS="$CFLAGS -D__powerpc64__"
17938 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17939 fi ;;
17940 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17941 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17942 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17943 $as_echo_n "(cached) " >&6
17944 else
17945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17946 /* end confdefs.h. */
17947 #ifndef __powerpc__
17949 #endif
17950 _ACEOF
17951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17952 $EGREP "yes" >/dev/null 2>&1; then :
17953 ac_cv_cpp_def___powerpc__=yes
17954 else
17955 ac_cv_cpp_def___powerpc__=no
17957 rm -f conftest*
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17961 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17962 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17963 CFLAGS="$CFLAGS -D__powerpc__"
17964 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17965 fi ;;
17966 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17967 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17968 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17969 $as_echo_n "(cached) " >&6
17970 else
17971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17972 /* end confdefs.h. */
17973 #ifndef __aarch64__
17975 #endif
17976 _ACEOF
17977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17978 $EGREP "yes" >/dev/null 2>&1; then :
17979 ac_cv_cpp_def___aarch64__=yes
17980 else
17981 ac_cv_cpp_def___aarch64__=no
17983 rm -f conftest*
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17987 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17988 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17989 CFLAGS="$CFLAGS -D__aarch64__"
17990 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17991 fi ;;
17992 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17993 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17994 if ${ac_cv_cpp_def___arm__+:} false; then :
17995 $as_echo_n "(cached) " >&6
17996 else
17997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17998 /* end confdefs.h. */
17999 #ifndef __arm__
18001 #endif
18002 _ACEOF
18003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18004 $EGREP "yes" >/dev/null 2>&1; then :
18005 ac_cv_cpp_def___arm__=yes
18006 else
18007 ac_cv_cpp_def___arm__=no
18009 rm -f conftest*
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18013 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18014 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18015 CFLAGS="$CFLAGS -D__arm__"
18016 LINTFLAGS="$LINTFLAGS -D__arm__"
18017 fi ;;
18018 esac
18020 case $host_vendor in
18021 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18022 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18023 if ${ac_cv_cpp_def___sun__+:} false; then :
18024 $as_echo_n "(cached) " >&6
18025 else
18026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18027 /* end confdefs.h. */
18028 #ifndef __sun__
18030 #endif
18031 _ACEOF
18032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18033 $EGREP "yes" >/dev/null 2>&1; then :
18034 ac_cv_cpp_def___sun__=yes
18035 else
18036 ac_cv_cpp_def___sun__=no
18038 rm -f conftest*
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18042 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18043 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18044 CFLAGS="$CFLAGS -D__sun__"
18045 LINTFLAGS="$LINTFLAGS -D__sun__"
18046 fi ;;
18047 esac
18053 ac_config_commands="$ac_config_commands include/stamp-h"
18055 $as_echo_n "creating Makefile rules..." >&6
18057 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18058 SOCKET_LIBS = $SOCKET_LIBS
18059 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18060 IOKIT_LIBS = $IOKIT_LIBS
18061 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18062 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18063 CORESERVICES_LIBS = $CORESERVICES_LIBS
18064 APPKIT_LIBS = $APPKIT_LIBS
18065 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18066 SECURITY_LIBS = $SECURITY_LIBS
18067 COREAUDIO_LIBS = $COREAUDIO_LIBS
18068 OPENAL_LIBS = $OPENAL_LIBS
18069 OPENCL_LIBS = $OPENCL_LIBS
18070 QUICKTIME_LIBS = $QUICKTIME_LIBS
18071 CARBON_LIBS = $CARBON_LIBS
18072 PTHREAD_LIBS = $PTHREAD_LIBS
18073 X_CFLAGS = $X_CFLAGS
18074 X_PRE_LIBS = $X_PRE_LIBS
18075 X_LIBS = $X_LIBS
18076 X_EXTRA_LIBS = $X_EXTRA_LIBS
18077 PCAP_LIBS = $PCAP_LIBS
18078 XML2_CFLAGS = $XML2_CFLAGS
18079 XML2_LIBS = $XML2_LIBS
18080 XSLT_CFLAGS = $XSLT_CFLAGS
18081 XSLT_LIBS = $XSLT_LIBS
18082 DBUS_CFLAGS = $DBUS_CFLAGS
18083 DBUS_LIBS = $DBUS_LIBS
18084 HAL_CFLAGS = $HAL_CFLAGS
18085 HAL_LIBS = $HAL_LIBS
18086 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18087 GNUTLS_LIBS = $GNUTLS_LIBS
18088 SANE_CFLAGS = $SANE_CFLAGS
18089 SANE_LIBS = $SANE_LIBS
18090 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18091 GPHOTO2_LIBS = $GPHOTO2_LIBS
18092 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18093 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18094 RESOLV_LIBS = $RESOLV_LIBS
18095 LCMS2_CFLAGS = $LCMS2_CFLAGS
18096 LCMS2_LIBS = $LCMS2_LIBS
18097 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18098 FREETYPE_LIBS = $FREETYPE_LIBS
18099 Z_LIBS = $Z_LIBS
18100 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18101 PULSE_CFLAGS = $PULSE_CFLAGS
18102 PULSE_LIBS = $PULSE_LIBS
18103 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18104 GSTREAMER_LIBS = $GSTREAMER_LIBS
18105 ALSA_LIBS = $ALSA_LIBS
18106 OSS4_CFLAGS = $OSS4_CFLAGS
18107 UDEV_CFLAGS = $UDEV_CFLAGS
18108 UDEV_LIBS = $UDEV_LIBS
18109 SDL2_CFLAGS = $SDL2_CFLAGS
18110 SDL2_LIBS = $SDL2_LIBS
18111 CAPI20_CFLAGS = $CAPI20_CFLAGS
18112 CAPI20_LIBS = $CAPI20_LIBS
18113 CUPS_CFLAGS = $CUPS_CFLAGS
18114 CUPS_LIBS = $CUPS_LIBS
18115 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18116 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18117 KRB5_CFLAGS = $KRB5_CFLAGS
18118 KRB5_LIBS = $KRB5_LIBS
18119 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18120 GSSAPI_LIBS = $GSSAPI_LIBS
18121 JPEG_CFLAGS = $JPEG_CFLAGS
18122 JPEG_LIBS = $JPEG_LIBS
18123 PNG_CFLAGS = $PNG_CFLAGS
18124 PNG_LIBS = $PNG_LIBS
18125 TIFF_CFLAGS = $TIFF_CFLAGS
18126 TIFF_LIBS = $TIFF_LIBS
18127 MPG123_CFLAGS = $MPG123_CFLAGS
18128 MPG123_LIBS = $MPG123_LIBS
18129 KSTAT_LIBS = $KSTAT_LIBS
18130 PROCSTAT_LIBS = $PROCSTAT_LIBS
18131 NETAPI_CFLAGS = $NETAPI_CFLAGS
18132 NETAPI_LIBS = $NETAPI_LIBS
18133 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18134 DL_LIBS = $DL_LIBS
18135 POLL_LIBS = $POLL_LIBS
18136 RT_LIBS = $RT_LIBS
18137 LDAP_CFLAGS = $LDAP_CFLAGS
18138 LDAP_LIBS = $LDAP_LIBS
18143 wine_fn_append_rule "
18144 # Rules automatically generated by configure
18146 .INIT: Makefile
18147 .MAKEFILEDEPS:
18148 all: Makefile
18149 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18150 @./config.status Make.tmp Makefile
18151 depend: \$(MAKEDEP) dummy
18152 \$(MAKEDEP)"
18154 if test "x$enable_fonts" != xno; then
18155 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18156 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18157 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18158 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18159 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18160 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18162 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18163 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18164 ac_config_links="$ac_config_links wine:tools/winewrapper"
18165 wine_fn_config_symlink wine
18166 if test "x$enable_win64" != xno; then
18167 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18168 wine_fn_config_symlink wine64
18171 wine_fn_config_makefile dlls/acledit enable_acledit
18172 wine_fn_config_makefile dlls/aclui enable_aclui
18173 wine_fn_config_makefile dlls/activeds enable_activeds
18174 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18175 wine_fn_config_makefile dlls/adsiid enable_adsiid
18176 wine_fn_config_makefile dlls/adsldp enable_adsldp
18177 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18178 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18179 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18180 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18181 wine_fn_config_makefile dlls/advpack enable_advpack
18182 wine_fn_config_makefile dlls/advpack/tests enable_tests
18183 wine_fn_config_makefile dlls/amstream enable_amstream
18184 wine_fn_config_makefile dlls/amstream/tests enable_tests
18185 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18186 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18187 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18188 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18189 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18190 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18191 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18192 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18193 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18194 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18195 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18196 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18197 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18198 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18199 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18200 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18201 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18202 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18203 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18204 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18205 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18206 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18207 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18208 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18209 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18210 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18211 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18212 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18213 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18214 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18215 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18216 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18217 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18218 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18219 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18220 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18221 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18222 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18223 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18224 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18225 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18226 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18227 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18228 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18229 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18230 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18231 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18232 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18233 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
18234 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18235 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18236 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18237 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18238 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18239 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18240 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18241 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18242 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18243 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18244 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18245 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18246 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18247 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18248 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18249 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18250 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18251 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18252 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18253 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18254 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18255 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18256 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18257 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18258 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18259 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18260 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18261 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18262 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18263 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18264 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18265 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18266 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18267 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18268 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18269 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18270 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18271 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18272 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18273 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18274 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18275 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18276 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18277 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18278 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18279 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18280 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18281 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18282 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18283 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18284 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18285 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18286 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18287 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18288 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18289 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18290 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18291 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18292 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18293 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18294 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18295 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18296 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18297 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18298 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18299 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18300 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18301 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18302 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18303 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18304 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18305 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18306 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18307 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18308 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18309 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18310 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18311 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18312 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18313 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18314 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18315 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18316 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18317 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18318 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18319 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18320 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18321 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18322 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18323 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18324 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18325 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18326 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18327 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18328 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18329 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18330 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18331 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18332 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18333 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18334 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18335 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18336 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18337 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18338 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18339 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18340 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18341 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18342 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18343 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18344 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18345 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18346 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18347 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18348 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
18349 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18350 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18351 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18352 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18353 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18354 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18355 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18356 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18357 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18358 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18359 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
18360 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
18361 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
18362 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
18363 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18364 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18365 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18366 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18367 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18368 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18369 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18370 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18371 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18372 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18373 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18374 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18375 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18376 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18377 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18378 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18379 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18380 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18381 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18382 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18383 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18384 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18385 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18386 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18387 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18388 wine_fn_config_makefile dlls/apphelp enable_apphelp
18389 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18390 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18391 wine_fn_config_makefile dlls/atl enable_atl
18392 wine_fn_config_makefile dlls/atl/tests enable_tests
18393 wine_fn_config_makefile dlls/atl100 enable_atl100
18394 wine_fn_config_makefile dlls/atl100/tests enable_tests
18395 wine_fn_config_makefile dlls/atl110 enable_atl110
18396 wine_fn_config_makefile dlls/atl80 enable_atl80
18397 wine_fn_config_makefile dlls/atl80/tests enable_tests
18398 wine_fn_config_makefile dlls/atl90 enable_atl90
18399 wine_fn_config_makefile dlls/authz enable_authz
18400 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18401 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18402 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18403 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18404 wine_fn_config_makefile dlls/avrt enable_avrt
18405 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18406 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18407 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18408 wine_fn_config_makefile dlls/browseui enable_browseui
18409 wine_fn_config_makefile dlls/browseui/tests enable_tests
18410 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18411 wine_fn_config_makefile dlls/cabinet enable_cabinet
18412 wine_fn_config_makefile dlls/cabinet/tests enable_tests
18413 wine_fn_config_makefile dlls/capi2032 enable_capi2032
18414 wine_fn_config_makefile dlls/cards enable_cards
18415 wine_fn_config_makefile dlls/cdosys enable_cdosys
18416 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
18417 wine_fn_config_makefile dlls/clusapi enable_clusapi
18418 wine_fn_config_makefile dlls/combase enable_combase
18419 wine_fn_config_makefile dlls/combase/tests enable_tests
18420 wine_fn_config_makefile dlls/comcat enable_comcat
18421 wine_fn_config_makefile dlls/comcat/tests enable_tests
18422 wine_fn_config_makefile dlls/comctl32 enable_comctl32
18423 wine_fn_config_makefile dlls/comctl32/tests enable_tests
18424 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
18425 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
18426 wine_fn_config_makefile dlls/comm.drv16 enable_win16
18427 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
18428 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
18429 wine_fn_config_makefile dlls/compstui enable_compstui
18430 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
18431 wine_fn_config_makefile dlls/concrt140 enable_concrt140
18432 wine_fn_config_makefile dlls/connect enable_connect
18433 wine_fn_config_makefile dlls/credui enable_credui
18434 wine_fn_config_makefile dlls/credui/tests enable_tests
18435 wine_fn_config_makefile dlls/crtdll enable_crtdll
18436 wine_fn_config_makefile dlls/crypt32 enable_crypt32
18437 wine_fn_config_makefile dlls/crypt32/tests enable_tests
18438 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
18439 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
18440 wine_fn_config_makefile dlls/cryptext enable_cryptext
18441 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
18442 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
18443 wine_fn_config_makefile dlls/cryptui enable_cryptui
18444 wine_fn_config_makefile dlls/cryptui/tests enable_tests
18445 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
18446 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
18447 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
18448 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
18449 wine_fn_config_makefile dlls/d2d1 enable_d2d1
18450 wine_fn_config_makefile dlls/d2d1/tests enable_tests
18451 wine_fn_config_makefile dlls/d3d10 enable_d3d10
18452 wine_fn_config_makefile dlls/d3d10/tests enable_tests
18453 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
18454 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
18455 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
18456 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
18457 wine_fn_config_makefile dlls/d3d11 enable_d3d11
18458 wine_fn_config_makefile dlls/d3d11/tests enable_tests
18459 wine_fn_config_makefile dlls/d3d12 enable_d3d12
18460 wine_fn_config_makefile dlls/d3d12/tests enable_tests
18461 wine_fn_config_makefile dlls/d3d8 enable_d3d8
18462 wine_fn_config_makefile dlls/d3d8/tests enable_tests
18463 wine_fn_config_makefile dlls/d3d9 enable_d3d9
18464 wine_fn_config_makefile dlls/d3d9/tests enable_tests
18465 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
18466 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
18467 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
18468 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
18469 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
18470 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
18471 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
18472 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
18473 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
18474 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
18475 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
18476 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
18477 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
18478 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
18479 wine_fn_config_makefile dlls/d3dim enable_d3dim
18480 wine_fn_config_makefile dlls/d3drm enable_d3drm
18481 wine_fn_config_makefile dlls/d3drm/tests enable_tests
18482 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
18483 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
18484 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
18485 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
18486 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
18487 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
18488 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
18489 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
18490 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
18491 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
18492 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
18493 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
18494 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
18495 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
18496 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
18497 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
18498 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
18499 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
18500 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
18501 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
18502 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
18503 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
18504 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
18505 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
18506 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
18507 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
18508 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
18509 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
18510 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
18511 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
18512 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
18513 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
18514 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
18515 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
18516 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
18517 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
18518 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
18519 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
18520 wine_fn_config_makefile dlls/davclnt enable_davclnt
18521 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
18522 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
18523 wine_fn_config_makefile dlls/dciman32 enable_dciman32
18524 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
18525 wine_fn_config_makefile dlls/ddraw enable_ddraw
18526 wine_fn_config_makefile dlls/ddraw/tests enable_tests
18527 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
18528 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
18529 wine_fn_config_makefile dlls/devenum enable_devenum
18530 wine_fn_config_makefile dlls/devenum/tests enable_tests
18531 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
18532 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
18533 wine_fn_config_makefile dlls/difxapi enable_difxapi
18534 wine_fn_config_makefile dlls/dinput enable_dinput
18535 wine_fn_config_makefile dlls/dinput/tests enable_tests
18536 wine_fn_config_makefile dlls/dinput8 enable_dinput8
18537 wine_fn_config_makefile dlls/dinput8/tests enable_tests
18538 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
18539 wine_fn_config_makefile dlls/dispex enable_dispex
18540 wine_fn_config_makefile dlls/dispex/tests enable_tests
18541 wine_fn_config_makefile dlls/display.drv16 enable_win16
18542 wine_fn_config_makefile dlls/dmband enable_dmband
18543 wine_fn_config_makefile dlls/dmband/tests enable_tests
18544 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
18545 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
18546 wine_fn_config_makefile dlls/dmime enable_dmime
18547 wine_fn_config_makefile dlls/dmime/tests enable_tests
18548 wine_fn_config_makefile dlls/dmloader enable_dmloader
18549 wine_fn_config_makefile dlls/dmloader/tests enable_tests
18550 wine_fn_config_makefile dlls/dmscript enable_dmscript
18551 wine_fn_config_makefile dlls/dmscript/tests enable_tests
18552 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
18553 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
18554 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
18555 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
18556 wine_fn_config_makefile dlls/dmusic enable_dmusic
18557 wine_fn_config_makefile dlls/dmusic/tests enable_tests
18558 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
18559 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
18560 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
18561 wine_fn_config_makefile dlls/dplay enable_dplay
18562 wine_fn_config_makefile dlls/dplayx enable_dplayx
18563 wine_fn_config_makefile dlls/dplayx/tests enable_tests
18564 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
18565 wine_fn_config_makefile dlls/dpnet enable_dpnet
18566 wine_fn_config_makefile dlls/dpnet/tests enable_tests
18567 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
18568 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
18569 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
18570 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
18571 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
18572 wine_fn_config_makefile dlls/drmclien enable_drmclien
18573 wine_fn_config_makefile dlls/dsound enable_dsound
18574 wine_fn_config_makefile dlls/dsound/tests enable_tests
18575 wine_fn_config_makefile dlls/dsquery enable_dsquery
18576 wine_fn_config_makefile dlls/dssenh enable_dssenh
18577 wine_fn_config_makefile dlls/dssenh/tests enable_tests
18578 wine_fn_config_makefile dlls/dswave enable_dswave
18579 wine_fn_config_makefile dlls/dswave/tests enable_tests
18580 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
18581 wine_fn_config_makefile dlls/dwrite enable_dwrite
18582 wine_fn_config_makefile dlls/dwrite/tests enable_tests
18583 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
18584 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
18585 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
18586 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
18587 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
18588 wine_fn_config_makefile dlls/dxgi enable_dxgi
18589 wine_fn_config_makefile dlls/dxgi/tests enable_tests
18590 wine_fn_config_makefile dlls/dxguid enable_dxguid
18591 wine_fn_config_makefile dlls/dxva2 enable_dxva2
18592 wine_fn_config_makefile dlls/esent enable_esent
18593 wine_fn_config_makefile dlls/evr enable_evr
18594 wine_fn_config_makefile dlls/evr/tests enable_tests
18595 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
18596 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
18597 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18598 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18599 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18600 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18601 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18602 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18603 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18604 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18605 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18606 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
18607 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18608 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
18609 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18610 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18611 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18612 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18613 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18614 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
18615 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18616 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18617 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18618 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
18619 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18620 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18621 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18622 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18623 wine_fn_config_makefile dlls/faultrep enable_faultrep
18624 wine_fn_config_makefile dlls/faultrep/tests enable_tests
18625 wine_fn_config_makefile dlls/fltlib enable_fltlib
18626 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
18627 wine_fn_config_makefile dlls/fntcache enable_fntcache
18628 wine_fn_config_makefile dlls/fontsub enable_fontsub
18629 wine_fn_config_makefile dlls/fusion enable_fusion
18630 wine_fn_config_makefile dlls/fusion/tests enable_tests
18631 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
18632 wine_fn_config_makefile dlls/gameux enable_gameux
18633 wine_fn_config_makefile dlls/gameux/tests enable_tests
18634 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
18635 wine_fn_config_makefile dlls/gdi32 enable_gdi32
18636 wine_fn_config_makefile dlls/gdi32/tests enable_tests
18637 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
18638 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
18639 wine_fn_config_makefile dlls/glu32 enable_glu32
18640 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
18641 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
18642 wine_fn_config_makefile dlls/hal enable_hal
18643 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
18644 wine_fn_config_makefile dlls/hid enable_hid
18645 wine_fn_config_makefile dlls/hid/tests enable_tests
18646 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
18647 wine_fn_config_makefile dlls/hlink enable_hlink
18648 wine_fn_config_makefile dlls/hlink/tests enable_tests
18649 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
18650 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
18651 wine_fn_config_makefile dlls/httpapi enable_httpapi
18652 wine_fn_config_makefile dlls/httpapi/tests enable_tests
18653 wine_fn_config_makefile dlls/iccvid enable_iccvid
18654 wine_fn_config_makefile dlls/icmp enable_icmp
18655 wine_fn_config_makefile dlls/ieframe enable_ieframe
18656 wine_fn_config_makefile dlls/ieframe/tests enable_tests
18657 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
18658 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
18659 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
18660 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
18661 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
18662 wine_fn_config_makefile dlls/imm.dll16 enable_win16
18663 wine_fn_config_makefile dlls/imm32 enable_imm32
18664 wine_fn_config_makefile dlls/imm32/tests enable_tests
18665 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
18666 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
18667 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
18668 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
18669 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
18670 wine_fn_config_makefile dlls/infosoft enable_infosoft
18671 wine_fn_config_makefile dlls/infosoft/tests enable_tests
18672 wine_fn_config_makefile dlls/initpki enable_initpki
18673 wine_fn_config_makefile dlls/inkobj enable_inkobj
18674 wine_fn_config_makefile dlls/inseng enable_inseng
18675 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
18676 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
18677 wine_fn_config_makefile dlls/iprop enable_iprop
18678 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
18679 wine_fn_config_makefile dlls/itircl enable_itircl
18680 wine_fn_config_makefile dlls/itss enable_itss
18681 wine_fn_config_makefile dlls/itss/tests enable_tests
18682 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
18683 wine_fn_config_makefile dlls/jscript enable_jscript
18684 wine_fn_config_makefile dlls/jscript/tests enable_tests
18685 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
18686 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
18687 wine_fn_config_makefile dlls/kerberos enable_kerberos
18688 wine_fn_config_makefile dlls/kernel32 enable_kernel32
18689 wine_fn_config_makefile dlls/kernel32/tests enable_tests
18690 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
18691 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
18692 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
18693 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
18694 wine_fn_config_makefile dlls/ksuser enable_ksuser
18695 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
18696 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
18697 wine_fn_config_makefile dlls/loadperf enable_loadperf
18698 wine_fn_config_makefile dlls/localspl enable_localspl
18699 wine_fn_config_makefile dlls/localspl/tests enable_tests
18700 wine_fn_config_makefile dlls/localui enable_localui
18701 wine_fn_config_makefile dlls/localui/tests enable_tests
18702 wine_fn_config_makefile dlls/lz32 enable_lz32
18703 wine_fn_config_makefile dlls/lz32/tests enable_tests
18704 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
18705 wine_fn_config_makefile dlls/mapi32 enable_mapi32
18706 wine_fn_config_makefile dlls/mapi32/tests enable_tests
18707 wine_fn_config_makefile dlls/mapistub enable_mapistub
18708 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
18709 wine_fn_config_makefile dlls/mcicda enable_mcicda
18710 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
18711 wine_fn_config_makefile dlls/mciseq enable_mciseq
18712 wine_fn_config_makefile dlls/mciwave enable_mciwave
18713 wine_fn_config_makefile dlls/mf enable_mf
18714 wine_fn_config_makefile dlls/mf/tests enable_tests
18715 wine_fn_config_makefile dlls/mf3216 enable_mf3216
18716 wine_fn_config_makefile dlls/mfplat enable_mfplat
18717 wine_fn_config_makefile dlls/mfplat/tests enable_tests
18718 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
18719 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
18720 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
18721 wine_fn_config_makefile dlls/midimap enable_midimap
18722 wine_fn_config_makefile dlls/mlang enable_mlang
18723 wine_fn_config_makefile dlls/mlang/tests enable_tests
18724 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
18725 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
18726 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
18727 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
18728 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
18729 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
18730 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
18731 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
18732 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
18733 wine_fn_config_makefile dlls/mpr enable_mpr
18734 wine_fn_config_makefile dlls/mpr/tests enable_tests
18735 wine_fn_config_makefile dlls/mprapi enable_mprapi
18736 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
18737 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
18738 wine_fn_config_makefile dlls/msacm32 enable_msacm32
18739 wine_fn_config_makefile dlls/msacm32/tests enable_tests
18740 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
18741 wine_fn_config_makefile dlls/msasn1 enable_msasn1
18742 wine_fn_config_makefile dlls/mscat32 enable_mscat32
18743 wine_fn_config_makefile dlls/mscms enable_mscms
18744 wine_fn_config_makefile dlls/mscms/tests enable_tests
18745 wine_fn_config_makefile dlls/mscoree enable_mscoree
18746 wine_fn_config_makefile dlls/mscoree/tests enable_tests
18747 wine_fn_config_makefile dlls/msctf enable_msctf
18748 wine_fn_config_makefile dlls/msctf/tests enable_tests
18749 wine_fn_config_makefile dlls/msctfp enable_msctfp
18750 wine_fn_config_makefile dlls/msdaps enable_msdaps
18751 wine_fn_config_makefile dlls/msdelta enable_msdelta
18752 wine_fn_config_makefile dlls/msdmo enable_msdmo
18753 wine_fn_config_makefile dlls/msdmo/tests enable_tests
18754 wine_fn_config_makefile dlls/msdrm enable_msdrm
18755 wine_fn_config_makefile dlls/msftedit enable_msftedit
18756 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
18757 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
18758 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
18759 wine_fn_config_makefile dlls/mshtml enable_mshtml
18760 wine_fn_config_makefile dlls/mshtml/tests enable_tests
18761 wine_fn_config_makefile dlls/msi enable_msi
18762 wine_fn_config_makefile dlls/msi/tests enable_tests
18763 wine_fn_config_makefile dlls/msident enable_msident
18764 wine_fn_config_makefile dlls/msimg32 enable_msimg32
18765 wine_fn_config_makefile dlls/msimsg enable_msimsg
18766 wine_fn_config_makefile dlls/msimtf enable_msimtf
18767 wine_fn_config_makefile dlls/msisip enable_msisip
18768 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
18769 wine_fn_config_makefile dlls/msls31 enable_msls31
18770 wine_fn_config_makefile dlls/msnet32 enable_msnet32
18771 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
18772 wine_fn_config_makefile dlls/msports enable_msports
18773 wine_fn_config_makefile dlls/msrle32 enable_msrle32
18774 wine_fn_config_makefile dlls/msrle32/tests enable_tests
18775 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
18776 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
18777 wine_fn_config_makefile dlls/mssign32 enable_mssign32
18778 wine_fn_config_makefile dlls/mssip32 enable_mssip32
18779 wine_fn_config_makefile dlls/mstask enable_mstask
18780 wine_fn_config_makefile dlls/mstask/tests enable_tests
18781 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
18782 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
18783 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
18784 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
18785 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
18786 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
18787 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
18788 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
18789 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
18790 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
18791 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
18792 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
18793 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
18794 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
18795 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
18796 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
18797 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
18798 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
18799 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
18800 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
18801 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
18802 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
18803 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
18804 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
18805 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
18806 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
18807 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
18808 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
18809 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
18810 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
18811 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
18812 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
18813 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
18814 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
18815 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
18816 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
18817 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
18818 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
18819 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
18820 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
18821 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
18822 wine_fn_config_makefile dlls/mswsock enable_mswsock
18823 wine_fn_config_makefile dlls/msxml enable_msxml
18824 wine_fn_config_makefile dlls/msxml2 enable_msxml2
18825 wine_fn_config_makefile dlls/msxml3 enable_msxml3
18826 wine_fn_config_makefile dlls/msxml3/tests enable_tests
18827 wine_fn_config_makefile dlls/msxml4 enable_msxml4
18828 wine_fn_config_makefile dlls/msxml6 enable_msxml6
18829 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
18830 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
18831 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
18832 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
18833 wine_fn_config_makefile dlls/netapi32 enable_netapi32
18834 wine_fn_config_makefile dlls/netapi32/tests enable_tests
18835 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
18836 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
18837 wine_fn_config_makefile dlls/netprofm enable_netprofm
18838 wine_fn_config_makefile dlls/netprofm/tests enable_tests
18839 wine_fn_config_makefile dlls/newdev enable_newdev
18840 wine_fn_config_makefile dlls/ninput enable_ninput
18841 wine_fn_config_makefile dlls/normaliz enable_normaliz
18842 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
18843 wine_fn_config_makefile dlls/npptools enable_npptools
18844 wine_fn_config_makefile dlls/ntdll enable_ntdll
18845 wine_fn_config_makefile dlls/ntdll/tests enable_tests
18846 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
18847 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
18848 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
18849 wine_fn_config_makefile dlls/ntprint enable_ntprint
18850 wine_fn_config_makefile dlls/ntprint/tests enable_tests
18851 wine_fn_config_makefile dlls/objsel enable_objsel
18852 wine_fn_config_makefile dlls/odbc32 enable_odbc32
18853 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
18854 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
18855 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
18856 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
18857 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
18858 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
18859 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
18860 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
18861 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
18862 wine_fn_config_makefile dlls/ole32 enable_ole32
18863 wine_fn_config_makefile dlls/ole32/tests enable_tests
18864 wine_fn_config_makefile dlls/oleacc enable_oleacc
18865 wine_fn_config_makefile dlls/oleacc/tests enable_tests
18866 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
18867 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
18868 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
18869 wine_fn_config_makefile dlls/olecli32 enable_olecli32
18870 wine_fn_config_makefile dlls/oledb32 enable_oledb32
18871 wine_fn_config_makefile dlls/oledb32/tests enable_tests
18872 wine_fn_config_makefile dlls/oledlg enable_oledlg
18873 wine_fn_config_makefile dlls/oledlg/tests enable_tests
18874 wine_fn_config_makefile dlls/olepro32 enable_olepro32
18875 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
18876 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
18877 wine_fn_config_makefile dlls/olethk32 enable_olethk32
18878 wine_fn_config_makefile dlls/openal32 enable_openal32
18879 wine_fn_config_makefile dlls/opencl enable_opencl
18880 wine_fn_config_makefile dlls/opengl32 enable_opengl32
18881 wine_fn_config_makefile dlls/opengl32/tests enable_tests
18882 wine_fn_config_makefile dlls/packager enable_packager
18883 wine_fn_config_makefile dlls/packager/tests enable_tests
18884 wine_fn_config_makefile dlls/pdh enable_pdh
18885 wine_fn_config_makefile dlls/pdh/tests enable_tests
18886 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
18887 wine_fn_config_makefile dlls/pidgen enable_pidgen
18888 wine_fn_config_makefile dlls/powrprof enable_powrprof
18889 wine_fn_config_makefile dlls/printui enable_printui
18890 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
18891 wine_fn_config_makefile dlls/propsys enable_propsys
18892 wine_fn_config_makefile dlls/propsys/tests enable_tests
18893 wine_fn_config_makefile dlls/psapi enable_psapi
18894 wine_fn_config_makefile dlls/psapi/tests enable_tests
18895 wine_fn_config_makefile dlls/pstorec enable_pstorec
18896 wine_fn_config_makefile dlls/pstorec/tests enable_tests
18897 wine_fn_config_makefile dlls/qcap enable_qcap
18898 wine_fn_config_makefile dlls/qcap/tests enable_tests
18899 wine_fn_config_makefile dlls/qedit enable_qedit
18900 wine_fn_config_makefile dlls/qedit/tests enable_tests
18901 wine_fn_config_makefile dlls/qmgr enable_qmgr
18902 wine_fn_config_makefile dlls/qmgr/tests enable_tests
18903 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
18904 wine_fn_config_makefile dlls/quartz enable_quartz
18905 wine_fn_config_makefile dlls/quartz/tests enable_tests
18906 wine_fn_config_makefile dlls/query enable_query
18907 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
18908 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
18909 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
18910 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
18911 wine_fn_config_makefile dlls/regapi enable_regapi
18912 wine_fn_config_makefile dlls/resutils enable_resutils
18913 wine_fn_config_makefile dlls/riched20 enable_riched20
18914 wine_fn_config_makefile dlls/riched20/tests enable_tests
18915 wine_fn_config_makefile dlls/riched32 enable_riched32
18916 wine_fn_config_makefile dlls/riched32/tests enable_tests
18917 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
18918 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
18919 wine_fn_config_makefile dlls/rsabase enable_rsabase
18920 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
18921 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
18922 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
18923 wine_fn_config_makefile dlls/rtutils enable_rtutils
18924 wine_fn_config_makefile dlls/samlib enable_samlib
18925 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
18926 wine_fn_config_makefile dlls/sapi enable_sapi
18927 wine_fn_config_makefile dlls/sapi/tests enable_tests
18928 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
18929 wine_fn_config_makefile dlls/sccbase enable_sccbase
18930 wine_fn_config_makefile dlls/schannel enable_schannel
18931 wine_fn_config_makefile dlls/schannel/tests enable_tests
18932 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
18933 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
18934 wine_fn_config_makefile dlls/scrobj enable_scrobj
18935 wine_fn_config_makefile dlls/scrrun enable_scrrun
18936 wine_fn_config_makefile dlls/scrrun/tests enable_tests
18937 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
18938 wine_fn_config_makefile dlls/secur32 enable_secur32
18939 wine_fn_config_makefile dlls/secur32/tests enable_tests
18940 wine_fn_config_makefile dlls/security enable_security
18941 wine_fn_config_makefile dlls/sensapi enable_sensapi
18942 wine_fn_config_makefile dlls/serialui enable_serialui
18943 wine_fn_config_makefile dlls/serialui/tests enable_tests
18944 wine_fn_config_makefile dlls/setupapi enable_setupapi
18945 wine_fn_config_makefile dlls/setupapi/tests enable_tests
18946 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
18947 wine_fn_config_makefile dlls/sfc enable_sfc
18948 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
18949 wine_fn_config_makefile dlls/shcore enable_shcore
18950 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
18951 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
18952 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
18953 wine_fn_config_makefile dlls/shell.dll16 enable_win16
18954 wine_fn_config_makefile dlls/shell32 enable_shell32
18955 wine_fn_config_makefile dlls/shell32/tests enable_tests
18956 wine_fn_config_makefile dlls/shfolder enable_shfolder
18957 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
18958 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
18959 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
18960 wine_fn_config_makefile dlls/slc enable_slc
18961 wine_fn_config_makefile dlls/slc/tests enable_tests
18962 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
18963 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
18964 wine_fn_config_makefile dlls/softpub enable_softpub
18965 wine_fn_config_makefile dlls/sound.drv16 enable_win16
18966 wine_fn_config_makefile dlls/spoolss enable_spoolss
18967 wine_fn_config_makefile dlls/spoolss/tests enable_tests
18968 wine_fn_config_makefile dlls/sspicli enable_sspicli
18969 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
18970 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
18971 wine_fn_config_makefile dlls/sti enable_sti
18972 wine_fn_config_makefile dlls/sti/tests enable_tests
18973 wine_fn_config_makefile dlls/storage.dll16 enable_win16
18974 wine_fn_config_makefile dlls/stress.dll16 enable_win16
18975 wine_fn_config_makefile dlls/strmbase enable_strmbase
18976 wine_fn_config_makefile dlls/strmiids enable_strmiids
18977 wine_fn_config_makefile dlls/svrapi enable_svrapi
18978 wine_fn_config_makefile dlls/sxs enable_sxs
18979 wine_fn_config_makefile dlls/sxs/tests enable_tests
18980 wine_fn_config_makefile dlls/system.drv16 enable_win16
18981 wine_fn_config_makefile dlls/t2embed enable_t2embed
18982 wine_fn_config_makefile dlls/t2embed/tests enable_tests
18983 wine_fn_config_makefile dlls/tapi32 enable_tapi32
18984 wine_fn_config_makefile dlls/taskschd enable_taskschd
18985 wine_fn_config_makefile dlls/taskschd/tests enable_tests
18986 wine_fn_config_makefile dlls/tdh enable_tdh
18987 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
18988 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
18989 wine_fn_config_makefile dlls/traffic enable_traffic
18990 wine_fn_config_makefile dlls/twain.dll16 enable_win16
18991 wine_fn_config_makefile dlls/twain_32 enable_twain_32
18992 wine_fn_config_makefile dlls/twain_32/tests enable_tests
18993 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
18994 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
18995 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
18996 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
18997 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
18998 wine_fn_config_makefile dlls/unicows enable_unicows
18999 wine_fn_config_makefile dlls/updspapi enable_updspapi
19000 wine_fn_config_makefile dlls/url enable_url
19001 wine_fn_config_makefile dlls/urlmon enable_urlmon
19002 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19003 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19004 wine_fn_config_makefile dlls/user.exe16 enable_win16
19005 wine_fn_config_makefile dlls/user32 enable_user32
19006 wine_fn_config_makefile dlls/user32/tests enable_tests
19007 wine_fn_config_makefile dlls/userenv enable_userenv
19008 wine_fn_config_makefile dlls/userenv/tests enable_tests
19009 wine_fn_config_makefile dlls/usp10 enable_usp10
19010 wine_fn_config_makefile dlls/usp10/tests enable_tests
19011 wine_fn_config_makefile dlls/uuid enable_uuid
19012 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19013 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19014 wine_fn_config_makefile dlls/vbscript enable_vbscript
19015 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19016 wine_fn_config_makefile dlls/vcomp enable_vcomp
19017 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19018 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19019 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19020 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19021 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19022 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19023 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19024 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19025 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19026 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19027 wine_fn_config_makefile dlls/version enable_version
19028 wine_fn_config_makefile dlls/version/tests enable_tests
19029 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19030 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19031 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19032 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19033 wine_fn_config_makefile dlls/vssapi enable_vssapi
19034 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19035 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19036 wine_fn_config_makefile dlls/w32skrnl enable_win16
19037 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19038 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19039 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19040 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19041 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19042 wine_fn_config_makefile dlls/wdscore enable_wdscore
19043 wine_fn_config_makefile dlls/webservices enable_webservices
19044 wine_fn_config_makefile dlls/webservices/tests enable_tests
19045 wine_fn_config_makefile dlls/wer enable_wer
19046 wine_fn_config_makefile dlls/wer/tests enable_tests
19047 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19048 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19049 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19050 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19051 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19052 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19053 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19054 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19055 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19056 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19057 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19058 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19059 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19060 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19061 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19062 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19063 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19064 wine_fn_config_makefile dlls/wined3d enable_wined3d
19065 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19066 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19067 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19068 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19069 wine_fn_config_makefile dlls/winemapi enable_winemapi
19070 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19071 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19072 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19073 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19074 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19075 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19076 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19077 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19078 wine_fn_config_makefile dlls/wing32 enable_wing32
19079 wine_fn_config_makefile dlls/winhttp enable_winhttp
19080 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19081 wine_fn_config_makefile dlls/wininet enable_wininet
19082 wine_fn_config_makefile dlls/wininet/tests enable_tests
19083 wine_fn_config_makefile dlls/winmm enable_winmm
19084 wine_fn_config_makefile dlls/winmm/tests enable_tests
19085 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19086 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19087 wine_fn_config_makefile dlls/winscard enable_winscard
19088 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19089 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19090 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19091 wine_fn_config_makefile dlls/winsta enable_winsta
19092 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19093 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19094 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19095 wine_fn_config_makefile dlls/wintrust enable_wintrust
19096 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19097 wine_fn_config_makefile dlls/winusb enable_winusb
19098 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19099 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19100 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19101 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19102 wine_fn_config_makefile dlls/wmasf enable_wmasf
19103 wine_fn_config_makefile dlls/wmi enable_wmi
19104 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19105 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19106 wine_fn_config_makefile dlls/wmp enable_wmp
19107 wine_fn_config_makefile dlls/wmp/tests enable_tests
19108 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19109 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19110 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19111 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19112 wine_fn_config_makefile dlls/wow32 enable_win16
19113 wine_fn_config_makefile dlls/wpc enable_wpc
19114 wine_fn_config_makefile dlls/wpc/tests enable_tests
19115 wine_fn_config_makefile dlls/wpcap enable_wpcap
19116 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19117 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19118 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19119 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19120 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19121 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19122 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19123 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19124 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19125 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19126 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19127 wine_fn_config_makefile dlls/wuapi enable_wuapi
19128 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19129 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19130 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19131 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19132 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19133 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19134 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19135 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19136 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19137 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19138 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19139 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19140 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19141 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19142 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19143 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19144 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19145 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19146 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19147 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19148 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19149 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19150 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19151 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19152 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19153 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19154 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19155 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19156 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19157 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19158 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19159 wine_fn_config_makefile dlls/xmllite enable_xmllite
19160 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19161 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19162 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19163 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19164 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
19165 wine_fn_config_makefile include enable_include
19166 wine_fn_config_makefile libs/port enable_port
19167 wine_fn_config_makefile libs/wine enable_wine
19168 wine_fn_config_makefile libs/wpp enable_wpp
19169 wine_fn_config_makefile loader enable_loader
19170 wine_fn_config_makefile po enable_po
19171 wine_fn_config_makefile programs/arp enable_arp
19172 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19173 wine_fn_config_makefile programs/attrib enable_attrib
19174 wine_fn_config_makefile programs/cabarc enable_cabarc
19175 wine_fn_config_makefile programs/cacls enable_cacls
19176 wine_fn_config_makefile programs/clock enable_clock
19177 wine_fn_config_makefile programs/cmd enable_cmd
19178 wine_fn_config_makefile programs/cmd/tests enable_tests
19179 wine_fn_config_makefile programs/conhost enable_conhost
19180 wine_fn_config_makefile programs/control enable_control
19181 wine_fn_config_makefile programs/cscript enable_cscript
19182 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19183 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19184 wine_fn_config_makefile programs/eject enable_eject
19185 wine_fn_config_makefile programs/expand enable_expand
19186 wine_fn_config_makefile programs/explorer enable_explorer
19187 wine_fn_config_makefile programs/extrac32 enable_extrac32
19188 wine_fn_config_makefile programs/findstr enable_findstr
19189 wine_fn_config_makefile programs/fsutil enable_fsutil
19190 wine_fn_config_makefile programs/hh enable_hh
19191 wine_fn_config_makefile programs/hostname enable_hostname
19192 wine_fn_config_makefile programs/icacls enable_icacls
19193 wine_fn_config_makefile programs/icinfo enable_icinfo
19194 wine_fn_config_makefile programs/iexplore enable_iexplore
19195 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19196 wine_fn_config_makefile programs/lodctr enable_lodctr
19197 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19198 wine_fn_config_makefile programs/mshta enable_mshta
19199 wine_fn_config_makefile programs/msiexec enable_msiexec
19200 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19201 wine_fn_config_makefile programs/net enable_net
19202 wine_fn_config_makefile programs/netsh enable_netsh
19203 wine_fn_config_makefile programs/netstat enable_netstat
19204 wine_fn_config_makefile programs/ngen enable_ngen
19205 wine_fn_config_makefile programs/notepad enable_notepad
19206 wine_fn_config_makefile programs/oleview enable_oleview
19207 wine_fn_config_makefile programs/ping enable_ping
19208 wine_fn_config_makefile programs/plugplay enable_plugplay
19209 wine_fn_config_makefile programs/powershell enable_powershell
19210 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19211 wine_fn_config_makefile programs/progman enable_progman
19212 wine_fn_config_makefile programs/reg enable_reg
19213 wine_fn_config_makefile programs/reg/tests enable_tests
19214 wine_fn_config_makefile programs/regasm enable_regasm
19215 wine_fn_config_makefile programs/regedit enable_regedit
19216 wine_fn_config_makefile programs/regedit/tests enable_tests
19217 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19218 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19219 wine_fn_config_makefile programs/rpcss enable_rpcss
19220 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19221 wine_fn_config_makefile programs/rundll32 enable_rundll32
19222 wine_fn_config_makefile programs/sc enable_sc
19223 wine_fn_config_makefile programs/schtasks enable_schtasks
19224 wine_fn_config_makefile programs/schtasks/tests enable_tests
19225 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19226 wine_fn_config_makefile programs/secedit enable_secedit
19227 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19228 wine_fn_config_makefile programs/services enable_services
19229 wine_fn_config_makefile programs/services/tests enable_tests
19230 wine_fn_config_makefile programs/shutdown enable_shutdown
19231 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19232 wine_fn_config_makefile programs/start enable_start
19233 wine_fn_config_makefile programs/subst enable_subst
19234 wine_fn_config_makefile programs/svchost enable_svchost
19235 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19236 wine_fn_config_makefile programs/taskkill enable_taskkill
19237 wine_fn_config_makefile programs/tasklist enable_tasklist
19238 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19239 wine_fn_config_makefile programs/termsv enable_termsv
19240 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19241 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19242 wine_fn_config_makefile programs/view enable_view
19243 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19244 wine_fn_config_makefile programs/wineboot enable_wineboot
19245 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19246 wine_fn_config_makefile programs/winecfg enable_winecfg
19247 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19248 wine_fn_config_makefile programs/winedbg enable_winedbg
19249 wine_fn_config_makefile programs/winedevice enable_winedevice
19250 wine_fn_config_makefile programs/winefile enable_winefile
19251 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19252 wine_fn_config_makefile programs/winemine enable_winemine
19253 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19254 wine_fn_config_makefile programs/winepath enable_winepath
19255 wine_fn_config_makefile programs/winetest enable_winetest
19256 wine_fn_config_makefile programs/winevdm enable_win16
19257 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19258 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19259 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19260 wine_fn_config_makefile programs/winver enable_winver
19261 wine_fn_config_makefile programs/wmic enable_wmic
19262 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19263 wine_fn_config_makefile programs/wordpad enable_wordpad
19264 wine_fn_config_makefile programs/write enable_write
19265 wine_fn_config_makefile programs/wscript enable_wscript
19266 wine_fn_config_makefile programs/wscript/tests enable_tests
19267 wine_fn_config_makefile programs/wusa enable_wusa
19268 wine_fn_config_makefile programs/xcopy enable_xcopy
19269 wine_fn_config_makefile programs/xcopy/tests enable_tests
19270 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
19271 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19272 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19273 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19274 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19275 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19276 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19277 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19278 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19279 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19282 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19283 wine_fn_append_file CONFIGURE_TARGETS "tags"
19284 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19285 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19286 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19287 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19288 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19289 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19291 if test "x$enable_tools" != xno
19292 then
19293 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19294 ac_config_commands="$ac_config_commands tools/makedep"
19298 ac_config_commands="$ac_config_commands Makefile"
19301 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19305 if test "x$enable_maintainer_mode" = xyes
19306 then
19307 wine_fn_append_rule "configure: configure.ac aclocal.m4
19308 autoconf --warnings=all
19309 include/config.h.in: include/stamp-h.in
19310 include/stamp-h.in: configure.ac aclocal.m4
19311 autoheader --warnings=all
19312 @echo timestamp > \$@"
19315 if test "x$enable_tools" != xno
19316 then
19317 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19318 @./config.status tools/makedep
19319 Makefile: tools/makedep$ac_exeext
19320 fonts: tools/sfnt2fon
19321 include: tools tools/widl"
19322 else
19323 wine_fn_append_rule "\$(MAKEDEP):
19324 @echo \"You need to run make in $TOOLSDIR first\" && false"
19327 if test -n "$with_wine64"
19328 then
19329 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19330 fonts server:
19331 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19332 $with_wine64/loader/wine:
19333 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19334 $with_wine64/loader/wine-preloader:
19335 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19336 clean::
19337 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19338 else
19339 WINELOADER_INSTALL="wine.inf l_intl.nls"
19341 case $host_os in
19342 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19343 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19344 esac
19347 $as_echo " done" >&6
19348 cat >confcache <<\_ACEOF
19349 # This file is a shell script that caches the results of configure
19350 # tests run on this system so they can be shared between configure
19351 # scripts and configure runs, see configure's option --config-cache.
19352 # It is not useful on other systems. If it contains results you don't
19353 # want to keep, you may remove or edit it.
19355 # config.status only pays attention to the cache file if you give it
19356 # the --recheck option to rerun configure.
19358 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19359 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19360 # following values.
19362 _ACEOF
19364 # The following way of writing the cache mishandles newlines in values,
19365 # but we know of no workaround that is simple, portable, and efficient.
19366 # So, we kill variables containing newlines.
19367 # Ultrix sh set writes to stderr and can't be redirected directly,
19368 # and sets the high bit in the cache file unless we assign to the vars.
19370 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19371 eval ac_val=\$$ac_var
19372 case $ac_val in #(
19373 *${as_nl}*)
19374 case $ac_var in #(
19375 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19376 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19377 esac
19378 case $ac_var in #(
19379 _ | IFS | as_nl) ;; #(
19380 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19381 *) { eval $ac_var=; unset $ac_var;} ;;
19382 esac ;;
19383 esac
19384 done
19386 (set) 2>&1 |
19387 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19388 *${as_nl}ac_space=\ *)
19389 # `set' does not quote correctly, so add quotes: double-quote
19390 # substitution turns \\\\ into \\, and sed turns \\ into \.
19391 sed -n \
19392 "s/'/'\\\\''/g;
19393 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19394 ;; #(
19396 # `set' quotes correctly as required by POSIX, so do not add quotes.
19397 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19399 esac |
19400 sort
19402 sed '
19403 /^ac_cv_env_/b end
19404 t clear
19405 :clear
19406 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19407 t end
19408 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19409 :end' >>confcache
19410 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19411 if test -w "$cache_file"; then
19412 if test "x$cache_file" != "x/dev/null"; then
19413 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19414 $as_echo "$as_me: updating cache $cache_file" >&6;}
19415 if test ! -f "$cache_file" || test -h "$cache_file"; then
19416 cat confcache >"$cache_file"
19417 else
19418 case $cache_file in #(
19419 */* | ?:*)
19420 mv -f confcache "$cache_file"$$ &&
19421 mv -f "$cache_file"$$ "$cache_file" ;; #(
19423 mv -f confcache "$cache_file" ;;
19424 esac
19427 else
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19429 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19432 rm -f confcache
19434 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19435 # Let make expand exec_prefix.
19436 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19438 DEFS=-DHAVE_CONFIG_H
19440 ac_libobjs=
19441 ac_ltlibobjs=
19443 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19444 # 1. Remove the extension, and $U if already installed.
19445 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19446 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19447 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19448 # will be set to the directory where LIBOBJS objects are built.
19449 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19450 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19451 done
19452 LIBOBJS=$ac_libobjs
19454 LTLIBOBJS=$ac_ltlibobjs
19458 : "${CONFIG_STATUS=./config.status}"
19459 ac_write_fail=0
19460 ac_clean_files_save=$ac_clean_files
19461 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19463 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19464 as_write_fail=0
19465 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19466 #! $SHELL
19467 # Generated by $as_me.
19468 # Run this file to recreate the current configuration.
19469 # Compiler output produced by configure, useful for debugging
19470 # configure, is in config.log if it exists.
19472 debug=false
19473 ac_cs_recheck=false
19474 ac_cs_silent=false
19476 SHELL=\${CONFIG_SHELL-$SHELL}
19477 export SHELL
19478 _ASEOF
19479 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19480 ## -------------------- ##
19481 ## M4sh Initialization. ##
19482 ## -------------------- ##
19484 # Be more Bourne compatible
19485 DUALCASE=1; export DUALCASE # for MKS sh
19486 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19487 emulate sh
19488 NULLCMD=:
19489 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19490 # is contrary to our usage. Disable this feature.
19491 alias -g '${1+"$@"}'='"$@"'
19492 setopt NO_GLOB_SUBST
19493 else
19494 case `(set -o) 2>/dev/null` in #(
19495 *posix*) :
19496 set -o posix ;; #(
19497 *) :
19499 esac
19503 as_nl='
19505 export as_nl
19506 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19507 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19508 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19509 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19510 # Prefer a ksh shell builtin over an external printf program on Solaris,
19511 # but without wasting forks for bash or zsh.
19512 if test -z "$BASH_VERSION$ZSH_VERSION" \
19513 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19514 as_echo='print -r --'
19515 as_echo_n='print -rn --'
19516 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19517 as_echo='printf %s\n'
19518 as_echo_n='printf %s'
19519 else
19520 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19521 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19522 as_echo_n='/usr/ucb/echo -n'
19523 else
19524 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19525 as_echo_n_body='eval
19526 arg=$1;
19527 case $arg in #(
19528 *"$as_nl"*)
19529 expr "X$arg" : "X\\(.*\\)$as_nl";
19530 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19531 esac;
19532 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19534 export as_echo_n_body
19535 as_echo_n='sh -c $as_echo_n_body as_echo'
19537 export as_echo_body
19538 as_echo='sh -c $as_echo_body as_echo'
19541 # The user is always right.
19542 if test "${PATH_SEPARATOR+set}" != set; then
19543 PATH_SEPARATOR=:
19544 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19545 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19546 PATH_SEPARATOR=';'
19551 # IFS
19552 # We need space, tab and new line, in precisely that order. Quoting is
19553 # there to prevent editors from complaining about space-tab.
19554 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19555 # splitting by setting IFS to empty value.)
19556 IFS=" "" $as_nl"
19558 # Find who we are. Look in the path if we contain no directory separator.
19559 as_myself=
19560 case $0 in #((
19561 *[\\/]* ) as_myself=$0 ;;
19562 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19563 for as_dir in $PATH
19565 IFS=$as_save_IFS
19566 test -z "$as_dir" && as_dir=.
19567 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19568 done
19569 IFS=$as_save_IFS
19572 esac
19573 # We did not find ourselves, most probably we were run as `sh COMMAND'
19574 # in which case we are not to be found in the path.
19575 if test "x$as_myself" = x; then
19576 as_myself=$0
19578 if test ! -f "$as_myself"; then
19579 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19580 exit 1
19583 # Unset variables that we do not need and which cause bugs (e.g. in
19584 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19585 # suppresses any "Segmentation fault" message there. '((' could
19586 # trigger a bug in pdksh 5.2.14.
19587 for as_var in BASH_ENV ENV MAIL MAILPATH
19588 do eval test x\${$as_var+set} = xset \
19589 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19590 done
19591 PS1='$ '
19592 PS2='> '
19593 PS4='+ '
19595 # NLS nuisances.
19596 LC_ALL=C
19597 export LC_ALL
19598 LANGUAGE=C
19599 export LANGUAGE
19601 # CDPATH.
19602 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19605 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19606 # ----------------------------------------
19607 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19608 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19609 # script with STATUS, using 1 if that was 0.
19610 as_fn_error ()
19612 as_status=$1; test $as_status -eq 0 && as_status=1
19613 if test "$4"; then
19614 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19615 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19617 $as_echo "$as_me: error: $2" >&2
19618 as_fn_exit $as_status
19619 } # as_fn_error
19622 # as_fn_set_status STATUS
19623 # -----------------------
19624 # Set $? to STATUS, without forking.
19625 as_fn_set_status ()
19627 return $1
19628 } # as_fn_set_status
19630 # as_fn_exit STATUS
19631 # -----------------
19632 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19633 as_fn_exit ()
19635 set +e
19636 as_fn_set_status $1
19637 exit $1
19638 } # as_fn_exit
19640 # as_fn_unset VAR
19641 # ---------------
19642 # Portably unset VAR.
19643 as_fn_unset ()
19645 { eval $1=; unset $1;}
19647 as_unset=as_fn_unset
19648 # as_fn_append VAR VALUE
19649 # ----------------------
19650 # Append the text in VALUE to the end of the definition contained in VAR. Take
19651 # advantage of any shell optimizations that allow amortized linear growth over
19652 # repeated appends, instead of the typical quadratic growth present in naive
19653 # implementations.
19654 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19655 eval 'as_fn_append ()
19657 eval $1+=\$2
19659 else
19660 as_fn_append ()
19662 eval $1=\$$1\$2
19664 fi # as_fn_append
19666 # as_fn_arith ARG...
19667 # ------------------
19668 # Perform arithmetic evaluation on the ARGs, and store the result in the
19669 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19670 # must be portable across $(()) and expr.
19671 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19672 eval 'as_fn_arith ()
19674 as_val=$(( $* ))
19676 else
19677 as_fn_arith ()
19679 as_val=`expr "$@" || test $? -eq 1`
19681 fi # as_fn_arith
19684 if expr a : '\(a\)' >/dev/null 2>&1 &&
19685 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19686 as_expr=expr
19687 else
19688 as_expr=false
19691 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19692 as_basename=basename
19693 else
19694 as_basename=false
19697 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19698 as_dirname=dirname
19699 else
19700 as_dirname=false
19703 as_me=`$as_basename -- "$0" ||
19704 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19705 X"$0" : 'X\(//\)$' \| \
19706 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19707 $as_echo X/"$0" |
19708 sed '/^.*\/\([^/][^/]*\)\/*$/{
19709 s//\1/
19712 /^X\/\(\/\/\)$/{
19713 s//\1/
19716 /^X\/\(\/\).*/{
19717 s//\1/
19720 s/.*/./; q'`
19722 # Avoid depending upon Character Ranges.
19723 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19724 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19725 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19726 as_cr_digits='0123456789'
19727 as_cr_alnum=$as_cr_Letters$as_cr_digits
19729 ECHO_C= ECHO_N= ECHO_T=
19730 case `echo -n x` in #(((((
19731 -n*)
19732 case `echo 'xy\c'` in
19733 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19734 xy) ECHO_C='\c';;
19735 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19736 ECHO_T=' ';;
19737 esac;;
19739 ECHO_N='-n';;
19740 esac
19742 rm -f conf$$ conf$$.exe conf$$.file
19743 if test -d conf$$.dir; then
19744 rm -f conf$$.dir/conf$$.file
19745 else
19746 rm -f conf$$.dir
19747 mkdir conf$$.dir 2>/dev/null
19749 if (echo >conf$$.file) 2>/dev/null; then
19750 if ln -s conf$$.file conf$$ 2>/dev/null; then
19751 as_ln_s='ln -s'
19752 # ... but there are two gotchas:
19753 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19754 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19755 # In both cases, we have to default to `cp -pR'.
19756 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19757 as_ln_s='cp -pR'
19758 elif ln conf$$.file conf$$ 2>/dev/null; then
19759 as_ln_s=ln
19760 else
19761 as_ln_s='cp -pR'
19763 else
19764 as_ln_s='cp -pR'
19766 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19767 rmdir conf$$.dir 2>/dev/null
19770 # as_fn_mkdir_p
19771 # -------------
19772 # Create "$as_dir" as a directory, including parents if necessary.
19773 as_fn_mkdir_p ()
19776 case $as_dir in #(
19777 -*) as_dir=./$as_dir;;
19778 esac
19779 test -d "$as_dir" || eval $as_mkdir_p || {
19780 as_dirs=
19781 while :; do
19782 case $as_dir in #(
19783 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19784 *) as_qdir=$as_dir;;
19785 esac
19786 as_dirs="'$as_qdir' $as_dirs"
19787 as_dir=`$as_dirname -- "$as_dir" ||
19788 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19789 X"$as_dir" : 'X\(//\)[^/]' \| \
19790 X"$as_dir" : 'X\(//\)$' \| \
19791 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19792 $as_echo X"$as_dir" |
19793 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19794 s//\1/
19797 /^X\(\/\/\)[^/].*/{
19798 s//\1/
19801 /^X\(\/\/\)$/{
19802 s//\1/
19805 /^X\(\/\).*/{
19806 s//\1/
19809 s/.*/./; q'`
19810 test -d "$as_dir" && break
19811 done
19812 test -z "$as_dirs" || eval "mkdir $as_dirs"
19813 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19816 } # as_fn_mkdir_p
19817 if mkdir -p . 2>/dev/null; then
19818 as_mkdir_p='mkdir -p "$as_dir"'
19819 else
19820 test -d ./-p && rmdir ./-p
19821 as_mkdir_p=false
19825 # as_fn_executable_p FILE
19826 # -----------------------
19827 # Test if FILE is an executable regular file.
19828 as_fn_executable_p ()
19830 test -f "$1" && test -x "$1"
19831 } # as_fn_executable_p
19832 as_test_x='test -x'
19833 as_executable_p=as_fn_executable_p
19835 # Sed expression to map a string onto a valid CPP name.
19836 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19838 # Sed expression to map a string onto a valid variable name.
19839 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19842 exec 6>&1
19843 ## ----------------------------------- ##
19844 ## Main body of $CONFIG_STATUS script. ##
19845 ## ----------------------------------- ##
19846 _ASEOF
19847 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19850 # Save the log message, to keep $0 and so on meaningful, and to
19851 # report actual input values of CONFIG_FILES etc. instead of their
19852 # values after options handling.
19853 ac_log="
19854 This file was extended by Wine $as_me 3.3, which was
19855 generated by GNU Autoconf 2.69. Invocation command line was
19857 CONFIG_FILES = $CONFIG_FILES
19858 CONFIG_HEADERS = $CONFIG_HEADERS
19859 CONFIG_LINKS = $CONFIG_LINKS
19860 CONFIG_COMMANDS = $CONFIG_COMMANDS
19861 $ $0 $@
19863 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19866 _ACEOF
19868 case $ac_config_files in *"
19869 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19870 esac
19872 case $ac_config_headers in *"
19873 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19874 esac
19877 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19878 # Files that config.status was made for.
19879 config_files="$ac_config_files"
19880 config_headers="$ac_config_headers"
19881 config_links="$ac_config_links"
19882 config_commands="$ac_config_commands"
19884 _ACEOF
19886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19887 ac_cs_usage="\
19888 \`$as_me' instantiates files and other configuration actions
19889 from templates according to the current configuration. Unless the files
19890 and actions are specified as TAGs, all are instantiated by default.
19892 Usage: $0 [OPTION]... [TAG]...
19894 -h, --help print this help, then exit
19895 -V, --version print version number and configuration settings, then exit
19896 --config print configuration, then exit
19897 -q, --quiet, --silent
19898 do not print progress messages
19899 -d, --debug don't remove temporary files
19900 --recheck update $as_me by reconfiguring in the same conditions
19901 --file=FILE[:TEMPLATE]
19902 instantiate the configuration file FILE
19903 --header=FILE[:TEMPLATE]
19904 instantiate the configuration header FILE
19906 Configuration files:
19907 $config_files
19909 Configuration headers:
19910 $config_headers
19912 Configuration links:
19913 $config_links
19915 Configuration commands:
19916 $config_commands
19918 Report bugs to <wine-devel@winehq.org>.
19919 Wine home page: <https://www.winehq.org>."
19921 _ACEOF
19922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19923 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19924 ac_cs_version="\\
19925 Wine config.status 3.3
19926 configured by $0, generated by GNU Autoconf 2.69,
19927 with options \\"\$ac_cs_config\\"
19929 Copyright (C) 2012 Free Software Foundation, Inc.
19930 This config.status script is free software; the Free Software Foundation
19931 gives unlimited permission to copy, distribute and modify it."
19933 ac_pwd='$ac_pwd'
19934 srcdir='$srcdir'
19935 test -n "\$AWK" || AWK=awk
19936 _ACEOF
19938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19939 # The default lists apply if the user does not specify any file.
19940 ac_need_defaults=:
19941 while test $# != 0
19943 case $1 in
19944 --*=?*)
19945 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19946 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19947 ac_shift=:
19949 --*=)
19950 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19951 ac_optarg=
19952 ac_shift=:
19955 ac_option=$1
19956 ac_optarg=$2
19957 ac_shift=shift
19959 esac
19961 case $ac_option in
19962 # Handling of the options.
19963 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19964 ac_cs_recheck=: ;;
19965 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19966 $as_echo "$ac_cs_version"; exit ;;
19967 --config | --confi | --conf | --con | --co | --c )
19968 $as_echo "$ac_cs_config"; exit ;;
19969 --debug | --debu | --deb | --de | --d | -d )
19970 debug=: ;;
19971 --file | --fil | --fi | --f )
19972 $ac_shift
19973 case $ac_optarg in
19974 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19975 '') as_fn_error $? "missing file argument" ;;
19976 esac
19977 as_fn_append CONFIG_FILES " '$ac_optarg'"
19978 ac_need_defaults=false;;
19979 --header | --heade | --head | --hea )
19980 $ac_shift
19981 case $ac_optarg in
19982 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19983 esac
19984 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19985 ac_need_defaults=false;;
19986 --he | --h)
19987 # Conflict between --help and --header
19988 as_fn_error $? "ambiguous option: \`$1'
19989 Try \`$0 --help' for more information.";;
19990 --help | --hel | -h )
19991 $as_echo "$ac_cs_usage"; exit ;;
19992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19993 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19994 ac_cs_silent=: ;;
19996 # This is an error.
19997 -*) as_fn_error $? "unrecognized option: \`$1'
19998 Try \`$0 --help' for more information." ;;
20000 *) as_fn_append ac_config_targets " $1"
20001 ac_need_defaults=false ;;
20003 esac
20004 shift
20005 done
20007 ac_configure_extra_args=
20009 if $ac_cs_silent; then
20010 exec 6>/dev/null
20011 ac_configure_extra_args="$ac_configure_extra_args --silent"
20014 _ACEOF
20015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20016 if \$ac_cs_recheck; then
20017 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20018 shift
20019 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20020 CONFIG_SHELL='$SHELL'
20021 export CONFIG_SHELL
20022 exec "\$@"
20025 _ACEOF
20026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20027 exec 5>>config.log
20029 echo
20030 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20031 ## Running $as_me. ##
20032 _ASBOX
20033 $as_echo "$ac_log"
20034 } >&5
20036 _ACEOF
20037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20039 # INIT-COMMANDS
20041 wine_fn_output_makedep ()
20043 as_dir=tools; as_fn_mkdir_p
20044 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20046 wine_fn_output_makefile ()
20048 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20049 `cat $wine_rules_file`
20050 _WINE_EOF
20051 as_fn_error $? "could not create Makefile" "$LINENO" 5
20054 _ACEOF
20056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20058 # Handling of arguments.
20059 for ac_config_target in $ac_config_targets
20061 case $ac_config_target in
20062 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20063 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20064 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20065 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20066 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20067 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20068 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20069 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20070 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20071 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20072 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20073 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20074 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20076 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20077 esac
20078 done
20081 # If the user did not use the arguments to specify the items to instantiate,
20082 # then the envvar interface is used. Set only those that are not.
20083 # We use the long form for the default assignment because of an extremely
20084 # bizarre bug on SunOS 4.1.3.
20085 if $ac_need_defaults; then
20086 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20087 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20088 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20089 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20092 # Have a temporary directory for convenience. Make it in the build tree
20093 # simply because there is no reason against having it here, and in addition,
20094 # creating and moving files from /tmp can sometimes cause problems.
20095 # Hook for its removal unless debugging.
20096 # Note that there is a small window in which the directory will not be cleaned:
20097 # after its creation but before its name has been assigned to `$tmp'.
20098 $debug ||
20100 tmp= ac_tmp=
20101 trap 'exit_status=$?
20102 : "${ac_tmp:=$tmp}"
20103 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20105 trap 'as_fn_exit 1' 1 2 13 15
20107 # Create a (secure) tmp directory for tmp files.
20110 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20111 test -d "$tmp"
20112 } ||
20114 tmp=./conf$$-$RANDOM
20115 (umask 077 && mkdir "$tmp")
20116 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20117 ac_tmp=$tmp
20119 # Set up the scripts for CONFIG_FILES section.
20120 # No need to generate them if there are no CONFIG_FILES.
20121 # This happens for instance with `./config.status config.h'.
20122 if test -n "$CONFIG_FILES"; then
20125 ac_cr=`echo X | tr X '\015'`
20126 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20127 # But we know of no other shell where ac_cr would be empty at this
20128 # point, so we can use a bashism as a fallback.
20129 if test "x$ac_cr" = x; then
20130 eval ac_cr=\$\'\\r\'
20132 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20133 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20134 ac_cs_awk_cr='\\r'
20135 else
20136 ac_cs_awk_cr=$ac_cr
20139 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20140 _ACEOF
20144 echo "cat >conf$$subs.awk <<_ACEOF" &&
20145 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20146 echo "_ACEOF"
20147 } >conf$$subs.sh ||
20148 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20149 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20150 ac_delim='%!_!# '
20151 for ac_last_try in false false false false false :; do
20152 . ./conf$$subs.sh ||
20153 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20155 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20156 if test $ac_delim_n = $ac_delim_num; then
20157 break
20158 elif $ac_last_try; then
20159 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20160 else
20161 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20163 done
20164 rm -f conf$$subs.sh
20166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20167 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20168 _ACEOF
20169 sed -n '
20171 s/^/S["/; s/!.*/"]=/
20174 s/^[^!]*!//
20175 :repl
20176 t repl
20177 s/'"$ac_delim"'$//
20178 t delim
20181 s/\(.\{148\}\)..*/\1/
20182 t more1
20183 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20186 b repl
20187 :more1
20188 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20191 s/.\{148\}//
20192 t nl
20193 :delim
20195 s/\(.\{148\}\)..*/\1/
20196 t more2
20197 s/["\\]/\\&/g; s/^/"/; s/$/"/
20200 :more2
20201 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20204 s/.\{148\}//
20205 t delim
20206 ' <conf$$subs.awk | sed '
20207 /^[^""]/{
20209 s/\n//
20211 ' >>$CONFIG_STATUS || ac_write_fail=1
20212 rm -f conf$$subs.awk
20213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20214 _ACAWK
20215 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20216 for (key in S) S_is_set[key] = 1
20217 FS = "\a"
20221 line = $ 0
20222 nfields = split(line, field, "@")
20223 substed = 0
20224 len = length(field[1])
20225 for (i = 2; i < nfields; i++) {
20226 key = field[i]
20227 keylen = length(key)
20228 if (S_is_set[key]) {
20229 value = S[key]
20230 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20231 len += length(value) + length(field[++i])
20232 substed = 1
20233 } else
20234 len += 1 + keylen
20237 print line
20240 _ACAWK
20241 _ACEOF
20242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20243 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20244 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20245 else
20247 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20248 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20249 _ACEOF
20251 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20252 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20253 # trailing colons and then remove the whole line if VPATH becomes empty
20254 # (actually we leave an empty line to preserve line numbers).
20255 if test "x$srcdir" = x.; then
20256 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20258 s///
20259 s/^/:/
20260 s/[ ]*$/:/
20261 s/:\$(srcdir):/:/g
20262 s/:\${srcdir}:/:/g
20263 s/:@srcdir@:/:/g
20264 s/^:*//
20265 s/:*$//
20267 s/\(=[ ]*\).*/\1/
20269 s/\n//
20270 s/^[^=]*=[ ]*$//
20274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20275 fi # test -n "$CONFIG_FILES"
20277 # Set up the scripts for CONFIG_HEADERS section.
20278 # No need to generate them if there are no CONFIG_HEADERS.
20279 # This happens for instance with `./config.status Makefile'.
20280 if test -n "$CONFIG_HEADERS"; then
20281 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20282 BEGIN {
20283 _ACEOF
20285 # Transform confdefs.h into an awk script `defines.awk', embedded as
20286 # here-document in config.status, that substitutes the proper values into
20287 # config.h.in to produce config.h.
20289 # Create a delimiter string that does not exist in confdefs.h, to ease
20290 # handling of long lines.
20291 ac_delim='%!_!# '
20292 for ac_last_try in false false :; do
20293 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20294 if test -z "$ac_tt"; then
20295 break
20296 elif $ac_last_try; then
20297 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20298 else
20299 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20301 done
20303 # For the awk script, D is an array of macro values keyed by name,
20304 # likewise P contains macro parameters if any. Preserve backslash
20305 # newline sequences.
20307 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20308 sed -n '
20309 s/.\{148\}/&'"$ac_delim"'/g
20310 t rset
20311 :rset
20312 s/^[ ]*#[ ]*define[ ][ ]*/ /
20313 t def
20315 :def
20316 s/\\$//
20317 t bsnl
20318 s/["\\]/\\&/g
20319 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20320 D["\1"]=" \3"/p
20321 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20323 :bsnl
20324 s/["\\]/\\&/g
20325 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20326 D["\1"]=" \3\\\\\\n"\\/p
20327 t cont
20328 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20329 t cont
20331 :cont
20333 s/.\{148\}/&'"$ac_delim"'/g
20334 t clear
20335 :clear
20336 s/\\$//
20337 t bsnlc
20338 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20340 :bsnlc
20341 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20342 b cont
20343 ' <confdefs.h | sed '
20344 s/'"$ac_delim"'/"\\\
20345 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20348 for (key in D) D_is_set[key] = 1
20349 FS = "\a"
20351 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20352 line = \$ 0
20353 split(line, arg, " ")
20354 if (arg[1] == "#") {
20355 defundef = arg[2]
20356 mac1 = arg[3]
20357 } else {
20358 defundef = substr(arg[1], 2)
20359 mac1 = arg[2]
20361 split(mac1, mac2, "(") #)
20362 macro = mac2[1]
20363 prefix = substr(line, 1, index(line, defundef) - 1)
20364 if (D_is_set[macro]) {
20365 # Preserve the white space surrounding the "#".
20366 print prefix "define", macro P[macro] D[macro]
20367 next
20368 } else {
20369 # Replace #undef with comments. This is necessary, for example,
20370 # in the case of _POSIX_SOURCE, which is predefined and required
20371 # on some systems where configure will not decide to define it.
20372 if (defundef == "undef") {
20373 print "/*", prefix defundef, macro, "*/"
20374 next
20378 { print }
20379 _ACAWK
20380 _ACEOF
20381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20382 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20383 fi # test -n "$CONFIG_HEADERS"
20386 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20387 shift
20388 for ac_tag
20390 case $ac_tag in
20391 :[FHLC]) ac_mode=$ac_tag; continue;;
20392 esac
20393 case $ac_mode$ac_tag in
20394 :[FHL]*:*);;
20395 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20396 :[FH]-) ac_tag=-:-;;
20397 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20398 esac
20399 ac_save_IFS=$IFS
20400 IFS=:
20401 set x $ac_tag
20402 IFS=$ac_save_IFS
20403 shift
20404 ac_file=$1
20405 shift
20407 case $ac_mode in
20408 :L) ac_source=$1;;
20409 :[FH])
20410 ac_file_inputs=
20411 for ac_f
20413 case $ac_f in
20414 -) ac_f="$ac_tmp/stdin";;
20415 *) # Look for the file first in the build tree, then in the source tree
20416 # (if the path is not absolute). The absolute path cannot be DOS-style,
20417 # because $ac_f cannot contain `:'.
20418 test -f "$ac_f" ||
20419 case $ac_f in
20420 [\\/$]*) false;;
20421 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20422 esac ||
20423 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20424 esac
20425 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20426 as_fn_append ac_file_inputs " '$ac_f'"
20427 done
20429 # Let's still pretend it is `configure' which instantiates (i.e., don't
20430 # use $as_me), people would be surprised to read:
20431 # /* config.h. Generated by config.status. */
20432 configure_input='Generated from '`
20433 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20434 `' by configure.'
20435 if test x"$ac_file" != x-; then
20436 configure_input="$ac_file. $configure_input"
20437 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20438 $as_echo "$as_me: creating $ac_file" >&6;}
20440 # Neutralize special characters interpreted by sed in replacement strings.
20441 case $configure_input in #(
20442 *\&* | *\|* | *\\* )
20443 ac_sed_conf_input=`$as_echo "$configure_input" |
20444 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20445 *) ac_sed_conf_input=$configure_input;;
20446 esac
20448 case $ac_tag in
20449 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20450 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20451 esac
20453 esac
20455 ac_dir=`$as_dirname -- "$ac_file" ||
20456 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20457 X"$ac_file" : 'X\(//\)[^/]' \| \
20458 X"$ac_file" : 'X\(//\)$' \| \
20459 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20460 $as_echo X"$ac_file" |
20461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20462 s//\1/
20465 /^X\(\/\/\)[^/].*/{
20466 s//\1/
20469 /^X\(\/\/\)$/{
20470 s//\1/
20473 /^X\(\/\).*/{
20474 s//\1/
20477 s/.*/./; q'`
20478 as_dir="$ac_dir"; as_fn_mkdir_p
20479 ac_builddir=.
20481 case "$ac_dir" in
20482 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20484 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20485 # A ".." for each directory in $ac_dir_suffix.
20486 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20487 case $ac_top_builddir_sub in
20488 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20489 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20490 esac ;;
20491 esac
20492 ac_abs_top_builddir=$ac_pwd
20493 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20494 # for backward compatibility:
20495 ac_top_builddir=$ac_top_build_prefix
20497 case $srcdir in
20498 .) # We are building in place.
20499 ac_srcdir=.
20500 ac_top_srcdir=$ac_top_builddir_sub
20501 ac_abs_top_srcdir=$ac_pwd ;;
20502 [\\/]* | ?:[\\/]* ) # Absolute name.
20503 ac_srcdir=$srcdir$ac_dir_suffix;
20504 ac_top_srcdir=$srcdir
20505 ac_abs_top_srcdir=$srcdir ;;
20506 *) # Relative name.
20507 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20508 ac_top_srcdir=$ac_top_build_prefix$srcdir
20509 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20510 esac
20511 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20514 case $ac_mode in
20517 # CONFIG_FILE
20520 _ACEOF
20522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20523 # If the template does not know about datarootdir, expand it.
20524 # FIXME: This hack should be removed a few years after 2.60.
20525 ac_datarootdir_hack=; ac_datarootdir_seen=
20526 ac_sed_dataroot='
20527 /datarootdir/ {
20531 /@datadir@/p
20532 /@docdir@/p
20533 /@infodir@/p
20534 /@localedir@/p
20535 /@mandir@/p'
20536 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20537 *datarootdir*) ac_datarootdir_seen=yes;;
20538 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20540 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20541 _ACEOF
20542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20543 ac_datarootdir_hack='
20544 s&@datadir@&$datadir&g
20545 s&@docdir@&$docdir&g
20546 s&@infodir@&$infodir&g
20547 s&@localedir@&$localedir&g
20548 s&@mandir@&$mandir&g
20549 s&\\\${datarootdir}&$datarootdir&g' ;;
20550 esac
20551 _ACEOF
20553 # Neutralize VPATH when `$srcdir' = `.'.
20554 # Shell code in configure.ac might set extrasub.
20555 # FIXME: do we really want to maintain this feature?
20556 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20557 ac_sed_extra="$ac_vpsub
20558 $extrasub
20559 _ACEOF
20560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20562 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20563 s|@configure_input@|$ac_sed_conf_input|;t t
20564 s&@top_builddir@&$ac_top_builddir_sub&;t t
20565 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20566 s&@srcdir@&$ac_srcdir&;t t
20567 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20568 s&@top_srcdir@&$ac_top_srcdir&;t t
20569 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20570 s&@builddir@&$ac_builddir&;t t
20571 s&@abs_builddir@&$ac_abs_builddir&;t t
20572 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20573 $ac_datarootdir_hack
20575 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20576 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20578 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20579 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20580 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20581 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20583 which seems to be undefined. Please make sure it is defined" >&5
20584 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20585 which seems to be undefined. Please make sure it is defined" >&2;}
20587 rm -f "$ac_tmp/stdin"
20588 case $ac_file in
20589 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20590 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20591 esac \
20592 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20596 # CONFIG_HEADER
20598 if test x"$ac_file" != x-; then
20600 $as_echo "/* $configure_input */" \
20601 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20602 } >"$ac_tmp/config.h" \
20603 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20604 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20605 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20606 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20607 else
20608 rm -f "$ac_file"
20609 mv "$ac_tmp/config.h" "$ac_file" \
20610 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20612 else
20613 $as_echo "/* $configure_input */" \
20614 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20615 || as_fn_error $? "could not create -" "$LINENO" 5
20620 # CONFIG_LINK
20623 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20625 else
20626 # Prefer the file from the source tree if names are identical.
20627 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20628 ac_source=$srcdir/$ac_source
20631 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20632 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20634 if test ! -r "$ac_source"; then
20635 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20637 rm -f "$ac_file"
20639 # Try a relative symlink, then a hard link, then a copy.
20640 case $ac_source in
20641 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20642 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20643 esac
20644 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20645 ln "$ac_source" "$ac_file" 2>/dev/null ||
20646 cp -p "$ac_source" "$ac_file" ||
20647 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20650 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20651 $as_echo "$as_me: executing $ac_file commands" >&6;}
20653 esac
20656 case $ac_file$ac_mode in
20657 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20658 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20659 "Makefile":C) wine_fn_output_makefile Makefile ;;
20661 esac
20662 done # for ac_tag
20665 as_fn_exit 0
20666 _ACEOF
20667 ac_clean_files=$ac_clean_files_save
20669 test $ac_write_fail = 0 ||
20670 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20673 # configure is writing to config.log, and then calls config.status.
20674 # config.status does its own redirection, appending to config.log.
20675 # Unfortunately, on DOS this fails, as config.log is still kept open
20676 # by configure, so config.status won't be able to write to it; its
20677 # output is simply discarded. So we exec the FD to /dev/null,
20678 # effectively closing config.log, so it can be properly (re)opened and
20679 # appended to by config.status. When coming back to configure, we
20680 # need to make the FD available again.
20681 if test "$no_create" != yes; then
20682 ac_cs_success=:
20683 ac_config_status_args=
20684 test "$silent" = yes &&
20685 ac_config_status_args="$ac_config_status_args --quiet"
20686 exec 5>/dev/null
20687 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20688 exec 5>>config.log
20689 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20690 # would make configure fail if this is the last instruction.
20691 $ac_cs_success || as_fn_exit 1
20693 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20695 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20699 if test "$no_create" = "yes"
20700 then
20701 exit 0
20704 ac_save_IFS="$IFS"
20705 if test "x$wine_notices" != x; then
20706 echo >&6
20707 IFS="|"
20708 for msg in $wine_notices; do
20709 IFS="$ac_save_IFS"
20710 if ${msg:+false} :; then :
20712 else
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20714 $as_echo "$as_me: $msg" >&6;}
20716 done
20718 IFS="|"
20719 for msg in $wine_warnings; do
20720 IFS="$ac_save_IFS"
20721 if ${msg:+false} :; then :
20723 else
20724 echo >&2
20725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20726 $as_echo "$as_me: WARNING: $msg" >&2;}
20728 done
20729 IFS="$ac_save_IFS"
20731 $as_echo "
20732 $as_me: Finished. Do '${ac_make}' to compile Wine.
20733 " >&6