wined3d: Add a setting to turn off aggressive optimization on NVIDIA.
[wine.git] / configure
blob793e2ffc5ce24979be48447e070eb915645a253f
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 FAUDIO_LIBS
663 FAUDIO_CFLAGS
664 SDL2_LIBS
665 SDL2_CFLAGS
666 UDEV_LIBS
667 UDEV_CFLAGS
668 OSS4_CFLAGS
669 ALSA_LIBS
670 GSTREAMER_LIBS
671 GSTREAMER_CFLAGS
672 PULSE_LIBS
673 PULSE_CFLAGS
674 GETTEXTPO_LIBS
675 Z_LIBS
676 FREETYPE_LIBS
677 FREETYPE_CFLAGS
678 LCMS2_LIBS
679 LCMS2_CFLAGS
680 RESOLV_LIBS
681 GPHOTO2_PORT_LIBS
682 GPHOTO2_PORT_CFLAGS
683 GPHOTO2_LIBS
684 GPHOTO2_CFLAGS
685 SANE_LIBS
686 SANE_CFLAGS
687 GNUTLS_LIBS
688 GNUTLS_CFLAGS
689 HAL_LIBS
690 HAL_CFLAGS
691 DBUS_LIBS
692 DBUS_CFLAGS
693 XSLT_LIBS
694 XSLT_CFLAGS
695 XML2_LIBS
696 XML2_CFLAGS
697 PCAP_LIBS
698 X_EXTRA_LIBS
699 X_LIBS
700 X_PRE_LIBS
701 X_CFLAGS
702 XMKMF
703 PTHREAD_LIBS
704 CROSSCFLAGS
705 CROSSCC
706 CROSSTARGET
707 PRELINK
708 WINELOADER_DEPENDS
709 METAL_LIBS
710 CARBON_LIBS
711 QUICKTIME_LIBS
712 OPENCL_LIBS
713 OPENAL_LIBS
714 COREAUDIO_LIBS
715 SECURITY_LIBS
716 DISKARBITRATION_LIBS
717 APPKIT_LIBS
718 CORESERVICES_LIBS
719 APPLICATIONSERVICES_LIBS
720 FORCEFEEDBACK_LIBS
721 IOKIT_LIBS
722 COREFOUNDATION_LIBS
723 OBJCPP
724 ac_ct_OBJC
725 OBJCFLAGS
726 OBJC
727 LIBWINE_DEPENDS
728 LIBWINE_LDFLAGS
729 LIBWINE_IMPORTLIB
730 LIBWINE_SHAREDLIB
731 DLLTOOL
732 WINELOADER_PROGRAMS
733 CONFIGURE_TARGETS
734 DISABLED_SUBDIRS
735 SUBDIRS
736 READELF
737 OTOOL
739 WINEPRELOADER_LDFLAGS
740 WINELOADER_LDFLAGS
741 TOP_INSTALL_DEV
742 TOP_INSTALL_LIB
743 LDEXECFLAGS
744 LDRPATH_LOCAL
745 LDRPATH_INSTALL
746 DLLFLAGS
748 OPENGL_LIBS
749 ICOTOOL
750 CONVERT
751 RSVG
752 FONTFORGE
753 PKG_CONFIG
754 MSGFMT
755 LDCONFIG
756 EGREP
757 GREP
758 LN_S
759 RANLIB
760 STRIP
761 ac_ct_AR
763 BISON
764 FLEX
765 TOOLSDIR
766 TARGETFLAGS
768 CPPBIN
769 ac_ct_CXX
770 CXXFLAGS
772 OBJEXT
773 EXEEXT
774 ac_ct_CC
775 CPPFLAGS
776 LDFLAGS
777 CFLAGS
779 SET_MAKE
780 host_os
781 host_vendor
782 host_cpu
783 host
784 build_os
785 build_vendor
786 build_cpu
787 build
788 target_alias
789 host_alias
790 build_alias
791 LIBS
792 ECHO_T
793 ECHO_N
794 ECHO_C
795 DEFS
796 mandir
797 localedir
798 libdir
799 psdir
800 pdfdir
801 dvidir
802 htmldir
803 infodir
804 docdir
805 oldincludedir
806 includedir
807 runstatedir
808 localstatedir
809 sharedstatedir
810 sysconfdir
811 datadir
812 datarootdir
813 libexecdir
814 sbindir
815 bindir
816 program_transform_name
817 prefix
818 exec_prefix
819 PACKAGE_URL
820 PACKAGE_BUGREPORT
821 PACKAGE_STRING
822 PACKAGE_VERSION
823 PACKAGE_TARNAME
824 PACKAGE_NAME
825 PATH_SEPARATOR
826 SHELL'
827 ac_subst_files=''
828 ac_user_opts='
829 enable_option_checking
830 enable_win16
831 enable_win64
832 enable_tests
833 enable_maintainer_mode
834 with_alsa
835 with_capi
836 with_cms
837 with_coreaudio
838 with_cups
839 with_curses
840 with_dbus
841 with_faudio
842 with_float_abi
843 with_fontconfig
844 with_freetype
845 with_gettext
846 with_gettextpo
847 with_gphoto
848 with_glu
849 with_gnutls
850 with_gsm
851 with_gssapi
852 with_gstreamer
853 with_hal
854 with_jpeg
855 with_krb5
856 with_ldap
857 with_mpg123
858 with_netapi
859 with_openal
860 with_opencl
861 with_opengl
862 with_osmesa
863 with_oss
864 with_pcap
865 with_png
866 with_pthread
867 with_pulse
868 with_sane
869 with_sdl
870 with_tiff
871 with_udev
872 with_v4l
873 with_vkd3d
874 with_vulkan
875 with_xcomposite
876 with_xcursor
877 with_xfixes
878 with_xinerama
879 with_xinput
880 with_xinput2
881 with_xml
882 with_xrandr
883 with_xrender
884 with_xshape
885 with_xshm
886 with_xslt
887 with_xxf86vm
888 with_zlib
889 with_wine_tools
890 with_wine64
891 enable_largefile
892 with_x
893 enable_acledit
894 enable_aclui
895 enable_activeds
896 enable_actxprxy
897 enable_adsiid
898 enable_adsldp
899 enable_adsldpc
900 enable_advapi32
901 enable_advpack
902 enable_amstream
903 enable_api_ms_win_appmodel_identity_l1_1_0
904 enable_api_ms_win_appmodel_runtime_l1_1_1
905 enable_api_ms_win_appmodel_runtime_l1_1_2
906 enable_api_ms_win_core_apiquery_l1_1_0
907 enable_api_ms_win_core_appcompat_l1_1_1
908 enable_api_ms_win_core_appinit_l1_1_0
909 enable_api_ms_win_core_atoms_l1_1_0
910 enable_api_ms_win_core_bem_l1_1_0
911 enable_api_ms_win_core_com_l1_1_0
912 enable_api_ms_win_core_com_l1_1_1
913 enable_api_ms_win_core_com_private_l1_1_0
914 enable_api_ms_win_core_comm_l1_1_0
915 enable_api_ms_win_core_console_l1_1_0
916 enable_api_ms_win_core_console_l2_1_0
917 enable_api_ms_win_core_crt_l1_1_0
918 enable_api_ms_win_core_crt_l2_1_0
919 enable_api_ms_win_core_datetime_l1_1_0
920 enable_api_ms_win_core_datetime_l1_1_1
921 enable_api_ms_win_core_debug_l1_1_0
922 enable_api_ms_win_core_debug_l1_1_1
923 enable_api_ms_win_core_delayload_l1_1_0
924 enable_api_ms_win_core_delayload_l1_1_1
925 enable_api_ms_win_core_errorhandling_l1_1_0
926 enable_api_ms_win_core_errorhandling_l1_1_1
927 enable_api_ms_win_core_errorhandling_l1_1_2
928 enable_api_ms_win_core_errorhandling_l1_1_3
929 enable_api_ms_win_core_fibers_l1_1_0
930 enable_api_ms_win_core_fibers_l1_1_1
931 enable_api_ms_win_core_file_l1_1_0
932 enable_api_ms_win_core_file_l1_2_0
933 enable_api_ms_win_core_file_l1_2_1
934 enable_api_ms_win_core_file_l1_2_2
935 enable_api_ms_win_core_file_l2_1_0
936 enable_api_ms_win_core_file_l2_1_1
937 enable_api_ms_win_core_file_l2_1_2
938 enable_api_ms_win_core_handle_l1_1_0
939 enable_api_ms_win_core_heap_l1_1_0
940 enable_api_ms_win_core_heap_l1_2_0
941 enable_api_ms_win_core_heap_l2_1_0
942 enable_api_ms_win_core_heap_obsolete_l1_1_0
943 enable_api_ms_win_core_interlocked_l1_1_0
944 enable_api_ms_win_core_interlocked_l1_2_0
945 enable_api_ms_win_core_io_l1_1_0
946 enable_api_ms_win_core_io_l1_1_1
947 enable_api_ms_win_core_job_l1_1_0
948 enable_api_ms_win_core_job_l2_1_0
949 enable_api_ms_win_core_kernel32_legacy_l1_1_0
950 enable_api_ms_win_core_kernel32_legacy_l1_1_1
951 enable_api_ms_win_core_kernel32_private_l1_1_1
952 enable_api_ms_win_core_largeinteger_l1_1_0
953 enable_api_ms_win_core_libraryloader_l1_1_0
954 enable_api_ms_win_core_libraryloader_l1_1_1
955 enable_api_ms_win_core_libraryloader_l1_2_0
956 enable_api_ms_win_core_libraryloader_l1_2_1
957 enable_api_ms_win_core_libraryloader_l1_2_2
958 enable_api_ms_win_core_localization_l1_1_0
959 enable_api_ms_win_core_localization_l1_2_0
960 enable_api_ms_win_core_localization_l1_2_1
961 enable_api_ms_win_core_localization_l2_1_0
962 enable_api_ms_win_core_localization_obsolete_l1_1_0
963 enable_api_ms_win_core_localization_obsolete_l1_2_0
964 enable_api_ms_win_core_localization_obsolete_l1_3_0
965 enable_api_ms_win_core_localization_private_l1_1_0
966 enable_api_ms_win_core_localregistry_l1_1_0
967 enable_api_ms_win_core_memory_l1_1_0
968 enable_api_ms_win_core_memory_l1_1_1
969 enable_api_ms_win_core_memory_l1_1_2
970 enable_api_ms_win_core_misc_l1_1_0
971 enable_api_ms_win_core_namedpipe_l1_1_0
972 enable_api_ms_win_core_namedpipe_l1_2_0
973 enable_api_ms_win_core_namespace_l1_1_0
974 enable_api_ms_win_core_normalization_l1_1_0
975 enable_api_ms_win_core_path_l1_1_0
976 enable_api_ms_win_core_privateprofile_l1_1_1
977 enable_api_ms_win_core_processenvironment_l1_1_0
978 enable_api_ms_win_core_processenvironment_l1_2_0
979 enable_api_ms_win_core_processthreads_l1_1_0
980 enable_api_ms_win_core_processthreads_l1_1_1
981 enable_api_ms_win_core_processthreads_l1_1_2
982 enable_api_ms_win_core_processthreads_l1_1_3
983 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
984 enable_api_ms_win_core_profile_l1_1_0
985 enable_api_ms_win_core_psapi_ansi_l1_1_0
986 enable_api_ms_win_core_psapi_l1_1_0
987 enable_api_ms_win_core_psapi_obsolete_l1_1_0
988 enable_api_ms_win_core_quirks_l1_1_0
989 enable_api_ms_win_core_realtime_l1_1_0
990 enable_api_ms_win_core_registry_l1_1_0
991 enable_api_ms_win_core_registry_l2_1_0
992 enable_api_ms_win_core_registryuserspecific_l1_1_0
993 enable_api_ms_win_core_rtlsupport_l1_1_0
994 enable_api_ms_win_core_rtlsupport_l1_2_0
995 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
996 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
997 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
998 enable_api_ms_win_core_shutdown_l1_1_0
999 enable_api_ms_win_core_sidebyside_l1_1_0
1000 enable_api_ms_win_core_string_l1_1_0
1001 enable_api_ms_win_core_string_l2_1_0
1002 enable_api_ms_win_core_string_obsolete_l1_1_0
1003 enable_api_ms_win_core_stringansi_l1_1_0
1004 enable_api_ms_win_core_stringloader_l1_1_1
1005 enable_api_ms_win_core_synch_ansi_l1_1_0
1006 enable_api_ms_win_core_synch_l1_1_0
1007 enable_api_ms_win_core_synch_l1_2_0
1008 enable_api_ms_win_core_synch_l1_2_1
1009 enable_api_ms_win_core_sysinfo_l1_1_0
1010 enable_api_ms_win_core_sysinfo_l1_2_0
1011 enable_api_ms_win_core_sysinfo_l1_2_1
1012 enable_api_ms_win_core_threadpool_l1_1_0
1013 enable_api_ms_win_core_threadpool_l1_2_0
1014 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1015 enable_api_ms_win_core_threadpool_private_l1_1_0
1016 enable_api_ms_win_core_timezone_l1_1_0
1017 enable_api_ms_win_core_toolhelp_l1_1_0
1018 enable_api_ms_win_core_url_l1_1_0
1019 enable_api_ms_win_core_util_l1_1_0
1020 enable_api_ms_win_core_version_l1_1_0
1021 enable_api_ms_win_core_version_l1_1_1
1022 enable_api_ms_win_core_version_private_l1_1_0
1023 enable_api_ms_win_core_versionansi_l1_1_0
1024 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1025 enable_api_ms_win_core_winrt_error_l1_1_0
1026 enable_api_ms_win_core_winrt_error_l1_1_1
1027 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1028 enable_api_ms_win_core_winrt_l1_1_0
1029 enable_api_ms_win_core_winrt_registration_l1_1_0
1030 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1031 enable_api_ms_win_core_winrt_string_l1_1_0
1032 enable_api_ms_win_core_winrt_string_l1_1_1
1033 enable_api_ms_win_core_wow64_l1_1_0
1034 enable_api_ms_win_core_wow64_l1_1_1
1035 enable_api_ms_win_core_xstate_l1_1_0
1036 enable_api_ms_win_core_xstate_l2_1_0
1037 enable_api_ms_win_crt_conio_l1_1_0
1038 enable_api_ms_win_crt_convert_l1_1_0
1039 enable_api_ms_win_crt_environment_l1_1_0
1040 enable_api_ms_win_crt_filesystem_l1_1_0
1041 enable_api_ms_win_crt_heap_l1_1_0
1042 enable_api_ms_win_crt_locale_l1_1_0
1043 enable_api_ms_win_crt_math_l1_1_0
1044 enable_api_ms_win_crt_multibyte_l1_1_0
1045 enable_api_ms_win_crt_private_l1_1_0
1046 enable_api_ms_win_crt_process_l1_1_0
1047 enable_api_ms_win_crt_runtime_l1_1_0
1048 enable_api_ms_win_crt_stdio_l1_1_0
1049 enable_api_ms_win_crt_string_l1_1_0
1050 enable_api_ms_win_crt_time_l1_1_0
1051 enable_api_ms_win_crt_utility_l1_1_0
1052 enable_api_ms_win_devices_config_l1_1_0
1053 enable_api_ms_win_devices_config_l1_1_1
1054 enable_api_ms_win_devices_query_l1_1_1
1055 enable_api_ms_win_downlevel_advapi32_l1_1_0
1056 enable_api_ms_win_downlevel_advapi32_l2_1_0
1057 enable_api_ms_win_downlevel_normaliz_l1_1_0
1058 enable_api_ms_win_downlevel_ole32_l1_1_0
1059 enable_api_ms_win_downlevel_shell32_l1_1_0
1060 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1061 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1062 enable_api_ms_win_downlevel_user32_l1_1_0
1063 enable_api_ms_win_downlevel_version_l1_1_0
1064 enable_api_ms_win_dx_d3dkmt_l1_1_0
1065 enable_api_ms_win_eventing_classicprovider_l1_1_0
1066 enable_api_ms_win_eventing_consumer_l1_1_0
1067 enable_api_ms_win_eventing_controller_l1_1_0
1068 enable_api_ms_win_eventing_legacy_l1_1_0
1069 enable_api_ms_win_eventing_provider_l1_1_0
1070 enable_api_ms_win_eventlog_legacy_l1_1_0
1071 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1072 enable_api_ms_win_mm_joystick_l1_1_0
1073 enable_api_ms_win_mm_misc_l1_1_1
1074 enable_api_ms_win_mm_mme_l1_1_0
1075 enable_api_ms_win_mm_time_l1_1_0
1076 enable_api_ms_win_ntuser_dc_access_l1_1_0
1077 enable_api_ms_win_ntuser_rectangle_l1_1_0
1078 enable_api_ms_win_ntuser_sysparams_l1_1_0
1079 enable_api_ms_win_perf_legacy_l1_1_0
1080 enable_api_ms_win_power_base_l1_1_0
1081 enable_api_ms_win_power_setting_l1_1_0
1082 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1083 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1084 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1085 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1086 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1087 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1088 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1089 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1090 enable_api_ms_win_security_audit_l1_1_1
1091 enable_api_ms_win_security_base_l1_1_0
1092 enable_api_ms_win_security_base_l1_2_0
1093 enable_api_ms_win_security_base_private_l1_1_1
1094 enable_api_ms_win_security_credentials_l1_1_0
1095 enable_api_ms_win_security_cryptoapi_l1_1_0
1096 enable_api_ms_win_security_grouppolicy_l1_1_0
1097 enable_api_ms_win_security_lsalookup_l1_1_0
1098 enable_api_ms_win_security_lsalookup_l1_1_1
1099 enable_api_ms_win_security_lsalookup_l2_1_0
1100 enable_api_ms_win_security_lsalookup_l2_1_1
1101 enable_api_ms_win_security_lsapolicy_l1_1_0
1102 enable_api_ms_win_security_provider_l1_1_0
1103 enable_api_ms_win_security_sddl_l1_1_0
1104 enable_api_ms_win_security_systemfunctions_l1_1_0
1105 enable_api_ms_win_service_core_l1_1_0
1106 enable_api_ms_win_service_core_l1_1_1
1107 enable_api_ms_win_service_management_l1_1_0
1108 enable_api_ms_win_service_management_l2_1_0
1109 enable_api_ms_win_service_private_l1_1_1
1110 enable_api_ms_win_service_winsvc_l1_1_0
1111 enable_api_ms_win_service_winsvc_l1_2_0
1112 enable_api_ms_win_shcore_obsolete_l1_1_0
1113 enable_api_ms_win_shcore_scaling_l1_1_1
1114 enable_api_ms_win_shcore_stream_l1_1_0
1115 enable_api_ms_win_shcore_thread_l1_1_0
1116 enable_api_ms_win_shell_shellcom_l1_1_0
1117 enable_api_ms_win_shell_shellfolders_l1_1_0
1118 enable_apphelp
1119 enable_appwiz_cpl
1120 enable_atl
1121 enable_atl100
1122 enable_atl110
1123 enable_atl80
1124 enable_atl90
1125 enable_atlthunk
1126 enable_atmlib
1127 enable_authz
1128 enable_avicap32
1129 enable_avifil32
1130 enable_avrt
1131 enable_bcrypt
1132 enable_bluetoothapis
1133 enable_browseui
1134 enable_bthprops_cpl
1135 enable_cabinet
1136 enable_capi2032
1137 enable_cards
1138 enable_cdosys
1139 enable_cfgmgr32
1140 enable_clusapi
1141 enable_combase
1142 enable_comcat
1143 enable_comctl32
1144 enable_comdlg32
1145 enable_compstui
1146 enable_comsvcs
1147 enable_concrt140
1148 enable_connect
1149 enable_credui
1150 enable_crtdll
1151 enable_crypt32
1152 enable_cryptdlg
1153 enable_cryptdll
1154 enable_cryptext
1155 enable_cryptnet
1156 enable_cryptui
1157 enable_ctapi32
1158 enable_ctl3d32
1159 enable_d2d1
1160 enable_d3d10
1161 enable_d3d10_1
1162 enable_d3d10core
1163 enable_d3d11
1164 enable_d3d12
1165 enable_d3d8
1166 enable_d3d9
1167 enable_d3dcompiler_33
1168 enable_d3dcompiler_34
1169 enable_d3dcompiler_35
1170 enable_d3dcompiler_36
1171 enable_d3dcompiler_37
1172 enable_d3dcompiler_38
1173 enable_d3dcompiler_39
1174 enable_d3dcompiler_40
1175 enable_d3dcompiler_41
1176 enable_d3dcompiler_42
1177 enable_d3dcompiler_43
1178 enable_d3dcompiler_46
1179 enable_d3dcompiler_47
1180 enable_d3dim
1181 enable_d3drm
1182 enable_d3dx10_33
1183 enable_d3dx10_34
1184 enable_d3dx10_35
1185 enable_d3dx10_36
1186 enable_d3dx10_37
1187 enable_d3dx10_38
1188 enable_d3dx10_39
1189 enable_d3dx10_40
1190 enable_d3dx10_41
1191 enable_d3dx10_42
1192 enable_d3dx10_43
1193 enable_d3dx11_42
1194 enable_d3dx11_43
1195 enable_d3dx9_24
1196 enable_d3dx9_25
1197 enable_d3dx9_26
1198 enable_d3dx9_27
1199 enable_d3dx9_28
1200 enable_d3dx9_29
1201 enable_d3dx9_30
1202 enable_d3dx9_31
1203 enable_d3dx9_32
1204 enable_d3dx9_33
1205 enable_d3dx9_34
1206 enable_d3dx9_35
1207 enable_d3dx9_36
1208 enable_d3dx9_37
1209 enable_d3dx9_38
1210 enable_d3dx9_39
1211 enable_d3dx9_40
1212 enable_d3dx9_41
1213 enable_d3dx9_42
1214 enable_d3dx9_43
1215 enable_d3dxof
1216 enable_davclnt
1217 enable_dbgeng
1218 enable_dbghelp
1219 enable_dciman32
1220 enable_ddraw
1221 enable_ddrawex
1222 enable_devenum
1223 enable_dhcpcsvc
1224 enable_dhtmled_ocx
1225 enable_difxapi
1226 enable_dinput
1227 enable_dinput8
1228 enable_dispex
1229 enable_dmband
1230 enable_dmcompos
1231 enable_dmime
1232 enable_dmloader
1233 enable_dmoguids
1234 enable_dmscript
1235 enable_dmstyle
1236 enable_dmsynth
1237 enable_dmusic
1238 enable_dmusic32
1239 enable_dnsapi
1240 enable_dplay
1241 enable_dplayx
1242 enable_dpnaddr
1243 enable_dpnet
1244 enable_dpnhpast
1245 enable_dpnlobby
1246 enable_dpvoice
1247 enable_dpwsockx
1248 enable_drmclien
1249 enable_dsound
1250 enable_dsquery
1251 enable_dssenh
1252 enable_dswave
1253 enable_dwmapi
1254 enable_dwrite
1255 enable_dx8vb
1256 enable_dxdiagn
1257 enable_dxerr8
1258 enable_dxerr9
1259 enable_dxgi
1260 enable_dxguid
1261 enable_dxva2
1262 enable_esent
1263 enable_evr
1264 enable_explorerframe
1265 enable_ext_ms_win_authz_context_l1_1_0
1266 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1267 enable_ext_ms_win_dwmapi_ext_l1_1_0
1268 enable_ext_ms_win_gdi_dc_create_l1_1_0
1269 enable_ext_ms_win_gdi_dc_create_l1_1_1
1270 enable_ext_ms_win_gdi_dc_l1_2_0
1271 enable_ext_ms_win_gdi_devcaps_l1_1_0
1272 enable_ext_ms_win_gdi_draw_l1_1_0
1273 enable_ext_ms_win_gdi_draw_l1_1_1
1274 enable_ext_ms_win_gdi_font_l1_1_0
1275 enable_ext_ms_win_gdi_font_l1_1_1
1276 enable_ext_ms_win_gdi_render_l1_1_0
1277 enable_ext_ms_win_kernel32_package_current_l1_1_0
1278 enable_ext_ms_win_kernel32_package_l1_1_1
1279 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1280 enable_ext_ms_win_ntuser_draw_l1_1_0
1281 enable_ext_ms_win_ntuser_gui_l1_1_0
1282 enable_ext_ms_win_ntuser_gui_l1_3_0
1283 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1284 enable_ext_ms_win_ntuser_message_l1_1_0
1285 enable_ext_ms_win_ntuser_message_l1_1_1
1286 enable_ext_ms_win_ntuser_misc_l1_1_0
1287 enable_ext_ms_win_ntuser_misc_l1_2_0
1288 enable_ext_ms_win_ntuser_misc_l1_5_1
1289 enable_ext_ms_win_ntuser_mouse_l1_1_0
1290 enable_ext_ms_win_ntuser_private_l1_1_1
1291 enable_ext_ms_win_ntuser_private_l1_3_1
1292 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1293 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1294 enable_ext_ms_win_ntuser_window_l1_1_0
1295 enable_ext_ms_win_ntuser_window_l1_1_1
1296 enable_ext_ms_win_ntuser_window_l1_1_4
1297 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1298 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1299 enable_ext_ms_win_oleacc_l1_1_0
1300 enable_ext_ms_win_ras_rasapi32_l1_1_0
1301 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1302 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1303 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1304 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1305 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1306 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1307 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1308 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1309 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1310 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1311 enable_ext_ms_win_security_credui_l1_1_0
1312 enable_ext_ms_win_security_cryptui_l1_1_0
1313 enable_ext_ms_win_uxtheme_themes_l1_1_0
1314 enable_faultrep
1315 enable_feclient
1316 enable_fltlib
1317 enable_fltmgr_sys
1318 enable_fntcache
1319 enable_fontsub
1320 enable_fusion
1321 enable_fwpuclnt
1322 enable_gameux
1323 enable_gdi32
1324 enable_gdiplus
1325 enable_glu32
1326 enable_gphoto2_ds
1327 enable_gpkcsp
1328 enable_hal
1329 enable_hhctrl_ocx
1330 enable_hid
1331 enable_hidclass_sys
1332 enable_hlink
1333 enable_hnetcfg
1334 enable_httpapi
1335 enable_iccvid
1336 enable_icmp
1337 enable_ieframe
1338 enable_ieproxy
1339 enable_imaadp32_acm
1340 enable_imagehlp
1341 enable_imm32
1342 enable_inetcomm
1343 enable_inetcpl_cpl
1344 enable_inetmib1
1345 enable_infosoft
1346 enable_initpki
1347 enable_inkobj
1348 enable_inseng
1349 enable_iphlpapi
1350 enable_iprop
1351 enable_irprops_cpl
1352 enable_itircl
1353 enable_itss
1354 enable_joy_cpl
1355 enable_jscript
1356 enable_jsproxy
1357 enable_kerberos
1358 enable_kernel32
1359 enable_kernelbase
1360 enable_ksuser
1361 enable_ktmw32
1362 enable_l3codeca_acm
1363 enable_loadperf
1364 enable_localspl
1365 enable_localui
1366 enable_lz32
1367 enable_mapi32
1368 enable_mapistub
1369 enable_mciavi32
1370 enable_mcicda
1371 enable_mciqtz32
1372 enable_mciseq
1373 enable_mciwave
1374 enable_mf
1375 enable_mf3216
1376 enable_mfplat
1377 enable_mfplay
1378 enable_mfreadwrite
1379 enable_mfuuid
1380 enable_mgmtapi
1381 enable_midimap
1382 enable_mlang
1383 enable_mmcndmgr
1384 enable_mmdevapi
1385 enable_mountmgr_sys
1386 enable_mp3dmod
1387 enable_mpr
1388 enable_mprapi
1389 enable_msacm32_drv
1390 enable_msacm32
1391 enable_msadp32_acm
1392 enable_msasn1
1393 enable_mscat32
1394 enable_mscms
1395 enable_mscoree
1396 enable_msctf
1397 enable_msctfp
1398 enable_msdaps
1399 enable_msdelta
1400 enable_msdmo
1401 enable_msdrm
1402 enable_msftedit
1403 enable_msg711_acm
1404 enable_msgsm32_acm
1405 enable_mshtml_tlb
1406 enable_mshtml
1407 enable_msi
1408 enable_msident
1409 enable_msimg32
1410 enable_msimsg
1411 enable_msimtf
1412 enable_msisip
1413 enable_msisys_ocx
1414 enable_msls31
1415 enable_msnet32
1416 enable_mspatcha
1417 enable_msports
1418 enable_msrle32
1419 enable_msscript_ocx
1420 enable_mssign32
1421 enable_mssip32
1422 enable_mstask
1423 enable_msvcirt
1424 enable_msvcm80
1425 enable_msvcm90
1426 enable_msvcp100
1427 enable_msvcp110
1428 enable_msvcp120
1429 enable_msvcp120_app
1430 enable_msvcp140
1431 enable_msvcp60
1432 enable_msvcp70
1433 enable_msvcp71
1434 enable_msvcp80
1435 enable_msvcp90
1436 enable_msvcr100
1437 enable_msvcr110
1438 enable_msvcr120
1439 enable_msvcr120_app
1440 enable_msvcr70
1441 enable_msvcr71
1442 enable_msvcr80
1443 enable_msvcr90
1444 enable_msvcrt
1445 enable_msvcrt20
1446 enable_msvcrt40
1447 enable_msvcrtd
1448 enable_msvfw32
1449 enable_msvidc32
1450 enable_mswsock
1451 enable_msxml
1452 enable_msxml2
1453 enable_msxml3
1454 enable_msxml4
1455 enable_msxml6
1456 enable_mtxdm
1457 enable_ncrypt
1458 enable_nddeapi
1459 enable_ndis_sys
1460 enable_netapi32
1461 enable_netcfgx
1462 enable_netprofm
1463 enable_newdev
1464 enable_ninput
1465 enable_normaliz
1466 enable_npmshtml
1467 enable_npptools
1468 enable_ntdll
1469 enable_ntdsapi
1470 enable_ntoskrnl_exe
1471 enable_ntprint
1472 enable_objsel
1473 enable_odbc32
1474 enable_odbccp32
1475 enable_odbccu32
1476 enable_ole32
1477 enable_oleacc
1478 enable_oleaut32
1479 enable_olecli32
1480 enable_oledb32
1481 enable_oledlg
1482 enable_olepro32
1483 enable_olesvr32
1484 enable_olethk32
1485 enable_opcservices
1486 enable_openal32
1487 enable_opencl
1488 enable_opengl32
1489 enable_packager
1490 enable_pdh
1491 enable_photometadatahandler
1492 enable_pidgen
1493 enable_powrprof
1494 enable_printui
1495 enable_prntvpt
1496 enable_propsys
1497 enable_psapi
1498 enable_pstorec
1499 enable_qcap
1500 enable_qedit
1501 enable_qmgr
1502 enable_qmgrprxy
1503 enable_quartz
1504 enable_query
1505 enable_qwave
1506 enable_rasapi32
1507 enable_rasdlg
1508 enable_regapi
1509 enable_resutils
1510 enable_riched20
1511 enable_riched32
1512 enable_rpcrt4
1513 enable_rsabase
1514 enable_rsaenh
1515 enable_rstrtmgr
1516 enable_rtutils
1517 enable_samlib
1518 enable_sane_ds
1519 enable_sapi
1520 enable_sas
1521 enable_scarddlg
1522 enable_sccbase
1523 enable_schannel
1524 enable_schedsvc
1525 enable_scrobj
1526 enable_scrrun
1527 enable_scsiport_sys
1528 enable_secur32
1529 enable_security
1530 enable_sensapi
1531 enable_serialui
1532 enable_setupapi
1533 enable_sfc
1534 enable_sfc_os
1535 enable_shcore
1536 enable_shdoclc
1537 enable_shdocvw
1538 enable_shell32
1539 enable_shfolder
1540 enable_shlwapi
1541 enable_slbcsp
1542 enable_slc
1543 enable_snmpapi
1544 enable_softpub
1545 enable_spoolss
1546 enable_srclient
1547 enable_sspicli
1548 enable_stdole2_tlb
1549 enable_stdole32_tlb
1550 enable_sti
1551 enable_strmbase
1552 enable_strmdll
1553 enable_strmiids
1554 enable_svrapi
1555 enable_sxs
1556 enable_t2embed
1557 enable_tapi32
1558 enable_taskschd
1559 enable_tdh
1560 enable_tdi_sys
1561 enable_traffic
1562 enable_twain_32
1563 enable_tzres
1564 enable_ucrtbase
1565 enable_uiautomationcore
1566 enable_uiribbon
1567 enable_unicows
1568 enable_updspapi
1569 enable_url
1570 enable_urlmon
1571 enable_usbd_sys
1572 enable_user32
1573 enable_userenv
1574 enable_usp10
1575 enable_uuid
1576 enable_uxtheme
1577 enable_vbscript
1578 enable_vcomp
1579 enable_vcomp100
1580 enable_vcomp110
1581 enable_vcomp120
1582 enable_vcomp140
1583 enable_vcomp90
1584 enable_vcruntime140
1585 enable_vdmdbg
1586 enable_version
1587 enable_virtdisk
1588 enable_vssapi
1589 enable_vulkan_1
1590 enable_wbemdisp
1591 enable_wbemprox
1592 enable_wdscore
1593 enable_webservices
1594 enable_wer
1595 enable_wevtapi
1596 enable_wiaservc
1597 enable_wimgapi
1598 enable_windowscodecs
1599 enable_windowscodecsext
1600 enable_winealsa_drv
1601 enable_wineandroid_drv
1602 enable_winebus_sys
1603 enable_winecoreaudio_drv
1604 enable_winecrt0
1605 enable_wined3d
1606 enable_winegstreamer
1607 enable_winehid_sys
1608 enable_winejoystick_drv
1609 enable_winemac_drv
1610 enable_winemapi
1611 enable_wineoss_drv
1612 enable_wineps_drv
1613 enable_winepulse_drv
1614 enable_wineqtdecoder
1615 enable_winevulkan
1616 enable_winex11_drv
1617 enable_wing32
1618 enable_winhttp
1619 enable_wininet
1620 enable_winmm
1621 enable_winnls32
1622 enable_winscard
1623 enable_winspool_drv
1624 enable_winsta
1625 enable_wintab32
1626 enable_wintrust
1627 enable_winusb
1628 enable_wlanapi
1629 enable_wldap32
1630 enable_wmasf
1631 enable_wmcodecdspuuid
1632 enable_wmi
1633 enable_wmiutils
1634 enable_wmp
1635 enable_wmphoto
1636 enable_wmvcore
1637 enable_wnaspi32
1638 enable_wpc
1639 enable_wpcap
1640 enable_ws2_32
1641 enable_wsdapi
1642 enable_wshom_ocx
1643 enable_wsnmp32
1644 enable_wsock32
1645 enable_wtsapi32
1646 enable_wuapi
1647 enable_wuaueng
1648 enable_x3daudio1_0
1649 enable_x3daudio1_1
1650 enable_x3daudio1_2
1651 enable_x3daudio1_3
1652 enable_x3daudio1_4
1653 enable_x3daudio1_5
1654 enable_x3daudio1_6
1655 enable_x3daudio1_7
1656 enable_xapofx1_1
1657 enable_xapofx1_2
1658 enable_xapofx1_3
1659 enable_xapofx1_4
1660 enable_xapofx1_5
1661 enable_xaudio2_0
1662 enable_xaudio2_1
1663 enable_xaudio2_2
1664 enable_xaudio2_3
1665 enable_xaudio2_4
1666 enable_xaudio2_5
1667 enable_xaudio2_6
1668 enable_xaudio2_7
1669 enable_xaudio2_8
1670 enable_xaudio2_9
1671 enable_xinput1_1
1672 enable_xinput1_2
1673 enable_xinput1_3
1674 enable_xinput1_4
1675 enable_xinput9_1_0
1676 enable_xmllite
1677 enable_xolehlp
1678 enable_xpsprint
1679 enable_xpssvcs
1680 enable_fonts
1681 enable_include
1682 enable_port
1683 enable_wine
1684 enable_wpp
1685 enable_loader
1686 enable_po
1687 enable_arp
1688 enable_aspnet_regiis
1689 enable_attrib
1690 enable_cabarc
1691 enable_cacls
1692 enable_clock
1693 enable_cmd
1694 enable_conhost
1695 enable_control
1696 enable_cscript
1697 enable_dism
1698 enable_dpnsvr
1699 enable_dxdiag
1700 enable_eject
1701 enable_expand
1702 enable_explorer
1703 enable_extrac32
1704 enable_fc
1705 enable_find
1706 enable_findstr
1707 enable_fsutil
1708 enable_hh
1709 enable_hostname
1710 enable_icacls
1711 enable_icinfo
1712 enable_iexplore
1713 enable_ipconfig
1714 enable_lodctr
1715 enable_mofcomp
1716 enable_mshta
1717 enable_msiexec
1718 enable_msinfo32
1719 enable_net
1720 enable_netsh
1721 enable_netstat
1722 enable_ngen
1723 enable_notepad
1724 enable_oleview
1725 enable_ping
1726 enable_plugplay
1727 enable_powershell
1728 enable_presentationfontcache
1729 enable_progman
1730 enable_reg
1731 enable_regasm
1732 enable_regedit
1733 enable_regsvcs
1734 enable_regsvr32
1735 enable_rpcss
1736 enable_rundll32
1737 enable_sc
1738 enable_schtasks
1739 enable_sdbinst
1740 enable_secedit
1741 enable_servicemodelreg
1742 enable_services
1743 enable_shutdown
1744 enable_spoolsv
1745 enable_start
1746 enable_subst
1747 enable_svchost
1748 enable_systeminfo
1749 enable_taskkill
1750 enable_tasklist
1751 enable_taskmgr
1752 enable_termsv
1753 enable_uninstaller
1754 enable_unlodctr
1755 enable_view
1756 enable_wevtutil
1757 enable_wineboot
1758 enable_winebrowser
1759 enable_winecfg
1760 enable_wineconsole
1761 enable_winedbg
1762 enable_winedevice
1763 enable_winefile
1764 enable_winemenubuilder
1765 enable_winemine
1766 enable_winemsibuilder
1767 enable_winepath
1768 enable_winetest
1769 enable_winhlp32
1770 enable_winmgmt
1771 enable_winver
1772 enable_wmic
1773 enable_wmplayer
1774 enable_wordpad
1775 enable_write
1776 enable_wscript
1777 enable_wusa
1778 enable_xcopy
1779 enable_server
1780 enable_tools
1781 enable_sfnt2fon
1782 enable_widl
1783 enable_winebuild
1784 enable_winedump
1785 enable_winegcc
1786 enable_winemaker
1787 enable_wmc
1788 enable_wrc
1790 ac_precious_vars='build_alias
1791 host_alias
1792 target_alias
1794 CFLAGS
1795 LDFLAGS
1796 LIBS
1797 CPPFLAGS
1799 CXXFLAGS
1802 OBJC
1803 OBJCFLAGS
1804 OBJCPP
1805 XMKMF
1806 XML2_CFLAGS
1807 XML2_LIBS
1808 XSLT_CFLAGS
1809 XSLT_LIBS
1810 DBUS_CFLAGS
1811 DBUS_LIBS
1812 HAL_CFLAGS
1813 HAL_LIBS
1814 GNUTLS_CFLAGS
1815 GNUTLS_LIBS
1816 SANE_CFLAGS
1817 SANE_LIBS
1818 GPHOTO2_CFLAGS
1819 GPHOTO2_LIBS
1820 GPHOTO2_PORT_CFLAGS
1821 GPHOTO2_PORT_LIBS
1822 LCMS2_CFLAGS
1823 LCMS2_LIBS
1824 FREETYPE_CFLAGS
1825 FREETYPE_LIBS
1826 PULSE_CFLAGS
1827 PULSE_LIBS
1828 GSTREAMER_CFLAGS
1829 GSTREAMER_LIBS
1830 UDEV_CFLAGS
1831 UDEV_LIBS
1832 SDL2_CFLAGS
1833 SDL2_LIBS
1834 FAUDIO_CFLAGS
1835 FAUDIO_LIBS
1836 CAPI20_CFLAGS
1837 CAPI20_LIBS
1838 CUPS_CFLAGS
1839 CUPS_LIBS
1840 FONTCONFIG_CFLAGS
1841 FONTCONFIG_LIBS
1842 KRB5_CFLAGS
1843 KRB5_LIBS
1844 GSSAPI_CFLAGS
1845 GSSAPI_LIBS
1846 JPEG_CFLAGS
1847 JPEG_LIBS
1848 PNG_CFLAGS
1849 PNG_LIBS
1850 TIFF_CFLAGS
1851 TIFF_LIBS
1852 MPG123_CFLAGS
1853 MPG123_LIBS
1854 NETAPI_CFLAGS
1855 NETAPI_LIBS
1856 VKD3D_CFLAGS
1857 VKD3D_LIBS
1858 LDAP_CFLAGS
1859 LDAP_LIBS'
1862 # Initialize some variables set by options.
1863 ac_init_help=
1864 ac_init_version=false
1865 ac_unrecognized_opts=
1866 ac_unrecognized_sep=
1867 # The variables have the same names as the options, with
1868 # dashes changed to underlines.
1869 cache_file=/dev/null
1870 exec_prefix=NONE
1871 no_create=
1872 no_recursion=
1873 prefix=NONE
1874 program_prefix=NONE
1875 program_suffix=NONE
1876 program_transform_name=s,x,x,
1877 silent=
1878 site=
1879 srcdir=
1880 verbose=
1881 x_includes=NONE
1882 x_libraries=NONE
1884 # Installation directory options.
1885 # These are left unexpanded so users can "make install exec_prefix=/foo"
1886 # and all the variables that are supposed to be based on exec_prefix
1887 # by default will actually change.
1888 # Use braces instead of parens because sh, perl, etc. also accept them.
1889 # (The list follows the same order as the GNU Coding Standards.)
1890 bindir='${exec_prefix}/bin'
1891 sbindir='${exec_prefix}/sbin'
1892 libexecdir='${exec_prefix}/libexec'
1893 datarootdir='${prefix}/share'
1894 datadir='${datarootdir}'
1895 sysconfdir='${prefix}/etc'
1896 sharedstatedir='${prefix}/com'
1897 localstatedir='${prefix}/var'
1898 runstatedir='${localstatedir}/run'
1899 includedir='${prefix}/include'
1900 oldincludedir='/usr/include'
1901 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1902 infodir='${datarootdir}/info'
1903 htmldir='${docdir}'
1904 dvidir='${docdir}'
1905 pdfdir='${docdir}'
1906 psdir='${docdir}'
1907 libdir='${exec_prefix}/lib'
1908 localedir='${datarootdir}/locale'
1909 mandir='${datarootdir}/man'
1911 ac_prev=
1912 ac_dashdash=
1913 for ac_option
1915 # If the previous option needs an argument, assign it.
1916 if test -n "$ac_prev"; then
1917 eval $ac_prev=\$ac_option
1918 ac_prev=
1919 continue
1922 case $ac_option in
1923 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1924 *=) ac_optarg= ;;
1925 *) ac_optarg=yes ;;
1926 esac
1928 # Accept the important Cygnus configure options, so we can diagnose typos.
1930 case $ac_dashdash$ac_option in
1932 ac_dashdash=yes ;;
1934 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1935 ac_prev=bindir ;;
1936 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1937 bindir=$ac_optarg ;;
1939 -build | --build | --buil | --bui | --bu)
1940 ac_prev=build_alias ;;
1941 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1942 build_alias=$ac_optarg ;;
1944 -cache-file | --cache-file | --cache-fil | --cache-fi \
1945 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1946 ac_prev=cache_file ;;
1947 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1948 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1949 cache_file=$ac_optarg ;;
1951 --config-cache | -C)
1952 cache_file=config.cache ;;
1954 -datadir | --datadir | --datadi | --datad)
1955 ac_prev=datadir ;;
1956 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1957 datadir=$ac_optarg ;;
1959 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1960 | --dataroo | --dataro | --datar)
1961 ac_prev=datarootdir ;;
1962 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1963 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1964 datarootdir=$ac_optarg ;;
1966 -disable-* | --disable-*)
1967 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1968 # Reject names that are not valid shell variable names.
1969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1970 as_fn_error $? "invalid feature name: $ac_useropt"
1971 ac_useropt_orig=$ac_useropt
1972 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1973 case $ac_user_opts in
1975 "enable_$ac_useropt"
1976 "*) ;;
1977 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1978 ac_unrecognized_sep=', ';;
1979 esac
1980 eval enable_$ac_useropt=no ;;
1982 -docdir | --docdir | --docdi | --doc | --do)
1983 ac_prev=docdir ;;
1984 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1985 docdir=$ac_optarg ;;
1987 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1988 ac_prev=dvidir ;;
1989 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1990 dvidir=$ac_optarg ;;
1992 -enable-* | --enable-*)
1993 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1994 # Reject names that are not valid shell variable names.
1995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1996 as_fn_error $? "invalid feature name: $ac_useropt"
1997 ac_useropt_orig=$ac_useropt
1998 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1999 case $ac_user_opts in
2001 "enable_$ac_useropt"
2002 "*) ;;
2003 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2004 ac_unrecognized_sep=', ';;
2005 esac
2006 eval enable_$ac_useropt=\$ac_optarg ;;
2008 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2009 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2010 | --exec | --exe | --ex)
2011 ac_prev=exec_prefix ;;
2012 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2013 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2014 | --exec=* | --exe=* | --ex=*)
2015 exec_prefix=$ac_optarg ;;
2017 -gas | --gas | --ga | --g)
2018 # Obsolete; use --with-gas.
2019 with_gas=yes ;;
2021 -help | --help | --hel | --he | -h)
2022 ac_init_help=long ;;
2023 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2024 ac_init_help=recursive ;;
2025 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2026 ac_init_help=short ;;
2028 -host | --host | --hos | --ho)
2029 ac_prev=host_alias ;;
2030 -host=* | --host=* | --hos=* | --ho=*)
2031 host_alias=$ac_optarg ;;
2033 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2034 ac_prev=htmldir ;;
2035 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2036 | --ht=*)
2037 htmldir=$ac_optarg ;;
2039 -includedir | --includedir | --includedi | --included | --include \
2040 | --includ | --inclu | --incl | --inc)
2041 ac_prev=includedir ;;
2042 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2043 | --includ=* | --inclu=* | --incl=* | --inc=*)
2044 includedir=$ac_optarg ;;
2046 -infodir | --infodir | --infodi | --infod | --info | --inf)
2047 ac_prev=infodir ;;
2048 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2049 infodir=$ac_optarg ;;
2051 -libdir | --libdir | --libdi | --libd)
2052 ac_prev=libdir ;;
2053 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2054 libdir=$ac_optarg ;;
2056 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2057 | --libexe | --libex | --libe)
2058 ac_prev=libexecdir ;;
2059 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2060 | --libexe=* | --libex=* | --libe=*)
2061 libexecdir=$ac_optarg ;;
2063 -localedir | --localedir | --localedi | --localed | --locale)
2064 ac_prev=localedir ;;
2065 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2066 localedir=$ac_optarg ;;
2068 -localstatedir | --localstatedir | --localstatedi | --localstated \
2069 | --localstate | --localstat | --localsta | --localst | --locals)
2070 ac_prev=localstatedir ;;
2071 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2072 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2073 localstatedir=$ac_optarg ;;
2075 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2076 ac_prev=mandir ;;
2077 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2078 mandir=$ac_optarg ;;
2080 -nfp | --nfp | --nf)
2081 # Obsolete; use --without-fp.
2082 with_fp=no ;;
2084 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2085 | --no-cr | --no-c | -n)
2086 no_create=yes ;;
2088 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2089 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2090 no_recursion=yes ;;
2092 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2093 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2094 | --oldin | --oldi | --old | --ol | --o)
2095 ac_prev=oldincludedir ;;
2096 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2097 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2098 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2099 oldincludedir=$ac_optarg ;;
2101 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2102 ac_prev=prefix ;;
2103 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2104 prefix=$ac_optarg ;;
2106 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2107 | --program-pre | --program-pr | --program-p)
2108 ac_prev=program_prefix ;;
2109 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2110 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2111 program_prefix=$ac_optarg ;;
2113 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2114 | --program-suf | --program-su | --program-s)
2115 ac_prev=program_suffix ;;
2116 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2117 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2118 program_suffix=$ac_optarg ;;
2120 -program-transform-name | --program-transform-name \
2121 | --program-transform-nam | --program-transform-na \
2122 | --program-transform-n | --program-transform- \
2123 | --program-transform | --program-transfor \
2124 | --program-transfo | --program-transf \
2125 | --program-trans | --program-tran \
2126 | --progr-tra | --program-tr | --program-t)
2127 ac_prev=program_transform_name ;;
2128 -program-transform-name=* | --program-transform-name=* \
2129 | --program-transform-nam=* | --program-transform-na=* \
2130 | --program-transform-n=* | --program-transform-=* \
2131 | --program-transform=* | --program-transfor=* \
2132 | --program-transfo=* | --program-transf=* \
2133 | --program-trans=* | --program-tran=* \
2134 | --progr-tra=* | --program-tr=* | --program-t=*)
2135 program_transform_name=$ac_optarg ;;
2137 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2138 ac_prev=pdfdir ;;
2139 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2140 pdfdir=$ac_optarg ;;
2142 -psdir | --psdir | --psdi | --psd | --ps)
2143 ac_prev=psdir ;;
2144 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2145 psdir=$ac_optarg ;;
2147 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2148 | -silent | --silent | --silen | --sile | --sil)
2149 silent=yes ;;
2151 -runstatedir | --runstatedir | --runstatedi | --runstated \
2152 | --runstate | --runstat | --runsta | --runst | --runs \
2153 | --run | --ru | --r)
2154 ac_prev=runstatedir ;;
2155 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2156 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2157 | --run=* | --ru=* | --r=*)
2158 runstatedir=$ac_optarg ;;
2160 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2161 ac_prev=sbindir ;;
2162 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2163 | --sbi=* | --sb=*)
2164 sbindir=$ac_optarg ;;
2166 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2167 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2168 | --sharedst | --shareds | --shared | --share | --shar \
2169 | --sha | --sh)
2170 ac_prev=sharedstatedir ;;
2171 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2172 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2173 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2174 | --sha=* | --sh=*)
2175 sharedstatedir=$ac_optarg ;;
2177 -site | --site | --sit)
2178 ac_prev=site ;;
2179 -site=* | --site=* | --sit=*)
2180 site=$ac_optarg ;;
2182 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2183 ac_prev=srcdir ;;
2184 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2185 srcdir=$ac_optarg ;;
2187 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2188 | --syscon | --sysco | --sysc | --sys | --sy)
2189 ac_prev=sysconfdir ;;
2190 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2191 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2192 sysconfdir=$ac_optarg ;;
2194 -target | --target | --targe | --targ | --tar | --ta | --t)
2195 ac_prev=target_alias ;;
2196 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2197 target_alias=$ac_optarg ;;
2199 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2200 verbose=yes ;;
2202 -version | --version | --versio | --versi | --vers | -V)
2203 ac_init_version=: ;;
2205 -with-* | --with-*)
2206 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2207 # Reject names that are not valid shell variable names.
2208 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2209 as_fn_error $? "invalid package name: $ac_useropt"
2210 ac_useropt_orig=$ac_useropt
2211 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2212 case $ac_user_opts in
2214 "with_$ac_useropt"
2215 "*) ;;
2216 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2217 ac_unrecognized_sep=', ';;
2218 esac
2219 eval with_$ac_useropt=\$ac_optarg ;;
2221 -without-* | --without-*)
2222 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2223 # Reject names that are not valid shell variable names.
2224 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2225 as_fn_error $? "invalid package name: $ac_useropt"
2226 ac_useropt_orig=$ac_useropt
2227 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2228 case $ac_user_opts in
2230 "with_$ac_useropt"
2231 "*) ;;
2232 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2233 ac_unrecognized_sep=', ';;
2234 esac
2235 eval with_$ac_useropt=no ;;
2237 --x)
2238 # Obsolete; use --with-x.
2239 with_x=yes ;;
2241 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2242 | --x-incl | --x-inc | --x-in | --x-i)
2243 ac_prev=x_includes ;;
2244 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2245 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2246 x_includes=$ac_optarg ;;
2248 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2249 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2250 ac_prev=x_libraries ;;
2251 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2252 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2253 x_libraries=$ac_optarg ;;
2255 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2256 Try \`$0 --help' for more information"
2259 *=*)
2260 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2261 # Reject names that are not valid shell variable names.
2262 case $ac_envvar in #(
2263 '' | [0-9]* | *[!_$as_cr_alnum]* )
2264 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2265 esac
2266 eval $ac_envvar=\$ac_optarg
2267 export $ac_envvar ;;
2270 # FIXME: should be removed in autoconf 3.0.
2271 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2272 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2273 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2274 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2277 esac
2278 done
2280 if test -n "$ac_prev"; then
2281 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2282 as_fn_error $? "missing argument to $ac_option"
2285 if test -n "$ac_unrecognized_opts"; then
2286 case $enable_option_checking in
2287 no) ;;
2288 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2289 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2290 esac
2293 # Check all directory arguments for consistency.
2294 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2295 datadir sysconfdir sharedstatedir localstatedir includedir \
2296 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2297 libdir localedir mandir runstatedir
2299 eval ac_val=\$$ac_var
2300 # Remove trailing slashes.
2301 case $ac_val in
2302 */ )
2303 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2304 eval $ac_var=\$ac_val;;
2305 esac
2306 # Be sure to have absolute directory names.
2307 case $ac_val in
2308 [\\/$]* | ?:[\\/]* ) continue;;
2309 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2310 esac
2311 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2312 done
2314 # There might be people who depend on the old broken behavior: `$host'
2315 # used to hold the argument of --host etc.
2316 # FIXME: To remove some day.
2317 build=$build_alias
2318 host=$host_alias
2319 target=$target_alias
2321 # FIXME: To remove some day.
2322 if test "x$host_alias" != x; then
2323 if test "x$build_alias" = x; then
2324 cross_compiling=maybe
2325 elif test "x$build_alias" != "x$host_alias"; then
2326 cross_compiling=yes
2330 ac_tool_prefix=
2331 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2333 test "$silent" = yes && exec 6>/dev/null
2336 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2337 ac_ls_di=`ls -di .` &&
2338 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2339 as_fn_error $? "working directory cannot be determined"
2340 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2341 as_fn_error $? "pwd does not report name of working directory"
2344 # Find the source files, if location was not specified.
2345 if test -z "$srcdir"; then
2346 ac_srcdir_defaulted=yes
2347 # Try the directory containing this script, then the parent directory.
2348 ac_confdir=`$as_dirname -- "$as_myself" ||
2349 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2350 X"$as_myself" : 'X\(//\)[^/]' \| \
2351 X"$as_myself" : 'X\(//\)$' \| \
2352 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2353 $as_echo X"$as_myself" |
2354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2355 s//\1/
2358 /^X\(\/\/\)[^/].*/{
2359 s//\1/
2362 /^X\(\/\/\)$/{
2363 s//\1/
2366 /^X\(\/\).*/{
2367 s//\1/
2370 s/.*/./; q'`
2371 srcdir=$ac_confdir
2372 if test ! -r "$srcdir/$ac_unique_file"; then
2373 srcdir=..
2375 else
2376 ac_srcdir_defaulted=no
2378 if test ! -r "$srcdir/$ac_unique_file"; then
2379 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2380 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2382 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2383 ac_abs_confdir=`(
2384 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2385 pwd)`
2386 # When building in place, set srcdir=.
2387 if test "$ac_abs_confdir" = "$ac_pwd"; then
2388 srcdir=.
2390 # Remove unnecessary trailing slashes from srcdir.
2391 # Double slashes in file names in object file debugging info
2392 # mess up M-x gdb in Emacs.
2393 case $srcdir in
2394 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2395 esac
2396 for ac_var in $ac_precious_vars; do
2397 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2398 eval ac_env_${ac_var}_value=\$${ac_var}
2399 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2400 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2401 done
2404 # Report the --help message.
2406 if test "$ac_init_help" = "long"; then
2407 # Omit some internal or obsolete options to make the list less imposing.
2408 # This message is too long to be a string in the A/UX 3.1 sh.
2409 cat <<_ACEOF
2410 \`configure' configures Wine 4.2 to adapt to many kinds of systems.
2412 Usage: $0 [OPTION]... [VAR=VALUE]...
2414 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2415 VAR=VALUE. See below for descriptions of some of the useful variables.
2417 Defaults for the options are specified in brackets.
2419 Configuration:
2420 -h, --help display this help and exit
2421 --help=short display options specific to this package
2422 --help=recursive display the short help of all the included packages
2423 -V, --version display version information and exit
2424 -q, --quiet, --silent do not print \`checking ...' messages
2425 --cache-file=FILE cache test results in FILE [disabled]
2426 -C, --config-cache alias for \`--cache-file=config.cache'
2427 -n, --no-create do not create output files
2428 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2430 Installation directories:
2431 --prefix=PREFIX install architecture-independent files in PREFIX
2432 [$ac_default_prefix]
2433 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2434 [PREFIX]
2436 By default, \`make install' will install all the files in
2437 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2438 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2439 for instance \`--prefix=\$HOME'.
2441 For better control, use the options below.
2443 Fine tuning of the installation directories:
2444 --bindir=DIR user executables [EPREFIX/bin]
2445 --sbindir=DIR system admin executables [EPREFIX/sbin]
2446 --libexecdir=DIR program executables [EPREFIX/libexec]
2447 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2448 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2449 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2450 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2451 --libdir=DIR object code libraries [EPREFIX/lib]
2452 --includedir=DIR C header files [PREFIX/include]
2453 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2454 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2455 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2456 --infodir=DIR info documentation [DATAROOTDIR/info]
2457 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2458 --mandir=DIR man documentation [DATAROOTDIR/man]
2459 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2460 --htmldir=DIR html documentation [DOCDIR]
2461 --dvidir=DIR dvi documentation [DOCDIR]
2462 --pdfdir=DIR pdf documentation [DOCDIR]
2463 --psdir=DIR ps documentation [DOCDIR]
2464 _ACEOF
2466 cat <<\_ACEOF
2468 X features:
2469 --x-includes=DIR X include files are in DIR
2470 --x-libraries=DIR X library files are in DIR
2472 System types:
2473 --build=BUILD configure for building on BUILD [guessed]
2474 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2475 _ACEOF
2478 if test -n "$ac_init_help"; then
2479 case $ac_init_help in
2480 short | recursive ) echo "Configuration of Wine 4.2:";;
2481 esac
2482 cat <<\_ACEOF
2484 Optional Features:
2485 --disable-option-checking ignore unrecognized --enable/--with options
2486 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2487 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2488 --disable-win16 do not include Win16 support
2489 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2490 binaries)
2491 --disable-tests do not build the regression tests
2492 --enable-maintainer-mode
2493 enable maintainer-specific build rules
2494 --disable-largefile omit support for large files
2496 Optional Packages:
2497 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2498 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2499 --without-alsa do not use the Alsa sound support
2500 --without-capi do not use CAPI (ISDN support)
2501 --without-cms do not use CMS (color management support)
2502 --without-coreaudio do not use the CoreAudio sound support
2503 --without-cups do not use CUPS
2504 --without-curses do not use (n)curses
2505 --without-dbus do not use DBus (dynamic device support)
2506 --without-faudio do not use FAudio (XAudio2 support)
2507 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2508 --without-fontconfig do not use fontconfig
2509 --without-freetype do not use the FreeType library
2510 --without-gettext do not use gettext
2511 --with-gettextpo use the GetTextPO library to rebuild po files
2512 --without-gphoto do not use gphoto (Digital Camera support)
2513 --without-glu do not use the GLU library
2514 --without-gnutls do not use GnuTLS (schannel support)
2515 --without-gsm do not use libgsm (GSM 06.10 codec support)
2516 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2517 --without-gstreamer do not use GStreamer (codecs support)
2518 --without-hal do not use HAL (dynamic device support)
2519 --without-jpeg do not use JPEG
2520 --without-krb5 do not use krb5 (Kerberos)
2521 --without-ldap do not use LDAP
2522 --without-mpg123 do not use the mpg123 library
2523 --without-netapi do not use the Samba NetAPI library
2524 --without-openal do not use OpenAL
2525 --without-opencl do not use OpenCL
2526 --without-opengl do not use OpenGL
2527 --without-osmesa do not use the OSMesa library
2528 --without-oss do not use the OSS sound support
2529 --without-pcap do not use the Packet Capture library
2530 --without-png do not use PNG
2531 --without-pthread do not use the pthread library
2532 --without-pulse do not use PulseAudio sound support
2533 --without-sane do not use SANE (scanner support)
2534 --without-sdl do not use SDL
2535 --without-tiff do not use TIFF
2536 --without-udev do not use udev (plug and play support)
2537 --without-v4l do not use v4l1 (v4l support)
2538 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2539 --without-vulkan do not use Vulkan
2540 --without-xcomposite do not use the Xcomposite extension
2541 --without-xcursor do not use the Xcursor extension
2542 --without-xfixes do not use Xfixes for clipboard change notifications
2543 --without-xinerama do not use Xinerama (multi-monitor support)
2544 --without-xinput do not use the Xinput extension
2545 --without-xinput2 do not use the Xinput 2 extension
2546 --without-xml do not use XML
2547 --without-xrandr do not use Xrandr (resolution changes)
2548 --without-xrender do not use the Xrender extension
2549 --without-xshape do not use the Xshape extension
2550 --without-xshm do not use XShm (shared memory extension)
2551 --without-xslt do not use XSLT
2552 --without-xxf86vm do not use XFree video mode extension
2553 --without-zlib do not use Zlib (data compression)
2554 --with-wine-tools=DIR use Wine tools from directory DIR
2555 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2556 --with-x use the X Window System
2558 Some influential environment variables:
2559 CC C compiler command
2560 CFLAGS C compiler flags
2561 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2562 nonstandard directory <lib dir>
2563 LIBS libraries to pass to the linker, e.g. -l<library>
2564 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2565 you have headers in a nonstandard directory <include dir>
2566 CXX C++ compiler command
2567 CXXFLAGS C++ compiler flags
2568 CPP C preprocessor
2569 OBJC Objective C compiler command
2570 OBJCFLAGS Objective C compiler flags
2571 OBJCPP Objective C preprocessor
2572 XMKMF Path to xmkmf, Makefile generator for X Window System
2573 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2574 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2575 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2576 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2577 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2578 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2579 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2580 HAL_LIBS Linker flags for hal, overriding pkg-config
2581 GNUTLS_CFLAGS
2582 C compiler flags for gnutls, overriding pkg-config
2583 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2584 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2585 SANE_LIBS Linker flags for libsane, overriding pkg-config
2586 GPHOTO2_CFLAGS
2587 C compiler flags for libgphoto2, overriding pkg-config
2588 GPHOTO2_LIBS
2589 Linker flags for libgphoto2, overriding pkg-config
2590 GPHOTO2_PORT_CFLAGS
2591 C compiler flags for libgphoto2_port, overriding pkg-config
2592 GPHOTO2_PORT_LIBS
2593 Linker flags for libgphoto2_port, overriding pkg-config
2594 LCMS2_CFLAGS
2595 C compiler flags for lcms2, overriding pkg-config
2596 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2597 FREETYPE_CFLAGS
2598 C compiler flags for freetype2, overriding pkg-config
2599 FREETYPE_LIBS
2600 Linker flags for freetype2, overriding pkg-config
2601 PULSE_CFLAGS
2602 C compiler flags for libpulse, overriding pkg-config
2603 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2604 GSTREAMER_CFLAGS
2605 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2606 gstreamer-audio-1.0, overriding pkg-config
2607 GSTREAMER_LIBS
2608 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2609 gstreamer-audio-1.0, overriding pkg-config
2610 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2611 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2612 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2613 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2614 FAUDIO_CFLAGS
2615 C compiler flags for faudio, overriding pkg-config
2616 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2617 CAPI20_CFLAGS
2618 C compiler flags for capi20, overriding pkg-config
2619 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2620 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2621 CUPS_LIBS Linker flags for cups, overriding pkg-config
2622 FONTCONFIG_CFLAGS
2623 C compiler flags for fontconfig, overriding pkg-config
2624 FONTCONFIG_LIBS
2625 Linker flags for fontconfig, overriding pkg-config
2626 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2627 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2628 GSSAPI_CFLAGS
2629 C compiler flags for krb5-gssapi, overriding pkg-config
2630 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2631 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2632 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2633 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2634 PNG_LIBS Linker flags for libpng, overriding pkg-config
2635 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2636 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2637 MPG123_CFLAGS
2638 C compiler flags for libmpg123, overriding pkg-config
2639 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2640 NETAPI_CFLAGS
2641 C compiler flags for netapi, overriding pkg-config
2642 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2643 VKD3D_CFLAGS
2644 C compiler flags for libvkd3d, overriding pkg-config
2645 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2646 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2647 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2649 Use these variables to override the choices made by `configure' or to help
2650 it to find libraries and programs with nonstandard names/locations.
2652 Report bugs to <wine-devel@winehq.org>.
2653 Wine home page: <https://www.winehq.org>.
2654 _ACEOF
2655 ac_status=$?
2658 if test "$ac_init_help" = "recursive"; then
2659 # If there are subdirs, report their specific --help.
2660 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2661 test -d "$ac_dir" ||
2662 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2663 continue
2664 ac_builddir=.
2666 case "$ac_dir" in
2667 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2669 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2670 # A ".." for each directory in $ac_dir_suffix.
2671 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2672 case $ac_top_builddir_sub in
2673 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2674 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2675 esac ;;
2676 esac
2677 ac_abs_top_builddir=$ac_pwd
2678 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2679 # for backward compatibility:
2680 ac_top_builddir=$ac_top_build_prefix
2682 case $srcdir in
2683 .) # We are building in place.
2684 ac_srcdir=.
2685 ac_top_srcdir=$ac_top_builddir_sub
2686 ac_abs_top_srcdir=$ac_pwd ;;
2687 [\\/]* | ?:[\\/]* ) # Absolute name.
2688 ac_srcdir=$srcdir$ac_dir_suffix;
2689 ac_top_srcdir=$srcdir
2690 ac_abs_top_srcdir=$srcdir ;;
2691 *) # Relative name.
2692 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2693 ac_top_srcdir=$ac_top_build_prefix$srcdir
2694 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2695 esac
2696 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2698 cd "$ac_dir" || { ac_status=$?; continue; }
2699 # Check for guested configure.
2700 if test -f "$ac_srcdir/configure.gnu"; then
2701 echo &&
2702 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2703 elif test -f "$ac_srcdir/configure"; then
2704 echo &&
2705 $SHELL "$ac_srcdir/configure" --help=recursive
2706 else
2707 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2708 fi || ac_status=$?
2709 cd "$ac_pwd" || { ac_status=$?; break; }
2710 done
2713 test -n "$ac_init_help" && exit $ac_status
2714 if $ac_init_version; then
2715 cat <<\_ACEOF
2716 Wine configure 4.2
2717 generated by GNU Autoconf 2.69
2719 Copyright (C) 2012 Free Software Foundation, Inc.
2720 This configure script is free software; the Free Software Foundation
2721 gives unlimited permission to copy, distribute and modify it.
2722 _ACEOF
2723 exit
2726 ## ------------------------ ##
2727 ## Autoconf initialization. ##
2728 ## ------------------------ ##
2730 # ac_fn_c_try_compile LINENO
2731 # --------------------------
2732 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2733 ac_fn_c_try_compile ()
2735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2736 rm -f conftest.$ac_objext
2737 if { { ac_try="$ac_compile"
2738 case "(($ac_try" in
2739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2740 *) ac_try_echo=$ac_try;;
2741 esac
2742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2743 $as_echo "$ac_try_echo"; } >&5
2744 (eval "$ac_compile") 2>conftest.err
2745 ac_status=$?
2746 if test -s conftest.err; then
2747 grep -v '^ *+' conftest.err >conftest.er1
2748 cat conftest.er1 >&5
2749 mv -f conftest.er1 conftest.err
2751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2752 test $ac_status = 0; } && {
2753 test -z "$ac_c_werror_flag" ||
2754 test ! -s conftest.err
2755 } && test -s conftest.$ac_objext; then :
2756 ac_retval=0
2757 else
2758 $as_echo "$as_me: failed program was:" >&5
2759 sed 's/^/| /' conftest.$ac_ext >&5
2761 ac_retval=1
2763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2764 as_fn_set_status $ac_retval
2766 } # ac_fn_c_try_compile
2768 # ac_fn_cxx_try_compile LINENO
2769 # ----------------------------
2770 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2771 ac_fn_cxx_try_compile ()
2773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2774 rm -f conftest.$ac_objext
2775 if { { ac_try="$ac_compile"
2776 case "(($ac_try" in
2777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2778 *) ac_try_echo=$ac_try;;
2779 esac
2780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2781 $as_echo "$ac_try_echo"; } >&5
2782 (eval "$ac_compile") 2>conftest.err
2783 ac_status=$?
2784 if test -s conftest.err; then
2785 grep -v '^ *+' conftest.err >conftest.er1
2786 cat conftest.er1 >&5
2787 mv -f conftest.er1 conftest.err
2789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2790 test $ac_status = 0; } && {
2791 test -z "$ac_cxx_werror_flag" ||
2792 test ! -s conftest.err
2793 } && test -s conftest.$ac_objext; then :
2794 ac_retval=0
2795 else
2796 $as_echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2799 ac_retval=1
2801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2802 as_fn_set_status $ac_retval
2804 } # ac_fn_cxx_try_compile
2806 # ac_fn_c_try_link LINENO
2807 # -----------------------
2808 # Try to link conftest.$ac_ext, and return whether this succeeded.
2809 ac_fn_c_try_link ()
2811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2812 rm -f conftest.$ac_objext conftest$ac_exeext
2813 if { { ac_try="$ac_link"
2814 case "(($ac_try" in
2815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2816 *) ac_try_echo=$ac_try;;
2817 esac
2818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2819 $as_echo "$ac_try_echo"; } >&5
2820 (eval "$ac_link") 2>conftest.err
2821 ac_status=$?
2822 if test -s conftest.err; then
2823 grep -v '^ *+' conftest.err >conftest.er1
2824 cat conftest.er1 >&5
2825 mv -f conftest.er1 conftest.err
2827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2828 test $ac_status = 0; } && {
2829 test -z "$ac_c_werror_flag" ||
2830 test ! -s conftest.err
2831 } && test -s conftest$ac_exeext && {
2832 test "$cross_compiling" = yes ||
2833 test -x conftest$ac_exeext
2834 }; then :
2835 ac_retval=0
2836 else
2837 $as_echo "$as_me: failed program was:" >&5
2838 sed 's/^/| /' conftest.$ac_ext >&5
2840 ac_retval=1
2842 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2843 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2844 # interfere with the next link command; also delete a directory that is
2845 # left behind by Apple's compiler. We do this before executing the actions.
2846 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2848 as_fn_set_status $ac_retval
2850 } # ac_fn_c_try_link
2852 # ac_fn_c_try_cpp LINENO
2853 # ----------------------
2854 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2855 ac_fn_c_try_cpp ()
2857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2858 if { { ac_try="$ac_cpp conftest.$ac_ext"
2859 case "(($ac_try" in
2860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2861 *) ac_try_echo=$ac_try;;
2862 esac
2863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2864 $as_echo "$ac_try_echo"; } >&5
2865 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2866 ac_status=$?
2867 if test -s conftest.err; then
2868 grep -v '^ *+' conftest.err >conftest.er1
2869 cat conftest.er1 >&5
2870 mv -f conftest.er1 conftest.err
2872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2873 test $ac_status = 0; } > conftest.i && {
2874 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2875 test ! -s conftest.err
2876 }; then :
2877 ac_retval=0
2878 else
2879 $as_echo "$as_me: failed program was:" >&5
2880 sed 's/^/| /' conftest.$ac_ext >&5
2882 ac_retval=1
2884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2885 as_fn_set_status $ac_retval
2887 } # ac_fn_c_try_cpp
2889 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2890 # -------------------------------------------------------
2891 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2892 # the include files in INCLUDES and setting the cache variable VAR
2893 # accordingly.
2894 ac_fn_c_check_header_mongrel ()
2896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2897 if eval \${$3+:} false; then :
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2899 $as_echo_n "checking for $2... " >&6; }
2900 if eval \${$3+:} false; then :
2901 $as_echo_n "(cached) " >&6
2903 eval ac_res=\$$3
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2905 $as_echo "$ac_res" >&6; }
2906 else
2907 # Is the header compilable?
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2909 $as_echo_n "checking $2 usability... " >&6; }
2910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2911 /* end confdefs.h. */
2913 #include <$2>
2914 _ACEOF
2915 if ac_fn_c_try_compile "$LINENO"; then :
2916 ac_header_compiler=yes
2917 else
2918 ac_header_compiler=no
2920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2922 $as_echo "$ac_header_compiler" >&6; }
2924 # Is the header present?
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2926 $as_echo_n "checking $2 presence... " >&6; }
2927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2928 /* end confdefs.h. */
2929 #include <$2>
2930 _ACEOF
2931 if ac_fn_c_try_cpp "$LINENO"; then :
2932 ac_header_preproc=yes
2933 else
2934 ac_header_preproc=no
2936 rm -f conftest.err conftest.i conftest.$ac_ext
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2938 $as_echo "$ac_header_preproc" >&6; }
2940 # So? What about this header?
2941 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2942 yes:no: )
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2944 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2946 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2948 no:yes:* )
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2950 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2952 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2954 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2956 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2958 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2959 ( $as_echo "## ------------------------------------ ##
2960 ## Report this to wine-devel@winehq.org ##
2961 ## ------------------------------------ ##"
2962 ) | sed "s/^/$as_me: WARNING: /" >&2
2964 esac
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2966 $as_echo_n "checking for $2... " >&6; }
2967 if eval \${$3+:} false; then :
2968 $as_echo_n "(cached) " >&6
2969 else
2970 eval "$3=\$ac_header_compiler"
2972 eval ac_res=\$$3
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2974 $as_echo "$ac_res" >&6; }
2976 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2978 } # ac_fn_c_check_header_mongrel
2980 # ac_fn_c_try_run LINENO
2981 # ----------------------
2982 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2983 # that executables *can* be run.
2984 ac_fn_c_try_run ()
2986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2987 if { { ac_try="$ac_link"
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_link") 2>&5
2995 ac_status=$?
2996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2997 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2998 { { case "(($ac_try" in
2999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3000 *) ac_try_echo=$ac_try;;
3001 esac
3002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3003 $as_echo "$ac_try_echo"; } >&5
3004 (eval "$ac_try") 2>&5
3005 ac_status=$?
3006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3007 test $ac_status = 0; }; }; then :
3008 ac_retval=0
3009 else
3010 $as_echo "$as_me: program exited with status $ac_status" >&5
3011 $as_echo "$as_me: failed program was:" >&5
3012 sed 's/^/| /' conftest.$ac_ext >&5
3014 ac_retval=$ac_status
3016 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3018 as_fn_set_status $ac_retval
3020 } # ac_fn_c_try_run
3022 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3023 # -------------------------------------------------------
3024 # Tests whether HEADER exists and can be compiled using the include files in
3025 # INCLUDES, setting the cache variable VAR accordingly.
3026 ac_fn_c_check_header_compile ()
3028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3030 $as_echo_n "checking for $2... " >&6; }
3031 if eval \${$3+:} false; then :
3032 $as_echo_n "(cached) " >&6
3033 else
3034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3035 /* end confdefs.h. */
3037 #include <$2>
3038 _ACEOF
3039 if ac_fn_c_try_compile "$LINENO"; then :
3040 eval "$3=yes"
3041 else
3042 eval "$3=no"
3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3046 eval ac_res=\$$3
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3048 $as_echo "$ac_res" >&6; }
3049 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3051 } # ac_fn_c_check_header_compile
3053 # ac_fn_objc_try_compile LINENO
3054 # -----------------------------
3055 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3056 ac_fn_objc_try_compile ()
3058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3059 rm -f conftest.$ac_objext
3060 if { { ac_try="$ac_compile"
3061 case "(($ac_try" in
3062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3063 *) ac_try_echo=$ac_try;;
3064 esac
3065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3066 $as_echo "$ac_try_echo"; } >&5
3067 (eval "$ac_compile") 2>conftest.err
3068 ac_status=$?
3069 if test -s conftest.err; then
3070 grep -v '^ *+' conftest.err >conftest.er1
3071 cat conftest.er1 >&5
3072 mv -f conftest.er1 conftest.err
3074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3075 test $ac_status = 0; } && {
3076 test -z "$ac_objc_werror_flag" ||
3077 test ! -s conftest.err
3078 } && test -s conftest.$ac_objext; then :
3079 ac_retval=0
3080 else
3081 $as_echo "$as_me: failed program was:" >&5
3082 sed 's/^/| /' conftest.$ac_ext >&5
3084 ac_retval=1
3086 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3087 as_fn_set_status $ac_retval
3089 } # ac_fn_objc_try_compile
3091 # ac_fn_objc_try_cpp LINENO
3092 # -------------------------
3093 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3094 ac_fn_objc_try_cpp ()
3096 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3097 if { { ac_try="$ac_cpp conftest.$ac_ext"
3098 case "(($ac_try" in
3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3101 esac
3102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3103 $as_echo "$ac_try_echo"; } >&5
3104 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3105 ac_status=$?
3106 if test -s conftest.err; then
3107 grep -v '^ *+' conftest.err >conftest.er1
3108 cat conftest.er1 >&5
3109 mv -f conftest.er1 conftest.err
3111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3112 test $ac_status = 0; } > conftest.i && {
3113 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3114 test ! -s conftest.err
3115 }; then :
3116 ac_retval=0
3117 else
3118 $as_echo "$as_me: failed program was:" >&5
3119 sed 's/^/| /' conftest.$ac_ext >&5
3121 ac_retval=1
3123 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3124 as_fn_set_status $ac_retval
3126 } # ac_fn_objc_try_cpp
3128 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3129 # ----------------------------------------------------------
3130 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3131 # the include files in INCLUDES and setting the cache variable VAR
3132 # accordingly.
3133 ac_fn_objc_check_header_mongrel ()
3135 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3136 if eval \${$3+:} false; then :
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3138 $as_echo_n "checking for $2... " >&6; }
3139 if eval \${$3+:} false; then :
3140 $as_echo_n "(cached) " >&6
3142 eval ac_res=\$$3
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3144 $as_echo "$ac_res" >&6; }
3145 else
3146 # Is the header compilable?
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3148 $as_echo_n "checking $2 usability... " >&6; }
3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3152 #include <$2>
3153 _ACEOF
3154 if ac_fn_objc_try_compile "$LINENO"; then :
3155 ac_header_compiler=yes
3156 else
3157 ac_header_compiler=no
3159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3161 $as_echo "$ac_header_compiler" >&6; }
3163 # Is the header present?
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3165 $as_echo_n "checking $2 presence... " >&6; }
3166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3167 /* end confdefs.h. */
3168 #include <$2>
3169 _ACEOF
3170 if ac_fn_objc_try_cpp "$LINENO"; then :
3171 ac_header_preproc=yes
3172 else
3173 ac_header_preproc=no
3175 rm -f conftest.err conftest.i conftest.$ac_ext
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3177 $as_echo "$ac_header_preproc" >&6; }
3179 # So? What about this header?
3180 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3181 yes:no: )
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3183 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3185 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3187 no:yes:* )
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3189 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3191 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3193 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3195 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3197 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3198 ( $as_echo "## ------------------------------------ ##
3199 ## Report this to wine-devel@winehq.org ##
3200 ## ------------------------------------ ##"
3201 ) | sed "s/^/$as_me: WARNING: /" >&2
3203 esac
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3205 $as_echo_n "checking for $2... " >&6; }
3206 if eval \${$3+:} false; then :
3207 $as_echo_n "(cached) " >&6
3208 else
3209 eval "$3=\$ac_header_compiler"
3211 eval ac_res=\$$3
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3213 $as_echo "$ac_res" >&6; }
3215 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3217 } # ac_fn_objc_check_header_mongrel
3219 # ac_fn_c_check_func LINENO FUNC VAR
3220 # ----------------------------------
3221 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3222 ac_fn_c_check_func ()
3224 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3226 $as_echo_n "checking for $2... " >&6; }
3227 if eval \${$3+:} false; then :
3228 $as_echo_n "(cached) " >&6
3229 else
3230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3231 /* end confdefs.h. */
3232 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3234 #define $2 innocuous_$2
3236 /* System header to define __stub macros and hopefully few prototypes,
3237 which can conflict with char $2 (); below.
3238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3239 <limits.h> exists even on freestanding compilers. */
3241 #ifdef __STDC__
3242 # include <limits.h>
3243 #else
3244 # include <assert.h>
3245 #endif
3247 #undef $2
3249 /* Override any GCC internal prototype to avoid an error.
3250 Use char because int might match the return type of a GCC
3251 builtin and then its argument prototype would still apply. */
3252 #ifdef __cplusplus
3253 extern "C"
3254 #endif
3255 char $2 ();
3256 /* The GNU C library defines this for functions which it implements
3257 to always fail with ENOSYS. Some functions are actually named
3258 something starting with __ and the normal name is an alias. */
3259 #if defined __stub_$2 || defined __stub___$2
3260 choke me
3261 #endif
3264 main ()
3266 return $2 ();
3268 return 0;
3270 _ACEOF
3271 if ac_fn_c_try_link "$LINENO"; then :
3272 eval "$3=yes"
3273 else
3274 eval "$3=no"
3276 rm -f core conftest.err conftest.$ac_objext \
3277 conftest$ac_exeext conftest.$ac_ext
3279 eval ac_res=\$$3
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3281 $as_echo "$ac_res" >&6; }
3282 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3284 } # ac_fn_c_check_func
3286 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3287 # ----------------------------------------------------
3288 # Tries to find if the field MEMBER exists in type AGGR, after including
3289 # INCLUDES, setting cache variable VAR accordingly.
3290 ac_fn_c_check_member ()
3292 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3294 $as_echo_n "checking for $2.$3... " >&6; }
3295 if eval \${$4+:} false; then :
3296 $as_echo_n "(cached) " >&6
3297 else
3298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299 /* end confdefs.h. */
3302 main ()
3304 static $2 ac_aggr;
3305 if (ac_aggr.$3)
3306 return 0;
3308 return 0;
3310 _ACEOF
3311 if ac_fn_c_try_compile "$LINENO"; then :
3312 eval "$4=yes"
3313 else
3314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3315 /* end confdefs.h. */
3318 main ()
3320 static $2 ac_aggr;
3321 if (sizeof ac_aggr.$3)
3322 return 0;
3324 return 0;
3326 _ACEOF
3327 if ac_fn_c_try_compile "$LINENO"; then :
3328 eval "$4=yes"
3329 else
3330 eval "$4=no"
3332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3336 eval ac_res=\$$4
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3338 $as_echo "$ac_res" >&6; }
3339 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3341 } # ac_fn_c_check_member
3343 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3344 # -------------------------------------------
3345 # Tests whether TYPE exists after having included INCLUDES, setting cache
3346 # variable VAR accordingly.
3347 ac_fn_c_check_type ()
3349 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3351 $as_echo_n "checking for $2... " >&6; }
3352 if eval \${$3+:} false; then :
3353 $as_echo_n "(cached) " >&6
3354 else
3355 eval "$3=no"
3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3357 /* end confdefs.h. */
3360 main ()
3362 if (sizeof ($2))
3363 return 0;
3365 return 0;
3367 _ACEOF
3368 if ac_fn_c_try_compile "$LINENO"; then :
3369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370 /* end confdefs.h. */
3373 main ()
3375 if (sizeof (($2)))
3376 return 0;
3378 return 0;
3380 _ACEOF
3381 if ac_fn_c_try_compile "$LINENO"; then :
3383 else
3384 eval "$3=yes"
3386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3390 eval ac_res=\$$3
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3392 $as_echo "$ac_res" >&6; }
3393 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3395 } # ac_fn_c_check_type
3396 cat >config.log <<_ACEOF
3397 This file contains any messages produced by compilers while
3398 running configure, to aid debugging if configure makes a mistake.
3400 It was created by Wine $as_me 4.2, which was
3401 generated by GNU Autoconf 2.69. Invocation command line was
3403 $ $0 $@
3405 _ACEOF
3406 exec 5>>config.log
3408 cat <<_ASUNAME
3409 ## --------- ##
3410 ## Platform. ##
3411 ## --------- ##
3413 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3414 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3415 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3416 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3417 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3419 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3420 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3422 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3423 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3424 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3425 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3426 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3427 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3428 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3430 _ASUNAME
3432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3433 for as_dir in $PATH
3435 IFS=$as_save_IFS
3436 test -z "$as_dir" && as_dir=.
3437 $as_echo "PATH: $as_dir"
3438 done
3439 IFS=$as_save_IFS
3441 } >&5
3443 cat >&5 <<_ACEOF
3446 ## ----------- ##
3447 ## Core tests. ##
3448 ## ----------- ##
3450 _ACEOF
3453 # Keep a trace of the command line.
3454 # Strip out --no-create and --no-recursion so they do not pile up.
3455 # Strip out --silent because we don't want to record it for future runs.
3456 # Also quote any args containing shell meta-characters.
3457 # Make two passes to allow for proper duplicate-argument suppression.
3458 ac_configure_args=
3459 ac_configure_args0=
3460 ac_configure_args1=
3461 ac_must_keep_next=false
3462 for ac_pass in 1 2
3464 for ac_arg
3466 case $ac_arg in
3467 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3468 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3469 | -silent | --silent | --silen | --sile | --sil)
3470 continue ;;
3471 *\'*)
3472 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3473 esac
3474 case $ac_pass in
3475 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3477 as_fn_append ac_configure_args1 " '$ac_arg'"
3478 if test $ac_must_keep_next = true; then
3479 ac_must_keep_next=false # Got value, back to normal.
3480 else
3481 case $ac_arg in
3482 *=* | --config-cache | -C | -disable-* | --disable-* \
3483 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3484 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3485 | -with-* | --with-* | -without-* | --without-* | --x)
3486 case "$ac_configure_args0 " in
3487 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3488 esac
3490 -* ) ac_must_keep_next=true ;;
3491 esac
3493 as_fn_append ac_configure_args " '$ac_arg'"
3495 esac
3496 done
3497 done
3498 { ac_configure_args0=; unset ac_configure_args0;}
3499 { ac_configure_args1=; unset ac_configure_args1;}
3501 # When interrupted or exit'd, cleanup temporary files, and complete
3502 # config.log. We remove comments because anyway the quotes in there
3503 # would cause problems or look ugly.
3504 # WARNING: Use '\'' to represent an apostrophe within the trap.
3505 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3506 trap 'exit_status=$?
3507 # Save into config.log some information that might help in debugging.
3509 echo
3511 $as_echo "## ---------------- ##
3512 ## Cache variables. ##
3513 ## ---------------- ##"
3514 echo
3515 # The following way of writing the cache mishandles newlines in values,
3517 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3518 eval ac_val=\$$ac_var
3519 case $ac_val in #(
3520 *${as_nl}*)
3521 case $ac_var in #(
3522 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3523 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3524 esac
3525 case $ac_var in #(
3526 _ | IFS | as_nl) ;; #(
3527 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3528 *) { eval $ac_var=; unset $ac_var;} ;;
3529 esac ;;
3530 esac
3531 done
3532 (set) 2>&1 |
3533 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3534 *${as_nl}ac_space=\ *)
3535 sed -n \
3536 "s/'\''/'\''\\\\'\'''\''/g;
3537 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3538 ;; #(
3540 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3542 esac |
3543 sort
3545 echo
3547 $as_echo "## ----------------- ##
3548 ## Output variables. ##
3549 ## ----------------- ##"
3550 echo
3551 for ac_var in $ac_subst_vars
3553 eval ac_val=\$$ac_var
3554 case $ac_val in
3555 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3556 esac
3557 $as_echo "$ac_var='\''$ac_val'\''"
3558 done | sort
3559 echo
3561 if test -n "$ac_subst_files"; then
3562 $as_echo "## ------------------- ##
3563 ## File substitutions. ##
3564 ## ------------------- ##"
3565 echo
3566 for ac_var in $ac_subst_files
3568 eval ac_val=\$$ac_var
3569 case $ac_val in
3570 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3571 esac
3572 $as_echo "$ac_var='\''$ac_val'\''"
3573 done | sort
3574 echo
3577 if test -s confdefs.h; then
3578 $as_echo "## ----------- ##
3579 ## confdefs.h. ##
3580 ## ----------- ##"
3581 echo
3582 cat confdefs.h
3583 echo
3585 test "$ac_signal" != 0 &&
3586 $as_echo "$as_me: caught signal $ac_signal"
3587 $as_echo "$as_me: exit $exit_status"
3588 } >&5
3589 rm -f core *.core core.conftest.* &&
3590 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3591 exit $exit_status
3593 for ac_signal in 1 2 13 15; do
3594 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3595 done
3596 ac_signal=0
3598 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3599 rm -f -r conftest* confdefs.h
3601 $as_echo "/* confdefs.h */" > confdefs.h
3603 # Predefined preprocessor variables.
3605 cat >>confdefs.h <<_ACEOF
3606 #define PACKAGE_NAME "$PACKAGE_NAME"
3607 _ACEOF
3609 cat >>confdefs.h <<_ACEOF
3610 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3611 _ACEOF
3613 cat >>confdefs.h <<_ACEOF
3614 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3615 _ACEOF
3617 cat >>confdefs.h <<_ACEOF
3618 #define PACKAGE_STRING "$PACKAGE_STRING"
3619 _ACEOF
3621 cat >>confdefs.h <<_ACEOF
3622 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3623 _ACEOF
3625 cat >>confdefs.h <<_ACEOF
3626 #define PACKAGE_URL "$PACKAGE_URL"
3627 _ACEOF
3630 # Let the site file select an alternate cache file if it wants to.
3631 # Prefer an explicitly selected file to automatically selected ones.
3632 ac_site_file1=NONE
3633 ac_site_file2=NONE
3634 if test -n "$CONFIG_SITE"; then
3635 # We do not want a PATH search for config.site.
3636 case $CONFIG_SITE in #((
3637 -*) ac_site_file1=./$CONFIG_SITE;;
3638 */*) ac_site_file1=$CONFIG_SITE;;
3639 *) ac_site_file1=./$CONFIG_SITE;;
3640 esac
3641 elif test "x$prefix" != xNONE; then
3642 ac_site_file1=$prefix/share/config.site
3643 ac_site_file2=$prefix/etc/config.site
3644 else
3645 ac_site_file1=$ac_default_prefix/share/config.site
3646 ac_site_file2=$ac_default_prefix/etc/config.site
3648 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3650 test "x$ac_site_file" = xNONE && continue
3651 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3653 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3654 sed 's/^/| /' "$ac_site_file" >&5
3655 . "$ac_site_file" \
3656 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3658 as_fn_error $? "failed to load site script $ac_site_file
3659 See \`config.log' for more details" "$LINENO" 5; }
3661 done
3663 if test -r "$cache_file"; then
3664 # Some versions of bash will fail to source /dev/null (special files
3665 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3666 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3668 $as_echo "$as_me: loading cache $cache_file" >&6;}
3669 case $cache_file in
3670 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3671 *) . "./$cache_file";;
3672 esac
3674 else
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3676 $as_echo "$as_me: creating cache $cache_file" >&6;}
3677 >$cache_file
3680 # Check that the precious variables saved in the cache have kept the same
3681 # value.
3682 ac_cache_corrupted=false
3683 for ac_var in $ac_precious_vars; do
3684 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3685 eval ac_new_set=\$ac_env_${ac_var}_set
3686 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3687 eval ac_new_val=\$ac_env_${ac_var}_value
3688 case $ac_old_set,$ac_new_set in
3689 set,)
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3691 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3692 ac_cache_corrupted=: ;;
3693 ,set)
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3695 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3696 ac_cache_corrupted=: ;;
3697 ,);;
3699 if test "x$ac_old_val" != "x$ac_new_val"; then
3700 # differences in whitespace do not lead to failure.
3701 ac_old_val_w=`echo x $ac_old_val`
3702 ac_new_val_w=`echo x $ac_new_val`
3703 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3705 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3706 ac_cache_corrupted=:
3707 else
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3709 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3710 eval $ac_var=\$ac_old_val
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3713 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3715 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3716 fi;;
3717 esac
3718 # Pass precious variables to config.status.
3719 if test "$ac_new_set" = set; then
3720 case $ac_new_val in
3721 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3722 *) ac_arg=$ac_var=$ac_new_val ;;
3723 esac
3724 case " $ac_configure_args " in
3725 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3726 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3727 esac
3729 done
3730 if $ac_cache_corrupted; then
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3734 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3735 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3737 ## -------------------- ##
3738 ## Main body of script. ##
3739 ## -------------------- ##
3741 ac_ext=c
3742 ac_cpp='$CPP $CPPFLAGS'
3743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3749 ac_config_headers="$ac_config_headers include/config.h"
3751 ac_aux_dir=
3752 for ac_dir in tools "$srcdir"/tools; do
3753 if test -f "$ac_dir/install-sh"; then
3754 ac_aux_dir=$ac_dir
3755 ac_install_sh="$ac_aux_dir/install-sh -c"
3756 break
3757 elif test -f "$ac_dir/install.sh"; then
3758 ac_aux_dir=$ac_dir
3759 ac_install_sh="$ac_aux_dir/install.sh -c"
3760 break
3761 elif test -f "$ac_dir/shtool"; then
3762 ac_aux_dir=$ac_dir
3763 ac_install_sh="$ac_aux_dir/shtool install -c"
3764 break
3766 done
3767 if test -z "$ac_aux_dir"; then
3768 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3771 # These three variables are undocumented and unsupported,
3772 # and are intended to be withdrawn in a future Autoconf release.
3773 # They can cause serious problems if a builder's source tree is in a directory
3774 # whose full name contains unusual characters.
3775 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3776 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3777 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3781 libwine_version="1.0"
3785 # Check whether --enable-win16 was given.
3786 if test "${enable_win16+set}" = set; then :
3787 enableval=$enable_win16;
3790 # Check whether --enable-win64 was given.
3791 if test "${enable_win64+set}" = set; then :
3792 enableval=$enable_win64;
3795 # Check whether --enable-tests was given.
3796 if test "${enable_tests+set}" = set; then :
3797 enableval=$enable_tests;
3800 # Check whether --enable-maintainer-mode was given.
3801 if test "${enable_maintainer_mode+set}" = set; then :
3802 enableval=$enable_maintainer_mode;
3807 # Check whether --with-alsa was given.
3808 if test "${with_alsa+set}" = set; then :
3809 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3813 # Check whether --with-capi was given.
3814 if test "${with_capi+set}" = set; then :
3815 withval=$with_capi;
3819 # Check whether --with-cms was given.
3820 if test "${with_cms+set}" = set; then :
3821 withval=$with_cms;
3825 # Check whether --with-coreaudio was given.
3826 if test "${with_coreaudio+set}" = set; then :
3827 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3831 # Check whether --with-cups was given.
3832 if test "${with_cups+set}" = set; then :
3833 withval=$with_cups;
3837 # Check whether --with-curses was given.
3838 if test "${with_curses+set}" = set; then :
3839 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3843 # Check whether --with-dbus was given.
3844 if test "${with_dbus+set}" = set; then :
3845 withval=$with_dbus;
3849 # Check whether --with-faudio was given.
3850 if test "${with_faudio+set}" = set; then :
3851 withval=$with_faudio;
3855 # Check whether --with-float-abi was given.
3856 if test "${with_float_abi+set}" = set; then :
3857 withval=$with_float_abi;
3861 # Check whether --with-fontconfig was given.
3862 if test "${with_fontconfig+set}" = set; then :
3863 withval=$with_fontconfig;
3867 # Check whether --with-freetype was given.
3868 if test "${with_freetype+set}" = set; then :
3869 withval=$with_freetype;
3873 # Check whether --with-gettext was given.
3874 if test "${with_gettext+set}" = set; then :
3875 withval=$with_gettext;
3879 # Check whether --with-gettextpo was given.
3880 if test "${with_gettextpo+set}" = set; then :
3881 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3885 # Check whether --with-gphoto was given.
3886 if test "${with_gphoto+set}" = set; then :
3887 withval=$with_gphoto;
3891 # Check whether --with-glu was given.
3892 if test "${with_glu+set}" = set; then :
3893 withval=$with_glu;
3897 # Check whether --with-gnutls was given.
3898 if test "${with_gnutls+set}" = set; then :
3899 withval=$with_gnutls;
3903 # Check whether --with-gsm was given.
3904 if test "${with_gsm+set}" = set; then :
3905 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3909 # Check whether --with-gssapi was given.
3910 if test "${with_gssapi+set}" = set; then :
3911 withval=$with_gssapi;
3915 # Check whether --with-gstreamer was given.
3916 if test "${with_gstreamer+set}" = set; then :
3917 withval=$with_gstreamer;
3921 # Check whether --with-hal was given.
3922 if test "${with_hal+set}" = set; then :
3923 withval=$with_hal;
3927 # Check whether --with-jpeg was given.
3928 if test "${with_jpeg+set}" = set; then :
3929 withval=$with_jpeg;
3933 # Check whether --with-krb5 was given.
3934 if test "${with_krb5+set}" = set; then :
3935 withval=$with_krb5;
3939 # Check whether --with-ldap was given.
3940 if test "${with_ldap+set}" = set; then :
3941 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3945 # Check whether --with-mpg123 was given.
3946 if test "${with_mpg123+set}" = set; then :
3947 withval=$with_mpg123;
3951 # Check whether --with-netapi was given.
3952 if test "${with_netapi+set}" = set; then :
3953 withval=$with_netapi;
3957 # Check whether --with-openal was given.
3958 if test "${with_openal+set}" = set; then :
3959 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3963 # Check whether --with-opencl was given.
3964 if test "${with_opencl+set}" = set; then :
3965 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3969 # Check whether --with-opengl was given.
3970 if test "${with_opengl+set}" = set; then :
3971 withval=$with_opengl;
3975 # Check whether --with-osmesa was given.
3976 if test "${with_osmesa+set}" = set; then :
3977 withval=$with_osmesa;
3981 # Check whether --with-oss was given.
3982 if test "${with_oss+set}" = set; then :
3983 withval=$with_oss;
3987 # Check whether --with-pcap was given.
3988 if test "${with_pcap+set}" = set; then :
3989 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3993 # Check whether --with-png was given.
3994 if test "${with_png+set}" = set; then :
3995 withval=$with_png;
3999 # Check whether --with-pthread was given.
4000 if test "${with_pthread+set}" = set; then :
4001 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4005 # Check whether --with-pulse was given.
4006 if test "${with_pulse+set}" = set; then :
4007 withval=$with_pulse;
4011 # Check whether --with-sane was given.
4012 if test "${with_sane+set}" = set; then :
4013 withval=$with_sane;
4017 # Check whether --with-sdl was given.
4018 if test "${with_sdl+set}" = set; then :
4019 withval=$with_sdl;
4023 # Check whether --with-tiff was given.
4024 if test "${with_tiff+set}" = set; then :
4025 withval=$with_tiff;
4029 # Check whether --with-udev was given.
4030 if test "${with_udev+set}" = set; then :
4031 withval=$with_udev;
4035 # Check whether --with-v4l was given.
4036 if test "${with_v4l+set}" = set; then :
4037 withval=$with_v4l;
4041 # Check whether --with-vkd3d was given.
4042 if test "${with_vkd3d+set}" = set; then :
4043 withval=$with_vkd3d;
4047 # Check whether --with-vulkan was given.
4048 if test "${with_vulkan+set}" = set; then :
4049 withval=$with_vulkan;
4053 # Check whether --with-xcomposite was given.
4054 if test "${with_xcomposite+set}" = set; then :
4055 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4059 # Check whether --with-xcursor was given.
4060 if test "${with_xcursor+set}" = set; then :
4061 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4065 # Check whether --with-xfixes was given.
4066 if test "${with_xfixes+set}" = set; then :
4067 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4071 # Check whether --with-xinerama was given.
4072 if test "${with_xinerama+set}" = set; then :
4073 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4077 # Check whether --with-xinput was given.
4078 if test "${with_xinput+set}" = set; then :
4079 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4083 # Check whether --with-xinput2 was given.
4084 if test "${with_xinput2+set}" = set; then :
4085 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4089 # Check whether --with-xml was given.
4090 if test "${with_xml+set}" = set; then :
4091 withval=$with_xml;
4095 # Check whether --with-xrandr was given.
4096 if test "${with_xrandr+set}" = set; then :
4097 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4101 # Check whether --with-xrender was given.
4102 if test "${with_xrender+set}" = set; then :
4103 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4107 # Check whether --with-xshape was given.
4108 if test "${with_xshape+set}" = set; then :
4109 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4113 # Check whether --with-xshm was given.
4114 if test "${with_xshm+set}" = set; then :
4115 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4119 # Check whether --with-xslt was given.
4120 if test "${with_xslt+set}" = set; then :
4121 withval=$with_xslt;
4125 # Check whether --with-xxf86vm was given.
4126 if test "${with_xxf86vm+set}" = set; then :
4127 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
4131 # Check whether --with-zlib was given.
4132 if test "${with_zlib+set}" = set; then :
4133 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4138 # Check whether --with-wine-tools was given.
4139 if test "${with_wine_tools+set}" = set; then :
4140 withval=$with_wine_tools;
4144 # Check whether --with-wine64 was given.
4145 if test "${with_wine64+set}" = set; then :
4146 withval=$with_wine64;
4150 # Make sure we can run config.sub.
4151 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4152 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4155 $as_echo_n "checking build system type... " >&6; }
4156 if ${ac_cv_build+:} false; then :
4157 $as_echo_n "(cached) " >&6
4158 else
4159 ac_build_alias=$build_alias
4160 test "x$ac_build_alias" = x &&
4161 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4162 test "x$ac_build_alias" = x &&
4163 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4164 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4165 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4169 $as_echo "$ac_cv_build" >&6; }
4170 case $ac_cv_build in
4171 *-*-*) ;;
4172 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4173 esac
4174 build=$ac_cv_build
4175 ac_save_IFS=$IFS; IFS='-'
4176 set x $ac_cv_build
4177 shift
4178 build_cpu=$1
4179 build_vendor=$2
4180 shift; shift
4181 # Remember, the first character of IFS is used to create $*,
4182 # except with old shells:
4183 build_os=$*
4184 IFS=$ac_save_IFS
4185 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4189 $as_echo_n "checking host system type... " >&6; }
4190 if ${ac_cv_host+:} false; then :
4191 $as_echo_n "(cached) " >&6
4192 else
4193 if test "x$host_alias" = x; then
4194 ac_cv_host=$ac_cv_build
4195 else
4196 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4197 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4202 $as_echo "$ac_cv_host" >&6; }
4203 case $ac_cv_host in
4204 *-*-*) ;;
4205 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4206 esac
4207 host=$ac_cv_host
4208 ac_save_IFS=$IFS; IFS='-'
4209 set x $ac_cv_host
4210 shift
4211 host_cpu=$1
4212 host_vendor=$2
4213 shift; shift
4214 # Remember, the first character of IFS is used to create $*,
4215 # except with old shells:
4216 host_os=$*
4217 IFS=$ac_save_IFS
4218 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4222 case "$srcdir" in
4223 .) ;;
4224 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4225 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4226 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4227 fi ;;
4228 esac
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4232 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4233 set x ${MAKE-make}
4234 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4235 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4236 $as_echo_n "(cached) " >&6
4237 else
4238 cat >conftest.make <<\_ACEOF
4239 SHELL = /bin/sh
4240 all:
4241 @echo '@@@%%%=$(MAKE)=@@@%%%'
4242 _ACEOF
4243 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4244 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4245 *@@@%%%=?*=@@@%%%*)
4246 eval ac_cv_prog_make_${ac_make}_set=yes;;
4248 eval ac_cv_prog_make_${ac_make}_set=no;;
4249 esac
4250 rm -f conftest.make
4252 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4254 $as_echo "yes" >&6; }
4255 SET_MAKE=
4256 else
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4258 $as_echo "no" >&6; }
4259 SET_MAKE="MAKE=${MAKE-make}"
4262 ac_ext=c
4263 ac_cpp='$CPP $CPPFLAGS'
4264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4267 if test -n "$ac_tool_prefix"; then
4268 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4269 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4271 $as_echo_n "checking for $ac_word... " >&6; }
4272 if ${ac_cv_prog_CC+:} false; then :
4273 $as_echo_n "(cached) " >&6
4274 else
4275 if test -n "$CC"; then
4276 ac_cv_prog_CC="$CC" # Let the user override the test.
4277 else
4278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4279 for as_dir in $PATH
4281 IFS=$as_save_IFS
4282 test -z "$as_dir" && as_dir=.
4283 for ac_exec_ext in '' $ac_executable_extensions; do
4284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4285 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4287 break 2
4289 done
4290 done
4291 IFS=$as_save_IFS
4295 CC=$ac_cv_prog_CC
4296 if test -n "$CC"; then
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4298 $as_echo "$CC" >&6; }
4299 else
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4301 $as_echo "no" >&6; }
4306 if test -z "$ac_cv_prog_CC"; then
4307 ac_ct_CC=$CC
4308 # Extract the first word of "gcc", so it can be a program name with args.
4309 set dummy gcc; ac_word=$2
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4311 $as_echo_n "checking for $ac_word... " >&6; }
4312 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4313 $as_echo_n "(cached) " >&6
4314 else
4315 if test -n "$ac_ct_CC"; then
4316 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4317 else
4318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4319 for as_dir in $PATH
4321 IFS=$as_save_IFS
4322 test -z "$as_dir" && as_dir=.
4323 for ac_exec_ext in '' $ac_executable_extensions; do
4324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4325 ac_cv_prog_ac_ct_CC="gcc"
4326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4327 break 2
4329 done
4330 done
4331 IFS=$as_save_IFS
4335 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4336 if test -n "$ac_ct_CC"; then
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4338 $as_echo "$ac_ct_CC" >&6; }
4339 else
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4341 $as_echo "no" >&6; }
4344 if test "x$ac_ct_CC" = x; then
4345 CC=""
4346 else
4347 case $cross_compiling:$ac_tool_warned in
4348 yes:)
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4351 ac_tool_warned=yes ;;
4352 esac
4353 CC=$ac_ct_CC
4355 else
4356 CC="$ac_cv_prog_CC"
4359 if test -z "$CC"; then
4360 if test -n "$ac_tool_prefix"; then
4361 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4362 set dummy ${ac_tool_prefix}cc; ac_word=$2
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4364 $as_echo_n "checking for $ac_word... " >&6; }
4365 if ${ac_cv_prog_CC+:} false; then :
4366 $as_echo_n "(cached) " >&6
4367 else
4368 if test -n "$CC"; then
4369 ac_cv_prog_CC="$CC" # Let the user override the test.
4370 else
4371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4372 for as_dir in $PATH
4374 IFS=$as_save_IFS
4375 test -z "$as_dir" && as_dir=.
4376 for ac_exec_ext in '' $ac_executable_extensions; do
4377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4378 ac_cv_prog_CC="${ac_tool_prefix}cc"
4379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4380 break 2
4382 done
4383 done
4384 IFS=$as_save_IFS
4388 CC=$ac_cv_prog_CC
4389 if test -n "$CC"; then
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4391 $as_echo "$CC" >&6; }
4392 else
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4394 $as_echo "no" >&6; }
4400 if test -z "$CC"; then
4401 # Extract the first word of "cc", so it can be a program name with args.
4402 set dummy cc; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if ${ac_cv_prog_CC+:} false; then :
4406 $as_echo_n "(cached) " >&6
4407 else
4408 if test -n "$CC"; then
4409 ac_cv_prog_CC="$CC" # Let the user override the test.
4410 else
4411 ac_prog_rejected=no
4412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413 for as_dir in $PATH
4415 IFS=$as_save_IFS
4416 test -z "$as_dir" && as_dir=.
4417 for ac_exec_ext in '' $ac_executable_extensions; do
4418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4419 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4420 ac_prog_rejected=yes
4421 continue
4423 ac_cv_prog_CC="cc"
4424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4425 break 2
4427 done
4428 done
4429 IFS=$as_save_IFS
4431 if test $ac_prog_rejected = yes; then
4432 # We found a bogon in the path, so make sure we never use it.
4433 set dummy $ac_cv_prog_CC
4434 shift
4435 if test $# != 0; then
4436 # We chose a different compiler from the bogus one.
4437 # However, it has the same basename, so the bogon will be chosen
4438 # first if we set CC to just the basename; use the full file name.
4439 shift
4440 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4445 CC=$ac_cv_prog_CC
4446 if test -n "$CC"; then
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4448 $as_echo "$CC" >&6; }
4449 else
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4451 $as_echo "no" >&6; }
4456 if test -z "$CC"; then
4457 if test -n "$ac_tool_prefix"; then
4458 for ac_prog in cl.exe
4460 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4461 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4463 $as_echo_n "checking for $ac_word... " >&6; }
4464 if ${ac_cv_prog_CC+:} false; then :
4465 $as_echo_n "(cached) " >&6
4466 else
4467 if test -n "$CC"; then
4468 ac_cv_prog_CC="$CC" # Let the user override the test.
4469 else
4470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4471 for as_dir in $PATH
4473 IFS=$as_save_IFS
4474 test -z "$as_dir" && as_dir=.
4475 for ac_exec_ext in '' $ac_executable_extensions; do
4476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4477 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4479 break 2
4481 done
4482 done
4483 IFS=$as_save_IFS
4487 CC=$ac_cv_prog_CC
4488 if test -n "$CC"; then
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4490 $as_echo "$CC" >&6; }
4491 else
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4493 $as_echo "no" >&6; }
4497 test -n "$CC" && break
4498 done
4500 if test -z "$CC"; then
4501 ac_ct_CC=$CC
4502 for ac_prog in cl.exe
4504 # Extract the first word of "$ac_prog", so it can be a program name with args.
4505 set dummy $ac_prog; ac_word=$2
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4507 $as_echo_n "checking for $ac_word... " >&6; }
4508 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4509 $as_echo_n "(cached) " >&6
4510 else
4511 if test -n "$ac_ct_CC"; then
4512 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4513 else
4514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4515 for as_dir in $PATH
4517 IFS=$as_save_IFS
4518 test -z "$as_dir" && as_dir=.
4519 for ac_exec_ext in '' $ac_executable_extensions; do
4520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4521 ac_cv_prog_ac_ct_CC="$ac_prog"
4522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4523 break 2
4525 done
4526 done
4527 IFS=$as_save_IFS
4531 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4532 if test -n "$ac_ct_CC"; then
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4534 $as_echo "$ac_ct_CC" >&6; }
4535 else
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4537 $as_echo "no" >&6; }
4541 test -n "$ac_ct_CC" && break
4542 done
4544 if test "x$ac_ct_CC" = x; then
4545 CC=""
4546 else
4547 case $cross_compiling:$ac_tool_warned in
4548 yes:)
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4551 ac_tool_warned=yes ;;
4552 esac
4553 CC=$ac_ct_CC
4560 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4562 as_fn_error $? "no acceptable C compiler found in \$PATH
4563 See \`config.log' for more details" "$LINENO" 5; }
4565 # Provide some information about the compiler.
4566 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4567 set X $ac_compile
4568 ac_compiler=$2
4569 for ac_option in --version -v -V -qversion; do
4570 { { ac_try="$ac_compiler $ac_option >&5"
4571 case "(($ac_try" in
4572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4573 *) ac_try_echo=$ac_try;;
4574 esac
4575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4576 $as_echo "$ac_try_echo"; } >&5
4577 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4578 ac_status=$?
4579 if test -s conftest.err; then
4580 sed '10a\
4581 ... rest of stderr output deleted ...
4582 10q' conftest.err >conftest.er1
4583 cat conftest.er1 >&5
4585 rm -f conftest.er1 conftest.err
4586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4587 test $ac_status = 0; }
4588 done
4590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4591 /* end confdefs.h. */
4594 main ()
4598 return 0;
4600 _ACEOF
4601 ac_clean_files_save=$ac_clean_files
4602 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4603 # Try to create an executable without -o first, disregard a.out.
4604 # It will help us diagnose broken compilers, and finding out an intuition
4605 # of exeext.
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4607 $as_echo_n "checking whether the C compiler works... " >&6; }
4608 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4610 # The possible output files:
4611 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4613 ac_rmfiles=
4614 for ac_file in $ac_files
4616 case $ac_file in
4617 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4618 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4619 esac
4620 done
4621 rm -f $ac_rmfiles
4623 if { { ac_try="$ac_link_default"
4624 case "(($ac_try" in
4625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4626 *) ac_try_echo=$ac_try;;
4627 esac
4628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4629 $as_echo "$ac_try_echo"; } >&5
4630 (eval "$ac_link_default") 2>&5
4631 ac_status=$?
4632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4633 test $ac_status = 0; }; then :
4634 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4635 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4636 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4637 # so that the user can short-circuit this test for compilers unknown to
4638 # Autoconf.
4639 for ac_file in $ac_files ''
4641 test -f "$ac_file" || continue
4642 case $ac_file in
4643 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4645 [ab].out )
4646 # We found the default executable, but exeext='' is most
4647 # certainly right.
4648 break;;
4649 *.* )
4650 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4651 then :; else
4652 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4654 # We set ac_cv_exeext here because the later test for it is not
4655 # safe: cross compilers may not add the suffix if given an `-o'
4656 # argument, so we may need to know it at that point already.
4657 # Even if this section looks crufty: it has the advantage of
4658 # actually working.
4659 break;;
4661 break;;
4662 esac
4663 done
4664 test "$ac_cv_exeext" = no && ac_cv_exeext=
4666 else
4667 ac_file=''
4669 if test -z "$ac_file"; then :
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671 $as_echo "no" >&6; }
4672 $as_echo "$as_me: failed program was:" >&5
4673 sed 's/^/| /' conftest.$ac_ext >&5
4675 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4677 as_fn_error 77 "C compiler cannot create executables
4678 See \`config.log' for more details" "$LINENO" 5; }
4679 else
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4681 $as_echo "yes" >&6; }
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4684 $as_echo_n "checking for C compiler default output file name... " >&6; }
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4686 $as_echo "$ac_file" >&6; }
4687 ac_exeext=$ac_cv_exeext
4689 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4690 ac_clean_files=$ac_clean_files_save
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4692 $as_echo_n "checking for suffix of executables... " >&6; }
4693 if { { ac_try="$ac_link"
4694 case "(($ac_try" in
4695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4696 *) ac_try_echo=$ac_try;;
4697 esac
4698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4699 $as_echo "$ac_try_echo"; } >&5
4700 (eval "$ac_link") 2>&5
4701 ac_status=$?
4702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4703 test $ac_status = 0; }; then :
4704 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4705 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4706 # work properly (i.e., refer to `conftest.exe'), while it won't with
4707 # `rm'.
4708 for ac_file in conftest.exe conftest conftest.*; do
4709 test -f "$ac_file" || continue
4710 case $ac_file in
4711 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4712 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4713 break;;
4714 * ) break;;
4715 esac
4716 done
4717 else
4718 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4720 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4721 See \`config.log' for more details" "$LINENO" 5; }
4723 rm -f conftest conftest$ac_cv_exeext
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4725 $as_echo "$ac_cv_exeext" >&6; }
4727 rm -f conftest.$ac_ext
4728 EXEEXT=$ac_cv_exeext
4729 ac_exeext=$EXEEXT
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4732 #include <stdio.h>
4734 main ()
4736 FILE *f = fopen ("conftest.out", "w");
4737 return ferror (f) || fclose (f) != 0;
4740 return 0;
4742 _ACEOF
4743 ac_clean_files="$ac_clean_files conftest.out"
4744 # Check that the compiler produces executables we can run. If not, either
4745 # the compiler is broken, or we cross compile.
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4747 $as_echo_n "checking whether we are cross compiling... " >&6; }
4748 if test "$cross_compiling" != yes; then
4749 { { ac_try="$ac_link"
4750 case "(($ac_try" in
4751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4752 *) ac_try_echo=$ac_try;;
4753 esac
4754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4755 $as_echo "$ac_try_echo"; } >&5
4756 (eval "$ac_link") 2>&5
4757 ac_status=$?
4758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4759 test $ac_status = 0; }
4760 if { ac_try='./conftest$ac_cv_exeext'
4761 { { case "(($ac_try" in
4762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4763 *) ac_try_echo=$ac_try;;
4764 esac
4765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4766 $as_echo "$ac_try_echo"; } >&5
4767 (eval "$ac_try") 2>&5
4768 ac_status=$?
4769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4770 test $ac_status = 0; }; }; then
4771 cross_compiling=no
4772 else
4773 if test "$cross_compiling" = maybe; then
4774 cross_compiling=yes
4775 else
4776 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4777 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4778 as_fn_error $? "cannot run C compiled programs.
4779 If you meant to cross compile, use \`--host'.
4780 See \`config.log' for more details" "$LINENO" 5; }
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4785 $as_echo "$cross_compiling" >&6; }
4787 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4788 ac_clean_files=$ac_clean_files_save
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4790 $as_echo_n "checking for suffix of object files... " >&6; }
4791 if ${ac_cv_objext+:} false; then :
4792 $as_echo_n "(cached) " >&6
4793 else
4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4798 main ()
4802 return 0;
4804 _ACEOF
4805 rm -f conftest.o conftest.obj
4806 if { { ac_try="$ac_compile"
4807 case "(($ac_try" in
4808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4809 *) ac_try_echo=$ac_try;;
4810 esac
4811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4812 $as_echo "$ac_try_echo"; } >&5
4813 (eval "$ac_compile") 2>&5
4814 ac_status=$?
4815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4816 test $ac_status = 0; }; then :
4817 for ac_file in conftest.o conftest.obj conftest.*; do
4818 test -f "$ac_file" || continue;
4819 case $ac_file in
4820 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4821 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4822 break;;
4823 esac
4824 done
4825 else
4826 $as_echo "$as_me: failed program was:" >&5
4827 sed 's/^/| /' conftest.$ac_ext >&5
4829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4831 as_fn_error $? "cannot compute suffix of object files: cannot compile
4832 See \`config.log' for more details" "$LINENO" 5; }
4834 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4837 $as_echo "$ac_cv_objext" >&6; }
4838 OBJEXT=$ac_cv_objext
4839 ac_objext=$OBJEXT
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4841 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4842 if ${ac_cv_c_compiler_gnu+:} false; then :
4843 $as_echo_n "(cached) " >&6
4844 else
4845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4846 /* end confdefs.h. */
4849 main ()
4851 #ifndef __GNUC__
4852 choke me
4853 #endif
4856 return 0;
4858 _ACEOF
4859 if ac_fn_c_try_compile "$LINENO"; then :
4860 ac_compiler_gnu=yes
4861 else
4862 ac_compiler_gnu=no
4864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4865 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4869 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4870 if test $ac_compiler_gnu = yes; then
4871 GCC=yes
4872 else
4873 GCC=
4875 ac_test_CFLAGS=${CFLAGS+set}
4876 ac_save_CFLAGS=$CFLAGS
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4878 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4879 if ${ac_cv_prog_cc_g+:} false; then :
4880 $as_echo_n "(cached) " >&6
4881 else
4882 ac_save_c_werror_flag=$ac_c_werror_flag
4883 ac_c_werror_flag=yes
4884 ac_cv_prog_cc_g=no
4885 CFLAGS="-g"
4886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4887 /* end confdefs.h. */
4890 main ()
4894 return 0;
4896 _ACEOF
4897 if ac_fn_c_try_compile "$LINENO"; then :
4898 ac_cv_prog_cc_g=yes
4899 else
4900 CFLAGS=""
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 :
4914 else
4915 ac_c_werror_flag=$ac_save_c_werror_flag
4916 CFLAGS="-g"
4917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4918 /* end confdefs.h. */
4921 main ()
4925 return 0;
4927 _ACEOF
4928 if ac_fn_c_try_compile "$LINENO"; then :
4929 ac_cv_prog_cc_g=yes
4931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4936 ac_c_werror_flag=$ac_save_c_werror_flag
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4939 $as_echo "$ac_cv_prog_cc_g" >&6; }
4940 if test "$ac_test_CFLAGS" = set; then
4941 CFLAGS=$ac_save_CFLAGS
4942 elif test $ac_cv_prog_cc_g = yes; then
4943 if test "$GCC" = yes; then
4944 CFLAGS="-g -O2"
4945 else
4946 CFLAGS="-g"
4948 else
4949 if test "$GCC" = yes; then
4950 CFLAGS="-O2"
4951 else
4952 CFLAGS=
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4956 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4957 if ${ac_cv_prog_cc_c89+:} false; then :
4958 $as_echo_n "(cached) " >&6
4959 else
4960 ac_cv_prog_cc_c89=no
4961 ac_save_CC=$CC
4962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4963 /* end confdefs.h. */
4964 #include <stdarg.h>
4965 #include <stdio.h>
4966 struct stat;
4967 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4968 struct buf { int x; };
4969 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4970 static char *e (p, i)
4971 char **p;
4972 int i;
4974 return p[i];
4976 static char *f (char * (*g) (char **, int), char **p, ...)
4978 char *s;
4979 va_list v;
4980 va_start (v,p);
4981 s = g (p, va_arg (v,int));
4982 va_end (v);
4983 return s;
4986 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4987 function prototypes and stuff, but not '\xHH' hex character constants.
4988 These don't provoke an error unfortunately, instead are silently treated
4989 as 'x'. The following induces an error, until -std is added to get
4990 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4991 array size at least. It's necessary to write '\x00'==0 to get something
4992 that's true only with -std. */
4993 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4995 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4996 inside strings and character constants. */
4997 #define FOO(x) 'x'
4998 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5000 int test (int i, double x);
5001 struct s1 {int (*f) (int a);};
5002 struct s2 {int (*f) (double a);};
5003 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5004 int argc;
5005 char **argv;
5007 main ()
5009 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5011 return 0;
5013 _ACEOF
5014 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5015 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5017 CC="$ac_save_CC $ac_arg"
5018 if ac_fn_c_try_compile "$LINENO"; then :
5019 ac_cv_prog_cc_c89=$ac_arg
5021 rm -f core conftest.err conftest.$ac_objext
5022 test "x$ac_cv_prog_cc_c89" != "xno" && break
5023 done
5024 rm -f conftest.$ac_ext
5025 CC=$ac_save_CC
5028 # AC_CACHE_VAL
5029 case "x$ac_cv_prog_cc_c89" in
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5032 $as_echo "none needed" >&6; } ;;
5033 xno)
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5035 $as_echo "unsupported" >&6; } ;;
5037 CC="$CC $ac_cv_prog_cc_c89"
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5039 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5040 esac
5041 if test "x$ac_cv_prog_cc_c89" != xno; then :
5045 ac_ext=c
5046 ac_cpp='$CPP $CPPFLAGS'
5047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5051 ac_ext=cpp
5052 ac_cpp='$CXXCPP $CPPFLAGS'
5053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5056 if test -z "$CXX"; then
5057 if test -n "$CCC"; then
5058 CXX=$CCC
5059 else
5060 if test -n "$ac_tool_prefix"; then
5061 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5063 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5064 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5066 $as_echo_n "checking for $ac_word... " >&6; }
5067 if ${ac_cv_prog_CXX+:} false; then :
5068 $as_echo_n "(cached) " >&6
5069 else
5070 if test -n "$CXX"; then
5071 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5072 else
5073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5074 for as_dir in $PATH
5076 IFS=$as_save_IFS
5077 test -z "$as_dir" && as_dir=.
5078 for ac_exec_ext in '' $ac_executable_extensions; do
5079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5080 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5082 break 2
5084 done
5085 done
5086 IFS=$as_save_IFS
5090 CXX=$ac_cv_prog_CXX
5091 if test -n "$CXX"; then
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5093 $as_echo "$CXX" >&6; }
5094 else
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5096 $as_echo "no" >&6; }
5100 test -n "$CXX" && break
5101 done
5103 if test -z "$CXX"; then
5104 ac_ct_CXX=$CXX
5105 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5107 # Extract the first word of "$ac_prog", so it can be a program name with args.
5108 set dummy $ac_prog; ac_word=$2
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5110 $as_echo_n "checking for $ac_word... " >&6; }
5111 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5112 $as_echo_n "(cached) " >&6
5113 else
5114 if test -n "$ac_ct_CXX"; then
5115 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5116 else
5117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5118 for as_dir in $PATH
5120 IFS=$as_save_IFS
5121 test -z "$as_dir" && as_dir=.
5122 for ac_exec_ext in '' $ac_executable_extensions; do
5123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5124 ac_cv_prog_ac_ct_CXX="$ac_prog"
5125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5126 break 2
5128 done
5129 done
5130 IFS=$as_save_IFS
5134 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5135 if test -n "$ac_ct_CXX"; then
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5137 $as_echo "$ac_ct_CXX" >&6; }
5138 else
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5144 test -n "$ac_ct_CXX" && break
5145 done
5147 if test "x$ac_ct_CXX" = x; then
5148 CXX="g++"
5149 else
5150 case $cross_compiling:$ac_tool_warned in
5151 yes:)
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5154 ac_tool_warned=yes ;;
5155 esac
5156 CXX=$ac_ct_CXX
5162 # Provide some information about the compiler.
5163 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5164 set X $ac_compile
5165 ac_compiler=$2
5166 for ac_option in --version -v -V -qversion; do
5167 { { ac_try="$ac_compiler $ac_option >&5"
5168 case "(($ac_try" in
5169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5170 *) ac_try_echo=$ac_try;;
5171 esac
5172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5173 $as_echo "$ac_try_echo"; } >&5
5174 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5175 ac_status=$?
5176 if test -s conftest.err; then
5177 sed '10a\
5178 ... rest of stderr output deleted ...
5179 10q' conftest.err >conftest.er1
5180 cat conftest.er1 >&5
5182 rm -f conftest.er1 conftest.err
5183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5184 test $ac_status = 0; }
5185 done
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5188 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5189 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5190 $as_echo_n "(cached) " >&6
5191 else
5192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5193 /* end confdefs.h. */
5196 main ()
5198 #ifndef __GNUC__
5199 choke me
5200 #endif
5203 return 0;
5205 _ACEOF
5206 if ac_fn_cxx_try_compile "$LINENO"; then :
5207 ac_compiler_gnu=yes
5208 else
5209 ac_compiler_gnu=no
5211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5212 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5216 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5217 if test $ac_compiler_gnu = yes; then
5218 GXX=yes
5219 else
5220 GXX=
5222 ac_test_CXXFLAGS=${CXXFLAGS+set}
5223 ac_save_CXXFLAGS=$CXXFLAGS
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5225 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5226 if ${ac_cv_prog_cxx_g+:} false; then :
5227 $as_echo_n "(cached) " >&6
5228 else
5229 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5230 ac_cxx_werror_flag=yes
5231 ac_cv_prog_cxx_g=no
5232 CXXFLAGS="-g"
5233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5234 /* end confdefs.h. */
5237 main ()
5241 return 0;
5243 _ACEOF
5244 if ac_fn_cxx_try_compile "$LINENO"; then :
5245 ac_cv_prog_cxx_g=yes
5246 else
5247 CXXFLAGS=""
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 :
5261 else
5262 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5263 CXXFLAGS="-g"
5264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5265 /* end confdefs.h. */
5268 main ()
5272 return 0;
5274 _ACEOF
5275 if ac_fn_cxx_try_compile "$LINENO"; then :
5276 ac_cv_prog_cxx_g=yes
5278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5283 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5286 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5287 if test "$ac_test_CXXFLAGS" = set; then
5288 CXXFLAGS=$ac_save_CXXFLAGS
5289 elif test $ac_cv_prog_cxx_g = yes; then
5290 if test "$GXX" = yes; then
5291 CXXFLAGS="-g -O2"
5292 else
5293 CXXFLAGS="-g"
5295 else
5296 if test "$GXX" = yes; then
5297 CXXFLAGS="-O2"
5298 else
5299 CXXFLAGS=
5302 ac_ext=c
5303 ac_cpp='$CPP $CPPFLAGS'
5304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5308 if test -n "$ac_tool_prefix"; then
5309 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5310 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5312 $as_echo_n "checking for $ac_word... " >&6; }
5313 if ${ac_cv_prog_CPPBIN+:} false; then :
5314 $as_echo_n "(cached) " >&6
5315 else
5316 if test -n "$CPPBIN"; then
5317 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5318 else
5319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5320 for as_dir in $PATH
5322 IFS=$as_save_IFS
5323 test -z "$as_dir" && as_dir=.
5324 for ac_exec_ext in '' $ac_executable_extensions; do
5325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5326 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5328 break 2
5330 done
5331 done
5332 IFS=$as_save_IFS
5336 CPPBIN=$ac_cv_prog_CPPBIN
5337 if test -n "$CPPBIN"; then
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5339 $as_echo "$CPPBIN" >&6; }
5340 else
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5342 $as_echo "no" >&6; }
5347 if test -z "$ac_cv_prog_CPPBIN"; then
5348 ac_ct_CPPBIN=$CPPBIN
5349 # Extract the first word of "cpp", so it can be a program name with args.
5350 set dummy cpp; ac_word=$2
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5352 $as_echo_n "checking for $ac_word... " >&6; }
5353 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5354 $as_echo_n "(cached) " >&6
5355 else
5356 if test -n "$ac_ct_CPPBIN"; then
5357 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5358 else
5359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5360 for as_dir in $PATH
5362 IFS=$as_save_IFS
5363 test -z "$as_dir" && as_dir=.
5364 for ac_exec_ext in '' $ac_executable_extensions; do
5365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5366 ac_cv_prog_ac_ct_CPPBIN="cpp"
5367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5368 break 2
5370 done
5371 done
5372 IFS=$as_save_IFS
5376 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5377 if test -n "$ac_ct_CPPBIN"; then
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5379 $as_echo "$ac_ct_CPPBIN" >&6; }
5380 else
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5382 $as_echo "no" >&6; }
5385 if test "x$ac_ct_CPPBIN" = x; then
5386 CPPBIN="cpp"
5387 else
5388 case $cross_compiling:$ac_tool_warned in
5389 yes:)
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5392 ac_tool_warned=yes ;;
5393 esac
5394 CPPBIN=$ac_ct_CPPBIN
5396 else
5397 CPPBIN="$ac_cv_prog_CPPBIN"
5401 cat >>confdefs.h <<_ACEOF
5402 #define EXEEXT "$ac_exeext"
5403 _ACEOF
5405 if test -n "$ac_tool_prefix"; then
5406 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5407 set dummy ${ac_tool_prefix}ld; ac_word=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409 $as_echo_n "checking for $ac_word... " >&6; }
5410 if ${ac_cv_prog_LD+:} false; then :
5411 $as_echo_n "(cached) " >&6
5412 else
5413 if test -n "$LD"; then
5414 ac_cv_prog_LD="$LD" # Let the user override the test.
5415 else
5416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5417 for as_dir in $PATH
5419 IFS=$as_save_IFS
5420 test -z "$as_dir" && as_dir=.
5421 for ac_exec_ext in '' $ac_executable_extensions; do
5422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5423 ac_cv_prog_LD="${ac_tool_prefix}ld"
5424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5425 break 2
5427 done
5428 done
5429 IFS=$as_save_IFS
5433 LD=$ac_cv_prog_LD
5434 if test -n "$LD"; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5436 $as_echo "$LD" >&6; }
5437 else
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5444 if test -z "$ac_cv_prog_LD"; then
5445 ac_ct_LD=$LD
5446 # Extract the first word of "ld", so it can be a program name with args.
5447 set dummy ld; ac_word=$2
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5449 $as_echo_n "checking for $ac_word... " >&6; }
5450 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5451 $as_echo_n "(cached) " >&6
5452 else
5453 if test -n "$ac_ct_LD"; then
5454 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5455 else
5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5457 for as_dir in $PATH
5459 IFS=$as_save_IFS
5460 test -z "$as_dir" && as_dir=.
5461 for ac_exec_ext in '' $ac_executable_extensions; do
5462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5463 ac_cv_prog_ac_ct_LD="ld"
5464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5465 break 2
5467 done
5468 done
5469 IFS=$as_save_IFS
5473 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5474 if test -n "$ac_ct_LD"; then
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5476 $as_echo "$ac_ct_LD" >&6; }
5477 else
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5479 $as_echo "no" >&6; }
5482 if test "x$ac_ct_LD" = x; then
5483 LD=""
5484 else
5485 case $cross_compiling:$ac_tool_warned in
5486 yes:)
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5489 ac_tool_warned=yes ;;
5490 esac
5491 LD=$ac_ct_LD
5493 else
5494 LD="$ac_cv_prog_LD"
5498 case $host in
5499 *-darwin*)
5500 with_fontconfig=${with_fontconfig:-no}
5502 *-mingw32*|*-cygwin*)
5503 enable_win16=${enable_win16:-no}
5504 CFLAGS="$CFLAGS -D_WIN32"
5506 esac
5508 case $host in
5509 x86_64*|amd64*)
5510 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5511 then
5512 CC="$CC -m32"
5513 CXX="$CXX -m32"
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5515 $as_echo_n "checking whether $CC works... " >&6; }
5517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5518 /* end confdefs.h. */
5521 main ()
5525 return 0;
5527 _ACEOF
5528 if ac_fn_c_try_link "$LINENO"; then :
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5530 $as_echo "yes" >&6; }
5531 else
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533 $as_echo "no" >&6; }
5534 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5536 rm -f core conftest.err conftest.$ac_objext \
5537 conftest$ac_exeext conftest.$ac_ext
5538 host_cpu="i386"
5539 notice_platform="32-bit "
5540 TARGETFLAGS="-m32"
5542 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5543 export PKG_CONFIG_PATH
5544 enable_win16=${enable_win16:-yes}
5545 else
5546 if test "x${GCC}" = "xyes"
5547 then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5549 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5551 /* end confdefs.h. */
5552 #include <stdarg.h>
5554 main ()
5556 void func(__builtin_ms_va_list *args);
5558 return 0;
5560 _ACEOF
5561 if ac_fn_c_try_compile "$LINENO"; then :
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5563 $as_echo "yes" >&6; }
5564 else
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5566 $as_echo "no" >&6; }
5567 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5571 CC="$CC -m64"
5572 CXX="$CXX -m64"
5573 host_cpu="x86_64"
5574 notice_platform="64-bit "
5575 TARGETFLAGS="-m64"
5579 arm*)
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5581 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5583 /* end confdefs.h. */
5584 int ac_test(int i) { return i; }
5586 main ()
5588 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5590 return 0;
5592 _ACEOF
5593 if ac_fn_c_try_link "$LINENO"; then :
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5595 $as_echo "yes" >&6; }
5596 else
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598 $as_echo "no" >&6; }
5599 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5601 rm -f core conftest.err conftest.$ac_objext \
5602 conftest$ac_exeext conftest.$ac_ext
5603 case $with_float_abi in
5604 soft|softfp|hard)
5605 float_abi=$with_float_abi ;;
5607 case $host_os in
5608 *eabihf)
5609 float_abi=hard ;;
5611 float_abi=softfp
5612 saved_CFLAGS=$CFLAGS
5613 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5615 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5617 /* end confdefs.h. */
5620 main ()
5622 asm("vmrs r2,fpscr");
5624 return 0;
5626 _ACEOF
5627 if ac_fn_c_try_link "$LINENO"; then :
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5629 $as_echo "yes" >&6; }
5630 else
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5632 $as_echo "no" >&6; }
5633 float_abi=soft
5634 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5636 rm -f core conftest.err conftest.$ac_objext \
5637 conftest$ac_exeext conftest.$ac_ext
5638 CFLAGS=$saved_CFLAGS
5639 esac
5641 esac
5642 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5643 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5646 aarch64*)
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5648 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5650 /* end confdefs.h. */
5651 #include <stdarg.h>
5653 main ()
5655 void func(__builtin_ms_va_list *args);
5657 return 0;
5659 _ACEOF
5660 if ac_fn_c_try_compile "$LINENO"; then :
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5662 $as_echo "yes" >&6; }
5663 else
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 $as_echo "no" >&6; }
5666 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5670 i[3456789]86*)
5671 enable_win16=${enable_win16:-yes}
5673 esac
5675 enable_win16=${enable_win16:-no}
5676 enable_win64=${enable_win64:-no}
5678 enable_winetest=${enable_winetest:-$enable_tests}
5680 if test "x$enable_win64" = "xyes"
5681 then
5682 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5683 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5684 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5688 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5689 if ${wine_cv_toolsdir+:} false; then :
5690 $as_echo_n "(cached) " >&6
5691 else
5692 wine_cv_toolsdir="$with_wine_tools"
5693 if test -z "$with_wine_tools"; then
5694 if test "$cross_compiling" = "yes"; then
5695 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5696 elif test -n "$with_wine64"; then
5697 wine_cv_toolsdir="$with_wine64"
5700 if test -z "$wine_cv_toolsdir"; then
5701 wine_makedep=tools/makedep
5702 wine_cv_toolsdir="\$(top_builddir)"
5703 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5704 wine_makedep=$wine_cv_toolsdir/tools/makedep
5705 case "$wine_cv_toolsdir" in
5706 /*) ;;
5707 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5708 esac
5709 enable_tools=${enable_tools:-no}
5710 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5711 else
5712 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5716 $as_echo "$wine_cv_toolsdir" >&6; }
5717 TOOLSDIR=$wine_cv_toolsdir
5719 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5720 then
5721 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5725 for ac_prog in flex
5727 # Extract the first word of "$ac_prog", so it can be a program name with args.
5728 set dummy $ac_prog; ac_word=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if ${ac_cv_prog_FLEX+:} false; then :
5732 $as_echo_n "(cached) " >&6
5733 else
5734 if test -n "$FLEX"; then
5735 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5736 else
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5738 for as_dir in $PATH
5740 IFS=$as_save_IFS
5741 test -z "$as_dir" && as_dir=.
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_prog_FLEX="$ac_prog"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 break 2
5748 done
5749 done
5750 IFS=$as_save_IFS
5754 FLEX=$ac_cv_prog_FLEX
5755 if test -n "$FLEX"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5757 $as_echo "$FLEX" >&6; }
5758 else
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5764 test -n "$FLEX" && break
5765 done
5766 test -n "$FLEX" || FLEX="none"
5768 if test "$FLEX" = "none"
5769 then
5770 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5773 $as_echo_n "checking whether flex is recent enough... " >&6; }
5774 cat >conftest.l <<EOF
5775 %top{
5776 #include "prediluvian.h"
5780 if $FLEX -t conftest.l >/dev/null 2>&5
5781 then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5783 $as_echo "yes" >&6; }
5784 else
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786 $as_echo "no" >&6; }
5787 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5790 for ac_prog in bison
5792 # Extract the first word of "$ac_prog", so it can be a program name with args.
5793 set dummy $ac_prog; ac_word=$2
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5795 $as_echo_n "checking for $ac_word... " >&6; }
5796 if ${ac_cv_prog_BISON+:} false; then :
5797 $as_echo_n "(cached) " >&6
5798 else
5799 if test -n "$BISON"; then
5800 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5801 else
5802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5803 for as_dir in $PATH
5805 IFS=$as_save_IFS
5806 test -z "$as_dir" && as_dir=.
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5809 ac_cv_prog_BISON="$ac_prog"
5810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5811 break 2
5813 done
5814 done
5815 IFS=$as_save_IFS
5819 BISON=$ac_cv_prog_BISON
5820 if test -n "$BISON"; then
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5822 $as_echo "$BISON" >&6; }
5823 else
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5825 $as_echo "no" >&6; }
5829 test -n "$BISON" && break
5830 done
5831 test -n "$BISON" || BISON="none"
5833 if test "$BISON" = "none"
5834 then
5835 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5838 if test -n "$ac_tool_prefix"; then
5839 for ac_prog in ar gar
5841 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5842 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5844 $as_echo_n "checking for $ac_word... " >&6; }
5845 if ${ac_cv_prog_AR+:} false; then :
5846 $as_echo_n "(cached) " >&6
5847 else
5848 if test -n "$AR"; then
5849 ac_cv_prog_AR="$AR" # Let the user override the test.
5850 else
5851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5852 for as_dir in $PATH
5854 IFS=$as_save_IFS
5855 test -z "$as_dir" && as_dir=.
5856 for ac_exec_ext in '' $ac_executable_extensions; do
5857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5858 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 break 2
5862 done
5863 done
5864 IFS=$as_save_IFS
5868 AR=$ac_cv_prog_AR
5869 if test -n "$AR"; then
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5871 $as_echo "$AR" >&6; }
5872 else
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5874 $as_echo "no" >&6; }
5878 test -n "$AR" && break
5879 done
5881 if test -z "$AR"; then
5882 ac_ct_AR=$AR
5883 for ac_prog in ar gar
5885 # Extract the first word of "$ac_prog", so it can be a program name with args.
5886 set dummy $ac_prog; ac_word=$2
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5888 $as_echo_n "checking for $ac_word... " >&6; }
5889 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5890 $as_echo_n "(cached) " >&6
5891 else
5892 if test -n "$ac_ct_AR"; then
5893 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5894 else
5895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5896 for as_dir in $PATH
5898 IFS=$as_save_IFS
5899 test -z "$as_dir" && as_dir=.
5900 for ac_exec_ext in '' $ac_executable_extensions; do
5901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5902 ac_cv_prog_ac_ct_AR="$ac_prog"
5903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5904 break 2
5906 done
5907 done
5908 IFS=$as_save_IFS
5912 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5913 if test -n "$ac_ct_AR"; then
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5915 $as_echo "$ac_ct_AR" >&6; }
5916 else
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5918 $as_echo "no" >&6; }
5922 test -n "$ac_ct_AR" && break
5923 done
5925 if test "x$ac_ct_AR" = x; then
5926 AR="ar"
5927 else
5928 case $cross_compiling:$ac_tool_warned in
5929 yes:)
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5932 ac_tool_warned=yes ;;
5933 esac
5934 AR=$ac_ct_AR
5938 if test -n "$ac_tool_prefix"; then
5939 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5940 set dummy ${ac_tool_prefix}strip; ac_word=$2
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5942 $as_echo_n "checking for $ac_word... " >&6; }
5943 if ${ac_cv_prog_STRIP+:} false; then :
5944 $as_echo_n "(cached) " >&6
5945 else
5946 if test -n "$STRIP"; then
5947 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5948 else
5949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5950 for as_dir in $PATH
5952 IFS=$as_save_IFS
5953 test -z "$as_dir" && as_dir=.
5954 for ac_exec_ext in '' $ac_executable_extensions; do
5955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5956 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5958 break 2
5960 done
5961 done
5962 IFS=$as_save_IFS
5966 STRIP=$ac_cv_prog_STRIP
5967 if test -n "$STRIP"; then
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5969 $as_echo "$STRIP" >&6; }
5970 else
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5972 $as_echo "no" >&6; }
5977 if test -z "$ac_cv_prog_STRIP"; then
5978 ac_ct_STRIP=$STRIP
5979 # Extract the first word of "strip", so it can be a program name with args.
5980 set dummy strip; ac_word=$2
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5982 $as_echo_n "checking for $ac_word... " >&6; }
5983 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5984 $as_echo_n "(cached) " >&6
5985 else
5986 if test -n "$ac_ct_STRIP"; then
5987 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5988 else
5989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5990 for as_dir in $PATH
5992 IFS=$as_save_IFS
5993 test -z "$as_dir" && as_dir=.
5994 for ac_exec_ext in '' $ac_executable_extensions; do
5995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5996 ac_cv_prog_ac_ct_STRIP="strip"
5997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5998 break 2
6000 done
6001 done
6002 IFS=$as_save_IFS
6006 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6007 if test -n "$ac_ct_STRIP"; then
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6009 $as_echo "$ac_ct_STRIP" >&6; }
6010 else
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6012 $as_echo "no" >&6; }
6015 if test "x$ac_ct_STRIP" = x; then
6016 STRIP="strip"
6017 else
6018 case $cross_compiling:$ac_tool_warned in
6019 yes:)
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6022 ac_tool_warned=yes ;;
6023 esac
6024 STRIP=$ac_ct_STRIP
6026 else
6027 STRIP="$ac_cv_prog_STRIP"
6030 if test -n "$ac_tool_prefix"; then
6031 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6032 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6034 $as_echo_n "checking for $ac_word... " >&6; }
6035 if ${ac_cv_prog_RANLIB+:} false; then :
6036 $as_echo_n "(cached) " >&6
6037 else
6038 if test -n "$RANLIB"; then
6039 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6040 else
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6042 for as_dir in $PATH
6044 IFS=$as_save_IFS
6045 test -z "$as_dir" && as_dir=.
6046 for ac_exec_ext in '' $ac_executable_extensions; do
6047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6048 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6050 break 2
6052 done
6053 done
6054 IFS=$as_save_IFS
6058 RANLIB=$ac_cv_prog_RANLIB
6059 if test -n "$RANLIB"; then
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6061 $as_echo "$RANLIB" >&6; }
6062 else
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6064 $as_echo "no" >&6; }
6069 if test -z "$ac_cv_prog_RANLIB"; then
6070 ac_ct_RANLIB=$RANLIB
6071 # Extract the first word of "ranlib", so it can be a program name with args.
6072 set dummy ranlib; ac_word=$2
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6074 $as_echo_n "checking for $ac_word... " >&6; }
6075 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6076 $as_echo_n "(cached) " >&6
6077 else
6078 if test -n "$ac_ct_RANLIB"; then
6079 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6080 else
6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 for as_dir in $PATH
6084 IFS=$as_save_IFS
6085 test -z "$as_dir" && as_dir=.
6086 for ac_exec_ext in '' $ac_executable_extensions; do
6087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6088 ac_cv_prog_ac_ct_RANLIB="ranlib"
6089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6090 break 2
6092 done
6093 done
6094 IFS=$as_save_IFS
6098 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6099 if test -n "$ac_ct_RANLIB"; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6101 $as_echo "$ac_ct_RANLIB" >&6; }
6102 else
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 $as_echo "no" >&6; }
6107 if test "x$ac_ct_RANLIB" = x; then
6108 RANLIB=":"
6109 else
6110 case $cross_compiling:$ac_tool_warned in
6111 yes:)
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6114 ac_tool_warned=yes ;;
6115 esac
6116 RANLIB=$ac_ct_RANLIB
6118 else
6119 RANLIB="$ac_cv_prog_RANLIB"
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6123 $as_echo_n "checking whether ln -s works... " >&6; }
6124 LN_S=$as_ln_s
6125 if test "$LN_S" = "ln -s"; then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6127 $as_echo "yes" >&6; }
6128 else
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6130 $as_echo "no, using $LN_S" >&6; }
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6134 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6135 if ${ac_cv_path_GREP+:} false; then :
6136 $as_echo_n "(cached) " >&6
6137 else
6138 if test -z "$GREP"; then
6139 ac_path_GREP_found=false
6140 # Loop through the user's path and test for each of PROGNAME-LIST
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6142 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6144 IFS=$as_save_IFS
6145 test -z "$as_dir" && as_dir=.
6146 for ac_prog in grep ggrep; do
6147 for ac_exec_ext in '' $ac_executable_extensions; do
6148 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6149 as_fn_executable_p "$ac_path_GREP" || continue
6150 # Check for GNU ac_path_GREP and select it if it is found.
6151 # Check for GNU $ac_path_GREP
6152 case `"$ac_path_GREP" --version 2>&1` in
6153 *GNU*)
6154 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6156 ac_count=0
6157 $as_echo_n 0123456789 >"conftest.in"
6158 while :
6160 cat "conftest.in" "conftest.in" >"conftest.tmp"
6161 mv "conftest.tmp" "conftest.in"
6162 cp "conftest.in" "conftest.nl"
6163 $as_echo 'GREP' >> "conftest.nl"
6164 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6165 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6166 as_fn_arith $ac_count + 1 && ac_count=$as_val
6167 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6168 # Best one so far, save it but keep looking for a better one
6169 ac_cv_path_GREP="$ac_path_GREP"
6170 ac_path_GREP_max=$ac_count
6172 # 10*(2^10) chars as input seems more than enough
6173 test $ac_count -gt 10 && break
6174 done
6175 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6176 esac
6178 $ac_path_GREP_found && break 3
6179 done
6180 done
6181 done
6182 IFS=$as_save_IFS
6183 if test -z "$ac_cv_path_GREP"; then
6184 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6186 else
6187 ac_cv_path_GREP=$GREP
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6192 $as_echo "$ac_cv_path_GREP" >&6; }
6193 GREP="$ac_cv_path_GREP"
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6197 $as_echo_n "checking for egrep... " >&6; }
6198 if ${ac_cv_path_EGREP+:} false; then :
6199 $as_echo_n "(cached) " >&6
6200 else
6201 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6202 then ac_cv_path_EGREP="$GREP -E"
6203 else
6204 if test -z "$EGREP"; then
6205 ac_path_EGREP_found=false
6206 # Loop through the user's path and test for each of PROGNAME-LIST
6207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6208 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6210 IFS=$as_save_IFS
6211 test -z "$as_dir" && as_dir=.
6212 for ac_prog in egrep; do
6213 for ac_exec_ext in '' $ac_executable_extensions; do
6214 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6215 as_fn_executable_p "$ac_path_EGREP" || continue
6216 # Check for GNU ac_path_EGREP and select it if it is found.
6217 # Check for GNU $ac_path_EGREP
6218 case `"$ac_path_EGREP" --version 2>&1` in
6219 *GNU*)
6220 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6222 ac_count=0
6223 $as_echo_n 0123456789 >"conftest.in"
6224 while :
6226 cat "conftest.in" "conftest.in" >"conftest.tmp"
6227 mv "conftest.tmp" "conftest.in"
6228 cp "conftest.in" "conftest.nl"
6229 $as_echo 'EGREP' >> "conftest.nl"
6230 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6231 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6232 as_fn_arith $ac_count + 1 && ac_count=$as_val
6233 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6234 # Best one so far, save it but keep looking for a better one
6235 ac_cv_path_EGREP="$ac_path_EGREP"
6236 ac_path_EGREP_max=$ac_count
6238 # 10*(2^10) chars as input seems more than enough
6239 test $ac_count -gt 10 && break
6240 done
6241 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6242 esac
6244 $ac_path_EGREP_found && break 3
6245 done
6246 done
6247 done
6248 IFS=$as_save_IFS
6249 if test -z "$ac_cv_path_EGREP"; then
6250 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6252 else
6253 ac_cv_path_EGREP=$EGREP
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6259 $as_echo "$ac_cv_path_EGREP" >&6; }
6260 EGREP="$ac_cv_path_EGREP"
6263 # Extract the first word of "ldconfig", so it can be a program name with args.
6264 set dummy ldconfig; ac_word=$2
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6266 $as_echo_n "checking for $ac_word... " >&6; }
6267 if ${ac_cv_path_LDCONFIG+:} false; then :
6268 $as_echo_n "(cached) " >&6
6269 else
6270 case $LDCONFIG in
6271 [\\/]* | ?:[\\/]*)
6272 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6276 for as_dir in /sbin /usr/sbin $PATH
6278 IFS=$as_save_IFS
6279 test -z "$as_dir" && as_dir=.
6280 for ac_exec_ext in '' $ac_executable_extensions; do
6281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6282 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6284 break 2
6286 done
6287 done
6288 IFS=$as_save_IFS
6290 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6292 esac
6294 LDCONFIG=$ac_cv_path_LDCONFIG
6295 if test -n "$LDCONFIG"; then
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6297 $as_echo "$LDCONFIG" >&6; }
6298 else
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6300 $as_echo "no" >&6; }
6304 for ac_prog in msgfmt
6306 # Extract the first word of "$ac_prog", so it can be a program name with args.
6307 set dummy $ac_prog; ac_word=$2
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6309 $as_echo_n "checking for $ac_word... " >&6; }
6310 if ${ac_cv_prog_MSGFMT+:} false; then :
6311 $as_echo_n "(cached) " >&6
6312 else
6313 if test -n "$MSGFMT"; then
6314 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6315 else
6316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6317 for as_dir in $PATH
6319 IFS=$as_save_IFS
6320 test -z "$as_dir" && as_dir=.
6321 for ac_exec_ext in '' $ac_executable_extensions; do
6322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6323 ac_cv_prog_MSGFMT="$ac_prog"
6324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6325 break 2
6327 done
6328 done
6329 IFS=$as_save_IFS
6333 MSGFMT=$ac_cv_prog_MSGFMT
6334 if test -n "$MSGFMT"; then
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6336 $as_echo "$MSGFMT" >&6; }
6337 else
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6339 $as_echo "no" >&6; }
6343 test -n "$MSGFMT" && break
6344 done
6345 test -n "$MSGFMT" || MSGFMT="false"
6347 if ${ac_tool_prefix+:} false; then :
6348 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6349 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6351 $as_echo_n "checking for $ac_word... " >&6; }
6352 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6353 $as_echo_n "(cached) " >&6
6354 else
6355 if test -n "$PKG_CONFIG"; then
6356 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6357 else
6358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6359 for as_dir in $PATH
6361 IFS=$as_save_IFS
6362 test -z "$as_dir" && as_dir=.
6363 for ac_exec_ext in '' $ac_executable_extensions; do
6364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6365 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6367 break 2
6369 done
6370 done
6371 IFS=$as_save_IFS
6375 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6376 if test -n "$PKG_CONFIG"; then
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6378 $as_echo "$PKG_CONFIG" >&6; }
6379 else
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6381 $as_echo "no" >&6; }
6386 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6387 if test "x$cross_compiling" = xyes; then :
6389 else
6390 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6391 # Extract the first word of "pkg-config", so it can be a program name with args.
6392 set dummy pkg-config; ac_word=$2
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6394 $as_echo_n "checking for $ac_word... " >&6; }
6395 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6396 $as_echo_n "(cached) " >&6
6397 else
6398 if test -n "$PKG_CONFIG"; then
6399 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6400 else
6401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6402 for as_dir in $PATH
6404 IFS=$as_save_IFS
6405 test -z "$as_dir" && as_dir=.
6406 for ac_exec_ext in '' $ac_executable_extensions; do
6407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6408 ac_cv_prog_PKG_CONFIG="pkg-config"
6409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6410 break 2
6412 done
6413 done
6414 IFS=$as_save_IFS
6418 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6419 if test -n "$PKG_CONFIG"; then
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6421 $as_echo "$PKG_CONFIG" >&6; }
6422 else
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6424 $as_echo "no" >&6; }
6429 else
6430 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6433 if test "x$enable_maintainer_mode" != "xyes"
6434 then
6435 FONTFORGE=""
6436 RSVG=""
6437 CONVERT=""
6438 ICOTOOL=""
6439 else
6440 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6441 for ac_prog in fontforge
6443 # Extract the first word of "$ac_prog", so it can be a program name with args.
6444 set dummy $ac_prog; ac_word=$2
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6446 $as_echo_n "checking for $ac_word... " >&6; }
6447 if ${ac_cv_prog_FONTFORGE+:} false; then :
6448 $as_echo_n "(cached) " >&6
6449 else
6450 if test -n "$FONTFORGE"; then
6451 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6452 else
6453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454 for as_dir in $PATH
6456 IFS=$as_save_IFS
6457 test -z "$as_dir" && as_dir=.
6458 for ac_exec_ext in '' $ac_executable_extensions; do
6459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6460 ac_cv_prog_FONTFORGE="$ac_prog"
6461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6462 break 2
6464 done
6465 done
6466 IFS=$as_save_IFS
6470 FONTFORGE=$ac_cv_prog_FONTFORGE
6471 if test -n "$FONTFORGE"; then
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6473 $as_echo "$FONTFORGE" >&6; }
6474 else
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6476 $as_echo "no" >&6; }
6480 test -n "$FONTFORGE" && break
6481 done
6482 test -n "$FONTFORGE" || FONTFORGE="false"
6484 for ac_prog in rsvg-convert rsvg
6486 # Extract the first word of "$ac_prog", so it can be a program name with args.
6487 set dummy $ac_prog; ac_word=$2
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6489 $as_echo_n "checking for $ac_word... " >&6; }
6490 if ${ac_cv_prog_RSVG+:} false; then :
6491 $as_echo_n "(cached) " >&6
6492 else
6493 if test -n "$RSVG"; then
6494 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6495 else
6496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6497 for as_dir in $PATH
6499 IFS=$as_save_IFS
6500 test -z "$as_dir" && as_dir=.
6501 for ac_exec_ext in '' $ac_executable_extensions; do
6502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6503 ac_cv_prog_RSVG="$ac_prog"
6504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6505 break 2
6507 done
6508 done
6509 IFS=$as_save_IFS
6513 RSVG=$ac_cv_prog_RSVG
6514 if test -n "$RSVG"; then
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6516 $as_echo "$RSVG" >&6; }
6517 else
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6519 $as_echo "no" >&6; }
6523 test -n "$RSVG" && break
6524 done
6525 test -n "$RSVG" || RSVG="false"
6527 for ac_prog in convert
6529 # Extract the first word of "$ac_prog", so it can be a program name with args.
6530 set dummy $ac_prog; ac_word=$2
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6532 $as_echo_n "checking for $ac_word... " >&6; }
6533 if ${ac_cv_prog_CONVERT+:} false; then :
6534 $as_echo_n "(cached) " >&6
6535 else
6536 if test -n "$CONVERT"; then
6537 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6538 else
6539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6540 for as_dir in $PATH
6542 IFS=$as_save_IFS
6543 test -z "$as_dir" && as_dir=.
6544 for ac_exec_ext in '' $ac_executable_extensions; do
6545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6546 ac_cv_prog_CONVERT="$ac_prog"
6547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6548 break 2
6550 done
6551 done
6552 IFS=$as_save_IFS
6556 CONVERT=$ac_cv_prog_CONVERT
6557 if test -n "$CONVERT"; then
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6559 $as_echo "$CONVERT" >&6; }
6560 else
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6562 $as_echo "no" >&6; }
6566 test -n "$CONVERT" && break
6567 done
6568 test -n "$CONVERT" || CONVERT="false"
6570 for ac_prog in icotool
6572 # Extract the first word of "$ac_prog", so it can be a program name with args.
6573 set dummy $ac_prog; ac_word=$2
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6575 $as_echo_n "checking for $ac_word... " >&6; }
6576 if ${ac_cv_prog_ICOTOOL+:} false; then :
6577 $as_echo_n "(cached) " >&6
6578 else
6579 if test -n "$ICOTOOL"; then
6580 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6581 else
6582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6583 for as_dir in $PATH
6585 IFS=$as_save_IFS
6586 test -z "$as_dir" && as_dir=.
6587 for ac_exec_ext in '' $ac_executable_extensions; do
6588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6589 ac_cv_prog_ICOTOOL="$ac_prog"
6590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6591 break 2
6593 done
6594 done
6595 IFS=$as_save_IFS
6599 ICOTOOL=$ac_cv_prog_ICOTOOL
6600 if test -n "$ICOTOOL"; then
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6602 $as_echo "$ICOTOOL" >&6; }
6603 else
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6605 $as_echo "no" >&6; }
6609 test -n "$ICOTOOL" && break
6610 done
6611 test -n "$ICOTOOL" || ICOTOOL="false"
6613 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6614 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6616 if test "$CONVERT" = false
6617 then
6618 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6619 else
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6621 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6622 convert_version=`convert --version | head -n1`
6623 if test "x$convert_version" != "x"
6624 then
6625 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6626 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6627 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6628 then
6629 CONVERT=false
6632 if test "$CONVERT" = false
6633 then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6635 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6636 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6637 else
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6639 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6643 if test "$ICOTOOL" = false
6644 then
6645 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6646 else
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6648 $as_echo_n "checking for recent enough icotool... " >&6; }
6649 icotool_version=`icotool --version | head -n1`
6650 if test "x$icotool_version" != "x"
6651 then
6652 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6653 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6654 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6655 then
6656 ICOTOOL=false
6657 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6660 if test "$ICOTOOL" = false
6661 then
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6663 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6664 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6665 else
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6667 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6671 with_gettext=yes
6672 with_gettextpo=yes
6673 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6676 test "x$with_gettext" != xno || MSGFMT=false
6677 if test "$MSGFMT" != "false"
6678 then
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6680 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6681 cat >conftest.po <<EOF
6682 # comment
6683 msgctxt "ctxt"
6684 msgid "id"
6685 msgstr "str"
6687 if $MSGFMT -o /dev/null conftest.po 2>&5
6688 then
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6690 $as_echo "yes" >&6; }
6691 else
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6693 $as_echo "no" >&6; }
6694 MSGFMT=false
6697 if test "$MSGFMT" = false; then :
6698 case "x$with_gettext" in
6699 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6700 xno) ;;
6701 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6702 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6703 esac
6704 enable_po=${enable_po:-no}
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6709 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6710 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6711 $as_echo_n "(cached) " >&6
6712 else
6713 ac_check_lib_save_LIBS=$LIBS
6714 LIBS="-li386 $LIBS"
6715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6716 /* end confdefs.h. */
6718 /* Override any GCC internal prototype to avoid an error.
6719 Use char because int might match the return type of a GCC
6720 builtin and then its argument prototype would still apply. */
6721 #ifdef __cplusplus
6722 extern "C"
6723 #endif
6724 char i386_set_ldt ();
6726 main ()
6728 return i386_set_ldt ();
6730 return 0;
6732 _ACEOF
6733 if ac_fn_c_try_link "$LINENO"; then :
6734 ac_cv_lib_i386_i386_set_ldt=yes
6735 else
6736 ac_cv_lib_i386_i386_set_ldt=no
6738 rm -f core conftest.err conftest.$ac_objext \
6739 conftest$ac_exeext conftest.$ac_ext
6740 LIBS=$ac_check_lib_save_LIBS
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6743 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6744 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6745 cat >>confdefs.h <<_ACEOF
6746 #define HAVE_LIBI386 1
6747 _ACEOF
6749 LIBS="-li386 $LIBS"
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6754 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6755 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6756 $as_echo_n "(cached) " >&6
6757 else
6758 ac_check_lib_save_LIBS=$LIBS
6759 LIBS="-lossaudio $LIBS"
6760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6761 /* end confdefs.h. */
6763 /* Override any GCC internal prototype to avoid an error.
6764 Use char because int might match the return type of a GCC
6765 builtin and then its argument prototype would still apply. */
6766 #ifdef __cplusplus
6767 extern "C"
6768 #endif
6769 char _oss_ioctl ();
6771 main ()
6773 return _oss_ioctl ();
6775 return 0;
6777 _ACEOF
6778 if ac_fn_c_try_link "$LINENO"; then :
6779 ac_cv_lib_ossaudio__oss_ioctl=yes
6780 else
6781 ac_cv_lib_ossaudio__oss_ioctl=no
6783 rm -f core conftest.err conftest.$ac_objext \
6784 conftest$ac_exeext conftest.$ac_ext
6785 LIBS=$ac_check_lib_save_LIBS
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6788 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6789 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6790 cat >>confdefs.h <<_ACEOF
6791 #define HAVE_LIBOSSAUDIO 1
6792 _ACEOF
6794 LIBS="-lossaudio $LIBS"
6799 OPENGL_LIBS=""
6803 # Check whether --enable-largefile was given.
6804 if test "${enable_largefile+set}" = set; then :
6805 enableval=$enable_largefile;
6808 if test "$enable_largefile" != no; then
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6811 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6812 if ${ac_cv_sys_largefile_CC+:} false; then :
6813 $as_echo_n "(cached) " >&6
6814 else
6815 ac_cv_sys_largefile_CC=no
6816 if test "$GCC" != yes; then
6817 ac_save_CC=$CC
6818 while :; do
6819 # IRIX 6.2 and later do not support large files by default,
6820 # so use the C compiler's -n32 option if that helps.
6821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6822 /* end confdefs.h. */
6823 #include <sys/types.h>
6824 /* Check that off_t can represent 2**63 - 1 correctly.
6825 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6826 since some C++ compilers masquerading as C compilers
6827 incorrectly reject 9223372036854775807. */
6828 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6829 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6830 && LARGE_OFF_T % 2147483647 == 1)
6831 ? 1 : -1];
6833 main ()
6837 return 0;
6839 _ACEOF
6840 if ac_fn_c_try_compile "$LINENO"; then :
6841 break
6843 rm -f core conftest.err conftest.$ac_objext
6844 CC="$CC -n32"
6845 if ac_fn_c_try_compile "$LINENO"; then :
6846 ac_cv_sys_largefile_CC=' -n32'; break
6848 rm -f core conftest.err conftest.$ac_objext
6849 break
6850 done
6851 CC=$ac_save_CC
6852 rm -f conftest.$ac_ext
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6856 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6857 if test "$ac_cv_sys_largefile_CC" != no; then
6858 CC=$CC$ac_cv_sys_largefile_CC
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6862 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6863 if ${ac_cv_sys_file_offset_bits+:} false; then :
6864 $as_echo_n "(cached) " >&6
6865 else
6866 while :; do
6867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6868 /* end confdefs.h. */
6869 #include <sys/types.h>
6870 /* Check that off_t can represent 2**63 - 1 correctly.
6871 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6872 since some C++ compilers masquerading as C compilers
6873 incorrectly reject 9223372036854775807. */
6874 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6875 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6876 && LARGE_OFF_T % 2147483647 == 1)
6877 ? 1 : -1];
6879 main ()
6883 return 0;
6885 _ACEOF
6886 if ac_fn_c_try_compile "$LINENO"; then :
6887 ac_cv_sys_file_offset_bits=no; break
6889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6891 /* end confdefs.h. */
6892 #define _FILE_OFFSET_BITS 64
6893 #include <sys/types.h>
6894 /* Check that off_t can represent 2**63 - 1 correctly.
6895 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6896 since some C++ compilers masquerading as C compilers
6897 incorrectly reject 9223372036854775807. */
6898 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6899 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6900 && LARGE_OFF_T % 2147483647 == 1)
6901 ? 1 : -1];
6903 main ()
6907 return 0;
6909 _ACEOF
6910 if ac_fn_c_try_compile "$LINENO"; then :
6911 ac_cv_sys_file_offset_bits=64; break
6913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6914 ac_cv_sys_file_offset_bits=unknown
6915 break
6916 done
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6919 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6920 case $ac_cv_sys_file_offset_bits in #(
6921 no | unknown) ;;
6923 cat >>confdefs.h <<_ACEOF
6924 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6925 _ACEOF
6927 esac
6928 rm -rf conftest*
6929 if test $ac_cv_sys_file_offset_bits = unknown; then
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6931 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6932 if ${ac_cv_sys_large_files+:} false; then :
6933 $as_echo_n "(cached) " >&6
6934 else
6935 while :; do
6936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6937 /* end confdefs.h. */
6938 #include <sys/types.h>
6939 /* Check that off_t can represent 2**63 - 1 correctly.
6940 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6941 since some C++ compilers masquerading as C compilers
6942 incorrectly reject 9223372036854775807. */
6943 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6944 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6945 && LARGE_OFF_T % 2147483647 == 1)
6946 ? 1 : -1];
6948 main ()
6952 return 0;
6954 _ACEOF
6955 if ac_fn_c_try_compile "$LINENO"; then :
6956 ac_cv_sys_large_files=no; break
6958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6960 /* end confdefs.h. */
6961 #define _LARGE_FILES 1
6962 #include <sys/types.h>
6963 /* Check that off_t can represent 2**63 - 1 correctly.
6964 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6965 since some C++ compilers masquerading as C compilers
6966 incorrectly reject 9223372036854775807. */
6967 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6968 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6969 && LARGE_OFF_T % 2147483647 == 1)
6970 ? 1 : -1];
6972 main ()
6976 return 0;
6978 _ACEOF
6979 if ac_fn_c_try_compile "$LINENO"; then :
6980 ac_cv_sys_large_files=1; break
6982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6983 ac_cv_sys_large_files=unknown
6984 break
6985 done
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6988 $as_echo "$ac_cv_sys_large_files" >&6; }
6989 case $ac_cv_sys_large_files in #(
6990 no | unknown) ;;
6992 cat >>confdefs.h <<_ACEOF
6993 #define _LARGE_FILES $ac_cv_sys_large_files
6994 _ACEOF
6996 esac
6997 rm -rf conftest*
7004 ac_ext=c
7005 ac_cpp='$CPP $CPPFLAGS'
7006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7010 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7011 # On Suns, sometimes $CPP names a directory.
7012 if test -n "$CPP" && test -d "$CPP"; then
7013 CPP=
7015 if test -z "$CPP"; then
7016 if ${ac_cv_prog_CPP+:} false; then :
7017 $as_echo_n "(cached) " >&6
7018 else
7019 # Double quotes because CPP needs to be expanded
7020 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7022 ac_preproc_ok=false
7023 for ac_c_preproc_warn_flag in '' yes
7025 # Use a header file that comes with gcc, so configuring glibc
7026 # with a fresh cross-compiler works.
7027 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7028 # <limits.h> exists even on freestanding compilers.
7029 # On the NeXT, cc -E runs the code through the compiler's parser,
7030 # not just through cpp. "Syntax error" is here to catch this case.
7031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7032 /* end confdefs.h. */
7033 #ifdef __STDC__
7034 # include <limits.h>
7035 #else
7036 # include <assert.h>
7037 #endif
7038 Syntax error
7039 _ACEOF
7040 if ac_fn_c_try_cpp "$LINENO"; then :
7042 else
7043 # Broken: fails on valid input.
7044 continue
7046 rm -f conftest.err conftest.i conftest.$ac_ext
7048 # OK, works on sane cases. Now check whether nonexistent headers
7049 # can be detected and how.
7050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7051 /* end confdefs.h. */
7052 #include <ac_nonexistent.h>
7053 _ACEOF
7054 if ac_fn_c_try_cpp "$LINENO"; then :
7055 # Broken: success on invalid input.
7056 continue
7057 else
7058 # Passes both tests.
7059 ac_preproc_ok=:
7060 break
7062 rm -f conftest.err conftest.i conftest.$ac_ext
7064 done
7065 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7066 rm -f conftest.i conftest.err conftest.$ac_ext
7067 if $ac_preproc_ok; then :
7068 break
7071 done
7072 ac_cv_prog_CPP=$CPP
7075 CPP=$ac_cv_prog_CPP
7076 else
7077 ac_cv_prog_CPP=$CPP
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7080 $as_echo "$CPP" >&6; }
7081 ac_preproc_ok=false
7082 for ac_c_preproc_warn_flag in '' yes
7084 # Use a header file that comes with gcc, so configuring glibc
7085 # with a fresh cross-compiler works.
7086 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7087 # <limits.h> exists even on freestanding compilers.
7088 # On the NeXT, cc -E runs the code through the compiler's parser,
7089 # not just through cpp. "Syntax error" is here to catch this case.
7090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7091 /* end confdefs.h. */
7092 #ifdef __STDC__
7093 # include <limits.h>
7094 #else
7095 # include <assert.h>
7096 #endif
7097 Syntax error
7098 _ACEOF
7099 if ac_fn_c_try_cpp "$LINENO"; then :
7101 else
7102 # Broken: fails on valid input.
7103 continue
7105 rm -f conftest.err conftest.i conftest.$ac_ext
7107 # OK, works on sane cases. Now check whether nonexistent headers
7108 # can be detected and how.
7109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7110 /* end confdefs.h. */
7111 #include <ac_nonexistent.h>
7112 _ACEOF
7113 if ac_fn_c_try_cpp "$LINENO"; then :
7114 # Broken: success on invalid input.
7115 continue
7116 else
7117 # Passes both tests.
7118 ac_preproc_ok=:
7119 break
7121 rm -f conftest.err conftest.i conftest.$ac_ext
7123 done
7124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7125 rm -f conftest.i conftest.err conftest.$ac_ext
7126 if $ac_preproc_ok; then :
7128 else
7129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7131 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7132 See \`config.log' for more details" "$LINENO" 5; }
7135 ac_ext=c
7136 ac_cpp='$CPP $CPPFLAGS'
7137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7143 $as_echo_n "checking for ANSI C header files... " >&6; }
7144 if ${ac_cv_header_stdc+:} false; then :
7145 $as_echo_n "(cached) " >&6
7146 else
7147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7148 /* end confdefs.h. */
7149 #include <stdlib.h>
7150 #include <stdarg.h>
7151 #include <string.h>
7152 #include <float.h>
7155 main ()
7159 return 0;
7161 _ACEOF
7162 if ac_fn_c_try_compile "$LINENO"; then :
7163 ac_cv_header_stdc=yes
7164 else
7165 ac_cv_header_stdc=no
7167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7169 if test $ac_cv_header_stdc = yes; then
7170 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7172 /* end confdefs.h. */
7173 #include <string.h>
7175 _ACEOF
7176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7177 $EGREP "memchr" >/dev/null 2>&1; then :
7179 else
7180 ac_cv_header_stdc=no
7182 rm -f conftest*
7186 if test $ac_cv_header_stdc = yes; then
7187 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7189 /* end confdefs.h. */
7190 #include <stdlib.h>
7192 _ACEOF
7193 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7194 $EGREP "free" >/dev/null 2>&1; then :
7196 else
7197 ac_cv_header_stdc=no
7199 rm -f conftest*
7203 if test $ac_cv_header_stdc = yes; then
7204 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7205 if test "$cross_compiling" = yes; then :
7207 else
7208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7209 /* end confdefs.h. */
7210 #include <ctype.h>
7211 #include <stdlib.h>
7212 #if ((' ' & 0x0FF) == 0x020)
7213 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7214 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7215 #else
7216 # define ISLOWER(c) \
7217 (('a' <= (c) && (c) <= 'i') \
7218 || ('j' <= (c) && (c) <= 'r') \
7219 || ('s' <= (c) && (c) <= 'z'))
7220 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7221 #endif
7223 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7225 main ()
7227 int i;
7228 for (i = 0; i < 256; i++)
7229 if (XOR (islower (i), ISLOWER (i))
7230 || toupper (i) != TOUPPER (i))
7231 return 2;
7232 return 0;
7234 _ACEOF
7235 if ac_fn_c_try_run "$LINENO"; then :
7237 else
7238 ac_cv_header_stdc=no
7240 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7241 conftest.$ac_objext conftest.beam conftest.$ac_ext
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7247 $as_echo "$ac_cv_header_stdc" >&6; }
7248 if test $ac_cv_header_stdc = yes; then
7250 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7254 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7255 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7256 inttypes.h stdint.h unistd.h
7257 do :
7258 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7259 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7261 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7262 cat >>confdefs.h <<_ACEOF
7263 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7264 _ACEOF
7268 done
7271 for ac_header in \
7272 AL/al.h \
7273 ApplicationServices/ApplicationServices.h \
7274 AudioToolbox/AudioConverter.h \
7275 AudioUnit/AudioUnit.h \
7276 AudioUnit/AudioComponent.h \
7277 CL/cl.h \
7278 Carbon/Carbon.h \
7279 CommonCrypto/CommonCryptor.h \
7280 CoreAudio/CoreAudio.h \
7281 CoreServices/CoreServices.h \
7282 DiskArbitration/DiskArbitration.h \
7283 EGL/egl.h \
7284 IOKit/IOKitLib.h \
7285 IOKit/hid/IOHIDLib.h \
7286 OpenAL/al.h \
7287 OpenCL/opencl.h \
7288 QuickTime/ImageCompression.h \
7289 Security/Security.h \
7290 alias.h \
7291 alsa/asoundlib.h \
7292 arpa/inet.h \
7293 arpa/nameser.h \
7294 asm/types.h \
7295 asm/user.h \
7296 curses.h \
7297 direct.h \
7298 dirent.h \
7299 dlfcn.h \
7300 elf.h \
7301 float.h \
7302 fnmatch.h \
7303 getopt.h \
7304 gettext-po.h \
7305 grp.h \
7306 gsm.h \
7307 gsm/gsm.h \
7308 ieeefp.h \
7309 inet/mib2.h \
7310 io.h \
7311 kstat.h \
7312 libproc.h \
7313 link.h \
7314 linux/cdrom.h \
7315 linux/compiler.h \
7316 linux/filter.h \
7317 linux/hdreg.h \
7318 linux/hidraw.h \
7319 linux/input.h \
7320 linux/ioctl.h \
7321 linux/joystick.h \
7322 linux/major.h \
7323 linux/param.h \
7324 linux/serial.h \
7325 linux/types.h \
7326 linux/ucdrom.h \
7327 lwp.h \
7328 mach-o/nlist.h \
7329 mach-o/loader.h \
7330 mach/mach.h \
7331 mach/machine.h \
7332 machine/cpu.h \
7333 machine/limits.h \
7334 machine/sysarch.h \
7335 mntent.h \
7336 ncurses.h \
7337 netdb.h \
7338 netinet/in.h \
7339 netinet/in_systm.h \
7340 netinet/tcp.h \
7341 netinet/tcp_fsm.h \
7342 pcap/pcap.h \
7343 poll.h \
7344 port.h \
7345 process.h \
7346 pthread.h \
7347 pwd.h \
7348 sched.h \
7349 scsi/scsi.h \
7350 scsi/scsi_ioctl.h \
7351 scsi/sg.h \
7352 stdbool.h \
7353 stdint.h \
7354 stropts.h \
7355 sys/asoundlib.h \
7356 sys/attr.h \
7357 sys/auxv.h \
7358 sys/cdio.h \
7359 sys/elf32.h \
7360 sys/epoll.h \
7361 sys/event.h \
7362 sys/exec_elf.h \
7363 sys/filio.h \
7364 sys/inotify.h \
7365 sys/ioctl.h \
7366 sys/ipc.h \
7367 sys/limits.h \
7368 sys/link.h \
7369 sys/mman.h \
7370 sys/modem.h \
7371 sys/msg.h \
7372 sys/mtio.h \
7373 sys/param.h \
7374 sys/poll.h \
7375 sys/prctl.h \
7376 sys/protosw.h \
7377 sys/ptrace.h \
7378 sys/queue.h \
7379 sys/resource.h \
7380 sys/scsiio.h \
7381 sys/shm.h \
7382 sys/signal.h \
7383 sys/socket.h \
7384 sys/socketvar.h \
7385 sys/sockio.h \
7386 sys/statvfs.h \
7387 sys/strtio.h \
7388 sys/syscall.h \
7389 sys/sysinfo.h \
7390 sys/tihdr.h \
7391 sys/time.h \
7392 sys/timeout.h \
7393 sys/times.h \
7394 sys/uio.h \
7395 sys/user.h \
7396 sys/utsname.h \
7397 sys/vnode.h \
7398 sys/wait.h \
7399 syscall.h \
7400 termios.h \
7401 unistd.h \
7402 utime.h \
7403 valgrind/memcheck.h \
7404 valgrind/valgrind.h \
7405 zlib.h
7407 do :
7408 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7409 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7410 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7411 cat >>confdefs.h <<_ACEOF
7412 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7413 _ACEOF
7417 done
7419 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7420 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7422 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7427 if test $ac_cv_header_sys_mkdev_h = no; then
7428 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7429 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7431 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7438 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7439 if ${ac_cv_header_stat_broken+:} false; then :
7440 $as_echo_n "(cached) " >&6
7441 else
7442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7443 /* end confdefs.h. */
7444 #include <sys/types.h>
7445 #include <sys/stat.h>
7447 #if defined S_ISBLK && defined S_IFDIR
7448 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7449 #endif
7451 #if defined S_ISBLK && defined S_IFCHR
7452 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7453 #endif
7455 #if defined S_ISLNK && defined S_IFREG
7456 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7457 #endif
7459 #if defined S_ISSOCK && defined S_IFREG
7460 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7461 #endif
7463 _ACEOF
7464 if ac_fn_c_try_compile "$LINENO"; then :
7465 ac_cv_header_stat_broken=no
7466 else
7467 ac_cv_header_stat_broken=yes
7469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7472 $as_echo "$ac_cv_header_stat_broken" >&6; }
7473 if test $ac_cv_header_stat_broken = yes; then
7475 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7481 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7482 do :
7483 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7484 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7485 #ifdef HAVE_SYS_PARAM_H
7486 # include <sys/param.h>
7487 #endif
7489 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7490 cat >>confdefs.h <<_ACEOF
7491 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7492 _ACEOF
7496 done
7499 for ac_header in \
7500 netinet/ip.h \
7501 net/if.h \
7502 net/if_arp.h \
7503 net/if_dl.h \
7504 net/if_types.h \
7505 net/route.h \
7506 netinet/if_ether.h \
7507 netinet/if_inarp.h \
7508 netinet/in_pcb.h \
7509 netinet/ip_icmp.h \
7510 netinet/ip_var.h \
7511 netinet/udp.h \
7512 netipx/ipx.h \
7513 sys/un.h \
7515 do :
7516 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7517 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7518 #ifdef HAVE_SYS_SOCKET_H
7519 # include <sys/socket.h>
7520 #endif
7521 #ifdef HAVE_SYS_SOCKETVAR_H
7522 # include <sys/socketvar.h>
7523 #endif
7524 #ifdef HAVE_NET_ROUTE_H
7525 # include <net/route.h>
7526 #endif
7527 #ifdef HAVE_NETINET_IN_H
7528 # include <netinet/in.h>
7529 #endif
7530 #ifdef HAVE_NETINET_IN_SYSTM_H
7531 # include <netinet/in_systm.h>
7532 #endif
7533 #ifdef HAVE_NET_IF_H
7534 # include <net/if.h>
7535 #endif
7536 #ifdef HAVE_NETINET_IP_H
7537 # include <netinet/ip.h>
7538 #endif
7540 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7541 cat >>confdefs.h <<_ACEOF
7542 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7543 _ACEOF
7547 done
7550 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7551 do :
7552 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7553 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7554 #ifdef HAVE_ALIAS_H
7555 # include <alias.h>
7556 #endif
7557 #ifdef HAVE_SYS_SOCKET_H
7558 # include <sys/socket.h>
7559 #endif
7560 #ifdef HAVE_SYS_SOCKETVAR_H
7561 # include <sys/socketvar.h>
7562 #endif
7563 #ifdef HAVE_SYS_TIMEOUT_H
7564 # include <sys/timeout.h>
7565 #endif
7566 #ifdef HAVE_NETINET_IN_H
7567 # include <netinet/in.h>
7568 #endif
7569 #ifdef HAVE_NETINET_IN_SYSTM_H
7570 # include <netinet/in_systm.h>
7571 #endif
7572 #ifdef HAVE_NETINET_IP_H
7573 # include <netinet/ip.h>
7574 #endif
7575 #ifdef HAVE_NETINET_IP_VAR_H
7576 # include <netinet/ip_var.h>
7577 #endif
7578 #ifdef HAVE_NETINET_IP_ICMP_H
7579 # include <netinet/ip_icmp.h>
7580 #endif
7581 #ifdef HAVE_NETINET_UDP_H
7582 # include <netinet/udp.h>
7583 #endif
7584 #ifdef HAVE_NETINET_TCP_H
7585 # include <netinet/tcp.h>
7586 #endif
7587 #ifdef HAVE_NETINET_TCP_TIMER_H
7588 #include <netinet/tcp_timer.h>
7589 #endif
7591 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7592 cat >>confdefs.h <<_ACEOF
7593 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7594 _ACEOF
7598 done
7601 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7602 do :
7603 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7604 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7605 #ifdef HAVE_ASM_TYPES_H
7606 # include <asm/types.h>
7607 #endif
7608 #ifdef HAVE_SYS_SOCKET_H
7609 # include <sys/socket.h>
7610 #endif
7611 #ifdef HAVE_LINUX_TYPES_H
7612 # include <linux/types.h>
7613 #endif
7615 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7616 cat >>confdefs.h <<_ACEOF
7617 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7618 _ACEOF
7622 done
7625 for ac_header in mach-o/dyld_images.h
7626 do :
7627 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7628 # include <stdbool.h>
7629 #endif
7630 #ifdef HAVE_STDINT_H
7631 # include <stdint.h>
7632 #endif
7634 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7635 cat >>confdefs.h <<_ACEOF
7636 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7637 _ACEOF
7641 done
7644 for ac_header in resolv.h
7645 do :
7646 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7647 #ifdef HAVE_SYS_SOCKET_H
7648 # include <sys/socket.h>
7649 #endif
7650 #ifdef HAVE_NETINET_IN_H
7651 # include <netinet/in.h>
7652 #endif
7653 #ifdef HAVE_ARPA_NAMESER_H
7654 # include <arpa/nameser.h>
7655 #endif
7657 if test "x$ac_cv_header_resolv_h" = xyes; then :
7658 cat >>confdefs.h <<_ACEOF
7659 #define HAVE_RESOLV_H 1
7660 _ACEOF
7664 done
7667 for ac_header in ifaddrs.h
7668 do :
7669 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7671 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7672 cat >>confdefs.h <<_ACEOF
7673 #define HAVE_IFADDRS_H 1
7674 _ACEOF
7678 done
7681 for ac_header in sys/ucontext.h
7682 do :
7683 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7685 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7686 cat >>confdefs.h <<_ACEOF
7687 #define HAVE_SYS_UCONTEXT_H 1
7688 _ACEOF
7692 done
7695 for ac_header in sys/thr.h
7696 do :
7697 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7698 #ifdef HAVE_SYS_UCONTEXT_H
7699 #include <sys/ucontext.h>
7700 #endif
7702 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7703 cat >>confdefs.h <<_ACEOF
7704 #define HAVE_SYS_THR_H 1
7705 _ACEOF
7709 done
7712 for ac_header in pthread_np.h
7713 do :
7714 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7715 #include <pthread.h>
7716 #endif
7718 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7719 cat >>confdefs.h <<_ACEOF
7720 #define HAVE_PTHREAD_NP_H 1
7721 _ACEOF
7725 done
7728 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7729 do :
7730 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7731 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7732 #include <sys/time.h>
7733 #endif
7734 #include <sys/types.h>
7735 #ifdef HAVE_ASM_TYPES_H
7736 #include <asm/types.h>
7737 #endif
7739 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7740 cat >>confdefs.h <<_ACEOF
7741 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7742 _ACEOF
7746 done
7749 for ac_header in libprocstat.h
7750 do :
7751 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7752 #include <sys/param.h>
7753 #endif
7754 #ifdef HAVE_SYS_QUEUE_H
7755 #include <sys/queue.h>
7756 #endif
7757 #ifdef HAVE_SYS_SOCKET_H
7758 #include <sys/socket.h>
7759 #endif
7761 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7762 cat >>confdefs.h <<_ACEOF
7763 #define HAVE_LIBPROCSTAT_H 1
7764 _ACEOF
7768 done
7772 DLLFLAGS="-D_REENTRANT"
7774 LDRPATH_INSTALL=""
7776 LDRPATH_LOCAL=""
7778 LDEXECFLAGS=""
7780 TOP_INSTALL_LIB=""
7782 TOP_INSTALL_DEV=""
7784 WINELOADER_LDFLAGS=""
7786 WINEPRELOADER_LDFLAGS=""
7788 LIBEXT="so"
7789 DLLEXT=".so"
7790 IMPLIBEXT="def"
7791 # Extract the first word of "ldd", so it can be a program name with args.
7792 set dummy ldd; ac_word=$2
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7794 $as_echo_n "checking for $ac_word... " >&6; }
7795 if ${ac_cv_path_LDD+:} false; then :
7796 $as_echo_n "(cached) " >&6
7797 else
7798 case $LDD in
7799 [\\/]* | ?:[\\/]*)
7800 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7804 as_dummy="/sbin:/usr/sbin:$PATH"
7805 for as_dir in $as_dummy
7807 IFS=$as_save_IFS
7808 test -z "$as_dir" && as_dir=.
7809 for ac_exec_ext in '' $ac_executable_extensions; do
7810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7811 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7813 break 2
7815 done
7816 done
7817 IFS=$as_save_IFS
7819 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7821 esac
7823 LDD=$ac_cv_path_LDD
7824 if test -n "$LDD"; then
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7826 $as_echo "$LDD" >&6; }
7827 else
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7829 $as_echo "no" >&6; }
7833 if test -n "$ac_tool_prefix"; then
7834 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7835 set dummy ${ac_tool_prefix}otool; ac_word=$2
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7837 $as_echo_n "checking for $ac_word... " >&6; }
7838 if ${ac_cv_prog_OTOOL+:} false; then :
7839 $as_echo_n "(cached) " >&6
7840 else
7841 if test -n "$OTOOL"; then
7842 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7843 else
7844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7845 for as_dir in $PATH
7847 IFS=$as_save_IFS
7848 test -z "$as_dir" && as_dir=.
7849 for ac_exec_ext in '' $ac_executable_extensions; do
7850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7851 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7853 break 2
7855 done
7856 done
7857 IFS=$as_save_IFS
7861 OTOOL=$ac_cv_prog_OTOOL
7862 if test -n "$OTOOL"; then
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7864 $as_echo "$OTOOL" >&6; }
7865 else
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7867 $as_echo "no" >&6; }
7872 if test -z "$ac_cv_prog_OTOOL"; then
7873 ac_ct_OTOOL=$OTOOL
7874 # Extract the first word of "otool", so it can be a program name with args.
7875 set dummy otool; ac_word=$2
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7877 $as_echo_n "checking for $ac_word... " >&6; }
7878 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7879 $as_echo_n "(cached) " >&6
7880 else
7881 if test -n "$ac_ct_OTOOL"; then
7882 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7883 else
7884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7885 for as_dir in $PATH
7887 IFS=$as_save_IFS
7888 test -z "$as_dir" && as_dir=.
7889 for ac_exec_ext in '' $ac_executable_extensions; do
7890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7891 ac_cv_prog_ac_ct_OTOOL="otool"
7892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7893 break 2
7895 done
7896 done
7897 IFS=$as_save_IFS
7901 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7902 if test -n "$ac_ct_OTOOL"; then
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7904 $as_echo "$ac_ct_OTOOL" >&6; }
7905 else
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7907 $as_echo "no" >&6; }
7910 if test "x$ac_ct_OTOOL" = x; then
7911 OTOOL="otool"
7912 else
7913 case $cross_compiling:$ac_tool_warned in
7914 yes:)
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7917 ac_tool_warned=yes ;;
7918 esac
7919 OTOOL=$ac_ct_OTOOL
7921 else
7922 OTOOL="$ac_cv_prog_OTOOL"
7925 if test -n "$ac_tool_prefix"; then
7926 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7927 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7929 $as_echo_n "checking for $ac_word... " >&6; }
7930 if ${ac_cv_prog_READELF+:} false; then :
7931 $as_echo_n "(cached) " >&6
7932 else
7933 if test -n "$READELF"; then
7934 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7935 else
7936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7937 for as_dir in $PATH
7939 IFS=$as_save_IFS
7940 test -z "$as_dir" && as_dir=.
7941 for ac_exec_ext in '' $ac_executable_extensions; do
7942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7943 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7945 break 2
7947 done
7948 done
7949 IFS=$as_save_IFS
7953 READELF=$ac_cv_prog_READELF
7954 if test -n "$READELF"; then
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7956 $as_echo "$READELF" >&6; }
7957 else
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7959 $as_echo "no" >&6; }
7964 if test -z "$ac_cv_prog_READELF"; then
7965 ac_ct_READELF=$READELF
7966 # Extract the first word of "readelf", so it can be a program name with args.
7967 set dummy readelf; ac_word=$2
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7969 $as_echo_n "checking for $ac_word... " >&6; }
7970 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7971 $as_echo_n "(cached) " >&6
7972 else
7973 if test -n "$ac_ct_READELF"; then
7974 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7975 else
7976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7977 for as_dir in $PATH
7979 IFS=$as_save_IFS
7980 test -z "$as_dir" && as_dir=.
7981 for ac_exec_ext in '' $ac_executable_extensions; do
7982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7983 ac_cv_prog_ac_ct_READELF="readelf"
7984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7985 break 2
7987 done
7988 done
7989 IFS=$as_save_IFS
7993 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7994 if test -n "$ac_ct_READELF"; then
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7996 $as_echo "$ac_ct_READELF" >&6; }
7997 else
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7999 $as_echo "no" >&6; }
8002 if test "x$ac_ct_READELF" = x; then
8003 READELF="true"
8004 else
8005 case $cross_compiling:$ac_tool_warned in
8006 yes:)
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8009 ac_tool_warned=yes ;;
8010 esac
8011 READELF=$ac_ct_READELF
8013 else
8014 READELF="$ac_cv_prog_READELF"
8017 wine_rules_file=conf$$rules.make
8018 rm -f $wine_rules_file
8019 SUBDIRS=""
8021 DISABLED_SUBDIRS=""
8023 CONFIGURE_TARGETS=""
8026 wine_fn_append_file ()
8028 as_fn_append $1 " \\$as_nl $2"
8031 wine_fn_append_rule ()
8033 $as_echo "$1" >>$wine_rules_file
8036 wine_fn_config_makefile ()
8038 wine_fn_append_file SUBDIRS $1
8039 if eval test \"x\$"$2"\" = x"no"; then :
8040 wine_fn_append_file DISABLED_SUBDIRS $1
8044 wine_fn_config_symlink ()
8046 ac_links=$@
8047 wine_fn_append_rule \
8048 "$ac_links:
8049 @./config.status \$@"
8050 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8053 wine_binary="wine"
8054 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8055 WINELOADER_PROGRAMS="$wine_binary"
8057 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8059 case $host_os in
8060 cygwin*|mingw32*)
8061 if test -n "$ac_tool_prefix"; then
8062 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8063 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8065 $as_echo_n "checking for $ac_word... " >&6; }
8066 if ${ac_cv_prog_DLLTOOL+:} false; then :
8067 $as_echo_n "(cached) " >&6
8068 else
8069 if test -n "$DLLTOOL"; then
8070 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8071 else
8072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8073 for as_dir in $PATH
8075 IFS=$as_save_IFS
8076 test -z "$as_dir" && as_dir=.
8077 for ac_exec_ext in '' $ac_executable_extensions; do
8078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8079 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8081 break 2
8083 done
8084 done
8085 IFS=$as_save_IFS
8089 DLLTOOL=$ac_cv_prog_DLLTOOL
8090 if test -n "$DLLTOOL"; then
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8092 $as_echo "$DLLTOOL" >&6; }
8093 else
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8095 $as_echo "no" >&6; }
8100 if test -z "$ac_cv_prog_DLLTOOL"; then
8101 ac_ct_DLLTOOL=$DLLTOOL
8102 # Extract the first word of "dlltool", so it can be a program name with args.
8103 set dummy dlltool; ac_word=$2
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8105 $as_echo_n "checking for $ac_word... " >&6; }
8106 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8107 $as_echo_n "(cached) " >&6
8108 else
8109 if test -n "$ac_ct_DLLTOOL"; then
8110 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8111 else
8112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8113 for as_dir in $PATH
8115 IFS=$as_save_IFS
8116 test -z "$as_dir" && as_dir=.
8117 for ac_exec_ext in '' $ac_executable_extensions; do
8118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8119 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8121 break 2
8123 done
8124 done
8125 IFS=$as_save_IFS
8129 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8130 if test -n "$ac_ct_DLLTOOL"; then
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8132 $as_echo "$ac_ct_DLLTOOL" >&6; }
8133 else
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8135 $as_echo "no" >&6; }
8138 if test "x$ac_ct_DLLTOOL" = x; then
8139 DLLTOOL="false"
8140 else
8141 case $cross_compiling:$ac_tool_warned in
8142 yes:)
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8145 ac_tool_warned=yes ;;
8146 esac
8147 DLLTOOL=$ac_ct_DLLTOOL
8149 else
8150 DLLTOOL="$ac_cv_prog_DLLTOOL"
8153 LIBEXT="dll"
8154 DLLEXT=""
8155 IMPLIBEXT="a"
8156 enable_iphlpapi=${enable_iphlpapi:-no}
8157 enable_kernel32=${enable_kernel32:-no}
8158 enable_msvcrt=${enable_msvcrt:-no}
8159 enable_ntdll=${enable_ntdll:-no}
8160 enable_ws2_32=${enable_ws2_32:-no}
8161 enable_loader=${enable_loader:-no}
8162 enable_server=${enable_server:-no}
8163 with_x=${with_x:-no}
8164 with_pthread=${with_pthread:-no}
8166 crtlibs=""
8167 case $host_os in
8168 mingw32*)
8169 crtlibs="-lmsvcrt" ;;
8170 esac
8172 LIBWINE_SHAREDLIB="libwine.dll"
8174 LIBWINE_IMPORTLIB="libwine.a"
8176 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8178 LIBWINE_DEPENDS="wine.def"
8180 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.dll"
8181 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.a"
8184 darwin*|macosx*)
8185 for ac_header in libunwind.h
8186 do :
8187 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8188 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8189 cat >>confdefs.h <<_ACEOF
8190 #define HAVE_LIBUNWIND_H 1
8191 _ACEOF
8195 done
8197 ac_ext=m
8198 ac_cpp='$OBJCPP $CPPFLAGS'
8199 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8200 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8201 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8203 ac_ext=m
8204 ac_cpp='$OBJCPP $CPPFLAGS'
8205 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8206 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8207 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8208 if test -n "$ac_tool_prefix"; then
8209 for ac_prog in gcc objcc objc cc CC
8211 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8212 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8214 $as_echo_n "checking for $ac_word... " >&6; }
8215 if ${ac_cv_prog_OBJC+:} false; then :
8216 $as_echo_n "(cached) " >&6
8217 else
8218 if test -n "$OBJC"; then
8219 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8220 else
8221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8222 for as_dir in $PATH
8224 IFS=$as_save_IFS
8225 test -z "$as_dir" && as_dir=.
8226 for ac_exec_ext in '' $ac_executable_extensions; do
8227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8228 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8230 break 2
8232 done
8233 done
8234 IFS=$as_save_IFS
8238 OBJC=$ac_cv_prog_OBJC
8239 if test -n "$OBJC"; then
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8241 $as_echo "$OBJC" >&6; }
8242 else
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8244 $as_echo "no" >&6; }
8248 test -n "$OBJC" && break
8249 done
8251 if test -z "$OBJC"; then
8252 ac_ct_OBJC=$OBJC
8253 for ac_prog in gcc objcc objc cc CC
8255 # Extract the first word of "$ac_prog", so it can be a program name with args.
8256 set dummy $ac_prog; ac_word=$2
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8258 $as_echo_n "checking for $ac_word... " >&6; }
8259 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8260 $as_echo_n "(cached) " >&6
8261 else
8262 if test -n "$ac_ct_OBJC"; then
8263 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8264 else
8265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8266 for as_dir in $PATH
8268 IFS=$as_save_IFS
8269 test -z "$as_dir" && as_dir=.
8270 for ac_exec_ext in '' $ac_executable_extensions; do
8271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8272 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8274 break 2
8276 done
8277 done
8278 IFS=$as_save_IFS
8282 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8283 if test -n "$ac_ct_OBJC"; then
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8285 $as_echo "$ac_ct_OBJC" >&6; }
8286 else
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8288 $as_echo "no" >&6; }
8292 test -n "$ac_ct_OBJC" && break
8293 done
8295 if test "x$ac_ct_OBJC" = x; then
8296 OBJC="gcc"
8297 else
8298 case $cross_compiling:$ac_tool_warned in
8299 yes:)
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8302 ac_tool_warned=yes ;;
8303 esac
8304 OBJC=$ac_ct_OBJC
8308 # Provide some information about the compiler.
8309 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8310 set X $ac_compile
8311 ac_compiler=$2
8312 for ac_option in --version -v -V -qversion; do
8313 { { ac_try="$ac_compiler $ac_option >&5"
8314 case "(($ac_try" in
8315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8316 *) ac_try_echo=$ac_try;;
8317 esac
8318 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8319 $as_echo "$ac_try_echo"; } >&5
8320 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8321 ac_status=$?
8322 if test -s conftest.err; then
8323 sed '10a\
8324 ... rest of stderr output deleted ...
8325 10q' conftest.err >conftest.er1
8326 cat conftest.er1 >&5
8328 rm -f conftest.er1 conftest.err
8329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8330 test $ac_status = 0; }
8331 done
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8334 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8335 if ${ac_cv_objc_compiler_gnu+:} false; then :
8336 $as_echo_n "(cached) " >&6
8337 else
8338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8339 /* end confdefs.h. */
8342 main ()
8344 #ifndef __GNUC__
8345 choke me
8346 #endif
8349 return 0;
8351 _ACEOF
8352 if ac_fn_objc_try_compile "$LINENO"; then :
8353 ac_compiler_gnu=yes
8354 else
8355 ac_compiler_gnu=no
8357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8358 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8362 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8363 if test $ac_compiler_gnu = yes; then
8364 GOBJC=yes
8365 else
8366 GOBJC=
8368 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8369 ac_save_OBJCFLAGS=$OBJCFLAGS
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8371 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8372 if ${ac_cv_prog_objc_g+:} false; then :
8373 $as_echo_n "(cached) " >&6
8374 else
8375 ac_save_objc_werror_flag=$ac_objc_werror_flag
8376 ac_objc_werror_flag=yes
8377 ac_cv_prog_objc_g=no
8378 OBJCFLAGS="-g"
8379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8380 /* end confdefs.h. */
8383 main ()
8387 return 0;
8389 _ACEOF
8390 if ac_fn_objc_try_compile "$LINENO"; then :
8391 ac_cv_prog_objc_g=yes
8392 else
8393 OBJCFLAGS=""
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 :
8407 else
8408 ac_objc_werror_flag=$ac_save_objc_werror_flag
8409 OBJCFLAGS="-g"
8410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8411 /* end confdefs.h. */
8414 main ()
8418 return 0;
8420 _ACEOF
8421 if ac_fn_objc_try_compile "$LINENO"; then :
8422 ac_cv_prog_objc_g=yes
8424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8429 ac_objc_werror_flag=$ac_save_objc_werror_flag
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8432 $as_echo "$ac_cv_prog_objc_g" >&6; }
8433 if test "$ac_test_OBJCFLAGS" = set; then
8434 OBJCFLAGS=$ac_save_OBJCFLAGS
8435 elif test $ac_cv_prog_objc_g = yes; then
8436 if test "$GOBJC" = yes; then
8437 OBJCFLAGS="-g -O2"
8438 else
8439 OBJCFLAGS="-g"
8441 else
8442 if test "$GOBJC" = yes; then
8443 OBJCFLAGS="-O2"
8444 else
8445 OBJCFLAGS=
8448 ac_ext=m
8449 ac_cpp='$OBJCPP $CPPFLAGS'
8450 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8451 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8452 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8455 ac_ext=m
8456 ac_cpp='$OBJCPP $CPPFLAGS'
8457 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8458 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8459 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8461 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8462 if test -z "$OBJCPP"; then
8463 if ${ac_cv_prog_OBJCPP+:} false; then :
8464 $as_echo_n "(cached) " >&6
8465 else
8466 # Double quotes because OBJCPP needs to be expanded
8467 for OBJCPP in "$OBJC -E" "/lib/cpp"
8469 ac_preproc_ok=false
8470 for ac_objc_preproc_warn_flag in '' yes
8472 # Use a header file that comes with gcc, so configuring glibc
8473 # with a fresh cross-compiler works.
8474 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8475 # <limits.h> exists even on freestanding compilers.
8476 # On the NeXT, cc -E runs the code through the compiler's parser,
8477 # not just through cpp. "Syntax error" is here to catch this case.
8478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8479 /* end confdefs.h. */
8480 #ifdef __STDC__
8481 # include <limits.h>
8482 #else
8483 # include <assert.h>
8484 #endif
8485 Syntax error
8486 _ACEOF
8487 if ac_fn_objc_try_cpp "$LINENO"; then :
8489 else
8490 # Broken: fails on valid input.
8491 continue
8493 rm -f conftest.err conftest.i conftest.$ac_ext
8495 # OK, works on sane cases. Now check whether nonexistent headers
8496 # can be detected and how.
8497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8498 /* end confdefs.h. */
8499 #include <ac_nonexistent.h>
8500 _ACEOF
8501 if ac_fn_objc_try_cpp "$LINENO"; then :
8502 # Broken: success on invalid input.
8503 continue
8504 else
8505 # Passes both tests.
8506 ac_preproc_ok=:
8507 break
8509 rm -f conftest.err conftest.i conftest.$ac_ext
8511 done
8512 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8513 rm -f conftest.i conftest.err conftest.$ac_ext
8514 if $ac_preproc_ok; then :
8515 break
8518 done
8519 ac_cv_prog_OBJCPP=$OBJCPP
8522 OBJCPP=$ac_cv_prog_OBJCPP
8523 else
8524 ac_cv_prog_OBJCPP=$OBJCPP
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8527 $as_echo "$OBJCPP" >&6; }
8528 ac_preproc_ok=false
8529 for ac_objc_preproc_warn_flag in '' yes
8531 # Use a header file that comes with gcc, so configuring glibc
8532 # with a fresh cross-compiler works.
8533 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8534 # <limits.h> exists even on freestanding compilers.
8535 # On the NeXT, cc -E runs the code through the compiler's parser,
8536 # not just through cpp. "Syntax error" is here to catch this case.
8537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8538 /* end confdefs.h. */
8539 #ifdef __STDC__
8540 # include <limits.h>
8541 #else
8542 # include <assert.h>
8543 #endif
8544 Syntax error
8545 _ACEOF
8546 if ac_fn_objc_try_cpp "$LINENO"; then :
8548 else
8549 # Broken: fails on valid input.
8550 continue
8552 rm -f conftest.err conftest.i conftest.$ac_ext
8554 # OK, works on sane cases. Now check whether nonexistent headers
8555 # can be detected and how.
8556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8558 #include <ac_nonexistent.h>
8559 _ACEOF
8560 if ac_fn_objc_try_cpp "$LINENO"; then :
8561 # Broken: success on invalid input.
8562 continue
8563 else
8564 # Passes both tests.
8565 ac_preproc_ok=:
8566 break
8568 rm -f conftest.err conftest.i conftest.$ac_ext
8570 done
8571 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8572 rm -f conftest.i conftest.err conftest.$ac_ext
8573 if $ac_preproc_ok; then :
8575 else
8576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8578 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8579 See \`config.log' for more details" "$LINENO" 5; }
8582 ac_ext=m
8583 ac_cpp='$OBJCPP $CPPFLAGS'
8584 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8585 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8586 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8589 for ac_header in Metal/Metal.h
8590 do :
8591 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8592 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8593 cat >>confdefs.h <<_ACEOF
8594 #define HAVE_METAL_METAL_H 1
8595 _ACEOF
8599 done
8601 ac_ext=c
8602 ac_cpp='$CPP $CPPFLAGS'
8603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8607 LIBEXT="dylib"
8608 DLLFLAGS="$DLLFLAGS -fPIC"
8609 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8610 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8611 COREFOUNDATION_LIBS="-framework CoreFoundation"
8613 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8615 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8617 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8619 CORESERVICES_LIBS="-framework CoreServices"
8621 APPKIT_LIBS="-framework AppKit"
8624 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8626 wine_can_build_preloader=yes
8627 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8629 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8630 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8631 $as_echo_n "(cached) " >&6
8632 else
8633 ac_wine_try_cflags_saved=$CFLAGS
8634 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8636 /* end confdefs.h. */
8637 int main(int argc, char **argv) { return 0; }
8638 _ACEOF
8639 if ac_fn_c_try_link "$LINENO"; then :
8640 ac_cv_cflags__Wl__no_new_main__e__main=yes
8641 else
8642 ac_cv_cflags__Wl__no_new_main__e__main=no
8644 rm -f core conftest.err conftest.$ac_objext \
8645 conftest$ac_exeext conftest.$ac_ext
8646 CFLAGS=$ac_wine_try_cflags_saved
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8649 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8650 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8651 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8653 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8654 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8655 $as_echo_n "(cached) " >&6
8656 else
8657 ac_wine_try_cflags_saved=$CFLAGS
8658 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8660 /* end confdefs.h. */
8661 int main(int argc, char **argv) { return 0; }
8662 _ACEOF
8663 if ac_fn_c_try_link "$LINENO"; then :
8664 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8665 else
8666 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8668 rm -f core conftest.err conftest.$ac_objext \
8669 conftest$ac_exeext conftest.$ac_ext
8670 CFLAGS=$ac_wine_try_cflags_saved
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8673 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8674 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8675 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8676 else
8677 { $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
8678 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8679 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8680 $as_echo_n "(cached) " >&6
8681 else
8682 ac_wine_try_cflags_saved=$CFLAGS
8683 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8685 /* end confdefs.h. */
8686 int main(int argc, char **argv) { return 0; }
8687 _ACEOF
8688 if ac_fn_c_try_link "$LINENO"; then :
8689 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8690 else
8691 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8693 rm -f core conftest.err conftest.$ac_objext \
8694 conftest$ac_exeext conftest.$ac_ext
8695 CFLAGS=$ac_wine_try_cflags_saved
8697 { $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
8698 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8699 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8700 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8701 else
8702 wine_can_build_preloader=no
8705 else
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8707 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8708 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8709 $as_echo_n "(cached) " >&6
8710 else
8711 ac_wine_try_cflags_saved=$CFLAGS
8712 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8714 /* end confdefs.h. */
8715 int main(int argc, char **argv) { return 0; }
8716 _ACEOF
8717 if ac_fn_c_try_link "$LINENO"; then :
8718 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8719 else
8720 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8722 rm -f core conftest.err conftest.$ac_objext \
8723 conftest$ac_exeext conftest.$ac_ext
8724 CFLAGS=$ac_wine_try_cflags_saved
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8727 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8728 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8729 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8730 else
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8732 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8733 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8734 $as_echo_n "(cached) " >&6
8735 else
8736 ac_wine_try_cflags_saved=$CFLAGS
8737 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8739 /* end confdefs.h. */
8740 int main(int argc, char **argv) { return 0; }
8741 _ACEOF
8742 if ac_fn_c_try_link "$LINENO"; then :
8743 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8744 else
8745 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8747 rm -f core conftest.err conftest.$ac_objext \
8748 conftest$ac_exeext conftest.$ac_ext
8749 CFLAGS=$ac_wine_try_cflags_saved
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8752 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8753 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8754 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8755 else
8756 wine_can_build_preloader=no
8760 if test "$wine_can_build_preloader" = "yes"
8761 then
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8763 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8764 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8765 $as_echo_n "(cached) " >&6
8766 else
8767 ac_wine_try_cflags_saved=$CFLAGS
8768 CFLAGS="$CFLAGS -Wl,-no_pie"
8769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8770 /* end confdefs.h. */
8771 int main(int argc, char **argv) { return 0; }
8772 _ACEOF
8773 if ac_fn_c_try_link "$LINENO"; then :
8774 ac_cv_cflags__Wl__no_pie=yes
8775 else
8776 ac_cv_cflags__Wl__no_pie=no
8778 rm -f core conftest.err conftest.$ac_objext \
8779 conftest$ac_exeext conftest.$ac_ext
8780 CFLAGS=$ac_wine_try_cflags_saved
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8783 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8784 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8785 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8787 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8788 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8789 else
8790 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8793 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8794 then
8795 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8798 if test "$ac_cv_header_Security_Security_h" = "yes"
8799 then
8800 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8802 ac_save_LIBS="$LIBS"
8803 LIBS="$LIBS $SECURITY_LIBS"
8804 for ac_func in SSLCopyPeerCertificates
8805 do :
8806 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8807 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8808 cat >>confdefs.h <<_ACEOF
8809 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8810 _ACEOF
8813 done
8815 LIBS="$ac_save_LIBS"
8817 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8818 then
8819 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8820 then
8821 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8823 else
8824 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8827 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8828 ac_save_LIBS="$LIBS"
8829 LIBS="$LIBS $COREAUDIO_LIBS"
8830 for ac_func in AUGraphAddNode
8831 do :
8832 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8833 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8834 cat >>confdefs.h <<_ACEOF
8835 #define HAVE_AUGRAPHADDNODE 1
8836 _ACEOF
8839 done
8841 LIBS="$ac_save_LIBS"
8843 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8844 then
8845 OPENAL_LIBS="-framework OpenAL"
8848 cat >>confdefs.h <<_ACEOF
8849 #define HAVE_OPENAL 1
8850 _ACEOF
8852 ac_cv_lib_openal=yes
8854 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8855 then
8856 OPENCL_LIBS="-framework OpenCL"
8858 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8860 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8861 then
8862 ac_save_LIBS="$LIBS"
8863 LIBS="$LIBS $IOKIT_LIBS"
8864 for ac_func in IOHIDManagerCreate
8865 do :
8866 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8867 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8868 cat >>confdefs.h <<_ACEOF
8869 #define HAVE_IOHIDMANAGERCREATE 1
8870 _ACEOF
8873 done
8875 LIBS="$ac_save_LIBS"
8877 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8878 then
8879 ac_save_LIBS="$LIBS"
8880 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8882 $as_echo_n "checking for the QuickTime framework... " >&6; }
8883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8884 /* end confdefs.h. */
8885 #include <QuickTime/ImageCompression.h>
8887 main ()
8889 CodecManagerVersion(NULL);
8891 return 0;
8893 _ACEOF
8894 if ac_fn_c_try_link "$LINENO"; then :
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8896 $as_echo "yes" >&6; }
8897 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8899 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8900 else
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8902 $as_echo "no" >&6; }
8903 ac_cv_header_QuickTime_ImageCompression_h=no
8905 rm -f core conftest.err conftest.$ac_objext \
8906 conftest$ac_exeext conftest.$ac_ext
8907 LIBS="$ac_save_LIBS"
8909 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8910 then
8911 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8913 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8914 then
8915 CARBON_LIBS="-framework Carbon"
8918 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8919 then
8920 METAL_LIBS="-framework Metal -framework QuartzCore"
8924 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8925 then
8926 ac_save_LIBS="$LIBS"
8927 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8928 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8929 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8930 enable_winemac_drv=${enable_winemac_drv:-yes}
8933 LIBS="$ac_save_LIBS"
8936 if test "x$enable_win16" = "xyes"
8937 then
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8939 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8940 if test "$cross_compiling" = yes; then :
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8942 $as_echo "cross-compiling, assuming yes" >&6; }
8943 else
8944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8945 /* end confdefs.h. */
8946 asm(".text\n"
8947 "bad:\tnop;nop\n"
8948 "good:\tnop;nop\n\t"
8949 ".globl _testfunc\n"
8950 "_testfunc:\tcallw good");
8951 extern void testfunc();
8953 main ()
8955 unsigned short *p = (unsigned short *)testfunc;
8956 return p[0] != 0xe866 || p[1] != 0xfffa
8958 return 0;
8960 _ACEOF
8961 if ac_fn_c_try_run "$LINENO"; then :
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8963 $as_echo "yes" >&6; }
8964 else
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8966 $as_echo "no" >&6; }
8967 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
8969 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8970 conftest.$ac_objext conftest.beam conftest.$ac_ext
8975 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8977 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8979 WINELOADER_DEPENDS="wine_info.plist"
8981 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
8982 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
8985 linux-android*)
8986 DLLFLAGS="$DLLFLAGS -fPIC"
8987 LDEXECFLAGS="-Wl,-pie"
8988 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8990 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8991 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8992 $as_echo_n "(cached) " >&6
8993 else
8994 ac_wine_try_cflags_saved=$CFLAGS
8995 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8997 /* end confdefs.h. */
8998 int main(int argc, char **argv) { return 0; }
8999 _ACEOF
9000 if ac_fn_c_try_link "$LINENO"; then :
9001 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9002 else
9003 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9005 rm -f core conftest.err conftest.$ac_objext \
9006 conftest$ac_exeext conftest.$ac_ext
9007 CFLAGS=$ac_wine_try_cflags_saved
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9010 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9011 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9012 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9014 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9015 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9017 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9018 if eval \${$as_ac_var+:} false; then :
9019 $as_echo_n "(cached) " >&6
9020 else
9021 ac_wine_try_cflags_saved=$CFLAGS
9022 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9024 /* end confdefs.h. */
9025 int main(int argc, char **argv) { return 0; }
9026 _ACEOF
9027 if ac_fn_c_try_link "$LINENO"; then :
9028 eval "$as_ac_var=yes"
9029 else
9030 eval "$as_ac_var=no"
9032 rm -f core conftest.err conftest.$ac_objext \
9033 conftest$ac_exeext conftest.$ac_ext
9034 CFLAGS=$ac_wine_try_cflags_saved
9036 eval ac_res=\$$as_ac_var
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9038 $as_echo "$ac_res" >&6; }
9039 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9040 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9041 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9042 else
9043 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9045 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9046 if eval \${$as_ac_var+:} false; then :
9047 $as_echo_n "(cached) " >&6
9048 else
9049 ac_wine_try_cflags_saved=$CFLAGS
9050 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9052 /* end confdefs.h. */
9053 int main(int argc, char **argv) { return 0; }
9054 _ACEOF
9055 if ac_fn_c_try_link "$LINENO"; then :
9056 eval "$as_ac_var=yes"
9057 else
9058 eval "$as_ac_var=no"
9060 rm -f core conftest.err conftest.$ac_objext \
9061 conftest$ac_exeext conftest.$ac_ext
9062 CFLAGS=$ac_wine_try_cflags_saved
9064 eval ac_res=\$$as_ac_var
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9066 $as_echo "$ac_res" >&6; }
9067 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9068 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9069 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9073 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9074 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9075 $as_echo_n "(cached) " >&6
9076 else
9077 ac_wine_try_cflags_saved=$CFLAGS
9078 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9080 /* end confdefs.h. */
9081 int main(int argc, char **argv) { return 0; }
9082 _ACEOF
9083 if ac_fn_c_try_link "$LINENO"; then :
9084 ac_cv_cflags__Wl___enable_new_dtags=yes
9085 else
9086 ac_cv_cflags__Wl___enable_new_dtags=no
9088 rm -f core conftest.err conftest.$ac_objext \
9089 conftest$ac_exeext conftest.$ac_ext
9090 CFLAGS=$ac_wine_try_cflags_saved
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9093 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9094 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9095 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9098 LIBWINE_SHAREDLIB="libwine.so"
9100 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9102 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9105 $as_echo_n "checking for -lEGL... " >&6; }
9106 if ${ac_cv_lib_soname_EGL+:} false; then :
9107 $as_echo_n "(cached) " >&6
9108 else
9109 ac_check_soname_save_LIBS=$LIBS
9110 LIBS="-lEGL $LIBS"
9111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9112 /* end confdefs.h. */
9114 /* Override any GCC internal prototype to avoid an error.
9115 Use char because int might match the return type of a GCC
9116 builtin and then its argument prototype would still apply. */
9117 #ifdef __cplusplus
9118 extern "C"
9119 #endif
9120 char eglGetProcAddress ();
9122 main ()
9124 return eglGetProcAddress ();
9126 return 0;
9128 _ACEOF
9129 if ac_fn_c_try_link "$LINENO"; then :
9130 case "$LIBEXT" in
9131 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9132 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'` ;;
9133 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9134 if ${ac_cv_lib_soname_EGL:+false} :; then :
9135 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9136 fi ;;
9137 esac
9139 rm -f core conftest.err conftest.$ac_objext \
9140 conftest$ac_exeext conftest.$ac_ext
9141 LIBS=$ac_check_soname_save_LIBS
9143 if ${ac_cv_lib_soname_EGL:+false} :; then :
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9145 $as_echo "not found" >&6; }
9147 else
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9149 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9151 cat >>confdefs.h <<_ACEOF
9152 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9153 _ACEOF
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9158 $as_echo_n "checking for -lGLESv2... " >&6; }
9159 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9160 $as_echo_n "(cached) " >&6
9161 else
9162 ac_check_soname_save_LIBS=$LIBS
9163 LIBS="-lGLESv2 $LIBS"
9164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9165 /* end confdefs.h. */
9167 /* Override any GCC internal prototype to avoid an error.
9168 Use char because int might match the return type of a GCC
9169 builtin and then its argument prototype would still apply. */
9170 #ifdef __cplusplus
9171 extern "C"
9172 #endif
9173 char glFlush ();
9175 main ()
9177 return glFlush ();
9179 return 0;
9181 _ACEOF
9182 if ac_fn_c_try_link "$LINENO"; then :
9183 case "$LIBEXT" in
9184 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9185 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'` ;;
9186 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9187 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9188 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9189 fi ;;
9190 esac
9192 rm -f core conftest.err conftest.$ac_objext \
9193 conftest$ac_exeext conftest.$ac_ext
9194 LIBS=$ac_check_soname_save_LIBS
9196 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9198 $as_echo "not found" >&6; }
9200 else
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9202 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9204 cat >>confdefs.h <<_ACEOF
9205 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9206 _ACEOF
9211 if test "x$exec_prefix" = xNONE
9212 then
9213 case $host_cpu in
9214 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9215 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9216 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9217 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9218 esac
9223 DLLFLAGS="$DLLFLAGS -fPIC"
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9225 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9226 if ${ac_cv_c_dll_gnuelf+:} false; then :
9227 $as_echo_n "(cached) " >&6
9228 else
9229 ac_wine_try_cflags_saved=$CFLAGS
9230 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9232 /* end confdefs.h. */
9233 void myfunc() {}
9234 _ACEOF
9235 if ac_fn_c_try_link "$LINENO"; then :
9236 ac_cv_c_dll_gnuelf="yes"
9237 else
9238 ac_cv_c_dll_gnuelf="no"
9240 rm -f core conftest.err conftest.$ac_objext \
9241 conftest$ac_exeext conftest.$ac_ext
9242 CFLAGS=$ac_wine_try_cflags_saved
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9245 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9246 if test "$ac_cv_c_dll_gnuelf" = "yes"
9247 then
9248 LIBWINE_LDFLAGS="-shared"
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9250 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9251 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9252 $as_echo_n "(cached) " >&6
9253 else
9254 ac_wine_try_cflags_saved=$CFLAGS
9255 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9257 /* end confdefs.h. */
9258 int main(int argc, char **argv) { return 0; }
9259 _ACEOF
9260 if ac_fn_c_try_link "$LINENO"; then :
9261 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9262 else
9263 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9265 rm -f core conftest.err conftest.$ac_objext \
9266 conftest$ac_exeext conftest.$ac_ext
9267 CFLAGS=$ac_wine_try_cflags_saved
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9270 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9271 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9272 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9273 else
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9275 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9276 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9277 $as_echo_n "(cached) " >&6
9278 else
9279 ac_wine_try_cflags_saved=$CFLAGS
9280 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9282 /* end confdefs.h. */
9283 int main(int argc, char **argv) { return 0; }
9284 _ACEOF
9285 if ac_fn_c_try_link "$LINENO"; then :
9286 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9287 else
9288 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9290 rm -f core conftest.err conftest.$ac_objext \
9291 conftest$ac_exeext conftest.$ac_ext
9292 CFLAGS=$ac_wine_try_cflags_saved
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9295 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9296 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9297 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9301 echo '{ global: *; };' >conftest.map
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9303 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9304 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9305 $as_echo_n "(cached) " >&6
9306 else
9307 ac_wine_try_cflags_saved=$CFLAGS
9308 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9310 /* end confdefs.h. */
9311 int main(int argc, char **argv) { return 0; }
9312 _ACEOF
9313 if ac_fn_c_try_link "$LINENO"; then :
9314 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9315 else
9316 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9318 rm -f core conftest.err conftest.$ac_objext \
9319 conftest$ac_exeext conftest.$ac_ext
9320 CFLAGS=$ac_wine_try_cflags_saved
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9323 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9324 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9325 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9327 rm -f conftest.map
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9330 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9331 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9332 $as_echo_n "(cached) " >&6
9333 else
9334 ac_wine_try_cflags_saved=$CFLAGS
9335 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9337 /* end confdefs.h. */
9338 int main(int argc, char **argv) { return 0; }
9339 _ACEOF
9340 if ac_fn_c_try_link "$LINENO"; then :
9341 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9342 else
9343 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9345 rm -f core conftest.err conftest.$ac_objext \
9346 conftest$ac_exeext conftest.$ac_ext
9347 CFLAGS=$ac_wine_try_cflags_saved
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9350 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9351 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9352 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9354 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9356 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9358 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9359 if eval \${$as_ac_var+:} false; then :
9360 $as_echo_n "(cached) " >&6
9361 else
9362 ac_wine_try_cflags_saved=$CFLAGS
9363 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9365 /* end confdefs.h. */
9366 int main(int argc, char **argv) { return 0; }
9367 _ACEOF
9368 if ac_fn_c_try_link "$LINENO"; then :
9369 eval "$as_ac_var=yes"
9370 else
9371 eval "$as_ac_var=no"
9373 rm -f core conftest.err conftest.$ac_objext \
9374 conftest$ac_exeext conftest.$ac_ext
9375 CFLAGS=$ac_wine_try_cflags_saved
9377 eval ac_res=\$$as_ac_var
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9379 $as_echo "$ac_res" >&6; }
9380 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9381 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9382 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9383 else
9384 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9386 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9387 if eval \${$as_ac_var+:} false; then :
9388 $as_echo_n "(cached) " >&6
9389 else
9390 ac_wine_try_cflags_saved=$CFLAGS
9391 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9393 /* end confdefs.h. */
9394 int main(int argc, char **argv) { return 0; }
9395 _ACEOF
9396 if ac_fn_c_try_link "$LINENO"; then :
9397 eval "$as_ac_var=yes"
9398 else
9399 eval "$as_ac_var=no"
9401 rm -f core conftest.err conftest.$ac_objext \
9402 conftest$ac_exeext conftest.$ac_ext
9403 CFLAGS=$ac_wine_try_cflags_saved
9405 eval ac_res=\$$as_ac_var
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9407 $as_echo "$ac_res" >&6; }
9408 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9409 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9410 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9415 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9416 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9417 $as_echo_n "(cached) " >&6
9418 else
9419 ac_wine_try_cflags_saved=$CFLAGS
9420 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9422 /* end confdefs.h. */
9423 int main(int argc, char **argv) { return 0; }
9424 _ACEOF
9425 if ac_fn_c_try_link "$LINENO"; then :
9426 ac_cv_cflags__Wl___enable_new_dtags=yes
9427 else
9428 ac_cv_cflags__Wl___enable_new_dtags=no
9430 rm -f core conftest.err conftest.$ac_objext \
9431 conftest$ac_exeext conftest.$ac_ext
9432 CFLAGS=$ac_wine_try_cflags_saved
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9435 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9436 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9437 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9440 case $host_cpu in
9441 *i[3456789]86* | x86_64 | *aarch64*)
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9443 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9444 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9445 $as_echo_n "(cached) " >&6
9446 else
9447 ac_wine_try_cflags_saved=$CFLAGS
9448 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9450 /* end confdefs.h. */
9451 int main(int argc, char **argv) { return 0; }
9452 _ACEOF
9453 if ac_fn_c_try_link "$LINENO"; then :
9454 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9455 else
9456 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9458 rm -f core conftest.err conftest.$ac_objext \
9459 conftest$ac_exeext conftest.$ac_ext
9460 CFLAGS=$ac_wine_try_cflags_saved
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9463 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9464 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9465 case $host_os in
9466 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9467 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9468 esac
9469 else
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9471 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9472 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9473 $as_echo_n "(cached) " >&6
9474 else
9475 ac_wine_try_cflags_saved=$CFLAGS
9476 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9478 /* end confdefs.h. */
9479 int main(int argc, char **argv) { return 0; }
9480 _ACEOF
9481 if ac_fn_c_try_link "$LINENO"; then :
9482 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9483 else
9484 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9486 rm -f core conftest.err conftest.$ac_objext \
9487 conftest$ac_exeext conftest.$ac_ext
9488 CFLAGS=$ac_wine_try_cflags_saved
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9491 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9492 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9493 case $host_os in
9494 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9495 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9496 esac
9498 # Extract the first word of "prelink", so it can be a program name with args.
9499 set dummy prelink; ac_word=$2
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9501 $as_echo_n "checking for $ac_word... " >&6; }
9502 if ${ac_cv_path_PRELINK+:} false; then :
9503 $as_echo_n "(cached) " >&6
9504 else
9505 case $PRELINK in
9506 [\\/]* | ?:[\\/]*)
9507 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9511 for as_dir in /sbin /usr/sbin $PATH
9513 IFS=$as_save_IFS
9514 test -z "$as_dir" && as_dir=.
9515 for ac_exec_ext in '' $ac_executable_extensions; do
9516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9517 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9519 break 2
9521 done
9522 done
9523 IFS=$as_save_IFS
9525 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9527 esac
9529 PRELINK=$ac_cv_path_PRELINK
9530 if test -n "$PRELINK"; then
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9532 $as_echo "$PRELINK" >&6; }
9533 else
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9535 $as_echo "no" >&6; }
9539 if test "x$PRELINK" = xfalse
9540 then
9541 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9545 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9546 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9547 $as_echo_n "(cached) " >&6
9548 else
9549 ac_wine_try_cflags_saved=$CFLAGS
9550 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9552 /* end confdefs.h. */
9553 int main(int argc, char **argv) { return 0; }
9554 _ACEOF
9555 if ac_fn_c_try_link "$LINENO"; then :
9556 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9557 else
9558 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9560 rm -f core conftest.err conftest.$ac_objext \
9561 conftest$ac_exeext conftest.$ac_ext
9562 CFLAGS=$ac_wine_try_cflags_saved
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9565 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9566 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9567 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9570 esac
9572 else
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9574 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9575 if ${ac_cv_c_dll_unixware+:} false; then :
9576 $as_echo_n "(cached) " >&6
9577 else
9578 ac_wine_try_cflags_saved=$CFLAGS
9579 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9581 /* end confdefs.h. */
9582 void myfunc() {}
9583 _ACEOF
9584 if ac_fn_c_try_link "$LINENO"; then :
9585 ac_cv_c_dll_unixware="yes"
9586 else
9587 ac_cv_c_dll_unixware="no"
9589 rm -f core conftest.err conftest.$ac_objext \
9590 conftest$ac_exeext conftest.$ac_ext
9591 CFLAGS=$ac_wine_try_cflags_saved
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9594 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9595 if test "$ac_cv_c_dll_unixware" = "yes"
9596 then
9597 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9600 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9602 LIBWINE_DEPENDS="wine.map"
9604 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9605 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9607 esac
9609 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9610 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9611 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9612 enable_winemac_drv=${enable_winemac_drv:-no}
9613 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9615 CROSSTARGET=""
9617 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9618 then
9619 case "$host_cpu" in
9620 aarch64*)
9621 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9622 arm*)
9623 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9624 i[3456789]86*)
9625 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
9626 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9627 mingw32-gcc" ;;
9628 x86_64)
9629 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
9630 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9632 ac_prefix_list="" ;;
9633 esac
9634 for ac_prog in $ac_prefix_list
9636 # Extract the first word of "$ac_prog", so it can be a program name with args.
9637 set dummy $ac_prog; ac_word=$2
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9639 $as_echo_n "checking for $ac_word... " >&6; }
9640 if ${ac_cv_prog_CROSSCC+:} false; then :
9641 $as_echo_n "(cached) " >&6
9642 else
9643 if test -n "$CROSSCC"; then
9644 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9645 else
9646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9647 for as_dir in $PATH
9649 IFS=$as_save_IFS
9650 test -z "$as_dir" && as_dir=.
9651 for ac_exec_ext in '' $ac_executable_extensions; do
9652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9653 ac_cv_prog_CROSSCC="$ac_prog"
9654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9655 break 2
9657 done
9658 done
9659 IFS=$as_save_IFS
9663 CROSSCC=$ac_cv_prog_CROSSCC
9664 if test -n "$CROSSCC"; then
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9666 $as_echo "$CROSSCC" >&6; }
9667 else
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9669 $as_echo "no" >&6; }
9673 test -n "$CROSSCC" && break
9674 done
9675 test -n "$CROSSCC" || CROSSCC="false"
9677 if test "$CROSSCC" != "false"
9678 then
9679 ac_save_CC="$CC"
9680 CC="$CROSSCC"
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9682 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9684 /* end confdefs.h. */
9687 main ()
9691 return 0;
9693 _ACEOF
9694 if ac_fn_c_try_compile "$LINENO"; then :
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9696 $as_echo "yes" >&6; }
9697 set x $CROSSCC
9698 shift
9699 while test $# -ge 1
9701 case "$1" in
9702 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9703 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9704 esac
9705 shift
9706 done
9707 else
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9709 $as_echo "no" >&6; }
9711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9712 CC="$ac_save_CC"
9713 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9719 if test "$ac_cv_header_pthread_h" = "yes"
9720 then
9721 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9722 if test "x$ac_cv_func_pthread_create" = xyes; then :
9724 else
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9726 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9727 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9728 $as_echo_n "(cached) " >&6
9729 else
9730 ac_check_lib_save_LIBS=$LIBS
9731 LIBS="-lpthread $LIBS"
9732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9733 /* end confdefs.h. */
9735 /* Override any GCC internal prototype to avoid an error.
9736 Use char because int might match the return type of a GCC
9737 builtin and then its argument prototype would still apply. */
9738 #ifdef __cplusplus
9739 extern "C"
9740 #endif
9741 char pthread_create ();
9743 main ()
9745 return pthread_create ();
9747 return 0;
9749 _ACEOF
9750 if ac_fn_c_try_link "$LINENO"; then :
9751 ac_cv_lib_pthread_pthread_create=yes
9752 else
9753 ac_cv_lib_pthread_pthread_create=no
9755 rm -f core conftest.err conftest.$ac_objext \
9756 conftest$ac_exeext conftest.$ac_ext
9757 LIBS=$ac_check_lib_save_LIBS
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9760 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9761 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9762 PTHREAD_LIBS="-lpthread"
9769 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9770 case "x$with_pthread" in
9771 xno) ;;
9772 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9773 Wine cannot support threads without libpthread.
9774 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9775 esac
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9781 $as_echo_n "checking for X... " >&6; }
9784 # Check whether --with-x was given.
9785 if test "${with_x+set}" = set; then :
9786 withval=$with_x;
9789 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9790 if test "x$with_x" = xno; then
9791 # The user explicitly disabled X.
9792 have_x=disabled
9793 else
9794 case $x_includes,$x_libraries in #(
9795 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9796 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9797 $as_echo_n "(cached) " >&6
9798 else
9799 # One or both of the vars are not set, and there is no cached value.
9800 ac_x_includes=no ac_x_libraries=no
9801 rm -f -r conftest.dir
9802 if mkdir conftest.dir; then
9803 cd conftest.dir
9804 cat >Imakefile <<'_ACEOF'
9805 incroot:
9806 @echo incroot='${INCROOT}'
9807 usrlibdir:
9808 @echo usrlibdir='${USRLIBDIR}'
9809 libdir:
9810 @echo libdir='${LIBDIR}'
9811 _ACEOF
9812 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9813 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9814 for ac_var in incroot usrlibdir libdir; do
9815 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9816 done
9817 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9818 for ac_extension in a so sl dylib la dll; do
9819 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9820 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9821 ac_im_usrlibdir=$ac_im_libdir; break
9823 done
9824 # Screen out bogus values from the imake configuration. They are
9825 # bogus both because they are the default anyway, and because
9826 # using them would break gcc on systems where it needs fixed includes.
9827 case $ac_im_incroot in
9828 /usr/include) ac_x_includes= ;;
9829 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9830 esac
9831 case $ac_im_usrlibdir in
9832 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9833 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9834 esac
9836 cd ..
9837 rm -f -r conftest.dir
9840 # Standard set of common directories for X headers.
9841 # Check X11 before X11Rn because it is often a symlink to the current release.
9842 ac_x_header_dirs='
9843 /usr/X11/include
9844 /usr/X11R7/include
9845 /usr/X11R6/include
9846 /usr/X11R5/include
9847 /usr/X11R4/include
9849 /usr/include/X11
9850 /usr/include/X11R7
9851 /usr/include/X11R6
9852 /usr/include/X11R5
9853 /usr/include/X11R4
9855 /usr/local/X11/include
9856 /usr/local/X11R7/include
9857 /usr/local/X11R6/include
9858 /usr/local/X11R5/include
9859 /usr/local/X11R4/include
9861 /usr/local/include/X11
9862 /usr/local/include/X11R7
9863 /usr/local/include/X11R6
9864 /usr/local/include/X11R5
9865 /usr/local/include/X11R4
9867 /usr/X386/include
9868 /usr/x386/include
9869 /usr/XFree86/include/X11
9871 /usr/include
9872 /usr/local/include
9873 /usr/unsupported/include
9874 /usr/athena/include
9875 /usr/local/x11r5/include
9876 /usr/lpp/Xamples/include
9878 /usr/openwin/include
9879 /usr/openwin/share/include'
9881 if test "$ac_x_includes" = no; then
9882 # Guess where to find include files, by looking for Xlib.h.
9883 # First, try using that file with no special directory specified.
9884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9885 /* end confdefs.h. */
9886 #include <X11/Xlib.h>
9887 _ACEOF
9888 if ac_fn_c_try_cpp "$LINENO"; then :
9889 # We can compile using X headers with no special include directory.
9890 ac_x_includes=
9891 else
9892 for ac_dir in $ac_x_header_dirs; do
9893 if test -r "$ac_dir/X11/Xlib.h"; then
9894 ac_x_includes=$ac_dir
9895 break
9897 done
9899 rm -f conftest.err conftest.i conftest.$ac_ext
9900 fi # $ac_x_includes = no
9902 if test "$ac_x_libraries" = no; then
9903 # Check for the libraries.
9904 # See if we find them without any special options.
9905 # Don't add to $LIBS permanently.
9906 ac_save_LIBS=$LIBS
9907 LIBS="-lX11 $LIBS"
9908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9909 /* end confdefs.h. */
9910 #include <X11/Xlib.h>
9912 main ()
9914 XrmInitialize ()
9916 return 0;
9918 _ACEOF
9919 if ac_fn_c_try_link "$LINENO"; then :
9920 LIBS=$ac_save_LIBS
9921 # We can link X programs with no special library path.
9922 ac_x_libraries=
9923 else
9924 LIBS=$ac_save_LIBS
9925 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9927 # Don't even attempt the hair of trying to link an X program!
9928 for ac_extension in a so sl dylib la dll; do
9929 if test -r "$ac_dir/libX11.$ac_extension"; then
9930 ac_x_libraries=$ac_dir
9931 break 2
9933 done
9934 done
9936 rm -f core conftest.err conftest.$ac_objext \
9937 conftest$ac_exeext conftest.$ac_ext
9938 fi # $ac_x_libraries = no
9940 case $ac_x_includes,$ac_x_libraries in #(
9941 no,* | *,no | *\'*)
9942 # Didn't find X, or a directory has "'" in its name.
9943 ac_cv_have_x="have_x=no";; #(
9945 # Record where we found X for the cache.
9946 ac_cv_have_x="have_x=yes\
9947 ac_x_includes='$ac_x_includes'\
9948 ac_x_libraries='$ac_x_libraries'"
9949 esac
9951 ;; #(
9952 *) have_x=yes;;
9953 esac
9954 eval "$ac_cv_have_x"
9955 fi # $with_x != no
9957 if test "$have_x" != yes; then
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9959 $as_echo "$have_x" >&6; }
9960 no_x=yes
9961 else
9962 # If each of the values was on the command line, it overrides each guess.
9963 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9964 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9965 # Update the cache value to reflect the command line values.
9966 ac_cv_have_x="have_x=yes\
9967 ac_x_includes='$x_includes'\
9968 ac_x_libraries='$x_libraries'"
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9970 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9973 if test "$no_x" = yes; then
9974 # Not all programs may use this symbol, but it does not hurt to define it.
9976 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9978 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9979 else
9980 if test -n "$x_includes"; then
9981 X_CFLAGS="$X_CFLAGS -I$x_includes"
9984 # It would also be nice to do this for all -L options, not just this one.
9985 if test -n "$x_libraries"; then
9986 X_LIBS="$X_LIBS -L$x_libraries"
9987 # For Solaris; some versions of Sun CC require a space after -R and
9988 # others require no space. Words are not sufficient . . . .
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9990 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9991 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9992 ac_xsave_c_werror_flag=$ac_c_werror_flag
9993 ac_c_werror_flag=yes
9994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9995 /* end confdefs.h. */
9998 main ()
10002 return 0;
10004 _ACEOF
10005 if ac_fn_c_try_link "$LINENO"; then :
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10007 $as_echo "no" >&6; }
10008 X_LIBS="$X_LIBS -R$x_libraries"
10009 else
10010 LIBS="$ac_xsave_LIBS -R $x_libraries"
10011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10012 /* end confdefs.h. */
10015 main ()
10019 return 0;
10021 _ACEOF
10022 if ac_fn_c_try_link "$LINENO"; then :
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10024 $as_echo "yes" >&6; }
10025 X_LIBS="$X_LIBS -R $x_libraries"
10026 else
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10028 $as_echo "neither works" >&6; }
10030 rm -f core conftest.err conftest.$ac_objext \
10031 conftest$ac_exeext conftest.$ac_ext
10033 rm -f core conftest.err conftest.$ac_objext \
10034 conftest$ac_exeext conftest.$ac_ext
10035 ac_c_werror_flag=$ac_xsave_c_werror_flag
10036 LIBS=$ac_xsave_LIBS
10039 # Check for system-dependent libraries X programs must link with.
10040 # Do this before checking for the system-independent R6 libraries
10041 # (-lICE), since we may need -lsocket or whatever for X linking.
10043 if test "$ISC" = yes; then
10044 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10045 else
10046 # Martyn Johnson says this is needed for Ultrix, if the X
10047 # libraries were built with DECnet support. And Karl Berry says
10048 # the Alpha needs dnet_stub (dnet does not exist).
10049 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10051 /* end confdefs.h. */
10053 /* Override any GCC internal prototype to avoid an error.
10054 Use char because int might match the return type of a GCC
10055 builtin and then its argument prototype would still apply. */
10056 #ifdef __cplusplus
10057 extern "C"
10058 #endif
10059 char XOpenDisplay ();
10061 main ()
10063 return XOpenDisplay ();
10065 return 0;
10067 _ACEOF
10068 if ac_fn_c_try_link "$LINENO"; then :
10070 else
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10072 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10073 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10074 $as_echo_n "(cached) " >&6
10075 else
10076 ac_check_lib_save_LIBS=$LIBS
10077 LIBS="-ldnet $LIBS"
10078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10079 /* end confdefs.h. */
10081 /* Override any GCC internal prototype to avoid an error.
10082 Use char because int might match the return type of a GCC
10083 builtin and then its argument prototype would still apply. */
10084 #ifdef __cplusplus
10085 extern "C"
10086 #endif
10087 char dnet_ntoa ();
10089 main ()
10091 return dnet_ntoa ();
10093 return 0;
10095 _ACEOF
10096 if ac_fn_c_try_link "$LINENO"; then :
10097 ac_cv_lib_dnet_dnet_ntoa=yes
10098 else
10099 ac_cv_lib_dnet_dnet_ntoa=no
10101 rm -f core conftest.err conftest.$ac_objext \
10102 conftest$ac_exeext conftest.$ac_ext
10103 LIBS=$ac_check_lib_save_LIBS
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10106 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10107 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10108 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10111 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10113 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10114 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10115 $as_echo_n "(cached) " >&6
10116 else
10117 ac_check_lib_save_LIBS=$LIBS
10118 LIBS="-ldnet_stub $LIBS"
10119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10120 /* end confdefs.h. */
10122 /* Override any GCC internal prototype to avoid an error.
10123 Use char because int might match the return type of a GCC
10124 builtin and then its argument prototype would still apply. */
10125 #ifdef __cplusplus
10126 extern "C"
10127 #endif
10128 char dnet_ntoa ();
10130 main ()
10132 return dnet_ntoa ();
10134 return 0;
10136 _ACEOF
10137 if ac_fn_c_try_link "$LINENO"; then :
10138 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10139 else
10140 ac_cv_lib_dnet_stub_dnet_ntoa=no
10142 rm -f core conftest.err conftest.$ac_objext \
10143 conftest$ac_exeext conftest.$ac_ext
10144 LIBS=$ac_check_lib_save_LIBS
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10147 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10148 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10149 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10154 rm -f core conftest.err conftest.$ac_objext \
10155 conftest$ac_exeext conftest.$ac_ext
10156 LIBS="$ac_xsave_LIBS"
10158 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10159 # to get the SysV transport functions.
10160 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10161 # needs -lnsl.
10162 # The nsl library prevents programs from opening the X display
10163 # on Irix 5.2, according to T.E. Dickey.
10164 # The functions gethostbyname, getservbyname, and inet_addr are
10165 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10166 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10167 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10171 if test $ac_cv_func_gethostbyname = no; then
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10173 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10174 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10175 $as_echo_n "(cached) " >&6
10176 else
10177 ac_check_lib_save_LIBS=$LIBS
10178 LIBS="-lnsl $LIBS"
10179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10180 /* end confdefs.h. */
10182 /* Override any GCC internal prototype to avoid an error.
10183 Use char because int might match the return type of a GCC
10184 builtin and then its argument prototype would still apply. */
10185 #ifdef __cplusplus
10186 extern "C"
10187 #endif
10188 char gethostbyname ();
10190 main ()
10192 return gethostbyname ();
10194 return 0;
10196 _ACEOF
10197 if ac_fn_c_try_link "$LINENO"; then :
10198 ac_cv_lib_nsl_gethostbyname=yes
10199 else
10200 ac_cv_lib_nsl_gethostbyname=no
10202 rm -f core conftest.err conftest.$ac_objext \
10203 conftest$ac_exeext conftest.$ac_ext
10204 LIBS=$ac_check_lib_save_LIBS
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10207 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10208 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10209 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10212 if test $ac_cv_lib_nsl_gethostbyname = no; then
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10214 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10215 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10216 $as_echo_n "(cached) " >&6
10217 else
10218 ac_check_lib_save_LIBS=$LIBS
10219 LIBS="-lbsd $LIBS"
10220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10221 /* end confdefs.h. */
10223 /* Override any GCC internal prototype to avoid an error.
10224 Use char because int might match the return type of a GCC
10225 builtin and then its argument prototype would still apply. */
10226 #ifdef __cplusplus
10227 extern "C"
10228 #endif
10229 char gethostbyname ();
10231 main ()
10233 return gethostbyname ();
10235 return 0;
10237 _ACEOF
10238 if ac_fn_c_try_link "$LINENO"; then :
10239 ac_cv_lib_bsd_gethostbyname=yes
10240 else
10241 ac_cv_lib_bsd_gethostbyname=no
10243 rm -f core conftest.err conftest.$ac_objext \
10244 conftest$ac_exeext conftest.$ac_ext
10245 LIBS=$ac_check_lib_save_LIBS
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10248 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10249 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10250 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10256 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10257 # socket/setsockopt and other routines are undefined under SCO ODT
10258 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10259 # on later versions), says Simon Leinen: it contains gethostby*
10260 # variants that don't use the name server (or something). -lsocket
10261 # must be given before -lnsl if both are needed. We assume that
10262 # if connect needs -lnsl, so does gethostbyname.
10263 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10264 if test "x$ac_cv_func_connect" = xyes; then :
10268 if test $ac_cv_func_connect = no; then
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10270 $as_echo_n "checking for connect in -lsocket... " >&6; }
10271 if ${ac_cv_lib_socket_connect+:} false; then :
10272 $as_echo_n "(cached) " >&6
10273 else
10274 ac_check_lib_save_LIBS=$LIBS
10275 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10277 /* end confdefs.h. */
10279 /* Override any GCC internal prototype to avoid an error.
10280 Use char because int might match the return type of a GCC
10281 builtin and then its argument prototype would still apply. */
10282 #ifdef __cplusplus
10283 extern "C"
10284 #endif
10285 char connect ();
10287 main ()
10289 return connect ();
10291 return 0;
10293 _ACEOF
10294 if ac_fn_c_try_link "$LINENO"; then :
10295 ac_cv_lib_socket_connect=yes
10296 else
10297 ac_cv_lib_socket_connect=no
10299 rm -f core conftest.err conftest.$ac_objext \
10300 conftest$ac_exeext conftest.$ac_ext
10301 LIBS=$ac_check_lib_save_LIBS
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10304 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10305 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10306 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10311 # Guillermo Gomez says -lposix is necessary on A/UX.
10312 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10313 if test "x$ac_cv_func_remove" = xyes; then :
10317 if test $ac_cv_func_remove = no; then
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10319 $as_echo_n "checking for remove in -lposix... " >&6; }
10320 if ${ac_cv_lib_posix_remove+:} false; then :
10321 $as_echo_n "(cached) " >&6
10322 else
10323 ac_check_lib_save_LIBS=$LIBS
10324 LIBS="-lposix $LIBS"
10325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10326 /* end confdefs.h. */
10328 /* Override any GCC internal prototype to avoid an error.
10329 Use char because int might match the return type of a GCC
10330 builtin and then its argument prototype would still apply. */
10331 #ifdef __cplusplus
10332 extern "C"
10333 #endif
10334 char remove ();
10336 main ()
10338 return remove ();
10340 return 0;
10342 _ACEOF
10343 if ac_fn_c_try_link "$LINENO"; then :
10344 ac_cv_lib_posix_remove=yes
10345 else
10346 ac_cv_lib_posix_remove=no
10348 rm -f core conftest.err conftest.$ac_objext \
10349 conftest$ac_exeext conftest.$ac_ext
10350 LIBS=$ac_check_lib_save_LIBS
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10353 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10354 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10355 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10360 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10361 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10362 if test "x$ac_cv_func_shmat" = xyes; then :
10366 if test $ac_cv_func_shmat = no; then
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10368 $as_echo_n "checking for shmat in -lipc... " >&6; }
10369 if ${ac_cv_lib_ipc_shmat+:} false; then :
10370 $as_echo_n "(cached) " >&6
10371 else
10372 ac_check_lib_save_LIBS=$LIBS
10373 LIBS="-lipc $LIBS"
10374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10377 /* Override any GCC internal prototype to avoid an error.
10378 Use char because int might match the return type of a GCC
10379 builtin and then its argument prototype would still apply. */
10380 #ifdef __cplusplus
10381 extern "C"
10382 #endif
10383 char shmat ();
10385 main ()
10387 return shmat ();
10389 return 0;
10391 _ACEOF
10392 if ac_fn_c_try_link "$LINENO"; then :
10393 ac_cv_lib_ipc_shmat=yes
10394 else
10395 ac_cv_lib_ipc_shmat=no
10397 rm -f core conftest.err conftest.$ac_objext \
10398 conftest$ac_exeext conftest.$ac_ext
10399 LIBS=$ac_check_lib_save_LIBS
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10402 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10403 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10404 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10410 # Check for libraries that X11R6 Xt/Xaw programs need.
10411 ac_save_LDFLAGS=$LDFLAGS
10412 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10413 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10414 # check for ICE first), but we must link in the order -lSM -lICE or
10415 # we get undefined symbols. So assume we have SM if we have ICE.
10416 # These have to be linked with before -lX11, unlike the other
10417 # libraries we check for below, so use a different variable.
10418 # John Interrante, Karl Berry
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10420 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10421 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10422 $as_echo_n "(cached) " >&6
10423 else
10424 ac_check_lib_save_LIBS=$LIBS
10425 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10427 /* end confdefs.h. */
10429 /* Override any GCC internal prototype to avoid an error.
10430 Use char because int might match the return type of a GCC
10431 builtin and then its argument prototype would still apply. */
10432 #ifdef __cplusplus
10433 extern "C"
10434 #endif
10435 char IceConnectionNumber ();
10437 main ()
10439 return IceConnectionNumber ();
10441 return 0;
10443 _ACEOF
10444 if ac_fn_c_try_link "$LINENO"; then :
10445 ac_cv_lib_ICE_IceConnectionNumber=yes
10446 else
10447 ac_cv_lib_ICE_IceConnectionNumber=no
10449 rm -f core conftest.err conftest.$ac_objext \
10450 conftest$ac_exeext conftest.$ac_ext
10451 LIBS=$ac_check_lib_save_LIBS
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10454 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10455 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10456 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10459 LDFLAGS=$ac_save_LDFLAGS
10464 if test "$have_x" = "yes"
10465 then
10466 ac_save_CPPFLAGS="$CPPFLAGS"
10467 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10470 $as_echo_n "checking for -lX11... " >&6; }
10471 if ${ac_cv_lib_soname_X11+:} false; then :
10472 $as_echo_n "(cached) " >&6
10473 else
10474 ac_check_soname_save_LIBS=$LIBS
10475 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10477 /* end confdefs.h. */
10479 /* Override any GCC internal prototype to avoid an error.
10480 Use char because int might match the return type of a GCC
10481 builtin and then its argument prototype would still apply. */
10482 #ifdef __cplusplus
10483 extern "C"
10484 #endif
10485 char XCreateWindow ();
10487 main ()
10489 return XCreateWindow ();
10491 return 0;
10493 _ACEOF
10494 if ac_fn_c_try_link "$LINENO"; then :
10495 case "$LIBEXT" in
10496 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10497 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'` ;;
10498 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10499 if ${ac_cv_lib_soname_X11:+false} :; then :
10500 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10501 fi ;;
10502 esac
10504 rm -f core conftest.err conftest.$ac_objext \
10505 conftest$ac_exeext conftest.$ac_ext
10506 LIBS=$ac_check_soname_save_LIBS
10508 if ${ac_cv_lib_soname_X11:+false} :; then :
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10510 $as_echo "not found" >&6; }
10512 else
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10514 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10516 cat >>confdefs.h <<_ACEOF
10517 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10518 _ACEOF
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10523 $as_echo_n "checking for -lXext... " >&6; }
10524 if ${ac_cv_lib_soname_Xext+:} false; then :
10525 $as_echo_n "(cached) " >&6
10526 else
10527 ac_check_soname_save_LIBS=$LIBS
10528 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10530 /* end confdefs.h. */
10532 /* Override any GCC internal prototype to avoid an error.
10533 Use char because int might match the return type of a GCC
10534 builtin and then its argument prototype would still apply. */
10535 #ifdef __cplusplus
10536 extern "C"
10537 #endif
10538 char XextCreateExtension ();
10540 main ()
10542 return XextCreateExtension ();
10544 return 0;
10546 _ACEOF
10547 if ac_fn_c_try_link "$LINENO"; then :
10548 case "$LIBEXT" in
10549 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10550 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'` ;;
10551 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10552 if ${ac_cv_lib_soname_Xext:+false} :; then :
10553 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10554 fi ;;
10555 esac
10557 rm -f core conftest.err conftest.$ac_objext \
10558 conftest$ac_exeext conftest.$ac_ext
10559 LIBS=$ac_check_soname_save_LIBS
10561 if ${ac_cv_lib_soname_Xext:+false} :; then :
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10563 $as_echo "not found" >&6; }
10565 else
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10567 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10569 cat >>confdefs.h <<_ACEOF
10570 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10571 _ACEOF
10573 X_LIBS="$X_LIBS -lXext"
10575 X_LIBS="$X_LIBS -lX11"
10577 for ac_header in X11/Xlib.h \
10578 X11/XKBlib.h \
10579 X11/Xutil.h \
10580 X11/Xcursor/Xcursor.h \
10581 X11/extensions/shape.h \
10582 X11/extensions/XInput.h \
10583 X11/extensions/XInput2.h \
10584 X11/extensions/XShm.h \
10585 X11/extensions/Xcomposite.h \
10586 X11/extensions/Xfixes.h \
10587 X11/extensions/Xinerama.h \
10588 X11/extensions/Xrandr.h \
10589 X11/extensions/Xrender.h \
10590 X11/extensions/xf86vmode.h \
10591 X11/extensions/xf86vmproto.h
10592 do :
10593 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10594 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10595 # include <X11/Xlib.h>
10596 #endif
10597 #ifdef HAVE_X11_XUTIL_H
10598 # include <X11/Xutil.h>
10599 #endif
10601 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10602 cat >>confdefs.h <<_ACEOF
10603 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10604 _ACEOF
10608 done
10611 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10612 then
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10614 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10615 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10616 $as_echo_n "(cached) " >&6
10617 else
10618 ac_check_lib_save_LIBS=$LIBS
10619 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10621 /* end confdefs.h. */
10623 /* Override any GCC internal prototype to avoid an error.
10624 Use char because int might match the return type of a GCC
10625 builtin and then its argument prototype would still apply. */
10626 #ifdef __cplusplus
10627 extern "C"
10628 #endif
10629 char XkbQueryExtension ();
10631 main ()
10633 return XkbQueryExtension ();
10635 return 0;
10637 _ACEOF
10638 if ac_fn_c_try_link "$LINENO"; then :
10639 ac_cv_lib_X11_XkbQueryExtension=yes
10640 else
10641 ac_cv_lib_X11_XkbQueryExtension=no
10643 rm -f core conftest.err conftest.$ac_objext \
10644 conftest$ac_exeext conftest.$ac_ext
10645 LIBS=$ac_check_lib_save_LIBS
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10648 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10649 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10651 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10657 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10658 then
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10660 $as_echo_n "checking for -lXcursor... " >&6; }
10661 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10662 $as_echo_n "(cached) " >&6
10663 else
10664 ac_check_soname_save_LIBS=$LIBS
10665 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10669 /* Override any GCC internal prototype to avoid an error.
10670 Use char because int might match the return type of a GCC
10671 builtin and then its argument prototype would still apply. */
10672 #ifdef __cplusplus
10673 extern "C"
10674 #endif
10675 char XcursorImageLoadCursor ();
10677 main ()
10679 return XcursorImageLoadCursor ();
10681 return 0;
10683 _ACEOF
10684 if ac_fn_c_try_link "$LINENO"; then :
10685 case "$LIBEXT" in
10686 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10687 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'` ;;
10688 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10689 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10690 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10691 fi ;;
10692 esac
10694 rm -f core conftest.err conftest.$ac_objext \
10695 conftest$ac_exeext conftest.$ac_ext
10696 LIBS=$ac_check_soname_save_LIBS
10698 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10700 $as_echo "not found" >&6; }
10702 else
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10704 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10706 cat >>confdefs.h <<_ACEOF
10707 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10708 _ACEOF
10713 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10714 case "x$with_xcursor" in
10715 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10716 xno) ;;
10717 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10718 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10719 esac
10723 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10724 then
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10726 $as_echo_n "checking for -lXi... " >&6; }
10727 if ${ac_cv_lib_soname_Xi+:} false; then :
10728 $as_echo_n "(cached) " >&6
10729 else
10730 ac_check_soname_save_LIBS=$LIBS
10731 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10733 /* end confdefs.h. */
10735 /* Override any GCC internal prototype to avoid an error.
10736 Use char because int might match the return type of a GCC
10737 builtin and then its argument prototype would still apply. */
10738 #ifdef __cplusplus
10739 extern "C"
10740 #endif
10741 char XOpenDevice ();
10743 main ()
10745 return XOpenDevice ();
10747 return 0;
10749 _ACEOF
10750 if ac_fn_c_try_link "$LINENO"; then :
10751 case "$LIBEXT" in
10752 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10753 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'` ;;
10754 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10755 if ${ac_cv_lib_soname_Xi:+false} :; then :
10756 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10757 fi ;;
10758 esac
10760 rm -f core conftest.err conftest.$ac_objext \
10761 conftest$ac_exeext conftest.$ac_ext
10762 LIBS=$ac_check_soname_save_LIBS
10764 if ${ac_cv_lib_soname_Xi:+false} :; then :
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10766 $as_echo "not found" >&6; }
10768 else
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10770 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10772 cat >>confdefs.h <<_ACEOF
10773 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10774 _ACEOF
10779 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10780 case "x$with_xinput" in
10781 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10782 xno) ;;
10783 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10784 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10785 esac
10789 if test "x$ac_cv_lib_soname_Xi" != x
10790 then
10791 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10792 case "x$with_xinput2" in
10793 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10794 xno) ;;
10795 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10796 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10797 esac
10802 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10803 then
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10805 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10806 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10807 $as_echo_n "(cached) " >&6
10808 else
10809 ac_check_lib_save_LIBS=$LIBS
10810 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10812 /* end confdefs.h. */
10814 /* Override any GCC internal prototype to avoid an error.
10815 Use char because int might match the return type of a GCC
10816 builtin and then its argument prototype would still apply. */
10817 #ifdef __cplusplus
10818 extern "C"
10819 #endif
10820 char XShmQueryExtension ();
10822 main ()
10824 return XShmQueryExtension ();
10826 return 0;
10828 _ACEOF
10829 if ac_fn_c_try_link "$LINENO"; then :
10830 ac_cv_lib_Xext_XShmQueryExtension=yes
10831 else
10832 ac_cv_lib_Xext_XShmQueryExtension=no
10834 rm -f core conftest.err conftest.$ac_objext \
10835 conftest$ac_exeext conftest.$ac_ext
10836 LIBS=$ac_check_lib_save_LIBS
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10839 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10840 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10842 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10847 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10848 case "x$with_xshm" in
10849 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10850 xno) ;;
10851 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10852 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10853 esac
10857 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10858 then
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10860 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10861 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10862 $as_echo_n "(cached) " >&6
10863 else
10864 ac_check_lib_save_LIBS=$LIBS
10865 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10867 /* end confdefs.h. */
10869 /* Override any GCC internal prototype to avoid an error.
10870 Use char because int might match the return type of a GCC
10871 builtin and then its argument prototype would still apply. */
10872 #ifdef __cplusplus
10873 extern "C"
10874 #endif
10875 char XShapeQueryExtension ();
10877 main ()
10879 return XShapeQueryExtension ();
10881 return 0;
10883 _ACEOF
10884 if ac_fn_c_try_link "$LINENO"; then :
10885 ac_cv_lib_Xext_XShapeQueryExtension=yes
10886 else
10887 ac_cv_lib_Xext_XShapeQueryExtension=no
10889 rm -f core conftest.err conftest.$ac_objext \
10890 conftest$ac_exeext conftest.$ac_ext
10891 LIBS=$ac_check_lib_save_LIBS
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10894 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10895 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10897 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10902 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10903 case "x$with_xshape" in
10904 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10905 xno) ;;
10906 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10907 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10908 esac
10912 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10913 then
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10915 $as_echo_n "checking for -lXxf86vm... " >&6; }
10916 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10917 $as_echo_n "(cached) " >&6
10918 else
10919 ac_check_soname_save_LIBS=$LIBS
10920 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10924 /* Override any GCC internal prototype to avoid an error.
10925 Use char because int might match the return type of a GCC
10926 builtin and then its argument prototype would still apply. */
10927 #ifdef __cplusplus
10928 extern "C"
10929 #endif
10930 char XF86VidModeQueryExtension ();
10932 main ()
10934 return XF86VidModeQueryExtension ();
10936 return 0;
10938 _ACEOF
10939 if ac_fn_c_try_link "$LINENO"; then :
10940 case "$LIBEXT" in
10941 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10942 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'` ;;
10943 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10944 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10945 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10946 fi ;;
10947 esac
10949 rm -f core conftest.err conftest.$ac_objext \
10950 conftest$ac_exeext conftest.$ac_ext
10951 LIBS=$ac_check_soname_save_LIBS
10953 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10955 $as_echo "not found" >&6; }
10957 else
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10959 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10961 cat >>confdefs.h <<_ACEOF
10962 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10963 _ACEOF
10968 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10969 case "x$with_xxf86vm" in
10970 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10971 xno) ;;
10972 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10973 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10974 esac
10978 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10979 then
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10981 $as_echo_n "checking for -lXrender... " >&6; }
10982 if ${ac_cv_lib_soname_Xrender+:} false; then :
10983 $as_echo_n "(cached) " >&6
10984 else
10985 ac_check_soname_save_LIBS=$LIBS
10986 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10990 /* Override any GCC internal prototype to avoid an error.
10991 Use char because int might match the return type of a GCC
10992 builtin and then its argument prototype would still apply. */
10993 #ifdef __cplusplus
10994 extern "C"
10995 #endif
10996 char XRenderQueryExtension ();
10998 main ()
11000 return XRenderQueryExtension ();
11002 return 0;
11004 _ACEOF
11005 if ac_fn_c_try_link "$LINENO"; then :
11006 case "$LIBEXT" in
11007 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11008 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'` ;;
11009 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11010 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11011 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11012 fi ;;
11013 esac
11015 rm -f core conftest.err conftest.$ac_objext \
11016 conftest$ac_exeext conftest.$ac_ext
11017 LIBS=$ac_check_soname_save_LIBS
11019 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11021 $as_echo "not found" >&6; }
11023 else
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11025 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11027 cat >>confdefs.h <<_ACEOF
11028 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11029 _ACEOF
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11032 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11033 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11034 $as_echo_n "(cached) " >&6
11035 else
11036 ac_check_lib_save_LIBS=$LIBS
11037 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11039 /* end confdefs.h. */
11041 /* Override any GCC internal prototype to avoid an error.
11042 Use char because int might match the return type of a GCC
11043 builtin and then its argument prototype would still apply. */
11044 #ifdef __cplusplus
11045 extern "C"
11046 #endif
11047 char XRenderSetPictureTransform ();
11049 main ()
11051 return XRenderSetPictureTransform ();
11053 return 0;
11055 _ACEOF
11056 if ac_fn_c_try_link "$LINENO"; then :
11057 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11058 else
11059 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11061 rm -f core conftest.err conftest.$ac_objext \
11062 conftest$ac_exeext conftest.$ac_ext
11063 LIBS=$ac_check_lib_save_LIBS
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11066 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11067 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11069 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11074 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11075 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11076 $as_echo_n "(cached) " >&6
11077 else
11078 ac_check_lib_save_LIBS=$LIBS
11079 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11081 /* end confdefs.h. */
11083 /* Override any GCC internal prototype to avoid an error.
11084 Use char because int might match the return type of a GCC
11085 builtin and then its argument prototype would still apply. */
11086 #ifdef __cplusplus
11087 extern "C"
11088 #endif
11089 char XRenderCreateLinearGradient ();
11091 main ()
11093 return XRenderCreateLinearGradient ();
11095 return 0;
11097 _ACEOF
11098 if ac_fn_c_try_link "$LINENO"; then :
11099 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11100 else
11101 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11103 rm -f core conftest.err conftest.$ac_objext \
11104 conftest$ac_exeext conftest.$ac_ext
11105 LIBS=$ac_check_lib_save_LIBS
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11108 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11109 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11111 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11118 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11119 case "x$with_xrender" in
11120 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11121 xno) ;;
11122 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11123 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11124 esac
11128 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11129 then
11130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11131 /* end confdefs.h. */
11132 #include <X11/Xlib.h>
11133 #include <X11/extensions/Xrandr.h>
11135 main ()
11137 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11139 return 0;
11141 _ACEOF
11142 if ac_fn_c_try_compile "$LINENO"; then :
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11144 $as_echo_n "checking for -lXrandr... " >&6; }
11145 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11146 $as_echo_n "(cached) " >&6
11147 else
11148 ac_check_soname_save_LIBS=$LIBS
11149 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11151 /* end confdefs.h. */
11153 /* Override any GCC internal prototype to avoid an error.
11154 Use char because int might match the return type of a GCC
11155 builtin and then its argument prototype would still apply. */
11156 #ifdef __cplusplus
11157 extern "C"
11158 #endif
11159 char XRRQueryExtension ();
11161 main ()
11163 return XRRQueryExtension ();
11165 return 0;
11167 _ACEOF
11168 if ac_fn_c_try_link "$LINENO"; then :
11169 case "$LIBEXT" in
11170 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11171 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'` ;;
11172 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11173 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11174 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11175 fi ;;
11176 esac
11178 rm -f core conftest.err conftest.$ac_objext \
11179 conftest$ac_exeext conftest.$ac_ext
11180 LIBS=$ac_check_soname_save_LIBS
11182 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11184 $as_echo "not found" >&6; }
11186 else
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11188 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11190 cat >>confdefs.h <<_ACEOF
11191 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11192 _ACEOF
11194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11195 /* end confdefs.h. */
11196 #include <X11/Xlib.h>
11197 #include <X11/extensions/Xrandr.h>
11199 main ()
11201 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11203 return 0;
11205 _ACEOF
11206 if ac_fn_c_try_compile "$LINENO"; then :
11208 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11216 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11217 case "x$with_xrandr" in
11218 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11219 xno) ;;
11220 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11221 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11222 esac
11226 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11227 then
11228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11229 /* end confdefs.h. */
11230 #include <X11/Xlib.h>
11231 #include <X11/extensions/Xfixes.h>
11233 main ()
11235 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11237 return 0;
11239 _ACEOF
11240 if ac_fn_c_try_compile "$LINENO"; then :
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11242 $as_echo_n "checking for -lXfixes... " >&6; }
11243 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11244 $as_echo_n "(cached) " >&6
11245 else
11246 ac_check_soname_save_LIBS=$LIBS
11247 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11249 /* end confdefs.h. */
11251 /* Override any GCC internal prototype to avoid an error.
11252 Use char because int might match the return type of a GCC
11253 builtin and then its argument prototype would still apply. */
11254 #ifdef __cplusplus
11255 extern "C"
11256 #endif
11257 char XFixesQueryVersion ();
11259 main ()
11261 return XFixesQueryVersion ();
11263 return 0;
11265 _ACEOF
11266 if ac_fn_c_try_link "$LINENO"; then :
11267 case "$LIBEXT" in
11268 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11269 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'` ;;
11270 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11271 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11272 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11273 fi ;;
11274 esac
11276 rm -f core conftest.err conftest.$ac_objext \
11277 conftest$ac_exeext conftest.$ac_ext
11278 LIBS=$ac_check_soname_save_LIBS
11280 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11282 $as_echo "not found" >&6; }
11284 else
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11286 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11288 cat >>confdefs.h <<_ACEOF
11289 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11290 _ACEOF
11295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11297 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11298 case "x$with_xfixes" in
11299 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11300 xno) ;;
11301 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11302 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11303 esac
11307 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11308 then
11309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11310 /* end confdefs.h. */
11311 #include <X11/Xlib.h>
11312 #include <X11/extensions/Xinerama.h>
11314 main ()
11316 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11318 return 0;
11320 _ACEOF
11321 if ac_fn_c_try_compile "$LINENO"; then :
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11323 $as_echo_n "checking for -lXinerama... " >&6; }
11324 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11325 $as_echo_n "(cached) " >&6
11326 else
11327 ac_check_soname_save_LIBS=$LIBS
11328 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h. */
11332 /* Override any GCC internal prototype to avoid an error.
11333 Use char because int might match the return type of a GCC
11334 builtin and then its argument prototype would still apply. */
11335 #ifdef __cplusplus
11336 extern "C"
11337 #endif
11338 char XineramaQueryScreens ();
11340 main ()
11342 return XineramaQueryScreens ();
11344 return 0;
11346 _ACEOF
11347 if ac_fn_c_try_link "$LINENO"; then :
11348 case "$LIBEXT" in
11349 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11350 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'` ;;
11351 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11352 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11353 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11354 fi ;;
11355 esac
11357 rm -f core conftest.err conftest.$ac_objext \
11358 conftest$ac_exeext conftest.$ac_ext
11359 LIBS=$ac_check_soname_save_LIBS
11361 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11363 $as_echo "not found" >&6; }
11365 else
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11367 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11369 cat >>confdefs.h <<_ACEOF
11370 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11371 _ACEOF
11376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11378 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11379 case "x$with_xinerama" in
11380 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11381 xno) ;;
11382 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11383 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11384 esac
11388 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11389 then
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11391 $as_echo_n "checking for -lXcomposite... " >&6; }
11392 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11393 $as_echo_n "(cached) " >&6
11394 else
11395 ac_check_soname_save_LIBS=$LIBS
11396 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h. */
11400 /* Override any GCC internal prototype to avoid an error.
11401 Use char because int might match the return type of a GCC
11402 builtin and then its argument prototype would still apply. */
11403 #ifdef __cplusplus
11404 extern "C"
11405 #endif
11406 char XCompositeRedirectWindow ();
11408 main ()
11410 return XCompositeRedirectWindow ();
11412 return 0;
11414 _ACEOF
11415 if ac_fn_c_try_link "$LINENO"; then :
11416 case "$LIBEXT" in
11417 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11418 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'` ;;
11419 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11420 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11421 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11422 fi ;;
11423 esac
11425 rm -f core conftest.err conftest.$ac_objext \
11426 conftest$ac_exeext conftest.$ac_ext
11427 LIBS=$ac_check_soname_save_LIBS
11429 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11431 $as_echo "not found" >&6; }
11433 else
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11435 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11437 cat >>confdefs.h <<_ACEOF
11438 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11439 _ACEOF
11444 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11445 case "x$with_xcomposite" in
11446 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11447 xno) ;;
11448 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11449 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11450 esac
11454 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11455 #include <X11/Xlib.h>
11456 #endif
11458 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11460 cat >>confdefs.h <<_ACEOF
11461 #define HAVE_XICCALLBACK_CALLBACK 1
11462 _ACEOF
11466 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11467 #include <X11/Xlib.h>
11468 #endif
11470 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11472 cat >>confdefs.h <<_ACEOF
11473 #define HAVE_XEVENT_XCOOKIE 1
11474 _ACEOF
11481 opengl_msg=""
11482 if test "x$with_opengl" != "xno"
11483 then
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11485 $as_echo_n "checking for -lGL... " >&6; }
11486 if ${ac_cv_lib_soname_GL+:} false; then :
11487 $as_echo_n "(cached) " >&6
11488 else
11489 ac_check_soname_save_LIBS=$LIBS
11490 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11492 /* end confdefs.h. */
11494 /* Override any GCC internal prototype to avoid an error.
11495 Use char because int might match the return type of a GCC
11496 builtin and then its argument prototype would still apply. */
11497 #ifdef __cplusplus
11498 extern "C"
11499 #endif
11500 char glXCreateContext ();
11502 main ()
11504 return glXCreateContext ();
11506 return 0;
11508 _ACEOF
11509 if ac_fn_c_try_link "$LINENO"; then :
11510 case "$LIBEXT" in
11511 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11512 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'` ;;
11513 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11514 if ${ac_cv_lib_soname_GL:+false} :; then :
11515 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11516 fi ;;
11517 esac
11519 rm -f core conftest.err conftest.$ac_objext \
11520 conftest$ac_exeext conftest.$ac_ext
11521 LIBS=$ac_check_soname_save_LIBS
11523 if ${ac_cv_lib_soname_GL:+false} :; then :
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11525 $as_echo "not found" >&6; }
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11527 $as_echo_n "checking for -lGL... " >&6; }
11528 if ${ac_cv_lib_soname_GL+:} false; then :
11529 $as_echo_n "(cached) " >&6
11530 else
11531 ac_check_soname_save_LIBS=$LIBS
11532 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"
11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h. */
11536 /* Override any GCC internal prototype to avoid an error.
11537 Use char because int might match the return type of a GCC
11538 builtin and then its argument prototype would still apply. */
11539 #ifdef __cplusplus
11540 extern "C"
11541 #endif
11542 char glXCreateContext ();
11544 main ()
11546 return glXCreateContext ();
11548 return 0;
11550 _ACEOF
11551 if ac_fn_c_try_link "$LINENO"; then :
11552 case "$LIBEXT" in
11553 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11554 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'` ;;
11555 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11556 if ${ac_cv_lib_soname_GL:+false} :; then :
11557 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11558 fi ;;
11559 esac
11561 rm -f core conftest.err conftest.$ac_objext \
11562 conftest$ac_exeext conftest.$ac_ext
11563 LIBS=$ac_check_soname_save_LIBS
11565 if ${ac_cv_lib_soname_GL:+false} :; then :
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11567 $as_echo "not found" >&6; }
11568 if test -f /usr/X11R6/lib/libGL.a
11569 then
11570 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11571 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11572 else
11573 opengl_msg="No OpenGL library found on this system."
11575 else
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11577 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11579 cat >>confdefs.h <<_ACEOF
11580 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11581 _ACEOF
11583 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"
11585 else
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11587 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11589 cat >>confdefs.h <<_ACEOF
11590 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11591 _ACEOF
11593 OPENGL_LIBS="-lGL"
11595 if test "x$with_glu" != "xno"
11596 then
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11598 $as_echo_n "checking for -lGLU... " >&6; }
11599 if ${ac_cv_lib_soname_GLU+:} false; then :
11600 $as_echo_n "(cached) " >&6
11601 else
11602 ac_check_soname_save_LIBS=$LIBS
11603 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11605 /* end confdefs.h. */
11607 /* Override any GCC internal prototype to avoid an error.
11608 Use char because int might match the return type of a GCC
11609 builtin and then its argument prototype would still apply. */
11610 #ifdef __cplusplus
11611 extern "C"
11612 #endif
11613 char gluLookAt ();
11615 main ()
11617 return gluLookAt ();
11619 return 0;
11621 _ACEOF
11622 if ac_fn_c_try_link "$LINENO"; then :
11623 case "$LIBEXT" in
11624 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11625 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'` ;;
11626 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11627 if ${ac_cv_lib_soname_GLU:+false} :; then :
11628 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11629 fi ;;
11630 esac
11632 rm -f core conftest.err conftest.$ac_objext \
11633 conftest$ac_exeext conftest.$ac_ext
11634 LIBS=$ac_check_soname_save_LIBS
11636 if ${ac_cv_lib_soname_GLU:+false} :; then :
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11638 $as_echo "not found" >&6; }
11640 else
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11642 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11644 cat >>confdefs.h <<_ACEOF
11645 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11646 _ACEOF
11650 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11651 case "x$with_glu" in
11652 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11653 xno) ;;
11654 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11655 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11656 esac
11661 if test "x$with_osmesa" != "xno"
11662 then
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11664 $as_echo_n "checking for -lOSMesa... " >&6; }
11665 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11666 $as_echo_n "(cached) " >&6
11667 else
11668 ac_check_soname_save_LIBS=$LIBS
11669 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11671 /* end confdefs.h. */
11673 /* Override any GCC internal prototype to avoid an error.
11674 Use char because int might match the return type of a GCC
11675 builtin and then its argument prototype would still apply. */
11676 #ifdef __cplusplus
11677 extern "C"
11678 #endif
11679 char OSMesaGetProcAddress ();
11681 main ()
11683 return OSMesaGetProcAddress ();
11685 return 0;
11687 _ACEOF
11688 if ac_fn_c_try_link "$LINENO"; then :
11689 case "$LIBEXT" in
11690 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11691 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'` ;;
11692 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11693 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11694 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11695 fi ;;
11696 esac
11698 rm -f core conftest.err conftest.$ac_objext \
11699 conftest$ac_exeext conftest.$ac_ext
11700 LIBS=$ac_check_soname_save_LIBS
11702 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11704 $as_echo "not found" >&6; }
11706 else
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11708 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11710 cat >>confdefs.h <<_ACEOF
11711 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11712 _ACEOF
11716 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11717 case "x$with_osmesa" in
11718 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11719 xno) ;;
11720 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11721 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11722 esac
11727 if test -n "$opengl_msg"; then :
11728 case "x$with_opengl" in
11729 x) as_fn_append wine_warnings "|$opengl_msg
11730 OpenGL and Direct3D won't be supported." ;;
11731 xno) ;;
11732 *) as_fn_error $? "$opengl_msg
11733 OpenGL and Direct3D won't be supported.
11734 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11735 esac
11739 CPPFLAGS="$ac_save_CPPFLAGS"
11740 else
11741 X_CFLAGS=""
11742 X_LIBS=""
11745 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11746 then
11747 if test "x$X_LIBS" = "x"; then :
11748 case "x$with_x" in
11749 xno) ;;
11750 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11751 without X support, which probably isn't what you want. You will need
11752 to install ${notice_platform}development packages of Xlib at the very least.
11753 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11754 esac
11755 enable_winex11_drv=${enable_winex11_drv:-no}
11757 else
11758 if test "x$X_LIBS" = "x"; then :
11759 case "x$with_x" in
11760 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11761 xno) ;;
11762 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11763 This is an error since --with-x was requested." "$LINENO" 5 ;;
11764 esac
11765 enable_winex11_drv=${enable_winex11_drv:-no}
11769 if test "$ac_cv_header_CL_cl_h" = "yes"
11770 then
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11772 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11773 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11774 $as_echo_n "(cached) " >&6
11775 else
11776 ac_check_lib_save_LIBS=$LIBS
11777 LIBS="-lOpenCL $LIBS"
11778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11779 /* end confdefs.h. */
11781 /* Override any GCC internal prototype to avoid an error.
11782 Use char because int might match the return type of a GCC
11783 builtin and then its argument prototype would still apply. */
11784 #ifdef __cplusplus
11785 extern "C"
11786 #endif
11787 char clGetPlatformInfo ();
11789 main ()
11791 return clGetPlatformInfo ();
11793 return 0;
11795 _ACEOF
11796 if ac_fn_c_try_link "$LINENO"; then :
11797 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11798 else
11799 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11801 rm -f core conftest.err conftest.$ac_objext \
11802 conftest$ac_exeext conftest.$ac_ext
11803 LIBS=$ac_check_lib_save_LIBS
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11806 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11807 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11808 OPENCL_LIBS="-lOpenCL"
11813 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11814 case "x$with_opencl" in
11815 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11816 xno) ;;
11817 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11818 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11819 esac
11820 enable_opencl=${enable_opencl:-no}
11823 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11824 then
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11826 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11827 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11828 $as_echo_n "(cached) " >&6
11829 else
11830 ac_check_lib_save_LIBS=$LIBS
11831 LIBS="-lpcap $LIBS"
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11835 /* Override any GCC internal prototype to avoid an error.
11836 Use char because int might match the return type of a GCC
11837 builtin and then its argument prototype would still apply. */
11838 #ifdef __cplusplus
11839 extern "C"
11840 #endif
11841 char pcap_create ();
11843 main ()
11845 return pcap_create ();
11847 return 0;
11849 _ACEOF
11850 if ac_fn_c_try_link "$LINENO"; then :
11851 ac_cv_lib_pcap_pcap_create=yes
11852 else
11853 ac_cv_lib_pcap_pcap_create=no
11855 rm -f core conftest.err conftest.$ac_objext \
11856 conftest$ac_exeext conftest.$ac_ext
11857 LIBS=$ac_check_lib_save_LIBS
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11860 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11861 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11862 PCAP_LIBS="-lpcap"
11867 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11868 case "x$with_pcap" in
11869 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11870 xno) ;;
11871 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11872 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11873 esac
11874 enable_wpcap=${enable_wpcap:-no}
11878 if test "x$with_xml" != "xno"
11879 then
11880 if ${XML2_CFLAGS:+false} :; then :
11881 if ${PKG_CONFIG+:} false; then :
11882 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11885 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11886 if ${XML2_LIBS:+false} :; then :
11887 if ${PKG_CONFIG+:} false; then :
11888 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11891 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11892 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11893 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11894 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11895 ac_save_CPPFLAGS=$CPPFLAGS
11896 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11897 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11898 do :
11899 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11900 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11901 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11902 cat >>confdefs.h <<_ACEOF
11903 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11904 _ACEOF
11908 done
11910 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"
11911 then
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11913 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11914 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11915 $as_echo_n "(cached) " >&6
11916 else
11917 ac_check_lib_save_LIBS=$LIBS
11918 LIBS="-lxml2 $XML2_LIBS $LIBS"
11919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11920 /* end confdefs.h. */
11922 /* Override any GCC internal prototype to avoid an error.
11923 Use char because int might match the return type of a GCC
11924 builtin and then its argument prototype would still apply. */
11925 #ifdef __cplusplus
11926 extern "C"
11927 #endif
11928 char xmlParseMemory ();
11930 main ()
11932 return xmlParseMemory ();
11934 return 0;
11936 _ACEOF
11937 if ac_fn_c_try_link "$LINENO"; then :
11938 ac_cv_lib_xml2_xmlParseMemory=yes
11939 else
11940 ac_cv_lib_xml2_xmlParseMemory=no
11942 rm -f core conftest.err conftest.$ac_objext \
11943 conftest$ac_exeext conftest.$ac_ext
11944 LIBS=$ac_check_lib_save_LIBS
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11947 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11948 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11950 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11952 else
11953 XML2_LIBS=""
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11957 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11958 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11959 $as_echo_n "(cached) " >&6
11960 else
11961 ac_check_lib_save_LIBS=$LIBS
11962 LIBS="-lxml2 $XML2_LIBS $LIBS"
11963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11964 /* end confdefs.h. */
11966 /* Override any GCC internal prototype to avoid an error.
11967 Use char because int might match the return type of a GCC
11968 builtin and then its argument prototype would still apply. */
11969 #ifdef __cplusplus
11970 extern "C"
11971 #endif
11972 char xmlReadMemory ();
11974 main ()
11976 return xmlReadMemory ();
11978 return 0;
11980 _ACEOF
11981 if ac_fn_c_try_link "$LINENO"; then :
11982 ac_cv_lib_xml2_xmlReadMemory=yes
11983 else
11984 ac_cv_lib_xml2_xmlReadMemory=no
11986 rm -f core conftest.err conftest.$ac_objext \
11987 conftest$ac_exeext conftest.$ac_ext
11988 LIBS=$ac_check_lib_save_LIBS
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11991 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11992 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11994 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11999 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12000 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12001 $as_echo_n "(cached) " >&6
12002 else
12003 ac_check_lib_save_LIBS=$LIBS
12004 LIBS="-lxml2 $XML2_LIBS $LIBS"
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12008 /* Override any GCC internal prototype to avoid an error.
12009 Use char because int might match the return type of a GCC
12010 builtin and then its argument prototype would still apply. */
12011 #ifdef __cplusplus
12012 extern "C"
12013 #endif
12014 char xmlNewDocPI ();
12016 main ()
12018 return xmlNewDocPI ();
12020 return 0;
12022 _ACEOF
12023 if ac_fn_c_try_link "$LINENO"; then :
12024 ac_cv_lib_xml2_xmlNewDocPI=yes
12025 else
12026 ac_cv_lib_xml2_xmlNewDocPI=no
12028 rm -f core conftest.err conftest.$ac_objext \
12029 conftest$ac_exeext conftest.$ac_ext
12030 LIBS=$ac_check_lib_save_LIBS
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12033 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12034 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12036 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12041 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12042 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12043 $as_echo_n "(cached) " >&6
12044 else
12045 ac_check_lib_save_LIBS=$LIBS
12046 LIBS="-lxml2 $XML2_LIBS $LIBS"
12047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12048 /* end confdefs.h. */
12050 /* Override any GCC internal prototype to avoid an error.
12051 Use char because int might match the return type of a GCC
12052 builtin and then its argument prototype would still apply. */
12053 #ifdef __cplusplus
12054 extern "C"
12055 #endif
12056 char xmlSchemaSetParserStructuredErrors ();
12058 main ()
12060 return xmlSchemaSetParserStructuredErrors ();
12062 return 0;
12064 _ACEOF
12065 if ac_fn_c_try_link "$LINENO"; then :
12066 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12067 else
12068 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12070 rm -f core conftest.err conftest.$ac_objext \
12071 conftest$ac_exeext conftest.$ac_ext
12072 LIBS=$ac_check_lib_save_LIBS
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12075 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12076 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12078 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12083 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12084 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12085 $as_echo_n "(cached) " >&6
12086 else
12087 ac_check_lib_save_LIBS=$LIBS
12088 LIBS="-lxml2 $XML2_LIBS $LIBS"
12089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12090 /* end confdefs.h. */
12092 /* Override any GCC internal prototype to avoid an error.
12093 Use char because int might match the return type of a GCC
12094 builtin and then its argument prototype would still apply. */
12095 #ifdef __cplusplus
12096 extern "C"
12097 #endif
12098 char xmlSchemaSetValidStructuredErrors ();
12100 main ()
12102 return xmlSchemaSetValidStructuredErrors ();
12104 return 0;
12106 _ACEOF
12107 if ac_fn_c_try_link "$LINENO"; then :
12108 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12109 else
12110 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12112 rm -f core conftest.err conftest.$ac_objext \
12113 conftest$ac_exeext conftest.$ac_ext
12114 LIBS=$ac_check_lib_save_LIBS
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12117 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12118 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12120 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12125 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12126 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12127 $as_echo_n "(cached) " >&6
12128 else
12129 ac_check_lib_save_LIBS=$LIBS
12130 LIBS="-lxml2 $XML2_LIBS $LIBS"
12131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12134 /* Override any GCC internal prototype to avoid an error.
12135 Use char because int might match the return type of a GCC
12136 builtin and then its argument prototype would still apply. */
12137 #ifdef __cplusplus
12138 extern "C"
12139 #endif
12140 char xmlFirstElementChild ();
12142 main ()
12144 return xmlFirstElementChild ();
12146 return 0;
12148 _ACEOF
12149 if ac_fn_c_try_link "$LINENO"; then :
12150 ac_cv_lib_xml2_xmlFirstElementChild=yes
12151 else
12152 ac_cv_lib_xml2_xmlFirstElementChild=no
12154 rm -f core conftest.err conftest.$ac_objext \
12155 conftest$ac_exeext conftest.$ac_ext
12156 LIBS=$ac_check_lib_save_LIBS
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12159 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12160 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12162 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12166 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12168 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12170 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12174 else
12175 XML2_CFLAGS=""
12176 XML2_LIBS=""
12178 CPPFLAGS=$ac_save_CPPFLAGS
12179 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12180 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12183 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12184 case "x$with_xml" in
12185 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12186 xno) ;;
12187 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12188 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12189 esac
12193 if test "x$with_xslt" != "xno"
12194 then
12195 if ${XSLT_CFLAGS:+false} :; then :
12196 if ${PKG_CONFIG+:} false; then :
12197 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12200 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12201 if ${XSLT_LIBS:+false} :; then :
12202 if ${PKG_CONFIG+:} false; then :
12203 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12206 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12207 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12208 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12209 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12210 ac_save_CPPFLAGS=$CPPFLAGS
12211 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12212 for ac_header in libxslt/pattern.h libxslt/transform.h
12213 do :
12214 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12215 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12216 # include <libxslt/pattern.h>
12217 #endif
12219 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12220 cat >>confdefs.h <<_ACEOF
12221 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12222 _ACEOF
12226 done
12228 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12229 then
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12231 $as_echo_n "checking for -lxslt... " >&6; }
12232 if ${ac_cv_lib_soname_xslt+:} false; then :
12233 $as_echo_n "(cached) " >&6
12234 else
12235 ac_check_soname_save_LIBS=$LIBS
12236 LIBS="-lxslt $XSLT_LIBS $LIBS"
12237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12238 /* end confdefs.h. */
12240 /* Override any GCC internal prototype to avoid an error.
12241 Use char because int might match the return type of a GCC
12242 builtin and then its argument prototype would still apply. */
12243 #ifdef __cplusplus
12244 extern "C"
12245 #endif
12246 char xsltCompilePattern ();
12248 main ()
12250 return xsltCompilePattern ();
12252 return 0;
12254 _ACEOF
12255 if ac_fn_c_try_link "$LINENO"; then :
12256 case "$LIBEXT" in
12257 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12258 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'` ;;
12259 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12260 if ${ac_cv_lib_soname_xslt:+false} :; then :
12261 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12262 fi ;;
12263 esac
12265 rm -f core conftest.err conftest.$ac_objext \
12266 conftest$ac_exeext conftest.$ac_ext
12267 LIBS=$ac_check_soname_save_LIBS
12269 if ${ac_cv_lib_soname_xslt:+false} :; then :
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12271 $as_echo "not found" >&6; }
12273 else
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12275 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12277 cat >>confdefs.h <<_ACEOF
12278 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12279 _ACEOF
12283 else
12284 XSLT_CFLAGS=""
12286 CPPFLAGS=$ac_save_CPPFLAGS
12287 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12288 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12291 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12292 case "x$with_xslt" in
12293 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12294 xno) ;;
12295 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12296 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12297 esac
12301 if test "x$with_dbus" != "xno"
12302 then
12303 if ${DBUS_CFLAGS:+false} :; then :
12304 if ${PKG_CONFIG+:} false; then :
12305 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12309 if ${DBUS_LIBS:+false} :; then :
12310 if ${PKG_CONFIG+:} false; then :
12311 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12316 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12317 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12318 ac_save_CPPFLAGS=$CPPFLAGS
12319 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12320 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12321 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12323 $as_echo_n "checking for -ldbus-1... " >&6; }
12324 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12325 $as_echo_n "(cached) " >&6
12326 else
12327 ac_check_soname_save_LIBS=$LIBS
12328 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12330 /* end confdefs.h. */
12332 /* Override any GCC internal prototype to avoid an error.
12333 Use char because int might match the return type of a GCC
12334 builtin and then its argument prototype would still apply. */
12335 #ifdef __cplusplus
12336 extern "C"
12337 #endif
12338 char dbus_connection_close ();
12340 main ()
12342 return dbus_connection_close ();
12344 return 0;
12346 _ACEOF
12347 if ac_fn_c_try_link "$LINENO"; then :
12348 case "$LIBEXT" in
12349 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12350 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'` ;;
12351 *) 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'`
12352 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12353 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12354 fi ;;
12355 esac
12357 rm -f core conftest.err conftest.$ac_objext \
12358 conftest$ac_exeext conftest.$ac_ext
12359 LIBS=$ac_check_soname_save_LIBS
12361 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12363 $as_echo "not found" >&6; }
12364 DBUS_CFLAGS=""
12365 else
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12367 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12369 cat >>confdefs.h <<_ACEOF
12370 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12371 _ACEOF
12375 else
12376 DBUS_CFLAGS=""
12380 CPPFLAGS=$ac_save_CPPFLAGS
12381 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12382 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12385 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12386 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12387 case "x$with_dbus" in
12388 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12389 xno) ;;
12390 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12391 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12392 esac
12396 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12397 then
12398 if ${HAL_CFLAGS:+false} :; then :
12399 if ${PKG_CONFIG+:} false; then :
12400 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12404 if ${HAL_LIBS:+false} :; then :
12405 if ${PKG_CONFIG+:} false; then :
12406 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12410 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12411 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12412 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12413 ac_save_CPPFLAGS=$CPPFLAGS
12414 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12415 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12416 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12418 $as_echo_n "checking for -lhal... " >&6; }
12419 if ${ac_cv_lib_soname_hal+:} false; then :
12420 $as_echo_n "(cached) " >&6
12421 else
12422 ac_check_soname_save_LIBS=$LIBS
12423 LIBS="-lhal $HAL_LIBS $LIBS"
12424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12425 /* end confdefs.h. */
12427 /* Override any GCC internal prototype to avoid an error.
12428 Use char because int might match the return type of a GCC
12429 builtin and then its argument prototype would still apply. */
12430 #ifdef __cplusplus
12431 extern "C"
12432 #endif
12433 char libhal_ctx_new ();
12435 main ()
12437 return libhal_ctx_new ();
12439 return 0;
12441 _ACEOF
12442 if ac_fn_c_try_link "$LINENO"; then :
12443 case "$LIBEXT" in
12444 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12445 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'` ;;
12446 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12447 if ${ac_cv_lib_soname_hal:+false} :; then :
12448 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12449 fi ;;
12450 esac
12452 rm -f core conftest.err conftest.$ac_objext \
12453 conftest$ac_exeext conftest.$ac_ext
12454 LIBS=$ac_check_soname_save_LIBS
12456 if ${ac_cv_lib_soname_hal:+false} :; then :
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12458 $as_echo "not found" >&6; }
12459 HAL_CFLAGS=""
12460 else
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12462 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12464 cat >>confdefs.h <<_ACEOF
12465 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12466 _ACEOF
12470 else
12471 HAL_CFLAGS=""
12475 CPPFLAGS=$ac_save_CPPFLAGS
12476 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12477 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12479 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12480 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12481 case "x$with_hal" in
12482 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12483 xno) ;;
12484 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12485 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12486 esac
12491 if test "x$with_gnutls" != "xno"
12492 then
12493 if ${GNUTLS_CFLAGS:+false} :; then :
12494 if ${PKG_CONFIG+:} false; then :
12495 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12499 if ${GNUTLS_LIBS:+false} :; then :
12500 if ${PKG_CONFIG+:} false; then :
12501 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12506 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12507 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12508 ac_save_CPPFLAGS=$CPPFLAGS
12509 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12510 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12511 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12513 /* end confdefs.h. */
12514 #include <gnutls/gnutls.h>
12515 #include <gnutls/crypto.h>
12517 main ()
12519 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12521 return 0;
12523 _ACEOF
12524 if ac_fn_c_try_compile "$LINENO"; then :
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12526 $as_echo_n "checking for -lgnutls... " >&6; }
12527 if ${ac_cv_lib_soname_gnutls+:} false; then :
12528 $as_echo_n "(cached) " >&6
12529 else
12530 ac_check_soname_save_LIBS=$LIBS
12531 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12533 /* end confdefs.h. */
12535 /* Override any GCC internal prototype to avoid an error.
12536 Use char because int might match the return type of a GCC
12537 builtin and then its argument prototype would still apply. */
12538 #ifdef __cplusplus
12539 extern "C"
12540 #endif
12541 char gnutls_global_init ();
12543 main ()
12545 return gnutls_global_init ();
12547 return 0;
12549 _ACEOF
12550 if ac_fn_c_try_link "$LINENO"; then :
12551 case "$LIBEXT" in
12552 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12553 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'` ;;
12554 *) 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'`
12555 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12556 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'`
12557 fi ;;
12558 esac
12560 rm -f core conftest.err conftest.$ac_objext \
12561 conftest$ac_exeext conftest.$ac_ext
12562 LIBS=$ac_check_soname_save_LIBS
12564 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12566 $as_echo "not found" >&6; }
12567 GNUTLS_CFLAGS=""
12568 else
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12570 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12572 cat >>confdefs.h <<_ACEOF
12573 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12574 _ACEOF
12578 ac_wine_check_funcs_save_LIBS="$LIBS"
12579 LIBS="$LIBS $GNUTLS_LIBS"
12580 for ac_func in gnutls_cipher_init
12581 do :
12582 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12583 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12584 cat >>confdefs.h <<_ACEOF
12585 #define HAVE_GNUTLS_CIPHER_INIT 1
12586 _ACEOF
12588 else
12589 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12591 done
12593 LIBS="$ac_wine_check_funcs_save_LIBS"
12595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12596 else
12597 GNUTLS_CFLAGS=""
12601 CPPFLAGS=$ac_save_CPPFLAGS
12602 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12603 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12606 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12607 case "x$with_gnutls" in
12608 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12609 xno) ;;
12610 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12611 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12612 esac
12616 CURSES_LIBS=""
12617 if test "$ac_cv_header_ncurses_h" = "yes"
12618 then
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12620 $as_echo_n "checking for -lncurses... " >&6; }
12621 if ${ac_cv_lib_soname_ncurses+:} false; then :
12622 $as_echo_n "(cached) " >&6
12623 else
12624 ac_check_soname_save_LIBS=$LIBS
12625 LIBS="-lncurses $LIBS"
12626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12627 /* end confdefs.h. */
12629 /* Override any GCC internal prototype to avoid an error.
12630 Use char because int might match the return type of a GCC
12631 builtin and then its argument prototype would still apply. */
12632 #ifdef __cplusplus
12633 extern "C"
12634 #endif
12635 char waddch ();
12637 main ()
12639 return waddch ();
12641 return 0;
12643 _ACEOF
12644 if ac_fn_c_try_link "$LINENO"; then :
12645 case "$LIBEXT" in
12646 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12647 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'` ;;
12648 *) 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'`
12649 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12650 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12651 fi ;;
12652 esac
12654 rm -f core conftest.err conftest.$ac_objext \
12655 conftest$ac_exeext conftest.$ac_ext
12656 LIBS=$ac_check_soname_save_LIBS
12658 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12660 $as_echo "not found" >&6; }
12662 else
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12664 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12666 cat >>confdefs.h <<_ACEOF
12667 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12668 _ACEOF
12670 CURSES_LIBS="-lncurses"
12672 elif test "$ac_cv_header_curses_h" = "yes"
12673 then
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12675 $as_echo_n "checking for -lcurses... " >&6; }
12676 if ${ac_cv_lib_soname_curses+:} false; then :
12677 $as_echo_n "(cached) " >&6
12678 else
12679 ac_check_soname_save_LIBS=$LIBS
12680 LIBS="-lcurses $LIBS"
12681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12682 /* end confdefs.h. */
12684 /* Override any GCC internal prototype to avoid an error.
12685 Use char because int might match the return type of a GCC
12686 builtin and then its argument prototype would still apply. */
12687 #ifdef __cplusplus
12688 extern "C"
12689 #endif
12690 char waddch ();
12692 main ()
12694 return waddch ();
12696 return 0;
12698 _ACEOF
12699 if ac_fn_c_try_link "$LINENO"; then :
12700 case "$LIBEXT" in
12701 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12702 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'` ;;
12703 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12704 if ${ac_cv_lib_soname_curses:+false} :; then :
12705 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12706 fi ;;
12707 esac
12709 rm -f core conftest.err conftest.$ac_objext \
12710 conftest$ac_exeext conftest.$ac_ext
12711 LIBS=$ac_check_soname_save_LIBS
12713 if ${ac_cv_lib_soname_curses:+false} :; then :
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12715 $as_echo "not found" >&6; }
12717 else
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12719 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12721 cat >>confdefs.h <<_ACEOF
12722 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12723 _ACEOF
12725 CURSES_LIBS="-lcurses"
12728 ac_save_LIBS="$LIBS"
12729 LIBS="$LIBS $CURSES_LIBS"
12730 for ac_func in mousemask
12731 do :
12732 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12733 if test "x$ac_cv_func_mousemask" = xyes; then :
12734 cat >>confdefs.h <<_ACEOF
12735 #define HAVE_MOUSEMASK 1
12736 _ACEOF
12739 done
12741 LIBS="$ac_save_LIBS"
12742 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12743 case "x$with_curses" in
12744 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12745 xno) ;;
12746 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12747 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12748 esac
12752 if test "x$with_sane" != "xno"
12753 then
12754 if ${SANE_CFLAGS:+false} :; then :
12755 if ${PKG_CONFIG+:} false; then :
12756 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12759 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12760 if ${SANE_LIBS:+false} :; then :
12761 if ${PKG_CONFIG+:} false; then :
12762 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12765 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12767 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12768 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12769 ac_save_CPPFLAGS=$CPPFLAGS
12770 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12771 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12772 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12774 $as_echo_n "checking for -lsane... " >&6; }
12775 if ${ac_cv_lib_soname_sane+:} false; then :
12776 $as_echo_n "(cached) " >&6
12777 else
12778 ac_check_soname_save_LIBS=$LIBS
12779 LIBS="-lsane $SANE_LIBS $LIBS"
12780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12781 /* end confdefs.h. */
12783 /* Override any GCC internal prototype to avoid an error.
12784 Use char because int might match the return type of a GCC
12785 builtin and then its argument prototype would still apply. */
12786 #ifdef __cplusplus
12787 extern "C"
12788 #endif
12789 char sane_init ();
12791 main ()
12793 return sane_init ();
12795 return 0;
12797 _ACEOF
12798 if ac_fn_c_try_link "$LINENO"; then :
12799 case "$LIBEXT" in
12800 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12801 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'` ;;
12802 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12803 if ${ac_cv_lib_soname_sane:+false} :; then :
12804 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12805 fi ;;
12806 esac
12808 rm -f core conftest.err conftest.$ac_objext \
12809 conftest$ac_exeext conftest.$ac_ext
12810 LIBS=$ac_check_soname_save_LIBS
12812 if ${ac_cv_lib_soname_sane:+false} :; then :
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12814 $as_echo "not found" >&6; }
12815 SANE_CFLAGS=""
12816 else
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12818 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12820 cat >>confdefs.h <<_ACEOF
12821 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12822 _ACEOF
12826 else
12827 SANE_CFLAGS=""
12831 CPPFLAGS=$ac_save_CPPFLAGS
12832 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12833 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12836 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12837 case "x$with_sane" in
12838 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12839 xno) ;;
12840 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12841 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12842 esac
12846 if test "x$with_v4l" != "xno"
12847 then
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12849 $as_echo_n "checking for -lv4l1... " >&6; }
12850 if ${ac_cv_lib_soname_v4l1+:} false; then :
12851 $as_echo_n "(cached) " >&6
12852 else
12853 ac_check_soname_save_LIBS=$LIBS
12854 LIBS="-lv4l1 $LIBS"
12855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12856 /* end confdefs.h. */
12858 /* Override any GCC internal prototype to avoid an error.
12859 Use char because int might match the return type of a GCC
12860 builtin and then its argument prototype would still apply. */
12861 #ifdef __cplusplus
12862 extern "C"
12863 #endif
12864 char v4l1_open ();
12866 main ()
12868 return v4l1_open ();
12870 return 0;
12872 _ACEOF
12873 if ac_fn_c_try_link "$LINENO"; then :
12874 case "$LIBEXT" in
12875 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12876 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'` ;;
12877 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12878 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12879 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12880 fi ;;
12881 esac
12883 rm -f core conftest.err conftest.$ac_objext \
12884 conftest$ac_exeext conftest.$ac_ext
12885 LIBS=$ac_check_soname_save_LIBS
12887 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12889 $as_echo "not found" >&6; }
12891 else
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12893 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12895 cat >>confdefs.h <<_ACEOF
12896 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12897 _ACEOF
12902 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12903 case "x$with_v4l" in
12904 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12905 xno) ;;
12906 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12907 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12908 esac
12912 if test "x$with_gphoto" != "xno"
12913 then
12914 if ${GPHOTO2_CFLAGS:+false} :; then :
12915 if ${PKG_CONFIG+:} false; then :
12916 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12919 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12920 if ${GPHOTO2_LIBS:+false} :; then :
12921 if ${PKG_CONFIG+:} false; then :
12922 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12925 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12926 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12927 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12928 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12929 ac_save_CPPFLAGS=$CPPFLAGS
12930 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12931 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12932 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12934 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12935 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12936 $as_echo_n "(cached) " >&6
12937 else
12938 ac_check_lib_save_LIBS=$LIBS
12939 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12941 /* end confdefs.h. */
12943 /* Override any GCC internal prototype to avoid an error.
12944 Use char because int might match the return type of a GCC
12945 builtin and then its argument prototype would still apply. */
12946 #ifdef __cplusplus
12947 extern "C"
12948 #endif
12949 char gp_camera_new ();
12951 main ()
12953 return gp_camera_new ();
12955 return 0;
12957 _ACEOF
12958 if ac_fn_c_try_link "$LINENO"; then :
12959 ac_cv_lib_gphoto2_gp_camera_new=yes
12960 else
12961 ac_cv_lib_gphoto2_gp_camera_new=no
12963 rm -f core conftest.err conftest.$ac_objext \
12964 conftest$ac_exeext conftest.$ac_ext
12965 LIBS=$ac_check_lib_save_LIBS
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12968 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12969 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12971 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12973 else
12974 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12977 else
12978 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12982 CPPFLAGS=$ac_save_CPPFLAGS
12983 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12984 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12986 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12987 if ${PKG_CONFIG+:} false; then :
12988 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12991 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12992 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12993 if ${PKG_CONFIG+:} false; then :
12994 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12997 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12998 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12999 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13000 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13001 ac_save_CPPFLAGS=$CPPFLAGS
13002 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13003 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13004 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13006 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13007 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13008 $as_echo_n "(cached) " >&6
13009 else
13010 ac_check_lib_save_LIBS=$LIBS
13011 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13015 /* Override any GCC internal prototype to avoid an error.
13016 Use char because int might match the return type of a GCC
13017 builtin and then its argument prototype would still apply. */
13018 #ifdef __cplusplus
13019 extern "C"
13020 #endif
13021 char gp_port_info_list_new ();
13023 main ()
13025 return gp_port_info_list_new ();
13027 return 0;
13029 _ACEOF
13030 if ac_fn_c_try_link "$LINENO"; then :
13031 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13032 else
13033 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13035 rm -f core conftest.err conftest.$ac_objext \
13036 conftest$ac_exeext conftest.$ac_ext
13037 LIBS=$ac_check_lib_save_LIBS
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13040 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13041 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13043 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13045 else
13046 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13049 else
13050 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13054 CPPFLAGS=$ac_save_CPPFLAGS
13055 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13056 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13059 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13060 case "x$with_gphoto" in
13061 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13062 xno) ;;
13063 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13064 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13065 esac
13068 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13069 case "x$with_gphoto" in
13070 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13071 xno) ;;
13072 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13073 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13074 esac
13079 if test "$ac_cv_header_resolv_h" = "yes"
13080 then
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13082 $as_echo_n "checking for resolver library... " >&6; }
13083 if ${ac_cv_have_resolv+:} false; then :
13084 $as_echo_n "(cached) " >&6
13085 else
13086 ac_save_LIBS="$LIBS"
13087 for lib in '' -lresolv
13089 LIBS="$lib $ac_save_LIBS"
13090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13091 /* end confdefs.h. */
13092 #ifdef HAVE_NETINET_IN_H
13093 #include <netinet/in.h>
13094 #endif
13095 #include <resolv.h>
13097 main ()
13099 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13101 return 0;
13103 _ACEOF
13104 if ac_fn_c_try_link "$LINENO"; then :
13105 ac_cv_have_resolv=${lib:-"none required"}
13106 else
13107 ac_cv_have_resolv="not found"
13109 rm -f core conftest.err conftest.$ac_objext \
13110 conftest$ac_exeext conftest.$ac_ext
13111 test "x$ac_cv_have_resolv" = "xnot found" || break
13112 done
13113 LIBS="$ac_save_LIBS"
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13116 $as_echo "$ac_cv_have_resolv" >&6; }
13118 case "$ac_cv_have_resolv" in
13119 "not found") ;;
13120 "none required")
13122 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13125 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13127 RESOLV_LIBS=$ac_cv_have_resolv
13129 esac
13132 if test "x$with_cms" != "xno"
13133 then
13134 if ${LCMS2_CFLAGS:+false} :; then :
13135 if ${PKG_CONFIG+:} false; then :
13136 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
13140 if ${LCMS2_LIBS:+false} :; then :
13141 if ${PKG_CONFIG+:} false; then :
13142 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
13146 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
13147 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
13148 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
13149 ac_save_CPPFLAGS=$CPPFLAGS
13150 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
13151 for ac_header in lcms2.h
13152 do :
13153 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
13154 if test "x$ac_cv_header_lcms2_h" = xyes; then :
13155 cat >>confdefs.h <<_ACEOF
13156 #define HAVE_LCMS2_H 1
13157 _ACEOF
13161 done
13163 if test "$ac_cv_header_lcms2_h" = "yes"
13164 then
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13166 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13167 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13168 $as_echo_n "(cached) " >&6
13169 else
13170 ac_check_lib_save_LIBS=$LIBS
13171 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13173 /* end confdefs.h. */
13175 /* Override any GCC internal prototype to avoid an error.
13176 Use char because int might match the return type of a GCC
13177 builtin and then its argument prototype would still apply. */
13178 #ifdef __cplusplus
13179 extern "C"
13180 #endif
13181 char cmsOpenProfileFromFile ();
13183 main ()
13185 return cmsOpenProfileFromFile ();
13187 return 0;
13189 _ACEOF
13190 if ac_fn_c_try_link "$LINENO"; then :
13191 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13192 else
13193 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13195 rm -f core conftest.err conftest.$ac_objext \
13196 conftest$ac_exeext conftest.$ac_ext
13197 LIBS=$ac_check_lib_save_LIBS
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13200 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13201 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13203 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13205 else
13206 LCMS2_LIBS=""
13209 else
13210 LCMS2_CFLAGS=""
13211 LCMS2_LIBS=""
13213 CPPFLAGS=$ac_save_CPPFLAGS
13214 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13215 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13218 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13219 case "x$with_cms" in
13220 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13221 xno) ;;
13222 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13223 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13224 esac
13228 if test "x$with_freetype" != "xno"
13229 then
13230 if ${FREETYPE_CFLAGS:+false} :; then :
13231 if ${PKG_CONFIG+:} false; then :
13232 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13235 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13236 if ${FREETYPE_LIBS:+false} :; then :
13237 if ${PKG_CONFIG+:} false; then :
13238 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13241 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13242 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13243 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13244 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13245 ac_save_CPPFLAGS=$CPPFLAGS
13246 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13247 for ac_header in ft2build.h
13248 do :
13249 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13250 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13251 cat >>confdefs.h <<_ACEOF
13252 #define HAVE_FT2BUILD_H 1
13253 _ACEOF
13257 done
13259 if test "$ac_cv_header_ft2build_h" = "yes"
13260 then
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13262 $as_echo_n "checking for -lfreetype... " >&6; }
13263 if ${ac_cv_lib_soname_freetype+:} false; then :
13264 $as_echo_n "(cached) " >&6
13265 else
13266 ac_check_soname_save_LIBS=$LIBS
13267 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13269 /* end confdefs.h. */
13271 /* Override any GCC internal prototype to avoid an error.
13272 Use char because int might match the return type of a GCC
13273 builtin and then its argument prototype would still apply. */
13274 #ifdef __cplusplus
13275 extern "C"
13276 #endif
13277 char FT_Init_FreeType ();
13279 main ()
13281 return FT_Init_FreeType ();
13283 return 0;
13285 _ACEOF
13286 if ac_fn_c_try_link "$LINENO"; then :
13287 case "$LIBEXT" in
13288 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13289 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'` ;;
13290 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13291 if ${ac_cv_lib_soname_freetype:+false} :; then :
13292 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13293 fi ;;
13294 esac
13296 rm -f core conftest.err conftest.$ac_objext \
13297 conftest$ac_exeext conftest.$ac_ext
13298 LIBS=$ac_check_soname_save_LIBS
13300 if ${ac_cv_lib_soname_freetype:+false} :; then :
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13302 $as_echo "not found" >&6; }
13303 FREETYPE_LIBS=""
13304 else
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13306 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13308 cat >>confdefs.h <<_ACEOF
13309 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13310 _ACEOF
13313 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13315 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13316 #include FT_MODULE_H
13318 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13320 cat >>confdefs.h <<_ACEOF
13321 #define HAVE_FT_TRUETYPEENGINETYPE 1
13322 _ACEOF
13328 else
13329 FREETYPE_CFLAGS=""
13330 FREETYPE_LIBS=""
13332 CPPFLAGS=$ac_save_CPPFLAGS
13333 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13334 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13337 if test "x$ac_cv_lib_soname_freetype" = x; then :
13338 case "x$with_freetype" in
13339 xno) ;;
13340 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13341 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13342 esac
13343 enable_fonts=${enable_fonts:-no}
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13347 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13348 if ${ac_cv_c_ppdev+:} false; then :
13349 $as_echo_n "(cached) " >&6
13350 else
13351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13352 /* end confdefs.h. */
13353 #ifdef HAVE_SYS_IOCTL_H
13354 # include <sys/ioctl.h>
13355 #endif
13356 #include <linux/ppdev.h>
13358 main ()
13360 ioctl (1,PPCLAIM,0)
13362 return 0;
13364 _ACEOF
13365 if ac_fn_c_try_compile "$LINENO"; then :
13366 ac_cv_c_ppdev="yes"
13367 else
13368 ac_cv_c_ppdev="no"
13370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13373 $as_echo "$ac_cv_c_ppdev" >&6; }
13374 if test "$ac_cv_c_ppdev" = "yes"
13375 then
13377 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13381 ac_wine_check_funcs_save_LIBS="$LIBS"
13382 LIBS="$LIBS $PTHREAD_LIBS"
13383 for ac_func in \
13384 pthread_attr_get_np \
13385 pthread_getattr_np \
13386 pthread_getthreadid_np \
13387 pthread_get_stackaddr_np \
13388 pthread_get_stacksize_np
13389 do :
13390 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13392 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13393 cat >>confdefs.h <<_ACEOF
13394 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13395 _ACEOF
13398 done
13400 LIBS="$ac_wine_check_funcs_save_LIBS"
13402 if test "$ac_cv_header_zlib_h" = "yes"
13403 then
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13405 $as_echo_n "checking for inflate in -lz... " >&6; }
13406 if ${ac_cv_lib_z_inflate+:} false; then :
13407 $as_echo_n "(cached) " >&6
13408 else
13409 ac_check_lib_save_LIBS=$LIBS
13410 LIBS="-lz $LIBS"
13411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13412 /* end confdefs.h. */
13414 /* Override any GCC internal prototype to avoid an error.
13415 Use char because int might match the return type of a GCC
13416 builtin and then its argument prototype would still apply. */
13417 #ifdef __cplusplus
13418 extern "C"
13419 #endif
13420 char inflate ();
13422 main ()
13424 return inflate ();
13426 return 0;
13428 _ACEOF
13429 if ac_fn_c_try_link "$LINENO"; then :
13430 ac_cv_lib_z_inflate=yes
13431 else
13432 ac_cv_lib_z_inflate=no
13434 rm -f core conftest.err conftest.$ac_objext \
13435 conftest$ac_exeext conftest.$ac_ext
13436 LIBS=$ac_check_lib_save_LIBS
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13439 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13440 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13442 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13444 Z_LIBS="-lz"
13449 if test "x$Z_LIBS" = "x"; then :
13450 case "x$with_zlib" in
13451 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13452 xno) ;;
13453 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13454 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13455 esac
13459 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13460 then
13461 if test "$ac_cv_header_gettext_po_h" = "yes"
13462 then
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13464 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13465 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13466 $as_echo_n "(cached) " >&6
13467 else
13468 ac_check_lib_save_LIBS=$LIBS
13469 LIBS="-lgettextpo $LIBS"
13470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13471 /* end confdefs.h. */
13473 /* Override any GCC internal prototype to avoid an error.
13474 Use char because int might match the return type of a GCC
13475 builtin and then its argument prototype would still apply. */
13476 #ifdef __cplusplus
13477 extern "C"
13478 #endif
13479 char po_message_msgctxt ();
13481 main ()
13483 return po_message_msgctxt ();
13485 return 0;
13487 _ACEOF
13488 if ac_fn_c_try_link "$LINENO"; then :
13489 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13490 else
13491 ac_cv_lib_gettextpo_po_message_msgctxt=no
13493 rm -f core conftest.err conftest.$ac_objext \
13494 conftest$ac_exeext conftest.$ac_ext
13495 LIBS=$ac_check_lib_save_LIBS
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13498 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13499 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13501 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13503 GETTEXTPO_LIBS="-lgettextpo"
13508 if test "x$GETTEXTPO_LIBS" = "x"; then :
13509 case "x$with_gettextpo" in
13510 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13511 xno) ;;
13512 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13513 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13514 esac
13517 if test "$srcdir" != .; then :
13518 case "x$with_gettextpo" in
13519 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13520 xno) ;;
13521 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13522 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13523 esac
13528 if test "x$with_pulse" != "xno";
13529 then
13530 if ${PULSE_CFLAGS:+false} :; then :
13531 if ${PKG_CONFIG+:} false; then :
13532 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13536 if ${PULSE_LIBS:+false} :; then :
13537 if ${PKG_CONFIG+:} false; then :
13538 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13543 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13544 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13545 ac_save_CPPFLAGS=$CPPFLAGS
13546 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13547 for ac_header in pulse/pulseaudio.h
13548 do :
13549 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13550 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13551 cat >>confdefs.h <<_ACEOF
13552 #define HAVE_PULSE_PULSEAUDIO_H 1
13553 _ACEOF
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13555 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13556 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13557 $as_echo_n "(cached) " >&6
13558 else
13559 ac_check_lib_save_LIBS=$LIBS
13560 LIBS="-lpulse $PULSE_LIBS $LIBS"
13561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13562 /* end confdefs.h. */
13564 /* Override any GCC internal prototype to avoid an error.
13565 Use char because int might match the return type of a GCC
13566 builtin and then its argument prototype would still apply. */
13567 #ifdef __cplusplus
13568 extern "C"
13569 #endif
13570 char pa_stream_is_corked ();
13572 main ()
13574 return pa_stream_is_corked ();
13576 return 0;
13578 _ACEOF
13579 if ac_fn_c_try_link "$LINENO"; then :
13580 ac_cv_lib_pulse_pa_stream_is_corked=yes
13581 else
13582 ac_cv_lib_pulse_pa_stream_is_corked=no
13584 rm -f core conftest.err conftest.$ac_objext \
13585 conftest$ac_exeext conftest.$ac_ext
13586 LIBS=$ac_check_lib_save_LIBS
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13589 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13590 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13592 else
13593 PULSE_LIBS=""
13596 else
13597 PULSE_LIBS=""
13600 done
13602 CPPFLAGS=$ac_save_CPPFLAGS
13603 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13604 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13607 if test -z "$PULSE_LIBS"; then :
13608 case "x$with_pulse" in
13609 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13610 xno) ;;
13611 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13612 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13613 esac
13614 enable_winepulse_drv=${enable_winepulse_drv:-no}
13617 if test "x$with_gstreamer" != "xno"
13618 then
13619 if ${GSTREAMER_CFLAGS:+false} :; then :
13620 if ${PKG_CONFIG+:} false; then :
13621 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13625 if ${GSTREAMER_LIBS:+false} :; then :
13626 if ${PKG_CONFIG+:} false; then :
13627 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13632 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13633 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13634 ac_save_CPPFLAGS=$CPPFLAGS
13635 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13636 ac_gst_incl=""
13637 for i in $GSTREAMER_CFLAGS
13639 case "$i" in
13640 -I*) ac_gst_incl="$ac_gst_incl $i";;
13641 esac
13642 done
13643 GSTREAMER_CFLAGS=$ac_gst_incl
13644 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13645 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13646 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13648 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13650 /* end confdefs.h. */
13651 #include <gst/gst.h>
13653 main ()
13655 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13657 return 0;
13659 _ACEOF
13660 if ac_fn_c_try_compile "$LINENO"; then :
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13662 $as_echo "yes" >&6; }
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13664 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13665 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13666 $as_echo_n "(cached) " >&6
13667 else
13668 ac_check_lib_save_LIBS=$LIBS
13669 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13673 /* Override any GCC internal prototype to avoid an error.
13674 Use char because int might match the return type of a GCC
13675 builtin and then its argument prototype would still apply. */
13676 #ifdef __cplusplus
13677 extern "C"
13678 #endif
13679 char gst_pad_new ();
13681 main ()
13683 return gst_pad_new ();
13685 return 0;
13687 _ACEOF
13688 if ac_fn_c_try_link "$LINENO"; then :
13689 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13690 else
13691 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13693 rm -f core conftest.err conftest.$ac_objext \
13694 conftest$ac_exeext conftest.$ac_ext
13695 LIBS=$ac_check_lib_save_LIBS
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13698 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13699 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13703 else
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13705 $as_echo "no" >&6; }
13706 ac_glib2_broken=yes
13707 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13713 CPPFLAGS=$ac_save_CPPFLAGS
13714 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13715 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13718 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 :
13719 case "x$with_gstreamer" in
13720 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13721 xno) ;;
13722 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13723 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13724 esac
13727 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13729 ALSA_LIBS=""
13731 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13732 then
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13734 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13735 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13736 $as_echo_n "(cached) " >&6
13737 else
13738 ac_check_lib_save_LIBS=$LIBS
13739 LIBS="-lasound $LIBS"
13740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13741 /* end confdefs.h. */
13743 /* Override any GCC internal prototype to avoid an error.
13744 Use char because int might match the return type of a GCC
13745 builtin and then its argument prototype would still apply. */
13746 #ifdef __cplusplus
13747 extern "C"
13748 #endif
13749 char snd_pcm_hw_params_get_access_mask ();
13751 main ()
13753 return snd_pcm_hw_params_get_access_mask ();
13755 return 0;
13757 _ACEOF
13758 if ac_fn_c_try_link "$LINENO"; then :
13759 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13760 else
13761 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13763 rm -f core conftest.err conftest.$ac_objext \
13764 conftest$ac_exeext conftest.$ac_ext
13765 LIBS=$ac_check_lib_save_LIBS
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13768 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13769 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13772 #ifdef HAVE_ALSA_ASOUNDLIB_H
13773 #include <alsa/asoundlib.h>
13774 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13775 #include <sys/asoundlib.h>
13776 #endif
13778 main ()
13780 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13782 return 0;
13784 _ACEOF
13785 if ac_fn_c_try_compile "$LINENO"; then :
13786 ALSA_LIBS="-lasound"
13788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13792 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13794 if test "x$with_oss" != xno
13795 then
13796 ac_save_CPPFLAGS="$CPPFLAGS"
13797 if test -f /etc/oss.conf
13798 then
13799 . /etc/oss.conf
13801 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13802 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13803 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13804 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13805 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13807 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13809 cat >>confdefs.h <<_ACEOF
13810 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13811 _ACEOF
13813 OSS4_CFLAGS="$ac_oss_incl"
13820 CPPFLAGS="$ac_save_CPPFLAGS"
13822 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13823 case "x$with_oss" in
13824 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13825 xno) ;;
13826 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13827 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13828 esac
13829 enable_wineoss_drv=${enable_wineoss_drv:-no}
13832 if test "x$with_udev" != "xno"
13833 then
13834 if ${UDEV_CFLAGS:+false} :; then :
13835 if ${PKG_CONFIG+:} false; then :
13836 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13840 if ${UDEV_LIBS:+false} :; then :
13841 if ${PKG_CONFIG+:} false; then :
13842 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13846 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13847 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13848 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13849 ac_save_CPPFLAGS=$CPPFLAGS
13850 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13851 for ac_header in libudev.h
13852 do :
13853 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13854 if test "x$ac_cv_header_libudev_h" = xyes; then :
13855 cat >>confdefs.h <<_ACEOF
13856 #define HAVE_LIBUDEV_H 1
13857 _ACEOF
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13859 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13860 if ${ac_cv_lib_udev_udev_new+:} false; then :
13861 $as_echo_n "(cached) " >&6
13862 else
13863 ac_check_lib_save_LIBS=$LIBS
13864 LIBS="-ludev $UDEV_LIBS $LIBS"
13865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13866 /* end confdefs.h. */
13868 /* Override any GCC internal prototype to avoid an error.
13869 Use char because int might match the return type of a GCC
13870 builtin and then its argument prototype would still apply. */
13871 #ifdef __cplusplus
13872 extern "C"
13873 #endif
13874 char udev_new ();
13876 main ()
13878 return udev_new ();
13880 return 0;
13882 _ACEOF
13883 if ac_fn_c_try_link "$LINENO"; then :
13884 ac_cv_lib_udev_udev_new=yes
13885 else
13886 ac_cv_lib_udev_udev_new=no
13888 rm -f core conftest.err conftest.$ac_objext \
13889 conftest$ac_exeext conftest.$ac_ext
13890 LIBS=$ac_check_lib_save_LIBS
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13893 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13894 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13896 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13898 else
13899 UDEV_LIBS=""
13902 else
13903 UDEV_LIBS=""
13906 done
13908 CPPFLAGS=$ac_save_CPPFLAGS
13909 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13910 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13913 if test "x$UDEV_LIBS" = "x"; then :
13914 case "x$with_udev" in
13915 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13916 xno) ;;
13917 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13918 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13919 esac
13923 if test "x$with_sdl" != "xno"
13924 then
13925 if ${SDL2_CFLAGS:+false} :; then :
13926 if ${PKG_CONFIG+:} false; then :
13927 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13931 if ${SDL2_LIBS:+false} :; then :
13932 if ${PKG_CONFIG+:} false; then :
13933 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13937 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13938 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13939 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13940 ac_save_CPPFLAGS=$CPPFLAGS
13941 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13942 for ac_header in SDL2/SDL.h
13943 do :
13944 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13945 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13946 cat >>confdefs.h <<_ACEOF
13947 #define HAVE_SDL2_SDL_H 1
13948 _ACEOF
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13950 $as_echo_n "checking for -lSDL2... " >&6; }
13951 if ${ac_cv_lib_soname_SDL2+:} false; then :
13952 $as_echo_n "(cached) " >&6
13953 else
13954 ac_check_soname_save_LIBS=$LIBS
13955 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
13956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13957 /* end confdefs.h. */
13959 /* Override any GCC internal prototype to avoid an error.
13960 Use char because int might match the return type of a GCC
13961 builtin and then its argument prototype would still apply. */
13962 #ifdef __cplusplus
13963 extern "C"
13964 #endif
13965 char SDL_Init ();
13967 main ()
13969 return SDL_Init ();
13971 return 0;
13973 _ACEOF
13974 if ac_fn_c_try_link "$LINENO"; then :
13975 case "$LIBEXT" in
13976 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13977 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'` ;;
13978 *) 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'`
13979 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13980 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13981 fi ;;
13982 esac
13984 rm -f core conftest.err conftest.$ac_objext \
13985 conftest$ac_exeext conftest.$ac_ext
13986 LIBS=$ac_check_soname_save_LIBS
13988 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13990 $as_echo "not found" >&6; }
13992 else
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13994 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13996 cat >>confdefs.h <<_ACEOF
13997 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13998 _ACEOF
14004 done
14006 CPPFLAGS=$ac_save_CPPFLAGS
14007 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14008 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14011 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14012 case "x$with_sdl" in
14013 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14014 xno) ;;
14015 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14016 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14017 esac
14021 if test "x$with_faudio" != "xno"
14022 then
14023 if ${FAUDIO_CFLAGS:+false} :; then :
14024 if ${PKG_CONFIG+:} false; then :
14025 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
14029 if ${FAUDIO_LIBS:+false} :; then :
14030 if ${PKG_CONFIG+:} false; then :
14031 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
14035 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
14036 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
14037 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
14038 ac_save_CPPFLAGS=$CPPFLAGS
14039 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
14040 for ac_header in FAudio.h
14041 do :
14042 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
14043 if test "x$ac_cv_header_FAudio_h" = xyes; then :
14044 cat >>confdefs.h <<_ACEOF
14045 #define HAVE_FAUDIO_H 1
14046 _ACEOF
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
14048 $as_echo_n "checking for -lFAudio... " >&6; }
14049 if ${ac_cv_lib_soname_FAudio+:} false; then :
14050 $as_echo_n "(cached) " >&6
14051 else
14052 ac_check_soname_save_LIBS=$LIBS
14053 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
14054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14055 /* end confdefs.h. */
14057 /* Override any GCC internal prototype to avoid an error.
14058 Use char because int might match the return type of a GCC
14059 builtin and then its argument prototype would still apply. */
14060 #ifdef __cplusplus
14061 extern "C"
14062 #endif
14063 char FAudioCreate ();
14065 main ()
14067 return FAudioCreate ();
14069 return 0;
14071 _ACEOF
14072 if ac_fn_c_try_link "$LINENO"; then :
14073 case "$LIBEXT" in
14074 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14075 dylib) ac_cv_lib_soname_FAudio=`$OTOOL -L conftest$ac_exeext | grep "libFAudio*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libFAudio*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14076 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14077 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14078 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14079 fi ;;
14080 esac
14082 rm -f core conftest.err conftest.$ac_objext \
14083 conftest$ac_exeext conftest.$ac_ext
14084 LIBS=$ac_check_soname_save_LIBS
14086 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14088 $as_echo "not found" >&6; }
14090 else
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
14092 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
14094 cat >>confdefs.h <<_ACEOF
14095 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
14096 _ACEOF
14102 done
14104 CPPFLAGS=$ac_save_CPPFLAGS
14105 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14106 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14109 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
14110 case "x$with_faudio" in
14111 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
14112 xno) ;;
14113 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
14114 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
14115 esac
14119 if test "x$with_capi" != "xno"
14120 then
14121 if ${CAPI20_CFLAGS:+false} :; then :
14122 if ${PKG_CONFIG+:} false; then :
14123 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
14127 if ${CAPI20_LIBS:+false} :; then :
14128 if ${PKG_CONFIG+:} false; then :
14129 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
14134 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
14135 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
14136 ac_save_CPPFLAGS=$CPPFLAGS
14137 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
14138 for ac_header in capi20.h linux/capi.h
14139 do :
14140 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14141 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
14143 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14144 cat >>confdefs.h <<_ACEOF
14145 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14146 _ACEOF
14150 done
14152 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14153 then
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
14155 $as_echo_n "checking for -lcapi20... " >&6; }
14156 if ${ac_cv_lib_soname_capi20+:} false; then :
14157 $as_echo_n "(cached) " >&6
14158 else
14159 ac_check_soname_save_LIBS=$LIBS
14160 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
14161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14162 /* end confdefs.h. */
14164 /* Override any GCC internal prototype to avoid an error.
14165 Use char because int might match the return type of a GCC
14166 builtin and then its argument prototype would still apply. */
14167 #ifdef __cplusplus
14168 extern "C"
14169 #endif
14170 char capi20_register ();
14172 main ()
14174 return capi20_register ();
14176 return 0;
14178 _ACEOF
14179 if ac_fn_c_try_link "$LINENO"; then :
14180 case "$LIBEXT" in
14181 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14182 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'` ;;
14183 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14184 if ${ac_cv_lib_soname_capi20:+false} :; then :
14185 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14186 fi ;;
14187 esac
14189 rm -f core conftest.err conftest.$ac_objext \
14190 conftest$ac_exeext conftest.$ac_ext
14191 LIBS=$ac_check_soname_save_LIBS
14193 if ${ac_cv_lib_soname_capi20:+false} :; then :
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14195 $as_echo "not found" >&6; }
14197 else
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
14199 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
14201 cat >>confdefs.h <<_ACEOF
14202 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14203 _ACEOF
14208 CPPFLAGS=$ac_save_CPPFLAGS
14209 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14210 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14213 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
14214 case "x$with_capi" in
14215 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
14216 xno) ;;
14217 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
14218 This is an error since --with-capi was requested." "$LINENO" 5 ;;
14219 esac
14223 if test "x$with_cups" != "xno"
14224 then
14225 if ${CUPS_CFLAGS:+false} :; then :
14226 if ${PKG_CONFIG+:} false; then :
14227 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
14230 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
14231 if ${CUPS_LIBS:+false} :; then :
14232 if ${PKG_CONFIG+:} false; then :
14233 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
14236 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
14237 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
14238 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
14239 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
14240 ac_save_CPPFLAGS=$CPPFLAGS
14241 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
14242 for ac_header in cups/cups.h cups/ppd.h
14243 do :
14244 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14245 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14246 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14247 cat >>confdefs.h <<_ACEOF
14248 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14249 _ACEOF
14253 done
14255 if test "$ac_cv_header_cups_cups_h" = "yes"
14256 then
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14258 $as_echo_n "checking for -lcups... " >&6; }
14259 if ${ac_cv_lib_soname_cups+:} false; then :
14260 $as_echo_n "(cached) " >&6
14261 else
14262 ac_check_soname_save_LIBS=$LIBS
14263 LIBS="-lcups $CUPS_LIBS $LIBS"
14264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14265 /* end confdefs.h. */
14267 /* Override any GCC internal prototype to avoid an error.
14268 Use char because int might match the return type of a GCC
14269 builtin and then its argument prototype would still apply. */
14270 #ifdef __cplusplus
14271 extern "C"
14272 #endif
14273 char cupsGetDefault ();
14275 main ()
14277 return cupsGetDefault ();
14279 return 0;
14281 _ACEOF
14282 if ac_fn_c_try_link "$LINENO"; then :
14283 case "$LIBEXT" in
14284 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14285 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'` ;;
14286 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14287 if ${ac_cv_lib_soname_cups:+false} :; then :
14288 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14289 fi ;;
14290 esac
14292 rm -f core conftest.err conftest.$ac_objext \
14293 conftest$ac_exeext conftest.$ac_ext
14294 LIBS=$ac_check_soname_save_LIBS
14296 if ${ac_cv_lib_soname_cups:+false} :; then :
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14298 $as_echo "not found" >&6; }
14299 CUPS_LIBS=""
14300 else
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14302 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14304 cat >>confdefs.h <<_ACEOF
14305 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14306 _ACEOF
14310 else
14311 CUPS_CFLAGS=""
14312 CUPS_LIBS=""
14314 CPPFLAGS=$ac_save_CPPFLAGS
14315 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14316 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14319 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14320 case "x$with_cups" in
14321 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14322 xno) ;;
14323 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14324 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14325 esac
14329 if test "x$with_fontconfig" != "xno"
14330 then
14331 if ${FONTCONFIG_CFLAGS:+false} :; then :
14332 if ${PKG_CONFIG+:} false; then :
14333 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14336 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14337 if ${FONTCONFIG_LIBS:+false} :; then :
14338 if ${PKG_CONFIG+:} false; then :
14339 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14342 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14344 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14345 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14346 ac_save_CPPFLAGS=$CPPFLAGS
14347 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14348 for ac_header in fontconfig/fontconfig.h
14349 do :
14350 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14351 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14352 cat >>confdefs.h <<_ACEOF
14353 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14354 _ACEOF
14358 done
14360 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14361 then
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14363 $as_echo_n "checking for -lfontconfig... " >&6; }
14364 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14365 $as_echo_n "(cached) " >&6
14366 else
14367 ac_check_soname_save_LIBS=$LIBS
14368 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h. */
14372 /* Override any GCC internal prototype to avoid an error.
14373 Use char because int might match the return type of a GCC
14374 builtin and then its argument prototype would still apply. */
14375 #ifdef __cplusplus
14376 extern "C"
14377 #endif
14378 char FcInit ();
14380 main ()
14382 return FcInit ();
14384 return 0;
14386 _ACEOF
14387 if ac_fn_c_try_link "$LINENO"; then :
14388 case "$LIBEXT" in
14389 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14390 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'` ;;
14391 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14392 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14393 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14394 fi ;;
14395 esac
14397 rm -f core conftest.err conftest.$ac_objext \
14398 conftest$ac_exeext conftest.$ac_ext
14399 LIBS=$ac_check_soname_save_LIBS
14401 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14403 $as_echo "not found" >&6; }
14404 FONTCONFIG_CFLAGS=""
14405 else
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14407 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14409 cat >>confdefs.h <<_ACEOF
14410 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14411 _ACEOF
14415 else
14416 FONTCONFIG_CFLAGS=""
14418 CPPFLAGS=$ac_save_CPPFLAGS
14419 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14420 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14423 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14424 case "x$with_fontconfig" in
14425 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14426 xno) ;;
14427 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14428 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14429 esac
14433 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14434 then
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14436 $as_echo_n "checking for -lgsm... " >&6; }
14437 if ${ac_cv_lib_soname_gsm+:} false; then :
14438 $as_echo_n "(cached) " >&6
14439 else
14440 ac_check_soname_save_LIBS=$LIBS
14441 LIBS="-lgsm $LIBS"
14442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14443 /* end confdefs.h. */
14445 /* Override any GCC internal prototype to avoid an error.
14446 Use char because int might match the return type of a GCC
14447 builtin and then its argument prototype would still apply. */
14448 #ifdef __cplusplus
14449 extern "C"
14450 #endif
14451 char gsm_create ();
14453 main ()
14455 return gsm_create ();
14457 return 0;
14459 _ACEOF
14460 if ac_fn_c_try_link "$LINENO"; then :
14461 case "$LIBEXT" in
14462 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14463 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'` ;;
14464 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14465 if ${ac_cv_lib_soname_gsm:+false} :; then :
14466 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14467 fi ;;
14468 esac
14470 rm -f core conftest.err conftest.$ac_objext \
14471 conftest$ac_exeext conftest.$ac_ext
14472 LIBS=$ac_check_soname_save_LIBS
14474 if ${ac_cv_lib_soname_gsm:+false} :; then :
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14476 $as_echo "not found" >&6; }
14478 else
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14480 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14482 cat >>confdefs.h <<_ACEOF
14483 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14484 _ACEOF
14489 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14490 case "x$with_gsm" in
14491 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14492 xno) ;;
14493 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14494 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14495 esac
14499 if test "x$with_krb5" != "xno"
14500 then
14501 if ${KRB5_CFLAGS:+false} :; then :
14502 if ${PKG_CONFIG+:} false; then :
14503 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14506 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14507 if ${KRB5_LIBS:+false} :; then :
14508 if ${PKG_CONFIG+:} false; then :
14509 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14512 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14514 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14515 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14516 ac_save_CPPFLAGS=$CPPFLAGS
14517 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14518 for ac_header in krb5/krb5.h
14519 do :
14520 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14521 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14522 cat >>confdefs.h <<_ACEOF
14523 #define HAVE_KRB5_KRB5_H 1
14524 _ACEOF
14528 done
14530 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14531 then
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14533 $as_echo_n "checking for -lkrb5... " >&6; }
14534 if ${ac_cv_lib_soname_krb5+:} false; then :
14535 $as_echo_n "(cached) " >&6
14536 else
14537 ac_check_soname_save_LIBS=$LIBS
14538 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14540 /* end confdefs.h. */
14542 /* Override any GCC internal prototype to avoid an error.
14543 Use char because int might match the return type of a GCC
14544 builtin and then its argument prototype would still apply. */
14545 #ifdef __cplusplus
14546 extern "C"
14547 #endif
14548 char krb5_is_config_principal ();
14550 main ()
14552 return krb5_is_config_principal ();
14554 return 0;
14556 _ACEOF
14557 if ac_fn_c_try_link "$LINENO"; then :
14558 case "$LIBEXT" in
14559 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14560 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'` ;;
14561 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14562 if ${ac_cv_lib_soname_krb5:+false} :; then :
14563 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14564 fi ;;
14565 esac
14567 rm -f core conftest.err conftest.$ac_objext \
14568 conftest$ac_exeext conftest.$ac_ext
14569 LIBS=$ac_check_soname_save_LIBS
14571 if ${ac_cv_lib_soname_krb5:+false} :; then :
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14573 $as_echo "not found" >&6; }
14574 KRB5_CFLAGS=""
14575 else
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14577 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14579 cat >>confdefs.h <<_ACEOF
14580 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14581 _ACEOF
14585 else
14586 KRB5_CFLAGS=""
14588 CPPFLAGS=$ac_save_CPPFLAGS
14589 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14590 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14592 else
14593 with_gssapi=${with_gssapi:-no}
14595 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14596 case "x$with_krb5" in
14597 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14598 xno) ;;
14599 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14600 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14601 esac
14605 if test "x$with_gssapi" != "xno"
14606 then
14607 if ${GSSAPI_CFLAGS:+false} :; then :
14608 if ${PKG_CONFIG+:} false; then :
14609 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14612 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14613 if ${GSSAPI_LIBS:+false} :; then :
14614 if ${PKG_CONFIG+:} false; then :
14615 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14618 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14620 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14621 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14622 ac_save_CPPFLAGS=$CPPFLAGS
14623 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14624 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14625 do :
14626 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14627 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14628 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14629 cat >>confdefs.h <<_ACEOF
14630 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14631 _ACEOF
14635 done
14637 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14638 then
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14640 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14641 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14642 $as_echo_n "(cached) " >&6
14643 else
14644 ac_check_soname_save_LIBS=$LIBS
14645 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14649 /* Override any GCC internal prototype to avoid an error.
14650 Use char because int might match the return type of a GCC
14651 builtin and then its argument prototype would still apply. */
14652 #ifdef __cplusplus
14653 extern "C"
14654 #endif
14655 char gss_init_sec_context ();
14657 main ()
14659 return gss_init_sec_context ();
14661 return 0;
14663 _ACEOF
14664 if ac_fn_c_try_link "$LINENO"; then :
14665 case "$LIBEXT" in
14666 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14667 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'` ;;
14668 *) 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'`
14669 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14670 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14671 fi ;;
14672 esac
14674 rm -f core conftest.err conftest.$ac_objext \
14675 conftest$ac_exeext conftest.$ac_ext
14676 LIBS=$ac_check_soname_save_LIBS
14678 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14680 $as_echo "not found" >&6; }
14681 GSSAPI_CFLAGS=""
14682 else
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14684 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14686 cat >>confdefs.h <<_ACEOF
14687 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14688 _ACEOF
14692 else
14693 GSSAPI_CFLAGS=""
14695 CPPFLAGS=$ac_save_CPPFLAGS
14696 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14697 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14700 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14701 case "x$with_gssapi" in
14702 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14703 xno) ;;
14704 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14705 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14706 esac
14710 if test "x$with_jpeg" != "xno"
14711 then
14712 if ${JPEG_CFLAGS:+false} :; then :
14713 if ${PKG_CONFIG+:} false; then :
14714 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14718 if ${JPEG_LIBS:+false} :; then :
14719 if ${PKG_CONFIG+:} false; then :
14720 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14725 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14726 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14727 ac_save_CPPFLAGS=$CPPFLAGS
14728 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14729 for ac_header in jpeglib.h
14730 do :
14731 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14732 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14733 cat >>confdefs.h <<_ACEOF
14734 #define HAVE_JPEGLIB_H 1
14735 _ACEOF
14739 done
14741 if test "$ac_cv_header_jpeglib_h" = "yes"
14742 then
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14744 $as_echo_n "checking for -ljpeg... " >&6; }
14745 if ${ac_cv_lib_soname_jpeg+:} false; then :
14746 $as_echo_n "(cached) " >&6
14747 else
14748 ac_check_soname_save_LIBS=$LIBS
14749 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14751 /* end confdefs.h. */
14753 /* Override any GCC internal prototype to avoid an error.
14754 Use char because int might match the return type of a GCC
14755 builtin and then its argument prototype would still apply. */
14756 #ifdef __cplusplus
14757 extern "C"
14758 #endif
14759 char jpeg_start_decompress ();
14761 main ()
14763 return jpeg_start_decompress ();
14765 return 0;
14767 _ACEOF
14768 if ac_fn_c_try_link "$LINENO"; then :
14769 case "$LIBEXT" in
14770 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14771 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'` ;;
14772 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14773 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14774 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14775 fi ;;
14776 esac
14778 rm -f core conftest.err conftest.$ac_objext \
14779 conftest$ac_exeext conftest.$ac_ext
14780 LIBS=$ac_check_soname_save_LIBS
14782 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14784 $as_echo "not found" >&6; }
14785 JPEG_CFLAGS=""
14786 else
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14788 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14790 cat >>confdefs.h <<_ACEOF
14791 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14792 _ACEOF
14796 else
14797 JPEG_CFLAGS=""
14799 CPPFLAGS=$ac_save_CPPFLAGS
14800 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14801 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14804 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14805 case "x$with_jpeg" in
14806 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14807 xno) ;;
14808 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14809 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14810 esac
14814 if test "x$with_png" != "xno"
14815 then
14816 if ${PNG_CFLAGS:+false} :; then :
14817 if ${PKG_CONFIG+:} false; then :
14818 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14821 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14822 if ${PNG_LIBS:+false} :; then :
14823 if ${PKG_CONFIG+:} false; then :
14824 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14827 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14829 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14830 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14831 ac_save_CPPFLAGS=$CPPFLAGS
14832 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14833 for ac_header in png.h
14834 do :
14835 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14836 if test "x$ac_cv_header_png_h" = xyes; then :
14837 cat >>confdefs.h <<_ACEOF
14838 #define HAVE_PNG_H 1
14839 _ACEOF
14843 done
14845 if test "$ac_cv_header_png_h" = "yes"
14846 then
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14848 $as_echo_n "checking for -lpng... " >&6; }
14849 if ${ac_cv_lib_soname_png+:} false; then :
14850 $as_echo_n "(cached) " >&6
14851 else
14852 ac_check_soname_save_LIBS=$LIBS
14853 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14857 /* Override any GCC internal prototype to avoid an error.
14858 Use char because int might match the return type of a GCC
14859 builtin and then its argument prototype would still apply. */
14860 #ifdef __cplusplus
14861 extern "C"
14862 #endif
14863 char png_create_read_struct ();
14865 main ()
14867 return png_create_read_struct ();
14869 return 0;
14871 _ACEOF
14872 if ac_fn_c_try_link "$LINENO"; then :
14873 case "$LIBEXT" in
14874 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14875 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'` ;;
14876 *) 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'`
14877 if ${ac_cv_lib_soname_png:+false} :; then :
14878 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14879 fi ;;
14880 esac
14882 rm -f core conftest.err conftest.$ac_objext \
14883 conftest$ac_exeext conftest.$ac_ext
14884 LIBS=$ac_check_soname_save_LIBS
14886 if ${ac_cv_lib_soname_png:+false} :; then :
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14888 $as_echo "not found" >&6; }
14889 PNG_CFLAGS=""
14890 else
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14892 $as_echo "$ac_cv_lib_soname_png" >&6; }
14894 cat >>confdefs.h <<_ACEOF
14895 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14896 _ACEOF
14900 else
14901 PNG_CFLAGS=""
14903 CPPFLAGS=$ac_save_CPPFLAGS
14904 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14905 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14908 if test "x$ac_cv_lib_soname_png" = "x"; then :
14909 case "x$with_png" in
14910 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14911 xno) ;;
14912 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14913 This is an error since --with-png was requested." "$LINENO" 5 ;;
14914 esac
14918 if test "x$with_tiff" != "xno"
14919 then
14920 if ${TIFF_CFLAGS:+false} :; then :
14921 if ${PKG_CONFIG+:} false; then :
14922 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14926 if ${TIFF_LIBS:+false} :; then :
14927 if ${PKG_CONFIG+:} false; then :
14928 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14933 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14934 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14935 ac_save_CPPFLAGS=$CPPFLAGS
14936 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14937 for ac_header in tiffio.h
14938 do :
14939 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14940 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14941 cat >>confdefs.h <<_ACEOF
14942 #define HAVE_TIFFIO_H 1
14943 _ACEOF
14947 done
14949 if test "$ac_cv_header_tiffio_h" = "yes"
14950 then
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14952 $as_echo_n "checking for -ltiff... " >&6; }
14953 if ${ac_cv_lib_soname_tiff+:} false; then :
14954 $as_echo_n "(cached) " >&6
14955 else
14956 ac_check_soname_save_LIBS=$LIBS
14957 LIBS="-ltiff $TIFF_LIBS $LIBS"
14958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14959 /* end confdefs.h. */
14961 /* Override any GCC internal prototype to avoid an error.
14962 Use char because int might match the return type of a GCC
14963 builtin and then its argument prototype would still apply. */
14964 #ifdef __cplusplus
14965 extern "C"
14966 #endif
14967 char TIFFClientOpen ();
14969 main ()
14971 return TIFFClientOpen ();
14973 return 0;
14975 _ACEOF
14976 if ac_fn_c_try_link "$LINENO"; then :
14977 case "$LIBEXT" in
14978 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14979 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'` ;;
14980 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14981 if ${ac_cv_lib_soname_tiff:+false} :; then :
14982 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14983 fi ;;
14984 esac
14986 rm -f core conftest.err conftest.$ac_objext \
14987 conftest$ac_exeext conftest.$ac_ext
14988 LIBS=$ac_check_soname_save_LIBS
14990 if ${ac_cv_lib_soname_tiff:+false} :; then :
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14992 $as_echo "not found" >&6; }
14994 else
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14996 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14998 cat >>confdefs.h <<_ACEOF
14999 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
15000 _ACEOF
15005 CPPFLAGS=$ac_save_CPPFLAGS
15006 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15007 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15010 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
15011 case "x$with_tiff" in
15012 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
15013 xno) ;;
15014 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
15015 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
15016 esac
15020 if test "x$with_mpg123" != "xno"
15021 then
15022 if ${MPG123_CFLAGS:+false} :; then :
15023 if ${PKG_CONFIG+:} false; then :
15024 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
15028 if ${MPG123_LIBS:+false} :; then :
15029 if ${PKG_CONFIG+:} false; then :
15030 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
15034 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
15035 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
15036 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
15037 ac_save_CPPFLAGS=$CPPFLAGS
15038 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
15039 for ac_header in mpg123.h
15040 do :
15041 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
15042 if test "x$ac_cv_header_mpg123_h" = xyes; then :
15043 cat >>confdefs.h <<_ACEOF
15044 #define HAVE_MPG123_H 1
15045 _ACEOF
15049 done
15051 if test "$ac_cv_header_mpg123_h" = "yes"
15052 then
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
15054 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
15055 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
15056 $as_echo_n "(cached) " >&6
15057 else
15058 ac_check_lib_save_LIBS=$LIBS
15059 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
15060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15061 /* end confdefs.h. */
15063 /* Override any GCC internal prototype to avoid an error.
15064 Use char because int might match the return type of a GCC
15065 builtin and then its argument prototype would still apply. */
15066 #ifdef __cplusplus
15067 extern "C"
15068 #endif
15069 char mpg123_feed ();
15071 main ()
15073 return mpg123_feed ();
15075 return 0;
15077 _ACEOF
15078 if ac_fn_c_try_link "$LINENO"; then :
15079 ac_cv_lib_mpg123_mpg123_feed=yes
15080 else
15081 ac_cv_lib_mpg123_mpg123_feed=no
15083 rm -f core conftest.err conftest.$ac_objext \
15084 conftest$ac_exeext conftest.$ac_ext
15085 LIBS=$ac_check_lib_save_LIBS
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
15088 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
15089 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
15091 else
15092 MPG123_LIBS=""
15095 else
15096 MPG123_CFLAGS=""
15097 MPG123_LIBS=""
15099 CPPFLAGS=$ac_save_CPPFLAGS
15100 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15101 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15104 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
15105 case "x$with_mpg123" in
15106 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
15107 xno) ;;
15108 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
15109 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
15110 esac
15111 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
15113 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
15115 if test "$ac_cv_header_AL_al_h" = "yes"
15116 then
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
15118 $as_echo_n "checking for -lopenal... " >&6; }
15119 if ${ac_cv_lib_soname_openal+:} false; then :
15120 $as_echo_n "(cached) " >&6
15121 else
15122 ac_check_soname_save_LIBS=$LIBS
15123 LIBS="-lopenal $LIBS"
15124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15127 /* Override any GCC internal prototype to avoid an error.
15128 Use char because int might match the return type of a GCC
15129 builtin and then its argument prototype would still apply. */
15130 #ifdef __cplusplus
15131 extern "C"
15132 #endif
15133 char alGetSource3i ();
15135 main ()
15137 return alGetSource3i ();
15139 return 0;
15141 _ACEOF
15142 if ac_fn_c_try_link "$LINENO"; then :
15143 case "$LIBEXT" in
15144 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15145 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'` ;;
15146 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15147 if ${ac_cv_lib_soname_openal:+false} :; then :
15148 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15149 fi ;;
15150 esac
15152 rm -f core conftest.err conftest.$ac_objext \
15153 conftest$ac_exeext conftest.$ac_ext
15154 LIBS=$ac_check_soname_save_LIBS
15156 if ${ac_cv_lib_soname_openal:+false} :; then :
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15158 $as_echo "not found" >&6; }
15160 else
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
15162 $as_echo "$ac_cv_lib_soname_openal" >&6; }
15164 cat >>confdefs.h <<_ACEOF
15165 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
15166 _ACEOF
15168 OPENAL_LIBS="-lopenal"
15170 ac_cv_lib_openal=yes
15172 cat >>confdefs.h <<_ACEOF
15173 #define HAVE_OPENAL 1
15174 _ACEOF
15178 if test "x$ac_cv_lib_openal" != xyes; then :
15179 case "x$with_openal" in
15180 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
15181 xno) ;;
15182 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
15183 This is an error since --with-openal was requested." "$LINENO" 5 ;;
15184 esac
15185 enable_openal32=${enable_openal32:-no}
15188 if test "x$ac_cv_lib_soname_FAudio" = "x"
15189 then
15190 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
15191 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
15192 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
15193 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
15194 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
15195 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
15196 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
15197 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
15198 enable_xapofx1_1=${enable_xapofx1_1:-no}
15199 enable_xapofx1_2=${enable_xapofx1_2:-no}
15200 enable_xapofx1_3=${enable_xapofx1_3:-no}
15201 enable_xapofx1_4=${enable_xapofx1_4:-no}
15202 enable_xapofx1_5=${enable_xapofx1_5:-no}
15203 enable_xaudio2_0=${enable_xaudio2_0:-no}
15204 enable_xaudio2_1=${enable_xaudio2_1:-no}
15205 enable_xaudio2_2=${enable_xaudio2_2:-no}
15206 enable_xaudio2_3=${enable_xaudio2_3:-no}
15207 enable_xaudio2_4=${enable_xaudio2_4:-no}
15208 enable_xaudio2_5=${enable_xaudio2_5:-no}
15209 enable_xaudio2_6=${enable_xaudio2_6:-no}
15210 enable_xaudio2_7=${enable_xaudio2_7:-no}
15211 enable_xaudio2_8=${enable_xaudio2_8:-no}
15212 enable_xaudio2_9=${enable_xaudio2_9:-no}
15215 if test "$ac_cv_header_kstat_h" = "yes"
15216 then
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
15218 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
15219 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
15220 $as_echo_n "(cached) " >&6
15221 else
15222 ac_check_lib_save_LIBS=$LIBS
15223 LIBS="-lkstat $LIBS"
15224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15225 /* end confdefs.h. */
15227 /* Override any GCC internal prototype to avoid an error.
15228 Use char because int might match the return type of a GCC
15229 builtin and then its argument prototype would still apply. */
15230 #ifdef __cplusplus
15231 extern "C"
15232 #endif
15233 char kstat_open ();
15235 main ()
15237 return kstat_open ();
15239 return 0;
15241 _ACEOF
15242 if ac_fn_c_try_link "$LINENO"; then :
15243 ac_cv_lib_kstat_kstat_open=yes
15244 else
15245 ac_cv_lib_kstat_kstat_open=no
15247 rm -f core conftest.err conftest.$ac_objext \
15248 conftest$ac_exeext conftest.$ac_ext
15249 LIBS=$ac_check_lib_save_LIBS
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15252 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15253 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15255 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15257 KSTAT_LIBS="-lkstat"
15263 if test "$ac_cv_header_libprocstat_h" = "yes"
15264 then
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15266 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15267 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15268 $as_echo_n "(cached) " >&6
15269 else
15270 ac_check_lib_save_LIBS=$LIBS
15271 LIBS="-lprocstat $LIBS"
15272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15273 /* end confdefs.h. */
15275 /* Override any GCC internal prototype to avoid an error.
15276 Use char because int might match the return type of a GCC
15277 builtin and then its argument prototype would still apply. */
15278 #ifdef __cplusplus
15279 extern "C"
15280 #endif
15281 char procstat_open_sysctl ();
15283 main ()
15285 return procstat_open_sysctl ();
15287 return 0;
15289 _ACEOF
15290 if ac_fn_c_try_link "$LINENO"; then :
15291 ac_cv_lib_procstat_procstat_open_sysctl=yes
15292 else
15293 ac_cv_lib_procstat_procstat_open_sysctl=no
15295 rm -f core conftest.err conftest.$ac_objext \
15296 conftest$ac_exeext conftest.$ac_ext
15297 LIBS=$ac_check_lib_save_LIBS
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15300 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15301 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15303 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15305 PROCSTAT_LIBS="-lprocstat"
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15312 $as_echo_n "checking for -lodbc... " >&6; }
15313 if ${ac_cv_lib_soname_odbc+:} false; then :
15314 $as_echo_n "(cached) " >&6
15315 else
15316 ac_check_soname_save_LIBS=$LIBS
15317 LIBS="-lodbc $LIBS"
15318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15319 /* end confdefs.h. */
15321 /* Override any GCC internal prototype to avoid an error.
15322 Use char because int might match the return type of a GCC
15323 builtin and then its argument prototype would still apply. */
15324 #ifdef __cplusplus
15325 extern "C"
15326 #endif
15327 char SQLConnect ();
15329 main ()
15331 return SQLConnect ();
15333 return 0;
15335 _ACEOF
15336 if ac_fn_c_try_link "$LINENO"; then :
15337 case "$LIBEXT" in
15338 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15339 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'` ;;
15340 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15341 if ${ac_cv_lib_soname_odbc:+false} :; then :
15342 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15343 fi ;;
15344 esac
15346 rm -f core conftest.err conftest.$ac_objext \
15347 conftest$ac_exeext conftest.$ac_ext
15348 LIBS=$ac_check_soname_save_LIBS
15350 if ${ac_cv_lib_soname_odbc:+false} :; then :
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15352 $as_echo "not found" >&6; }
15353 cat >>confdefs.h <<_ACEOF
15354 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15355 _ACEOF
15357 else
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15359 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15361 cat >>confdefs.h <<_ACEOF
15362 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15363 _ACEOF
15368 if test "x$with_netapi" != "xno"
15369 then
15370 if ${NETAPI_CFLAGS:+false} :; then :
15371 if ${PKG_CONFIG+:} false; then :
15372 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15376 if ${NETAPI_LIBS:+false} :; then :
15377 if ${PKG_CONFIG+:} false; then :
15378 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15383 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15384 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15385 ac_save_CPPFLAGS=$CPPFLAGS
15386 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15388 $as_echo_n "checking for -lnetapi... " >&6; }
15389 if ${ac_cv_lib_soname_netapi+:} false; then :
15390 $as_echo_n "(cached) " >&6
15391 else
15392 ac_check_soname_save_LIBS=$LIBS
15393 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15395 /* end confdefs.h. */
15397 /* Override any GCC internal prototype to avoid an error.
15398 Use char because int might match the return type of a GCC
15399 builtin and then its argument prototype would still apply. */
15400 #ifdef __cplusplus
15401 extern "C"
15402 #endif
15403 char libnetapi_init ();
15405 main ()
15407 return libnetapi_init ();
15409 return 0;
15411 _ACEOF
15412 if ac_fn_c_try_link "$LINENO"; then :
15413 case "$LIBEXT" in
15414 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15415 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'` ;;
15416 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15417 if ${ac_cv_lib_soname_netapi:+false} :; then :
15418 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15419 fi ;;
15420 esac
15422 rm -f core conftest.err conftest.$ac_objext \
15423 conftest$ac_exeext conftest.$ac_ext
15424 LIBS=$ac_check_soname_save_LIBS
15426 if ${ac_cv_lib_soname_netapi:+false} :; then :
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15428 $as_echo "not found" >&6; }
15429 cat >>confdefs.h <<_ACEOF
15430 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15431 _ACEOF
15433 else
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15435 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15437 cat >>confdefs.h <<_ACEOF
15438 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15439 _ACEOF
15443 CPPFLAGS=$ac_save_CPPFLAGS
15444 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15445 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15449 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15450 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15451 then
15452 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15455 if test "x$with_vulkan" != "xno"
15456 then
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15458 $as_echo_n "checking for -lvulkan... " >&6; }
15459 if ${ac_cv_lib_soname_vulkan+:} false; then :
15460 $as_echo_n "(cached) " >&6
15461 else
15462 ac_check_soname_save_LIBS=$LIBS
15463 LIBS="-lvulkan $LIBS"
15464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15465 /* end confdefs.h. */
15467 /* Override any GCC internal prototype to avoid an error.
15468 Use char because int might match the return type of a GCC
15469 builtin and then its argument prototype would still apply. */
15470 #ifdef __cplusplus
15471 extern "C"
15472 #endif
15473 char vkGetInstanceProcAddr ();
15475 main ()
15477 return vkGetInstanceProcAddr ();
15479 return 0;
15481 _ACEOF
15482 if ac_fn_c_try_link "$LINENO"; then :
15483 case "$LIBEXT" in
15484 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15485 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'` ;;
15486 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15487 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15488 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15489 fi ;;
15490 esac
15492 rm -f core conftest.err conftest.$ac_objext \
15493 conftest$ac_exeext conftest.$ac_ext
15494 LIBS=$ac_check_soname_save_LIBS
15496 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15498 $as_echo "not found" >&6; }
15500 else
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15502 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15504 cat >>confdefs.h <<_ACEOF
15505 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15506 _ACEOF
15510 if test "x$ac_cv_lib_soname_vulkan" = "x"
15511 then
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15513 $as_echo_n "checking for -lMoltenVK... " >&6; }
15514 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15515 $as_echo_n "(cached) " >&6
15516 else
15517 ac_check_soname_save_LIBS=$LIBS
15518 LIBS="-lMoltenVK $LIBS"
15519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15520 /* end confdefs.h. */
15522 /* Override any GCC internal prototype to avoid an error.
15523 Use char because int might match the return type of a GCC
15524 builtin and then its argument prototype would still apply. */
15525 #ifdef __cplusplus
15526 extern "C"
15527 #endif
15528 char vkGetInstanceProcAddr ();
15530 main ()
15532 return vkGetInstanceProcAddr ();
15534 return 0;
15536 _ACEOF
15537 if ac_fn_c_try_link "$LINENO"; then :
15538 case "$LIBEXT" in
15539 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15540 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'` ;;
15541 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15542 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15543 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15544 fi ;;
15545 esac
15547 rm -f core conftest.err conftest.$ac_objext \
15548 conftest$ac_exeext conftest.$ac_ext
15549 LIBS=$ac_check_soname_save_LIBS
15551 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15553 $as_echo "not found" >&6; }
15555 else
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15557 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15559 cat >>confdefs.h <<_ACEOF
15560 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15561 _ACEOF
15567 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15568 case "x$with_vulkan" in
15569 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15570 xno) ;;
15571 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15572 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15573 esac
15577 if test "x$with_vkd3d" != "xno"
15578 then
15579 if ${VKD3D_CFLAGS:+false} :; then :
15580 if ${PKG_CONFIG+:} false; then :
15581 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15585 if ${VKD3D_LIBS:+false} :; then :
15586 if ${PKG_CONFIG+:} false; then :
15587 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15592 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15593 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15594 ac_save_CPPFLAGS=$CPPFLAGS
15595 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15597 $as_echo_n "checking for -lvkd3d... " >&6; }
15598 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15599 $as_echo_n "(cached) " >&6
15600 else
15601 ac_check_soname_save_LIBS=$LIBS
15602 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15604 /* end confdefs.h. */
15606 /* Override any GCC internal prototype to avoid an error.
15607 Use char because int might match the return type of a GCC
15608 builtin and then its argument prototype would still apply. */
15609 #ifdef __cplusplus
15610 extern "C"
15611 #endif
15612 char vkd3d_create_device ();
15614 main ()
15616 return vkd3d_create_device ();
15618 return 0;
15620 _ACEOF
15621 if ac_fn_c_try_link "$LINENO"; then :
15622 case "$LIBEXT" in
15623 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15624 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'` ;;
15625 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15626 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15627 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15628 fi ;;
15629 esac
15631 rm -f core conftest.err conftest.$ac_objext \
15632 conftest$ac_exeext conftest.$ac_ext
15633 LIBS=$ac_check_soname_save_LIBS
15635 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15637 $as_echo "not found" >&6; }
15639 else
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15641 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15643 cat >>confdefs.h <<_ACEOF
15644 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15645 _ACEOF
15649 CPPFLAGS=$ac_save_CPPFLAGS
15650 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15651 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15654 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15655 case "x$with_vkd3d" in
15656 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported." ;;
15657 xno) ;;
15658 *) as_fn_error $? "vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.
15659 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15660 esac
15663 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15666 EXTRACFLAGS=""
15668 if test "x${GCC}" = "xyes"
15669 then
15670 EXTRACFLAGS="-Wall -pipe"
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15673 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15674 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15675 $as_echo_n "(cached) " >&6
15676 else
15677 if test "$cross_compiling" = yes; then :
15678 ac_cv_c_gcc_strength_bug="no"
15679 else
15680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15681 /* end confdefs.h. */
15682 int L[4] = {0,1,2,3};
15684 main ()
15686 static int Array[3];
15687 unsigned int B = 3;
15688 int i;
15689 for(i=0; i<B; i++) Array[i] = i - 3;
15690 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15691 L[i] = 4;
15692 return (Array[1] != -2 || L[2] != 3)
15694 return 0;
15696 _ACEOF
15697 if ac_fn_c_try_run "$LINENO"; then :
15698 ac_cv_c_gcc_strength_bug="no"
15699 else
15700 ac_cv_c_gcc_strength_bug="yes"
15702 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15703 conftest.$ac_objext conftest.beam conftest.$ac_ext
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15708 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15709 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15710 then
15711 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15715 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15716 if ${ac_cv_cflags__fno_builtin+:} false; then :
15717 $as_echo_n "(cached) " >&6
15718 else
15719 ac_wine_try_cflags_saved=$CFLAGS
15720 CFLAGS="$CFLAGS -fno-builtin"
15721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15722 /* end confdefs.h. */
15723 int main(int argc, char **argv) { return 0; }
15724 _ACEOF
15725 if ac_fn_c_try_link "$LINENO"; then :
15726 ac_cv_cflags__fno_builtin=yes
15727 else
15728 ac_cv_cflags__fno_builtin=no
15730 rm -f core conftest.err conftest.$ac_objext \
15731 conftest$ac_exeext conftest.$ac_ext
15732 CFLAGS=$ac_wine_try_cflags_saved
15734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15735 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15736 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15737 BUILTINFLAG="-fno-builtin"
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15741 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15742 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15743 $as_echo_n "(cached) " >&6
15744 else
15745 ac_wine_try_cflags_saved=$CFLAGS
15746 CFLAGS="$CFLAGS -fno-strict-aliasing"
15747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15748 /* end confdefs.h. */
15749 int main(int argc, char **argv) { return 0; }
15750 _ACEOF
15751 if ac_fn_c_try_link "$LINENO"; then :
15752 ac_cv_cflags__fno_strict_aliasing=yes
15753 else
15754 ac_cv_cflags__fno_strict_aliasing=no
15756 rm -f core conftest.err conftest.$ac_objext \
15757 conftest$ac_exeext conftest.$ac_ext
15758 CFLAGS=$ac_wine_try_cflags_saved
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15761 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15762 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15763 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15766 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15767 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15768 $as_echo_n "(cached) " >&6
15769 else
15770 ac_wine_try_cflags_saved=$CFLAGS
15771 CFLAGS="$CFLAGS -fexcess-precision=standard"
15772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15773 /* end confdefs.h. */
15774 int main(int argc, char **argv) { return 0; }
15775 _ACEOF
15776 if ac_fn_c_try_link "$LINENO"; then :
15777 ac_cv_cflags__fexcess_precision_standard=yes
15778 else
15779 ac_cv_cflags__fexcess_precision_standard=no
15781 rm -f core conftest.err conftest.$ac_objext \
15782 conftest$ac_exeext conftest.$ac_ext
15783 CFLAGS=$ac_wine_try_cflags_saved
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15786 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15787 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15788 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15791 saved_CFLAGS=$CFLAGS
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15793 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15794 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15795 $as_echo_n "(cached) " >&6
15796 else
15797 ac_wine_try_cflags_saved=$CFLAGS
15798 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15800 /* end confdefs.h. */
15801 int main(int argc, char **argv) { return 0; }
15802 _ACEOF
15803 if ac_fn_c_try_link "$LINENO"; then :
15804 ac_cv_cflags__Werror_unknown_warning_option=yes
15805 else
15806 ac_cv_cflags__Werror_unknown_warning_option=no
15808 rm -f core conftest.err conftest.$ac_objext \
15809 conftest$ac_exeext conftest.$ac_ext
15810 CFLAGS=$ac_wine_try_cflags_saved
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15813 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15814 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15815 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15818 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15819 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15820 $as_echo_n "(cached) " >&6
15821 else
15822 ac_wine_try_cflags_saved=$CFLAGS
15823 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15825 /* end confdefs.h. */
15826 int main(int argc, char **argv) { return 0; }
15827 _ACEOF
15828 if ac_fn_c_try_link "$LINENO"; then :
15829 ac_cv_cflags__Wdeclaration_after_statement=yes
15830 else
15831 ac_cv_cflags__Wdeclaration_after_statement=no
15833 rm -f core conftest.err conftest.$ac_objext \
15834 conftest$ac_exeext conftest.$ac_ext
15835 CFLAGS=$ac_wine_try_cflags_saved
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15838 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15839 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15840 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15843 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15844 if ${ac_cv_cflags__Wempty_body+:} false; then :
15845 $as_echo_n "(cached) " >&6
15846 else
15847 ac_wine_try_cflags_saved=$CFLAGS
15848 CFLAGS="$CFLAGS -Wempty-body"
15849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15850 /* end confdefs.h. */
15851 int main(int argc, char **argv) { return 0; }
15852 _ACEOF
15853 if ac_fn_c_try_link "$LINENO"; then :
15854 ac_cv_cflags__Wempty_body=yes
15855 else
15856 ac_cv_cflags__Wempty_body=no
15858 rm -f core conftest.err conftest.$ac_objext \
15859 conftest$ac_exeext conftest.$ac_ext
15860 CFLAGS=$ac_wine_try_cflags_saved
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15863 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15864 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15865 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15868 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15869 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15870 $as_echo_n "(cached) " >&6
15871 else
15872 ac_wine_try_cflags_saved=$CFLAGS
15873 CFLAGS="$CFLAGS -Wignored-qualifiers"
15874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15875 /* end confdefs.h. */
15876 int main(int argc, char **argv) { return 0; }
15877 _ACEOF
15878 if ac_fn_c_try_link "$LINENO"; then :
15879 ac_cv_cflags__Wignored_qualifiers=yes
15880 else
15881 ac_cv_cflags__Wignored_qualifiers=no
15883 rm -f core conftest.err conftest.$ac_objext \
15884 conftest$ac_exeext conftest.$ac_ext
15885 CFLAGS=$ac_wine_try_cflags_saved
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15888 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15889 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15890 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15893 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15894 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15895 $as_echo_n "(cached) " >&6
15896 else
15897 ac_wine_try_cflags_saved=$CFLAGS
15898 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15901 int main(int argc, char **argv) { return 0; }
15902 _ACEOF
15903 if ac_fn_c_try_link "$LINENO"; then :
15904 ac_cv_cflags__Wpacked_not_aligned=yes
15905 else
15906 ac_cv_cflags__Wpacked_not_aligned=no
15908 rm -f core conftest.err conftest.$ac_objext \
15909 conftest$ac_exeext conftest.$ac_ext
15910 CFLAGS=$ac_wine_try_cflags_saved
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15913 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15914 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15915 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15918 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15919 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15920 $as_echo_n "(cached) " >&6
15921 else
15922 ac_wine_try_cflags_saved=$CFLAGS
15923 CFLAGS="$CFLAGS -Wpragma-pack"
15924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15925 /* end confdefs.h. */
15926 int main(int argc, char **argv) { return 0; }
15927 _ACEOF
15928 if ac_fn_c_try_link "$LINENO"; then :
15929 ac_cv_cflags__Wpragma_pack=yes
15930 else
15931 ac_cv_cflags__Wpragma_pack=no
15933 rm -f core conftest.err conftest.$ac_objext \
15934 conftest$ac_exeext conftest.$ac_ext
15935 CFLAGS=$ac_wine_try_cflags_saved
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15938 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15939 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15940 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15943 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15944 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15945 $as_echo_n "(cached) " >&6
15946 else
15947 ac_wine_try_cflags_saved=$CFLAGS
15948 CFLAGS="$CFLAGS -Wshift-overflow=2"
15949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15950 /* end confdefs.h. */
15951 int main(int argc, char **argv) { return 0; }
15952 _ACEOF
15953 if ac_fn_c_try_link "$LINENO"; then :
15954 ac_cv_cflags__Wshift_overflow_2=yes
15955 else
15956 ac_cv_cflags__Wshift_overflow_2=no
15958 rm -f core conftest.err conftest.$ac_objext \
15959 conftest$ac_exeext conftest.$ac_ext
15960 CFLAGS=$ac_wine_try_cflags_saved
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15963 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15964 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15965 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15968 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15969 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15970 $as_echo_n "(cached) " >&6
15971 else
15972 ac_wine_try_cflags_saved=$CFLAGS
15973 CFLAGS="$CFLAGS -Wstrict-prototypes"
15974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15975 /* end confdefs.h. */
15976 int main(int argc, char **argv) { return 0; }
15977 _ACEOF
15978 if ac_fn_c_try_link "$LINENO"; then :
15979 ac_cv_cflags__Wstrict_prototypes=yes
15980 else
15981 ac_cv_cflags__Wstrict_prototypes=no
15983 rm -f core conftest.err conftest.$ac_objext \
15984 conftest$ac_exeext conftest.$ac_ext
15985 CFLAGS=$ac_wine_try_cflags_saved
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15988 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15989 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15990 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15993 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15994 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15995 $as_echo_n "(cached) " >&6
15996 else
15997 ac_wine_try_cflags_saved=$CFLAGS
15998 CFLAGS="$CFLAGS -Wtype-limits"
15999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16000 /* end confdefs.h. */
16001 int main(int argc, char **argv) { return 0; }
16002 _ACEOF
16003 if ac_fn_c_try_link "$LINENO"; then :
16004 ac_cv_cflags__Wtype_limits=yes
16005 else
16006 ac_cv_cflags__Wtype_limits=no
16008 rm -f core conftest.err conftest.$ac_objext \
16009 conftest$ac_exeext conftest.$ac_ext
16010 CFLAGS=$ac_wine_try_cflags_saved
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16013 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16014 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16015 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16018 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16019 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16020 $as_echo_n "(cached) " >&6
16021 else
16022 ac_wine_try_cflags_saved=$CFLAGS
16023 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16025 /* end confdefs.h. */
16026 int main(int argc, char **argv) { return 0; }
16027 _ACEOF
16028 if ac_fn_c_try_link "$LINENO"; then :
16029 ac_cv_cflags__Wunused_but_set_parameter=yes
16030 else
16031 ac_cv_cflags__Wunused_but_set_parameter=no
16033 rm -f core conftest.err conftest.$ac_objext \
16034 conftest$ac_exeext conftest.$ac_ext
16035 CFLAGS=$ac_wine_try_cflags_saved
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16038 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16039 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16040 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16043 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16044 if ${ac_cv_cflags__Wvla+:} false; then :
16045 $as_echo_n "(cached) " >&6
16046 else
16047 ac_wine_try_cflags_saved=$CFLAGS
16048 CFLAGS="$CFLAGS -Wvla"
16049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16050 /* end confdefs.h. */
16051 int main(int argc, char **argv) { return 0; }
16052 _ACEOF
16053 if ac_fn_c_try_link "$LINENO"; then :
16054 ac_cv_cflags__Wvla=yes
16055 else
16056 ac_cv_cflags__Wvla=no
16058 rm -f core conftest.err conftest.$ac_objext \
16059 conftest$ac_exeext conftest.$ac_ext
16060 CFLAGS=$ac_wine_try_cflags_saved
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16063 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16064 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16065 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16068 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16069 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16070 $as_echo_n "(cached) " >&6
16071 else
16072 ac_wine_try_cflags_saved=$CFLAGS
16073 CFLAGS="$CFLAGS -Wwrite-strings"
16074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16075 /* end confdefs.h. */
16076 int main(int argc, char **argv) { return 0; }
16077 _ACEOF
16078 if ac_fn_c_try_link "$LINENO"; then :
16079 ac_cv_cflags__Wwrite_strings=yes
16080 else
16081 ac_cv_cflags__Wwrite_strings=no
16083 rm -f core conftest.err conftest.$ac_objext \
16084 conftest$ac_exeext conftest.$ac_ext
16085 CFLAGS=$ac_wine_try_cflags_saved
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16088 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16089 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16090 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16094 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16095 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16096 $as_echo_n "(cached) " >&6
16097 else
16098 ac_wine_try_cflags_saved=$CFLAGS
16099 CFLAGS="$CFLAGS -Wpointer-arith"
16100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16101 /* end confdefs.h. */
16102 int main(int argc, char **argv) { return 0; }
16103 _ACEOF
16104 if ac_fn_c_try_link "$LINENO"; then :
16105 ac_cv_cflags__Wpointer_arith=yes
16106 else
16107 ac_cv_cflags__Wpointer_arith=no
16109 rm -f core conftest.err conftest.$ac_objext \
16110 conftest$ac_exeext conftest.$ac_ext
16111 CFLAGS=$ac_wine_try_cflags_saved
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16114 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16115 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16116 saved_string_h_CFLAGS=$CFLAGS
16117 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
16119 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
16120 if ${ac_cv_c_string_h_warnings+:} false; then :
16121 $as_echo_n "(cached) " >&6
16122 else
16123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16124 /* end confdefs.h. */
16125 #include <string.h>
16127 main ()
16131 return 0;
16133 _ACEOF
16134 if ac_fn_c_try_compile "$LINENO"; then :
16135 ac_cv_c_string_h_warnings=no
16136 else
16137 ac_cv_c_string_h_warnings=yes
16139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
16142 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
16143 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16144 CFLAGS=$saved_string_h_CFLAGS
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
16148 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
16149 if ${ac_cv_cflags__Wlogical_op+:} false; then :
16150 $as_echo_n "(cached) " >&6
16151 else
16152 ac_wine_try_cflags_saved=$CFLAGS
16153 CFLAGS="$CFLAGS -Wlogical-op"
16154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16155 /* end confdefs.h. */
16156 int main(int argc, char **argv) { return 0; }
16157 _ACEOF
16158 if ac_fn_c_try_link "$LINENO"; then :
16159 ac_cv_cflags__Wlogical_op=yes
16160 else
16161 ac_cv_cflags__Wlogical_op=no
16163 rm -f core conftest.err conftest.$ac_objext \
16164 conftest$ac_exeext conftest.$ac_ext
16165 CFLAGS=$ac_wine_try_cflags_saved
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
16168 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
16169 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
16170 saved_string_h_CFLAGS=$CFLAGS
16171 CFLAGS="$CFLAGS -Wlogical-op -Werror"
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
16173 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
16174 if ${ac_cv_c_logicalop_noisy+:} false; then :
16175 $as_echo_n "(cached) " >&6
16176 else
16177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16178 /* end confdefs.h. */
16179 #include <string.h>
16180 char*f(const char *h,char n) {return strchr(h,n);}
16182 main ()
16186 return 0;
16188 _ACEOF
16189 if ac_fn_c_try_compile "$LINENO"; then :
16190 ac_cv_c_logicalop_noisy=no
16191 else
16192 ac_cv_c_logicalop_noisy=yes
16194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
16197 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
16198 CFLAGS=$saved_string_h_CFLAGS
16199 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
16202 CFLAGS=$saved_CFLAGS
16204 for ac_flag in $CFLAGS; do
16205 case $ac_flag in
16206 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
16207 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
16208 if ${ac_cv_cflags__gdwarf_2+:} false; then :
16209 $as_echo_n "(cached) " >&6
16210 else
16211 ac_wine_try_cflags_saved=$CFLAGS
16212 CFLAGS="$CFLAGS -gdwarf-2"
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__gdwarf_2=yes
16219 else
16220 ac_cv_cflags__gdwarf_2=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__gdwarf_2" >&5
16227 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16228 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16229 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16232 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16233 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16234 $as_echo_n "(cached) " >&6
16235 else
16236 ac_wine_try_cflags_saved=$CFLAGS
16237 CFLAGS="$CFLAGS -gstrict-dwarf"
16238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16239 /* end confdefs.h. */
16240 int main(int argc, char **argv) { return 0; }
16241 _ACEOF
16242 if ac_fn_c_try_link "$LINENO"; then :
16243 ac_cv_cflags__gstrict_dwarf=yes
16244 else
16245 ac_cv_cflags__gstrict_dwarf=no
16247 rm -f core conftest.err conftest.$ac_objext \
16248 conftest$ac_exeext conftest.$ac_ext
16249 CFLAGS=$ac_wine_try_cflags_saved
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16252 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16253 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16254 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16255 fi ;;
16256 esac
16257 done
16259 case $host_cpu in
16260 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16261 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16262 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16263 $as_echo_n "(cached) " >&6
16264 else
16265 ac_wine_try_cflags_saved=$CFLAGS
16266 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16268 /* end confdefs.h. */
16269 int main(int argc, char **argv) { return 0; }
16270 _ACEOF
16271 if ac_fn_c_try_link "$LINENO"; then :
16272 ac_cv_cflags__fno_omit_frame_pointer=yes
16273 else
16274 ac_cv_cflags__fno_omit_frame_pointer=no
16276 rm -f core conftest.err conftest.$ac_objext \
16277 conftest$ac_exeext conftest.$ac_ext
16278 CFLAGS=$ac_wine_try_cflags_saved
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16281 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16282 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16283 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16284 fi ;;
16285 esac
16287 case $host in
16288 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16289 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16290 if ${ac_cv_cflags__Wno_format+:} false; then :
16291 $as_echo_n "(cached) " >&6
16292 else
16293 ac_wine_try_cflags_saved=$CFLAGS
16294 CFLAGS="$CFLAGS -Wno-format"
16295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16296 /* end confdefs.h. */
16297 int main(int argc, char **argv) { return 0; }
16298 _ACEOF
16299 if ac_fn_c_try_link "$LINENO"; then :
16300 ac_cv_cflags__Wno_format=yes
16301 else
16302 ac_cv_cflags__Wno_format=no
16304 rm -f core conftest.err conftest.$ac_objext \
16305 conftest$ac_exeext conftest.$ac_ext
16306 CFLAGS=$ac_wine_try_cflags_saved
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16309 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16310 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16311 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16312 fi ;;
16313 esac
16315 if test "x$enable_maintainer_mode" = "xyes"
16316 then
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16318 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16319 if ${ac_cv_cflags__Werror+:} false; then :
16320 $as_echo_n "(cached) " >&6
16321 else
16322 ac_wine_try_cflags_saved=$CFLAGS
16323 CFLAGS="$CFLAGS -Werror"
16324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16325 /* end confdefs.h. */
16326 int main(int argc, char **argv) { return 0; }
16327 _ACEOF
16328 if ac_fn_c_try_link "$LINENO"; then :
16329 ac_cv_cflags__Werror=yes
16330 else
16331 ac_cv_cflags__Werror=no
16333 rm -f core conftest.err conftest.$ac_objext \
16334 conftest$ac_exeext conftest.$ac_ext
16335 CFLAGS=$ac_wine_try_cflags_saved
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16338 $as_echo "$ac_cv_cflags__Werror" >&6; }
16339 if test "x$ac_cv_cflags__Werror" = xyes; then :
16340 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16344 saved_CFLAGS="$CFLAGS"
16345 CFLAGS="$CFLAGS -Werror"
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16347 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16348 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16349 $as_echo_n "(cached) " >&6
16350 else
16351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16352 /* end confdefs.h. */
16353 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16355 main ()
16359 return 0;
16361 _ACEOF
16362 if ac_fn_c_try_compile "$LINENO"; then :
16363 ac_cv_have_ms_hook_prologue="yes"
16364 else
16365 ac_cv_have_ms_hook_prologue="no"
16367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16370 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16371 CFLAGS="$saved_CFLAGS"
16372 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16373 then
16375 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16377 else
16378 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16385 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16386 if ${ac_cv_c_fortify_enabled+:} false; then :
16387 $as_echo_n "(cached) " >&6
16388 else
16389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16390 /* end confdefs.h. */
16391 #include <string.h>
16393 main ()
16395 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16396 #error Fortify enabled
16397 #endif
16399 return 0;
16401 _ACEOF
16402 if ac_fn_c_try_compile "$LINENO"; then :
16403 ac_cv_c_fortify_enabled=no
16404 else
16405 ac_cv_c_fortify_enabled=yes
16407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16410 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16411 if test "$ac_cv_c_fortify_enabled" = yes
16412 then
16413 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16418 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16419 if ${ac_cv_c_extern_prefix+:} false; then :
16420 $as_echo_n "(cached) " >&6
16421 else
16422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16423 /* end confdefs.h. */
16424 extern int ac_test;
16426 main ()
16428 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16430 return 0;
16432 _ACEOF
16433 if ac_fn_c_try_link "$LINENO"; then :
16434 ac_cv_c_extern_prefix="yes"
16435 else
16436 ac_cv_c_extern_prefix="no"
16438 rm -f core conftest.err conftest.$ac_objext \
16439 conftest$ac_exeext conftest.$ac_ext
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16442 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16444 case $host_cpu in
16445 *i[3456789]86*)
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16447 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16448 if ${ac_cv_c_stdcall_suffix+:} false; then :
16449 $as_echo_n "(cached) " >&6
16450 else
16451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16452 /* end confdefs.h. */
16453 #ifndef _MSC_VER
16454 #define __stdcall __attribute__((__stdcall__))
16455 #endif
16456 int __stdcall ac_test(int i) { return i; }
16458 main ()
16460 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16462 return 0;
16464 _ACEOF
16465 if ac_fn_c_try_link "$LINENO"; then :
16466 ac_cv_c_stdcall_suffix="yes"
16467 else
16468 ac_cv_c_stdcall_suffix="no"
16470 rm -f core conftest.err conftest.$ac_objext \
16471 conftest$ac_exeext conftest.$ac_ext
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16474 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16475 *) ac_cv_c_stdcall_suffix="no" ;;
16476 esac
16479 if test "$ac_cv_c_extern_prefix" = "yes"
16480 then
16481 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16483 asm_name_prefix="_"
16484 else
16485 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16487 asm_name_prefix=""
16491 if test "$ac_cv_c_stdcall_suffix" = "yes"
16492 then
16493 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16495 else
16496 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16502 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16503 if ${ac_cv_asm_func_def+:} false; then :
16504 $as_echo_n "(cached) " >&6
16505 else
16506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16507 /* end confdefs.h. */
16510 main ()
16512 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16514 return 0;
16516 _ACEOF
16517 if ac_fn_c_try_link "$LINENO"; then :
16518 ac_cv_asm_func_def=".def"
16519 else
16520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16521 /* end confdefs.h. */
16524 main ()
16526 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16528 return 0;
16530 _ACEOF
16531 if ac_fn_c_try_link "$LINENO"; then :
16532 ac_cv_asm_func_def=".type @function"
16533 else
16534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16535 /* end confdefs.h. */
16538 main ()
16540 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16542 return 0;
16544 _ACEOF
16545 if ac_fn_c_try_link "$LINENO"; then :
16546 ac_cv_asm_func_def=".type 2"
16547 else
16548 ac_cv_asm_func_def="unknown"
16550 rm -f core conftest.err conftest.$ac_objext \
16551 conftest$ac_exeext conftest.$ac_ext
16553 rm -f core conftest.err conftest.$ac_objext \
16554 conftest$ac_exeext conftest.$ac_ext
16556 rm -f core conftest.err conftest.$ac_objext \
16557 conftest$ac_exeext conftest.$ac_ext
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16560 $as_echo "$ac_cv_asm_func_def" >&6; }
16563 case "$ac_cv_asm_func_def" in
16564 ".def")
16565 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
16567 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16568 ".type @function")
16569 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
16571 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16572 ".type 2")
16573 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
16575 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16577 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
16579 asm_func_header="" ;;
16580 esac
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16583 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16584 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16585 $as_echo_n "(cached) " >&6
16586 else
16587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16588 /* end confdefs.h. */
16589 asm(".text\n\t.long 0");
16591 main ()
16595 return 0;
16597 _ACEOF
16598 if ac_fn_c_try_compile "$LINENO"; then :
16599 ac_cv_c_asm_outside_funcs="yes"
16600 else
16601 ac_cv_c_asm_outside_funcs="no"
16603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16606 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16609 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16610 if ${ac_cv_c_dot_previous+:} false; then :
16611 $as_echo_n "(cached) " >&6
16612 else
16613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16614 /* end confdefs.h. */
16617 main ()
16619 asm(".text\nac_test:\t.long 0\n\t.previous");
16621 return 0;
16623 _ACEOF
16624 if ac_fn_c_try_link "$LINENO"; then :
16625 ac_cv_c_dot_previous="yes"
16626 else
16627 ac_cv_c_dot_previous="no"
16629 rm -f core conftest.err conftest.$ac_objext \
16630 conftest$ac_exeext conftest.$ac_ext
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16633 $as_echo "$ac_cv_c_dot_previous" >&6; }
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16636 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16637 if ${ac_cv_c_cfi_support+:} false; then :
16638 $as_echo_n "(cached) " >&6
16639 else
16640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16641 /* end confdefs.h. */
16642 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16644 main ()
16648 return 0;
16650 _ACEOF
16651 if ac_fn_c_try_compile "$LINENO"; then :
16652 ac_cv_c_cfi_support="yes"
16653 else
16654 ac_cv_c_cfi_support="no"
16656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16659 $as_echo "$ac_cv_c_cfi_support" >&6; }
16661 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16662 asm_func_trailer=""
16663 if test "$ac_cv_c_dot_previous" = "yes"
16664 then
16665 asm_func_trailer="\\n\\t.previous"
16667 if test "$ac_cv_c_cfi_support" = "yes"
16668 then
16669 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16670 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16672 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16674 UNWINDFLAGS=-fasynchronous-unwind-tables
16676 else
16677 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16679 if test "x$enable_win64" = "xyes"
16680 then
16681 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16685 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16688 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16689 then
16690 cat >>confdefs.h <<_ACEOF
16691 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16692 _ACEOF
16694 else
16695 cat >>confdefs.h <<_ACEOF
16696 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16697 _ACEOF
16701 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16704 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16708 case $build_os in
16709 cygwin*|mingw32*) TOOLSEXT=".exe"
16711 esac
16713 case $host_os in
16714 linux*)
16715 case $host_cpu in
16716 *i[3456789]86*|x86_64*|*aarch64*)
16717 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16718 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16720 esac
16722 esac
16725 ac_save_CFLAGS="$CFLAGS"
16726 CFLAGS="$CFLAGS $BUILTINFLAG"
16727 for ac_func in \
16728 __res_get_state \
16729 __res_getservers \
16730 _finite \
16731 _isnan \
16732 _pclose \
16733 _popen \
16734 _snprintf \
16735 _spawnvp \
16736 _strdup \
16737 _stricmp \
16738 _strnicmp \
16739 _strtoi64 \
16740 _strtoui64 \
16741 _vsnprintf \
16742 asctime_r \
16743 chsize \
16744 dlopen \
16745 epoll_create \
16746 ffs \
16747 finitef \
16748 fnmatch \
16749 fork \
16750 fpclass \
16751 fstatfs \
16752 fstatvfs \
16753 ftruncate \
16754 futimens \
16755 futimes \
16756 futimesat \
16757 getattrlist \
16758 getauxval \
16759 getifaddrs \
16760 getopt_long_only \
16761 getpwuid \
16762 gettimeofday \
16763 getuid \
16764 kqueue \
16765 lstat \
16766 memmove \
16767 mmap \
16768 pclose \
16769 pipe2 \
16770 poll \
16771 popen \
16772 port_create \
16773 prctl \
16774 pread \
16775 proc_pidinfo \
16776 pwrite \
16777 readdir \
16778 readlink \
16779 sched_yield \
16780 select \
16781 setproctitle \
16782 setprogname \
16783 setrlimit \
16784 settimeofday \
16785 sigaltstack \
16786 sigprocmask \
16787 snprintf \
16788 statfs \
16789 statvfs \
16790 strcasecmp \
16791 strdup \
16792 strerror \
16793 strncasecmp \
16794 strnlen \
16795 strtold \
16796 strtoll \
16797 strtoull \
16798 symlink \
16799 sysinfo \
16800 tcdrain \
16801 thr_kill2 \
16802 timegm \
16803 usleep \
16804 vsnprintf
16806 do :
16807 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16808 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16809 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16810 cat >>confdefs.h <<_ACEOF
16811 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16812 _ACEOF
16815 done
16817 CFLAGS="$ac_save_CFLAGS"
16819 if test "$ac_cv_func_dlopen" = no
16820 then
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16822 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16823 if ${ac_cv_lib_dl_dlopen+:} false; then :
16824 $as_echo_n "(cached) " >&6
16825 else
16826 ac_check_lib_save_LIBS=$LIBS
16827 LIBS="-ldl $LIBS"
16828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h. */
16831 /* Override any GCC internal prototype to avoid an error.
16832 Use char because int might match the return type of a GCC
16833 builtin and then its argument prototype would still apply. */
16834 #ifdef __cplusplus
16835 extern "C"
16836 #endif
16837 char dlopen ();
16839 main ()
16841 return dlopen ();
16843 return 0;
16845 _ACEOF
16846 if ac_fn_c_try_link "$LINENO"; then :
16847 ac_cv_lib_dl_dlopen=yes
16848 else
16849 ac_cv_lib_dl_dlopen=no
16851 rm -f core conftest.err conftest.$ac_objext \
16852 conftest$ac_exeext conftest.$ac_ext
16853 LIBS=$ac_check_lib_save_LIBS
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16856 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16857 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16858 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16859 DL_LIBS="-ldl"
16864 ac_wine_check_funcs_save_LIBS="$LIBS"
16865 LIBS="$LIBS $DL_LIBS"
16866 for ac_func in dladdr
16867 do :
16868 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16869 if test "x$ac_cv_func_dladdr" = xyes; then :
16870 cat >>confdefs.h <<_ACEOF
16871 #define HAVE_DLADDR 1
16872 _ACEOF
16875 done
16877 LIBS="$ac_wine_check_funcs_save_LIBS"
16879 if test "$ac_cv_func_poll" = no
16880 then
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16882 $as_echo_n "checking for poll in -lpoll... " >&6; }
16883 if ${ac_cv_lib_poll_poll+:} false; then :
16884 $as_echo_n "(cached) " >&6
16885 else
16886 ac_check_lib_save_LIBS=$LIBS
16887 LIBS="-lpoll $LIBS"
16888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16889 /* end confdefs.h. */
16891 /* Override any GCC internal prototype to avoid an error.
16892 Use char because int might match the return type of a GCC
16893 builtin and then its argument prototype would still apply. */
16894 #ifdef __cplusplus
16895 extern "C"
16896 #endif
16897 char poll ();
16899 main ()
16901 return poll ();
16903 return 0;
16905 _ACEOF
16906 if ac_fn_c_try_link "$LINENO"; then :
16907 ac_cv_lib_poll_poll=yes
16908 else
16909 ac_cv_lib_poll_poll=no
16911 rm -f core conftest.err conftest.$ac_objext \
16912 conftest$ac_exeext conftest.$ac_ext
16913 LIBS=$ac_check_lib_save_LIBS
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16916 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16917 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16918 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16919 POLL_LIBS="-lpoll"
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16926 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16927 if ${ac_cv_search_gethostbyname+:} false; then :
16928 $as_echo_n "(cached) " >&6
16929 else
16930 ac_func_search_save_LIBS=$LIBS
16931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16932 /* end confdefs.h. */
16934 /* Override any GCC internal prototype to avoid an error.
16935 Use char because int might match the return type of a GCC
16936 builtin and then its argument prototype would still apply. */
16937 #ifdef __cplusplus
16938 extern "C"
16939 #endif
16940 char gethostbyname ();
16942 main ()
16944 return gethostbyname ();
16946 return 0;
16948 _ACEOF
16949 for ac_lib in '' nsl; do
16950 if test -z "$ac_lib"; then
16951 ac_res="none required"
16952 else
16953 ac_res=-l$ac_lib
16954 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16956 if ac_fn_c_try_link "$LINENO"; then :
16957 ac_cv_search_gethostbyname=$ac_res
16959 rm -f core conftest.err conftest.$ac_objext \
16960 conftest$ac_exeext
16961 if ${ac_cv_search_gethostbyname+:} false; then :
16962 break
16964 done
16965 if ${ac_cv_search_gethostbyname+:} false; then :
16967 else
16968 ac_cv_search_gethostbyname=no
16970 rm conftest.$ac_ext
16971 LIBS=$ac_func_search_save_LIBS
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16974 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16975 ac_res=$ac_cv_search_gethostbyname
16976 if test "$ac_res" != no; then :
16977 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16983 $as_echo_n "checking for library containing connect... " >&6; }
16984 if ${ac_cv_search_connect+:} false; then :
16985 $as_echo_n "(cached) " >&6
16986 else
16987 ac_func_search_save_LIBS=$LIBS
16988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16991 /* Override any GCC internal prototype to avoid an error.
16992 Use char because int might match the return type of a GCC
16993 builtin and then its argument prototype would still apply. */
16994 #ifdef __cplusplus
16995 extern "C"
16996 #endif
16997 char connect ();
16999 main ()
17001 return connect ();
17003 return 0;
17005 _ACEOF
17006 for ac_lib in '' socket; do
17007 if test -z "$ac_lib"; then
17008 ac_res="none required"
17009 else
17010 ac_res=-l$ac_lib
17011 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17013 if ac_fn_c_try_link "$LINENO"; then :
17014 ac_cv_search_connect=$ac_res
17016 rm -f core conftest.err conftest.$ac_objext \
17017 conftest$ac_exeext
17018 if ${ac_cv_search_connect+:} false; then :
17019 break
17021 done
17022 if ${ac_cv_search_connect+:} false; then :
17024 else
17025 ac_cv_search_connect=no
17027 rm conftest.$ac_ext
17028 LIBS=$ac_func_search_save_LIBS
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17031 $as_echo "$ac_cv_search_connect" >&6; }
17032 ac_res=$ac_cv_search_connect
17033 if test "$ac_res" != no; then :
17034 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17040 $as_echo_n "checking for library containing inet_aton... " >&6; }
17041 if ${ac_cv_search_inet_aton+:} false; then :
17042 $as_echo_n "(cached) " >&6
17043 else
17044 ac_func_search_save_LIBS=$LIBS
17045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17046 /* end confdefs.h. */
17048 /* Override any GCC internal prototype to avoid an error.
17049 Use char because int might match the return type of a GCC
17050 builtin and then its argument prototype would still apply. */
17051 #ifdef __cplusplus
17052 extern "C"
17053 #endif
17054 char inet_aton ();
17056 main ()
17058 return inet_aton ();
17060 return 0;
17062 _ACEOF
17063 for ac_lib in '' resolv; do
17064 if test -z "$ac_lib"; then
17065 ac_res="none required"
17066 else
17067 ac_res=-l$ac_lib
17068 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17070 if ac_fn_c_try_link "$LINENO"; then :
17071 ac_cv_search_inet_aton=$ac_res
17073 rm -f core conftest.err conftest.$ac_objext \
17074 conftest$ac_exeext
17075 if ${ac_cv_search_inet_aton+:} false; then :
17076 break
17078 done
17079 if ${ac_cv_search_inet_aton+:} false; then :
17081 else
17082 ac_cv_search_inet_aton=no
17084 rm conftest.$ac_ext
17085 LIBS=$ac_func_search_save_LIBS
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17088 $as_echo "$ac_cv_search_inet_aton" >&6; }
17089 ac_res=$ac_cv_search_inet_aton
17090 if test "$ac_res" != no; then :
17091 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17096 for ac_func in \
17097 getaddrinfo \
17098 getnameinfo \
17099 getnetbyname \
17100 getprotobyname \
17101 getprotobynumber \
17102 getservbyport \
17103 inet_addr \
17104 inet_network \
17105 inet_ntop \
17106 inet_pton \
17107 sendmsg \
17108 socketpair \
17110 do :
17111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17112 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17113 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17114 cat >>confdefs.h <<_ACEOF
17115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17116 _ACEOF
17119 done
17122 ac_save_LIBS=$LIBS
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17124 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17125 if ${ac_cv_search_clock_gettime+:} false; then :
17126 $as_echo_n "(cached) " >&6
17127 else
17128 ac_func_search_save_LIBS=$LIBS
17129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17130 /* end confdefs.h. */
17132 /* Override any GCC internal prototype to avoid an error.
17133 Use char because int might match the return type of a GCC
17134 builtin and then its argument prototype would still apply. */
17135 #ifdef __cplusplus
17136 extern "C"
17137 #endif
17138 char clock_gettime ();
17140 main ()
17142 return clock_gettime ();
17144 return 0;
17146 _ACEOF
17147 for ac_lib in '' rt; do
17148 if test -z "$ac_lib"; then
17149 ac_res="none required"
17150 else
17151 ac_res=-l$ac_lib
17152 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17154 if ac_fn_c_try_link "$LINENO"; then :
17155 ac_cv_search_clock_gettime=$ac_res
17157 rm -f core conftest.err conftest.$ac_objext \
17158 conftest$ac_exeext
17159 if ${ac_cv_search_clock_gettime+:} false; then :
17160 break
17162 done
17163 if ${ac_cv_search_clock_gettime+:} false; then :
17165 else
17166 ac_cv_search_clock_gettime=no
17168 rm conftest.$ac_ext
17169 LIBS=$ac_func_search_save_LIBS
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17172 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17173 ac_res=$ac_cv_search_clock_gettime
17174 if test "$ac_res" != no; then :
17175 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17177 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17179 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17183 LIBS=$ac_save_LIBS
17185 if test "x$with_ldap" != "xno"
17186 then
17187 if ${LDAP_CFLAGS:+false} :; then :
17188 if ${PKG_CONFIG+:} false; then :
17189 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17193 if ${LDAP_LIBS:+false} :; then :
17194 if ${PKG_CONFIG+:} false; then :
17195 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17199 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17200 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17201 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17202 ac_save_CPPFLAGS=$CPPFLAGS
17203 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17204 for ac_header in ldap.h lber.h
17205 do :
17206 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17207 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17208 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17209 cat >>confdefs.h <<_ACEOF
17210 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17211 _ACEOF
17215 done
17217 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17218 then
17219 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17221 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17223 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17224 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17225 $as_echo_n "(cached) " >&6
17226 else
17227 ac_check_lib_save_LIBS=$LIBS
17228 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17230 /* end confdefs.h. */
17232 /* Override any GCC internal prototype to avoid an error.
17233 Use char because int might match the return type of a GCC
17234 builtin and then its argument prototype would still apply. */
17235 #ifdef __cplusplus
17236 extern "C"
17237 #endif
17238 char ldap_initialize ();
17240 main ()
17242 return ldap_initialize ();
17244 return 0;
17246 _ACEOF
17247 if ac_fn_c_try_link "$LINENO"; then :
17248 ac_cv_lib_ldap_r_ldap_initialize=yes
17249 else
17250 ac_cv_lib_ldap_r_ldap_initialize=no
17252 rm -f core conftest.err conftest.$ac_objext \
17253 conftest$ac_exeext conftest.$ac_ext
17254 LIBS=$ac_check_lib_save_LIBS
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17257 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17258 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17260 $as_echo_n "checking for ber_init in -llber... " >&6; }
17261 if ${ac_cv_lib_lber_ber_init+:} false; then :
17262 $as_echo_n "(cached) " >&6
17263 else
17264 ac_check_lib_save_LIBS=$LIBS
17265 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17267 /* end confdefs.h. */
17269 /* Override any GCC internal prototype to avoid an error.
17270 Use char because int might match the return type of a GCC
17271 builtin and then its argument prototype would still apply. */
17272 #ifdef __cplusplus
17273 extern "C"
17274 #endif
17275 char ber_init ();
17277 main ()
17279 return ber_init ();
17281 return 0;
17283 _ACEOF
17284 if ac_fn_c_try_link "$LINENO"; then :
17285 ac_cv_lib_lber_ber_init=yes
17286 else
17287 ac_cv_lib_lber_ber_init=no
17289 rm -f core conftest.err conftest.$ac_objext \
17290 conftest$ac_exeext conftest.$ac_ext
17291 LIBS=$ac_check_lib_save_LIBS
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17294 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17295 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17297 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17299 else
17300 LDAP_LIBS=""
17303 else
17304 LDAP_LIBS=""
17307 else
17308 LDAP_LIBS=""
17311 ac_wine_check_funcs_save_LIBS="$LIBS"
17312 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17313 for ac_func in \
17314 ldap_count_references \
17315 ldap_first_reference \
17316 ldap_next_reference \
17317 ldap_parse_reference \
17318 ldap_parse_sort_control \
17319 ldap_parse_sortresponse_control \
17320 ldap_parse_vlv_control \
17321 ldap_parse_vlvresponse_control
17322 do :
17323 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17324 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17325 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17326 cat >>confdefs.h <<_ACEOF
17327 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17328 _ACEOF
17331 done
17333 LIBS="$ac_wine_check_funcs_save_LIBS"
17334 else
17335 LDAP_LIBS=""
17337 CPPFLAGS=$ac_save_CPPFLAGS
17338 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17339 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17342 if test "x$LDAP_LIBS" = "x"; then :
17343 case "x$with_ldap" in
17344 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17345 xno) ;;
17346 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17347 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17348 esac
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
17353 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
17354 if ${wine_cv_one_arg_mkdir+:} false; then :
17355 $as_echo_n "(cached) " >&6
17356 else
17357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h. */
17359 #include <sys/stat.h>
17361 main ()
17363 mkdir("foo");
17365 return 0;
17367 _ACEOF
17368 if ac_fn_c_try_compile "$LINENO"; then :
17369 wine_cv_one_arg_mkdir=yes
17370 else
17371 wine_cv_one_arg_mkdir=no
17373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
17376 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
17377 if test "$wine_cv_one_arg_mkdir" = "yes"
17378 then
17380 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17385 $as_echo_n "checking for sched_setaffinity... " >&6; }
17386 if ${wine_cv_have_sched_setaffinity+:} false; then :
17387 $as_echo_n "(cached) " >&6
17388 else
17389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17391 #define _GNU_SOURCE
17392 #include <sched.h>
17394 main ()
17396 sched_setaffinity(0, 0, 0);
17398 return 0;
17400 _ACEOF
17401 if ac_fn_c_try_link "$LINENO"; then :
17402 wine_cv_have_sched_setaffinity=yes
17403 else
17404 wine_cv_have_sched_setaffinity=no
17406 rm -f core conftest.err conftest.$ac_objext \
17407 conftest$ac_exeext conftest.$ac_ext
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17410 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17411 if test "$wine_cv_have_sched_setaffinity" = "yes"
17412 then
17414 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17419 $as_echo_n "checking for fallocate... " >&6; }
17420 if ${wine_cv_have_fallocate+:} false; then :
17421 $as_echo_n "(cached) " >&6
17422 else
17423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17424 /* end confdefs.h. */
17425 #define _GNU_SOURCE
17426 #include <fcntl.h>
17428 main ()
17430 fallocate(-1, 0, 0, 0);
17432 return 0;
17434 _ACEOF
17435 if ac_fn_c_try_link "$LINENO"; then :
17436 wine_cv_have_fallocate=yes
17437 else
17438 wine_cv_have_fallocate=no
17440 rm -f core conftest.err conftest.$ac_objext \
17441 conftest$ac_exeext conftest.$ac_ext
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17444 $as_echo "$wine_cv_have_fallocate" >&6; }
17445 if test "$wine_cv_have_fallocate" = "yes"
17446 then
17448 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17454 $as_echo_n "checking for inline... " >&6; }
17455 if ${ac_cv_c_inline+:} false; then :
17456 $as_echo_n "(cached) " >&6
17457 else
17458 ac_cv_c_inline=no
17459 for ac_kw in inline __inline__ __inline; do
17460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17461 /* end confdefs.h. */
17462 #ifndef __cplusplus
17463 typedef int foo_t;
17464 static $ac_kw foo_t static_foo () {return 0; }
17465 $ac_kw foo_t foo () {return 0; }
17466 #endif
17468 _ACEOF
17469 if ac_fn_c_try_compile "$LINENO"; then :
17470 ac_cv_c_inline=$ac_kw
17472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17473 test "$ac_cv_c_inline" != no && break
17474 done
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17478 $as_echo "$ac_cv_c_inline" >&6; }
17480 case $ac_cv_c_inline in
17481 inline | yes) ;;
17483 case $ac_cv_c_inline in
17484 no) ac_val=;;
17485 *) ac_val=$ac_cv_c_inline;;
17486 esac
17487 cat >>confdefs.h <<_ACEOF
17488 #ifndef __cplusplus
17489 #define inline $ac_val
17490 #endif
17491 _ACEOF
17493 esac
17495 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
17496 if test "x$ac_cv_type_mode_t" = xyes; then :
17498 cat >>confdefs.h <<_ACEOF
17499 #define HAVE_MODE_T 1
17500 _ACEOF
17504 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
17505 if test "x$ac_cv_type_off_t" = xyes; then :
17507 cat >>confdefs.h <<_ACEOF
17508 #define HAVE_OFF_T 1
17509 _ACEOF
17513 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
17514 if test "x$ac_cv_type_pid_t" = xyes; then :
17516 cat >>confdefs.h <<_ACEOF
17517 #define HAVE_PID_T 1
17518 _ACEOF
17522 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17523 if test "x$ac_cv_type_size_t" = xyes; then :
17525 cat >>confdefs.h <<_ACEOF
17526 #define HAVE_SIZE_T 1
17527 _ACEOF
17531 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
17532 if test "x$ac_cv_type_ssize_t" = xyes; then :
17534 cat >>confdefs.h <<_ACEOF
17535 #define HAVE_SSIZE_T 1
17536 _ACEOF
17540 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
17541 if test "x$ac_cv_type_long_long" = xyes; then :
17543 cat >>confdefs.h <<_ACEOF
17544 #define HAVE_LONG_LONG 1
17545 _ACEOF
17549 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17550 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17552 cat >>confdefs.h <<_ACEOF
17553 #define HAVE_FSBLKCNT_T 1
17554 _ACEOF
17558 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17559 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17561 cat >>confdefs.h <<_ACEOF
17562 #define HAVE_FSFILCNT_T 1
17563 _ACEOF
17568 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17569 #include <signal.h>
17571 if test "x$ac_cv_type_sigset_t" = xyes; then :
17573 cat >>confdefs.h <<_ACEOF
17574 #define HAVE_SIGSET_T 1
17575 _ACEOF
17580 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17582 if test "x$ac_cv_type_request_sense" = xyes; then :
17584 cat >>confdefs.h <<_ACEOF
17585 #define HAVE_REQUEST_SENSE 1
17586 _ACEOF
17592 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17593 #ifdef HAVE_SYS_SOCKET_H
17594 #include <sys/socket.h>
17595 #endif
17596 #ifdef HAVE_SYS_SOCKETVAR_H
17597 #include <sys/socketvar.h>
17598 #endif
17599 #ifdef HAVE_NET_ROUTE_H
17600 #include <net/route.h>
17601 #endif
17602 #ifdef HAVE_NETINET_IN_H
17603 #include <netinet/in.h>
17604 #endif
17605 #ifdef HAVE_NETINET_IN_SYSTM_H
17606 #include <netinet/in_systm.h>
17607 #endif
17608 #ifdef HAVE_NETINET_IP_H
17609 #include <netinet/ip.h>
17610 #endif
17611 #ifdef HAVE_NETINET_IN_PCB_H
17612 #include <netinet/in_pcb.h>
17613 #endif
17615 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17617 cat >>confdefs.h <<_ACEOF
17618 #define HAVE_STRUCT_XINPGEN 1
17619 _ACEOF
17625 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17626 #include <link.h>
17627 #endif
17628 #ifdef HAVE_SYS_LINK_H
17629 #include <sys/link.h>
17630 #endif
17632 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17634 cat >>confdefs.h <<_ACEOF
17635 #define HAVE_STRUCT_R_DEBUG 1
17636 _ACEOF
17640 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17641 #include <link.h>
17642 #endif
17643 #ifdef HAVE_SYS_LINK_H
17644 #include <sys/link.h>
17645 #endif
17647 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17649 cat >>confdefs.h <<_ACEOF
17650 #define HAVE_STRUCT_LINK_MAP 1
17651 _ACEOF
17657 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17658 #include <linux/input.h>
17659 #endif
17661 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17663 cat >>confdefs.h <<_ACEOF
17664 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17665 _ACEOF
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17672 $as_echo_n "checking for if_nameindex... " >&6; }
17673 if ${wine_cv_have_if_nameindex+:} false; then :
17674 $as_echo_n "(cached) " >&6
17675 else
17676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17677 /* end confdefs.h. */
17678 #ifdef HAVE_SYS_TYPES_H
17679 #include <sys/types.h>
17680 #endif
17681 #ifdef HAVE_SYS_SOCKET_H
17682 #include <sys/socket.h>
17683 #endif
17684 #ifdef HAVE_NET_IF_H
17685 # include <net/if.h>
17686 #endif
17688 main ()
17690 struct if_nameindex *p = if_nameindex(); return p->if_index;
17692 return 0;
17694 _ACEOF
17695 if ac_fn_c_try_link "$LINENO"; then :
17696 wine_cv_have_if_nameindex=yes
17697 else
17698 wine_cv_have_if_nameindex=no
17700 rm -f core conftest.err conftest.$ac_objext \
17701 conftest$ac_exeext conftest.$ac_ext
17703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17704 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17705 if test "$wine_cv_have_if_nameindex" = "yes"
17706 then
17708 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17713 $as_echo_n "checking for sigaddset... " >&6; }
17714 if ${wine_cv_have_sigaddset+:} false; then :
17715 $as_echo_n "(cached) " >&6
17716 else
17717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17718 /* end confdefs.h. */
17719 #include <signal.h>
17721 main ()
17723 sigset_t set; sigaddset(&set,SIGTERM);
17725 return 0;
17727 _ACEOF
17728 if ac_fn_c_try_link "$LINENO"; then :
17729 wine_cv_have_sigaddset=yes
17730 else
17731 wine_cv_have_sigaddset=no
17733 rm -f core conftest.err conftest.$ac_objext \
17734 conftest$ac_exeext conftest.$ac_ext
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17737 $as_echo "$wine_cv_have_sigaddset" >&6; }
17738 if test "$wine_cv_have_sigaddset" = "yes"
17739 then
17741 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17747 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17748 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17749 $as_echo_n "(cached) " >&6
17750 else
17751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17752 /* end confdefs.h. */
17753 #include <netdb.h>
17755 main ()
17758 char *name=0;
17759 struct hostent he;
17760 struct hostent *result;
17761 char *buf=0;
17762 int bufsize=0;
17763 int errnr;
17764 char *addr=0;
17765 int addrlen=0;
17766 int addrtype=0;
17767 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17768 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17771 return 0;
17773 _ACEOF
17774 if ac_fn_c_try_link "$LINENO"; then :
17775 wine_cv_linux_gethostbyname_r_6=yes
17776 else
17777 wine_cv_linux_gethostbyname_r_6=no
17780 rm -f core conftest.err conftest.$ac_objext \
17781 conftest$ac_exeext conftest.$ac_ext
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17785 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17786 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17787 then
17789 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17793 if test "$ac_cv_header_linux_joystick_h" = "yes"
17794 then
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17796 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17797 if ${wine_cv_linux_joystick_22_api+:} false; then :
17798 $as_echo_n "(cached) " >&6
17799 else
17800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17801 /* end confdefs.h. */
17803 #include <sys/ioctl.h>
17804 #include <sys/types.h>
17805 #include <linux/joystick.h>
17807 struct js_event blub;
17808 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17809 #error "no 2.2 header"
17810 #endif
17813 main ()
17815 /*empty*/
17817 return 0;
17819 _ACEOF
17820 if ac_fn_c_try_compile "$LINENO"; then :
17821 wine_cv_linux_joystick_22_api=yes
17822 else
17823 wine_cv_linux_joystick_22_api=no
17825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17829 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17830 if test "$wine_cv_linux_joystick_22_api" = "yes"
17831 then
17833 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17839 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17840 #ifdef HAVE_SYS_PARAM_H
17841 # include <sys/param.h>
17842 #endif
17843 #ifdef HAVE_SYS_MOUNT_H
17844 # include <sys/mount.h>
17845 #endif
17846 #ifdef HAVE_SYS_VFS_H
17847 # include <sys/vfs.h>
17848 #endif
17849 #ifdef HAVE_SYS_STATFS_H
17850 # include <sys/statfs.h>
17851 #endif
17853 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17855 cat >>confdefs.h <<_ACEOF
17856 #define HAVE_STRUCT_STATFS_F_BFREE 1
17857 _ACEOF
17861 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17862 #ifdef HAVE_SYS_PARAM_H
17863 # include <sys/param.h>
17864 #endif
17865 #ifdef HAVE_SYS_MOUNT_H
17866 # include <sys/mount.h>
17867 #endif
17868 #ifdef HAVE_SYS_VFS_H
17869 # include <sys/vfs.h>
17870 #endif
17871 #ifdef HAVE_SYS_STATFS_H
17872 # include <sys/statfs.h>
17873 #endif
17875 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17877 cat >>confdefs.h <<_ACEOF
17878 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17879 _ACEOF
17883 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17884 #ifdef HAVE_SYS_PARAM_H
17885 # include <sys/param.h>
17886 #endif
17887 #ifdef HAVE_SYS_MOUNT_H
17888 # include <sys/mount.h>
17889 #endif
17890 #ifdef HAVE_SYS_VFS_H
17891 # include <sys/vfs.h>
17892 #endif
17893 #ifdef HAVE_SYS_STATFS_H
17894 # include <sys/statfs.h>
17895 #endif
17897 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17899 cat >>confdefs.h <<_ACEOF
17900 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17901 _ACEOF
17905 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17906 #ifdef HAVE_SYS_PARAM_H
17907 # include <sys/param.h>
17908 #endif
17909 #ifdef HAVE_SYS_MOUNT_H
17910 # include <sys/mount.h>
17911 #endif
17912 #ifdef HAVE_SYS_VFS_H
17913 # include <sys/vfs.h>
17914 #endif
17915 #ifdef HAVE_SYS_STATFS_H
17916 # include <sys/statfs.h>
17917 #endif
17919 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17921 cat >>confdefs.h <<_ACEOF
17922 #define HAVE_STRUCT_STATFS_F_FFREE 1
17923 _ACEOF
17927 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17928 #ifdef HAVE_SYS_PARAM_H
17929 # include <sys/param.h>
17930 #endif
17931 #ifdef HAVE_SYS_MOUNT_H
17932 # include <sys/mount.h>
17933 #endif
17934 #ifdef HAVE_SYS_VFS_H
17935 # include <sys/vfs.h>
17936 #endif
17937 #ifdef HAVE_SYS_STATFS_H
17938 # include <sys/statfs.h>
17939 #endif
17941 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17943 cat >>confdefs.h <<_ACEOF
17944 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17945 _ACEOF
17949 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17950 #ifdef HAVE_SYS_PARAM_H
17951 # include <sys/param.h>
17952 #endif
17953 #ifdef HAVE_SYS_MOUNT_H
17954 # include <sys/mount.h>
17955 #endif
17956 #ifdef HAVE_SYS_VFS_H
17957 # include <sys/vfs.h>
17958 #endif
17959 #ifdef HAVE_SYS_STATFS_H
17960 # include <sys/statfs.h>
17961 #endif
17963 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17965 cat >>confdefs.h <<_ACEOF
17966 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17967 _ACEOF
17973 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17974 #include <sys/statvfs.h>
17975 #endif
17977 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17979 cat >>confdefs.h <<_ACEOF
17980 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17981 _ACEOF
17987 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17988 #include <dirent.h>
17989 #endif
17991 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17993 cat >>confdefs.h <<_ACEOF
17994 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17995 _ACEOF
18001 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18002 #ifdef HAVE_SYS_SOCKET_H
18003 # include <sys/socket.h>
18004 #endif
18005 #ifdef HAVE_SYS_UN_H
18006 # include <sys/un.h>
18007 #endif
18009 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18011 cat >>confdefs.h <<_ACEOF
18012 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18013 _ACEOF
18017 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18018 #ifdef HAVE_SYS_SOCKET_H
18019 # include <sys/socket.h>
18020 #endif
18021 #ifdef HAVE_SYS_UN_H
18022 # include <sys/un.h>
18023 #endif
18025 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18027 cat >>confdefs.h <<_ACEOF
18028 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18029 _ACEOF
18033 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18034 #ifdef HAVE_SYS_SOCKET_H
18035 # include <sys/socket.h>
18036 #endif
18037 #ifdef HAVE_SYS_UN_H
18038 # include <sys/un.h>
18039 #endif
18041 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18043 cat >>confdefs.h <<_ACEOF
18044 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18045 _ACEOF
18051 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18052 #ifdef HAVE_SCSI_SG_H
18053 #include <scsi/sg.h>
18054 #endif
18056 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18058 cat >>confdefs.h <<_ACEOF
18059 #define HAVE_SCSIREQ_T_CMD 1
18060 _ACEOF
18064 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>
18065 #ifdef HAVE_SCSI_SG_H
18066 #include <scsi/sg.h>
18067 #endif
18069 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18071 cat >>confdefs.h <<_ACEOF
18072 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18073 _ACEOF
18079 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18081 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18083 cat >>confdefs.h <<_ACEOF
18084 #define HAVE_SIGINFO_T_SI_FD 1
18085 _ACEOF
18091 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18092 #ifdef HAVE_SYS_MTIO_H
18093 #include <sys/mtio.h>
18094 #endif
18096 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18098 cat >>confdefs.h <<_ACEOF
18099 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18100 _ACEOF
18104 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18105 #ifdef HAVE_SYS_MTIO_H
18106 #include <sys/mtio.h>
18107 #endif
18109 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18111 cat >>confdefs.h <<_ACEOF
18112 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18113 _ACEOF
18117 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18118 #ifdef HAVE_SYS_MTIO_H
18119 #include <sys/mtio.h>
18120 #endif
18122 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18124 cat >>confdefs.h <<_ACEOF
18125 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18126 _ACEOF
18132 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18133 #include <getopt.h>
18134 #endif
18136 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18138 cat >>confdefs.h <<_ACEOF
18139 #define HAVE_STRUCT_OPTION_NAME 1
18140 _ACEOF
18146 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18147 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18149 cat >>confdefs.h <<_ACEOF
18150 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18151 _ACEOF
18155 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18156 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18158 cat >>confdefs.h <<_ACEOF
18159 #define HAVE_STRUCT_STAT_ST_MTIM 1
18160 _ACEOF
18164 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18165 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18167 cat >>confdefs.h <<_ACEOF
18168 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18169 _ACEOF
18173 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18174 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18176 cat >>confdefs.h <<_ACEOF
18177 #define HAVE_STRUCT_STAT_ST_CTIM 1
18178 _ACEOF
18182 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18183 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18185 cat >>confdefs.h <<_ACEOF
18186 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18187 _ACEOF
18191 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18192 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18194 cat >>confdefs.h <<_ACEOF
18195 #define HAVE_STRUCT_STAT_ST_ATIM 1
18196 _ACEOF
18200 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18201 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18203 cat >>confdefs.h <<_ACEOF
18204 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18205 _ACEOF
18209 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18210 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18212 cat >>confdefs.h <<_ACEOF
18213 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18214 _ACEOF
18218 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18219 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18221 cat >>confdefs.h <<_ACEOF
18222 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18223 _ACEOF
18227 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18228 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18230 cat >>confdefs.h <<_ACEOF
18231 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18232 _ACEOF
18236 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18237 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18239 cat >>confdefs.h <<_ACEOF
18240 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18241 _ACEOF
18245 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18246 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18248 cat >>confdefs.h <<_ACEOF
18249 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18250 _ACEOF
18256 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
18257 #include <sys/types.h>
18258 #endif
18259 #ifdef HAVE_NETINET_IN_H
18260 #include <netinet/in.h>
18261 #endif
18263 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18265 cat >>confdefs.h <<_ACEOF
18266 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18267 _ACEOF
18273 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18274 #include <sys/types.h>
18275 #endif
18276 #ifdef HAVE_NETINET_IN_H
18277 #include <netinet/in.h>
18278 #endif
18279 #ifdef HAVE_RESOLV_H
18280 #include <resolv.h>
18281 #endif
18283 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18285 cat >>confdefs.h <<_ACEOF
18286 #define HAVE_STRUCT___RES_STATE 1
18287 _ACEOF
18293 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
18294 #include <resolv.h>
18295 #endif
18297 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18299 cat >>confdefs.h <<_ACEOF
18300 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18301 _ACEOF
18307 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18308 #include <sys/types.h>
18309 #endif
18310 #ifdef HAVE_NETINET_IN_H
18311 # include <netinet/in.h>
18312 #endif
18313 #ifdef HAVE_ARPA_NAMESER_H
18314 # include <arpa/nameser.h>
18315 #endif
18317 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18319 cat >>confdefs.h <<_ACEOF
18320 #define HAVE_NS_MSG__MSG_PTR 1
18321 _ACEOF
18327 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18328 #include <sys/types.h>
18329 #endif
18330 #ifdef HAVE_NETINET_IN_H
18331 #include <netinet/in.h>
18332 #endif
18333 #ifdef HAVE_NETINET_IP_H
18334 #include <netinet/ip.h>
18335 #endif
18336 #ifdef HAVE_NETINET_IP_ICMP_H
18337 #include <netinet/ip_icmp.h>
18338 #endif
18339 #ifdef HAVE_NETINET_ICMP_VAR_H
18340 #include <netinet/icmp_var.h>
18341 #endif
18343 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18345 cat >>confdefs.h <<_ACEOF
18346 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18347 _ACEOF
18353 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18354 #include <sys/types.h>
18355 #endif
18356 #ifdef HAVE_ALIAS_H
18357 #include <alias.h>
18358 #endif
18359 #ifdef HAVE_SYS_SOCKET_H
18360 #include <sys/socket.h>
18361 #endif
18362 #ifdef HAVE_SYS_SOCKETVAR_H
18363 #include <sys/socketvar.h>
18364 #endif
18365 #ifdef HAVE_SYS_TIMEOUT_H
18366 #include <sys/timeout.h>
18367 #endif
18368 #ifdef HAVE_NETINET_IN_H
18369 #include <netinet/in.h>
18370 #endif
18371 #ifdef HAVE_NETINET_IN_SYSTM_H
18372 #include <netinet/in_systm.h>
18373 #endif
18374 #ifdef HAVE_NETINET_IP_H
18375 #include <netinet/ip.h>
18376 #endif
18377 #ifdef HAVE_NETINET_IP_VAR_H
18378 #include <netinet/ip_var.h>
18379 #endif
18380 #ifdef HAVE_NETINET_IP_ICMP_H
18381 #include <netinet/ip_icmp.h>
18382 #endif
18383 #ifdef HAVE_NETINET_ICMP_VAR_H
18384 #include <netinet/icmp_var.h>
18385 #endif
18387 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18389 cat >>confdefs.h <<_ACEOF
18390 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18391 _ACEOF
18397 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18398 #include <sys/types.h>
18399 #endif
18400 #ifdef HAVE_SYS_SOCKETVAR_H
18401 #include <sys/socketvar.h>
18402 #endif
18403 #ifdef HAVE_NETINET_IN_H
18404 #include <netinet/in.h>
18405 #endif
18406 #ifdef HAVE_NETINET_IP_VAR_H
18407 #include <netinet/ip_var.h>
18408 #endif
18410 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18412 cat >>confdefs.h <<_ACEOF
18413 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18414 _ACEOF
18420 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
18421 #include <netinet/ip_var.h>
18422 #endif
18424 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18426 cat >>confdefs.h <<_ACEOF
18427 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18428 _ACEOF
18434 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18435 #include <sys/types.h>
18436 #endif
18437 #ifdef HAVE_SYS_SOCKETVAR_H
18438 #include <sys/socketvar.h>
18439 #endif
18440 #ifdef HAVE_NETINET_IN_H
18441 #include <netinet/in.h>
18442 #endif
18443 #ifdef HAVE_NETINET_TCP_H
18444 #include <netinet/tcp.h>
18445 #endif
18446 #ifdef HAVE_NETINET_TCP_VAR_H
18447 #include <netinet/tcp_var.h>
18448 #endif
18450 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18452 cat >>confdefs.h <<_ACEOF
18453 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18454 _ACEOF
18460 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
18461 #include <netinet/tcp_var.h>
18462 #endif
18464 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18466 cat >>confdefs.h <<_ACEOF
18467 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18468 _ACEOF
18474 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18475 #include <sys/types.h>
18476 #endif
18477 #ifdef HAVE_NETINET_IN_H
18478 #include <netinet/in.h>
18479 #endif
18480 #ifdef HAVE_NETINET_IP_VAR_H
18481 #include <netinet/ip_var.h>
18482 #endif
18483 #ifdef HAVE_NETINET_UDP_H
18484 #include <netinet/udp.h>
18485 #endif
18486 #ifdef HAVE_NETINET_UDP_VAR_H
18487 #include <netinet/udp_var.h>
18488 #endif
18490 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18492 cat >>confdefs.h <<_ACEOF
18493 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18494 _ACEOF
18500 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18501 #include <sys/types.h>
18502 #endif
18503 #ifdef HAVE_NET_IF_H
18504 # include <net/if.h>
18505 #endif
18507 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18509 cat >>confdefs.h <<_ACEOF
18510 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18511 _ACEOF
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18518 $as_echo_n "checking for timezone variable... " >&6; }
18519 if ${ac_cv_have_timezone+:} false; then :
18520 $as_echo_n "(cached) " >&6
18521 else
18522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18523 /* end confdefs.h. */
18524 #include <time.h>
18526 main ()
18528 timezone = 1
18530 return 0;
18532 _ACEOF
18533 if ac_fn_c_try_link "$LINENO"; then :
18534 ac_cv_have_timezone="yes"
18535 else
18536 ac_cv_have_timezone="no"
18538 rm -f core conftest.err conftest.$ac_objext \
18539 conftest$ac_exeext conftest.$ac_ext
18541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
18542 $as_echo "$ac_cv_have_timezone" >&6; }
18543 if test "$ac_cv_have_timezone" = "yes"
18544 then
18546 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
18550 $as_echo_n "checking for daylight variable... " >&6; }
18551 if ${ac_cv_have_daylight+:} false; then :
18552 $as_echo_n "(cached) " >&6
18553 else
18554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18555 /* end confdefs.h. */
18556 #include <time.h>
18558 main ()
18560 daylight = 1
18562 return 0;
18564 _ACEOF
18565 if ac_fn_c_try_link "$LINENO"; then :
18566 ac_cv_have_daylight="yes"
18567 else
18568 ac_cv_have_daylight="no"
18570 rm -f core conftest.err conftest.$ac_objext \
18571 conftest$ac_exeext conftest.$ac_ext
18573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
18574 $as_echo "$ac_cv_have_daylight" >&6; }
18575 if test "$ac_cv_have_daylight" = "yes"
18576 then
18578 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
18582 ac_save_LIBS="$LIBS"
18583 LIBS="$LIBS -lm"
18584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18585 $as_echo_n "checking for isfinite... " >&6; }
18586 if ${ac_cv_have_isfinite+:} false; then :
18587 $as_echo_n "(cached) " >&6
18588 else
18589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18590 /* end confdefs.h. */
18591 #define _GNU_SOURCE
18592 #include <math.h>
18594 main ()
18596 float f = 0.0; return isfinite(f)
18598 return 0;
18600 _ACEOF
18601 if ac_fn_c_try_link "$LINENO"; then :
18602 ac_cv_have_isfinite="yes"
18603 else
18604 ac_cv_have_isfinite="no"
18606 rm -f core conftest.err conftest.$ac_objext \
18607 conftest$ac_exeext conftest.$ac_ext
18609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18610 $as_echo "$ac_cv_have_isfinite" >&6; }
18611 if test "$ac_cv_have_isfinite" = "yes"
18612 then
18614 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18619 $as_echo_n "checking for isinf... " >&6; }
18620 if ${ac_cv_have_isinf+:} false; then :
18621 $as_echo_n "(cached) " >&6
18622 else
18623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18624 /* end confdefs.h. */
18625 #include <math.h>
18627 main ()
18629 float f = 0.0; return isinf(f)
18631 return 0;
18633 _ACEOF
18634 if ac_fn_c_try_link "$LINENO"; then :
18635 ac_cv_have_isinf="yes"
18636 else
18637 ac_cv_have_isinf="no"
18639 rm -f core conftest.err conftest.$ac_objext \
18640 conftest$ac_exeext conftest.$ac_ext
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18643 $as_echo "$ac_cv_have_isinf" >&6; }
18644 if test "$ac_cv_have_isinf" = "yes"
18645 then
18647 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18652 $as_echo_n "checking for isnan... " >&6; }
18653 if ${ac_cv_have_isnan+:} false; then :
18654 $as_echo_n "(cached) " >&6
18655 else
18656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18657 /* end confdefs.h. */
18658 #include <math.h>
18660 main ()
18662 float f = 0.0; return isnan(f)
18664 return 0;
18666 _ACEOF
18667 if ac_fn_c_try_link "$LINENO"; then :
18668 ac_cv_have_isnan="yes"
18669 else
18670 ac_cv_have_isnan="no"
18672 rm -f core conftest.err conftest.$ac_objext \
18673 conftest$ac_exeext conftest.$ac_ext
18675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18676 $as_echo "$ac_cv_have_isnan" >&6; }
18677 if test "$ac_cv_have_isnan" = "yes"
18678 then
18680 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18684 for ac_func in \
18685 acosh \
18686 acoshf \
18687 asinh \
18688 asinhf \
18689 atanh \
18690 atanhf \
18691 cbrt \
18692 cbrtf \
18693 erf \
18694 erfc \
18695 erfcf \
18696 erff \
18697 exp2 \
18698 exp2f \
18699 expm1 \
18700 expm1f \
18701 j0 \
18702 j1 \
18703 jn \
18704 lgamma \
18705 lgammaf \
18706 llrint \
18707 llrintf \
18708 llround \
18709 llroundf \
18710 log1p \
18711 log1pf \
18712 log2 \
18713 log2f \
18714 lrint \
18715 lrintf \
18716 lround \
18717 lroundf \
18718 nearbyint \
18719 nearbyintf \
18720 nexttoward \
18721 nexttowardf \
18722 powl \
18723 remainder \
18724 remainderf \
18725 rint \
18726 rintf \
18727 round \
18728 roundf \
18729 trunc \
18730 truncf \
18731 y0 \
18732 y1 \
18735 do :
18736 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18737 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18738 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18739 cat >>confdefs.h <<_ACEOF
18740 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18741 _ACEOF
18744 done
18746 LIBS="$ac_save_LIBS"
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18749 $as_echo_n "checking for __builtin_clz... " >&6; }
18750 if ${ac_cv_have___builtin_clz+:} false; then :
18751 $as_echo_n "(cached) " >&6
18752 else
18753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18754 /* end confdefs.h. */
18757 main ()
18759 return __builtin_clz(1)
18761 return 0;
18763 _ACEOF
18764 if ac_fn_c_try_link "$LINENO"; then :
18765 ac_cv_have___builtin_clz="yes"
18766 else
18767 ac_cv_have___builtin_clz="no"
18769 rm -f core conftest.err conftest.$ac_objext \
18770 conftest$ac_exeext conftest.$ac_ext
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18773 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18774 if test "$ac_cv_have___builtin_clz" = "yes"
18775 then
18777 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18782 $as_echo_n "checking for __builtin_popcount... " >&6; }
18783 if ${ac_cv_have___builtin_popcount+:} false; then :
18784 $as_echo_n "(cached) " >&6
18785 else
18786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18787 /* end confdefs.h. */
18790 main ()
18792 return __builtin_popcount(1)
18794 return 0;
18796 _ACEOF
18797 if ac_fn_c_try_link "$LINENO"; then :
18798 ac_cv_have___builtin_popcount="yes"
18799 else
18800 ac_cv_have___builtin_popcount="no"
18802 rm -f core conftest.err conftest.$ac_objext \
18803 conftest$ac_exeext conftest.$ac_ext
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18806 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18807 if test "$ac_cv_have___builtin_popcount" = "yes"
18808 then
18810 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18815 $as_echo_n "checking for __clear_cache... " >&6; }
18816 if ${ac_cv_have___clear_cache+:} false; then :
18817 $as_echo_n "(cached) " >&6
18818 else
18819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18820 /* end confdefs.h. */
18823 main ()
18825 __clear_cache((void*)0, (void*)0); return 0;
18827 return 0;
18829 _ACEOF
18830 if ac_fn_c_try_link "$LINENO"; then :
18831 ac_cv_have___clear_cache="yes"
18832 else
18833 ac_cv_have___clear_cache="no"
18835 rm -f core conftest.err conftest.$ac_objext \
18836 conftest$ac_exeext conftest.$ac_ext
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18839 $as_echo "$ac_cv_have___clear_cache" >&6; }
18840 if test "$ac_cv_have___clear_cache" = "yes"
18841 then
18843 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18848 case $host_cpu in
18849 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18850 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18851 if ${ac_cv_cpp_def___i386__+:} false; then :
18852 $as_echo_n "(cached) " >&6
18853 else
18854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18855 /* end confdefs.h. */
18856 #ifndef __i386__
18858 #endif
18859 _ACEOF
18860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18861 $EGREP "yes" >/dev/null 2>&1; then :
18862 ac_cv_cpp_def___i386__=yes
18863 else
18864 ac_cv_cpp_def___i386__=no
18866 rm -f conftest*
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18870 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18871 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18872 CFLAGS="$CFLAGS -D__i386__"
18873 LINTFLAGS="$LINTFLAGS -D__i386__"
18874 fi ;;
18875 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18876 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18877 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18878 $as_echo_n "(cached) " >&6
18879 else
18880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18881 /* end confdefs.h. */
18882 #ifndef __x86_64__
18884 #endif
18885 _ACEOF
18886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18887 $EGREP "yes" >/dev/null 2>&1; then :
18888 ac_cv_cpp_def___x86_64__=yes
18889 else
18890 ac_cv_cpp_def___x86_64__=no
18892 rm -f conftest*
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18896 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18897 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18898 CFLAGS="$CFLAGS -D__x86_64__"
18899 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18900 fi ;;
18901 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18902 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18903 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18904 $as_echo_n "(cached) " >&6
18905 else
18906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18907 /* end confdefs.h. */
18908 #ifndef __sparc64__
18910 #endif
18911 _ACEOF
18912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18913 $EGREP "yes" >/dev/null 2>&1; then :
18914 ac_cv_cpp_def___sparc64__=yes
18915 else
18916 ac_cv_cpp_def___sparc64__=no
18918 rm -f conftest*
18921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18922 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18923 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18924 CFLAGS="$CFLAGS -D__sparc64__"
18925 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18926 fi ;;
18927 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18928 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18929 if ${ac_cv_cpp_def___sparc__+:} false; then :
18930 $as_echo_n "(cached) " >&6
18931 else
18932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18933 /* end confdefs.h. */
18934 #ifndef __sparc__
18936 #endif
18937 _ACEOF
18938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18939 $EGREP "yes" >/dev/null 2>&1; then :
18940 ac_cv_cpp_def___sparc__=yes
18941 else
18942 ac_cv_cpp_def___sparc__=no
18944 rm -f conftest*
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18948 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18949 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18950 CFLAGS="$CFLAGS -D__sparc__"
18951 LINTFLAGS="$LINTFLAGS -D__sparc__"
18952 fi ;;
18953 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18954 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18955 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18956 $as_echo_n "(cached) " >&6
18957 else
18958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18959 /* end confdefs.h. */
18960 #ifndef __powerpc64__
18962 #endif
18963 _ACEOF
18964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18965 $EGREP "yes" >/dev/null 2>&1; then :
18966 ac_cv_cpp_def___powerpc64__=yes
18967 else
18968 ac_cv_cpp_def___powerpc64__=no
18970 rm -f conftest*
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18974 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18975 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18976 CFLAGS="$CFLAGS -D__powerpc64__"
18977 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18978 fi ;;
18979 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18980 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18981 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18982 $as_echo_n "(cached) " >&6
18983 else
18984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18985 /* end confdefs.h. */
18986 #ifndef __powerpc__
18988 #endif
18989 _ACEOF
18990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18991 $EGREP "yes" >/dev/null 2>&1; then :
18992 ac_cv_cpp_def___powerpc__=yes
18993 else
18994 ac_cv_cpp_def___powerpc__=no
18996 rm -f conftest*
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19000 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19001 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19002 CFLAGS="$CFLAGS -D__powerpc__"
19003 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19004 fi ;;
19005 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19006 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19007 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19008 $as_echo_n "(cached) " >&6
19009 else
19010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19011 /* end confdefs.h. */
19012 #ifndef __aarch64__
19014 #endif
19015 _ACEOF
19016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19017 $EGREP "yes" >/dev/null 2>&1; then :
19018 ac_cv_cpp_def___aarch64__=yes
19019 else
19020 ac_cv_cpp_def___aarch64__=no
19022 rm -f conftest*
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19026 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19027 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19028 CFLAGS="$CFLAGS -D__aarch64__"
19029 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19030 fi ;;
19031 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19032 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19033 if ${ac_cv_cpp_def___arm__+:} false; then :
19034 $as_echo_n "(cached) " >&6
19035 else
19036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19037 /* end confdefs.h. */
19038 #ifndef __arm__
19040 #endif
19041 _ACEOF
19042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19043 $EGREP "yes" >/dev/null 2>&1; then :
19044 ac_cv_cpp_def___arm__=yes
19045 else
19046 ac_cv_cpp_def___arm__=no
19048 rm -f conftest*
19051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19052 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19053 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19054 CFLAGS="$CFLAGS -D__arm__"
19055 LINTFLAGS="$LINTFLAGS -D__arm__"
19056 fi ;;
19057 esac
19059 case $host_vendor in
19060 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19061 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19062 if ${ac_cv_cpp_def___sun__+:} false; then :
19063 $as_echo_n "(cached) " >&6
19064 else
19065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19066 /* end confdefs.h. */
19067 #ifndef __sun__
19069 #endif
19070 _ACEOF
19071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19072 $EGREP "yes" >/dev/null 2>&1; then :
19073 ac_cv_cpp_def___sun__=yes
19074 else
19075 ac_cv_cpp_def___sun__=no
19077 rm -f conftest*
19080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19081 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19082 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19083 CFLAGS="$CFLAGS -D__sun__"
19084 LINTFLAGS="$LINTFLAGS -D__sun__"
19085 fi ;;
19086 esac
19092 ac_config_commands="$ac_config_commands include/stamp-h"
19094 $as_echo_n "creating Makefile rules..." >&6
19096 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
19097 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19098 IOKIT_LIBS = $IOKIT_LIBS
19099 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19100 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19101 CORESERVICES_LIBS = $CORESERVICES_LIBS
19102 APPKIT_LIBS = $APPKIT_LIBS
19103 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19104 SECURITY_LIBS = $SECURITY_LIBS
19105 COREAUDIO_LIBS = $COREAUDIO_LIBS
19106 OPENAL_LIBS = $OPENAL_LIBS
19107 OPENCL_LIBS = $OPENCL_LIBS
19108 QUICKTIME_LIBS = $QUICKTIME_LIBS
19109 CARBON_LIBS = $CARBON_LIBS
19110 METAL_LIBS = $METAL_LIBS
19111 PTHREAD_LIBS = $PTHREAD_LIBS
19112 X_CFLAGS = $X_CFLAGS
19113 X_PRE_LIBS = $X_PRE_LIBS
19114 X_LIBS = $X_LIBS
19115 X_EXTRA_LIBS = $X_EXTRA_LIBS
19116 PCAP_LIBS = $PCAP_LIBS
19117 XML2_CFLAGS = $XML2_CFLAGS
19118 XML2_LIBS = $XML2_LIBS
19119 XSLT_CFLAGS = $XSLT_CFLAGS
19120 XSLT_LIBS = $XSLT_LIBS
19121 DBUS_CFLAGS = $DBUS_CFLAGS
19122 DBUS_LIBS = $DBUS_LIBS
19123 HAL_CFLAGS = $HAL_CFLAGS
19124 HAL_LIBS = $HAL_LIBS
19125 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19126 GNUTLS_LIBS = $GNUTLS_LIBS
19127 SANE_CFLAGS = $SANE_CFLAGS
19128 SANE_LIBS = $SANE_LIBS
19129 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19130 GPHOTO2_LIBS = $GPHOTO2_LIBS
19131 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19132 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19133 RESOLV_LIBS = $RESOLV_LIBS
19134 LCMS2_CFLAGS = $LCMS2_CFLAGS
19135 LCMS2_LIBS = $LCMS2_LIBS
19136 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19137 FREETYPE_LIBS = $FREETYPE_LIBS
19138 Z_LIBS = $Z_LIBS
19139 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19140 PULSE_CFLAGS = $PULSE_CFLAGS
19141 PULSE_LIBS = $PULSE_LIBS
19142 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19143 GSTREAMER_LIBS = $GSTREAMER_LIBS
19144 ALSA_LIBS = $ALSA_LIBS
19145 OSS4_CFLAGS = $OSS4_CFLAGS
19146 UDEV_CFLAGS = $UDEV_CFLAGS
19147 UDEV_LIBS = $UDEV_LIBS
19148 SDL2_CFLAGS = $SDL2_CFLAGS
19149 SDL2_LIBS = $SDL2_LIBS
19150 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19151 FAUDIO_LIBS = $FAUDIO_LIBS
19152 CAPI20_CFLAGS = $CAPI20_CFLAGS
19153 CAPI20_LIBS = $CAPI20_LIBS
19154 CUPS_CFLAGS = $CUPS_CFLAGS
19155 CUPS_LIBS = $CUPS_LIBS
19156 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19157 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19158 KRB5_CFLAGS = $KRB5_CFLAGS
19159 KRB5_LIBS = $KRB5_LIBS
19160 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19161 GSSAPI_LIBS = $GSSAPI_LIBS
19162 JPEG_CFLAGS = $JPEG_CFLAGS
19163 JPEG_LIBS = $JPEG_LIBS
19164 PNG_CFLAGS = $PNG_CFLAGS
19165 PNG_LIBS = $PNG_LIBS
19166 TIFF_CFLAGS = $TIFF_CFLAGS
19167 TIFF_LIBS = $TIFF_LIBS
19168 MPG123_CFLAGS = $MPG123_CFLAGS
19169 MPG123_LIBS = $MPG123_LIBS
19170 KSTAT_LIBS = $KSTAT_LIBS
19171 PROCSTAT_LIBS = $PROCSTAT_LIBS
19172 NETAPI_CFLAGS = $NETAPI_CFLAGS
19173 NETAPI_LIBS = $NETAPI_LIBS
19174 VKD3D_CFLAGS = $VKD3D_CFLAGS
19175 VKD3D_LIBS = $VKD3D_LIBS
19176 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19177 DL_LIBS = $DL_LIBS
19178 POLL_LIBS = $POLL_LIBS
19179 RT_LIBS = $RT_LIBS
19180 LDAP_CFLAGS = $LDAP_CFLAGS
19181 LDAP_LIBS = $LDAP_LIBS
19186 wine_fn_append_rule "
19187 # Rules automatically generated by configure
19189 .INIT: Makefile
19190 .MAKEFILEDEPS:
19191 all: Makefile
19192 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19193 @./config.status Make.tmp Makefile
19194 depend: \$(MAKEDEP) dummy
19195 \$(MAKEDEP)"
19197 if test "x$enable_fonts" != xno; then
19198 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19199 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19200 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19201 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19202 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19203 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19205 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19206 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19207 ac_config_links="$ac_config_links wine:tools/winewrapper"
19208 wine_fn_config_symlink wine
19209 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19210 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19211 wine_fn_config_symlink wine64
19214 wine_fn_config_makefile dlls/acledit enable_acledit
19215 wine_fn_config_makefile dlls/aclui enable_aclui
19216 wine_fn_config_makefile dlls/activeds enable_activeds
19217 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19218 wine_fn_config_makefile dlls/adsiid enable_adsiid
19219 wine_fn_config_makefile dlls/adsldp enable_adsldp
19220 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19221 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19222 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19223 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19224 wine_fn_config_makefile dlls/advpack enable_advpack
19225 wine_fn_config_makefile dlls/advpack/tests enable_tests
19226 wine_fn_config_makefile dlls/amstream enable_amstream
19227 wine_fn_config_makefile dlls/amstream/tests enable_tests
19228 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19229 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19230 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19231 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19232 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19233 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19234 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19235 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19236 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19237 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19238 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19239 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19240 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19241 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19242 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19243 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19244 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19245 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19246 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19247 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19248 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19249 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19250 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19251 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19252 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19253 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19254 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19255 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19256 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19257 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19258 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19259 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19260 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19261 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19262 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19263 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19264 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19265 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19266 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19267 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19268 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19269 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19270 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19271 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19272 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19273 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19274 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19275 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19276 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19277 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19278 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19279 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19280 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19281 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19282 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19283 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19284 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19285 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19286 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19287 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19288 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19289 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19290 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19291 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19292 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19293 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19294 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19295 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19296 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19297 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19298 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19299 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19300 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19301 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19302 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19303 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19304 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19305 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19306 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19307 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19308 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19309 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19310 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19311 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19312 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19313 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19314 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19315 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19316 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19317 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19318 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19319 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19320 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19321 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19322 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19323 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19324 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19325 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19326 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19327 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19328 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19329 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19330 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19331 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19332 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19333 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19334 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19335 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19336 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19337 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19338 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19339 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19340 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19341 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19342 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19343 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19344 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19345 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19346 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19347 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19348 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19349 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19350 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19351 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19352 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19353 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19354 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19355 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19356 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19357 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19358 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19359 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19360 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19361 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19362 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19363 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19364 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19365 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19366 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19367 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19368 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19369 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19370 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19371 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19372 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19373 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19374 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19375 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19376 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19377 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19378 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19379 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19380 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19381 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19382 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19383 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19384 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19385 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19386 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19387 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19388 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19389 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19390 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19391 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19392 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19393 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19394 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19395 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19396 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19397 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19398 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19399 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19400 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19401 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19402 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19403 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19404 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19405 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19406 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19407 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19408 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19409 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19410 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19411 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19412 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19413 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19414 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19415 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19416 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19417 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19418 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19419 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19420 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19421 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19422 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19423 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19424 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19425 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19426 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19427 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19428 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19429 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19430 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19431 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19432 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19433 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19434 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19435 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19436 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19437 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19438 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19439 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19440 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19441 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19442 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19443 wine_fn_config_makefile dlls/apphelp enable_apphelp
19444 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19445 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19446 wine_fn_config_makefile dlls/atl enable_atl
19447 wine_fn_config_makefile dlls/atl/tests enable_tests
19448 wine_fn_config_makefile dlls/atl100 enable_atl100
19449 wine_fn_config_makefile dlls/atl100/tests enable_tests
19450 wine_fn_config_makefile dlls/atl110 enable_atl110
19451 wine_fn_config_makefile dlls/atl80 enable_atl80
19452 wine_fn_config_makefile dlls/atl80/tests enable_tests
19453 wine_fn_config_makefile dlls/atl90 enable_atl90
19454 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
19455 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
19456 wine_fn_config_makefile dlls/atmlib enable_atmlib
19457 wine_fn_config_makefile dlls/authz enable_authz
19458 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19459 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19460 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19461 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19462 wine_fn_config_makefile dlls/avrt enable_avrt
19463 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19464 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19465 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19466 wine_fn_config_makefile dlls/browseui enable_browseui
19467 wine_fn_config_makefile dlls/browseui/tests enable_tests
19468 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19469 wine_fn_config_makefile dlls/cabinet enable_cabinet
19470 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19471 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19472 wine_fn_config_makefile dlls/cards enable_cards
19473 wine_fn_config_makefile dlls/cdosys enable_cdosys
19474 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19475 wine_fn_config_makefile dlls/clusapi enable_clusapi
19476 wine_fn_config_makefile dlls/combase enable_combase
19477 wine_fn_config_makefile dlls/combase/tests enable_tests
19478 wine_fn_config_makefile dlls/comcat enable_comcat
19479 wine_fn_config_makefile dlls/comcat/tests enable_tests
19480 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19481 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19482 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19483 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19484 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19485 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19486 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19487 wine_fn_config_makefile dlls/compstui enable_compstui
19488 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19489 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
19490 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19491 wine_fn_config_makefile dlls/connect enable_connect
19492 wine_fn_config_makefile dlls/credui enable_credui
19493 wine_fn_config_makefile dlls/credui/tests enable_tests
19494 wine_fn_config_makefile dlls/crtdll enable_crtdll
19495 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19496 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19497 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19498 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19499 wine_fn_config_makefile dlls/cryptext enable_cryptext
19500 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19501 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19502 wine_fn_config_makefile dlls/cryptui enable_cryptui
19503 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19504 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19505 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19506 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19507 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19508 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19509 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19510 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19511 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19512 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19513 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19514 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19515 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19516 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19517 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19518 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19519 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19520 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19521 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19522 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19523 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19524 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19525 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19526 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19527 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19528 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19529 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19530 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19531 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19532 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19533 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19534 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19535 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19536 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19537 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19538 wine_fn_config_makefile dlls/d3dim enable_d3dim
19539 wine_fn_config_makefile dlls/d3drm enable_d3drm
19540 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19541 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19542 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19543 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19544 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19545 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19546 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19547 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19548 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19549 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19550 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19551 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19552 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19553 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19554 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19555 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19556 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19557 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19558 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19559 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19560 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19561 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19562 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19563 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19564 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19565 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19566 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19567 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19568 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19569 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19570 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19571 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19572 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19573 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19574 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19575 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19576 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19577 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19578 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19579 wine_fn_config_makefile dlls/davclnt enable_davclnt
19580 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19581 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19582 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19583 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19584 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19585 wine_fn_config_makefile dlls/ddraw enable_ddraw
19586 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19587 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19588 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19589 wine_fn_config_makefile dlls/devenum enable_devenum
19590 wine_fn_config_makefile dlls/devenum/tests enable_tests
19591 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19592 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19593 wine_fn_config_makefile dlls/difxapi enable_difxapi
19594 wine_fn_config_makefile dlls/dinput enable_dinput
19595 wine_fn_config_makefile dlls/dinput/tests enable_tests
19596 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19597 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19598 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19599 wine_fn_config_makefile dlls/dispex enable_dispex
19600 wine_fn_config_makefile dlls/dispex/tests enable_tests
19601 wine_fn_config_makefile dlls/display.drv16 enable_win16
19602 wine_fn_config_makefile dlls/dmband enable_dmband
19603 wine_fn_config_makefile dlls/dmband/tests enable_tests
19604 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19605 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19606 wine_fn_config_makefile dlls/dmime enable_dmime
19607 wine_fn_config_makefile dlls/dmime/tests enable_tests
19608 wine_fn_config_makefile dlls/dmloader enable_dmloader
19609 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19610 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19611 wine_fn_config_makefile dlls/dmscript enable_dmscript
19612 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19613 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19614 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19615 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19616 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19617 wine_fn_config_makefile dlls/dmusic enable_dmusic
19618 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19619 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19620 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19621 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19622 wine_fn_config_makefile dlls/dplay enable_dplay
19623 wine_fn_config_makefile dlls/dplayx enable_dplayx
19624 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19625 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19626 wine_fn_config_makefile dlls/dpnet enable_dpnet
19627 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19628 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19629 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19630 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19631 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19632 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19633 wine_fn_config_makefile dlls/drmclien enable_drmclien
19634 wine_fn_config_makefile dlls/dsound enable_dsound
19635 wine_fn_config_makefile dlls/dsound/tests enable_tests
19636 wine_fn_config_makefile dlls/dsquery enable_dsquery
19637 wine_fn_config_makefile dlls/dssenh enable_dssenh
19638 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19639 wine_fn_config_makefile dlls/dswave enable_dswave
19640 wine_fn_config_makefile dlls/dswave/tests enable_tests
19641 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19642 wine_fn_config_makefile dlls/dwrite enable_dwrite
19643 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19644 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19645 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19646 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19647 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19648 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19649 wine_fn_config_makefile dlls/dxgi enable_dxgi
19650 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19651 wine_fn_config_makefile dlls/dxguid enable_dxguid
19652 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19653 wine_fn_config_makefile dlls/esent enable_esent
19654 wine_fn_config_makefile dlls/evr enable_evr
19655 wine_fn_config_makefile dlls/evr/tests enable_tests
19656 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19657 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19658 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19659 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19660 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19661 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
19662 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19663 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19664 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19665 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
19666 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19667 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
19668 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
19669 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19670 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19671 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19672 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
19673 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19674 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
19675 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19676 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19677 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
19678 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19679 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
19680 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
19681 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19682 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19683 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19684 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19685 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19686 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19687 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
19688 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19689 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19690 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
19691 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19692 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19693 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19694 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19695 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19696 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19697 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19698 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
19699 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19700 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19701 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19702 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19703 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19704 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19705 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19706 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19707 wine_fn_config_makefile dlls/faultrep enable_faultrep
19708 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19709 wine_fn_config_makefile dlls/feclient enable_feclient
19710 wine_fn_config_makefile dlls/fltlib enable_fltlib
19711 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19712 wine_fn_config_makefile dlls/fntcache enable_fntcache
19713 wine_fn_config_makefile dlls/fontsub enable_fontsub
19714 wine_fn_config_makefile dlls/fusion enable_fusion
19715 wine_fn_config_makefile dlls/fusion/tests enable_tests
19716 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19717 wine_fn_config_makefile dlls/gameux enable_gameux
19718 wine_fn_config_makefile dlls/gameux/tests enable_tests
19719 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19720 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19721 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19722 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19723 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19724 wine_fn_config_makefile dlls/glu32 enable_glu32
19725 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19726 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19727 wine_fn_config_makefile dlls/hal enable_hal
19728 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19729 wine_fn_config_makefile dlls/hid enable_hid
19730 wine_fn_config_makefile dlls/hid/tests enable_tests
19731 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19732 wine_fn_config_makefile dlls/hlink enable_hlink
19733 wine_fn_config_makefile dlls/hlink/tests enable_tests
19734 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19735 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19736 wine_fn_config_makefile dlls/httpapi enable_httpapi
19737 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19738 wine_fn_config_makefile dlls/iccvid enable_iccvid
19739 wine_fn_config_makefile dlls/icmp enable_icmp
19740 wine_fn_config_makefile dlls/ieframe enable_ieframe
19741 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19742 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19743 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19744 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19745 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19746 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19747 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19748 wine_fn_config_makefile dlls/imm32 enable_imm32
19749 wine_fn_config_makefile dlls/imm32/tests enable_tests
19750 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19751 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19752 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19753 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19754 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19755 wine_fn_config_makefile dlls/infosoft enable_infosoft
19756 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19757 wine_fn_config_makefile dlls/initpki enable_initpki
19758 wine_fn_config_makefile dlls/inkobj enable_inkobj
19759 wine_fn_config_makefile dlls/inseng enable_inseng
19760 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19761 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19762 wine_fn_config_makefile dlls/iprop enable_iprop
19763 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19764 wine_fn_config_makefile dlls/itircl enable_itircl
19765 wine_fn_config_makefile dlls/itss enable_itss
19766 wine_fn_config_makefile dlls/itss/tests enable_tests
19767 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19768 wine_fn_config_makefile dlls/jscript enable_jscript
19769 wine_fn_config_makefile dlls/jscript/tests enable_tests
19770 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19771 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19772 wine_fn_config_makefile dlls/kerberos enable_kerberos
19773 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19774 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19775 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19776 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19777 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19778 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19779 wine_fn_config_makefile dlls/ksuser enable_ksuser
19780 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19781 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19782 wine_fn_config_makefile dlls/loadperf enable_loadperf
19783 wine_fn_config_makefile dlls/localspl enable_localspl
19784 wine_fn_config_makefile dlls/localspl/tests enable_tests
19785 wine_fn_config_makefile dlls/localui enable_localui
19786 wine_fn_config_makefile dlls/localui/tests enable_tests
19787 wine_fn_config_makefile dlls/lz32 enable_lz32
19788 wine_fn_config_makefile dlls/lz32/tests enable_tests
19789 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19790 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19791 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19792 wine_fn_config_makefile dlls/mapistub enable_mapistub
19793 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19794 wine_fn_config_makefile dlls/mcicda enable_mcicda
19795 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19796 wine_fn_config_makefile dlls/mciseq enable_mciseq
19797 wine_fn_config_makefile dlls/mciwave enable_mciwave
19798 wine_fn_config_makefile dlls/mf enable_mf
19799 wine_fn_config_makefile dlls/mf/tests enable_tests
19800 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19801 wine_fn_config_makefile dlls/mfplat enable_mfplat
19802 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19803 wine_fn_config_makefile dlls/mfplay enable_mfplay
19804 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19805 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
19806 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19807 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19808 wine_fn_config_makefile dlls/midimap enable_midimap
19809 wine_fn_config_makefile dlls/mlang enable_mlang
19810 wine_fn_config_makefile dlls/mlang/tests enable_tests
19811 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19812 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19813 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19814 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19815 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19816 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19817 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19818 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19819 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19820 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19821 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19822 wine_fn_config_makefile dlls/mpr enable_mpr
19823 wine_fn_config_makefile dlls/mpr/tests enable_tests
19824 wine_fn_config_makefile dlls/mprapi enable_mprapi
19825 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19826 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19827 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19828 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19829 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19830 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19831 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19832 wine_fn_config_makefile dlls/mscms enable_mscms
19833 wine_fn_config_makefile dlls/mscms/tests enable_tests
19834 wine_fn_config_makefile dlls/mscoree enable_mscoree
19835 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19836 wine_fn_config_makefile dlls/msctf enable_msctf
19837 wine_fn_config_makefile dlls/msctf/tests enable_tests
19838 wine_fn_config_makefile dlls/msctfp enable_msctfp
19839 wine_fn_config_makefile dlls/msdaps enable_msdaps
19840 wine_fn_config_makefile dlls/msdelta enable_msdelta
19841 wine_fn_config_makefile dlls/msdmo enable_msdmo
19842 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19843 wine_fn_config_makefile dlls/msdrm enable_msdrm
19844 wine_fn_config_makefile dlls/msftedit enable_msftedit
19845 wine_fn_config_makefile dlls/msftedit/tests enable_tests
19846 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19847 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19848 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19849 wine_fn_config_makefile dlls/mshtml enable_mshtml
19850 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19851 wine_fn_config_makefile dlls/msi enable_msi
19852 wine_fn_config_makefile dlls/msi/tests enable_tests
19853 wine_fn_config_makefile dlls/msident enable_msident
19854 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19855 wine_fn_config_makefile dlls/msimsg enable_msimsg
19856 wine_fn_config_makefile dlls/msimtf enable_msimtf
19857 wine_fn_config_makefile dlls/msisip enable_msisip
19858 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19859 wine_fn_config_makefile dlls/msls31 enable_msls31
19860 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19861 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19862 wine_fn_config_makefile dlls/msports enable_msports
19863 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19864 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19865 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19866 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19867 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19868 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19869 wine_fn_config_makefile dlls/mstask enable_mstask
19870 wine_fn_config_makefile dlls/mstask/tests enable_tests
19871 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19872 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19873 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19874 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19875 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19876 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19877 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19878 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19879 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19880 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19881 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19882 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19883 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19884 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19885 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19886 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19887 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19888 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19889 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19890 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19891 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19892 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19893 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19894 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19895 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19896 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19897 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19898 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19899 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19900 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19901 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19902 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19903 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19904 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19905 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19906 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19907 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19908 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19909 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19910 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19911 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19912 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19913 wine_fn_config_makefile dlls/mswsock enable_mswsock
19914 wine_fn_config_makefile dlls/msxml enable_msxml
19915 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19916 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19917 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19918 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19919 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19920 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19921 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19922 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19923 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19924 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19925 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19926 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19927 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19928 wine_fn_config_makefile dlls/netprofm enable_netprofm
19929 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19930 wine_fn_config_makefile dlls/newdev enable_newdev
19931 wine_fn_config_makefile dlls/ninput enable_ninput
19932 wine_fn_config_makefile dlls/ninput/tests enable_tests
19933 wine_fn_config_makefile dlls/normaliz enable_normaliz
19934 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19935 wine_fn_config_makefile dlls/npptools enable_npptools
19936 wine_fn_config_makefile dlls/ntdll enable_ntdll
19937 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19938 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19939 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19940 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19941 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19942 wine_fn_config_makefile dlls/ntprint enable_ntprint
19943 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19944 wine_fn_config_makefile dlls/objsel enable_objsel
19945 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19946 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19947 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19948 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19949 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19950 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19951 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19952 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19953 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19954 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19955 wine_fn_config_makefile dlls/ole32 enable_ole32
19956 wine_fn_config_makefile dlls/ole32/tests enable_tests
19957 wine_fn_config_makefile dlls/oleacc enable_oleacc
19958 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19959 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19960 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19961 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19962 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19963 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19964 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19965 wine_fn_config_makefile dlls/oledlg enable_oledlg
19966 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19967 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19968 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19969 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19970 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19971 wine_fn_config_makefile dlls/opcservices enable_opcservices
19972 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19973 wine_fn_config_makefile dlls/openal32 enable_openal32
19974 wine_fn_config_makefile dlls/opencl enable_opencl
19975 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19976 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19977 wine_fn_config_makefile dlls/packager enable_packager
19978 wine_fn_config_makefile dlls/packager/tests enable_tests
19979 wine_fn_config_makefile dlls/pdh enable_pdh
19980 wine_fn_config_makefile dlls/pdh/tests enable_tests
19981 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19982 wine_fn_config_makefile dlls/pidgen enable_pidgen
19983 wine_fn_config_makefile dlls/powrprof enable_powrprof
19984 wine_fn_config_makefile dlls/printui enable_printui
19985 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19986 wine_fn_config_makefile dlls/propsys enable_propsys
19987 wine_fn_config_makefile dlls/propsys/tests enable_tests
19988 wine_fn_config_makefile dlls/psapi enable_psapi
19989 wine_fn_config_makefile dlls/psapi/tests enable_tests
19990 wine_fn_config_makefile dlls/pstorec enable_pstorec
19991 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19992 wine_fn_config_makefile dlls/qcap enable_qcap
19993 wine_fn_config_makefile dlls/qcap/tests enable_tests
19994 wine_fn_config_makefile dlls/qedit enable_qedit
19995 wine_fn_config_makefile dlls/qedit/tests enable_tests
19996 wine_fn_config_makefile dlls/qmgr enable_qmgr
19997 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19998 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19999 wine_fn_config_makefile dlls/quartz enable_quartz
20000 wine_fn_config_makefile dlls/quartz/tests enable_tests
20001 wine_fn_config_makefile dlls/query enable_query
20002 wine_fn_config_makefile dlls/qwave enable_qwave
20003 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20004 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20005 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20006 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20007 wine_fn_config_makefile dlls/regapi enable_regapi
20008 wine_fn_config_makefile dlls/resutils enable_resutils
20009 wine_fn_config_makefile dlls/riched20 enable_riched20
20010 wine_fn_config_makefile dlls/riched20/tests enable_tests
20011 wine_fn_config_makefile dlls/riched32 enable_riched32
20012 wine_fn_config_makefile dlls/riched32/tests enable_tests
20013 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20014 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20015 wine_fn_config_makefile dlls/rsabase enable_rsabase
20016 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20017 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20018 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20019 wine_fn_config_makefile dlls/rtutils enable_rtutils
20020 wine_fn_config_makefile dlls/samlib enable_samlib
20021 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20022 wine_fn_config_makefile dlls/sapi enable_sapi
20023 wine_fn_config_makefile dlls/sapi/tests enable_tests
20024 wine_fn_config_makefile dlls/sas enable_sas
20025 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20026 wine_fn_config_makefile dlls/sccbase enable_sccbase
20027 wine_fn_config_makefile dlls/schannel enable_schannel
20028 wine_fn_config_makefile dlls/schannel/tests enable_tests
20029 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20030 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20031 wine_fn_config_makefile dlls/scrobj enable_scrobj
20032 wine_fn_config_makefile dlls/scrrun enable_scrrun
20033 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20034 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20035 wine_fn_config_makefile dlls/secur32 enable_secur32
20036 wine_fn_config_makefile dlls/secur32/tests enable_tests
20037 wine_fn_config_makefile dlls/security enable_security
20038 wine_fn_config_makefile dlls/sensapi enable_sensapi
20039 wine_fn_config_makefile dlls/serialui enable_serialui
20040 wine_fn_config_makefile dlls/serialui/tests enable_tests
20041 wine_fn_config_makefile dlls/setupapi enable_setupapi
20042 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20043 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20044 wine_fn_config_makefile dlls/sfc enable_sfc
20045 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20046 wine_fn_config_makefile dlls/shcore enable_shcore
20047 wine_fn_config_makefile dlls/shcore/tests enable_tests
20048 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20049 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20050 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20051 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20052 wine_fn_config_makefile dlls/shell32 enable_shell32
20053 wine_fn_config_makefile dlls/shell32/tests enable_tests
20054 wine_fn_config_makefile dlls/shfolder enable_shfolder
20055 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20056 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20057 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20058 wine_fn_config_makefile dlls/slc enable_slc
20059 wine_fn_config_makefile dlls/slc/tests enable_tests
20060 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20061 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20062 wine_fn_config_makefile dlls/softpub enable_softpub
20063 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20064 wine_fn_config_makefile dlls/spoolss enable_spoolss
20065 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20066 wine_fn_config_makefile dlls/srclient enable_srclient
20067 wine_fn_config_makefile dlls/sspicli enable_sspicli
20068 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20069 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20070 wine_fn_config_makefile dlls/sti enable_sti
20071 wine_fn_config_makefile dlls/sti/tests enable_tests
20072 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20073 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20074 wine_fn_config_makefile dlls/strmbase enable_strmbase
20075 wine_fn_config_makefile dlls/strmdll enable_strmdll
20076 wine_fn_config_makefile dlls/strmiids enable_strmiids
20077 wine_fn_config_makefile dlls/svrapi enable_svrapi
20078 wine_fn_config_makefile dlls/sxs enable_sxs
20079 wine_fn_config_makefile dlls/sxs/tests enable_tests
20080 wine_fn_config_makefile dlls/system.drv16 enable_win16
20081 wine_fn_config_makefile dlls/t2embed enable_t2embed
20082 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20083 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20084 wine_fn_config_makefile dlls/taskschd enable_taskschd
20085 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20086 wine_fn_config_makefile dlls/tdh enable_tdh
20087 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20088 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20089 wine_fn_config_makefile dlls/traffic enable_traffic
20090 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20091 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20092 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20093 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20094 wine_fn_config_makefile dlls/tzres enable_tzres
20095 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20096 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20097 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20098 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20099 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20100 wine_fn_config_makefile dlls/unicows enable_unicows
20101 wine_fn_config_makefile dlls/updspapi enable_updspapi
20102 wine_fn_config_makefile dlls/url enable_url
20103 wine_fn_config_makefile dlls/urlmon enable_urlmon
20104 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20105 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20106 wine_fn_config_makefile dlls/user.exe16 enable_win16
20107 wine_fn_config_makefile dlls/user32 enable_user32
20108 wine_fn_config_makefile dlls/user32/tests enable_tests
20109 wine_fn_config_makefile dlls/userenv enable_userenv
20110 wine_fn_config_makefile dlls/userenv/tests enable_tests
20111 wine_fn_config_makefile dlls/usp10 enable_usp10
20112 wine_fn_config_makefile dlls/usp10/tests enable_tests
20113 wine_fn_config_makefile dlls/uuid enable_uuid
20114 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20115 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20116 wine_fn_config_makefile dlls/vbscript enable_vbscript
20117 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20118 wine_fn_config_makefile dlls/vcomp enable_vcomp
20119 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20120 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20121 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20122 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20123 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20124 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20125 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20126 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20127 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20128 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20129 wine_fn_config_makefile dlls/version enable_version
20130 wine_fn_config_makefile dlls/version/tests enable_tests
20131 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20132 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20133 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20134 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20135 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20136 wine_fn_config_makefile dlls/vssapi enable_vssapi
20137 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20138 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20139 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20140 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20141 wine_fn_config_makefile dlls/w32skrnl enable_win16
20142 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20143 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20144 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20145 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20146 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20147 wine_fn_config_makefile dlls/wdscore enable_wdscore
20148 wine_fn_config_makefile dlls/webservices enable_webservices
20149 wine_fn_config_makefile dlls/webservices/tests enable_tests
20150 wine_fn_config_makefile dlls/wer enable_wer
20151 wine_fn_config_makefile dlls/wer/tests enable_tests
20152 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20153 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20154 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20155 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20156 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20157 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20158 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20159 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20160 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20161 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20162 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20163 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20164 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20165 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20166 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20167 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20168 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20169 wine_fn_config_makefile dlls/wined3d enable_wined3d
20170 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20171 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20172 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20173 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20174 wine_fn_config_makefile dlls/winemapi enable_winemapi
20175 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20176 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20177 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20178 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20179 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20180 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20181 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20182 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20183 wine_fn_config_makefile dlls/wing32 enable_wing32
20184 wine_fn_config_makefile dlls/winhttp enable_winhttp
20185 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20186 wine_fn_config_makefile dlls/wininet enable_wininet
20187 wine_fn_config_makefile dlls/wininet/tests enable_tests
20188 wine_fn_config_makefile dlls/winmm enable_winmm
20189 wine_fn_config_makefile dlls/winmm/tests enable_tests
20190 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20191 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20192 wine_fn_config_makefile dlls/winscard enable_winscard
20193 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20194 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20195 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20196 wine_fn_config_makefile dlls/winsta enable_winsta
20197 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20198 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20199 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20200 wine_fn_config_makefile dlls/wintrust enable_wintrust
20201 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20202 wine_fn_config_makefile dlls/winusb enable_winusb
20203 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20204 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20205 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20206 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20207 wine_fn_config_makefile dlls/wmasf enable_wmasf
20208 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20209 wine_fn_config_makefile dlls/wmi enable_wmi
20210 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20211 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20212 wine_fn_config_makefile dlls/wmp enable_wmp
20213 wine_fn_config_makefile dlls/wmp/tests enable_tests
20214 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20215 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20216 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20217 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20218 wine_fn_config_makefile dlls/wow32 enable_win16
20219 wine_fn_config_makefile dlls/wpc enable_wpc
20220 wine_fn_config_makefile dlls/wpc/tests enable_tests
20221 wine_fn_config_makefile dlls/wpcap enable_wpcap
20222 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20223 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20224 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20225 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20226 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20227 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20228 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20229 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20230 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20231 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20232 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20233 wine_fn_config_makefile dlls/wuapi enable_wuapi
20234 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20235 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20236 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20237 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20238 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20239 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20240 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20241 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20242 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20243 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20244 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20245 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20246 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20247 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20248 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20249 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20250 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20251 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20252 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20253 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20254 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20255 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20256 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20257 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20258 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20259 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20260 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20261 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20262 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20263 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20264 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20265 wine_fn_config_makefile dlls/xmllite enable_xmllite
20266 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20267 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20268 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20269 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20270 wine_fn_config_makefile fonts enable_fonts
20271 wine_fn_config_makefile include enable_include
20272 wine_fn_config_makefile libs/port enable_port
20273 wine_fn_config_makefile libs/wine enable_wine
20274 wine_fn_config_makefile libs/wpp enable_wpp
20275 wine_fn_config_makefile loader enable_loader
20276 wine_fn_config_makefile po enable_po
20277 wine_fn_config_makefile programs/arp enable_arp
20278 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20279 wine_fn_config_makefile programs/attrib enable_attrib
20280 wine_fn_config_makefile programs/cabarc enable_cabarc
20281 wine_fn_config_makefile programs/cacls enable_cacls
20282 wine_fn_config_makefile programs/clock enable_clock
20283 wine_fn_config_makefile programs/cmd enable_cmd
20284 wine_fn_config_makefile programs/cmd/tests enable_tests
20285 wine_fn_config_makefile programs/conhost enable_conhost
20286 wine_fn_config_makefile programs/control enable_control
20287 wine_fn_config_makefile programs/cscript enable_cscript
20288 wine_fn_config_makefile programs/dism enable_dism
20289 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20290 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20291 wine_fn_config_makefile programs/eject enable_eject
20292 wine_fn_config_makefile programs/expand enable_expand
20293 wine_fn_config_makefile programs/explorer enable_explorer
20294 wine_fn_config_makefile programs/extrac32 enable_extrac32
20295 wine_fn_config_makefile programs/fc enable_fc
20296 wine_fn_config_makefile programs/find enable_find
20297 wine_fn_config_makefile programs/findstr enable_findstr
20298 wine_fn_config_makefile programs/fsutil enable_fsutil
20299 wine_fn_config_makefile programs/hh enable_hh
20300 wine_fn_config_makefile programs/hostname enable_hostname
20301 wine_fn_config_makefile programs/icacls enable_icacls
20302 wine_fn_config_makefile programs/icinfo enable_icinfo
20303 wine_fn_config_makefile programs/iexplore enable_iexplore
20304 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20305 wine_fn_config_makefile programs/lodctr enable_lodctr
20306 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20307 wine_fn_config_makefile programs/mshta enable_mshta
20308 wine_fn_config_makefile programs/msiexec enable_msiexec
20309 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20310 wine_fn_config_makefile programs/net enable_net
20311 wine_fn_config_makefile programs/netsh enable_netsh
20312 wine_fn_config_makefile programs/netstat enable_netstat
20313 wine_fn_config_makefile programs/ngen enable_ngen
20314 wine_fn_config_makefile programs/notepad enable_notepad
20315 wine_fn_config_makefile programs/oleview enable_oleview
20316 wine_fn_config_makefile programs/ping enable_ping
20317 wine_fn_config_makefile programs/plugplay enable_plugplay
20318 wine_fn_config_makefile programs/powershell enable_powershell
20319 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20320 wine_fn_config_makefile programs/progman enable_progman
20321 wine_fn_config_makefile programs/reg enable_reg
20322 wine_fn_config_makefile programs/reg/tests enable_tests
20323 wine_fn_config_makefile programs/regasm enable_regasm
20324 wine_fn_config_makefile programs/regedit enable_regedit
20325 wine_fn_config_makefile programs/regedit/tests enable_tests
20326 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20327 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20328 wine_fn_config_makefile programs/rpcss enable_rpcss
20329 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20330 wine_fn_config_makefile programs/rundll32 enable_rundll32
20331 wine_fn_config_makefile programs/sc enable_sc
20332 wine_fn_config_makefile programs/schtasks enable_schtasks
20333 wine_fn_config_makefile programs/schtasks/tests enable_tests
20334 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20335 wine_fn_config_makefile programs/secedit enable_secedit
20336 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20337 wine_fn_config_makefile programs/services enable_services
20338 wine_fn_config_makefile programs/services/tests enable_tests
20339 wine_fn_config_makefile programs/shutdown enable_shutdown
20340 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20341 wine_fn_config_makefile programs/start enable_start
20342 wine_fn_config_makefile programs/subst enable_subst
20343 wine_fn_config_makefile programs/svchost enable_svchost
20344 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20345 wine_fn_config_makefile programs/taskkill enable_taskkill
20346 wine_fn_config_makefile programs/tasklist enable_tasklist
20347 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20348 wine_fn_config_makefile programs/termsv enable_termsv
20349 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20350 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20351 wine_fn_config_makefile programs/view enable_view
20352 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20353 wine_fn_config_makefile programs/wineboot enable_wineboot
20354 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20355 wine_fn_config_makefile programs/winecfg enable_winecfg
20356 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20357 wine_fn_config_makefile programs/winedbg enable_winedbg
20358 wine_fn_config_makefile programs/winedevice enable_winedevice
20359 wine_fn_config_makefile programs/winefile enable_winefile
20360 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20361 wine_fn_config_makefile programs/winemine enable_winemine
20362 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20363 wine_fn_config_makefile programs/winepath enable_winepath
20364 wine_fn_config_makefile programs/winetest enable_winetest
20365 wine_fn_config_makefile programs/winevdm enable_win16
20366 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20367 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20368 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20369 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20370 wine_fn_config_makefile programs/winver enable_winver
20371 wine_fn_config_makefile programs/wmic enable_wmic
20372 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20373 wine_fn_config_makefile programs/wordpad enable_wordpad
20374 wine_fn_config_makefile programs/write enable_write
20375 wine_fn_config_makefile programs/wscript enable_wscript
20376 wine_fn_config_makefile programs/wscript/tests enable_tests
20377 wine_fn_config_makefile programs/wusa enable_wusa
20378 wine_fn_config_makefile programs/xcopy enable_xcopy
20379 wine_fn_config_makefile programs/xcopy/tests enable_tests
20380 wine_fn_config_makefile server enable_server
20381 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20382 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20383 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20384 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20385 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20386 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20387 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20388 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20389 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20392 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20393 wine_fn_append_file CONFIGURE_TARGETS "tags"
20394 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20395 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20396 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20397 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20398 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20399 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20401 if test "x$enable_tools" != xno
20402 then
20403 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20404 ac_config_commands="$ac_config_commands tools/makedep"
20408 ac_config_commands="$ac_config_commands Makefile"
20411 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20415 if test "x$enable_maintainer_mode" = xyes
20416 then
20417 wine_fn_append_rule "configure: configure.ac aclocal.m4
20418 autoconf --warnings=all
20419 include/config.h.in: include/stamp-h.in
20420 include/stamp-h.in: configure.ac aclocal.m4
20421 autoheader --warnings=all
20422 @echo timestamp > \$@"
20425 if test "x$enable_tools" != xno
20426 then
20427 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20428 @./config.status tools/makedep
20429 Makefile: tools/makedep$ac_exeext
20430 fonts: tools/sfnt2fon
20431 include: tools tools/widl"
20432 else
20433 wine_fn_append_rule "\$(MAKEDEP):
20434 @echo \"You need to run make in $TOOLSDIR first\" && false"
20437 if test -n "$with_wine64"
20438 then
20439 case "$with_wine64" in
20440 /*) reldir="" ;;
20441 *) reldir="../" ;;
20442 esac
20443 rm -f fonts server 2>/dev/null
20444 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20445 loader/wine64 loader/wine64-preloader:
20446 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20447 $with_wine64/loader/wine:
20448 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20449 $with_wine64/loader/wine-preloader:
20450 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20451 clean::
20452 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20453 else
20454 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
20455 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
20456 fonts \
20457 loader/l_intl.nls \
20458 loader/wine.inf \
20459 programs/msiexec/msiexec \
20460 programs/notepad/notepad \
20461 programs/regedit/regedit \
20462 programs/regsvr32/regsvr32 \
20463 programs/wineboot/wineboot \
20464 programs/winecfg/winecfg \
20465 programs/wineconsole/wineconsole \
20466 programs/winedbg/winedbg \
20467 programs/winefile/winefile \
20468 programs/winemine/winemine \
20469 programs/winepath/winepath \
20470 server/wineserver"
20472 case $host_os in
20473 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20474 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
20475 esac
20478 $as_echo " done" >&6
20479 cat >confcache <<\_ACEOF
20480 # This file is a shell script that caches the results of configure
20481 # tests run on this system so they can be shared between configure
20482 # scripts and configure runs, see configure's option --config-cache.
20483 # It is not useful on other systems. If it contains results you don't
20484 # want to keep, you may remove or edit it.
20486 # config.status only pays attention to the cache file if you give it
20487 # the --recheck option to rerun configure.
20489 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20490 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20491 # following values.
20493 _ACEOF
20495 # The following way of writing the cache mishandles newlines in values,
20496 # but we know of no workaround that is simple, portable, and efficient.
20497 # So, we kill variables containing newlines.
20498 # Ultrix sh set writes to stderr and can't be redirected directly,
20499 # and sets the high bit in the cache file unless we assign to the vars.
20501 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20502 eval ac_val=\$$ac_var
20503 case $ac_val in #(
20504 *${as_nl}*)
20505 case $ac_var in #(
20506 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20507 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20508 esac
20509 case $ac_var in #(
20510 _ | IFS | as_nl) ;; #(
20511 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20512 *) { eval $ac_var=; unset $ac_var;} ;;
20513 esac ;;
20514 esac
20515 done
20517 (set) 2>&1 |
20518 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20519 *${as_nl}ac_space=\ *)
20520 # `set' does not quote correctly, so add quotes: double-quote
20521 # substitution turns \\\\ into \\, and sed turns \\ into \.
20522 sed -n \
20523 "s/'/'\\\\''/g;
20524 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20525 ;; #(
20527 # `set' quotes correctly as required by POSIX, so do not add quotes.
20528 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20530 esac |
20531 sort
20533 sed '
20534 /^ac_cv_env_/b end
20535 t clear
20536 :clear
20537 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20538 t end
20539 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20540 :end' >>confcache
20541 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20542 if test -w "$cache_file"; then
20543 if test "x$cache_file" != "x/dev/null"; then
20544 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20545 $as_echo "$as_me: updating cache $cache_file" >&6;}
20546 if test ! -f "$cache_file" || test -h "$cache_file"; then
20547 cat confcache >"$cache_file"
20548 else
20549 case $cache_file in #(
20550 */* | ?:*)
20551 mv -f confcache "$cache_file"$$ &&
20552 mv -f "$cache_file"$$ "$cache_file" ;; #(
20554 mv -f confcache "$cache_file" ;;
20555 esac
20558 else
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20560 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20563 rm -f confcache
20565 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20566 # Let make expand exec_prefix.
20567 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20569 DEFS=-DHAVE_CONFIG_H
20571 ac_libobjs=
20572 ac_ltlibobjs=
20574 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20575 # 1. Remove the extension, and $U if already installed.
20576 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20577 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20578 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20579 # will be set to the directory where LIBOBJS objects are built.
20580 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20581 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20582 done
20583 LIBOBJS=$ac_libobjs
20585 LTLIBOBJS=$ac_ltlibobjs
20589 : "${CONFIG_STATUS=./config.status}"
20590 ac_write_fail=0
20591 ac_clean_files_save=$ac_clean_files
20592 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20593 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20594 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20595 as_write_fail=0
20596 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20597 #! $SHELL
20598 # Generated by $as_me.
20599 # Run this file to recreate the current configuration.
20600 # Compiler output produced by configure, useful for debugging
20601 # configure, is in config.log if it exists.
20603 debug=false
20604 ac_cs_recheck=false
20605 ac_cs_silent=false
20607 SHELL=\${CONFIG_SHELL-$SHELL}
20608 export SHELL
20609 _ASEOF
20610 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20611 ## -------------------- ##
20612 ## M4sh Initialization. ##
20613 ## -------------------- ##
20615 # Be more Bourne compatible
20616 DUALCASE=1; export DUALCASE # for MKS sh
20617 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20618 emulate sh
20619 NULLCMD=:
20620 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20621 # is contrary to our usage. Disable this feature.
20622 alias -g '${1+"$@"}'='"$@"'
20623 setopt NO_GLOB_SUBST
20624 else
20625 case `(set -o) 2>/dev/null` in #(
20626 *posix*) :
20627 set -o posix ;; #(
20628 *) :
20630 esac
20634 as_nl='
20636 export as_nl
20637 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20638 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20639 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20640 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20641 # Prefer a ksh shell builtin over an external printf program on Solaris,
20642 # but without wasting forks for bash or zsh.
20643 if test -z "$BASH_VERSION$ZSH_VERSION" \
20644 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20645 as_echo='print -r --'
20646 as_echo_n='print -rn --'
20647 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20648 as_echo='printf %s\n'
20649 as_echo_n='printf %s'
20650 else
20651 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20652 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20653 as_echo_n='/usr/ucb/echo -n'
20654 else
20655 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20656 as_echo_n_body='eval
20657 arg=$1;
20658 case $arg in #(
20659 *"$as_nl"*)
20660 expr "X$arg" : "X\\(.*\\)$as_nl";
20661 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20662 esac;
20663 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20665 export as_echo_n_body
20666 as_echo_n='sh -c $as_echo_n_body as_echo'
20668 export as_echo_body
20669 as_echo='sh -c $as_echo_body as_echo'
20672 # The user is always right.
20673 if test "${PATH_SEPARATOR+set}" != set; then
20674 PATH_SEPARATOR=:
20675 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20676 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20677 PATH_SEPARATOR=';'
20682 # IFS
20683 # We need space, tab and new line, in precisely that order. Quoting is
20684 # there to prevent editors from complaining about space-tab.
20685 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20686 # splitting by setting IFS to empty value.)
20687 IFS=" "" $as_nl"
20689 # Find who we are. Look in the path if we contain no directory separator.
20690 as_myself=
20691 case $0 in #((
20692 *[\\/]* ) as_myself=$0 ;;
20693 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20694 for as_dir in $PATH
20696 IFS=$as_save_IFS
20697 test -z "$as_dir" && as_dir=.
20698 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20699 done
20700 IFS=$as_save_IFS
20703 esac
20704 # We did not find ourselves, most probably we were run as `sh COMMAND'
20705 # in which case we are not to be found in the path.
20706 if test "x$as_myself" = x; then
20707 as_myself=$0
20709 if test ! -f "$as_myself"; then
20710 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20711 exit 1
20714 # Unset variables that we do not need and which cause bugs (e.g. in
20715 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20716 # suppresses any "Segmentation fault" message there. '((' could
20717 # trigger a bug in pdksh 5.2.14.
20718 for as_var in BASH_ENV ENV MAIL MAILPATH
20719 do eval test x\${$as_var+set} = xset \
20720 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20721 done
20722 PS1='$ '
20723 PS2='> '
20724 PS4='+ '
20726 # NLS nuisances.
20727 LC_ALL=C
20728 export LC_ALL
20729 LANGUAGE=C
20730 export LANGUAGE
20732 # CDPATH.
20733 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20736 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20737 # ----------------------------------------
20738 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20739 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20740 # script with STATUS, using 1 if that was 0.
20741 as_fn_error ()
20743 as_status=$1; test $as_status -eq 0 && as_status=1
20744 if test "$4"; then
20745 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20746 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20748 $as_echo "$as_me: error: $2" >&2
20749 as_fn_exit $as_status
20750 } # as_fn_error
20753 # as_fn_set_status STATUS
20754 # -----------------------
20755 # Set $? to STATUS, without forking.
20756 as_fn_set_status ()
20758 return $1
20759 } # as_fn_set_status
20761 # as_fn_exit STATUS
20762 # -----------------
20763 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20764 as_fn_exit ()
20766 set +e
20767 as_fn_set_status $1
20768 exit $1
20769 } # as_fn_exit
20771 # as_fn_unset VAR
20772 # ---------------
20773 # Portably unset VAR.
20774 as_fn_unset ()
20776 { eval $1=; unset $1;}
20778 as_unset=as_fn_unset
20779 # as_fn_append VAR VALUE
20780 # ----------------------
20781 # Append the text in VALUE to the end of the definition contained in VAR. Take
20782 # advantage of any shell optimizations that allow amortized linear growth over
20783 # repeated appends, instead of the typical quadratic growth present in naive
20784 # implementations.
20785 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20786 eval 'as_fn_append ()
20788 eval $1+=\$2
20790 else
20791 as_fn_append ()
20793 eval $1=\$$1\$2
20795 fi # as_fn_append
20797 # as_fn_arith ARG...
20798 # ------------------
20799 # Perform arithmetic evaluation on the ARGs, and store the result in the
20800 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20801 # must be portable across $(()) and expr.
20802 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20803 eval 'as_fn_arith ()
20805 as_val=$(( $* ))
20807 else
20808 as_fn_arith ()
20810 as_val=`expr "$@" || test $? -eq 1`
20812 fi # as_fn_arith
20815 if expr a : '\(a\)' >/dev/null 2>&1 &&
20816 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20817 as_expr=expr
20818 else
20819 as_expr=false
20822 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20823 as_basename=basename
20824 else
20825 as_basename=false
20828 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20829 as_dirname=dirname
20830 else
20831 as_dirname=false
20834 as_me=`$as_basename -- "$0" ||
20835 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20836 X"$0" : 'X\(//\)$' \| \
20837 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20838 $as_echo X/"$0" |
20839 sed '/^.*\/\([^/][^/]*\)\/*$/{
20840 s//\1/
20843 /^X\/\(\/\/\)$/{
20844 s//\1/
20847 /^X\/\(\/\).*/{
20848 s//\1/
20851 s/.*/./; q'`
20853 # Avoid depending upon Character Ranges.
20854 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20855 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20856 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20857 as_cr_digits='0123456789'
20858 as_cr_alnum=$as_cr_Letters$as_cr_digits
20860 ECHO_C= ECHO_N= ECHO_T=
20861 case `echo -n x` in #(((((
20862 -n*)
20863 case `echo 'xy\c'` in
20864 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20865 xy) ECHO_C='\c';;
20866 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20867 ECHO_T=' ';;
20868 esac;;
20870 ECHO_N='-n';;
20871 esac
20873 rm -f conf$$ conf$$.exe conf$$.file
20874 if test -d conf$$.dir; then
20875 rm -f conf$$.dir/conf$$.file
20876 else
20877 rm -f conf$$.dir
20878 mkdir conf$$.dir 2>/dev/null
20880 if (echo >conf$$.file) 2>/dev/null; then
20881 if ln -s conf$$.file conf$$ 2>/dev/null; then
20882 as_ln_s='ln -s'
20883 # ... but there are two gotchas:
20884 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20885 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20886 # In both cases, we have to default to `cp -pR'.
20887 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20888 as_ln_s='cp -pR'
20889 elif ln conf$$.file conf$$ 2>/dev/null; then
20890 as_ln_s=ln
20891 else
20892 as_ln_s='cp -pR'
20894 else
20895 as_ln_s='cp -pR'
20897 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20898 rmdir conf$$.dir 2>/dev/null
20901 # as_fn_mkdir_p
20902 # -------------
20903 # Create "$as_dir" as a directory, including parents if necessary.
20904 as_fn_mkdir_p ()
20907 case $as_dir in #(
20908 -*) as_dir=./$as_dir;;
20909 esac
20910 test -d "$as_dir" || eval $as_mkdir_p || {
20911 as_dirs=
20912 while :; do
20913 case $as_dir in #(
20914 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20915 *) as_qdir=$as_dir;;
20916 esac
20917 as_dirs="'$as_qdir' $as_dirs"
20918 as_dir=`$as_dirname -- "$as_dir" ||
20919 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20920 X"$as_dir" : 'X\(//\)[^/]' \| \
20921 X"$as_dir" : 'X\(//\)$' \| \
20922 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20923 $as_echo X"$as_dir" |
20924 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20925 s//\1/
20928 /^X\(\/\/\)[^/].*/{
20929 s//\1/
20932 /^X\(\/\/\)$/{
20933 s//\1/
20936 /^X\(\/\).*/{
20937 s//\1/
20940 s/.*/./; q'`
20941 test -d "$as_dir" && break
20942 done
20943 test -z "$as_dirs" || eval "mkdir $as_dirs"
20944 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20947 } # as_fn_mkdir_p
20948 if mkdir -p . 2>/dev/null; then
20949 as_mkdir_p='mkdir -p "$as_dir"'
20950 else
20951 test -d ./-p && rmdir ./-p
20952 as_mkdir_p=false
20956 # as_fn_executable_p FILE
20957 # -----------------------
20958 # Test if FILE is an executable regular file.
20959 as_fn_executable_p ()
20961 test -f "$1" && test -x "$1"
20962 } # as_fn_executable_p
20963 as_test_x='test -x'
20964 as_executable_p=as_fn_executable_p
20966 # Sed expression to map a string onto a valid CPP name.
20967 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20969 # Sed expression to map a string onto a valid variable name.
20970 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20973 exec 6>&1
20974 ## ----------------------------------- ##
20975 ## Main body of $CONFIG_STATUS script. ##
20976 ## ----------------------------------- ##
20977 _ASEOF
20978 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20981 # Save the log message, to keep $0 and so on meaningful, and to
20982 # report actual input values of CONFIG_FILES etc. instead of their
20983 # values after options handling.
20984 ac_log="
20985 This file was extended by Wine $as_me 4.2, which was
20986 generated by GNU Autoconf 2.69. Invocation command line was
20988 CONFIG_FILES = $CONFIG_FILES
20989 CONFIG_HEADERS = $CONFIG_HEADERS
20990 CONFIG_LINKS = $CONFIG_LINKS
20991 CONFIG_COMMANDS = $CONFIG_COMMANDS
20992 $ $0 $@
20994 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20997 _ACEOF
20999 case $ac_config_files in *"
21000 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21001 esac
21003 case $ac_config_headers in *"
21004 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21005 esac
21008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21009 # Files that config.status was made for.
21010 config_files="$ac_config_files"
21011 config_headers="$ac_config_headers"
21012 config_links="$ac_config_links"
21013 config_commands="$ac_config_commands"
21015 _ACEOF
21017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21018 ac_cs_usage="\
21019 \`$as_me' instantiates files and other configuration actions
21020 from templates according to the current configuration. Unless the files
21021 and actions are specified as TAGs, all are instantiated by default.
21023 Usage: $0 [OPTION]... [TAG]...
21025 -h, --help print this help, then exit
21026 -V, --version print version number and configuration settings, then exit
21027 --config print configuration, then exit
21028 -q, --quiet, --silent
21029 do not print progress messages
21030 -d, --debug don't remove temporary files
21031 --recheck update $as_me by reconfiguring in the same conditions
21032 --file=FILE[:TEMPLATE]
21033 instantiate the configuration file FILE
21034 --header=FILE[:TEMPLATE]
21035 instantiate the configuration header FILE
21037 Configuration files:
21038 $config_files
21040 Configuration headers:
21041 $config_headers
21043 Configuration links:
21044 $config_links
21046 Configuration commands:
21047 $config_commands
21049 Report bugs to <wine-devel@winehq.org>.
21050 Wine home page: <https://www.winehq.org>."
21052 _ACEOF
21053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21054 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21055 ac_cs_version="\\
21056 Wine config.status 4.2
21057 configured by $0, generated by GNU Autoconf 2.69,
21058 with options \\"\$ac_cs_config\\"
21060 Copyright (C) 2012 Free Software Foundation, Inc.
21061 This config.status script is free software; the Free Software Foundation
21062 gives unlimited permission to copy, distribute and modify it."
21064 ac_pwd='$ac_pwd'
21065 srcdir='$srcdir'
21066 test -n "\$AWK" || AWK=awk
21067 _ACEOF
21069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21070 # The default lists apply if the user does not specify any file.
21071 ac_need_defaults=:
21072 while test $# != 0
21074 case $1 in
21075 --*=?*)
21076 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21077 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21078 ac_shift=:
21080 --*=)
21081 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21082 ac_optarg=
21083 ac_shift=:
21086 ac_option=$1
21087 ac_optarg=$2
21088 ac_shift=shift
21090 esac
21092 case $ac_option in
21093 # Handling of the options.
21094 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21095 ac_cs_recheck=: ;;
21096 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21097 $as_echo "$ac_cs_version"; exit ;;
21098 --config | --confi | --conf | --con | --co | --c )
21099 $as_echo "$ac_cs_config"; exit ;;
21100 --debug | --debu | --deb | --de | --d | -d )
21101 debug=: ;;
21102 --file | --fil | --fi | --f )
21103 $ac_shift
21104 case $ac_optarg in
21105 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21106 '') as_fn_error $? "missing file argument" ;;
21107 esac
21108 as_fn_append CONFIG_FILES " '$ac_optarg'"
21109 ac_need_defaults=false;;
21110 --header | --heade | --head | --hea )
21111 $ac_shift
21112 case $ac_optarg in
21113 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21114 esac
21115 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21116 ac_need_defaults=false;;
21117 --he | --h)
21118 # Conflict between --help and --header
21119 as_fn_error $? "ambiguous option: \`$1'
21120 Try \`$0 --help' for more information.";;
21121 --help | --hel | -h )
21122 $as_echo "$ac_cs_usage"; exit ;;
21123 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21124 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21125 ac_cs_silent=: ;;
21127 # This is an error.
21128 -*) as_fn_error $? "unrecognized option: \`$1'
21129 Try \`$0 --help' for more information." ;;
21131 *) as_fn_append ac_config_targets " $1"
21132 ac_need_defaults=false ;;
21134 esac
21135 shift
21136 done
21138 ac_configure_extra_args=
21140 if $ac_cs_silent; then
21141 exec 6>/dev/null
21142 ac_configure_extra_args="$ac_configure_extra_args --silent"
21145 _ACEOF
21146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21147 if \$ac_cs_recheck; then
21148 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21149 shift
21150 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21151 CONFIG_SHELL='$SHELL'
21152 export CONFIG_SHELL
21153 exec "\$@"
21156 _ACEOF
21157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21158 exec 5>>config.log
21160 echo
21161 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21162 ## Running $as_me. ##
21163 _ASBOX
21164 $as_echo "$ac_log"
21165 } >&5
21167 _ACEOF
21168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21170 # INIT-COMMANDS
21172 wine_fn_output_makedep ()
21174 as_dir=tools; as_fn_mkdir_p
21175 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21177 wine_fn_output_makefile ()
21179 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21180 `cat $wine_rules_file`
21181 _WINE_EOF
21182 as_fn_error $? "could not create Makefile" "$LINENO" 5
21185 _ACEOF
21187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21189 # Handling of arguments.
21190 for ac_config_target in $ac_config_targets
21192 case $ac_config_target in
21193 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21194 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21195 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21196 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21197 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21198 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21199 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21200 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21201 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21202 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21203 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21204 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21205 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21207 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21208 esac
21209 done
21212 # If the user did not use the arguments to specify the items to instantiate,
21213 # then the envvar interface is used. Set only those that are not.
21214 # We use the long form for the default assignment because of an extremely
21215 # bizarre bug on SunOS 4.1.3.
21216 if $ac_need_defaults; then
21217 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21218 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21219 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21220 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21223 # Have a temporary directory for convenience. Make it in the build tree
21224 # simply because there is no reason against having it here, and in addition,
21225 # creating and moving files from /tmp can sometimes cause problems.
21226 # Hook for its removal unless debugging.
21227 # Note that there is a small window in which the directory will not be cleaned:
21228 # after its creation but before its name has been assigned to `$tmp'.
21229 $debug ||
21231 tmp= ac_tmp=
21232 trap 'exit_status=$?
21233 : "${ac_tmp:=$tmp}"
21234 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21236 trap 'as_fn_exit 1' 1 2 13 15
21238 # Create a (secure) tmp directory for tmp files.
21241 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21242 test -d "$tmp"
21243 } ||
21245 tmp=./conf$$-$RANDOM
21246 (umask 077 && mkdir "$tmp")
21247 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21248 ac_tmp=$tmp
21250 # Set up the scripts for CONFIG_FILES section.
21251 # No need to generate them if there are no CONFIG_FILES.
21252 # This happens for instance with `./config.status config.h'.
21253 if test -n "$CONFIG_FILES"; then
21256 ac_cr=`echo X | tr X '\015'`
21257 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21258 # But we know of no other shell where ac_cr would be empty at this
21259 # point, so we can use a bashism as a fallback.
21260 if test "x$ac_cr" = x; then
21261 eval ac_cr=\$\'\\r\'
21263 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21264 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21265 ac_cs_awk_cr='\\r'
21266 else
21267 ac_cs_awk_cr=$ac_cr
21270 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21271 _ACEOF
21275 echo "cat >conf$$subs.awk <<_ACEOF" &&
21276 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21277 echo "_ACEOF"
21278 } >conf$$subs.sh ||
21279 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21280 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21281 ac_delim='%!_!# '
21282 for ac_last_try in false false false false false :; do
21283 . ./conf$$subs.sh ||
21284 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21286 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21287 if test $ac_delim_n = $ac_delim_num; then
21288 break
21289 elif $ac_last_try; then
21290 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21291 else
21292 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21294 done
21295 rm -f conf$$subs.sh
21297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21298 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21299 _ACEOF
21300 sed -n '
21302 s/^/S["/; s/!.*/"]=/
21305 s/^[^!]*!//
21306 :repl
21307 t repl
21308 s/'"$ac_delim"'$//
21309 t delim
21312 s/\(.\{148\}\)..*/\1/
21313 t more1
21314 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21317 b repl
21318 :more1
21319 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21322 s/.\{148\}//
21323 t nl
21324 :delim
21326 s/\(.\{148\}\)..*/\1/
21327 t more2
21328 s/["\\]/\\&/g; s/^/"/; s/$/"/
21331 :more2
21332 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21335 s/.\{148\}//
21336 t delim
21337 ' <conf$$subs.awk | sed '
21338 /^[^""]/{
21340 s/\n//
21342 ' >>$CONFIG_STATUS || ac_write_fail=1
21343 rm -f conf$$subs.awk
21344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21345 _ACAWK
21346 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21347 for (key in S) S_is_set[key] = 1
21348 FS = "\a"
21352 line = $ 0
21353 nfields = split(line, field, "@")
21354 substed = 0
21355 len = length(field[1])
21356 for (i = 2; i < nfields; i++) {
21357 key = field[i]
21358 keylen = length(key)
21359 if (S_is_set[key]) {
21360 value = S[key]
21361 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21362 len += length(value) + length(field[++i])
21363 substed = 1
21364 } else
21365 len += 1 + keylen
21368 print line
21371 _ACAWK
21372 _ACEOF
21373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21374 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21375 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21376 else
21378 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21379 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21380 _ACEOF
21382 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21383 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21384 # trailing colons and then remove the whole line if VPATH becomes empty
21385 # (actually we leave an empty line to preserve line numbers).
21386 if test "x$srcdir" = x.; then
21387 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21389 s///
21390 s/^/:/
21391 s/[ ]*$/:/
21392 s/:\$(srcdir):/:/g
21393 s/:\${srcdir}:/:/g
21394 s/:@srcdir@:/:/g
21395 s/^:*//
21396 s/:*$//
21398 s/\(=[ ]*\).*/\1/
21400 s/\n//
21401 s/^[^=]*=[ ]*$//
21405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21406 fi # test -n "$CONFIG_FILES"
21408 # Set up the scripts for CONFIG_HEADERS section.
21409 # No need to generate them if there are no CONFIG_HEADERS.
21410 # This happens for instance with `./config.status Makefile'.
21411 if test -n "$CONFIG_HEADERS"; then
21412 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21413 BEGIN {
21414 _ACEOF
21416 # Transform confdefs.h into an awk script `defines.awk', embedded as
21417 # here-document in config.status, that substitutes the proper values into
21418 # config.h.in to produce config.h.
21420 # Create a delimiter string that does not exist in confdefs.h, to ease
21421 # handling of long lines.
21422 ac_delim='%!_!# '
21423 for ac_last_try in false false :; do
21424 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21425 if test -z "$ac_tt"; then
21426 break
21427 elif $ac_last_try; then
21428 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21429 else
21430 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21432 done
21434 # For the awk script, D is an array of macro values keyed by name,
21435 # likewise P contains macro parameters if any. Preserve backslash
21436 # newline sequences.
21438 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21439 sed -n '
21440 s/.\{148\}/&'"$ac_delim"'/g
21441 t rset
21442 :rset
21443 s/^[ ]*#[ ]*define[ ][ ]*/ /
21444 t def
21446 :def
21447 s/\\$//
21448 t bsnl
21449 s/["\\]/\\&/g
21450 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21451 D["\1"]=" \3"/p
21452 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21454 :bsnl
21455 s/["\\]/\\&/g
21456 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21457 D["\1"]=" \3\\\\\\n"\\/p
21458 t cont
21459 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21460 t cont
21462 :cont
21464 s/.\{148\}/&'"$ac_delim"'/g
21465 t clear
21466 :clear
21467 s/\\$//
21468 t bsnlc
21469 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21471 :bsnlc
21472 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21473 b cont
21474 ' <confdefs.h | sed '
21475 s/'"$ac_delim"'/"\\\
21476 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21479 for (key in D) D_is_set[key] = 1
21480 FS = "\a"
21482 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21483 line = \$ 0
21484 split(line, arg, " ")
21485 if (arg[1] == "#") {
21486 defundef = arg[2]
21487 mac1 = arg[3]
21488 } else {
21489 defundef = substr(arg[1], 2)
21490 mac1 = arg[2]
21492 split(mac1, mac2, "(") #)
21493 macro = mac2[1]
21494 prefix = substr(line, 1, index(line, defundef) - 1)
21495 if (D_is_set[macro]) {
21496 # Preserve the white space surrounding the "#".
21497 print prefix "define", macro P[macro] D[macro]
21498 next
21499 } else {
21500 # Replace #undef with comments. This is necessary, for example,
21501 # in the case of _POSIX_SOURCE, which is predefined and required
21502 # on some systems where configure will not decide to define it.
21503 if (defundef == "undef") {
21504 print "/*", prefix defundef, macro, "*/"
21505 next
21509 { print }
21510 _ACAWK
21511 _ACEOF
21512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21513 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21514 fi # test -n "$CONFIG_HEADERS"
21517 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21518 shift
21519 for ac_tag
21521 case $ac_tag in
21522 :[FHLC]) ac_mode=$ac_tag; continue;;
21523 esac
21524 case $ac_mode$ac_tag in
21525 :[FHL]*:*);;
21526 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21527 :[FH]-) ac_tag=-:-;;
21528 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21529 esac
21530 ac_save_IFS=$IFS
21531 IFS=:
21532 set x $ac_tag
21533 IFS=$ac_save_IFS
21534 shift
21535 ac_file=$1
21536 shift
21538 case $ac_mode in
21539 :L) ac_source=$1;;
21540 :[FH])
21541 ac_file_inputs=
21542 for ac_f
21544 case $ac_f in
21545 -) ac_f="$ac_tmp/stdin";;
21546 *) # Look for the file first in the build tree, then in the source tree
21547 # (if the path is not absolute). The absolute path cannot be DOS-style,
21548 # because $ac_f cannot contain `:'.
21549 test -f "$ac_f" ||
21550 case $ac_f in
21551 [\\/$]*) false;;
21552 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21553 esac ||
21554 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21555 esac
21556 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21557 as_fn_append ac_file_inputs " '$ac_f'"
21558 done
21560 # Let's still pretend it is `configure' which instantiates (i.e., don't
21561 # use $as_me), people would be surprised to read:
21562 # /* config.h. Generated by config.status. */
21563 configure_input='Generated from '`
21564 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21565 `' by configure.'
21566 if test x"$ac_file" != x-; then
21567 configure_input="$ac_file. $configure_input"
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21569 $as_echo "$as_me: creating $ac_file" >&6;}
21571 # Neutralize special characters interpreted by sed in replacement strings.
21572 case $configure_input in #(
21573 *\&* | *\|* | *\\* )
21574 ac_sed_conf_input=`$as_echo "$configure_input" |
21575 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21576 *) ac_sed_conf_input=$configure_input;;
21577 esac
21579 case $ac_tag in
21580 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21581 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21582 esac
21584 esac
21586 ac_dir=`$as_dirname -- "$ac_file" ||
21587 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21588 X"$ac_file" : 'X\(//\)[^/]' \| \
21589 X"$ac_file" : 'X\(//\)$' \| \
21590 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21591 $as_echo X"$ac_file" |
21592 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21593 s//\1/
21596 /^X\(\/\/\)[^/].*/{
21597 s//\1/
21600 /^X\(\/\/\)$/{
21601 s//\1/
21604 /^X\(\/\).*/{
21605 s//\1/
21608 s/.*/./; q'`
21609 as_dir="$ac_dir"; as_fn_mkdir_p
21610 ac_builddir=.
21612 case "$ac_dir" in
21613 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21615 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21616 # A ".." for each directory in $ac_dir_suffix.
21617 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21618 case $ac_top_builddir_sub in
21619 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21620 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21621 esac ;;
21622 esac
21623 ac_abs_top_builddir=$ac_pwd
21624 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21625 # for backward compatibility:
21626 ac_top_builddir=$ac_top_build_prefix
21628 case $srcdir in
21629 .) # We are building in place.
21630 ac_srcdir=.
21631 ac_top_srcdir=$ac_top_builddir_sub
21632 ac_abs_top_srcdir=$ac_pwd ;;
21633 [\\/]* | ?:[\\/]* ) # Absolute name.
21634 ac_srcdir=$srcdir$ac_dir_suffix;
21635 ac_top_srcdir=$srcdir
21636 ac_abs_top_srcdir=$srcdir ;;
21637 *) # Relative name.
21638 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21639 ac_top_srcdir=$ac_top_build_prefix$srcdir
21640 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21641 esac
21642 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21645 case $ac_mode in
21648 # CONFIG_FILE
21651 _ACEOF
21653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21654 # If the template does not know about datarootdir, expand it.
21655 # FIXME: This hack should be removed a few years after 2.60.
21656 ac_datarootdir_hack=; ac_datarootdir_seen=
21657 ac_sed_dataroot='
21658 /datarootdir/ {
21662 /@datadir@/p
21663 /@docdir@/p
21664 /@infodir@/p
21665 /@localedir@/p
21666 /@mandir@/p'
21667 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21668 *datarootdir*) ac_datarootdir_seen=yes;;
21669 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21671 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21672 _ACEOF
21673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21674 ac_datarootdir_hack='
21675 s&@datadir@&$datadir&g
21676 s&@docdir@&$docdir&g
21677 s&@infodir@&$infodir&g
21678 s&@localedir@&$localedir&g
21679 s&@mandir@&$mandir&g
21680 s&\\\${datarootdir}&$datarootdir&g' ;;
21681 esac
21682 _ACEOF
21684 # Neutralize VPATH when `$srcdir' = `.'.
21685 # Shell code in configure.ac might set extrasub.
21686 # FIXME: do we really want to maintain this feature?
21687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21688 ac_sed_extra="$ac_vpsub
21689 $extrasub
21690 _ACEOF
21691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21693 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21694 s|@configure_input@|$ac_sed_conf_input|;t t
21695 s&@top_builddir@&$ac_top_builddir_sub&;t t
21696 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21697 s&@srcdir@&$ac_srcdir&;t t
21698 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21699 s&@top_srcdir@&$ac_top_srcdir&;t t
21700 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21701 s&@builddir@&$ac_builddir&;t t
21702 s&@abs_builddir@&$ac_abs_builddir&;t t
21703 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21704 $ac_datarootdir_hack
21706 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21707 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21709 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21710 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21711 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21712 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21714 which seems to be undefined. Please make sure it is defined" >&5
21715 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21716 which seems to be undefined. Please make sure it is defined" >&2;}
21718 rm -f "$ac_tmp/stdin"
21719 case $ac_file in
21720 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21721 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21722 esac \
21723 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21727 # CONFIG_HEADER
21729 if test x"$ac_file" != x-; then
21731 $as_echo "/* $configure_input */" \
21732 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21733 } >"$ac_tmp/config.h" \
21734 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21735 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21736 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21737 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21738 else
21739 rm -f "$ac_file"
21740 mv "$ac_tmp/config.h" "$ac_file" \
21741 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21743 else
21744 $as_echo "/* $configure_input */" \
21745 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21746 || as_fn_error $? "could not create -" "$LINENO" 5
21751 # CONFIG_LINK
21754 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21756 else
21757 # Prefer the file from the source tree if names are identical.
21758 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21759 ac_source=$srcdir/$ac_source
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21763 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21765 if test ! -r "$ac_source"; then
21766 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21768 rm -f "$ac_file"
21770 # Try a relative symlink, then a hard link, then a copy.
21771 case $ac_source in
21772 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21773 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21774 esac
21775 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21776 ln "$ac_source" "$ac_file" 2>/dev/null ||
21777 cp -p "$ac_source" "$ac_file" ||
21778 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21781 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21782 $as_echo "$as_me: executing $ac_file commands" >&6;}
21784 esac
21787 case $ac_file$ac_mode in
21788 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21789 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21790 "Makefile":C) wine_fn_output_makefile Makefile ;;
21792 esac
21793 done # for ac_tag
21796 as_fn_exit 0
21797 _ACEOF
21798 ac_clean_files=$ac_clean_files_save
21800 test $ac_write_fail = 0 ||
21801 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21804 # configure is writing to config.log, and then calls config.status.
21805 # config.status does its own redirection, appending to config.log.
21806 # Unfortunately, on DOS this fails, as config.log is still kept open
21807 # by configure, so config.status won't be able to write to it; its
21808 # output is simply discarded. So we exec the FD to /dev/null,
21809 # effectively closing config.log, so it can be properly (re)opened and
21810 # appended to by config.status. When coming back to configure, we
21811 # need to make the FD available again.
21812 if test "$no_create" != yes; then
21813 ac_cs_success=:
21814 ac_config_status_args=
21815 test "$silent" = yes &&
21816 ac_config_status_args="$ac_config_status_args --quiet"
21817 exec 5>/dev/null
21818 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21819 exec 5>>config.log
21820 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21821 # would make configure fail if this is the last instruction.
21822 $ac_cs_success || as_fn_exit 1
21824 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21826 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21830 if test "$no_create" = "yes"
21831 then
21832 exit 0
21835 ac_save_IFS="$IFS"
21836 if test "x$wine_notices" != x; then
21837 echo >&6
21838 IFS="|"
21839 for msg in $wine_notices; do
21840 IFS="$ac_save_IFS"
21841 if ${msg:+false} :; then :
21843 else
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21845 $as_echo "$as_me: $msg" >&6;}
21847 done
21849 IFS="|"
21850 for msg in $wine_warnings; do
21851 IFS="$ac_save_IFS"
21852 if ${msg:+false} :; then :
21854 else
21855 echo >&2
21856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21857 $as_echo "$as_me: WARNING: $msg" >&2;}
21859 done
21860 IFS="$ac_save_IFS"
21862 $as_echo "
21863 $as_me: Finished. Do '${ac_make}' to compile Wine.
21864 " >&6