comctl32: Fix a memory leak (valgrind).
[wine.git] / configure
blob166ddbf4853c5487de6a963c95850419eb597afa
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.2.
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='4.2'
584 PACKAGE_STRING='Wine 4.2'
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 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 VKD3D_LIBS
639 VKD3D_CFLAGS
640 NETAPI_LIBS
641 NETAPI_CFLAGS
642 PROCSTAT_LIBS
643 KSTAT_LIBS
644 MPG123_LIBS
645 MPG123_CFLAGS
646 TIFF_LIBS
647 TIFF_CFLAGS
648 PNG_LIBS
649 PNG_CFLAGS
650 JPEG_LIBS
651 JPEG_CFLAGS
652 GSSAPI_LIBS
653 GSSAPI_CFLAGS
654 KRB5_LIBS
655 KRB5_CFLAGS
656 FONTCONFIG_LIBS
657 FONTCONFIG_CFLAGS
658 CUPS_LIBS
659 CUPS_CFLAGS
660 CAPI20_LIBS
661 CAPI20_CFLAGS
662 SDL2_LIBS
663 SDL2_CFLAGS
664 UDEV_LIBS
665 UDEV_CFLAGS
666 OSS4_CFLAGS
667 ALSA_LIBS
668 GSTREAMER_LIBS
669 GSTREAMER_CFLAGS
670 PULSE_LIBS
671 PULSE_CFLAGS
672 GETTEXTPO_LIBS
673 Z_LIBS
674 FREETYPE_LIBS
675 FREETYPE_CFLAGS
676 LCMS2_LIBS
677 LCMS2_CFLAGS
678 RESOLV_LIBS
679 GPHOTO2_PORT_LIBS
680 GPHOTO2_PORT_CFLAGS
681 GPHOTO2_LIBS
682 GPHOTO2_CFLAGS
683 SANE_LIBS
684 SANE_CFLAGS
685 GNUTLS_LIBS
686 GNUTLS_CFLAGS
687 HAL_LIBS
688 HAL_CFLAGS
689 DBUS_LIBS
690 DBUS_CFLAGS
691 XSLT_LIBS
692 XSLT_CFLAGS
693 XML2_LIBS
694 XML2_CFLAGS
695 PCAP_LIBS
696 X_EXTRA_LIBS
697 X_LIBS
698 X_PRE_LIBS
699 X_CFLAGS
700 XMKMF
701 PTHREAD_LIBS
702 CROSSCFLAGS
703 CROSSCC
704 CROSSTARGET
705 PRELINK
706 WINELOADER_DEPENDS
707 METAL_LIBS
708 CARBON_LIBS
709 QUICKTIME_LIBS
710 OPENCL_LIBS
711 OPENAL_LIBS
712 COREAUDIO_LIBS
713 SECURITY_LIBS
714 DISKARBITRATION_LIBS
715 APPKIT_LIBS
716 CORESERVICES_LIBS
717 APPLICATIONSERVICES_LIBS
718 FORCEFEEDBACK_LIBS
719 IOKIT_LIBS
720 COREFOUNDATION_LIBS
721 OBJCPP
722 ac_ct_OBJC
723 OBJCFLAGS
724 OBJC
725 LIBWINE_DEPENDS
726 LIBWINE_LDFLAGS
727 LIBWINE_IMPORTLIB
728 LIBWINE_SHAREDLIB
729 DLLTOOL
730 WINELOADER_PROGRAMS
731 CONFIGURE_TARGETS
732 DISABLED_SUBDIRS
733 SUBDIRS
734 READELF
735 OTOOL
737 WINEPRELOADER_LDFLAGS
738 WINELOADER_LDFLAGS
739 TOP_INSTALL_DEV
740 TOP_INSTALL_LIB
741 LDEXECFLAGS
742 LDRPATH_LOCAL
743 LDRPATH_INSTALL
744 DLLFLAGS
746 OPENGL_LIBS
747 ICOTOOL
748 CONVERT
749 RSVG
750 FONTFORGE
751 PKG_CONFIG
752 MSGFMT
753 LDCONFIG
754 EGREP
755 GREP
756 LN_S
757 RANLIB
758 STRIP
759 ac_ct_AR
761 BISON
762 FLEX
763 TOOLSDIR
764 TARGETFLAGS
766 CPPBIN
767 ac_ct_CXX
768 CXXFLAGS
770 OBJEXT
771 EXEEXT
772 ac_ct_CC
773 CPPFLAGS
774 LDFLAGS
775 CFLAGS
777 SET_MAKE
778 host_os
779 host_vendor
780 host_cpu
781 host
782 build_os
783 build_vendor
784 build_cpu
785 build
786 target_alias
787 host_alias
788 build_alias
789 LIBS
790 ECHO_T
791 ECHO_N
792 ECHO_C
793 DEFS
794 mandir
795 localedir
796 libdir
797 psdir
798 pdfdir
799 dvidir
800 htmldir
801 infodir
802 docdir
803 oldincludedir
804 includedir
805 runstatedir
806 localstatedir
807 sharedstatedir
808 sysconfdir
809 datadir
810 datarootdir
811 libexecdir
812 sbindir
813 bindir
814 program_transform_name
815 prefix
816 exec_prefix
817 PACKAGE_URL
818 PACKAGE_BUGREPORT
819 PACKAGE_STRING
820 PACKAGE_VERSION
821 PACKAGE_TARNAME
822 PACKAGE_NAME
823 PATH_SEPARATOR
824 SHELL'
825 ac_subst_files=''
826 ac_user_opts='
827 enable_option_checking
828 enable_win16
829 enable_win64
830 enable_tests
831 enable_maintainer_mode
832 with_alsa
833 with_capi
834 with_cms
835 with_coreaudio
836 with_cups
837 with_curses
838 with_dbus
839 with_float_abi
840 with_fontconfig
841 with_freetype
842 with_gettext
843 with_gettextpo
844 with_gphoto
845 with_glu
846 with_gnutls
847 with_gsm
848 with_gssapi
849 with_gstreamer
850 with_hal
851 with_jpeg
852 with_krb5
853 with_ldap
854 with_mpg123
855 with_netapi
856 with_openal
857 with_opencl
858 with_opengl
859 with_osmesa
860 with_oss
861 with_pcap
862 with_png
863 with_pthread
864 with_pulse
865 with_sane
866 with_sdl
867 with_tiff
868 with_udev
869 with_v4l
870 with_vkd3d
871 with_vulkan
872 with_xcomposite
873 with_xcursor
874 with_xfixes
875 with_xinerama
876 with_xinput
877 with_xinput2
878 with_xml
879 with_xrandr
880 with_xrender
881 with_xshape
882 with_xshm
883 with_xslt
884 with_xxf86vm
885 with_zlib
886 with_wine_tools
887 with_wine64
888 enable_largefile
889 with_x
890 enable_acledit
891 enable_aclui
892 enable_activeds
893 enable_actxprxy
894 enable_adsiid
895 enable_adsldp
896 enable_adsldpc
897 enable_advapi32
898 enable_advpack
899 enable_amstream
900 enable_api_ms_win_appmodel_identity_l1_1_0
901 enable_api_ms_win_appmodel_runtime_l1_1_1
902 enable_api_ms_win_appmodel_runtime_l1_1_2
903 enable_api_ms_win_core_apiquery_l1_1_0
904 enable_api_ms_win_core_appcompat_l1_1_1
905 enable_api_ms_win_core_appinit_l1_1_0
906 enable_api_ms_win_core_atoms_l1_1_0
907 enable_api_ms_win_core_bem_l1_1_0
908 enable_api_ms_win_core_com_l1_1_0
909 enable_api_ms_win_core_com_l1_1_1
910 enable_api_ms_win_core_com_private_l1_1_0
911 enable_api_ms_win_core_comm_l1_1_0
912 enable_api_ms_win_core_console_l1_1_0
913 enable_api_ms_win_core_console_l2_1_0
914 enable_api_ms_win_core_crt_l1_1_0
915 enable_api_ms_win_core_crt_l2_1_0
916 enable_api_ms_win_core_datetime_l1_1_0
917 enable_api_ms_win_core_datetime_l1_1_1
918 enable_api_ms_win_core_debug_l1_1_0
919 enable_api_ms_win_core_debug_l1_1_1
920 enable_api_ms_win_core_delayload_l1_1_0
921 enable_api_ms_win_core_delayload_l1_1_1
922 enable_api_ms_win_core_errorhandling_l1_1_0
923 enable_api_ms_win_core_errorhandling_l1_1_1
924 enable_api_ms_win_core_errorhandling_l1_1_2
925 enable_api_ms_win_core_errorhandling_l1_1_3
926 enable_api_ms_win_core_fibers_l1_1_0
927 enable_api_ms_win_core_fibers_l1_1_1
928 enable_api_ms_win_core_file_l1_1_0
929 enable_api_ms_win_core_file_l1_2_0
930 enable_api_ms_win_core_file_l1_2_1
931 enable_api_ms_win_core_file_l1_2_2
932 enable_api_ms_win_core_file_l2_1_0
933 enable_api_ms_win_core_file_l2_1_1
934 enable_api_ms_win_core_file_l2_1_2
935 enable_api_ms_win_core_handle_l1_1_0
936 enable_api_ms_win_core_heap_l1_1_0
937 enable_api_ms_win_core_heap_l1_2_0
938 enable_api_ms_win_core_heap_l2_1_0
939 enable_api_ms_win_core_heap_obsolete_l1_1_0
940 enable_api_ms_win_core_interlocked_l1_1_0
941 enable_api_ms_win_core_interlocked_l1_2_0
942 enable_api_ms_win_core_io_l1_1_0
943 enable_api_ms_win_core_io_l1_1_1
944 enable_api_ms_win_core_job_l1_1_0
945 enable_api_ms_win_core_job_l2_1_0
946 enable_api_ms_win_core_kernel32_legacy_l1_1_0
947 enable_api_ms_win_core_kernel32_legacy_l1_1_1
948 enable_api_ms_win_core_kernel32_private_l1_1_1
949 enable_api_ms_win_core_largeinteger_l1_1_0
950 enable_api_ms_win_core_libraryloader_l1_1_0
951 enable_api_ms_win_core_libraryloader_l1_1_1
952 enable_api_ms_win_core_libraryloader_l1_2_0
953 enable_api_ms_win_core_libraryloader_l1_2_1
954 enable_api_ms_win_core_libraryloader_l1_2_2
955 enable_api_ms_win_core_localization_l1_1_0
956 enable_api_ms_win_core_localization_l1_2_0
957 enable_api_ms_win_core_localization_l1_2_1
958 enable_api_ms_win_core_localization_l2_1_0
959 enable_api_ms_win_core_localization_obsolete_l1_1_0
960 enable_api_ms_win_core_localization_obsolete_l1_2_0
961 enable_api_ms_win_core_localization_obsolete_l1_3_0
962 enable_api_ms_win_core_localization_private_l1_1_0
963 enable_api_ms_win_core_localregistry_l1_1_0
964 enable_api_ms_win_core_memory_l1_1_0
965 enable_api_ms_win_core_memory_l1_1_1
966 enable_api_ms_win_core_memory_l1_1_2
967 enable_api_ms_win_core_misc_l1_1_0
968 enable_api_ms_win_core_namedpipe_l1_1_0
969 enable_api_ms_win_core_namedpipe_l1_2_0
970 enable_api_ms_win_core_namespace_l1_1_0
971 enable_api_ms_win_core_normalization_l1_1_0
972 enable_api_ms_win_core_path_l1_1_0
973 enable_api_ms_win_core_privateprofile_l1_1_1
974 enable_api_ms_win_core_processenvironment_l1_1_0
975 enable_api_ms_win_core_processenvironment_l1_2_0
976 enable_api_ms_win_core_processthreads_l1_1_0
977 enable_api_ms_win_core_processthreads_l1_1_1
978 enable_api_ms_win_core_processthreads_l1_1_2
979 enable_api_ms_win_core_processthreads_l1_1_3
980 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
981 enable_api_ms_win_core_profile_l1_1_0
982 enable_api_ms_win_core_psapi_ansi_l1_1_0
983 enable_api_ms_win_core_psapi_l1_1_0
984 enable_api_ms_win_core_psapi_obsolete_l1_1_0
985 enable_api_ms_win_core_quirks_l1_1_0
986 enable_api_ms_win_core_realtime_l1_1_0
987 enable_api_ms_win_core_registry_l1_1_0
988 enable_api_ms_win_core_registry_l2_1_0
989 enable_api_ms_win_core_registryuserspecific_l1_1_0
990 enable_api_ms_win_core_rtlsupport_l1_1_0
991 enable_api_ms_win_core_rtlsupport_l1_2_0
992 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
993 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
994 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
995 enable_api_ms_win_core_shutdown_l1_1_0
996 enable_api_ms_win_core_sidebyside_l1_1_0
997 enable_api_ms_win_core_string_l1_1_0
998 enable_api_ms_win_core_string_l2_1_0
999 enable_api_ms_win_core_string_obsolete_l1_1_0
1000 enable_api_ms_win_core_stringansi_l1_1_0
1001 enable_api_ms_win_core_stringloader_l1_1_1
1002 enable_api_ms_win_core_synch_ansi_l1_1_0
1003 enable_api_ms_win_core_synch_l1_1_0
1004 enable_api_ms_win_core_synch_l1_2_0
1005 enable_api_ms_win_core_synch_l1_2_1
1006 enable_api_ms_win_core_sysinfo_l1_1_0
1007 enable_api_ms_win_core_sysinfo_l1_2_0
1008 enable_api_ms_win_core_sysinfo_l1_2_1
1009 enable_api_ms_win_core_threadpool_l1_1_0
1010 enable_api_ms_win_core_threadpool_l1_2_0
1011 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1012 enable_api_ms_win_core_threadpool_private_l1_1_0
1013 enable_api_ms_win_core_timezone_l1_1_0
1014 enable_api_ms_win_core_toolhelp_l1_1_0
1015 enable_api_ms_win_core_url_l1_1_0
1016 enable_api_ms_win_core_util_l1_1_0
1017 enable_api_ms_win_core_version_l1_1_0
1018 enable_api_ms_win_core_version_l1_1_1
1019 enable_api_ms_win_core_version_private_l1_1_0
1020 enable_api_ms_win_core_versionansi_l1_1_0
1021 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1022 enable_api_ms_win_core_winrt_error_l1_1_0
1023 enable_api_ms_win_core_winrt_error_l1_1_1
1024 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1025 enable_api_ms_win_core_winrt_l1_1_0
1026 enable_api_ms_win_core_winrt_registration_l1_1_0
1027 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1028 enable_api_ms_win_core_winrt_string_l1_1_0
1029 enable_api_ms_win_core_winrt_string_l1_1_1
1030 enable_api_ms_win_core_wow64_l1_1_0
1031 enable_api_ms_win_core_wow64_l1_1_1
1032 enable_api_ms_win_core_xstate_l1_1_0
1033 enable_api_ms_win_core_xstate_l2_1_0
1034 enable_api_ms_win_crt_conio_l1_1_0
1035 enable_api_ms_win_crt_convert_l1_1_0
1036 enable_api_ms_win_crt_environment_l1_1_0
1037 enable_api_ms_win_crt_filesystem_l1_1_0
1038 enable_api_ms_win_crt_heap_l1_1_0
1039 enable_api_ms_win_crt_locale_l1_1_0
1040 enable_api_ms_win_crt_math_l1_1_0
1041 enable_api_ms_win_crt_multibyte_l1_1_0
1042 enable_api_ms_win_crt_private_l1_1_0
1043 enable_api_ms_win_crt_process_l1_1_0
1044 enable_api_ms_win_crt_runtime_l1_1_0
1045 enable_api_ms_win_crt_stdio_l1_1_0
1046 enable_api_ms_win_crt_string_l1_1_0
1047 enable_api_ms_win_crt_time_l1_1_0
1048 enable_api_ms_win_crt_utility_l1_1_0
1049 enable_api_ms_win_devices_config_l1_1_0
1050 enable_api_ms_win_devices_config_l1_1_1
1051 enable_api_ms_win_devices_query_l1_1_1
1052 enable_api_ms_win_downlevel_advapi32_l1_1_0
1053 enable_api_ms_win_downlevel_advapi32_l2_1_0
1054 enable_api_ms_win_downlevel_normaliz_l1_1_0
1055 enable_api_ms_win_downlevel_ole32_l1_1_0
1056 enable_api_ms_win_downlevel_shell32_l1_1_0
1057 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1058 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1059 enable_api_ms_win_downlevel_user32_l1_1_0
1060 enable_api_ms_win_downlevel_version_l1_1_0
1061 enable_api_ms_win_dx_d3dkmt_l1_1_0
1062 enable_api_ms_win_eventing_classicprovider_l1_1_0
1063 enable_api_ms_win_eventing_consumer_l1_1_0
1064 enable_api_ms_win_eventing_controller_l1_1_0
1065 enable_api_ms_win_eventing_legacy_l1_1_0
1066 enable_api_ms_win_eventing_provider_l1_1_0
1067 enable_api_ms_win_eventlog_legacy_l1_1_0
1068 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1069 enable_api_ms_win_mm_joystick_l1_1_0
1070 enable_api_ms_win_mm_misc_l1_1_1
1071 enable_api_ms_win_mm_mme_l1_1_0
1072 enable_api_ms_win_mm_time_l1_1_0
1073 enable_api_ms_win_ntuser_dc_access_l1_1_0
1074 enable_api_ms_win_ntuser_rectangle_l1_1_0
1075 enable_api_ms_win_ntuser_sysparams_l1_1_0
1076 enable_api_ms_win_perf_legacy_l1_1_0
1077 enable_api_ms_win_power_base_l1_1_0
1078 enable_api_ms_win_power_setting_l1_1_0
1079 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1080 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1081 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1082 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1083 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1084 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1085 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1086 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1087 enable_api_ms_win_security_audit_l1_1_1
1088 enable_api_ms_win_security_base_l1_1_0
1089 enable_api_ms_win_security_base_l1_2_0
1090 enable_api_ms_win_security_base_private_l1_1_1
1091 enable_api_ms_win_security_credentials_l1_1_0
1092 enable_api_ms_win_security_cryptoapi_l1_1_0
1093 enable_api_ms_win_security_grouppolicy_l1_1_0
1094 enable_api_ms_win_security_lsalookup_l1_1_0
1095 enable_api_ms_win_security_lsalookup_l1_1_1
1096 enable_api_ms_win_security_lsalookup_l2_1_0
1097 enable_api_ms_win_security_lsalookup_l2_1_1
1098 enable_api_ms_win_security_lsapolicy_l1_1_0
1099 enable_api_ms_win_security_provider_l1_1_0
1100 enable_api_ms_win_security_sddl_l1_1_0
1101 enable_api_ms_win_security_systemfunctions_l1_1_0
1102 enable_api_ms_win_service_core_l1_1_0
1103 enable_api_ms_win_service_core_l1_1_1
1104 enable_api_ms_win_service_management_l1_1_0
1105 enable_api_ms_win_service_management_l2_1_0
1106 enable_api_ms_win_service_private_l1_1_1
1107 enable_api_ms_win_service_winsvc_l1_1_0
1108 enable_api_ms_win_service_winsvc_l1_2_0
1109 enable_api_ms_win_shcore_obsolete_l1_1_0
1110 enable_api_ms_win_shcore_scaling_l1_1_1
1111 enable_api_ms_win_shcore_stream_l1_1_0
1112 enable_api_ms_win_shcore_thread_l1_1_0
1113 enable_api_ms_win_shell_shellcom_l1_1_0
1114 enable_api_ms_win_shell_shellfolders_l1_1_0
1115 enable_apphelp
1116 enable_appwiz_cpl
1117 enable_atl
1118 enable_atl100
1119 enable_atl110
1120 enable_atl80
1121 enable_atl90
1122 enable_atlthunk
1123 enable_atmlib
1124 enable_authz
1125 enable_avicap32
1126 enable_avifil32
1127 enable_avrt
1128 enable_bcrypt
1129 enable_bluetoothapis
1130 enable_browseui
1131 enable_bthprops_cpl
1132 enable_cabinet
1133 enable_capi2032
1134 enable_cards
1135 enable_cdosys
1136 enable_cfgmgr32
1137 enable_clusapi
1138 enable_combase
1139 enable_comcat
1140 enable_comctl32
1141 enable_comdlg32
1142 enable_compstui
1143 enable_comsvcs
1144 enable_concrt140
1145 enable_connect
1146 enable_credui
1147 enable_crtdll
1148 enable_crypt32
1149 enable_cryptdlg
1150 enable_cryptdll
1151 enable_cryptext
1152 enable_cryptnet
1153 enable_cryptui
1154 enable_ctapi32
1155 enable_ctl3d32
1156 enable_d2d1
1157 enable_d3d10
1158 enable_d3d10_1
1159 enable_d3d10core
1160 enable_d3d11
1161 enable_d3d12
1162 enable_d3d8
1163 enable_d3d9
1164 enable_d3dcompiler_33
1165 enable_d3dcompiler_34
1166 enable_d3dcompiler_35
1167 enable_d3dcompiler_36
1168 enable_d3dcompiler_37
1169 enable_d3dcompiler_38
1170 enable_d3dcompiler_39
1171 enable_d3dcompiler_40
1172 enable_d3dcompiler_41
1173 enable_d3dcompiler_42
1174 enable_d3dcompiler_43
1175 enable_d3dcompiler_46
1176 enable_d3dcompiler_47
1177 enable_d3dim
1178 enable_d3drm
1179 enable_d3dx10_33
1180 enable_d3dx10_34
1181 enable_d3dx10_35
1182 enable_d3dx10_36
1183 enable_d3dx10_37
1184 enable_d3dx10_38
1185 enable_d3dx10_39
1186 enable_d3dx10_40
1187 enable_d3dx10_41
1188 enable_d3dx10_42
1189 enable_d3dx10_43
1190 enable_d3dx11_42
1191 enable_d3dx11_43
1192 enable_d3dx9_24
1193 enable_d3dx9_25
1194 enable_d3dx9_26
1195 enable_d3dx9_27
1196 enable_d3dx9_28
1197 enable_d3dx9_29
1198 enable_d3dx9_30
1199 enable_d3dx9_31
1200 enable_d3dx9_32
1201 enable_d3dx9_33
1202 enable_d3dx9_34
1203 enable_d3dx9_35
1204 enable_d3dx9_36
1205 enable_d3dx9_37
1206 enable_d3dx9_38
1207 enable_d3dx9_39
1208 enable_d3dx9_40
1209 enable_d3dx9_41
1210 enable_d3dx9_42
1211 enable_d3dx9_43
1212 enable_d3dxof
1213 enable_davclnt
1214 enable_dbgeng
1215 enable_dbghelp
1216 enable_dciman32
1217 enable_ddraw
1218 enable_ddrawex
1219 enable_devenum
1220 enable_dhcpcsvc
1221 enable_dhtmled_ocx
1222 enable_difxapi
1223 enable_dinput
1224 enable_dinput8
1225 enable_dispex
1226 enable_dmband
1227 enable_dmcompos
1228 enable_dmime
1229 enable_dmloader
1230 enable_dmoguids
1231 enable_dmscript
1232 enable_dmstyle
1233 enable_dmsynth
1234 enable_dmusic
1235 enable_dmusic32
1236 enable_dnsapi
1237 enable_dplay
1238 enable_dplayx
1239 enable_dpnaddr
1240 enable_dpnet
1241 enable_dpnhpast
1242 enable_dpnlobby
1243 enable_dpvoice
1244 enable_dpwsockx
1245 enable_drmclien
1246 enable_dsound
1247 enable_dsquery
1248 enable_dssenh
1249 enable_dswave
1250 enable_dwmapi
1251 enable_dwrite
1252 enable_dx8vb
1253 enable_dxdiagn
1254 enable_dxerr8
1255 enable_dxerr9
1256 enable_dxgi
1257 enable_dxguid
1258 enable_dxva2
1259 enable_esent
1260 enable_evr
1261 enable_explorerframe
1262 enable_ext_ms_win_authz_context_l1_1_0
1263 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1264 enable_ext_ms_win_dwmapi_ext_l1_1_0
1265 enable_ext_ms_win_gdi_dc_create_l1_1_0
1266 enable_ext_ms_win_gdi_dc_create_l1_1_1
1267 enable_ext_ms_win_gdi_dc_l1_2_0
1268 enable_ext_ms_win_gdi_devcaps_l1_1_0
1269 enable_ext_ms_win_gdi_draw_l1_1_0
1270 enable_ext_ms_win_gdi_draw_l1_1_1
1271 enable_ext_ms_win_gdi_font_l1_1_0
1272 enable_ext_ms_win_gdi_font_l1_1_1
1273 enable_ext_ms_win_gdi_render_l1_1_0
1274 enable_ext_ms_win_kernel32_package_current_l1_1_0
1275 enable_ext_ms_win_kernel32_package_l1_1_1
1276 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1277 enable_ext_ms_win_ntuser_draw_l1_1_0
1278 enable_ext_ms_win_ntuser_gui_l1_1_0
1279 enable_ext_ms_win_ntuser_gui_l1_3_0
1280 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1281 enable_ext_ms_win_ntuser_message_l1_1_0
1282 enable_ext_ms_win_ntuser_message_l1_1_1
1283 enable_ext_ms_win_ntuser_misc_l1_1_0
1284 enable_ext_ms_win_ntuser_misc_l1_2_0
1285 enable_ext_ms_win_ntuser_misc_l1_5_1
1286 enable_ext_ms_win_ntuser_mouse_l1_1_0
1287 enable_ext_ms_win_ntuser_private_l1_1_1
1288 enable_ext_ms_win_ntuser_private_l1_3_1
1289 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1290 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1291 enable_ext_ms_win_ntuser_window_l1_1_0
1292 enable_ext_ms_win_ntuser_window_l1_1_1
1293 enable_ext_ms_win_ntuser_window_l1_1_4
1294 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1295 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1296 enable_ext_ms_win_oleacc_l1_1_0
1297 enable_ext_ms_win_ras_rasapi32_l1_1_0
1298 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1299 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1300 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1301 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1302 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1303 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1304 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1305 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1306 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1307 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1308 enable_ext_ms_win_security_credui_l1_1_0
1309 enable_ext_ms_win_security_cryptui_l1_1_0
1310 enable_ext_ms_win_uxtheme_themes_l1_1_0
1311 enable_faultrep
1312 enable_feclient
1313 enable_fltlib
1314 enable_fltmgr_sys
1315 enable_fntcache
1316 enable_fontsub
1317 enable_fusion
1318 enable_fwpuclnt
1319 enable_gameux
1320 enable_gdi32
1321 enable_gdiplus
1322 enable_glu32
1323 enable_gphoto2_ds
1324 enable_gpkcsp
1325 enable_hal
1326 enable_hhctrl_ocx
1327 enable_hid
1328 enable_hidclass_sys
1329 enable_hlink
1330 enable_hnetcfg
1331 enable_httpapi
1332 enable_iccvid
1333 enable_icmp
1334 enable_ieframe
1335 enable_ieproxy
1336 enable_imaadp32_acm
1337 enable_imagehlp
1338 enable_imm32
1339 enable_inetcomm
1340 enable_inetcpl_cpl
1341 enable_inetmib1
1342 enable_infosoft
1343 enable_initpki
1344 enable_inkobj
1345 enable_inseng
1346 enable_iphlpapi
1347 enable_iprop
1348 enable_irprops_cpl
1349 enable_itircl
1350 enable_itss
1351 enable_joy_cpl
1352 enable_jscript
1353 enable_jsproxy
1354 enable_kerberos
1355 enable_kernel32
1356 enable_kernelbase
1357 enable_ksuser
1358 enable_ktmw32
1359 enable_l3codeca_acm
1360 enable_loadperf
1361 enable_localspl
1362 enable_localui
1363 enable_lz32
1364 enable_mapi32
1365 enable_mapistub
1366 enable_mciavi32
1367 enable_mcicda
1368 enable_mciqtz32
1369 enable_mciseq
1370 enable_mciwave
1371 enable_mf
1372 enable_mf3216
1373 enable_mfplat
1374 enable_mfreadwrite
1375 enable_mfuuid
1376 enable_mgmtapi
1377 enable_midimap
1378 enable_mlang
1379 enable_mmcndmgr
1380 enable_mmdevapi
1381 enable_mountmgr_sys
1382 enable_mp3dmod
1383 enable_mpr
1384 enable_mprapi
1385 enable_msacm32_drv
1386 enable_msacm32
1387 enable_msadp32_acm
1388 enable_msasn1
1389 enable_mscat32
1390 enable_mscms
1391 enable_mscoree
1392 enable_msctf
1393 enable_msctfp
1394 enable_msdaps
1395 enable_msdelta
1396 enable_msdmo
1397 enable_msdrm
1398 enable_msftedit
1399 enable_msg711_acm
1400 enable_msgsm32_acm
1401 enable_mshtml_tlb
1402 enable_mshtml
1403 enable_msi
1404 enable_msident
1405 enable_msimg32
1406 enable_msimsg
1407 enable_msimtf
1408 enable_msisip
1409 enable_msisys_ocx
1410 enable_msls31
1411 enable_msnet32
1412 enable_mspatcha
1413 enable_msports
1414 enable_msrle32
1415 enable_msscript_ocx
1416 enable_mssign32
1417 enable_mssip32
1418 enable_mstask
1419 enable_msvcirt
1420 enable_msvcm80
1421 enable_msvcm90
1422 enable_msvcp100
1423 enable_msvcp110
1424 enable_msvcp120
1425 enable_msvcp120_app
1426 enable_msvcp140
1427 enable_msvcp60
1428 enable_msvcp70
1429 enable_msvcp71
1430 enable_msvcp80
1431 enable_msvcp90
1432 enable_msvcr100
1433 enable_msvcr110
1434 enable_msvcr120
1435 enable_msvcr120_app
1436 enable_msvcr70
1437 enable_msvcr71
1438 enable_msvcr80
1439 enable_msvcr90
1440 enable_msvcrt
1441 enable_msvcrt20
1442 enable_msvcrt40
1443 enable_msvcrtd
1444 enable_msvfw32
1445 enable_msvidc32
1446 enable_mswsock
1447 enable_msxml
1448 enable_msxml2
1449 enable_msxml3
1450 enable_msxml4
1451 enable_msxml6
1452 enable_mtxdm
1453 enable_ncrypt
1454 enable_nddeapi
1455 enable_ndis_sys
1456 enable_netapi32
1457 enable_netcfgx
1458 enable_netprofm
1459 enable_newdev
1460 enable_ninput
1461 enable_normaliz
1462 enable_npmshtml
1463 enable_npptools
1464 enable_ntdll
1465 enable_ntdsapi
1466 enable_ntoskrnl_exe
1467 enable_ntprint
1468 enable_objsel
1469 enable_odbc32
1470 enable_odbccp32
1471 enable_odbccu32
1472 enable_ole32
1473 enable_oleacc
1474 enable_oleaut32
1475 enable_olecli32
1476 enable_oledb32
1477 enable_oledlg
1478 enable_olepro32
1479 enable_olesvr32
1480 enable_olethk32
1481 enable_opcservices
1482 enable_openal32
1483 enable_opencl
1484 enable_opengl32
1485 enable_packager
1486 enable_pdh
1487 enable_photometadatahandler
1488 enable_pidgen
1489 enable_powrprof
1490 enable_printui
1491 enable_prntvpt
1492 enable_propsys
1493 enable_psapi
1494 enable_pstorec
1495 enable_qcap
1496 enable_qedit
1497 enable_qmgr
1498 enable_qmgrprxy
1499 enable_quartz
1500 enable_query
1501 enable_qwave
1502 enable_rasapi32
1503 enable_rasdlg
1504 enable_regapi
1505 enable_resutils
1506 enable_riched20
1507 enable_riched32
1508 enable_rpcrt4
1509 enable_rsabase
1510 enable_rsaenh
1511 enable_rstrtmgr
1512 enable_rtutils
1513 enable_samlib
1514 enable_sane_ds
1515 enable_sapi
1516 enable_sas
1517 enable_scarddlg
1518 enable_sccbase
1519 enable_schannel
1520 enable_schedsvc
1521 enable_scrobj
1522 enable_scrrun
1523 enable_scsiport_sys
1524 enable_secur32
1525 enable_security
1526 enable_sensapi
1527 enable_serialui
1528 enable_setupapi
1529 enable_sfc
1530 enable_sfc_os
1531 enable_shcore
1532 enable_shdoclc
1533 enable_shdocvw
1534 enable_shell32
1535 enable_shfolder
1536 enable_shlwapi
1537 enable_slbcsp
1538 enable_slc
1539 enable_snmpapi
1540 enable_softpub
1541 enable_spoolss
1542 enable_srclient
1543 enable_sspicli
1544 enable_stdole2_tlb
1545 enable_stdole32_tlb
1546 enable_sti
1547 enable_strmbase
1548 enable_strmdll
1549 enable_strmiids
1550 enable_svrapi
1551 enable_sxs
1552 enable_t2embed
1553 enable_tapi32
1554 enable_taskschd
1555 enable_tdh
1556 enable_tdi_sys
1557 enable_traffic
1558 enable_twain_32
1559 enable_tzres
1560 enable_ucrtbase
1561 enable_uiautomationcore
1562 enable_uiribbon
1563 enable_unicows
1564 enable_updspapi
1565 enable_url
1566 enable_urlmon
1567 enable_usbd_sys
1568 enable_user32
1569 enable_userenv
1570 enable_usp10
1571 enable_uuid
1572 enable_uxtheme
1573 enable_vbscript
1574 enable_vcomp
1575 enable_vcomp100
1576 enable_vcomp110
1577 enable_vcomp120
1578 enable_vcomp140
1579 enable_vcomp90
1580 enable_vcruntime140
1581 enable_vdmdbg
1582 enable_version
1583 enable_virtdisk
1584 enable_vssapi
1585 enable_vulkan_1
1586 enable_wbemdisp
1587 enable_wbemprox
1588 enable_wdscore
1589 enable_webservices
1590 enable_wer
1591 enable_wevtapi
1592 enable_wiaservc
1593 enable_wimgapi
1594 enable_windowscodecs
1595 enable_windowscodecsext
1596 enable_winealsa_drv
1597 enable_wineandroid_drv
1598 enable_winebus_sys
1599 enable_winecoreaudio_drv
1600 enable_winecrt0
1601 enable_wined3d
1602 enable_winegstreamer
1603 enable_winehid_sys
1604 enable_winejoystick_drv
1605 enable_winemac_drv
1606 enable_winemapi
1607 enable_wineoss_drv
1608 enable_wineps_drv
1609 enable_winepulse_drv
1610 enable_wineqtdecoder
1611 enable_winevulkan
1612 enable_winex11_drv
1613 enable_wing32
1614 enable_winhttp
1615 enable_wininet
1616 enable_winmm
1617 enable_winnls32
1618 enable_winscard
1619 enable_winspool_drv
1620 enable_winsta
1621 enable_wintab32
1622 enable_wintrust
1623 enable_winusb
1624 enable_wlanapi
1625 enable_wldap32
1626 enable_wmasf
1627 enable_wmcodecdspuuid
1628 enable_wmi
1629 enable_wmiutils
1630 enable_wmp
1631 enable_wmphoto
1632 enable_wmvcore
1633 enable_wnaspi32
1634 enable_wpc
1635 enable_wpcap
1636 enable_ws2_32
1637 enable_wsdapi
1638 enable_wshom_ocx
1639 enable_wsnmp32
1640 enable_wsock32
1641 enable_wtsapi32
1642 enable_wuapi
1643 enable_wuaueng
1644 enable_x3daudio1_0
1645 enable_x3daudio1_1
1646 enable_x3daudio1_2
1647 enable_x3daudio1_3
1648 enable_x3daudio1_4
1649 enable_x3daudio1_5
1650 enable_x3daudio1_6
1651 enable_x3daudio1_7
1652 enable_xapofx1_1
1653 enable_xapofx1_2
1654 enable_xapofx1_3
1655 enable_xapofx1_4
1656 enable_xapofx1_5
1657 enable_xaudio2_0
1658 enable_xaudio2_1
1659 enable_xaudio2_2
1660 enable_xaudio2_3
1661 enable_xaudio2_4
1662 enable_xaudio2_5
1663 enable_xaudio2_6
1664 enable_xaudio2_7
1665 enable_xaudio2_8
1666 enable_xaudio2_9
1667 enable_xinput1_1
1668 enable_xinput1_2
1669 enable_xinput1_3
1670 enable_xinput1_4
1671 enable_xinput9_1_0
1672 enable_xmllite
1673 enable_xolehlp
1674 enable_xpsprint
1675 enable_xpssvcs
1676 enable_fonts
1677 enable_include
1678 enable_port
1679 enable_wine
1680 enable_wpp
1681 enable_loader
1682 enable_po
1683 enable_arp
1684 enable_aspnet_regiis
1685 enable_attrib
1686 enable_cabarc
1687 enable_cacls
1688 enable_clock
1689 enable_cmd
1690 enable_conhost
1691 enable_control
1692 enable_cscript
1693 enable_dism
1694 enable_dpnsvr
1695 enable_dxdiag
1696 enable_eject
1697 enable_expand
1698 enable_explorer
1699 enable_extrac32
1700 enable_fc
1701 enable_find
1702 enable_findstr
1703 enable_fsutil
1704 enable_hh
1705 enable_hostname
1706 enable_icacls
1707 enable_icinfo
1708 enable_iexplore
1709 enable_ipconfig
1710 enable_lodctr
1711 enable_mofcomp
1712 enable_mshta
1713 enable_msiexec
1714 enable_msinfo32
1715 enable_net
1716 enable_netsh
1717 enable_netstat
1718 enable_ngen
1719 enable_notepad
1720 enable_oleview
1721 enable_ping
1722 enable_plugplay
1723 enable_powershell
1724 enable_presentationfontcache
1725 enable_progman
1726 enable_reg
1727 enable_regasm
1728 enable_regedit
1729 enable_regsvcs
1730 enable_regsvr32
1731 enable_rpcss
1732 enable_rundll32
1733 enable_sc
1734 enable_schtasks
1735 enable_sdbinst
1736 enable_secedit
1737 enable_servicemodelreg
1738 enable_services
1739 enable_shutdown
1740 enable_spoolsv
1741 enable_start
1742 enable_subst
1743 enable_svchost
1744 enable_systeminfo
1745 enable_taskkill
1746 enable_tasklist
1747 enable_taskmgr
1748 enable_termsv
1749 enable_uninstaller
1750 enable_unlodctr
1751 enable_view
1752 enable_wevtutil
1753 enable_wineboot
1754 enable_winebrowser
1755 enable_winecfg
1756 enable_wineconsole
1757 enable_winedbg
1758 enable_winedevice
1759 enable_winefile
1760 enable_winemenubuilder
1761 enable_winemine
1762 enable_winemsibuilder
1763 enable_winepath
1764 enable_winetest
1765 enable_winhlp32
1766 enable_winmgmt
1767 enable_winver
1768 enable_wmic
1769 enable_wmplayer
1770 enable_wordpad
1771 enable_write
1772 enable_wscript
1773 enable_wusa
1774 enable_xcopy
1775 enable_server
1776 enable_tools
1777 enable_sfnt2fon
1778 enable_widl
1779 enable_winebuild
1780 enable_winedump
1781 enable_winegcc
1782 enable_winemaker
1783 enable_wmc
1784 enable_wrc
1786 ac_precious_vars='build_alias
1787 host_alias
1788 target_alias
1790 CFLAGS
1791 LDFLAGS
1792 LIBS
1793 CPPFLAGS
1795 CXXFLAGS
1798 OBJC
1799 OBJCFLAGS
1800 OBJCPP
1801 XMKMF
1802 XML2_CFLAGS
1803 XML2_LIBS
1804 XSLT_CFLAGS
1805 XSLT_LIBS
1806 DBUS_CFLAGS
1807 DBUS_LIBS
1808 HAL_CFLAGS
1809 HAL_LIBS
1810 GNUTLS_CFLAGS
1811 GNUTLS_LIBS
1812 SANE_CFLAGS
1813 SANE_LIBS
1814 GPHOTO2_CFLAGS
1815 GPHOTO2_LIBS
1816 GPHOTO2_PORT_CFLAGS
1817 GPHOTO2_PORT_LIBS
1818 LCMS2_CFLAGS
1819 LCMS2_LIBS
1820 FREETYPE_CFLAGS
1821 FREETYPE_LIBS
1822 PULSE_CFLAGS
1823 PULSE_LIBS
1824 GSTREAMER_CFLAGS
1825 GSTREAMER_LIBS
1826 UDEV_CFLAGS
1827 UDEV_LIBS
1828 SDL2_CFLAGS
1829 SDL2_LIBS
1830 CAPI20_CFLAGS
1831 CAPI20_LIBS
1832 CUPS_CFLAGS
1833 CUPS_LIBS
1834 FONTCONFIG_CFLAGS
1835 FONTCONFIG_LIBS
1836 KRB5_CFLAGS
1837 KRB5_LIBS
1838 GSSAPI_CFLAGS
1839 GSSAPI_LIBS
1840 JPEG_CFLAGS
1841 JPEG_LIBS
1842 PNG_CFLAGS
1843 PNG_LIBS
1844 TIFF_CFLAGS
1845 TIFF_LIBS
1846 MPG123_CFLAGS
1847 MPG123_LIBS
1848 NETAPI_CFLAGS
1849 NETAPI_LIBS
1850 VKD3D_CFLAGS
1851 VKD3D_LIBS
1852 LDAP_CFLAGS
1853 LDAP_LIBS'
1856 # Initialize some variables set by options.
1857 ac_init_help=
1858 ac_init_version=false
1859 ac_unrecognized_opts=
1860 ac_unrecognized_sep=
1861 # The variables have the same names as the options, with
1862 # dashes changed to underlines.
1863 cache_file=/dev/null
1864 exec_prefix=NONE
1865 no_create=
1866 no_recursion=
1867 prefix=NONE
1868 program_prefix=NONE
1869 program_suffix=NONE
1870 program_transform_name=s,x,x,
1871 silent=
1872 site=
1873 srcdir=
1874 verbose=
1875 x_includes=NONE
1876 x_libraries=NONE
1878 # Installation directory options.
1879 # These are left unexpanded so users can "make install exec_prefix=/foo"
1880 # and all the variables that are supposed to be based on exec_prefix
1881 # by default will actually change.
1882 # Use braces instead of parens because sh, perl, etc. also accept them.
1883 # (The list follows the same order as the GNU Coding Standards.)
1884 bindir='${exec_prefix}/bin'
1885 sbindir='${exec_prefix}/sbin'
1886 libexecdir='${exec_prefix}/libexec'
1887 datarootdir='${prefix}/share'
1888 datadir='${datarootdir}'
1889 sysconfdir='${prefix}/etc'
1890 sharedstatedir='${prefix}/com'
1891 localstatedir='${prefix}/var'
1892 runstatedir='${localstatedir}/run'
1893 includedir='${prefix}/include'
1894 oldincludedir='/usr/include'
1895 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1896 infodir='${datarootdir}/info'
1897 htmldir='${docdir}'
1898 dvidir='${docdir}'
1899 pdfdir='${docdir}'
1900 psdir='${docdir}'
1901 libdir='${exec_prefix}/lib'
1902 localedir='${datarootdir}/locale'
1903 mandir='${datarootdir}/man'
1905 ac_prev=
1906 ac_dashdash=
1907 for ac_option
1909 # If the previous option needs an argument, assign it.
1910 if test -n "$ac_prev"; then
1911 eval $ac_prev=\$ac_option
1912 ac_prev=
1913 continue
1916 case $ac_option in
1917 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1918 *=) ac_optarg= ;;
1919 *) ac_optarg=yes ;;
1920 esac
1922 # Accept the important Cygnus configure options, so we can diagnose typos.
1924 case $ac_dashdash$ac_option in
1926 ac_dashdash=yes ;;
1928 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1929 ac_prev=bindir ;;
1930 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1931 bindir=$ac_optarg ;;
1933 -build | --build | --buil | --bui | --bu)
1934 ac_prev=build_alias ;;
1935 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1936 build_alias=$ac_optarg ;;
1938 -cache-file | --cache-file | --cache-fil | --cache-fi \
1939 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1940 ac_prev=cache_file ;;
1941 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1942 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1943 cache_file=$ac_optarg ;;
1945 --config-cache | -C)
1946 cache_file=config.cache ;;
1948 -datadir | --datadir | --datadi | --datad)
1949 ac_prev=datadir ;;
1950 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1951 datadir=$ac_optarg ;;
1953 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1954 | --dataroo | --dataro | --datar)
1955 ac_prev=datarootdir ;;
1956 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1957 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1958 datarootdir=$ac_optarg ;;
1960 -disable-* | --disable-*)
1961 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1962 # Reject names that are not valid shell variable names.
1963 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1964 as_fn_error $? "invalid feature name: $ac_useropt"
1965 ac_useropt_orig=$ac_useropt
1966 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1967 case $ac_user_opts in
1969 "enable_$ac_useropt"
1970 "*) ;;
1971 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1972 ac_unrecognized_sep=', ';;
1973 esac
1974 eval enable_$ac_useropt=no ;;
1976 -docdir | --docdir | --docdi | --doc | --do)
1977 ac_prev=docdir ;;
1978 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1979 docdir=$ac_optarg ;;
1981 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1982 ac_prev=dvidir ;;
1983 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1984 dvidir=$ac_optarg ;;
1986 -enable-* | --enable-*)
1987 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1988 # Reject names that are not valid shell variable names.
1989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1990 as_fn_error $? "invalid feature name: $ac_useropt"
1991 ac_useropt_orig=$ac_useropt
1992 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1993 case $ac_user_opts in
1995 "enable_$ac_useropt"
1996 "*) ;;
1997 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1998 ac_unrecognized_sep=', ';;
1999 esac
2000 eval enable_$ac_useropt=\$ac_optarg ;;
2002 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2003 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2004 | --exec | --exe | --ex)
2005 ac_prev=exec_prefix ;;
2006 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2007 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2008 | --exec=* | --exe=* | --ex=*)
2009 exec_prefix=$ac_optarg ;;
2011 -gas | --gas | --ga | --g)
2012 # Obsolete; use --with-gas.
2013 with_gas=yes ;;
2015 -help | --help | --hel | --he | -h)
2016 ac_init_help=long ;;
2017 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2018 ac_init_help=recursive ;;
2019 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2020 ac_init_help=short ;;
2022 -host | --host | --hos | --ho)
2023 ac_prev=host_alias ;;
2024 -host=* | --host=* | --hos=* | --ho=*)
2025 host_alias=$ac_optarg ;;
2027 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2028 ac_prev=htmldir ;;
2029 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2030 | --ht=*)
2031 htmldir=$ac_optarg ;;
2033 -includedir | --includedir | --includedi | --included | --include \
2034 | --includ | --inclu | --incl | --inc)
2035 ac_prev=includedir ;;
2036 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2037 | --includ=* | --inclu=* | --incl=* | --inc=*)
2038 includedir=$ac_optarg ;;
2040 -infodir | --infodir | --infodi | --infod | --info | --inf)
2041 ac_prev=infodir ;;
2042 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2043 infodir=$ac_optarg ;;
2045 -libdir | --libdir | --libdi | --libd)
2046 ac_prev=libdir ;;
2047 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2048 libdir=$ac_optarg ;;
2050 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2051 | --libexe | --libex | --libe)
2052 ac_prev=libexecdir ;;
2053 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2054 | --libexe=* | --libex=* | --libe=*)
2055 libexecdir=$ac_optarg ;;
2057 -localedir | --localedir | --localedi | --localed | --locale)
2058 ac_prev=localedir ;;
2059 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2060 localedir=$ac_optarg ;;
2062 -localstatedir | --localstatedir | --localstatedi | --localstated \
2063 | --localstate | --localstat | --localsta | --localst | --locals)
2064 ac_prev=localstatedir ;;
2065 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2066 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2067 localstatedir=$ac_optarg ;;
2069 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2070 ac_prev=mandir ;;
2071 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2072 mandir=$ac_optarg ;;
2074 -nfp | --nfp | --nf)
2075 # Obsolete; use --without-fp.
2076 with_fp=no ;;
2078 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2079 | --no-cr | --no-c | -n)
2080 no_create=yes ;;
2082 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2083 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2084 no_recursion=yes ;;
2086 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2087 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2088 | --oldin | --oldi | --old | --ol | --o)
2089 ac_prev=oldincludedir ;;
2090 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2091 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2092 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2093 oldincludedir=$ac_optarg ;;
2095 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2096 ac_prev=prefix ;;
2097 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2098 prefix=$ac_optarg ;;
2100 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2101 | --program-pre | --program-pr | --program-p)
2102 ac_prev=program_prefix ;;
2103 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2104 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2105 program_prefix=$ac_optarg ;;
2107 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2108 | --program-suf | --program-su | --program-s)
2109 ac_prev=program_suffix ;;
2110 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2111 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2112 program_suffix=$ac_optarg ;;
2114 -program-transform-name | --program-transform-name \
2115 | --program-transform-nam | --program-transform-na \
2116 | --program-transform-n | --program-transform- \
2117 | --program-transform | --program-transfor \
2118 | --program-transfo | --program-transf \
2119 | --program-trans | --program-tran \
2120 | --progr-tra | --program-tr | --program-t)
2121 ac_prev=program_transform_name ;;
2122 -program-transform-name=* | --program-transform-name=* \
2123 | --program-transform-nam=* | --program-transform-na=* \
2124 | --program-transform-n=* | --program-transform-=* \
2125 | --program-transform=* | --program-transfor=* \
2126 | --program-transfo=* | --program-transf=* \
2127 | --program-trans=* | --program-tran=* \
2128 | --progr-tra=* | --program-tr=* | --program-t=*)
2129 program_transform_name=$ac_optarg ;;
2131 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2132 ac_prev=pdfdir ;;
2133 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2134 pdfdir=$ac_optarg ;;
2136 -psdir | --psdir | --psdi | --psd | --ps)
2137 ac_prev=psdir ;;
2138 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2139 psdir=$ac_optarg ;;
2141 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2142 | -silent | --silent | --silen | --sile | --sil)
2143 silent=yes ;;
2145 -runstatedir | --runstatedir | --runstatedi | --runstated \
2146 | --runstate | --runstat | --runsta | --runst | --runs \
2147 | --run | --ru | --r)
2148 ac_prev=runstatedir ;;
2149 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2150 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2151 | --run=* | --ru=* | --r=*)
2152 runstatedir=$ac_optarg ;;
2154 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2155 ac_prev=sbindir ;;
2156 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2157 | --sbi=* | --sb=*)
2158 sbindir=$ac_optarg ;;
2160 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2161 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2162 | --sharedst | --shareds | --shared | --share | --shar \
2163 | --sha | --sh)
2164 ac_prev=sharedstatedir ;;
2165 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2166 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2167 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2168 | --sha=* | --sh=*)
2169 sharedstatedir=$ac_optarg ;;
2171 -site | --site | --sit)
2172 ac_prev=site ;;
2173 -site=* | --site=* | --sit=*)
2174 site=$ac_optarg ;;
2176 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2177 ac_prev=srcdir ;;
2178 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2179 srcdir=$ac_optarg ;;
2181 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2182 | --syscon | --sysco | --sysc | --sys | --sy)
2183 ac_prev=sysconfdir ;;
2184 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2185 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2186 sysconfdir=$ac_optarg ;;
2188 -target | --target | --targe | --targ | --tar | --ta | --t)
2189 ac_prev=target_alias ;;
2190 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2191 target_alias=$ac_optarg ;;
2193 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2194 verbose=yes ;;
2196 -version | --version | --versio | --versi | --vers | -V)
2197 ac_init_version=: ;;
2199 -with-* | --with-*)
2200 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2201 # Reject names that are not valid shell variable names.
2202 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2203 as_fn_error $? "invalid package name: $ac_useropt"
2204 ac_useropt_orig=$ac_useropt
2205 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2206 case $ac_user_opts in
2208 "with_$ac_useropt"
2209 "*) ;;
2210 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2211 ac_unrecognized_sep=', ';;
2212 esac
2213 eval with_$ac_useropt=\$ac_optarg ;;
2215 -without-* | --without-*)
2216 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2217 # Reject names that are not valid shell variable names.
2218 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2219 as_fn_error $? "invalid package name: $ac_useropt"
2220 ac_useropt_orig=$ac_useropt
2221 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2222 case $ac_user_opts in
2224 "with_$ac_useropt"
2225 "*) ;;
2226 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2227 ac_unrecognized_sep=', ';;
2228 esac
2229 eval with_$ac_useropt=no ;;
2231 --x)
2232 # Obsolete; use --with-x.
2233 with_x=yes ;;
2235 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2236 | --x-incl | --x-inc | --x-in | --x-i)
2237 ac_prev=x_includes ;;
2238 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2239 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2240 x_includes=$ac_optarg ;;
2242 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2243 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2244 ac_prev=x_libraries ;;
2245 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2246 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2247 x_libraries=$ac_optarg ;;
2249 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2250 Try \`$0 --help' for more information"
2253 *=*)
2254 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2255 # Reject names that are not valid shell variable names.
2256 case $ac_envvar in #(
2257 '' | [0-9]* | *[!_$as_cr_alnum]* )
2258 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2259 esac
2260 eval $ac_envvar=\$ac_optarg
2261 export $ac_envvar ;;
2264 # FIXME: should be removed in autoconf 3.0.
2265 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2266 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2267 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2268 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2271 esac
2272 done
2274 if test -n "$ac_prev"; then
2275 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2276 as_fn_error $? "missing argument to $ac_option"
2279 if test -n "$ac_unrecognized_opts"; then
2280 case $enable_option_checking in
2281 no) ;;
2282 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2283 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2284 esac
2287 # Check all directory arguments for consistency.
2288 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2289 datadir sysconfdir sharedstatedir localstatedir includedir \
2290 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2291 libdir localedir mandir runstatedir
2293 eval ac_val=\$$ac_var
2294 # Remove trailing slashes.
2295 case $ac_val in
2296 */ )
2297 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2298 eval $ac_var=\$ac_val;;
2299 esac
2300 # Be sure to have absolute directory names.
2301 case $ac_val in
2302 [\\/$]* | ?:[\\/]* ) continue;;
2303 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2304 esac
2305 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2306 done
2308 # There might be people who depend on the old broken behavior: `$host'
2309 # used to hold the argument of --host etc.
2310 # FIXME: To remove some day.
2311 build=$build_alias
2312 host=$host_alias
2313 target=$target_alias
2315 # FIXME: To remove some day.
2316 if test "x$host_alias" != x; then
2317 if test "x$build_alias" = x; then
2318 cross_compiling=maybe
2319 elif test "x$build_alias" != "x$host_alias"; then
2320 cross_compiling=yes
2324 ac_tool_prefix=
2325 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2327 test "$silent" = yes && exec 6>/dev/null
2330 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2331 ac_ls_di=`ls -di .` &&
2332 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2333 as_fn_error $? "working directory cannot be determined"
2334 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2335 as_fn_error $? "pwd does not report name of working directory"
2338 # Find the source files, if location was not specified.
2339 if test -z "$srcdir"; then
2340 ac_srcdir_defaulted=yes
2341 # Try the directory containing this script, then the parent directory.
2342 ac_confdir=`$as_dirname -- "$as_myself" ||
2343 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2344 X"$as_myself" : 'X\(//\)[^/]' \| \
2345 X"$as_myself" : 'X\(//\)$' \| \
2346 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2347 $as_echo X"$as_myself" |
2348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2349 s//\1/
2352 /^X\(\/\/\)[^/].*/{
2353 s//\1/
2356 /^X\(\/\/\)$/{
2357 s//\1/
2360 /^X\(\/\).*/{
2361 s//\1/
2364 s/.*/./; q'`
2365 srcdir=$ac_confdir
2366 if test ! -r "$srcdir/$ac_unique_file"; then
2367 srcdir=..
2369 else
2370 ac_srcdir_defaulted=no
2372 if test ! -r "$srcdir/$ac_unique_file"; then
2373 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2374 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2376 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2377 ac_abs_confdir=`(
2378 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2379 pwd)`
2380 # When building in place, set srcdir=.
2381 if test "$ac_abs_confdir" = "$ac_pwd"; then
2382 srcdir=.
2384 # Remove unnecessary trailing slashes from srcdir.
2385 # Double slashes in file names in object file debugging info
2386 # mess up M-x gdb in Emacs.
2387 case $srcdir in
2388 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2389 esac
2390 for ac_var in $ac_precious_vars; do
2391 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2392 eval ac_env_${ac_var}_value=\$${ac_var}
2393 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2394 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2395 done
2398 # Report the --help message.
2400 if test "$ac_init_help" = "long"; then
2401 # Omit some internal or obsolete options to make the list less imposing.
2402 # This message is too long to be a string in the A/UX 3.1 sh.
2403 cat <<_ACEOF
2404 \`configure' configures Wine 4.2 to adapt to many kinds of systems.
2406 Usage: $0 [OPTION]... [VAR=VALUE]...
2408 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2409 VAR=VALUE. See below for descriptions of some of the useful variables.
2411 Defaults for the options are specified in brackets.
2413 Configuration:
2414 -h, --help display this help and exit
2415 --help=short display options specific to this package
2416 --help=recursive display the short help of all the included packages
2417 -V, --version display version information and exit
2418 -q, --quiet, --silent do not print \`checking ...' messages
2419 --cache-file=FILE cache test results in FILE [disabled]
2420 -C, --config-cache alias for \`--cache-file=config.cache'
2421 -n, --no-create do not create output files
2422 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2424 Installation directories:
2425 --prefix=PREFIX install architecture-independent files in PREFIX
2426 [$ac_default_prefix]
2427 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2428 [PREFIX]
2430 By default, \`make install' will install all the files in
2431 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2432 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2433 for instance \`--prefix=\$HOME'.
2435 For better control, use the options below.
2437 Fine tuning of the installation directories:
2438 --bindir=DIR user executables [EPREFIX/bin]
2439 --sbindir=DIR system admin executables [EPREFIX/sbin]
2440 --libexecdir=DIR program executables [EPREFIX/libexec]
2441 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2442 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2443 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2444 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2445 --libdir=DIR object code libraries [EPREFIX/lib]
2446 --includedir=DIR C header files [PREFIX/include]
2447 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2448 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2449 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2450 --infodir=DIR info documentation [DATAROOTDIR/info]
2451 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2452 --mandir=DIR man documentation [DATAROOTDIR/man]
2453 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2454 --htmldir=DIR html documentation [DOCDIR]
2455 --dvidir=DIR dvi documentation [DOCDIR]
2456 --pdfdir=DIR pdf documentation [DOCDIR]
2457 --psdir=DIR ps documentation [DOCDIR]
2458 _ACEOF
2460 cat <<\_ACEOF
2462 X features:
2463 --x-includes=DIR X include files are in DIR
2464 --x-libraries=DIR X library files are in DIR
2466 System types:
2467 --build=BUILD configure for building on BUILD [guessed]
2468 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2469 _ACEOF
2472 if test -n "$ac_init_help"; then
2473 case $ac_init_help in
2474 short | recursive ) echo "Configuration of Wine 4.2:";;
2475 esac
2476 cat <<\_ACEOF
2478 Optional Features:
2479 --disable-option-checking ignore unrecognized --enable/--with options
2480 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2481 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2482 --disable-win16 do not include Win16 support
2483 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2484 binaries)
2485 --disable-tests do not build the regression tests
2486 --enable-maintainer-mode
2487 enable maintainer-specific build rules
2488 --disable-largefile omit support for large files
2490 Optional Packages:
2491 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2492 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2493 --without-alsa do not use the Alsa sound support
2494 --without-capi do not use CAPI (ISDN support)
2495 --without-cms do not use CMS (color management support)
2496 --without-coreaudio do not use the CoreAudio sound support
2497 --without-cups do not use CUPS
2498 --without-curses do not use (n)curses
2499 --without-dbus do not use DBus (dynamic device support)
2500 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2501 --without-fontconfig do not use fontconfig
2502 --without-freetype do not use the FreeType library
2503 --without-gettext do not use gettext
2504 --with-gettextpo use the GetTextPO library to rebuild po files
2505 --without-gphoto do not use gphoto (Digital Camera support)
2506 --without-glu do not use the GLU library
2507 --without-gnutls do not use GnuTLS (schannel support)
2508 --without-gsm do not use libgsm (GSM 06.10 codec support)
2509 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2510 --without-gstreamer do not use GStreamer (codecs support)
2511 --without-hal do not use HAL (dynamic device support)
2512 --without-jpeg do not use JPEG
2513 --without-krb5 do not use krb5 (Kerberos)
2514 --without-ldap do not use LDAP
2515 --without-mpg123 do not use the mpg123 library
2516 --without-netapi do not use the Samba NetAPI library
2517 --without-openal do not use OpenAL
2518 --without-opencl do not use OpenCL
2519 --without-opengl do not use OpenGL
2520 --without-osmesa do not use the OSMesa library
2521 --without-oss do not use the OSS sound support
2522 --without-pcap do not use the Packet Capture library
2523 --without-png do not use PNG
2524 --without-pthread do not use the pthread library
2525 --without-pulse do not use PulseAudio sound support
2526 --without-sane do not use SANE (scanner support)
2527 --without-sdl do not use SDL
2528 --without-tiff do not use TIFF
2529 --without-udev do not use udev (plug and play support)
2530 --without-v4l do not use v4l1 (v4l support)
2531 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2532 --without-vulkan do not use Vulkan
2533 --without-xcomposite do not use the Xcomposite extension
2534 --without-xcursor do not use the Xcursor extension
2535 --without-xfixes do not use Xfixes for clipboard change notifications
2536 --without-xinerama do not use Xinerama (multi-monitor support)
2537 --without-xinput do not use the Xinput extension
2538 --without-xinput2 do not use the Xinput 2 extension
2539 --without-xml do not use XML
2540 --without-xrandr do not use Xrandr (resolution changes)
2541 --without-xrender do not use the Xrender extension
2542 --without-xshape do not use the Xshape extension
2543 --without-xshm do not use XShm (shared memory extension)
2544 --without-xslt do not use XSLT
2545 --without-xxf86vm do not use XFree video mode extension
2546 --without-zlib do not use Zlib (data compression)
2547 --with-wine-tools=DIR use Wine tools from directory DIR
2548 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2549 --with-x use the X Window System
2551 Some influential environment variables:
2552 CC C compiler command
2553 CFLAGS C compiler flags
2554 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2555 nonstandard directory <lib dir>
2556 LIBS libraries to pass to the linker, e.g. -l<library>
2557 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2558 you have headers in a nonstandard directory <include dir>
2559 CXX C++ compiler command
2560 CXXFLAGS C++ compiler flags
2561 CPP C preprocessor
2562 OBJC Objective C compiler command
2563 OBJCFLAGS Objective C compiler flags
2564 OBJCPP Objective C preprocessor
2565 XMKMF Path to xmkmf, Makefile generator for X Window System
2566 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2567 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2568 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2569 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2570 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2571 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2572 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2573 HAL_LIBS Linker flags for hal, overriding pkg-config
2574 GNUTLS_CFLAGS
2575 C compiler flags for gnutls, overriding pkg-config
2576 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2577 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2578 SANE_LIBS Linker flags for libsane, overriding pkg-config
2579 GPHOTO2_CFLAGS
2580 C compiler flags for libgphoto2, overriding pkg-config
2581 GPHOTO2_LIBS
2582 Linker flags for libgphoto2, overriding pkg-config
2583 GPHOTO2_PORT_CFLAGS
2584 C compiler flags for libgphoto2_port, overriding pkg-config
2585 GPHOTO2_PORT_LIBS
2586 Linker flags for libgphoto2_port, overriding pkg-config
2587 LCMS2_CFLAGS
2588 C compiler flags for lcms2, overriding pkg-config
2589 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2590 FREETYPE_CFLAGS
2591 C compiler flags for freetype2, overriding pkg-config
2592 FREETYPE_LIBS
2593 Linker flags for freetype2, overriding pkg-config
2594 PULSE_CFLAGS
2595 C compiler flags for libpulse, overriding pkg-config
2596 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2597 GSTREAMER_CFLAGS
2598 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2599 gstreamer-audio-1.0, overriding pkg-config
2600 GSTREAMER_LIBS
2601 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2602 gstreamer-audio-1.0, overriding pkg-config
2603 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2604 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2605 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2606 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2607 CAPI20_CFLAGS
2608 C compiler flags for capi20, overriding pkg-config
2609 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2610 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2611 CUPS_LIBS Linker flags for cups, overriding pkg-config
2612 FONTCONFIG_CFLAGS
2613 C compiler flags for fontconfig, overriding pkg-config
2614 FONTCONFIG_LIBS
2615 Linker flags for fontconfig, overriding pkg-config
2616 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2617 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2618 GSSAPI_CFLAGS
2619 C compiler flags for krb5-gssapi, overriding pkg-config
2620 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2621 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2622 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2623 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2624 PNG_LIBS Linker flags for libpng, overriding pkg-config
2625 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2626 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2627 MPG123_CFLAGS
2628 C compiler flags for libmpg123, overriding pkg-config
2629 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2630 NETAPI_CFLAGS
2631 C compiler flags for netapi, overriding pkg-config
2632 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2633 VKD3D_CFLAGS
2634 C compiler flags for libvkd3d, overriding pkg-config
2635 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2636 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2637 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2639 Use these variables to override the choices made by `configure' or to help
2640 it to find libraries and programs with nonstandard names/locations.
2642 Report bugs to <wine-devel@winehq.org>.
2643 Wine home page: <https://www.winehq.org>.
2644 _ACEOF
2645 ac_status=$?
2648 if test "$ac_init_help" = "recursive"; then
2649 # If there are subdirs, report their specific --help.
2650 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2651 test -d "$ac_dir" ||
2652 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2653 continue
2654 ac_builddir=.
2656 case "$ac_dir" in
2657 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2659 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2660 # A ".." for each directory in $ac_dir_suffix.
2661 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2662 case $ac_top_builddir_sub in
2663 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2664 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2665 esac ;;
2666 esac
2667 ac_abs_top_builddir=$ac_pwd
2668 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2669 # for backward compatibility:
2670 ac_top_builddir=$ac_top_build_prefix
2672 case $srcdir in
2673 .) # We are building in place.
2674 ac_srcdir=.
2675 ac_top_srcdir=$ac_top_builddir_sub
2676 ac_abs_top_srcdir=$ac_pwd ;;
2677 [\\/]* | ?:[\\/]* ) # Absolute name.
2678 ac_srcdir=$srcdir$ac_dir_suffix;
2679 ac_top_srcdir=$srcdir
2680 ac_abs_top_srcdir=$srcdir ;;
2681 *) # Relative name.
2682 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2683 ac_top_srcdir=$ac_top_build_prefix$srcdir
2684 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2685 esac
2686 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2688 cd "$ac_dir" || { ac_status=$?; continue; }
2689 # Check for guested configure.
2690 if test -f "$ac_srcdir/configure.gnu"; then
2691 echo &&
2692 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2693 elif test -f "$ac_srcdir/configure"; then
2694 echo &&
2695 $SHELL "$ac_srcdir/configure" --help=recursive
2696 else
2697 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2698 fi || ac_status=$?
2699 cd "$ac_pwd" || { ac_status=$?; break; }
2700 done
2703 test -n "$ac_init_help" && exit $ac_status
2704 if $ac_init_version; then
2705 cat <<\_ACEOF
2706 Wine configure 4.2
2707 generated by GNU Autoconf 2.69
2709 Copyright (C) 2012 Free Software Foundation, Inc.
2710 This configure script is free software; the Free Software Foundation
2711 gives unlimited permission to copy, distribute and modify it.
2712 _ACEOF
2713 exit
2716 ## ------------------------ ##
2717 ## Autoconf initialization. ##
2718 ## ------------------------ ##
2720 # ac_fn_c_try_compile LINENO
2721 # --------------------------
2722 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2723 ac_fn_c_try_compile ()
2725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2726 rm -f conftest.$ac_objext
2727 if { { ac_try="$ac_compile"
2728 case "(($ac_try" in
2729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2730 *) ac_try_echo=$ac_try;;
2731 esac
2732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2733 $as_echo "$ac_try_echo"; } >&5
2734 (eval "$ac_compile") 2>conftest.err
2735 ac_status=$?
2736 if test -s conftest.err; then
2737 grep -v '^ *+' conftest.err >conftest.er1
2738 cat conftest.er1 >&5
2739 mv -f conftest.er1 conftest.err
2741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2742 test $ac_status = 0; } && {
2743 test -z "$ac_c_werror_flag" ||
2744 test ! -s conftest.err
2745 } && test -s conftest.$ac_objext; then :
2746 ac_retval=0
2747 else
2748 $as_echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2751 ac_retval=1
2753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2754 as_fn_set_status $ac_retval
2756 } # ac_fn_c_try_compile
2758 # ac_fn_cxx_try_compile LINENO
2759 # ----------------------------
2760 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2761 ac_fn_cxx_try_compile ()
2763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2764 rm -f conftest.$ac_objext
2765 if { { ac_try="$ac_compile"
2766 case "(($ac_try" in
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2769 esac
2770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2771 $as_echo "$ac_try_echo"; } >&5
2772 (eval "$ac_compile") 2>conftest.err
2773 ac_status=$?
2774 if test -s conftest.err; then
2775 grep -v '^ *+' conftest.err >conftest.er1
2776 cat conftest.er1 >&5
2777 mv -f conftest.er1 conftest.err
2779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2780 test $ac_status = 0; } && {
2781 test -z "$ac_cxx_werror_flag" ||
2782 test ! -s conftest.err
2783 } && test -s conftest.$ac_objext; then :
2784 ac_retval=0
2785 else
2786 $as_echo "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2789 ac_retval=1
2791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2792 as_fn_set_status $ac_retval
2794 } # ac_fn_cxx_try_compile
2796 # ac_fn_c_try_link LINENO
2797 # -----------------------
2798 # Try to link conftest.$ac_ext, and return whether this succeeded.
2799 ac_fn_c_try_link ()
2801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2802 rm -f conftest.$ac_objext conftest$ac_exeext
2803 if { { ac_try="$ac_link"
2804 case "(($ac_try" in
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2807 esac
2808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2809 $as_echo "$ac_try_echo"; } >&5
2810 (eval "$ac_link") 2>conftest.err
2811 ac_status=$?
2812 if test -s conftest.err; then
2813 grep -v '^ *+' conftest.err >conftest.er1
2814 cat conftest.er1 >&5
2815 mv -f conftest.er1 conftest.err
2817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2818 test $ac_status = 0; } && {
2819 test -z "$ac_c_werror_flag" ||
2820 test ! -s conftest.err
2821 } && test -s conftest$ac_exeext && {
2822 test "$cross_compiling" = yes ||
2823 test -x conftest$ac_exeext
2824 }; then :
2825 ac_retval=0
2826 else
2827 $as_echo "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.$ac_ext >&5
2830 ac_retval=1
2832 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2833 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2834 # interfere with the next link command; also delete a directory that is
2835 # left behind by Apple's compiler. We do this before executing the actions.
2836 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2837 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2838 as_fn_set_status $ac_retval
2840 } # ac_fn_c_try_link
2842 # ac_fn_c_try_cpp LINENO
2843 # ----------------------
2844 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2845 ac_fn_c_try_cpp ()
2847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2848 if { { ac_try="$ac_cpp conftest.$ac_ext"
2849 case "(($ac_try" in
2850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2851 *) ac_try_echo=$ac_try;;
2852 esac
2853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2854 $as_echo "$ac_try_echo"; } >&5
2855 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2856 ac_status=$?
2857 if test -s conftest.err; then
2858 grep -v '^ *+' conftest.err >conftest.er1
2859 cat conftest.er1 >&5
2860 mv -f conftest.er1 conftest.err
2862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2863 test $ac_status = 0; } > conftest.i && {
2864 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2865 test ! -s conftest.err
2866 }; then :
2867 ac_retval=0
2868 else
2869 $as_echo "$as_me: failed program was:" >&5
2870 sed 's/^/| /' conftest.$ac_ext >&5
2872 ac_retval=1
2874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2875 as_fn_set_status $ac_retval
2877 } # ac_fn_c_try_cpp
2879 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2880 # -------------------------------------------------------
2881 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2882 # the include files in INCLUDES and setting the cache variable VAR
2883 # accordingly.
2884 ac_fn_c_check_header_mongrel ()
2886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2887 if eval \${$3+:} false; then :
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2889 $as_echo_n "checking for $2... " >&6; }
2890 if eval \${$3+:} false; then :
2891 $as_echo_n "(cached) " >&6
2893 eval ac_res=\$$3
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2895 $as_echo "$ac_res" >&6; }
2896 else
2897 # Is the header compilable?
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2899 $as_echo_n "checking $2 usability... " >&6; }
2900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2901 /* end confdefs.h. */
2903 #include <$2>
2904 _ACEOF
2905 if ac_fn_c_try_compile "$LINENO"; then :
2906 ac_header_compiler=yes
2907 else
2908 ac_header_compiler=no
2910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2912 $as_echo "$ac_header_compiler" >&6; }
2914 # Is the header present?
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2916 $as_echo_n "checking $2 presence... " >&6; }
2917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2918 /* end confdefs.h. */
2919 #include <$2>
2920 _ACEOF
2921 if ac_fn_c_try_cpp "$LINENO"; then :
2922 ac_header_preproc=yes
2923 else
2924 ac_header_preproc=no
2926 rm -f conftest.err conftest.i conftest.$ac_ext
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2928 $as_echo "$ac_header_preproc" >&6; }
2930 # So? What about this header?
2931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2932 yes:no: )
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2934 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2936 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2938 no:yes:* )
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2940 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2942 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2944 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2946 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2948 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2949 ( $as_echo "## ------------------------------------ ##
2950 ## Report this to wine-devel@winehq.org ##
2951 ## ------------------------------------ ##"
2952 ) | sed "s/^/$as_me: WARNING: /" >&2
2954 esac
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2956 $as_echo_n "checking for $2... " >&6; }
2957 if eval \${$3+:} false; then :
2958 $as_echo_n "(cached) " >&6
2959 else
2960 eval "$3=\$ac_header_compiler"
2962 eval ac_res=\$$3
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2964 $as_echo "$ac_res" >&6; }
2966 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2968 } # ac_fn_c_check_header_mongrel
2970 # ac_fn_c_try_run LINENO
2971 # ----------------------
2972 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2973 # that executables *can* be run.
2974 ac_fn_c_try_run ()
2976 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2977 if { { ac_try="$ac_link"
2978 case "(($ac_try" in
2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980 *) ac_try_echo=$ac_try;;
2981 esac
2982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2983 $as_echo "$ac_try_echo"; } >&5
2984 (eval "$ac_link") 2>&5
2985 ac_status=$?
2986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2987 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2988 { { case "(($ac_try" in
2989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2990 *) ac_try_echo=$ac_try;;
2991 esac
2992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2993 $as_echo "$ac_try_echo"; } >&5
2994 (eval "$ac_try") 2>&5
2995 ac_status=$?
2996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2997 test $ac_status = 0; }; }; then :
2998 ac_retval=0
2999 else
3000 $as_echo "$as_me: program exited with status $ac_status" >&5
3001 $as_echo "$as_me: failed program was:" >&5
3002 sed 's/^/| /' conftest.$ac_ext >&5
3004 ac_retval=$ac_status
3006 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3007 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3008 as_fn_set_status $ac_retval
3010 } # ac_fn_c_try_run
3012 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3013 # -------------------------------------------------------
3014 # Tests whether HEADER exists and can be compiled using the include files in
3015 # INCLUDES, setting the cache variable VAR accordingly.
3016 ac_fn_c_check_header_compile ()
3018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3020 $as_echo_n "checking for $2... " >&6; }
3021 if eval \${$3+:} false; then :
3022 $as_echo_n "(cached) " >&6
3023 else
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h. */
3027 #include <$2>
3028 _ACEOF
3029 if ac_fn_c_try_compile "$LINENO"; then :
3030 eval "$3=yes"
3031 else
3032 eval "$3=no"
3034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3036 eval ac_res=\$$3
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3038 $as_echo "$ac_res" >&6; }
3039 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3041 } # ac_fn_c_check_header_compile
3043 # ac_fn_objc_try_compile LINENO
3044 # -----------------------------
3045 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3046 ac_fn_objc_try_compile ()
3048 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3049 rm -f conftest.$ac_objext
3050 if { { ac_try="$ac_compile"
3051 case "(($ac_try" in
3052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3053 *) ac_try_echo=$ac_try;;
3054 esac
3055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3056 $as_echo "$ac_try_echo"; } >&5
3057 (eval "$ac_compile") 2>conftest.err
3058 ac_status=$?
3059 if test -s conftest.err; then
3060 grep -v '^ *+' conftest.err >conftest.er1
3061 cat conftest.er1 >&5
3062 mv -f conftest.er1 conftest.err
3064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3065 test $ac_status = 0; } && {
3066 test -z "$ac_objc_werror_flag" ||
3067 test ! -s conftest.err
3068 } && test -s conftest.$ac_objext; then :
3069 ac_retval=0
3070 else
3071 $as_echo "$as_me: failed program was:" >&5
3072 sed 's/^/| /' conftest.$ac_ext >&5
3074 ac_retval=1
3076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3077 as_fn_set_status $ac_retval
3079 } # ac_fn_objc_try_compile
3081 # ac_fn_objc_try_cpp LINENO
3082 # -------------------------
3083 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3084 ac_fn_objc_try_cpp ()
3086 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3087 if { { ac_try="$ac_cpp conftest.$ac_ext"
3088 case "(($ac_try" in
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3091 esac
3092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3093 $as_echo "$ac_try_echo"; } >&5
3094 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3095 ac_status=$?
3096 if test -s conftest.err; then
3097 grep -v '^ *+' conftest.err >conftest.er1
3098 cat conftest.er1 >&5
3099 mv -f conftest.er1 conftest.err
3101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3102 test $ac_status = 0; } > conftest.i && {
3103 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3104 test ! -s conftest.err
3105 }; then :
3106 ac_retval=0
3107 else
3108 $as_echo "$as_me: failed program was:" >&5
3109 sed 's/^/| /' conftest.$ac_ext >&5
3111 ac_retval=1
3113 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3114 as_fn_set_status $ac_retval
3116 } # ac_fn_objc_try_cpp
3118 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3119 # ----------------------------------------------------------
3120 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3121 # the include files in INCLUDES and setting the cache variable VAR
3122 # accordingly.
3123 ac_fn_objc_check_header_mongrel ()
3125 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3126 if eval \${$3+:} false; then :
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3128 $as_echo_n "checking for $2... " >&6; }
3129 if eval \${$3+:} false; then :
3130 $as_echo_n "(cached) " >&6
3132 eval ac_res=\$$3
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3134 $as_echo "$ac_res" >&6; }
3135 else
3136 # Is the header compilable?
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3138 $as_echo_n "checking $2 usability... " >&6; }
3139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3140 /* end confdefs.h. */
3142 #include <$2>
3143 _ACEOF
3144 if ac_fn_objc_try_compile "$LINENO"; then :
3145 ac_header_compiler=yes
3146 else
3147 ac_header_compiler=no
3149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3151 $as_echo "$ac_header_compiler" >&6; }
3153 # Is the header present?
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3155 $as_echo_n "checking $2 presence... " >&6; }
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3158 #include <$2>
3159 _ACEOF
3160 if ac_fn_objc_try_cpp "$LINENO"; then :
3161 ac_header_preproc=yes
3162 else
3163 ac_header_preproc=no
3165 rm -f conftest.err conftest.i conftest.$ac_ext
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3167 $as_echo "$ac_header_preproc" >&6; }
3169 # So? What about this header?
3170 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3171 yes:no: )
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3173 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3175 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3177 no:yes:* )
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3179 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3181 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3183 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3185 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3187 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3188 ( $as_echo "## ------------------------------------ ##
3189 ## Report this to wine-devel@winehq.org ##
3190 ## ------------------------------------ ##"
3191 ) | sed "s/^/$as_me: WARNING: /" >&2
3193 esac
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3195 $as_echo_n "checking for $2... " >&6; }
3196 if eval \${$3+:} false; then :
3197 $as_echo_n "(cached) " >&6
3198 else
3199 eval "$3=\$ac_header_compiler"
3201 eval ac_res=\$$3
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3203 $as_echo "$ac_res" >&6; }
3205 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3207 } # ac_fn_objc_check_header_mongrel
3209 # ac_fn_c_check_func LINENO FUNC VAR
3210 # ----------------------------------
3211 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3212 ac_fn_c_check_func ()
3214 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3216 $as_echo_n "checking for $2... " >&6; }
3217 if eval \${$3+:} false; then :
3218 $as_echo_n "(cached) " >&6
3219 else
3220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3221 /* end confdefs.h. */
3222 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3224 #define $2 innocuous_$2
3226 /* System header to define __stub macros and hopefully few prototypes,
3227 which can conflict with char $2 (); below.
3228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3229 <limits.h> exists even on freestanding compilers. */
3231 #ifdef __STDC__
3232 # include <limits.h>
3233 #else
3234 # include <assert.h>
3235 #endif
3237 #undef $2
3239 /* Override any GCC internal prototype to avoid an error.
3240 Use char because int might match the return type of a GCC
3241 builtin and then its argument prototype would still apply. */
3242 #ifdef __cplusplus
3243 extern "C"
3244 #endif
3245 char $2 ();
3246 /* The GNU C library defines this for functions which it implements
3247 to always fail with ENOSYS. Some functions are actually named
3248 something starting with __ and the normal name is an alias. */
3249 #if defined __stub_$2 || defined __stub___$2
3250 choke me
3251 #endif
3254 main ()
3256 return $2 ();
3258 return 0;
3260 _ACEOF
3261 if ac_fn_c_try_link "$LINENO"; then :
3262 eval "$3=yes"
3263 else
3264 eval "$3=no"
3266 rm -f core conftest.err conftest.$ac_objext \
3267 conftest$ac_exeext conftest.$ac_ext
3269 eval ac_res=\$$3
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3271 $as_echo "$ac_res" >&6; }
3272 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3274 } # ac_fn_c_check_func
3276 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3277 # ----------------------------------------------------
3278 # Tries to find if the field MEMBER exists in type AGGR, after including
3279 # INCLUDES, setting cache variable VAR accordingly.
3280 ac_fn_c_check_member ()
3282 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3284 $as_echo_n "checking for $2.$3... " >&6; }
3285 if eval \${$4+:} false; then :
3286 $as_echo_n "(cached) " >&6
3287 else
3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3292 main ()
3294 static $2 ac_aggr;
3295 if (ac_aggr.$3)
3296 return 0;
3298 return 0;
3300 _ACEOF
3301 if ac_fn_c_try_compile "$LINENO"; then :
3302 eval "$4=yes"
3303 else
3304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3305 /* end confdefs.h. */
3308 main ()
3310 static $2 ac_aggr;
3311 if (sizeof ac_aggr.$3)
3312 return 0;
3314 return 0;
3316 _ACEOF
3317 if ac_fn_c_try_compile "$LINENO"; then :
3318 eval "$4=yes"
3319 else
3320 eval "$4=no"
3322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3326 eval ac_res=\$$4
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3328 $as_echo "$ac_res" >&6; }
3329 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3331 } # ac_fn_c_check_member
3333 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3334 # -------------------------------------------
3335 # Tests whether TYPE exists after having included INCLUDES, setting cache
3336 # variable VAR accordingly.
3337 ac_fn_c_check_type ()
3339 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3341 $as_echo_n "checking for $2... " >&6; }
3342 if eval \${$3+:} false; then :
3343 $as_echo_n "(cached) " >&6
3344 else
3345 eval "$3=no"
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3350 main ()
3352 if (sizeof ($2))
3353 return 0;
3355 return 0;
3357 _ACEOF
3358 if ac_fn_c_try_compile "$LINENO"; then :
3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360 /* end confdefs.h. */
3363 main ()
3365 if (sizeof (($2)))
3366 return 0;
3368 return 0;
3370 _ACEOF
3371 if ac_fn_c_try_compile "$LINENO"; then :
3373 else
3374 eval "$3=yes"
3376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3380 eval ac_res=\$$3
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3382 $as_echo "$ac_res" >&6; }
3383 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3385 } # ac_fn_c_check_type
3386 cat >config.log <<_ACEOF
3387 This file contains any messages produced by compilers while
3388 running configure, to aid debugging if configure makes a mistake.
3390 It was created by Wine $as_me 4.2, which was
3391 generated by GNU Autoconf 2.69. Invocation command line was
3393 $ $0 $@
3395 _ACEOF
3396 exec 5>>config.log
3398 cat <<_ASUNAME
3399 ## --------- ##
3400 ## Platform. ##
3401 ## --------- ##
3403 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3404 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3405 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3406 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3407 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3409 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3410 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3412 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3413 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3414 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3415 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3416 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3417 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3418 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3420 _ASUNAME
3422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3423 for as_dir in $PATH
3425 IFS=$as_save_IFS
3426 test -z "$as_dir" && as_dir=.
3427 $as_echo "PATH: $as_dir"
3428 done
3429 IFS=$as_save_IFS
3431 } >&5
3433 cat >&5 <<_ACEOF
3436 ## ----------- ##
3437 ## Core tests. ##
3438 ## ----------- ##
3440 _ACEOF
3443 # Keep a trace of the command line.
3444 # Strip out --no-create and --no-recursion so they do not pile up.
3445 # Strip out --silent because we don't want to record it for future runs.
3446 # Also quote any args containing shell meta-characters.
3447 # Make two passes to allow for proper duplicate-argument suppression.
3448 ac_configure_args=
3449 ac_configure_args0=
3450 ac_configure_args1=
3451 ac_must_keep_next=false
3452 for ac_pass in 1 2
3454 for ac_arg
3456 case $ac_arg in
3457 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3458 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3459 | -silent | --silent | --silen | --sile | --sil)
3460 continue ;;
3461 *\'*)
3462 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3463 esac
3464 case $ac_pass in
3465 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3467 as_fn_append ac_configure_args1 " '$ac_arg'"
3468 if test $ac_must_keep_next = true; then
3469 ac_must_keep_next=false # Got value, back to normal.
3470 else
3471 case $ac_arg in
3472 *=* | --config-cache | -C | -disable-* | --disable-* \
3473 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3474 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3475 | -with-* | --with-* | -without-* | --without-* | --x)
3476 case "$ac_configure_args0 " in
3477 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3478 esac
3480 -* ) ac_must_keep_next=true ;;
3481 esac
3483 as_fn_append ac_configure_args " '$ac_arg'"
3485 esac
3486 done
3487 done
3488 { ac_configure_args0=; unset ac_configure_args0;}
3489 { ac_configure_args1=; unset ac_configure_args1;}
3491 # When interrupted or exit'd, cleanup temporary files, and complete
3492 # config.log. We remove comments because anyway the quotes in there
3493 # would cause problems or look ugly.
3494 # WARNING: Use '\'' to represent an apostrophe within the trap.
3495 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3496 trap 'exit_status=$?
3497 # Save into config.log some information that might help in debugging.
3499 echo
3501 $as_echo "## ---------------- ##
3502 ## Cache variables. ##
3503 ## ---------------- ##"
3504 echo
3505 # The following way of writing the cache mishandles newlines in values,
3507 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3508 eval ac_val=\$$ac_var
3509 case $ac_val in #(
3510 *${as_nl}*)
3511 case $ac_var in #(
3512 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3513 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3514 esac
3515 case $ac_var in #(
3516 _ | IFS | as_nl) ;; #(
3517 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3518 *) { eval $ac_var=; unset $ac_var;} ;;
3519 esac ;;
3520 esac
3521 done
3522 (set) 2>&1 |
3523 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3524 *${as_nl}ac_space=\ *)
3525 sed -n \
3526 "s/'\''/'\''\\\\'\'''\''/g;
3527 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3528 ;; #(
3530 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3532 esac |
3533 sort
3535 echo
3537 $as_echo "## ----------------- ##
3538 ## Output variables. ##
3539 ## ----------------- ##"
3540 echo
3541 for ac_var in $ac_subst_vars
3543 eval ac_val=\$$ac_var
3544 case $ac_val in
3545 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3546 esac
3547 $as_echo "$ac_var='\''$ac_val'\''"
3548 done | sort
3549 echo
3551 if test -n "$ac_subst_files"; then
3552 $as_echo "## ------------------- ##
3553 ## File substitutions. ##
3554 ## ------------------- ##"
3555 echo
3556 for ac_var in $ac_subst_files
3558 eval ac_val=\$$ac_var
3559 case $ac_val in
3560 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3561 esac
3562 $as_echo "$ac_var='\''$ac_val'\''"
3563 done | sort
3564 echo
3567 if test -s confdefs.h; then
3568 $as_echo "## ----------- ##
3569 ## confdefs.h. ##
3570 ## ----------- ##"
3571 echo
3572 cat confdefs.h
3573 echo
3575 test "$ac_signal" != 0 &&
3576 $as_echo "$as_me: caught signal $ac_signal"
3577 $as_echo "$as_me: exit $exit_status"
3578 } >&5
3579 rm -f core *.core core.conftest.* &&
3580 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3581 exit $exit_status
3583 for ac_signal in 1 2 13 15; do
3584 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3585 done
3586 ac_signal=0
3588 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3589 rm -f -r conftest* confdefs.h
3591 $as_echo "/* confdefs.h */" > confdefs.h
3593 # Predefined preprocessor variables.
3595 cat >>confdefs.h <<_ACEOF
3596 #define PACKAGE_NAME "$PACKAGE_NAME"
3597 _ACEOF
3599 cat >>confdefs.h <<_ACEOF
3600 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3601 _ACEOF
3603 cat >>confdefs.h <<_ACEOF
3604 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3605 _ACEOF
3607 cat >>confdefs.h <<_ACEOF
3608 #define PACKAGE_STRING "$PACKAGE_STRING"
3609 _ACEOF
3611 cat >>confdefs.h <<_ACEOF
3612 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3613 _ACEOF
3615 cat >>confdefs.h <<_ACEOF
3616 #define PACKAGE_URL "$PACKAGE_URL"
3617 _ACEOF
3620 # Let the site file select an alternate cache file if it wants to.
3621 # Prefer an explicitly selected file to automatically selected ones.
3622 ac_site_file1=NONE
3623 ac_site_file2=NONE
3624 if test -n "$CONFIG_SITE"; then
3625 # We do not want a PATH search for config.site.
3626 case $CONFIG_SITE in #((
3627 -*) ac_site_file1=./$CONFIG_SITE;;
3628 */*) ac_site_file1=$CONFIG_SITE;;
3629 *) ac_site_file1=./$CONFIG_SITE;;
3630 esac
3631 elif test "x$prefix" != xNONE; then
3632 ac_site_file1=$prefix/share/config.site
3633 ac_site_file2=$prefix/etc/config.site
3634 else
3635 ac_site_file1=$ac_default_prefix/share/config.site
3636 ac_site_file2=$ac_default_prefix/etc/config.site
3638 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3640 test "x$ac_site_file" = xNONE && continue
3641 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3643 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3644 sed 's/^/| /' "$ac_site_file" >&5
3645 . "$ac_site_file" \
3646 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3648 as_fn_error $? "failed to load site script $ac_site_file
3649 See \`config.log' for more details" "$LINENO" 5; }
3651 done
3653 if test -r "$cache_file"; then
3654 # Some versions of bash will fail to source /dev/null (special files
3655 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3656 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3658 $as_echo "$as_me: loading cache $cache_file" >&6;}
3659 case $cache_file in
3660 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3661 *) . "./$cache_file";;
3662 esac
3664 else
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3666 $as_echo "$as_me: creating cache $cache_file" >&6;}
3667 >$cache_file
3670 # Check that the precious variables saved in the cache have kept the same
3671 # value.
3672 ac_cache_corrupted=false
3673 for ac_var in $ac_precious_vars; do
3674 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3675 eval ac_new_set=\$ac_env_${ac_var}_set
3676 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3677 eval ac_new_val=\$ac_env_${ac_var}_value
3678 case $ac_old_set,$ac_new_set in
3679 set,)
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3681 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3682 ac_cache_corrupted=: ;;
3683 ,set)
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3685 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3686 ac_cache_corrupted=: ;;
3687 ,);;
3689 if test "x$ac_old_val" != "x$ac_new_val"; then
3690 # differences in whitespace do not lead to failure.
3691 ac_old_val_w=`echo x $ac_old_val`
3692 ac_new_val_w=`echo x $ac_new_val`
3693 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3695 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3696 ac_cache_corrupted=:
3697 else
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3699 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3700 eval $ac_var=\$ac_old_val
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3703 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3705 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3706 fi;;
3707 esac
3708 # Pass precious variables to config.status.
3709 if test "$ac_new_set" = set; then
3710 case $ac_new_val in
3711 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3712 *) ac_arg=$ac_var=$ac_new_val ;;
3713 esac
3714 case " $ac_configure_args " in
3715 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3716 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3717 esac
3719 done
3720 if $ac_cache_corrupted; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3724 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3725 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3727 ## -------------------- ##
3728 ## Main body of script. ##
3729 ## -------------------- ##
3731 ac_ext=c
3732 ac_cpp='$CPP $CPPFLAGS'
3733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3739 ac_config_headers="$ac_config_headers include/config.h"
3741 ac_aux_dir=
3742 for ac_dir in tools "$srcdir"/tools; do
3743 if test -f "$ac_dir/install-sh"; then
3744 ac_aux_dir=$ac_dir
3745 ac_install_sh="$ac_aux_dir/install-sh -c"
3746 break
3747 elif test -f "$ac_dir/install.sh"; then
3748 ac_aux_dir=$ac_dir
3749 ac_install_sh="$ac_aux_dir/install.sh -c"
3750 break
3751 elif test -f "$ac_dir/shtool"; then
3752 ac_aux_dir=$ac_dir
3753 ac_install_sh="$ac_aux_dir/shtool install -c"
3754 break
3756 done
3757 if test -z "$ac_aux_dir"; then
3758 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3761 # These three variables are undocumented and unsupported,
3762 # and are intended to be withdrawn in a future Autoconf release.
3763 # They can cause serious problems if a builder's source tree is in a directory
3764 # whose full name contains unusual characters.
3765 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3766 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3767 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3771 libwine_version="1.0"
3775 # Check whether --enable-win16 was given.
3776 if test "${enable_win16+set}" = set; then :
3777 enableval=$enable_win16;
3780 # Check whether --enable-win64 was given.
3781 if test "${enable_win64+set}" = set; then :
3782 enableval=$enable_win64;
3785 # Check whether --enable-tests was given.
3786 if test "${enable_tests+set}" = set; then :
3787 enableval=$enable_tests;
3790 # Check whether --enable-maintainer-mode was given.
3791 if test "${enable_maintainer_mode+set}" = set; then :
3792 enableval=$enable_maintainer_mode;
3797 # Check whether --with-alsa was given.
3798 if test "${with_alsa+set}" = set; then :
3799 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3803 # Check whether --with-capi was given.
3804 if test "${with_capi+set}" = set; then :
3805 withval=$with_capi;
3809 # Check whether --with-cms was given.
3810 if test "${with_cms+set}" = set; then :
3811 withval=$with_cms;
3815 # Check whether --with-coreaudio was given.
3816 if test "${with_coreaudio+set}" = set; then :
3817 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3821 # Check whether --with-cups was given.
3822 if test "${with_cups+set}" = set; then :
3823 withval=$with_cups;
3827 # Check whether --with-curses was given.
3828 if test "${with_curses+set}" = set; then :
3829 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3833 # Check whether --with-dbus was given.
3834 if test "${with_dbus+set}" = set; then :
3835 withval=$with_dbus;
3839 # Check whether --with-float-abi was given.
3840 if test "${with_float_abi+set}" = set; then :
3841 withval=$with_float_abi;
3845 # Check whether --with-fontconfig was given.
3846 if test "${with_fontconfig+set}" = set; then :
3847 withval=$with_fontconfig;
3851 # Check whether --with-freetype was given.
3852 if test "${with_freetype+set}" = set; then :
3853 withval=$with_freetype;
3857 # Check whether --with-gettext was given.
3858 if test "${with_gettext+set}" = set; then :
3859 withval=$with_gettext;
3863 # Check whether --with-gettextpo was given.
3864 if test "${with_gettextpo+set}" = set; then :
3865 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3869 # Check whether --with-gphoto was given.
3870 if test "${with_gphoto+set}" = set; then :
3871 withval=$with_gphoto;
3875 # Check whether --with-glu was given.
3876 if test "${with_glu+set}" = set; then :
3877 withval=$with_glu;
3881 # Check whether --with-gnutls was given.
3882 if test "${with_gnutls+set}" = set; then :
3883 withval=$with_gnutls;
3887 # Check whether --with-gsm was given.
3888 if test "${with_gsm+set}" = set; then :
3889 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3893 # Check whether --with-gssapi was given.
3894 if test "${with_gssapi+set}" = set; then :
3895 withval=$with_gssapi;
3899 # Check whether --with-gstreamer was given.
3900 if test "${with_gstreamer+set}" = set; then :
3901 withval=$with_gstreamer;
3905 # Check whether --with-hal was given.
3906 if test "${with_hal+set}" = set; then :
3907 withval=$with_hal;
3911 # Check whether --with-jpeg was given.
3912 if test "${with_jpeg+set}" = set; then :
3913 withval=$with_jpeg;
3917 # Check whether --with-krb5 was given.
3918 if test "${with_krb5+set}" = set; then :
3919 withval=$with_krb5;
3923 # Check whether --with-ldap was given.
3924 if test "${with_ldap+set}" = set; then :
3925 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3929 # Check whether --with-mpg123 was given.
3930 if test "${with_mpg123+set}" = set; then :
3931 withval=$with_mpg123;
3935 # Check whether --with-netapi was given.
3936 if test "${with_netapi+set}" = set; then :
3937 withval=$with_netapi;
3941 # Check whether --with-openal was given.
3942 if test "${with_openal+set}" = set; then :
3943 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3947 # Check whether --with-opencl was given.
3948 if test "${with_opencl+set}" = set; then :
3949 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3953 # Check whether --with-opengl was given.
3954 if test "${with_opengl+set}" = set; then :
3955 withval=$with_opengl;
3959 # Check whether --with-osmesa was given.
3960 if test "${with_osmesa+set}" = set; then :
3961 withval=$with_osmesa;
3965 # Check whether --with-oss was given.
3966 if test "${with_oss+set}" = set; then :
3967 withval=$with_oss;
3971 # Check whether --with-pcap was given.
3972 if test "${with_pcap+set}" = set; then :
3973 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3977 # Check whether --with-png was given.
3978 if test "${with_png+set}" = set; then :
3979 withval=$with_png;
3983 # Check whether --with-pthread was given.
3984 if test "${with_pthread+set}" = set; then :
3985 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3989 # Check whether --with-pulse was given.
3990 if test "${with_pulse+set}" = set; then :
3991 withval=$with_pulse;
3995 # Check whether --with-sane was given.
3996 if test "${with_sane+set}" = set; then :
3997 withval=$with_sane;
4001 # Check whether --with-sdl was given.
4002 if test "${with_sdl+set}" = set; then :
4003 withval=$with_sdl;
4007 # Check whether --with-tiff was given.
4008 if test "${with_tiff+set}" = set; then :
4009 withval=$with_tiff;
4013 # Check whether --with-udev was given.
4014 if test "${with_udev+set}" = set; then :
4015 withval=$with_udev;
4019 # Check whether --with-v4l was given.
4020 if test "${with_v4l+set}" = set; then :
4021 withval=$with_v4l;
4025 # Check whether --with-vkd3d was given.
4026 if test "${with_vkd3d+set}" = set; then :
4027 withval=$with_vkd3d;
4031 # Check whether --with-vulkan was given.
4032 if test "${with_vulkan+set}" = set; then :
4033 withval=$with_vulkan;
4037 # Check whether --with-xcomposite was given.
4038 if test "${with_xcomposite+set}" = set; then :
4039 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4043 # Check whether --with-xcursor was given.
4044 if test "${with_xcursor+set}" = set; then :
4045 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4049 # Check whether --with-xfixes was given.
4050 if test "${with_xfixes+set}" = set; then :
4051 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4055 # Check whether --with-xinerama was given.
4056 if test "${with_xinerama+set}" = set; then :
4057 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4061 # Check whether --with-xinput was given.
4062 if test "${with_xinput+set}" = set; then :
4063 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4067 # Check whether --with-xinput2 was given.
4068 if test "${with_xinput2+set}" = set; then :
4069 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4073 # Check whether --with-xml was given.
4074 if test "${with_xml+set}" = set; then :
4075 withval=$with_xml;
4079 # Check whether --with-xrandr was given.
4080 if test "${with_xrandr+set}" = set; then :
4081 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4085 # Check whether --with-xrender was given.
4086 if test "${with_xrender+set}" = set; then :
4087 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4091 # Check whether --with-xshape was given.
4092 if test "${with_xshape+set}" = set; then :
4093 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4097 # Check whether --with-xshm was given.
4098 if test "${with_xshm+set}" = set; then :
4099 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4103 # Check whether --with-xslt was given.
4104 if test "${with_xslt+set}" = set; then :
4105 withval=$with_xslt;
4109 # Check whether --with-xxf86vm was given.
4110 if test "${with_xxf86vm+set}" = set; then :
4111 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
4115 # Check whether --with-zlib was given.
4116 if test "${with_zlib+set}" = set; then :
4117 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4122 # Check whether --with-wine-tools was given.
4123 if test "${with_wine_tools+set}" = set; then :
4124 withval=$with_wine_tools;
4128 # Check whether --with-wine64 was given.
4129 if test "${with_wine64+set}" = set; then :
4130 withval=$with_wine64;
4134 # Make sure we can run config.sub.
4135 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4136 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4139 $as_echo_n "checking build system type... " >&6; }
4140 if ${ac_cv_build+:} false; then :
4141 $as_echo_n "(cached) " >&6
4142 else
4143 ac_build_alias=$build_alias
4144 test "x$ac_build_alias" = x &&
4145 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4146 test "x$ac_build_alias" = x &&
4147 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4148 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4149 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4153 $as_echo "$ac_cv_build" >&6; }
4154 case $ac_cv_build in
4155 *-*-*) ;;
4156 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4157 esac
4158 build=$ac_cv_build
4159 ac_save_IFS=$IFS; IFS='-'
4160 set x $ac_cv_build
4161 shift
4162 build_cpu=$1
4163 build_vendor=$2
4164 shift; shift
4165 # Remember, the first character of IFS is used to create $*,
4166 # except with old shells:
4167 build_os=$*
4168 IFS=$ac_save_IFS
4169 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4173 $as_echo_n "checking host system type... " >&6; }
4174 if ${ac_cv_host+:} false; then :
4175 $as_echo_n "(cached) " >&6
4176 else
4177 if test "x$host_alias" = x; then
4178 ac_cv_host=$ac_cv_build
4179 else
4180 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4181 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4186 $as_echo "$ac_cv_host" >&6; }
4187 case $ac_cv_host in
4188 *-*-*) ;;
4189 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4190 esac
4191 host=$ac_cv_host
4192 ac_save_IFS=$IFS; IFS='-'
4193 set x $ac_cv_host
4194 shift
4195 host_cpu=$1
4196 host_vendor=$2
4197 shift; shift
4198 # Remember, the first character of IFS is used to create $*,
4199 # except with old shells:
4200 host_os=$*
4201 IFS=$ac_save_IFS
4202 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4206 case "$srcdir" in
4207 .) ;;
4208 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4209 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4210 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4211 fi ;;
4212 esac
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4216 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4217 set x ${MAKE-make}
4218 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4219 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4220 $as_echo_n "(cached) " >&6
4221 else
4222 cat >conftest.make <<\_ACEOF
4223 SHELL = /bin/sh
4224 all:
4225 @echo '@@@%%%=$(MAKE)=@@@%%%'
4226 _ACEOF
4227 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4228 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4229 *@@@%%%=?*=@@@%%%*)
4230 eval ac_cv_prog_make_${ac_make}_set=yes;;
4232 eval ac_cv_prog_make_${ac_make}_set=no;;
4233 esac
4234 rm -f conftest.make
4236 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4238 $as_echo "yes" >&6; }
4239 SET_MAKE=
4240 else
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4242 $as_echo "no" >&6; }
4243 SET_MAKE="MAKE=${MAKE-make}"
4246 ac_ext=c
4247 ac_cpp='$CPP $CPPFLAGS'
4248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4251 if test -n "$ac_tool_prefix"; then
4252 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4253 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4255 $as_echo_n "checking for $ac_word... " >&6; }
4256 if ${ac_cv_prog_CC+:} false; then :
4257 $as_echo_n "(cached) " >&6
4258 else
4259 if test -n "$CC"; then
4260 ac_cv_prog_CC="$CC" # Let the user override the test.
4261 else
4262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4263 for as_dir in $PATH
4265 IFS=$as_save_IFS
4266 test -z "$as_dir" && as_dir=.
4267 for ac_exec_ext in '' $ac_executable_extensions; do
4268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4269 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4271 break 2
4273 done
4274 done
4275 IFS=$as_save_IFS
4279 CC=$ac_cv_prog_CC
4280 if test -n "$CC"; then
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4282 $as_echo "$CC" >&6; }
4283 else
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4285 $as_echo "no" >&6; }
4290 if test -z "$ac_cv_prog_CC"; then
4291 ac_ct_CC=$CC
4292 # Extract the first word of "gcc", so it can be a program name with args.
4293 set dummy gcc; ac_word=$2
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4295 $as_echo_n "checking for $ac_word... " >&6; }
4296 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4297 $as_echo_n "(cached) " >&6
4298 else
4299 if test -n "$ac_ct_CC"; then
4300 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4301 else
4302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4303 for as_dir in $PATH
4305 IFS=$as_save_IFS
4306 test -z "$as_dir" && as_dir=.
4307 for ac_exec_ext in '' $ac_executable_extensions; do
4308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4309 ac_cv_prog_ac_ct_CC="gcc"
4310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4311 break 2
4313 done
4314 done
4315 IFS=$as_save_IFS
4319 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4320 if test -n "$ac_ct_CC"; then
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4322 $as_echo "$ac_ct_CC" >&6; }
4323 else
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4325 $as_echo "no" >&6; }
4328 if test "x$ac_ct_CC" = x; then
4329 CC=""
4330 else
4331 case $cross_compiling:$ac_tool_warned in
4332 yes:)
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4335 ac_tool_warned=yes ;;
4336 esac
4337 CC=$ac_ct_CC
4339 else
4340 CC="$ac_cv_prog_CC"
4343 if test -z "$CC"; then
4344 if test -n "$ac_tool_prefix"; then
4345 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4346 set dummy ${ac_tool_prefix}cc; ac_word=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if ${ac_cv_prog_CC+:} false; then :
4350 $as_echo_n "(cached) " >&6
4351 else
4352 if test -n "$CC"; then
4353 ac_cv_prog_CC="$CC" # Let the user override the test.
4354 else
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 for as_dir in $PATH
4358 IFS=$as_save_IFS
4359 test -z "$as_dir" && as_dir=.
4360 for ac_exec_ext in '' $ac_executable_extensions; do
4361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4362 ac_cv_prog_CC="${ac_tool_prefix}cc"
4363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4364 break 2
4366 done
4367 done
4368 IFS=$as_save_IFS
4372 CC=$ac_cv_prog_CC
4373 if test -n "$CC"; then
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4375 $as_echo "$CC" >&6; }
4376 else
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4384 if test -z "$CC"; then
4385 # Extract the first word of "cc", so it can be a program name with args.
4386 set dummy cc; ac_word=$2
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388 $as_echo_n "checking for $ac_word... " >&6; }
4389 if ${ac_cv_prog_CC+:} false; then :
4390 $as_echo_n "(cached) " >&6
4391 else
4392 if test -n "$CC"; then
4393 ac_cv_prog_CC="$CC" # Let the user override the test.
4394 else
4395 ac_prog_rejected=no
4396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397 for as_dir in $PATH
4399 IFS=$as_save_IFS
4400 test -z "$as_dir" && as_dir=.
4401 for ac_exec_ext in '' $ac_executable_extensions; do
4402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4403 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4404 ac_prog_rejected=yes
4405 continue
4407 ac_cv_prog_CC="cc"
4408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 break 2
4411 done
4412 done
4413 IFS=$as_save_IFS
4415 if test $ac_prog_rejected = yes; then
4416 # We found a bogon in the path, so make sure we never use it.
4417 set dummy $ac_cv_prog_CC
4418 shift
4419 if test $# != 0; then
4420 # We chose a different compiler from the bogus one.
4421 # However, it has the same basename, so the bogon will be chosen
4422 # first if we set CC to just the basename; use the full file name.
4423 shift
4424 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4429 CC=$ac_cv_prog_CC
4430 if test -n "$CC"; then
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4432 $as_echo "$CC" >&6; }
4433 else
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435 $as_echo "no" >&6; }
4440 if test -z "$CC"; then
4441 if test -n "$ac_tool_prefix"; then
4442 for ac_prog in cl.exe
4444 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4445 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4447 $as_echo_n "checking for $ac_word... " >&6; }
4448 if ${ac_cv_prog_CC+:} false; then :
4449 $as_echo_n "(cached) " >&6
4450 else
4451 if test -n "$CC"; then
4452 ac_cv_prog_CC="$CC" # Let the user override the test.
4453 else
4454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4455 for as_dir in $PATH
4457 IFS=$as_save_IFS
4458 test -z "$as_dir" && as_dir=.
4459 for ac_exec_ext in '' $ac_executable_extensions; do
4460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4461 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4463 break 2
4465 done
4466 done
4467 IFS=$as_save_IFS
4471 CC=$ac_cv_prog_CC
4472 if test -n "$CC"; then
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4474 $as_echo "$CC" >&6; }
4475 else
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4477 $as_echo "no" >&6; }
4481 test -n "$CC" && break
4482 done
4484 if test -z "$CC"; then
4485 ac_ct_CC=$CC
4486 for ac_prog in cl.exe
4488 # Extract the first word of "$ac_prog", so it can be a program name with args.
4489 set dummy $ac_prog; ac_word=$2
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4491 $as_echo_n "checking for $ac_word... " >&6; }
4492 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4493 $as_echo_n "(cached) " >&6
4494 else
4495 if test -n "$ac_ct_CC"; then
4496 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4497 else
4498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4499 for as_dir in $PATH
4501 IFS=$as_save_IFS
4502 test -z "$as_dir" && as_dir=.
4503 for ac_exec_ext in '' $ac_executable_extensions; do
4504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4505 ac_cv_prog_ac_ct_CC="$ac_prog"
4506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4507 break 2
4509 done
4510 done
4511 IFS=$as_save_IFS
4515 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4516 if test -n "$ac_ct_CC"; then
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4518 $as_echo "$ac_ct_CC" >&6; }
4519 else
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4521 $as_echo "no" >&6; }
4525 test -n "$ac_ct_CC" && break
4526 done
4528 if test "x$ac_ct_CC" = x; then
4529 CC=""
4530 else
4531 case $cross_compiling:$ac_tool_warned in
4532 yes:)
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4535 ac_tool_warned=yes ;;
4536 esac
4537 CC=$ac_ct_CC
4544 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4546 as_fn_error $? "no acceptable C compiler found in \$PATH
4547 See \`config.log' for more details" "$LINENO" 5; }
4549 # Provide some information about the compiler.
4550 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4551 set X $ac_compile
4552 ac_compiler=$2
4553 for ac_option in --version -v -V -qversion; do
4554 { { ac_try="$ac_compiler $ac_option >&5"
4555 case "(($ac_try" in
4556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4557 *) ac_try_echo=$ac_try;;
4558 esac
4559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4560 $as_echo "$ac_try_echo"; } >&5
4561 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4562 ac_status=$?
4563 if test -s conftest.err; then
4564 sed '10a\
4565 ... rest of stderr output deleted ...
4566 10q' conftest.err >conftest.er1
4567 cat conftest.er1 >&5
4569 rm -f conftest.er1 conftest.err
4570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4571 test $ac_status = 0; }
4572 done
4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4578 main ()
4582 return 0;
4584 _ACEOF
4585 ac_clean_files_save=$ac_clean_files
4586 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4587 # Try to create an executable without -o first, disregard a.out.
4588 # It will help us diagnose broken compilers, and finding out an intuition
4589 # of exeext.
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4591 $as_echo_n "checking whether the C compiler works... " >&6; }
4592 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4594 # The possible output files:
4595 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4597 ac_rmfiles=
4598 for ac_file in $ac_files
4600 case $ac_file in
4601 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4602 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4603 esac
4604 done
4605 rm -f $ac_rmfiles
4607 if { { ac_try="$ac_link_default"
4608 case "(($ac_try" in
4609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4610 *) ac_try_echo=$ac_try;;
4611 esac
4612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4613 $as_echo "$ac_try_echo"; } >&5
4614 (eval "$ac_link_default") 2>&5
4615 ac_status=$?
4616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4617 test $ac_status = 0; }; then :
4618 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4619 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4620 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4621 # so that the user can short-circuit this test for compilers unknown to
4622 # Autoconf.
4623 for ac_file in $ac_files ''
4625 test -f "$ac_file" || continue
4626 case $ac_file in
4627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4629 [ab].out )
4630 # We found the default executable, but exeext='' is most
4631 # certainly right.
4632 break;;
4633 *.* )
4634 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4635 then :; else
4636 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4638 # We set ac_cv_exeext here because the later test for it is not
4639 # safe: cross compilers may not add the suffix if given an `-o'
4640 # argument, so we may need to know it at that point already.
4641 # Even if this section looks crufty: it has the advantage of
4642 # actually working.
4643 break;;
4645 break;;
4646 esac
4647 done
4648 test "$ac_cv_exeext" = no && ac_cv_exeext=
4650 else
4651 ac_file=''
4653 if test -z "$ac_file"; then :
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4655 $as_echo "no" >&6; }
4656 $as_echo "$as_me: failed program was:" >&5
4657 sed 's/^/| /' conftest.$ac_ext >&5
4659 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4661 as_fn_error 77 "C compiler cannot create executables
4662 See \`config.log' for more details" "$LINENO" 5; }
4663 else
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4665 $as_echo "yes" >&6; }
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4668 $as_echo_n "checking for C compiler default output file name... " >&6; }
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4670 $as_echo "$ac_file" >&6; }
4671 ac_exeext=$ac_cv_exeext
4673 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4674 ac_clean_files=$ac_clean_files_save
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4676 $as_echo_n "checking for suffix of executables... " >&6; }
4677 if { { ac_try="$ac_link"
4678 case "(($ac_try" in
4679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4680 *) ac_try_echo=$ac_try;;
4681 esac
4682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4683 $as_echo "$ac_try_echo"; } >&5
4684 (eval "$ac_link") 2>&5
4685 ac_status=$?
4686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4687 test $ac_status = 0; }; then :
4688 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4689 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4690 # work properly (i.e., refer to `conftest.exe'), while it won't with
4691 # `rm'.
4692 for ac_file in conftest.exe conftest conftest.*; do
4693 test -f "$ac_file" || continue
4694 case $ac_file in
4695 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4696 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4697 break;;
4698 * ) break;;
4699 esac
4700 done
4701 else
4702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4704 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4705 See \`config.log' for more details" "$LINENO" 5; }
4707 rm -f conftest conftest$ac_cv_exeext
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4709 $as_echo "$ac_cv_exeext" >&6; }
4711 rm -f conftest.$ac_ext
4712 EXEEXT=$ac_cv_exeext
4713 ac_exeext=$EXEEXT
4714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4715 /* end confdefs.h. */
4716 #include <stdio.h>
4718 main ()
4720 FILE *f = fopen ("conftest.out", "w");
4721 return ferror (f) || fclose (f) != 0;
4724 return 0;
4726 _ACEOF
4727 ac_clean_files="$ac_clean_files conftest.out"
4728 # Check that the compiler produces executables we can run. If not, either
4729 # the compiler is broken, or we cross compile.
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4731 $as_echo_n "checking whether we are cross compiling... " >&6; }
4732 if test "$cross_compiling" != yes; then
4733 { { ac_try="$ac_link"
4734 case "(($ac_try" in
4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4737 esac
4738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4739 $as_echo "$ac_try_echo"; } >&5
4740 (eval "$ac_link") 2>&5
4741 ac_status=$?
4742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4743 test $ac_status = 0; }
4744 if { ac_try='./conftest$ac_cv_exeext'
4745 { { case "(($ac_try" in
4746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4747 *) ac_try_echo=$ac_try;;
4748 esac
4749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4750 $as_echo "$ac_try_echo"; } >&5
4751 (eval "$ac_try") 2>&5
4752 ac_status=$?
4753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4754 test $ac_status = 0; }; }; then
4755 cross_compiling=no
4756 else
4757 if test "$cross_compiling" = maybe; then
4758 cross_compiling=yes
4759 else
4760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4762 as_fn_error $? "cannot run C compiled programs.
4763 If you meant to cross compile, use \`--host'.
4764 See \`config.log' for more details" "$LINENO" 5; }
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4769 $as_echo "$cross_compiling" >&6; }
4771 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4772 ac_clean_files=$ac_clean_files_save
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4774 $as_echo_n "checking for suffix of object files... " >&6; }
4775 if ${ac_cv_objext+:} false; then :
4776 $as_echo_n "(cached) " >&6
4777 else
4778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h. */
4782 main ()
4786 return 0;
4788 _ACEOF
4789 rm -f conftest.o conftest.obj
4790 if { { ac_try="$ac_compile"
4791 case "(($ac_try" in
4792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4793 *) ac_try_echo=$ac_try;;
4794 esac
4795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4796 $as_echo "$ac_try_echo"; } >&5
4797 (eval "$ac_compile") 2>&5
4798 ac_status=$?
4799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4800 test $ac_status = 0; }; then :
4801 for ac_file in conftest.o conftest.obj conftest.*; do
4802 test -f "$ac_file" || continue;
4803 case $ac_file in
4804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4805 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4806 break;;
4807 esac
4808 done
4809 else
4810 $as_echo "$as_me: failed program was:" >&5
4811 sed 's/^/| /' conftest.$ac_ext >&5
4813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4815 as_fn_error $? "cannot compute suffix of object files: cannot compile
4816 See \`config.log' for more details" "$LINENO" 5; }
4818 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4821 $as_echo "$ac_cv_objext" >&6; }
4822 OBJEXT=$ac_cv_objext
4823 ac_objext=$OBJEXT
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4825 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4826 if ${ac_cv_c_compiler_gnu+:} false; then :
4827 $as_echo_n "(cached) " >&6
4828 else
4829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4830 /* end confdefs.h. */
4833 main ()
4835 #ifndef __GNUC__
4836 choke me
4837 #endif
4840 return 0;
4842 _ACEOF
4843 if ac_fn_c_try_compile "$LINENO"; then :
4844 ac_compiler_gnu=yes
4845 else
4846 ac_compiler_gnu=no
4848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4849 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4853 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4854 if test $ac_compiler_gnu = yes; then
4855 GCC=yes
4856 else
4857 GCC=
4859 ac_test_CFLAGS=${CFLAGS+set}
4860 ac_save_CFLAGS=$CFLAGS
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4862 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4863 if ${ac_cv_prog_cc_g+:} false; then :
4864 $as_echo_n "(cached) " >&6
4865 else
4866 ac_save_c_werror_flag=$ac_c_werror_flag
4867 ac_c_werror_flag=yes
4868 ac_cv_prog_cc_g=no
4869 CFLAGS="-g"
4870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4871 /* end confdefs.h. */
4874 main ()
4878 return 0;
4880 _ACEOF
4881 if ac_fn_c_try_compile "$LINENO"; then :
4882 ac_cv_prog_cc_g=yes
4883 else
4884 CFLAGS=""
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4889 main ()
4893 return 0;
4895 _ACEOF
4896 if ac_fn_c_try_compile "$LINENO"; then :
4898 else
4899 ac_c_werror_flag=$ac_save_c_werror_flag
4900 CFLAGS="-g"
4901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4902 /* end confdefs.h. */
4905 main ()
4909 return 0;
4911 _ACEOF
4912 if ac_fn_c_try_compile "$LINENO"; then :
4913 ac_cv_prog_cc_g=yes
4915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4920 ac_c_werror_flag=$ac_save_c_werror_flag
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4923 $as_echo "$ac_cv_prog_cc_g" >&6; }
4924 if test "$ac_test_CFLAGS" = set; then
4925 CFLAGS=$ac_save_CFLAGS
4926 elif test $ac_cv_prog_cc_g = yes; then
4927 if test "$GCC" = yes; then
4928 CFLAGS="-g -O2"
4929 else
4930 CFLAGS="-g"
4932 else
4933 if test "$GCC" = yes; then
4934 CFLAGS="-O2"
4935 else
4936 CFLAGS=
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4940 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4941 if ${ac_cv_prog_cc_c89+:} false; then :
4942 $as_echo_n "(cached) " >&6
4943 else
4944 ac_cv_prog_cc_c89=no
4945 ac_save_CC=$CC
4946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4947 /* end confdefs.h. */
4948 #include <stdarg.h>
4949 #include <stdio.h>
4950 struct stat;
4951 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4952 struct buf { int x; };
4953 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4954 static char *e (p, i)
4955 char **p;
4956 int i;
4958 return p[i];
4960 static char *f (char * (*g) (char **, int), char **p, ...)
4962 char *s;
4963 va_list v;
4964 va_start (v,p);
4965 s = g (p, va_arg (v,int));
4966 va_end (v);
4967 return s;
4970 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4971 function prototypes and stuff, but not '\xHH' hex character constants.
4972 These don't provoke an error unfortunately, instead are silently treated
4973 as 'x'. The following induces an error, until -std is added to get
4974 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4975 array size at least. It's necessary to write '\x00'==0 to get something
4976 that's true only with -std. */
4977 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4979 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4980 inside strings and character constants. */
4981 #define FOO(x) 'x'
4982 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4984 int test (int i, double x);
4985 struct s1 {int (*f) (int a);};
4986 struct s2 {int (*f) (double a);};
4987 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4988 int argc;
4989 char **argv;
4991 main ()
4993 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4995 return 0;
4997 _ACEOF
4998 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4999 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5001 CC="$ac_save_CC $ac_arg"
5002 if ac_fn_c_try_compile "$LINENO"; then :
5003 ac_cv_prog_cc_c89=$ac_arg
5005 rm -f core conftest.err conftest.$ac_objext
5006 test "x$ac_cv_prog_cc_c89" != "xno" && break
5007 done
5008 rm -f conftest.$ac_ext
5009 CC=$ac_save_CC
5012 # AC_CACHE_VAL
5013 case "x$ac_cv_prog_cc_c89" in
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5016 $as_echo "none needed" >&6; } ;;
5017 xno)
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5019 $as_echo "unsupported" >&6; } ;;
5021 CC="$CC $ac_cv_prog_cc_c89"
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5023 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5024 esac
5025 if test "x$ac_cv_prog_cc_c89" != xno; then :
5029 ac_ext=c
5030 ac_cpp='$CPP $CPPFLAGS'
5031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5035 ac_ext=cpp
5036 ac_cpp='$CXXCPP $CPPFLAGS'
5037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5040 if test -z "$CXX"; then
5041 if test -n "$CCC"; then
5042 CXX=$CCC
5043 else
5044 if test -n "$ac_tool_prefix"; then
5045 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5047 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5048 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5050 $as_echo_n "checking for $ac_word... " >&6; }
5051 if ${ac_cv_prog_CXX+:} false; then :
5052 $as_echo_n "(cached) " >&6
5053 else
5054 if test -n "$CXX"; then
5055 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5056 else
5057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5058 for as_dir in $PATH
5060 IFS=$as_save_IFS
5061 test -z "$as_dir" && as_dir=.
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5064 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 break 2
5068 done
5069 done
5070 IFS=$as_save_IFS
5074 CXX=$ac_cv_prog_CXX
5075 if test -n "$CXX"; then
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5077 $as_echo "$CXX" >&6; }
5078 else
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5080 $as_echo "no" >&6; }
5084 test -n "$CXX" && break
5085 done
5087 if test -z "$CXX"; then
5088 ac_ct_CXX=$CXX
5089 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5091 # Extract the first word of "$ac_prog", so it can be a program name with args.
5092 set dummy $ac_prog; ac_word=$2
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5094 $as_echo_n "checking for $ac_word... " >&6; }
5095 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5096 $as_echo_n "(cached) " >&6
5097 else
5098 if test -n "$ac_ct_CXX"; then
5099 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5100 else
5101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5102 for as_dir in $PATH
5104 IFS=$as_save_IFS
5105 test -z "$as_dir" && as_dir=.
5106 for ac_exec_ext in '' $ac_executable_extensions; do
5107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5108 ac_cv_prog_ac_ct_CXX="$ac_prog"
5109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5110 break 2
5112 done
5113 done
5114 IFS=$as_save_IFS
5118 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5119 if test -n "$ac_ct_CXX"; then
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5121 $as_echo "$ac_ct_CXX" >&6; }
5122 else
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124 $as_echo "no" >&6; }
5128 test -n "$ac_ct_CXX" && break
5129 done
5131 if test "x$ac_ct_CXX" = x; then
5132 CXX="g++"
5133 else
5134 case $cross_compiling:$ac_tool_warned in
5135 yes:)
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5138 ac_tool_warned=yes ;;
5139 esac
5140 CXX=$ac_ct_CXX
5146 # Provide some information about the compiler.
5147 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5148 set X $ac_compile
5149 ac_compiler=$2
5150 for ac_option in --version -v -V -qversion; do
5151 { { ac_try="$ac_compiler $ac_option >&5"
5152 case "(($ac_try" in
5153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5154 *) ac_try_echo=$ac_try;;
5155 esac
5156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5157 $as_echo "$ac_try_echo"; } >&5
5158 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5159 ac_status=$?
5160 if test -s conftest.err; then
5161 sed '10a\
5162 ... rest of stderr output deleted ...
5163 10q' conftest.err >conftest.er1
5164 cat conftest.er1 >&5
5166 rm -f conftest.er1 conftest.err
5167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5168 test $ac_status = 0; }
5169 done
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5172 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5173 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5174 $as_echo_n "(cached) " >&6
5175 else
5176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5177 /* end confdefs.h. */
5180 main ()
5182 #ifndef __GNUC__
5183 choke me
5184 #endif
5187 return 0;
5189 _ACEOF
5190 if ac_fn_cxx_try_compile "$LINENO"; then :
5191 ac_compiler_gnu=yes
5192 else
5193 ac_compiler_gnu=no
5195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5196 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5200 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5201 if test $ac_compiler_gnu = yes; then
5202 GXX=yes
5203 else
5204 GXX=
5206 ac_test_CXXFLAGS=${CXXFLAGS+set}
5207 ac_save_CXXFLAGS=$CXXFLAGS
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5209 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5210 if ${ac_cv_prog_cxx_g+:} false; then :
5211 $as_echo_n "(cached) " >&6
5212 else
5213 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5214 ac_cxx_werror_flag=yes
5215 ac_cv_prog_cxx_g=no
5216 CXXFLAGS="-g"
5217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5218 /* end confdefs.h. */
5221 main ()
5225 return 0;
5227 _ACEOF
5228 if ac_fn_cxx_try_compile "$LINENO"; then :
5229 ac_cv_prog_cxx_g=yes
5230 else
5231 CXXFLAGS=""
5232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5233 /* end confdefs.h. */
5236 main ()
5240 return 0;
5242 _ACEOF
5243 if ac_fn_cxx_try_compile "$LINENO"; then :
5245 else
5246 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5247 CXXFLAGS="-g"
5248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5249 /* end confdefs.h. */
5252 main ()
5256 return 0;
5258 _ACEOF
5259 if ac_fn_cxx_try_compile "$LINENO"; then :
5260 ac_cv_prog_cxx_g=yes
5262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5267 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5270 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5271 if test "$ac_test_CXXFLAGS" = set; then
5272 CXXFLAGS=$ac_save_CXXFLAGS
5273 elif test $ac_cv_prog_cxx_g = yes; then
5274 if test "$GXX" = yes; then
5275 CXXFLAGS="-g -O2"
5276 else
5277 CXXFLAGS="-g"
5279 else
5280 if test "$GXX" = yes; then
5281 CXXFLAGS="-O2"
5282 else
5283 CXXFLAGS=
5286 ac_ext=c
5287 ac_cpp='$CPP $CPPFLAGS'
5288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5292 if test -n "$ac_tool_prefix"; then
5293 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5294 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5296 $as_echo_n "checking for $ac_word... " >&6; }
5297 if ${ac_cv_prog_CPPBIN+:} false; then :
5298 $as_echo_n "(cached) " >&6
5299 else
5300 if test -n "$CPPBIN"; then
5301 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5302 else
5303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5304 for as_dir in $PATH
5306 IFS=$as_save_IFS
5307 test -z "$as_dir" && as_dir=.
5308 for ac_exec_ext in '' $ac_executable_extensions; do
5309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5310 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5312 break 2
5314 done
5315 done
5316 IFS=$as_save_IFS
5320 CPPBIN=$ac_cv_prog_CPPBIN
5321 if test -n "$CPPBIN"; then
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5323 $as_echo "$CPPBIN" >&6; }
5324 else
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5326 $as_echo "no" >&6; }
5331 if test -z "$ac_cv_prog_CPPBIN"; then
5332 ac_ct_CPPBIN=$CPPBIN
5333 # Extract the first word of "cpp", so it can be a program name with args.
5334 set dummy cpp; ac_word=$2
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5336 $as_echo_n "checking for $ac_word... " >&6; }
5337 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5338 $as_echo_n "(cached) " >&6
5339 else
5340 if test -n "$ac_ct_CPPBIN"; then
5341 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5342 else
5343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5344 for as_dir in $PATH
5346 IFS=$as_save_IFS
5347 test -z "$as_dir" && as_dir=.
5348 for ac_exec_ext in '' $ac_executable_extensions; do
5349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5350 ac_cv_prog_ac_ct_CPPBIN="cpp"
5351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5352 break 2
5354 done
5355 done
5356 IFS=$as_save_IFS
5360 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5361 if test -n "$ac_ct_CPPBIN"; then
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5363 $as_echo "$ac_ct_CPPBIN" >&6; }
5364 else
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5366 $as_echo "no" >&6; }
5369 if test "x$ac_ct_CPPBIN" = x; then
5370 CPPBIN="cpp"
5371 else
5372 case $cross_compiling:$ac_tool_warned in
5373 yes:)
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5376 ac_tool_warned=yes ;;
5377 esac
5378 CPPBIN=$ac_ct_CPPBIN
5380 else
5381 CPPBIN="$ac_cv_prog_CPPBIN"
5385 cat >>confdefs.h <<_ACEOF
5386 #define EXEEXT "$ac_exeext"
5387 _ACEOF
5389 if test -n "$ac_tool_prefix"; then
5390 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5391 set dummy ${ac_tool_prefix}ld; ac_word=$2
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5393 $as_echo_n "checking for $ac_word... " >&6; }
5394 if ${ac_cv_prog_LD+:} false; then :
5395 $as_echo_n "(cached) " >&6
5396 else
5397 if test -n "$LD"; then
5398 ac_cv_prog_LD="$LD" # Let the user override the test.
5399 else
5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5401 for as_dir in $PATH
5403 IFS=$as_save_IFS
5404 test -z "$as_dir" && as_dir=.
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5407 ac_cv_prog_LD="${ac_tool_prefix}ld"
5408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5409 break 2
5411 done
5412 done
5413 IFS=$as_save_IFS
5417 LD=$ac_cv_prog_LD
5418 if test -n "$LD"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5420 $as_echo "$LD" >&6; }
5421 else
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5428 if test -z "$ac_cv_prog_LD"; then
5429 ac_ct_LD=$LD
5430 # Extract the first word of "ld", so it can be a program name with args.
5431 set dummy ld; ac_word=$2
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5433 $as_echo_n "checking for $ac_word... " >&6; }
5434 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5435 $as_echo_n "(cached) " >&6
5436 else
5437 if test -n "$ac_ct_LD"; then
5438 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5439 else
5440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5441 for as_dir in $PATH
5443 IFS=$as_save_IFS
5444 test -z "$as_dir" && as_dir=.
5445 for ac_exec_ext in '' $ac_executable_extensions; do
5446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5447 ac_cv_prog_ac_ct_LD="ld"
5448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5449 break 2
5451 done
5452 done
5453 IFS=$as_save_IFS
5457 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5458 if test -n "$ac_ct_LD"; then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5460 $as_echo "$ac_ct_LD" >&6; }
5461 else
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5463 $as_echo "no" >&6; }
5466 if test "x$ac_ct_LD" = x; then
5467 LD=""
5468 else
5469 case $cross_compiling:$ac_tool_warned in
5470 yes:)
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5473 ac_tool_warned=yes ;;
5474 esac
5475 LD=$ac_ct_LD
5477 else
5478 LD="$ac_cv_prog_LD"
5482 case $host in
5483 *-darwin*)
5484 with_fontconfig=${with_fontconfig:-no}
5486 *-mingw32*|*-cygwin*)
5487 enable_win16=${enable_win16:-no}
5488 CFLAGS="$CFLAGS -D_WIN32"
5490 esac
5492 case $host in
5493 x86_64*|amd64*)
5494 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5495 then
5496 CC="$CC -m32"
5497 CXX="$CXX -m32"
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5499 $as_echo_n "checking whether $CC works... " >&6; }
5501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5502 /* end confdefs.h. */
5505 main ()
5509 return 0;
5511 _ACEOF
5512 if ac_fn_c_try_link "$LINENO"; then :
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5514 $as_echo "yes" >&6; }
5515 else
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5517 $as_echo "no" >&6; }
5518 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5520 rm -f core conftest.err conftest.$ac_objext \
5521 conftest$ac_exeext conftest.$ac_ext
5522 host_cpu="i386"
5523 notice_platform="32-bit "
5524 TARGETFLAGS="-m32"
5526 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5527 export PKG_CONFIG_PATH
5528 enable_win16=${enable_win16:-yes}
5529 else
5530 if test "x${GCC}" = "xyes"
5531 then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5533 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5535 /* end confdefs.h. */
5536 #include <stdarg.h>
5538 main ()
5540 void func(__builtin_ms_va_list *args);
5542 return 0;
5544 _ACEOF
5545 if ac_fn_c_try_compile "$LINENO"; then :
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5547 $as_echo "yes" >&6; }
5548 else
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5550 $as_echo "no" >&6; }
5551 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5555 CC="$CC -m64"
5556 CXX="$CXX -m64"
5557 host_cpu="x86_64"
5558 notice_platform="64-bit "
5559 TARGETFLAGS="-m64"
5563 arm*)
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5565 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5567 /* end confdefs.h. */
5568 int ac_test(int i) { return i; }
5570 main ()
5572 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5574 return 0;
5576 _ACEOF
5577 if ac_fn_c_try_link "$LINENO"; then :
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5579 $as_echo "yes" >&6; }
5580 else
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5582 $as_echo "no" >&6; }
5583 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5585 rm -f core conftest.err conftest.$ac_objext \
5586 conftest$ac_exeext conftest.$ac_ext
5587 case $with_float_abi in
5588 soft|softfp|hard)
5589 float_abi=$with_float_abi ;;
5591 case $host_os in
5592 *eabihf)
5593 float_abi=hard ;;
5595 float_abi=softfp
5596 saved_CFLAGS=$CFLAGS
5597 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5599 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5601 /* end confdefs.h. */
5604 main ()
5606 asm("vmrs r2,fpscr");
5608 return 0;
5610 _ACEOF
5611 if ac_fn_c_try_link "$LINENO"; then :
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5613 $as_echo "yes" >&6; }
5614 else
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5617 float_abi=soft
5618 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5620 rm -f core conftest.err conftest.$ac_objext \
5621 conftest$ac_exeext conftest.$ac_ext
5622 CFLAGS=$saved_CFLAGS
5623 esac
5625 esac
5626 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5627 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5630 aarch64*)
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5632 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5634 /* end confdefs.h. */
5635 #include <stdarg.h>
5637 main ()
5639 void func(__builtin_ms_va_list *args);
5641 return 0;
5643 _ACEOF
5644 if ac_fn_c_try_compile "$LINENO"; then :
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5646 $as_echo "yes" >&6; }
5647 else
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649 $as_echo "no" >&6; }
5650 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5654 i[3456789]86*)
5655 enable_win16=${enable_win16:-yes}
5657 esac
5659 enable_win16=${enable_win16:-no}
5660 enable_win64=${enable_win64:-no}
5662 enable_winetest=${enable_winetest:-$enable_tests}
5664 if test "x$enable_win64" = "xyes"
5665 then
5666 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5667 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5668 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5672 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5673 if ${wine_cv_toolsdir+:} false; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 wine_cv_toolsdir="$with_wine_tools"
5677 if test -z "$with_wine_tools"; then
5678 if test "$cross_compiling" = "yes"; then
5679 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5680 elif test -n "$with_wine64"; then
5681 wine_cv_toolsdir="$with_wine64"
5684 if test -z "$wine_cv_toolsdir"; then
5685 wine_makedep=tools/makedep
5686 wine_cv_toolsdir="\$(top_builddir)"
5687 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5688 wine_makedep=$wine_cv_toolsdir/tools/makedep
5689 case "$wine_cv_toolsdir" in
5690 /*) ;;
5691 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5692 esac
5693 enable_tools=${enable_tools:-no}
5694 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5695 else
5696 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5700 $as_echo "$wine_cv_toolsdir" >&6; }
5701 TOOLSDIR=$wine_cv_toolsdir
5703 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5704 then
5705 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5709 for ac_prog in flex
5711 # Extract the first word of "$ac_prog", so it can be a program name with args.
5712 set dummy $ac_prog; ac_word=$2
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 $as_echo_n "checking for $ac_word... " >&6; }
5715 if ${ac_cv_prog_FLEX+:} false; then :
5716 $as_echo_n "(cached) " >&6
5717 else
5718 if test -n "$FLEX"; then
5719 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5720 else
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5722 for as_dir in $PATH
5724 IFS=$as_save_IFS
5725 test -z "$as_dir" && as_dir=.
5726 for ac_exec_ext in '' $ac_executable_extensions; do
5727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5728 ac_cv_prog_FLEX="$ac_prog"
5729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5730 break 2
5732 done
5733 done
5734 IFS=$as_save_IFS
5738 FLEX=$ac_cv_prog_FLEX
5739 if test -n "$FLEX"; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5741 $as_echo "$FLEX" >&6; }
5742 else
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5748 test -n "$FLEX" && break
5749 done
5750 test -n "$FLEX" || FLEX="none"
5752 if test "$FLEX" = "none"
5753 then
5754 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5757 $as_echo_n "checking whether flex is recent enough... " >&6; }
5758 cat >conftest.l <<EOF
5759 %top{
5760 #include "prediluvian.h"
5764 if $FLEX -t conftest.l >/dev/null 2>&5
5765 then
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5767 $as_echo "yes" >&6; }
5768 else
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5770 $as_echo "no" >&6; }
5771 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5774 for ac_prog in bison
5776 # Extract the first word of "$ac_prog", so it can be a program name with args.
5777 set dummy $ac_prog; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if ${ac_cv_prog_BISON+:} false; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 if test -n "$BISON"; then
5784 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5789 IFS=$as_save_IFS
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5793 ac_cv_prog_BISON="$ac_prog"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 break 2
5797 done
5798 done
5799 IFS=$as_save_IFS
5803 BISON=$ac_cv_prog_BISON
5804 if test -n "$BISON"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5806 $as_echo "$BISON" >&6; }
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5813 test -n "$BISON" && break
5814 done
5815 test -n "$BISON" || BISON="none"
5817 if test "$BISON" = "none"
5818 then
5819 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5822 if test -n "$ac_tool_prefix"; then
5823 for ac_prog in ar gar
5825 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5826 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5828 $as_echo_n "checking for $ac_word... " >&6; }
5829 if ${ac_cv_prog_AR+:} false; then :
5830 $as_echo_n "(cached) " >&6
5831 else
5832 if test -n "$AR"; then
5833 ac_cv_prog_AR="$AR" # Let the user override the test.
5834 else
5835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5836 for as_dir in $PATH
5838 IFS=$as_save_IFS
5839 test -z "$as_dir" && as_dir=.
5840 for ac_exec_ext in '' $ac_executable_extensions; do
5841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5842 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5844 break 2
5846 done
5847 done
5848 IFS=$as_save_IFS
5852 AR=$ac_cv_prog_AR
5853 if test -n "$AR"; then
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5855 $as_echo "$AR" >&6; }
5856 else
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858 $as_echo "no" >&6; }
5862 test -n "$AR" && break
5863 done
5865 if test -z "$AR"; then
5866 ac_ct_AR=$AR
5867 for ac_prog in ar gar
5869 # Extract the first word of "$ac_prog", so it can be a program name with args.
5870 set dummy $ac_prog; ac_word=$2
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5872 $as_echo_n "checking for $ac_word... " >&6; }
5873 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5874 $as_echo_n "(cached) " >&6
5875 else
5876 if test -n "$ac_ct_AR"; then
5877 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5878 else
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 for as_dir in $PATH
5882 IFS=$as_save_IFS
5883 test -z "$as_dir" && as_dir=.
5884 for ac_exec_ext in '' $ac_executable_extensions; do
5885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5886 ac_cv_prog_ac_ct_AR="$ac_prog"
5887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5888 break 2
5890 done
5891 done
5892 IFS=$as_save_IFS
5896 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5897 if test -n "$ac_ct_AR"; then
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5899 $as_echo "$ac_ct_AR" >&6; }
5900 else
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5902 $as_echo "no" >&6; }
5906 test -n "$ac_ct_AR" && break
5907 done
5909 if test "x$ac_ct_AR" = x; then
5910 AR="ar"
5911 else
5912 case $cross_compiling:$ac_tool_warned in
5913 yes:)
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5916 ac_tool_warned=yes ;;
5917 esac
5918 AR=$ac_ct_AR
5922 if test -n "$ac_tool_prefix"; then
5923 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5924 set dummy ${ac_tool_prefix}strip; ac_word=$2
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5926 $as_echo_n "checking for $ac_word... " >&6; }
5927 if ${ac_cv_prog_STRIP+:} false; then :
5928 $as_echo_n "(cached) " >&6
5929 else
5930 if test -n "$STRIP"; then
5931 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5932 else
5933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 for as_dir in $PATH
5936 IFS=$as_save_IFS
5937 test -z "$as_dir" && as_dir=.
5938 for ac_exec_ext in '' $ac_executable_extensions; do
5939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5940 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5942 break 2
5944 done
5945 done
5946 IFS=$as_save_IFS
5950 STRIP=$ac_cv_prog_STRIP
5951 if test -n "$STRIP"; then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5953 $as_echo "$STRIP" >&6; }
5954 else
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5956 $as_echo "no" >&6; }
5961 if test -z "$ac_cv_prog_STRIP"; then
5962 ac_ct_STRIP=$STRIP
5963 # Extract the first word of "strip", so it can be a program name with args.
5964 set dummy strip; ac_word=$2
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5966 $as_echo_n "checking for $ac_word... " >&6; }
5967 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5968 $as_echo_n "(cached) " >&6
5969 else
5970 if test -n "$ac_ct_STRIP"; then
5971 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5972 else
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 for as_dir in $PATH
5976 IFS=$as_save_IFS
5977 test -z "$as_dir" && as_dir=.
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5980 ac_cv_prog_ac_ct_STRIP="strip"
5981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5982 break 2
5984 done
5985 done
5986 IFS=$as_save_IFS
5990 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5991 if test -n "$ac_ct_STRIP"; then
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5993 $as_echo "$ac_ct_STRIP" >&6; }
5994 else
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5996 $as_echo "no" >&6; }
5999 if test "x$ac_ct_STRIP" = x; then
6000 STRIP="strip"
6001 else
6002 case $cross_compiling:$ac_tool_warned in
6003 yes:)
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6006 ac_tool_warned=yes ;;
6007 esac
6008 STRIP=$ac_ct_STRIP
6010 else
6011 STRIP="$ac_cv_prog_STRIP"
6014 if test -n "$ac_tool_prefix"; then
6015 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6016 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6018 $as_echo_n "checking for $ac_word... " >&6; }
6019 if ${ac_cv_prog_RANLIB+:} false; then :
6020 $as_echo_n "(cached) " >&6
6021 else
6022 if test -n "$RANLIB"; then
6023 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6024 else
6025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026 for as_dir in $PATH
6028 IFS=$as_save_IFS
6029 test -z "$as_dir" && as_dir=.
6030 for ac_exec_ext in '' $ac_executable_extensions; do
6031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6032 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034 break 2
6036 done
6037 done
6038 IFS=$as_save_IFS
6042 RANLIB=$ac_cv_prog_RANLIB
6043 if test -n "$RANLIB"; then
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6045 $as_echo "$RANLIB" >&6; }
6046 else
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 $as_echo "no" >&6; }
6053 if test -z "$ac_cv_prog_RANLIB"; then
6054 ac_ct_RANLIB=$RANLIB
6055 # Extract the first word of "ranlib", so it can be a program name with args.
6056 set dummy ranlib; ac_word=$2
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6058 $as_echo_n "checking for $ac_word... " >&6; }
6059 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6060 $as_echo_n "(cached) " >&6
6061 else
6062 if test -n "$ac_ct_RANLIB"; then
6063 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6064 else
6065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6066 for as_dir in $PATH
6068 IFS=$as_save_IFS
6069 test -z "$as_dir" && as_dir=.
6070 for ac_exec_ext in '' $ac_executable_extensions; do
6071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6072 ac_cv_prog_ac_ct_RANLIB="ranlib"
6073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 break 2
6076 done
6077 done
6078 IFS=$as_save_IFS
6082 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6083 if test -n "$ac_ct_RANLIB"; then
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6085 $as_echo "$ac_ct_RANLIB" >&6; }
6086 else
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6088 $as_echo "no" >&6; }
6091 if test "x$ac_ct_RANLIB" = x; then
6092 RANLIB=":"
6093 else
6094 case $cross_compiling:$ac_tool_warned in
6095 yes:)
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6098 ac_tool_warned=yes ;;
6099 esac
6100 RANLIB=$ac_ct_RANLIB
6102 else
6103 RANLIB="$ac_cv_prog_RANLIB"
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6107 $as_echo_n "checking whether ln -s works... " >&6; }
6108 LN_S=$as_ln_s
6109 if test "$LN_S" = "ln -s"; then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6111 $as_echo "yes" >&6; }
6112 else
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6114 $as_echo "no, using $LN_S" >&6; }
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6118 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6119 if ${ac_cv_path_GREP+:} false; then :
6120 $as_echo_n "(cached) " >&6
6121 else
6122 if test -z "$GREP"; then
6123 ac_path_GREP_found=false
6124 # Loop through the user's path and test for each of PROGNAME-LIST
6125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6126 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6128 IFS=$as_save_IFS
6129 test -z "$as_dir" && as_dir=.
6130 for ac_prog in grep ggrep; do
6131 for ac_exec_ext in '' $ac_executable_extensions; do
6132 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6133 as_fn_executable_p "$ac_path_GREP" || continue
6134 # Check for GNU ac_path_GREP and select it if it is found.
6135 # Check for GNU $ac_path_GREP
6136 case `"$ac_path_GREP" --version 2>&1` in
6137 *GNU*)
6138 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6140 ac_count=0
6141 $as_echo_n 0123456789 >"conftest.in"
6142 while :
6144 cat "conftest.in" "conftest.in" >"conftest.tmp"
6145 mv "conftest.tmp" "conftest.in"
6146 cp "conftest.in" "conftest.nl"
6147 $as_echo 'GREP' >> "conftest.nl"
6148 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6149 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6150 as_fn_arith $ac_count + 1 && ac_count=$as_val
6151 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6152 # Best one so far, save it but keep looking for a better one
6153 ac_cv_path_GREP="$ac_path_GREP"
6154 ac_path_GREP_max=$ac_count
6156 # 10*(2^10) chars as input seems more than enough
6157 test $ac_count -gt 10 && break
6158 done
6159 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6160 esac
6162 $ac_path_GREP_found && break 3
6163 done
6164 done
6165 done
6166 IFS=$as_save_IFS
6167 if test -z "$ac_cv_path_GREP"; then
6168 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6170 else
6171 ac_cv_path_GREP=$GREP
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6176 $as_echo "$ac_cv_path_GREP" >&6; }
6177 GREP="$ac_cv_path_GREP"
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6181 $as_echo_n "checking for egrep... " >&6; }
6182 if ${ac_cv_path_EGREP+:} false; then :
6183 $as_echo_n "(cached) " >&6
6184 else
6185 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6186 then ac_cv_path_EGREP="$GREP -E"
6187 else
6188 if test -z "$EGREP"; then
6189 ac_path_EGREP_found=false
6190 # Loop through the user's path and test for each of PROGNAME-LIST
6191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6192 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6194 IFS=$as_save_IFS
6195 test -z "$as_dir" && as_dir=.
6196 for ac_prog in egrep; do
6197 for ac_exec_ext in '' $ac_executable_extensions; do
6198 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6199 as_fn_executable_p "$ac_path_EGREP" || continue
6200 # Check for GNU ac_path_EGREP and select it if it is found.
6201 # Check for GNU $ac_path_EGREP
6202 case `"$ac_path_EGREP" --version 2>&1` in
6203 *GNU*)
6204 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6206 ac_count=0
6207 $as_echo_n 0123456789 >"conftest.in"
6208 while :
6210 cat "conftest.in" "conftest.in" >"conftest.tmp"
6211 mv "conftest.tmp" "conftest.in"
6212 cp "conftest.in" "conftest.nl"
6213 $as_echo 'EGREP' >> "conftest.nl"
6214 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6215 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6216 as_fn_arith $ac_count + 1 && ac_count=$as_val
6217 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6218 # Best one so far, save it but keep looking for a better one
6219 ac_cv_path_EGREP="$ac_path_EGREP"
6220 ac_path_EGREP_max=$ac_count
6222 # 10*(2^10) chars as input seems more than enough
6223 test $ac_count -gt 10 && break
6224 done
6225 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6226 esac
6228 $ac_path_EGREP_found && break 3
6229 done
6230 done
6231 done
6232 IFS=$as_save_IFS
6233 if test -z "$ac_cv_path_EGREP"; then
6234 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6236 else
6237 ac_cv_path_EGREP=$EGREP
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6243 $as_echo "$ac_cv_path_EGREP" >&6; }
6244 EGREP="$ac_cv_path_EGREP"
6247 # Extract the first word of "ldconfig", so it can be a program name with args.
6248 set dummy ldconfig; ac_word=$2
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6250 $as_echo_n "checking for $ac_word... " >&6; }
6251 if ${ac_cv_path_LDCONFIG+:} false; then :
6252 $as_echo_n "(cached) " >&6
6253 else
6254 case $LDCONFIG in
6255 [\\/]* | ?:[\\/]*)
6256 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6260 for as_dir in /sbin /usr/sbin $PATH
6262 IFS=$as_save_IFS
6263 test -z "$as_dir" && as_dir=.
6264 for ac_exec_ext in '' $ac_executable_extensions; do
6265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6266 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6268 break 2
6270 done
6271 done
6272 IFS=$as_save_IFS
6274 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6276 esac
6278 LDCONFIG=$ac_cv_path_LDCONFIG
6279 if test -n "$LDCONFIG"; then
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6281 $as_echo "$LDCONFIG" >&6; }
6282 else
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6284 $as_echo "no" >&6; }
6288 for ac_prog in msgfmt
6290 # Extract the first word of "$ac_prog", so it can be a program name with args.
6291 set dummy $ac_prog; ac_word=$2
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6293 $as_echo_n "checking for $ac_word... " >&6; }
6294 if ${ac_cv_prog_MSGFMT+:} false; then :
6295 $as_echo_n "(cached) " >&6
6296 else
6297 if test -n "$MSGFMT"; then
6298 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6299 else
6300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6301 for as_dir in $PATH
6303 IFS=$as_save_IFS
6304 test -z "$as_dir" && as_dir=.
6305 for ac_exec_ext in '' $ac_executable_extensions; do
6306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6307 ac_cv_prog_MSGFMT="$ac_prog"
6308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6309 break 2
6311 done
6312 done
6313 IFS=$as_save_IFS
6317 MSGFMT=$ac_cv_prog_MSGFMT
6318 if test -n "$MSGFMT"; then
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6320 $as_echo "$MSGFMT" >&6; }
6321 else
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6323 $as_echo "no" >&6; }
6327 test -n "$MSGFMT" && break
6328 done
6329 test -n "$MSGFMT" || MSGFMT="false"
6331 if ${ac_tool_prefix+:} false; then :
6332 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6333 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6335 $as_echo_n "checking for $ac_word... " >&6; }
6336 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6337 $as_echo_n "(cached) " >&6
6338 else
6339 if test -n "$PKG_CONFIG"; then
6340 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6341 else
6342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6343 for as_dir in $PATH
6345 IFS=$as_save_IFS
6346 test -z "$as_dir" && as_dir=.
6347 for ac_exec_ext in '' $ac_executable_extensions; do
6348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6349 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6351 break 2
6353 done
6354 done
6355 IFS=$as_save_IFS
6359 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6360 if test -n "$PKG_CONFIG"; then
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6362 $as_echo "$PKG_CONFIG" >&6; }
6363 else
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6365 $as_echo "no" >&6; }
6370 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6371 if test "x$cross_compiling" = xyes; then :
6373 else
6374 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6375 # Extract the first word of "pkg-config", so it can be a program name with args.
6376 set dummy pkg-config; ac_word=$2
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6378 $as_echo_n "checking for $ac_word... " >&6; }
6379 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6380 $as_echo_n "(cached) " >&6
6381 else
6382 if test -n "$PKG_CONFIG"; then
6383 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6384 else
6385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6386 for as_dir in $PATH
6388 IFS=$as_save_IFS
6389 test -z "$as_dir" && as_dir=.
6390 for ac_exec_ext in '' $ac_executable_extensions; do
6391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6392 ac_cv_prog_PKG_CONFIG="pkg-config"
6393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6394 break 2
6396 done
6397 done
6398 IFS=$as_save_IFS
6402 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6403 if test -n "$PKG_CONFIG"; then
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6405 $as_echo "$PKG_CONFIG" >&6; }
6406 else
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6408 $as_echo "no" >&6; }
6413 else
6414 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6417 if test "x$enable_maintainer_mode" != "xyes"
6418 then
6419 FONTFORGE=""
6420 RSVG=""
6421 CONVERT=""
6422 ICOTOOL=""
6423 else
6424 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6425 for ac_prog in fontforge
6427 # Extract the first word of "$ac_prog", so it can be a program name with args.
6428 set dummy $ac_prog; ac_word=$2
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6430 $as_echo_n "checking for $ac_word... " >&6; }
6431 if ${ac_cv_prog_FONTFORGE+:} false; then :
6432 $as_echo_n "(cached) " >&6
6433 else
6434 if test -n "$FONTFORGE"; then
6435 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6436 else
6437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6438 for as_dir in $PATH
6440 IFS=$as_save_IFS
6441 test -z "$as_dir" && as_dir=.
6442 for ac_exec_ext in '' $ac_executable_extensions; do
6443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6444 ac_cv_prog_FONTFORGE="$ac_prog"
6445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6446 break 2
6448 done
6449 done
6450 IFS=$as_save_IFS
6454 FONTFORGE=$ac_cv_prog_FONTFORGE
6455 if test -n "$FONTFORGE"; then
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6457 $as_echo "$FONTFORGE" >&6; }
6458 else
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6460 $as_echo "no" >&6; }
6464 test -n "$FONTFORGE" && break
6465 done
6466 test -n "$FONTFORGE" || FONTFORGE="false"
6468 for ac_prog in rsvg-convert rsvg
6470 # Extract the first word of "$ac_prog", so it can be a program name with args.
6471 set dummy $ac_prog; ac_word=$2
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6473 $as_echo_n "checking for $ac_word... " >&6; }
6474 if ${ac_cv_prog_RSVG+:} false; then :
6475 $as_echo_n "(cached) " >&6
6476 else
6477 if test -n "$RSVG"; then
6478 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6479 else
6480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481 for as_dir in $PATH
6483 IFS=$as_save_IFS
6484 test -z "$as_dir" && as_dir=.
6485 for ac_exec_ext in '' $ac_executable_extensions; do
6486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6487 ac_cv_prog_RSVG="$ac_prog"
6488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6489 break 2
6491 done
6492 done
6493 IFS=$as_save_IFS
6497 RSVG=$ac_cv_prog_RSVG
6498 if test -n "$RSVG"; then
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6500 $as_echo "$RSVG" >&6; }
6501 else
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503 $as_echo "no" >&6; }
6507 test -n "$RSVG" && break
6508 done
6509 test -n "$RSVG" || RSVG="false"
6511 for ac_prog in convert
6513 # Extract the first word of "$ac_prog", so it can be a program name with args.
6514 set dummy $ac_prog; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if ${ac_cv_prog_CONVERT+:} false; then :
6518 $as_echo_n "(cached) " >&6
6519 else
6520 if test -n "$CONVERT"; then
6521 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6522 else
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 for as_dir in $PATH
6526 IFS=$as_save_IFS
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6530 ac_cv_prog_CONVERT="$ac_prog"
6531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6532 break 2
6534 done
6535 done
6536 IFS=$as_save_IFS
6540 CONVERT=$ac_cv_prog_CONVERT
6541 if test -n "$CONVERT"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6543 $as_echo "$CONVERT" >&6; }
6544 else
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6550 test -n "$CONVERT" && break
6551 done
6552 test -n "$CONVERT" || CONVERT="false"
6554 for ac_prog in icotool
6556 # Extract the first word of "$ac_prog", so it can be a program name with args.
6557 set dummy $ac_prog; ac_word=$2
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6559 $as_echo_n "checking for $ac_word... " >&6; }
6560 if ${ac_cv_prog_ICOTOOL+:} false; then :
6561 $as_echo_n "(cached) " >&6
6562 else
6563 if test -n "$ICOTOOL"; then
6564 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6565 else
6566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6567 for as_dir in $PATH
6569 IFS=$as_save_IFS
6570 test -z "$as_dir" && as_dir=.
6571 for ac_exec_ext in '' $ac_executable_extensions; do
6572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6573 ac_cv_prog_ICOTOOL="$ac_prog"
6574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6575 break 2
6577 done
6578 done
6579 IFS=$as_save_IFS
6583 ICOTOOL=$ac_cv_prog_ICOTOOL
6584 if test -n "$ICOTOOL"; then
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6586 $as_echo "$ICOTOOL" >&6; }
6587 else
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6589 $as_echo "no" >&6; }
6593 test -n "$ICOTOOL" && break
6594 done
6595 test -n "$ICOTOOL" || ICOTOOL="false"
6597 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6598 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6600 if test "$CONVERT" = false
6601 then
6602 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6603 else
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6605 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6606 convert_version=`convert --version | head -n1`
6607 if test "x$convert_version" != "x"
6608 then
6609 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6610 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6611 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6612 then
6613 CONVERT=false
6616 if test "$CONVERT" = false
6617 then
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6619 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6620 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6621 else
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6623 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6627 if test "$ICOTOOL" = false
6628 then
6629 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6630 else
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6632 $as_echo_n "checking for recent enough icotool... " >&6; }
6633 icotool_version=`icotool --version | head -n1`
6634 if test "x$icotool_version" != "x"
6635 then
6636 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6637 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6638 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6639 then
6640 ICOTOOL=false
6641 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6644 if test "$ICOTOOL" = false
6645 then
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6647 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6648 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6649 else
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6651 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6655 with_gettext=yes
6656 with_gettextpo=yes
6657 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6660 test "x$with_gettext" != xno || MSGFMT=false
6661 if test "$MSGFMT" != "false"
6662 then
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6664 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6665 cat >conftest.po <<EOF
6666 # comment
6667 msgctxt "ctxt"
6668 msgid "id"
6669 msgstr "str"
6671 if $MSGFMT -o /dev/null conftest.po 2>&5
6672 then
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6674 $as_echo "yes" >&6; }
6675 else
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6677 $as_echo "no" >&6; }
6678 MSGFMT=false
6681 if test "$MSGFMT" = false; then :
6682 case "x$with_gettext" in
6683 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6684 xno) ;;
6685 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6686 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6687 esac
6688 enable_po=${enable_po:-no}
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6693 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6694 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6695 $as_echo_n "(cached) " >&6
6696 else
6697 ac_check_lib_save_LIBS=$LIBS
6698 LIBS="-li386 $LIBS"
6699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6700 /* end confdefs.h. */
6702 /* Override any GCC internal prototype to avoid an error.
6703 Use char because int might match the return type of a GCC
6704 builtin and then its argument prototype would still apply. */
6705 #ifdef __cplusplus
6706 extern "C"
6707 #endif
6708 char i386_set_ldt ();
6710 main ()
6712 return i386_set_ldt ();
6714 return 0;
6716 _ACEOF
6717 if ac_fn_c_try_link "$LINENO"; then :
6718 ac_cv_lib_i386_i386_set_ldt=yes
6719 else
6720 ac_cv_lib_i386_i386_set_ldt=no
6722 rm -f core conftest.err conftest.$ac_objext \
6723 conftest$ac_exeext conftest.$ac_ext
6724 LIBS=$ac_check_lib_save_LIBS
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6727 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6728 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6729 cat >>confdefs.h <<_ACEOF
6730 #define HAVE_LIBI386 1
6731 _ACEOF
6733 LIBS="-li386 $LIBS"
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6738 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6739 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6740 $as_echo_n "(cached) " >&6
6741 else
6742 ac_check_lib_save_LIBS=$LIBS
6743 LIBS="-lossaudio $LIBS"
6744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6745 /* end confdefs.h. */
6747 /* Override any GCC internal prototype to avoid an error.
6748 Use char because int might match the return type of a GCC
6749 builtin and then its argument prototype would still apply. */
6750 #ifdef __cplusplus
6751 extern "C"
6752 #endif
6753 char _oss_ioctl ();
6755 main ()
6757 return _oss_ioctl ();
6759 return 0;
6761 _ACEOF
6762 if ac_fn_c_try_link "$LINENO"; then :
6763 ac_cv_lib_ossaudio__oss_ioctl=yes
6764 else
6765 ac_cv_lib_ossaudio__oss_ioctl=no
6767 rm -f core conftest.err conftest.$ac_objext \
6768 conftest$ac_exeext conftest.$ac_ext
6769 LIBS=$ac_check_lib_save_LIBS
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6772 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6773 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6774 cat >>confdefs.h <<_ACEOF
6775 #define HAVE_LIBOSSAUDIO 1
6776 _ACEOF
6778 LIBS="-lossaudio $LIBS"
6783 OPENGL_LIBS=""
6787 # Check whether --enable-largefile was given.
6788 if test "${enable_largefile+set}" = set; then :
6789 enableval=$enable_largefile;
6792 if test "$enable_largefile" != no; then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6795 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6796 if ${ac_cv_sys_largefile_CC+:} false; then :
6797 $as_echo_n "(cached) " >&6
6798 else
6799 ac_cv_sys_largefile_CC=no
6800 if test "$GCC" != yes; then
6801 ac_save_CC=$CC
6802 while :; do
6803 # IRIX 6.2 and later do not support large files by default,
6804 # so use the C compiler's -n32 option if that helps.
6805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6806 /* end confdefs.h. */
6807 #include <sys/types.h>
6808 /* Check that off_t can represent 2**63 - 1 correctly.
6809 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6810 since some C++ compilers masquerading as C compilers
6811 incorrectly reject 9223372036854775807. */
6812 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6813 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6814 && LARGE_OFF_T % 2147483647 == 1)
6815 ? 1 : -1];
6817 main ()
6821 return 0;
6823 _ACEOF
6824 if ac_fn_c_try_compile "$LINENO"; then :
6825 break
6827 rm -f core conftest.err conftest.$ac_objext
6828 CC="$CC -n32"
6829 if ac_fn_c_try_compile "$LINENO"; then :
6830 ac_cv_sys_largefile_CC=' -n32'; break
6832 rm -f core conftest.err conftest.$ac_objext
6833 break
6834 done
6835 CC=$ac_save_CC
6836 rm -f conftest.$ac_ext
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6840 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6841 if test "$ac_cv_sys_largefile_CC" != no; then
6842 CC=$CC$ac_cv_sys_largefile_CC
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6846 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6847 if ${ac_cv_sys_file_offset_bits+:} false; then :
6848 $as_echo_n "(cached) " >&6
6849 else
6850 while :; do
6851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6852 /* end confdefs.h. */
6853 #include <sys/types.h>
6854 /* Check that off_t can represent 2**63 - 1 correctly.
6855 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6856 since some C++ compilers masquerading as C compilers
6857 incorrectly reject 9223372036854775807. */
6858 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6859 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6860 && LARGE_OFF_T % 2147483647 == 1)
6861 ? 1 : -1];
6863 main ()
6867 return 0;
6869 _ACEOF
6870 if ac_fn_c_try_compile "$LINENO"; then :
6871 ac_cv_sys_file_offset_bits=no; break
6873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6875 /* end confdefs.h. */
6876 #define _FILE_OFFSET_BITS 64
6877 #include <sys/types.h>
6878 /* Check that off_t can represent 2**63 - 1 correctly.
6879 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6880 since some C++ compilers masquerading as C compilers
6881 incorrectly reject 9223372036854775807. */
6882 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6883 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6884 && LARGE_OFF_T % 2147483647 == 1)
6885 ? 1 : -1];
6887 main ()
6891 return 0;
6893 _ACEOF
6894 if ac_fn_c_try_compile "$LINENO"; then :
6895 ac_cv_sys_file_offset_bits=64; break
6897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6898 ac_cv_sys_file_offset_bits=unknown
6899 break
6900 done
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6903 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6904 case $ac_cv_sys_file_offset_bits in #(
6905 no | unknown) ;;
6907 cat >>confdefs.h <<_ACEOF
6908 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6909 _ACEOF
6911 esac
6912 rm -rf conftest*
6913 if test $ac_cv_sys_file_offset_bits = unknown; then
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6915 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6916 if ${ac_cv_sys_large_files+:} false; then :
6917 $as_echo_n "(cached) " >&6
6918 else
6919 while :; do
6920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6921 /* end confdefs.h. */
6922 #include <sys/types.h>
6923 /* Check that off_t can represent 2**63 - 1 correctly.
6924 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6925 since some C++ compilers masquerading as C compilers
6926 incorrectly reject 9223372036854775807. */
6927 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6928 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6929 && LARGE_OFF_T % 2147483647 == 1)
6930 ? 1 : -1];
6932 main ()
6936 return 0;
6938 _ACEOF
6939 if ac_fn_c_try_compile "$LINENO"; then :
6940 ac_cv_sys_large_files=no; break
6942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6944 /* end confdefs.h. */
6945 #define _LARGE_FILES 1
6946 #include <sys/types.h>
6947 /* Check that off_t can represent 2**63 - 1 correctly.
6948 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6949 since some C++ compilers masquerading as C compilers
6950 incorrectly reject 9223372036854775807. */
6951 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6952 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6953 && LARGE_OFF_T % 2147483647 == 1)
6954 ? 1 : -1];
6956 main ()
6960 return 0;
6962 _ACEOF
6963 if ac_fn_c_try_compile "$LINENO"; then :
6964 ac_cv_sys_large_files=1; break
6966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6967 ac_cv_sys_large_files=unknown
6968 break
6969 done
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6972 $as_echo "$ac_cv_sys_large_files" >&6; }
6973 case $ac_cv_sys_large_files in #(
6974 no | unknown) ;;
6976 cat >>confdefs.h <<_ACEOF
6977 #define _LARGE_FILES $ac_cv_sys_large_files
6978 _ACEOF
6980 esac
6981 rm -rf conftest*
6988 ac_ext=c
6989 ac_cpp='$CPP $CPPFLAGS'
6990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6994 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6995 # On Suns, sometimes $CPP names a directory.
6996 if test -n "$CPP" && test -d "$CPP"; then
6997 CPP=
6999 if test -z "$CPP"; then
7000 if ${ac_cv_prog_CPP+:} false; then :
7001 $as_echo_n "(cached) " >&6
7002 else
7003 # Double quotes because CPP needs to be expanded
7004 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7006 ac_preproc_ok=false
7007 for ac_c_preproc_warn_flag in '' yes
7009 # Use a header file that comes with gcc, so configuring glibc
7010 # with a fresh cross-compiler works.
7011 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7012 # <limits.h> exists even on freestanding compilers.
7013 # On the NeXT, cc -E runs the code through the compiler's parser,
7014 # not just through cpp. "Syntax error" is here to catch this case.
7015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7016 /* end confdefs.h. */
7017 #ifdef __STDC__
7018 # include <limits.h>
7019 #else
7020 # include <assert.h>
7021 #endif
7022 Syntax error
7023 _ACEOF
7024 if ac_fn_c_try_cpp "$LINENO"; then :
7026 else
7027 # Broken: fails on valid input.
7028 continue
7030 rm -f conftest.err conftest.i conftest.$ac_ext
7032 # OK, works on sane cases. Now check whether nonexistent headers
7033 # can be detected and how.
7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035 /* end confdefs.h. */
7036 #include <ac_nonexistent.h>
7037 _ACEOF
7038 if ac_fn_c_try_cpp "$LINENO"; then :
7039 # Broken: success on invalid input.
7040 continue
7041 else
7042 # Passes both tests.
7043 ac_preproc_ok=:
7044 break
7046 rm -f conftest.err conftest.i conftest.$ac_ext
7048 done
7049 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7050 rm -f conftest.i conftest.err conftest.$ac_ext
7051 if $ac_preproc_ok; then :
7052 break
7055 done
7056 ac_cv_prog_CPP=$CPP
7059 CPP=$ac_cv_prog_CPP
7060 else
7061 ac_cv_prog_CPP=$CPP
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7064 $as_echo "$CPP" >&6; }
7065 ac_preproc_ok=false
7066 for ac_c_preproc_warn_flag in '' yes
7068 # Use a header file that comes with gcc, so configuring glibc
7069 # with a fresh cross-compiler works.
7070 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7071 # <limits.h> exists even on freestanding compilers.
7072 # On the NeXT, cc -E runs the code through the compiler's parser,
7073 # not just through cpp. "Syntax error" is here to catch this case.
7074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7075 /* end confdefs.h. */
7076 #ifdef __STDC__
7077 # include <limits.h>
7078 #else
7079 # include <assert.h>
7080 #endif
7081 Syntax error
7082 _ACEOF
7083 if ac_fn_c_try_cpp "$LINENO"; then :
7085 else
7086 # Broken: fails on valid input.
7087 continue
7089 rm -f conftest.err conftest.i conftest.$ac_ext
7091 # OK, works on sane cases. Now check whether nonexistent headers
7092 # can be detected and how.
7093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7094 /* end confdefs.h. */
7095 #include <ac_nonexistent.h>
7096 _ACEOF
7097 if ac_fn_c_try_cpp "$LINENO"; then :
7098 # Broken: success on invalid input.
7099 continue
7100 else
7101 # Passes both tests.
7102 ac_preproc_ok=:
7103 break
7105 rm -f conftest.err conftest.i conftest.$ac_ext
7107 done
7108 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7109 rm -f conftest.i conftest.err conftest.$ac_ext
7110 if $ac_preproc_ok; then :
7112 else
7113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7115 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7116 See \`config.log' for more details" "$LINENO" 5; }
7119 ac_ext=c
7120 ac_cpp='$CPP $CPPFLAGS'
7121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7127 $as_echo_n "checking for ANSI C header files... " >&6; }
7128 if ${ac_cv_header_stdc+:} false; then :
7129 $as_echo_n "(cached) " >&6
7130 else
7131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7132 /* end confdefs.h. */
7133 #include <stdlib.h>
7134 #include <stdarg.h>
7135 #include <string.h>
7136 #include <float.h>
7139 main ()
7143 return 0;
7145 _ACEOF
7146 if ac_fn_c_try_compile "$LINENO"; then :
7147 ac_cv_header_stdc=yes
7148 else
7149 ac_cv_header_stdc=no
7151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7153 if test $ac_cv_header_stdc = yes; then
7154 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7156 /* end confdefs.h. */
7157 #include <string.h>
7159 _ACEOF
7160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7161 $EGREP "memchr" >/dev/null 2>&1; then :
7163 else
7164 ac_cv_header_stdc=no
7166 rm -f conftest*
7170 if test $ac_cv_header_stdc = yes; then
7171 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7173 /* end confdefs.h. */
7174 #include <stdlib.h>
7176 _ACEOF
7177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7178 $EGREP "free" >/dev/null 2>&1; then :
7180 else
7181 ac_cv_header_stdc=no
7183 rm -f conftest*
7187 if test $ac_cv_header_stdc = yes; then
7188 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7189 if test "$cross_compiling" = yes; then :
7191 else
7192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7193 /* end confdefs.h. */
7194 #include <ctype.h>
7195 #include <stdlib.h>
7196 #if ((' ' & 0x0FF) == 0x020)
7197 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7198 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7199 #else
7200 # define ISLOWER(c) \
7201 (('a' <= (c) && (c) <= 'i') \
7202 || ('j' <= (c) && (c) <= 'r') \
7203 || ('s' <= (c) && (c) <= 'z'))
7204 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7205 #endif
7207 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7209 main ()
7211 int i;
7212 for (i = 0; i < 256; i++)
7213 if (XOR (islower (i), ISLOWER (i))
7214 || toupper (i) != TOUPPER (i))
7215 return 2;
7216 return 0;
7218 _ACEOF
7219 if ac_fn_c_try_run "$LINENO"; then :
7221 else
7222 ac_cv_header_stdc=no
7224 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7225 conftest.$ac_objext conftest.beam conftest.$ac_ext
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7231 $as_echo "$ac_cv_header_stdc" >&6; }
7232 if test $ac_cv_header_stdc = yes; then
7234 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7238 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7239 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7240 inttypes.h stdint.h unistd.h
7241 do :
7242 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7243 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7245 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7246 cat >>confdefs.h <<_ACEOF
7247 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7248 _ACEOF
7252 done
7255 for ac_header in \
7256 AL/al.h \
7257 ApplicationServices/ApplicationServices.h \
7258 AudioToolbox/AudioConverter.h \
7259 AudioUnit/AudioUnit.h \
7260 AudioUnit/AudioComponent.h \
7261 CL/cl.h \
7262 Carbon/Carbon.h \
7263 CommonCrypto/CommonCryptor.h \
7264 CoreAudio/CoreAudio.h \
7265 CoreServices/CoreServices.h \
7266 DiskArbitration/DiskArbitration.h \
7267 EGL/egl.h \
7268 IOKit/IOKitLib.h \
7269 IOKit/hid/IOHIDLib.h \
7270 OpenAL/al.h \
7271 OpenCL/opencl.h \
7272 QuickTime/ImageCompression.h \
7273 Security/Security.h \
7274 alias.h \
7275 alsa/asoundlib.h \
7276 arpa/inet.h \
7277 arpa/nameser.h \
7278 asm/types.h \
7279 asm/user.h \
7280 curses.h \
7281 direct.h \
7282 dirent.h \
7283 dlfcn.h \
7284 elf.h \
7285 float.h \
7286 fnmatch.h \
7287 getopt.h \
7288 gettext-po.h \
7289 grp.h \
7290 gsm.h \
7291 gsm/gsm.h \
7292 ieeefp.h \
7293 inet/mib2.h \
7294 io.h \
7295 kstat.h \
7296 libproc.h \
7297 link.h \
7298 linux/cdrom.h \
7299 linux/compiler.h \
7300 linux/filter.h \
7301 linux/hdreg.h \
7302 linux/hidraw.h \
7303 linux/input.h \
7304 linux/ioctl.h \
7305 linux/joystick.h \
7306 linux/major.h \
7307 linux/param.h \
7308 linux/serial.h \
7309 linux/types.h \
7310 linux/ucdrom.h \
7311 lwp.h \
7312 mach-o/nlist.h \
7313 mach-o/loader.h \
7314 mach/mach.h \
7315 mach/machine.h \
7316 machine/cpu.h \
7317 machine/limits.h \
7318 machine/sysarch.h \
7319 mntent.h \
7320 ncurses.h \
7321 netdb.h \
7322 netinet/in.h \
7323 netinet/in_systm.h \
7324 netinet/tcp.h \
7325 netinet/tcp_fsm.h \
7326 pcap/pcap.h \
7327 poll.h \
7328 port.h \
7329 process.h \
7330 pthread.h \
7331 pwd.h \
7332 sched.h \
7333 scsi/scsi.h \
7334 scsi/scsi_ioctl.h \
7335 scsi/sg.h \
7336 stdbool.h \
7337 stdint.h \
7338 stropts.h \
7339 sys/asoundlib.h \
7340 sys/attr.h \
7341 sys/auxv.h \
7342 sys/cdio.h \
7343 sys/elf32.h \
7344 sys/epoll.h \
7345 sys/event.h \
7346 sys/exec_elf.h \
7347 sys/filio.h \
7348 sys/inotify.h \
7349 sys/ioctl.h \
7350 sys/ipc.h \
7351 sys/limits.h \
7352 sys/link.h \
7353 sys/mman.h \
7354 sys/modem.h \
7355 sys/msg.h \
7356 sys/mtio.h \
7357 sys/param.h \
7358 sys/poll.h \
7359 sys/prctl.h \
7360 sys/protosw.h \
7361 sys/ptrace.h \
7362 sys/queue.h \
7363 sys/resource.h \
7364 sys/scsiio.h \
7365 sys/shm.h \
7366 sys/signal.h \
7367 sys/socket.h \
7368 sys/socketvar.h \
7369 sys/sockio.h \
7370 sys/statvfs.h \
7371 sys/strtio.h \
7372 sys/syscall.h \
7373 sys/sysinfo.h \
7374 sys/tihdr.h \
7375 sys/time.h \
7376 sys/timeout.h \
7377 sys/times.h \
7378 sys/uio.h \
7379 sys/user.h \
7380 sys/utsname.h \
7381 sys/vnode.h \
7382 sys/wait.h \
7383 syscall.h \
7384 termios.h \
7385 unistd.h \
7386 utime.h \
7387 valgrind/memcheck.h \
7388 valgrind/valgrind.h \
7389 zlib.h
7391 do :
7392 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7393 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7394 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7395 cat >>confdefs.h <<_ACEOF
7396 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7397 _ACEOF
7401 done
7403 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7404 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7406 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7411 if test $ac_cv_header_sys_mkdev_h = no; then
7412 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7413 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7415 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7422 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7423 if ${ac_cv_header_stat_broken+:} false; then :
7424 $as_echo_n "(cached) " >&6
7425 else
7426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7427 /* end confdefs.h. */
7428 #include <sys/types.h>
7429 #include <sys/stat.h>
7431 #if defined S_ISBLK && defined S_IFDIR
7432 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7433 #endif
7435 #if defined S_ISBLK && defined S_IFCHR
7436 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7437 #endif
7439 #if defined S_ISLNK && defined S_IFREG
7440 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7441 #endif
7443 #if defined S_ISSOCK && defined S_IFREG
7444 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7445 #endif
7447 _ACEOF
7448 if ac_fn_c_try_compile "$LINENO"; then :
7449 ac_cv_header_stat_broken=no
7450 else
7451 ac_cv_header_stat_broken=yes
7453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7456 $as_echo "$ac_cv_header_stat_broken" >&6; }
7457 if test $ac_cv_header_stat_broken = yes; then
7459 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7465 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7466 do :
7467 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7468 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7469 #ifdef HAVE_SYS_PARAM_H
7470 # include <sys/param.h>
7471 #endif
7473 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7474 cat >>confdefs.h <<_ACEOF
7475 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7476 _ACEOF
7480 done
7483 for ac_header in \
7484 netinet/ip.h \
7485 net/if.h \
7486 net/if_arp.h \
7487 net/if_dl.h \
7488 net/if_types.h \
7489 net/route.h \
7490 netinet/if_ether.h \
7491 netinet/if_inarp.h \
7492 netinet/in_pcb.h \
7493 netinet/ip_icmp.h \
7494 netinet/ip_var.h \
7495 netinet/udp.h \
7496 netipx/ipx.h \
7497 sys/un.h \
7499 do :
7500 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7501 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7502 #ifdef HAVE_SYS_SOCKET_H
7503 # include <sys/socket.h>
7504 #endif
7505 #ifdef HAVE_SYS_SOCKETVAR_H
7506 # include <sys/socketvar.h>
7507 #endif
7508 #ifdef HAVE_NET_ROUTE_H
7509 # include <net/route.h>
7510 #endif
7511 #ifdef HAVE_NETINET_IN_H
7512 # include <netinet/in.h>
7513 #endif
7514 #ifdef HAVE_NETINET_IN_SYSTM_H
7515 # include <netinet/in_systm.h>
7516 #endif
7517 #ifdef HAVE_NET_IF_H
7518 # include <net/if.h>
7519 #endif
7520 #ifdef HAVE_NETINET_IP_H
7521 # include <netinet/ip.h>
7522 #endif
7524 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7525 cat >>confdefs.h <<_ACEOF
7526 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7527 _ACEOF
7531 done
7534 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7535 do :
7536 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7537 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7538 #ifdef HAVE_ALIAS_H
7539 # include <alias.h>
7540 #endif
7541 #ifdef HAVE_SYS_SOCKET_H
7542 # include <sys/socket.h>
7543 #endif
7544 #ifdef HAVE_SYS_SOCKETVAR_H
7545 # include <sys/socketvar.h>
7546 #endif
7547 #ifdef HAVE_SYS_TIMEOUT_H
7548 # include <sys/timeout.h>
7549 #endif
7550 #ifdef HAVE_NETINET_IN_H
7551 # include <netinet/in.h>
7552 #endif
7553 #ifdef HAVE_NETINET_IN_SYSTM_H
7554 # include <netinet/in_systm.h>
7555 #endif
7556 #ifdef HAVE_NETINET_IP_H
7557 # include <netinet/ip.h>
7558 #endif
7559 #ifdef HAVE_NETINET_IP_VAR_H
7560 # include <netinet/ip_var.h>
7561 #endif
7562 #ifdef HAVE_NETINET_IP_ICMP_H
7563 # include <netinet/ip_icmp.h>
7564 #endif
7565 #ifdef HAVE_NETINET_UDP_H
7566 # include <netinet/udp.h>
7567 #endif
7568 #ifdef HAVE_NETINET_TCP_H
7569 # include <netinet/tcp.h>
7570 #endif
7571 #ifdef HAVE_NETINET_TCP_TIMER_H
7572 #include <netinet/tcp_timer.h>
7573 #endif
7575 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7576 cat >>confdefs.h <<_ACEOF
7577 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7578 _ACEOF
7582 done
7585 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7586 do :
7587 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7588 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7589 #ifdef HAVE_ASM_TYPES_H
7590 # include <asm/types.h>
7591 #endif
7592 #ifdef HAVE_SYS_SOCKET_H
7593 # include <sys/socket.h>
7594 #endif
7595 #ifdef HAVE_LINUX_TYPES_H
7596 # include <linux/types.h>
7597 #endif
7599 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7600 cat >>confdefs.h <<_ACEOF
7601 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7602 _ACEOF
7606 done
7609 for ac_header in mach-o/dyld_images.h
7610 do :
7611 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7612 # include <stdbool.h>
7613 #endif
7614 #ifdef HAVE_STDINT_H
7615 # include <stdint.h>
7616 #endif
7618 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7619 cat >>confdefs.h <<_ACEOF
7620 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7621 _ACEOF
7625 done
7628 for ac_header in resolv.h
7629 do :
7630 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7631 #ifdef HAVE_SYS_SOCKET_H
7632 # include <sys/socket.h>
7633 #endif
7634 #ifdef HAVE_NETINET_IN_H
7635 # include <netinet/in.h>
7636 #endif
7637 #ifdef HAVE_ARPA_NAMESER_H
7638 # include <arpa/nameser.h>
7639 #endif
7641 if test "x$ac_cv_header_resolv_h" = xyes; then :
7642 cat >>confdefs.h <<_ACEOF
7643 #define HAVE_RESOLV_H 1
7644 _ACEOF
7648 done
7651 for ac_header in ifaddrs.h
7652 do :
7653 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7655 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7656 cat >>confdefs.h <<_ACEOF
7657 #define HAVE_IFADDRS_H 1
7658 _ACEOF
7662 done
7665 for ac_header in sys/ucontext.h
7666 do :
7667 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7669 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7670 cat >>confdefs.h <<_ACEOF
7671 #define HAVE_SYS_UCONTEXT_H 1
7672 _ACEOF
7676 done
7679 for ac_header in sys/thr.h
7680 do :
7681 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7682 #ifdef HAVE_SYS_UCONTEXT_H
7683 #include <sys/ucontext.h>
7684 #endif
7686 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7687 cat >>confdefs.h <<_ACEOF
7688 #define HAVE_SYS_THR_H 1
7689 _ACEOF
7693 done
7696 for ac_header in pthread_np.h
7697 do :
7698 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7699 #include <pthread.h>
7700 #endif
7702 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7703 cat >>confdefs.h <<_ACEOF
7704 #define HAVE_PTHREAD_NP_H 1
7705 _ACEOF
7709 done
7712 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7713 do :
7714 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7715 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7716 #include <sys/time.h>
7717 #endif
7718 #include <sys/types.h>
7719 #ifdef HAVE_ASM_TYPES_H
7720 #include <asm/types.h>
7721 #endif
7723 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7724 cat >>confdefs.h <<_ACEOF
7725 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7726 _ACEOF
7730 done
7733 for ac_header in libprocstat.h
7734 do :
7735 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7736 #include <sys/param.h>
7737 #endif
7738 #ifdef HAVE_SYS_QUEUE_H
7739 #include <sys/queue.h>
7740 #endif
7741 #ifdef HAVE_SYS_SOCKET_H
7742 #include <sys/socket.h>
7743 #endif
7745 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7746 cat >>confdefs.h <<_ACEOF
7747 #define HAVE_LIBPROCSTAT_H 1
7748 _ACEOF
7752 done
7756 DLLFLAGS="-D_REENTRANT"
7758 LDRPATH_INSTALL=""
7760 LDRPATH_LOCAL=""
7762 LDEXECFLAGS=""
7764 TOP_INSTALL_LIB=""
7766 TOP_INSTALL_DEV=""
7768 WINELOADER_LDFLAGS=""
7770 WINEPRELOADER_LDFLAGS=""
7772 LIBEXT="so"
7773 DLLEXT=".so"
7774 IMPLIBEXT="def"
7775 # Extract the first word of "ldd", so it can be a program name with args.
7776 set dummy ldd; ac_word=$2
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7778 $as_echo_n "checking for $ac_word... " >&6; }
7779 if ${ac_cv_path_LDD+:} false; then :
7780 $as_echo_n "(cached) " >&6
7781 else
7782 case $LDD in
7783 [\\/]* | ?:[\\/]*)
7784 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7788 as_dummy="/sbin:/usr/sbin:$PATH"
7789 for as_dir in $as_dummy
7791 IFS=$as_save_IFS
7792 test -z "$as_dir" && as_dir=.
7793 for ac_exec_ext in '' $ac_executable_extensions; do
7794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7795 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7797 break 2
7799 done
7800 done
7801 IFS=$as_save_IFS
7803 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7805 esac
7807 LDD=$ac_cv_path_LDD
7808 if test -n "$LDD"; then
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7810 $as_echo "$LDD" >&6; }
7811 else
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7813 $as_echo "no" >&6; }
7817 if test -n "$ac_tool_prefix"; then
7818 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7819 set dummy ${ac_tool_prefix}otool; ac_word=$2
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7821 $as_echo_n "checking for $ac_word... " >&6; }
7822 if ${ac_cv_prog_OTOOL+:} false; then :
7823 $as_echo_n "(cached) " >&6
7824 else
7825 if test -n "$OTOOL"; then
7826 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7827 else
7828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7829 for as_dir in $PATH
7831 IFS=$as_save_IFS
7832 test -z "$as_dir" && as_dir=.
7833 for ac_exec_ext in '' $ac_executable_extensions; do
7834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7835 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7837 break 2
7839 done
7840 done
7841 IFS=$as_save_IFS
7845 OTOOL=$ac_cv_prog_OTOOL
7846 if test -n "$OTOOL"; then
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7848 $as_echo "$OTOOL" >&6; }
7849 else
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7851 $as_echo "no" >&6; }
7856 if test -z "$ac_cv_prog_OTOOL"; then
7857 ac_ct_OTOOL=$OTOOL
7858 # Extract the first word of "otool", so it can be a program name with args.
7859 set dummy otool; ac_word=$2
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7861 $as_echo_n "checking for $ac_word... " >&6; }
7862 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7863 $as_echo_n "(cached) " >&6
7864 else
7865 if test -n "$ac_ct_OTOOL"; then
7866 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7867 else
7868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7869 for as_dir in $PATH
7871 IFS=$as_save_IFS
7872 test -z "$as_dir" && as_dir=.
7873 for ac_exec_ext in '' $ac_executable_extensions; do
7874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7875 ac_cv_prog_ac_ct_OTOOL="otool"
7876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7877 break 2
7879 done
7880 done
7881 IFS=$as_save_IFS
7885 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7886 if test -n "$ac_ct_OTOOL"; then
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7888 $as_echo "$ac_ct_OTOOL" >&6; }
7889 else
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7891 $as_echo "no" >&6; }
7894 if test "x$ac_ct_OTOOL" = x; then
7895 OTOOL="otool"
7896 else
7897 case $cross_compiling:$ac_tool_warned in
7898 yes:)
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7901 ac_tool_warned=yes ;;
7902 esac
7903 OTOOL=$ac_ct_OTOOL
7905 else
7906 OTOOL="$ac_cv_prog_OTOOL"
7909 if test -n "$ac_tool_prefix"; then
7910 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7911 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7913 $as_echo_n "checking for $ac_word... " >&6; }
7914 if ${ac_cv_prog_READELF+:} false; then :
7915 $as_echo_n "(cached) " >&6
7916 else
7917 if test -n "$READELF"; then
7918 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7919 else
7920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7921 for as_dir in $PATH
7923 IFS=$as_save_IFS
7924 test -z "$as_dir" && as_dir=.
7925 for ac_exec_ext in '' $ac_executable_extensions; do
7926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7927 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7929 break 2
7931 done
7932 done
7933 IFS=$as_save_IFS
7937 READELF=$ac_cv_prog_READELF
7938 if test -n "$READELF"; then
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7940 $as_echo "$READELF" >&6; }
7941 else
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7943 $as_echo "no" >&6; }
7948 if test -z "$ac_cv_prog_READELF"; then
7949 ac_ct_READELF=$READELF
7950 # Extract the first word of "readelf", so it can be a program name with args.
7951 set dummy readelf; ac_word=$2
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7953 $as_echo_n "checking for $ac_word... " >&6; }
7954 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7955 $as_echo_n "(cached) " >&6
7956 else
7957 if test -n "$ac_ct_READELF"; then
7958 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7959 else
7960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7961 for as_dir in $PATH
7963 IFS=$as_save_IFS
7964 test -z "$as_dir" && as_dir=.
7965 for ac_exec_ext in '' $ac_executable_extensions; do
7966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7967 ac_cv_prog_ac_ct_READELF="readelf"
7968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7969 break 2
7971 done
7972 done
7973 IFS=$as_save_IFS
7977 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7978 if test -n "$ac_ct_READELF"; then
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7980 $as_echo "$ac_ct_READELF" >&6; }
7981 else
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7983 $as_echo "no" >&6; }
7986 if test "x$ac_ct_READELF" = x; then
7987 READELF="true"
7988 else
7989 case $cross_compiling:$ac_tool_warned in
7990 yes:)
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7993 ac_tool_warned=yes ;;
7994 esac
7995 READELF=$ac_ct_READELF
7997 else
7998 READELF="$ac_cv_prog_READELF"
8001 wine_rules_file=conf$$rules.make
8002 rm -f $wine_rules_file
8003 SUBDIRS=""
8005 DISABLED_SUBDIRS=""
8007 CONFIGURE_TARGETS=""
8010 wine_fn_append_file ()
8012 as_fn_append $1 " \\$as_nl $2"
8015 wine_fn_append_rule ()
8017 $as_echo "$1" >>$wine_rules_file
8020 wine_fn_config_makefile ()
8022 wine_fn_append_file SUBDIRS $1
8023 if eval test \"x\$"$2"\" = x"no"; then :
8024 wine_fn_append_file DISABLED_SUBDIRS $1
8028 wine_fn_config_symlink ()
8030 ac_links=$@
8031 wine_fn_append_rule \
8032 "$ac_links:
8033 @./config.status \$@"
8034 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8037 wine_binary="wine"
8038 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8039 WINELOADER_PROGRAMS="$wine_binary"
8041 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8043 case $host_os in
8044 cygwin*|mingw32*)
8045 if test -n "$ac_tool_prefix"; then
8046 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8047 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8049 $as_echo_n "checking for $ac_word... " >&6; }
8050 if ${ac_cv_prog_DLLTOOL+:} false; then :
8051 $as_echo_n "(cached) " >&6
8052 else
8053 if test -n "$DLLTOOL"; then
8054 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8055 else
8056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8057 for as_dir in $PATH
8059 IFS=$as_save_IFS
8060 test -z "$as_dir" && as_dir=.
8061 for ac_exec_ext in '' $ac_executable_extensions; do
8062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8063 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8065 break 2
8067 done
8068 done
8069 IFS=$as_save_IFS
8073 DLLTOOL=$ac_cv_prog_DLLTOOL
8074 if test -n "$DLLTOOL"; then
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8076 $as_echo "$DLLTOOL" >&6; }
8077 else
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8079 $as_echo "no" >&6; }
8084 if test -z "$ac_cv_prog_DLLTOOL"; then
8085 ac_ct_DLLTOOL=$DLLTOOL
8086 # Extract the first word of "dlltool", so it can be a program name with args.
8087 set dummy dlltool; ac_word=$2
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8089 $as_echo_n "checking for $ac_word... " >&6; }
8090 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8091 $as_echo_n "(cached) " >&6
8092 else
8093 if test -n "$ac_ct_DLLTOOL"; then
8094 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8095 else
8096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8097 for as_dir in $PATH
8099 IFS=$as_save_IFS
8100 test -z "$as_dir" && as_dir=.
8101 for ac_exec_ext in '' $ac_executable_extensions; do
8102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8103 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8105 break 2
8107 done
8108 done
8109 IFS=$as_save_IFS
8113 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8114 if test -n "$ac_ct_DLLTOOL"; then
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8116 $as_echo "$ac_ct_DLLTOOL" >&6; }
8117 else
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8119 $as_echo "no" >&6; }
8122 if test "x$ac_ct_DLLTOOL" = x; then
8123 DLLTOOL="false"
8124 else
8125 case $cross_compiling:$ac_tool_warned in
8126 yes:)
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8129 ac_tool_warned=yes ;;
8130 esac
8131 DLLTOOL=$ac_ct_DLLTOOL
8133 else
8134 DLLTOOL="$ac_cv_prog_DLLTOOL"
8137 LIBEXT="dll"
8138 DLLEXT=""
8139 IMPLIBEXT="a"
8140 enable_iphlpapi=${enable_iphlpapi:-no}
8141 enable_kernel32=${enable_kernel32:-no}
8142 enable_msvcrt=${enable_msvcrt:-no}
8143 enable_ntdll=${enable_ntdll:-no}
8144 enable_ws2_32=${enable_ws2_32:-no}
8145 enable_loader=${enable_loader:-no}
8146 enable_server=${enable_server:-no}
8147 with_x=${with_x:-no}
8148 with_pthread=${with_pthread:-no}
8150 crtlibs=""
8151 case $host_os in
8152 mingw32*)
8153 crtlibs="-lmsvcrt" ;;
8154 esac
8156 LIBWINE_SHAREDLIB="libwine.dll"
8158 LIBWINE_IMPORTLIB="libwine.a"
8160 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8162 LIBWINE_DEPENDS="wine.def"
8164 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.dll"
8165 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.a"
8168 darwin*|macosx*)
8169 for ac_header in libunwind.h
8170 do :
8171 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8172 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8173 cat >>confdefs.h <<_ACEOF
8174 #define HAVE_LIBUNWIND_H 1
8175 _ACEOF
8179 done
8181 ac_ext=m
8182 ac_cpp='$OBJCPP $CPPFLAGS'
8183 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8184 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8185 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8187 ac_ext=m
8188 ac_cpp='$OBJCPP $CPPFLAGS'
8189 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8190 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8191 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8192 if test -n "$ac_tool_prefix"; then
8193 for ac_prog in gcc objcc objc cc CC
8195 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8196 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8198 $as_echo_n "checking for $ac_word... " >&6; }
8199 if ${ac_cv_prog_OBJC+:} false; then :
8200 $as_echo_n "(cached) " >&6
8201 else
8202 if test -n "$OBJC"; then
8203 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8204 else
8205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8206 for as_dir in $PATH
8208 IFS=$as_save_IFS
8209 test -z "$as_dir" && as_dir=.
8210 for ac_exec_ext in '' $ac_executable_extensions; do
8211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8212 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8214 break 2
8216 done
8217 done
8218 IFS=$as_save_IFS
8222 OBJC=$ac_cv_prog_OBJC
8223 if test -n "$OBJC"; then
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8225 $as_echo "$OBJC" >&6; }
8226 else
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8228 $as_echo "no" >&6; }
8232 test -n "$OBJC" && break
8233 done
8235 if test -z "$OBJC"; then
8236 ac_ct_OBJC=$OBJC
8237 for ac_prog in gcc objcc objc cc CC
8239 # Extract the first word of "$ac_prog", so it can be a program name with args.
8240 set dummy $ac_prog; ac_word=$2
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8242 $as_echo_n "checking for $ac_word... " >&6; }
8243 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8244 $as_echo_n "(cached) " >&6
8245 else
8246 if test -n "$ac_ct_OBJC"; then
8247 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8248 else
8249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8250 for as_dir in $PATH
8252 IFS=$as_save_IFS
8253 test -z "$as_dir" && as_dir=.
8254 for ac_exec_ext in '' $ac_executable_extensions; do
8255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8256 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8258 break 2
8260 done
8261 done
8262 IFS=$as_save_IFS
8266 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8267 if test -n "$ac_ct_OBJC"; then
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8269 $as_echo "$ac_ct_OBJC" >&6; }
8270 else
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272 $as_echo "no" >&6; }
8276 test -n "$ac_ct_OBJC" && break
8277 done
8279 if test "x$ac_ct_OBJC" = x; then
8280 OBJC="gcc"
8281 else
8282 case $cross_compiling:$ac_tool_warned in
8283 yes:)
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8286 ac_tool_warned=yes ;;
8287 esac
8288 OBJC=$ac_ct_OBJC
8292 # Provide some information about the compiler.
8293 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8294 set X $ac_compile
8295 ac_compiler=$2
8296 for ac_option in --version -v -V -qversion; do
8297 { { ac_try="$ac_compiler $ac_option >&5"
8298 case "(($ac_try" in
8299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8300 *) ac_try_echo=$ac_try;;
8301 esac
8302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8303 $as_echo "$ac_try_echo"; } >&5
8304 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8305 ac_status=$?
8306 if test -s conftest.err; then
8307 sed '10a\
8308 ... rest of stderr output deleted ...
8309 10q' conftest.err >conftest.er1
8310 cat conftest.er1 >&5
8312 rm -f conftest.er1 conftest.err
8313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8314 test $ac_status = 0; }
8315 done
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8318 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8319 if ${ac_cv_objc_compiler_gnu+:} false; then :
8320 $as_echo_n "(cached) " >&6
8321 else
8322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8323 /* end confdefs.h. */
8326 main ()
8328 #ifndef __GNUC__
8329 choke me
8330 #endif
8333 return 0;
8335 _ACEOF
8336 if ac_fn_objc_try_compile "$LINENO"; then :
8337 ac_compiler_gnu=yes
8338 else
8339 ac_compiler_gnu=no
8341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8342 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8346 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8347 if test $ac_compiler_gnu = yes; then
8348 GOBJC=yes
8349 else
8350 GOBJC=
8352 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8353 ac_save_OBJCFLAGS=$OBJCFLAGS
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8355 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8356 if ${ac_cv_prog_objc_g+:} false; then :
8357 $as_echo_n "(cached) " >&6
8358 else
8359 ac_save_objc_werror_flag=$ac_objc_werror_flag
8360 ac_objc_werror_flag=yes
8361 ac_cv_prog_objc_g=no
8362 OBJCFLAGS="-g"
8363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8364 /* end confdefs.h. */
8367 main ()
8371 return 0;
8373 _ACEOF
8374 if ac_fn_objc_try_compile "$LINENO"; then :
8375 ac_cv_prog_objc_g=yes
8376 else
8377 OBJCFLAGS=""
8378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8379 /* end confdefs.h. */
8382 main ()
8386 return 0;
8388 _ACEOF
8389 if ac_fn_objc_try_compile "$LINENO"; then :
8391 else
8392 ac_objc_werror_flag=$ac_save_objc_werror_flag
8393 OBJCFLAGS="-g"
8394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8395 /* end confdefs.h. */
8398 main ()
8402 return 0;
8404 _ACEOF
8405 if ac_fn_objc_try_compile "$LINENO"; then :
8406 ac_cv_prog_objc_g=yes
8408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8413 ac_objc_werror_flag=$ac_save_objc_werror_flag
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8416 $as_echo "$ac_cv_prog_objc_g" >&6; }
8417 if test "$ac_test_OBJCFLAGS" = set; then
8418 OBJCFLAGS=$ac_save_OBJCFLAGS
8419 elif test $ac_cv_prog_objc_g = yes; then
8420 if test "$GOBJC" = yes; then
8421 OBJCFLAGS="-g -O2"
8422 else
8423 OBJCFLAGS="-g"
8425 else
8426 if test "$GOBJC" = yes; then
8427 OBJCFLAGS="-O2"
8428 else
8429 OBJCFLAGS=
8432 ac_ext=m
8433 ac_cpp='$OBJCPP $CPPFLAGS'
8434 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8435 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8436 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8439 ac_ext=m
8440 ac_cpp='$OBJCPP $CPPFLAGS'
8441 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8442 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8443 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8445 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8446 if test -z "$OBJCPP"; then
8447 if ${ac_cv_prog_OBJCPP+:} false; then :
8448 $as_echo_n "(cached) " >&6
8449 else
8450 # Double quotes because OBJCPP needs to be expanded
8451 for OBJCPP in "$OBJC -E" "/lib/cpp"
8453 ac_preproc_ok=false
8454 for ac_objc_preproc_warn_flag in '' yes
8456 # Use a header file that comes with gcc, so configuring glibc
8457 # with a fresh cross-compiler works.
8458 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8459 # <limits.h> exists even on freestanding compilers.
8460 # On the NeXT, cc -E runs the code through the compiler's parser,
8461 # not just through cpp. "Syntax error" is here to catch this case.
8462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8463 /* end confdefs.h. */
8464 #ifdef __STDC__
8465 # include <limits.h>
8466 #else
8467 # include <assert.h>
8468 #endif
8469 Syntax error
8470 _ACEOF
8471 if ac_fn_objc_try_cpp "$LINENO"; then :
8473 else
8474 # Broken: fails on valid input.
8475 continue
8477 rm -f conftest.err conftest.i conftest.$ac_ext
8479 # OK, works on sane cases. Now check whether nonexistent headers
8480 # can be detected and how.
8481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8483 #include <ac_nonexistent.h>
8484 _ACEOF
8485 if ac_fn_objc_try_cpp "$LINENO"; then :
8486 # Broken: success on invalid input.
8487 continue
8488 else
8489 # Passes both tests.
8490 ac_preproc_ok=:
8491 break
8493 rm -f conftest.err conftest.i conftest.$ac_ext
8495 done
8496 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8497 rm -f conftest.i conftest.err conftest.$ac_ext
8498 if $ac_preproc_ok; then :
8499 break
8502 done
8503 ac_cv_prog_OBJCPP=$OBJCPP
8506 OBJCPP=$ac_cv_prog_OBJCPP
8507 else
8508 ac_cv_prog_OBJCPP=$OBJCPP
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8511 $as_echo "$OBJCPP" >&6; }
8512 ac_preproc_ok=false
8513 for ac_objc_preproc_warn_flag in '' yes
8515 # Use a header file that comes with gcc, so configuring glibc
8516 # with a fresh cross-compiler works.
8517 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8518 # <limits.h> exists even on freestanding compilers.
8519 # On the NeXT, cc -E runs the code through the compiler's parser,
8520 # not just through cpp. "Syntax error" is here to catch this case.
8521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8522 /* end confdefs.h. */
8523 #ifdef __STDC__
8524 # include <limits.h>
8525 #else
8526 # include <assert.h>
8527 #endif
8528 Syntax error
8529 _ACEOF
8530 if ac_fn_objc_try_cpp "$LINENO"; then :
8532 else
8533 # Broken: fails on valid input.
8534 continue
8536 rm -f conftest.err conftest.i conftest.$ac_ext
8538 # OK, works on sane cases. Now check whether nonexistent headers
8539 # can be detected and how.
8540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8541 /* end confdefs.h. */
8542 #include <ac_nonexistent.h>
8543 _ACEOF
8544 if ac_fn_objc_try_cpp "$LINENO"; then :
8545 # Broken: success on invalid input.
8546 continue
8547 else
8548 # Passes both tests.
8549 ac_preproc_ok=:
8550 break
8552 rm -f conftest.err conftest.i conftest.$ac_ext
8554 done
8555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8556 rm -f conftest.i conftest.err conftest.$ac_ext
8557 if $ac_preproc_ok; then :
8559 else
8560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8562 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8563 See \`config.log' for more details" "$LINENO" 5; }
8566 ac_ext=m
8567 ac_cpp='$OBJCPP $CPPFLAGS'
8568 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8569 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8570 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8573 for ac_header in Metal/Metal.h
8574 do :
8575 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8576 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8577 cat >>confdefs.h <<_ACEOF
8578 #define HAVE_METAL_METAL_H 1
8579 _ACEOF
8583 done
8585 ac_ext=c
8586 ac_cpp='$CPP $CPPFLAGS'
8587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8591 LIBEXT="dylib"
8592 DLLFLAGS="$DLLFLAGS -fPIC"
8593 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8594 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8595 COREFOUNDATION_LIBS="-framework CoreFoundation"
8597 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8599 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8601 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8603 CORESERVICES_LIBS="-framework CoreServices"
8605 APPKIT_LIBS="-framework AppKit"
8608 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8610 wine_can_build_preloader=yes
8611 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8613 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8614 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8615 $as_echo_n "(cached) " >&6
8616 else
8617 ac_wine_try_cflags_saved=$CFLAGS
8618 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8620 /* end confdefs.h. */
8621 int main(int argc, char **argv) { return 0; }
8622 _ACEOF
8623 if ac_fn_c_try_link "$LINENO"; then :
8624 ac_cv_cflags__Wl__no_new_main__e__main=yes
8625 else
8626 ac_cv_cflags__Wl__no_new_main__e__main=no
8628 rm -f core conftest.err conftest.$ac_objext \
8629 conftest$ac_exeext conftest.$ac_ext
8630 CFLAGS=$ac_wine_try_cflags_saved
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8633 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8634 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8635 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8637 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8638 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8639 $as_echo_n "(cached) " >&6
8640 else
8641 ac_wine_try_cflags_saved=$CFLAGS
8642 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8644 /* end confdefs.h. */
8645 int main(int argc, char **argv) { return 0; }
8646 _ACEOF
8647 if ac_fn_c_try_link "$LINENO"; then :
8648 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8649 else
8650 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8652 rm -f core conftest.err conftest.$ac_objext \
8653 conftest$ac_exeext conftest.$ac_ext
8654 CFLAGS=$ac_wine_try_cflags_saved
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8657 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8658 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8659 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8660 else
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8662 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8663 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8664 $as_echo_n "(cached) " >&6
8665 else
8666 ac_wine_try_cflags_saved=$CFLAGS
8667 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8669 /* end confdefs.h. */
8670 int main(int argc, char **argv) { return 0; }
8671 _ACEOF
8672 if ac_fn_c_try_link "$LINENO"; then :
8673 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8674 else
8675 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8677 rm -f core conftest.err conftest.$ac_objext \
8678 conftest$ac_exeext conftest.$ac_ext
8679 CFLAGS=$ac_wine_try_cflags_saved
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8682 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8683 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8684 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8685 else
8686 wine_can_build_preloader=no
8689 else
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8691 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8692 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8693 $as_echo_n "(cached) " >&6
8694 else
8695 ac_wine_try_cflags_saved=$CFLAGS
8696 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8698 /* end confdefs.h. */
8699 int main(int argc, char **argv) { return 0; }
8700 _ACEOF
8701 if ac_fn_c_try_link "$LINENO"; then :
8702 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8703 else
8704 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8706 rm -f core conftest.err conftest.$ac_objext \
8707 conftest$ac_exeext conftest.$ac_ext
8708 CFLAGS=$ac_wine_try_cflags_saved
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8711 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8712 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8713 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8714 else
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8716 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8717 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8718 $as_echo_n "(cached) " >&6
8719 else
8720 ac_wine_try_cflags_saved=$CFLAGS
8721 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8723 /* end confdefs.h. */
8724 int main(int argc, char **argv) { return 0; }
8725 _ACEOF
8726 if ac_fn_c_try_link "$LINENO"; then :
8727 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8728 else
8729 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8731 rm -f core conftest.err conftest.$ac_objext \
8732 conftest$ac_exeext conftest.$ac_ext
8733 CFLAGS=$ac_wine_try_cflags_saved
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8736 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8737 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8738 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8739 else
8740 wine_can_build_preloader=no
8744 if test "$wine_can_build_preloader" = "yes"
8745 then
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8747 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8748 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8749 $as_echo_n "(cached) " >&6
8750 else
8751 ac_wine_try_cflags_saved=$CFLAGS
8752 CFLAGS="$CFLAGS -Wl,-no_pie"
8753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8754 /* end confdefs.h. */
8755 int main(int argc, char **argv) { return 0; }
8756 _ACEOF
8757 if ac_fn_c_try_link "$LINENO"; then :
8758 ac_cv_cflags__Wl__no_pie=yes
8759 else
8760 ac_cv_cflags__Wl__no_pie=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_cflags__Wl__no_pie" >&5
8767 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8768 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8769 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8771 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8772 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8773 else
8774 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8777 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8778 then
8779 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8782 if test "$ac_cv_header_Security_Security_h" = "yes"
8783 then
8784 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8786 ac_save_LIBS="$LIBS"
8787 LIBS="$LIBS $SECURITY_LIBS"
8788 for ac_func in SSLCopyPeerCertificates
8789 do :
8790 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8791 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8792 cat >>confdefs.h <<_ACEOF
8793 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8794 _ACEOF
8797 done
8799 LIBS="$ac_save_LIBS"
8801 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8802 then
8803 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8804 then
8805 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8807 else
8808 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8811 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8812 ac_save_LIBS="$LIBS"
8813 LIBS="$LIBS $COREAUDIO_LIBS"
8814 for ac_func in AUGraphAddNode
8815 do :
8816 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8817 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8818 cat >>confdefs.h <<_ACEOF
8819 #define HAVE_AUGRAPHADDNODE 1
8820 _ACEOF
8823 done
8825 LIBS="$ac_save_LIBS"
8827 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8828 then
8829 OPENAL_LIBS="-framework OpenAL"
8832 cat >>confdefs.h <<_ACEOF
8833 #define HAVE_OPENAL 1
8834 _ACEOF
8836 ac_cv_lib_openal=yes
8838 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8839 then
8840 OPENCL_LIBS="-framework OpenCL"
8842 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8844 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8845 then
8846 ac_save_LIBS="$LIBS"
8847 LIBS="$LIBS $IOKIT_LIBS"
8848 for ac_func in IOHIDManagerCreate
8849 do :
8850 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8851 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8852 cat >>confdefs.h <<_ACEOF
8853 #define HAVE_IOHIDMANAGERCREATE 1
8854 _ACEOF
8857 done
8859 LIBS="$ac_save_LIBS"
8861 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8862 then
8863 ac_save_LIBS="$LIBS"
8864 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8866 $as_echo_n "checking for the QuickTime framework... " >&6; }
8867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8868 /* end confdefs.h. */
8869 #include <QuickTime/ImageCompression.h>
8871 main ()
8873 CodecManagerVersion(NULL);
8875 return 0;
8877 _ACEOF
8878 if ac_fn_c_try_link "$LINENO"; then :
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8880 $as_echo "yes" >&6; }
8881 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8883 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8884 else
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8886 $as_echo "no" >&6; }
8887 ac_cv_header_QuickTime_ImageCompression_h=no
8889 rm -f core conftest.err conftest.$ac_objext \
8890 conftest$ac_exeext conftest.$ac_ext
8891 LIBS="$ac_save_LIBS"
8893 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8894 then
8895 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8897 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8898 then
8899 CARBON_LIBS="-framework Carbon"
8902 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8903 then
8904 METAL_LIBS="-framework Metal -framework QuartzCore"
8908 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8909 then
8910 ac_save_LIBS="$LIBS"
8911 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8912 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8913 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8914 enable_winemac_drv=${enable_winemac_drv:-yes}
8917 LIBS="$ac_save_LIBS"
8920 if test "x$enable_win16" = "xyes"
8921 then
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8923 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8924 if test "$cross_compiling" = yes; then :
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8926 $as_echo "cross-compiling, assuming yes" >&6; }
8927 else
8928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8929 /* end confdefs.h. */
8930 asm(".text\n"
8931 "bad:\tnop;nop\n"
8932 "good:\tnop;nop\n\t"
8933 ".globl _testfunc\n"
8934 "_testfunc:\tcallw good");
8935 extern void testfunc();
8937 main ()
8939 unsigned short *p = (unsigned short *)testfunc;
8940 return p[0] != 0xe866 || p[1] != 0xfffa
8942 return 0;
8944 _ACEOF
8945 if ac_fn_c_try_run "$LINENO"; then :
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8947 $as_echo "yes" >&6; }
8948 else
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8950 $as_echo "no" >&6; }
8951 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
8953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8954 conftest.$ac_objext conftest.beam conftest.$ac_ext
8959 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8961 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8963 WINELOADER_DEPENDS="wine_info.plist"
8965 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
8966 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
8969 linux-android*)
8970 DLLFLAGS="$DLLFLAGS -fPIC"
8971 LDEXECFLAGS="-Wl,-pie"
8972 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8974 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8975 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8976 $as_echo_n "(cached) " >&6
8977 else
8978 ac_wine_try_cflags_saved=$CFLAGS
8979 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8981 /* end confdefs.h. */
8982 int main(int argc, char **argv) { return 0; }
8983 _ACEOF
8984 if ac_fn_c_try_link "$LINENO"; then :
8985 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8986 else
8987 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8989 rm -f core conftest.err conftest.$ac_objext \
8990 conftest$ac_exeext conftest.$ac_ext
8991 CFLAGS=$ac_wine_try_cflags_saved
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8994 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8995 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8996 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8998 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
8999 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9001 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9002 if eval \${$as_ac_var+:} false; then :
9003 $as_echo_n "(cached) " >&6
9004 else
9005 ac_wine_try_cflags_saved=$CFLAGS
9006 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9008 /* end confdefs.h. */
9009 int main(int argc, char **argv) { return 0; }
9010 _ACEOF
9011 if ac_fn_c_try_link "$LINENO"; then :
9012 eval "$as_ac_var=yes"
9013 else
9014 eval "$as_ac_var=no"
9016 rm -f core conftest.err conftest.$ac_objext \
9017 conftest$ac_exeext conftest.$ac_ext
9018 CFLAGS=$ac_wine_try_cflags_saved
9020 eval ac_res=\$$as_ac_var
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9022 $as_echo "$ac_res" >&6; }
9023 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9024 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9025 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9026 else
9027 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9029 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9030 if eval \${$as_ac_var+:} false; then :
9031 $as_echo_n "(cached) " >&6
9032 else
9033 ac_wine_try_cflags_saved=$CFLAGS
9034 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9036 /* end confdefs.h. */
9037 int main(int argc, char **argv) { return 0; }
9038 _ACEOF
9039 if ac_fn_c_try_link "$LINENO"; then :
9040 eval "$as_ac_var=yes"
9041 else
9042 eval "$as_ac_var=no"
9044 rm -f core conftest.err conftest.$ac_objext \
9045 conftest$ac_exeext conftest.$ac_ext
9046 CFLAGS=$ac_wine_try_cflags_saved
9048 eval ac_res=\$$as_ac_var
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9050 $as_echo "$ac_res" >&6; }
9051 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9052 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9053 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9057 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9058 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9059 $as_echo_n "(cached) " >&6
9060 else
9061 ac_wine_try_cflags_saved=$CFLAGS
9062 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9064 /* end confdefs.h. */
9065 int main(int argc, char **argv) { return 0; }
9066 _ACEOF
9067 if ac_fn_c_try_link "$LINENO"; then :
9068 ac_cv_cflags__Wl___enable_new_dtags=yes
9069 else
9070 ac_cv_cflags__Wl___enable_new_dtags=no
9072 rm -f core conftest.err conftest.$ac_objext \
9073 conftest$ac_exeext conftest.$ac_ext
9074 CFLAGS=$ac_wine_try_cflags_saved
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9077 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9078 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9079 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9082 LIBWINE_SHAREDLIB="libwine.so"
9084 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9086 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9089 $as_echo_n "checking for -lEGL... " >&6; }
9090 if ${ac_cv_lib_soname_EGL+:} false; then :
9091 $as_echo_n "(cached) " >&6
9092 else
9093 ac_check_soname_save_LIBS=$LIBS
9094 LIBS="-lEGL $LIBS"
9095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9096 /* end confdefs.h. */
9098 /* Override any GCC internal prototype to avoid an error.
9099 Use char because int might match the return type of a GCC
9100 builtin and then its argument prototype would still apply. */
9101 #ifdef __cplusplus
9102 extern "C"
9103 #endif
9104 char eglGetProcAddress ();
9106 main ()
9108 return eglGetProcAddress ();
9110 return 0;
9112 _ACEOF
9113 if ac_fn_c_try_link "$LINENO"; then :
9114 case "$LIBEXT" in
9115 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9116 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'` ;;
9117 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9118 if ${ac_cv_lib_soname_EGL:+false} :; then :
9119 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9120 fi ;;
9121 esac
9123 rm -f core conftest.err conftest.$ac_objext \
9124 conftest$ac_exeext conftest.$ac_ext
9125 LIBS=$ac_check_soname_save_LIBS
9127 if ${ac_cv_lib_soname_EGL:+false} :; then :
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9129 $as_echo "not found" >&6; }
9131 else
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9133 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9135 cat >>confdefs.h <<_ACEOF
9136 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9137 _ACEOF
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9142 $as_echo_n "checking for -lGLESv2... " >&6; }
9143 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9144 $as_echo_n "(cached) " >&6
9145 else
9146 ac_check_soname_save_LIBS=$LIBS
9147 LIBS="-lGLESv2 $LIBS"
9148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9149 /* end confdefs.h. */
9151 /* Override any GCC internal prototype to avoid an error.
9152 Use char because int might match the return type of a GCC
9153 builtin and then its argument prototype would still apply. */
9154 #ifdef __cplusplus
9155 extern "C"
9156 #endif
9157 char glFlush ();
9159 main ()
9161 return glFlush ();
9163 return 0;
9165 _ACEOF
9166 if ac_fn_c_try_link "$LINENO"; then :
9167 case "$LIBEXT" in
9168 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9169 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'` ;;
9170 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9171 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9172 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9173 fi ;;
9174 esac
9176 rm -f core conftest.err conftest.$ac_objext \
9177 conftest$ac_exeext conftest.$ac_ext
9178 LIBS=$ac_check_soname_save_LIBS
9180 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9182 $as_echo "not found" >&6; }
9184 else
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9186 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9188 cat >>confdefs.h <<_ACEOF
9189 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9190 _ACEOF
9195 if test "x$exec_prefix" = xNONE
9196 then
9197 case $host_cpu in
9198 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9199 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9200 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9201 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9202 esac
9207 DLLFLAGS="$DLLFLAGS -fPIC"
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9209 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9210 if ${ac_cv_c_dll_gnuelf+:} false; then :
9211 $as_echo_n "(cached) " >&6
9212 else
9213 ac_wine_try_cflags_saved=$CFLAGS
9214 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9216 /* end confdefs.h. */
9217 void myfunc() {}
9218 _ACEOF
9219 if ac_fn_c_try_link "$LINENO"; then :
9220 ac_cv_c_dll_gnuelf="yes"
9221 else
9222 ac_cv_c_dll_gnuelf="no"
9224 rm -f core conftest.err conftest.$ac_objext \
9225 conftest$ac_exeext conftest.$ac_ext
9226 CFLAGS=$ac_wine_try_cflags_saved
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9229 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9230 if test "$ac_cv_c_dll_gnuelf" = "yes"
9231 then
9232 LIBWINE_LDFLAGS="-shared"
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9234 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9235 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9236 $as_echo_n "(cached) " >&6
9237 else
9238 ac_wine_try_cflags_saved=$CFLAGS
9239 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9241 /* end confdefs.h. */
9242 int main(int argc, char **argv) { return 0; }
9243 _ACEOF
9244 if ac_fn_c_try_link "$LINENO"; then :
9245 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9246 else
9247 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9249 rm -f core conftest.err conftest.$ac_objext \
9250 conftest$ac_exeext conftest.$ac_ext
9251 CFLAGS=$ac_wine_try_cflags_saved
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9254 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9255 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9256 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9257 else
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9259 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9260 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9261 $as_echo_n "(cached) " >&6
9262 else
9263 ac_wine_try_cflags_saved=$CFLAGS
9264 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9266 /* end confdefs.h. */
9267 int main(int argc, char **argv) { return 0; }
9268 _ACEOF
9269 if ac_fn_c_try_link "$LINENO"; then :
9270 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9271 else
9272 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9274 rm -f core conftest.err conftest.$ac_objext \
9275 conftest$ac_exeext conftest.$ac_ext
9276 CFLAGS=$ac_wine_try_cflags_saved
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9279 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9280 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9281 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9285 echo '{ global: *; };' >conftest.map
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9287 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9288 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9289 $as_echo_n "(cached) " >&6
9290 else
9291 ac_wine_try_cflags_saved=$CFLAGS
9292 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9294 /* end confdefs.h. */
9295 int main(int argc, char **argv) { return 0; }
9296 _ACEOF
9297 if ac_fn_c_try_link "$LINENO"; then :
9298 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9299 else
9300 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9302 rm -f core conftest.err conftest.$ac_objext \
9303 conftest$ac_exeext conftest.$ac_ext
9304 CFLAGS=$ac_wine_try_cflags_saved
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9307 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9308 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9309 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9311 rm -f conftest.map
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9314 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9315 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9316 $as_echo_n "(cached) " >&6
9317 else
9318 ac_wine_try_cflags_saved=$CFLAGS
9319 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9321 /* end confdefs.h. */
9322 int main(int argc, char **argv) { return 0; }
9323 _ACEOF
9324 if ac_fn_c_try_link "$LINENO"; then :
9325 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9326 else
9327 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9329 rm -f core conftest.err conftest.$ac_objext \
9330 conftest$ac_exeext conftest.$ac_ext
9331 CFLAGS=$ac_wine_try_cflags_saved
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9334 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9335 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9336 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9338 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9340 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9342 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9343 if eval \${$as_ac_var+:} false; then :
9344 $as_echo_n "(cached) " >&6
9345 else
9346 ac_wine_try_cflags_saved=$CFLAGS
9347 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9349 /* end confdefs.h. */
9350 int main(int argc, char **argv) { return 0; }
9351 _ACEOF
9352 if ac_fn_c_try_link "$LINENO"; then :
9353 eval "$as_ac_var=yes"
9354 else
9355 eval "$as_ac_var=no"
9357 rm -f core conftest.err conftest.$ac_objext \
9358 conftest$ac_exeext conftest.$ac_ext
9359 CFLAGS=$ac_wine_try_cflags_saved
9361 eval ac_res=\$$as_ac_var
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9363 $as_echo "$ac_res" >&6; }
9364 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9365 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9366 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9367 else
9368 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9370 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9371 if eval \${$as_ac_var+:} false; then :
9372 $as_echo_n "(cached) " >&6
9373 else
9374 ac_wine_try_cflags_saved=$CFLAGS
9375 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9377 /* end confdefs.h. */
9378 int main(int argc, char **argv) { return 0; }
9379 _ACEOF
9380 if ac_fn_c_try_link "$LINENO"; then :
9381 eval "$as_ac_var=yes"
9382 else
9383 eval "$as_ac_var=no"
9385 rm -f core conftest.err conftest.$ac_objext \
9386 conftest$ac_exeext conftest.$ac_ext
9387 CFLAGS=$ac_wine_try_cflags_saved
9389 eval ac_res=\$$as_ac_var
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9391 $as_echo "$ac_res" >&6; }
9392 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9393 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9394 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9399 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9400 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9401 $as_echo_n "(cached) " >&6
9402 else
9403 ac_wine_try_cflags_saved=$CFLAGS
9404 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9406 /* end confdefs.h. */
9407 int main(int argc, char **argv) { return 0; }
9408 _ACEOF
9409 if ac_fn_c_try_link "$LINENO"; then :
9410 ac_cv_cflags__Wl___enable_new_dtags=yes
9411 else
9412 ac_cv_cflags__Wl___enable_new_dtags=no
9414 rm -f core conftest.err conftest.$ac_objext \
9415 conftest$ac_exeext conftest.$ac_ext
9416 CFLAGS=$ac_wine_try_cflags_saved
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9419 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9420 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9421 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9424 case $host_cpu in
9425 *i[3456789]86* | x86_64 | *aarch64*)
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9427 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9428 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9429 $as_echo_n "(cached) " >&6
9430 else
9431 ac_wine_try_cflags_saved=$CFLAGS
9432 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9434 /* end confdefs.h. */
9435 int main(int argc, char **argv) { return 0; }
9436 _ACEOF
9437 if ac_fn_c_try_link "$LINENO"; then :
9438 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9439 else
9440 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9442 rm -f core conftest.err conftest.$ac_objext \
9443 conftest$ac_exeext conftest.$ac_ext
9444 CFLAGS=$ac_wine_try_cflags_saved
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9447 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9448 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9449 case $host_os in
9450 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9451 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9452 esac
9453 else
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9455 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9456 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9457 $as_echo_n "(cached) " >&6
9458 else
9459 ac_wine_try_cflags_saved=$CFLAGS
9460 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9462 /* end confdefs.h. */
9463 int main(int argc, char **argv) { return 0; }
9464 _ACEOF
9465 if ac_fn_c_try_link "$LINENO"; then :
9466 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9467 else
9468 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9470 rm -f core conftest.err conftest.$ac_objext \
9471 conftest$ac_exeext conftest.$ac_ext
9472 CFLAGS=$ac_wine_try_cflags_saved
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9475 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9476 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9477 case $host_os in
9478 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9479 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9480 esac
9482 # Extract the first word of "prelink", so it can be a program name with args.
9483 set dummy prelink; ac_word=$2
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9485 $as_echo_n "checking for $ac_word... " >&6; }
9486 if ${ac_cv_path_PRELINK+:} false; then :
9487 $as_echo_n "(cached) " >&6
9488 else
9489 case $PRELINK in
9490 [\\/]* | ?:[\\/]*)
9491 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9495 for as_dir in /sbin /usr/sbin $PATH
9497 IFS=$as_save_IFS
9498 test -z "$as_dir" && as_dir=.
9499 for ac_exec_ext in '' $ac_executable_extensions; do
9500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9501 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9503 break 2
9505 done
9506 done
9507 IFS=$as_save_IFS
9509 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9511 esac
9513 PRELINK=$ac_cv_path_PRELINK
9514 if test -n "$PRELINK"; then
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9516 $as_echo "$PRELINK" >&6; }
9517 else
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9519 $as_echo "no" >&6; }
9523 if test "x$PRELINK" = xfalse
9524 then
9525 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9529 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9530 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9531 $as_echo_n "(cached) " >&6
9532 else
9533 ac_wine_try_cflags_saved=$CFLAGS
9534 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h. */
9537 int main(int argc, char **argv) { return 0; }
9538 _ACEOF
9539 if ac_fn_c_try_link "$LINENO"; then :
9540 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9541 else
9542 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9544 rm -f core conftest.err conftest.$ac_objext \
9545 conftest$ac_exeext conftest.$ac_ext
9546 CFLAGS=$ac_wine_try_cflags_saved
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9549 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9550 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9551 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9554 esac
9556 else
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9558 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9559 if ${ac_cv_c_dll_unixware+:} false; then :
9560 $as_echo_n "(cached) " >&6
9561 else
9562 ac_wine_try_cflags_saved=$CFLAGS
9563 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9566 void myfunc() {}
9567 _ACEOF
9568 if ac_fn_c_try_link "$LINENO"; then :
9569 ac_cv_c_dll_unixware="yes"
9570 else
9571 ac_cv_c_dll_unixware="no"
9573 rm -f core conftest.err conftest.$ac_objext \
9574 conftest$ac_exeext conftest.$ac_ext
9575 CFLAGS=$ac_wine_try_cflags_saved
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9578 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9579 if test "$ac_cv_c_dll_unixware" = "yes"
9580 then
9581 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9584 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9586 LIBWINE_DEPENDS="wine.map"
9588 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9589 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9591 esac
9593 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9594 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9595 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9596 enable_winemac_drv=${enable_winemac_drv:-no}
9597 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9599 CROSSTARGET=""
9601 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9602 then
9603 case "$host_cpu" in
9604 aarch64*)
9605 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9606 arm*)
9607 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9608 i[3456789]86*)
9609 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
9610 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9611 mingw32-gcc" ;;
9612 x86_64)
9613 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
9614 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9616 ac_prefix_list="" ;;
9617 esac
9618 for ac_prog in $ac_prefix_list
9620 # Extract the first word of "$ac_prog", so it can be a program name with args.
9621 set dummy $ac_prog; ac_word=$2
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9623 $as_echo_n "checking for $ac_word... " >&6; }
9624 if ${ac_cv_prog_CROSSCC+:} false; then :
9625 $as_echo_n "(cached) " >&6
9626 else
9627 if test -n "$CROSSCC"; then
9628 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9629 else
9630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9631 for as_dir in $PATH
9633 IFS=$as_save_IFS
9634 test -z "$as_dir" && as_dir=.
9635 for ac_exec_ext in '' $ac_executable_extensions; do
9636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9637 ac_cv_prog_CROSSCC="$ac_prog"
9638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9639 break 2
9641 done
9642 done
9643 IFS=$as_save_IFS
9647 CROSSCC=$ac_cv_prog_CROSSCC
9648 if test -n "$CROSSCC"; then
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9650 $as_echo "$CROSSCC" >&6; }
9651 else
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9653 $as_echo "no" >&6; }
9657 test -n "$CROSSCC" && break
9658 done
9659 test -n "$CROSSCC" || CROSSCC="false"
9661 if test "$CROSSCC" != "false"
9662 then
9663 ac_save_CC="$CC"
9664 CC="$CROSSCC"
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9666 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9668 /* end confdefs.h. */
9671 main ()
9675 return 0;
9677 _ACEOF
9678 if ac_fn_c_try_compile "$LINENO"; then :
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9680 $as_echo "yes" >&6; }
9681 set x $CROSSCC
9682 shift
9683 while test $# -ge 1
9685 case "$1" in
9686 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9687 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9688 esac
9689 shift
9690 done
9691 else
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9693 $as_echo "no" >&6; }
9695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9696 CC="$ac_save_CC"
9697 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9703 if test "$ac_cv_header_pthread_h" = "yes"
9704 then
9705 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9706 if test "x$ac_cv_func_pthread_create" = xyes; then :
9708 else
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9710 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9711 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9712 $as_echo_n "(cached) " >&6
9713 else
9714 ac_check_lib_save_LIBS=$LIBS
9715 LIBS="-lpthread $LIBS"
9716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9719 /* Override any GCC internal prototype to avoid an error.
9720 Use char because int might match the return type of a GCC
9721 builtin and then its argument prototype would still apply. */
9722 #ifdef __cplusplus
9723 extern "C"
9724 #endif
9725 char pthread_create ();
9727 main ()
9729 return pthread_create ();
9731 return 0;
9733 _ACEOF
9734 if ac_fn_c_try_link "$LINENO"; then :
9735 ac_cv_lib_pthread_pthread_create=yes
9736 else
9737 ac_cv_lib_pthread_pthread_create=no
9739 rm -f core conftest.err conftest.$ac_objext \
9740 conftest$ac_exeext conftest.$ac_ext
9741 LIBS=$ac_check_lib_save_LIBS
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9744 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9745 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9746 PTHREAD_LIBS="-lpthread"
9753 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9754 case "x$with_pthread" in
9755 xno) ;;
9756 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9757 Wine cannot support threads without libpthread.
9758 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9759 esac
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9765 $as_echo_n "checking for X... " >&6; }
9768 # Check whether --with-x was given.
9769 if test "${with_x+set}" = set; then :
9770 withval=$with_x;
9773 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9774 if test "x$with_x" = xno; then
9775 # The user explicitly disabled X.
9776 have_x=disabled
9777 else
9778 case $x_includes,$x_libraries in #(
9779 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9780 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9781 $as_echo_n "(cached) " >&6
9782 else
9783 # One or both of the vars are not set, and there is no cached value.
9784 ac_x_includes=no ac_x_libraries=no
9785 rm -f -r conftest.dir
9786 if mkdir conftest.dir; then
9787 cd conftest.dir
9788 cat >Imakefile <<'_ACEOF'
9789 incroot:
9790 @echo incroot='${INCROOT}'
9791 usrlibdir:
9792 @echo usrlibdir='${USRLIBDIR}'
9793 libdir:
9794 @echo libdir='${LIBDIR}'
9795 _ACEOF
9796 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9797 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9798 for ac_var in incroot usrlibdir libdir; do
9799 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9800 done
9801 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9802 for ac_extension in a so sl dylib la dll; do
9803 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9804 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9805 ac_im_usrlibdir=$ac_im_libdir; break
9807 done
9808 # Screen out bogus values from the imake configuration. They are
9809 # bogus both because they are the default anyway, and because
9810 # using them would break gcc on systems where it needs fixed includes.
9811 case $ac_im_incroot in
9812 /usr/include) ac_x_includes= ;;
9813 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9814 esac
9815 case $ac_im_usrlibdir in
9816 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9817 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9818 esac
9820 cd ..
9821 rm -f -r conftest.dir
9824 # Standard set of common directories for X headers.
9825 # Check X11 before X11Rn because it is often a symlink to the current release.
9826 ac_x_header_dirs='
9827 /usr/X11/include
9828 /usr/X11R7/include
9829 /usr/X11R6/include
9830 /usr/X11R5/include
9831 /usr/X11R4/include
9833 /usr/include/X11
9834 /usr/include/X11R7
9835 /usr/include/X11R6
9836 /usr/include/X11R5
9837 /usr/include/X11R4
9839 /usr/local/X11/include
9840 /usr/local/X11R7/include
9841 /usr/local/X11R6/include
9842 /usr/local/X11R5/include
9843 /usr/local/X11R4/include
9845 /usr/local/include/X11
9846 /usr/local/include/X11R7
9847 /usr/local/include/X11R6
9848 /usr/local/include/X11R5
9849 /usr/local/include/X11R4
9851 /usr/X386/include
9852 /usr/x386/include
9853 /usr/XFree86/include/X11
9855 /usr/include
9856 /usr/local/include
9857 /usr/unsupported/include
9858 /usr/athena/include
9859 /usr/local/x11r5/include
9860 /usr/lpp/Xamples/include
9862 /usr/openwin/include
9863 /usr/openwin/share/include'
9865 if test "$ac_x_includes" = no; then
9866 # Guess where to find include files, by looking for Xlib.h.
9867 # First, try using that file with no special directory specified.
9868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9869 /* end confdefs.h. */
9870 #include <X11/Xlib.h>
9871 _ACEOF
9872 if ac_fn_c_try_cpp "$LINENO"; then :
9873 # We can compile using X headers with no special include directory.
9874 ac_x_includes=
9875 else
9876 for ac_dir in $ac_x_header_dirs; do
9877 if test -r "$ac_dir/X11/Xlib.h"; then
9878 ac_x_includes=$ac_dir
9879 break
9881 done
9883 rm -f conftest.err conftest.i conftest.$ac_ext
9884 fi # $ac_x_includes = no
9886 if test "$ac_x_libraries" = no; then
9887 # Check for the libraries.
9888 # See if we find them without any special options.
9889 # Don't add to $LIBS permanently.
9890 ac_save_LIBS=$LIBS
9891 LIBS="-lX11 $LIBS"
9892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9893 /* end confdefs.h. */
9894 #include <X11/Xlib.h>
9896 main ()
9898 XrmInitialize ()
9900 return 0;
9902 _ACEOF
9903 if ac_fn_c_try_link "$LINENO"; then :
9904 LIBS=$ac_save_LIBS
9905 # We can link X programs with no special library path.
9906 ac_x_libraries=
9907 else
9908 LIBS=$ac_save_LIBS
9909 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9911 # Don't even attempt the hair of trying to link an X program!
9912 for ac_extension in a so sl dylib la dll; do
9913 if test -r "$ac_dir/libX11.$ac_extension"; then
9914 ac_x_libraries=$ac_dir
9915 break 2
9917 done
9918 done
9920 rm -f core conftest.err conftest.$ac_objext \
9921 conftest$ac_exeext conftest.$ac_ext
9922 fi # $ac_x_libraries = no
9924 case $ac_x_includes,$ac_x_libraries in #(
9925 no,* | *,no | *\'*)
9926 # Didn't find X, or a directory has "'" in its name.
9927 ac_cv_have_x="have_x=no";; #(
9929 # Record where we found X for the cache.
9930 ac_cv_have_x="have_x=yes\
9931 ac_x_includes='$ac_x_includes'\
9932 ac_x_libraries='$ac_x_libraries'"
9933 esac
9935 ;; #(
9936 *) have_x=yes;;
9937 esac
9938 eval "$ac_cv_have_x"
9939 fi # $with_x != no
9941 if test "$have_x" != yes; then
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9943 $as_echo "$have_x" >&6; }
9944 no_x=yes
9945 else
9946 # If each of the values was on the command line, it overrides each guess.
9947 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9948 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9949 # Update the cache value to reflect the command line values.
9950 ac_cv_have_x="have_x=yes\
9951 ac_x_includes='$x_includes'\
9952 ac_x_libraries='$x_libraries'"
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9954 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9957 if test "$no_x" = yes; then
9958 # Not all programs may use this symbol, but it does not hurt to define it.
9960 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9962 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9963 else
9964 if test -n "$x_includes"; then
9965 X_CFLAGS="$X_CFLAGS -I$x_includes"
9968 # It would also be nice to do this for all -L options, not just this one.
9969 if test -n "$x_libraries"; then
9970 X_LIBS="$X_LIBS -L$x_libraries"
9971 # For Solaris; some versions of Sun CC require a space after -R and
9972 # others require no space. Words are not sufficient . . . .
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9974 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9975 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9976 ac_xsave_c_werror_flag=$ac_c_werror_flag
9977 ac_c_werror_flag=yes
9978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9979 /* end confdefs.h. */
9982 main ()
9986 return 0;
9988 _ACEOF
9989 if ac_fn_c_try_link "$LINENO"; then :
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9991 $as_echo "no" >&6; }
9992 X_LIBS="$X_LIBS -R$x_libraries"
9993 else
9994 LIBS="$ac_xsave_LIBS -R $x_libraries"
9995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9996 /* end confdefs.h. */
9999 main ()
10003 return 0;
10005 _ACEOF
10006 if ac_fn_c_try_link "$LINENO"; then :
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10008 $as_echo "yes" >&6; }
10009 X_LIBS="$X_LIBS -R $x_libraries"
10010 else
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10012 $as_echo "neither works" >&6; }
10014 rm -f core conftest.err conftest.$ac_objext \
10015 conftest$ac_exeext conftest.$ac_ext
10017 rm -f core conftest.err conftest.$ac_objext \
10018 conftest$ac_exeext conftest.$ac_ext
10019 ac_c_werror_flag=$ac_xsave_c_werror_flag
10020 LIBS=$ac_xsave_LIBS
10023 # Check for system-dependent libraries X programs must link with.
10024 # Do this before checking for the system-independent R6 libraries
10025 # (-lICE), since we may need -lsocket or whatever for X linking.
10027 if test "$ISC" = yes; then
10028 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10029 else
10030 # Martyn Johnson says this is needed for Ultrix, if the X
10031 # libraries were built with DECnet support. And Karl Berry says
10032 # the Alpha needs dnet_stub (dnet does not exist).
10033 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10035 /* end confdefs.h. */
10037 /* Override any GCC internal prototype to avoid an error.
10038 Use char because int might match the return type of a GCC
10039 builtin and then its argument prototype would still apply. */
10040 #ifdef __cplusplus
10041 extern "C"
10042 #endif
10043 char XOpenDisplay ();
10045 main ()
10047 return XOpenDisplay ();
10049 return 0;
10051 _ACEOF
10052 if ac_fn_c_try_link "$LINENO"; then :
10054 else
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10056 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10057 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10058 $as_echo_n "(cached) " >&6
10059 else
10060 ac_check_lib_save_LIBS=$LIBS
10061 LIBS="-ldnet $LIBS"
10062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10065 /* Override any GCC internal prototype to avoid an error.
10066 Use char because int might match the return type of a GCC
10067 builtin and then its argument prototype would still apply. */
10068 #ifdef __cplusplus
10069 extern "C"
10070 #endif
10071 char dnet_ntoa ();
10073 main ()
10075 return dnet_ntoa ();
10077 return 0;
10079 _ACEOF
10080 if ac_fn_c_try_link "$LINENO"; then :
10081 ac_cv_lib_dnet_dnet_ntoa=yes
10082 else
10083 ac_cv_lib_dnet_dnet_ntoa=no
10085 rm -f core conftest.err conftest.$ac_objext \
10086 conftest$ac_exeext conftest.$ac_ext
10087 LIBS=$ac_check_lib_save_LIBS
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10090 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10091 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10092 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10095 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10097 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10098 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10099 $as_echo_n "(cached) " >&6
10100 else
10101 ac_check_lib_save_LIBS=$LIBS
10102 LIBS="-ldnet_stub $LIBS"
10103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10104 /* end confdefs.h. */
10106 /* Override any GCC internal prototype to avoid an error.
10107 Use char because int might match the return type of a GCC
10108 builtin and then its argument prototype would still apply. */
10109 #ifdef __cplusplus
10110 extern "C"
10111 #endif
10112 char dnet_ntoa ();
10114 main ()
10116 return dnet_ntoa ();
10118 return 0;
10120 _ACEOF
10121 if ac_fn_c_try_link "$LINENO"; then :
10122 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10123 else
10124 ac_cv_lib_dnet_stub_dnet_ntoa=no
10126 rm -f core conftest.err conftest.$ac_objext \
10127 conftest$ac_exeext conftest.$ac_ext
10128 LIBS=$ac_check_lib_save_LIBS
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10131 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10132 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10133 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10138 rm -f core conftest.err conftest.$ac_objext \
10139 conftest$ac_exeext conftest.$ac_ext
10140 LIBS="$ac_xsave_LIBS"
10142 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10143 # to get the SysV transport functions.
10144 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10145 # needs -lnsl.
10146 # The nsl library prevents programs from opening the X display
10147 # on Irix 5.2, according to T.E. Dickey.
10148 # The functions gethostbyname, getservbyname, and inet_addr are
10149 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10150 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10151 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10155 if test $ac_cv_func_gethostbyname = no; then
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10157 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10158 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10159 $as_echo_n "(cached) " >&6
10160 else
10161 ac_check_lib_save_LIBS=$LIBS
10162 LIBS="-lnsl $LIBS"
10163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10164 /* end confdefs.h. */
10166 /* Override any GCC internal prototype to avoid an error.
10167 Use char because int might match the return type of a GCC
10168 builtin and then its argument prototype would still apply. */
10169 #ifdef __cplusplus
10170 extern "C"
10171 #endif
10172 char gethostbyname ();
10174 main ()
10176 return gethostbyname ();
10178 return 0;
10180 _ACEOF
10181 if ac_fn_c_try_link "$LINENO"; then :
10182 ac_cv_lib_nsl_gethostbyname=yes
10183 else
10184 ac_cv_lib_nsl_gethostbyname=no
10186 rm -f core conftest.err conftest.$ac_objext \
10187 conftest$ac_exeext conftest.$ac_ext
10188 LIBS=$ac_check_lib_save_LIBS
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10191 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10192 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10193 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10196 if test $ac_cv_lib_nsl_gethostbyname = no; then
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10198 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10199 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10200 $as_echo_n "(cached) " >&6
10201 else
10202 ac_check_lib_save_LIBS=$LIBS
10203 LIBS="-lbsd $LIBS"
10204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10205 /* end confdefs.h. */
10207 /* Override any GCC internal prototype to avoid an error.
10208 Use char because int might match the return type of a GCC
10209 builtin and then its argument prototype would still apply. */
10210 #ifdef __cplusplus
10211 extern "C"
10212 #endif
10213 char gethostbyname ();
10215 main ()
10217 return gethostbyname ();
10219 return 0;
10221 _ACEOF
10222 if ac_fn_c_try_link "$LINENO"; then :
10223 ac_cv_lib_bsd_gethostbyname=yes
10224 else
10225 ac_cv_lib_bsd_gethostbyname=no
10227 rm -f core conftest.err conftest.$ac_objext \
10228 conftest$ac_exeext conftest.$ac_ext
10229 LIBS=$ac_check_lib_save_LIBS
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10232 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10233 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10234 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10240 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10241 # socket/setsockopt and other routines are undefined under SCO ODT
10242 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10243 # on later versions), says Simon Leinen: it contains gethostby*
10244 # variants that don't use the name server (or something). -lsocket
10245 # must be given before -lnsl if both are needed. We assume that
10246 # if connect needs -lnsl, so does gethostbyname.
10247 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10248 if test "x$ac_cv_func_connect" = xyes; then :
10252 if test $ac_cv_func_connect = no; then
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10254 $as_echo_n "checking for connect in -lsocket... " >&6; }
10255 if ${ac_cv_lib_socket_connect+:} false; then :
10256 $as_echo_n "(cached) " >&6
10257 else
10258 ac_check_lib_save_LIBS=$LIBS
10259 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10261 /* end confdefs.h. */
10263 /* Override any GCC internal prototype to avoid an error.
10264 Use char because int might match the return type of a GCC
10265 builtin and then its argument prototype would still apply. */
10266 #ifdef __cplusplus
10267 extern "C"
10268 #endif
10269 char connect ();
10271 main ()
10273 return connect ();
10275 return 0;
10277 _ACEOF
10278 if ac_fn_c_try_link "$LINENO"; then :
10279 ac_cv_lib_socket_connect=yes
10280 else
10281 ac_cv_lib_socket_connect=no
10283 rm -f core conftest.err conftest.$ac_objext \
10284 conftest$ac_exeext conftest.$ac_ext
10285 LIBS=$ac_check_lib_save_LIBS
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10288 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10289 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10290 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10295 # Guillermo Gomez says -lposix is necessary on A/UX.
10296 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10297 if test "x$ac_cv_func_remove" = xyes; then :
10301 if test $ac_cv_func_remove = no; then
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10303 $as_echo_n "checking for remove in -lposix... " >&6; }
10304 if ${ac_cv_lib_posix_remove+:} false; then :
10305 $as_echo_n "(cached) " >&6
10306 else
10307 ac_check_lib_save_LIBS=$LIBS
10308 LIBS="-lposix $LIBS"
10309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10310 /* end confdefs.h. */
10312 /* Override any GCC internal prototype to avoid an error.
10313 Use char because int might match the return type of a GCC
10314 builtin and then its argument prototype would still apply. */
10315 #ifdef __cplusplus
10316 extern "C"
10317 #endif
10318 char remove ();
10320 main ()
10322 return remove ();
10324 return 0;
10326 _ACEOF
10327 if ac_fn_c_try_link "$LINENO"; then :
10328 ac_cv_lib_posix_remove=yes
10329 else
10330 ac_cv_lib_posix_remove=no
10332 rm -f core conftest.err conftest.$ac_objext \
10333 conftest$ac_exeext conftest.$ac_ext
10334 LIBS=$ac_check_lib_save_LIBS
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10337 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10338 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10339 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10344 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10345 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10346 if test "x$ac_cv_func_shmat" = xyes; then :
10350 if test $ac_cv_func_shmat = no; then
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10352 $as_echo_n "checking for shmat in -lipc... " >&6; }
10353 if ${ac_cv_lib_ipc_shmat+:} false; then :
10354 $as_echo_n "(cached) " >&6
10355 else
10356 ac_check_lib_save_LIBS=$LIBS
10357 LIBS="-lipc $LIBS"
10358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10361 /* Override any GCC internal prototype to avoid an error.
10362 Use char because int might match the return type of a GCC
10363 builtin and then its argument prototype would still apply. */
10364 #ifdef __cplusplus
10365 extern "C"
10366 #endif
10367 char shmat ();
10369 main ()
10371 return shmat ();
10373 return 0;
10375 _ACEOF
10376 if ac_fn_c_try_link "$LINENO"; then :
10377 ac_cv_lib_ipc_shmat=yes
10378 else
10379 ac_cv_lib_ipc_shmat=no
10381 rm -f core conftest.err conftest.$ac_objext \
10382 conftest$ac_exeext conftest.$ac_ext
10383 LIBS=$ac_check_lib_save_LIBS
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10386 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10387 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10388 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10394 # Check for libraries that X11R6 Xt/Xaw programs need.
10395 ac_save_LDFLAGS=$LDFLAGS
10396 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10397 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10398 # check for ICE first), but we must link in the order -lSM -lICE or
10399 # we get undefined symbols. So assume we have SM if we have ICE.
10400 # These have to be linked with before -lX11, unlike the other
10401 # libraries we check for below, so use a different variable.
10402 # John Interrante, Karl Berry
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10404 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10405 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10406 $as_echo_n "(cached) " >&6
10407 else
10408 ac_check_lib_save_LIBS=$LIBS
10409 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10411 /* end confdefs.h. */
10413 /* Override any GCC internal prototype to avoid an error.
10414 Use char because int might match the return type of a GCC
10415 builtin and then its argument prototype would still apply. */
10416 #ifdef __cplusplus
10417 extern "C"
10418 #endif
10419 char IceConnectionNumber ();
10421 main ()
10423 return IceConnectionNumber ();
10425 return 0;
10427 _ACEOF
10428 if ac_fn_c_try_link "$LINENO"; then :
10429 ac_cv_lib_ICE_IceConnectionNumber=yes
10430 else
10431 ac_cv_lib_ICE_IceConnectionNumber=no
10433 rm -f core conftest.err conftest.$ac_objext \
10434 conftest$ac_exeext conftest.$ac_ext
10435 LIBS=$ac_check_lib_save_LIBS
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10438 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10439 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10440 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10443 LDFLAGS=$ac_save_LDFLAGS
10448 if test "$have_x" = "yes"
10449 then
10450 ac_save_CPPFLAGS="$CPPFLAGS"
10451 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10454 $as_echo_n "checking for -lX11... " >&6; }
10455 if ${ac_cv_lib_soname_X11+:} false; then :
10456 $as_echo_n "(cached) " >&6
10457 else
10458 ac_check_soname_save_LIBS=$LIBS
10459 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10461 /* end confdefs.h. */
10463 /* Override any GCC internal prototype to avoid an error.
10464 Use char because int might match the return type of a GCC
10465 builtin and then its argument prototype would still apply. */
10466 #ifdef __cplusplus
10467 extern "C"
10468 #endif
10469 char XCreateWindow ();
10471 main ()
10473 return XCreateWindow ();
10475 return 0;
10477 _ACEOF
10478 if ac_fn_c_try_link "$LINENO"; then :
10479 case "$LIBEXT" in
10480 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10481 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'` ;;
10482 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10483 if ${ac_cv_lib_soname_X11:+false} :; then :
10484 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10485 fi ;;
10486 esac
10488 rm -f core conftest.err conftest.$ac_objext \
10489 conftest$ac_exeext conftest.$ac_ext
10490 LIBS=$ac_check_soname_save_LIBS
10492 if ${ac_cv_lib_soname_X11:+false} :; then :
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10494 $as_echo "not found" >&6; }
10496 else
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10498 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10500 cat >>confdefs.h <<_ACEOF
10501 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10502 _ACEOF
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10507 $as_echo_n "checking for -lXext... " >&6; }
10508 if ${ac_cv_lib_soname_Xext+:} false; then :
10509 $as_echo_n "(cached) " >&6
10510 else
10511 ac_check_soname_save_LIBS=$LIBS
10512 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10514 /* end confdefs.h. */
10516 /* Override any GCC internal prototype to avoid an error.
10517 Use char because int might match the return type of a GCC
10518 builtin and then its argument prototype would still apply. */
10519 #ifdef __cplusplus
10520 extern "C"
10521 #endif
10522 char XextCreateExtension ();
10524 main ()
10526 return XextCreateExtension ();
10528 return 0;
10530 _ACEOF
10531 if ac_fn_c_try_link "$LINENO"; then :
10532 case "$LIBEXT" in
10533 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10534 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'` ;;
10535 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10536 if ${ac_cv_lib_soname_Xext:+false} :; then :
10537 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10538 fi ;;
10539 esac
10541 rm -f core conftest.err conftest.$ac_objext \
10542 conftest$ac_exeext conftest.$ac_ext
10543 LIBS=$ac_check_soname_save_LIBS
10545 if ${ac_cv_lib_soname_Xext:+false} :; then :
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10547 $as_echo "not found" >&6; }
10549 else
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10551 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10553 cat >>confdefs.h <<_ACEOF
10554 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10555 _ACEOF
10557 X_LIBS="$X_LIBS -lXext"
10559 X_LIBS="$X_LIBS -lX11"
10561 for ac_header in X11/Xlib.h \
10562 X11/XKBlib.h \
10563 X11/Xutil.h \
10564 X11/Xcursor/Xcursor.h \
10565 X11/extensions/shape.h \
10566 X11/extensions/XInput.h \
10567 X11/extensions/XInput2.h \
10568 X11/extensions/XShm.h \
10569 X11/extensions/Xcomposite.h \
10570 X11/extensions/Xfixes.h \
10571 X11/extensions/Xinerama.h \
10572 X11/extensions/Xrandr.h \
10573 X11/extensions/Xrender.h \
10574 X11/extensions/xf86vmode.h \
10575 X11/extensions/xf86vmproto.h
10576 do :
10577 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10578 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10579 # include <X11/Xlib.h>
10580 #endif
10581 #ifdef HAVE_X11_XUTIL_H
10582 # include <X11/Xutil.h>
10583 #endif
10585 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10586 cat >>confdefs.h <<_ACEOF
10587 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10588 _ACEOF
10592 done
10595 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10596 then
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10598 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10599 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10600 $as_echo_n "(cached) " >&6
10601 else
10602 ac_check_lib_save_LIBS=$LIBS
10603 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10605 /* end confdefs.h. */
10607 /* Override any GCC internal prototype to avoid an error.
10608 Use char because int might match the return type of a GCC
10609 builtin and then its argument prototype would still apply. */
10610 #ifdef __cplusplus
10611 extern "C"
10612 #endif
10613 char XkbQueryExtension ();
10615 main ()
10617 return XkbQueryExtension ();
10619 return 0;
10621 _ACEOF
10622 if ac_fn_c_try_link "$LINENO"; then :
10623 ac_cv_lib_X11_XkbQueryExtension=yes
10624 else
10625 ac_cv_lib_X11_XkbQueryExtension=no
10627 rm -f core conftest.err conftest.$ac_objext \
10628 conftest$ac_exeext conftest.$ac_ext
10629 LIBS=$ac_check_lib_save_LIBS
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10632 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10633 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10635 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10641 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10642 then
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10644 $as_echo_n "checking for -lXcursor... " >&6; }
10645 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10646 $as_echo_n "(cached) " >&6
10647 else
10648 ac_check_soname_save_LIBS=$LIBS
10649 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h. */
10653 /* Override any GCC internal prototype to avoid an error.
10654 Use char because int might match the return type of a GCC
10655 builtin and then its argument prototype would still apply. */
10656 #ifdef __cplusplus
10657 extern "C"
10658 #endif
10659 char XcursorImageLoadCursor ();
10661 main ()
10663 return XcursorImageLoadCursor ();
10665 return 0;
10667 _ACEOF
10668 if ac_fn_c_try_link "$LINENO"; then :
10669 case "$LIBEXT" in
10670 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10671 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'` ;;
10672 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10673 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10674 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10675 fi ;;
10676 esac
10678 rm -f core conftest.err conftest.$ac_objext \
10679 conftest$ac_exeext conftest.$ac_ext
10680 LIBS=$ac_check_soname_save_LIBS
10682 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10684 $as_echo "not found" >&6; }
10686 else
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10688 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10690 cat >>confdefs.h <<_ACEOF
10691 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10692 _ACEOF
10697 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10698 case "x$with_xcursor" in
10699 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10700 xno) ;;
10701 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10702 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10703 esac
10707 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10708 then
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10710 $as_echo_n "checking for -lXi... " >&6; }
10711 if ${ac_cv_lib_soname_Xi+:} false; then :
10712 $as_echo_n "(cached) " >&6
10713 else
10714 ac_check_soname_save_LIBS=$LIBS
10715 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10717 /* end confdefs.h. */
10719 /* Override any GCC internal prototype to avoid an error.
10720 Use char because int might match the return type of a GCC
10721 builtin and then its argument prototype would still apply. */
10722 #ifdef __cplusplus
10723 extern "C"
10724 #endif
10725 char XOpenDevice ();
10727 main ()
10729 return XOpenDevice ();
10731 return 0;
10733 _ACEOF
10734 if ac_fn_c_try_link "$LINENO"; then :
10735 case "$LIBEXT" in
10736 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10737 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'` ;;
10738 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10739 if ${ac_cv_lib_soname_Xi:+false} :; then :
10740 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10741 fi ;;
10742 esac
10744 rm -f core conftest.err conftest.$ac_objext \
10745 conftest$ac_exeext conftest.$ac_ext
10746 LIBS=$ac_check_soname_save_LIBS
10748 if ${ac_cv_lib_soname_Xi:+false} :; then :
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10750 $as_echo "not found" >&6; }
10752 else
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10754 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10756 cat >>confdefs.h <<_ACEOF
10757 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10758 _ACEOF
10763 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10764 case "x$with_xinput" in
10765 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10766 xno) ;;
10767 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10768 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10769 esac
10773 if test "x$ac_cv_lib_soname_Xi" != x
10774 then
10775 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10776 case "x$with_xinput2" in
10777 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10778 xno) ;;
10779 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10780 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10781 esac
10786 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10787 then
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10789 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10790 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10791 $as_echo_n "(cached) " >&6
10792 else
10793 ac_check_lib_save_LIBS=$LIBS
10794 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10796 /* end confdefs.h. */
10798 /* Override any GCC internal prototype to avoid an error.
10799 Use char because int might match the return type of a GCC
10800 builtin and then its argument prototype would still apply. */
10801 #ifdef __cplusplus
10802 extern "C"
10803 #endif
10804 char XShmQueryExtension ();
10806 main ()
10808 return XShmQueryExtension ();
10810 return 0;
10812 _ACEOF
10813 if ac_fn_c_try_link "$LINENO"; then :
10814 ac_cv_lib_Xext_XShmQueryExtension=yes
10815 else
10816 ac_cv_lib_Xext_XShmQueryExtension=no
10818 rm -f core conftest.err conftest.$ac_objext \
10819 conftest$ac_exeext conftest.$ac_ext
10820 LIBS=$ac_check_lib_save_LIBS
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10823 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10824 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10826 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10831 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10832 case "x$with_xshm" in
10833 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10834 xno) ;;
10835 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10836 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10837 esac
10841 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10842 then
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10844 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10845 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10846 $as_echo_n "(cached) " >&6
10847 else
10848 ac_check_lib_save_LIBS=$LIBS
10849 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10851 /* end confdefs.h. */
10853 /* Override any GCC internal prototype to avoid an error.
10854 Use char because int might match the return type of a GCC
10855 builtin and then its argument prototype would still apply. */
10856 #ifdef __cplusplus
10857 extern "C"
10858 #endif
10859 char XShapeQueryExtension ();
10861 main ()
10863 return XShapeQueryExtension ();
10865 return 0;
10867 _ACEOF
10868 if ac_fn_c_try_link "$LINENO"; then :
10869 ac_cv_lib_Xext_XShapeQueryExtension=yes
10870 else
10871 ac_cv_lib_Xext_XShapeQueryExtension=no
10873 rm -f core conftest.err conftest.$ac_objext \
10874 conftest$ac_exeext conftest.$ac_ext
10875 LIBS=$ac_check_lib_save_LIBS
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10878 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10879 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10881 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10886 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10887 case "x$with_xshape" in
10888 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10889 xno) ;;
10890 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10891 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10892 esac
10896 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10897 then
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10899 $as_echo_n "checking for -lXxf86vm... " >&6; }
10900 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10901 $as_echo_n "(cached) " >&6
10902 else
10903 ac_check_soname_save_LIBS=$LIBS
10904 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10906 /* end confdefs.h. */
10908 /* Override any GCC internal prototype to avoid an error.
10909 Use char because int might match the return type of a GCC
10910 builtin and then its argument prototype would still apply. */
10911 #ifdef __cplusplus
10912 extern "C"
10913 #endif
10914 char XF86VidModeQueryExtension ();
10916 main ()
10918 return XF86VidModeQueryExtension ();
10920 return 0;
10922 _ACEOF
10923 if ac_fn_c_try_link "$LINENO"; then :
10924 case "$LIBEXT" in
10925 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10926 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'` ;;
10927 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10928 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10929 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10930 fi ;;
10931 esac
10933 rm -f core conftest.err conftest.$ac_objext \
10934 conftest$ac_exeext conftest.$ac_ext
10935 LIBS=$ac_check_soname_save_LIBS
10937 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10939 $as_echo "not found" >&6; }
10941 else
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10943 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10945 cat >>confdefs.h <<_ACEOF
10946 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10947 _ACEOF
10952 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10953 case "x$with_xxf86vm" in
10954 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10955 xno) ;;
10956 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10957 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10958 esac
10962 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10963 then
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10965 $as_echo_n "checking for -lXrender... " >&6; }
10966 if ${ac_cv_lib_soname_Xrender+:} false; then :
10967 $as_echo_n "(cached) " >&6
10968 else
10969 ac_check_soname_save_LIBS=$LIBS
10970 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10974 /* Override any GCC internal prototype to avoid an error.
10975 Use char because int might match the return type of a GCC
10976 builtin and then its argument prototype would still apply. */
10977 #ifdef __cplusplus
10978 extern "C"
10979 #endif
10980 char XRenderQueryExtension ();
10982 main ()
10984 return XRenderQueryExtension ();
10986 return 0;
10988 _ACEOF
10989 if ac_fn_c_try_link "$LINENO"; then :
10990 case "$LIBEXT" in
10991 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10992 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'` ;;
10993 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10994 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10995 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10996 fi ;;
10997 esac
10999 rm -f core conftest.err conftest.$ac_objext \
11000 conftest$ac_exeext conftest.$ac_ext
11001 LIBS=$ac_check_soname_save_LIBS
11003 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11005 $as_echo "not found" >&6; }
11007 else
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11009 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11011 cat >>confdefs.h <<_ACEOF
11012 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11013 _ACEOF
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11016 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11017 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11018 $as_echo_n "(cached) " >&6
11019 else
11020 ac_check_lib_save_LIBS=$LIBS
11021 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11023 /* end confdefs.h. */
11025 /* Override any GCC internal prototype to avoid an error.
11026 Use char because int might match the return type of a GCC
11027 builtin and then its argument prototype would still apply. */
11028 #ifdef __cplusplus
11029 extern "C"
11030 #endif
11031 char XRenderSetPictureTransform ();
11033 main ()
11035 return XRenderSetPictureTransform ();
11037 return 0;
11039 _ACEOF
11040 if ac_fn_c_try_link "$LINENO"; then :
11041 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11042 else
11043 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11045 rm -f core conftest.err conftest.$ac_objext \
11046 conftest$ac_exeext conftest.$ac_ext
11047 LIBS=$ac_check_lib_save_LIBS
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11050 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11051 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11053 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11058 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11059 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11060 $as_echo_n "(cached) " >&6
11061 else
11062 ac_check_lib_save_LIBS=$LIBS
11063 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11065 /* end confdefs.h. */
11067 /* Override any GCC internal prototype to avoid an error.
11068 Use char because int might match the return type of a GCC
11069 builtin and then its argument prototype would still apply. */
11070 #ifdef __cplusplus
11071 extern "C"
11072 #endif
11073 char XRenderCreateLinearGradient ();
11075 main ()
11077 return XRenderCreateLinearGradient ();
11079 return 0;
11081 _ACEOF
11082 if ac_fn_c_try_link "$LINENO"; then :
11083 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11084 else
11085 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11087 rm -f core conftest.err conftest.$ac_objext \
11088 conftest$ac_exeext conftest.$ac_ext
11089 LIBS=$ac_check_lib_save_LIBS
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11092 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11093 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11095 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11102 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11103 case "x$with_xrender" in
11104 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11105 xno) ;;
11106 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11107 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11108 esac
11112 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11113 then
11114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11115 /* end confdefs.h. */
11116 #include <X11/Xlib.h>
11117 #include <X11/extensions/Xrandr.h>
11119 main ()
11121 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11123 return 0;
11125 _ACEOF
11126 if ac_fn_c_try_compile "$LINENO"; then :
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11128 $as_echo_n "checking for -lXrandr... " >&6; }
11129 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11130 $as_echo_n "(cached) " >&6
11131 else
11132 ac_check_soname_save_LIBS=$LIBS
11133 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11135 /* end confdefs.h. */
11137 /* Override any GCC internal prototype to avoid an error.
11138 Use char because int might match the return type of a GCC
11139 builtin and then its argument prototype would still apply. */
11140 #ifdef __cplusplus
11141 extern "C"
11142 #endif
11143 char XRRQueryExtension ();
11145 main ()
11147 return XRRQueryExtension ();
11149 return 0;
11151 _ACEOF
11152 if ac_fn_c_try_link "$LINENO"; then :
11153 case "$LIBEXT" in
11154 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11155 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'` ;;
11156 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11157 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11158 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11159 fi ;;
11160 esac
11162 rm -f core conftest.err conftest.$ac_objext \
11163 conftest$ac_exeext conftest.$ac_ext
11164 LIBS=$ac_check_soname_save_LIBS
11166 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11168 $as_echo "not found" >&6; }
11170 else
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11172 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11174 cat >>confdefs.h <<_ACEOF
11175 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11176 _ACEOF
11178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11179 /* end confdefs.h. */
11180 #include <X11/Xlib.h>
11181 #include <X11/extensions/Xrandr.h>
11183 main ()
11185 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11187 return 0;
11189 _ACEOF
11190 if ac_fn_c_try_compile "$LINENO"; then :
11192 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11200 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11201 case "x$with_xrandr" in
11202 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11203 xno) ;;
11204 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11205 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11206 esac
11210 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11211 then
11212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11213 /* end confdefs.h. */
11214 #include <X11/Xlib.h>
11215 #include <X11/extensions/Xfixes.h>
11217 main ()
11219 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11221 return 0;
11223 _ACEOF
11224 if ac_fn_c_try_compile "$LINENO"; then :
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11226 $as_echo_n "checking for -lXfixes... " >&6; }
11227 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11228 $as_echo_n "(cached) " >&6
11229 else
11230 ac_check_soname_save_LIBS=$LIBS
11231 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11233 /* end confdefs.h. */
11235 /* Override any GCC internal prototype to avoid an error.
11236 Use char because int might match the return type of a GCC
11237 builtin and then its argument prototype would still apply. */
11238 #ifdef __cplusplus
11239 extern "C"
11240 #endif
11241 char XFixesQueryVersion ();
11243 main ()
11245 return XFixesQueryVersion ();
11247 return 0;
11249 _ACEOF
11250 if ac_fn_c_try_link "$LINENO"; then :
11251 case "$LIBEXT" in
11252 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11253 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'` ;;
11254 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11255 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11256 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11257 fi ;;
11258 esac
11260 rm -f core conftest.err conftest.$ac_objext \
11261 conftest$ac_exeext conftest.$ac_ext
11262 LIBS=$ac_check_soname_save_LIBS
11264 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11266 $as_echo "not found" >&6; }
11268 else
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11270 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11272 cat >>confdefs.h <<_ACEOF
11273 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11274 _ACEOF
11279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11281 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11282 case "x$with_xfixes" in
11283 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11284 xno) ;;
11285 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11286 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11287 esac
11291 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11292 then
11293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11294 /* end confdefs.h. */
11295 #include <X11/Xlib.h>
11296 #include <X11/extensions/Xinerama.h>
11298 main ()
11300 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11302 return 0;
11304 _ACEOF
11305 if ac_fn_c_try_compile "$LINENO"; then :
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11307 $as_echo_n "checking for -lXinerama... " >&6; }
11308 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11309 $as_echo_n "(cached) " >&6
11310 else
11311 ac_check_soname_save_LIBS=$LIBS
11312 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11314 /* end confdefs.h. */
11316 /* Override any GCC internal prototype to avoid an error.
11317 Use char because int might match the return type of a GCC
11318 builtin and then its argument prototype would still apply. */
11319 #ifdef __cplusplus
11320 extern "C"
11321 #endif
11322 char XineramaQueryScreens ();
11324 main ()
11326 return XineramaQueryScreens ();
11328 return 0;
11330 _ACEOF
11331 if ac_fn_c_try_link "$LINENO"; then :
11332 case "$LIBEXT" in
11333 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11334 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'` ;;
11335 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11336 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11337 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11338 fi ;;
11339 esac
11341 rm -f core conftest.err conftest.$ac_objext \
11342 conftest$ac_exeext conftest.$ac_ext
11343 LIBS=$ac_check_soname_save_LIBS
11345 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11347 $as_echo "not found" >&6; }
11349 else
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11351 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11353 cat >>confdefs.h <<_ACEOF
11354 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11355 _ACEOF
11360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11362 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11363 case "x$with_xinerama" in
11364 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11365 xno) ;;
11366 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11367 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11368 esac
11372 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11373 then
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11375 $as_echo_n "checking for -lXcomposite... " >&6; }
11376 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11377 $as_echo_n "(cached) " >&6
11378 else
11379 ac_check_soname_save_LIBS=$LIBS
11380 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11384 /* Override any GCC internal prototype to avoid an error.
11385 Use char because int might match the return type of a GCC
11386 builtin and then its argument prototype would still apply. */
11387 #ifdef __cplusplus
11388 extern "C"
11389 #endif
11390 char XCompositeRedirectWindow ();
11392 main ()
11394 return XCompositeRedirectWindow ();
11396 return 0;
11398 _ACEOF
11399 if ac_fn_c_try_link "$LINENO"; then :
11400 case "$LIBEXT" in
11401 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11402 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'` ;;
11403 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11404 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11405 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11406 fi ;;
11407 esac
11409 rm -f core conftest.err conftest.$ac_objext \
11410 conftest$ac_exeext conftest.$ac_ext
11411 LIBS=$ac_check_soname_save_LIBS
11413 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11415 $as_echo "not found" >&6; }
11417 else
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11419 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11421 cat >>confdefs.h <<_ACEOF
11422 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11423 _ACEOF
11428 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11429 case "x$with_xcomposite" in
11430 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11431 xno) ;;
11432 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11433 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11434 esac
11438 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11439 #include <X11/Xlib.h>
11440 #endif
11442 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11444 cat >>confdefs.h <<_ACEOF
11445 #define HAVE_XICCALLBACK_CALLBACK 1
11446 _ACEOF
11450 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11451 #include <X11/Xlib.h>
11452 #endif
11454 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11456 cat >>confdefs.h <<_ACEOF
11457 #define HAVE_XEVENT_XCOOKIE 1
11458 _ACEOF
11465 opengl_msg=""
11466 if test "x$with_opengl" != "xno"
11467 then
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11469 $as_echo_n "checking for -lGL... " >&6; }
11470 if ${ac_cv_lib_soname_GL+:} false; then :
11471 $as_echo_n "(cached) " >&6
11472 else
11473 ac_check_soname_save_LIBS=$LIBS
11474 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h. */
11478 /* Override any GCC internal prototype to avoid an error.
11479 Use char because int might match the return type of a GCC
11480 builtin and then its argument prototype would still apply. */
11481 #ifdef __cplusplus
11482 extern "C"
11483 #endif
11484 char glXCreateContext ();
11486 main ()
11488 return glXCreateContext ();
11490 return 0;
11492 _ACEOF
11493 if ac_fn_c_try_link "$LINENO"; then :
11494 case "$LIBEXT" in
11495 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11496 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'` ;;
11497 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11498 if ${ac_cv_lib_soname_GL:+false} :; then :
11499 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11500 fi ;;
11501 esac
11503 rm -f core conftest.err conftest.$ac_objext \
11504 conftest$ac_exeext conftest.$ac_ext
11505 LIBS=$ac_check_soname_save_LIBS
11507 if ${ac_cv_lib_soname_GL:+false} :; then :
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11509 $as_echo "not found" >&6; }
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11511 $as_echo_n "checking for -lGL... " >&6; }
11512 if ${ac_cv_lib_soname_GL+:} false; then :
11513 $as_echo_n "(cached) " >&6
11514 else
11515 ac_check_soname_save_LIBS=$LIBS
11516 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"
11517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11518 /* end confdefs.h. */
11520 /* Override any GCC internal prototype to avoid an error.
11521 Use char because int might match the return type of a GCC
11522 builtin and then its argument prototype would still apply. */
11523 #ifdef __cplusplus
11524 extern "C"
11525 #endif
11526 char glXCreateContext ();
11528 main ()
11530 return glXCreateContext ();
11532 return 0;
11534 _ACEOF
11535 if ac_fn_c_try_link "$LINENO"; then :
11536 case "$LIBEXT" in
11537 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11538 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'` ;;
11539 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11540 if ${ac_cv_lib_soname_GL:+false} :; then :
11541 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11542 fi ;;
11543 esac
11545 rm -f core conftest.err conftest.$ac_objext \
11546 conftest$ac_exeext conftest.$ac_ext
11547 LIBS=$ac_check_soname_save_LIBS
11549 if ${ac_cv_lib_soname_GL:+false} :; then :
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11551 $as_echo "not found" >&6; }
11552 if test -f /usr/X11R6/lib/libGL.a
11553 then
11554 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11555 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11556 else
11557 opengl_msg="No OpenGL library found on this system."
11559 else
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11561 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11563 cat >>confdefs.h <<_ACEOF
11564 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11565 _ACEOF
11567 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"
11569 else
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11571 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11573 cat >>confdefs.h <<_ACEOF
11574 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11575 _ACEOF
11577 OPENGL_LIBS="-lGL"
11579 if test "x$with_glu" != "xno"
11580 then
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11582 $as_echo_n "checking for -lGLU... " >&6; }
11583 if ${ac_cv_lib_soname_GLU+:} false; then :
11584 $as_echo_n "(cached) " >&6
11585 else
11586 ac_check_soname_save_LIBS=$LIBS
11587 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11589 /* end confdefs.h. */
11591 /* Override any GCC internal prototype to avoid an error.
11592 Use char because int might match the return type of a GCC
11593 builtin and then its argument prototype would still apply. */
11594 #ifdef __cplusplus
11595 extern "C"
11596 #endif
11597 char gluLookAt ();
11599 main ()
11601 return gluLookAt ();
11603 return 0;
11605 _ACEOF
11606 if ac_fn_c_try_link "$LINENO"; then :
11607 case "$LIBEXT" in
11608 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11609 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'` ;;
11610 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11611 if ${ac_cv_lib_soname_GLU:+false} :; then :
11612 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11613 fi ;;
11614 esac
11616 rm -f core conftest.err conftest.$ac_objext \
11617 conftest$ac_exeext conftest.$ac_ext
11618 LIBS=$ac_check_soname_save_LIBS
11620 if ${ac_cv_lib_soname_GLU:+false} :; then :
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11622 $as_echo "not found" >&6; }
11624 else
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11626 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11628 cat >>confdefs.h <<_ACEOF
11629 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11630 _ACEOF
11634 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11635 case "x$with_glu" in
11636 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11637 xno) ;;
11638 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11639 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11640 esac
11645 if test "x$with_osmesa" != "xno"
11646 then
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11648 $as_echo_n "checking for -lOSMesa... " >&6; }
11649 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11650 $as_echo_n "(cached) " >&6
11651 else
11652 ac_check_soname_save_LIBS=$LIBS
11653 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11655 /* end confdefs.h. */
11657 /* Override any GCC internal prototype to avoid an error.
11658 Use char because int might match the return type of a GCC
11659 builtin and then its argument prototype would still apply. */
11660 #ifdef __cplusplus
11661 extern "C"
11662 #endif
11663 char OSMesaGetProcAddress ();
11665 main ()
11667 return OSMesaGetProcAddress ();
11669 return 0;
11671 _ACEOF
11672 if ac_fn_c_try_link "$LINENO"; then :
11673 case "$LIBEXT" in
11674 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11675 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'` ;;
11676 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11677 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11678 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11679 fi ;;
11680 esac
11682 rm -f core conftest.err conftest.$ac_objext \
11683 conftest$ac_exeext conftest.$ac_ext
11684 LIBS=$ac_check_soname_save_LIBS
11686 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11688 $as_echo "not found" >&6; }
11690 else
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11692 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11694 cat >>confdefs.h <<_ACEOF
11695 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11696 _ACEOF
11700 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11701 case "x$with_osmesa" in
11702 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11703 xno) ;;
11704 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11705 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11706 esac
11711 if test -n "$opengl_msg"; then :
11712 case "x$with_opengl" in
11713 x) as_fn_append wine_warnings "|$opengl_msg
11714 OpenGL and Direct3D won't be supported." ;;
11715 xno) ;;
11716 *) as_fn_error $? "$opengl_msg
11717 OpenGL and Direct3D won't be supported.
11718 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11719 esac
11723 CPPFLAGS="$ac_save_CPPFLAGS"
11724 else
11725 X_CFLAGS=""
11726 X_LIBS=""
11729 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11730 then
11731 if test "x$X_LIBS" = "x"; then :
11732 case "x$with_x" in
11733 xno) ;;
11734 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11735 without X support, which probably isn't what you want. You will need
11736 to install ${notice_platform}development packages of Xlib at the very least.
11737 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11738 esac
11739 enable_winex11_drv=${enable_winex11_drv:-no}
11741 else
11742 if test "x$X_LIBS" = "x"; then :
11743 case "x$with_x" in
11744 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11745 xno) ;;
11746 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11747 This is an error since --with-x was requested." "$LINENO" 5 ;;
11748 esac
11749 enable_winex11_drv=${enable_winex11_drv:-no}
11753 if test "$ac_cv_header_CL_cl_h" = "yes"
11754 then
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11756 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11757 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11758 $as_echo_n "(cached) " >&6
11759 else
11760 ac_check_lib_save_LIBS=$LIBS
11761 LIBS="-lOpenCL $LIBS"
11762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11763 /* end confdefs.h. */
11765 /* Override any GCC internal prototype to avoid an error.
11766 Use char because int might match the return type of a GCC
11767 builtin and then its argument prototype would still apply. */
11768 #ifdef __cplusplus
11769 extern "C"
11770 #endif
11771 char clGetPlatformInfo ();
11773 main ()
11775 return clGetPlatformInfo ();
11777 return 0;
11779 _ACEOF
11780 if ac_fn_c_try_link "$LINENO"; then :
11781 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11782 else
11783 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11785 rm -f core conftest.err conftest.$ac_objext \
11786 conftest$ac_exeext conftest.$ac_ext
11787 LIBS=$ac_check_lib_save_LIBS
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11790 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11791 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11792 OPENCL_LIBS="-lOpenCL"
11797 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11798 case "x$with_opencl" in
11799 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11800 xno) ;;
11801 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11802 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11803 esac
11804 enable_opencl=${enable_opencl:-no}
11807 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11808 then
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11810 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11811 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11812 $as_echo_n "(cached) " >&6
11813 else
11814 ac_check_lib_save_LIBS=$LIBS
11815 LIBS="-lpcap $LIBS"
11816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11817 /* end confdefs.h. */
11819 /* Override any GCC internal prototype to avoid an error.
11820 Use char because int might match the return type of a GCC
11821 builtin and then its argument prototype would still apply. */
11822 #ifdef __cplusplus
11823 extern "C"
11824 #endif
11825 char pcap_create ();
11827 main ()
11829 return pcap_create ();
11831 return 0;
11833 _ACEOF
11834 if ac_fn_c_try_link "$LINENO"; then :
11835 ac_cv_lib_pcap_pcap_create=yes
11836 else
11837 ac_cv_lib_pcap_pcap_create=no
11839 rm -f core conftest.err conftest.$ac_objext \
11840 conftest$ac_exeext conftest.$ac_ext
11841 LIBS=$ac_check_lib_save_LIBS
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11844 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11845 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11846 PCAP_LIBS="-lpcap"
11851 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11852 case "x$with_pcap" in
11853 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11854 xno) ;;
11855 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11856 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11857 esac
11858 enable_wpcap=${enable_wpcap:-no}
11862 if test "x$with_xml" != "xno"
11863 then
11864 if ${XML2_CFLAGS:+false} :; then :
11865 if ${PKG_CONFIG+:} false; then :
11866 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11869 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11870 if ${XML2_LIBS:+false} :; then :
11871 if ${PKG_CONFIG+:} false; then :
11872 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11875 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11876 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11877 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11878 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11879 ac_save_CPPFLAGS=$CPPFLAGS
11880 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11881 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11882 do :
11883 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11884 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11885 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11886 cat >>confdefs.h <<_ACEOF
11887 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11888 _ACEOF
11892 done
11894 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"
11895 then
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11897 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11898 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11899 $as_echo_n "(cached) " >&6
11900 else
11901 ac_check_lib_save_LIBS=$LIBS
11902 LIBS="-lxml2 $XML2_LIBS $LIBS"
11903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11904 /* end confdefs.h. */
11906 /* Override any GCC internal prototype to avoid an error.
11907 Use char because int might match the return type of a GCC
11908 builtin and then its argument prototype would still apply. */
11909 #ifdef __cplusplus
11910 extern "C"
11911 #endif
11912 char xmlParseMemory ();
11914 main ()
11916 return xmlParseMemory ();
11918 return 0;
11920 _ACEOF
11921 if ac_fn_c_try_link "$LINENO"; then :
11922 ac_cv_lib_xml2_xmlParseMemory=yes
11923 else
11924 ac_cv_lib_xml2_xmlParseMemory=no
11926 rm -f core conftest.err conftest.$ac_objext \
11927 conftest$ac_exeext conftest.$ac_ext
11928 LIBS=$ac_check_lib_save_LIBS
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11931 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11932 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11934 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11936 else
11937 XML2_LIBS=""
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11941 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11942 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11943 $as_echo_n "(cached) " >&6
11944 else
11945 ac_check_lib_save_LIBS=$LIBS
11946 LIBS="-lxml2 $XML2_LIBS $LIBS"
11947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11948 /* end confdefs.h. */
11950 /* Override any GCC internal prototype to avoid an error.
11951 Use char because int might match the return type of a GCC
11952 builtin and then its argument prototype would still apply. */
11953 #ifdef __cplusplus
11954 extern "C"
11955 #endif
11956 char xmlReadMemory ();
11958 main ()
11960 return xmlReadMemory ();
11962 return 0;
11964 _ACEOF
11965 if ac_fn_c_try_link "$LINENO"; then :
11966 ac_cv_lib_xml2_xmlReadMemory=yes
11967 else
11968 ac_cv_lib_xml2_xmlReadMemory=no
11970 rm -f core conftest.err conftest.$ac_objext \
11971 conftest$ac_exeext conftest.$ac_ext
11972 LIBS=$ac_check_lib_save_LIBS
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11975 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11976 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11978 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11983 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11984 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11985 $as_echo_n "(cached) " >&6
11986 else
11987 ac_check_lib_save_LIBS=$LIBS
11988 LIBS="-lxml2 $XML2_LIBS $LIBS"
11989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11990 /* end confdefs.h. */
11992 /* Override any GCC internal prototype to avoid an error.
11993 Use char because int might match the return type of a GCC
11994 builtin and then its argument prototype would still apply. */
11995 #ifdef __cplusplus
11996 extern "C"
11997 #endif
11998 char xmlNewDocPI ();
12000 main ()
12002 return xmlNewDocPI ();
12004 return 0;
12006 _ACEOF
12007 if ac_fn_c_try_link "$LINENO"; then :
12008 ac_cv_lib_xml2_xmlNewDocPI=yes
12009 else
12010 ac_cv_lib_xml2_xmlNewDocPI=no
12012 rm -f core conftest.err conftest.$ac_objext \
12013 conftest$ac_exeext conftest.$ac_ext
12014 LIBS=$ac_check_lib_save_LIBS
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12017 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12018 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12020 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12025 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12026 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12027 $as_echo_n "(cached) " >&6
12028 else
12029 ac_check_lib_save_LIBS=$LIBS
12030 LIBS="-lxml2 $XML2_LIBS $LIBS"
12031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12034 /* Override any GCC internal prototype to avoid an error.
12035 Use char because int might match the return type of a GCC
12036 builtin and then its argument prototype would still apply. */
12037 #ifdef __cplusplus
12038 extern "C"
12039 #endif
12040 char xmlSchemaSetParserStructuredErrors ();
12042 main ()
12044 return xmlSchemaSetParserStructuredErrors ();
12046 return 0;
12048 _ACEOF
12049 if ac_fn_c_try_link "$LINENO"; then :
12050 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12051 else
12052 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12054 rm -f core conftest.err conftest.$ac_objext \
12055 conftest$ac_exeext conftest.$ac_ext
12056 LIBS=$ac_check_lib_save_LIBS
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12059 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12060 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12062 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12067 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12068 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12069 $as_echo_n "(cached) " >&6
12070 else
12071 ac_check_lib_save_LIBS=$LIBS
12072 LIBS="-lxml2 $XML2_LIBS $LIBS"
12073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12076 /* Override any GCC internal prototype to avoid an error.
12077 Use char because int might match the return type of a GCC
12078 builtin and then its argument prototype would still apply. */
12079 #ifdef __cplusplus
12080 extern "C"
12081 #endif
12082 char xmlSchemaSetValidStructuredErrors ();
12084 main ()
12086 return xmlSchemaSetValidStructuredErrors ();
12088 return 0;
12090 _ACEOF
12091 if ac_fn_c_try_link "$LINENO"; then :
12092 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12093 else
12094 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12096 rm -f core conftest.err conftest.$ac_objext \
12097 conftest$ac_exeext conftest.$ac_ext
12098 LIBS=$ac_check_lib_save_LIBS
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12101 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12102 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12104 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12109 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12110 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12111 $as_echo_n "(cached) " >&6
12112 else
12113 ac_check_lib_save_LIBS=$LIBS
12114 LIBS="-lxml2 $XML2_LIBS $LIBS"
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12121 #ifdef __cplusplus
12122 extern "C"
12123 #endif
12124 char xmlFirstElementChild ();
12126 main ()
12128 return xmlFirstElementChild ();
12130 return 0;
12132 _ACEOF
12133 if ac_fn_c_try_link "$LINENO"; then :
12134 ac_cv_lib_xml2_xmlFirstElementChild=yes
12135 else
12136 ac_cv_lib_xml2_xmlFirstElementChild=no
12138 rm -f core conftest.err conftest.$ac_objext \
12139 conftest$ac_exeext conftest.$ac_ext
12140 LIBS=$ac_check_lib_save_LIBS
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12143 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12144 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12146 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12150 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12152 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12154 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12158 else
12159 XML2_CFLAGS=""
12160 XML2_LIBS=""
12162 CPPFLAGS=$ac_save_CPPFLAGS
12163 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12164 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12167 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12168 case "x$with_xml" in
12169 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12170 xno) ;;
12171 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12172 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12173 esac
12177 if test "x$with_xslt" != "xno"
12178 then
12179 if ${XSLT_CFLAGS:+false} :; then :
12180 if ${PKG_CONFIG+:} false; then :
12181 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12184 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12185 if ${XSLT_LIBS:+false} :; then :
12186 if ${PKG_CONFIG+:} false; then :
12187 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12190 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12191 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12192 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12193 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12194 ac_save_CPPFLAGS=$CPPFLAGS
12195 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12196 for ac_header in libxslt/pattern.h libxslt/transform.h
12197 do :
12198 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12199 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12200 # include <libxslt/pattern.h>
12201 #endif
12203 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12204 cat >>confdefs.h <<_ACEOF
12205 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12206 _ACEOF
12210 done
12212 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12213 then
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12215 $as_echo_n "checking for -lxslt... " >&6; }
12216 if ${ac_cv_lib_soname_xslt+:} false; then :
12217 $as_echo_n "(cached) " >&6
12218 else
12219 ac_check_soname_save_LIBS=$LIBS
12220 LIBS="-lxslt $XSLT_LIBS $LIBS"
12221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12222 /* end confdefs.h. */
12224 /* Override any GCC internal prototype to avoid an error.
12225 Use char because int might match the return type of a GCC
12226 builtin and then its argument prototype would still apply. */
12227 #ifdef __cplusplus
12228 extern "C"
12229 #endif
12230 char xsltCompilePattern ();
12232 main ()
12234 return xsltCompilePattern ();
12236 return 0;
12238 _ACEOF
12239 if ac_fn_c_try_link "$LINENO"; then :
12240 case "$LIBEXT" in
12241 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12242 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'` ;;
12243 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12244 if ${ac_cv_lib_soname_xslt:+false} :; then :
12245 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12246 fi ;;
12247 esac
12249 rm -f core conftest.err conftest.$ac_objext \
12250 conftest$ac_exeext conftest.$ac_ext
12251 LIBS=$ac_check_soname_save_LIBS
12253 if ${ac_cv_lib_soname_xslt:+false} :; then :
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12255 $as_echo "not found" >&6; }
12257 else
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12259 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12261 cat >>confdefs.h <<_ACEOF
12262 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12263 _ACEOF
12267 else
12268 XSLT_CFLAGS=""
12270 CPPFLAGS=$ac_save_CPPFLAGS
12271 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12272 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12275 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12276 case "x$with_xslt" in
12277 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12278 xno) ;;
12279 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12280 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12281 esac
12285 if test "x$with_dbus" != "xno"
12286 then
12287 if ${DBUS_CFLAGS:+false} :; then :
12288 if ${PKG_CONFIG+:} false; then :
12289 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12293 if ${DBUS_LIBS:+false} :; then :
12294 if ${PKG_CONFIG+:} false; then :
12295 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12300 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12301 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12302 ac_save_CPPFLAGS=$CPPFLAGS
12303 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12304 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12305 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12307 $as_echo_n "checking for -ldbus-1... " >&6; }
12308 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12309 $as_echo_n "(cached) " >&6
12310 else
12311 ac_check_soname_save_LIBS=$LIBS
12312 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12314 /* end confdefs.h. */
12316 /* Override any GCC internal prototype to avoid an error.
12317 Use char because int might match the return type of a GCC
12318 builtin and then its argument prototype would still apply. */
12319 #ifdef __cplusplus
12320 extern "C"
12321 #endif
12322 char dbus_connection_close ();
12324 main ()
12326 return dbus_connection_close ();
12328 return 0;
12330 _ACEOF
12331 if ac_fn_c_try_link "$LINENO"; then :
12332 case "$LIBEXT" in
12333 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12334 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'` ;;
12335 *) 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'`
12336 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12337 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12338 fi ;;
12339 esac
12341 rm -f core conftest.err conftest.$ac_objext \
12342 conftest$ac_exeext conftest.$ac_ext
12343 LIBS=$ac_check_soname_save_LIBS
12345 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12347 $as_echo "not found" >&6; }
12348 DBUS_CFLAGS=""
12349 else
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12351 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12353 cat >>confdefs.h <<_ACEOF
12354 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12355 _ACEOF
12359 else
12360 DBUS_CFLAGS=""
12364 CPPFLAGS=$ac_save_CPPFLAGS
12365 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12366 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12369 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12370 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12371 case "x$with_dbus" in
12372 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12373 xno) ;;
12374 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12375 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12376 esac
12380 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12381 then
12382 if ${HAL_CFLAGS:+false} :; then :
12383 if ${PKG_CONFIG+:} false; then :
12384 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12388 if ${HAL_LIBS:+false} :; then :
12389 if ${PKG_CONFIG+:} false; then :
12390 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12394 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12395 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12396 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12397 ac_save_CPPFLAGS=$CPPFLAGS
12398 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12399 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12400 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12402 $as_echo_n "checking for -lhal... " >&6; }
12403 if ${ac_cv_lib_soname_hal+:} false; then :
12404 $as_echo_n "(cached) " >&6
12405 else
12406 ac_check_soname_save_LIBS=$LIBS
12407 LIBS="-lhal $HAL_LIBS $LIBS"
12408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12409 /* end confdefs.h. */
12411 /* Override any GCC internal prototype to avoid an error.
12412 Use char because int might match the return type of a GCC
12413 builtin and then its argument prototype would still apply. */
12414 #ifdef __cplusplus
12415 extern "C"
12416 #endif
12417 char libhal_ctx_new ();
12419 main ()
12421 return libhal_ctx_new ();
12423 return 0;
12425 _ACEOF
12426 if ac_fn_c_try_link "$LINENO"; then :
12427 case "$LIBEXT" in
12428 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12429 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'` ;;
12430 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12431 if ${ac_cv_lib_soname_hal:+false} :; then :
12432 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12433 fi ;;
12434 esac
12436 rm -f core conftest.err conftest.$ac_objext \
12437 conftest$ac_exeext conftest.$ac_ext
12438 LIBS=$ac_check_soname_save_LIBS
12440 if ${ac_cv_lib_soname_hal:+false} :; then :
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12442 $as_echo "not found" >&6; }
12443 HAL_CFLAGS=""
12444 else
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12446 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12448 cat >>confdefs.h <<_ACEOF
12449 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12450 _ACEOF
12454 else
12455 HAL_CFLAGS=""
12459 CPPFLAGS=$ac_save_CPPFLAGS
12460 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12461 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12463 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12464 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12465 case "x$with_hal" in
12466 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12467 xno) ;;
12468 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12469 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12470 esac
12475 if test "x$with_gnutls" != "xno"
12476 then
12477 if ${GNUTLS_CFLAGS:+false} :; then :
12478 if ${PKG_CONFIG+:} false; then :
12479 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12483 if ${GNUTLS_LIBS:+false} :; then :
12484 if ${PKG_CONFIG+:} false; then :
12485 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12490 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12491 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12492 ac_save_CPPFLAGS=$CPPFLAGS
12493 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12494 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12495 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12497 /* end confdefs.h. */
12498 #include <gnutls/gnutls.h>
12499 #include <gnutls/crypto.h>
12501 main ()
12503 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12505 return 0;
12507 _ACEOF
12508 if ac_fn_c_try_compile "$LINENO"; then :
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12510 $as_echo_n "checking for -lgnutls... " >&6; }
12511 if ${ac_cv_lib_soname_gnutls+:} false; then :
12512 $as_echo_n "(cached) " >&6
12513 else
12514 ac_check_soname_save_LIBS=$LIBS
12515 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12517 /* end confdefs.h. */
12519 /* Override any GCC internal prototype to avoid an error.
12520 Use char because int might match the return type of a GCC
12521 builtin and then its argument prototype would still apply. */
12522 #ifdef __cplusplus
12523 extern "C"
12524 #endif
12525 char gnutls_global_init ();
12527 main ()
12529 return gnutls_global_init ();
12531 return 0;
12533 _ACEOF
12534 if ac_fn_c_try_link "$LINENO"; then :
12535 case "$LIBEXT" in
12536 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12537 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'` ;;
12538 *) 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'`
12539 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12540 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'`
12541 fi ;;
12542 esac
12544 rm -f core conftest.err conftest.$ac_objext \
12545 conftest$ac_exeext conftest.$ac_ext
12546 LIBS=$ac_check_soname_save_LIBS
12548 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12550 $as_echo "not found" >&6; }
12551 GNUTLS_CFLAGS=""
12552 else
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12554 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12556 cat >>confdefs.h <<_ACEOF
12557 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12558 _ACEOF
12562 ac_wine_check_funcs_save_LIBS="$LIBS"
12563 LIBS="$LIBS $GNUTLS_LIBS"
12564 for ac_func in gnutls_cipher_init
12565 do :
12566 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12567 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12568 cat >>confdefs.h <<_ACEOF
12569 #define HAVE_GNUTLS_CIPHER_INIT 1
12570 _ACEOF
12572 else
12573 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12575 done
12577 LIBS="$ac_wine_check_funcs_save_LIBS"
12579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12580 else
12581 GNUTLS_CFLAGS=""
12585 CPPFLAGS=$ac_save_CPPFLAGS
12586 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12587 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12590 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12591 case "x$with_gnutls" in
12592 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12593 xno) ;;
12594 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12595 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12596 esac
12600 CURSES_LIBS=""
12601 if test "$ac_cv_header_ncurses_h" = "yes"
12602 then
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12604 $as_echo_n "checking for -lncurses... " >&6; }
12605 if ${ac_cv_lib_soname_ncurses+:} false; then :
12606 $as_echo_n "(cached) " >&6
12607 else
12608 ac_check_soname_save_LIBS=$LIBS
12609 LIBS="-lncurses $LIBS"
12610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12613 /* Override any GCC internal prototype to avoid an error.
12614 Use char because int might match the return type of a GCC
12615 builtin and then its argument prototype would still apply. */
12616 #ifdef __cplusplus
12617 extern "C"
12618 #endif
12619 char waddch ();
12621 main ()
12623 return waddch ();
12625 return 0;
12627 _ACEOF
12628 if ac_fn_c_try_link "$LINENO"; then :
12629 case "$LIBEXT" in
12630 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12631 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'` ;;
12632 *) 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'`
12633 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12634 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12635 fi ;;
12636 esac
12638 rm -f core conftest.err conftest.$ac_objext \
12639 conftest$ac_exeext conftest.$ac_ext
12640 LIBS=$ac_check_soname_save_LIBS
12642 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12644 $as_echo "not found" >&6; }
12646 else
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12648 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12650 cat >>confdefs.h <<_ACEOF
12651 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12652 _ACEOF
12654 CURSES_LIBS="-lncurses"
12656 elif test "$ac_cv_header_curses_h" = "yes"
12657 then
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12659 $as_echo_n "checking for -lcurses... " >&6; }
12660 if ${ac_cv_lib_soname_curses+:} false; then :
12661 $as_echo_n "(cached) " >&6
12662 else
12663 ac_check_soname_save_LIBS=$LIBS
12664 LIBS="-lcurses $LIBS"
12665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12666 /* end confdefs.h. */
12668 /* Override any GCC internal prototype to avoid an error.
12669 Use char because int might match the return type of a GCC
12670 builtin and then its argument prototype would still apply. */
12671 #ifdef __cplusplus
12672 extern "C"
12673 #endif
12674 char waddch ();
12676 main ()
12678 return waddch ();
12680 return 0;
12682 _ACEOF
12683 if ac_fn_c_try_link "$LINENO"; then :
12684 case "$LIBEXT" in
12685 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12686 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'` ;;
12687 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12688 if ${ac_cv_lib_soname_curses:+false} :; then :
12689 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12690 fi ;;
12691 esac
12693 rm -f core conftest.err conftest.$ac_objext \
12694 conftest$ac_exeext conftest.$ac_ext
12695 LIBS=$ac_check_soname_save_LIBS
12697 if ${ac_cv_lib_soname_curses:+false} :; then :
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12699 $as_echo "not found" >&6; }
12701 else
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12703 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12705 cat >>confdefs.h <<_ACEOF
12706 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12707 _ACEOF
12709 CURSES_LIBS="-lcurses"
12712 ac_save_LIBS="$LIBS"
12713 LIBS="$LIBS $CURSES_LIBS"
12714 for ac_func in mousemask
12715 do :
12716 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12717 if test "x$ac_cv_func_mousemask" = xyes; then :
12718 cat >>confdefs.h <<_ACEOF
12719 #define HAVE_MOUSEMASK 1
12720 _ACEOF
12723 done
12725 LIBS="$ac_save_LIBS"
12726 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12727 case "x$with_curses" in
12728 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12729 xno) ;;
12730 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12731 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12732 esac
12736 if test "x$with_sane" != "xno"
12737 then
12738 if ${SANE_CFLAGS:+false} :; then :
12739 if ${PKG_CONFIG+:} false; then :
12740 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12743 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12744 if ${SANE_LIBS:+false} :; then :
12745 if ${PKG_CONFIG+:} false; then :
12746 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12749 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12751 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12752 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12753 ac_save_CPPFLAGS=$CPPFLAGS
12754 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12755 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12756 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12758 $as_echo_n "checking for -lsane... " >&6; }
12759 if ${ac_cv_lib_soname_sane+:} false; then :
12760 $as_echo_n "(cached) " >&6
12761 else
12762 ac_check_soname_save_LIBS=$LIBS
12763 LIBS="-lsane $SANE_LIBS $LIBS"
12764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12765 /* end confdefs.h. */
12767 /* Override any GCC internal prototype to avoid an error.
12768 Use char because int might match the return type of a GCC
12769 builtin and then its argument prototype would still apply. */
12770 #ifdef __cplusplus
12771 extern "C"
12772 #endif
12773 char sane_init ();
12775 main ()
12777 return sane_init ();
12779 return 0;
12781 _ACEOF
12782 if ac_fn_c_try_link "$LINENO"; then :
12783 case "$LIBEXT" in
12784 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12785 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'` ;;
12786 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12787 if ${ac_cv_lib_soname_sane:+false} :; then :
12788 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12789 fi ;;
12790 esac
12792 rm -f core conftest.err conftest.$ac_objext \
12793 conftest$ac_exeext conftest.$ac_ext
12794 LIBS=$ac_check_soname_save_LIBS
12796 if ${ac_cv_lib_soname_sane:+false} :; then :
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12798 $as_echo "not found" >&6; }
12799 SANE_CFLAGS=""
12800 else
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12802 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12804 cat >>confdefs.h <<_ACEOF
12805 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12806 _ACEOF
12810 else
12811 SANE_CFLAGS=""
12815 CPPFLAGS=$ac_save_CPPFLAGS
12816 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12817 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12820 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12821 case "x$with_sane" in
12822 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12823 xno) ;;
12824 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12825 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12826 esac
12830 if test "x$with_v4l" != "xno"
12831 then
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12833 $as_echo_n "checking for -lv4l1... " >&6; }
12834 if ${ac_cv_lib_soname_v4l1+:} false; then :
12835 $as_echo_n "(cached) " >&6
12836 else
12837 ac_check_soname_save_LIBS=$LIBS
12838 LIBS="-lv4l1 $LIBS"
12839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12840 /* end confdefs.h. */
12842 /* Override any GCC internal prototype to avoid an error.
12843 Use char because int might match the return type of a GCC
12844 builtin and then its argument prototype would still apply. */
12845 #ifdef __cplusplus
12846 extern "C"
12847 #endif
12848 char v4l1_open ();
12850 main ()
12852 return v4l1_open ();
12854 return 0;
12856 _ACEOF
12857 if ac_fn_c_try_link "$LINENO"; then :
12858 case "$LIBEXT" in
12859 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12860 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'` ;;
12861 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12862 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12863 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12864 fi ;;
12865 esac
12867 rm -f core conftest.err conftest.$ac_objext \
12868 conftest$ac_exeext conftest.$ac_ext
12869 LIBS=$ac_check_soname_save_LIBS
12871 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12873 $as_echo "not found" >&6; }
12875 else
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12877 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12879 cat >>confdefs.h <<_ACEOF
12880 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12881 _ACEOF
12886 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12887 case "x$with_v4l" in
12888 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12889 xno) ;;
12890 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12891 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12892 esac
12896 if test "x$with_gphoto" != "xno"
12897 then
12898 if ${GPHOTO2_CFLAGS:+false} :; then :
12899 if ${PKG_CONFIG+:} false; then :
12900 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12903 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12904 if ${GPHOTO2_LIBS:+false} :; then :
12905 if ${PKG_CONFIG+:} false; then :
12906 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12909 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12910 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12911 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12912 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12913 ac_save_CPPFLAGS=$CPPFLAGS
12914 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12915 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12916 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12918 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12919 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12920 $as_echo_n "(cached) " >&6
12921 else
12922 ac_check_lib_save_LIBS=$LIBS
12923 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12925 /* end confdefs.h. */
12927 /* Override any GCC internal prototype to avoid an error.
12928 Use char because int might match the return type of a GCC
12929 builtin and then its argument prototype would still apply. */
12930 #ifdef __cplusplus
12931 extern "C"
12932 #endif
12933 char gp_camera_new ();
12935 main ()
12937 return gp_camera_new ();
12939 return 0;
12941 _ACEOF
12942 if ac_fn_c_try_link "$LINENO"; then :
12943 ac_cv_lib_gphoto2_gp_camera_new=yes
12944 else
12945 ac_cv_lib_gphoto2_gp_camera_new=no
12947 rm -f core conftest.err conftest.$ac_objext \
12948 conftest$ac_exeext conftest.$ac_ext
12949 LIBS=$ac_check_lib_save_LIBS
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12952 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12953 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12955 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12957 else
12958 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12961 else
12962 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12966 CPPFLAGS=$ac_save_CPPFLAGS
12967 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12968 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12970 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12971 if ${PKG_CONFIG+:} false; then :
12972 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12975 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12976 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12977 if ${PKG_CONFIG+:} false; then :
12978 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12981 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12982 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12983 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12984 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12985 ac_save_CPPFLAGS=$CPPFLAGS
12986 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12987 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12988 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12990 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12991 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12992 $as_echo_n "(cached) " >&6
12993 else
12994 ac_check_lib_save_LIBS=$LIBS
12995 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12997 /* end confdefs.h. */
12999 /* Override any GCC internal prototype to avoid an error.
13000 Use char because int might match the return type of a GCC
13001 builtin and then its argument prototype would still apply. */
13002 #ifdef __cplusplus
13003 extern "C"
13004 #endif
13005 char gp_port_info_list_new ();
13007 main ()
13009 return gp_port_info_list_new ();
13011 return 0;
13013 _ACEOF
13014 if ac_fn_c_try_link "$LINENO"; then :
13015 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13016 else
13017 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13019 rm -f core conftest.err conftest.$ac_objext \
13020 conftest$ac_exeext conftest.$ac_ext
13021 LIBS=$ac_check_lib_save_LIBS
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13024 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13025 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13027 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13029 else
13030 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13033 else
13034 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13038 CPPFLAGS=$ac_save_CPPFLAGS
13039 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13040 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13043 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13044 case "x$with_gphoto" in
13045 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13046 xno) ;;
13047 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13048 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13049 esac
13052 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13053 case "x$with_gphoto" in
13054 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13055 xno) ;;
13056 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13057 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13058 esac
13063 if test "$ac_cv_header_resolv_h" = "yes"
13064 then
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13066 $as_echo_n "checking for resolver library... " >&6; }
13067 if ${ac_cv_have_resolv+:} false; then :
13068 $as_echo_n "(cached) " >&6
13069 else
13070 ac_save_LIBS="$LIBS"
13071 for lib in '' -lresolv
13073 LIBS="$lib $ac_save_LIBS"
13074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13075 /* end confdefs.h. */
13076 #ifdef HAVE_NETINET_IN_H
13077 #include <netinet/in.h>
13078 #endif
13079 #include <resolv.h>
13081 main ()
13083 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13085 return 0;
13087 _ACEOF
13088 if ac_fn_c_try_link "$LINENO"; then :
13089 ac_cv_have_resolv=${lib:-"none required"}
13090 else
13091 ac_cv_have_resolv="not found"
13093 rm -f core conftest.err conftest.$ac_objext \
13094 conftest$ac_exeext conftest.$ac_ext
13095 test "x$ac_cv_have_resolv" = "xnot found" || break
13096 done
13097 LIBS="$ac_save_LIBS"
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13100 $as_echo "$ac_cv_have_resolv" >&6; }
13102 case "$ac_cv_have_resolv" in
13103 "not found") ;;
13104 "none required")
13106 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13109 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13111 RESOLV_LIBS=$ac_cv_have_resolv
13113 esac
13116 if test "x$with_cms" != "xno"
13117 then
13118 if ${LCMS2_CFLAGS:+false} :; then :
13119 if ${PKG_CONFIG+:} false; then :
13120 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
13124 if ${LCMS2_LIBS:+false} :; then :
13125 if ${PKG_CONFIG+:} false; then :
13126 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
13130 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
13131 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
13132 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
13133 ac_save_CPPFLAGS=$CPPFLAGS
13134 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
13135 for ac_header in lcms2.h
13136 do :
13137 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
13138 if test "x$ac_cv_header_lcms2_h" = xyes; then :
13139 cat >>confdefs.h <<_ACEOF
13140 #define HAVE_LCMS2_H 1
13141 _ACEOF
13145 done
13147 if test "$ac_cv_header_lcms2_h" = "yes"
13148 then
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13150 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13151 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13152 $as_echo_n "(cached) " >&6
13153 else
13154 ac_check_lib_save_LIBS=$LIBS
13155 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13157 /* end confdefs.h. */
13159 /* Override any GCC internal prototype to avoid an error.
13160 Use char because int might match the return type of a GCC
13161 builtin and then its argument prototype would still apply. */
13162 #ifdef __cplusplus
13163 extern "C"
13164 #endif
13165 char cmsOpenProfileFromFile ();
13167 main ()
13169 return cmsOpenProfileFromFile ();
13171 return 0;
13173 _ACEOF
13174 if ac_fn_c_try_link "$LINENO"; then :
13175 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13176 else
13177 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13179 rm -f core conftest.err conftest.$ac_objext \
13180 conftest$ac_exeext conftest.$ac_ext
13181 LIBS=$ac_check_lib_save_LIBS
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13184 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13185 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13187 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13189 else
13190 LCMS2_LIBS=""
13193 else
13194 LCMS2_CFLAGS=""
13195 LCMS2_LIBS=""
13197 CPPFLAGS=$ac_save_CPPFLAGS
13198 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13199 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13202 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13203 case "x$with_cms" in
13204 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13205 xno) ;;
13206 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13207 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13208 esac
13212 if test "x$with_freetype" != "xno"
13213 then
13214 if ${FREETYPE_CFLAGS:+false} :; then :
13215 if ${PKG_CONFIG+:} false; then :
13216 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13219 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13220 if ${FREETYPE_LIBS:+false} :; then :
13221 if ${PKG_CONFIG+:} false; then :
13222 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13225 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13226 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13227 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13228 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13229 ac_save_CPPFLAGS=$CPPFLAGS
13230 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13231 for ac_header in ft2build.h
13232 do :
13233 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13234 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13235 cat >>confdefs.h <<_ACEOF
13236 #define HAVE_FT2BUILD_H 1
13237 _ACEOF
13241 done
13243 if test "$ac_cv_header_ft2build_h" = "yes"
13244 then
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13246 $as_echo_n "checking for -lfreetype... " >&6; }
13247 if ${ac_cv_lib_soname_freetype+:} false; then :
13248 $as_echo_n "(cached) " >&6
13249 else
13250 ac_check_soname_save_LIBS=$LIBS
13251 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13253 /* end confdefs.h. */
13255 /* Override any GCC internal prototype to avoid an error.
13256 Use char because int might match the return type of a GCC
13257 builtin and then its argument prototype would still apply. */
13258 #ifdef __cplusplus
13259 extern "C"
13260 #endif
13261 char FT_Init_FreeType ();
13263 main ()
13265 return FT_Init_FreeType ();
13267 return 0;
13269 _ACEOF
13270 if ac_fn_c_try_link "$LINENO"; then :
13271 case "$LIBEXT" in
13272 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13273 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'` ;;
13274 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13275 if ${ac_cv_lib_soname_freetype:+false} :; then :
13276 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13277 fi ;;
13278 esac
13280 rm -f core conftest.err conftest.$ac_objext \
13281 conftest$ac_exeext conftest.$ac_ext
13282 LIBS=$ac_check_soname_save_LIBS
13284 if ${ac_cv_lib_soname_freetype:+false} :; then :
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13286 $as_echo "not found" >&6; }
13287 FREETYPE_LIBS=""
13288 else
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13290 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13292 cat >>confdefs.h <<_ACEOF
13293 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13294 _ACEOF
13297 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13299 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13300 #include FT_MODULE_H
13302 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13304 cat >>confdefs.h <<_ACEOF
13305 #define HAVE_FT_TRUETYPEENGINETYPE 1
13306 _ACEOF
13312 else
13313 FREETYPE_CFLAGS=""
13314 FREETYPE_LIBS=""
13316 CPPFLAGS=$ac_save_CPPFLAGS
13317 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13318 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13321 if test "x$ac_cv_lib_soname_freetype" = x; then :
13322 case "x$with_freetype" in
13323 xno) ;;
13324 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13325 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13326 esac
13327 enable_fonts=${enable_fonts:-no}
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13331 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13332 if ${ac_cv_c_ppdev+:} false; then :
13333 $as_echo_n "(cached) " >&6
13334 else
13335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13336 /* end confdefs.h. */
13337 #ifdef HAVE_SYS_IOCTL_H
13338 # include <sys/ioctl.h>
13339 #endif
13340 #include <linux/ppdev.h>
13342 main ()
13344 ioctl (1,PPCLAIM,0)
13346 return 0;
13348 _ACEOF
13349 if ac_fn_c_try_compile "$LINENO"; then :
13350 ac_cv_c_ppdev="yes"
13351 else
13352 ac_cv_c_ppdev="no"
13354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13357 $as_echo "$ac_cv_c_ppdev" >&6; }
13358 if test "$ac_cv_c_ppdev" = "yes"
13359 then
13361 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13365 ac_wine_check_funcs_save_LIBS="$LIBS"
13366 LIBS="$LIBS $PTHREAD_LIBS"
13367 for ac_func in \
13368 pthread_attr_get_np \
13369 pthread_getattr_np \
13370 pthread_getthreadid_np \
13371 pthread_get_stackaddr_np \
13372 pthread_get_stacksize_np
13373 do :
13374 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13375 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13376 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13377 cat >>confdefs.h <<_ACEOF
13378 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13379 _ACEOF
13382 done
13384 LIBS="$ac_wine_check_funcs_save_LIBS"
13386 if test "$ac_cv_header_zlib_h" = "yes"
13387 then
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13389 $as_echo_n "checking for inflate in -lz... " >&6; }
13390 if ${ac_cv_lib_z_inflate+:} false; then :
13391 $as_echo_n "(cached) " >&6
13392 else
13393 ac_check_lib_save_LIBS=$LIBS
13394 LIBS="-lz $LIBS"
13395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13396 /* end confdefs.h. */
13398 /* Override any GCC internal prototype to avoid an error.
13399 Use char because int might match the return type of a GCC
13400 builtin and then its argument prototype would still apply. */
13401 #ifdef __cplusplus
13402 extern "C"
13403 #endif
13404 char inflate ();
13406 main ()
13408 return inflate ();
13410 return 0;
13412 _ACEOF
13413 if ac_fn_c_try_link "$LINENO"; then :
13414 ac_cv_lib_z_inflate=yes
13415 else
13416 ac_cv_lib_z_inflate=no
13418 rm -f core conftest.err conftest.$ac_objext \
13419 conftest$ac_exeext conftest.$ac_ext
13420 LIBS=$ac_check_lib_save_LIBS
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13423 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13424 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13426 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13428 Z_LIBS="-lz"
13433 if test "x$Z_LIBS" = "x"; then :
13434 case "x$with_zlib" in
13435 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13436 xno) ;;
13437 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13438 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13439 esac
13443 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13444 then
13445 if test "$ac_cv_header_gettext_po_h" = "yes"
13446 then
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13448 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13449 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13450 $as_echo_n "(cached) " >&6
13451 else
13452 ac_check_lib_save_LIBS=$LIBS
13453 LIBS="-lgettextpo $LIBS"
13454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13455 /* end confdefs.h. */
13457 /* Override any GCC internal prototype to avoid an error.
13458 Use char because int might match the return type of a GCC
13459 builtin and then its argument prototype would still apply. */
13460 #ifdef __cplusplus
13461 extern "C"
13462 #endif
13463 char po_message_msgctxt ();
13465 main ()
13467 return po_message_msgctxt ();
13469 return 0;
13471 _ACEOF
13472 if ac_fn_c_try_link "$LINENO"; then :
13473 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13474 else
13475 ac_cv_lib_gettextpo_po_message_msgctxt=no
13477 rm -f core conftest.err conftest.$ac_objext \
13478 conftest$ac_exeext conftest.$ac_ext
13479 LIBS=$ac_check_lib_save_LIBS
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13482 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13483 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13485 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13487 GETTEXTPO_LIBS="-lgettextpo"
13492 if test "x$GETTEXTPO_LIBS" = "x"; then :
13493 case "x$with_gettextpo" in
13494 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13495 xno) ;;
13496 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13497 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13498 esac
13501 if test "$srcdir" != .; then :
13502 case "x$with_gettextpo" in
13503 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13504 xno) ;;
13505 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13506 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13507 esac
13512 if test "x$with_pulse" != "xno";
13513 then
13514 if ${PULSE_CFLAGS:+false} :; then :
13515 if ${PKG_CONFIG+:} false; then :
13516 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13520 if ${PULSE_LIBS:+false} :; then :
13521 if ${PKG_CONFIG+:} false; then :
13522 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13527 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13528 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13529 ac_save_CPPFLAGS=$CPPFLAGS
13530 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13531 for ac_header in pulse/pulseaudio.h
13532 do :
13533 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13534 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13535 cat >>confdefs.h <<_ACEOF
13536 #define HAVE_PULSE_PULSEAUDIO_H 1
13537 _ACEOF
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13539 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13540 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13541 $as_echo_n "(cached) " >&6
13542 else
13543 ac_check_lib_save_LIBS=$LIBS
13544 LIBS="-lpulse $PULSE_LIBS $LIBS"
13545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546 /* end confdefs.h. */
13548 /* Override any GCC internal prototype to avoid an error.
13549 Use char because int might match the return type of a GCC
13550 builtin and then its argument prototype would still apply. */
13551 #ifdef __cplusplus
13552 extern "C"
13553 #endif
13554 char pa_stream_is_corked ();
13556 main ()
13558 return pa_stream_is_corked ();
13560 return 0;
13562 _ACEOF
13563 if ac_fn_c_try_link "$LINENO"; then :
13564 ac_cv_lib_pulse_pa_stream_is_corked=yes
13565 else
13566 ac_cv_lib_pulse_pa_stream_is_corked=no
13568 rm -f core conftest.err conftest.$ac_objext \
13569 conftest$ac_exeext conftest.$ac_ext
13570 LIBS=$ac_check_lib_save_LIBS
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13573 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13574 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13576 else
13577 PULSE_LIBS=""
13580 else
13581 PULSE_LIBS=""
13584 done
13586 CPPFLAGS=$ac_save_CPPFLAGS
13587 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13588 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13591 if test -z "$PULSE_LIBS"; then :
13592 case "x$with_pulse" in
13593 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13594 xno) ;;
13595 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13596 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13597 esac
13598 enable_winepulse_drv=${enable_winepulse_drv:-no}
13601 if test "x$with_gstreamer" != "xno"
13602 then
13603 if ${GSTREAMER_CFLAGS:+false} :; then :
13604 if ${PKG_CONFIG+:} false; then :
13605 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13609 if ${GSTREAMER_LIBS:+false} :; then :
13610 if ${PKG_CONFIG+:} false; then :
13611 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13616 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13617 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13618 ac_save_CPPFLAGS=$CPPFLAGS
13619 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13620 ac_gst_incl=""
13621 for i in $GSTREAMER_CFLAGS
13623 case "$i" in
13624 -I*) ac_gst_incl="$ac_gst_incl $i";;
13625 esac
13626 done
13627 GSTREAMER_CFLAGS=$ac_gst_incl
13628 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13629 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13630 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13632 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13634 /* end confdefs.h. */
13635 #include <gst/gst.h>
13637 main ()
13639 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13641 return 0;
13643 _ACEOF
13644 if ac_fn_c_try_compile "$LINENO"; then :
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13646 $as_echo "yes" >&6; }
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13648 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13649 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13650 $as_echo_n "(cached) " >&6
13651 else
13652 ac_check_lib_save_LIBS=$LIBS
13653 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13655 /* end confdefs.h. */
13657 /* Override any GCC internal prototype to avoid an error.
13658 Use char because int might match the return type of a GCC
13659 builtin and then its argument prototype would still apply. */
13660 #ifdef __cplusplus
13661 extern "C"
13662 #endif
13663 char gst_pad_new ();
13665 main ()
13667 return gst_pad_new ();
13669 return 0;
13671 _ACEOF
13672 if ac_fn_c_try_link "$LINENO"; then :
13673 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13674 else
13675 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13677 rm -f core conftest.err conftest.$ac_objext \
13678 conftest$ac_exeext conftest.$ac_ext
13679 LIBS=$ac_check_lib_save_LIBS
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13682 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13683 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13687 else
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13689 $as_echo "no" >&6; }
13690 ac_glib2_broken=yes
13691 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13697 CPPFLAGS=$ac_save_CPPFLAGS
13698 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13699 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13702 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 :
13703 case "x$with_gstreamer" in
13704 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13705 xno) ;;
13706 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13707 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13708 esac
13711 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13713 ALSA_LIBS=""
13715 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13716 then
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13718 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13719 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13720 $as_echo_n "(cached) " >&6
13721 else
13722 ac_check_lib_save_LIBS=$LIBS
13723 LIBS="-lasound $LIBS"
13724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13725 /* end confdefs.h. */
13727 /* Override any GCC internal prototype to avoid an error.
13728 Use char because int might match the return type of a GCC
13729 builtin and then its argument prototype would still apply. */
13730 #ifdef __cplusplus
13731 extern "C"
13732 #endif
13733 char snd_pcm_hw_params_get_access_mask ();
13735 main ()
13737 return snd_pcm_hw_params_get_access_mask ();
13739 return 0;
13741 _ACEOF
13742 if ac_fn_c_try_link "$LINENO"; then :
13743 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13744 else
13745 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13747 rm -f core conftest.err conftest.$ac_objext \
13748 conftest$ac_exeext conftest.$ac_ext
13749 LIBS=$ac_check_lib_save_LIBS
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13752 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13753 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13756 #ifdef HAVE_ALSA_ASOUNDLIB_H
13757 #include <alsa/asoundlib.h>
13758 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13759 #include <sys/asoundlib.h>
13760 #endif
13762 main ()
13764 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13766 return 0;
13768 _ACEOF
13769 if ac_fn_c_try_compile "$LINENO"; then :
13770 ALSA_LIBS="-lasound"
13772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13776 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13778 if test "x$with_oss" != xno
13779 then
13780 ac_save_CPPFLAGS="$CPPFLAGS"
13781 if test -f /etc/oss.conf
13782 then
13783 . /etc/oss.conf
13785 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13786 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13787 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13788 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13789 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13791 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13793 cat >>confdefs.h <<_ACEOF
13794 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13795 _ACEOF
13797 OSS4_CFLAGS="$ac_oss_incl"
13804 CPPFLAGS="$ac_save_CPPFLAGS"
13806 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13807 case "x$with_oss" in
13808 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13809 xno) ;;
13810 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13811 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13812 esac
13813 enable_wineoss_drv=${enable_wineoss_drv:-no}
13816 if test "x$with_udev" != "xno"
13817 then
13818 if ${UDEV_CFLAGS:+false} :; then :
13819 if ${PKG_CONFIG+:} false; then :
13820 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13824 if ${UDEV_LIBS:+false} :; then :
13825 if ${PKG_CONFIG+:} false; then :
13826 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13830 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13831 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13832 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13833 ac_save_CPPFLAGS=$CPPFLAGS
13834 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13835 for ac_header in libudev.h
13836 do :
13837 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13838 if test "x$ac_cv_header_libudev_h" = xyes; then :
13839 cat >>confdefs.h <<_ACEOF
13840 #define HAVE_LIBUDEV_H 1
13841 _ACEOF
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13843 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13844 if ${ac_cv_lib_udev_udev_new+:} false; then :
13845 $as_echo_n "(cached) " >&6
13846 else
13847 ac_check_lib_save_LIBS=$LIBS
13848 LIBS="-ludev $UDEV_LIBS $LIBS"
13849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13850 /* end confdefs.h. */
13852 /* Override any GCC internal prototype to avoid an error.
13853 Use char because int might match the return type of a GCC
13854 builtin and then its argument prototype would still apply. */
13855 #ifdef __cplusplus
13856 extern "C"
13857 #endif
13858 char udev_new ();
13860 main ()
13862 return udev_new ();
13864 return 0;
13866 _ACEOF
13867 if ac_fn_c_try_link "$LINENO"; then :
13868 ac_cv_lib_udev_udev_new=yes
13869 else
13870 ac_cv_lib_udev_udev_new=no
13872 rm -f core conftest.err conftest.$ac_objext \
13873 conftest$ac_exeext conftest.$ac_ext
13874 LIBS=$ac_check_lib_save_LIBS
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13877 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13878 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13880 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13882 else
13883 UDEV_LIBS=""
13886 else
13887 UDEV_LIBS=""
13890 done
13892 CPPFLAGS=$ac_save_CPPFLAGS
13893 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13894 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13897 if test "x$UDEV_LIBS" = "x"; then :
13898 case "x$with_udev" in
13899 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13900 xno) ;;
13901 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13902 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13903 esac
13907 if test "x$with_sdl" != "xno"
13908 then
13909 if ${SDL2_CFLAGS:+false} :; then :
13910 if ${PKG_CONFIG+:} false; then :
13911 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13915 if ${SDL2_LIBS:+false} :; then :
13916 if ${PKG_CONFIG+:} false; then :
13917 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13921 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13922 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13923 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13924 ac_save_CPPFLAGS=$CPPFLAGS
13925 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13926 for ac_header in SDL2/SDL.h
13927 do :
13928 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13929 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13930 cat >>confdefs.h <<_ACEOF
13931 #define HAVE_SDL2_SDL_H 1
13932 _ACEOF
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13934 $as_echo_n "checking for -lSDL2... " >&6; }
13935 if ${ac_cv_lib_soname_SDL2+:} false; then :
13936 $as_echo_n "(cached) " >&6
13937 else
13938 ac_check_soname_save_LIBS=$LIBS
13939 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
13940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13941 /* end confdefs.h. */
13943 /* Override any GCC internal prototype to avoid an error.
13944 Use char because int might match the return type of a GCC
13945 builtin and then its argument prototype would still apply. */
13946 #ifdef __cplusplus
13947 extern "C"
13948 #endif
13949 char SDL_Init ();
13951 main ()
13953 return SDL_Init ();
13955 return 0;
13957 _ACEOF
13958 if ac_fn_c_try_link "$LINENO"; then :
13959 case "$LIBEXT" in
13960 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13961 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'` ;;
13962 *) 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'`
13963 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13964 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13965 fi ;;
13966 esac
13968 rm -f core conftest.err conftest.$ac_objext \
13969 conftest$ac_exeext conftest.$ac_ext
13970 LIBS=$ac_check_soname_save_LIBS
13972 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13974 $as_echo "not found" >&6; }
13976 else
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13978 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13980 cat >>confdefs.h <<_ACEOF
13981 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13982 _ACEOF
13988 done
13990 CPPFLAGS=$ac_save_CPPFLAGS
13991 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13992 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13995 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13996 case "x$with_sdl" in
13997 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13998 xno) ;;
13999 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14000 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14001 esac
14005 if test "x$with_capi" != "xno"
14006 then
14007 if ${CAPI20_CFLAGS:+false} :; then :
14008 if ${PKG_CONFIG+:} false; then :
14009 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
14013 if ${CAPI20_LIBS:+false} :; then :
14014 if ${PKG_CONFIG+:} false; then :
14015 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
14020 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
14021 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
14022 ac_save_CPPFLAGS=$CPPFLAGS
14023 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
14024 for ac_header in capi20.h linux/capi.h
14025 do :
14026 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14027 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
14029 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14030 cat >>confdefs.h <<_ACEOF
14031 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14032 _ACEOF
14036 done
14038 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14039 then
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
14041 $as_echo_n "checking for -lcapi20... " >&6; }
14042 if ${ac_cv_lib_soname_capi20+:} false; then :
14043 $as_echo_n "(cached) " >&6
14044 else
14045 ac_check_soname_save_LIBS=$LIBS
14046 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
14047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14050 /* Override any GCC internal prototype to avoid an error.
14051 Use char because int might match the return type of a GCC
14052 builtin and then its argument prototype would still apply. */
14053 #ifdef __cplusplus
14054 extern "C"
14055 #endif
14056 char capi20_register ();
14058 main ()
14060 return capi20_register ();
14062 return 0;
14064 _ACEOF
14065 if ac_fn_c_try_link "$LINENO"; then :
14066 case "$LIBEXT" in
14067 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14068 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'` ;;
14069 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14070 if ${ac_cv_lib_soname_capi20:+false} :; then :
14071 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14072 fi ;;
14073 esac
14075 rm -f core conftest.err conftest.$ac_objext \
14076 conftest$ac_exeext conftest.$ac_ext
14077 LIBS=$ac_check_soname_save_LIBS
14079 if ${ac_cv_lib_soname_capi20:+false} :; then :
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14081 $as_echo "not found" >&6; }
14083 else
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
14085 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
14087 cat >>confdefs.h <<_ACEOF
14088 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14089 _ACEOF
14094 CPPFLAGS=$ac_save_CPPFLAGS
14095 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14096 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14099 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
14100 case "x$with_capi" in
14101 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
14102 xno) ;;
14103 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
14104 This is an error since --with-capi was requested." "$LINENO" 5 ;;
14105 esac
14109 if test "x$with_cups" != "xno"
14110 then
14111 if ${CUPS_CFLAGS:+false} :; then :
14112 if ${PKG_CONFIG+:} false; then :
14113 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
14116 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
14117 if ${CUPS_LIBS:+false} :; then :
14118 if ${PKG_CONFIG+:} false; then :
14119 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
14122 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
14123 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
14124 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
14125 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
14126 ac_save_CPPFLAGS=$CPPFLAGS
14127 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
14128 for ac_header in cups/cups.h cups/ppd.h
14129 do :
14130 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14131 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14132 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14133 cat >>confdefs.h <<_ACEOF
14134 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14135 _ACEOF
14139 done
14141 if test "$ac_cv_header_cups_cups_h" = "yes"
14142 then
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14144 $as_echo_n "checking for -lcups... " >&6; }
14145 if ${ac_cv_lib_soname_cups+:} false; then :
14146 $as_echo_n "(cached) " >&6
14147 else
14148 ac_check_soname_save_LIBS=$LIBS
14149 LIBS="-lcups $CUPS_LIBS $LIBS"
14150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14153 /* Override any GCC internal prototype to avoid an error.
14154 Use char because int might match the return type of a GCC
14155 builtin and then its argument prototype would still apply. */
14156 #ifdef __cplusplus
14157 extern "C"
14158 #endif
14159 char cupsGetDefault ();
14161 main ()
14163 return cupsGetDefault ();
14165 return 0;
14167 _ACEOF
14168 if ac_fn_c_try_link "$LINENO"; then :
14169 case "$LIBEXT" in
14170 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14171 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'` ;;
14172 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14173 if ${ac_cv_lib_soname_cups:+false} :; then :
14174 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14175 fi ;;
14176 esac
14178 rm -f core conftest.err conftest.$ac_objext \
14179 conftest$ac_exeext conftest.$ac_ext
14180 LIBS=$ac_check_soname_save_LIBS
14182 if ${ac_cv_lib_soname_cups:+false} :; then :
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14184 $as_echo "not found" >&6; }
14185 CUPS_LIBS=""
14186 else
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14188 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14190 cat >>confdefs.h <<_ACEOF
14191 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14192 _ACEOF
14196 else
14197 CUPS_CFLAGS=""
14198 CUPS_LIBS=""
14200 CPPFLAGS=$ac_save_CPPFLAGS
14201 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14202 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14205 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14206 case "x$with_cups" in
14207 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14208 xno) ;;
14209 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14210 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14211 esac
14215 if test "x$with_fontconfig" != "xno"
14216 then
14217 if ${FONTCONFIG_CFLAGS:+false} :; then :
14218 if ${PKG_CONFIG+:} false; then :
14219 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14222 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14223 if ${FONTCONFIG_LIBS:+false} :; then :
14224 if ${PKG_CONFIG+:} false; then :
14225 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14228 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14230 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14231 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14232 ac_save_CPPFLAGS=$CPPFLAGS
14233 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14234 for ac_header in fontconfig/fontconfig.h
14235 do :
14236 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14237 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14238 cat >>confdefs.h <<_ACEOF
14239 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14240 _ACEOF
14244 done
14246 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14247 then
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14249 $as_echo_n "checking for -lfontconfig... " >&6; }
14250 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14251 $as_echo_n "(cached) " >&6
14252 else
14253 ac_check_soname_save_LIBS=$LIBS
14254 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14256 /* end confdefs.h. */
14258 /* Override any GCC internal prototype to avoid an error.
14259 Use char because int might match the return type of a GCC
14260 builtin and then its argument prototype would still apply. */
14261 #ifdef __cplusplus
14262 extern "C"
14263 #endif
14264 char FcInit ();
14266 main ()
14268 return FcInit ();
14270 return 0;
14272 _ACEOF
14273 if ac_fn_c_try_link "$LINENO"; then :
14274 case "$LIBEXT" in
14275 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14276 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'` ;;
14277 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14278 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14279 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14280 fi ;;
14281 esac
14283 rm -f core conftest.err conftest.$ac_objext \
14284 conftest$ac_exeext conftest.$ac_ext
14285 LIBS=$ac_check_soname_save_LIBS
14287 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14289 $as_echo "not found" >&6; }
14290 FONTCONFIG_CFLAGS=""
14291 else
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14293 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14295 cat >>confdefs.h <<_ACEOF
14296 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14297 _ACEOF
14301 else
14302 FONTCONFIG_CFLAGS=""
14304 CPPFLAGS=$ac_save_CPPFLAGS
14305 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14306 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14309 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14310 case "x$with_fontconfig" in
14311 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14312 xno) ;;
14313 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14314 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14315 esac
14319 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14320 then
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14322 $as_echo_n "checking for -lgsm... " >&6; }
14323 if ${ac_cv_lib_soname_gsm+:} false; then :
14324 $as_echo_n "(cached) " >&6
14325 else
14326 ac_check_soname_save_LIBS=$LIBS
14327 LIBS="-lgsm $LIBS"
14328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14329 /* end confdefs.h. */
14331 /* Override any GCC internal prototype to avoid an error.
14332 Use char because int might match the return type of a GCC
14333 builtin and then its argument prototype would still apply. */
14334 #ifdef __cplusplus
14335 extern "C"
14336 #endif
14337 char gsm_create ();
14339 main ()
14341 return gsm_create ();
14343 return 0;
14345 _ACEOF
14346 if ac_fn_c_try_link "$LINENO"; then :
14347 case "$LIBEXT" in
14348 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14349 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'` ;;
14350 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14351 if ${ac_cv_lib_soname_gsm:+false} :; then :
14352 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14353 fi ;;
14354 esac
14356 rm -f core conftest.err conftest.$ac_objext \
14357 conftest$ac_exeext conftest.$ac_ext
14358 LIBS=$ac_check_soname_save_LIBS
14360 if ${ac_cv_lib_soname_gsm:+false} :; then :
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14362 $as_echo "not found" >&6; }
14364 else
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14366 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14368 cat >>confdefs.h <<_ACEOF
14369 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14370 _ACEOF
14375 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14376 case "x$with_gsm" in
14377 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14378 xno) ;;
14379 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14380 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14381 esac
14385 if test "x$with_krb5" != "xno"
14386 then
14387 if ${KRB5_CFLAGS:+false} :; then :
14388 if ${PKG_CONFIG+:} false; then :
14389 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14392 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14393 if ${KRB5_LIBS:+false} :; then :
14394 if ${PKG_CONFIG+:} false; then :
14395 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14398 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14400 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14401 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14402 ac_save_CPPFLAGS=$CPPFLAGS
14403 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14404 for ac_header in krb5/krb5.h
14405 do :
14406 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14407 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14408 cat >>confdefs.h <<_ACEOF
14409 #define HAVE_KRB5_KRB5_H 1
14410 _ACEOF
14414 done
14416 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14417 then
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14419 $as_echo_n "checking for -lkrb5... " >&6; }
14420 if ${ac_cv_lib_soname_krb5+:} false; then :
14421 $as_echo_n "(cached) " >&6
14422 else
14423 ac_check_soname_save_LIBS=$LIBS
14424 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14426 /* end confdefs.h. */
14428 /* Override any GCC internal prototype to avoid an error.
14429 Use char because int might match the return type of a GCC
14430 builtin and then its argument prototype would still apply. */
14431 #ifdef __cplusplus
14432 extern "C"
14433 #endif
14434 char krb5_is_config_principal ();
14436 main ()
14438 return krb5_is_config_principal ();
14440 return 0;
14442 _ACEOF
14443 if ac_fn_c_try_link "$LINENO"; then :
14444 case "$LIBEXT" in
14445 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14446 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'` ;;
14447 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14448 if ${ac_cv_lib_soname_krb5:+false} :; then :
14449 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14450 fi ;;
14451 esac
14453 rm -f core conftest.err conftest.$ac_objext \
14454 conftest$ac_exeext conftest.$ac_ext
14455 LIBS=$ac_check_soname_save_LIBS
14457 if ${ac_cv_lib_soname_krb5:+false} :; then :
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14459 $as_echo "not found" >&6; }
14460 KRB5_CFLAGS=""
14461 else
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14463 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14465 cat >>confdefs.h <<_ACEOF
14466 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14467 _ACEOF
14471 else
14472 KRB5_CFLAGS=""
14474 CPPFLAGS=$ac_save_CPPFLAGS
14475 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14476 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14478 else
14479 with_gssapi=${with_gssapi:-no}
14481 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14482 case "x$with_krb5" in
14483 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14484 xno) ;;
14485 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14486 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14487 esac
14491 if test "x$with_gssapi" != "xno"
14492 then
14493 if ${GSSAPI_CFLAGS:+false} :; then :
14494 if ${PKG_CONFIG+:} false; then :
14495 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14498 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14499 if ${GSSAPI_LIBS:+false} :; then :
14500 if ${PKG_CONFIG+:} false; then :
14501 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14504 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14506 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14507 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14508 ac_save_CPPFLAGS=$CPPFLAGS
14509 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14510 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14511 do :
14512 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14513 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14514 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14515 cat >>confdefs.h <<_ACEOF
14516 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14517 _ACEOF
14521 done
14523 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14524 then
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14526 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14527 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14528 $as_echo_n "(cached) " >&6
14529 else
14530 ac_check_soname_save_LIBS=$LIBS
14531 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14533 /* end confdefs.h. */
14535 /* Override any GCC internal prototype to avoid an error.
14536 Use char because int might match the return type of a GCC
14537 builtin and then its argument prototype would still apply. */
14538 #ifdef __cplusplus
14539 extern "C"
14540 #endif
14541 char gss_init_sec_context ();
14543 main ()
14545 return gss_init_sec_context ();
14547 return 0;
14549 _ACEOF
14550 if ac_fn_c_try_link "$LINENO"; then :
14551 case "$LIBEXT" in
14552 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14553 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'` ;;
14554 *) 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'`
14555 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14556 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14557 fi ;;
14558 esac
14560 rm -f core conftest.err conftest.$ac_objext \
14561 conftest$ac_exeext conftest.$ac_ext
14562 LIBS=$ac_check_soname_save_LIBS
14564 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14566 $as_echo "not found" >&6; }
14567 GSSAPI_CFLAGS=""
14568 else
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14570 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14572 cat >>confdefs.h <<_ACEOF
14573 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14574 _ACEOF
14578 else
14579 GSSAPI_CFLAGS=""
14581 CPPFLAGS=$ac_save_CPPFLAGS
14582 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14583 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14586 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14587 case "x$with_gssapi" in
14588 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14589 xno) ;;
14590 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14591 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14592 esac
14596 if test "x$with_jpeg" != "xno"
14597 then
14598 if ${JPEG_CFLAGS:+false} :; then :
14599 if ${PKG_CONFIG+:} false; then :
14600 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14604 if ${JPEG_LIBS:+false} :; then :
14605 if ${PKG_CONFIG+:} false; then :
14606 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14611 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14612 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14613 ac_save_CPPFLAGS=$CPPFLAGS
14614 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14615 for ac_header in jpeglib.h
14616 do :
14617 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14618 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14619 cat >>confdefs.h <<_ACEOF
14620 #define HAVE_JPEGLIB_H 1
14621 _ACEOF
14625 done
14627 if test "$ac_cv_header_jpeglib_h" = "yes"
14628 then
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14630 $as_echo_n "checking for -ljpeg... " >&6; }
14631 if ${ac_cv_lib_soname_jpeg+:} false; then :
14632 $as_echo_n "(cached) " >&6
14633 else
14634 ac_check_soname_save_LIBS=$LIBS
14635 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14637 /* end confdefs.h. */
14639 /* Override any GCC internal prototype to avoid an error.
14640 Use char because int might match the return type of a GCC
14641 builtin and then its argument prototype would still apply. */
14642 #ifdef __cplusplus
14643 extern "C"
14644 #endif
14645 char jpeg_start_decompress ();
14647 main ()
14649 return jpeg_start_decompress ();
14651 return 0;
14653 _ACEOF
14654 if ac_fn_c_try_link "$LINENO"; then :
14655 case "$LIBEXT" in
14656 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14657 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'` ;;
14658 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14659 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14660 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14661 fi ;;
14662 esac
14664 rm -f core conftest.err conftest.$ac_objext \
14665 conftest$ac_exeext conftest.$ac_ext
14666 LIBS=$ac_check_soname_save_LIBS
14668 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14670 $as_echo "not found" >&6; }
14671 JPEG_CFLAGS=""
14672 else
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14674 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14676 cat >>confdefs.h <<_ACEOF
14677 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14678 _ACEOF
14682 else
14683 JPEG_CFLAGS=""
14685 CPPFLAGS=$ac_save_CPPFLAGS
14686 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14687 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14690 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14691 case "x$with_jpeg" in
14692 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14693 xno) ;;
14694 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14695 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14696 esac
14700 if test "x$with_png" != "xno"
14701 then
14702 if ${PNG_CFLAGS:+false} :; then :
14703 if ${PKG_CONFIG+:} false; then :
14704 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14707 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14708 if ${PNG_LIBS:+false} :; then :
14709 if ${PKG_CONFIG+:} false; then :
14710 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14713 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14715 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14716 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14717 ac_save_CPPFLAGS=$CPPFLAGS
14718 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14719 for ac_header in png.h
14720 do :
14721 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14722 if test "x$ac_cv_header_png_h" = xyes; then :
14723 cat >>confdefs.h <<_ACEOF
14724 #define HAVE_PNG_H 1
14725 _ACEOF
14729 done
14731 if test "$ac_cv_header_png_h" = "yes"
14732 then
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14734 $as_echo_n "checking for -lpng... " >&6; }
14735 if ${ac_cv_lib_soname_png+:} false; then :
14736 $as_echo_n "(cached) " >&6
14737 else
14738 ac_check_soname_save_LIBS=$LIBS
14739 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14741 /* end confdefs.h. */
14743 /* Override any GCC internal prototype to avoid an error.
14744 Use char because int might match the return type of a GCC
14745 builtin and then its argument prototype would still apply. */
14746 #ifdef __cplusplus
14747 extern "C"
14748 #endif
14749 char png_create_read_struct ();
14751 main ()
14753 return png_create_read_struct ();
14755 return 0;
14757 _ACEOF
14758 if ac_fn_c_try_link "$LINENO"; then :
14759 case "$LIBEXT" in
14760 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14761 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'` ;;
14762 *) 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'`
14763 if ${ac_cv_lib_soname_png:+false} :; then :
14764 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14765 fi ;;
14766 esac
14768 rm -f core conftest.err conftest.$ac_objext \
14769 conftest$ac_exeext conftest.$ac_ext
14770 LIBS=$ac_check_soname_save_LIBS
14772 if ${ac_cv_lib_soname_png:+false} :; then :
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14774 $as_echo "not found" >&6; }
14775 PNG_CFLAGS=""
14776 else
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14778 $as_echo "$ac_cv_lib_soname_png" >&6; }
14780 cat >>confdefs.h <<_ACEOF
14781 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14782 _ACEOF
14786 else
14787 PNG_CFLAGS=""
14789 CPPFLAGS=$ac_save_CPPFLAGS
14790 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14791 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14794 if test "x$ac_cv_lib_soname_png" = "x"; then :
14795 case "x$with_png" in
14796 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14797 xno) ;;
14798 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14799 This is an error since --with-png was requested." "$LINENO" 5 ;;
14800 esac
14804 if test "x$with_tiff" != "xno"
14805 then
14806 if ${TIFF_CFLAGS:+false} :; then :
14807 if ${PKG_CONFIG+:} false; then :
14808 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14812 if ${TIFF_LIBS:+false} :; then :
14813 if ${PKG_CONFIG+:} false; then :
14814 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14819 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14820 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14821 ac_save_CPPFLAGS=$CPPFLAGS
14822 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14823 for ac_header in tiffio.h
14824 do :
14825 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14826 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14827 cat >>confdefs.h <<_ACEOF
14828 #define HAVE_TIFFIO_H 1
14829 _ACEOF
14833 done
14835 if test "$ac_cv_header_tiffio_h" = "yes"
14836 then
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14838 $as_echo_n "checking for -ltiff... " >&6; }
14839 if ${ac_cv_lib_soname_tiff+:} false; then :
14840 $as_echo_n "(cached) " >&6
14841 else
14842 ac_check_soname_save_LIBS=$LIBS
14843 LIBS="-ltiff $TIFF_LIBS $LIBS"
14844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14845 /* end confdefs.h. */
14847 /* Override any GCC internal prototype to avoid an error.
14848 Use char because int might match the return type of a GCC
14849 builtin and then its argument prototype would still apply. */
14850 #ifdef __cplusplus
14851 extern "C"
14852 #endif
14853 char TIFFClientOpen ();
14855 main ()
14857 return TIFFClientOpen ();
14859 return 0;
14861 _ACEOF
14862 if ac_fn_c_try_link "$LINENO"; then :
14863 case "$LIBEXT" in
14864 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14865 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'` ;;
14866 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14867 if ${ac_cv_lib_soname_tiff:+false} :; then :
14868 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14869 fi ;;
14870 esac
14872 rm -f core conftest.err conftest.$ac_objext \
14873 conftest$ac_exeext conftest.$ac_ext
14874 LIBS=$ac_check_soname_save_LIBS
14876 if ${ac_cv_lib_soname_tiff:+false} :; then :
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14878 $as_echo "not found" >&6; }
14880 else
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14882 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14884 cat >>confdefs.h <<_ACEOF
14885 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14886 _ACEOF
14891 CPPFLAGS=$ac_save_CPPFLAGS
14892 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14893 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14896 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14897 case "x$with_tiff" in
14898 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14899 xno) ;;
14900 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14901 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14902 esac
14906 if test "x$with_mpg123" != "xno"
14907 then
14908 if ${MPG123_CFLAGS:+false} :; then :
14909 if ${PKG_CONFIG+:} false; then :
14910 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14914 if ${MPG123_LIBS:+false} :; then :
14915 if ${PKG_CONFIG+:} false; then :
14916 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14920 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14921 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14922 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14923 ac_save_CPPFLAGS=$CPPFLAGS
14924 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14925 for ac_header in mpg123.h
14926 do :
14927 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14928 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14929 cat >>confdefs.h <<_ACEOF
14930 #define HAVE_MPG123_H 1
14931 _ACEOF
14935 done
14937 if test "$ac_cv_header_mpg123_h" = "yes"
14938 then
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14940 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14941 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14942 $as_echo_n "(cached) " >&6
14943 else
14944 ac_check_lib_save_LIBS=$LIBS
14945 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14947 /* end confdefs.h. */
14949 /* Override any GCC internal prototype to avoid an error.
14950 Use char because int might match the return type of a GCC
14951 builtin and then its argument prototype would still apply. */
14952 #ifdef __cplusplus
14953 extern "C"
14954 #endif
14955 char mpg123_feed ();
14957 main ()
14959 return mpg123_feed ();
14961 return 0;
14963 _ACEOF
14964 if ac_fn_c_try_link "$LINENO"; then :
14965 ac_cv_lib_mpg123_mpg123_feed=yes
14966 else
14967 ac_cv_lib_mpg123_mpg123_feed=no
14969 rm -f core conftest.err conftest.$ac_objext \
14970 conftest$ac_exeext conftest.$ac_ext
14971 LIBS=$ac_check_lib_save_LIBS
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14974 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14975 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14977 else
14978 MPG123_LIBS=""
14981 else
14982 MPG123_CFLAGS=""
14983 MPG123_LIBS=""
14985 CPPFLAGS=$ac_save_CPPFLAGS
14986 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14987 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14990 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14991 case "x$with_mpg123" in
14992 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14993 xno) ;;
14994 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14995 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14996 esac
14997 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14999 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
15001 if test "$ac_cv_header_AL_al_h" = "yes"
15002 then
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
15004 $as_echo_n "checking for -lopenal... " >&6; }
15005 if ${ac_cv_lib_soname_openal+:} false; then :
15006 $as_echo_n "(cached) " >&6
15007 else
15008 ac_check_soname_save_LIBS=$LIBS
15009 LIBS="-lopenal $LIBS"
15010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15013 /* Override any GCC internal prototype to avoid an error.
15014 Use char because int might match the return type of a GCC
15015 builtin and then its argument prototype would still apply. */
15016 #ifdef __cplusplus
15017 extern "C"
15018 #endif
15019 char alGetSource3i ();
15021 main ()
15023 return alGetSource3i ();
15025 return 0;
15027 _ACEOF
15028 if ac_fn_c_try_link "$LINENO"; then :
15029 case "$LIBEXT" in
15030 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15031 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'` ;;
15032 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15033 if ${ac_cv_lib_soname_openal:+false} :; then :
15034 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15035 fi ;;
15036 esac
15038 rm -f core conftest.err conftest.$ac_objext \
15039 conftest$ac_exeext conftest.$ac_ext
15040 LIBS=$ac_check_soname_save_LIBS
15042 if ${ac_cv_lib_soname_openal:+false} :; then :
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15044 $as_echo "not found" >&6; }
15046 else
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
15048 $as_echo "$ac_cv_lib_soname_openal" >&6; }
15050 cat >>confdefs.h <<_ACEOF
15051 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
15052 _ACEOF
15054 OPENAL_LIBS="-lopenal"
15056 ac_cv_lib_openal=yes
15058 cat >>confdefs.h <<_ACEOF
15059 #define HAVE_OPENAL 1
15060 _ACEOF
15064 if test "x$ac_cv_lib_openal" != xyes; then :
15065 case "x$with_openal" in
15066 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
15067 xno) ;;
15068 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
15069 This is an error since --with-openal was requested." "$LINENO" 5 ;;
15070 esac
15071 enable_openal32=${enable_openal32:-no}
15074 if test "x$ac_cv_lib_openal" = xyes
15075 then
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
15077 $as_echo_n "checking for openal-soft... " >&6; }
15078 if ${ac_cv_have_openalsoft+:} false; then :
15079 $as_echo_n "(cached) " >&6
15080 else
15081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15082 /* end confdefs.h. */
15083 #include <AL/al.h>
15084 #include <AL/alc.h>
15085 #include <AL/alext.h>
15086 LPALCRENDERSAMPLESSOFT x;
15088 main ()
15092 return 0;
15094 _ACEOF
15095 if ac_fn_c_try_compile "$LINENO"; then :
15096 ac_cv_have_openalsoft=yes
15097 else
15098 ac_cv_have_openalsoft=no
15100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
15103 $as_echo "$ac_cv_have_openalsoft" >&6; }
15105 if test "x$ac_cv_have_openalsoft" != xyes
15106 then
15107 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
15108 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
15109 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
15110 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
15111 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
15112 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
15113 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
15114 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
15115 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
15116 enable_xapofx1_1=${enable_xapofx1_1:-no}
15117 enable_xapofx1_2=${enable_xapofx1_2:-no}
15118 enable_xapofx1_3=${enable_xapofx1_3:-no}
15119 enable_xapofx1_4=${enable_xapofx1_4:-no}
15120 enable_xapofx1_5=${enable_xapofx1_5:-no}
15121 enable_xaudio2_0=${enable_xaudio2_0:-no}
15122 enable_xaudio2_1=${enable_xaudio2_1:-no}
15123 enable_xaudio2_2=${enable_xaudio2_2:-no}
15124 enable_xaudio2_3=${enable_xaudio2_3:-no}
15125 enable_xaudio2_4=${enable_xaudio2_4:-no}
15126 enable_xaudio2_5=${enable_xaudio2_5:-no}
15127 enable_xaudio2_6=${enable_xaudio2_6:-no}
15128 enable_xaudio2_7=${enable_xaudio2_7:-no}
15129 enable_xaudio2_8=${enable_xaudio2_8:-no}
15130 enable_xaudio2_9=${enable_xaudio2_9:-no}
15133 if test "$ac_cv_header_kstat_h" = "yes"
15134 then
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
15136 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
15137 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
15138 $as_echo_n "(cached) " >&6
15139 else
15140 ac_check_lib_save_LIBS=$LIBS
15141 LIBS="-lkstat $LIBS"
15142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15143 /* end confdefs.h. */
15145 /* Override any GCC internal prototype to avoid an error.
15146 Use char because int might match the return type of a GCC
15147 builtin and then its argument prototype would still apply. */
15148 #ifdef __cplusplus
15149 extern "C"
15150 #endif
15151 char kstat_open ();
15153 main ()
15155 return kstat_open ();
15157 return 0;
15159 _ACEOF
15160 if ac_fn_c_try_link "$LINENO"; then :
15161 ac_cv_lib_kstat_kstat_open=yes
15162 else
15163 ac_cv_lib_kstat_kstat_open=no
15165 rm -f core conftest.err conftest.$ac_objext \
15166 conftest$ac_exeext conftest.$ac_ext
15167 LIBS=$ac_check_lib_save_LIBS
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15170 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15171 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15173 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15175 KSTAT_LIBS="-lkstat"
15181 if test "$ac_cv_header_libprocstat_h" = "yes"
15182 then
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15184 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15185 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15186 $as_echo_n "(cached) " >&6
15187 else
15188 ac_check_lib_save_LIBS=$LIBS
15189 LIBS="-lprocstat $LIBS"
15190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15191 /* end confdefs.h. */
15193 /* Override any GCC internal prototype to avoid an error.
15194 Use char because int might match the return type of a GCC
15195 builtin and then its argument prototype would still apply. */
15196 #ifdef __cplusplus
15197 extern "C"
15198 #endif
15199 char procstat_open_sysctl ();
15201 main ()
15203 return procstat_open_sysctl ();
15205 return 0;
15207 _ACEOF
15208 if ac_fn_c_try_link "$LINENO"; then :
15209 ac_cv_lib_procstat_procstat_open_sysctl=yes
15210 else
15211 ac_cv_lib_procstat_procstat_open_sysctl=no
15213 rm -f core conftest.err conftest.$ac_objext \
15214 conftest$ac_exeext conftest.$ac_ext
15215 LIBS=$ac_check_lib_save_LIBS
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15218 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15219 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15221 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15223 PROCSTAT_LIBS="-lprocstat"
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15230 $as_echo_n "checking for -lodbc... " >&6; }
15231 if ${ac_cv_lib_soname_odbc+:} false; then :
15232 $as_echo_n "(cached) " >&6
15233 else
15234 ac_check_soname_save_LIBS=$LIBS
15235 LIBS="-lodbc $LIBS"
15236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15237 /* end confdefs.h. */
15239 /* Override any GCC internal prototype to avoid an error.
15240 Use char because int might match the return type of a GCC
15241 builtin and then its argument prototype would still apply. */
15242 #ifdef __cplusplus
15243 extern "C"
15244 #endif
15245 char SQLConnect ();
15247 main ()
15249 return SQLConnect ();
15251 return 0;
15253 _ACEOF
15254 if ac_fn_c_try_link "$LINENO"; then :
15255 case "$LIBEXT" in
15256 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15257 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'` ;;
15258 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15259 if ${ac_cv_lib_soname_odbc:+false} :; then :
15260 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15261 fi ;;
15262 esac
15264 rm -f core conftest.err conftest.$ac_objext \
15265 conftest$ac_exeext conftest.$ac_ext
15266 LIBS=$ac_check_soname_save_LIBS
15268 if ${ac_cv_lib_soname_odbc:+false} :; then :
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15270 $as_echo "not found" >&6; }
15271 cat >>confdefs.h <<_ACEOF
15272 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15273 _ACEOF
15275 else
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15277 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15279 cat >>confdefs.h <<_ACEOF
15280 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15281 _ACEOF
15286 if test "x$with_netapi" != "xno"
15287 then
15288 if ${NETAPI_CFLAGS:+false} :; then :
15289 if ${PKG_CONFIG+:} false; then :
15290 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15294 if ${NETAPI_LIBS:+false} :; then :
15295 if ${PKG_CONFIG+:} false; then :
15296 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15301 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15302 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15303 ac_save_CPPFLAGS=$CPPFLAGS
15304 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15306 $as_echo_n "checking for -lnetapi... " >&6; }
15307 if ${ac_cv_lib_soname_netapi+:} false; then :
15308 $as_echo_n "(cached) " >&6
15309 else
15310 ac_check_soname_save_LIBS=$LIBS
15311 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15313 /* end confdefs.h. */
15315 /* Override any GCC internal prototype to avoid an error.
15316 Use char because int might match the return type of a GCC
15317 builtin and then its argument prototype would still apply. */
15318 #ifdef __cplusplus
15319 extern "C"
15320 #endif
15321 char libnetapi_init ();
15323 main ()
15325 return libnetapi_init ();
15327 return 0;
15329 _ACEOF
15330 if ac_fn_c_try_link "$LINENO"; then :
15331 case "$LIBEXT" in
15332 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15333 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'` ;;
15334 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15335 if ${ac_cv_lib_soname_netapi:+false} :; then :
15336 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15337 fi ;;
15338 esac
15340 rm -f core conftest.err conftest.$ac_objext \
15341 conftest$ac_exeext conftest.$ac_ext
15342 LIBS=$ac_check_soname_save_LIBS
15344 if ${ac_cv_lib_soname_netapi:+false} :; then :
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15346 $as_echo "not found" >&6; }
15347 cat >>confdefs.h <<_ACEOF
15348 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15349 _ACEOF
15351 else
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15353 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15355 cat >>confdefs.h <<_ACEOF
15356 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15357 _ACEOF
15361 CPPFLAGS=$ac_save_CPPFLAGS
15362 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15363 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15367 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15368 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15369 then
15370 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15373 if test "x$with_vulkan" != "xno"
15374 then
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15376 $as_echo_n "checking for -lvulkan... " >&6; }
15377 if ${ac_cv_lib_soname_vulkan+:} false; then :
15378 $as_echo_n "(cached) " >&6
15379 else
15380 ac_check_soname_save_LIBS=$LIBS
15381 LIBS="-lvulkan $LIBS"
15382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15383 /* end confdefs.h. */
15385 /* Override any GCC internal prototype to avoid an error.
15386 Use char because int might match the return type of a GCC
15387 builtin and then its argument prototype would still apply. */
15388 #ifdef __cplusplus
15389 extern "C"
15390 #endif
15391 char vkGetInstanceProcAddr ();
15393 main ()
15395 return vkGetInstanceProcAddr ();
15397 return 0;
15399 _ACEOF
15400 if ac_fn_c_try_link "$LINENO"; then :
15401 case "$LIBEXT" in
15402 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15403 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'` ;;
15404 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15405 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15406 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15407 fi ;;
15408 esac
15410 rm -f core conftest.err conftest.$ac_objext \
15411 conftest$ac_exeext conftest.$ac_ext
15412 LIBS=$ac_check_soname_save_LIBS
15414 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15416 $as_echo "not found" >&6; }
15418 else
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15420 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15422 cat >>confdefs.h <<_ACEOF
15423 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15424 _ACEOF
15428 if test "x$ac_cv_lib_soname_vulkan" = "x"
15429 then
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15431 $as_echo_n "checking for -lMoltenVK... " >&6; }
15432 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15433 $as_echo_n "(cached) " >&6
15434 else
15435 ac_check_soname_save_LIBS=$LIBS
15436 LIBS="-lMoltenVK $LIBS"
15437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15438 /* end confdefs.h. */
15440 /* Override any GCC internal prototype to avoid an error.
15441 Use char because int might match the return type of a GCC
15442 builtin and then its argument prototype would still apply. */
15443 #ifdef __cplusplus
15444 extern "C"
15445 #endif
15446 char vkGetInstanceProcAddr ();
15448 main ()
15450 return vkGetInstanceProcAddr ();
15452 return 0;
15454 _ACEOF
15455 if ac_fn_c_try_link "$LINENO"; then :
15456 case "$LIBEXT" in
15457 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15458 dylib) ac_cv_lib_soname_MoltenVK=`$OTOOL -L conftest$ac_exeext | grep "libMoltenVK\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libMoltenVK\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15459 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15460 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15461 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15462 fi ;;
15463 esac
15465 rm -f core conftest.err conftest.$ac_objext \
15466 conftest$ac_exeext conftest.$ac_ext
15467 LIBS=$ac_check_soname_save_LIBS
15469 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15471 $as_echo "not found" >&6; }
15473 else
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15475 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15477 cat >>confdefs.h <<_ACEOF
15478 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15479 _ACEOF
15485 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15486 case "x$with_vulkan" in
15487 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15488 xno) ;;
15489 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15490 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15491 esac
15495 if test "x$with_vkd3d" != "xno"
15496 then
15497 if ${VKD3D_CFLAGS:+false} :; then :
15498 if ${PKG_CONFIG+:} false; then :
15499 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15503 if ${VKD3D_LIBS:+false} :; then :
15504 if ${PKG_CONFIG+:} false; then :
15505 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15510 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15511 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15512 ac_save_CPPFLAGS=$CPPFLAGS
15513 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15515 $as_echo_n "checking for -lvkd3d... " >&6; }
15516 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15517 $as_echo_n "(cached) " >&6
15518 else
15519 ac_check_soname_save_LIBS=$LIBS
15520 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15522 /* end confdefs.h. */
15524 /* Override any GCC internal prototype to avoid an error.
15525 Use char because int might match the return type of a GCC
15526 builtin and then its argument prototype would still apply. */
15527 #ifdef __cplusplus
15528 extern "C"
15529 #endif
15530 char vkd3d_create_device ();
15532 main ()
15534 return vkd3d_create_device ();
15536 return 0;
15538 _ACEOF
15539 if ac_fn_c_try_link "$LINENO"; then :
15540 case "$LIBEXT" in
15541 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15542 dylib) ac_cv_lib_soname_vkd3d=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15543 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15544 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15545 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15546 fi ;;
15547 esac
15549 rm -f core conftest.err conftest.$ac_objext \
15550 conftest$ac_exeext conftest.$ac_ext
15551 LIBS=$ac_check_soname_save_LIBS
15553 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15555 $as_echo "not found" >&6; }
15557 else
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15559 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15561 cat >>confdefs.h <<_ACEOF
15562 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15563 _ACEOF
15567 CPPFLAGS=$ac_save_CPPFLAGS
15568 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15569 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15572 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15573 case "x$with_vkd3d" in
15574 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported." ;;
15575 xno) ;;
15576 *) as_fn_error $? "vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.
15577 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15578 esac
15581 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15584 EXTRACFLAGS=""
15586 if test "x${GCC}" = "xyes"
15587 then
15588 EXTRACFLAGS="-Wall -pipe"
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15591 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15592 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15593 $as_echo_n "(cached) " >&6
15594 else
15595 if test "$cross_compiling" = yes; then :
15596 ac_cv_c_gcc_strength_bug="no"
15597 else
15598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15599 /* end confdefs.h. */
15600 int L[4] = {0,1,2,3};
15602 main ()
15604 static int Array[3];
15605 unsigned int B = 3;
15606 int i;
15607 for(i=0; i<B; i++) Array[i] = i - 3;
15608 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15609 L[i] = 4;
15610 return (Array[1] != -2 || L[2] != 3)
15612 return 0;
15614 _ACEOF
15615 if ac_fn_c_try_run "$LINENO"; then :
15616 ac_cv_c_gcc_strength_bug="no"
15617 else
15618 ac_cv_c_gcc_strength_bug="yes"
15620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15621 conftest.$ac_objext conftest.beam conftest.$ac_ext
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15626 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15627 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15628 then
15629 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15633 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15634 if ${ac_cv_cflags__fno_builtin+:} false; then :
15635 $as_echo_n "(cached) " >&6
15636 else
15637 ac_wine_try_cflags_saved=$CFLAGS
15638 CFLAGS="$CFLAGS -fno-builtin"
15639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15640 /* end confdefs.h. */
15641 int main(int argc, char **argv) { return 0; }
15642 _ACEOF
15643 if ac_fn_c_try_link "$LINENO"; then :
15644 ac_cv_cflags__fno_builtin=yes
15645 else
15646 ac_cv_cflags__fno_builtin=no
15648 rm -f core conftest.err conftest.$ac_objext \
15649 conftest$ac_exeext conftest.$ac_ext
15650 CFLAGS=$ac_wine_try_cflags_saved
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15653 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15654 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15655 BUILTINFLAG="-fno-builtin"
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15659 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15660 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15661 $as_echo_n "(cached) " >&6
15662 else
15663 ac_wine_try_cflags_saved=$CFLAGS
15664 CFLAGS="$CFLAGS -fno-strict-aliasing"
15665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15666 /* end confdefs.h. */
15667 int main(int argc, char **argv) { return 0; }
15668 _ACEOF
15669 if ac_fn_c_try_link "$LINENO"; then :
15670 ac_cv_cflags__fno_strict_aliasing=yes
15671 else
15672 ac_cv_cflags__fno_strict_aliasing=no
15674 rm -f core conftest.err conftest.$ac_objext \
15675 conftest$ac_exeext conftest.$ac_ext
15676 CFLAGS=$ac_wine_try_cflags_saved
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15679 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15680 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15681 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15684 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15685 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15686 $as_echo_n "(cached) " >&6
15687 else
15688 ac_wine_try_cflags_saved=$CFLAGS
15689 CFLAGS="$CFLAGS -fexcess-precision=standard"
15690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15691 /* end confdefs.h. */
15692 int main(int argc, char **argv) { return 0; }
15693 _ACEOF
15694 if ac_fn_c_try_link "$LINENO"; then :
15695 ac_cv_cflags__fexcess_precision_standard=yes
15696 else
15697 ac_cv_cflags__fexcess_precision_standard=no
15699 rm -f core conftest.err conftest.$ac_objext \
15700 conftest$ac_exeext conftest.$ac_ext
15701 CFLAGS=$ac_wine_try_cflags_saved
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15704 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15705 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15706 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15709 saved_CFLAGS=$CFLAGS
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15711 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15712 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15713 $as_echo_n "(cached) " >&6
15714 else
15715 ac_wine_try_cflags_saved=$CFLAGS
15716 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15718 /* end confdefs.h. */
15719 int main(int argc, char **argv) { return 0; }
15720 _ACEOF
15721 if ac_fn_c_try_link "$LINENO"; then :
15722 ac_cv_cflags__Werror_unknown_warning_option=yes
15723 else
15724 ac_cv_cflags__Werror_unknown_warning_option=no
15726 rm -f core conftest.err conftest.$ac_objext \
15727 conftest$ac_exeext conftest.$ac_ext
15728 CFLAGS=$ac_wine_try_cflags_saved
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15731 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15732 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15733 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15736 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15737 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15738 $as_echo_n "(cached) " >&6
15739 else
15740 ac_wine_try_cflags_saved=$CFLAGS
15741 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15743 /* end confdefs.h. */
15744 int main(int argc, char **argv) { return 0; }
15745 _ACEOF
15746 if ac_fn_c_try_link "$LINENO"; then :
15747 ac_cv_cflags__Wdeclaration_after_statement=yes
15748 else
15749 ac_cv_cflags__Wdeclaration_after_statement=no
15751 rm -f core conftest.err conftest.$ac_objext \
15752 conftest$ac_exeext conftest.$ac_ext
15753 CFLAGS=$ac_wine_try_cflags_saved
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15756 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15757 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15758 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15761 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15762 if ${ac_cv_cflags__Wempty_body+:} false; then :
15763 $as_echo_n "(cached) " >&6
15764 else
15765 ac_wine_try_cflags_saved=$CFLAGS
15766 CFLAGS="$CFLAGS -Wempty-body"
15767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15768 /* end confdefs.h. */
15769 int main(int argc, char **argv) { return 0; }
15770 _ACEOF
15771 if ac_fn_c_try_link "$LINENO"; then :
15772 ac_cv_cflags__Wempty_body=yes
15773 else
15774 ac_cv_cflags__Wempty_body=no
15776 rm -f core conftest.err conftest.$ac_objext \
15777 conftest$ac_exeext conftest.$ac_ext
15778 CFLAGS=$ac_wine_try_cflags_saved
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15781 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15782 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15783 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15786 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15787 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15788 $as_echo_n "(cached) " >&6
15789 else
15790 ac_wine_try_cflags_saved=$CFLAGS
15791 CFLAGS="$CFLAGS -Wignored-qualifiers"
15792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15793 /* end confdefs.h. */
15794 int main(int argc, char **argv) { return 0; }
15795 _ACEOF
15796 if ac_fn_c_try_link "$LINENO"; then :
15797 ac_cv_cflags__Wignored_qualifiers=yes
15798 else
15799 ac_cv_cflags__Wignored_qualifiers=no
15801 rm -f core conftest.err conftest.$ac_objext \
15802 conftest$ac_exeext conftest.$ac_ext
15803 CFLAGS=$ac_wine_try_cflags_saved
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15806 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15807 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15808 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15811 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15812 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15813 $as_echo_n "(cached) " >&6
15814 else
15815 ac_wine_try_cflags_saved=$CFLAGS
15816 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15818 /* end confdefs.h. */
15819 int main(int argc, char **argv) { return 0; }
15820 _ACEOF
15821 if ac_fn_c_try_link "$LINENO"; then :
15822 ac_cv_cflags__Wpacked_not_aligned=yes
15823 else
15824 ac_cv_cflags__Wpacked_not_aligned=no
15826 rm -f core conftest.err conftest.$ac_objext \
15827 conftest$ac_exeext conftest.$ac_ext
15828 CFLAGS=$ac_wine_try_cflags_saved
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15831 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15832 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15833 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15836 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15837 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15838 $as_echo_n "(cached) " >&6
15839 else
15840 ac_wine_try_cflags_saved=$CFLAGS
15841 CFLAGS="$CFLAGS -Wpragma-pack"
15842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15843 /* end confdefs.h. */
15844 int main(int argc, char **argv) { return 0; }
15845 _ACEOF
15846 if ac_fn_c_try_link "$LINENO"; then :
15847 ac_cv_cflags__Wpragma_pack=yes
15848 else
15849 ac_cv_cflags__Wpragma_pack=no
15851 rm -f core conftest.err conftest.$ac_objext \
15852 conftest$ac_exeext conftest.$ac_ext
15853 CFLAGS=$ac_wine_try_cflags_saved
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15856 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15857 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15858 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15861 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15862 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15863 $as_echo_n "(cached) " >&6
15864 else
15865 ac_wine_try_cflags_saved=$CFLAGS
15866 CFLAGS="$CFLAGS -Wshift-overflow=2"
15867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15869 int main(int argc, char **argv) { return 0; }
15870 _ACEOF
15871 if ac_fn_c_try_link "$LINENO"; then :
15872 ac_cv_cflags__Wshift_overflow_2=yes
15873 else
15874 ac_cv_cflags__Wshift_overflow_2=no
15876 rm -f core conftest.err conftest.$ac_objext \
15877 conftest$ac_exeext conftest.$ac_ext
15878 CFLAGS=$ac_wine_try_cflags_saved
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15881 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15882 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15883 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15886 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15887 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15888 $as_echo_n "(cached) " >&6
15889 else
15890 ac_wine_try_cflags_saved=$CFLAGS
15891 CFLAGS="$CFLAGS -Wstrict-prototypes"
15892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15894 int main(int argc, char **argv) { return 0; }
15895 _ACEOF
15896 if ac_fn_c_try_link "$LINENO"; then :
15897 ac_cv_cflags__Wstrict_prototypes=yes
15898 else
15899 ac_cv_cflags__Wstrict_prototypes=no
15901 rm -f core conftest.err conftest.$ac_objext \
15902 conftest$ac_exeext conftest.$ac_ext
15903 CFLAGS=$ac_wine_try_cflags_saved
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15906 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15907 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15908 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15911 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15912 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15913 $as_echo_n "(cached) " >&6
15914 else
15915 ac_wine_try_cflags_saved=$CFLAGS
15916 CFLAGS="$CFLAGS -Wtype-limits"
15917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15918 /* end confdefs.h. */
15919 int main(int argc, char **argv) { return 0; }
15920 _ACEOF
15921 if ac_fn_c_try_link "$LINENO"; then :
15922 ac_cv_cflags__Wtype_limits=yes
15923 else
15924 ac_cv_cflags__Wtype_limits=no
15926 rm -f core conftest.err conftest.$ac_objext \
15927 conftest$ac_exeext conftest.$ac_ext
15928 CFLAGS=$ac_wine_try_cflags_saved
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15931 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15932 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15933 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15936 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15937 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15938 $as_echo_n "(cached) " >&6
15939 else
15940 ac_wine_try_cflags_saved=$CFLAGS
15941 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15943 /* end confdefs.h. */
15944 int main(int argc, char **argv) { return 0; }
15945 _ACEOF
15946 if ac_fn_c_try_link "$LINENO"; then :
15947 ac_cv_cflags__Wunused_but_set_parameter=yes
15948 else
15949 ac_cv_cflags__Wunused_but_set_parameter=no
15951 rm -f core conftest.err conftest.$ac_objext \
15952 conftest$ac_exeext conftest.$ac_ext
15953 CFLAGS=$ac_wine_try_cflags_saved
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15956 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15957 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15958 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15961 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15962 if ${ac_cv_cflags__Wvla+:} false; then :
15963 $as_echo_n "(cached) " >&6
15964 else
15965 ac_wine_try_cflags_saved=$CFLAGS
15966 CFLAGS="$CFLAGS -Wvla"
15967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15968 /* end confdefs.h. */
15969 int main(int argc, char **argv) { return 0; }
15970 _ACEOF
15971 if ac_fn_c_try_link "$LINENO"; then :
15972 ac_cv_cflags__Wvla=yes
15973 else
15974 ac_cv_cflags__Wvla=no
15976 rm -f core conftest.err conftest.$ac_objext \
15977 conftest$ac_exeext conftest.$ac_ext
15978 CFLAGS=$ac_wine_try_cflags_saved
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15981 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15982 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15983 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15986 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15987 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15988 $as_echo_n "(cached) " >&6
15989 else
15990 ac_wine_try_cflags_saved=$CFLAGS
15991 CFLAGS="$CFLAGS -Wwrite-strings"
15992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15993 /* end confdefs.h. */
15994 int main(int argc, char **argv) { return 0; }
15995 _ACEOF
15996 if ac_fn_c_try_link "$LINENO"; then :
15997 ac_cv_cflags__Wwrite_strings=yes
15998 else
15999 ac_cv_cflags__Wwrite_strings=no
16001 rm -f core conftest.err conftest.$ac_objext \
16002 conftest$ac_exeext conftest.$ac_ext
16003 CFLAGS=$ac_wine_try_cflags_saved
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16006 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16007 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16008 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16012 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16013 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16014 $as_echo_n "(cached) " >&6
16015 else
16016 ac_wine_try_cflags_saved=$CFLAGS
16017 CFLAGS="$CFLAGS -Wpointer-arith"
16018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16019 /* end confdefs.h. */
16020 int main(int argc, char **argv) { return 0; }
16021 _ACEOF
16022 if ac_fn_c_try_link "$LINENO"; then :
16023 ac_cv_cflags__Wpointer_arith=yes
16024 else
16025 ac_cv_cflags__Wpointer_arith=no
16027 rm -f core conftest.err conftest.$ac_objext \
16028 conftest$ac_exeext conftest.$ac_ext
16029 CFLAGS=$ac_wine_try_cflags_saved
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16032 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16033 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16034 saved_string_h_CFLAGS=$CFLAGS
16035 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
16037 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
16038 if ${ac_cv_c_string_h_warnings+:} false; then :
16039 $as_echo_n "(cached) " >&6
16040 else
16041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16042 /* end confdefs.h. */
16043 #include <string.h>
16045 main ()
16049 return 0;
16051 _ACEOF
16052 if ac_fn_c_try_compile "$LINENO"; then :
16053 ac_cv_c_string_h_warnings=no
16054 else
16055 ac_cv_c_string_h_warnings=yes
16057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
16060 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
16061 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16062 CFLAGS=$saved_string_h_CFLAGS
16065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
16066 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
16067 if ${ac_cv_cflags__Wlogical_op+:} false; then :
16068 $as_echo_n "(cached) " >&6
16069 else
16070 ac_wine_try_cflags_saved=$CFLAGS
16071 CFLAGS="$CFLAGS -Wlogical-op"
16072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16073 /* end confdefs.h. */
16074 int main(int argc, char **argv) { return 0; }
16075 _ACEOF
16076 if ac_fn_c_try_link "$LINENO"; then :
16077 ac_cv_cflags__Wlogical_op=yes
16078 else
16079 ac_cv_cflags__Wlogical_op=no
16081 rm -f core conftest.err conftest.$ac_objext \
16082 conftest$ac_exeext conftest.$ac_ext
16083 CFLAGS=$ac_wine_try_cflags_saved
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
16086 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
16087 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
16088 saved_string_h_CFLAGS=$CFLAGS
16089 CFLAGS="$CFLAGS -Wlogical-op -Werror"
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
16091 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
16092 if ${ac_cv_c_logicalop_noisy+:} false; then :
16093 $as_echo_n "(cached) " >&6
16094 else
16095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16096 /* end confdefs.h. */
16097 #include <string.h>
16098 char*f(const char *h,char n) {return strchr(h,n);}
16100 main ()
16104 return 0;
16106 _ACEOF
16107 if ac_fn_c_try_compile "$LINENO"; then :
16108 ac_cv_c_logicalop_noisy=no
16109 else
16110 ac_cv_c_logicalop_noisy=yes
16112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
16115 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
16116 CFLAGS=$saved_string_h_CFLAGS
16117 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
16120 CFLAGS=$saved_CFLAGS
16122 for ac_flag in $CFLAGS; do
16123 case $ac_flag in
16124 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
16125 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
16126 if ${ac_cv_cflags__gdwarf_2+:} false; then :
16127 $as_echo_n "(cached) " >&6
16128 else
16129 ac_wine_try_cflags_saved=$CFLAGS
16130 CFLAGS="$CFLAGS -gdwarf-2"
16131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16132 /* end confdefs.h. */
16133 int main(int argc, char **argv) { return 0; }
16134 _ACEOF
16135 if ac_fn_c_try_link "$LINENO"; then :
16136 ac_cv_cflags__gdwarf_2=yes
16137 else
16138 ac_cv_cflags__gdwarf_2=no
16140 rm -f core conftest.err conftest.$ac_objext \
16141 conftest$ac_exeext conftest.$ac_ext
16142 CFLAGS=$ac_wine_try_cflags_saved
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16145 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16146 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16147 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16150 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16151 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16152 $as_echo_n "(cached) " >&6
16153 else
16154 ac_wine_try_cflags_saved=$CFLAGS
16155 CFLAGS="$CFLAGS -gstrict-dwarf"
16156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16157 /* end confdefs.h. */
16158 int main(int argc, char **argv) { return 0; }
16159 _ACEOF
16160 if ac_fn_c_try_link "$LINENO"; then :
16161 ac_cv_cflags__gstrict_dwarf=yes
16162 else
16163 ac_cv_cflags__gstrict_dwarf=no
16165 rm -f core conftest.err conftest.$ac_objext \
16166 conftest$ac_exeext conftest.$ac_ext
16167 CFLAGS=$ac_wine_try_cflags_saved
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16170 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16171 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16172 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16173 fi ;;
16174 esac
16175 done
16177 case $host_cpu in
16178 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16179 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16180 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16181 $as_echo_n "(cached) " >&6
16182 else
16183 ac_wine_try_cflags_saved=$CFLAGS
16184 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16186 /* end confdefs.h. */
16187 int main(int argc, char **argv) { return 0; }
16188 _ACEOF
16189 if ac_fn_c_try_link "$LINENO"; then :
16190 ac_cv_cflags__fno_omit_frame_pointer=yes
16191 else
16192 ac_cv_cflags__fno_omit_frame_pointer=no
16194 rm -f core conftest.err conftest.$ac_objext \
16195 conftest$ac_exeext conftest.$ac_ext
16196 CFLAGS=$ac_wine_try_cflags_saved
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16199 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16200 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16201 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16202 fi ;;
16203 esac
16205 case $host in
16206 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16207 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16208 if ${ac_cv_cflags__Wno_format+:} false; then :
16209 $as_echo_n "(cached) " >&6
16210 else
16211 ac_wine_try_cflags_saved=$CFLAGS
16212 CFLAGS="$CFLAGS -Wno-format"
16213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16214 /* end confdefs.h. */
16215 int main(int argc, char **argv) { return 0; }
16216 _ACEOF
16217 if ac_fn_c_try_link "$LINENO"; then :
16218 ac_cv_cflags__Wno_format=yes
16219 else
16220 ac_cv_cflags__Wno_format=no
16222 rm -f core conftest.err conftest.$ac_objext \
16223 conftest$ac_exeext conftest.$ac_ext
16224 CFLAGS=$ac_wine_try_cflags_saved
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16227 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16228 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16229 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16230 fi ;;
16231 esac
16233 if test "x$enable_maintainer_mode" = "xyes"
16234 then
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16236 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16237 if ${ac_cv_cflags__Werror+:} false; then :
16238 $as_echo_n "(cached) " >&6
16239 else
16240 ac_wine_try_cflags_saved=$CFLAGS
16241 CFLAGS="$CFLAGS -Werror"
16242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16243 /* end confdefs.h. */
16244 int main(int argc, char **argv) { return 0; }
16245 _ACEOF
16246 if ac_fn_c_try_link "$LINENO"; then :
16247 ac_cv_cflags__Werror=yes
16248 else
16249 ac_cv_cflags__Werror=no
16251 rm -f core conftest.err conftest.$ac_objext \
16252 conftest$ac_exeext conftest.$ac_ext
16253 CFLAGS=$ac_wine_try_cflags_saved
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16256 $as_echo "$ac_cv_cflags__Werror" >&6; }
16257 if test "x$ac_cv_cflags__Werror" = xyes; then :
16258 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16262 saved_CFLAGS="$CFLAGS"
16263 CFLAGS="$CFLAGS -Werror"
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16265 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16266 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16267 $as_echo_n "(cached) " >&6
16268 else
16269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16270 /* end confdefs.h. */
16271 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16273 main ()
16277 return 0;
16279 _ACEOF
16280 if ac_fn_c_try_compile "$LINENO"; then :
16281 ac_cv_have_ms_hook_prologue="yes"
16282 else
16283 ac_cv_have_ms_hook_prologue="no"
16285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16288 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16289 CFLAGS="$saved_CFLAGS"
16290 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16291 then
16293 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16295 else
16296 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16303 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16304 if ${ac_cv_c_fortify_enabled+:} false; then :
16305 $as_echo_n "(cached) " >&6
16306 else
16307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16308 /* end confdefs.h. */
16309 #include <string.h>
16311 main ()
16313 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16314 #error Fortify enabled
16315 #endif
16317 return 0;
16319 _ACEOF
16320 if ac_fn_c_try_compile "$LINENO"; then :
16321 ac_cv_c_fortify_enabled=no
16322 else
16323 ac_cv_c_fortify_enabled=yes
16325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16328 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16329 if test "$ac_cv_c_fortify_enabled" = yes
16330 then
16331 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16336 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16337 if ${ac_cv_c_extern_prefix+:} false; then :
16338 $as_echo_n "(cached) " >&6
16339 else
16340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16341 /* end confdefs.h. */
16342 extern int ac_test;
16344 main ()
16346 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16348 return 0;
16350 _ACEOF
16351 if ac_fn_c_try_link "$LINENO"; then :
16352 ac_cv_c_extern_prefix="yes"
16353 else
16354 ac_cv_c_extern_prefix="no"
16356 rm -f core conftest.err conftest.$ac_objext \
16357 conftest$ac_exeext conftest.$ac_ext
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16360 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16362 case $host_cpu in
16363 *i[3456789]86*)
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16365 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16366 if ${ac_cv_c_stdcall_suffix+:} false; then :
16367 $as_echo_n "(cached) " >&6
16368 else
16369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16371 #ifndef _MSC_VER
16372 #define __stdcall __attribute__((__stdcall__))
16373 #endif
16374 int __stdcall ac_test(int i) { return i; }
16376 main ()
16378 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16380 return 0;
16382 _ACEOF
16383 if ac_fn_c_try_link "$LINENO"; then :
16384 ac_cv_c_stdcall_suffix="yes"
16385 else
16386 ac_cv_c_stdcall_suffix="no"
16388 rm -f core conftest.err conftest.$ac_objext \
16389 conftest$ac_exeext conftest.$ac_ext
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16392 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16393 *) ac_cv_c_stdcall_suffix="no" ;;
16394 esac
16397 if test "$ac_cv_c_extern_prefix" = "yes"
16398 then
16399 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16401 asm_name_prefix="_"
16402 else
16403 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16405 asm_name_prefix=""
16409 if test "$ac_cv_c_stdcall_suffix" = "yes"
16410 then
16411 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16413 else
16414 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16420 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16421 if ${ac_cv_asm_func_def+:} false; then :
16422 $as_echo_n "(cached) " >&6
16423 else
16424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16425 /* end confdefs.h. */
16428 main ()
16430 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16432 return 0;
16434 _ACEOF
16435 if ac_fn_c_try_link "$LINENO"; then :
16436 ac_cv_asm_func_def=".def"
16437 else
16438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16439 /* end confdefs.h. */
16442 main ()
16444 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16446 return 0;
16448 _ACEOF
16449 if ac_fn_c_try_link "$LINENO"; then :
16450 ac_cv_asm_func_def=".type @function"
16451 else
16452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16453 /* end confdefs.h. */
16456 main ()
16458 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16460 return 0;
16462 _ACEOF
16463 if ac_fn_c_try_link "$LINENO"; then :
16464 ac_cv_asm_func_def=".type 2"
16465 else
16466 ac_cv_asm_func_def="unknown"
16468 rm -f core conftest.err conftest.$ac_objext \
16469 conftest$ac_exeext conftest.$ac_ext
16471 rm -f core conftest.err conftest.$ac_objext \
16472 conftest$ac_exeext conftest.$ac_ext
16474 rm -f core conftest.err conftest.$ac_objext \
16475 conftest$ac_exeext conftest.$ac_ext
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16478 $as_echo "$ac_cv_asm_func_def" >&6; }
16481 case "$ac_cv_asm_func_def" in
16482 ".def")
16483 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
16485 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16486 ".type @function")
16487 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
16489 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16490 ".type 2")
16491 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
16493 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16495 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
16497 asm_func_header="" ;;
16498 esac
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16501 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16502 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16503 $as_echo_n "(cached) " >&6
16504 else
16505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16506 /* end confdefs.h. */
16507 asm(".text\n\t.long 0");
16509 main ()
16513 return 0;
16515 _ACEOF
16516 if ac_fn_c_try_compile "$LINENO"; then :
16517 ac_cv_c_asm_outside_funcs="yes"
16518 else
16519 ac_cv_c_asm_outside_funcs="no"
16521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16524 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16527 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16528 if ${ac_cv_c_dot_previous+:} false; then :
16529 $as_echo_n "(cached) " >&6
16530 else
16531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16532 /* end confdefs.h. */
16535 main ()
16537 asm(".text\nac_test:\t.long 0\n\t.previous");
16539 return 0;
16541 _ACEOF
16542 if ac_fn_c_try_link "$LINENO"; then :
16543 ac_cv_c_dot_previous="yes"
16544 else
16545 ac_cv_c_dot_previous="no"
16547 rm -f core conftest.err conftest.$ac_objext \
16548 conftest$ac_exeext conftest.$ac_ext
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16551 $as_echo "$ac_cv_c_dot_previous" >&6; }
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16554 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16555 if ${ac_cv_c_cfi_support+:} false; then :
16556 $as_echo_n "(cached) " >&6
16557 else
16558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16559 /* end confdefs.h. */
16560 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16562 main ()
16566 return 0;
16568 _ACEOF
16569 if ac_fn_c_try_compile "$LINENO"; then :
16570 ac_cv_c_cfi_support="yes"
16571 else
16572 ac_cv_c_cfi_support="no"
16574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16577 $as_echo "$ac_cv_c_cfi_support" >&6; }
16579 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16580 asm_func_trailer=""
16581 if test "$ac_cv_c_dot_previous" = "yes"
16582 then
16583 asm_func_trailer="\\n\\t.previous"
16585 if test "$ac_cv_c_cfi_support" = "yes"
16586 then
16587 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16588 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16590 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16592 UNWINDFLAGS=-fasynchronous-unwind-tables
16594 else
16595 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16597 if test "x$enable_win64" = "xyes"
16598 then
16599 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16603 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16606 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16607 then
16608 cat >>confdefs.h <<_ACEOF
16609 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16610 _ACEOF
16612 else
16613 cat >>confdefs.h <<_ACEOF
16614 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16615 _ACEOF
16619 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16622 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16626 case $build_os in
16627 cygwin*|mingw32*) TOOLSEXT=".exe"
16629 esac
16631 case $host_os in
16632 linux*)
16633 case $host_cpu in
16634 *i[3456789]86*|x86_64*|*aarch64*)
16635 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16636 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16638 esac
16640 esac
16643 ac_save_CFLAGS="$CFLAGS"
16644 CFLAGS="$CFLAGS $BUILTINFLAG"
16645 for ac_func in \
16646 __res_get_state \
16647 __res_getservers \
16648 _finite \
16649 _isnan \
16650 _pclose \
16651 _popen \
16652 _snprintf \
16653 _spawnvp \
16654 _strdup \
16655 _stricmp \
16656 _strnicmp \
16657 _strtoi64 \
16658 _strtoui64 \
16659 _vsnprintf \
16660 asctime_r \
16661 chsize \
16662 dlopen \
16663 epoll_create \
16664 ffs \
16665 finitef \
16666 fnmatch \
16667 fork \
16668 fpclass \
16669 fstatfs \
16670 fstatvfs \
16671 ftruncate \
16672 futimens \
16673 futimes \
16674 futimesat \
16675 getattrlist \
16676 getauxval \
16677 getifaddrs \
16678 getopt_long_only \
16679 getpwuid \
16680 gettimeofday \
16681 getuid \
16682 kqueue \
16683 lstat \
16684 memmove \
16685 mmap \
16686 pclose \
16687 pipe2 \
16688 poll \
16689 popen \
16690 port_create \
16691 prctl \
16692 pread \
16693 proc_pidinfo \
16694 pwrite \
16695 readdir \
16696 readlink \
16697 sched_yield \
16698 select \
16699 setproctitle \
16700 setprogname \
16701 setrlimit \
16702 settimeofday \
16703 sigaltstack \
16704 sigprocmask \
16705 snprintf \
16706 statfs \
16707 statvfs \
16708 strcasecmp \
16709 strdup \
16710 strerror \
16711 strncasecmp \
16712 strnlen \
16713 strtold \
16714 strtoll \
16715 strtoull \
16716 symlink \
16717 sysinfo \
16718 tcdrain \
16719 thr_kill2 \
16720 timegm \
16721 usleep \
16722 vsnprintf
16724 do :
16725 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16726 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16727 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16728 cat >>confdefs.h <<_ACEOF
16729 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16730 _ACEOF
16733 done
16735 CFLAGS="$ac_save_CFLAGS"
16737 if test "$ac_cv_func_dlopen" = no
16738 then
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16740 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16741 if ${ac_cv_lib_dl_dlopen+:} false; then :
16742 $as_echo_n "(cached) " >&6
16743 else
16744 ac_check_lib_save_LIBS=$LIBS
16745 LIBS="-ldl $LIBS"
16746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16747 /* end confdefs.h. */
16749 /* Override any GCC internal prototype to avoid an error.
16750 Use char because int might match the return type of a GCC
16751 builtin and then its argument prototype would still apply. */
16752 #ifdef __cplusplus
16753 extern "C"
16754 #endif
16755 char dlopen ();
16757 main ()
16759 return dlopen ();
16761 return 0;
16763 _ACEOF
16764 if ac_fn_c_try_link "$LINENO"; then :
16765 ac_cv_lib_dl_dlopen=yes
16766 else
16767 ac_cv_lib_dl_dlopen=no
16769 rm -f core conftest.err conftest.$ac_objext \
16770 conftest$ac_exeext conftest.$ac_ext
16771 LIBS=$ac_check_lib_save_LIBS
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16774 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16775 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16776 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16777 DL_LIBS="-ldl"
16782 ac_wine_check_funcs_save_LIBS="$LIBS"
16783 LIBS="$LIBS $DL_LIBS"
16784 for ac_func in dladdr
16785 do :
16786 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16787 if test "x$ac_cv_func_dladdr" = xyes; then :
16788 cat >>confdefs.h <<_ACEOF
16789 #define HAVE_DLADDR 1
16790 _ACEOF
16793 done
16795 LIBS="$ac_wine_check_funcs_save_LIBS"
16797 if test "$ac_cv_func_poll" = no
16798 then
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16800 $as_echo_n "checking for poll in -lpoll... " >&6; }
16801 if ${ac_cv_lib_poll_poll+:} false; then :
16802 $as_echo_n "(cached) " >&6
16803 else
16804 ac_check_lib_save_LIBS=$LIBS
16805 LIBS="-lpoll $LIBS"
16806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16807 /* end confdefs.h. */
16809 /* Override any GCC internal prototype to avoid an error.
16810 Use char because int might match the return type of a GCC
16811 builtin and then its argument prototype would still apply. */
16812 #ifdef __cplusplus
16813 extern "C"
16814 #endif
16815 char poll ();
16817 main ()
16819 return poll ();
16821 return 0;
16823 _ACEOF
16824 if ac_fn_c_try_link "$LINENO"; then :
16825 ac_cv_lib_poll_poll=yes
16826 else
16827 ac_cv_lib_poll_poll=no
16829 rm -f core conftest.err conftest.$ac_objext \
16830 conftest$ac_exeext conftest.$ac_ext
16831 LIBS=$ac_check_lib_save_LIBS
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16834 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16835 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16836 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16837 POLL_LIBS="-lpoll"
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16844 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16845 if ${ac_cv_search_gethostbyname+:} false; then :
16846 $as_echo_n "(cached) " >&6
16847 else
16848 ac_func_search_save_LIBS=$LIBS
16849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16850 /* end confdefs.h. */
16852 /* Override any GCC internal prototype to avoid an error.
16853 Use char because int might match the return type of a GCC
16854 builtin and then its argument prototype would still apply. */
16855 #ifdef __cplusplus
16856 extern "C"
16857 #endif
16858 char gethostbyname ();
16860 main ()
16862 return gethostbyname ();
16864 return 0;
16866 _ACEOF
16867 for ac_lib in '' nsl; do
16868 if test -z "$ac_lib"; then
16869 ac_res="none required"
16870 else
16871 ac_res=-l$ac_lib
16872 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16874 if ac_fn_c_try_link "$LINENO"; then :
16875 ac_cv_search_gethostbyname=$ac_res
16877 rm -f core conftest.err conftest.$ac_objext \
16878 conftest$ac_exeext
16879 if ${ac_cv_search_gethostbyname+:} false; then :
16880 break
16882 done
16883 if ${ac_cv_search_gethostbyname+:} false; then :
16885 else
16886 ac_cv_search_gethostbyname=no
16888 rm conftest.$ac_ext
16889 LIBS=$ac_func_search_save_LIBS
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16892 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16893 ac_res=$ac_cv_search_gethostbyname
16894 if test "$ac_res" != no; then :
16895 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16901 $as_echo_n "checking for library containing connect... " >&6; }
16902 if ${ac_cv_search_connect+:} false; then :
16903 $as_echo_n "(cached) " >&6
16904 else
16905 ac_func_search_save_LIBS=$LIBS
16906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16907 /* end confdefs.h. */
16909 /* Override any GCC internal prototype to avoid an error.
16910 Use char because int might match the return type of a GCC
16911 builtin and then its argument prototype would still apply. */
16912 #ifdef __cplusplus
16913 extern "C"
16914 #endif
16915 char connect ();
16917 main ()
16919 return connect ();
16921 return 0;
16923 _ACEOF
16924 for ac_lib in '' socket; do
16925 if test -z "$ac_lib"; then
16926 ac_res="none required"
16927 else
16928 ac_res=-l$ac_lib
16929 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16931 if ac_fn_c_try_link "$LINENO"; then :
16932 ac_cv_search_connect=$ac_res
16934 rm -f core conftest.err conftest.$ac_objext \
16935 conftest$ac_exeext
16936 if ${ac_cv_search_connect+:} false; then :
16937 break
16939 done
16940 if ${ac_cv_search_connect+:} false; then :
16942 else
16943 ac_cv_search_connect=no
16945 rm conftest.$ac_ext
16946 LIBS=$ac_func_search_save_LIBS
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16949 $as_echo "$ac_cv_search_connect" >&6; }
16950 ac_res=$ac_cv_search_connect
16951 if test "$ac_res" != no; then :
16952 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16958 $as_echo_n "checking for library containing inet_aton... " >&6; }
16959 if ${ac_cv_search_inet_aton+:} false; then :
16960 $as_echo_n "(cached) " >&6
16961 else
16962 ac_func_search_save_LIBS=$LIBS
16963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h. */
16966 /* Override any GCC internal prototype to avoid an error.
16967 Use char because int might match the return type of a GCC
16968 builtin and then its argument prototype would still apply. */
16969 #ifdef __cplusplus
16970 extern "C"
16971 #endif
16972 char inet_aton ();
16974 main ()
16976 return inet_aton ();
16978 return 0;
16980 _ACEOF
16981 for ac_lib in '' resolv; do
16982 if test -z "$ac_lib"; then
16983 ac_res="none required"
16984 else
16985 ac_res=-l$ac_lib
16986 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16988 if ac_fn_c_try_link "$LINENO"; then :
16989 ac_cv_search_inet_aton=$ac_res
16991 rm -f core conftest.err conftest.$ac_objext \
16992 conftest$ac_exeext
16993 if ${ac_cv_search_inet_aton+:} false; then :
16994 break
16996 done
16997 if ${ac_cv_search_inet_aton+:} false; then :
16999 else
17000 ac_cv_search_inet_aton=no
17002 rm conftest.$ac_ext
17003 LIBS=$ac_func_search_save_LIBS
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17006 $as_echo "$ac_cv_search_inet_aton" >&6; }
17007 ac_res=$ac_cv_search_inet_aton
17008 if test "$ac_res" != no; then :
17009 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17014 for ac_func in \
17015 getaddrinfo \
17016 getnameinfo \
17017 getnetbyname \
17018 getprotobyname \
17019 getprotobynumber \
17020 getservbyport \
17021 inet_addr \
17022 inet_network \
17023 inet_ntop \
17024 inet_pton \
17025 sendmsg \
17026 socketpair \
17028 do :
17029 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17030 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17031 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17032 cat >>confdefs.h <<_ACEOF
17033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17034 _ACEOF
17037 done
17040 ac_save_LIBS=$LIBS
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17042 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17043 if ${ac_cv_search_clock_gettime+:} false; then :
17044 $as_echo_n "(cached) " >&6
17045 else
17046 ac_func_search_save_LIBS=$LIBS
17047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17048 /* end confdefs.h. */
17050 /* Override any GCC internal prototype to avoid an error.
17051 Use char because int might match the return type of a GCC
17052 builtin and then its argument prototype would still apply. */
17053 #ifdef __cplusplus
17054 extern "C"
17055 #endif
17056 char clock_gettime ();
17058 main ()
17060 return clock_gettime ();
17062 return 0;
17064 _ACEOF
17065 for ac_lib in '' rt; do
17066 if test -z "$ac_lib"; then
17067 ac_res="none required"
17068 else
17069 ac_res=-l$ac_lib
17070 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17072 if ac_fn_c_try_link "$LINENO"; then :
17073 ac_cv_search_clock_gettime=$ac_res
17075 rm -f core conftest.err conftest.$ac_objext \
17076 conftest$ac_exeext
17077 if ${ac_cv_search_clock_gettime+:} false; then :
17078 break
17080 done
17081 if ${ac_cv_search_clock_gettime+:} false; then :
17083 else
17084 ac_cv_search_clock_gettime=no
17086 rm conftest.$ac_ext
17087 LIBS=$ac_func_search_save_LIBS
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17090 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17091 ac_res=$ac_cv_search_clock_gettime
17092 if test "$ac_res" != no; then :
17093 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17095 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17097 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17101 LIBS=$ac_save_LIBS
17103 if test "x$with_ldap" != "xno"
17104 then
17105 if ${LDAP_CFLAGS:+false} :; then :
17106 if ${PKG_CONFIG+:} false; then :
17107 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17111 if ${LDAP_LIBS:+false} :; then :
17112 if ${PKG_CONFIG+:} false; then :
17113 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17117 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17118 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17119 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17120 ac_save_CPPFLAGS=$CPPFLAGS
17121 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17122 for ac_header in ldap.h lber.h
17123 do :
17124 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17125 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17126 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17127 cat >>confdefs.h <<_ACEOF
17128 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17129 _ACEOF
17133 done
17135 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17136 then
17137 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17139 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17141 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17142 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17143 $as_echo_n "(cached) " >&6
17144 else
17145 ac_check_lib_save_LIBS=$LIBS
17146 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17148 /* end confdefs.h. */
17150 /* Override any GCC internal prototype to avoid an error.
17151 Use char because int might match the return type of a GCC
17152 builtin and then its argument prototype would still apply. */
17153 #ifdef __cplusplus
17154 extern "C"
17155 #endif
17156 char ldap_initialize ();
17158 main ()
17160 return ldap_initialize ();
17162 return 0;
17164 _ACEOF
17165 if ac_fn_c_try_link "$LINENO"; then :
17166 ac_cv_lib_ldap_r_ldap_initialize=yes
17167 else
17168 ac_cv_lib_ldap_r_ldap_initialize=no
17170 rm -f core conftest.err conftest.$ac_objext \
17171 conftest$ac_exeext conftest.$ac_ext
17172 LIBS=$ac_check_lib_save_LIBS
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17175 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17176 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17178 $as_echo_n "checking for ber_init in -llber... " >&6; }
17179 if ${ac_cv_lib_lber_ber_init+:} false; then :
17180 $as_echo_n "(cached) " >&6
17181 else
17182 ac_check_lib_save_LIBS=$LIBS
17183 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17185 /* end confdefs.h. */
17187 /* Override any GCC internal prototype to avoid an error.
17188 Use char because int might match the return type of a GCC
17189 builtin and then its argument prototype would still apply. */
17190 #ifdef __cplusplus
17191 extern "C"
17192 #endif
17193 char ber_init ();
17195 main ()
17197 return ber_init ();
17199 return 0;
17201 _ACEOF
17202 if ac_fn_c_try_link "$LINENO"; then :
17203 ac_cv_lib_lber_ber_init=yes
17204 else
17205 ac_cv_lib_lber_ber_init=no
17207 rm -f core conftest.err conftest.$ac_objext \
17208 conftest$ac_exeext conftest.$ac_ext
17209 LIBS=$ac_check_lib_save_LIBS
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17212 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17213 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17215 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17217 else
17218 LDAP_LIBS=""
17221 else
17222 LDAP_LIBS=""
17225 else
17226 LDAP_LIBS=""
17229 ac_wine_check_funcs_save_LIBS="$LIBS"
17230 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17231 for ac_func in \
17232 ldap_count_references \
17233 ldap_first_reference \
17234 ldap_next_reference \
17235 ldap_parse_reference \
17236 ldap_parse_sort_control \
17237 ldap_parse_sortresponse_control \
17238 ldap_parse_vlv_control \
17239 ldap_parse_vlvresponse_control
17240 do :
17241 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17242 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17243 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17244 cat >>confdefs.h <<_ACEOF
17245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17246 _ACEOF
17249 done
17251 LIBS="$ac_wine_check_funcs_save_LIBS"
17252 else
17253 LDAP_LIBS=""
17255 CPPFLAGS=$ac_save_CPPFLAGS
17256 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17257 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17260 if test "x$LDAP_LIBS" = "x"; then :
17261 case "x$with_ldap" in
17262 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17263 xno) ;;
17264 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17265 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17266 esac
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
17271 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
17272 if ${wine_cv_one_arg_mkdir+:} false; then :
17273 $as_echo_n "(cached) " >&6
17274 else
17275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17276 /* end confdefs.h. */
17277 #include <sys/stat.h>
17279 main ()
17281 mkdir("foo");
17283 return 0;
17285 _ACEOF
17286 if ac_fn_c_try_compile "$LINENO"; then :
17287 wine_cv_one_arg_mkdir=yes
17288 else
17289 wine_cv_one_arg_mkdir=no
17291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
17294 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
17295 if test "$wine_cv_one_arg_mkdir" = "yes"
17296 then
17298 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17303 $as_echo_n "checking for sched_setaffinity... " >&6; }
17304 if ${wine_cv_have_sched_setaffinity+:} false; then :
17305 $as_echo_n "(cached) " >&6
17306 else
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 #define _GNU_SOURCE
17310 #include <sched.h>
17312 main ()
17314 sched_setaffinity(0, 0, 0);
17316 return 0;
17318 _ACEOF
17319 if ac_fn_c_try_link "$LINENO"; then :
17320 wine_cv_have_sched_setaffinity=yes
17321 else
17322 wine_cv_have_sched_setaffinity=no
17324 rm -f core conftest.err conftest.$ac_objext \
17325 conftest$ac_exeext conftest.$ac_ext
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17328 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17329 if test "$wine_cv_have_sched_setaffinity" = "yes"
17330 then
17332 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17337 $as_echo_n "checking for fallocate... " >&6; }
17338 if ${wine_cv_have_fallocate+:} false; then :
17339 $as_echo_n "(cached) " >&6
17340 else
17341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17342 /* end confdefs.h. */
17343 #define _GNU_SOURCE
17344 #include <fcntl.h>
17346 main ()
17348 fallocate(-1, 0, 0, 0);
17350 return 0;
17352 _ACEOF
17353 if ac_fn_c_try_link "$LINENO"; then :
17354 wine_cv_have_fallocate=yes
17355 else
17356 wine_cv_have_fallocate=no
17358 rm -f core conftest.err conftest.$ac_objext \
17359 conftest$ac_exeext conftest.$ac_ext
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17362 $as_echo "$wine_cv_have_fallocate" >&6; }
17363 if test "$wine_cv_have_fallocate" = "yes"
17364 then
17366 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17372 $as_echo_n "checking for inline... " >&6; }
17373 if ${ac_cv_c_inline+:} false; then :
17374 $as_echo_n "(cached) " >&6
17375 else
17376 ac_cv_c_inline=no
17377 for ac_kw in inline __inline__ __inline; do
17378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17379 /* end confdefs.h. */
17380 #ifndef __cplusplus
17381 typedef int foo_t;
17382 static $ac_kw foo_t static_foo () {return 0; }
17383 $ac_kw foo_t foo () {return 0; }
17384 #endif
17386 _ACEOF
17387 if ac_fn_c_try_compile "$LINENO"; then :
17388 ac_cv_c_inline=$ac_kw
17390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17391 test "$ac_cv_c_inline" != no && break
17392 done
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17396 $as_echo "$ac_cv_c_inline" >&6; }
17398 case $ac_cv_c_inline in
17399 inline | yes) ;;
17401 case $ac_cv_c_inline in
17402 no) ac_val=;;
17403 *) ac_val=$ac_cv_c_inline;;
17404 esac
17405 cat >>confdefs.h <<_ACEOF
17406 #ifndef __cplusplus
17407 #define inline $ac_val
17408 #endif
17409 _ACEOF
17411 esac
17413 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
17414 if test "x$ac_cv_type_mode_t" = xyes; then :
17416 cat >>confdefs.h <<_ACEOF
17417 #define HAVE_MODE_T 1
17418 _ACEOF
17422 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
17423 if test "x$ac_cv_type_off_t" = xyes; then :
17425 cat >>confdefs.h <<_ACEOF
17426 #define HAVE_OFF_T 1
17427 _ACEOF
17431 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
17432 if test "x$ac_cv_type_pid_t" = xyes; then :
17434 cat >>confdefs.h <<_ACEOF
17435 #define HAVE_PID_T 1
17436 _ACEOF
17440 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17441 if test "x$ac_cv_type_size_t" = xyes; then :
17443 cat >>confdefs.h <<_ACEOF
17444 #define HAVE_SIZE_T 1
17445 _ACEOF
17449 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
17450 if test "x$ac_cv_type_ssize_t" = xyes; then :
17452 cat >>confdefs.h <<_ACEOF
17453 #define HAVE_SSIZE_T 1
17454 _ACEOF
17458 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
17459 if test "x$ac_cv_type_long_long" = xyes; then :
17461 cat >>confdefs.h <<_ACEOF
17462 #define HAVE_LONG_LONG 1
17463 _ACEOF
17467 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17468 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17470 cat >>confdefs.h <<_ACEOF
17471 #define HAVE_FSBLKCNT_T 1
17472 _ACEOF
17476 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17477 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17479 cat >>confdefs.h <<_ACEOF
17480 #define HAVE_FSFILCNT_T 1
17481 _ACEOF
17486 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17487 #include <signal.h>
17489 if test "x$ac_cv_type_sigset_t" = xyes; then :
17491 cat >>confdefs.h <<_ACEOF
17492 #define HAVE_SIGSET_T 1
17493 _ACEOF
17498 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17500 if test "x$ac_cv_type_request_sense" = xyes; then :
17502 cat >>confdefs.h <<_ACEOF
17503 #define HAVE_REQUEST_SENSE 1
17504 _ACEOF
17510 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17511 #ifdef HAVE_SYS_SOCKET_H
17512 #include <sys/socket.h>
17513 #endif
17514 #ifdef HAVE_SYS_SOCKETVAR_H
17515 #include <sys/socketvar.h>
17516 #endif
17517 #ifdef HAVE_NET_ROUTE_H
17518 #include <net/route.h>
17519 #endif
17520 #ifdef HAVE_NETINET_IN_H
17521 #include <netinet/in.h>
17522 #endif
17523 #ifdef HAVE_NETINET_IN_SYSTM_H
17524 #include <netinet/in_systm.h>
17525 #endif
17526 #ifdef HAVE_NETINET_IP_H
17527 #include <netinet/ip.h>
17528 #endif
17529 #ifdef HAVE_NETINET_IN_PCB_H
17530 #include <netinet/in_pcb.h>
17531 #endif
17533 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17535 cat >>confdefs.h <<_ACEOF
17536 #define HAVE_STRUCT_XINPGEN 1
17537 _ACEOF
17543 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17544 #include <link.h>
17545 #endif
17546 #ifdef HAVE_SYS_LINK_H
17547 #include <sys/link.h>
17548 #endif
17550 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17552 cat >>confdefs.h <<_ACEOF
17553 #define HAVE_STRUCT_R_DEBUG 1
17554 _ACEOF
17558 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17559 #include <link.h>
17560 #endif
17561 #ifdef HAVE_SYS_LINK_H
17562 #include <sys/link.h>
17563 #endif
17565 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17567 cat >>confdefs.h <<_ACEOF
17568 #define HAVE_STRUCT_LINK_MAP 1
17569 _ACEOF
17575 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17576 #include <linux/input.h>
17577 #endif
17579 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17581 cat >>confdefs.h <<_ACEOF
17582 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17583 _ACEOF
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17590 $as_echo_n "checking for if_nameindex... " >&6; }
17591 if ${wine_cv_have_if_nameindex+:} false; then :
17592 $as_echo_n "(cached) " >&6
17593 else
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17596 #ifdef HAVE_SYS_TYPES_H
17597 #include <sys/types.h>
17598 #endif
17599 #ifdef HAVE_SYS_SOCKET_H
17600 #include <sys/socket.h>
17601 #endif
17602 #ifdef HAVE_NET_IF_H
17603 # include <net/if.h>
17604 #endif
17606 main ()
17608 struct if_nameindex *p = if_nameindex(); return p->if_index;
17610 return 0;
17612 _ACEOF
17613 if ac_fn_c_try_link "$LINENO"; then :
17614 wine_cv_have_if_nameindex=yes
17615 else
17616 wine_cv_have_if_nameindex=no
17618 rm -f core conftest.err conftest.$ac_objext \
17619 conftest$ac_exeext conftest.$ac_ext
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17622 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17623 if test "$wine_cv_have_if_nameindex" = "yes"
17624 then
17626 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17631 $as_echo_n "checking for sigaddset... " >&6; }
17632 if ${wine_cv_have_sigaddset+:} false; then :
17633 $as_echo_n "(cached) " >&6
17634 else
17635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17636 /* end confdefs.h. */
17637 #include <signal.h>
17639 main ()
17641 sigset_t set; sigaddset(&set,SIGTERM);
17643 return 0;
17645 _ACEOF
17646 if ac_fn_c_try_link "$LINENO"; then :
17647 wine_cv_have_sigaddset=yes
17648 else
17649 wine_cv_have_sigaddset=no
17651 rm -f core conftest.err conftest.$ac_objext \
17652 conftest$ac_exeext conftest.$ac_ext
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17655 $as_echo "$wine_cv_have_sigaddset" >&6; }
17656 if test "$wine_cv_have_sigaddset" = "yes"
17657 then
17659 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17665 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17666 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17667 $as_echo_n "(cached) " >&6
17668 else
17669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17670 /* end confdefs.h. */
17671 #include <netdb.h>
17673 main ()
17676 char *name=0;
17677 struct hostent he;
17678 struct hostent *result;
17679 char *buf=0;
17680 int bufsize=0;
17681 int errnr;
17682 char *addr=0;
17683 int addrlen=0;
17684 int addrtype=0;
17685 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17686 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17689 return 0;
17691 _ACEOF
17692 if ac_fn_c_try_link "$LINENO"; then :
17693 wine_cv_linux_gethostbyname_r_6=yes
17694 else
17695 wine_cv_linux_gethostbyname_r_6=no
17698 rm -f core conftest.err conftest.$ac_objext \
17699 conftest$ac_exeext conftest.$ac_ext
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17703 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17704 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17705 then
17707 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17711 if test "$ac_cv_header_linux_joystick_h" = "yes"
17712 then
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17714 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17715 if ${wine_cv_linux_joystick_22_api+:} false; then :
17716 $as_echo_n "(cached) " >&6
17717 else
17718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17719 /* end confdefs.h. */
17721 #include <sys/ioctl.h>
17722 #include <sys/types.h>
17723 #include <linux/joystick.h>
17725 struct js_event blub;
17726 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17727 #error "no 2.2 header"
17728 #endif
17731 main ()
17733 /*empty*/
17735 return 0;
17737 _ACEOF
17738 if ac_fn_c_try_compile "$LINENO"; then :
17739 wine_cv_linux_joystick_22_api=yes
17740 else
17741 wine_cv_linux_joystick_22_api=no
17743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17747 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17748 if test "$wine_cv_linux_joystick_22_api" = "yes"
17749 then
17751 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17757 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17758 #ifdef HAVE_SYS_PARAM_H
17759 # include <sys/param.h>
17760 #endif
17761 #ifdef HAVE_SYS_MOUNT_H
17762 # include <sys/mount.h>
17763 #endif
17764 #ifdef HAVE_SYS_VFS_H
17765 # include <sys/vfs.h>
17766 #endif
17767 #ifdef HAVE_SYS_STATFS_H
17768 # include <sys/statfs.h>
17769 #endif
17771 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17773 cat >>confdefs.h <<_ACEOF
17774 #define HAVE_STRUCT_STATFS_F_BFREE 1
17775 _ACEOF
17779 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17780 #ifdef HAVE_SYS_PARAM_H
17781 # include <sys/param.h>
17782 #endif
17783 #ifdef HAVE_SYS_MOUNT_H
17784 # include <sys/mount.h>
17785 #endif
17786 #ifdef HAVE_SYS_VFS_H
17787 # include <sys/vfs.h>
17788 #endif
17789 #ifdef HAVE_SYS_STATFS_H
17790 # include <sys/statfs.h>
17791 #endif
17793 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17795 cat >>confdefs.h <<_ACEOF
17796 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17797 _ACEOF
17801 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17802 #ifdef HAVE_SYS_PARAM_H
17803 # include <sys/param.h>
17804 #endif
17805 #ifdef HAVE_SYS_MOUNT_H
17806 # include <sys/mount.h>
17807 #endif
17808 #ifdef HAVE_SYS_VFS_H
17809 # include <sys/vfs.h>
17810 #endif
17811 #ifdef HAVE_SYS_STATFS_H
17812 # include <sys/statfs.h>
17813 #endif
17815 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17817 cat >>confdefs.h <<_ACEOF
17818 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17819 _ACEOF
17823 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17824 #ifdef HAVE_SYS_PARAM_H
17825 # include <sys/param.h>
17826 #endif
17827 #ifdef HAVE_SYS_MOUNT_H
17828 # include <sys/mount.h>
17829 #endif
17830 #ifdef HAVE_SYS_VFS_H
17831 # include <sys/vfs.h>
17832 #endif
17833 #ifdef HAVE_SYS_STATFS_H
17834 # include <sys/statfs.h>
17835 #endif
17837 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17839 cat >>confdefs.h <<_ACEOF
17840 #define HAVE_STRUCT_STATFS_F_FFREE 1
17841 _ACEOF
17845 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17846 #ifdef HAVE_SYS_PARAM_H
17847 # include <sys/param.h>
17848 #endif
17849 #ifdef HAVE_SYS_MOUNT_H
17850 # include <sys/mount.h>
17851 #endif
17852 #ifdef HAVE_SYS_VFS_H
17853 # include <sys/vfs.h>
17854 #endif
17855 #ifdef HAVE_SYS_STATFS_H
17856 # include <sys/statfs.h>
17857 #endif
17859 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17861 cat >>confdefs.h <<_ACEOF
17862 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17863 _ACEOF
17867 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17868 #ifdef HAVE_SYS_PARAM_H
17869 # include <sys/param.h>
17870 #endif
17871 #ifdef HAVE_SYS_MOUNT_H
17872 # include <sys/mount.h>
17873 #endif
17874 #ifdef HAVE_SYS_VFS_H
17875 # include <sys/vfs.h>
17876 #endif
17877 #ifdef HAVE_SYS_STATFS_H
17878 # include <sys/statfs.h>
17879 #endif
17881 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17883 cat >>confdefs.h <<_ACEOF
17884 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17885 _ACEOF
17891 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17892 #include <sys/statvfs.h>
17893 #endif
17895 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17897 cat >>confdefs.h <<_ACEOF
17898 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17899 _ACEOF
17905 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17906 #include <dirent.h>
17907 #endif
17909 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17911 cat >>confdefs.h <<_ACEOF
17912 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17913 _ACEOF
17919 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17920 #ifdef HAVE_SYS_SOCKET_H
17921 # include <sys/socket.h>
17922 #endif
17923 #ifdef HAVE_SYS_UN_H
17924 # include <sys/un.h>
17925 #endif
17927 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17929 cat >>confdefs.h <<_ACEOF
17930 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17931 _ACEOF
17935 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17936 #ifdef HAVE_SYS_SOCKET_H
17937 # include <sys/socket.h>
17938 #endif
17939 #ifdef HAVE_SYS_UN_H
17940 # include <sys/un.h>
17941 #endif
17943 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17945 cat >>confdefs.h <<_ACEOF
17946 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17947 _ACEOF
17951 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17952 #ifdef HAVE_SYS_SOCKET_H
17953 # include <sys/socket.h>
17954 #endif
17955 #ifdef HAVE_SYS_UN_H
17956 # include <sys/un.h>
17957 #endif
17959 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17961 cat >>confdefs.h <<_ACEOF
17962 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17963 _ACEOF
17969 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17970 #ifdef HAVE_SCSI_SG_H
17971 #include <scsi/sg.h>
17972 #endif
17974 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17976 cat >>confdefs.h <<_ACEOF
17977 #define HAVE_SCSIREQ_T_CMD 1
17978 _ACEOF
17982 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>
17983 #ifdef HAVE_SCSI_SG_H
17984 #include <scsi/sg.h>
17985 #endif
17987 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17989 cat >>confdefs.h <<_ACEOF
17990 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17991 _ACEOF
17997 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17999 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18001 cat >>confdefs.h <<_ACEOF
18002 #define HAVE_SIGINFO_T_SI_FD 1
18003 _ACEOF
18009 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18010 #ifdef HAVE_SYS_MTIO_H
18011 #include <sys/mtio.h>
18012 #endif
18014 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18016 cat >>confdefs.h <<_ACEOF
18017 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18018 _ACEOF
18022 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18023 #ifdef HAVE_SYS_MTIO_H
18024 #include <sys/mtio.h>
18025 #endif
18027 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18029 cat >>confdefs.h <<_ACEOF
18030 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18031 _ACEOF
18035 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18036 #ifdef HAVE_SYS_MTIO_H
18037 #include <sys/mtio.h>
18038 #endif
18040 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18042 cat >>confdefs.h <<_ACEOF
18043 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18044 _ACEOF
18050 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18051 #include <getopt.h>
18052 #endif
18054 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18056 cat >>confdefs.h <<_ACEOF
18057 #define HAVE_STRUCT_OPTION_NAME 1
18058 _ACEOF
18064 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18065 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18067 cat >>confdefs.h <<_ACEOF
18068 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18069 _ACEOF
18073 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18074 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18076 cat >>confdefs.h <<_ACEOF
18077 #define HAVE_STRUCT_STAT_ST_MTIM 1
18078 _ACEOF
18082 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18083 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18085 cat >>confdefs.h <<_ACEOF
18086 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18087 _ACEOF
18091 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18092 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18094 cat >>confdefs.h <<_ACEOF
18095 #define HAVE_STRUCT_STAT_ST_CTIM 1
18096 _ACEOF
18100 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18101 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18103 cat >>confdefs.h <<_ACEOF
18104 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18105 _ACEOF
18109 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18110 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18112 cat >>confdefs.h <<_ACEOF
18113 #define HAVE_STRUCT_STAT_ST_ATIM 1
18114 _ACEOF
18118 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18119 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18121 cat >>confdefs.h <<_ACEOF
18122 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18123 _ACEOF
18127 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18128 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18130 cat >>confdefs.h <<_ACEOF
18131 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18132 _ACEOF
18136 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18137 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18139 cat >>confdefs.h <<_ACEOF
18140 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18141 _ACEOF
18145 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18146 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18148 cat >>confdefs.h <<_ACEOF
18149 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18150 _ACEOF
18154 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18155 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18157 cat >>confdefs.h <<_ACEOF
18158 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18159 _ACEOF
18163 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18164 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18166 cat >>confdefs.h <<_ACEOF
18167 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18168 _ACEOF
18174 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
18175 #include <sys/types.h>
18176 #endif
18177 #ifdef HAVE_NETINET_IN_H
18178 #include <netinet/in.h>
18179 #endif
18181 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18183 cat >>confdefs.h <<_ACEOF
18184 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18185 _ACEOF
18191 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18192 #include <sys/types.h>
18193 #endif
18194 #ifdef HAVE_NETINET_IN_H
18195 #include <netinet/in.h>
18196 #endif
18197 #ifdef HAVE_RESOLV_H
18198 #include <resolv.h>
18199 #endif
18201 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18203 cat >>confdefs.h <<_ACEOF
18204 #define HAVE_STRUCT___RES_STATE 1
18205 _ACEOF
18211 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
18212 #include <resolv.h>
18213 #endif
18215 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18217 cat >>confdefs.h <<_ACEOF
18218 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18219 _ACEOF
18225 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18226 #include <sys/types.h>
18227 #endif
18228 #ifdef HAVE_NETINET_IN_H
18229 # include <netinet/in.h>
18230 #endif
18231 #ifdef HAVE_ARPA_NAMESER_H
18232 # include <arpa/nameser.h>
18233 #endif
18235 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18237 cat >>confdefs.h <<_ACEOF
18238 #define HAVE_NS_MSG__MSG_PTR 1
18239 _ACEOF
18245 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18246 #include <sys/types.h>
18247 #endif
18248 #ifdef HAVE_NETINET_IN_H
18249 #include <netinet/in.h>
18250 #endif
18251 #ifdef HAVE_NETINET_IP_H
18252 #include <netinet/ip.h>
18253 #endif
18254 #ifdef HAVE_NETINET_IP_ICMP_H
18255 #include <netinet/ip_icmp.h>
18256 #endif
18257 #ifdef HAVE_NETINET_ICMP_VAR_H
18258 #include <netinet/icmp_var.h>
18259 #endif
18261 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18263 cat >>confdefs.h <<_ACEOF
18264 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18265 _ACEOF
18271 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18272 #include <sys/types.h>
18273 #endif
18274 #ifdef HAVE_ALIAS_H
18275 #include <alias.h>
18276 #endif
18277 #ifdef HAVE_SYS_SOCKET_H
18278 #include <sys/socket.h>
18279 #endif
18280 #ifdef HAVE_SYS_SOCKETVAR_H
18281 #include <sys/socketvar.h>
18282 #endif
18283 #ifdef HAVE_SYS_TIMEOUT_H
18284 #include <sys/timeout.h>
18285 #endif
18286 #ifdef HAVE_NETINET_IN_H
18287 #include <netinet/in.h>
18288 #endif
18289 #ifdef HAVE_NETINET_IN_SYSTM_H
18290 #include <netinet/in_systm.h>
18291 #endif
18292 #ifdef HAVE_NETINET_IP_H
18293 #include <netinet/ip.h>
18294 #endif
18295 #ifdef HAVE_NETINET_IP_VAR_H
18296 #include <netinet/ip_var.h>
18297 #endif
18298 #ifdef HAVE_NETINET_IP_ICMP_H
18299 #include <netinet/ip_icmp.h>
18300 #endif
18301 #ifdef HAVE_NETINET_ICMP_VAR_H
18302 #include <netinet/icmp_var.h>
18303 #endif
18305 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18307 cat >>confdefs.h <<_ACEOF
18308 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18309 _ACEOF
18315 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18316 #include <sys/types.h>
18317 #endif
18318 #ifdef HAVE_SYS_SOCKETVAR_H
18319 #include <sys/socketvar.h>
18320 #endif
18321 #ifdef HAVE_NETINET_IN_H
18322 #include <netinet/in.h>
18323 #endif
18324 #ifdef HAVE_NETINET_IP_VAR_H
18325 #include <netinet/ip_var.h>
18326 #endif
18328 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18330 cat >>confdefs.h <<_ACEOF
18331 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18332 _ACEOF
18338 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
18339 #include <netinet/ip_var.h>
18340 #endif
18342 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18344 cat >>confdefs.h <<_ACEOF
18345 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18346 _ACEOF
18352 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18353 #include <sys/types.h>
18354 #endif
18355 #ifdef HAVE_SYS_SOCKETVAR_H
18356 #include <sys/socketvar.h>
18357 #endif
18358 #ifdef HAVE_NETINET_IN_H
18359 #include <netinet/in.h>
18360 #endif
18361 #ifdef HAVE_NETINET_TCP_H
18362 #include <netinet/tcp.h>
18363 #endif
18364 #ifdef HAVE_NETINET_TCP_VAR_H
18365 #include <netinet/tcp_var.h>
18366 #endif
18368 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18370 cat >>confdefs.h <<_ACEOF
18371 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18372 _ACEOF
18378 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
18379 #include <netinet/tcp_var.h>
18380 #endif
18382 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18384 cat >>confdefs.h <<_ACEOF
18385 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18386 _ACEOF
18392 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18393 #include <sys/types.h>
18394 #endif
18395 #ifdef HAVE_NETINET_IN_H
18396 #include <netinet/in.h>
18397 #endif
18398 #ifdef HAVE_NETINET_IP_VAR_H
18399 #include <netinet/ip_var.h>
18400 #endif
18401 #ifdef HAVE_NETINET_UDP_H
18402 #include <netinet/udp.h>
18403 #endif
18404 #ifdef HAVE_NETINET_UDP_VAR_H
18405 #include <netinet/udp_var.h>
18406 #endif
18408 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18410 cat >>confdefs.h <<_ACEOF
18411 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18412 _ACEOF
18418 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18419 #include <sys/types.h>
18420 #endif
18421 #ifdef HAVE_NET_IF_H
18422 # include <net/if.h>
18423 #endif
18425 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18427 cat >>confdefs.h <<_ACEOF
18428 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18429 _ACEOF
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18436 $as_echo_n "checking for timezone variable... " >&6; }
18437 if ${ac_cv_have_timezone+:} false; then :
18438 $as_echo_n "(cached) " >&6
18439 else
18440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18441 /* end confdefs.h. */
18442 #include <time.h>
18444 main ()
18446 timezone = 1
18448 return 0;
18450 _ACEOF
18451 if ac_fn_c_try_link "$LINENO"; then :
18452 ac_cv_have_timezone="yes"
18453 else
18454 ac_cv_have_timezone="no"
18456 rm -f core conftest.err conftest.$ac_objext \
18457 conftest$ac_exeext conftest.$ac_ext
18459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
18460 $as_echo "$ac_cv_have_timezone" >&6; }
18461 if test "$ac_cv_have_timezone" = "yes"
18462 then
18464 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
18468 $as_echo_n "checking for daylight variable... " >&6; }
18469 if ${ac_cv_have_daylight+:} false; then :
18470 $as_echo_n "(cached) " >&6
18471 else
18472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18473 /* end confdefs.h. */
18474 #include <time.h>
18476 main ()
18478 daylight = 1
18480 return 0;
18482 _ACEOF
18483 if ac_fn_c_try_link "$LINENO"; then :
18484 ac_cv_have_daylight="yes"
18485 else
18486 ac_cv_have_daylight="no"
18488 rm -f core conftest.err conftest.$ac_objext \
18489 conftest$ac_exeext conftest.$ac_ext
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
18492 $as_echo "$ac_cv_have_daylight" >&6; }
18493 if test "$ac_cv_have_daylight" = "yes"
18494 then
18496 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
18500 ac_save_LIBS="$LIBS"
18501 LIBS="$LIBS -lm"
18502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18503 $as_echo_n "checking for isfinite... " >&6; }
18504 if ${ac_cv_have_isfinite+:} false; then :
18505 $as_echo_n "(cached) " >&6
18506 else
18507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18508 /* end confdefs.h. */
18509 #define _GNU_SOURCE
18510 #include <math.h>
18512 main ()
18514 float f = 0.0; return isfinite(f)
18516 return 0;
18518 _ACEOF
18519 if ac_fn_c_try_link "$LINENO"; then :
18520 ac_cv_have_isfinite="yes"
18521 else
18522 ac_cv_have_isfinite="no"
18524 rm -f core conftest.err conftest.$ac_objext \
18525 conftest$ac_exeext conftest.$ac_ext
18527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18528 $as_echo "$ac_cv_have_isfinite" >&6; }
18529 if test "$ac_cv_have_isfinite" = "yes"
18530 then
18532 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18537 $as_echo_n "checking for isinf... " >&6; }
18538 if ${ac_cv_have_isinf+:} false; then :
18539 $as_echo_n "(cached) " >&6
18540 else
18541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18542 /* end confdefs.h. */
18543 #include <math.h>
18545 main ()
18547 float f = 0.0; return isinf(f)
18549 return 0;
18551 _ACEOF
18552 if ac_fn_c_try_link "$LINENO"; then :
18553 ac_cv_have_isinf="yes"
18554 else
18555 ac_cv_have_isinf="no"
18557 rm -f core conftest.err conftest.$ac_objext \
18558 conftest$ac_exeext conftest.$ac_ext
18560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18561 $as_echo "$ac_cv_have_isinf" >&6; }
18562 if test "$ac_cv_have_isinf" = "yes"
18563 then
18565 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18570 $as_echo_n "checking for isnan... " >&6; }
18571 if ${ac_cv_have_isnan+:} false; then :
18572 $as_echo_n "(cached) " >&6
18573 else
18574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18575 /* end confdefs.h. */
18576 #include <math.h>
18578 main ()
18580 float f = 0.0; return isnan(f)
18582 return 0;
18584 _ACEOF
18585 if ac_fn_c_try_link "$LINENO"; then :
18586 ac_cv_have_isnan="yes"
18587 else
18588 ac_cv_have_isnan="no"
18590 rm -f core conftest.err conftest.$ac_objext \
18591 conftest$ac_exeext conftest.$ac_ext
18593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18594 $as_echo "$ac_cv_have_isnan" >&6; }
18595 if test "$ac_cv_have_isnan" = "yes"
18596 then
18598 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18602 for ac_func in \
18603 acosh \
18604 acoshf \
18605 asinh \
18606 asinhf \
18607 atanh \
18608 atanhf \
18609 cbrt \
18610 cbrtf \
18611 erf \
18612 erfc \
18613 erfcf \
18614 erff \
18615 exp2 \
18616 exp2f \
18617 expm1 \
18618 expm1f \
18619 j0 \
18620 j1 \
18621 jn \
18622 lgamma \
18623 lgammaf \
18624 llrint \
18625 llrintf \
18626 llround \
18627 llroundf \
18628 log1p \
18629 log1pf \
18630 log2 \
18631 log2f \
18632 lrint \
18633 lrintf \
18634 lround \
18635 lroundf \
18636 nearbyint \
18637 nearbyintf \
18638 powl \
18639 remainder \
18640 remainderf \
18641 rint \
18642 rintf \
18643 round \
18644 roundf \
18645 trunc \
18646 truncf \
18647 y0 \
18648 y1 \
18651 do :
18652 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18653 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18654 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18655 cat >>confdefs.h <<_ACEOF
18656 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18657 _ACEOF
18660 done
18662 LIBS="$ac_save_LIBS"
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18665 $as_echo_n "checking for __builtin_clz... " >&6; }
18666 if ${ac_cv_have___builtin_clz+:} false; then :
18667 $as_echo_n "(cached) " >&6
18668 else
18669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18670 /* end confdefs.h. */
18673 main ()
18675 return __builtin_clz(1)
18677 return 0;
18679 _ACEOF
18680 if ac_fn_c_try_link "$LINENO"; then :
18681 ac_cv_have___builtin_clz="yes"
18682 else
18683 ac_cv_have___builtin_clz="no"
18685 rm -f core conftest.err conftest.$ac_objext \
18686 conftest$ac_exeext conftest.$ac_ext
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18689 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18690 if test "$ac_cv_have___builtin_clz" = "yes"
18691 then
18693 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18698 $as_echo_n "checking for __builtin_popcount... " >&6; }
18699 if ${ac_cv_have___builtin_popcount+:} false; then :
18700 $as_echo_n "(cached) " >&6
18701 else
18702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18703 /* end confdefs.h. */
18706 main ()
18708 return __builtin_popcount(1)
18710 return 0;
18712 _ACEOF
18713 if ac_fn_c_try_link "$LINENO"; then :
18714 ac_cv_have___builtin_popcount="yes"
18715 else
18716 ac_cv_have___builtin_popcount="no"
18718 rm -f core conftest.err conftest.$ac_objext \
18719 conftest$ac_exeext conftest.$ac_ext
18721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18722 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18723 if test "$ac_cv_have___builtin_popcount" = "yes"
18724 then
18726 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18731 $as_echo_n "checking for __clear_cache... " >&6; }
18732 if ${ac_cv_have___clear_cache+:} false; then :
18733 $as_echo_n "(cached) " >&6
18734 else
18735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18736 /* end confdefs.h. */
18739 main ()
18741 __clear_cache((void*)0, (void*)0); return 0;
18743 return 0;
18745 _ACEOF
18746 if ac_fn_c_try_link "$LINENO"; then :
18747 ac_cv_have___clear_cache="yes"
18748 else
18749 ac_cv_have___clear_cache="no"
18751 rm -f core conftest.err conftest.$ac_objext \
18752 conftest$ac_exeext conftest.$ac_ext
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18755 $as_echo "$ac_cv_have___clear_cache" >&6; }
18756 if test "$ac_cv_have___clear_cache" = "yes"
18757 then
18759 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18764 case $host_cpu in
18765 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18766 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18767 if ${ac_cv_cpp_def___i386__+:} false; then :
18768 $as_echo_n "(cached) " >&6
18769 else
18770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18771 /* end confdefs.h. */
18772 #ifndef __i386__
18774 #endif
18775 _ACEOF
18776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18777 $EGREP "yes" >/dev/null 2>&1; then :
18778 ac_cv_cpp_def___i386__=yes
18779 else
18780 ac_cv_cpp_def___i386__=no
18782 rm -f conftest*
18785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18786 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18787 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18788 CFLAGS="$CFLAGS -D__i386__"
18789 LINTFLAGS="$LINTFLAGS -D__i386__"
18790 fi ;;
18791 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18792 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18793 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18794 $as_echo_n "(cached) " >&6
18795 else
18796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18797 /* end confdefs.h. */
18798 #ifndef __x86_64__
18800 #endif
18801 _ACEOF
18802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18803 $EGREP "yes" >/dev/null 2>&1; then :
18804 ac_cv_cpp_def___x86_64__=yes
18805 else
18806 ac_cv_cpp_def___x86_64__=no
18808 rm -f conftest*
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18812 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18813 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18814 CFLAGS="$CFLAGS -D__x86_64__"
18815 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18816 fi ;;
18817 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18818 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18819 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18820 $as_echo_n "(cached) " >&6
18821 else
18822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18823 /* end confdefs.h. */
18824 #ifndef __sparc64__
18826 #endif
18827 _ACEOF
18828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18829 $EGREP "yes" >/dev/null 2>&1; then :
18830 ac_cv_cpp_def___sparc64__=yes
18831 else
18832 ac_cv_cpp_def___sparc64__=no
18834 rm -f conftest*
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18838 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18839 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18840 CFLAGS="$CFLAGS -D__sparc64__"
18841 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18842 fi ;;
18843 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18844 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18845 if ${ac_cv_cpp_def___sparc__+:} false; then :
18846 $as_echo_n "(cached) " >&6
18847 else
18848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18849 /* end confdefs.h. */
18850 #ifndef __sparc__
18852 #endif
18853 _ACEOF
18854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18855 $EGREP "yes" >/dev/null 2>&1; then :
18856 ac_cv_cpp_def___sparc__=yes
18857 else
18858 ac_cv_cpp_def___sparc__=no
18860 rm -f conftest*
18863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18864 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18865 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18866 CFLAGS="$CFLAGS -D__sparc__"
18867 LINTFLAGS="$LINTFLAGS -D__sparc__"
18868 fi ;;
18869 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18870 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18871 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18872 $as_echo_n "(cached) " >&6
18873 else
18874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18875 /* end confdefs.h. */
18876 #ifndef __powerpc64__
18878 #endif
18879 _ACEOF
18880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18881 $EGREP "yes" >/dev/null 2>&1; then :
18882 ac_cv_cpp_def___powerpc64__=yes
18883 else
18884 ac_cv_cpp_def___powerpc64__=no
18886 rm -f conftest*
18889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18890 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18891 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18892 CFLAGS="$CFLAGS -D__powerpc64__"
18893 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18894 fi ;;
18895 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18896 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18897 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18898 $as_echo_n "(cached) " >&6
18899 else
18900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18901 /* end confdefs.h. */
18902 #ifndef __powerpc__
18904 #endif
18905 _ACEOF
18906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18907 $EGREP "yes" >/dev/null 2>&1; then :
18908 ac_cv_cpp_def___powerpc__=yes
18909 else
18910 ac_cv_cpp_def___powerpc__=no
18912 rm -f conftest*
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18916 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18917 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18918 CFLAGS="$CFLAGS -D__powerpc__"
18919 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18920 fi ;;
18921 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18922 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18923 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18924 $as_echo_n "(cached) " >&6
18925 else
18926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18927 /* end confdefs.h. */
18928 #ifndef __aarch64__
18930 #endif
18931 _ACEOF
18932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18933 $EGREP "yes" >/dev/null 2>&1; then :
18934 ac_cv_cpp_def___aarch64__=yes
18935 else
18936 ac_cv_cpp_def___aarch64__=no
18938 rm -f conftest*
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18942 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18943 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18944 CFLAGS="$CFLAGS -D__aarch64__"
18945 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18946 fi ;;
18947 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18948 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18949 if ${ac_cv_cpp_def___arm__+:} false; then :
18950 $as_echo_n "(cached) " >&6
18951 else
18952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18953 /* end confdefs.h. */
18954 #ifndef __arm__
18956 #endif
18957 _ACEOF
18958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18959 $EGREP "yes" >/dev/null 2>&1; then :
18960 ac_cv_cpp_def___arm__=yes
18961 else
18962 ac_cv_cpp_def___arm__=no
18964 rm -f conftest*
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18968 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18969 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18970 CFLAGS="$CFLAGS -D__arm__"
18971 LINTFLAGS="$LINTFLAGS -D__arm__"
18972 fi ;;
18973 esac
18975 case $host_vendor in
18976 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18977 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18978 if ${ac_cv_cpp_def___sun__+:} false; then :
18979 $as_echo_n "(cached) " >&6
18980 else
18981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18982 /* end confdefs.h. */
18983 #ifndef __sun__
18985 #endif
18986 _ACEOF
18987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18988 $EGREP "yes" >/dev/null 2>&1; then :
18989 ac_cv_cpp_def___sun__=yes
18990 else
18991 ac_cv_cpp_def___sun__=no
18993 rm -f conftest*
18996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18997 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18998 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18999 CFLAGS="$CFLAGS -D__sun__"
19000 LINTFLAGS="$LINTFLAGS -D__sun__"
19001 fi ;;
19002 esac
19008 ac_config_commands="$ac_config_commands include/stamp-h"
19010 $as_echo_n "creating Makefile rules..." >&6
19012 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
19013 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19014 IOKIT_LIBS = $IOKIT_LIBS
19015 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19016 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19017 CORESERVICES_LIBS = $CORESERVICES_LIBS
19018 APPKIT_LIBS = $APPKIT_LIBS
19019 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19020 SECURITY_LIBS = $SECURITY_LIBS
19021 COREAUDIO_LIBS = $COREAUDIO_LIBS
19022 OPENAL_LIBS = $OPENAL_LIBS
19023 OPENCL_LIBS = $OPENCL_LIBS
19024 QUICKTIME_LIBS = $QUICKTIME_LIBS
19025 CARBON_LIBS = $CARBON_LIBS
19026 METAL_LIBS = $METAL_LIBS
19027 PTHREAD_LIBS = $PTHREAD_LIBS
19028 X_CFLAGS = $X_CFLAGS
19029 X_PRE_LIBS = $X_PRE_LIBS
19030 X_LIBS = $X_LIBS
19031 X_EXTRA_LIBS = $X_EXTRA_LIBS
19032 PCAP_LIBS = $PCAP_LIBS
19033 XML2_CFLAGS = $XML2_CFLAGS
19034 XML2_LIBS = $XML2_LIBS
19035 XSLT_CFLAGS = $XSLT_CFLAGS
19036 XSLT_LIBS = $XSLT_LIBS
19037 DBUS_CFLAGS = $DBUS_CFLAGS
19038 DBUS_LIBS = $DBUS_LIBS
19039 HAL_CFLAGS = $HAL_CFLAGS
19040 HAL_LIBS = $HAL_LIBS
19041 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19042 GNUTLS_LIBS = $GNUTLS_LIBS
19043 SANE_CFLAGS = $SANE_CFLAGS
19044 SANE_LIBS = $SANE_LIBS
19045 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19046 GPHOTO2_LIBS = $GPHOTO2_LIBS
19047 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19048 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19049 RESOLV_LIBS = $RESOLV_LIBS
19050 LCMS2_CFLAGS = $LCMS2_CFLAGS
19051 LCMS2_LIBS = $LCMS2_LIBS
19052 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19053 FREETYPE_LIBS = $FREETYPE_LIBS
19054 Z_LIBS = $Z_LIBS
19055 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19056 PULSE_CFLAGS = $PULSE_CFLAGS
19057 PULSE_LIBS = $PULSE_LIBS
19058 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19059 GSTREAMER_LIBS = $GSTREAMER_LIBS
19060 ALSA_LIBS = $ALSA_LIBS
19061 OSS4_CFLAGS = $OSS4_CFLAGS
19062 UDEV_CFLAGS = $UDEV_CFLAGS
19063 UDEV_LIBS = $UDEV_LIBS
19064 SDL2_CFLAGS = $SDL2_CFLAGS
19065 SDL2_LIBS = $SDL2_LIBS
19066 CAPI20_CFLAGS = $CAPI20_CFLAGS
19067 CAPI20_LIBS = $CAPI20_LIBS
19068 CUPS_CFLAGS = $CUPS_CFLAGS
19069 CUPS_LIBS = $CUPS_LIBS
19070 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19071 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19072 KRB5_CFLAGS = $KRB5_CFLAGS
19073 KRB5_LIBS = $KRB5_LIBS
19074 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19075 GSSAPI_LIBS = $GSSAPI_LIBS
19076 JPEG_CFLAGS = $JPEG_CFLAGS
19077 JPEG_LIBS = $JPEG_LIBS
19078 PNG_CFLAGS = $PNG_CFLAGS
19079 PNG_LIBS = $PNG_LIBS
19080 TIFF_CFLAGS = $TIFF_CFLAGS
19081 TIFF_LIBS = $TIFF_LIBS
19082 MPG123_CFLAGS = $MPG123_CFLAGS
19083 MPG123_LIBS = $MPG123_LIBS
19084 KSTAT_LIBS = $KSTAT_LIBS
19085 PROCSTAT_LIBS = $PROCSTAT_LIBS
19086 NETAPI_CFLAGS = $NETAPI_CFLAGS
19087 NETAPI_LIBS = $NETAPI_LIBS
19088 VKD3D_CFLAGS = $VKD3D_CFLAGS
19089 VKD3D_LIBS = $VKD3D_LIBS
19090 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19091 DL_LIBS = $DL_LIBS
19092 POLL_LIBS = $POLL_LIBS
19093 RT_LIBS = $RT_LIBS
19094 LDAP_CFLAGS = $LDAP_CFLAGS
19095 LDAP_LIBS = $LDAP_LIBS
19100 wine_fn_append_rule "
19101 # Rules automatically generated by configure
19103 .INIT: Makefile
19104 .MAKEFILEDEPS:
19105 all: Makefile
19106 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19107 @./config.status Make.tmp Makefile
19108 depend: \$(MAKEDEP) dummy
19109 \$(MAKEDEP)"
19111 if test "x$enable_fonts" != xno; then
19112 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19113 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19114 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19115 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19116 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19117 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19119 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19120 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19121 ac_config_links="$ac_config_links wine:tools/winewrapper"
19122 wine_fn_config_symlink wine
19123 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19124 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19125 wine_fn_config_symlink wine64
19128 wine_fn_config_makefile dlls/acledit enable_acledit
19129 wine_fn_config_makefile dlls/aclui enable_aclui
19130 wine_fn_config_makefile dlls/activeds enable_activeds
19131 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19132 wine_fn_config_makefile dlls/adsiid enable_adsiid
19133 wine_fn_config_makefile dlls/adsldp enable_adsldp
19134 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19135 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19136 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19137 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19138 wine_fn_config_makefile dlls/advpack enable_advpack
19139 wine_fn_config_makefile dlls/advpack/tests enable_tests
19140 wine_fn_config_makefile dlls/amstream enable_amstream
19141 wine_fn_config_makefile dlls/amstream/tests enable_tests
19142 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19143 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19144 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19145 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19146 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19147 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19148 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19149 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19150 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19151 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19152 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19153 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19154 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19155 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19156 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19157 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19158 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19159 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19160 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19161 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19162 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19163 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19164 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19165 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19166 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19167 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19168 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19169 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19170 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19171 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19172 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19173 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19174 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19175 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19176 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19177 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19178 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19179 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19180 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19181 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19182 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19183 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19184 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19185 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19186 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19187 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19188 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19189 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19190 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19191 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19192 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19193 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19194 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19195 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19196 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19197 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19198 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19199 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19200 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19201 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19202 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19203 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19204 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19205 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19206 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19207 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19208 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19209 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19210 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19211 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19212 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19213 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19214 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19215 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19216 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19217 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19218 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19219 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19220 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19221 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19222 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19223 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19224 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19225 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19226 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19227 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19228 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19229 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19230 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19231 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19232 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19233 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19234 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19235 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19236 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19237 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19238 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19239 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19240 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19241 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19242 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19243 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19244 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19245 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19246 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19247 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19248 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19249 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19250 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19251 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19252 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19253 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19254 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19255 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19256 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19257 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19258 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19259 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19260 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19261 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19262 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19263 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19264 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19265 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19266 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19267 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19268 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19269 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19270 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19271 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19272 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19273 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19274 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19275 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19276 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19277 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19278 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19279 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19280 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19281 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19282 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19283 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19284 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19285 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19286 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19287 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19288 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19289 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19290 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19291 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19292 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19293 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19294 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19295 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19296 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19297 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19298 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19299 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19300 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19301 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19302 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19303 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19304 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19305 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19306 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19307 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19308 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19309 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19310 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19311 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19312 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19313 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19314 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19315 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19316 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19317 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19318 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19319 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19320 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19321 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19322 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19323 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19324 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19325 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19326 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19327 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19328 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19329 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19330 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19331 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19332 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19333 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19334 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19335 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19336 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19337 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19338 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19339 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19340 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19341 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19342 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19343 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19344 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19345 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19346 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19347 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19348 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19349 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19350 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19351 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19352 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19353 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19354 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19355 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19356 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19357 wine_fn_config_makefile dlls/apphelp enable_apphelp
19358 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19359 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19360 wine_fn_config_makefile dlls/atl enable_atl
19361 wine_fn_config_makefile dlls/atl/tests enable_tests
19362 wine_fn_config_makefile dlls/atl100 enable_atl100
19363 wine_fn_config_makefile dlls/atl100/tests enable_tests
19364 wine_fn_config_makefile dlls/atl110 enable_atl110
19365 wine_fn_config_makefile dlls/atl80 enable_atl80
19366 wine_fn_config_makefile dlls/atl80/tests enable_tests
19367 wine_fn_config_makefile dlls/atl90 enable_atl90
19368 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
19369 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
19370 wine_fn_config_makefile dlls/atmlib enable_atmlib
19371 wine_fn_config_makefile dlls/authz enable_authz
19372 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19373 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19374 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19375 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19376 wine_fn_config_makefile dlls/avrt enable_avrt
19377 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19378 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19379 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19380 wine_fn_config_makefile dlls/browseui enable_browseui
19381 wine_fn_config_makefile dlls/browseui/tests enable_tests
19382 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19383 wine_fn_config_makefile dlls/cabinet enable_cabinet
19384 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19385 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19386 wine_fn_config_makefile dlls/cards enable_cards
19387 wine_fn_config_makefile dlls/cdosys enable_cdosys
19388 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19389 wine_fn_config_makefile dlls/clusapi enable_clusapi
19390 wine_fn_config_makefile dlls/combase enable_combase
19391 wine_fn_config_makefile dlls/combase/tests enable_tests
19392 wine_fn_config_makefile dlls/comcat enable_comcat
19393 wine_fn_config_makefile dlls/comcat/tests enable_tests
19394 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19395 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19396 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19397 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19398 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19399 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19400 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19401 wine_fn_config_makefile dlls/compstui enable_compstui
19402 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19403 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
19404 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19405 wine_fn_config_makefile dlls/connect enable_connect
19406 wine_fn_config_makefile dlls/credui enable_credui
19407 wine_fn_config_makefile dlls/credui/tests enable_tests
19408 wine_fn_config_makefile dlls/crtdll enable_crtdll
19409 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19410 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19411 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19412 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19413 wine_fn_config_makefile dlls/cryptext enable_cryptext
19414 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19415 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19416 wine_fn_config_makefile dlls/cryptui enable_cryptui
19417 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19418 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19419 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19420 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19421 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19422 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19423 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19424 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19425 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19426 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19427 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19428 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19429 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19430 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19431 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19432 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19433 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19434 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19435 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19436 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19437 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19438 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19439 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19440 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19441 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19442 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19443 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19444 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19445 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19446 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19447 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19448 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19449 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19450 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19451 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19452 wine_fn_config_makefile dlls/d3dim enable_d3dim
19453 wine_fn_config_makefile dlls/d3drm enable_d3drm
19454 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19455 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19456 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19457 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19458 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19459 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19460 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19461 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19462 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19463 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19464 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19465 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19466 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19467 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19468 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19469 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19470 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19471 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19472 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19473 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19474 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19475 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19476 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19477 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19478 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19479 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19480 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19481 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19482 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19483 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19484 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19485 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19486 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19487 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19488 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19489 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19490 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19491 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19492 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19493 wine_fn_config_makefile dlls/davclnt enable_davclnt
19494 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19495 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19496 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19497 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19498 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19499 wine_fn_config_makefile dlls/ddraw enable_ddraw
19500 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19501 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19502 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19503 wine_fn_config_makefile dlls/devenum enable_devenum
19504 wine_fn_config_makefile dlls/devenum/tests enable_tests
19505 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19506 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19507 wine_fn_config_makefile dlls/difxapi enable_difxapi
19508 wine_fn_config_makefile dlls/dinput enable_dinput
19509 wine_fn_config_makefile dlls/dinput/tests enable_tests
19510 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19511 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19512 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19513 wine_fn_config_makefile dlls/dispex enable_dispex
19514 wine_fn_config_makefile dlls/dispex/tests enable_tests
19515 wine_fn_config_makefile dlls/display.drv16 enable_win16
19516 wine_fn_config_makefile dlls/dmband enable_dmband
19517 wine_fn_config_makefile dlls/dmband/tests enable_tests
19518 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19519 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19520 wine_fn_config_makefile dlls/dmime enable_dmime
19521 wine_fn_config_makefile dlls/dmime/tests enable_tests
19522 wine_fn_config_makefile dlls/dmloader enable_dmloader
19523 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19524 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19525 wine_fn_config_makefile dlls/dmscript enable_dmscript
19526 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19527 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19528 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19529 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19530 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19531 wine_fn_config_makefile dlls/dmusic enable_dmusic
19532 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19533 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19534 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19535 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19536 wine_fn_config_makefile dlls/dplay enable_dplay
19537 wine_fn_config_makefile dlls/dplayx enable_dplayx
19538 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19539 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19540 wine_fn_config_makefile dlls/dpnet enable_dpnet
19541 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19542 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19543 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19544 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19545 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19546 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19547 wine_fn_config_makefile dlls/drmclien enable_drmclien
19548 wine_fn_config_makefile dlls/dsound enable_dsound
19549 wine_fn_config_makefile dlls/dsound/tests enable_tests
19550 wine_fn_config_makefile dlls/dsquery enable_dsquery
19551 wine_fn_config_makefile dlls/dssenh enable_dssenh
19552 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19553 wine_fn_config_makefile dlls/dswave enable_dswave
19554 wine_fn_config_makefile dlls/dswave/tests enable_tests
19555 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19556 wine_fn_config_makefile dlls/dwrite enable_dwrite
19557 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19558 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19559 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19560 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19561 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19562 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19563 wine_fn_config_makefile dlls/dxgi enable_dxgi
19564 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19565 wine_fn_config_makefile dlls/dxguid enable_dxguid
19566 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19567 wine_fn_config_makefile dlls/esent enable_esent
19568 wine_fn_config_makefile dlls/evr enable_evr
19569 wine_fn_config_makefile dlls/evr/tests enable_tests
19570 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19571 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19572 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19573 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19574 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19575 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
19576 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19577 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19578 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19579 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
19580 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19581 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
19582 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
19583 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19584 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19585 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19586 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
19587 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19588 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
19589 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19590 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19591 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
19592 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19593 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
19594 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
19595 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19596 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19597 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19598 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19599 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19600 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19601 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
19602 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19603 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19604 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
19605 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19606 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19607 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19608 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19609 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19610 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19611 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19612 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
19613 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19614 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19615 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19616 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19617 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19618 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19619 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19620 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19621 wine_fn_config_makefile dlls/faultrep enable_faultrep
19622 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19623 wine_fn_config_makefile dlls/feclient enable_feclient
19624 wine_fn_config_makefile dlls/fltlib enable_fltlib
19625 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19626 wine_fn_config_makefile dlls/fntcache enable_fntcache
19627 wine_fn_config_makefile dlls/fontsub enable_fontsub
19628 wine_fn_config_makefile dlls/fusion enable_fusion
19629 wine_fn_config_makefile dlls/fusion/tests enable_tests
19630 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19631 wine_fn_config_makefile dlls/gameux enable_gameux
19632 wine_fn_config_makefile dlls/gameux/tests enable_tests
19633 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19634 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19635 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19636 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19637 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19638 wine_fn_config_makefile dlls/glu32 enable_glu32
19639 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19640 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19641 wine_fn_config_makefile dlls/hal enable_hal
19642 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19643 wine_fn_config_makefile dlls/hid enable_hid
19644 wine_fn_config_makefile dlls/hid/tests enable_tests
19645 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19646 wine_fn_config_makefile dlls/hlink enable_hlink
19647 wine_fn_config_makefile dlls/hlink/tests enable_tests
19648 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19649 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19650 wine_fn_config_makefile dlls/httpapi enable_httpapi
19651 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19652 wine_fn_config_makefile dlls/iccvid enable_iccvid
19653 wine_fn_config_makefile dlls/icmp enable_icmp
19654 wine_fn_config_makefile dlls/ieframe enable_ieframe
19655 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19656 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19657 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19658 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19659 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19660 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19661 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19662 wine_fn_config_makefile dlls/imm32 enable_imm32
19663 wine_fn_config_makefile dlls/imm32/tests enable_tests
19664 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19665 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19666 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19667 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19668 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19669 wine_fn_config_makefile dlls/infosoft enable_infosoft
19670 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19671 wine_fn_config_makefile dlls/initpki enable_initpki
19672 wine_fn_config_makefile dlls/inkobj enable_inkobj
19673 wine_fn_config_makefile dlls/inseng enable_inseng
19674 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19675 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19676 wine_fn_config_makefile dlls/iprop enable_iprop
19677 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19678 wine_fn_config_makefile dlls/itircl enable_itircl
19679 wine_fn_config_makefile dlls/itss enable_itss
19680 wine_fn_config_makefile dlls/itss/tests enable_tests
19681 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19682 wine_fn_config_makefile dlls/jscript enable_jscript
19683 wine_fn_config_makefile dlls/jscript/tests enable_tests
19684 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19685 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19686 wine_fn_config_makefile dlls/kerberos enable_kerberos
19687 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19688 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19689 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19690 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19691 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19692 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19693 wine_fn_config_makefile dlls/ksuser enable_ksuser
19694 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19695 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19696 wine_fn_config_makefile dlls/loadperf enable_loadperf
19697 wine_fn_config_makefile dlls/localspl enable_localspl
19698 wine_fn_config_makefile dlls/localspl/tests enable_tests
19699 wine_fn_config_makefile dlls/localui enable_localui
19700 wine_fn_config_makefile dlls/localui/tests enable_tests
19701 wine_fn_config_makefile dlls/lz32 enable_lz32
19702 wine_fn_config_makefile dlls/lz32/tests enable_tests
19703 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19704 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19705 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19706 wine_fn_config_makefile dlls/mapistub enable_mapistub
19707 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19708 wine_fn_config_makefile dlls/mcicda enable_mcicda
19709 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19710 wine_fn_config_makefile dlls/mciseq enable_mciseq
19711 wine_fn_config_makefile dlls/mciwave enable_mciwave
19712 wine_fn_config_makefile dlls/mf enable_mf
19713 wine_fn_config_makefile dlls/mf/tests enable_tests
19714 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19715 wine_fn_config_makefile dlls/mfplat enable_mfplat
19716 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19717 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19718 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
19719 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19720 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19721 wine_fn_config_makefile dlls/midimap enable_midimap
19722 wine_fn_config_makefile dlls/mlang enable_mlang
19723 wine_fn_config_makefile dlls/mlang/tests enable_tests
19724 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19725 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19726 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19727 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19728 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19729 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19730 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19731 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19732 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19733 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19734 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19735 wine_fn_config_makefile dlls/mpr enable_mpr
19736 wine_fn_config_makefile dlls/mpr/tests enable_tests
19737 wine_fn_config_makefile dlls/mprapi enable_mprapi
19738 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19739 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19740 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19741 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19742 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19743 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19744 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19745 wine_fn_config_makefile dlls/mscms enable_mscms
19746 wine_fn_config_makefile dlls/mscms/tests enable_tests
19747 wine_fn_config_makefile dlls/mscoree enable_mscoree
19748 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19749 wine_fn_config_makefile dlls/msctf enable_msctf
19750 wine_fn_config_makefile dlls/msctf/tests enable_tests
19751 wine_fn_config_makefile dlls/msctfp enable_msctfp
19752 wine_fn_config_makefile dlls/msdaps enable_msdaps
19753 wine_fn_config_makefile dlls/msdelta enable_msdelta
19754 wine_fn_config_makefile dlls/msdmo enable_msdmo
19755 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19756 wine_fn_config_makefile dlls/msdrm enable_msdrm
19757 wine_fn_config_makefile dlls/msftedit enable_msftedit
19758 wine_fn_config_makefile dlls/msftedit/tests enable_tests
19759 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19760 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19761 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19762 wine_fn_config_makefile dlls/mshtml enable_mshtml
19763 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19764 wine_fn_config_makefile dlls/msi enable_msi
19765 wine_fn_config_makefile dlls/msi/tests enable_tests
19766 wine_fn_config_makefile dlls/msident enable_msident
19767 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19768 wine_fn_config_makefile dlls/msimsg enable_msimsg
19769 wine_fn_config_makefile dlls/msimtf enable_msimtf
19770 wine_fn_config_makefile dlls/msisip enable_msisip
19771 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19772 wine_fn_config_makefile dlls/msls31 enable_msls31
19773 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19774 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19775 wine_fn_config_makefile dlls/msports enable_msports
19776 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19777 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19778 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19779 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19780 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19781 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19782 wine_fn_config_makefile dlls/mstask enable_mstask
19783 wine_fn_config_makefile dlls/mstask/tests enable_tests
19784 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19785 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19786 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19787 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19788 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19789 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19790 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19791 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19792 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19793 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19794 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19795 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19796 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19797 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19798 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19799 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19800 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19801 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19802 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19803 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19804 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19805 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19806 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19807 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19808 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19809 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19810 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19811 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19812 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19813 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19814 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19815 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19816 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19817 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19818 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19819 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19820 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19821 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19822 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19823 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19824 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19825 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19826 wine_fn_config_makefile dlls/mswsock enable_mswsock
19827 wine_fn_config_makefile dlls/msxml enable_msxml
19828 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19829 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19830 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19831 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19832 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19833 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19834 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19835 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19836 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19837 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19838 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19839 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19840 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19841 wine_fn_config_makefile dlls/netprofm enable_netprofm
19842 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19843 wine_fn_config_makefile dlls/newdev enable_newdev
19844 wine_fn_config_makefile dlls/ninput enable_ninput
19845 wine_fn_config_makefile dlls/ninput/tests enable_tests
19846 wine_fn_config_makefile dlls/normaliz enable_normaliz
19847 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19848 wine_fn_config_makefile dlls/npptools enable_npptools
19849 wine_fn_config_makefile dlls/ntdll enable_ntdll
19850 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19851 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19852 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19853 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19854 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19855 wine_fn_config_makefile dlls/ntprint enable_ntprint
19856 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19857 wine_fn_config_makefile dlls/objsel enable_objsel
19858 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19859 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19860 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19861 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19862 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19863 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19864 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19865 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19866 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19867 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19868 wine_fn_config_makefile dlls/ole32 enable_ole32
19869 wine_fn_config_makefile dlls/ole32/tests enable_tests
19870 wine_fn_config_makefile dlls/oleacc enable_oleacc
19871 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19872 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19873 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19874 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19875 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19876 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19877 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19878 wine_fn_config_makefile dlls/oledlg enable_oledlg
19879 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19880 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19881 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19882 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19883 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19884 wine_fn_config_makefile dlls/opcservices enable_opcservices
19885 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19886 wine_fn_config_makefile dlls/openal32 enable_openal32
19887 wine_fn_config_makefile dlls/opencl enable_opencl
19888 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19889 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19890 wine_fn_config_makefile dlls/packager enable_packager
19891 wine_fn_config_makefile dlls/packager/tests enable_tests
19892 wine_fn_config_makefile dlls/pdh enable_pdh
19893 wine_fn_config_makefile dlls/pdh/tests enable_tests
19894 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19895 wine_fn_config_makefile dlls/pidgen enable_pidgen
19896 wine_fn_config_makefile dlls/powrprof enable_powrprof
19897 wine_fn_config_makefile dlls/printui enable_printui
19898 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19899 wine_fn_config_makefile dlls/propsys enable_propsys
19900 wine_fn_config_makefile dlls/propsys/tests enable_tests
19901 wine_fn_config_makefile dlls/psapi enable_psapi
19902 wine_fn_config_makefile dlls/psapi/tests enable_tests
19903 wine_fn_config_makefile dlls/pstorec enable_pstorec
19904 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19905 wine_fn_config_makefile dlls/qcap enable_qcap
19906 wine_fn_config_makefile dlls/qcap/tests enable_tests
19907 wine_fn_config_makefile dlls/qedit enable_qedit
19908 wine_fn_config_makefile dlls/qedit/tests enable_tests
19909 wine_fn_config_makefile dlls/qmgr enable_qmgr
19910 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19911 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19912 wine_fn_config_makefile dlls/quartz enable_quartz
19913 wine_fn_config_makefile dlls/quartz/tests enable_tests
19914 wine_fn_config_makefile dlls/query enable_query
19915 wine_fn_config_makefile dlls/qwave enable_qwave
19916 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19917 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19918 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19919 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19920 wine_fn_config_makefile dlls/regapi enable_regapi
19921 wine_fn_config_makefile dlls/resutils enable_resutils
19922 wine_fn_config_makefile dlls/riched20 enable_riched20
19923 wine_fn_config_makefile dlls/riched20/tests enable_tests
19924 wine_fn_config_makefile dlls/riched32 enable_riched32
19925 wine_fn_config_makefile dlls/riched32/tests enable_tests
19926 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19927 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19928 wine_fn_config_makefile dlls/rsabase enable_rsabase
19929 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19930 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19931 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19932 wine_fn_config_makefile dlls/rtutils enable_rtutils
19933 wine_fn_config_makefile dlls/samlib enable_samlib
19934 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19935 wine_fn_config_makefile dlls/sapi enable_sapi
19936 wine_fn_config_makefile dlls/sapi/tests enable_tests
19937 wine_fn_config_makefile dlls/sas enable_sas
19938 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19939 wine_fn_config_makefile dlls/sccbase enable_sccbase
19940 wine_fn_config_makefile dlls/schannel enable_schannel
19941 wine_fn_config_makefile dlls/schannel/tests enable_tests
19942 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19943 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19944 wine_fn_config_makefile dlls/scrobj enable_scrobj
19945 wine_fn_config_makefile dlls/scrrun enable_scrrun
19946 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19947 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19948 wine_fn_config_makefile dlls/secur32 enable_secur32
19949 wine_fn_config_makefile dlls/secur32/tests enable_tests
19950 wine_fn_config_makefile dlls/security enable_security
19951 wine_fn_config_makefile dlls/sensapi enable_sensapi
19952 wine_fn_config_makefile dlls/serialui enable_serialui
19953 wine_fn_config_makefile dlls/serialui/tests enable_tests
19954 wine_fn_config_makefile dlls/setupapi enable_setupapi
19955 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19956 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19957 wine_fn_config_makefile dlls/sfc enable_sfc
19958 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19959 wine_fn_config_makefile dlls/shcore enable_shcore
19960 wine_fn_config_makefile dlls/shcore/tests enable_tests
19961 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19962 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19963 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19964 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19965 wine_fn_config_makefile dlls/shell32 enable_shell32
19966 wine_fn_config_makefile dlls/shell32/tests enable_tests
19967 wine_fn_config_makefile dlls/shfolder enable_shfolder
19968 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19969 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19970 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19971 wine_fn_config_makefile dlls/slc enable_slc
19972 wine_fn_config_makefile dlls/slc/tests enable_tests
19973 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19974 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19975 wine_fn_config_makefile dlls/softpub enable_softpub
19976 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19977 wine_fn_config_makefile dlls/spoolss enable_spoolss
19978 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19979 wine_fn_config_makefile dlls/srclient enable_srclient
19980 wine_fn_config_makefile dlls/sspicli enable_sspicli
19981 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19982 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19983 wine_fn_config_makefile dlls/sti enable_sti
19984 wine_fn_config_makefile dlls/sti/tests enable_tests
19985 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19986 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19987 wine_fn_config_makefile dlls/strmbase enable_strmbase
19988 wine_fn_config_makefile dlls/strmdll enable_strmdll
19989 wine_fn_config_makefile dlls/strmiids enable_strmiids
19990 wine_fn_config_makefile dlls/svrapi enable_svrapi
19991 wine_fn_config_makefile dlls/sxs enable_sxs
19992 wine_fn_config_makefile dlls/sxs/tests enable_tests
19993 wine_fn_config_makefile dlls/system.drv16 enable_win16
19994 wine_fn_config_makefile dlls/t2embed enable_t2embed
19995 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19996 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19997 wine_fn_config_makefile dlls/taskschd enable_taskschd
19998 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19999 wine_fn_config_makefile dlls/tdh enable_tdh
20000 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20001 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20002 wine_fn_config_makefile dlls/traffic enable_traffic
20003 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20004 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20005 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20006 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20007 wine_fn_config_makefile dlls/tzres enable_tzres
20008 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20009 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20010 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20011 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20012 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20013 wine_fn_config_makefile dlls/unicows enable_unicows
20014 wine_fn_config_makefile dlls/updspapi enable_updspapi
20015 wine_fn_config_makefile dlls/url enable_url
20016 wine_fn_config_makefile dlls/urlmon enable_urlmon
20017 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20018 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20019 wine_fn_config_makefile dlls/user.exe16 enable_win16
20020 wine_fn_config_makefile dlls/user32 enable_user32
20021 wine_fn_config_makefile dlls/user32/tests enable_tests
20022 wine_fn_config_makefile dlls/userenv enable_userenv
20023 wine_fn_config_makefile dlls/userenv/tests enable_tests
20024 wine_fn_config_makefile dlls/usp10 enable_usp10
20025 wine_fn_config_makefile dlls/usp10/tests enable_tests
20026 wine_fn_config_makefile dlls/uuid enable_uuid
20027 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20028 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20029 wine_fn_config_makefile dlls/vbscript enable_vbscript
20030 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20031 wine_fn_config_makefile dlls/vcomp enable_vcomp
20032 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20033 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20034 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20035 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20036 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20037 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20038 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20039 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20040 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20041 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20042 wine_fn_config_makefile dlls/version enable_version
20043 wine_fn_config_makefile dlls/version/tests enable_tests
20044 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20045 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20046 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20047 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20048 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20049 wine_fn_config_makefile dlls/vssapi enable_vssapi
20050 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20051 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20052 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20053 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20054 wine_fn_config_makefile dlls/w32skrnl enable_win16
20055 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20056 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20057 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20058 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20059 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20060 wine_fn_config_makefile dlls/wdscore enable_wdscore
20061 wine_fn_config_makefile dlls/webservices enable_webservices
20062 wine_fn_config_makefile dlls/webservices/tests enable_tests
20063 wine_fn_config_makefile dlls/wer enable_wer
20064 wine_fn_config_makefile dlls/wer/tests enable_tests
20065 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20066 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20067 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20068 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20069 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20070 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20071 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20072 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20073 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20074 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20075 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20076 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20077 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20078 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20079 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20080 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20081 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20082 wine_fn_config_makefile dlls/wined3d enable_wined3d
20083 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20084 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20085 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20086 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20087 wine_fn_config_makefile dlls/winemapi enable_winemapi
20088 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20089 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20090 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20091 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20092 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20093 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20094 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20095 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20096 wine_fn_config_makefile dlls/wing32 enable_wing32
20097 wine_fn_config_makefile dlls/winhttp enable_winhttp
20098 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20099 wine_fn_config_makefile dlls/wininet enable_wininet
20100 wine_fn_config_makefile dlls/wininet/tests enable_tests
20101 wine_fn_config_makefile dlls/winmm enable_winmm
20102 wine_fn_config_makefile dlls/winmm/tests enable_tests
20103 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20104 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20105 wine_fn_config_makefile dlls/winscard enable_winscard
20106 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20107 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20108 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20109 wine_fn_config_makefile dlls/winsta enable_winsta
20110 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20111 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20112 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20113 wine_fn_config_makefile dlls/wintrust enable_wintrust
20114 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20115 wine_fn_config_makefile dlls/winusb enable_winusb
20116 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20117 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20118 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20119 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20120 wine_fn_config_makefile dlls/wmasf enable_wmasf
20121 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20122 wine_fn_config_makefile dlls/wmi enable_wmi
20123 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20124 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20125 wine_fn_config_makefile dlls/wmp enable_wmp
20126 wine_fn_config_makefile dlls/wmp/tests enable_tests
20127 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20128 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20129 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20130 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20131 wine_fn_config_makefile dlls/wow32 enable_win16
20132 wine_fn_config_makefile dlls/wpc enable_wpc
20133 wine_fn_config_makefile dlls/wpc/tests enable_tests
20134 wine_fn_config_makefile dlls/wpcap enable_wpcap
20135 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20136 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20137 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20138 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20139 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20140 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20141 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20142 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20143 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20144 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20145 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20146 wine_fn_config_makefile dlls/wuapi enable_wuapi
20147 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20148 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20149 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20150 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20151 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20152 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20153 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20154 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20155 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20156 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20157 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20158 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20159 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20160 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20161 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20162 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20163 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20164 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20165 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20166 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20167 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20168 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20169 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20170 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20171 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20172 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20173 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20174 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20175 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20176 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20177 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20178 wine_fn_config_makefile dlls/xmllite enable_xmllite
20179 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20180 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20181 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20182 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20183 wine_fn_config_makefile fonts enable_fonts
20184 wine_fn_config_makefile include enable_include
20185 wine_fn_config_makefile libs/port enable_port
20186 wine_fn_config_makefile libs/wine enable_wine
20187 wine_fn_config_makefile libs/wpp enable_wpp
20188 wine_fn_config_makefile loader enable_loader
20189 wine_fn_config_makefile po enable_po
20190 wine_fn_config_makefile programs/arp enable_arp
20191 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20192 wine_fn_config_makefile programs/attrib enable_attrib
20193 wine_fn_config_makefile programs/cabarc enable_cabarc
20194 wine_fn_config_makefile programs/cacls enable_cacls
20195 wine_fn_config_makefile programs/clock enable_clock
20196 wine_fn_config_makefile programs/cmd enable_cmd
20197 wine_fn_config_makefile programs/cmd/tests enable_tests
20198 wine_fn_config_makefile programs/conhost enable_conhost
20199 wine_fn_config_makefile programs/control enable_control
20200 wine_fn_config_makefile programs/cscript enable_cscript
20201 wine_fn_config_makefile programs/dism enable_dism
20202 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20203 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20204 wine_fn_config_makefile programs/eject enable_eject
20205 wine_fn_config_makefile programs/expand enable_expand
20206 wine_fn_config_makefile programs/explorer enable_explorer
20207 wine_fn_config_makefile programs/extrac32 enable_extrac32
20208 wine_fn_config_makefile programs/fc enable_fc
20209 wine_fn_config_makefile programs/find enable_find
20210 wine_fn_config_makefile programs/findstr enable_findstr
20211 wine_fn_config_makefile programs/fsutil enable_fsutil
20212 wine_fn_config_makefile programs/hh enable_hh
20213 wine_fn_config_makefile programs/hostname enable_hostname
20214 wine_fn_config_makefile programs/icacls enable_icacls
20215 wine_fn_config_makefile programs/icinfo enable_icinfo
20216 wine_fn_config_makefile programs/iexplore enable_iexplore
20217 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20218 wine_fn_config_makefile programs/lodctr enable_lodctr
20219 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20220 wine_fn_config_makefile programs/mshta enable_mshta
20221 wine_fn_config_makefile programs/msiexec enable_msiexec
20222 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20223 wine_fn_config_makefile programs/net enable_net
20224 wine_fn_config_makefile programs/netsh enable_netsh
20225 wine_fn_config_makefile programs/netstat enable_netstat
20226 wine_fn_config_makefile programs/ngen enable_ngen
20227 wine_fn_config_makefile programs/notepad enable_notepad
20228 wine_fn_config_makefile programs/oleview enable_oleview
20229 wine_fn_config_makefile programs/ping enable_ping
20230 wine_fn_config_makefile programs/plugplay enable_plugplay
20231 wine_fn_config_makefile programs/powershell enable_powershell
20232 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20233 wine_fn_config_makefile programs/progman enable_progman
20234 wine_fn_config_makefile programs/reg enable_reg
20235 wine_fn_config_makefile programs/reg/tests enable_tests
20236 wine_fn_config_makefile programs/regasm enable_regasm
20237 wine_fn_config_makefile programs/regedit enable_regedit
20238 wine_fn_config_makefile programs/regedit/tests enable_tests
20239 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20240 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20241 wine_fn_config_makefile programs/rpcss enable_rpcss
20242 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20243 wine_fn_config_makefile programs/rundll32 enable_rundll32
20244 wine_fn_config_makefile programs/sc enable_sc
20245 wine_fn_config_makefile programs/schtasks enable_schtasks
20246 wine_fn_config_makefile programs/schtasks/tests enable_tests
20247 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20248 wine_fn_config_makefile programs/secedit enable_secedit
20249 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20250 wine_fn_config_makefile programs/services enable_services
20251 wine_fn_config_makefile programs/services/tests enable_tests
20252 wine_fn_config_makefile programs/shutdown enable_shutdown
20253 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20254 wine_fn_config_makefile programs/start enable_start
20255 wine_fn_config_makefile programs/subst enable_subst
20256 wine_fn_config_makefile programs/svchost enable_svchost
20257 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20258 wine_fn_config_makefile programs/taskkill enable_taskkill
20259 wine_fn_config_makefile programs/tasklist enable_tasklist
20260 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20261 wine_fn_config_makefile programs/termsv enable_termsv
20262 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20263 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20264 wine_fn_config_makefile programs/view enable_view
20265 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20266 wine_fn_config_makefile programs/wineboot enable_wineboot
20267 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20268 wine_fn_config_makefile programs/winecfg enable_winecfg
20269 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20270 wine_fn_config_makefile programs/winedbg enable_winedbg
20271 wine_fn_config_makefile programs/winedevice enable_winedevice
20272 wine_fn_config_makefile programs/winefile enable_winefile
20273 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20274 wine_fn_config_makefile programs/winemine enable_winemine
20275 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20276 wine_fn_config_makefile programs/winepath enable_winepath
20277 wine_fn_config_makefile programs/winetest enable_winetest
20278 wine_fn_config_makefile programs/winevdm enable_win16
20279 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20280 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20281 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20282 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20283 wine_fn_config_makefile programs/winver enable_winver
20284 wine_fn_config_makefile programs/wmic enable_wmic
20285 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20286 wine_fn_config_makefile programs/wordpad enable_wordpad
20287 wine_fn_config_makefile programs/write enable_write
20288 wine_fn_config_makefile programs/wscript enable_wscript
20289 wine_fn_config_makefile programs/wscript/tests enable_tests
20290 wine_fn_config_makefile programs/wusa enable_wusa
20291 wine_fn_config_makefile programs/xcopy enable_xcopy
20292 wine_fn_config_makefile programs/xcopy/tests enable_tests
20293 wine_fn_config_makefile server enable_server
20294 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20295 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20296 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20297 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20298 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20299 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20300 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20301 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20302 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20305 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20306 wine_fn_append_file CONFIGURE_TARGETS "tags"
20307 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20308 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20309 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20310 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20311 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20312 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20314 if test "x$enable_tools" != xno
20315 then
20316 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20317 ac_config_commands="$ac_config_commands tools/makedep"
20321 ac_config_commands="$ac_config_commands Makefile"
20324 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20328 if test "x$enable_maintainer_mode" = xyes
20329 then
20330 wine_fn_append_rule "configure: configure.ac aclocal.m4
20331 autoconf --warnings=all
20332 include/config.h.in: include/stamp-h.in
20333 include/stamp-h.in: configure.ac aclocal.m4
20334 autoheader --warnings=all
20335 @echo timestamp > \$@"
20338 if test "x$enable_tools" != xno
20339 then
20340 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20341 @./config.status tools/makedep
20342 Makefile: tools/makedep$ac_exeext
20343 fonts: tools/sfnt2fon
20344 include: tools tools/widl"
20345 else
20346 wine_fn_append_rule "\$(MAKEDEP):
20347 @echo \"You need to run make in $TOOLSDIR first\" && false"
20350 if test -n "$with_wine64"
20351 then
20352 case "$with_wine64" in
20353 /*) reldir="" ;;
20354 *) reldir="../" ;;
20355 esac
20356 rm -f fonts server 2>/dev/null
20357 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20358 loader/wine64 loader/wine64-preloader:
20359 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20360 $with_wine64/loader/wine:
20361 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20362 $with_wine64/loader/wine-preloader:
20363 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20364 clean::
20365 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20366 else
20367 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
20368 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
20369 fonts \
20370 loader/l_intl.nls \
20371 loader/wine.inf \
20372 programs/msiexec/msiexec \
20373 programs/notepad/notepad \
20374 programs/regedit/regedit \
20375 programs/regsvr32/regsvr32 \
20376 programs/wineboot/wineboot \
20377 programs/winecfg/winecfg \
20378 programs/wineconsole/wineconsole \
20379 programs/winedbg/winedbg \
20380 programs/winefile/winefile \
20381 programs/winemine/winemine \
20382 programs/winepath/winepath \
20383 server/wineserver"
20385 case $host_os in
20386 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20387 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
20388 esac
20391 $as_echo " done" >&6
20392 cat >confcache <<\_ACEOF
20393 # This file is a shell script that caches the results of configure
20394 # tests run on this system so they can be shared between configure
20395 # scripts and configure runs, see configure's option --config-cache.
20396 # It is not useful on other systems. If it contains results you don't
20397 # want to keep, you may remove or edit it.
20399 # config.status only pays attention to the cache file if you give it
20400 # the --recheck option to rerun configure.
20402 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20403 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20404 # following values.
20406 _ACEOF
20408 # The following way of writing the cache mishandles newlines in values,
20409 # but we know of no workaround that is simple, portable, and efficient.
20410 # So, we kill variables containing newlines.
20411 # Ultrix sh set writes to stderr and can't be redirected directly,
20412 # and sets the high bit in the cache file unless we assign to the vars.
20414 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20415 eval ac_val=\$$ac_var
20416 case $ac_val in #(
20417 *${as_nl}*)
20418 case $ac_var in #(
20419 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20420 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20421 esac
20422 case $ac_var in #(
20423 _ | IFS | as_nl) ;; #(
20424 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20425 *) { eval $ac_var=; unset $ac_var;} ;;
20426 esac ;;
20427 esac
20428 done
20430 (set) 2>&1 |
20431 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20432 *${as_nl}ac_space=\ *)
20433 # `set' does not quote correctly, so add quotes: double-quote
20434 # substitution turns \\\\ into \\, and sed turns \\ into \.
20435 sed -n \
20436 "s/'/'\\\\''/g;
20437 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20438 ;; #(
20440 # `set' quotes correctly as required by POSIX, so do not add quotes.
20441 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20443 esac |
20444 sort
20446 sed '
20447 /^ac_cv_env_/b end
20448 t clear
20449 :clear
20450 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20451 t end
20452 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20453 :end' >>confcache
20454 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20455 if test -w "$cache_file"; then
20456 if test "x$cache_file" != "x/dev/null"; then
20457 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20458 $as_echo "$as_me: updating cache $cache_file" >&6;}
20459 if test ! -f "$cache_file" || test -h "$cache_file"; then
20460 cat confcache >"$cache_file"
20461 else
20462 case $cache_file in #(
20463 */* | ?:*)
20464 mv -f confcache "$cache_file"$$ &&
20465 mv -f "$cache_file"$$ "$cache_file" ;; #(
20467 mv -f confcache "$cache_file" ;;
20468 esac
20471 else
20472 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20473 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20476 rm -f confcache
20478 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20479 # Let make expand exec_prefix.
20480 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20482 DEFS=-DHAVE_CONFIG_H
20484 ac_libobjs=
20485 ac_ltlibobjs=
20487 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20488 # 1. Remove the extension, and $U if already installed.
20489 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20490 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20491 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20492 # will be set to the directory where LIBOBJS objects are built.
20493 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20494 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20495 done
20496 LIBOBJS=$ac_libobjs
20498 LTLIBOBJS=$ac_ltlibobjs
20502 : "${CONFIG_STATUS=./config.status}"
20503 ac_write_fail=0
20504 ac_clean_files_save=$ac_clean_files
20505 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20506 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20507 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20508 as_write_fail=0
20509 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20510 #! $SHELL
20511 # Generated by $as_me.
20512 # Run this file to recreate the current configuration.
20513 # Compiler output produced by configure, useful for debugging
20514 # configure, is in config.log if it exists.
20516 debug=false
20517 ac_cs_recheck=false
20518 ac_cs_silent=false
20520 SHELL=\${CONFIG_SHELL-$SHELL}
20521 export SHELL
20522 _ASEOF
20523 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20524 ## -------------------- ##
20525 ## M4sh Initialization. ##
20526 ## -------------------- ##
20528 # Be more Bourne compatible
20529 DUALCASE=1; export DUALCASE # for MKS sh
20530 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20531 emulate sh
20532 NULLCMD=:
20533 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20534 # is contrary to our usage. Disable this feature.
20535 alias -g '${1+"$@"}'='"$@"'
20536 setopt NO_GLOB_SUBST
20537 else
20538 case `(set -o) 2>/dev/null` in #(
20539 *posix*) :
20540 set -o posix ;; #(
20541 *) :
20543 esac
20547 as_nl='
20549 export as_nl
20550 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20551 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20552 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20553 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20554 # Prefer a ksh shell builtin over an external printf program on Solaris,
20555 # but without wasting forks for bash or zsh.
20556 if test -z "$BASH_VERSION$ZSH_VERSION" \
20557 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20558 as_echo='print -r --'
20559 as_echo_n='print -rn --'
20560 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20561 as_echo='printf %s\n'
20562 as_echo_n='printf %s'
20563 else
20564 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20565 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20566 as_echo_n='/usr/ucb/echo -n'
20567 else
20568 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20569 as_echo_n_body='eval
20570 arg=$1;
20571 case $arg in #(
20572 *"$as_nl"*)
20573 expr "X$arg" : "X\\(.*\\)$as_nl";
20574 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20575 esac;
20576 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20578 export as_echo_n_body
20579 as_echo_n='sh -c $as_echo_n_body as_echo'
20581 export as_echo_body
20582 as_echo='sh -c $as_echo_body as_echo'
20585 # The user is always right.
20586 if test "${PATH_SEPARATOR+set}" != set; then
20587 PATH_SEPARATOR=:
20588 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20589 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20590 PATH_SEPARATOR=';'
20595 # IFS
20596 # We need space, tab and new line, in precisely that order. Quoting is
20597 # there to prevent editors from complaining about space-tab.
20598 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20599 # splitting by setting IFS to empty value.)
20600 IFS=" "" $as_nl"
20602 # Find who we are. Look in the path if we contain no directory separator.
20603 as_myself=
20604 case $0 in #((
20605 *[\\/]* ) as_myself=$0 ;;
20606 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20607 for as_dir in $PATH
20609 IFS=$as_save_IFS
20610 test -z "$as_dir" && as_dir=.
20611 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20612 done
20613 IFS=$as_save_IFS
20616 esac
20617 # We did not find ourselves, most probably we were run as `sh COMMAND'
20618 # in which case we are not to be found in the path.
20619 if test "x$as_myself" = x; then
20620 as_myself=$0
20622 if test ! -f "$as_myself"; then
20623 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20624 exit 1
20627 # Unset variables that we do not need and which cause bugs (e.g. in
20628 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20629 # suppresses any "Segmentation fault" message there. '((' could
20630 # trigger a bug in pdksh 5.2.14.
20631 for as_var in BASH_ENV ENV MAIL MAILPATH
20632 do eval test x\${$as_var+set} = xset \
20633 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20634 done
20635 PS1='$ '
20636 PS2='> '
20637 PS4='+ '
20639 # NLS nuisances.
20640 LC_ALL=C
20641 export LC_ALL
20642 LANGUAGE=C
20643 export LANGUAGE
20645 # CDPATH.
20646 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20649 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20650 # ----------------------------------------
20651 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20652 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20653 # script with STATUS, using 1 if that was 0.
20654 as_fn_error ()
20656 as_status=$1; test $as_status -eq 0 && as_status=1
20657 if test "$4"; then
20658 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20659 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20661 $as_echo "$as_me: error: $2" >&2
20662 as_fn_exit $as_status
20663 } # as_fn_error
20666 # as_fn_set_status STATUS
20667 # -----------------------
20668 # Set $? to STATUS, without forking.
20669 as_fn_set_status ()
20671 return $1
20672 } # as_fn_set_status
20674 # as_fn_exit STATUS
20675 # -----------------
20676 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20677 as_fn_exit ()
20679 set +e
20680 as_fn_set_status $1
20681 exit $1
20682 } # as_fn_exit
20684 # as_fn_unset VAR
20685 # ---------------
20686 # Portably unset VAR.
20687 as_fn_unset ()
20689 { eval $1=; unset $1;}
20691 as_unset=as_fn_unset
20692 # as_fn_append VAR VALUE
20693 # ----------------------
20694 # Append the text in VALUE to the end of the definition contained in VAR. Take
20695 # advantage of any shell optimizations that allow amortized linear growth over
20696 # repeated appends, instead of the typical quadratic growth present in naive
20697 # implementations.
20698 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20699 eval 'as_fn_append ()
20701 eval $1+=\$2
20703 else
20704 as_fn_append ()
20706 eval $1=\$$1\$2
20708 fi # as_fn_append
20710 # as_fn_arith ARG...
20711 # ------------------
20712 # Perform arithmetic evaluation on the ARGs, and store the result in the
20713 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20714 # must be portable across $(()) and expr.
20715 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20716 eval 'as_fn_arith ()
20718 as_val=$(( $* ))
20720 else
20721 as_fn_arith ()
20723 as_val=`expr "$@" || test $? -eq 1`
20725 fi # as_fn_arith
20728 if expr a : '\(a\)' >/dev/null 2>&1 &&
20729 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20730 as_expr=expr
20731 else
20732 as_expr=false
20735 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20736 as_basename=basename
20737 else
20738 as_basename=false
20741 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20742 as_dirname=dirname
20743 else
20744 as_dirname=false
20747 as_me=`$as_basename -- "$0" ||
20748 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20749 X"$0" : 'X\(//\)$' \| \
20750 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20751 $as_echo X/"$0" |
20752 sed '/^.*\/\([^/][^/]*\)\/*$/{
20753 s//\1/
20756 /^X\/\(\/\/\)$/{
20757 s//\1/
20760 /^X\/\(\/\).*/{
20761 s//\1/
20764 s/.*/./; q'`
20766 # Avoid depending upon Character Ranges.
20767 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20768 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20769 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20770 as_cr_digits='0123456789'
20771 as_cr_alnum=$as_cr_Letters$as_cr_digits
20773 ECHO_C= ECHO_N= ECHO_T=
20774 case `echo -n x` in #(((((
20775 -n*)
20776 case `echo 'xy\c'` in
20777 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20778 xy) ECHO_C='\c';;
20779 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20780 ECHO_T=' ';;
20781 esac;;
20783 ECHO_N='-n';;
20784 esac
20786 rm -f conf$$ conf$$.exe conf$$.file
20787 if test -d conf$$.dir; then
20788 rm -f conf$$.dir/conf$$.file
20789 else
20790 rm -f conf$$.dir
20791 mkdir conf$$.dir 2>/dev/null
20793 if (echo >conf$$.file) 2>/dev/null; then
20794 if ln -s conf$$.file conf$$ 2>/dev/null; then
20795 as_ln_s='ln -s'
20796 # ... but there are two gotchas:
20797 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20798 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20799 # In both cases, we have to default to `cp -pR'.
20800 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20801 as_ln_s='cp -pR'
20802 elif ln conf$$.file conf$$ 2>/dev/null; then
20803 as_ln_s=ln
20804 else
20805 as_ln_s='cp -pR'
20807 else
20808 as_ln_s='cp -pR'
20810 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20811 rmdir conf$$.dir 2>/dev/null
20814 # as_fn_mkdir_p
20815 # -------------
20816 # Create "$as_dir" as a directory, including parents if necessary.
20817 as_fn_mkdir_p ()
20820 case $as_dir in #(
20821 -*) as_dir=./$as_dir;;
20822 esac
20823 test -d "$as_dir" || eval $as_mkdir_p || {
20824 as_dirs=
20825 while :; do
20826 case $as_dir in #(
20827 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20828 *) as_qdir=$as_dir;;
20829 esac
20830 as_dirs="'$as_qdir' $as_dirs"
20831 as_dir=`$as_dirname -- "$as_dir" ||
20832 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20833 X"$as_dir" : 'X\(//\)[^/]' \| \
20834 X"$as_dir" : 'X\(//\)$' \| \
20835 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20836 $as_echo X"$as_dir" |
20837 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20838 s//\1/
20841 /^X\(\/\/\)[^/].*/{
20842 s//\1/
20845 /^X\(\/\/\)$/{
20846 s//\1/
20849 /^X\(\/\).*/{
20850 s//\1/
20853 s/.*/./; q'`
20854 test -d "$as_dir" && break
20855 done
20856 test -z "$as_dirs" || eval "mkdir $as_dirs"
20857 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20860 } # as_fn_mkdir_p
20861 if mkdir -p . 2>/dev/null; then
20862 as_mkdir_p='mkdir -p "$as_dir"'
20863 else
20864 test -d ./-p && rmdir ./-p
20865 as_mkdir_p=false
20869 # as_fn_executable_p FILE
20870 # -----------------------
20871 # Test if FILE is an executable regular file.
20872 as_fn_executable_p ()
20874 test -f "$1" && test -x "$1"
20875 } # as_fn_executable_p
20876 as_test_x='test -x'
20877 as_executable_p=as_fn_executable_p
20879 # Sed expression to map a string onto a valid CPP name.
20880 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20882 # Sed expression to map a string onto a valid variable name.
20883 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20886 exec 6>&1
20887 ## ----------------------------------- ##
20888 ## Main body of $CONFIG_STATUS script. ##
20889 ## ----------------------------------- ##
20890 _ASEOF
20891 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20894 # Save the log message, to keep $0 and so on meaningful, and to
20895 # report actual input values of CONFIG_FILES etc. instead of their
20896 # values after options handling.
20897 ac_log="
20898 This file was extended by Wine $as_me 4.2, which was
20899 generated by GNU Autoconf 2.69. Invocation command line was
20901 CONFIG_FILES = $CONFIG_FILES
20902 CONFIG_HEADERS = $CONFIG_HEADERS
20903 CONFIG_LINKS = $CONFIG_LINKS
20904 CONFIG_COMMANDS = $CONFIG_COMMANDS
20905 $ $0 $@
20907 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20910 _ACEOF
20912 case $ac_config_files in *"
20913 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20914 esac
20916 case $ac_config_headers in *"
20917 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20918 esac
20921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20922 # Files that config.status was made for.
20923 config_files="$ac_config_files"
20924 config_headers="$ac_config_headers"
20925 config_links="$ac_config_links"
20926 config_commands="$ac_config_commands"
20928 _ACEOF
20930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20931 ac_cs_usage="\
20932 \`$as_me' instantiates files and other configuration actions
20933 from templates according to the current configuration. Unless the files
20934 and actions are specified as TAGs, all are instantiated by default.
20936 Usage: $0 [OPTION]... [TAG]...
20938 -h, --help print this help, then exit
20939 -V, --version print version number and configuration settings, then exit
20940 --config print configuration, then exit
20941 -q, --quiet, --silent
20942 do not print progress messages
20943 -d, --debug don't remove temporary files
20944 --recheck update $as_me by reconfiguring in the same conditions
20945 --file=FILE[:TEMPLATE]
20946 instantiate the configuration file FILE
20947 --header=FILE[:TEMPLATE]
20948 instantiate the configuration header FILE
20950 Configuration files:
20951 $config_files
20953 Configuration headers:
20954 $config_headers
20956 Configuration links:
20957 $config_links
20959 Configuration commands:
20960 $config_commands
20962 Report bugs to <wine-devel@winehq.org>.
20963 Wine home page: <https://www.winehq.org>."
20965 _ACEOF
20966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20967 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20968 ac_cs_version="\\
20969 Wine config.status 4.2
20970 configured by $0, generated by GNU Autoconf 2.69,
20971 with options \\"\$ac_cs_config\\"
20973 Copyright (C) 2012 Free Software Foundation, Inc.
20974 This config.status script is free software; the Free Software Foundation
20975 gives unlimited permission to copy, distribute and modify it."
20977 ac_pwd='$ac_pwd'
20978 srcdir='$srcdir'
20979 test -n "\$AWK" || AWK=awk
20980 _ACEOF
20982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20983 # The default lists apply if the user does not specify any file.
20984 ac_need_defaults=:
20985 while test $# != 0
20987 case $1 in
20988 --*=?*)
20989 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20990 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20991 ac_shift=:
20993 --*=)
20994 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20995 ac_optarg=
20996 ac_shift=:
20999 ac_option=$1
21000 ac_optarg=$2
21001 ac_shift=shift
21003 esac
21005 case $ac_option in
21006 # Handling of the options.
21007 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21008 ac_cs_recheck=: ;;
21009 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21010 $as_echo "$ac_cs_version"; exit ;;
21011 --config | --confi | --conf | --con | --co | --c )
21012 $as_echo "$ac_cs_config"; exit ;;
21013 --debug | --debu | --deb | --de | --d | -d )
21014 debug=: ;;
21015 --file | --fil | --fi | --f )
21016 $ac_shift
21017 case $ac_optarg in
21018 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21019 '') as_fn_error $? "missing file argument" ;;
21020 esac
21021 as_fn_append CONFIG_FILES " '$ac_optarg'"
21022 ac_need_defaults=false;;
21023 --header | --heade | --head | --hea )
21024 $ac_shift
21025 case $ac_optarg in
21026 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21027 esac
21028 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21029 ac_need_defaults=false;;
21030 --he | --h)
21031 # Conflict between --help and --header
21032 as_fn_error $? "ambiguous option: \`$1'
21033 Try \`$0 --help' for more information.";;
21034 --help | --hel | -h )
21035 $as_echo "$ac_cs_usage"; exit ;;
21036 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21037 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21038 ac_cs_silent=: ;;
21040 # This is an error.
21041 -*) as_fn_error $? "unrecognized option: \`$1'
21042 Try \`$0 --help' for more information." ;;
21044 *) as_fn_append ac_config_targets " $1"
21045 ac_need_defaults=false ;;
21047 esac
21048 shift
21049 done
21051 ac_configure_extra_args=
21053 if $ac_cs_silent; then
21054 exec 6>/dev/null
21055 ac_configure_extra_args="$ac_configure_extra_args --silent"
21058 _ACEOF
21059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21060 if \$ac_cs_recheck; then
21061 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21062 shift
21063 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21064 CONFIG_SHELL='$SHELL'
21065 export CONFIG_SHELL
21066 exec "\$@"
21069 _ACEOF
21070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21071 exec 5>>config.log
21073 echo
21074 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21075 ## Running $as_me. ##
21076 _ASBOX
21077 $as_echo "$ac_log"
21078 } >&5
21080 _ACEOF
21081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21083 # INIT-COMMANDS
21085 wine_fn_output_makedep ()
21087 as_dir=tools; as_fn_mkdir_p
21088 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21090 wine_fn_output_makefile ()
21092 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21093 `cat $wine_rules_file`
21094 _WINE_EOF
21095 as_fn_error $? "could not create Makefile" "$LINENO" 5
21098 _ACEOF
21100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21102 # Handling of arguments.
21103 for ac_config_target in $ac_config_targets
21105 case $ac_config_target in
21106 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21107 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21108 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21109 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21110 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21111 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21112 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21113 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21114 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21115 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21116 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21117 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21118 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21120 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21121 esac
21122 done
21125 # If the user did not use the arguments to specify the items to instantiate,
21126 # then the envvar interface is used. Set only those that are not.
21127 # We use the long form for the default assignment because of an extremely
21128 # bizarre bug on SunOS 4.1.3.
21129 if $ac_need_defaults; then
21130 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21131 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21132 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21133 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21136 # Have a temporary directory for convenience. Make it in the build tree
21137 # simply because there is no reason against having it here, and in addition,
21138 # creating and moving files from /tmp can sometimes cause problems.
21139 # Hook for its removal unless debugging.
21140 # Note that there is a small window in which the directory will not be cleaned:
21141 # after its creation but before its name has been assigned to `$tmp'.
21142 $debug ||
21144 tmp= ac_tmp=
21145 trap 'exit_status=$?
21146 : "${ac_tmp:=$tmp}"
21147 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21149 trap 'as_fn_exit 1' 1 2 13 15
21151 # Create a (secure) tmp directory for tmp files.
21154 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21155 test -d "$tmp"
21156 } ||
21158 tmp=./conf$$-$RANDOM
21159 (umask 077 && mkdir "$tmp")
21160 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21161 ac_tmp=$tmp
21163 # Set up the scripts for CONFIG_FILES section.
21164 # No need to generate them if there are no CONFIG_FILES.
21165 # This happens for instance with `./config.status config.h'.
21166 if test -n "$CONFIG_FILES"; then
21169 ac_cr=`echo X | tr X '\015'`
21170 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21171 # But we know of no other shell where ac_cr would be empty at this
21172 # point, so we can use a bashism as a fallback.
21173 if test "x$ac_cr" = x; then
21174 eval ac_cr=\$\'\\r\'
21176 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21177 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21178 ac_cs_awk_cr='\\r'
21179 else
21180 ac_cs_awk_cr=$ac_cr
21183 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21184 _ACEOF
21188 echo "cat >conf$$subs.awk <<_ACEOF" &&
21189 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21190 echo "_ACEOF"
21191 } >conf$$subs.sh ||
21192 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21193 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21194 ac_delim='%!_!# '
21195 for ac_last_try in false false false false false :; do
21196 . ./conf$$subs.sh ||
21197 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21199 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21200 if test $ac_delim_n = $ac_delim_num; then
21201 break
21202 elif $ac_last_try; then
21203 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21204 else
21205 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21207 done
21208 rm -f conf$$subs.sh
21210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21211 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21212 _ACEOF
21213 sed -n '
21215 s/^/S["/; s/!.*/"]=/
21218 s/^[^!]*!//
21219 :repl
21220 t repl
21221 s/'"$ac_delim"'$//
21222 t delim
21225 s/\(.\{148\}\)..*/\1/
21226 t more1
21227 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21230 b repl
21231 :more1
21232 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21235 s/.\{148\}//
21236 t nl
21237 :delim
21239 s/\(.\{148\}\)..*/\1/
21240 t more2
21241 s/["\\]/\\&/g; s/^/"/; s/$/"/
21244 :more2
21245 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21248 s/.\{148\}//
21249 t delim
21250 ' <conf$$subs.awk | sed '
21251 /^[^""]/{
21253 s/\n//
21255 ' >>$CONFIG_STATUS || ac_write_fail=1
21256 rm -f conf$$subs.awk
21257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21258 _ACAWK
21259 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21260 for (key in S) S_is_set[key] = 1
21261 FS = "\a"
21265 line = $ 0
21266 nfields = split(line, field, "@")
21267 substed = 0
21268 len = length(field[1])
21269 for (i = 2; i < nfields; i++) {
21270 key = field[i]
21271 keylen = length(key)
21272 if (S_is_set[key]) {
21273 value = S[key]
21274 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21275 len += length(value) + length(field[++i])
21276 substed = 1
21277 } else
21278 len += 1 + keylen
21281 print line
21284 _ACAWK
21285 _ACEOF
21286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21287 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21288 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21289 else
21291 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21292 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21293 _ACEOF
21295 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21296 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21297 # trailing colons and then remove the whole line if VPATH becomes empty
21298 # (actually we leave an empty line to preserve line numbers).
21299 if test "x$srcdir" = x.; then
21300 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21302 s///
21303 s/^/:/
21304 s/[ ]*$/:/
21305 s/:\$(srcdir):/:/g
21306 s/:\${srcdir}:/:/g
21307 s/:@srcdir@:/:/g
21308 s/^:*//
21309 s/:*$//
21311 s/\(=[ ]*\).*/\1/
21313 s/\n//
21314 s/^[^=]*=[ ]*$//
21318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21319 fi # test -n "$CONFIG_FILES"
21321 # Set up the scripts for CONFIG_HEADERS section.
21322 # No need to generate them if there are no CONFIG_HEADERS.
21323 # This happens for instance with `./config.status Makefile'.
21324 if test -n "$CONFIG_HEADERS"; then
21325 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21326 BEGIN {
21327 _ACEOF
21329 # Transform confdefs.h into an awk script `defines.awk', embedded as
21330 # here-document in config.status, that substitutes the proper values into
21331 # config.h.in to produce config.h.
21333 # Create a delimiter string that does not exist in confdefs.h, to ease
21334 # handling of long lines.
21335 ac_delim='%!_!# '
21336 for ac_last_try in false false :; do
21337 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21338 if test -z "$ac_tt"; then
21339 break
21340 elif $ac_last_try; then
21341 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21342 else
21343 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21345 done
21347 # For the awk script, D is an array of macro values keyed by name,
21348 # likewise P contains macro parameters if any. Preserve backslash
21349 # newline sequences.
21351 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21352 sed -n '
21353 s/.\{148\}/&'"$ac_delim"'/g
21354 t rset
21355 :rset
21356 s/^[ ]*#[ ]*define[ ][ ]*/ /
21357 t def
21359 :def
21360 s/\\$//
21361 t bsnl
21362 s/["\\]/\\&/g
21363 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21364 D["\1"]=" \3"/p
21365 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21367 :bsnl
21368 s/["\\]/\\&/g
21369 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21370 D["\1"]=" \3\\\\\\n"\\/p
21371 t cont
21372 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21373 t cont
21375 :cont
21377 s/.\{148\}/&'"$ac_delim"'/g
21378 t clear
21379 :clear
21380 s/\\$//
21381 t bsnlc
21382 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21384 :bsnlc
21385 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21386 b cont
21387 ' <confdefs.h | sed '
21388 s/'"$ac_delim"'/"\\\
21389 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21392 for (key in D) D_is_set[key] = 1
21393 FS = "\a"
21395 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21396 line = \$ 0
21397 split(line, arg, " ")
21398 if (arg[1] == "#") {
21399 defundef = arg[2]
21400 mac1 = arg[3]
21401 } else {
21402 defundef = substr(arg[1], 2)
21403 mac1 = arg[2]
21405 split(mac1, mac2, "(") #)
21406 macro = mac2[1]
21407 prefix = substr(line, 1, index(line, defundef) - 1)
21408 if (D_is_set[macro]) {
21409 # Preserve the white space surrounding the "#".
21410 print prefix "define", macro P[macro] D[macro]
21411 next
21412 } else {
21413 # Replace #undef with comments. This is necessary, for example,
21414 # in the case of _POSIX_SOURCE, which is predefined and required
21415 # on some systems where configure will not decide to define it.
21416 if (defundef == "undef") {
21417 print "/*", prefix defundef, macro, "*/"
21418 next
21422 { print }
21423 _ACAWK
21424 _ACEOF
21425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21426 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21427 fi # test -n "$CONFIG_HEADERS"
21430 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21431 shift
21432 for ac_tag
21434 case $ac_tag in
21435 :[FHLC]) ac_mode=$ac_tag; continue;;
21436 esac
21437 case $ac_mode$ac_tag in
21438 :[FHL]*:*);;
21439 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21440 :[FH]-) ac_tag=-:-;;
21441 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21442 esac
21443 ac_save_IFS=$IFS
21444 IFS=:
21445 set x $ac_tag
21446 IFS=$ac_save_IFS
21447 shift
21448 ac_file=$1
21449 shift
21451 case $ac_mode in
21452 :L) ac_source=$1;;
21453 :[FH])
21454 ac_file_inputs=
21455 for ac_f
21457 case $ac_f in
21458 -) ac_f="$ac_tmp/stdin";;
21459 *) # Look for the file first in the build tree, then in the source tree
21460 # (if the path is not absolute). The absolute path cannot be DOS-style,
21461 # because $ac_f cannot contain `:'.
21462 test -f "$ac_f" ||
21463 case $ac_f in
21464 [\\/$]*) false;;
21465 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21466 esac ||
21467 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21468 esac
21469 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21470 as_fn_append ac_file_inputs " '$ac_f'"
21471 done
21473 # Let's still pretend it is `configure' which instantiates (i.e., don't
21474 # use $as_me), people would be surprised to read:
21475 # /* config.h. Generated by config.status. */
21476 configure_input='Generated from '`
21477 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21478 `' by configure.'
21479 if test x"$ac_file" != x-; then
21480 configure_input="$ac_file. $configure_input"
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21482 $as_echo "$as_me: creating $ac_file" >&6;}
21484 # Neutralize special characters interpreted by sed in replacement strings.
21485 case $configure_input in #(
21486 *\&* | *\|* | *\\* )
21487 ac_sed_conf_input=`$as_echo "$configure_input" |
21488 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21489 *) ac_sed_conf_input=$configure_input;;
21490 esac
21492 case $ac_tag in
21493 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21494 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21495 esac
21497 esac
21499 ac_dir=`$as_dirname -- "$ac_file" ||
21500 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21501 X"$ac_file" : 'X\(//\)[^/]' \| \
21502 X"$ac_file" : 'X\(//\)$' \| \
21503 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21504 $as_echo X"$ac_file" |
21505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21506 s//\1/
21509 /^X\(\/\/\)[^/].*/{
21510 s//\1/
21513 /^X\(\/\/\)$/{
21514 s//\1/
21517 /^X\(\/\).*/{
21518 s//\1/
21521 s/.*/./; q'`
21522 as_dir="$ac_dir"; as_fn_mkdir_p
21523 ac_builddir=.
21525 case "$ac_dir" in
21526 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21528 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21529 # A ".." for each directory in $ac_dir_suffix.
21530 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21531 case $ac_top_builddir_sub in
21532 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21533 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21534 esac ;;
21535 esac
21536 ac_abs_top_builddir=$ac_pwd
21537 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21538 # for backward compatibility:
21539 ac_top_builddir=$ac_top_build_prefix
21541 case $srcdir in
21542 .) # We are building in place.
21543 ac_srcdir=.
21544 ac_top_srcdir=$ac_top_builddir_sub
21545 ac_abs_top_srcdir=$ac_pwd ;;
21546 [\\/]* | ?:[\\/]* ) # Absolute name.
21547 ac_srcdir=$srcdir$ac_dir_suffix;
21548 ac_top_srcdir=$srcdir
21549 ac_abs_top_srcdir=$srcdir ;;
21550 *) # Relative name.
21551 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21552 ac_top_srcdir=$ac_top_build_prefix$srcdir
21553 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21554 esac
21555 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21558 case $ac_mode in
21561 # CONFIG_FILE
21564 _ACEOF
21566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21567 # If the template does not know about datarootdir, expand it.
21568 # FIXME: This hack should be removed a few years after 2.60.
21569 ac_datarootdir_hack=; ac_datarootdir_seen=
21570 ac_sed_dataroot='
21571 /datarootdir/ {
21575 /@datadir@/p
21576 /@docdir@/p
21577 /@infodir@/p
21578 /@localedir@/p
21579 /@mandir@/p'
21580 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21581 *datarootdir*) ac_datarootdir_seen=yes;;
21582 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21584 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21585 _ACEOF
21586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21587 ac_datarootdir_hack='
21588 s&@datadir@&$datadir&g
21589 s&@docdir@&$docdir&g
21590 s&@infodir@&$infodir&g
21591 s&@localedir@&$localedir&g
21592 s&@mandir@&$mandir&g
21593 s&\\\${datarootdir}&$datarootdir&g' ;;
21594 esac
21595 _ACEOF
21597 # Neutralize VPATH when `$srcdir' = `.'.
21598 # Shell code in configure.ac might set extrasub.
21599 # FIXME: do we really want to maintain this feature?
21600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21601 ac_sed_extra="$ac_vpsub
21602 $extrasub
21603 _ACEOF
21604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21606 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21607 s|@configure_input@|$ac_sed_conf_input|;t t
21608 s&@top_builddir@&$ac_top_builddir_sub&;t t
21609 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21610 s&@srcdir@&$ac_srcdir&;t t
21611 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21612 s&@top_srcdir@&$ac_top_srcdir&;t t
21613 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21614 s&@builddir@&$ac_builddir&;t t
21615 s&@abs_builddir@&$ac_abs_builddir&;t t
21616 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21617 $ac_datarootdir_hack
21619 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21620 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21622 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21623 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21624 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21625 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21627 which seems to be undefined. Please make sure it is defined" >&5
21628 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21629 which seems to be undefined. Please make sure it is defined" >&2;}
21631 rm -f "$ac_tmp/stdin"
21632 case $ac_file in
21633 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21634 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21635 esac \
21636 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21640 # CONFIG_HEADER
21642 if test x"$ac_file" != x-; then
21644 $as_echo "/* $configure_input */" \
21645 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21646 } >"$ac_tmp/config.h" \
21647 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21648 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21650 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21651 else
21652 rm -f "$ac_file"
21653 mv "$ac_tmp/config.h" "$ac_file" \
21654 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21656 else
21657 $as_echo "/* $configure_input */" \
21658 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21659 || as_fn_error $? "could not create -" "$LINENO" 5
21664 # CONFIG_LINK
21667 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21669 else
21670 # Prefer the file from the source tree if names are identical.
21671 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21672 ac_source=$srcdir/$ac_source
21675 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21676 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21678 if test ! -r "$ac_source"; then
21679 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21681 rm -f "$ac_file"
21683 # Try a relative symlink, then a hard link, then a copy.
21684 case $ac_source in
21685 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21686 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21687 esac
21688 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21689 ln "$ac_source" "$ac_file" 2>/dev/null ||
21690 cp -p "$ac_source" "$ac_file" ||
21691 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21694 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21695 $as_echo "$as_me: executing $ac_file commands" >&6;}
21697 esac
21700 case $ac_file$ac_mode in
21701 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21702 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21703 "Makefile":C) wine_fn_output_makefile Makefile ;;
21705 esac
21706 done # for ac_tag
21709 as_fn_exit 0
21710 _ACEOF
21711 ac_clean_files=$ac_clean_files_save
21713 test $ac_write_fail = 0 ||
21714 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21717 # configure is writing to config.log, and then calls config.status.
21718 # config.status does its own redirection, appending to config.log.
21719 # Unfortunately, on DOS this fails, as config.log is still kept open
21720 # by configure, so config.status won't be able to write to it; its
21721 # output is simply discarded. So we exec the FD to /dev/null,
21722 # effectively closing config.log, so it can be properly (re)opened and
21723 # appended to by config.status. When coming back to configure, we
21724 # need to make the FD available again.
21725 if test "$no_create" != yes; then
21726 ac_cs_success=:
21727 ac_config_status_args=
21728 test "$silent" = yes &&
21729 ac_config_status_args="$ac_config_status_args --quiet"
21730 exec 5>/dev/null
21731 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21732 exec 5>>config.log
21733 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21734 # would make configure fail if this is the last instruction.
21735 $ac_cs_success || as_fn_exit 1
21737 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21739 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21743 if test "$no_create" = "yes"
21744 then
21745 exit 0
21748 ac_save_IFS="$IFS"
21749 if test "x$wine_notices" != x; then
21750 echo >&6
21751 IFS="|"
21752 for msg in $wine_notices; do
21753 IFS="$ac_save_IFS"
21754 if ${msg:+false} :; then :
21756 else
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21758 $as_echo "$as_me: $msg" >&6;}
21760 done
21762 IFS="|"
21763 for msg in $wine_warnings; do
21764 IFS="$ac_save_IFS"
21765 if ${msg:+false} :; then :
21767 else
21768 echo >&2
21769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21770 $as_echo "$as_me: WARNING: $msg" >&2;}
21772 done
21773 IFS="$ac_save_IFS"
21775 $as_echo "
21776 $as_me: Finished. Do '${ac_make}' to compile Wine.
21777 " >&6