msi: Add support for exporting binary streams (Binary/Icon tables).
[wine.git] / configure
blob4597eae4d11b2f5256a584c2f6de4963f71e0342
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.3.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='4.3'
584 PACKAGE_STRING='Wine 4.3'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 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_amsi
903 enable_amstream
904 enable_api_ms_win_appmodel_identity_l1_1_0
905 enable_api_ms_win_appmodel_runtime_l1_1_1
906 enable_api_ms_win_appmodel_runtime_l1_1_2
907 enable_api_ms_win_core_apiquery_l1_1_0
908 enable_api_ms_win_core_appcompat_l1_1_1
909 enable_api_ms_win_core_appinit_l1_1_0
910 enable_api_ms_win_core_atoms_l1_1_0
911 enable_api_ms_win_core_bem_l1_1_0
912 enable_api_ms_win_core_com_l1_1_0
913 enable_api_ms_win_core_com_l1_1_1
914 enable_api_ms_win_core_com_private_l1_1_0
915 enable_api_ms_win_core_comm_l1_1_0
916 enable_api_ms_win_core_console_l1_1_0
917 enable_api_ms_win_core_console_l2_1_0
918 enable_api_ms_win_core_crt_l1_1_0
919 enable_api_ms_win_core_crt_l2_1_0
920 enable_api_ms_win_core_datetime_l1_1_0
921 enable_api_ms_win_core_datetime_l1_1_1
922 enable_api_ms_win_core_debug_l1_1_0
923 enable_api_ms_win_core_debug_l1_1_1
924 enable_api_ms_win_core_delayload_l1_1_0
925 enable_api_ms_win_core_delayload_l1_1_1
926 enable_api_ms_win_core_errorhandling_l1_1_0
927 enable_api_ms_win_core_errorhandling_l1_1_1
928 enable_api_ms_win_core_errorhandling_l1_1_2
929 enable_api_ms_win_core_errorhandling_l1_1_3
930 enable_api_ms_win_core_fibers_l1_1_0
931 enable_api_ms_win_core_fibers_l1_1_1
932 enable_api_ms_win_core_file_l1_1_0
933 enable_api_ms_win_core_file_l1_2_0
934 enable_api_ms_win_core_file_l1_2_1
935 enable_api_ms_win_core_file_l1_2_2
936 enable_api_ms_win_core_file_l2_1_0
937 enable_api_ms_win_core_file_l2_1_1
938 enable_api_ms_win_core_file_l2_1_2
939 enable_api_ms_win_core_handle_l1_1_0
940 enable_api_ms_win_core_heap_l1_1_0
941 enable_api_ms_win_core_heap_l1_2_0
942 enable_api_ms_win_core_heap_l2_1_0
943 enable_api_ms_win_core_heap_obsolete_l1_1_0
944 enable_api_ms_win_core_interlocked_l1_1_0
945 enable_api_ms_win_core_interlocked_l1_2_0
946 enable_api_ms_win_core_io_l1_1_0
947 enable_api_ms_win_core_io_l1_1_1
948 enable_api_ms_win_core_job_l1_1_0
949 enable_api_ms_win_core_job_l2_1_0
950 enable_api_ms_win_core_kernel32_legacy_l1_1_0
951 enable_api_ms_win_core_kernel32_legacy_l1_1_1
952 enable_api_ms_win_core_kernel32_private_l1_1_1
953 enable_api_ms_win_core_largeinteger_l1_1_0
954 enable_api_ms_win_core_libraryloader_l1_1_0
955 enable_api_ms_win_core_libraryloader_l1_1_1
956 enable_api_ms_win_core_libraryloader_l1_2_0
957 enable_api_ms_win_core_libraryloader_l1_2_1
958 enable_api_ms_win_core_libraryloader_l1_2_2
959 enable_api_ms_win_core_localization_l1_1_0
960 enable_api_ms_win_core_localization_l1_2_0
961 enable_api_ms_win_core_localization_l1_2_1
962 enable_api_ms_win_core_localization_l2_1_0
963 enable_api_ms_win_core_localization_obsolete_l1_1_0
964 enable_api_ms_win_core_localization_obsolete_l1_2_0
965 enable_api_ms_win_core_localization_obsolete_l1_3_0
966 enable_api_ms_win_core_localization_private_l1_1_0
967 enable_api_ms_win_core_localregistry_l1_1_0
968 enable_api_ms_win_core_memory_l1_1_0
969 enable_api_ms_win_core_memory_l1_1_1
970 enable_api_ms_win_core_memory_l1_1_2
971 enable_api_ms_win_core_misc_l1_1_0
972 enable_api_ms_win_core_namedpipe_l1_1_0
973 enable_api_ms_win_core_namedpipe_l1_2_0
974 enable_api_ms_win_core_namespace_l1_1_0
975 enable_api_ms_win_core_normalization_l1_1_0
976 enable_api_ms_win_core_path_l1_1_0
977 enable_api_ms_win_core_privateprofile_l1_1_1
978 enable_api_ms_win_core_processenvironment_l1_1_0
979 enable_api_ms_win_core_processenvironment_l1_2_0
980 enable_api_ms_win_core_processthreads_l1_1_0
981 enable_api_ms_win_core_processthreads_l1_1_1
982 enable_api_ms_win_core_processthreads_l1_1_2
983 enable_api_ms_win_core_processthreads_l1_1_3
984 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
985 enable_api_ms_win_core_profile_l1_1_0
986 enable_api_ms_win_core_psapi_ansi_l1_1_0
987 enable_api_ms_win_core_psapi_l1_1_0
988 enable_api_ms_win_core_psapi_obsolete_l1_1_0
989 enable_api_ms_win_core_quirks_l1_1_0
990 enable_api_ms_win_core_realtime_l1_1_0
991 enable_api_ms_win_core_registry_l1_1_0
992 enable_api_ms_win_core_registry_l2_1_0
993 enable_api_ms_win_core_registryuserspecific_l1_1_0
994 enable_api_ms_win_core_rtlsupport_l1_1_0
995 enable_api_ms_win_core_rtlsupport_l1_2_0
996 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
997 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
998 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
999 enable_api_ms_win_core_shutdown_l1_1_0
1000 enable_api_ms_win_core_sidebyside_l1_1_0
1001 enable_api_ms_win_core_string_l1_1_0
1002 enable_api_ms_win_core_string_l2_1_0
1003 enable_api_ms_win_core_string_obsolete_l1_1_0
1004 enable_api_ms_win_core_stringansi_l1_1_0
1005 enable_api_ms_win_core_stringloader_l1_1_1
1006 enable_api_ms_win_core_synch_ansi_l1_1_0
1007 enable_api_ms_win_core_synch_l1_1_0
1008 enable_api_ms_win_core_synch_l1_2_0
1009 enable_api_ms_win_core_synch_l1_2_1
1010 enable_api_ms_win_core_sysinfo_l1_1_0
1011 enable_api_ms_win_core_sysinfo_l1_2_0
1012 enable_api_ms_win_core_sysinfo_l1_2_1
1013 enable_api_ms_win_core_threadpool_l1_1_0
1014 enable_api_ms_win_core_threadpool_l1_2_0
1015 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1016 enable_api_ms_win_core_threadpool_private_l1_1_0
1017 enable_api_ms_win_core_timezone_l1_1_0
1018 enable_api_ms_win_core_toolhelp_l1_1_0
1019 enable_api_ms_win_core_url_l1_1_0
1020 enable_api_ms_win_core_util_l1_1_0
1021 enable_api_ms_win_core_version_l1_1_0
1022 enable_api_ms_win_core_version_l1_1_1
1023 enable_api_ms_win_core_version_private_l1_1_0
1024 enable_api_ms_win_core_versionansi_l1_1_0
1025 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1026 enable_api_ms_win_core_winrt_error_l1_1_0
1027 enable_api_ms_win_core_winrt_error_l1_1_1
1028 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1029 enable_api_ms_win_core_winrt_l1_1_0
1030 enable_api_ms_win_core_winrt_registration_l1_1_0
1031 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1032 enable_api_ms_win_core_winrt_string_l1_1_0
1033 enable_api_ms_win_core_winrt_string_l1_1_1
1034 enable_api_ms_win_core_wow64_l1_1_0
1035 enable_api_ms_win_core_wow64_l1_1_1
1036 enable_api_ms_win_core_xstate_l1_1_0
1037 enable_api_ms_win_core_xstate_l2_1_0
1038 enable_api_ms_win_crt_conio_l1_1_0
1039 enable_api_ms_win_crt_convert_l1_1_0
1040 enable_api_ms_win_crt_environment_l1_1_0
1041 enable_api_ms_win_crt_filesystem_l1_1_0
1042 enable_api_ms_win_crt_heap_l1_1_0
1043 enable_api_ms_win_crt_locale_l1_1_0
1044 enable_api_ms_win_crt_math_l1_1_0
1045 enable_api_ms_win_crt_multibyte_l1_1_0
1046 enable_api_ms_win_crt_private_l1_1_0
1047 enable_api_ms_win_crt_process_l1_1_0
1048 enable_api_ms_win_crt_runtime_l1_1_0
1049 enable_api_ms_win_crt_stdio_l1_1_0
1050 enable_api_ms_win_crt_string_l1_1_0
1051 enable_api_ms_win_crt_time_l1_1_0
1052 enable_api_ms_win_crt_utility_l1_1_0
1053 enable_api_ms_win_devices_config_l1_1_0
1054 enable_api_ms_win_devices_config_l1_1_1
1055 enable_api_ms_win_devices_query_l1_1_1
1056 enable_api_ms_win_downlevel_advapi32_l1_1_0
1057 enable_api_ms_win_downlevel_advapi32_l2_1_0
1058 enable_api_ms_win_downlevel_normaliz_l1_1_0
1059 enable_api_ms_win_downlevel_ole32_l1_1_0
1060 enable_api_ms_win_downlevel_shell32_l1_1_0
1061 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1062 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1063 enable_api_ms_win_downlevel_user32_l1_1_0
1064 enable_api_ms_win_downlevel_version_l1_1_0
1065 enable_api_ms_win_dx_d3dkmt_l1_1_0
1066 enable_api_ms_win_eventing_classicprovider_l1_1_0
1067 enable_api_ms_win_eventing_consumer_l1_1_0
1068 enable_api_ms_win_eventing_controller_l1_1_0
1069 enable_api_ms_win_eventing_legacy_l1_1_0
1070 enable_api_ms_win_eventing_provider_l1_1_0
1071 enable_api_ms_win_eventlog_legacy_l1_1_0
1072 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1073 enable_api_ms_win_mm_joystick_l1_1_0
1074 enable_api_ms_win_mm_misc_l1_1_1
1075 enable_api_ms_win_mm_mme_l1_1_0
1076 enable_api_ms_win_mm_time_l1_1_0
1077 enable_api_ms_win_ntuser_dc_access_l1_1_0
1078 enable_api_ms_win_ntuser_rectangle_l1_1_0
1079 enable_api_ms_win_ntuser_sysparams_l1_1_0
1080 enable_api_ms_win_perf_legacy_l1_1_0
1081 enable_api_ms_win_power_base_l1_1_0
1082 enable_api_ms_win_power_setting_l1_1_0
1083 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1084 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1085 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1086 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1087 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1088 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1089 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1090 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1091 enable_api_ms_win_security_audit_l1_1_1
1092 enable_api_ms_win_security_base_l1_1_0
1093 enable_api_ms_win_security_base_l1_2_0
1094 enable_api_ms_win_security_base_private_l1_1_1
1095 enable_api_ms_win_security_credentials_l1_1_0
1096 enable_api_ms_win_security_cryptoapi_l1_1_0
1097 enable_api_ms_win_security_grouppolicy_l1_1_0
1098 enable_api_ms_win_security_lsalookup_l1_1_0
1099 enable_api_ms_win_security_lsalookup_l1_1_1
1100 enable_api_ms_win_security_lsalookup_l2_1_0
1101 enable_api_ms_win_security_lsalookup_l2_1_1
1102 enable_api_ms_win_security_lsapolicy_l1_1_0
1103 enable_api_ms_win_security_provider_l1_1_0
1104 enable_api_ms_win_security_sddl_l1_1_0
1105 enable_api_ms_win_security_systemfunctions_l1_1_0
1106 enable_api_ms_win_service_core_l1_1_0
1107 enable_api_ms_win_service_core_l1_1_1
1108 enable_api_ms_win_service_management_l1_1_0
1109 enable_api_ms_win_service_management_l2_1_0
1110 enable_api_ms_win_service_private_l1_1_1
1111 enable_api_ms_win_service_winsvc_l1_1_0
1112 enable_api_ms_win_service_winsvc_l1_2_0
1113 enable_api_ms_win_shcore_obsolete_l1_1_0
1114 enable_api_ms_win_shcore_scaling_l1_1_1
1115 enable_api_ms_win_shcore_stream_l1_1_0
1116 enable_api_ms_win_shcore_thread_l1_1_0
1117 enable_api_ms_win_shell_shellcom_l1_1_0
1118 enable_api_ms_win_shell_shellfolders_l1_1_0
1119 enable_apphelp
1120 enable_appwiz_cpl
1121 enable_atl
1122 enable_atl100
1123 enable_atl110
1124 enable_atl80
1125 enable_atl90
1126 enable_atlthunk
1127 enable_atmlib
1128 enable_authz
1129 enable_avicap32
1130 enable_avifil32
1131 enable_avrt
1132 enable_bcrypt
1133 enable_bluetoothapis
1134 enable_browseui
1135 enable_bthprops_cpl
1136 enable_cabinet
1137 enable_capi2032
1138 enable_cards
1139 enable_cdosys
1140 enable_cfgmgr32
1141 enable_clusapi
1142 enable_combase
1143 enable_comcat
1144 enable_comctl32
1145 enable_comdlg32
1146 enable_compstui
1147 enable_comsvcs
1148 enable_concrt140
1149 enable_connect
1150 enable_credui
1151 enable_crtdll
1152 enable_crypt32
1153 enable_cryptdlg
1154 enable_cryptdll
1155 enable_cryptext
1156 enable_cryptnet
1157 enable_cryptui
1158 enable_ctapi32
1159 enable_ctl3d32
1160 enable_d2d1
1161 enable_d3d10
1162 enable_d3d10_1
1163 enable_d3d10core
1164 enable_d3d11
1165 enable_d3d12
1166 enable_d3d8
1167 enable_d3d9
1168 enable_d3dcompiler_33
1169 enable_d3dcompiler_34
1170 enable_d3dcompiler_35
1171 enable_d3dcompiler_36
1172 enable_d3dcompiler_37
1173 enable_d3dcompiler_38
1174 enable_d3dcompiler_39
1175 enable_d3dcompiler_40
1176 enable_d3dcompiler_41
1177 enable_d3dcompiler_42
1178 enable_d3dcompiler_43
1179 enable_d3dcompiler_46
1180 enable_d3dcompiler_47
1181 enable_d3dim
1182 enable_d3drm
1183 enable_d3dx10_33
1184 enable_d3dx10_34
1185 enable_d3dx10_35
1186 enable_d3dx10_36
1187 enable_d3dx10_37
1188 enable_d3dx10_38
1189 enable_d3dx10_39
1190 enable_d3dx10_40
1191 enable_d3dx10_41
1192 enable_d3dx10_42
1193 enable_d3dx10_43
1194 enable_d3dx11_42
1195 enable_d3dx11_43
1196 enable_d3dx9_24
1197 enable_d3dx9_25
1198 enable_d3dx9_26
1199 enable_d3dx9_27
1200 enable_d3dx9_28
1201 enable_d3dx9_29
1202 enable_d3dx9_30
1203 enable_d3dx9_31
1204 enable_d3dx9_32
1205 enable_d3dx9_33
1206 enable_d3dx9_34
1207 enable_d3dx9_35
1208 enable_d3dx9_36
1209 enable_d3dx9_37
1210 enable_d3dx9_38
1211 enable_d3dx9_39
1212 enable_d3dx9_40
1213 enable_d3dx9_41
1214 enable_d3dx9_42
1215 enable_d3dx9_43
1216 enable_d3dxof
1217 enable_davclnt
1218 enable_dbgeng
1219 enable_dbghelp
1220 enable_dciman32
1221 enable_ddraw
1222 enable_ddrawex
1223 enable_devenum
1224 enable_dhcpcsvc
1225 enable_dhtmled_ocx
1226 enable_difxapi
1227 enable_dinput
1228 enable_dinput8
1229 enable_dispex
1230 enable_dmband
1231 enable_dmcompos
1232 enable_dmime
1233 enable_dmloader
1234 enable_dmoguids
1235 enable_dmscript
1236 enable_dmstyle
1237 enable_dmsynth
1238 enable_dmusic
1239 enable_dmusic32
1240 enable_dnsapi
1241 enable_dplay
1242 enable_dplayx
1243 enable_dpnaddr
1244 enable_dpnet
1245 enable_dpnhpast
1246 enable_dpnlobby
1247 enable_dpvoice
1248 enable_dpwsockx
1249 enable_drmclien
1250 enable_dsound
1251 enable_dsquery
1252 enable_dssenh
1253 enable_dswave
1254 enable_dwmapi
1255 enable_dwrite
1256 enable_dx8vb
1257 enable_dxdiagn
1258 enable_dxerr8
1259 enable_dxerr9
1260 enable_dxgi
1261 enable_dxguid
1262 enable_dxva2
1263 enable_esent
1264 enable_evr
1265 enable_explorerframe
1266 enable_ext_ms_win_authz_context_l1_1_0
1267 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1268 enable_ext_ms_win_dwmapi_ext_l1_1_0
1269 enable_ext_ms_win_gdi_dc_create_l1_1_0
1270 enable_ext_ms_win_gdi_dc_create_l1_1_1
1271 enable_ext_ms_win_gdi_dc_l1_2_0
1272 enable_ext_ms_win_gdi_devcaps_l1_1_0
1273 enable_ext_ms_win_gdi_draw_l1_1_0
1274 enable_ext_ms_win_gdi_draw_l1_1_1
1275 enable_ext_ms_win_gdi_font_l1_1_0
1276 enable_ext_ms_win_gdi_font_l1_1_1
1277 enable_ext_ms_win_gdi_render_l1_1_0
1278 enable_ext_ms_win_kernel32_package_current_l1_1_0
1279 enable_ext_ms_win_kernel32_package_l1_1_1
1280 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1281 enable_ext_ms_win_ntuser_draw_l1_1_0
1282 enable_ext_ms_win_ntuser_gui_l1_1_0
1283 enable_ext_ms_win_ntuser_gui_l1_3_0
1284 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1285 enable_ext_ms_win_ntuser_message_l1_1_0
1286 enable_ext_ms_win_ntuser_message_l1_1_1
1287 enable_ext_ms_win_ntuser_misc_l1_1_0
1288 enable_ext_ms_win_ntuser_misc_l1_2_0
1289 enable_ext_ms_win_ntuser_misc_l1_5_1
1290 enable_ext_ms_win_ntuser_mouse_l1_1_0
1291 enable_ext_ms_win_ntuser_private_l1_1_1
1292 enable_ext_ms_win_ntuser_private_l1_3_1
1293 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1294 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1295 enable_ext_ms_win_ntuser_window_l1_1_0
1296 enable_ext_ms_win_ntuser_window_l1_1_1
1297 enable_ext_ms_win_ntuser_window_l1_1_4
1298 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1299 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1300 enable_ext_ms_win_oleacc_l1_1_0
1301 enable_ext_ms_win_ras_rasapi32_l1_1_0
1302 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1303 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1304 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1305 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1306 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1307 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1308 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1309 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1310 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1311 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1312 enable_ext_ms_win_security_credui_l1_1_0
1313 enable_ext_ms_win_security_cryptui_l1_1_0
1314 enable_ext_ms_win_uxtheme_themes_l1_1_0
1315 enable_faultrep
1316 enable_feclient
1317 enable_fltlib
1318 enable_fltmgr_sys
1319 enable_fntcache
1320 enable_fontsub
1321 enable_fusion
1322 enable_fwpuclnt
1323 enable_gameux
1324 enable_gdi32
1325 enable_gdiplus
1326 enable_glu32
1327 enable_gphoto2_ds
1328 enable_gpkcsp
1329 enable_hal
1330 enable_hhctrl_ocx
1331 enable_hid
1332 enable_hidclass_sys
1333 enable_hlink
1334 enable_hnetcfg
1335 enable_httpapi
1336 enable_iccvid
1337 enable_icmp
1338 enable_ieframe
1339 enable_ieproxy
1340 enable_imaadp32_acm
1341 enable_imagehlp
1342 enable_imm32
1343 enable_inetcomm
1344 enable_inetcpl_cpl
1345 enable_inetmib1
1346 enable_infosoft
1347 enable_initpki
1348 enable_inkobj
1349 enable_inseng
1350 enable_iphlpapi
1351 enable_iprop
1352 enable_irprops_cpl
1353 enable_itircl
1354 enable_itss
1355 enable_joy_cpl
1356 enable_jscript
1357 enable_jsproxy
1358 enable_kerberos
1359 enable_kernel32
1360 enable_kernelbase
1361 enable_ksuser
1362 enable_ktmw32
1363 enable_l3codeca_acm
1364 enable_loadperf
1365 enable_localspl
1366 enable_localui
1367 enable_lz32
1368 enable_mapi32
1369 enable_mapistub
1370 enable_mciavi32
1371 enable_mcicda
1372 enable_mciqtz32
1373 enable_mciseq
1374 enable_mciwave
1375 enable_mf
1376 enable_mf3216
1377 enable_mfplat
1378 enable_mfplay
1379 enable_mfreadwrite
1380 enable_mfuuid
1381 enable_mgmtapi
1382 enable_midimap
1383 enable_mlang
1384 enable_mmcndmgr
1385 enable_mmdevapi
1386 enable_mountmgr_sys
1387 enable_mp3dmod
1388 enable_mpr
1389 enable_mprapi
1390 enable_msacm32_drv
1391 enable_msacm32
1392 enable_msadp32_acm
1393 enable_msasn1
1394 enable_mscat32
1395 enable_mscms
1396 enable_mscoree
1397 enable_msctf
1398 enable_msctfp
1399 enable_msdaps
1400 enable_msdelta
1401 enable_msdmo
1402 enable_msdrm
1403 enable_msftedit
1404 enable_msg711_acm
1405 enable_msgsm32_acm
1406 enable_mshtml_tlb
1407 enable_mshtml
1408 enable_msi
1409 enable_msident
1410 enable_msimg32
1411 enable_msimsg
1412 enable_msimtf
1413 enable_msisip
1414 enable_msisys_ocx
1415 enable_msls31
1416 enable_msnet32
1417 enable_mspatcha
1418 enable_msports
1419 enable_msrle32
1420 enable_msscript_ocx
1421 enable_mssign32
1422 enable_mssip32
1423 enable_mstask
1424 enable_msvcirt
1425 enable_msvcm80
1426 enable_msvcm90
1427 enable_msvcp100
1428 enable_msvcp110
1429 enable_msvcp120
1430 enable_msvcp120_app
1431 enable_msvcp140
1432 enable_msvcp60
1433 enable_msvcp70
1434 enable_msvcp71
1435 enable_msvcp80
1436 enable_msvcp90
1437 enable_msvcr100
1438 enable_msvcr110
1439 enable_msvcr120
1440 enable_msvcr120_app
1441 enable_msvcr70
1442 enable_msvcr71
1443 enable_msvcr80
1444 enable_msvcr90
1445 enable_msvcrt
1446 enable_msvcrt20
1447 enable_msvcrt40
1448 enable_msvcrtd
1449 enable_msvfw32
1450 enable_msvidc32
1451 enable_mswsock
1452 enable_msxml
1453 enable_msxml2
1454 enable_msxml3
1455 enable_msxml4
1456 enable_msxml6
1457 enable_mtxdm
1458 enable_ncrypt
1459 enable_nddeapi
1460 enable_ndis_sys
1461 enable_netapi32
1462 enable_netcfgx
1463 enable_netprofm
1464 enable_newdev
1465 enable_ninput
1466 enable_normaliz
1467 enable_npmshtml
1468 enable_npptools
1469 enable_ntdll
1470 enable_ntdsapi
1471 enable_ntoskrnl_exe
1472 enable_ntprint
1473 enable_objsel
1474 enable_odbc32
1475 enable_odbccp32
1476 enable_odbccu32
1477 enable_ole32
1478 enable_oleacc
1479 enable_oleaut32
1480 enable_olecli32
1481 enable_oledb32
1482 enable_oledlg
1483 enable_olepro32
1484 enable_olesvr32
1485 enable_olethk32
1486 enable_opcservices
1487 enable_openal32
1488 enable_opencl
1489 enable_opengl32
1490 enable_packager
1491 enable_pdh
1492 enable_photometadatahandler
1493 enable_pidgen
1494 enable_powrprof
1495 enable_printui
1496 enable_prntvpt
1497 enable_propsys
1498 enable_psapi
1499 enable_pstorec
1500 enable_qcap
1501 enable_qedit
1502 enable_qmgr
1503 enable_qmgrprxy
1504 enable_quartz
1505 enable_query
1506 enable_qwave
1507 enable_rasapi32
1508 enable_rasdlg
1509 enable_regapi
1510 enable_resutils
1511 enable_riched20
1512 enable_riched32
1513 enable_rpcrt4
1514 enable_rsabase
1515 enable_rsaenh
1516 enable_rstrtmgr
1517 enable_rtutils
1518 enable_samlib
1519 enable_sane_ds
1520 enable_sapi
1521 enable_sas
1522 enable_scarddlg
1523 enable_sccbase
1524 enable_schannel
1525 enable_schedsvc
1526 enable_scrobj
1527 enable_scrrun
1528 enable_scsiport_sys
1529 enable_secur32
1530 enable_security
1531 enable_sensapi
1532 enable_serialui
1533 enable_setupapi
1534 enable_sfc
1535 enable_sfc_os
1536 enable_shcore
1537 enable_shdoclc
1538 enable_shdocvw
1539 enable_shell32
1540 enable_shfolder
1541 enable_shlwapi
1542 enable_slbcsp
1543 enable_slc
1544 enable_snmpapi
1545 enable_softpub
1546 enable_spoolss
1547 enable_srclient
1548 enable_sspicli
1549 enable_stdole2_tlb
1550 enable_stdole32_tlb
1551 enable_sti
1552 enable_strmbase
1553 enable_strmdll
1554 enable_strmiids
1555 enable_svrapi
1556 enable_sxs
1557 enable_t2embed
1558 enable_tapi32
1559 enable_taskschd
1560 enable_tdh
1561 enable_tdi_sys
1562 enable_traffic
1563 enable_twain_32
1564 enable_tzres
1565 enable_ucrtbase
1566 enable_uiautomationcore
1567 enable_uiribbon
1568 enable_unicows
1569 enable_updspapi
1570 enable_url
1571 enable_urlmon
1572 enable_usbd_sys
1573 enable_user32
1574 enable_userenv
1575 enable_usp10
1576 enable_uuid
1577 enable_uxtheme
1578 enable_vbscript
1579 enable_vcomp
1580 enable_vcomp100
1581 enable_vcomp110
1582 enable_vcomp120
1583 enable_vcomp140
1584 enable_vcomp90
1585 enable_vcruntime140
1586 enable_vdmdbg
1587 enable_version
1588 enable_virtdisk
1589 enable_vssapi
1590 enable_vulkan_1
1591 enable_wbemdisp
1592 enable_wbemprox
1593 enable_wdscore
1594 enable_webservices
1595 enable_wer
1596 enable_wevtapi
1597 enable_wiaservc
1598 enable_wimgapi
1599 enable_windowscodecs
1600 enable_windowscodecsext
1601 enable_winealsa_drv
1602 enable_wineandroid_drv
1603 enable_winebus_sys
1604 enable_winecoreaudio_drv
1605 enable_winecrt0
1606 enable_wined3d
1607 enable_winegstreamer
1608 enable_winehid_sys
1609 enable_winejoystick_drv
1610 enable_winemac_drv
1611 enable_winemapi
1612 enable_wineoss_drv
1613 enable_wineps_drv
1614 enable_winepulse_drv
1615 enable_wineqtdecoder
1616 enable_winevulkan
1617 enable_winex11_drv
1618 enable_wing32
1619 enable_winhttp
1620 enable_wininet
1621 enable_winmm
1622 enable_winnls32
1623 enable_winscard
1624 enable_winspool_drv
1625 enable_winsta
1626 enable_wintab32
1627 enable_wintrust
1628 enable_winusb
1629 enable_wlanapi
1630 enable_wldap32
1631 enable_wmasf
1632 enable_wmcodecdspuuid
1633 enable_wmi
1634 enable_wmiutils
1635 enable_wmp
1636 enable_wmphoto
1637 enable_wmvcore
1638 enable_wnaspi32
1639 enable_wpc
1640 enable_wpcap
1641 enable_ws2_32
1642 enable_wsdapi
1643 enable_wshom_ocx
1644 enable_wsnmp32
1645 enable_wsock32
1646 enable_wtsapi32
1647 enable_wuapi
1648 enable_wuaueng
1649 enable_x3daudio1_0
1650 enable_x3daudio1_1
1651 enable_x3daudio1_2
1652 enable_x3daudio1_3
1653 enable_x3daudio1_4
1654 enable_x3daudio1_5
1655 enable_x3daudio1_6
1656 enable_x3daudio1_7
1657 enable_xapofx1_1
1658 enable_xapofx1_2
1659 enable_xapofx1_3
1660 enable_xapofx1_4
1661 enable_xapofx1_5
1662 enable_xaudio2_0
1663 enable_xaudio2_1
1664 enable_xaudio2_2
1665 enable_xaudio2_3
1666 enable_xaudio2_4
1667 enable_xaudio2_5
1668 enable_xaudio2_6
1669 enable_xaudio2_7
1670 enable_xaudio2_8
1671 enable_xaudio2_9
1672 enable_xinput1_1
1673 enable_xinput1_2
1674 enable_xinput1_3
1675 enable_xinput1_4
1676 enable_xinput9_1_0
1677 enable_xmllite
1678 enable_xolehlp
1679 enable_xpsprint
1680 enable_xpssvcs
1681 enable_fonts
1682 enable_include
1683 enable_port
1684 enable_wine
1685 enable_wpp
1686 enable_loader
1687 enable_po
1688 enable_arp
1689 enable_aspnet_regiis
1690 enable_attrib
1691 enable_cabarc
1692 enable_cacls
1693 enable_clock
1694 enable_cmd
1695 enable_conhost
1696 enable_control
1697 enable_cscript
1698 enable_dism
1699 enable_dpnsvr
1700 enable_dxdiag
1701 enable_eject
1702 enable_expand
1703 enable_explorer
1704 enable_extrac32
1705 enable_fc
1706 enable_find
1707 enable_findstr
1708 enable_fsutil
1709 enable_hh
1710 enable_hostname
1711 enable_icacls
1712 enable_icinfo
1713 enable_iexplore
1714 enable_ipconfig
1715 enable_lodctr
1716 enable_mofcomp
1717 enable_mshta
1718 enable_msidb
1719 enable_msiexec
1720 enable_msinfo32
1721 enable_net
1722 enable_netsh
1723 enable_netstat
1724 enable_ngen
1725 enable_notepad
1726 enable_oleview
1727 enable_ping
1728 enable_plugplay
1729 enable_powershell
1730 enable_presentationfontcache
1731 enable_progman
1732 enable_reg
1733 enable_regasm
1734 enable_regedit
1735 enable_regsvcs
1736 enable_regsvr32
1737 enable_rpcss
1738 enable_rundll32
1739 enable_sc
1740 enable_schtasks
1741 enable_sdbinst
1742 enable_secedit
1743 enable_servicemodelreg
1744 enable_services
1745 enable_shutdown
1746 enable_spoolsv
1747 enable_start
1748 enable_subst
1749 enable_svchost
1750 enable_systeminfo
1751 enable_taskkill
1752 enable_tasklist
1753 enable_taskmgr
1754 enable_termsv
1755 enable_uninstaller
1756 enable_unlodctr
1757 enable_view
1758 enable_wevtutil
1759 enable_wineboot
1760 enable_winebrowser
1761 enable_winecfg
1762 enable_wineconsole
1763 enable_winedbg
1764 enable_winedevice
1765 enable_winefile
1766 enable_winemenubuilder
1767 enable_winemine
1768 enable_winemsibuilder
1769 enable_winepath
1770 enable_winetest
1771 enable_winhlp32
1772 enable_winmgmt
1773 enable_winver
1774 enable_wmic
1775 enable_wmplayer
1776 enable_wordpad
1777 enable_write
1778 enable_wscript
1779 enable_wusa
1780 enable_xcopy
1781 enable_server
1782 enable_tools
1783 enable_sfnt2fon
1784 enable_widl
1785 enable_winebuild
1786 enable_winedump
1787 enable_winegcc
1788 enable_winemaker
1789 enable_wmc
1790 enable_wrc
1792 ac_precious_vars='build_alias
1793 host_alias
1794 target_alias
1796 CFLAGS
1797 LDFLAGS
1798 LIBS
1799 CPPFLAGS
1801 CXXFLAGS
1804 OBJC
1805 OBJCFLAGS
1806 OBJCPP
1807 XMKMF
1808 XML2_CFLAGS
1809 XML2_LIBS
1810 XSLT_CFLAGS
1811 XSLT_LIBS
1812 DBUS_CFLAGS
1813 DBUS_LIBS
1814 HAL_CFLAGS
1815 HAL_LIBS
1816 GNUTLS_CFLAGS
1817 GNUTLS_LIBS
1818 SANE_CFLAGS
1819 SANE_LIBS
1820 GPHOTO2_CFLAGS
1821 GPHOTO2_LIBS
1822 GPHOTO2_PORT_CFLAGS
1823 GPHOTO2_PORT_LIBS
1824 LCMS2_CFLAGS
1825 LCMS2_LIBS
1826 FREETYPE_CFLAGS
1827 FREETYPE_LIBS
1828 PULSE_CFLAGS
1829 PULSE_LIBS
1830 GSTREAMER_CFLAGS
1831 GSTREAMER_LIBS
1832 UDEV_CFLAGS
1833 UDEV_LIBS
1834 SDL2_CFLAGS
1835 SDL2_LIBS
1836 FAUDIO_CFLAGS
1837 FAUDIO_LIBS
1838 CAPI20_CFLAGS
1839 CAPI20_LIBS
1840 CUPS_CFLAGS
1841 CUPS_LIBS
1842 FONTCONFIG_CFLAGS
1843 FONTCONFIG_LIBS
1844 KRB5_CFLAGS
1845 KRB5_LIBS
1846 GSSAPI_CFLAGS
1847 GSSAPI_LIBS
1848 JPEG_CFLAGS
1849 JPEG_LIBS
1850 PNG_CFLAGS
1851 PNG_LIBS
1852 TIFF_CFLAGS
1853 TIFF_LIBS
1854 MPG123_CFLAGS
1855 MPG123_LIBS
1856 NETAPI_CFLAGS
1857 NETAPI_LIBS
1858 VKD3D_CFLAGS
1859 VKD3D_LIBS
1860 LDAP_CFLAGS
1861 LDAP_LIBS'
1864 # Initialize some variables set by options.
1865 ac_init_help=
1866 ac_init_version=false
1867 ac_unrecognized_opts=
1868 ac_unrecognized_sep=
1869 # The variables have the same names as the options, with
1870 # dashes changed to underlines.
1871 cache_file=/dev/null
1872 exec_prefix=NONE
1873 no_create=
1874 no_recursion=
1875 prefix=NONE
1876 program_prefix=NONE
1877 program_suffix=NONE
1878 program_transform_name=s,x,x,
1879 silent=
1880 site=
1881 srcdir=
1882 verbose=
1883 x_includes=NONE
1884 x_libraries=NONE
1886 # Installation directory options.
1887 # These are left unexpanded so users can "make install exec_prefix=/foo"
1888 # and all the variables that are supposed to be based on exec_prefix
1889 # by default will actually change.
1890 # Use braces instead of parens because sh, perl, etc. also accept them.
1891 # (The list follows the same order as the GNU Coding Standards.)
1892 bindir='${exec_prefix}/bin'
1893 sbindir='${exec_prefix}/sbin'
1894 libexecdir='${exec_prefix}/libexec'
1895 datarootdir='${prefix}/share'
1896 datadir='${datarootdir}'
1897 sysconfdir='${prefix}/etc'
1898 sharedstatedir='${prefix}/com'
1899 localstatedir='${prefix}/var'
1900 runstatedir='${localstatedir}/run'
1901 includedir='${prefix}/include'
1902 oldincludedir='/usr/include'
1903 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1904 infodir='${datarootdir}/info'
1905 htmldir='${docdir}'
1906 dvidir='${docdir}'
1907 pdfdir='${docdir}'
1908 psdir='${docdir}'
1909 libdir='${exec_prefix}/lib'
1910 localedir='${datarootdir}/locale'
1911 mandir='${datarootdir}/man'
1913 ac_prev=
1914 ac_dashdash=
1915 for ac_option
1917 # If the previous option needs an argument, assign it.
1918 if test -n "$ac_prev"; then
1919 eval $ac_prev=\$ac_option
1920 ac_prev=
1921 continue
1924 case $ac_option in
1925 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1926 *=) ac_optarg= ;;
1927 *) ac_optarg=yes ;;
1928 esac
1930 # Accept the important Cygnus configure options, so we can diagnose typos.
1932 case $ac_dashdash$ac_option in
1934 ac_dashdash=yes ;;
1936 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1937 ac_prev=bindir ;;
1938 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1939 bindir=$ac_optarg ;;
1941 -build | --build | --buil | --bui | --bu)
1942 ac_prev=build_alias ;;
1943 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1944 build_alias=$ac_optarg ;;
1946 -cache-file | --cache-file | --cache-fil | --cache-fi \
1947 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1948 ac_prev=cache_file ;;
1949 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1950 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1951 cache_file=$ac_optarg ;;
1953 --config-cache | -C)
1954 cache_file=config.cache ;;
1956 -datadir | --datadir | --datadi | --datad)
1957 ac_prev=datadir ;;
1958 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1959 datadir=$ac_optarg ;;
1961 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1962 | --dataroo | --dataro | --datar)
1963 ac_prev=datarootdir ;;
1964 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1965 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1966 datarootdir=$ac_optarg ;;
1968 -disable-* | --disable-*)
1969 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1970 # Reject names that are not valid shell variable names.
1971 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1972 as_fn_error $? "invalid feature name: $ac_useropt"
1973 ac_useropt_orig=$ac_useropt
1974 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1975 case $ac_user_opts in
1977 "enable_$ac_useropt"
1978 "*) ;;
1979 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1980 ac_unrecognized_sep=', ';;
1981 esac
1982 eval enable_$ac_useropt=no ;;
1984 -docdir | --docdir | --docdi | --doc | --do)
1985 ac_prev=docdir ;;
1986 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1987 docdir=$ac_optarg ;;
1989 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1990 ac_prev=dvidir ;;
1991 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1992 dvidir=$ac_optarg ;;
1994 -enable-* | --enable-*)
1995 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1996 # Reject names that are not valid shell variable names.
1997 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1998 as_fn_error $? "invalid feature name: $ac_useropt"
1999 ac_useropt_orig=$ac_useropt
2000 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2001 case $ac_user_opts in
2003 "enable_$ac_useropt"
2004 "*) ;;
2005 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2006 ac_unrecognized_sep=', ';;
2007 esac
2008 eval enable_$ac_useropt=\$ac_optarg ;;
2010 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2011 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2012 | --exec | --exe | --ex)
2013 ac_prev=exec_prefix ;;
2014 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2015 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2016 | --exec=* | --exe=* | --ex=*)
2017 exec_prefix=$ac_optarg ;;
2019 -gas | --gas | --ga | --g)
2020 # Obsolete; use --with-gas.
2021 with_gas=yes ;;
2023 -help | --help | --hel | --he | -h)
2024 ac_init_help=long ;;
2025 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2026 ac_init_help=recursive ;;
2027 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2028 ac_init_help=short ;;
2030 -host | --host | --hos | --ho)
2031 ac_prev=host_alias ;;
2032 -host=* | --host=* | --hos=* | --ho=*)
2033 host_alias=$ac_optarg ;;
2035 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2036 ac_prev=htmldir ;;
2037 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2038 | --ht=*)
2039 htmldir=$ac_optarg ;;
2041 -includedir | --includedir | --includedi | --included | --include \
2042 | --includ | --inclu | --incl | --inc)
2043 ac_prev=includedir ;;
2044 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2045 | --includ=* | --inclu=* | --incl=* | --inc=*)
2046 includedir=$ac_optarg ;;
2048 -infodir | --infodir | --infodi | --infod | --info | --inf)
2049 ac_prev=infodir ;;
2050 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2051 infodir=$ac_optarg ;;
2053 -libdir | --libdir | --libdi | --libd)
2054 ac_prev=libdir ;;
2055 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2056 libdir=$ac_optarg ;;
2058 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2059 | --libexe | --libex | --libe)
2060 ac_prev=libexecdir ;;
2061 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2062 | --libexe=* | --libex=* | --libe=*)
2063 libexecdir=$ac_optarg ;;
2065 -localedir | --localedir | --localedi | --localed | --locale)
2066 ac_prev=localedir ;;
2067 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2068 localedir=$ac_optarg ;;
2070 -localstatedir | --localstatedir | --localstatedi | --localstated \
2071 | --localstate | --localstat | --localsta | --localst | --locals)
2072 ac_prev=localstatedir ;;
2073 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2074 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2075 localstatedir=$ac_optarg ;;
2077 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2078 ac_prev=mandir ;;
2079 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2080 mandir=$ac_optarg ;;
2082 -nfp | --nfp | --nf)
2083 # Obsolete; use --without-fp.
2084 with_fp=no ;;
2086 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2087 | --no-cr | --no-c | -n)
2088 no_create=yes ;;
2090 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2091 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2092 no_recursion=yes ;;
2094 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2095 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2096 | --oldin | --oldi | --old | --ol | --o)
2097 ac_prev=oldincludedir ;;
2098 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2099 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2100 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2101 oldincludedir=$ac_optarg ;;
2103 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2104 ac_prev=prefix ;;
2105 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2106 prefix=$ac_optarg ;;
2108 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2109 | --program-pre | --program-pr | --program-p)
2110 ac_prev=program_prefix ;;
2111 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2112 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2113 program_prefix=$ac_optarg ;;
2115 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2116 | --program-suf | --program-su | --program-s)
2117 ac_prev=program_suffix ;;
2118 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2119 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2120 program_suffix=$ac_optarg ;;
2122 -program-transform-name | --program-transform-name \
2123 | --program-transform-nam | --program-transform-na \
2124 | --program-transform-n | --program-transform- \
2125 | --program-transform | --program-transfor \
2126 | --program-transfo | --program-transf \
2127 | --program-trans | --program-tran \
2128 | --progr-tra | --program-tr | --program-t)
2129 ac_prev=program_transform_name ;;
2130 -program-transform-name=* | --program-transform-name=* \
2131 | --program-transform-nam=* | --program-transform-na=* \
2132 | --program-transform-n=* | --program-transform-=* \
2133 | --program-transform=* | --program-transfor=* \
2134 | --program-transfo=* | --program-transf=* \
2135 | --program-trans=* | --program-tran=* \
2136 | --progr-tra=* | --program-tr=* | --program-t=*)
2137 program_transform_name=$ac_optarg ;;
2139 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2140 ac_prev=pdfdir ;;
2141 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2142 pdfdir=$ac_optarg ;;
2144 -psdir | --psdir | --psdi | --psd | --ps)
2145 ac_prev=psdir ;;
2146 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2147 psdir=$ac_optarg ;;
2149 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2150 | -silent | --silent | --silen | --sile | --sil)
2151 silent=yes ;;
2153 -runstatedir | --runstatedir | --runstatedi | --runstated \
2154 | --runstate | --runstat | --runsta | --runst | --runs \
2155 | --run | --ru | --r)
2156 ac_prev=runstatedir ;;
2157 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2158 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2159 | --run=* | --ru=* | --r=*)
2160 runstatedir=$ac_optarg ;;
2162 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2163 ac_prev=sbindir ;;
2164 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2165 | --sbi=* | --sb=*)
2166 sbindir=$ac_optarg ;;
2168 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2169 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2170 | --sharedst | --shareds | --shared | --share | --shar \
2171 | --sha | --sh)
2172 ac_prev=sharedstatedir ;;
2173 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2174 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2175 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2176 | --sha=* | --sh=*)
2177 sharedstatedir=$ac_optarg ;;
2179 -site | --site | --sit)
2180 ac_prev=site ;;
2181 -site=* | --site=* | --sit=*)
2182 site=$ac_optarg ;;
2184 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2185 ac_prev=srcdir ;;
2186 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2187 srcdir=$ac_optarg ;;
2189 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2190 | --syscon | --sysco | --sysc | --sys | --sy)
2191 ac_prev=sysconfdir ;;
2192 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2193 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2194 sysconfdir=$ac_optarg ;;
2196 -target | --target | --targe | --targ | --tar | --ta | --t)
2197 ac_prev=target_alias ;;
2198 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2199 target_alias=$ac_optarg ;;
2201 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2202 verbose=yes ;;
2204 -version | --version | --versio | --versi | --vers | -V)
2205 ac_init_version=: ;;
2207 -with-* | --with-*)
2208 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2209 # Reject names that are not valid shell variable names.
2210 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2211 as_fn_error $? "invalid package name: $ac_useropt"
2212 ac_useropt_orig=$ac_useropt
2213 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2214 case $ac_user_opts in
2216 "with_$ac_useropt"
2217 "*) ;;
2218 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2219 ac_unrecognized_sep=', ';;
2220 esac
2221 eval with_$ac_useropt=\$ac_optarg ;;
2223 -without-* | --without-*)
2224 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2225 # Reject names that are not valid shell variable names.
2226 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2227 as_fn_error $? "invalid package name: $ac_useropt"
2228 ac_useropt_orig=$ac_useropt
2229 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2230 case $ac_user_opts in
2232 "with_$ac_useropt"
2233 "*) ;;
2234 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2235 ac_unrecognized_sep=', ';;
2236 esac
2237 eval with_$ac_useropt=no ;;
2239 --x)
2240 # Obsolete; use --with-x.
2241 with_x=yes ;;
2243 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2244 | --x-incl | --x-inc | --x-in | --x-i)
2245 ac_prev=x_includes ;;
2246 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2247 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2248 x_includes=$ac_optarg ;;
2250 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2251 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2252 ac_prev=x_libraries ;;
2253 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2254 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2255 x_libraries=$ac_optarg ;;
2257 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2258 Try \`$0 --help' for more information"
2261 *=*)
2262 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2263 # Reject names that are not valid shell variable names.
2264 case $ac_envvar in #(
2265 '' | [0-9]* | *[!_$as_cr_alnum]* )
2266 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2267 esac
2268 eval $ac_envvar=\$ac_optarg
2269 export $ac_envvar ;;
2272 # FIXME: should be removed in autoconf 3.0.
2273 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2274 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2275 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2276 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2279 esac
2280 done
2282 if test -n "$ac_prev"; then
2283 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2284 as_fn_error $? "missing argument to $ac_option"
2287 if test -n "$ac_unrecognized_opts"; then
2288 case $enable_option_checking in
2289 no) ;;
2290 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2291 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2292 esac
2295 # Check all directory arguments for consistency.
2296 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2297 datadir sysconfdir sharedstatedir localstatedir includedir \
2298 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2299 libdir localedir mandir runstatedir
2301 eval ac_val=\$$ac_var
2302 # Remove trailing slashes.
2303 case $ac_val in
2304 */ )
2305 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2306 eval $ac_var=\$ac_val;;
2307 esac
2308 # Be sure to have absolute directory names.
2309 case $ac_val in
2310 [\\/$]* | ?:[\\/]* ) continue;;
2311 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2312 esac
2313 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2314 done
2316 # There might be people who depend on the old broken behavior: `$host'
2317 # used to hold the argument of --host etc.
2318 # FIXME: To remove some day.
2319 build=$build_alias
2320 host=$host_alias
2321 target=$target_alias
2323 # FIXME: To remove some day.
2324 if test "x$host_alias" != x; then
2325 if test "x$build_alias" = x; then
2326 cross_compiling=maybe
2327 elif test "x$build_alias" != "x$host_alias"; then
2328 cross_compiling=yes
2332 ac_tool_prefix=
2333 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2335 test "$silent" = yes && exec 6>/dev/null
2338 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2339 ac_ls_di=`ls -di .` &&
2340 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2341 as_fn_error $? "working directory cannot be determined"
2342 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2343 as_fn_error $? "pwd does not report name of working directory"
2346 # Find the source files, if location was not specified.
2347 if test -z "$srcdir"; then
2348 ac_srcdir_defaulted=yes
2349 # Try the directory containing this script, then the parent directory.
2350 ac_confdir=`$as_dirname -- "$as_myself" ||
2351 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2352 X"$as_myself" : 'X\(//\)[^/]' \| \
2353 X"$as_myself" : 'X\(//\)$' \| \
2354 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2355 $as_echo X"$as_myself" |
2356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2357 s//\1/
2360 /^X\(\/\/\)[^/].*/{
2361 s//\1/
2364 /^X\(\/\/\)$/{
2365 s//\1/
2368 /^X\(\/\).*/{
2369 s//\1/
2372 s/.*/./; q'`
2373 srcdir=$ac_confdir
2374 if test ! -r "$srcdir/$ac_unique_file"; then
2375 srcdir=..
2377 else
2378 ac_srcdir_defaulted=no
2380 if test ! -r "$srcdir/$ac_unique_file"; then
2381 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2382 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2384 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2385 ac_abs_confdir=`(
2386 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2387 pwd)`
2388 # When building in place, set srcdir=.
2389 if test "$ac_abs_confdir" = "$ac_pwd"; then
2390 srcdir=.
2392 # Remove unnecessary trailing slashes from srcdir.
2393 # Double slashes in file names in object file debugging info
2394 # mess up M-x gdb in Emacs.
2395 case $srcdir in
2396 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2397 esac
2398 for ac_var in $ac_precious_vars; do
2399 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2400 eval ac_env_${ac_var}_value=\$${ac_var}
2401 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2402 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2403 done
2406 # Report the --help message.
2408 if test "$ac_init_help" = "long"; then
2409 # Omit some internal or obsolete options to make the list less imposing.
2410 # This message is too long to be a string in the A/UX 3.1 sh.
2411 cat <<_ACEOF
2412 \`configure' configures Wine 4.3 to adapt to many kinds of systems.
2414 Usage: $0 [OPTION]... [VAR=VALUE]...
2416 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2417 VAR=VALUE. See below for descriptions of some of the useful variables.
2419 Defaults for the options are specified in brackets.
2421 Configuration:
2422 -h, --help display this help and exit
2423 --help=short display options specific to this package
2424 --help=recursive display the short help of all the included packages
2425 -V, --version display version information and exit
2426 -q, --quiet, --silent do not print \`checking ...' messages
2427 --cache-file=FILE cache test results in FILE [disabled]
2428 -C, --config-cache alias for \`--cache-file=config.cache'
2429 -n, --no-create do not create output files
2430 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2432 Installation directories:
2433 --prefix=PREFIX install architecture-independent files in PREFIX
2434 [$ac_default_prefix]
2435 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2436 [PREFIX]
2438 By default, \`make install' will install all the files in
2439 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2440 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2441 for instance \`--prefix=\$HOME'.
2443 For better control, use the options below.
2445 Fine tuning of the installation directories:
2446 --bindir=DIR user executables [EPREFIX/bin]
2447 --sbindir=DIR system admin executables [EPREFIX/sbin]
2448 --libexecdir=DIR program executables [EPREFIX/libexec]
2449 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2450 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2451 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2452 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2453 --libdir=DIR object code libraries [EPREFIX/lib]
2454 --includedir=DIR C header files [PREFIX/include]
2455 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2456 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2457 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2458 --infodir=DIR info documentation [DATAROOTDIR/info]
2459 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2460 --mandir=DIR man documentation [DATAROOTDIR/man]
2461 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2462 --htmldir=DIR html documentation [DOCDIR]
2463 --dvidir=DIR dvi documentation [DOCDIR]
2464 --pdfdir=DIR pdf documentation [DOCDIR]
2465 --psdir=DIR ps documentation [DOCDIR]
2466 _ACEOF
2468 cat <<\_ACEOF
2470 X features:
2471 --x-includes=DIR X include files are in DIR
2472 --x-libraries=DIR X library files are in DIR
2474 System types:
2475 --build=BUILD configure for building on BUILD [guessed]
2476 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2477 _ACEOF
2480 if test -n "$ac_init_help"; then
2481 case $ac_init_help in
2482 short | recursive ) echo "Configuration of Wine 4.3:";;
2483 esac
2484 cat <<\_ACEOF
2486 Optional Features:
2487 --disable-option-checking ignore unrecognized --enable/--with options
2488 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2489 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2490 --disable-win16 do not include Win16 support
2491 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2492 binaries)
2493 --disable-tests do not build the regression tests
2494 --enable-maintainer-mode
2495 enable maintainer-specific build rules
2496 --disable-largefile omit support for large files
2498 Optional Packages:
2499 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2500 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2501 --without-alsa do not use the Alsa sound support
2502 --without-capi do not use CAPI (ISDN support)
2503 --without-cms do not use CMS (color management support)
2504 --without-coreaudio do not use the CoreAudio sound support
2505 --without-cups do not use CUPS
2506 --without-curses do not use (n)curses
2507 --without-dbus do not use DBus (dynamic device support)
2508 --without-faudio do not use FAudio (XAudio2 support)
2509 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2510 --without-fontconfig do not use fontconfig
2511 --without-freetype do not use the FreeType library
2512 --without-gettext do not use gettext
2513 --with-gettextpo use the GetTextPO library to rebuild po files
2514 --without-gphoto do not use gphoto (Digital Camera support)
2515 --without-glu do not use the GLU library
2516 --without-gnutls do not use GnuTLS (schannel support)
2517 --without-gsm do not use libgsm (GSM 06.10 codec support)
2518 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2519 --without-gstreamer do not use GStreamer (codecs support)
2520 --without-hal do not use HAL (dynamic device support)
2521 --without-jpeg do not use JPEG
2522 --without-krb5 do not use krb5 (Kerberos)
2523 --without-ldap do not use LDAP
2524 --without-mpg123 do not use the mpg123 library
2525 --without-netapi do not use the Samba NetAPI library
2526 --without-openal do not use OpenAL
2527 --without-opencl do not use OpenCL
2528 --without-opengl do not use OpenGL
2529 --without-osmesa do not use the OSMesa library
2530 --without-oss do not use the OSS sound support
2531 --without-pcap do not use the Packet Capture library
2532 --without-png do not use PNG
2533 --without-pthread do not use the pthread library
2534 --without-pulse do not use PulseAudio sound support
2535 --without-sane do not use SANE (scanner support)
2536 --without-sdl do not use SDL
2537 --without-tiff do not use TIFF
2538 --without-udev do not use udev (plug and play support)
2539 --without-v4l do not use v4l1 (v4l support)
2540 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2541 --without-vulkan do not use Vulkan
2542 --without-xcomposite do not use the Xcomposite extension
2543 --without-xcursor do not use the Xcursor extension
2544 --without-xfixes do not use Xfixes for clipboard change notifications
2545 --without-xinerama do not use Xinerama (multi-monitor support)
2546 --without-xinput do not use the Xinput extension
2547 --without-xinput2 do not use the Xinput 2 extension
2548 --without-xml do not use XML
2549 --without-xrandr do not use Xrandr (resolution changes)
2550 --without-xrender do not use the Xrender extension
2551 --without-xshape do not use the Xshape extension
2552 --without-xshm do not use XShm (shared memory extension)
2553 --without-xslt do not use XSLT
2554 --without-xxf86vm do not use XFree video mode extension
2555 --without-zlib do not use Zlib (data compression)
2556 --with-wine-tools=DIR use Wine tools from directory DIR
2557 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2558 --with-x use the X Window System
2560 Some influential environment variables:
2561 CC C compiler command
2562 CFLAGS C compiler flags
2563 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2564 nonstandard directory <lib dir>
2565 LIBS libraries to pass to the linker, e.g. -l<library>
2566 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2567 you have headers in a nonstandard directory <include dir>
2568 CXX C++ compiler command
2569 CXXFLAGS C++ compiler flags
2570 CPP C preprocessor
2571 OBJC Objective C compiler command
2572 OBJCFLAGS Objective C compiler flags
2573 OBJCPP Objective C preprocessor
2574 XMKMF Path to xmkmf, Makefile generator for X Window System
2575 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2576 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2577 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2578 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2579 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2580 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2581 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2582 HAL_LIBS Linker flags for hal, overriding pkg-config
2583 GNUTLS_CFLAGS
2584 C compiler flags for gnutls, overriding pkg-config
2585 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2586 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2587 SANE_LIBS Linker flags for libsane, overriding pkg-config
2588 GPHOTO2_CFLAGS
2589 C compiler flags for libgphoto2, overriding pkg-config
2590 GPHOTO2_LIBS
2591 Linker flags for libgphoto2, overriding pkg-config
2592 GPHOTO2_PORT_CFLAGS
2593 C compiler flags for libgphoto2_port, overriding pkg-config
2594 GPHOTO2_PORT_LIBS
2595 Linker flags for libgphoto2_port, overriding pkg-config
2596 LCMS2_CFLAGS
2597 C compiler flags for lcms2, overriding pkg-config
2598 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2599 FREETYPE_CFLAGS
2600 C compiler flags for freetype2, overriding pkg-config
2601 FREETYPE_LIBS
2602 Linker flags for freetype2, overriding pkg-config
2603 PULSE_CFLAGS
2604 C compiler flags for libpulse, overriding pkg-config
2605 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2606 GSTREAMER_CFLAGS
2607 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2608 gstreamer-audio-1.0, overriding pkg-config
2609 GSTREAMER_LIBS
2610 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2611 gstreamer-audio-1.0, overriding pkg-config
2612 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2613 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2614 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2615 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2616 FAUDIO_CFLAGS
2617 C compiler flags for faudio, overriding pkg-config
2618 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2619 CAPI20_CFLAGS
2620 C compiler flags for capi20, overriding pkg-config
2621 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2622 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2623 CUPS_LIBS Linker flags for cups, overriding pkg-config
2624 FONTCONFIG_CFLAGS
2625 C compiler flags for fontconfig, overriding pkg-config
2626 FONTCONFIG_LIBS
2627 Linker flags for fontconfig, overriding pkg-config
2628 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2629 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2630 GSSAPI_CFLAGS
2631 C compiler flags for krb5-gssapi, overriding pkg-config
2632 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2633 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2634 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2635 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2636 PNG_LIBS Linker flags for libpng, overriding pkg-config
2637 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2638 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2639 MPG123_CFLAGS
2640 C compiler flags for libmpg123, overriding pkg-config
2641 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2642 NETAPI_CFLAGS
2643 C compiler flags for netapi, overriding pkg-config
2644 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2645 VKD3D_CFLAGS
2646 C compiler flags for libvkd3d, overriding pkg-config
2647 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2648 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2649 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2651 Use these variables to override the choices made by `configure' or to help
2652 it to find libraries and programs with nonstandard names/locations.
2654 Report bugs to <wine-devel@winehq.org>.
2655 Wine home page: <https://www.winehq.org>.
2656 _ACEOF
2657 ac_status=$?
2660 if test "$ac_init_help" = "recursive"; then
2661 # If there are subdirs, report their specific --help.
2662 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2663 test -d "$ac_dir" ||
2664 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2665 continue
2666 ac_builddir=.
2668 case "$ac_dir" in
2669 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2671 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2672 # A ".." for each directory in $ac_dir_suffix.
2673 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2674 case $ac_top_builddir_sub in
2675 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2676 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2677 esac ;;
2678 esac
2679 ac_abs_top_builddir=$ac_pwd
2680 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2681 # for backward compatibility:
2682 ac_top_builddir=$ac_top_build_prefix
2684 case $srcdir in
2685 .) # We are building in place.
2686 ac_srcdir=.
2687 ac_top_srcdir=$ac_top_builddir_sub
2688 ac_abs_top_srcdir=$ac_pwd ;;
2689 [\\/]* | ?:[\\/]* ) # Absolute name.
2690 ac_srcdir=$srcdir$ac_dir_suffix;
2691 ac_top_srcdir=$srcdir
2692 ac_abs_top_srcdir=$srcdir ;;
2693 *) # Relative name.
2694 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2695 ac_top_srcdir=$ac_top_build_prefix$srcdir
2696 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2697 esac
2698 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2700 cd "$ac_dir" || { ac_status=$?; continue; }
2701 # Check for guested configure.
2702 if test -f "$ac_srcdir/configure.gnu"; then
2703 echo &&
2704 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2705 elif test -f "$ac_srcdir/configure"; then
2706 echo &&
2707 $SHELL "$ac_srcdir/configure" --help=recursive
2708 else
2709 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2710 fi || ac_status=$?
2711 cd "$ac_pwd" || { ac_status=$?; break; }
2712 done
2715 test -n "$ac_init_help" && exit $ac_status
2716 if $ac_init_version; then
2717 cat <<\_ACEOF
2718 Wine configure 4.3
2719 generated by GNU Autoconf 2.69
2721 Copyright (C) 2012 Free Software Foundation, Inc.
2722 This configure script is free software; the Free Software Foundation
2723 gives unlimited permission to copy, distribute and modify it.
2724 _ACEOF
2725 exit
2728 ## ------------------------ ##
2729 ## Autoconf initialization. ##
2730 ## ------------------------ ##
2732 # ac_fn_c_try_compile LINENO
2733 # --------------------------
2734 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2735 ac_fn_c_try_compile ()
2737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2738 rm -f conftest.$ac_objext
2739 if { { ac_try="$ac_compile"
2740 case "(($ac_try" in
2741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2743 esac
2744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2745 $as_echo "$ac_try_echo"; } >&5
2746 (eval "$ac_compile") 2>conftest.err
2747 ac_status=$?
2748 if test -s conftest.err; then
2749 grep -v '^ *+' conftest.err >conftest.er1
2750 cat conftest.er1 >&5
2751 mv -f conftest.er1 conftest.err
2753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2754 test $ac_status = 0; } && {
2755 test -z "$ac_c_werror_flag" ||
2756 test ! -s conftest.err
2757 } && test -s conftest.$ac_objext; then :
2758 ac_retval=0
2759 else
2760 $as_echo "$as_me: failed program was:" >&5
2761 sed 's/^/| /' conftest.$ac_ext >&5
2763 ac_retval=1
2765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2766 as_fn_set_status $ac_retval
2768 } # ac_fn_c_try_compile
2770 # ac_fn_cxx_try_compile LINENO
2771 # ----------------------------
2772 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2773 ac_fn_cxx_try_compile ()
2775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2776 rm -f conftest.$ac_objext
2777 if { { ac_try="$ac_compile"
2778 case "(($ac_try" in
2779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2780 *) ac_try_echo=$ac_try;;
2781 esac
2782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2783 $as_echo "$ac_try_echo"; } >&5
2784 (eval "$ac_compile") 2>conftest.err
2785 ac_status=$?
2786 if test -s conftest.err; then
2787 grep -v '^ *+' conftest.err >conftest.er1
2788 cat conftest.er1 >&5
2789 mv -f conftest.er1 conftest.err
2791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2792 test $ac_status = 0; } && {
2793 test -z "$ac_cxx_werror_flag" ||
2794 test ! -s conftest.err
2795 } && test -s conftest.$ac_objext; then :
2796 ac_retval=0
2797 else
2798 $as_echo "$as_me: failed program was:" >&5
2799 sed 's/^/| /' conftest.$ac_ext >&5
2801 ac_retval=1
2803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2804 as_fn_set_status $ac_retval
2806 } # ac_fn_cxx_try_compile
2808 # ac_fn_c_try_link LINENO
2809 # -----------------------
2810 # Try to link conftest.$ac_ext, and return whether this succeeded.
2811 ac_fn_c_try_link ()
2813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2814 rm -f conftest.$ac_objext conftest$ac_exeext
2815 if { { ac_try="$ac_link"
2816 case "(($ac_try" in
2817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2818 *) ac_try_echo=$ac_try;;
2819 esac
2820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2821 $as_echo "$ac_try_echo"; } >&5
2822 (eval "$ac_link") 2>conftest.err
2823 ac_status=$?
2824 if test -s conftest.err; then
2825 grep -v '^ *+' conftest.err >conftest.er1
2826 cat conftest.er1 >&5
2827 mv -f conftest.er1 conftest.err
2829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2830 test $ac_status = 0; } && {
2831 test -z "$ac_c_werror_flag" ||
2832 test ! -s conftest.err
2833 } && test -s conftest$ac_exeext && {
2834 test "$cross_compiling" = yes ||
2835 test -x conftest$ac_exeext
2836 }; then :
2837 ac_retval=0
2838 else
2839 $as_echo "$as_me: failed program was:" >&5
2840 sed 's/^/| /' conftest.$ac_ext >&5
2842 ac_retval=1
2844 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2845 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2846 # interfere with the next link command; also delete a directory that is
2847 # left behind by Apple's compiler. We do this before executing the actions.
2848 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2850 as_fn_set_status $ac_retval
2852 } # ac_fn_c_try_link
2854 # ac_fn_c_try_cpp LINENO
2855 # ----------------------
2856 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2857 ac_fn_c_try_cpp ()
2859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2860 if { { ac_try="$ac_cpp conftest.$ac_ext"
2861 case "(($ac_try" in
2862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2863 *) ac_try_echo=$ac_try;;
2864 esac
2865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2866 $as_echo "$ac_try_echo"; } >&5
2867 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2868 ac_status=$?
2869 if test -s conftest.err; then
2870 grep -v '^ *+' conftest.err >conftest.er1
2871 cat conftest.er1 >&5
2872 mv -f conftest.er1 conftest.err
2874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2875 test $ac_status = 0; } > conftest.i && {
2876 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2877 test ! -s conftest.err
2878 }; then :
2879 ac_retval=0
2880 else
2881 $as_echo "$as_me: failed program was:" >&5
2882 sed 's/^/| /' conftest.$ac_ext >&5
2884 ac_retval=1
2886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2887 as_fn_set_status $ac_retval
2889 } # ac_fn_c_try_cpp
2891 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2892 # -------------------------------------------------------
2893 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2894 # the include files in INCLUDES and setting the cache variable VAR
2895 # accordingly.
2896 ac_fn_c_check_header_mongrel ()
2898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2899 if eval \${$3+:} false; then :
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2901 $as_echo_n "checking for $2... " >&6; }
2902 if eval \${$3+:} false; then :
2903 $as_echo_n "(cached) " >&6
2905 eval ac_res=\$$3
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2907 $as_echo "$ac_res" >&6; }
2908 else
2909 # Is the header compilable?
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2911 $as_echo_n "checking $2 usability... " >&6; }
2912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2913 /* end confdefs.h. */
2915 #include <$2>
2916 _ACEOF
2917 if ac_fn_c_try_compile "$LINENO"; then :
2918 ac_header_compiler=yes
2919 else
2920 ac_header_compiler=no
2922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2924 $as_echo "$ac_header_compiler" >&6; }
2926 # Is the header present?
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2928 $as_echo_n "checking $2 presence... " >&6; }
2929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2930 /* end confdefs.h. */
2931 #include <$2>
2932 _ACEOF
2933 if ac_fn_c_try_cpp "$LINENO"; then :
2934 ac_header_preproc=yes
2935 else
2936 ac_header_preproc=no
2938 rm -f conftest.err conftest.i conftest.$ac_ext
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2940 $as_echo "$ac_header_preproc" >&6; }
2942 # So? What about this header?
2943 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2944 yes:no: )
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2946 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2948 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2950 no:yes:* )
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2952 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2954 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2956 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2958 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2960 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2961 ( $as_echo "## ------------------------------------ ##
2962 ## Report this to wine-devel@winehq.org ##
2963 ## ------------------------------------ ##"
2964 ) | sed "s/^/$as_me: WARNING: /" >&2
2966 esac
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2968 $as_echo_n "checking for $2... " >&6; }
2969 if eval \${$3+:} false; then :
2970 $as_echo_n "(cached) " >&6
2971 else
2972 eval "$3=\$ac_header_compiler"
2974 eval ac_res=\$$3
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2976 $as_echo "$ac_res" >&6; }
2978 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2980 } # ac_fn_c_check_header_mongrel
2982 # ac_fn_c_try_run LINENO
2983 # ----------------------
2984 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2985 # that executables *can* be run.
2986 ac_fn_c_try_run ()
2988 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2989 if { { ac_try="$ac_link"
2990 case "(($ac_try" in
2991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992 *) ac_try_echo=$ac_try;;
2993 esac
2994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2995 $as_echo "$ac_try_echo"; } >&5
2996 (eval "$ac_link") 2>&5
2997 ac_status=$?
2998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2999 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3000 { { case "(($ac_try" in
3001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002 *) ac_try_echo=$ac_try;;
3003 esac
3004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3005 $as_echo "$ac_try_echo"; } >&5
3006 (eval "$ac_try") 2>&5
3007 ac_status=$?
3008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3009 test $ac_status = 0; }; }; then :
3010 ac_retval=0
3011 else
3012 $as_echo "$as_me: program exited with status $ac_status" >&5
3013 $as_echo "$as_me: failed program was:" >&5
3014 sed 's/^/| /' conftest.$ac_ext >&5
3016 ac_retval=$ac_status
3018 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3019 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3020 as_fn_set_status $ac_retval
3022 } # ac_fn_c_try_run
3024 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3025 # -------------------------------------------------------
3026 # Tests whether HEADER exists and can be compiled using the include files in
3027 # INCLUDES, setting the cache variable VAR accordingly.
3028 ac_fn_c_check_header_compile ()
3030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3032 $as_echo_n "checking for $2... " >&6; }
3033 if eval \${$3+:} false; then :
3034 $as_echo_n "(cached) " >&6
3035 else
3036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3037 /* end confdefs.h. */
3039 #include <$2>
3040 _ACEOF
3041 if ac_fn_c_try_compile "$LINENO"; then :
3042 eval "$3=yes"
3043 else
3044 eval "$3=no"
3046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3048 eval ac_res=\$$3
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3050 $as_echo "$ac_res" >&6; }
3051 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3053 } # ac_fn_c_check_header_compile
3055 # ac_fn_objc_try_compile LINENO
3056 # -----------------------------
3057 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3058 ac_fn_objc_try_compile ()
3060 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3061 rm -f conftest.$ac_objext
3062 if { { ac_try="$ac_compile"
3063 case "(($ac_try" in
3064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3065 *) ac_try_echo=$ac_try;;
3066 esac
3067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3068 $as_echo "$ac_try_echo"; } >&5
3069 (eval "$ac_compile") 2>conftest.err
3070 ac_status=$?
3071 if test -s conftest.err; then
3072 grep -v '^ *+' conftest.err >conftest.er1
3073 cat conftest.er1 >&5
3074 mv -f conftest.er1 conftest.err
3076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3077 test $ac_status = 0; } && {
3078 test -z "$ac_objc_werror_flag" ||
3079 test ! -s conftest.err
3080 } && test -s conftest.$ac_objext; then :
3081 ac_retval=0
3082 else
3083 $as_echo "$as_me: failed program was:" >&5
3084 sed 's/^/| /' conftest.$ac_ext >&5
3086 ac_retval=1
3088 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3089 as_fn_set_status $ac_retval
3091 } # ac_fn_objc_try_compile
3093 # ac_fn_objc_try_cpp LINENO
3094 # -------------------------
3095 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3096 ac_fn_objc_try_cpp ()
3098 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3099 if { { ac_try="$ac_cpp conftest.$ac_ext"
3100 case "(($ac_try" in
3101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3103 esac
3104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3105 $as_echo "$ac_try_echo"; } >&5
3106 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3107 ac_status=$?
3108 if test -s conftest.err; then
3109 grep -v '^ *+' conftest.err >conftest.er1
3110 cat conftest.er1 >&5
3111 mv -f conftest.er1 conftest.err
3113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3114 test $ac_status = 0; } > conftest.i && {
3115 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3116 test ! -s conftest.err
3117 }; then :
3118 ac_retval=0
3119 else
3120 $as_echo "$as_me: failed program was:" >&5
3121 sed 's/^/| /' conftest.$ac_ext >&5
3123 ac_retval=1
3125 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3126 as_fn_set_status $ac_retval
3128 } # ac_fn_objc_try_cpp
3130 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3131 # ----------------------------------------------------------
3132 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3133 # the include files in INCLUDES and setting the cache variable VAR
3134 # accordingly.
3135 ac_fn_objc_check_header_mongrel ()
3137 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3138 if eval \${$3+:} false; then :
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3140 $as_echo_n "checking for $2... " >&6; }
3141 if eval \${$3+:} false; then :
3142 $as_echo_n "(cached) " >&6
3144 eval ac_res=\$$3
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3146 $as_echo "$ac_res" >&6; }
3147 else
3148 # Is the header compilable?
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3150 $as_echo_n "checking $2 usability... " >&6; }
3151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3152 /* end confdefs.h. */
3154 #include <$2>
3155 _ACEOF
3156 if ac_fn_objc_try_compile "$LINENO"; then :
3157 ac_header_compiler=yes
3158 else
3159 ac_header_compiler=no
3161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3163 $as_echo "$ac_header_compiler" >&6; }
3165 # Is the header present?
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3167 $as_echo_n "checking $2 presence... " >&6; }
3168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3169 /* end confdefs.h. */
3170 #include <$2>
3171 _ACEOF
3172 if ac_fn_objc_try_cpp "$LINENO"; then :
3173 ac_header_preproc=yes
3174 else
3175 ac_header_preproc=no
3177 rm -f conftest.err conftest.i conftest.$ac_ext
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3179 $as_echo "$ac_header_preproc" >&6; }
3181 # So? What about this header?
3182 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3183 yes:no: )
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3185 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3187 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3189 no:yes:* )
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3191 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3193 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3195 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3197 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3199 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3200 ( $as_echo "## ------------------------------------ ##
3201 ## Report this to wine-devel@winehq.org ##
3202 ## ------------------------------------ ##"
3203 ) | sed "s/^/$as_me: WARNING: /" >&2
3205 esac
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3207 $as_echo_n "checking for $2... " >&6; }
3208 if eval \${$3+:} false; then :
3209 $as_echo_n "(cached) " >&6
3210 else
3211 eval "$3=\$ac_header_compiler"
3213 eval ac_res=\$$3
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3215 $as_echo "$ac_res" >&6; }
3217 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3219 } # ac_fn_objc_check_header_mongrel
3221 # ac_fn_c_check_func LINENO FUNC VAR
3222 # ----------------------------------
3223 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3224 ac_fn_c_check_func ()
3226 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3228 $as_echo_n "checking for $2... " >&6; }
3229 if eval \${$3+:} false; then :
3230 $as_echo_n "(cached) " >&6
3231 else
3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233 /* end confdefs.h. */
3234 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3236 #define $2 innocuous_$2
3238 /* System header to define __stub macros and hopefully few prototypes,
3239 which can conflict with char $2 (); below.
3240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3241 <limits.h> exists even on freestanding compilers. */
3243 #ifdef __STDC__
3244 # include <limits.h>
3245 #else
3246 # include <assert.h>
3247 #endif
3249 #undef $2
3251 /* Override any GCC internal prototype to avoid an error.
3252 Use char because int might match the return type of a GCC
3253 builtin and then its argument prototype would still apply. */
3254 #ifdef __cplusplus
3255 extern "C"
3256 #endif
3257 char $2 ();
3258 /* The GNU C library defines this for functions which it implements
3259 to always fail with ENOSYS. Some functions are actually named
3260 something starting with __ and the normal name is an alias. */
3261 #if defined __stub_$2 || defined __stub___$2
3262 choke me
3263 #endif
3266 main ()
3268 return $2 ();
3270 return 0;
3272 _ACEOF
3273 if ac_fn_c_try_link "$LINENO"; then :
3274 eval "$3=yes"
3275 else
3276 eval "$3=no"
3278 rm -f core conftest.err conftest.$ac_objext \
3279 conftest$ac_exeext conftest.$ac_ext
3281 eval ac_res=\$$3
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3283 $as_echo "$ac_res" >&6; }
3284 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3286 } # ac_fn_c_check_func
3288 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3289 # ----------------------------------------------------
3290 # Tries to find if the field MEMBER exists in type AGGR, after including
3291 # INCLUDES, setting cache variable VAR accordingly.
3292 ac_fn_c_check_member ()
3294 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3296 $as_echo_n "checking for $2.$3... " >&6; }
3297 if eval \${$4+:} false; then :
3298 $as_echo_n "(cached) " >&6
3299 else
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301 /* end confdefs.h. */
3304 main ()
3306 static $2 ac_aggr;
3307 if (ac_aggr.$3)
3308 return 0;
3310 return 0;
3312 _ACEOF
3313 if ac_fn_c_try_compile "$LINENO"; then :
3314 eval "$4=yes"
3315 else
3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3320 main ()
3322 static $2 ac_aggr;
3323 if (sizeof ac_aggr.$3)
3324 return 0;
3326 return 0;
3328 _ACEOF
3329 if ac_fn_c_try_compile "$LINENO"; then :
3330 eval "$4=yes"
3331 else
3332 eval "$4=no"
3334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3338 eval ac_res=\$$4
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3340 $as_echo "$ac_res" >&6; }
3341 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3343 } # ac_fn_c_check_member
3345 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3346 # -------------------------------------------
3347 # Tests whether TYPE exists after having included INCLUDES, setting cache
3348 # variable VAR accordingly.
3349 ac_fn_c_check_type ()
3351 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3353 $as_echo_n "checking for $2... " >&6; }
3354 if eval \${$3+:} false; then :
3355 $as_echo_n "(cached) " >&6
3356 else
3357 eval "$3=no"
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3362 main ()
3364 if (sizeof ($2))
3365 return 0;
3367 return 0;
3369 _ACEOF
3370 if ac_fn_c_try_compile "$LINENO"; then :
3371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3372 /* end confdefs.h. */
3375 main ()
3377 if (sizeof (($2)))
3378 return 0;
3380 return 0;
3382 _ACEOF
3383 if ac_fn_c_try_compile "$LINENO"; then :
3385 else
3386 eval "$3=yes"
3388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3392 eval ac_res=\$$3
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3394 $as_echo "$ac_res" >&6; }
3395 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3397 } # ac_fn_c_check_type
3398 cat >config.log <<_ACEOF
3399 This file contains any messages produced by compilers while
3400 running configure, to aid debugging if configure makes a mistake.
3402 It was created by Wine $as_me 4.3, which was
3403 generated by GNU Autoconf 2.69. Invocation command line was
3405 $ $0 $@
3407 _ACEOF
3408 exec 5>>config.log
3410 cat <<_ASUNAME
3411 ## --------- ##
3412 ## Platform. ##
3413 ## --------- ##
3415 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3416 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3417 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3418 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3419 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3421 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3422 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3424 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3425 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3426 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3427 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3428 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3429 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3430 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3432 _ASUNAME
3434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3435 for as_dir in $PATH
3437 IFS=$as_save_IFS
3438 test -z "$as_dir" && as_dir=.
3439 $as_echo "PATH: $as_dir"
3440 done
3441 IFS=$as_save_IFS
3443 } >&5
3445 cat >&5 <<_ACEOF
3448 ## ----------- ##
3449 ## Core tests. ##
3450 ## ----------- ##
3452 _ACEOF
3455 # Keep a trace of the command line.
3456 # Strip out --no-create and --no-recursion so they do not pile up.
3457 # Strip out --silent because we don't want to record it for future runs.
3458 # Also quote any args containing shell meta-characters.
3459 # Make two passes to allow for proper duplicate-argument suppression.
3460 ac_configure_args=
3461 ac_configure_args0=
3462 ac_configure_args1=
3463 ac_must_keep_next=false
3464 for ac_pass in 1 2
3466 for ac_arg
3468 case $ac_arg in
3469 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3470 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3471 | -silent | --silent | --silen | --sile | --sil)
3472 continue ;;
3473 *\'*)
3474 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3475 esac
3476 case $ac_pass in
3477 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3479 as_fn_append ac_configure_args1 " '$ac_arg'"
3480 if test $ac_must_keep_next = true; then
3481 ac_must_keep_next=false # Got value, back to normal.
3482 else
3483 case $ac_arg in
3484 *=* | --config-cache | -C | -disable-* | --disable-* \
3485 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3486 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3487 | -with-* | --with-* | -without-* | --without-* | --x)
3488 case "$ac_configure_args0 " in
3489 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3490 esac
3492 -* ) ac_must_keep_next=true ;;
3493 esac
3495 as_fn_append ac_configure_args " '$ac_arg'"
3497 esac
3498 done
3499 done
3500 { ac_configure_args0=; unset ac_configure_args0;}
3501 { ac_configure_args1=; unset ac_configure_args1;}
3503 # When interrupted or exit'd, cleanup temporary files, and complete
3504 # config.log. We remove comments because anyway the quotes in there
3505 # would cause problems or look ugly.
3506 # WARNING: Use '\'' to represent an apostrophe within the trap.
3507 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3508 trap 'exit_status=$?
3509 # Save into config.log some information that might help in debugging.
3511 echo
3513 $as_echo "## ---------------- ##
3514 ## Cache variables. ##
3515 ## ---------------- ##"
3516 echo
3517 # The following way of writing the cache mishandles newlines in values,
3519 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3520 eval ac_val=\$$ac_var
3521 case $ac_val in #(
3522 *${as_nl}*)
3523 case $ac_var in #(
3524 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3525 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3526 esac
3527 case $ac_var in #(
3528 _ | IFS | as_nl) ;; #(
3529 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3530 *) { eval $ac_var=; unset $ac_var;} ;;
3531 esac ;;
3532 esac
3533 done
3534 (set) 2>&1 |
3535 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3536 *${as_nl}ac_space=\ *)
3537 sed -n \
3538 "s/'\''/'\''\\\\'\'''\''/g;
3539 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3540 ;; #(
3542 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3544 esac |
3545 sort
3547 echo
3549 $as_echo "## ----------------- ##
3550 ## Output variables. ##
3551 ## ----------------- ##"
3552 echo
3553 for ac_var in $ac_subst_vars
3555 eval ac_val=\$$ac_var
3556 case $ac_val in
3557 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3558 esac
3559 $as_echo "$ac_var='\''$ac_val'\''"
3560 done | sort
3561 echo
3563 if test -n "$ac_subst_files"; then
3564 $as_echo "## ------------------- ##
3565 ## File substitutions. ##
3566 ## ------------------- ##"
3567 echo
3568 for ac_var in $ac_subst_files
3570 eval ac_val=\$$ac_var
3571 case $ac_val in
3572 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3573 esac
3574 $as_echo "$ac_var='\''$ac_val'\''"
3575 done | sort
3576 echo
3579 if test -s confdefs.h; then
3580 $as_echo "## ----------- ##
3581 ## confdefs.h. ##
3582 ## ----------- ##"
3583 echo
3584 cat confdefs.h
3585 echo
3587 test "$ac_signal" != 0 &&
3588 $as_echo "$as_me: caught signal $ac_signal"
3589 $as_echo "$as_me: exit $exit_status"
3590 } >&5
3591 rm -f core *.core core.conftest.* &&
3592 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3593 exit $exit_status
3595 for ac_signal in 1 2 13 15; do
3596 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3597 done
3598 ac_signal=0
3600 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3601 rm -f -r conftest* confdefs.h
3603 $as_echo "/* confdefs.h */" > confdefs.h
3605 # Predefined preprocessor variables.
3607 cat >>confdefs.h <<_ACEOF
3608 #define PACKAGE_NAME "$PACKAGE_NAME"
3609 _ACEOF
3611 cat >>confdefs.h <<_ACEOF
3612 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3613 _ACEOF
3615 cat >>confdefs.h <<_ACEOF
3616 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3617 _ACEOF
3619 cat >>confdefs.h <<_ACEOF
3620 #define PACKAGE_STRING "$PACKAGE_STRING"
3621 _ACEOF
3623 cat >>confdefs.h <<_ACEOF
3624 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3625 _ACEOF
3627 cat >>confdefs.h <<_ACEOF
3628 #define PACKAGE_URL "$PACKAGE_URL"
3629 _ACEOF
3632 # Let the site file select an alternate cache file if it wants to.
3633 # Prefer an explicitly selected file to automatically selected ones.
3634 ac_site_file1=NONE
3635 ac_site_file2=NONE
3636 if test -n "$CONFIG_SITE"; then
3637 # We do not want a PATH search for config.site.
3638 case $CONFIG_SITE in #((
3639 -*) ac_site_file1=./$CONFIG_SITE;;
3640 */*) ac_site_file1=$CONFIG_SITE;;
3641 *) ac_site_file1=./$CONFIG_SITE;;
3642 esac
3643 elif test "x$prefix" != xNONE; then
3644 ac_site_file1=$prefix/share/config.site
3645 ac_site_file2=$prefix/etc/config.site
3646 else
3647 ac_site_file1=$ac_default_prefix/share/config.site
3648 ac_site_file2=$ac_default_prefix/etc/config.site
3650 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3652 test "x$ac_site_file" = xNONE && continue
3653 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3655 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3656 sed 's/^/| /' "$ac_site_file" >&5
3657 . "$ac_site_file" \
3658 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3660 as_fn_error $? "failed to load site script $ac_site_file
3661 See \`config.log' for more details" "$LINENO" 5; }
3663 done
3665 if test -r "$cache_file"; then
3666 # Some versions of bash will fail to source /dev/null (special files
3667 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3668 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3670 $as_echo "$as_me: loading cache $cache_file" >&6;}
3671 case $cache_file in
3672 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3673 *) . "./$cache_file";;
3674 esac
3676 else
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3678 $as_echo "$as_me: creating cache $cache_file" >&6;}
3679 >$cache_file
3682 # Check that the precious variables saved in the cache have kept the same
3683 # value.
3684 ac_cache_corrupted=false
3685 for ac_var in $ac_precious_vars; do
3686 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3687 eval ac_new_set=\$ac_env_${ac_var}_set
3688 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3689 eval ac_new_val=\$ac_env_${ac_var}_value
3690 case $ac_old_set,$ac_new_set in
3691 set,)
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3693 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3694 ac_cache_corrupted=: ;;
3695 ,set)
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3697 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3698 ac_cache_corrupted=: ;;
3699 ,);;
3701 if test "x$ac_old_val" != "x$ac_new_val"; then
3702 # differences in whitespace do not lead to failure.
3703 ac_old_val_w=`echo x $ac_old_val`
3704 ac_new_val_w=`echo x $ac_new_val`
3705 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3707 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3708 ac_cache_corrupted=:
3709 else
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3711 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3712 eval $ac_var=\$ac_old_val
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3715 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3717 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3718 fi;;
3719 esac
3720 # Pass precious variables to config.status.
3721 if test "$ac_new_set" = set; then
3722 case $ac_new_val in
3723 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3724 *) ac_arg=$ac_var=$ac_new_val ;;
3725 esac
3726 case " $ac_configure_args " in
3727 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3728 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3729 esac
3731 done
3732 if $ac_cache_corrupted; then
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3736 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3737 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3739 ## -------------------- ##
3740 ## Main body of script. ##
3741 ## -------------------- ##
3743 ac_ext=c
3744 ac_cpp='$CPP $CPPFLAGS'
3745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3751 ac_config_headers="$ac_config_headers include/config.h"
3753 ac_aux_dir=
3754 for ac_dir in tools "$srcdir"/tools; do
3755 if test -f "$ac_dir/install-sh"; then
3756 ac_aux_dir=$ac_dir
3757 ac_install_sh="$ac_aux_dir/install-sh -c"
3758 break
3759 elif test -f "$ac_dir/install.sh"; then
3760 ac_aux_dir=$ac_dir
3761 ac_install_sh="$ac_aux_dir/install.sh -c"
3762 break
3763 elif test -f "$ac_dir/shtool"; then
3764 ac_aux_dir=$ac_dir
3765 ac_install_sh="$ac_aux_dir/shtool install -c"
3766 break
3768 done
3769 if test -z "$ac_aux_dir"; then
3770 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3773 # These three variables are undocumented and unsupported,
3774 # and are intended to be withdrawn in a future Autoconf release.
3775 # They can cause serious problems if a builder's source tree is in a directory
3776 # whose full name contains unusual characters.
3777 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3778 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3779 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3783 libwine_version="1.0"
3787 # Check whether --enable-win16 was given.
3788 if test "${enable_win16+set}" = set; then :
3789 enableval=$enable_win16;
3792 # Check whether --enable-win64 was given.
3793 if test "${enable_win64+set}" = set; then :
3794 enableval=$enable_win64;
3797 # Check whether --enable-tests was given.
3798 if test "${enable_tests+set}" = set; then :
3799 enableval=$enable_tests;
3802 # Check whether --enable-maintainer-mode was given.
3803 if test "${enable_maintainer_mode+set}" = set; then :
3804 enableval=$enable_maintainer_mode;
3809 # Check whether --with-alsa was given.
3810 if test "${with_alsa+set}" = set; then :
3811 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3815 # Check whether --with-capi was given.
3816 if test "${with_capi+set}" = set; then :
3817 withval=$with_capi;
3821 # Check whether --with-cms was given.
3822 if test "${with_cms+set}" = set; then :
3823 withval=$with_cms;
3827 # Check whether --with-coreaudio was given.
3828 if test "${with_coreaudio+set}" = set; then :
3829 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3833 # Check whether --with-cups was given.
3834 if test "${with_cups+set}" = set; then :
3835 withval=$with_cups;
3839 # Check whether --with-curses was given.
3840 if test "${with_curses+set}" = set; then :
3841 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3845 # Check whether --with-dbus was given.
3846 if test "${with_dbus+set}" = set; then :
3847 withval=$with_dbus;
3851 # Check whether --with-faudio was given.
3852 if test "${with_faudio+set}" = set; then :
3853 withval=$with_faudio;
3857 # Check whether --with-float-abi was given.
3858 if test "${with_float_abi+set}" = set; then :
3859 withval=$with_float_abi;
3863 # Check whether --with-fontconfig was given.
3864 if test "${with_fontconfig+set}" = set; then :
3865 withval=$with_fontconfig;
3869 # Check whether --with-freetype was given.
3870 if test "${with_freetype+set}" = set; then :
3871 withval=$with_freetype;
3875 # Check whether --with-gettext was given.
3876 if test "${with_gettext+set}" = set; then :
3877 withval=$with_gettext;
3881 # Check whether --with-gettextpo was given.
3882 if test "${with_gettextpo+set}" = set; then :
3883 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3887 # Check whether --with-gphoto was given.
3888 if test "${with_gphoto+set}" = set; then :
3889 withval=$with_gphoto;
3893 # Check whether --with-glu was given.
3894 if test "${with_glu+set}" = set; then :
3895 withval=$with_glu;
3899 # Check whether --with-gnutls was given.
3900 if test "${with_gnutls+set}" = set; then :
3901 withval=$with_gnutls;
3905 # Check whether --with-gsm was given.
3906 if test "${with_gsm+set}" = set; then :
3907 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3911 # Check whether --with-gssapi was given.
3912 if test "${with_gssapi+set}" = set; then :
3913 withval=$with_gssapi;
3917 # Check whether --with-gstreamer was given.
3918 if test "${with_gstreamer+set}" = set; then :
3919 withval=$with_gstreamer;
3923 # Check whether --with-hal was given.
3924 if test "${with_hal+set}" = set; then :
3925 withval=$with_hal;
3929 # Check whether --with-jpeg was given.
3930 if test "${with_jpeg+set}" = set; then :
3931 withval=$with_jpeg;
3935 # Check whether --with-krb5 was given.
3936 if test "${with_krb5+set}" = set; then :
3937 withval=$with_krb5;
3941 # Check whether --with-ldap was given.
3942 if test "${with_ldap+set}" = set; then :
3943 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3947 # Check whether --with-mpg123 was given.
3948 if test "${with_mpg123+set}" = set; then :
3949 withval=$with_mpg123;
3953 # Check whether --with-netapi was given.
3954 if test "${with_netapi+set}" = set; then :
3955 withval=$with_netapi;
3959 # Check whether --with-openal was given.
3960 if test "${with_openal+set}" = set; then :
3961 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3965 # Check whether --with-opencl was given.
3966 if test "${with_opencl+set}" = set; then :
3967 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3971 # Check whether --with-opengl was given.
3972 if test "${with_opengl+set}" = set; then :
3973 withval=$with_opengl;
3977 # Check whether --with-osmesa was given.
3978 if test "${with_osmesa+set}" = set; then :
3979 withval=$with_osmesa;
3983 # Check whether --with-oss was given.
3984 if test "${with_oss+set}" = set; then :
3985 withval=$with_oss;
3989 # Check whether --with-pcap was given.
3990 if test "${with_pcap+set}" = set; then :
3991 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3995 # Check whether --with-png was given.
3996 if test "${with_png+set}" = set; then :
3997 withval=$with_png;
4001 # Check whether --with-pthread was given.
4002 if test "${with_pthread+set}" = set; then :
4003 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4007 # Check whether --with-pulse was given.
4008 if test "${with_pulse+set}" = set; then :
4009 withval=$with_pulse;
4013 # Check whether --with-sane was given.
4014 if test "${with_sane+set}" = set; then :
4015 withval=$with_sane;
4019 # Check whether --with-sdl was given.
4020 if test "${with_sdl+set}" = set; then :
4021 withval=$with_sdl;
4025 # Check whether --with-tiff was given.
4026 if test "${with_tiff+set}" = set; then :
4027 withval=$with_tiff;
4031 # Check whether --with-udev was given.
4032 if test "${with_udev+set}" = set; then :
4033 withval=$with_udev;
4037 # Check whether --with-v4l was given.
4038 if test "${with_v4l+set}" = set; then :
4039 withval=$with_v4l;
4043 # Check whether --with-vkd3d was given.
4044 if test "${with_vkd3d+set}" = set; then :
4045 withval=$with_vkd3d;
4049 # Check whether --with-vulkan was given.
4050 if test "${with_vulkan+set}" = set; then :
4051 withval=$with_vulkan;
4055 # Check whether --with-xcomposite was given.
4056 if test "${with_xcomposite+set}" = set; then :
4057 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4061 # Check whether --with-xcursor was given.
4062 if test "${with_xcursor+set}" = set; then :
4063 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4067 # Check whether --with-xfixes was given.
4068 if test "${with_xfixes+set}" = set; then :
4069 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4073 # Check whether --with-xinerama was given.
4074 if test "${with_xinerama+set}" = set; then :
4075 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4079 # Check whether --with-xinput was given.
4080 if test "${with_xinput+set}" = set; then :
4081 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4085 # Check whether --with-xinput2 was given.
4086 if test "${with_xinput2+set}" = set; then :
4087 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4091 # Check whether --with-xml was given.
4092 if test "${with_xml+set}" = set; then :
4093 withval=$with_xml;
4097 # Check whether --with-xrandr was given.
4098 if test "${with_xrandr+set}" = set; then :
4099 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4103 # Check whether --with-xrender was given.
4104 if test "${with_xrender+set}" = set; then :
4105 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4109 # Check whether --with-xshape was given.
4110 if test "${with_xshape+set}" = set; then :
4111 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4115 # Check whether --with-xshm was given.
4116 if test "${with_xshm+set}" = set; then :
4117 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4121 # Check whether --with-xslt was given.
4122 if test "${with_xslt+set}" = set; then :
4123 withval=$with_xslt;
4127 # Check whether --with-xxf86vm was given.
4128 if test "${with_xxf86vm+set}" = set; then :
4129 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
4133 # Check whether --with-zlib was given.
4134 if test "${with_zlib+set}" = set; then :
4135 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4140 # Check whether --with-wine-tools was given.
4141 if test "${with_wine_tools+set}" = set; then :
4142 withval=$with_wine_tools;
4146 # Check whether --with-wine64 was given.
4147 if test "${with_wine64+set}" = set; then :
4148 withval=$with_wine64;
4152 # Make sure we can run config.sub.
4153 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4154 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4157 $as_echo_n "checking build system type... " >&6; }
4158 if ${ac_cv_build+:} false; then :
4159 $as_echo_n "(cached) " >&6
4160 else
4161 ac_build_alias=$build_alias
4162 test "x$ac_build_alias" = x &&
4163 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4164 test "x$ac_build_alias" = x &&
4165 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4166 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4167 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4171 $as_echo "$ac_cv_build" >&6; }
4172 case $ac_cv_build in
4173 *-*-*) ;;
4174 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4175 esac
4176 build=$ac_cv_build
4177 ac_save_IFS=$IFS; IFS='-'
4178 set x $ac_cv_build
4179 shift
4180 build_cpu=$1
4181 build_vendor=$2
4182 shift; shift
4183 # Remember, the first character of IFS is used to create $*,
4184 # except with old shells:
4185 build_os=$*
4186 IFS=$ac_save_IFS
4187 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4191 $as_echo_n "checking host system type... " >&6; }
4192 if ${ac_cv_host+:} false; then :
4193 $as_echo_n "(cached) " >&6
4194 else
4195 if test "x$host_alias" = x; then
4196 ac_cv_host=$ac_cv_build
4197 else
4198 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4199 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4204 $as_echo "$ac_cv_host" >&6; }
4205 case $ac_cv_host in
4206 *-*-*) ;;
4207 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4208 esac
4209 host=$ac_cv_host
4210 ac_save_IFS=$IFS; IFS='-'
4211 set x $ac_cv_host
4212 shift
4213 host_cpu=$1
4214 host_vendor=$2
4215 shift; shift
4216 # Remember, the first character of IFS is used to create $*,
4217 # except with old shells:
4218 host_os=$*
4219 IFS=$ac_save_IFS
4220 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4224 case "$srcdir" in
4225 .) ;;
4226 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4227 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4228 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4229 fi ;;
4230 esac
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4234 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4235 set x ${MAKE-make}
4236 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4237 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4238 $as_echo_n "(cached) " >&6
4239 else
4240 cat >conftest.make <<\_ACEOF
4241 SHELL = /bin/sh
4242 all:
4243 @echo '@@@%%%=$(MAKE)=@@@%%%'
4244 _ACEOF
4245 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4246 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4247 *@@@%%%=?*=@@@%%%*)
4248 eval ac_cv_prog_make_${ac_make}_set=yes;;
4250 eval ac_cv_prog_make_${ac_make}_set=no;;
4251 esac
4252 rm -f conftest.make
4254 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4256 $as_echo "yes" >&6; }
4257 SET_MAKE=
4258 else
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4260 $as_echo "no" >&6; }
4261 SET_MAKE="MAKE=${MAKE-make}"
4264 ac_ext=c
4265 ac_cpp='$CPP $CPPFLAGS'
4266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4269 if test -n "$ac_tool_prefix"; then
4270 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4271 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4273 $as_echo_n "checking for $ac_word... " >&6; }
4274 if ${ac_cv_prog_CC+:} false; then :
4275 $as_echo_n "(cached) " >&6
4276 else
4277 if test -n "$CC"; then
4278 ac_cv_prog_CC="$CC" # Let the user override the test.
4279 else
4280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4281 for as_dir in $PATH
4283 IFS=$as_save_IFS
4284 test -z "$as_dir" && as_dir=.
4285 for ac_exec_ext in '' $ac_executable_extensions; do
4286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4287 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4289 break 2
4291 done
4292 done
4293 IFS=$as_save_IFS
4297 CC=$ac_cv_prog_CC
4298 if test -n "$CC"; then
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4300 $as_echo "$CC" >&6; }
4301 else
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4303 $as_echo "no" >&6; }
4308 if test -z "$ac_cv_prog_CC"; then
4309 ac_ct_CC=$CC
4310 # Extract the first word of "gcc", so it can be a program name with args.
4311 set dummy gcc; ac_word=$2
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4313 $as_echo_n "checking for $ac_word... " >&6; }
4314 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4315 $as_echo_n "(cached) " >&6
4316 else
4317 if test -n "$ac_ct_CC"; then
4318 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4319 else
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4321 for as_dir in $PATH
4323 IFS=$as_save_IFS
4324 test -z "$as_dir" && as_dir=.
4325 for ac_exec_ext in '' $ac_executable_extensions; do
4326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4327 ac_cv_prog_ac_ct_CC="gcc"
4328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 break 2
4331 done
4332 done
4333 IFS=$as_save_IFS
4337 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4338 if test -n "$ac_ct_CC"; then
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4340 $as_echo "$ac_ct_CC" >&6; }
4341 else
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4343 $as_echo "no" >&6; }
4346 if test "x$ac_ct_CC" = x; then
4347 CC=""
4348 else
4349 case $cross_compiling:$ac_tool_warned in
4350 yes:)
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4353 ac_tool_warned=yes ;;
4354 esac
4355 CC=$ac_ct_CC
4357 else
4358 CC="$ac_cv_prog_CC"
4361 if test -z "$CC"; then
4362 if test -n "$ac_tool_prefix"; then
4363 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4364 set dummy ${ac_tool_prefix}cc; ac_word=$2
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4366 $as_echo_n "checking for $ac_word... " >&6; }
4367 if ${ac_cv_prog_CC+:} false; then :
4368 $as_echo_n "(cached) " >&6
4369 else
4370 if test -n "$CC"; then
4371 ac_cv_prog_CC="$CC" # Let the user override the test.
4372 else
4373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4374 for as_dir in $PATH
4376 IFS=$as_save_IFS
4377 test -z "$as_dir" && as_dir=.
4378 for ac_exec_ext in '' $ac_executable_extensions; do
4379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4380 ac_cv_prog_CC="${ac_tool_prefix}cc"
4381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4382 break 2
4384 done
4385 done
4386 IFS=$as_save_IFS
4390 CC=$ac_cv_prog_CC
4391 if test -n "$CC"; then
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4393 $as_echo "$CC" >&6; }
4394 else
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4396 $as_echo "no" >&6; }
4402 if test -z "$CC"; then
4403 # Extract the first word of "cc", so it can be a program name with args.
4404 set dummy cc; ac_word=$2
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4406 $as_echo_n "checking for $ac_word... " >&6; }
4407 if ${ac_cv_prog_CC+:} false; then :
4408 $as_echo_n "(cached) " >&6
4409 else
4410 if test -n "$CC"; then
4411 ac_cv_prog_CC="$CC" # Let the user override the test.
4412 else
4413 ac_prog_rejected=no
4414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415 for as_dir in $PATH
4417 IFS=$as_save_IFS
4418 test -z "$as_dir" && as_dir=.
4419 for ac_exec_ext in '' $ac_executable_extensions; do
4420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4421 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4422 ac_prog_rejected=yes
4423 continue
4425 ac_cv_prog_CC="cc"
4426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 break 2
4429 done
4430 done
4431 IFS=$as_save_IFS
4433 if test $ac_prog_rejected = yes; then
4434 # We found a bogon in the path, so make sure we never use it.
4435 set dummy $ac_cv_prog_CC
4436 shift
4437 if test $# != 0; then
4438 # We chose a different compiler from the bogus one.
4439 # However, it has the same basename, so the bogon will be chosen
4440 # first if we set CC to just the basename; use the full file name.
4441 shift
4442 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4447 CC=$ac_cv_prog_CC
4448 if test -n "$CC"; then
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4450 $as_echo "$CC" >&6; }
4451 else
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4453 $as_echo "no" >&6; }
4458 if test -z "$CC"; then
4459 if test -n "$ac_tool_prefix"; then
4460 for ac_prog in cl.exe
4462 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4463 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4465 $as_echo_n "checking for $ac_word... " >&6; }
4466 if ${ac_cv_prog_CC+:} false; then :
4467 $as_echo_n "(cached) " >&6
4468 else
4469 if test -n "$CC"; then
4470 ac_cv_prog_CC="$CC" # Let the user override the test.
4471 else
4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4473 for as_dir in $PATH
4475 IFS=$as_save_IFS
4476 test -z "$as_dir" && as_dir=.
4477 for ac_exec_ext in '' $ac_executable_extensions; do
4478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4479 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4481 break 2
4483 done
4484 done
4485 IFS=$as_save_IFS
4489 CC=$ac_cv_prog_CC
4490 if test -n "$CC"; then
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4492 $as_echo "$CC" >&6; }
4493 else
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4495 $as_echo "no" >&6; }
4499 test -n "$CC" && break
4500 done
4502 if test -z "$CC"; then
4503 ac_ct_CC=$CC
4504 for ac_prog in cl.exe
4506 # Extract the first word of "$ac_prog", so it can be a program name with args.
4507 set dummy $ac_prog; ac_word=$2
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4509 $as_echo_n "checking for $ac_word... " >&6; }
4510 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4511 $as_echo_n "(cached) " >&6
4512 else
4513 if test -n "$ac_ct_CC"; then
4514 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4515 else
4516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4517 for as_dir in $PATH
4519 IFS=$as_save_IFS
4520 test -z "$as_dir" && as_dir=.
4521 for ac_exec_ext in '' $ac_executable_extensions; do
4522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4523 ac_cv_prog_ac_ct_CC="$ac_prog"
4524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4525 break 2
4527 done
4528 done
4529 IFS=$as_save_IFS
4533 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4534 if test -n "$ac_ct_CC"; then
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4536 $as_echo "$ac_ct_CC" >&6; }
4537 else
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4539 $as_echo "no" >&6; }
4543 test -n "$ac_ct_CC" && break
4544 done
4546 if test "x$ac_ct_CC" = x; then
4547 CC=""
4548 else
4549 case $cross_compiling:$ac_tool_warned in
4550 yes:)
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4553 ac_tool_warned=yes ;;
4554 esac
4555 CC=$ac_ct_CC
4562 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4564 as_fn_error $? "no acceptable C compiler found in \$PATH
4565 See \`config.log' for more details" "$LINENO" 5; }
4567 # Provide some information about the compiler.
4568 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4569 set X $ac_compile
4570 ac_compiler=$2
4571 for ac_option in --version -v -V -qversion; do
4572 { { ac_try="$ac_compiler $ac_option >&5"
4573 case "(($ac_try" in
4574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4575 *) ac_try_echo=$ac_try;;
4576 esac
4577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4578 $as_echo "$ac_try_echo"; } >&5
4579 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4580 ac_status=$?
4581 if test -s conftest.err; then
4582 sed '10a\
4583 ... rest of stderr output deleted ...
4584 10q' conftest.err >conftest.er1
4585 cat conftest.er1 >&5
4587 rm -f conftest.er1 conftest.err
4588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4589 test $ac_status = 0; }
4590 done
4592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h. */
4596 main ()
4600 return 0;
4602 _ACEOF
4603 ac_clean_files_save=$ac_clean_files
4604 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4605 # Try to create an executable without -o first, disregard a.out.
4606 # It will help us diagnose broken compilers, and finding out an intuition
4607 # of exeext.
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4609 $as_echo_n "checking whether the C compiler works... " >&6; }
4610 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4612 # The possible output files:
4613 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4615 ac_rmfiles=
4616 for ac_file in $ac_files
4618 case $ac_file in
4619 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4620 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4621 esac
4622 done
4623 rm -f $ac_rmfiles
4625 if { { ac_try="$ac_link_default"
4626 case "(($ac_try" in
4627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4628 *) ac_try_echo=$ac_try;;
4629 esac
4630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4631 $as_echo "$ac_try_echo"; } >&5
4632 (eval "$ac_link_default") 2>&5
4633 ac_status=$?
4634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4635 test $ac_status = 0; }; then :
4636 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4637 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4638 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4639 # so that the user can short-circuit this test for compilers unknown to
4640 # Autoconf.
4641 for ac_file in $ac_files ''
4643 test -f "$ac_file" || continue
4644 case $ac_file in
4645 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4647 [ab].out )
4648 # We found the default executable, but exeext='' is most
4649 # certainly right.
4650 break;;
4651 *.* )
4652 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4653 then :; else
4654 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4656 # We set ac_cv_exeext here because the later test for it is not
4657 # safe: cross compilers may not add the suffix if given an `-o'
4658 # argument, so we may need to know it at that point already.
4659 # Even if this section looks crufty: it has the advantage of
4660 # actually working.
4661 break;;
4663 break;;
4664 esac
4665 done
4666 test "$ac_cv_exeext" = no && ac_cv_exeext=
4668 else
4669 ac_file=''
4671 if test -z "$ac_file"; then :
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4673 $as_echo "no" >&6; }
4674 $as_echo "$as_me: failed program was:" >&5
4675 sed 's/^/| /' conftest.$ac_ext >&5
4677 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4679 as_fn_error 77 "C compiler cannot create executables
4680 See \`config.log' for more details" "$LINENO" 5; }
4681 else
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4683 $as_echo "yes" >&6; }
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4686 $as_echo_n "checking for C compiler default output file name... " >&6; }
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4688 $as_echo "$ac_file" >&6; }
4689 ac_exeext=$ac_cv_exeext
4691 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4692 ac_clean_files=$ac_clean_files_save
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4694 $as_echo_n "checking for suffix of executables... " >&6; }
4695 if { { ac_try="$ac_link"
4696 case "(($ac_try" in
4697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4698 *) ac_try_echo=$ac_try;;
4699 esac
4700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4701 $as_echo "$ac_try_echo"; } >&5
4702 (eval "$ac_link") 2>&5
4703 ac_status=$?
4704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4705 test $ac_status = 0; }; then :
4706 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4707 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4708 # work properly (i.e., refer to `conftest.exe'), while it won't with
4709 # `rm'.
4710 for ac_file in conftest.exe conftest conftest.*; do
4711 test -f "$ac_file" || continue
4712 case $ac_file in
4713 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4714 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4715 break;;
4716 * ) break;;
4717 esac
4718 done
4719 else
4720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4722 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4723 See \`config.log' for more details" "$LINENO" 5; }
4725 rm -f conftest conftest$ac_cv_exeext
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4727 $as_echo "$ac_cv_exeext" >&6; }
4729 rm -f conftest.$ac_ext
4730 EXEEXT=$ac_cv_exeext
4731 ac_exeext=$EXEEXT
4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4734 #include <stdio.h>
4736 main ()
4738 FILE *f = fopen ("conftest.out", "w");
4739 return ferror (f) || fclose (f) != 0;
4742 return 0;
4744 _ACEOF
4745 ac_clean_files="$ac_clean_files conftest.out"
4746 # Check that the compiler produces executables we can run. If not, either
4747 # the compiler is broken, or we cross compile.
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4749 $as_echo_n "checking whether we are cross compiling... " >&6; }
4750 if test "$cross_compiling" != yes; then
4751 { { ac_try="$ac_link"
4752 case "(($ac_try" in
4753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4754 *) ac_try_echo=$ac_try;;
4755 esac
4756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4757 $as_echo "$ac_try_echo"; } >&5
4758 (eval "$ac_link") 2>&5
4759 ac_status=$?
4760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4761 test $ac_status = 0; }
4762 if { ac_try='./conftest$ac_cv_exeext'
4763 { { case "(($ac_try" in
4764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4765 *) ac_try_echo=$ac_try;;
4766 esac
4767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4768 $as_echo "$ac_try_echo"; } >&5
4769 (eval "$ac_try") 2>&5
4770 ac_status=$?
4771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4772 test $ac_status = 0; }; }; then
4773 cross_compiling=no
4774 else
4775 if test "$cross_compiling" = maybe; then
4776 cross_compiling=yes
4777 else
4778 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4780 as_fn_error $? "cannot run C compiled programs.
4781 If you meant to cross compile, use \`--host'.
4782 See \`config.log' for more details" "$LINENO" 5; }
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4787 $as_echo "$cross_compiling" >&6; }
4789 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4790 ac_clean_files=$ac_clean_files_save
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4792 $as_echo_n "checking for suffix of object files... " >&6; }
4793 if ${ac_cv_objext+:} false; then :
4794 $as_echo_n "(cached) " >&6
4795 else
4796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4800 main ()
4804 return 0;
4806 _ACEOF
4807 rm -f conftest.o conftest.obj
4808 if { { ac_try="$ac_compile"
4809 case "(($ac_try" in
4810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4811 *) ac_try_echo=$ac_try;;
4812 esac
4813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4814 $as_echo "$ac_try_echo"; } >&5
4815 (eval "$ac_compile") 2>&5
4816 ac_status=$?
4817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4818 test $ac_status = 0; }; then :
4819 for ac_file in conftest.o conftest.obj conftest.*; do
4820 test -f "$ac_file" || continue;
4821 case $ac_file in
4822 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4823 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4824 break;;
4825 esac
4826 done
4827 else
4828 $as_echo "$as_me: failed program was:" >&5
4829 sed 's/^/| /' conftest.$ac_ext >&5
4831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4833 as_fn_error $? "cannot compute suffix of object files: cannot compile
4834 See \`config.log' for more details" "$LINENO" 5; }
4836 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4839 $as_echo "$ac_cv_objext" >&6; }
4840 OBJEXT=$ac_cv_objext
4841 ac_objext=$OBJEXT
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4843 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4844 if ${ac_cv_c_compiler_gnu+:} false; then :
4845 $as_echo_n "(cached) " >&6
4846 else
4847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4848 /* end confdefs.h. */
4851 main ()
4853 #ifndef __GNUC__
4854 choke me
4855 #endif
4858 return 0;
4860 _ACEOF
4861 if ac_fn_c_try_compile "$LINENO"; then :
4862 ac_compiler_gnu=yes
4863 else
4864 ac_compiler_gnu=no
4866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4867 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4871 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4872 if test $ac_compiler_gnu = yes; then
4873 GCC=yes
4874 else
4875 GCC=
4877 ac_test_CFLAGS=${CFLAGS+set}
4878 ac_save_CFLAGS=$CFLAGS
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4880 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4881 if ${ac_cv_prog_cc_g+:} false; then :
4882 $as_echo_n "(cached) " >&6
4883 else
4884 ac_save_c_werror_flag=$ac_c_werror_flag
4885 ac_c_werror_flag=yes
4886 ac_cv_prog_cc_g=no
4887 CFLAGS="-g"
4888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4889 /* end confdefs.h. */
4892 main ()
4896 return 0;
4898 _ACEOF
4899 if ac_fn_c_try_compile "$LINENO"; then :
4900 ac_cv_prog_cc_g=yes
4901 else
4902 CFLAGS=""
4903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4904 /* end confdefs.h. */
4907 main ()
4911 return 0;
4913 _ACEOF
4914 if ac_fn_c_try_compile "$LINENO"; then :
4916 else
4917 ac_c_werror_flag=$ac_save_c_werror_flag
4918 CFLAGS="-g"
4919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4920 /* end confdefs.h. */
4923 main ()
4927 return 0;
4929 _ACEOF
4930 if ac_fn_c_try_compile "$LINENO"; then :
4931 ac_cv_prog_cc_g=yes
4933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4938 ac_c_werror_flag=$ac_save_c_werror_flag
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4941 $as_echo "$ac_cv_prog_cc_g" >&6; }
4942 if test "$ac_test_CFLAGS" = set; then
4943 CFLAGS=$ac_save_CFLAGS
4944 elif test $ac_cv_prog_cc_g = yes; then
4945 if test "$GCC" = yes; then
4946 CFLAGS="-g -O2"
4947 else
4948 CFLAGS="-g"
4950 else
4951 if test "$GCC" = yes; then
4952 CFLAGS="-O2"
4953 else
4954 CFLAGS=
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4958 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4959 if ${ac_cv_prog_cc_c89+:} false; then :
4960 $as_echo_n "(cached) " >&6
4961 else
4962 ac_cv_prog_cc_c89=no
4963 ac_save_CC=$CC
4964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4965 /* end confdefs.h. */
4966 #include <stdarg.h>
4967 #include <stdio.h>
4968 struct stat;
4969 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4970 struct buf { int x; };
4971 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4972 static char *e (p, i)
4973 char **p;
4974 int i;
4976 return p[i];
4978 static char *f (char * (*g) (char **, int), char **p, ...)
4980 char *s;
4981 va_list v;
4982 va_start (v,p);
4983 s = g (p, va_arg (v,int));
4984 va_end (v);
4985 return s;
4988 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4989 function prototypes and stuff, but not '\xHH' hex character constants.
4990 These don't provoke an error unfortunately, instead are silently treated
4991 as 'x'. The following induces an error, until -std is added to get
4992 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4993 array size at least. It's necessary to write '\x00'==0 to get something
4994 that's true only with -std. */
4995 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4997 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4998 inside strings and character constants. */
4999 #define FOO(x) 'x'
5000 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5002 int test (int i, double x);
5003 struct s1 {int (*f) (int a);};
5004 struct s2 {int (*f) (double a);};
5005 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5006 int argc;
5007 char **argv;
5009 main ()
5011 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5013 return 0;
5015 _ACEOF
5016 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5017 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5019 CC="$ac_save_CC $ac_arg"
5020 if ac_fn_c_try_compile "$LINENO"; then :
5021 ac_cv_prog_cc_c89=$ac_arg
5023 rm -f core conftest.err conftest.$ac_objext
5024 test "x$ac_cv_prog_cc_c89" != "xno" && break
5025 done
5026 rm -f conftest.$ac_ext
5027 CC=$ac_save_CC
5030 # AC_CACHE_VAL
5031 case "x$ac_cv_prog_cc_c89" in
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5034 $as_echo "none needed" >&6; } ;;
5035 xno)
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5037 $as_echo "unsupported" >&6; } ;;
5039 CC="$CC $ac_cv_prog_cc_c89"
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5041 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5042 esac
5043 if test "x$ac_cv_prog_cc_c89" != xno; then :
5047 ac_ext=c
5048 ac_cpp='$CPP $CPPFLAGS'
5049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5053 ac_ext=cpp
5054 ac_cpp='$CXXCPP $CPPFLAGS'
5055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5058 if test -z "$CXX"; then
5059 if test -n "$CCC"; then
5060 CXX=$CCC
5061 else
5062 if test -n "$ac_tool_prefix"; then
5063 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5065 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5066 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5068 $as_echo_n "checking for $ac_word... " >&6; }
5069 if ${ac_cv_prog_CXX+:} false; then :
5070 $as_echo_n "(cached) " >&6
5071 else
5072 if test -n "$CXX"; then
5073 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5074 else
5075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076 for as_dir in $PATH
5078 IFS=$as_save_IFS
5079 test -z "$as_dir" && as_dir=.
5080 for ac_exec_ext in '' $ac_executable_extensions; do
5081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5082 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5084 break 2
5086 done
5087 done
5088 IFS=$as_save_IFS
5092 CXX=$ac_cv_prog_CXX
5093 if test -n "$CXX"; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5095 $as_echo "$CXX" >&6; }
5096 else
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098 $as_echo "no" >&6; }
5102 test -n "$CXX" && break
5103 done
5105 if test -z "$CXX"; then
5106 ac_ct_CXX=$CXX
5107 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5109 # Extract the first word of "$ac_prog", so it can be a program name with args.
5110 set dummy $ac_prog; ac_word=$2
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5112 $as_echo_n "checking for $ac_word... " >&6; }
5113 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5114 $as_echo_n "(cached) " >&6
5115 else
5116 if test -n "$ac_ct_CXX"; then
5117 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5118 else
5119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5120 for as_dir in $PATH
5122 IFS=$as_save_IFS
5123 test -z "$as_dir" && as_dir=.
5124 for ac_exec_ext in '' $ac_executable_extensions; do
5125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5126 ac_cv_prog_ac_ct_CXX="$ac_prog"
5127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5128 break 2
5130 done
5131 done
5132 IFS=$as_save_IFS
5136 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5137 if test -n "$ac_ct_CXX"; then
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5139 $as_echo "$ac_ct_CXX" >&6; }
5140 else
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 $as_echo "no" >&6; }
5146 test -n "$ac_ct_CXX" && break
5147 done
5149 if test "x$ac_ct_CXX" = x; then
5150 CXX="g++"
5151 else
5152 case $cross_compiling:$ac_tool_warned in
5153 yes:)
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5156 ac_tool_warned=yes ;;
5157 esac
5158 CXX=$ac_ct_CXX
5164 # Provide some information about the compiler.
5165 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5166 set X $ac_compile
5167 ac_compiler=$2
5168 for ac_option in --version -v -V -qversion; do
5169 { { ac_try="$ac_compiler $ac_option >&5"
5170 case "(($ac_try" in
5171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5172 *) ac_try_echo=$ac_try;;
5173 esac
5174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5175 $as_echo "$ac_try_echo"; } >&5
5176 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5177 ac_status=$?
5178 if test -s conftest.err; then
5179 sed '10a\
5180 ... rest of stderr output deleted ...
5181 10q' conftest.err >conftest.er1
5182 cat conftest.er1 >&5
5184 rm -f conftest.er1 conftest.err
5185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5186 test $ac_status = 0; }
5187 done
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5190 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5191 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5192 $as_echo_n "(cached) " >&6
5193 else
5194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5195 /* end confdefs.h. */
5198 main ()
5200 #ifndef __GNUC__
5201 choke me
5202 #endif
5205 return 0;
5207 _ACEOF
5208 if ac_fn_cxx_try_compile "$LINENO"; then :
5209 ac_compiler_gnu=yes
5210 else
5211 ac_compiler_gnu=no
5213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5214 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5218 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5219 if test $ac_compiler_gnu = yes; then
5220 GXX=yes
5221 else
5222 GXX=
5224 ac_test_CXXFLAGS=${CXXFLAGS+set}
5225 ac_save_CXXFLAGS=$CXXFLAGS
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5227 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5228 if ${ac_cv_prog_cxx_g+:} false; then :
5229 $as_echo_n "(cached) " >&6
5230 else
5231 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5232 ac_cxx_werror_flag=yes
5233 ac_cv_prog_cxx_g=no
5234 CXXFLAGS="-g"
5235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5236 /* end confdefs.h. */
5239 main ()
5243 return 0;
5245 _ACEOF
5246 if ac_fn_cxx_try_compile "$LINENO"; then :
5247 ac_cv_prog_cxx_g=yes
5248 else
5249 CXXFLAGS=""
5250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5251 /* end confdefs.h. */
5254 main ()
5258 return 0;
5260 _ACEOF
5261 if ac_fn_cxx_try_compile "$LINENO"; then :
5263 else
5264 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5265 CXXFLAGS="-g"
5266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5267 /* end confdefs.h. */
5270 main ()
5274 return 0;
5276 _ACEOF
5277 if ac_fn_cxx_try_compile "$LINENO"; then :
5278 ac_cv_prog_cxx_g=yes
5280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5285 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5288 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5289 if test "$ac_test_CXXFLAGS" = set; then
5290 CXXFLAGS=$ac_save_CXXFLAGS
5291 elif test $ac_cv_prog_cxx_g = yes; then
5292 if test "$GXX" = yes; then
5293 CXXFLAGS="-g -O2"
5294 else
5295 CXXFLAGS="-g"
5297 else
5298 if test "$GXX" = yes; then
5299 CXXFLAGS="-O2"
5300 else
5301 CXXFLAGS=
5304 ac_ext=c
5305 ac_cpp='$CPP $CPPFLAGS'
5306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5310 if test -n "$ac_tool_prefix"; then
5311 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5312 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5314 $as_echo_n "checking for $ac_word... " >&6; }
5315 if ${ac_cv_prog_CPPBIN+:} false; then :
5316 $as_echo_n "(cached) " >&6
5317 else
5318 if test -n "$CPPBIN"; then
5319 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5320 else
5321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5322 for as_dir in $PATH
5324 IFS=$as_save_IFS
5325 test -z "$as_dir" && as_dir=.
5326 for ac_exec_ext in '' $ac_executable_extensions; do
5327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5328 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5330 break 2
5332 done
5333 done
5334 IFS=$as_save_IFS
5338 CPPBIN=$ac_cv_prog_CPPBIN
5339 if test -n "$CPPBIN"; then
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5341 $as_echo "$CPPBIN" >&6; }
5342 else
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5344 $as_echo "no" >&6; }
5349 if test -z "$ac_cv_prog_CPPBIN"; then
5350 ac_ct_CPPBIN=$CPPBIN
5351 # Extract the first word of "cpp", so it can be a program name with args.
5352 set dummy cpp; ac_word=$2
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5354 $as_echo_n "checking for $ac_word... " >&6; }
5355 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5356 $as_echo_n "(cached) " >&6
5357 else
5358 if test -n "$ac_ct_CPPBIN"; then
5359 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5360 else
5361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5362 for as_dir in $PATH
5364 IFS=$as_save_IFS
5365 test -z "$as_dir" && as_dir=.
5366 for ac_exec_ext in '' $ac_executable_extensions; do
5367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5368 ac_cv_prog_ac_ct_CPPBIN="cpp"
5369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5370 break 2
5372 done
5373 done
5374 IFS=$as_save_IFS
5378 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5379 if test -n "$ac_ct_CPPBIN"; then
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5381 $as_echo "$ac_ct_CPPBIN" >&6; }
5382 else
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5384 $as_echo "no" >&6; }
5387 if test "x$ac_ct_CPPBIN" = x; then
5388 CPPBIN="cpp"
5389 else
5390 case $cross_compiling:$ac_tool_warned in
5391 yes:)
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5394 ac_tool_warned=yes ;;
5395 esac
5396 CPPBIN=$ac_ct_CPPBIN
5398 else
5399 CPPBIN="$ac_cv_prog_CPPBIN"
5403 cat >>confdefs.h <<_ACEOF
5404 #define EXEEXT "$ac_exeext"
5405 _ACEOF
5407 if test -n "$ac_tool_prefix"; then
5408 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5409 set dummy ${ac_tool_prefix}ld; ac_word=$2
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5411 $as_echo_n "checking for $ac_word... " >&6; }
5412 if ${ac_cv_prog_LD+:} false; then :
5413 $as_echo_n "(cached) " >&6
5414 else
5415 if test -n "$LD"; then
5416 ac_cv_prog_LD="$LD" # Let the user override the test.
5417 else
5418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5419 for as_dir in $PATH
5421 IFS=$as_save_IFS
5422 test -z "$as_dir" && as_dir=.
5423 for ac_exec_ext in '' $ac_executable_extensions; do
5424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5425 ac_cv_prog_LD="${ac_tool_prefix}ld"
5426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5427 break 2
5429 done
5430 done
5431 IFS=$as_save_IFS
5435 LD=$ac_cv_prog_LD
5436 if test -n "$LD"; then
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5438 $as_echo "$LD" >&6; }
5439 else
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5441 $as_echo "no" >&6; }
5446 if test -z "$ac_cv_prog_LD"; then
5447 ac_ct_LD=$LD
5448 # Extract the first word of "ld", so it can be a program name with args.
5449 set dummy ld; ac_word=$2
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5451 $as_echo_n "checking for $ac_word... " >&6; }
5452 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5453 $as_echo_n "(cached) " >&6
5454 else
5455 if test -n "$ac_ct_LD"; then
5456 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5457 else
5458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5459 for as_dir in $PATH
5461 IFS=$as_save_IFS
5462 test -z "$as_dir" && as_dir=.
5463 for ac_exec_ext in '' $ac_executable_extensions; do
5464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5465 ac_cv_prog_ac_ct_LD="ld"
5466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5467 break 2
5469 done
5470 done
5471 IFS=$as_save_IFS
5475 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5476 if test -n "$ac_ct_LD"; then
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5478 $as_echo "$ac_ct_LD" >&6; }
5479 else
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5481 $as_echo "no" >&6; }
5484 if test "x$ac_ct_LD" = x; then
5485 LD=""
5486 else
5487 case $cross_compiling:$ac_tool_warned in
5488 yes:)
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5491 ac_tool_warned=yes ;;
5492 esac
5493 LD=$ac_ct_LD
5495 else
5496 LD="$ac_cv_prog_LD"
5500 case $host in
5501 *-darwin*)
5502 with_fontconfig=${with_fontconfig:-no}
5504 *-mingw32*|*-cygwin*)
5505 enable_win16=${enable_win16:-no}
5506 CFLAGS="$CFLAGS -D_WIN32"
5508 esac
5510 case $host in
5511 x86_64*|amd64*)
5512 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5513 then
5514 CC="$CC -m32"
5515 CXX="$CXX -m32"
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5517 $as_echo_n "checking whether $CC works... " >&6; }
5519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5520 /* end confdefs.h. */
5523 main ()
5527 return 0;
5529 _ACEOF
5530 if ac_fn_c_try_link "$LINENO"; then :
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5532 $as_echo "yes" >&6; }
5533 else
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5535 $as_echo "no" >&6; }
5536 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5538 rm -f core conftest.err conftest.$ac_objext \
5539 conftest$ac_exeext conftest.$ac_ext
5540 host_cpu="i386"
5541 notice_platform="32-bit "
5542 TARGETFLAGS="-m32"
5544 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5545 export PKG_CONFIG_PATH
5546 enable_win16=${enable_win16:-yes}
5547 else
5548 if test "x${GCC}" = "xyes"
5549 then
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5551 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5553 /* end confdefs.h. */
5554 #include <stdarg.h>
5556 main ()
5558 void func(__builtin_ms_va_list *args);
5560 return 0;
5562 _ACEOF
5563 if ac_fn_c_try_compile "$LINENO"; then :
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5565 $as_echo "yes" >&6; }
5566 else
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5568 $as_echo "no" >&6; }
5569 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5573 CC="$CC -m64"
5574 CXX="$CXX -m64"
5575 host_cpu="x86_64"
5576 notice_platform="64-bit "
5577 TARGETFLAGS="-m64"
5581 arm*)
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5583 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5585 /* end confdefs.h. */
5586 int ac_test(int i) { return i; }
5588 main ()
5590 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5592 return 0;
5594 _ACEOF
5595 if ac_fn_c_try_link "$LINENO"; then :
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5597 $as_echo "yes" >&6; }
5598 else
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5600 $as_echo "no" >&6; }
5601 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5603 rm -f core conftest.err conftest.$ac_objext \
5604 conftest$ac_exeext conftest.$ac_ext
5605 case $with_float_abi in
5606 soft|softfp|hard)
5607 float_abi=$with_float_abi ;;
5609 case $host_os in
5610 *eabihf)
5611 float_abi=hard ;;
5613 float_abi=softfp
5614 saved_CFLAGS=$CFLAGS
5615 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5617 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5619 /* end confdefs.h. */
5622 main ()
5624 asm("vmrs r2,fpscr");
5626 return 0;
5628 _ACEOF
5629 if ac_fn_c_try_link "$LINENO"; then :
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5631 $as_echo "yes" >&6; }
5632 else
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5634 $as_echo "no" >&6; }
5635 float_abi=soft
5636 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5638 rm -f core conftest.err conftest.$ac_objext \
5639 conftest$ac_exeext conftest.$ac_ext
5640 CFLAGS=$saved_CFLAGS
5641 esac
5643 esac
5644 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5645 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5648 aarch64*)
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5650 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5652 /* end confdefs.h. */
5653 #include <stdarg.h>
5655 main ()
5657 void func(__builtin_ms_va_list *args);
5659 return 0;
5661 _ACEOF
5662 if ac_fn_c_try_compile "$LINENO"; then :
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5664 $as_echo "yes" >&6; }
5665 else
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5667 $as_echo "no" >&6; }
5668 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5672 i[3456789]86*)
5673 enable_win16=${enable_win16:-yes}
5675 esac
5677 enable_win16=${enable_win16:-no}
5678 enable_win64=${enable_win64:-no}
5680 enable_winetest=${enable_winetest:-$enable_tests}
5682 if test "x$enable_win64" = "xyes"
5683 then
5684 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5685 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5686 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5690 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5691 if ${wine_cv_toolsdir+:} false; then :
5692 $as_echo_n "(cached) " >&6
5693 else
5694 wine_cv_toolsdir="$with_wine_tools"
5695 if test -z "$with_wine_tools"; then
5696 if test "$cross_compiling" = "yes"; then
5697 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5698 elif test -n "$with_wine64"; then
5699 wine_cv_toolsdir="$with_wine64"
5702 if test -z "$wine_cv_toolsdir"; then
5703 wine_makedep=tools/makedep
5704 wine_cv_toolsdir="\$(top_builddir)"
5705 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5706 wine_makedep=$wine_cv_toolsdir/tools/makedep
5707 case "$wine_cv_toolsdir" in
5708 /*) ;;
5709 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5710 esac
5711 enable_tools=${enable_tools:-no}
5712 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5713 else
5714 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5718 $as_echo "$wine_cv_toolsdir" >&6; }
5719 TOOLSDIR=$wine_cv_toolsdir
5721 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5722 then
5723 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5727 for ac_prog in flex
5729 # Extract the first word of "$ac_prog", so it can be a program name with args.
5730 set dummy $ac_prog; ac_word=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if ${ac_cv_prog_FLEX+:} false; then :
5734 $as_echo_n "(cached) " >&6
5735 else
5736 if test -n "$FLEX"; then
5737 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5738 else
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH
5742 IFS=$as_save_IFS
5743 test -z "$as_dir" && as_dir=.
5744 for ac_exec_ext in '' $ac_executable_extensions; do
5745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5746 ac_cv_prog_FLEX="$ac_prog"
5747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5748 break 2
5750 done
5751 done
5752 IFS=$as_save_IFS
5756 FLEX=$ac_cv_prog_FLEX
5757 if test -n "$FLEX"; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5759 $as_echo "$FLEX" >&6; }
5760 else
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5766 test -n "$FLEX" && break
5767 done
5768 test -n "$FLEX" || FLEX="none"
5770 if test "$FLEX" = "none"
5771 then
5772 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5775 $as_echo_n "checking whether flex is recent enough... " >&6; }
5776 cat >conftest.l <<EOF
5777 %top{
5778 #include "prediluvian.h"
5782 if $FLEX -t conftest.l >/dev/null 2>&5
5783 then
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5785 $as_echo "yes" >&6; }
5786 else
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5788 $as_echo "no" >&6; }
5789 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5792 for ac_prog in bison
5794 # Extract the first word of "$ac_prog", so it can be a program name with args.
5795 set dummy $ac_prog; ac_word=$2
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if ${ac_cv_prog_BISON+:} false; then :
5799 $as_echo_n "(cached) " >&6
5800 else
5801 if test -n "$BISON"; then
5802 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5803 else
5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 for as_dir in $PATH
5807 IFS=$as_save_IFS
5808 test -z "$as_dir" && as_dir=.
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5811 ac_cv_prog_BISON="$ac_prog"
5812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 break 2
5815 done
5816 done
5817 IFS=$as_save_IFS
5821 BISON=$ac_cv_prog_BISON
5822 if test -n "$BISON"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5824 $as_echo "$BISON" >&6; }
5825 else
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5831 test -n "$BISON" && break
5832 done
5833 test -n "$BISON" || BISON="none"
5835 if test "$BISON" = "none"
5836 then
5837 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5840 if test -n "$ac_tool_prefix"; then
5841 for ac_prog in ar gar
5843 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5844 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5846 $as_echo_n "checking for $ac_word... " >&6; }
5847 if ${ac_cv_prog_AR+:} false; then :
5848 $as_echo_n "(cached) " >&6
5849 else
5850 if test -n "$AR"; then
5851 ac_cv_prog_AR="$AR" # Let the user override the test.
5852 else
5853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5854 for as_dir in $PATH
5856 IFS=$as_save_IFS
5857 test -z "$as_dir" && as_dir=.
5858 for ac_exec_ext in '' $ac_executable_extensions; do
5859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5860 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5862 break 2
5864 done
5865 done
5866 IFS=$as_save_IFS
5870 AR=$ac_cv_prog_AR
5871 if test -n "$AR"; then
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5873 $as_echo "$AR" >&6; }
5874 else
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5876 $as_echo "no" >&6; }
5880 test -n "$AR" && break
5881 done
5883 if test -z "$AR"; then
5884 ac_ct_AR=$AR
5885 for ac_prog in ar gar
5887 # Extract the first word of "$ac_prog", so it can be a program name with args.
5888 set dummy $ac_prog; ac_word=$2
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5890 $as_echo_n "checking for $ac_word... " >&6; }
5891 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5892 $as_echo_n "(cached) " >&6
5893 else
5894 if test -n "$ac_ct_AR"; then
5895 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5896 else
5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5898 for as_dir in $PATH
5900 IFS=$as_save_IFS
5901 test -z "$as_dir" && as_dir=.
5902 for ac_exec_ext in '' $ac_executable_extensions; do
5903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5904 ac_cv_prog_ac_ct_AR="$ac_prog"
5905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5906 break 2
5908 done
5909 done
5910 IFS=$as_save_IFS
5914 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5915 if test -n "$ac_ct_AR"; then
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5917 $as_echo "$ac_ct_AR" >&6; }
5918 else
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5920 $as_echo "no" >&6; }
5924 test -n "$ac_ct_AR" && break
5925 done
5927 if test "x$ac_ct_AR" = x; then
5928 AR="ar"
5929 else
5930 case $cross_compiling:$ac_tool_warned in
5931 yes:)
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5934 ac_tool_warned=yes ;;
5935 esac
5936 AR=$ac_ct_AR
5940 if test -n "$ac_tool_prefix"; then
5941 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5942 set dummy ${ac_tool_prefix}strip; ac_word=$2
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5944 $as_echo_n "checking for $ac_word... " >&6; }
5945 if ${ac_cv_prog_STRIP+:} false; then :
5946 $as_echo_n "(cached) " >&6
5947 else
5948 if test -n "$STRIP"; then
5949 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5950 else
5951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5952 for as_dir in $PATH
5954 IFS=$as_save_IFS
5955 test -z "$as_dir" && as_dir=.
5956 for ac_exec_ext in '' $ac_executable_extensions; do
5957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5958 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5960 break 2
5962 done
5963 done
5964 IFS=$as_save_IFS
5968 STRIP=$ac_cv_prog_STRIP
5969 if test -n "$STRIP"; then
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5971 $as_echo "$STRIP" >&6; }
5972 else
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5974 $as_echo "no" >&6; }
5979 if test -z "$ac_cv_prog_STRIP"; then
5980 ac_ct_STRIP=$STRIP
5981 # Extract the first word of "strip", so it can be a program name with args.
5982 set dummy strip; ac_word=$2
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5984 $as_echo_n "checking for $ac_word... " >&6; }
5985 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5986 $as_echo_n "(cached) " >&6
5987 else
5988 if test -n "$ac_ct_STRIP"; then
5989 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5990 else
5991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5992 for as_dir in $PATH
5994 IFS=$as_save_IFS
5995 test -z "$as_dir" && as_dir=.
5996 for ac_exec_ext in '' $ac_executable_extensions; do
5997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5998 ac_cv_prog_ac_ct_STRIP="strip"
5999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6000 break 2
6002 done
6003 done
6004 IFS=$as_save_IFS
6008 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6009 if test -n "$ac_ct_STRIP"; then
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6011 $as_echo "$ac_ct_STRIP" >&6; }
6012 else
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6014 $as_echo "no" >&6; }
6017 if test "x$ac_ct_STRIP" = x; then
6018 STRIP="strip"
6019 else
6020 case $cross_compiling:$ac_tool_warned in
6021 yes:)
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6024 ac_tool_warned=yes ;;
6025 esac
6026 STRIP=$ac_ct_STRIP
6028 else
6029 STRIP="$ac_cv_prog_STRIP"
6032 if test -n "$ac_tool_prefix"; then
6033 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6034 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036 $as_echo_n "checking for $ac_word... " >&6; }
6037 if ${ac_cv_prog_RANLIB+:} false; then :
6038 $as_echo_n "(cached) " >&6
6039 else
6040 if test -n "$RANLIB"; then
6041 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6042 else
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6044 for as_dir in $PATH
6046 IFS=$as_save_IFS
6047 test -z "$as_dir" && as_dir=.
6048 for ac_exec_ext in '' $ac_executable_extensions; do
6049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6050 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6052 break 2
6054 done
6055 done
6056 IFS=$as_save_IFS
6060 RANLIB=$ac_cv_prog_RANLIB
6061 if test -n "$RANLIB"; then
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6063 $as_echo "$RANLIB" >&6; }
6064 else
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066 $as_echo "no" >&6; }
6071 if test -z "$ac_cv_prog_RANLIB"; then
6072 ac_ct_RANLIB=$RANLIB
6073 # Extract the first word of "ranlib", so it can be a program name with args.
6074 set dummy ranlib; ac_word=$2
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6076 $as_echo_n "checking for $ac_word... " >&6; }
6077 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6078 $as_echo_n "(cached) " >&6
6079 else
6080 if test -n "$ac_ct_RANLIB"; then
6081 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6082 else
6083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6084 for as_dir in $PATH
6086 IFS=$as_save_IFS
6087 test -z "$as_dir" && as_dir=.
6088 for ac_exec_ext in '' $ac_executable_extensions; do
6089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6090 ac_cv_prog_ac_ct_RANLIB="ranlib"
6091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6092 break 2
6094 done
6095 done
6096 IFS=$as_save_IFS
6100 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6101 if test -n "$ac_ct_RANLIB"; then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6103 $as_echo "$ac_ct_RANLIB" >&6; }
6104 else
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6106 $as_echo "no" >&6; }
6109 if test "x$ac_ct_RANLIB" = x; then
6110 RANLIB=":"
6111 else
6112 case $cross_compiling:$ac_tool_warned in
6113 yes:)
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6116 ac_tool_warned=yes ;;
6117 esac
6118 RANLIB=$ac_ct_RANLIB
6120 else
6121 RANLIB="$ac_cv_prog_RANLIB"
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6125 $as_echo_n "checking whether ln -s works... " >&6; }
6126 LN_S=$as_ln_s
6127 if test "$LN_S" = "ln -s"; then
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6129 $as_echo "yes" >&6; }
6130 else
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6132 $as_echo "no, using $LN_S" >&6; }
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6136 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6137 if ${ac_cv_path_GREP+:} false; then :
6138 $as_echo_n "(cached) " >&6
6139 else
6140 if test -z "$GREP"; then
6141 ac_path_GREP_found=false
6142 # Loop through the user's path and test for each of PROGNAME-LIST
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6146 IFS=$as_save_IFS
6147 test -z "$as_dir" && as_dir=.
6148 for ac_prog in grep ggrep; do
6149 for ac_exec_ext in '' $ac_executable_extensions; do
6150 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6151 as_fn_executable_p "$ac_path_GREP" || continue
6152 # Check for GNU ac_path_GREP and select it if it is found.
6153 # Check for GNU $ac_path_GREP
6154 case `"$ac_path_GREP" --version 2>&1` in
6155 *GNU*)
6156 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6158 ac_count=0
6159 $as_echo_n 0123456789 >"conftest.in"
6160 while :
6162 cat "conftest.in" "conftest.in" >"conftest.tmp"
6163 mv "conftest.tmp" "conftest.in"
6164 cp "conftest.in" "conftest.nl"
6165 $as_echo 'GREP' >> "conftest.nl"
6166 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6167 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6168 as_fn_arith $ac_count + 1 && ac_count=$as_val
6169 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6170 # Best one so far, save it but keep looking for a better one
6171 ac_cv_path_GREP="$ac_path_GREP"
6172 ac_path_GREP_max=$ac_count
6174 # 10*(2^10) chars as input seems more than enough
6175 test $ac_count -gt 10 && break
6176 done
6177 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6178 esac
6180 $ac_path_GREP_found && break 3
6181 done
6182 done
6183 done
6184 IFS=$as_save_IFS
6185 if test -z "$ac_cv_path_GREP"; then
6186 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6188 else
6189 ac_cv_path_GREP=$GREP
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6194 $as_echo "$ac_cv_path_GREP" >&6; }
6195 GREP="$ac_cv_path_GREP"
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6199 $as_echo_n "checking for egrep... " >&6; }
6200 if ${ac_cv_path_EGREP+:} false; then :
6201 $as_echo_n "(cached) " >&6
6202 else
6203 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6204 then ac_cv_path_EGREP="$GREP -E"
6205 else
6206 if test -z "$EGREP"; then
6207 ac_path_EGREP_found=false
6208 # Loop through the user's path and test for each of PROGNAME-LIST
6209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6210 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6212 IFS=$as_save_IFS
6213 test -z "$as_dir" && as_dir=.
6214 for ac_prog in egrep; do
6215 for ac_exec_ext in '' $ac_executable_extensions; do
6216 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6217 as_fn_executable_p "$ac_path_EGREP" || continue
6218 # Check for GNU ac_path_EGREP and select it if it is found.
6219 # Check for GNU $ac_path_EGREP
6220 case `"$ac_path_EGREP" --version 2>&1` in
6221 *GNU*)
6222 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6224 ac_count=0
6225 $as_echo_n 0123456789 >"conftest.in"
6226 while :
6228 cat "conftest.in" "conftest.in" >"conftest.tmp"
6229 mv "conftest.tmp" "conftest.in"
6230 cp "conftest.in" "conftest.nl"
6231 $as_echo 'EGREP' >> "conftest.nl"
6232 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6233 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6234 as_fn_arith $ac_count + 1 && ac_count=$as_val
6235 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6236 # Best one so far, save it but keep looking for a better one
6237 ac_cv_path_EGREP="$ac_path_EGREP"
6238 ac_path_EGREP_max=$ac_count
6240 # 10*(2^10) chars as input seems more than enough
6241 test $ac_count -gt 10 && break
6242 done
6243 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6244 esac
6246 $ac_path_EGREP_found && break 3
6247 done
6248 done
6249 done
6250 IFS=$as_save_IFS
6251 if test -z "$ac_cv_path_EGREP"; then
6252 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6254 else
6255 ac_cv_path_EGREP=$EGREP
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6261 $as_echo "$ac_cv_path_EGREP" >&6; }
6262 EGREP="$ac_cv_path_EGREP"
6265 # Extract the first word of "ldconfig", so it can be a program name with args.
6266 set dummy ldconfig; ac_word=$2
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6268 $as_echo_n "checking for $ac_word... " >&6; }
6269 if ${ac_cv_path_LDCONFIG+:} false; then :
6270 $as_echo_n "(cached) " >&6
6271 else
6272 case $LDCONFIG in
6273 [\\/]* | ?:[\\/]*)
6274 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6278 for as_dir in /sbin /usr/sbin $PATH
6280 IFS=$as_save_IFS
6281 test -z "$as_dir" && as_dir=.
6282 for ac_exec_ext in '' $ac_executable_extensions; do
6283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6284 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6286 break 2
6288 done
6289 done
6290 IFS=$as_save_IFS
6292 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6294 esac
6296 LDCONFIG=$ac_cv_path_LDCONFIG
6297 if test -n "$LDCONFIG"; then
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6299 $as_echo "$LDCONFIG" >&6; }
6300 else
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6302 $as_echo "no" >&6; }
6306 for ac_prog in msgfmt
6308 # Extract the first word of "$ac_prog", so it can be a program name with args.
6309 set dummy $ac_prog; ac_word=$2
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6311 $as_echo_n "checking for $ac_word... " >&6; }
6312 if ${ac_cv_prog_MSGFMT+:} false; then :
6313 $as_echo_n "(cached) " >&6
6314 else
6315 if test -n "$MSGFMT"; then
6316 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6317 else
6318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6319 for as_dir in $PATH
6321 IFS=$as_save_IFS
6322 test -z "$as_dir" && as_dir=.
6323 for ac_exec_ext in '' $ac_executable_extensions; do
6324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6325 ac_cv_prog_MSGFMT="$ac_prog"
6326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6327 break 2
6329 done
6330 done
6331 IFS=$as_save_IFS
6335 MSGFMT=$ac_cv_prog_MSGFMT
6336 if test -n "$MSGFMT"; then
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6338 $as_echo "$MSGFMT" >&6; }
6339 else
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6341 $as_echo "no" >&6; }
6345 test -n "$MSGFMT" && break
6346 done
6347 test -n "$MSGFMT" || MSGFMT="false"
6349 if ${ac_tool_prefix+:} false; then :
6350 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6351 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6353 $as_echo_n "checking for $ac_word... " >&6; }
6354 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6355 $as_echo_n "(cached) " >&6
6356 else
6357 if test -n "$PKG_CONFIG"; then
6358 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6359 else
6360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6361 for as_dir in $PATH
6363 IFS=$as_save_IFS
6364 test -z "$as_dir" && as_dir=.
6365 for ac_exec_ext in '' $ac_executable_extensions; do
6366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6367 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6369 break 2
6371 done
6372 done
6373 IFS=$as_save_IFS
6377 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6378 if test -n "$PKG_CONFIG"; then
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6380 $as_echo "$PKG_CONFIG" >&6; }
6381 else
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6383 $as_echo "no" >&6; }
6388 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6389 if test "x$cross_compiling" = xyes; then :
6391 else
6392 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6393 # Extract the first word of "pkg-config", so it can be a program name with args.
6394 set dummy pkg-config; ac_word=$2
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6396 $as_echo_n "checking for $ac_word... " >&6; }
6397 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6398 $as_echo_n "(cached) " >&6
6399 else
6400 if test -n "$PKG_CONFIG"; then
6401 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6402 else
6403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 for as_dir in $PATH
6406 IFS=$as_save_IFS
6407 test -z "$as_dir" && as_dir=.
6408 for ac_exec_ext in '' $ac_executable_extensions; do
6409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6410 ac_cv_prog_PKG_CONFIG="pkg-config"
6411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6412 break 2
6414 done
6415 done
6416 IFS=$as_save_IFS
6420 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6421 if test -n "$PKG_CONFIG"; then
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6423 $as_echo "$PKG_CONFIG" >&6; }
6424 else
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6426 $as_echo "no" >&6; }
6431 else
6432 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6435 if test "x$enable_maintainer_mode" != "xyes"
6436 then
6437 FONTFORGE=""
6438 RSVG=""
6439 CONVERT=""
6440 ICOTOOL=""
6441 else
6442 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6443 for ac_prog in fontforge
6445 # Extract the first word of "$ac_prog", so it can be a program name with args.
6446 set dummy $ac_prog; ac_word=$2
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6448 $as_echo_n "checking for $ac_word... " >&6; }
6449 if ${ac_cv_prog_FONTFORGE+:} false; then :
6450 $as_echo_n "(cached) " >&6
6451 else
6452 if test -n "$FONTFORGE"; then
6453 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6454 else
6455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6456 for as_dir in $PATH
6458 IFS=$as_save_IFS
6459 test -z "$as_dir" && as_dir=.
6460 for ac_exec_ext in '' $ac_executable_extensions; do
6461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6462 ac_cv_prog_FONTFORGE="$ac_prog"
6463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6464 break 2
6466 done
6467 done
6468 IFS=$as_save_IFS
6472 FONTFORGE=$ac_cv_prog_FONTFORGE
6473 if test -n "$FONTFORGE"; then
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6475 $as_echo "$FONTFORGE" >&6; }
6476 else
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6478 $as_echo "no" >&6; }
6482 test -n "$FONTFORGE" && break
6483 done
6484 test -n "$FONTFORGE" || FONTFORGE="false"
6486 for ac_prog in rsvg-convert rsvg
6488 # Extract the first word of "$ac_prog", so it can be a program name with args.
6489 set dummy $ac_prog; ac_word=$2
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6491 $as_echo_n "checking for $ac_word... " >&6; }
6492 if ${ac_cv_prog_RSVG+:} false; then :
6493 $as_echo_n "(cached) " >&6
6494 else
6495 if test -n "$RSVG"; then
6496 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6497 else
6498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6499 for as_dir in $PATH
6501 IFS=$as_save_IFS
6502 test -z "$as_dir" && as_dir=.
6503 for ac_exec_ext in '' $ac_executable_extensions; do
6504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6505 ac_cv_prog_RSVG="$ac_prog"
6506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6507 break 2
6509 done
6510 done
6511 IFS=$as_save_IFS
6515 RSVG=$ac_cv_prog_RSVG
6516 if test -n "$RSVG"; then
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6518 $as_echo "$RSVG" >&6; }
6519 else
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6521 $as_echo "no" >&6; }
6525 test -n "$RSVG" && break
6526 done
6527 test -n "$RSVG" || RSVG="false"
6529 for ac_prog in convert
6531 # Extract the first word of "$ac_prog", so it can be a program name with args.
6532 set dummy $ac_prog; ac_word=$2
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6534 $as_echo_n "checking for $ac_word... " >&6; }
6535 if ${ac_cv_prog_CONVERT+:} false; then :
6536 $as_echo_n "(cached) " >&6
6537 else
6538 if test -n "$CONVERT"; then
6539 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6540 else
6541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6542 for as_dir in $PATH
6544 IFS=$as_save_IFS
6545 test -z "$as_dir" && as_dir=.
6546 for ac_exec_ext in '' $ac_executable_extensions; do
6547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6548 ac_cv_prog_CONVERT="$ac_prog"
6549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6550 break 2
6552 done
6553 done
6554 IFS=$as_save_IFS
6558 CONVERT=$ac_cv_prog_CONVERT
6559 if test -n "$CONVERT"; then
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6561 $as_echo "$CONVERT" >&6; }
6562 else
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6564 $as_echo "no" >&6; }
6568 test -n "$CONVERT" && break
6569 done
6570 test -n "$CONVERT" || CONVERT="false"
6572 for ac_prog in icotool
6574 # Extract the first word of "$ac_prog", so it can be a program name with args.
6575 set dummy $ac_prog; ac_word=$2
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6577 $as_echo_n "checking for $ac_word... " >&6; }
6578 if ${ac_cv_prog_ICOTOOL+:} false; then :
6579 $as_echo_n "(cached) " >&6
6580 else
6581 if test -n "$ICOTOOL"; then
6582 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6583 else
6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6585 for as_dir in $PATH
6587 IFS=$as_save_IFS
6588 test -z "$as_dir" && as_dir=.
6589 for ac_exec_ext in '' $ac_executable_extensions; do
6590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6591 ac_cv_prog_ICOTOOL="$ac_prog"
6592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6593 break 2
6595 done
6596 done
6597 IFS=$as_save_IFS
6601 ICOTOOL=$ac_cv_prog_ICOTOOL
6602 if test -n "$ICOTOOL"; then
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6604 $as_echo "$ICOTOOL" >&6; }
6605 else
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6607 $as_echo "no" >&6; }
6611 test -n "$ICOTOOL" && break
6612 done
6613 test -n "$ICOTOOL" || ICOTOOL="false"
6615 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6616 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6618 if test "$CONVERT" = false
6619 then
6620 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6621 else
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6623 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6624 convert_version=`convert --version | head -n1`
6625 if test "x$convert_version" != "x"
6626 then
6627 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6628 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6629 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6630 then
6631 CONVERT=false
6634 if test "$CONVERT" = false
6635 then
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6637 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6638 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6639 else
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6641 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6645 if test "$ICOTOOL" = false
6646 then
6647 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6648 else
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6650 $as_echo_n "checking for recent enough icotool... " >&6; }
6651 icotool_version=`icotool --version | head -n1`
6652 if test "x$icotool_version" != "x"
6653 then
6654 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6655 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6656 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6657 then
6658 ICOTOOL=false
6659 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6662 if test "$ICOTOOL" = false
6663 then
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6665 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6666 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6667 else
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6669 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6673 with_gettext=yes
6674 with_gettextpo=yes
6675 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6678 test "x$with_gettext" != xno || MSGFMT=false
6679 if test "$MSGFMT" != "false"
6680 then
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6682 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6683 cat >conftest.po <<EOF
6684 # comment
6685 msgctxt "ctxt"
6686 msgid "id"
6687 msgstr "str"
6689 if $MSGFMT -o /dev/null conftest.po 2>&5
6690 then
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6692 $as_echo "yes" >&6; }
6693 else
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6695 $as_echo "no" >&6; }
6696 MSGFMT=false
6699 if test "$MSGFMT" = false; then :
6700 case "x$with_gettext" in
6701 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6702 xno) ;;
6703 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6704 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6705 esac
6706 enable_po=${enable_po:-no}
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6711 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6712 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6713 $as_echo_n "(cached) " >&6
6714 else
6715 ac_check_lib_save_LIBS=$LIBS
6716 LIBS="-li386 $LIBS"
6717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6718 /* end confdefs.h. */
6720 /* Override any GCC internal prototype to avoid an error.
6721 Use char because int might match the return type of a GCC
6722 builtin and then its argument prototype would still apply. */
6723 #ifdef __cplusplus
6724 extern "C"
6725 #endif
6726 char i386_set_ldt ();
6728 main ()
6730 return i386_set_ldt ();
6732 return 0;
6734 _ACEOF
6735 if ac_fn_c_try_link "$LINENO"; then :
6736 ac_cv_lib_i386_i386_set_ldt=yes
6737 else
6738 ac_cv_lib_i386_i386_set_ldt=no
6740 rm -f core conftest.err conftest.$ac_objext \
6741 conftest$ac_exeext conftest.$ac_ext
6742 LIBS=$ac_check_lib_save_LIBS
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6745 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6746 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6747 cat >>confdefs.h <<_ACEOF
6748 #define HAVE_LIBI386 1
6749 _ACEOF
6751 LIBS="-li386 $LIBS"
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6756 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6757 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6758 $as_echo_n "(cached) " >&6
6759 else
6760 ac_check_lib_save_LIBS=$LIBS
6761 LIBS="-lossaudio $LIBS"
6762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6763 /* end confdefs.h. */
6765 /* Override any GCC internal prototype to avoid an error.
6766 Use char because int might match the return type of a GCC
6767 builtin and then its argument prototype would still apply. */
6768 #ifdef __cplusplus
6769 extern "C"
6770 #endif
6771 char _oss_ioctl ();
6773 main ()
6775 return _oss_ioctl ();
6777 return 0;
6779 _ACEOF
6780 if ac_fn_c_try_link "$LINENO"; then :
6781 ac_cv_lib_ossaudio__oss_ioctl=yes
6782 else
6783 ac_cv_lib_ossaudio__oss_ioctl=no
6785 rm -f core conftest.err conftest.$ac_objext \
6786 conftest$ac_exeext conftest.$ac_ext
6787 LIBS=$ac_check_lib_save_LIBS
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6790 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6791 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6792 cat >>confdefs.h <<_ACEOF
6793 #define HAVE_LIBOSSAUDIO 1
6794 _ACEOF
6796 LIBS="-lossaudio $LIBS"
6801 OPENGL_LIBS=""
6805 # Check whether --enable-largefile was given.
6806 if test "${enable_largefile+set}" = set; then :
6807 enableval=$enable_largefile;
6810 if test "$enable_largefile" != no; then
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6813 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6814 if ${ac_cv_sys_largefile_CC+:} false; then :
6815 $as_echo_n "(cached) " >&6
6816 else
6817 ac_cv_sys_largefile_CC=no
6818 if test "$GCC" != yes; then
6819 ac_save_CC=$CC
6820 while :; do
6821 # IRIX 6.2 and later do not support large files by default,
6822 # so use the C compiler's -n32 option if that helps.
6823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6824 /* end confdefs.h. */
6825 #include <sys/types.h>
6826 /* Check that off_t can represent 2**63 - 1 correctly.
6827 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6828 since some C++ compilers masquerading as C compilers
6829 incorrectly reject 9223372036854775807. */
6830 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6831 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6832 && LARGE_OFF_T % 2147483647 == 1)
6833 ? 1 : -1];
6835 main ()
6839 return 0;
6841 _ACEOF
6842 if ac_fn_c_try_compile "$LINENO"; then :
6843 break
6845 rm -f core conftest.err conftest.$ac_objext
6846 CC="$CC -n32"
6847 if ac_fn_c_try_compile "$LINENO"; then :
6848 ac_cv_sys_largefile_CC=' -n32'; break
6850 rm -f core conftest.err conftest.$ac_objext
6851 break
6852 done
6853 CC=$ac_save_CC
6854 rm -f conftest.$ac_ext
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6858 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6859 if test "$ac_cv_sys_largefile_CC" != no; then
6860 CC=$CC$ac_cv_sys_largefile_CC
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6864 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6865 if ${ac_cv_sys_file_offset_bits+:} false; then :
6866 $as_echo_n "(cached) " >&6
6867 else
6868 while :; do
6869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6870 /* end confdefs.h. */
6871 #include <sys/types.h>
6872 /* Check that off_t can represent 2**63 - 1 correctly.
6873 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6874 since some C++ compilers masquerading as C compilers
6875 incorrectly reject 9223372036854775807. */
6876 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6877 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6878 && LARGE_OFF_T % 2147483647 == 1)
6879 ? 1 : -1];
6881 main ()
6885 return 0;
6887 _ACEOF
6888 if ac_fn_c_try_compile "$LINENO"; then :
6889 ac_cv_sys_file_offset_bits=no; break
6891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6893 /* end confdefs.h. */
6894 #define _FILE_OFFSET_BITS 64
6895 #include <sys/types.h>
6896 /* Check that off_t can represent 2**63 - 1 correctly.
6897 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6898 since some C++ compilers masquerading as C compilers
6899 incorrectly reject 9223372036854775807. */
6900 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6901 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6902 && LARGE_OFF_T % 2147483647 == 1)
6903 ? 1 : -1];
6905 main ()
6909 return 0;
6911 _ACEOF
6912 if ac_fn_c_try_compile "$LINENO"; then :
6913 ac_cv_sys_file_offset_bits=64; break
6915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6916 ac_cv_sys_file_offset_bits=unknown
6917 break
6918 done
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6921 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6922 case $ac_cv_sys_file_offset_bits in #(
6923 no | unknown) ;;
6925 cat >>confdefs.h <<_ACEOF
6926 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6927 _ACEOF
6929 esac
6930 rm -rf conftest*
6931 if test $ac_cv_sys_file_offset_bits = unknown; then
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6933 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6934 if ${ac_cv_sys_large_files+:} false; then :
6935 $as_echo_n "(cached) " >&6
6936 else
6937 while :; do
6938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6939 /* end confdefs.h. */
6940 #include <sys/types.h>
6941 /* Check that off_t can represent 2**63 - 1 correctly.
6942 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6943 since some C++ compilers masquerading as C compilers
6944 incorrectly reject 9223372036854775807. */
6945 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6946 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6947 && LARGE_OFF_T % 2147483647 == 1)
6948 ? 1 : -1];
6950 main ()
6954 return 0;
6956 _ACEOF
6957 if ac_fn_c_try_compile "$LINENO"; then :
6958 ac_cv_sys_large_files=no; break
6960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6962 /* end confdefs.h. */
6963 #define _LARGE_FILES 1
6964 #include <sys/types.h>
6965 /* Check that off_t can represent 2**63 - 1 correctly.
6966 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6967 since some C++ compilers masquerading as C compilers
6968 incorrectly reject 9223372036854775807. */
6969 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6970 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6971 && LARGE_OFF_T % 2147483647 == 1)
6972 ? 1 : -1];
6974 main ()
6978 return 0;
6980 _ACEOF
6981 if ac_fn_c_try_compile "$LINENO"; then :
6982 ac_cv_sys_large_files=1; break
6984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6985 ac_cv_sys_large_files=unknown
6986 break
6987 done
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6990 $as_echo "$ac_cv_sys_large_files" >&6; }
6991 case $ac_cv_sys_large_files in #(
6992 no | unknown) ;;
6994 cat >>confdefs.h <<_ACEOF
6995 #define _LARGE_FILES $ac_cv_sys_large_files
6996 _ACEOF
6998 esac
6999 rm -rf conftest*
7006 ac_ext=c
7007 ac_cpp='$CPP $CPPFLAGS'
7008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7012 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7013 # On Suns, sometimes $CPP names a directory.
7014 if test -n "$CPP" && test -d "$CPP"; then
7015 CPP=
7017 if test -z "$CPP"; then
7018 if ${ac_cv_prog_CPP+:} false; then :
7019 $as_echo_n "(cached) " >&6
7020 else
7021 # Double quotes because CPP needs to be expanded
7022 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7024 ac_preproc_ok=false
7025 for ac_c_preproc_warn_flag in '' yes
7027 # Use a header file that comes with gcc, so configuring glibc
7028 # with a fresh cross-compiler works.
7029 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7030 # <limits.h> exists even on freestanding compilers.
7031 # On the NeXT, cc -E runs the code through the compiler's parser,
7032 # not just through cpp. "Syntax error" is here to catch this case.
7033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7034 /* end confdefs.h. */
7035 #ifdef __STDC__
7036 # include <limits.h>
7037 #else
7038 # include <assert.h>
7039 #endif
7040 Syntax error
7041 _ACEOF
7042 if ac_fn_c_try_cpp "$LINENO"; then :
7044 else
7045 # Broken: fails on valid input.
7046 continue
7048 rm -f conftest.err conftest.i conftest.$ac_ext
7050 # OK, works on sane cases. Now check whether nonexistent headers
7051 # can be detected and how.
7052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7053 /* end confdefs.h. */
7054 #include <ac_nonexistent.h>
7055 _ACEOF
7056 if ac_fn_c_try_cpp "$LINENO"; then :
7057 # Broken: success on invalid input.
7058 continue
7059 else
7060 # Passes both tests.
7061 ac_preproc_ok=:
7062 break
7064 rm -f conftest.err conftest.i conftest.$ac_ext
7066 done
7067 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7068 rm -f conftest.i conftest.err conftest.$ac_ext
7069 if $ac_preproc_ok; then :
7070 break
7073 done
7074 ac_cv_prog_CPP=$CPP
7077 CPP=$ac_cv_prog_CPP
7078 else
7079 ac_cv_prog_CPP=$CPP
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7082 $as_echo "$CPP" >&6; }
7083 ac_preproc_ok=false
7084 for ac_c_preproc_warn_flag in '' yes
7086 # Use a header file that comes with gcc, so configuring glibc
7087 # with a fresh cross-compiler works.
7088 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7089 # <limits.h> exists even on freestanding compilers.
7090 # On the NeXT, cc -E runs the code through the compiler's parser,
7091 # not just through cpp. "Syntax error" is here to catch this case.
7092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7093 /* end confdefs.h. */
7094 #ifdef __STDC__
7095 # include <limits.h>
7096 #else
7097 # include <assert.h>
7098 #endif
7099 Syntax error
7100 _ACEOF
7101 if ac_fn_c_try_cpp "$LINENO"; then :
7103 else
7104 # Broken: fails on valid input.
7105 continue
7107 rm -f conftest.err conftest.i conftest.$ac_ext
7109 # OK, works on sane cases. Now check whether nonexistent headers
7110 # can be detected and how.
7111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7112 /* end confdefs.h. */
7113 #include <ac_nonexistent.h>
7114 _ACEOF
7115 if ac_fn_c_try_cpp "$LINENO"; then :
7116 # Broken: success on invalid input.
7117 continue
7118 else
7119 # Passes both tests.
7120 ac_preproc_ok=:
7121 break
7123 rm -f conftest.err conftest.i conftest.$ac_ext
7125 done
7126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7127 rm -f conftest.i conftest.err conftest.$ac_ext
7128 if $ac_preproc_ok; then :
7130 else
7131 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7133 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7134 See \`config.log' for more details" "$LINENO" 5; }
7137 ac_ext=c
7138 ac_cpp='$CPP $CPPFLAGS'
7139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7145 $as_echo_n "checking for ANSI C header files... " >&6; }
7146 if ${ac_cv_header_stdc+:} false; then :
7147 $as_echo_n "(cached) " >&6
7148 else
7149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7150 /* end confdefs.h. */
7151 #include <stdlib.h>
7152 #include <stdarg.h>
7153 #include <string.h>
7154 #include <float.h>
7157 main ()
7161 return 0;
7163 _ACEOF
7164 if ac_fn_c_try_compile "$LINENO"; then :
7165 ac_cv_header_stdc=yes
7166 else
7167 ac_cv_header_stdc=no
7169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7171 if test $ac_cv_header_stdc = yes; then
7172 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7174 /* end confdefs.h. */
7175 #include <string.h>
7177 _ACEOF
7178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7179 $EGREP "memchr" >/dev/null 2>&1; then :
7181 else
7182 ac_cv_header_stdc=no
7184 rm -f conftest*
7188 if test $ac_cv_header_stdc = yes; then
7189 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7191 /* end confdefs.h. */
7192 #include <stdlib.h>
7194 _ACEOF
7195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7196 $EGREP "free" >/dev/null 2>&1; then :
7198 else
7199 ac_cv_header_stdc=no
7201 rm -f conftest*
7205 if test $ac_cv_header_stdc = yes; then
7206 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7207 if test "$cross_compiling" = yes; then :
7209 else
7210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7211 /* end confdefs.h. */
7212 #include <ctype.h>
7213 #include <stdlib.h>
7214 #if ((' ' & 0x0FF) == 0x020)
7215 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7216 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7217 #else
7218 # define ISLOWER(c) \
7219 (('a' <= (c) && (c) <= 'i') \
7220 || ('j' <= (c) && (c) <= 'r') \
7221 || ('s' <= (c) && (c) <= 'z'))
7222 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7223 #endif
7225 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7227 main ()
7229 int i;
7230 for (i = 0; i < 256; i++)
7231 if (XOR (islower (i), ISLOWER (i))
7232 || toupper (i) != TOUPPER (i))
7233 return 2;
7234 return 0;
7236 _ACEOF
7237 if ac_fn_c_try_run "$LINENO"; then :
7239 else
7240 ac_cv_header_stdc=no
7242 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7243 conftest.$ac_objext conftest.beam conftest.$ac_ext
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7249 $as_echo "$ac_cv_header_stdc" >&6; }
7250 if test $ac_cv_header_stdc = yes; then
7252 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7256 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7257 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7258 inttypes.h stdint.h unistd.h
7259 do :
7260 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7261 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7263 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7264 cat >>confdefs.h <<_ACEOF
7265 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7266 _ACEOF
7270 done
7273 for ac_header in \
7274 AL/al.h \
7275 ApplicationServices/ApplicationServices.h \
7276 AudioToolbox/AudioConverter.h \
7277 AudioUnit/AudioUnit.h \
7278 AudioUnit/AudioComponent.h \
7279 CL/cl.h \
7280 Carbon/Carbon.h \
7281 CommonCrypto/CommonCryptor.h \
7282 CoreAudio/CoreAudio.h \
7283 CoreServices/CoreServices.h \
7284 DiskArbitration/DiskArbitration.h \
7285 EGL/egl.h \
7286 IOKit/IOKitLib.h \
7287 IOKit/hid/IOHIDLib.h \
7288 OpenAL/al.h \
7289 OpenCL/opencl.h \
7290 QuickTime/ImageCompression.h \
7291 Security/Security.h \
7292 alias.h \
7293 alsa/asoundlib.h \
7294 arpa/inet.h \
7295 arpa/nameser.h \
7296 asm/types.h \
7297 asm/user.h \
7298 curses.h \
7299 dirent.h \
7300 dlfcn.h \
7301 elf.h \
7302 float.h \
7303 fnmatch.h \
7304 getopt.h \
7305 gettext-po.h \
7306 grp.h \
7307 gsm.h \
7308 gsm/gsm.h \
7309 ieeefp.h \
7310 inet/mib2.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 pthread.h \
7346 pwd.h \
7347 sched.h \
7348 scsi/scsi.h \
7349 scsi/scsi_ioctl.h \
7350 scsi/sg.h \
7351 stdbool.h \
7352 stdint.h \
7353 stropts.h \
7354 sys/asoundlib.h \
7355 sys/attr.h \
7356 sys/auxv.h \
7357 sys/cdio.h \
7358 sys/elf32.h \
7359 sys/epoll.h \
7360 sys/event.h \
7361 sys/exec_elf.h \
7362 sys/filio.h \
7363 sys/inotify.h \
7364 sys/ioctl.h \
7365 sys/ipc.h \
7366 sys/limits.h \
7367 sys/link.h \
7368 sys/mman.h \
7369 sys/modem.h \
7370 sys/msg.h \
7371 sys/mtio.h \
7372 sys/param.h \
7373 sys/poll.h \
7374 sys/prctl.h \
7375 sys/protosw.h \
7376 sys/ptrace.h \
7377 sys/queue.h \
7378 sys/resource.h \
7379 sys/scsiio.h \
7380 sys/shm.h \
7381 sys/signal.h \
7382 sys/socket.h \
7383 sys/socketvar.h \
7384 sys/sockio.h \
7385 sys/statvfs.h \
7386 sys/strtio.h \
7387 sys/syscall.h \
7388 sys/sysinfo.h \
7389 sys/tihdr.h \
7390 sys/time.h \
7391 sys/timeout.h \
7392 sys/times.h \
7393 sys/uio.h \
7394 sys/user.h \
7395 sys/utsname.h \
7396 sys/vnode.h \
7397 sys/wait.h \
7398 syscall.h \
7399 termios.h \
7400 unistd.h \
7401 utime.h \
7402 valgrind/memcheck.h \
7403 valgrind/valgrind.h \
7404 zlib.h
7406 do :
7407 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7408 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7409 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7410 cat >>confdefs.h <<_ACEOF
7411 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7412 _ACEOF
7416 done
7418 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7419 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7421 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7426 if test $ac_cv_header_sys_mkdev_h = no; then
7427 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7428 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7430 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7437 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7438 if ${ac_cv_header_stat_broken+:} false; then :
7439 $as_echo_n "(cached) " >&6
7440 else
7441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7442 /* end confdefs.h. */
7443 #include <sys/types.h>
7444 #include <sys/stat.h>
7446 #if defined S_ISBLK && defined S_IFDIR
7447 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7448 #endif
7450 #if defined S_ISBLK && defined S_IFCHR
7451 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7452 #endif
7454 #if defined S_ISLNK && defined S_IFREG
7455 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7456 #endif
7458 #if defined S_ISSOCK && defined S_IFREG
7459 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7460 #endif
7462 _ACEOF
7463 if ac_fn_c_try_compile "$LINENO"; then :
7464 ac_cv_header_stat_broken=no
7465 else
7466 ac_cv_header_stat_broken=yes
7468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7471 $as_echo "$ac_cv_header_stat_broken" >&6; }
7472 if test $ac_cv_header_stat_broken = yes; then
7474 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7480 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7481 do :
7482 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7483 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7484 #ifdef HAVE_SYS_PARAM_H
7485 # include <sys/param.h>
7486 #endif
7488 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7489 cat >>confdefs.h <<_ACEOF
7490 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7491 _ACEOF
7495 done
7498 for ac_header in \
7499 netinet/ip.h \
7500 net/if.h \
7501 net/if_arp.h \
7502 net/if_dl.h \
7503 net/if_types.h \
7504 net/route.h \
7505 netinet/if_ether.h \
7506 netinet/if_inarp.h \
7507 netinet/in_pcb.h \
7508 netinet/ip_icmp.h \
7509 netinet/ip_var.h \
7510 netinet/udp.h \
7511 netipx/ipx.h \
7512 sys/un.h \
7514 do :
7515 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7516 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7517 #ifdef HAVE_SYS_SOCKET_H
7518 # include <sys/socket.h>
7519 #endif
7520 #ifdef HAVE_SYS_SOCKETVAR_H
7521 # include <sys/socketvar.h>
7522 #endif
7523 #ifdef HAVE_NET_ROUTE_H
7524 # include <net/route.h>
7525 #endif
7526 #ifdef HAVE_NETINET_IN_H
7527 # include <netinet/in.h>
7528 #endif
7529 #ifdef HAVE_NETINET_IN_SYSTM_H
7530 # include <netinet/in_systm.h>
7531 #endif
7532 #ifdef HAVE_NET_IF_H
7533 # include <net/if.h>
7534 #endif
7535 #ifdef HAVE_NETINET_IP_H
7536 # include <netinet/ip.h>
7537 #endif
7539 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7540 cat >>confdefs.h <<_ACEOF
7541 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7542 _ACEOF
7546 done
7549 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7550 do :
7551 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7552 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7553 #ifdef HAVE_ALIAS_H
7554 # include <alias.h>
7555 #endif
7556 #ifdef HAVE_SYS_SOCKET_H
7557 # include <sys/socket.h>
7558 #endif
7559 #ifdef HAVE_SYS_SOCKETVAR_H
7560 # include <sys/socketvar.h>
7561 #endif
7562 #ifdef HAVE_SYS_TIMEOUT_H
7563 # include <sys/timeout.h>
7564 #endif
7565 #ifdef HAVE_NETINET_IN_H
7566 # include <netinet/in.h>
7567 #endif
7568 #ifdef HAVE_NETINET_IN_SYSTM_H
7569 # include <netinet/in_systm.h>
7570 #endif
7571 #ifdef HAVE_NETINET_IP_H
7572 # include <netinet/ip.h>
7573 #endif
7574 #ifdef HAVE_NETINET_IP_VAR_H
7575 # include <netinet/ip_var.h>
7576 #endif
7577 #ifdef HAVE_NETINET_IP_ICMP_H
7578 # include <netinet/ip_icmp.h>
7579 #endif
7580 #ifdef HAVE_NETINET_UDP_H
7581 # include <netinet/udp.h>
7582 #endif
7583 #ifdef HAVE_NETINET_TCP_H
7584 # include <netinet/tcp.h>
7585 #endif
7586 #ifdef HAVE_NETINET_TCP_TIMER_H
7587 #include <netinet/tcp_timer.h>
7588 #endif
7590 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7591 cat >>confdefs.h <<_ACEOF
7592 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7593 _ACEOF
7597 done
7600 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7601 do :
7602 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7603 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7604 #ifdef HAVE_ASM_TYPES_H
7605 # include <asm/types.h>
7606 #endif
7607 #ifdef HAVE_SYS_SOCKET_H
7608 # include <sys/socket.h>
7609 #endif
7610 #ifdef HAVE_LINUX_TYPES_H
7611 # include <linux/types.h>
7612 #endif
7614 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7615 cat >>confdefs.h <<_ACEOF
7616 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7617 _ACEOF
7621 done
7624 for ac_header in mach-o/dyld_images.h
7625 do :
7626 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7627 # include <stdbool.h>
7628 #endif
7629 #ifdef HAVE_STDINT_H
7630 # include <stdint.h>
7631 #endif
7633 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7634 cat >>confdefs.h <<_ACEOF
7635 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7636 _ACEOF
7640 done
7643 for ac_header in resolv.h
7644 do :
7645 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7646 #ifdef HAVE_SYS_SOCKET_H
7647 # include <sys/socket.h>
7648 #endif
7649 #ifdef HAVE_NETINET_IN_H
7650 # include <netinet/in.h>
7651 #endif
7652 #ifdef HAVE_ARPA_NAMESER_H
7653 # include <arpa/nameser.h>
7654 #endif
7656 if test "x$ac_cv_header_resolv_h" = xyes; then :
7657 cat >>confdefs.h <<_ACEOF
7658 #define HAVE_RESOLV_H 1
7659 _ACEOF
7663 done
7666 for ac_header in ifaddrs.h
7667 do :
7668 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7670 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7671 cat >>confdefs.h <<_ACEOF
7672 #define HAVE_IFADDRS_H 1
7673 _ACEOF
7677 done
7680 for ac_header in sys/ucontext.h
7681 do :
7682 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7684 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7685 cat >>confdefs.h <<_ACEOF
7686 #define HAVE_SYS_UCONTEXT_H 1
7687 _ACEOF
7691 done
7694 for ac_header in sys/thr.h
7695 do :
7696 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7697 #ifdef HAVE_SYS_UCONTEXT_H
7698 #include <sys/ucontext.h>
7699 #endif
7701 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7702 cat >>confdefs.h <<_ACEOF
7703 #define HAVE_SYS_THR_H 1
7704 _ACEOF
7708 done
7711 for ac_header in pthread_np.h
7712 do :
7713 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7714 #include <pthread.h>
7715 #endif
7717 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7718 cat >>confdefs.h <<_ACEOF
7719 #define HAVE_PTHREAD_NP_H 1
7720 _ACEOF
7724 done
7727 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7728 do :
7729 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7730 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7731 #include <sys/time.h>
7732 #endif
7733 #include <sys/types.h>
7734 #ifdef HAVE_ASM_TYPES_H
7735 #include <asm/types.h>
7736 #endif
7738 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7739 cat >>confdefs.h <<_ACEOF
7740 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7741 _ACEOF
7745 done
7748 for ac_header in libprocstat.h
7749 do :
7750 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7751 #include <sys/param.h>
7752 #endif
7753 #ifdef HAVE_SYS_QUEUE_H
7754 #include <sys/queue.h>
7755 #endif
7756 #ifdef HAVE_SYS_SOCKET_H
7757 #include <sys/socket.h>
7758 #endif
7760 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7761 cat >>confdefs.h <<_ACEOF
7762 #define HAVE_LIBPROCSTAT_H 1
7763 _ACEOF
7767 done
7771 DLLFLAGS="-D_REENTRANT"
7773 LDRPATH_INSTALL=""
7775 LDRPATH_LOCAL=""
7777 LDEXECFLAGS=""
7779 TOP_INSTALL_LIB=""
7781 TOP_INSTALL_DEV=""
7783 WINELOADER_LDFLAGS=""
7785 WINEPRELOADER_LDFLAGS=""
7787 LIBEXT="so"
7788 DLLEXT=".so"
7789 # Extract the first word of "ldd", so it can be a program name with args.
7790 set dummy ldd; ac_word=$2
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7792 $as_echo_n "checking for $ac_word... " >&6; }
7793 if ${ac_cv_path_LDD+:} false; then :
7794 $as_echo_n "(cached) " >&6
7795 else
7796 case $LDD in
7797 [\\/]* | ?:[\\/]*)
7798 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7802 as_dummy="/sbin:/usr/sbin:$PATH"
7803 for as_dir in $as_dummy
7805 IFS=$as_save_IFS
7806 test -z "$as_dir" && as_dir=.
7807 for ac_exec_ext in '' $ac_executable_extensions; do
7808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7809 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7811 break 2
7813 done
7814 done
7815 IFS=$as_save_IFS
7817 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7819 esac
7821 LDD=$ac_cv_path_LDD
7822 if test -n "$LDD"; then
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7824 $as_echo "$LDD" >&6; }
7825 else
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7827 $as_echo "no" >&6; }
7831 if test -n "$ac_tool_prefix"; then
7832 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7833 set dummy ${ac_tool_prefix}otool; ac_word=$2
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7835 $as_echo_n "checking for $ac_word... " >&6; }
7836 if ${ac_cv_prog_OTOOL+:} false; then :
7837 $as_echo_n "(cached) " >&6
7838 else
7839 if test -n "$OTOOL"; then
7840 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7841 else
7842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7843 for as_dir in $PATH
7845 IFS=$as_save_IFS
7846 test -z "$as_dir" && as_dir=.
7847 for ac_exec_ext in '' $ac_executable_extensions; do
7848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7849 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7851 break 2
7853 done
7854 done
7855 IFS=$as_save_IFS
7859 OTOOL=$ac_cv_prog_OTOOL
7860 if test -n "$OTOOL"; then
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7862 $as_echo "$OTOOL" >&6; }
7863 else
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7865 $as_echo "no" >&6; }
7870 if test -z "$ac_cv_prog_OTOOL"; then
7871 ac_ct_OTOOL=$OTOOL
7872 # Extract the first word of "otool", so it can be a program name with args.
7873 set dummy otool; ac_word=$2
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7875 $as_echo_n "checking for $ac_word... " >&6; }
7876 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7877 $as_echo_n "(cached) " >&6
7878 else
7879 if test -n "$ac_ct_OTOOL"; then
7880 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7881 else
7882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7883 for as_dir in $PATH
7885 IFS=$as_save_IFS
7886 test -z "$as_dir" && as_dir=.
7887 for ac_exec_ext in '' $ac_executable_extensions; do
7888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7889 ac_cv_prog_ac_ct_OTOOL="otool"
7890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7891 break 2
7893 done
7894 done
7895 IFS=$as_save_IFS
7899 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7900 if test -n "$ac_ct_OTOOL"; then
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7902 $as_echo "$ac_ct_OTOOL" >&6; }
7903 else
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7905 $as_echo "no" >&6; }
7908 if test "x$ac_ct_OTOOL" = x; then
7909 OTOOL="otool"
7910 else
7911 case $cross_compiling:$ac_tool_warned in
7912 yes:)
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7915 ac_tool_warned=yes ;;
7916 esac
7917 OTOOL=$ac_ct_OTOOL
7919 else
7920 OTOOL="$ac_cv_prog_OTOOL"
7923 if test -n "$ac_tool_prefix"; then
7924 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7925 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7927 $as_echo_n "checking for $ac_word... " >&6; }
7928 if ${ac_cv_prog_READELF+:} false; then :
7929 $as_echo_n "(cached) " >&6
7930 else
7931 if test -n "$READELF"; then
7932 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7933 else
7934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7935 for as_dir in $PATH
7937 IFS=$as_save_IFS
7938 test -z "$as_dir" && as_dir=.
7939 for ac_exec_ext in '' $ac_executable_extensions; do
7940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7941 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7943 break 2
7945 done
7946 done
7947 IFS=$as_save_IFS
7951 READELF=$ac_cv_prog_READELF
7952 if test -n "$READELF"; then
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7954 $as_echo "$READELF" >&6; }
7955 else
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7957 $as_echo "no" >&6; }
7962 if test -z "$ac_cv_prog_READELF"; then
7963 ac_ct_READELF=$READELF
7964 # Extract the first word of "readelf", so it can be a program name with args.
7965 set dummy readelf; ac_word=$2
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7967 $as_echo_n "checking for $ac_word... " >&6; }
7968 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7969 $as_echo_n "(cached) " >&6
7970 else
7971 if test -n "$ac_ct_READELF"; then
7972 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7973 else
7974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7975 for as_dir in $PATH
7977 IFS=$as_save_IFS
7978 test -z "$as_dir" && as_dir=.
7979 for ac_exec_ext in '' $ac_executable_extensions; do
7980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7981 ac_cv_prog_ac_ct_READELF="readelf"
7982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7983 break 2
7985 done
7986 done
7987 IFS=$as_save_IFS
7991 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7992 if test -n "$ac_ct_READELF"; then
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7994 $as_echo "$ac_ct_READELF" >&6; }
7995 else
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7997 $as_echo "no" >&6; }
8000 if test "x$ac_ct_READELF" = x; then
8001 READELF="true"
8002 else
8003 case $cross_compiling:$ac_tool_warned in
8004 yes:)
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8007 ac_tool_warned=yes ;;
8008 esac
8009 READELF=$ac_ct_READELF
8011 else
8012 READELF="$ac_cv_prog_READELF"
8015 wine_rules_file=conf$$rules.make
8016 rm -f $wine_rules_file
8017 SUBDIRS=""
8019 DISABLED_SUBDIRS=""
8021 CONFIGURE_TARGETS=""
8024 wine_fn_append_file ()
8026 as_fn_append $1 " \\$as_nl $2"
8029 wine_fn_append_rule ()
8031 $as_echo "$1" >>$wine_rules_file
8034 wine_fn_config_makefile ()
8036 wine_fn_append_file SUBDIRS $1
8037 if eval test \"x\$"$2"\" = x"no"; then :
8038 wine_fn_append_file DISABLED_SUBDIRS $1
8042 wine_fn_config_symlink ()
8044 ac_links=$@
8045 wine_fn_append_rule \
8046 "$ac_links:
8047 @./config.status \$@"
8048 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8051 wine_binary="wine"
8052 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8053 WINELOADER_PROGRAMS="$wine_binary"
8055 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8057 case $host_os in
8058 cygwin*|mingw32*)
8059 if test -n "$ac_tool_prefix"; then
8060 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8061 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8063 $as_echo_n "checking for $ac_word... " >&6; }
8064 if ${ac_cv_prog_DLLTOOL+:} false; then :
8065 $as_echo_n "(cached) " >&6
8066 else
8067 if test -n "$DLLTOOL"; then
8068 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8069 else
8070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8071 for as_dir in $PATH
8073 IFS=$as_save_IFS
8074 test -z "$as_dir" && as_dir=.
8075 for ac_exec_ext in '' $ac_executable_extensions; do
8076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8077 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8079 break 2
8081 done
8082 done
8083 IFS=$as_save_IFS
8087 DLLTOOL=$ac_cv_prog_DLLTOOL
8088 if test -n "$DLLTOOL"; then
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8090 $as_echo "$DLLTOOL" >&6; }
8091 else
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8093 $as_echo "no" >&6; }
8098 if test -z "$ac_cv_prog_DLLTOOL"; then
8099 ac_ct_DLLTOOL=$DLLTOOL
8100 # Extract the first word of "dlltool", so it can be a program name with args.
8101 set dummy dlltool; ac_word=$2
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8103 $as_echo_n "checking for $ac_word... " >&6; }
8104 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8105 $as_echo_n "(cached) " >&6
8106 else
8107 if test -n "$ac_ct_DLLTOOL"; then
8108 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8109 else
8110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8111 for as_dir in $PATH
8113 IFS=$as_save_IFS
8114 test -z "$as_dir" && as_dir=.
8115 for ac_exec_ext in '' $ac_executable_extensions; do
8116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8117 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8119 break 2
8121 done
8122 done
8123 IFS=$as_save_IFS
8127 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8128 if test -n "$ac_ct_DLLTOOL"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8130 $as_echo "$ac_ct_DLLTOOL" >&6; }
8131 else
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8133 $as_echo "no" >&6; }
8136 if test "x$ac_ct_DLLTOOL" = x; then
8137 DLLTOOL="false"
8138 else
8139 case $cross_compiling:$ac_tool_warned in
8140 yes:)
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8143 ac_tool_warned=yes ;;
8144 esac
8145 DLLTOOL=$ac_ct_DLLTOOL
8147 else
8148 DLLTOOL="$ac_cv_prog_DLLTOOL"
8151 LIBEXT="dll"
8152 DLLEXT=""
8153 enable_iphlpapi=${enable_iphlpapi:-no}
8154 enable_kernel32=${enable_kernel32:-no}
8155 enable_msvcrt=${enable_msvcrt:-no}
8156 enable_ntdll=${enable_ntdll:-no}
8157 enable_ws2_32=${enable_ws2_32:-no}
8158 enable_loader=${enable_loader:-no}
8159 enable_server=${enable_server:-no}
8160 with_x=${with_x:-no}
8161 with_pthread=${with_pthread:-no}
8163 LIBWINE_SHAREDLIB="libwine.dll"
8165 LIBWINE_IMPORTLIB="libwine.a"
8167 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8169 LIBWINE_DEPENDS="wine.def"
8171 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.dll"
8172 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.a"
8175 darwin*|macosx*)
8176 for ac_header in libunwind.h
8177 do :
8178 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8179 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8180 cat >>confdefs.h <<_ACEOF
8181 #define HAVE_LIBUNWIND_H 1
8182 _ACEOF
8186 done
8188 ac_ext=m
8189 ac_cpp='$OBJCPP $CPPFLAGS'
8190 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8191 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8192 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8194 ac_ext=m
8195 ac_cpp='$OBJCPP $CPPFLAGS'
8196 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8197 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8198 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8199 if test -n "$ac_tool_prefix"; then
8200 for ac_prog in gcc objcc objc cc CC
8202 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8203 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8205 $as_echo_n "checking for $ac_word... " >&6; }
8206 if ${ac_cv_prog_OBJC+:} false; then :
8207 $as_echo_n "(cached) " >&6
8208 else
8209 if test -n "$OBJC"; then
8210 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8211 else
8212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8213 for as_dir in $PATH
8215 IFS=$as_save_IFS
8216 test -z "$as_dir" && as_dir=.
8217 for ac_exec_ext in '' $ac_executable_extensions; do
8218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8219 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8221 break 2
8223 done
8224 done
8225 IFS=$as_save_IFS
8229 OBJC=$ac_cv_prog_OBJC
8230 if test -n "$OBJC"; then
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8232 $as_echo "$OBJC" >&6; }
8233 else
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8235 $as_echo "no" >&6; }
8239 test -n "$OBJC" && break
8240 done
8242 if test -z "$OBJC"; then
8243 ac_ct_OBJC=$OBJC
8244 for ac_prog in gcc objcc objc cc CC
8246 # Extract the first word of "$ac_prog", so it can be a program name with args.
8247 set dummy $ac_prog; ac_word=$2
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8249 $as_echo_n "checking for $ac_word... " >&6; }
8250 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8251 $as_echo_n "(cached) " >&6
8252 else
8253 if test -n "$ac_ct_OBJC"; then
8254 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8255 else
8256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8257 for as_dir in $PATH
8259 IFS=$as_save_IFS
8260 test -z "$as_dir" && as_dir=.
8261 for ac_exec_ext in '' $ac_executable_extensions; do
8262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8263 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8265 break 2
8267 done
8268 done
8269 IFS=$as_save_IFS
8273 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8274 if test -n "$ac_ct_OBJC"; then
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8276 $as_echo "$ac_ct_OBJC" >&6; }
8277 else
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8279 $as_echo "no" >&6; }
8283 test -n "$ac_ct_OBJC" && break
8284 done
8286 if test "x$ac_ct_OBJC" = x; then
8287 OBJC="gcc"
8288 else
8289 case $cross_compiling:$ac_tool_warned in
8290 yes:)
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8292 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8293 ac_tool_warned=yes ;;
8294 esac
8295 OBJC=$ac_ct_OBJC
8299 # Provide some information about the compiler.
8300 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8301 set X $ac_compile
8302 ac_compiler=$2
8303 for ac_option in --version -v -V -qversion; do
8304 { { ac_try="$ac_compiler $ac_option >&5"
8305 case "(($ac_try" in
8306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8307 *) ac_try_echo=$ac_try;;
8308 esac
8309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8310 $as_echo "$ac_try_echo"; } >&5
8311 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8312 ac_status=$?
8313 if test -s conftest.err; then
8314 sed '10a\
8315 ... rest of stderr output deleted ...
8316 10q' conftest.err >conftest.er1
8317 cat conftest.er1 >&5
8319 rm -f conftest.er1 conftest.err
8320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8321 test $ac_status = 0; }
8322 done
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8325 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8326 if ${ac_cv_objc_compiler_gnu+:} false; then :
8327 $as_echo_n "(cached) " >&6
8328 else
8329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8330 /* end confdefs.h. */
8333 main ()
8335 #ifndef __GNUC__
8336 choke me
8337 #endif
8340 return 0;
8342 _ACEOF
8343 if ac_fn_objc_try_compile "$LINENO"; then :
8344 ac_compiler_gnu=yes
8345 else
8346 ac_compiler_gnu=no
8348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8349 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8353 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8354 if test $ac_compiler_gnu = yes; then
8355 GOBJC=yes
8356 else
8357 GOBJC=
8359 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8360 ac_save_OBJCFLAGS=$OBJCFLAGS
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8362 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8363 if ${ac_cv_prog_objc_g+:} false; then :
8364 $as_echo_n "(cached) " >&6
8365 else
8366 ac_save_objc_werror_flag=$ac_objc_werror_flag
8367 ac_objc_werror_flag=yes
8368 ac_cv_prog_objc_g=no
8369 OBJCFLAGS="-g"
8370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8371 /* end confdefs.h. */
8374 main ()
8378 return 0;
8380 _ACEOF
8381 if ac_fn_objc_try_compile "$LINENO"; then :
8382 ac_cv_prog_objc_g=yes
8383 else
8384 OBJCFLAGS=""
8385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8386 /* end confdefs.h. */
8389 main ()
8393 return 0;
8395 _ACEOF
8396 if ac_fn_objc_try_compile "$LINENO"; then :
8398 else
8399 ac_objc_werror_flag=$ac_save_objc_werror_flag
8400 OBJCFLAGS="-g"
8401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8402 /* end confdefs.h. */
8405 main ()
8409 return 0;
8411 _ACEOF
8412 if ac_fn_objc_try_compile "$LINENO"; then :
8413 ac_cv_prog_objc_g=yes
8415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8420 ac_objc_werror_flag=$ac_save_objc_werror_flag
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8423 $as_echo "$ac_cv_prog_objc_g" >&6; }
8424 if test "$ac_test_OBJCFLAGS" = set; then
8425 OBJCFLAGS=$ac_save_OBJCFLAGS
8426 elif test $ac_cv_prog_objc_g = yes; then
8427 if test "$GOBJC" = yes; then
8428 OBJCFLAGS="-g -O2"
8429 else
8430 OBJCFLAGS="-g"
8432 else
8433 if test "$GOBJC" = yes; then
8434 OBJCFLAGS="-O2"
8435 else
8436 OBJCFLAGS=
8439 ac_ext=m
8440 ac_cpp='$OBJCPP $CPPFLAGS'
8441 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8442 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8443 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8446 ac_ext=m
8447 ac_cpp='$OBJCPP $CPPFLAGS'
8448 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8449 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8450 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8452 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8453 if test -z "$OBJCPP"; then
8454 if ${ac_cv_prog_OBJCPP+:} false; then :
8455 $as_echo_n "(cached) " >&6
8456 else
8457 # Double quotes because OBJCPP needs to be expanded
8458 for OBJCPP in "$OBJC -E" "/lib/cpp"
8460 ac_preproc_ok=false
8461 for ac_objc_preproc_warn_flag in '' yes
8463 # Use a header file that comes with gcc, so configuring glibc
8464 # with a fresh cross-compiler works.
8465 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8466 # <limits.h> exists even on freestanding compilers.
8467 # On the NeXT, cc -E runs the code through the compiler's parser,
8468 # not just through cpp. "Syntax error" is here to catch this case.
8469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8470 /* end confdefs.h. */
8471 #ifdef __STDC__
8472 # include <limits.h>
8473 #else
8474 # include <assert.h>
8475 #endif
8476 Syntax error
8477 _ACEOF
8478 if ac_fn_objc_try_cpp "$LINENO"; then :
8480 else
8481 # Broken: fails on valid input.
8482 continue
8484 rm -f conftest.err conftest.i conftest.$ac_ext
8486 # OK, works on sane cases. Now check whether nonexistent headers
8487 # can be detected and how.
8488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8490 #include <ac_nonexistent.h>
8491 _ACEOF
8492 if ac_fn_objc_try_cpp "$LINENO"; then :
8493 # Broken: success on invalid input.
8494 continue
8495 else
8496 # Passes both tests.
8497 ac_preproc_ok=:
8498 break
8500 rm -f conftest.err conftest.i conftest.$ac_ext
8502 done
8503 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8504 rm -f conftest.i conftest.err conftest.$ac_ext
8505 if $ac_preproc_ok; then :
8506 break
8509 done
8510 ac_cv_prog_OBJCPP=$OBJCPP
8513 OBJCPP=$ac_cv_prog_OBJCPP
8514 else
8515 ac_cv_prog_OBJCPP=$OBJCPP
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8518 $as_echo "$OBJCPP" >&6; }
8519 ac_preproc_ok=false
8520 for ac_objc_preproc_warn_flag in '' yes
8522 # Use a header file that comes with gcc, so configuring glibc
8523 # with a fresh cross-compiler works.
8524 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8525 # <limits.h> exists even on freestanding compilers.
8526 # On the NeXT, cc -E runs the code through the compiler's parser,
8527 # not just through cpp. "Syntax error" is here to catch this case.
8528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8529 /* end confdefs.h. */
8530 #ifdef __STDC__
8531 # include <limits.h>
8532 #else
8533 # include <assert.h>
8534 #endif
8535 Syntax error
8536 _ACEOF
8537 if ac_fn_objc_try_cpp "$LINENO"; then :
8539 else
8540 # Broken: fails on valid input.
8541 continue
8543 rm -f conftest.err conftest.i conftest.$ac_ext
8545 # OK, works on sane cases. Now check whether nonexistent headers
8546 # can be detected and how.
8547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8548 /* end confdefs.h. */
8549 #include <ac_nonexistent.h>
8550 _ACEOF
8551 if ac_fn_objc_try_cpp "$LINENO"; then :
8552 # Broken: success on invalid input.
8553 continue
8554 else
8555 # Passes both tests.
8556 ac_preproc_ok=:
8557 break
8559 rm -f conftest.err conftest.i conftest.$ac_ext
8561 done
8562 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8563 rm -f conftest.i conftest.err conftest.$ac_ext
8564 if $ac_preproc_ok; then :
8566 else
8567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8569 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8570 See \`config.log' for more details" "$LINENO" 5; }
8573 ac_ext=m
8574 ac_cpp='$OBJCPP $CPPFLAGS'
8575 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8576 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8577 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8580 for ac_header in Metal/Metal.h
8581 do :
8582 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8583 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8584 cat >>confdefs.h <<_ACEOF
8585 #define HAVE_METAL_METAL_H 1
8586 _ACEOF
8590 done
8592 ac_ext=c
8593 ac_cpp='$CPP $CPPFLAGS'
8594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8598 LIBEXT="dylib"
8599 DLLFLAGS="$DLLFLAGS -fPIC"
8600 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8601 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8602 COREFOUNDATION_LIBS="-framework CoreFoundation"
8604 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8606 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8608 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8610 CORESERVICES_LIBS="-framework CoreServices"
8612 APPKIT_LIBS="-framework AppKit"
8615 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8617 wine_can_build_preloader=yes
8618 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8620 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8621 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8622 $as_echo_n "(cached) " >&6
8623 else
8624 ac_wine_try_cflags_saved=$CFLAGS
8625 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8627 /* end confdefs.h. */
8628 int main(int argc, char **argv) { return 0; }
8629 _ACEOF
8630 if ac_fn_c_try_link "$LINENO"; then :
8631 ac_cv_cflags__Wl__no_new_main__e__main=yes
8632 else
8633 ac_cv_cflags__Wl__no_new_main__e__main=no
8635 rm -f core conftest.err conftest.$ac_objext \
8636 conftest$ac_exeext conftest.$ac_ext
8637 CFLAGS=$ac_wine_try_cflags_saved
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8640 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8641 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8642 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8644 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8645 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8646 $as_echo_n "(cached) " >&6
8647 else
8648 ac_wine_try_cflags_saved=$CFLAGS
8649 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8651 /* end confdefs.h. */
8652 int main(int argc, char **argv) { return 0; }
8653 _ACEOF
8654 if ac_fn_c_try_link "$LINENO"; then :
8655 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8656 else
8657 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8659 rm -f core conftest.err conftest.$ac_objext \
8660 conftest$ac_exeext conftest.$ac_ext
8661 CFLAGS=$ac_wine_try_cflags_saved
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8664 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8665 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8666 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8667 else
8668 { $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
8669 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8670 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8671 $as_echo_n "(cached) " >&6
8672 else
8673 ac_wine_try_cflags_saved=$CFLAGS
8674 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8676 /* end confdefs.h. */
8677 int main(int argc, char **argv) { return 0; }
8678 _ACEOF
8679 if ac_fn_c_try_link "$LINENO"; then :
8680 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8681 else
8682 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8684 rm -f core conftest.err conftest.$ac_objext \
8685 conftest$ac_exeext conftest.$ac_ext
8686 CFLAGS=$ac_wine_try_cflags_saved
8688 { $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
8689 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8690 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8691 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8692 else
8693 wine_can_build_preloader=no
8696 else
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8698 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8699 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8700 $as_echo_n "(cached) " >&6
8701 else
8702 ac_wine_try_cflags_saved=$CFLAGS
8703 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8705 /* end confdefs.h. */
8706 int main(int argc, char **argv) { return 0; }
8707 _ACEOF
8708 if ac_fn_c_try_link "$LINENO"; then :
8709 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8710 else
8711 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8713 rm -f core conftest.err conftest.$ac_objext \
8714 conftest$ac_exeext conftest.$ac_ext
8715 CFLAGS=$ac_wine_try_cflags_saved
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8718 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8719 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8720 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8721 else
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8723 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8724 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8725 $as_echo_n "(cached) " >&6
8726 else
8727 ac_wine_try_cflags_saved=$CFLAGS
8728 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8730 /* end confdefs.h. */
8731 int main(int argc, char **argv) { return 0; }
8732 _ACEOF
8733 if ac_fn_c_try_link "$LINENO"; then :
8734 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8735 else
8736 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8738 rm -f core conftest.err conftest.$ac_objext \
8739 conftest$ac_exeext conftest.$ac_ext
8740 CFLAGS=$ac_wine_try_cflags_saved
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8743 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8744 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8745 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8746 else
8747 wine_can_build_preloader=no
8751 if test "$wine_can_build_preloader" = "yes"
8752 then
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8754 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8755 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8756 $as_echo_n "(cached) " >&6
8757 else
8758 ac_wine_try_cflags_saved=$CFLAGS
8759 CFLAGS="$CFLAGS -Wl,-no_pie"
8760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8761 /* end confdefs.h. */
8762 int main(int argc, char **argv) { return 0; }
8763 _ACEOF
8764 if ac_fn_c_try_link "$LINENO"; then :
8765 ac_cv_cflags__Wl__no_pie=yes
8766 else
8767 ac_cv_cflags__Wl__no_pie=no
8769 rm -f core conftest.err conftest.$ac_objext \
8770 conftest$ac_exeext conftest.$ac_ext
8771 CFLAGS=$ac_wine_try_cflags_saved
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8774 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8775 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8776 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8778 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8779 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8780 else
8781 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8784 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8785 then
8786 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8789 if test "$ac_cv_header_Security_Security_h" = "yes"
8790 then
8791 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8793 ac_save_LIBS="$LIBS"
8794 LIBS="$LIBS $SECURITY_LIBS"
8795 for ac_func in SSLCopyPeerCertificates
8796 do :
8797 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8798 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8799 cat >>confdefs.h <<_ACEOF
8800 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8801 _ACEOF
8804 done
8806 LIBS="$ac_save_LIBS"
8808 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8809 then
8810 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8811 then
8812 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8814 else
8815 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8818 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8819 ac_save_LIBS="$LIBS"
8820 LIBS="$LIBS $COREAUDIO_LIBS"
8821 for ac_func in AUGraphAddNode
8822 do :
8823 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8824 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8825 cat >>confdefs.h <<_ACEOF
8826 #define HAVE_AUGRAPHADDNODE 1
8827 _ACEOF
8830 done
8832 LIBS="$ac_save_LIBS"
8834 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8835 then
8836 OPENAL_LIBS="-framework OpenAL"
8839 cat >>confdefs.h <<_ACEOF
8840 #define HAVE_OPENAL 1
8841 _ACEOF
8843 ac_cv_lib_openal=yes
8845 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8846 then
8847 OPENCL_LIBS="-framework OpenCL"
8849 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8851 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8852 then
8853 ac_save_LIBS="$LIBS"
8854 LIBS="$LIBS $IOKIT_LIBS"
8855 for ac_func in IOHIDManagerCreate
8856 do :
8857 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8858 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8859 cat >>confdefs.h <<_ACEOF
8860 #define HAVE_IOHIDMANAGERCREATE 1
8861 _ACEOF
8864 done
8866 LIBS="$ac_save_LIBS"
8868 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8869 then
8870 ac_save_LIBS="$LIBS"
8871 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8873 $as_echo_n "checking for the QuickTime framework... " >&6; }
8874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8875 /* end confdefs.h. */
8876 #include <QuickTime/ImageCompression.h>
8878 main ()
8880 CodecManagerVersion(NULL);
8882 return 0;
8884 _ACEOF
8885 if ac_fn_c_try_link "$LINENO"; then :
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8887 $as_echo "yes" >&6; }
8888 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8890 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8891 else
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8893 $as_echo "no" >&6; }
8894 ac_cv_header_QuickTime_ImageCompression_h=no
8896 rm -f core conftest.err conftest.$ac_objext \
8897 conftest$ac_exeext conftest.$ac_ext
8898 LIBS="$ac_save_LIBS"
8900 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8901 then
8902 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8904 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8905 then
8906 CARBON_LIBS="-framework Carbon"
8909 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8910 then
8911 METAL_LIBS="-framework Metal -framework QuartzCore"
8915 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8916 then
8917 ac_save_LIBS="$LIBS"
8918 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8919 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8920 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8921 enable_winemac_drv=${enable_winemac_drv:-yes}
8924 LIBS="$ac_save_LIBS"
8927 if test "x$enable_win16" = "xyes"
8928 then
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8930 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8931 if test "$cross_compiling" = yes; then :
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8933 $as_echo "cross-compiling, assuming yes" >&6; }
8934 else
8935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8936 /* end confdefs.h. */
8937 asm(".text\n"
8938 "bad:\tnop;nop\n"
8939 "good:\tnop;nop\n\t"
8940 ".globl _testfunc\n"
8941 "_testfunc:\tcallw good");
8942 extern void testfunc();
8944 main ()
8946 unsigned short *p = (unsigned short *)testfunc;
8947 return p[0] != 0xe866 || p[1] != 0xfffa
8949 return 0;
8951 _ACEOF
8952 if ac_fn_c_try_run "$LINENO"; then :
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8954 $as_echo "yes" >&6; }
8955 else
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8957 $as_echo "no" >&6; }
8958 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
8960 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8961 conftest.$ac_objext conftest.beam conftest.$ac_ext
8966 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8968 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8970 WINELOADER_DEPENDS="wine_info.plist"
8972 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
8973 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
8976 linux-android*)
8977 DLLFLAGS="$DLLFLAGS -fPIC"
8978 LDEXECFLAGS="-Wl,-pie"
8979 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8981 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8982 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8983 $as_echo_n "(cached) " >&6
8984 else
8985 ac_wine_try_cflags_saved=$CFLAGS
8986 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8988 /* end confdefs.h. */
8989 int main(int argc, char **argv) { return 0; }
8990 _ACEOF
8991 if ac_fn_c_try_link "$LINENO"; then :
8992 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8993 else
8994 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8996 rm -f core conftest.err conftest.$ac_objext \
8997 conftest$ac_exeext conftest.$ac_ext
8998 CFLAGS=$ac_wine_try_cflags_saved
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9001 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9002 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9003 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9005 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9006 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9008 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9009 if eval \${$as_ac_var+:} false; then :
9010 $as_echo_n "(cached) " >&6
9011 else
9012 ac_wine_try_cflags_saved=$CFLAGS
9013 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9015 /* end confdefs.h. */
9016 int main(int argc, char **argv) { return 0; }
9017 _ACEOF
9018 if ac_fn_c_try_link "$LINENO"; then :
9019 eval "$as_ac_var=yes"
9020 else
9021 eval "$as_ac_var=no"
9023 rm -f core conftest.err conftest.$ac_objext \
9024 conftest$ac_exeext conftest.$ac_ext
9025 CFLAGS=$ac_wine_try_cflags_saved
9027 eval ac_res=\$$as_ac_var
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9029 $as_echo "$ac_res" >&6; }
9030 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9031 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9032 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9033 else
9034 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9036 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9037 if eval \${$as_ac_var+:} false; then :
9038 $as_echo_n "(cached) " >&6
9039 else
9040 ac_wine_try_cflags_saved=$CFLAGS
9041 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9043 /* end confdefs.h. */
9044 int main(int argc, char **argv) { return 0; }
9045 _ACEOF
9046 if ac_fn_c_try_link "$LINENO"; then :
9047 eval "$as_ac_var=yes"
9048 else
9049 eval "$as_ac_var=no"
9051 rm -f core conftest.err conftest.$ac_objext \
9052 conftest$ac_exeext conftest.$ac_ext
9053 CFLAGS=$ac_wine_try_cflags_saved
9055 eval ac_res=\$$as_ac_var
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9057 $as_echo "$ac_res" >&6; }
9058 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9059 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9060 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9064 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9065 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9066 $as_echo_n "(cached) " >&6
9067 else
9068 ac_wine_try_cflags_saved=$CFLAGS
9069 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 int main(int argc, char **argv) { return 0; }
9073 _ACEOF
9074 if ac_fn_c_try_link "$LINENO"; then :
9075 ac_cv_cflags__Wl___enable_new_dtags=yes
9076 else
9077 ac_cv_cflags__Wl___enable_new_dtags=no
9079 rm -f core conftest.err conftest.$ac_objext \
9080 conftest$ac_exeext conftest.$ac_ext
9081 CFLAGS=$ac_wine_try_cflags_saved
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9084 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9085 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9086 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9089 LIBWINE_SHAREDLIB="libwine.so"
9091 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9093 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9096 $as_echo_n "checking for -lEGL... " >&6; }
9097 if ${ac_cv_lib_soname_EGL+:} false; then :
9098 $as_echo_n "(cached) " >&6
9099 else
9100 ac_check_soname_save_LIBS=$LIBS
9101 LIBS="-lEGL $LIBS"
9102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9103 /* end confdefs.h. */
9105 /* Override any GCC internal prototype to avoid an error.
9106 Use char because int might match the return type of a GCC
9107 builtin and then its argument prototype would still apply. */
9108 #ifdef __cplusplus
9109 extern "C"
9110 #endif
9111 char eglGetProcAddress ();
9113 main ()
9115 return eglGetProcAddress ();
9117 return 0;
9119 _ACEOF
9120 if ac_fn_c_try_link "$LINENO"; then :
9121 case "$LIBEXT" in
9122 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9123 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'` ;;
9124 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9125 if ${ac_cv_lib_soname_EGL:+false} :; then :
9126 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9127 fi ;;
9128 esac
9130 rm -f core conftest.err conftest.$ac_objext \
9131 conftest$ac_exeext conftest.$ac_ext
9132 LIBS=$ac_check_soname_save_LIBS
9134 if ${ac_cv_lib_soname_EGL:+false} :; then :
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9136 $as_echo "not found" >&6; }
9138 else
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9140 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9142 cat >>confdefs.h <<_ACEOF
9143 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9144 _ACEOF
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9149 $as_echo_n "checking for -lGLESv2... " >&6; }
9150 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9151 $as_echo_n "(cached) " >&6
9152 else
9153 ac_check_soname_save_LIBS=$LIBS
9154 LIBS="-lGLESv2 $LIBS"
9155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9156 /* end confdefs.h. */
9158 /* Override any GCC internal prototype to avoid an error.
9159 Use char because int might match the return type of a GCC
9160 builtin and then its argument prototype would still apply. */
9161 #ifdef __cplusplus
9162 extern "C"
9163 #endif
9164 char glFlush ();
9166 main ()
9168 return glFlush ();
9170 return 0;
9172 _ACEOF
9173 if ac_fn_c_try_link "$LINENO"; then :
9174 case "$LIBEXT" in
9175 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9176 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'` ;;
9177 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9178 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9179 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9180 fi ;;
9181 esac
9183 rm -f core conftest.err conftest.$ac_objext \
9184 conftest$ac_exeext conftest.$ac_ext
9185 LIBS=$ac_check_soname_save_LIBS
9187 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9189 $as_echo "not found" >&6; }
9191 else
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9193 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9195 cat >>confdefs.h <<_ACEOF
9196 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9197 _ACEOF
9202 if test "x$exec_prefix" = xNONE
9203 then
9204 case $host_cpu in
9205 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9206 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9207 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9208 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9209 esac
9214 DLLFLAGS="$DLLFLAGS -fPIC"
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9216 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9217 if ${ac_cv_c_dll_gnuelf+:} false; then :
9218 $as_echo_n "(cached) " >&6
9219 else
9220 ac_wine_try_cflags_saved=$CFLAGS
9221 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9223 /* end confdefs.h. */
9224 void myfunc() {}
9225 _ACEOF
9226 if ac_fn_c_try_link "$LINENO"; then :
9227 ac_cv_c_dll_gnuelf="yes"
9228 else
9229 ac_cv_c_dll_gnuelf="no"
9231 rm -f core conftest.err conftest.$ac_objext \
9232 conftest$ac_exeext conftest.$ac_ext
9233 CFLAGS=$ac_wine_try_cflags_saved
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9236 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9237 if test "$ac_cv_c_dll_gnuelf" = "yes"
9238 then
9239 LIBWINE_LDFLAGS="-shared"
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9241 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9242 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9243 $as_echo_n "(cached) " >&6
9244 else
9245 ac_wine_try_cflags_saved=$CFLAGS
9246 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9248 /* end confdefs.h. */
9249 int main(int argc, char **argv) { return 0; }
9250 _ACEOF
9251 if ac_fn_c_try_link "$LINENO"; then :
9252 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9253 else
9254 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9256 rm -f core conftest.err conftest.$ac_objext \
9257 conftest$ac_exeext conftest.$ac_ext
9258 CFLAGS=$ac_wine_try_cflags_saved
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9261 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9262 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9263 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9264 else
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9266 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9267 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9268 $as_echo_n "(cached) " >&6
9269 else
9270 ac_wine_try_cflags_saved=$CFLAGS
9271 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9274 int main(int argc, char **argv) { return 0; }
9275 _ACEOF
9276 if ac_fn_c_try_link "$LINENO"; then :
9277 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9278 else
9279 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9281 rm -f core conftest.err conftest.$ac_objext \
9282 conftest$ac_exeext conftest.$ac_ext
9283 CFLAGS=$ac_wine_try_cflags_saved
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9286 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9287 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9288 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9292 echo '{ global: *; };' >conftest.map
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9294 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9295 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9296 $as_echo_n "(cached) " >&6
9297 else
9298 ac_wine_try_cflags_saved=$CFLAGS
9299 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9301 /* end confdefs.h. */
9302 int main(int argc, char **argv) { return 0; }
9303 _ACEOF
9304 if ac_fn_c_try_link "$LINENO"; then :
9305 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9306 else
9307 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9309 rm -f core conftest.err conftest.$ac_objext \
9310 conftest$ac_exeext conftest.$ac_ext
9311 CFLAGS=$ac_wine_try_cflags_saved
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9314 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9315 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9316 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9318 rm -f conftest.map
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9321 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9322 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9323 $as_echo_n "(cached) " >&6
9324 else
9325 ac_wine_try_cflags_saved=$CFLAGS
9326 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9328 /* end confdefs.h. */
9329 int main(int argc, char **argv) { return 0; }
9330 _ACEOF
9331 if ac_fn_c_try_link "$LINENO"; then :
9332 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9333 else
9334 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9336 rm -f core conftest.err conftest.$ac_objext \
9337 conftest$ac_exeext conftest.$ac_ext
9338 CFLAGS=$ac_wine_try_cflags_saved
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9341 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9342 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9343 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9345 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9347 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9349 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9350 if eval \${$as_ac_var+:} false; then :
9351 $as_echo_n "(cached) " >&6
9352 else
9353 ac_wine_try_cflags_saved=$CFLAGS
9354 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9356 /* end confdefs.h. */
9357 int main(int argc, char **argv) { return 0; }
9358 _ACEOF
9359 if ac_fn_c_try_link "$LINENO"; then :
9360 eval "$as_ac_var=yes"
9361 else
9362 eval "$as_ac_var=no"
9364 rm -f core conftest.err conftest.$ac_objext \
9365 conftest$ac_exeext conftest.$ac_ext
9366 CFLAGS=$ac_wine_try_cflags_saved
9368 eval ac_res=\$$as_ac_var
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9370 $as_echo "$ac_res" >&6; }
9371 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9372 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9373 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9374 else
9375 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9377 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9378 if eval \${$as_ac_var+:} false; then :
9379 $as_echo_n "(cached) " >&6
9380 else
9381 ac_wine_try_cflags_saved=$CFLAGS
9382 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9384 /* end confdefs.h. */
9385 int main(int argc, char **argv) { return 0; }
9386 _ACEOF
9387 if ac_fn_c_try_link "$LINENO"; then :
9388 eval "$as_ac_var=yes"
9389 else
9390 eval "$as_ac_var=no"
9392 rm -f core conftest.err conftest.$ac_objext \
9393 conftest$ac_exeext conftest.$ac_ext
9394 CFLAGS=$ac_wine_try_cflags_saved
9396 eval ac_res=\$$as_ac_var
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9398 $as_echo "$ac_res" >&6; }
9399 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9400 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9401 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9406 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9407 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9408 $as_echo_n "(cached) " >&6
9409 else
9410 ac_wine_try_cflags_saved=$CFLAGS
9411 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9413 /* end confdefs.h. */
9414 int main(int argc, char **argv) { return 0; }
9415 _ACEOF
9416 if ac_fn_c_try_link "$LINENO"; then :
9417 ac_cv_cflags__Wl___enable_new_dtags=yes
9418 else
9419 ac_cv_cflags__Wl___enable_new_dtags=no
9421 rm -f core conftest.err conftest.$ac_objext \
9422 conftest$ac_exeext conftest.$ac_ext
9423 CFLAGS=$ac_wine_try_cflags_saved
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9426 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9427 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9428 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9431 case $host_cpu in
9432 *i[3456789]86* | x86_64 | *aarch64*)
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9434 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9435 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9436 $as_echo_n "(cached) " >&6
9437 else
9438 ac_wine_try_cflags_saved=$CFLAGS
9439 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h. */
9442 int main(int argc, char **argv) { return 0; }
9443 _ACEOF
9444 if ac_fn_c_try_link "$LINENO"; then :
9445 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9446 else
9447 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9449 rm -f core conftest.err conftest.$ac_objext \
9450 conftest$ac_exeext conftest.$ac_ext
9451 CFLAGS=$ac_wine_try_cflags_saved
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9454 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9455 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9456 case $host_os in
9457 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9458 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9459 esac
9460 else
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9462 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9463 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9464 $as_echo_n "(cached) " >&6
9465 else
9466 ac_wine_try_cflags_saved=$CFLAGS
9467 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9470 int main(int argc, char **argv) { return 0; }
9471 _ACEOF
9472 if ac_fn_c_try_link "$LINENO"; then :
9473 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9474 else
9475 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9477 rm -f core conftest.err conftest.$ac_objext \
9478 conftest$ac_exeext conftest.$ac_ext
9479 CFLAGS=$ac_wine_try_cflags_saved
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9482 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9483 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9484 case $host_os in
9485 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9486 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9487 esac
9489 # Extract the first word of "prelink", so it can be a program name with args.
9490 set dummy prelink; ac_word=$2
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9492 $as_echo_n "checking for $ac_word... " >&6; }
9493 if ${ac_cv_path_PRELINK+:} false; then :
9494 $as_echo_n "(cached) " >&6
9495 else
9496 case $PRELINK in
9497 [\\/]* | ?:[\\/]*)
9498 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9502 for as_dir in /sbin /usr/sbin $PATH
9504 IFS=$as_save_IFS
9505 test -z "$as_dir" && as_dir=.
9506 for ac_exec_ext in '' $ac_executable_extensions; do
9507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9508 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9510 break 2
9512 done
9513 done
9514 IFS=$as_save_IFS
9516 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9518 esac
9520 PRELINK=$ac_cv_path_PRELINK
9521 if test -n "$PRELINK"; then
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9523 $as_echo "$PRELINK" >&6; }
9524 else
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9526 $as_echo "no" >&6; }
9530 if test "x$PRELINK" = xfalse
9531 then
9532 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9536 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9537 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9538 $as_echo_n "(cached) " >&6
9539 else
9540 ac_wine_try_cflags_saved=$CFLAGS
9541 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9543 /* end confdefs.h. */
9544 int main(int argc, char **argv) { return 0; }
9545 _ACEOF
9546 if ac_fn_c_try_link "$LINENO"; then :
9547 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9548 else
9549 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9551 rm -f core conftest.err conftest.$ac_objext \
9552 conftest$ac_exeext conftest.$ac_ext
9553 CFLAGS=$ac_wine_try_cflags_saved
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9556 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9557 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9558 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9561 esac
9563 else
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9565 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9566 if ${ac_cv_c_dll_unixware+:} false; then :
9567 $as_echo_n "(cached) " >&6
9568 else
9569 ac_wine_try_cflags_saved=$CFLAGS
9570 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9572 /* end confdefs.h. */
9573 void myfunc() {}
9574 _ACEOF
9575 if ac_fn_c_try_link "$LINENO"; then :
9576 ac_cv_c_dll_unixware="yes"
9577 else
9578 ac_cv_c_dll_unixware="no"
9580 rm -f core conftest.err conftest.$ac_objext \
9581 conftest$ac_exeext conftest.$ac_ext
9582 CFLAGS=$ac_wine_try_cflags_saved
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9585 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9586 if test "$ac_cv_c_dll_unixware" = "yes"
9587 then
9588 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9591 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9593 LIBWINE_DEPENDS="wine.map"
9595 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9596 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9598 esac
9600 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9601 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9602 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9603 enable_winemac_drv=${enable_winemac_drv:-no}
9604 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9606 CROSSTARGET=""
9608 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9609 then
9610 case "$host_cpu" in
9611 aarch64*)
9612 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9613 arm*)
9614 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9615 i[3456789]86*)
9616 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
9617 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9618 mingw32-gcc" ;;
9619 x86_64)
9620 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
9621 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9623 ac_prefix_list="" ;;
9624 esac
9625 for ac_prog in $ac_prefix_list
9627 # Extract the first word of "$ac_prog", so it can be a program name with args.
9628 set dummy $ac_prog; ac_word=$2
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9630 $as_echo_n "checking for $ac_word... " >&6; }
9631 if ${ac_cv_prog_CROSSCC+:} false; then :
9632 $as_echo_n "(cached) " >&6
9633 else
9634 if test -n "$CROSSCC"; then
9635 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9636 else
9637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9638 for as_dir in $PATH
9640 IFS=$as_save_IFS
9641 test -z "$as_dir" && as_dir=.
9642 for ac_exec_ext in '' $ac_executable_extensions; do
9643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9644 ac_cv_prog_CROSSCC="$ac_prog"
9645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9646 break 2
9648 done
9649 done
9650 IFS=$as_save_IFS
9654 CROSSCC=$ac_cv_prog_CROSSCC
9655 if test -n "$CROSSCC"; then
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9657 $as_echo "$CROSSCC" >&6; }
9658 else
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9660 $as_echo "no" >&6; }
9664 test -n "$CROSSCC" && break
9665 done
9666 test -n "$CROSSCC" || CROSSCC="false"
9668 if test "$CROSSCC" != "false"
9669 then
9670 ac_save_CC="$CC"
9671 CC="$CROSSCC"
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9673 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9675 /* end confdefs.h. */
9678 main ()
9682 return 0;
9684 _ACEOF
9685 if ac_fn_c_try_compile "$LINENO"; then :
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9687 $as_echo "yes" >&6; }
9688 set x $CROSSCC
9689 shift
9690 while test $# -ge 1
9692 case "$1" in
9693 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9694 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9695 esac
9696 shift
9697 done
9698 else
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9700 $as_echo "no" >&6; }
9702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9703 CC="$ac_save_CC"
9704 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9710 if test "$ac_cv_header_pthread_h" = "yes"
9711 then
9712 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9713 if test "x$ac_cv_func_pthread_create" = xyes; then :
9715 else
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9717 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9718 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9719 $as_echo_n "(cached) " >&6
9720 else
9721 ac_check_lib_save_LIBS=$LIBS
9722 LIBS="-lpthread $LIBS"
9723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9724 /* end confdefs.h. */
9726 /* Override any GCC internal prototype to avoid an error.
9727 Use char because int might match the return type of a GCC
9728 builtin and then its argument prototype would still apply. */
9729 #ifdef __cplusplus
9730 extern "C"
9731 #endif
9732 char pthread_create ();
9734 main ()
9736 return pthread_create ();
9738 return 0;
9740 _ACEOF
9741 if ac_fn_c_try_link "$LINENO"; then :
9742 ac_cv_lib_pthread_pthread_create=yes
9743 else
9744 ac_cv_lib_pthread_pthread_create=no
9746 rm -f core conftest.err conftest.$ac_objext \
9747 conftest$ac_exeext conftest.$ac_ext
9748 LIBS=$ac_check_lib_save_LIBS
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9751 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9752 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9753 PTHREAD_LIBS="-lpthread"
9760 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9761 case "x$with_pthread" in
9762 xno) ;;
9763 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9764 Wine cannot support threads without libpthread.
9765 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9766 esac
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9772 $as_echo_n "checking for X... " >&6; }
9775 # Check whether --with-x was given.
9776 if test "${with_x+set}" = set; then :
9777 withval=$with_x;
9780 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9781 if test "x$with_x" = xno; then
9782 # The user explicitly disabled X.
9783 have_x=disabled
9784 else
9785 case $x_includes,$x_libraries in #(
9786 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9787 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9788 $as_echo_n "(cached) " >&6
9789 else
9790 # One or both of the vars are not set, and there is no cached value.
9791 ac_x_includes=no ac_x_libraries=no
9792 rm -f -r conftest.dir
9793 if mkdir conftest.dir; then
9794 cd conftest.dir
9795 cat >Imakefile <<'_ACEOF'
9796 incroot:
9797 @echo incroot='${INCROOT}'
9798 usrlibdir:
9799 @echo usrlibdir='${USRLIBDIR}'
9800 libdir:
9801 @echo libdir='${LIBDIR}'
9802 _ACEOF
9803 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9804 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9805 for ac_var in incroot usrlibdir libdir; do
9806 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9807 done
9808 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9809 for ac_extension in a so sl dylib la dll; do
9810 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9811 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9812 ac_im_usrlibdir=$ac_im_libdir; break
9814 done
9815 # Screen out bogus values from the imake configuration. They are
9816 # bogus both because they are the default anyway, and because
9817 # using them would break gcc on systems where it needs fixed includes.
9818 case $ac_im_incroot in
9819 /usr/include) ac_x_includes= ;;
9820 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9821 esac
9822 case $ac_im_usrlibdir in
9823 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9824 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9825 esac
9827 cd ..
9828 rm -f -r conftest.dir
9831 # Standard set of common directories for X headers.
9832 # Check X11 before X11Rn because it is often a symlink to the current release.
9833 ac_x_header_dirs='
9834 /usr/X11/include
9835 /usr/X11R7/include
9836 /usr/X11R6/include
9837 /usr/X11R5/include
9838 /usr/X11R4/include
9840 /usr/include/X11
9841 /usr/include/X11R7
9842 /usr/include/X11R6
9843 /usr/include/X11R5
9844 /usr/include/X11R4
9846 /usr/local/X11/include
9847 /usr/local/X11R7/include
9848 /usr/local/X11R6/include
9849 /usr/local/X11R5/include
9850 /usr/local/X11R4/include
9852 /usr/local/include/X11
9853 /usr/local/include/X11R7
9854 /usr/local/include/X11R6
9855 /usr/local/include/X11R5
9856 /usr/local/include/X11R4
9858 /usr/X386/include
9859 /usr/x386/include
9860 /usr/XFree86/include/X11
9862 /usr/include
9863 /usr/local/include
9864 /usr/unsupported/include
9865 /usr/athena/include
9866 /usr/local/x11r5/include
9867 /usr/lpp/Xamples/include
9869 /usr/openwin/include
9870 /usr/openwin/share/include'
9872 if test "$ac_x_includes" = no; then
9873 # Guess where to find include files, by looking for Xlib.h.
9874 # First, try using that file with no special directory specified.
9875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9876 /* end confdefs.h. */
9877 #include <X11/Xlib.h>
9878 _ACEOF
9879 if ac_fn_c_try_cpp "$LINENO"; then :
9880 # We can compile using X headers with no special include directory.
9881 ac_x_includes=
9882 else
9883 for ac_dir in $ac_x_header_dirs; do
9884 if test -r "$ac_dir/X11/Xlib.h"; then
9885 ac_x_includes=$ac_dir
9886 break
9888 done
9890 rm -f conftest.err conftest.i conftest.$ac_ext
9891 fi # $ac_x_includes = no
9893 if test "$ac_x_libraries" = no; then
9894 # Check for the libraries.
9895 # See if we find them without any special options.
9896 # Don't add to $LIBS permanently.
9897 ac_save_LIBS=$LIBS
9898 LIBS="-lX11 $LIBS"
9899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9900 /* end confdefs.h. */
9901 #include <X11/Xlib.h>
9903 main ()
9905 XrmInitialize ()
9907 return 0;
9909 _ACEOF
9910 if ac_fn_c_try_link "$LINENO"; then :
9911 LIBS=$ac_save_LIBS
9912 # We can link X programs with no special library path.
9913 ac_x_libraries=
9914 else
9915 LIBS=$ac_save_LIBS
9916 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9918 # Don't even attempt the hair of trying to link an X program!
9919 for ac_extension in a so sl dylib la dll; do
9920 if test -r "$ac_dir/libX11.$ac_extension"; then
9921 ac_x_libraries=$ac_dir
9922 break 2
9924 done
9925 done
9927 rm -f core conftest.err conftest.$ac_objext \
9928 conftest$ac_exeext conftest.$ac_ext
9929 fi # $ac_x_libraries = no
9931 case $ac_x_includes,$ac_x_libraries in #(
9932 no,* | *,no | *\'*)
9933 # Didn't find X, or a directory has "'" in its name.
9934 ac_cv_have_x="have_x=no";; #(
9936 # Record where we found X for the cache.
9937 ac_cv_have_x="have_x=yes\
9938 ac_x_includes='$ac_x_includes'\
9939 ac_x_libraries='$ac_x_libraries'"
9940 esac
9942 ;; #(
9943 *) have_x=yes;;
9944 esac
9945 eval "$ac_cv_have_x"
9946 fi # $with_x != no
9948 if test "$have_x" != yes; then
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9950 $as_echo "$have_x" >&6; }
9951 no_x=yes
9952 else
9953 # If each of the values was on the command line, it overrides each guess.
9954 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9955 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9956 # Update the cache value to reflect the command line values.
9957 ac_cv_have_x="have_x=yes\
9958 ac_x_includes='$x_includes'\
9959 ac_x_libraries='$x_libraries'"
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9961 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9964 if test "$no_x" = yes; then
9965 # Not all programs may use this symbol, but it does not hurt to define it.
9967 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9969 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9970 else
9971 if test -n "$x_includes"; then
9972 X_CFLAGS="$X_CFLAGS -I$x_includes"
9975 # It would also be nice to do this for all -L options, not just this one.
9976 if test -n "$x_libraries"; then
9977 X_LIBS="$X_LIBS -L$x_libraries"
9978 # For Solaris; some versions of Sun CC require a space after -R and
9979 # others require no space. Words are not sufficient . . . .
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9981 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9982 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9983 ac_xsave_c_werror_flag=$ac_c_werror_flag
9984 ac_c_werror_flag=yes
9985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9986 /* end confdefs.h. */
9989 main ()
9993 return 0;
9995 _ACEOF
9996 if ac_fn_c_try_link "$LINENO"; then :
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9998 $as_echo "no" >&6; }
9999 X_LIBS="$X_LIBS -R$x_libraries"
10000 else
10001 LIBS="$ac_xsave_LIBS -R $x_libraries"
10002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10003 /* end confdefs.h. */
10006 main ()
10010 return 0;
10012 _ACEOF
10013 if ac_fn_c_try_link "$LINENO"; then :
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10015 $as_echo "yes" >&6; }
10016 X_LIBS="$X_LIBS -R $x_libraries"
10017 else
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10019 $as_echo "neither works" >&6; }
10021 rm -f core conftest.err conftest.$ac_objext \
10022 conftest$ac_exeext conftest.$ac_ext
10024 rm -f core conftest.err conftest.$ac_objext \
10025 conftest$ac_exeext conftest.$ac_ext
10026 ac_c_werror_flag=$ac_xsave_c_werror_flag
10027 LIBS=$ac_xsave_LIBS
10030 # Check for system-dependent libraries X programs must link with.
10031 # Do this before checking for the system-independent R6 libraries
10032 # (-lICE), since we may need -lsocket or whatever for X linking.
10034 if test "$ISC" = yes; then
10035 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10036 else
10037 # Martyn Johnson says this is needed for Ultrix, if the X
10038 # libraries were built with DECnet support. And Karl Berry says
10039 # the Alpha needs dnet_stub (dnet does not exist).
10040 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10042 /* end confdefs.h. */
10044 /* Override any GCC internal prototype to avoid an error.
10045 Use char because int might match the return type of a GCC
10046 builtin and then its argument prototype would still apply. */
10047 #ifdef __cplusplus
10048 extern "C"
10049 #endif
10050 char XOpenDisplay ();
10052 main ()
10054 return XOpenDisplay ();
10056 return 0;
10058 _ACEOF
10059 if ac_fn_c_try_link "$LINENO"; then :
10061 else
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10063 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10064 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10065 $as_echo_n "(cached) " >&6
10066 else
10067 ac_check_lib_save_LIBS=$LIBS
10068 LIBS="-ldnet $LIBS"
10069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10070 /* end confdefs.h. */
10072 /* Override any GCC internal prototype to avoid an error.
10073 Use char because int might match the return type of a GCC
10074 builtin and then its argument prototype would still apply. */
10075 #ifdef __cplusplus
10076 extern "C"
10077 #endif
10078 char dnet_ntoa ();
10080 main ()
10082 return dnet_ntoa ();
10084 return 0;
10086 _ACEOF
10087 if ac_fn_c_try_link "$LINENO"; then :
10088 ac_cv_lib_dnet_dnet_ntoa=yes
10089 else
10090 ac_cv_lib_dnet_dnet_ntoa=no
10092 rm -f core conftest.err conftest.$ac_objext \
10093 conftest$ac_exeext conftest.$ac_ext
10094 LIBS=$ac_check_lib_save_LIBS
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10097 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10098 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10099 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10102 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10104 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10105 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10106 $as_echo_n "(cached) " >&6
10107 else
10108 ac_check_lib_save_LIBS=$LIBS
10109 LIBS="-ldnet_stub $LIBS"
10110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10111 /* end confdefs.h. */
10113 /* Override any GCC internal prototype to avoid an error.
10114 Use char because int might match the return type of a GCC
10115 builtin and then its argument prototype would still apply. */
10116 #ifdef __cplusplus
10117 extern "C"
10118 #endif
10119 char dnet_ntoa ();
10121 main ()
10123 return dnet_ntoa ();
10125 return 0;
10127 _ACEOF
10128 if ac_fn_c_try_link "$LINENO"; then :
10129 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10130 else
10131 ac_cv_lib_dnet_stub_dnet_ntoa=no
10133 rm -f core conftest.err conftest.$ac_objext \
10134 conftest$ac_exeext conftest.$ac_ext
10135 LIBS=$ac_check_lib_save_LIBS
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10138 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10139 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10140 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10145 rm -f core conftest.err conftest.$ac_objext \
10146 conftest$ac_exeext conftest.$ac_ext
10147 LIBS="$ac_xsave_LIBS"
10149 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10150 # to get the SysV transport functions.
10151 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10152 # needs -lnsl.
10153 # The nsl library prevents programs from opening the X display
10154 # on Irix 5.2, according to T.E. Dickey.
10155 # The functions gethostbyname, getservbyname, and inet_addr are
10156 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10157 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10158 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10162 if test $ac_cv_func_gethostbyname = no; then
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10164 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10165 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10166 $as_echo_n "(cached) " >&6
10167 else
10168 ac_check_lib_save_LIBS=$LIBS
10169 LIBS="-lnsl $LIBS"
10170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10171 /* end confdefs.h. */
10173 /* Override any GCC internal prototype to avoid an error.
10174 Use char because int might match the return type of a GCC
10175 builtin and then its argument prototype would still apply. */
10176 #ifdef __cplusplus
10177 extern "C"
10178 #endif
10179 char gethostbyname ();
10181 main ()
10183 return gethostbyname ();
10185 return 0;
10187 _ACEOF
10188 if ac_fn_c_try_link "$LINENO"; then :
10189 ac_cv_lib_nsl_gethostbyname=yes
10190 else
10191 ac_cv_lib_nsl_gethostbyname=no
10193 rm -f core conftest.err conftest.$ac_objext \
10194 conftest$ac_exeext conftest.$ac_ext
10195 LIBS=$ac_check_lib_save_LIBS
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10198 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10199 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10200 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10203 if test $ac_cv_lib_nsl_gethostbyname = no; then
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10205 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10206 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10207 $as_echo_n "(cached) " >&6
10208 else
10209 ac_check_lib_save_LIBS=$LIBS
10210 LIBS="-lbsd $LIBS"
10211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10212 /* end confdefs.h. */
10214 /* Override any GCC internal prototype to avoid an error.
10215 Use char because int might match the return type of a GCC
10216 builtin and then its argument prototype would still apply. */
10217 #ifdef __cplusplus
10218 extern "C"
10219 #endif
10220 char gethostbyname ();
10222 main ()
10224 return gethostbyname ();
10226 return 0;
10228 _ACEOF
10229 if ac_fn_c_try_link "$LINENO"; then :
10230 ac_cv_lib_bsd_gethostbyname=yes
10231 else
10232 ac_cv_lib_bsd_gethostbyname=no
10234 rm -f core conftest.err conftest.$ac_objext \
10235 conftest$ac_exeext conftest.$ac_ext
10236 LIBS=$ac_check_lib_save_LIBS
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10239 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10240 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10241 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10247 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10248 # socket/setsockopt and other routines are undefined under SCO ODT
10249 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10250 # on later versions), says Simon Leinen: it contains gethostby*
10251 # variants that don't use the name server (or something). -lsocket
10252 # must be given before -lnsl if both are needed. We assume that
10253 # if connect needs -lnsl, so does gethostbyname.
10254 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10255 if test "x$ac_cv_func_connect" = xyes; then :
10259 if test $ac_cv_func_connect = no; then
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10261 $as_echo_n "checking for connect in -lsocket... " >&6; }
10262 if ${ac_cv_lib_socket_connect+:} false; then :
10263 $as_echo_n "(cached) " >&6
10264 else
10265 ac_check_lib_save_LIBS=$LIBS
10266 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10268 /* end confdefs.h. */
10270 /* Override any GCC internal prototype to avoid an error.
10271 Use char because int might match the return type of a GCC
10272 builtin and then its argument prototype would still apply. */
10273 #ifdef __cplusplus
10274 extern "C"
10275 #endif
10276 char connect ();
10278 main ()
10280 return connect ();
10282 return 0;
10284 _ACEOF
10285 if ac_fn_c_try_link "$LINENO"; then :
10286 ac_cv_lib_socket_connect=yes
10287 else
10288 ac_cv_lib_socket_connect=no
10290 rm -f core conftest.err conftest.$ac_objext \
10291 conftest$ac_exeext conftest.$ac_ext
10292 LIBS=$ac_check_lib_save_LIBS
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10295 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10296 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10297 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10302 # Guillermo Gomez says -lposix is necessary on A/UX.
10303 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10304 if test "x$ac_cv_func_remove" = xyes; then :
10308 if test $ac_cv_func_remove = no; then
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10310 $as_echo_n "checking for remove in -lposix... " >&6; }
10311 if ${ac_cv_lib_posix_remove+:} false; then :
10312 $as_echo_n "(cached) " >&6
10313 else
10314 ac_check_lib_save_LIBS=$LIBS
10315 LIBS="-lposix $LIBS"
10316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10317 /* end confdefs.h. */
10319 /* Override any GCC internal prototype to avoid an error.
10320 Use char because int might match the return type of a GCC
10321 builtin and then its argument prototype would still apply. */
10322 #ifdef __cplusplus
10323 extern "C"
10324 #endif
10325 char remove ();
10327 main ()
10329 return remove ();
10331 return 0;
10333 _ACEOF
10334 if ac_fn_c_try_link "$LINENO"; then :
10335 ac_cv_lib_posix_remove=yes
10336 else
10337 ac_cv_lib_posix_remove=no
10339 rm -f core conftest.err conftest.$ac_objext \
10340 conftest$ac_exeext conftest.$ac_ext
10341 LIBS=$ac_check_lib_save_LIBS
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10344 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10345 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10346 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10351 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10352 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10353 if test "x$ac_cv_func_shmat" = xyes; then :
10357 if test $ac_cv_func_shmat = no; then
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10359 $as_echo_n "checking for shmat in -lipc... " >&6; }
10360 if ${ac_cv_lib_ipc_shmat+:} false; then :
10361 $as_echo_n "(cached) " >&6
10362 else
10363 ac_check_lib_save_LIBS=$LIBS
10364 LIBS="-lipc $LIBS"
10365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10366 /* end confdefs.h. */
10368 /* Override any GCC internal prototype to avoid an error.
10369 Use char because int might match the return type of a GCC
10370 builtin and then its argument prototype would still apply. */
10371 #ifdef __cplusplus
10372 extern "C"
10373 #endif
10374 char shmat ();
10376 main ()
10378 return shmat ();
10380 return 0;
10382 _ACEOF
10383 if ac_fn_c_try_link "$LINENO"; then :
10384 ac_cv_lib_ipc_shmat=yes
10385 else
10386 ac_cv_lib_ipc_shmat=no
10388 rm -f core conftest.err conftest.$ac_objext \
10389 conftest$ac_exeext conftest.$ac_ext
10390 LIBS=$ac_check_lib_save_LIBS
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10393 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10394 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10395 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10401 # Check for libraries that X11R6 Xt/Xaw programs need.
10402 ac_save_LDFLAGS=$LDFLAGS
10403 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10404 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10405 # check for ICE first), but we must link in the order -lSM -lICE or
10406 # we get undefined symbols. So assume we have SM if we have ICE.
10407 # These have to be linked with before -lX11, unlike the other
10408 # libraries we check for below, so use a different variable.
10409 # John Interrante, Karl Berry
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10411 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10412 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10413 $as_echo_n "(cached) " >&6
10414 else
10415 ac_check_lib_save_LIBS=$LIBS
10416 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10418 /* end confdefs.h. */
10420 /* Override any GCC internal prototype to avoid an error.
10421 Use char because int might match the return type of a GCC
10422 builtin and then its argument prototype would still apply. */
10423 #ifdef __cplusplus
10424 extern "C"
10425 #endif
10426 char IceConnectionNumber ();
10428 main ()
10430 return IceConnectionNumber ();
10432 return 0;
10434 _ACEOF
10435 if ac_fn_c_try_link "$LINENO"; then :
10436 ac_cv_lib_ICE_IceConnectionNumber=yes
10437 else
10438 ac_cv_lib_ICE_IceConnectionNumber=no
10440 rm -f core conftest.err conftest.$ac_objext \
10441 conftest$ac_exeext conftest.$ac_ext
10442 LIBS=$ac_check_lib_save_LIBS
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10445 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10446 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10447 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10450 LDFLAGS=$ac_save_LDFLAGS
10455 if test "$have_x" = "yes"
10456 then
10457 ac_save_CPPFLAGS="$CPPFLAGS"
10458 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10461 $as_echo_n "checking for -lX11... " >&6; }
10462 if ${ac_cv_lib_soname_X11+:} false; then :
10463 $as_echo_n "(cached) " >&6
10464 else
10465 ac_check_soname_save_LIBS=$LIBS
10466 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10468 /* end confdefs.h. */
10470 /* Override any GCC internal prototype to avoid an error.
10471 Use char because int might match the return type of a GCC
10472 builtin and then its argument prototype would still apply. */
10473 #ifdef __cplusplus
10474 extern "C"
10475 #endif
10476 char XCreateWindow ();
10478 main ()
10480 return XCreateWindow ();
10482 return 0;
10484 _ACEOF
10485 if ac_fn_c_try_link "$LINENO"; then :
10486 case "$LIBEXT" in
10487 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10488 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'` ;;
10489 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10490 if ${ac_cv_lib_soname_X11:+false} :; then :
10491 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10492 fi ;;
10493 esac
10495 rm -f core conftest.err conftest.$ac_objext \
10496 conftest$ac_exeext conftest.$ac_ext
10497 LIBS=$ac_check_soname_save_LIBS
10499 if ${ac_cv_lib_soname_X11:+false} :; then :
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10501 $as_echo "not found" >&6; }
10503 else
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10505 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10507 cat >>confdefs.h <<_ACEOF
10508 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10509 _ACEOF
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10514 $as_echo_n "checking for -lXext... " >&6; }
10515 if ${ac_cv_lib_soname_Xext+:} false; then :
10516 $as_echo_n "(cached) " >&6
10517 else
10518 ac_check_soname_save_LIBS=$LIBS
10519 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10521 /* end confdefs.h. */
10523 /* Override any GCC internal prototype to avoid an error.
10524 Use char because int might match the return type of a GCC
10525 builtin and then its argument prototype would still apply. */
10526 #ifdef __cplusplus
10527 extern "C"
10528 #endif
10529 char XextCreateExtension ();
10531 main ()
10533 return XextCreateExtension ();
10535 return 0;
10537 _ACEOF
10538 if ac_fn_c_try_link "$LINENO"; then :
10539 case "$LIBEXT" in
10540 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10541 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'` ;;
10542 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10543 if ${ac_cv_lib_soname_Xext:+false} :; then :
10544 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10545 fi ;;
10546 esac
10548 rm -f core conftest.err conftest.$ac_objext \
10549 conftest$ac_exeext conftest.$ac_ext
10550 LIBS=$ac_check_soname_save_LIBS
10552 if ${ac_cv_lib_soname_Xext:+false} :; then :
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10554 $as_echo "not found" >&6; }
10556 else
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10558 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10560 cat >>confdefs.h <<_ACEOF
10561 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10562 _ACEOF
10564 X_LIBS="$X_LIBS -lXext"
10566 X_LIBS="$X_LIBS -lX11"
10568 for ac_header in X11/Xlib.h \
10569 X11/XKBlib.h \
10570 X11/Xutil.h \
10571 X11/Xcursor/Xcursor.h \
10572 X11/extensions/shape.h \
10573 X11/extensions/XInput.h \
10574 X11/extensions/XInput2.h \
10575 X11/extensions/XShm.h \
10576 X11/extensions/Xcomposite.h \
10577 X11/extensions/Xfixes.h \
10578 X11/extensions/Xinerama.h \
10579 X11/extensions/Xrandr.h \
10580 X11/extensions/Xrender.h \
10581 X11/extensions/xf86vmode.h \
10582 X11/extensions/xf86vmproto.h
10583 do :
10584 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10585 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10586 # include <X11/Xlib.h>
10587 #endif
10588 #ifdef HAVE_X11_XUTIL_H
10589 # include <X11/Xutil.h>
10590 #endif
10592 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10593 cat >>confdefs.h <<_ACEOF
10594 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10595 _ACEOF
10599 done
10602 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10603 then
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10605 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10606 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10607 $as_echo_n "(cached) " >&6
10608 else
10609 ac_check_lib_save_LIBS=$LIBS
10610 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10612 /* end confdefs.h. */
10614 /* Override any GCC internal prototype to avoid an error.
10615 Use char because int might match the return type of a GCC
10616 builtin and then its argument prototype would still apply. */
10617 #ifdef __cplusplus
10618 extern "C"
10619 #endif
10620 char XkbQueryExtension ();
10622 main ()
10624 return XkbQueryExtension ();
10626 return 0;
10628 _ACEOF
10629 if ac_fn_c_try_link "$LINENO"; then :
10630 ac_cv_lib_X11_XkbQueryExtension=yes
10631 else
10632 ac_cv_lib_X11_XkbQueryExtension=no
10634 rm -f core conftest.err conftest.$ac_objext \
10635 conftest$ac_exeext conftest.$ac_ext
10636 LIBS=$ac_check_lib_save_LIBS
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10639 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10640 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10642 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10648 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10649 then
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10651 $as_echo_n "checking for -lXcursor... " >&6; }
10652 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10653 $as_echo_n "(cached) " >&6
10654 else
10655 ac_check_soname_save_LIBS=$LIBS
10656 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10658 /* end confdefs.h. */
10660 /* Override any GCC internal prototype to avoid an error.
10661 Use char because int might match the return type of a GCC
10662 builtin and then its argument prototype would still apply. */
10663 #ifdef __cplusplus
10664 extern "C"
10665 #endif
10666 char XcursorImageLoadCursor ();
10668 main ()
10670 return XcursorImageLoadCursor ();
10672 return 0;
10674 _ACEOF
10675 if ac_fn_c_try_link "$LINENO"; then :
10676 case "$LIBEXT" in
10677 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10678 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'` ;;
10679 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10680 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10681 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10682 fi ;;
10683 esac
10685 rm -f core conftest.err conftest.$ac_objext \
10686 conftest$ac_exeext conftest.$ac_ext
10687 LIBS=$ac_check_soname_save_LIBS
10689 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10691 $as_echo "not found" >&6; }
10693 else
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10695 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10697 cat >>confdefs.h <<_ACEOF
10698 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10699 _ACEOF
10704 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10705 case "x$with_xcursor" in
10706 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10707 xno) ;;
10708 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10709 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10710 esac
10714 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10715 then
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10717 $as_echo_n "checking for -lXi... " >&6; }
10718 if ${ac_cv_lib_soname_Xi+:} false; then :
10719 $as_echo_n "(cached) " >&6
10720 else
10721 ac_check_soname_save_LIBS=$LIBS
10722 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10724 /* end confdefs.h. */
10726 /* Override any GCC internal prototype to avoid an error.
10727 Use char because int might match the return type of a GCC
10728 builtin and then its argument prototype would still apply. */
10729 #ifdef __cplusplus
10730 extern "C"
10731 #endif
10732 char XOpenDevice ();
10734 main ()
10736 return XOpenDevice ();
10738 return 0;
10740 _ACEOF
10741 if ac_fn_c_try_link "$LINENO"; then :
10742 case "$LIBEXT" in
10743 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10744 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'` ;;
10745 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10746 if ${ac_cv_lib_soname_Xi:+false} :; then :
10747 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10748 fi ;;
10749 esac
10751 rm -f core conftest.err conftest.$ac_objext \
10752 conftest$ac_exeext conftest.$ac_ext
10753 LIBS=$ac_check_soname_save_LIBS
10755 if ${ac_cv_lib_soname_Xi:+false} :; then :
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10757 $as_echo "not found" >&6; }
10759 else
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10761 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10763 cat >>confdefs.h <<_ACEOF
10764 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10765 _ACEOF
10770 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10771 case "x$with_xinput" in
10772 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10773 xno) ;;
10774 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10775 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10776 esac
10780 if test "x$ac_cv_lib_soname_Xi" != x
10781 then
10782 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10783 case "x$with_xinput2" in
10784 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10785 xno) ;;
10786 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10787 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10788 esac
10793 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10794 then
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10796 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10797 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10798 $as_echo_n "(cached) " >&6
10799 else
10800 ac_check_lib_save_LIBS=$LIBS
10801 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10803 /* end confdefs.h. */
10805 /* Override any GCC internal prototype to avoid an error.
10806 Use char because int might match the return type of a GCC
10807 builtin and then its argument prototype would still apply. */
10808 #ifdef __cplusplus
10809 extern "C"
10810 #endif
10811 char XShmQueryExtension ();
10813 main ()
10815 return XShmQueryExtension ();
10817 return 0;
10819 _ACEOF
10820 if ac_fn_c_try_link "$LINENO"; then :
10821 ac_cv_lib_Xext_XShmQueryExtension=yes
10822 else
10823 ac_cv_lib_Xext_XShmQueryExtension=no
10825 rm -f core conftest.err conftest.$ac_objext \
10826 conftest$ac_exeext conftest.$ac_ext
10827 LIBS=$ac_check_lib_save_LIBS
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10830 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10831 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10833 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10838 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10839 case "x$with_xshm" in
10840 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10841 xno) ;;
10842 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10843 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10844 esac
10848 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10849 then
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10851 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10852 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10853 $as_echo_n "(cached) " >&6
10854 else
10855 ac_check_lib_save_LIBS=$LIBS
10856 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10858 /* end confdefs.h. */
10860 /* Override any GCC internal prototype to avoid an error.
10861 Use char because int might match the return type of a GCC
10862 builtin and then its argument prototype would still apply. */
10863 #ifdef __cplusplus
10864 extern "C"
10865 #endif
10866 char XShapeQueryExtension ();
10868 main ()
10870 return XShapeQueryExtension ();
10872 return 0;
10874 _ACEOF
10875 if ac_fn_c_try_link "$LINENO"; then :
10876 ac_cv_lib_Xext_XShapeQueryExtension=yes
10877 else
10878 ac_cv_lib_Xext_XShapeQueryExtension=no
10880 rm -f core conftest.err conftest.$ac_objext \
10881 conftest$ac_exeext conftest.$ac_ext
10882 LIBS=$ac_check_lib_save_LIBS
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10885 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10886 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10888 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10893 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10894 case "x$with_xshape" in
10895 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10896 xno) ;;
10897 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10898 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10899 esac
10903 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10904 then
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10906 $as_echo_n "checking for -lXxf86vm... " >&6; }
10907 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10908 $as_echo_n "(cached) " >&6
10909 else
10910 ac_check_soname_save_LIBS=$LIBS
10911 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10913 /* end confdefs.h. */
10915 /* Override any GCC internal prototype to avoid an error.
10916 Use char because int might match the return type of a GCC
10917 builtin and then its argument prototype would still apply. */
10918 #ifdef __cplusplus
10919 extern "C"
10920 #endif
10921 char XF86VidModeQueryExtension ();
10923 main ()
10925 return XF86VidModeQueryExtension ();
10927 return 0;
10929 _ACEOF
10930 if ac_fn_c_try_link "$LINENO"; then :
10931 case "$LIBEXT" in
10932 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10933 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'` ;;
10934 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10935 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10936 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10937 fi ;;
10938 esac
10940 rm -f core conftest.err conftest.$ac_objext \
10941 conftest$ac_exeext conftest.$ac_ext
10942 LIBS=$ac_check_soname_save_LIBS
10944 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10946 $as_echo "not found" >&6; }
10948 else
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10950 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10952 cat >>confdefs.h <<_ACEOF
10953 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10954 _ACEOF
10959 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10960 case "x$with_xxf86vm" in
10961 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10962 xno) ;;
10963 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10964 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10965 esac
10969 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10970 then
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10972 $as_echo_n "checking for -lXrender... " >&6; }
10973 if ${ac_cv_lib_soname_Xrender+:} false; then :
10974 $as_echo_n "(cached) " >&6
10975 else
10976 ac_check_soname_save_LIBS=$LIBS
10977 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10981 /* Override any GCC internal prototype to avoid an error.
10982 Use char because int might match the return type of a GCC
10983 builtin and then its argument prototype would still apply. */
10984 #ifdef __cplusplus
10985 extern "C"
10986 #endif
10987 char XRenderQueryExtension ();
10989 main ()
10991 return XRenderQueryExtension ();
10993 return 0;
10995 _ACEOF
10996 if ac_fn_c_try_link "$LINENO"; then :
10997 case "$LIBEXT" in
10998 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10999 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'` ;;
11000 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11001 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11002 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11003 fi ;;
11004 esac
11006 rm -f core conftest.err conftest.$ac_objext \
11007 conftest$ac_exeext conftest.$ac_ext
11008 LIBS=$ac_check_soname_save_LIBS
11010 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11012 $as_echo "not found" >&6; }
11014 else
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11016 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11018 cat >>confdefs.h <<_ACEOF
11019 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11020 _ACEOF
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11023 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11024 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11025 $as_echo_n "(cached) " >&6
11026 else
11027 ac_check_lib_save_LIBS=$LIBS
11028 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11030 /* end confdefs.h. */
11032 /* Override any GCC internal prototype to avoid an error.
11033 Use char because int might match the return type of a GCC
11034 builtin and then its argument prototype would still apply. */
11035 #ifdef __cplusplus
11036 extern "C"
11037 #endif
11038 char XRenderSetPictureTransform ();
11040 main ()
11042 return XRenderSetPictureTransform ();
11044 return 0;
11046 _ACEOF
11047 if ac_fn_c_try_link "$LINENO"; then :
11048 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11049 else
11050 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11052 rm -f core conftest.err conftest.$ac_objext \
11053 conftest$ac_exeext conftest.$ac_ext
11054 LIBS=$ac_check_lib_save_LIBS
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11057 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11058 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11060 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11065 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11066 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11067 $as_echo_n "(cached) " >&6
11068 else
11069 ac_check_lib_save_LIBS=$LIBS
11070 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11072 /* end confdefs.h. */
11074 /* Override any GCC internal prototype to avoid an error.
11075 Use char because int might match the return type of a GCC
11076 builtin and then its argument prototype would still apply. */
11077 #ifdef __cplusplus
11078 extern "C"
11079 #endif
11080 char XRenderCreateLinearGradient ();
11082 main ()
11084 return XRenderCreateLinearGradient ();
11086 return 0;
11088 _ACEOF
11089 if ac_fn_c_try_link "$LINENO"; then :
11090 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11091 else
11092 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11094 rm -f core conftest.err conftest.$ac_objext \
11095 conftest$ac_exeext conftest.$ac_ext
11096 LIBS=$ac_check_lib_save_LIBS
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11099 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11100 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11102 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11109 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11110 case "x$with_xrender" in
11111 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11112 xno) ;;
11113 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11114 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11115 esac
11119 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11120 then
11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11123 #include <X11/Xlib.h>
11124 #include <X11/extensions/Xrandr.h>
11126 main ()
11128 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11130 return 0;
11132 _ACEOF
11133 if ac_fn_c_try_compile "$LINENO"; then :
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11135 $as_echo_n "checking for -lXrandr... " >&6; }
11136 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11137 $as_echo_n "(cached) " >&6
11138 else
11139 ac_check_soname_save_LIBS=$LIBS
11140 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11142 /* end confdefs.h. */
11144 /* Override any GCC internal prototype to avoid an error.
11145 Use char because int might match the return type of a GCC
11146 builtin and then its argument prototype would still apply. */
11147 #ifdef __cplusplus
11148 extern "C"
11149 #endif
11150 char XRRQueryExtension ();
11152 main ()
11154 return XRRQueryExtension ();
11156 return 0;
11158 _ACEOF
11159 if ac_fn_c_try_link "$LINENO"; then :
11160 case "$LIBEXT" in
11161 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11162 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'` ;;
11163 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11164 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11165 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11166 fi ;;
11167 esac
11169 rm -f core conftest.err conftest.$ac_objext \
11170 conftest$ac_exeext conftest.$ac_ext
11171 LIBS=$ac_check_soname_save_LIBS
11173 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11175 $as_echo "not found" >&6; }
11177 else
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11179 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11181 cat >>confdefs.h <<_ACEOF
11182 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11183 _ACEOF
11185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h. */
11187 #include <X11/Xlib.h>
11188 #include <X11/extensions/Xrandr.h>
11190 main ()
11192 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11194 return 0;
11196 _ACEOF
11197 if ac_fn_c_try_compile "$LINENO"; then :
11199 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11207 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11208 case "x$with_xrandr" in
11209 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11210 xno) ;;
11211 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11212 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11213 esac
11217 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11218 then
11219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11220 /* end confdefs.h. */
11221 #include <X11/Xlib.h>
11222 #include <X11/extensions/Xfixes.h>
11224 main ()
11226 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11228 return 0;
11230 _ACEOF
11231 if ac_fn_c_try_compile "$LINENO"; then :
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11233 $as_echo_n "checking for -lXfixes... " >&6; }
11234 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11235 $as_echo_n "(cached) " >&6
11236 else
11237 ac_check_soname_save_LIBS=$LIBS
11238 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11240 /* end confdefs.h. */
11242 /* Override any GCC internal prototype to avoid an error.
11243 Use char because int might match the return type of a GCC
11244 builtin and then its argument prototype would still apply. */
11245 #ifdef __cplusplus
11246 extern "C"
11247 #endif
11248 char XFixesQueryVersion ();
11250 main ()
11252 return XFixesQueryVersion ();
11254 return 0;
11256 _ACEOF
11257 if ac_fn_c_try_link "$LINENO"; then :
11258 case "$LIBEXT" in
11259 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11260 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'` ;;
11261 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11262 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11263 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11264 fi ;;
11265 esac
11267 rm -f core conftest.err conftest.$ac_objext \
11268 conftest$ac_exeext conftest.$ac_ext
11269 LIBS=$ac_check_soname_save_LIBS
11271 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11273 $as_echo "not found" >&6; }
11275 else
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11277 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11279 cat >>confdefs.h <<_ACEOF
11280 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11281 _ACEOF
11286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11288 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11289 case "x$with_xfixes" in
11290 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11291 xno) ;;
11292 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11293 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11294 esac
11298 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11299 then
11300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11301 /* end confdefs.h. */
11302 #include <X11/Xlib.h>
11303 #include <X11/extensions/Xinerama.h>
11305 main ()
11307 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11309 return 0;
11311 _ACEOF
11312 if ac_fn_c_try_compile "$LINENO"; then :
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11314 $as_echo_n "checking for -lXinerama... " >&6; }
11315 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11316 $as_echo_n "(cached) " >&6
11317 else
11318 ac_check_soname_save_LIBS=$LIBS
11319 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11323 /* Override any GCC internal prototype to avoid an error.
11324 Use char because int might match the return type of a GCC
11325 builtin and then its argument prototype would still apply. */
11326 #ifdef __cplusplus
11327 extern "C"
11328 #endif
11329 char XineramaQueryScreens ();
11331 main ()
11333 return XineramaQueryScreens ();
11335 return 0;
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"; then :
11339 case "$LIBEXT" in
11340 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11341 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'` ;;
11342 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11343 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11344 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11345 fi ;;
11346 esac
11348 rm -f core conftest.err conftest.$ac_objext \
11349 conftest$ac_exeext conftest.$ac_ext
11350 LIBS=$ac_check_soname_save_LIBS
11352 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11354 $as_echo "not found" >&6; }
11356 else
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11358 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11360 cat >>confdefs.h <<_ACEOF
11361 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11362 _ACEOF
11367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11369 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11370 case "x$with_xinerama" in
11371 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11372 xno) ;;
11373 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11374 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11375 esac
11379 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11380 then
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11382 $as_echo_n "checking for -lXcomposite... " >&6; }
11383 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11384 $as_echo_n "(cached) " >&6
11385 else
11386 ac_check_soname_save_LIBS=$LIBS
11387 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11394 #ifdef __cplusplus
11395 extern "C"
11396 #endif
11397 char XCompositeRedirectWindow ();
11399 main ()
11401 return XCompositeRedirectWindow ();
11403 return 0;
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"; then :
11407 case "$LIBEXT" in
11408 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11409 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'` ;;
11410 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11411 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11412 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11413 fi ;;
11414 esac
11416 rm -f core conftest.err conftest.$ac_objext \
11417 conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_soname_save_LIBS
11420 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11422 $as_echo "not found" >&6; }
11424 else
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11426 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11428 cat >>confdefs.h <<_ACEOF
11429 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11430 _ACEOF
11435 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11436 case "x$with_xcomposite" in
11437 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11438 xno) ;;
11439 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11440 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11441 esac
11445 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11446 #include <X11/Xlib.h>
11447 #endif
11449 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11451 cat >>confdefs.h <<_ACEOF
11452 #define HAVE_XICCALLBACK_CALLBACK 1
11453 _ACEOF
11457 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11458 #include <X11/Xlib.h>
11459 #endif
11461 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11463 cat >>confdefs.h <<_ACEOF
11464 #define HAVE_XEVENT_XCOOKIE 1
11465 _ACEOF
11472 opengl_msg=""
11473 if test "x$with_opengl" != "xno"
11474 then
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11476 $as_echo_n "checking for -lGL... " >&6; }
11477 if ${ac_cv_lib_soname_GL+:} false; then :
11478 $as_echo_n "(cached) " >&6
11479 else
11480 ac_check_soname_save_LIBS=$LIBS
11481 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11483 /* end confdefs.h. */
11485 /* Override any GCC internal prototype to avoid an error.
11486 Use char because int might match the return type of a GCC
11487 builtin and then its argument prototype would still apply. */
11488 #ifdef __cplusplus
11489 extern "C"
11490 #endif
11491 char glXCreateContext ();
11493 main ()
11495 return glXCreateContext ();
11497 return 0;
11499 _ACEOF
11500 if ac_fn_c_try_link "$LINENO"; then :
11501 case "$LIBEXT" in
11502 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11503 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'` ;;
11504 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11505 if ${ac_cv_lib_soname_GL:+false} :; then :
11506 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11507 fi ;;
11508 esac
11510 rm -f core conftest.err conftest.$ac_objext \
11511 conftest$ac_exeext conftest.$ac_ext
11512 LIBS=$ac_check_soname_save_LIBS
11514 if ${ac_cv_lib_soname_GL:+false} :; then :
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11516 $as_echo "not found" >&6; }
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11518 $as_echo_n "checking for -lGL... " >&6; }
11519 if ${ac_cv_lib_soname_GL+:} false; then :
11520 $as_echo_n "(cached) " >&6
11521 else
11522 ac_check_soname_save_LIBS=$LIBS
11523 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"
11524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11525 /* end confdefs.h. */
11527 /* Override any GCC internal prototype to avoid an error.
11528 Use char because int might match the return type of a GCC
11529 builtin and then its argument prototype would still apply. */
11530 #ifdef __cplusplus
11531 extern "C"
11532 #endif
11533 char glXCreateContext ();
11535 main ()
11537 return glXCreateContext ();
11539 return 0;
11541 _ACEOF
11542 if ac_fn_c_try_link "$LINENO"; then :
11543 case "$LIBEXT" in
11544 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11545 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'` ;;
11546 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11547 if ${ac_cv_lib_soname_GL:+false} :; then :
11548 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11549 fi ;;
11550 esac
11552 rm -f core conftest.err conftest.$ac_objext \
11553 conftest$ac_exeext conftest.$ac_ext
11554 LIBS=$ac_check_soname_save_LIBS
11556 if ${ac_cv_lib_soname_GL:+false} :; then :
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11558 $as_echo "not found" >&6; }
11559 if test -f /usr/X11R6/lib/libGL.a
11560 then
11561 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11562 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11563 else
11564 opengl_msg="No OpenGL library found on this system."
11566 else
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11568 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11570 cat >>confdefs.h <<_ACEOF
11571 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11572 _ACEOF
11574 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"
11576 else
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11578 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11580 cat >>confdefs.h <<_ACEOF
11581 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11582 _ACEOF
11584 OPENGL_LIBS="-lGL"
11586 if test "x$with_glu" != "xno"
11587 then
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11589 $as_echo_n "checking for -lGLU... " >&6; }
11590 if ${ac_cv_lib_soname_GLU+:} false; then :
11591 $as_echo_n "(cached) " >&6
11592 else
11593 ac_check_soname_save_LIBS=$LIBS
11594 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11596 /* end confdefs.h. */
11598 /* Override any GCC internal prototype to avoid an error.
11599 Use char because int might match the return type of a GCC
11600 builtin and then its argument prototype would still apply. */
11601 #ifdef __cplusplus
11602 extern "C"
11603 #endif
11604 char gluLookAt ();
11606 main ()
11608 return gluLookAt ();
11610 return 0;
11612 _ACEOF
11613 if ac_fn_c_try_link "$LINENO"; then :
11614 case "$LIBEXT" in
11615 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11616 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'` ;;
11617 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11618 if ${ac_cv_lib_soname_GLU:+false} :; then :
11619 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11620 fi ;;
11621 esac
11623 rm -f core conftest.err conftest.$ac_objext \
11624 conftest$ac_exeext conftest.$ac_ext
11625 LIBS=$ac_check_soname_save_LIBS
11627 if ${ac_cv_lib_soname_GLU:+false} :; then :
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11629 $as_echo "not found" >&6; }
11631 else
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11633 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11635 cat >>confdefs.h <<_ACEOF
11636 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11637 _ACEOF
11641 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11642 case "x$with_glu" in
11643 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11644 xno) ;;
11645 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11646 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11647 esac
11652 if test "x$with_osmesa" != "xno"
11653 then
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11655 $as_echo_n "checking for -lOSMesa... " >&6; }
11656 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11657 $as_echo_n "(cached) " >&6
11658 else
11659 ac_check_soname_save_LIBS=$LIBS
11660 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11662 /* end confdefs.h. */
11664 /* Override any GCC internal prototype to avoid an error.
11665 Use char because int might match the return type of a GCC
11666 builtin and then its argument prototype would still apply. */
11667 #ifdef __cplusplus
11668 extern "C"
11669 #endif
11670 char OSMesaGetProcAddress ();
11672 main ()
11674 return OSMesaGetProcAddress ();
11676 return 0;
11678 _ACEOF
11679 if ac_fn_c_try_link "$LINENO"; then :
11680 case "$LIBEXT" in
11681 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11682 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'` ;;
11683 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11684 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11685 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11686 fi ;;
11687 esac
11689 rm -f core conftest.err conftest.$ac_objext \
11690 conftest$ac_exeext conftest.$ac_ext
11691 LIBS=$ac_check_soname_save_LIBS
11693 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11695 $as_echo "not found" >&6; }
11697 else
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11699 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11701 cat >>confdefs.h <<_ACEOF
11702 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11703 _ACEOF
11707 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11708 case "x$with_osmesa" in
11709 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11710 xno) ;;
11711 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11712 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11713 esac
11718 if test -n "$opengl_msg"; then :
11719 case "x$with_opengl" in
11720 x) as_fn_append wine_warnings "|$opengl_msg
11721 OpenGL and Direct3D won't be supported." ;;
11722 xno) ;;
11723 *) as_fn_error $? "$opengl_msg
11724 OpenGL and Direct3D won't be supported.
11725 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11726 esac
11730 CPPFLAGS="$ac_save_CPPFLAGS"
11731 else
11732 X_CFLAGS=""
11733 X_LIBS=""
11736 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11737 then
11738 if test "x$X_LIBS" = "x"; then :
11739 case "x$with_x" in
11740 xno) ;;
11741 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11742 without X support, which probably isn't what you want. You will need
11743 to install ${notice_platform}development packages of Xlib at the very least.
11744 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11745 esac
11746 enable_winex11_drv=${enable_winex11_drv:-no}
11748 else
11749 if test "x$X_LIBS" = "x"; then :
11750 case "x$with_x" in
11751 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11752 xno) ;;
11753 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11754 This is an error since --with-x was requested." "$LINENO" 5 ;;
11755 esac
11756 enable_winex11_drv=${enable_winex11_drv:-no}
11760 if test "$ac_cv_header_CL_cl_h" = "yes"
11761 then
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11763 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11764 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11765 $as_echo_n "(cached) " >&6
11766 else
11767 ac_check_lib_save_LIBS=$LIBS
11768 LIBS="-lOpenCL $LIBS"
11769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11770 /* end confdefs.h. */
11772 /* Override any GCC internal prototype to avoid an error.
11773 Use char because int might match the return type of a GCC
11774 builtin and then its argument prototype would still apply. */
11775 #ifdef __cplusplus
11776 extern "C"
11777 #endif
11778 char clGetPlatformInfo ();
11780 main ()
11782 return clGetPlatformInfo ();
11784 return 0;
11786 _ACEOF
11787 if ac_fn_c_try_link "$LINENO"; then :
11788 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11789 else
11790 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11792 rm -f core conftest.err conftest.$ac_objext \
11793 conftest$ac_exeext conftest.$ac_ext
11794 LIBS=$ac_check_lib_save_LIBS
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11797 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11798 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11799 OPENCL_LIBS="-lOpenCL"
11804 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11805 case "x$with_opencl" in
11806 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11807 xno) ;;
11808 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11809 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11810 esac
11811 enable_opencl=${enable_opencl:-no}
11814 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11815 then
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11817 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11818 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11819 $as_echo_n "(cached) " >&6
11820 else
11821 ac_check_lib_save_LIBS=$LIBS
11822 LIBS="-lpcap $LIBS"
11823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11824 /* end confdefs.h. */
11826 /* Override any GCC internal prototype to avoid an error.
11827 Use char because int might match the return type of a GCC
11828 builtin and then its argument prototype would still apply. */
11829 #ifdef __cplusplus
11830 extern "C"
11831 #endif
11832 char pcap_create ();
11834 main ()
11836 return pcap_create ();
11838 return 0;
11840 _ACEOF
11841 if ac_fn_c_try_link "$LINENO"; then :
11842 ac_cv_lib_pcap_pcap_create=yes
11843 else
11844 ac_cv_lib_pcap_pcap_create=no
11846 rm -f core conftest.err conftest.$ac_objext \
11847 conftest$ac_exeext conftest.$ac_ext
11848 LIBS=$ac_check_lib_save_LIBS
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11851 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11852 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11853 PCAP_LIBS="-lpcap"
11858 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11859 case "x$with_pcap" in
11860 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11861 xno) ;;
11862 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11863 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11864 esac
11865 enable_wpcap=${enable_wpcap:-no}
11869 if test "x$with_xml" != "xno"
11870 then
11871 if ${XML2_CFLAGS:+false} :; then :
11872 if ${PKG_CONFIG+:} false; then :
11873 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11876 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11877 if ${XML2_LIBS:+false} :; then :
11878 if ${PKG_CONFIG+:} false; then :
11879 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11882 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11883 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11884 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11885 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11886 ac_save_CPPFLAGS=$CPPFLAGS
11887 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11888 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11889 do :
11890 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11891 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11892 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11893 cat >>confdefs.h <<_ACEOF
11894 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11895 _ACEOF
11899 done
11901 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"
11902 then
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11904 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11905 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11906 $as_echo_n "(cached) " >&6
11907 else
11908 ac_check_lib_save_LIBS=$LIBS
11909 LIBS="-lxml2 $XML2_LIBS $LIBS"
11910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11911 /* end confdefs.h. */
11913 /* Override any GCC internal prototype to avoid an error.
11914 Use char because int might match the return type of a GCC
11915 builtin and then its argument prototype would still apply. */
11916 #ifdef __cplusplus
11917 extern "C"
11918 #endif
11919 char xmlParseMemory ();
11921 main ()
11923 return xmlParseMemory ();
11925 return 0;
11927 _ACEOF
11928 if ac_fn_c_try_link "$LINENO"; then :
11929 ac_cv_lib_xml2_xmlParseMemory=yes
11930 else
11931 ac_cv_lib_xml2_xmlParseMemory=no
11933 rm -f core conftest.err conftest.$ac_objext \
11934 conftest$ac_exeext conftest.$ac_ext
11935 LIBS=$ac_check_lib_save_LIBS
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11938 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11939 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11941 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11943 else
11944 XML2_LIBS=""
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11948 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11949 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11950 $as_echo_n "(cached) " >&6
11951 else
11952 ac_check_lib_save_LIBS=$LIBS
11953 LIBS="-lxml2 $XML2_LIBS $LIBS"
11954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11955 /* end confdefs.h. */
11957 /* Override any GCC internal prototype to avoid an error.
11958 Use char because int might match the return type of a GCC
11959 builtin and then its argument prototype would still apply. */
11960 #ifdef __cplusplus
11961 extern "C"
11962 #endif
11963 char xmlReadMemory ();
11965 main ()
11967 return xmlReadMemory ();
11969 return 0;
11971 _ACEOF
11972 if ac_fn_c_try_link "$LINENO"; then :
11973 ac_cv_lib_xml2_xmlReadMemory=yes
11974 else
11975 ac_cv_lib_xml2_xmlReadMemory=no
11977 rm -f core conftest.err conftest.$ac_objext \
11978 conftest$ac_exeext conftest.$ac_ext
11979 LIBS=$ac_check_lib_save_LIBS
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11982 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11983 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11985 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11990 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11991 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11992 $as_echo_n "(cached) " >&6
11993 else
11994 ac_check_lib_save_LIBS=$LIBS
11995 LIBS="-lxml2 $XML2_LIBS $LIBS"
11996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11997 /* end confdefs.h. */
11999 /* Override any GCC internal prototype to avoid an error.
12000 Use char because int might match the return type of a GCC
12001 builtin and then its argument prototype would still apply. */
12002 #ifdef __cplusplus
12003 extern "C"
12004 #endif
12005 char xmlNewDocPI ();
12007 main ()
12009 return xmlNewDocPI ();
12011 return 0;
12013 _ACEOF
12014 if ac_fn_c_try_link "$LINENO"; then :
12015 ac_cv_lib_xml2_xmlNewDocPI=yes
12016 else
12017 ac_cv_lib_xml2_xmlNewDocPI=no
12019 rm -f core conftest.err conftest.$ac_objext \
12020 conftest$ac_exeext conftest.$ac_ext
12021 LIBS=$ac_check_lib_save_LIBS
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12024 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12025 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12027 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12032 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12033 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12034 $as_echo_n "(cached) " >&6
12035 else
12036 ac_check_lib_save_LIBS=$LIBS
12037 LIBS="-lxml2 $XML2_LIBS $LIBS"
12038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12039 /* end confdefs.h. */
12041 /* Override any GCC internal prototype to avoid an error.
12042 Use char because int might match the return type of a GCC
12043 builtin and then its argument prototype would still apply. */
12044 #ifdef __cplusplus
12045 extern "C"
12046 #endif
12047 char xmlSchemaSetParserStructuredErrors ();
12049 main ()
12051 return xmlSchemaSetParserStructuredErrors ();
12053 return 0;
12055 _ACEOF
12056 if ac_fn_c_try_link "$LINENO"; then :
12057 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12058 else
12059 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12061 rm -f core conftest.err conftest.$ac_objext \
12062 conftest$ac_exeext conftest.$ac_ext
12063 LIBS=$ac_check_lib_save_LIBS
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12066 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12067 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12069 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12074 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12075 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12076 $as_echo_n "(cached) " >&6
12077 else
12078 ac_check_lib_save_LIBS=$LIBS
12079 LIBS="-lxml2 $XML2_LIBS $LIBS"
12080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12081 /* end confdefs.h. */
12083 /* Override any GCC internal prototype to avoid an error.
12084 Use char because int might match the return type of a GCC
12085 builtin and then its argument prototype would still apply. */
12086 #ifdef __cplusplus
12087 extern "C"
12088 #endif
12089 char xmlSchemaSetValidStructuredErrors ();
12091 main ()
12093 return xmlSchemaSetValidStructuredErrors ();
12095 return 0;
12097 _ACEOF
12098 if ac_fn_c_try_link "$LINENO"; then :
12099 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12100 else
12101 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12103 rm -f core conftest.err conftest.$ac_objext \
12104 conftest$ac_exeext conftest.$ac_ext
12105 LIBS=$ac_check_lib_save_LIBS
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12108 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12109 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12111 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12116 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12117 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12118 $as_echo_n "(cached) " >&6
12119 else
12120 ac_check_lib_save_LIBS=$LIBS
12121 LIBS="-lxml2 $XML2_LIBS $LIBS"
12122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12123 /* end confdefs.h. */
12125 /* Override any GCC internal prototype to avoid an error.
12126 Use char because int might match the return type of a GCC
12127 builtin and then its argument prototype would still apply. */
12128 #ifdef __cplusplus
12129 extern "C"
12130 #endif
12131 char xmlFirstElementChild ();
12133 main ()
12135 return xmlFirstElementChild ();
12137 return 0;
12139 _ACEOF
12140 if ac_fn_c_try_link "$LINENO"; then :
12141 ac_cv_lib_xml2_xmlFirstElementChild=yes
12142 else
12143 ac_cv_lib_xml2_xmlFirstElementChild=no
12145 rm -f core conftest.err conftest.$ac_objext \
12146 conftest$ac_exeext conftest.$ac_ext
12147 LIBS=$ac_check_lib_save_LIBS
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12150 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12151 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12153 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12157 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12159 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12161 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12165 else
12166 XML2_CFLAGS=""
12167 XML2_LIBS=""
12169 CPPFLAGS=$ac_save_CPPFLAGS
12170 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12171 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12174 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12175 case "x$with_xml" in
12176 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12177 xno) ;;
12178 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12179 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12180 esac
12184 if test "x$with_xslt" != "xno"
12185 then
12186 if ${XSLT_CFLAGS:+false} :; then :
12187 if ${PKG_CONFIG+:} false; then :
12188 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12191 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12192 if ${XSLT_LIBS:+false} :; then :
12193 if ${PKG_CONFIG+:} false; then :
12194 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12197 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12198 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12199 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12200 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12201 ac_save_CPPFLAGS=$CPPFLAGS
12202 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12203 for ac_header in libxslt/pattern.h libxslt/transform.h
12204 do :
12205 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12206 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12207 # include <libxslt/pattern.h>
12208 #endif
12210 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12211 cat >>confdefs.h <<_ACEOF
12212 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12213 _ACEOF
12217 done
12219 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12220 then
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12222 $as_echo_n "checking for -lxslt... " >&6; }
12223 if ${ac_cv_lib_soname_xslt+:} false; then :
12224 $as_echo_n "(cached) " >&6
12225 else
12226 ac_check_soname_save_LIBS=$LIBS
12227 LIBS="-lxslt $XSLT_LIBS $LIBS"
12228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12229 /* end confdefs.h. */
12231 /* Override any GCC internal prototype to avoid an error.
12232 Use char because int might match the return type of a GCC
12233 builtin and then its argument prototype would still apply. */
12234 #ifdef __cplusplus
12235 extern "C"
12236 #endif
12237 char xsltCompilePattern ();
12239 main ()
12241 return xsltCompilePattern ();
12243 return 0;
12245 _ACEOF
12246 if ac_fn_c_try_link "$LINENO"; then :
12247 case "$LIBEXT" in
12248 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12249 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'` ;;
12250 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12251 if ${ac_cv_lib_soname_xslt:+false} :; then :
12252 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12253 fi ;;
12254 esac
12256 rm -f core conftest.err conftest.$ac_objext \
12257 conftest$ac_exeext conftest.$ac_ext
12258 LIBS=$ac_check_soname_save_LIBS
12260 if ${ac_cv_lib_soname_xslt:+false} :; then :
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12262 $as_echo "not found" >&6; }
12264 else
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12266 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12268 cat >>confdefs.h <<_ACEOF
12269 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12270 _ACEOF
12274 else
12275 XSLT_CFLAGS=""
12277 CPPFLAGS=$ac_save_CPPFLAGS
12278 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12279 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12282 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12283 case "x$with_xslt" in
12284 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12285 xno) ;;
12286 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12287 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12288 esac
12292 if test "x$with_dbus" != "xno"
12293 then
12294 if ${DBUS_CFLAGS:+false} :; then :
12295 if ${PKG_CONFIG+:} false; then :
12296 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12300 if ${DBUS_LIBS:+false} :; then :
12301 if ${PKG_CONFIG+:} false; then :
12302 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12307 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12308 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12309 ac_save_CPPFLAGS=$CPPFLAGS
12310 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12311 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12312 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12314 $as_echo_n "checking for -ldbus-1... " >&6; }
12315 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12316 $as_echo_n "(cached) " >&6
12317 else
12318 ac_check_soname_save_LIBS=$LIBS
12319 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h. */
12323 /* Override any GCC internal prototype to avoid an error.
12324 Use char because int might match the return type of a GCC
12325 builtin and then its argument prototype would still apply. */
12326 #ifdef __cplusplus
12327 extern "C"
12328 #endif
12329 char dbus_connection_close ();
12331 main ()
12333 return dbus_connection_close ();
12335 return 0;
12337 _ACEOF
12338 if ac_fn_c_try_link "$LINENO"; then :
12339 case "$LIBEXT" in
12340 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12341 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'` ;;
12342 *) 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'`
12343 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12344 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12345 fi ;;
12346 esac
12348 rm -f core conftest.err conftest.$ac_objext \
12349 conftest$ac_exeext conftest.$ac_ext
12350 LIBS=$ac_check_soname_save_LIBS
12352 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12354 $as_echo "not found" >&6; }
12355 DBUS_CFLAGS=""
12356 else
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12358 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12360 cat >>confdefs.h <<_ACEOF
12361 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12362 _ACEOF
12366 else
12367 DBUS_CFLAGS=""
12371 CPPFLAGS=$ac_save_CPPFLAGS
12372 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12373 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12376 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12377 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12378 case "x$with_dbus" in
12379 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12380 xno) ;;
12381 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12382 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12383 esac
12387 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12388 then
12389 if ${HAL_CFLAGS:+false} :; then :
12390 if ${PKG_CONFIG+:} false; then :
12391 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12395 if ${HAL_LIBS:+false} :; then :
12396 if ${PKG_CONFIG+:} false; then :
12397 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12401 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12402 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12403 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12404 ac_save_CPPFLAGS=$CPPFLAGS
12405 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12406 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12407 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12409 $as_echo_n "checking for -lhal... " >&6; }
12410 if ${ac_cv_lib_soname_hal+:} false; then :
12411 $as_echo_n "(cached) " >&6
12412 else
12413 ac_check_soname_save_LIBS=$LIBS
12414 LIBS="-lhal $HAL_LIBS $LIBS"
12415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12416 /* end confdefs.h. */
12418 /* Override any GCC internal prototype to avoid an error.
12419 Use char because int might match the return type of a GCC
12420 builtin and then its argument prototype would still apply. */
12421 #ifdef __cplusplus
12422 extern "C"
12423 #endif
12424 char libhal_ctx_new ();
12426 main ()
12428 return libhal_ctx_new ();
12430 return 0;
12432 _ACEOF
12433 if ac_fn_c_try_link "$LINENO"; then :
12434 case "$LIBEXT" in
12435 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12436 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'` ;;
12437 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12438 if ${ac_cv_lib_soname_hal:+false} :; then :
12439 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12440 fi ;;
12441 esac
12443 rm -f core conftest.err conftest.$ac_objext \
12444 conftest$ac_exeext conftest.$ac_ext
12445 LIBS=$ac_check_soname_save_LIBS
12447 if ${ac_cv_lib_soname_hal:+false} :; then :
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12449 $as_echo "not found" >&6; }
12450 HAL_CFLAGS=""
12451 else
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12453 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12455 cat >>confdefs.h <<_ACEOF
12456 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12457 _ACEOF
12461 else
12462 HAL_CFLAGS=""
12466 CPPFLAGS=$ac_save_CPPFLAGS
12467 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12468 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12470 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12471 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12472 case "x$with_hal" in
12473 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12474 xno) ;;
12475 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12476 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12477 esac
12482 if test "x$with_gnutls" != "xno"
12483 then
12484 if ${GNUTLS_CFLAGS:+false} :; then :
12485 if ${PKG_CONFIG+:} false; then :
12486 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12490 if ${GNUTLS_LIBS:+false} :; then :
12491 if ${PKG_CONFIG+:} false; then :
12492 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12497 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12498 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12499 ac_save_CPPFLAGS=$CPPFLAGS
12500 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12501 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12502 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12504 /* end confdefs.h. */
12505 #include <gnutls/gnutls.h>
12506 #include <gnutls/crypto.h>
12508 main ()
12510 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12512 return 0;
12514 _ACEOF
12515 if ac_fn_c_try_compile "$LINENO"; then :
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12517 $as_echo_n "checking for -lgnutls... " >&6; }
12518 if ${ac_cv_lib_soname_gnutls+:} false; then :
12519 $as_echo_n "(cached) " >&6
12520 else
12521 ac_check_soname_save_LIBS=$LIBS
12522 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12524 /* end confdefs.h. */
12526 /* Override any GCC internal prototype to avoid an error.
12527 Use char because int might match the return type of a GCC
12528 builtin and then its argument prototype would still apply. */
12529 #ifdef __cplusplus
12530 extern "C"
12531 #endif
12532 char gnutls_global_init ();
12534 main ()
12536 return gnutls_global_init ();
12538 return 0;
12540 _ACEOF
12541 if ac_fn_c_try_link "$LINENO"; then :
12542 case "$LIBEXT" in
12543 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12544 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'` ;;
12545 *) 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'`
12546 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12547 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'`
12548 fi ;;
12549 esac
12551 rm -f core conftest.err conftest.$ac_objext \
12552 conftest$ac_exeext conftest.$ac_ext
12553 LIBS=$ac_check_soname_save_LIBS
12555 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12557 $as_echo "not found" >&6; }
12558 GNUTLS_CFLAGS=""
12559 else
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12561 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12563 cat >>confdefs.h <<_ACEOF
12564 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12565 _ACEOF
12569 ac_wine_check_funcs_save_LIBS="$LIBS"
12570 LIBS="$LIBS $GNUTLS_LIBS"
12571 for ac_func in gnutls_cipher_init
12572 do :
12573 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12574 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12575 cat >>confdefs.h <<_ACEOF
12576 #define HAVE_GNUTLS_CIPHER_INIT 1
12577 _ACEOF
12579 else
12580 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12582 done
12584 LIBS="$ac_wine_check_funcs_save_LIBS"
12586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12587 else
12588 GNUTLS_CFLAGS=""
12592 CPPFLAGS=$ac_save_CPPFLAGS
12593 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12594 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12597 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12598 case "x$with_gnutls" in
12599 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12600 xno) ;;
12601 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12602 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12603 esac
12607 CURSES_LIBS=""
12608 if test "$ac_cv_header_ncurses_h" = "yes"
12609 then
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12611 $as_echo_n "checking for -lncurses... " >&6; }
12612 if ${ac_cv_lib_soname_ncurses+:} false; then :
12613 $as_echo_n "(cached) " >&6
12614 else
12615 ac_check_soname_save_LIBS=$LIBS
12616 LIBS="-lncurses $LIBS"
12617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12618 /* end confdefs.h. */
12620 /* Override any GCC internal prototype to avoid an error.
12621 Use char because int might match the return type of a GCC
12622 builtin and then its argument prototype would still apply. */
12623 #ifdef __cplusplus
12624 extern "C"
12625 #endif
12626 char waddch ();
12628 main ()
12630 return waddch ();
12632 return 0;
12634 _ACEOF
12635 if ac_fn_c_try_link "$LINENO"; then :
12636 case "$LIBEXT" in
12637 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12638 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'` ;;
12639 *) 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'`
12640 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12641 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12642 fi ;;
12643 esac
12645 rm -f core conftest.err conftest.$ac_objext \
12646 conftest$ac_exeext conftest.$ac_ext
12647 LIBS=$ac_check_soname_save_LIBS
12649 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12651 $as_echo "not found" >&6; }
12653 else
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12655 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12657 cat >>confdefs.h <<_ACEOF
12658 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12659 _ACEOF
12661 CURSES_LIBS="-lncurses"
12663 elif test "$ac_cv_header_curses_h" = "yes"
12664 then
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12666 $as_echo_n "checking for -lcurses... " >&6; }
12667 if ${ac_cv_lib_soname_curses+:} false; then :
12668 $as_echo_n "(cached) " >&6
12669 else
12670 ac_check_soname_save_LIBS=$LIBS
12671 LIBS="-lcurses $LIBS"
12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12675 /* Override any GCC internal prototype to avoid an error.
12676 Use char because int might match the return type of a GCC
12677 builtin and then its argument prototype would still apply. */
12678 #ifdef __cplusplus
12679 extern "C"
12680 #endif
12681 char waddch ();
12683 main ()
12685 return waddch ();
12687 return 0;
12689 _ACEOF
12690 if ac_fn_c_try_link "$LINENO"; then :
12691 case "$LIBEXT" in
12692 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12693 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'` ;;
12694 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12695 if ${ac_cv_lib_soname_curses:+false} :; then :
12696 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12697 fi ;;
12698 esac
12700 rm -f core conftest.err conftest.$ac_objext \
12701 conftest$ac_exeext conftest.$ac_ext
12702 LIBS=$ac_check_soname_save_LIBS
12704 if ${ac_cv_lib_soname_curses:+false} :; then :
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12706 $as_echo "not found" >&6; }
12708 else
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12710 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12712 cat >>confdefs.h <<_ACEOF
12713 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12714 _ACEOF
12716 CURSES_LIBS="-lcurses"
12719 ac_save_LIBS="$LIBS"
12720 LIBS="$LIBS $CURSES_LIBS"
12721 for ac_func in mousemask
12722 do :
12723 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12724 if test "x$ac_cv_func_mousemask" = xyes; then :
12725 cat >>confdefs.h <<_ACEOF
12726 #define HAVE_MOUSEMASK 1
12727 _ACEOF
12730 done
12732 LIBS="$ac_save_LIBS"
12733 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12734 case "x$with_curses" in
12735 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12736 xno) ;;
12737 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12738 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12739 esac
12743 if test "x$with_sane" != "xno"
12744 then
12745 if ${SANE_CFLAGS:+false} :; then :
12746 if ${PKG_CONFIG+:} false; then :
12747 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12750 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12751 if ${SANE_LIBS:+false} :; then :
12752 if ${PKG_CONFIG+:} false; then :
12753 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12756 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12758 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12759 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12760 ac_save_CPPFLAGS=$CPPFLAGS
12761 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12762 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12763 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12765 $as_echo_n "checking for -lsane... " >&6; }
12766 if ${ac_cv_lib_soname_sane+:} false; then :
12767 $as_echo_n "(cached) " >&6
12768 else
12769 ac_check_soname_save_LIBS=$LIBS
12770 LIBS="-lsane $SANE_LIBS $LIBS"
12771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12774 /* Override any GCC internal prototype to avoid an error.
12775 Use char because int might match the return type of a GCC
12776 builtin and then its argument prototype would still apply. */
12777 #ifdef __cplusplus
12778 extern "C"
12779 #endif
12780 char sane_init ();
12782 main ()
12784 return sane_init ();
12786 return 0;
12788 _ACEOF
12789 if ac_fn_c_try_link "$LINENO"; then :
12790 case "$LIBEXT" in
12791 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12792 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'` ;;
12793 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12794 if ${ac_cv_lib_soname_sane:+false} :; then :
12795 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12796 fi ;;
12797 esac
12799 rm -f core conftest.err conftest.$ac_objext \
12800 conftest$ac_exeext conftest.$ac_ext
12801 LIBS=$ac_check_soname_save_LIBS
12803 if ${ac_cv_lib_soname_sane:+false} :; then :
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12805 $as_echo "not found" >&6; }
12806 SANE_CFLAGS=""
12807 else
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12809 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12811 cat >>confdefs.h <<_ACEOF
12812 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12813 _ACEOF
12817 else
12818 SANE_CFLAGS=""
12822 CPPFLAGS=$ac_save_CPPFLAGS
12823 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12824 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12827 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12828 case "x$with_sane" in
12829 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12830 xno) ;;
12831 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12832 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12833 esac
12837 if test "x$with_v4l" != "xno"
12838 then
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12840 $as_echo_n "checking for -lv4l1... " >&6; }
12841 if ${ac_cv_lib_soname_v4l1+:} false; then :
12842 $as_echo_n "(cached) " >&6
12843 else
12844 ac_check_soname_save_LIBS=$LIBS
12845 LIBS="-lv4l1 $LIBS"
12846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12847 /* end confdefs.h. */
12849 /* Override any GCC internal prototype to avoid an error.
12850 Use char because int might match the return type of a GCC
12851 builtin and then its argument prototype would still apply. */
12852 #ifdef __cplusplus
12853 extern "C"
12854 #endif
12855 char v4l1_open ();
12857 main ()
12859 return v4l1_open ();
12861 return 0;
12863 _ACEOF
12864 if ac_fn_c_try_link "$LINENO"; then :
12865 case "$LIBEXT" in
12866 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12867 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'` ;;
12868 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12869 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12870 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12871 fi ;;
12872 esac
12874 rm -f core conftest.err conftest.$ac_objext \
12875 conftest$ac_exeext conftest.$ac_ext
12876 LIBS=$ac_check_soname_save_LIBS
12878 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12880 $as_echo "not found" >&6; }
12882 else
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12884 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12886 cat >>confdefs.h <<_ACEOF
12887 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12888 _ACEOF
12893 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12894 case "x$with_v4l" in
12895 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12896 xno) ;;
12897 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12898 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12899 esac
12903 if test "x$with_gphoto" != "xno"
12904 then
12905 if ${GPHOTO2_CFLAGS:+false} :; then :
12906 if ${PKG_CONFIG+:} false; then :
12907 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12910 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12911 if ${GPHOTO2_LIBS:+false} :; then :
12912 if ${PKG_CONFIG+:} false; then :
12913 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12916 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12917 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12918 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12919 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12920 ac_save_CPPFLAGS=$CPPFLAGS
12921 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12922 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12923 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12925 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12926 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12927 $as_echo_n "(cached) " >&6
12928 else
12929 ac_check_lib_save_LIBS=$LIBS
12930 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12932 /* end confdefs.h. */
12934 /* Override any GCC internal prototype to avoid an error.
12935 Use char because int might match the return type of a GCC
12936 builtin and then its argument prototype would still apply. */
12937 #ifdef __cplusplus
12938 extern "C"
12939 #endif
12940 char gp_camera_new ();
12942 main ()
12944 return gp_camera_new ();
12946 return 0;
12948 _ACEOF
12949 if ac_fn_c_try_link "$LINENO"; then :
12950 ac_cv_lib_gphoto2_gp_camera_new=yes
12951 else
12952 ac_cv_lib_gphoto2_gp_camera_new=no
12954 rm -f core conftest.err conftest.$ac_objext \
12955 conftest$ac_exeext conftest.$ac_ext
12956 LIBS=$ac_check_lib_save_LIBS
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12959 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12960 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12962 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12964 else
12965 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12968 else
12969 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12973 CPPFLAGS=$ac_save_CPPFLAGS
12974 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12975 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12977 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12978 if ${PKG_CONFIG+:} false; then :
12979 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12982 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12983 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12984 if ${PKG_CONFIG+:} false; then :
12985 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12988 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12989 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12990 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12991 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12992 ac_save_CPPFLAGS=$CPPFLAGS
12993 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12994 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12995 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12997 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12998 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12999 $as_echo_n "(cached) " >&6
13000 else
13001 ac_check_lib_save_LIBS=$LIBS
13002 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13004 /* end confdefs.h. */
13006 /* Override any GCC internal prototype to avoid an error.
13007 Use char because int might match the return type of a GCC
13008 builtin and then its argument prototype would still apply. */
13009 #ifdef __cplusplus
13010 extern "C"
13011 #endif
13012 char gp_port_info_list_new ();
13014 main ()
13016 return gp_port_info_list_new ();
13018 return 0;
13020 _ACEOF
13021 if ac_fn_c_try_link "$LINENO"; then :
13022 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13023 else
13024 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13026 rm -f core conftest.err conftest.$ac_objext \
13027 conftest$ac_exeext conftest.$ac_ext
13028 LIBS=$ac_check_lib_save_LIBS
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13031 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13032 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13034 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13036 else
13037 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13040 else
13041 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13045 CPPFLAGS=$ac_save_CPPFLAGS
13046 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13047 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13050 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13051 case "x$with_gphoto" in
13052 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13053 xno) ;;
13054 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13055 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13056 esac
13059 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13060 case "x$with_gphoto" in
13061 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13062 xno) ;;
13063 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13064 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13065 esac
13070 if test "$ac_cv_header_resolv_h" = "yes"
13071 then
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13073 $as_echo_n "checking for resolver library... " >&6; }
13074 if ${ac_cv_have_resolv+:} false; then :
13075 $as_echo_n "(cached) " >&6
13076 else
13077 ac_save_LIBS="$LIBS"
13078 for lib in '' -lresolv
13080 LIBS="$lib $ac_save_LIBS"
13081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 /* end confdefs.h. */
13083 #ifdef HAVE_NETINET_IN_H
13084 #include <netinet/in.h>
13085 #endif
13086 #include <resolv.h>
13088 main ()
13090 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13092 return 0;
13094 _ACEOF
13095 if ac_fn_c_try_link "$LINENO"; then :
13096 ac_cv_have_resolv=${lib:-"none required"}
13097 else
13098 ac_cv_have_resolv="not found"
13100 rm -f core conftest.err conftest.$ac_objext \
13101 conftest$ac_exeext conftest.$ac_ext
13102 test "x$ac_cv_have_resolv" = "xnot found" || break
13103 done
13104 LIBS="$ac_save_LIBS"
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13107 $as_echo "$ac_cv_have_resolv" >&6; }
13109 case "$ac_cv_have_resolv" in
13110 "not found") ;;
13111 "none required")
13113 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13116 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13118 RESOLV_LIBS=$ac_cv_have_resolv
13120 esac
13123 if test "x$with_cms" != "xno"
13124 then
13125 if ${LCMS2_CFLAGS:+false} :; then :
13126 if ${PKG_CONFIG+:} false; then :
13127 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
13131 if ${LCMS2_LIBS:+false} :; then :
13132 if ${PKG_CONFIG+:} false; then :
13133 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
13137 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
13138 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
13139 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
13140 ac_save_CPPFLAGS=$CPPFLAGS
13141 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
13142 for ac_header in lcms2.h
13143 do :
13144 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
13145 if test "x$ac_cv_header_lcms2_h" = xyes; then :
13146 cat >>confdefs.h <<_ACEOF
13147 #define HAVE_LCMS2_H 1
13148 _ACEOF
13152 done
13154 if test "$ac_cv_header_lcms2_h" = "yes"
13155 then
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13157 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13158 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13159 $as_echo_n "(cached) " >&6
13160 else
13161 ac_check_lib_save_LIBS=$LIBS
13162 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13164 /* end confdefs.h. */
13166 /* Override any GCC internal prototype to avoid an error.
13167 Use char because int might match the return type of a GCC
13168 builtin and then its argument prototype would still apply. */
13169 #ifdef __cplusplus
13170 extern "C"
13171 #endif
13172 char cmsOpenProfileFromFile ();
13174 main ()
13176 return cmsOpenProfileFromFile ();
13178 return 0;
13180 _ACEOF
13181 if ac_fn_c_try_link "$LINENO"; then :
13182 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13183 else
13184 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13186 rm -f core conftest.err conftest.$ac_objext \
13187 conftest$ac_exeext conftest.$ac_ext
13188 LIBS=$ac_check_lib_save_LIBS
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13191 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13192 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13194 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13196 else
13197 LCMS2_LIBS=""
13200 else
13201 LCMS2_CFLAGS=""
13202 LCMS2_LIBS=""
13204 CPPFLAGS=$ac_save_CPPFLAGS
13205 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13206 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13209 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13210 case "x$with_cms" in
13211 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13212 xno) ;;
13213 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13214 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13215 esac
13219 if test "x$with_freetype" != "xno"
13220 then
13221 if ${FREETYPE_CFLAGS:+false} :; then :
13222 if ${PKG_CONFIG+:} false; then :
13223 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13226 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13227 if ${FREETYPE_LIBS:+false} :; then :
13228 if ${PKG_CONFIG+:} false; then :
13229 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13232 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13233 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13234 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13235 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13236 ac_save_CPPFLAGS=$CPPFLAGS
13237 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13238 for ac_header in ft2build.h
13239 do :
13240 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13241 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13242 cat >>confdefs.h <<_ACEOF
13243 #define HAVE_FT2BUILD_H 1
13244 _ACEOF
13248 done
13250 if test "$ac_cv_header_ft2build_h" = "yes"
13251 then
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13253 $as_echo_n "checking for -lfreetype... " >&6; }
13254 if ${ac_cv_lib_soname_freetype+:} false; then :
13255 $as_echo_n "(cached) " >&6
13256 else
13257 ac_check_soname_save_LIBS=$LIBS
13258 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13260 /* end confdefs.h. */
13262 /* Override any GCC internal prototype to avoid an error.
13263 Use char because int might match the return type of a GCC
13264 builtin and then its argument prototype would still apply. */
13265 #ifdef __cplusplus
13266 extern "C"
13267 #endif
13268 char FT_Init_FreeType ();
13270 main ()
13272 return FT_Init_FreeType ();
13274 return 0;
13276 _ACEOF
13277 if ac_fn_c_try_link "$LINENO"; then :
13278 case "$LIBEXT" in
13279 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13280 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'` ;;
13281 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13282 if ${ac_cv_lib_soname_freetype:+false} :; then :
13283 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13284 fi ;;
13285 esac
13287 rm -f core conftest.err conftest.$ac_objext \
13288 conftest$ac_exeext conftest.$ac_ext
13289 LIBS=$ac_check_soname_save_LIBS
13291 if ${ac_cv_lib_soname_freetype:+false} :; then :
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13293 $as_echo "not found" >&6; }
13294 FREETYPE_LIBS=""
13295 else
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13297 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13299 cat >>confdefs.h <<_ACEOF
13300 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13301 _ACEOF
13304 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13306 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13307 #include FT_MODULE_H
13309 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13311 cat >>confdefs.h <<_ACEOF
13312 #define HAVE_FT_TRUETYPEENGINETYPE 1
13313 _ACEOF
13319 else
13320 FREETYPE_CFLAGS=""
13321 FREETYPE_LIBS=""
13323 CPPFLAGS=$ac_save_CPPFLAGS
13324 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13325 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13328 if test "x$ac_cv_lib_soname_freetype" = x; then :
13329 case "x$with_freetype" in
13330 xno) ;;
13331 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13332 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13333 esac
13334 enable_fonts=${enable_fonts:-no}
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13338 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13339 if ${ac_cv_c_ppdev+:} false; then :
13340 $as_echo_n "(cached) " >&6
13341 else
13342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13343 /* end confdefs.h. */
13344 #ifdef HAVE_SYS_IOCTL_H
13345 # include <sys/ioctl.h>
13346 #endif
13347 #include <linux/ppdev.h>
13349 main ()
13351 ioctl (1,PPCLAIM,0)
13353 return 0;
13355 _ACEOF
13356 if ac_fn_c_try_compile "$LINENO"; then :
13357 ac_cv_c_ppdev="yes"
13358 else
13359 ac_cv_c_ppdev="no"
13361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13364 $as_echo "$ac_cv_c_ppdev" >&6; }
13365 if test "$ac_cv_c_ppdev" = "yes"
13366 then
13368 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13372 ac_wine_check_funcs_save_LIBS="$LIBS"
13373 LIBS="$LIBS $PTHREAD_LIBS"
13374 for ac_func in \
13375 pthread_attr_get_np \
13376 pthread_getattr_np \
13377 pthread_getthreadid_np \
13378 pthread_get_stackaddr_np \
13379 pthread_get_stacksize_np
13380 do :
13381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13383 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13384 cat >>confdefs.h <<_ACEOF
13385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13386 _ACEOF
13389 done
13391 LIBS="$ac_wine_check_funcs_save_LIBS"
13393 if test "$ac_cv_header_zlib_h" = "yes"
13394 then
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13396 $as_echo_n "checking for inflate in -lz... " >&6; }
13397 if ${ac_cv_lib_z_inflate+:} false; then :
13398 $as_echo_n "(cached) " >&6
13399 else
13400 ac_check_lib_save_LIBS=$LIBS
13401 LIBS="-lz $LIBS"
13402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13403 /* end confdefs.h. */
13405 /* Override any GCC internal prototype to avoid an error.
13406 Use char because int might match the return type of a GCC
13407 builtin and then its argument prototype would still apply. */
13408 #ifdef __cplusplus
13409 extern "C"
13410 #endif
13411 char inflate ();
13413 main ()
13415 return inflate ();
13417 return 0;
13419 _ACEOF
13420 if ac_fn_c_try_link "$LINENO"; then :
13421 ac_cv_lib_z_inflate=yes
13422 else
13423 ac_cv_lib_z_inflate=no
13425 rm -f core conftest.err conftest.$ac_objext \
13426 conftest$ac_exeext conftest.$ac_ext
13427 LIBS=$ac_check_lib_save_LIBS
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13430 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13431 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13433 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13435 Z_LIBS="-lz"
13440 if test "x$Z_LIBS" = "x"; then :
13441 case "x$with_zlib" in
13442 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13443 xno) ;;
13444 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13445 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13446 esac
13450 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13451 then
13452 if test "$ac_cv_header_gettext_po_h" = "yes"
13453 then
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13455 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13456 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13457 $as_echo_n "(cached) " >&6
13458 else
13459 ac_check_lib_save_LIBS=$LIBS
13460 LIBS="-lgettextpo $LIBS"
13461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13462 /* end confdefs.h. */
13464 /* Override any GCC internal prototype to avoid an error.
13465 Use char because int might match the return type of a GCC
13466 builtin and then its argument prototype would still apply. */
13467 #ifdef __cplusplus
13468 extern "C"
13469 #endif
13470 char po_message_msgctxt ();
13472 main ()
13474 return po_message_msgctxt ();
13476 return 0;
13478 _ACEOF
13479 if ac_fn_c_try_link "$LINENO"; then :
13480 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13481 else
13482 ac_cv_lib_gettextpo_po_message_msgctxt=no
13484 rm -f core conftest.err conftest.$ac_objext \
13485 conftest$ac_exeext conftest.$ac_ext
13486 LIBS=$ac_check_lib_save_LIBS
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13489 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13490 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13492 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13494 GETTEXTPO_LIBS="-lgettextpo"
13499 if test "x$GETTEXTPO_LIBS" = "x"; then :
13500 case "x$with_gettextpo" in
13501 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13502 xno) ;;
13503 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13504 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13505 esac
13508 if test "$srcdir" != .; then :
13509 case "x$with_gettextpo" in
13510 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13511 xno) ;;
13512 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13513 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13514 esac
13519 if test "x$with_pulse" != "xno";
13520 then
13521 if ${PULSE_CFLAGS:+false} :; then :
13522 if ${PKG_CONFIG+:} false; then :
13523 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13527 if ${PULSE_LIBS:+false} :; then :
13528 if ${PKG_CONFIG+:} false; then :
13529 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13534 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13535 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13536 ac_save_CPPFLAGS=$CPPFLAGS
13537 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13538 for ac_header in pulse/pulseaudio.h
13539 do :
13540 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13541 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13542 cat >>confdefs.h <<_ACEOF
13543 #define HAVE_PULSE_PULSEAUDIO_H 1
13544 _ACEOF
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13546 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13547 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13548 $as_echo_n "(cached) " >&6
13549 else
13550 ac_check_lib_save_LIBS=$LIBS
13551 LIBS="-lpulse $PULSE_LIBS $LIBS"
13552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13553 /* end confdefs.h. */
13555 /* Override any GCC internal prototype to avoid an error.
13556 Use char because int might match the return type of a GCC
13557 builtin and then its argument prototype would still apply. */
13558 #ifdef __cplusplus
13559 extern "C"
13560 #endif
13561 char pa_stream_is_corked ();
13563 main ()
13565 return pa_stream_is_corked ();
13567 return 0;
13569 _ACEOF
13570 if ac_fn_c_try_link "$LINENO"; then :
13571 ac_cv_lib_pulse_pa_stream_is_corked=yes
13572 else
13573 ac_cv_lib_pulse_pa_stream_is_corked=no
13575 rm -f core conftest.err conftest.$ac_objext \
13576 conftest$ac_exeext conftest.$ac_ext
13577 LIBS=$ac_check_lib_save_LIBS
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13580 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13581 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13583 else
13584 PULSE_LIBS=""
13587 else
13588 PULSE_LIBS=""
13591 done
13593 CPPFLAGS=$ac_save_CPPFLAGS
13594 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13595 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13598 if test -z "$PULSE_LIBS"; then :
13599 case "x$with_pulse" in
13600 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13601 xno) ;;
13602 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13603 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13604 esac
13605 enable_winepulse_drv=${enable_winepulse_drv:-no}
13608 if test "x$with_gstreamer" != "xno"
13609 then
13610 if ${GSTREAMER_CFLAGS:+false} :; then :
13611 if ${PKG_CONFIG+:} false; then :
13612 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13616 if ${GSTREAMER_LIBS:+false} :; then :
13617 if ${PKG_CONFIG+:} false; then :
13618 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13623 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13624 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13625 ac_save_CPPFLAGS=$CPPFLAGS
13626 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13627 ac_gst_incl=""
13628 for i in $GSTREAMER_CFLAGS
13630 case "$i" in
13631 -I*) ac_gst_incl="$ac_gst_incl $i";;
13632 esac
13633 done
13634 GSTREAMER_CFLAGS=$ac_gst_incl
13635 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13636 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13637 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13639 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13641 /* end confdefs.h. */
13642 #include <gst/gst.h>
13644 main ()
13646 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13648 return 0;
13650 _ACEOF
13651 if ac_fn_c_try_compile "$LINENO"; then :
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13653 $as_echo "yes" >&6; }
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13655 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13656 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13657 $as_echo_n "(cached) " >&6
13658 else
13659 ac_check_lib_save_LIBS=$LIBS
13660 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13662 /* end confdefs.h. */
13664 /* Override any GCC internal prototype to avoid an error.
13665 Use char because int might match the return type of a GCC
13666 builtin and then its argument prototype would still apply. */
13667 #ifdef __cplusplus
13668 extern "C"
13669 #endif
13670 char gst_pad_new ();
13672 main ()
13674 return gst_pad_new ();
13676 return 0;
13678 _ACEOF
13679 if ac_fn_c_try_link "$LINENO"; then :
13680 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13681 else
13682 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13684 rm -f core conftest.err conftest.$ac_objext \
13685 conftest$ac_exeext conftest.$ac_ext
13686 LIBS=$ac_check_lib_save_LIBS
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13689 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13690 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13694 else
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13696 $as_echo "no" >&6; }
13697 ac_glib2_broken=yes
13698 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13704 CPPFLAGS=$ac_save_CPPFLAGS
13705 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13706 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13709 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 :
13710 case "x$with_gstreamer" in
13711 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13712 xno) ;;
13713 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13714 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13715 esac
13718 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13720 ALSA_LIBS=""
13722 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13723 then
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13725 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13726 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13727 $as_echo_n "(cached) " >&6
13728 else
13729 ac_check_lib_save_LIBS=$LIBS
13730 LIBS="-lasound $LIBS"
13731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13732 /* end confdefs.h. */
13734 /* Override any GCC internal prototype to avoid an error.
13735 Use char because int might match the return type of a GCC
13736 builtin and then its argument prototype would still apply. */
13737 #ifdef __cplusplus
13738 extern "C"
13739 #endif
13740 char snd_pcm_hw_params_get_access_mask ();
13742 main ()
13744 return snd_pcm_hw_params_get_access_mask ();
13746 return 0;
13748 _ACEOF
13749 if ac_fn_c_try_link "$LINENO"; then :
13750 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13751 else
13752 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13754 rm -f core conftest.err conftest.$ac_objext \
13755 conftest$ac_exeext conftest.$ac_ext
13756 LIBS=$ac_check_lib_save_LIBS
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13759 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13760 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13763 #ifdef HAVE_ALSA_ASOUNDLIB_H
13764 #include <alsa/asoundlib.h>
13765 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13766 #include <sys/asoundlib.h>
13767 #endif
13769 main ()
13771 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13773 return 0;
13775 _ACEOF
13776 if ac_fn_c_try_compile "$LINENO"; then :
13777 ALSA_LIBS="-lasound"
13779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13783 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13785 if test "x$with_oss" != xno
13786 then
13787 ac_save_CPPFLAGS="$CPPFLAGS"
13788 if test -f /etc/oss.conf
13789 then
13790 . /etc/oss.conf
13792 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13793 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13794 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13795 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13796 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13798 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13800 cat >>confdefs.h <<_ACEOF
13801 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13802 _ACEOF
13804 OSS4_CFLAGS="$ac_oss_incl"
13811 CPPFLAGS="$ac_save_CPPFLAGS"
13813 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13814 case "x$with_oss" in
13815 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13816 xno) ;;
13817 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13818 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13819 esac
13820 enable_wineoss_drv=${enable_wineoss_drv:-no}
13823 if test "x$with_udev" != "xno"
13824 then
13825 if ${UDEV_CFLAGS:+false} :; then :
13826 if ${PKG_CONFIG+:} false; then :
13827 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13831 if ${UDEV_LIBS:+false} :; then :
13832 if ${PKG_CONFIG+:} false; then :
13833 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13837 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13838 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13839 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13840 ac_save_CPPFLAGS=$CPPFLAGS
13841 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13842 for ac_header in libudev.h
13843 do :
13844 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13845 if test "x$ac_cv_header_libudev_h" = xyes; then :
13846 cat >>confdefs.h <<_ACEOF
13847 #define HAVE_LIBUDEV_H 1
13848 _ACEOF
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13850 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13851 if ${ac_cv_lib_udev_udev_new+:} false; then :
13852 $as_echo_n "(cached) " >&6
13853 else
13854 ac_check_lib_save_LIBS=$LIBS
13855 LIBS="-ludev $UDEV_LIBS $LIBS"
13856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13857 /* end confdefs.h. */
13859 /* Override any GCC internal prototype to avoid an error.
13860 Use char because int might match the return type of a GCC
13861 builtin and then its argument prototype would still apply. */
13862 #ifdef __cplusplus
13863 extern "C"
13864 #endif
13865 char udev_new ();
13867 main ()
13869 return udev_new ();
13871 return 0;
13873 _ACEOF
13874 if ac_fn_c_try_link "$LINENO"; then :
13875 ac_cv_lib_udev_udev_new=yes
13876 else
13877 ac_cv_lib_udev_udev_new=no
13879 rm -f core conftest.err conftest.$ac_objext \
13880 conftest$ac_exeext conftest.$ac_ext
13881 LIBS=$ac_check_lib_save_LIBS
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13884 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13885 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13887 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13889 else
13890 UDEV_LIBS=""
13893 else
13894 UDEV_LIBS=""
13897 done
13899 CPPFLAGS=$ac_save_CPPFLAGS
13900 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13901 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13904 if test "x$UDEV_LIBS" = "x"; then :
13905 case "x$with_udev" in
13906 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13907 xno) ;;
13908 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13909 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13910 esac
13914 if test "x$with_sdl" != "xno"
13915 then
13916 if ${SDL2_CFLAGS:+false} :; then :
13917 if ${PKG_CONFIG+:} false; then :
13918 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13922 if ${SDL2_LIBS:+false} :; then :
13923 if ${PKG_CONFIG+:} false; then :
13924 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13928 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13929 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13930 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13931 ac_save_CPPFLAGS=$CPPFLAGS
13932 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13933 for ac_header in SDL2/SDL.h
13934 do :
13935 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13936 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13937 cat >>confdefs.h <<_ACEOF
13938 #define HAVE_SDL2_SDL_H 1
13939 _ACEOF
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13941 $as_echo_n "checking for -lSDL2... " >&6; }
13942 if ${ac_cv_lib_soname_SDL2+:} false; then :
13943 $as_echo_n "(cached) " >&6
13944 else
13945 ac_check_soname_save_LIBS=$LIBS
13946 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
13947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13948 /* end confdefs.h. */
13950 /* Override any GCC internal prototype to avoid an error.
13951 Use char because int might match the return type of a GCC
13952 builtin and then its argument prototype would still apply. */
13953 #ifdef __cplusplus
13954 extern "C"
13955 #endif
13956 char SDL_Init ();
13958 main ()
13960 return SDL_Init ();
13962 return 0;
13964 _ACEOF
13965 if ac_fn_c_try_link "$LINENO"; then :
13966 case "$LIBEXT" in
13967 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13968 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'` ;;
13969 *) 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'`
13970 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13971 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13972 fi ;;
13973 esac
13975 rm -f core conftest.err conftest.$ac_objext \
13976 conftest$ac_exeext conftest.$ac_ext
13977 LIBS=$ac_check_soname_save_LIBS
13979 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13981 $as_echo "not found" >&6; }
13983 else
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13985 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13987 cat >>confdefs.h <<_ACEOF
13988 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13989 _ACEOF
13995 done
13997 CPPFLAGS=$ac_save_CPPFLAGS
13998 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13999 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14002 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14003 case "x$with_sdl" in
14004 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14005 xno) ;;
14006 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14007 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14008 esac
14012 if test "x$with_faudio" != "xno"
14013 then
14014 if ${FAUDIO_CFLAGS:+false} :; then :
14015 if ${PKG_CONFIG+:} false; then :
14016 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
14020 if ${FAUDIO_LIBS:+false} :; then :
14021 if ${PKG_CONFIG+:} false; then :
14022 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
14026 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
14027 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
14028 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
14029 ac_save_CPPFLAGS=$CPPFLAGS
14030 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
14031 for ac_header in FAudio.h
14032 do :
14033 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
14034 if test "x$ac_cv_header_FAudio_h" = xyes; then :
14035 cat >>confdefs.h <<_ACEOF
14036 #define HAVE_FAUDIO_H 1
14037 _ACEOF
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
14039 $as_echo_n "checking for -lFAudio... " >&6; }
14040 if ${ac_cv_lib_soname_FAudio+:} false; then :
14041 $as_echo_n "(cached) " >&6
14042 else
14043 ac_check_soname_save_LIBS=$LIBS
14044 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
14045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14046 /* end confdefs.h. */
14048 /* Override any GCC internal prototype to avoid an error.
14049 Use char because int might match the return type of a GCC
14050 builtin and then its argument prototype would still apply. */
14051 #ifdef __cplusplus
14052 extern "C"
14053 #endif
14054 char FAudioCreate ();
14056 main ()
14058 return FAudioCreate ();
14060 return 0;
14062 _ACEOF
14063 if ac_fn_c_try_link "$LINENO"; then :
14064 case "$LIBEXT" in
14065 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14066 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'` ;;
14067 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14068 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14069 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14070 fi ;;
14071 esac
14073 rm -f core conftest.err conftest.$ac_objext \
14074 conftest$ac_exeext conftest.$ac_ext
14075 LIBS=$ac_check_soname_save_LIBS
14077 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14079 $as_echo "not found" >&6; }
14081 else
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
14083 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
14085 cat >>confdefs.h <<_ACEOF
14086 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
14087 _ACEOF
14093 done
14095 CPPFLAGS=$ac_save_CPPFLAGS
14096 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14097 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14100 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
14101 case "x$with_faudio" in
14102 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
14103 xno) ;;
14104 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
14105 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
14106 esac
14110 if test "x$with_capi" != "xno"
14111 then
14112 if ${CAPI20_CFLAGS:+false} :; then :
14113 if ${PKG_CONFIG+:} false; then :
14114 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
14118 if ${CAPI20_LIBS:+false} :; then :
14119 if ${PKG_CONFIG+:} false; then :
14120 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
14125 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
14126 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
14127 ac_save_CPPFLAGS=$CPPFLAGS
14128 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
14129 for ac_header in capi20.h linux/capi.h
14130 do :
14131 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14132 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
14134 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14135 cat >>confdefs.h <<_ACEOF
14136 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14137 _ACEOF
14141 done
14143 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14144 then
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
14146 $as_echo_n "checking for -lcapi20... " >&6; }
14147 if ${ac_cv_lib_soname_capi20+:} false; then :
14148 $as_echo_n "(cached) " >&6
14149 else
14150 ac_check_soname_save_LIBS=$LIBS
14151 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
14152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14155 /* Override any GCC internal prototype to avoid an error.
14156 Use char because int might match the return type of a GCC
14157 builtin and then its argument prototype would still apply. */
14158 #ifdef __cplusplus
14159 extern "C"
14160 #endif
14161 char capi20_register ();
14163 main ()
14165 return capi20_register ();
14167 return 0;
14169 _ACEOF
14170 if ac_fn_c_try_link "$LINENO"; then :
14171 case "$LIBEXT" in
14172 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14173 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'` ;;
14174 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14175 if ${ac_cv_lib_soname_capi20:+false} :; then :
14176 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14177 fi ;;
14178 esac
14180 rm -f core conftest.err conftest.$ac_objext \
14181 conftest$ac_exeext conftest.$ac_ext
14182 LIBS=$ac_check_soname_save_LIBS
14184 if ${ac_cv_lib_soname_capi20:+false} :; then :
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14186 $as_echo "not found" >&6; }
14188 else
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
14190 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
14192 cat >>confdefs.h <<_ACEOF
14193 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14194 _ACEOF
14199 CPPFLAGS=$ac_save_CPPFLAGS
14200 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14201 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14204 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
14205 case "x$with_capi" in
14206 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
14207 xno) ;;
14208 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
14209 This is an error since --with-capi was requested." "$LINENO" 5 ;;
14210 esac
14214 if test "x$with_cups" != "xno"
14215 then
14216 if ${CUPS_CFLAGS:+false} :; then :
14217 if ${PKG_CONFIG+:} false; then :
14218 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
14221 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
14222 if ${CUPS_LIBS:+false} :; then :
14223 if ${PKG_CONFIG+:} false; then :
14224 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
14227 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
14228 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
14229 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
14230 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
14231 ac_save_CPPFLAGS=$CPPFLAGS
14232 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
14233 for ac_header in cups/cups.h cups/ppd.h
14234 do :
14235 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14236 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14237 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14238 cat >>confdefs.h <<_ACEOF
14239 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14240 _ACEOF
14244 done
14246 if test "$ac_cv_header_cups_cups_h" = "yes"
14247 then
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14249 $as_echo_n "checking for -lcups... " >&6; }
14250 if ${ac_cv_lib_soname_cups+:} false; then :
14251 $as_echo_n "(cached) " >&6
14252 else
14253 ac_check_soname_save_LIBS=$LIBS
14254 LIBS="-lcups $CUPS_LIBS $LIBS"
14255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14256 /* end confdefs.h. */
14258 /* Override any GCC internal prototype to avoid an error.
14259 Use char because int might match the return type of a GCC
14260 builtin and then its argument prototype would still apply. */
14261 #ifdef __cplusplus
14262 extern "C"
14263 #endif
14264 char cupsGetDefault ();
14266 main ()
14268 return cupsGetDefault ();
14270 return 0;
14272 _ACEOF
14273 if ac_fn_c_try_link "$LINENO"; then :
14274 case "$LIBEXT" in
14275 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14276 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'` ;;
14277 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14278 if ${ac_cv_lib_soname_cups:+false} :; then :
14279 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14280 fi ;;
14281 esac
14283 rm -f core conftest.err conftest.$ac_objext \
14284 conftest$ac_exeext conftest.$ac_ext
14285 LIBS=$ac_check_soname_save_LIBS
14287 if ${ac_cv_lib_soname_cups:+false} :; then :
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14289 $as_echo "not found" >&6; }
14290 CUPS_LIBS=""
14291 else
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14293 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14295 cat >>confdefs.h <<_ACEOF
14296 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14297 _ACEOF
14301 else
14302 CUPS_CFLAGS=""
14303 CUPS_LIBS=""
14305 CPPFLAGS=$ac_save_CPPFLAGS
14306 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14307 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14310 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14311 case "x$with_cups" in
14312 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14313 xno) ;;
14314 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14315 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14316 esac
14320 if test "x$with_fontconfig" != "xno"
14321 then
14322 if ${FONTCONFIG_CFLAGS:+false} :; then :
14323 if ${PKG_CONFIG+:} false; then :
14324 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14327 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14328 if ${FONTCONFIG_LIBS:+false} :; then :
14329 if ${PKG_CONFIG+:} false; then :
14330 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14333 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14335 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14336 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14337 ac_save_CPPFLAGS=$CPPFLAGS
14338 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14339 for ac_header in fontconfig/fontconfig.h
14340 do :
14341 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14342 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14343 cat >>confdefs.h <<_ACEOF
14344 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14345 _ACEOF
14349 done
14351 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14352 then
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14354 $as_echo_n "checking for -lfontconfig... " >&6; }
14355 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14356 $as_echo_n "(cached) " >&6
14357 else
14358 ac_check_soname_save_LIBS=$LIBS
14359 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14363 /* Override any GCC internal prototype to avoid an error.
14364 Use char because int might match the return type of a GCC
14365 builtin and then its argument prototype would still apply. */
14366 #ifdef __cplusplus
14367 extern "C"
14368 #endif
14369 char FcInit ();
14371 main ()
14373 return FcInit ();
14375 return 0;
14377 _ACEOF
14378 if ac_fn_c_try_link "$LINENO"; then :
14379 case "$LIBEXT" in
14380 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14381 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'` ;;
14382 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14383 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14384 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14385 fi ;;
14386 esac
14388 rm -f core conftest.err conftest.$ac_objext \
14389 conftest$ac_exeext conftest.$ac_ext
14390 LIBS=$ac_check_soname_save_LIBS
14392 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14394 $as_echo "not found" >&6; }
14395 FONTCONFIG_CFLAGS=""
14396 else
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14398 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14400 cat >>confdefs.h <<_ACEOF
14401 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14402 _ACEOF
14406 else
14407 FONTCONFIG_CFLAGS=""
14409 CPPFLAGS=$ac_save_CPPFLAGS
14410 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14411 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14414 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14415 case "x$with_fontconfig" in
14416 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14417 xno) ;;
14418 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14419 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14420 esac
14424 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14425 then
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14427 $as_echo_n "checking for -lgsm... " >&6; }
14428 if ${ac_cv_lib_soname_gsm+:} false; then :
14429 $as_echo_n "(cached) " >&6
14430 else
14431 ac_check_soname_save_LIBS=$LIBS
14432 LIBS="-lgsm $LIBS"
14433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14434 /* end confdefs.h. */
14436 /* Override any GCC internal prototype to avoid an error.
14437 Use char because int might match the return type of a GCC
14438 builtin and then its argument prototype would still apply. */
14439 #ifdef __cplusplus
14440 extern "C"
14441 #endif
14442 char gsm_create ();
14444 main ()
14446 return gsm_create ();
14448 return 0;
14450 _ACEOF
14451 if ac_fn_c_try_link "$LINENO"; then :
14452 case "$LIBEXT" in
14453 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14454 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'` ;;
14455 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14456 if ${ac_cv_lib_soname_gsm:+false} :; then :
14457 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14458 fi ;;
14459 esac
14461 rm -f core conftest.err conftest.$ac_objext \
14462 conftest$ac_exeext conftest.$ac_ext
14463 LIBS=$ac_check_soname_save_LIBS
14465 if ${ac_cv_lib_soname_gsm:+false} :; then :
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14467 $as_echo "not found" >&6; }
14469 else
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14471 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14473 cat >>confdefs.h <<_ACEOF
14474 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14475 _ACEOF
14480 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14481 case "x$with_gsm" in
14482 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14483 xno) ;;
14484 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14485 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14486 esac
14490 if test "x$with_krb5" != "xno"
14491 then
14492 if ${KRB5_CFLAGS:+false} :; then :
14493 if ${PKG_CONFIG+:} false; then :
14494 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14497 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14498 if ${KRB5_LIBS:+false} :; then :
14499 if ${PKG_CONFIG+:} false; then :
14500 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14503 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14505 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14506 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14507 ac_save_CPPFLAGS=$CPPFLAGS
14508 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14509 for ac_header in krb5/krb5.h
14510 do :
14511 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14512 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14513 cat >>confdefs.h <<_ACEOF
14514 #define HAVE_KRB5_KRB5_H 1
14515 _ACEOF
14519 done
14521 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14522 then
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14524 $as_echo_n "checking for -lkrb5... " >&6; }
14525 if ${ac_cv_lib_soname_krb5+:} false; then :
14526 $as_echo_n "(cached) " >&6
14527 else
14528 ac_check_soname_save_LIBS=$LIBS
14529 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14531 /* end confdefs.h. */
14533 /* Override any GCC internal prototype to avoid an error.
14534 Use char because int might match the return type of a GCC
14535 builtin and then its argument prototype would still apply. */
14536 #ifdef __cplusplus
14537 extern "C"
14538 #endif
14539 char krb5_is_config_principal ();
14541 main ()
14543 return krb5_is_config_principal ();
14545 return 0;
14547 _ACEOF
14548 if ac_fn_c_try_link "$LINENO"; then :
14549 case "$LIBEXT" in
14550 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14551 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'` ;;
14552 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14553 if ${ac_cv_lib_soname_krb5:+false} :; then :
14554 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14555 fi ;;
14556 esac
14558 rm -f core conftest.err conftest.$ac_objext \
14559 conftest$ac_exeext conftest.$ac_ext
14560 LIBS=$ac_check_soname_save_LIBS
14562 if ${ac_cv_lib_soname_krb5:+false} :; then :
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14564 $as_echo "not found" >&6; }
14565 KRB5_CFLAGS=""
14566 else
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14568 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14570 cat >>confdefs.h <<_ACEOF
14571 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14572 _ACEOF
14576 else
14577 KRB5_CFLAGS=""
14579 CPPFLAGS=$ac_save_CPPFLAGS
14580 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14581 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14583 else
14584 with_gssapi=${with_gssapi:-no}
14586 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14587 case "x$with_krb5" in
14588 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14589 xno) ;;
14590 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14591 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14592 esac
14596 if test "x$with_gssapi" != "xno"
14597 then
14598 if ${GSSAPI_CFLAGS:+false} :; then :
14599 if ${PKG_CONFIG+:} false; then :
14600 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14603 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14604 if ${GSSAPI_LIBS:+false} :; then :
14605 if ${PKG_CONFIG+:} false; then :
14606 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14609 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14611 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14612 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14613 ac_save_CPPFLAGS=$CPPFLAGS
14614 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14615 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14616 do :
14617 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14618 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14619 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14620 cat >>confdefs.h <<_ACEOF
14621 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14622 _ACEOF
14626 done
14628 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14629 then
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14631 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14632 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14633 $as_echo_n "(cached) " >&6
14634 else
14635 ac_check_soname_save_LIBS=$LIBS
14636 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h. */
14640 /* Override any GCC internal prototype to avoid an error.
14641 Use char because int might match the return type of a GCC
14642 builtin and then its argument prototype would still apply. */
14643 #ifdef __cplusplus
14644 extern "C"
14645 #endif
14646 char gss_init_sec_context ();
14648 main ()
14650 return gss_init_sec_context ();
14652 return 0;
14654 _ACEOF
14655 if ac_fn_c_try_link "$LINENO"; then :
14656 case "$LIBEXT" in
14657 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14658 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'` ;;
14659 *) 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'`
14660 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14661 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14662 fi ;;
14663 esac
14665 rm -f core conftest.err conftest.$ac_objext \
14666 conftest$ac_exeext conftest.$ac_ext
14667 LIBS=$ac_check_soname_save_LIBS
14669 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14671 $as_echo "not found" >&6; }
14672 GSSAPI_CFLAGS=""
14673 else
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14675 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14677 cat >>confdefs.h <<_ACEOF
14678 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14679 _ACEOF
14683 else
14684 GSSAPI_CFLAGS=""
14686 CPPFLAGS=$ac_save_CPPFLAGS
14687 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14688 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14691 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14692 case "x$with_gssapi" in
14693 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14694 xno) ;;
14695 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14696 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14697 esac
14701 if test "x$with_jpeg" != "xno"
14702 then
14703 if ${JPEG_CFLAGS:+false} :; then :
14704 if ${PKG_CONFIG+:} false; then :
14705 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14709 if ${JPEG_LIBS:+false} :; then :
14710 if ${PKG_CONFIG+:} false; then :
14711 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14716 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14717 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14718 ac_save_CPPFLAGS=$CPPFLAGS
14719 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14720 for ac_header in jpeglib.h
14721 do :
14722 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14723 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14724 cat >>confdefs.h <<_ACEOF
14725 #define HAVE_JPEGLIB_H 1
14726 _ACEOF
14730 done
14732 if test "$ac_cv_header_jpeglib_h" = "yes"
14733 then
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14735 $as_echo_n "checking for -ljpeg... " >&6; }
14736 if ${ac_cv_lib_soname_jpeg+:} false; then :
14737 $as_echo_n "(cached) " >&6
14738 else
14739 ac_check_soname_save_LIBS=$LIBS
14740 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14742 /* end confdefs.h. */
14744 /* Override any GCC internal prototype to avoid an error.
14745 Use char because int might match the return type of a GCC
14746 builtin and then its argument prototype would still apply. */
14747 #ifdef __cplusplus
14748 extern "C"
14749 #endif
14750 char jpeg_start_decompress ();
14752 main ()
14754 return jpeg_start_decompress ();
14756 return 0;
14758 _ACEOF
14759 if ac_fn_c_try_link "$LINENO"; then :
14760 case "$LIBEXT" in
14761 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14762 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'` ;;
14763 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14764 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14765 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14766 fi ;;
14767 esac
14769 rm -f core conftest.err conftest.$ac_objext \
14770 conftest$ac_exeext conftest.$ac_ext
14771 LIBS=$ac_check_soname_save_LIBS
14773 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14775 $as_echo "not found" >&6; }
14776 JPEG_CFLAGS=""
14777 else
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14779 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14781 cat >>confdefs.h <<_ACEOF
14782 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14783 _ACEOF
14787 else
14788 JPEG_CFLAGS=""
14790 CPPFLAGS=$ac_save_CPPFLAGS
14791 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14792 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14795 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14796 case "x$with_jpeg" in
14797 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14798 xno) ;;
14799 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14800 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14801 esac
14805 if test "x$with_png" != "xno"
14806 then
14807 if ${PNG_CFLAGS:+false} :; then :
14808 if ${PKG_CONFIG+:} false; then :
14809 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14812 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14813 if ${PNG_LIBS:+false} :; then :
14814 if ${PKG_CONFIG+:} false; then :
14815 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14818 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14820 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14821 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14822 ac_save_CPPFLAGS=$CPPFLAGS
14823 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14824 for ac_header in png.h
14825 do :
14826 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14827 if test "x$ac_cv_header_png_h" = xyes; then :
14828 cat >>confdefs.h <<_ACEOF
14829 #define HAVE_PNG_H 1
14830 _ACEOF
14834 done
14836 if test "$ac_cv_header_png_h" = "yes"
14837 then
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14839 $as_echo_n "checking for -lpng... " >&6; }
14840 if ${ac_cv_lib_soname_png+:} false; then :
14841 $as_echo_n "(cached) " >&6
14842 else
14843 ac_check_soname_save_LIBS=$LIBS
14844 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14846 /* end confdefs.h. */
14848 /* Override any GCC internal prototype to avoid an error.
14849 Use char because int might match the return type of a GCC
14850 builtin and then its argument prototype would still apply. */
14851 #ifdef __cplusplus
14852 extern "C"
14853 #endif
14854 char png_create_read_struct ();
14856 main ()
14858 return png_create_read_struct ();
14860 return 0;
14862 _ACEOF
14863 if ac_fn_c_try_link "$LINENO"; then :
14864 case "$LIBEXT" in
14865 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14866 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'` ;;
14867 *) 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'`
14868 if ${ac_cv_lib_soname_png:+false} :; then :
14869 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14870 fi ;;
14871 esac
14873 rm -f core conftest.err conftest.$ac_objext \
14874 conftest$ac_exeext conftest.$ac_ext
14875 LIBS=$ac_check_soname_save_LIBS
14877 if ${ac_cv_lib_soname_png:+false} :; then :
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14879 $as_echo "not found" >&6; }
14880 PNG_CFLAGS=""
14881 else
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14883 $as_echo "$ac_cv_lib_soname_png" >&6; }
14885 cat >>confdefs.h <<_ACEOF
14886 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14887 _ACEOF
14891 else
14892 PNG_CFLAGS=""
14894 CPPFLAGS=$ac_save_CPPFLAGS
14895 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14896 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14899 if test "x$ac_cv_lib_soname_png" = "x"; then :
14900 case "x$with_png" in
14901 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14902 xno) ;;
14903 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14904 This is an error since --with-png was requested." "$LINENO" 5 ;;
14905 esac
14909 if test "x$with_tiff" != "xno"
14910 then
14911 if ${TIFF_CFLAGS:+false} :; then :
14912 if ${PKG_CONFIG+:} false; then :
14913 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14917 if ${TIFF_LIBS:+false} :; then :
14918 if ${PKG_CONFIG+:} false; then :
14919 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14924 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14925 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14926 ac_save_CPPFLAGS=$CPPFLAGS
14927 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14928 for ac_header in tiffio.h
14929 do :
14930 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14931 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14932 cat >>confdefs.h <<_ACEOF
14933 #define HAVE_TIFFIO_H 1
14934 _ACEOF
14938 done
14940 if test "$ac_cv_header_tiffio_h" = "yes"
14941 then
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14943 $as_echo_n "checking for -ltiff... " >&6; }
14944 if ${ac_cv_lib_soname_tiff+:} false; then :
14945 $as_echo_n "(cached) " >&6
14946 else
14947 ac_check_soname_save_LIBS=$LIBS
14948 LIBS="-ltiff $TIFF_LIBS $LIBS"
14949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14950 /* end confdefs.h. */
14952 /* Override any GCC internal prototype to avoid an error.
14953 Use char because int might match the return type of a GCC
14954 builtin and then its argument prototype would still apply. */
14955 #ifdef __cplusplus
14956 extern "C"
14957 #endif
14958 char TIFFClientOpen ();
14960 main ()
14962 return TIFFClientOpen ();
14964 return 0;
14966 _ACEOF
14967 if ac_fn_c_try_link "$LINENO"; then :
14968 case "$LIBEXT" in
14969 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14970 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'` ;;
14971 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14972 if ${ac_cv_lib_soname_tiff:+false} :; then :
14973 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14974 fi ;;
14975 esac
14977 rm -f core conftest.err conftest.$ac_objext \
14978 conftest$ac_exeext conftest.$ac_ext
14979 LIBS=$ac_check_soname_save_LIBS
14981 if ${ac_cv_lib_soname_tiff:+false} :; then :
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14983 $as_echo "not found" >&6; }
14985 else
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14987 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14989 cat >>confdefs.h <<_ACEOF
14990 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14991 _ACEOF
14996 CPPFLAGS=$ac_save_CPPFLAGS
14997 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14998 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15001 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
15002 case "x$with_tiff" in
15003 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
15004 xno) ;;
15005 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
15006 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
15007 esac
15011 if test "x$with_mpg123" != "xno"
15012 then
15013 if ${MPG123_CFLAGS:+false} :; then :
15014 if ${PKG_CONFIG+:} false; then :
15015 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
15019 if ${MPG123_LIBS:+false} :; then :
15020 if ${PKG_CONFIG+:} false; then :
15021 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
15025 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
15026 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
15027 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
15028 ac_save_CPPFLAGS=$CPPFLAGS
15029 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
15030 for ac_header in mpg123.h
15031 do :
15032 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
15033 if test "x$ac_cv_header_mpg123_h" = xyes; then :
15034 cat >>confdefs.h <<_ACEOF
15035 #define HAVE_MPG123_H 1
15036 _ACEOF
15040 done
15042 if test "$ac_cv_header_mpg123_h" = "yes"
15043 then
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
15045 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
15046 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
15047 $as_echo_n "(cached) " >&6
15048 else
15049 ac_check_lib_save_LIBS=$LIBS
15050 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
15051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15052 /* end confdefs.h. */
15054 /* Override any GCC internal prototype to avoid an error.
15055 Use char because int might match the return type of a GCC
15056 builtin and then its argument prototype would still apply. */
15057 #ifdef __cplusplus
15058 extern "C"
15059 #endif
15060 char mpg123_feed ();
15062 main ()
15064 return mpg123_feed ();
15066 return 0;
15068 _ACEOF
15069 if ac_fn_c_try_link "$LINENO"; then :
15070 ac_cv_lib_mpg123_mpg123_feed=yes
15071 else
15072 ac_cv_lib_mpg123_mpg123_feed=no
15074 rm -f core conftest.err conftest.$ac_objext \
15075 conftest$ac_exeext conftest.$ac_ext
15076 LIBS=$ac_check_lib_save_LIBS
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
15079 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
15080 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
15082 else
15083 MPG123_LIBS=""
15086 else
15087 MPG123_CFLAGS=""
15088 MPG123_LIBS=""
15090 CPPFLAGS=$ac_save_CPPFLAGS
15091 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15092 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15095 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
15096 case "x$with_mpg123" in
15097 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
15098 xno) ;;
15099 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
15100 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
15101 esac
15102 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
15104 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
15106 if test "$ac_cv_header_AL_al_h" = "yes"
15107 then
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
15109 $as_echo_n "checking for -lopenal... " >&6; }
15110 if ${ac_cv_lib_soname_openal+:} false; then :
15111 $as_echo_n "(cached) " >&6
15112 else
15113 ac_check_soname_save_LIBS=$LIBS
15114 LIBS="-lopenal $LIBS"
15115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15116 /* end confdefs.h. */
15118 /* Override any GCC internal prototype to avoid an error.
15119 Use char because int might match the return type of a GCC
15120 builtin and then its argument prototype would still apply. */
15121 #ifdef __cplusplus
15122 extern "C"
15123 #endif
15124 char alGetSource3i ();
15126 main ()
15128 return alGetSource3i ();
15130 return 0;
15132 _ACEOF
15133 if ac_fn_c_try_link "$LINENO"; then :
15134 case "$LIBEXT" in
15135 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15136 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'` ;;
15137 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15138 if ${ac_cv_lib_soname_openal:+false} :; then :
15139 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15140 fi ;;
15141 esac
15143 rm -f core conftest.err conftest.$ac_objext \
15144 conftest$ac_exeext conftest.$ac_ext
15145 LIBS=$ac_check_soname_save_LIBS
15147 if ${ac_cv_lib_soname_openal:+false} :; then :
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15149 $as_echo "not found" >&6; }
15151 else
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
15153 $as_echo "$ac_cv_lib_soname_openal" >&6; }
15155 cat >>confdefs.h <<_ACEOF
15156 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
15157 _ACEOF
15159 OPENAL_LIBS="-lopenal"
15161 ac_cv_lib_openal=yes
15163 cat >>confdefs.h <<_ACEOF
15164 #define HAVE_OPENAL 1
15165 _ACEOF
15169 if test "x$ac_cv_lib_openal" != xyes; then :
15170 case "x$with_openal" in
15171 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
15172 xno) ;;
15173 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
15174 This is an error since --with-openal was requested." "$LINENO" 5 ;;
15175 esac
15176 enable_openal32=${enable_openal32:-no}
15179 if test "x$ac_cv_lib_soname_FAudio" = "x"
15180 then
15181 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
15182 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
15183 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
15184 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
15185 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
15186 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
15187 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
15188 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
15189 enable_xapofx1_1=${enable_xapofx1_1:-no}
15190 enable_xapofx1_2=${enable_xapofx1_2:-no}
15191 enable_xapofx1_3=${enable_xapofx1_3:-no}
15192 enable_xapofx1_4=${enable_xapofx1_4:-no}
15193 enable_xapofx1_5=${enable_xapofx1_5:-no}
15194 enable_xaudio2_0=${enable_xaudio2_0:-no}
15195 enable_xaudio2_1=${enable_xaudio2_1:-no}
15196 enable_xaudio2_2=${enable_xaudio2_2:-no}
15197 enable_xaudio2_3=${enable_xaudio2_3:-no}
15198 enable_xaudio2_4=${enable_xaudio2_4:-no}
15199 enable_xaudio2_5=${enable_xaudio2_5:-no}
15200 enable_xaudio2_6=${enable_xaudio2_6:-no}
15201 enable_xaudio2_7=${enable_xaudio2_7:-no}
15202 enable_xaudio2_8=${enable_xaudio2_8:-no}
15203 enable_xaudio2_9=${enable_xaudio2_9:-no}
15206 if test "$ac_cv_header_kstat_h" = "yes"
15207 then
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
15209 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
15210 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
15211 $as_echo_n "(cached) " >&6
15212 else
15213 ac_check_lib_save_LIBS=$LIBS
15214 LIBS="-lkstat $LIBS"
15215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15216 /* end confdefs.h. */
15218 /* Override any GCC internal prototype to avoid an error.
15219 Use char because int might match the return type of a GCC
15220 builtin and then its argument prototype would still apply. */
15221 #ifdef __cplusplus
15222 extern "C"
15223 #endif
15224 char kstat_open ();
15226 main ()
15228 return kstat_open ();
15230 return 0;
15232 _ACEOF
15233 if ac_fn_c_try_link "$LINENO"; then :
15234 ac_cv_lib_kstat_kstat_open=yes
15235 else
15236 ac_cv_lib_kstat_kstat_open=no
15238 rm -f core conftest.err conftest.$ac_objext \
15239 conftest$ac_exeext conftest.$ac_ext
15240 LIBS=$ac_check_lib_save_LIBS
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15243 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15244 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15246 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15248 KSTAT_LIBS="-lkstat"
15254 if test "$ac_cv_header_libprocstat_h" = "yes"
15255 then
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15257 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15258 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15259 $as_echo_n "(cached) " >&6
15260 else
15261 ac_check_lib_save_LIBS=$LIBS
15262 LIBS="-lprocstat $LIBS"
15263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15264 /* end confdefs.h. */
15266 /* Override any GCC internal prototype to avoid an error.
15267 Use char because int might match the return type of a GCC
15268 builtin and then its argument prototype would still apply. */
15269 #ifdef __cplusplus
15270 extern "C"
15271 #endif
15272 char procstat_open_sysctl ();
15274 main ()
15276 return procstat_open_sysctl ();
15278 return 0;
15280 _ACEOF
15281 if ac_fn_c_try_link "$LINENO"; then :
15282 ac_cv_lib_procstat_procstat_open_sysctl=yes
15283 else
15284 ac_cv_lib_procstat_procstat_open_sysctl=no
15286 rm -f core conftest.err conftest.$ac_objext \
15287 conftest$ac_exeext conftest.$ac_ext
15288 LIBS=$ac_check_lib_save_LIBS
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15291 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15292 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15294 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15296 PROCSTAT_LIBS="-lprocstat"
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15303 $as_echo_n "checking for -lodbc... " >&6; }
15304 if ${ac_cv_lib_soname_odbc+:} false; then :
15305 $as_echo_n "(cached) " >&6
15306 else
15307 ac_check_soname_save_LIBS=$LIBS
15308 LIBS="-lodbc $LIBS"
15309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15310 /* end confdefs.h. */
15312 /* Override any GCC internal prototype to avoid an error.
15313 Use char because int might match the return type of a GCC
15314 builtin and then its argument prototype would still apply. */
15315 #ifdef __cplusplus
15316 extern "C"
15317 #endif
15318 char SQLConnect ();
15320 main ()
15322 return SQLConnect ();
15324 return 0;
15326 _ACEOF
15327 if ac_fn_c_try_link "$LINENO"; then :
15328 case "$LIBEXT" in
15329 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15330 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'` ;;
15331 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15332 if ${ac_cv_lib_soname_odbc:+false} :; then :
15333 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15334 fi ;;
15335 esac
15337 rm -f core conftest.err conftest.$ac_objext \
15338 conftest$ac_exeext conftest.$ac_ext
15339 LIBS=$ac_check_soname_save_LIBS
15341 if ${ac_cv_lib_soname_odbc:+false} :; then :
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15343 $as_echo "not found" >&6; }
15344 cat >>confdefs.h <<_ACEOF
15345 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15346 _ACEOF
15348 else
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15350 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15352 cat >>confdefs.h <<_ACEOF
15353 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15354 _ACEOF
15359 if test "x$with_netapi" != "xno"
15360 then
15361 if ${NETAPI_CFLAGS:+false} :; then :
15362 if ${PKG_CONFIG+:} false; then :
15363 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15367 if ${NETAPI_LIBS:+false} :; then :
15368 if ${PKG_CONFIG+:} false; then :
15369 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15374 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15375 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15376 ac_save_CPPFLAGS=$CPPFLAGS
15377 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15379 $as_echo_n "checking for -lnetapi... " >&6; }
15380 if ${ac_cv_lib_soname_netapi+:} false; then :
15381 $as_echo_n "(cached) " >&6
15382 else
15383 ac_check_soname_save_LIBS=$LIBS
15384 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15386 /* end confdefs.h. */
15388 /* Override any GCC internal prototype to avoid an error.
15389 Use char because int might match the return type of a GCC
15390 builtin and then its argument prototype would still apply. */
15391 #ifdef __cplusplus
15392 extern "C"
15393 #endif
15394 char libnetapi_init ();
15396 main ()
15398 return libnetapi_init ();
15400 return 0;
15402 _ACEOF
15403 if ac_fn_c_try_link "$LINENO"; then :
15404 case "$LIBEXT" in
15405 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15406 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'` ;;
15407 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15408 if ${ac_cv_lib_soname_netapi:+false} :; then :
15409 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15410 fi ;;
15411 esac
15413 rm -f core conftest.err conftest.$ac_objext \
15414 conftest$ac_exeext conftest.$ac_ext
15415 LIBS=$ac_check_soname_save_LIBS
15417 if ${ac_cv_lib_soname_netapi:+false} :; then :
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15419 $as_echo "not found" >&6; }
15420 cat >>confdefs.h <<_ACEOF
15421 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15422 _ACEOF
15424 else
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15426 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15428 cat >>confdefs.h <<_ACEOF
15429 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15430 _ACEOF
15434 CPPFLAGS=$ac_save_CPPFLAGS
15435 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15436 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15440 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15441 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15442 then
15443 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15446 if test "x$with_vulkan" != "xno"
15447 then
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15449 $as_echo_n "checking for -lvulkan... " >&6; }
15450 if ${ac_cv_lib_soname_vulkan+:} false; then :
15451 $as_echo_n "(cached) " >&6
15452 else
15453 ac_check_soname_save_LIBS=$LIBS
15454 LIBS="-lvulkan $LIBS"
15455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15456 /* end confdefs.h. */
15458 /* Override any GCC internal prototype to avoid an error.
15459 Use char because int might match the return type of a GCC
15460 builtin and then its argument prototype would still apply. */
15461 #ifdef __cplusplus
15462 extern "C"
15463 #endif
15464 char vkGetInstanceProcAddr ();
15466 main ()
15468 return vkGetInstanceProcAddr ();
15470 return 0;
15472 _ACEOF
15473 if ac_fn_c_try_link "$LINENO"; then :
15474 case "$LIBEXT" in
15475 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15476 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'` ;;
15477 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15478 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15479 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15480 fi ;;
15481 esac
15483 rm -f core conftest.err conftest.$ac_objext \
15484 conftest$ac_exeext conftest.$ac_ext
15485 LIBS=$ac_check_soname_save_LIBS
15487 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15489 $as_echo "not found" >&6; }
15491 else
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15493 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15495 cat >>confdefs.h <<_ACEOF
15496 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15497 _ACEOF
15501 if test "x$ac_cv_lib_soname_vulkan" = "x"
15502 then
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15504 $as_echo_n "checking for -lMoltenVK... " >&6; }
15505 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15506 $as_echo_n "(cached) " >&6
15507 else
15508 ac_check_soname_save_LIBS=$LIBS
15509 LIBS="-lMoltenVK $LIBS"
15510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15511 /* end confdefs.h. */
15513 /* Override any GCC internal prototype to avoid an error.
15514 Use char because int might match the return type of a GCC
15515 builtin and then its argument prototype would still apply. */
15516 #ifdef __cplusplus
15517 extern "C"
15518 #endif
15519 char vkGetInstanceProcAddr ();
15521 main ()
15523 return vkGetInstanceProcAddr ();
15525 return 0;
15527 _ACEOF
15528 if ac_fn_c_try_link "$LINENO"; then :
15529 case "$LIBEXT" in
15530 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15531 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'` ;;
15532 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15533 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15534 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15535 fi ;;
15536 esac
15538 rm -f core conftest.err conftest.$ac_objext \
15539 conftest$ac_exeext conftest.$ac_ext
15540 LIBS=$ac_check_soname_save_LIBS
15542 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15544 $as_echo "not found" >&6; }
15546 else
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15548 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15550 cat >>confdefs.h <<_ACEOF
15551 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15552 _ACEOF
15558 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15559 case "x$with_vulkan" in
15560 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15561 xno) ;;
15562 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15563 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15564 esac
15568 if test "x$with_vkd3d" != "xno"
15569 then
15570 if ${VKD3D_CFLAGS:+false} :; then :
15571 if ${PKG_CONFIG+:} false; then :
15572 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15576 if ${VKD3D_LIBS:+false} :; then :
15577 if ${PKG_CONFIG+:} false; then :
15578 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15583 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15584 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15585 ac_save_CPPFLAGS=$CPPFLAGS
15586 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15588 $as_echo_n "checking for -lvkd3d... " >&6; }
15589 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15590 $as_echo_n "(cached) " >&6
15591 else
15592 ac_check_soname_save_LIBS=$LIBS
15593 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15595 /* end confdefs.h. */
15597 /* Override any GCC internal prototype to avoid an error.
15598 Use char because int might match the return type of a GCC
15599 builtin and then its argument prototype would still apply. */
15600 #ifdef __cplusplus
15601 extern "C"
15602 #endif
15603 char vkd3d_get_dxgi_format ();
15605 main ()
15607 return vkd3d_get_dxgi_format ();
15609 return 0;
15611 _ACEOF
15612 if ac_fn_c_try_link "$LINENO"; then :
15613 case "$LIBEXT" in
15614 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15615 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'` ;;
15616 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15617 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15618 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15619 fi ;;
15620 esac
15622 rm -f core conftest.err conftest.$ac_objext \
15623 conftest$ac_exeext conftest.$ac_ext
15624 LIBS=$ac_check_soname_save_LIBS
15626 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15628 $as_echo "not found" >&6; }
15630 else
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15632 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15634 cat >>confdefs.h <<_ACEOF
15635 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15636 _ACEOF
15640 CPPFLAGS=$ac_save_CPPFLAGS
15641 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15642 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15645 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15646 case "x$with_vkd3d" in
15647 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
15648 xno) ;;
15649 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
15650 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15651 esac
15654 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15657 EXTRACFLAGS=""
15659 if test "x${GCC}" = "xyes"
15660 then
15661 EXTRACFLAGS="-Wall -pipe"
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15664 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15665 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15666 $as_echo_n "(cached) " >&6
15667 else
15668 if test "$cross_compiling" = yes; then :
15669 ac_cv_c_gcc_strength_bug="no"
15670 else
15671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15672 /* end confdefs.h. */
15673 int L[4] = {0,1,2,3};
15675 main ()
15677 static int Array[3];
15678 unsigned int B = 3;
15679 int i;
15680 for(i=0; i<B; i++) Array[i] = i - 3;
15681 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15682 L[i] = 4;
15683 return (Array[1] != -2 || L[2] != 3)
15685 return 0;
15687 _ACEOF
15688 if ac_fn_c_try_run "$LINENO"; then :
15689 ac_cv_c_gcc_strength_bug="no"
15690 else
15691 ac_cv_c_gcc_strength_bug="yes"
15693 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15694 conftest.$ac_objext conftest.beam conftest.$ac_ext
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15699 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15700 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15701 then
15702 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15706 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15707 if ${ac_cv_cflags__fno_builtin+:} false; then :
15708 $as_echo_n "(cached) " >&6
15709 else
15710 ac_wine_try_cflags_saved=$CFLAGS
15711 CFLAGS="$CFLAGS -fno-builtin"
15712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15713 /* end confdefs.h. */
15714 int main(int argc, char **argv) { return 0; }
15715 _ACEOF
15716 if ac_fn_c_try_link "$LINENO"; then :
15717 ac_cv_cflags__fno_builtin=yes
15718 else
15719 ac_cv_cflags__fno_builtin=no
15721 rm -f core conftest.err conftest.$ac_objext \
15722 conftest$ac_exeext conftest.$ac_ext
15723 CFLAGS=$ac_wine_try_cflags_saved
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15726 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15727 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15728 BUILTINFLAG="-fno-builtin"
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15732 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15733 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15734 $as_echo_n "(cached) " >&6
15735 else
15736 ac_wine_try_cflags_saved=$CFLAGS
15737 CFLAGS="$CFLAGS -fno-strict-aliasing"
15738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15739 /* end confdefs.h. */
15740 int main(int argc, char **argv) { return 0; }
15741 _ACEOF
15742 if ac_fn_c_try_link "$LINENO"; then :
15743 ac_cv_cflags__fno_strict_aliasing=yes
15744 else
15745 ac_cv_cflags__fno_strict_aliasing=no
15747 rm -f core conftest.err conftest.$ac_objext \
15748 conftest$ac_exeext conftest.$ac_ext
15749 CFLAGS=$ac_wine_try_cflags_saved
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15752 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15753 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15754 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15757 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15758 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15759 $as_echo_n "(cached) " >&6
15760 else
15761 ac_wine_try_cflags_saved=$CFLAGS
15762 CFLAGS="$CFLAGS -fexcess-precision=standard"
15763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15764 /* end confdefs.h. */
15765 int main(int argc, char **argv) { return 0; }
15766 _ACEOF
15767 if ac_fn_c_try_link "$LINENO"; then :
15768 ac_cv_cflags__fexcess_precision_standard=yes
15769 else
15770 ac_cv_cflags__fexcess_precision_standard=no
15772 rm -f core conftest.err conftest.$ac_objext \
15773 conftest$ac_exeext conftest.$ac_ext
15774 CFLAGS=$ac_wine_try_cflags_saved
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15777 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15778 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15779 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15782 saved_CFLAGS=$CFLAGS
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15784 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15785 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15786 $as_echo_n "(cached) " >&6
15787 else
15788 ac_wine_try_cflags_saved=$CFLAGS
15789 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15791 /* end confdefs.h. */
15792 int main(int argc, char **argv) { return 0; }
15793 _ACEOF
15794 if ac_fn_c_try_link "$LINENO"; then :
15795 ac_cv_cflags__Werror_unknown_warning_option=yes
15796 else
15797 ac_cv_cflags__Werror_unknown_warning_option=no
15799 rm -f core conftest.err conftest.$ac_objext \
15800 conftest$ac_exeext conftest.$ac_ext
15801 CFLAGS=$ac_wine_try_cflags_saved
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15804 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15805 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15806 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15809 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15810 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15811 $as_echo_n "(cached) " >&6
15812 else
15813 ac_wine_try_cflags_saved=$CFLAGS
15814 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15816 /* end confdefs.h. */
15817 int main(int argc, char **argv) { return 0; }
15818 _ACEOF
15819 if ac_fn_c_try_link "$LINENO"; then :
15820 ac_cv_cflags__Wdeclaration_after_statement=yes
15821 else
15822 ac_cv_cflags__Wdeclaration_after_statement=no
15824 rm -f core conftest.err conftest.$ac_objext \
15825 conftest$ac_exeext conftest.$ac_ext
15826 CFLAGS=$ac_wine_try_cflags_saved
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15829 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15830 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15831 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15834 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15835 if ${ac_cv_cflags__Wempty_body+:} false; then :
15836 $as_echo_n "(cached) " >&6
15837 else
15838 ac_wine_try_cflags_saved=$CFLAGS
15839 CFLAGS="$CFLAGS -Wempty-body"
15840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15841 /* end confdefs.h. */
15842 int main(int argc, char **argv) { return 0; }
15843 _ACEOF
15844 if ac_fn_c_try_link "$LINENO"; then :
15845 ac_cv_cflags__Wempty_body=yes
15846 else
15847 ac_cv_cflags__Wempty_body=no
15849 rm -f core conftest.err conftest.$ac_objext \
15850 conftest$ac_exeext conftest.$ac_ext
15851 CFLAGS=$ac_wine_try_cflags_saved
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15854 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15855 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15856 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15859 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15860 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15861 $as_echo_n "(cached) " >&6
15862 else
15863 ac_wine_try_cflags_saved=$CFLAGS
15864 CFLAGS="$CFLAGS -Wignored-qualifiers"
15865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15866 /* end confdefs.h. */
15867 int main(int argc, char **argv) { return 0; }
15868 _ACEOF
15869 if ac_fn_c_try_link "$LINENO"; then :
15870 ac_cv_cflags__Wignored_qualifiers=yes
15871 else
15872 ac_cv_cflags__Wignored_qualifiers=no
15874 rm -f core conftest.err conftest.$ac_objext \
15875 conftest$ac_exeext conftest.$ac_ext
15876 CFLAGS=$ac_wine_try_cflags_saved
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15879 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15880 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15881 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15884 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15885 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15886 $as_echo_n "(cached) " >&6
15887 else
15888 ac_wine_try_cflags_saved=$CFLAGS
15889 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 int main(int argc, char **argv) { return 0; }
15893 _ACEOF
15894 if ac_fn_c_try_link "$LINENO"; then :
15895 ac_cv_cflags__Wpacked_not_aligned=yes
15896 else
15897 ac_cv_cflags__Wpacked_not_aligned=no
15899 rm -f core conftest.err conftest.$ac_objext \
15900 conftest$ac_exeext conftest.$ac_ext
15901 CFLAGS=$ac_wine_try_cflags_saved
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15904 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15905 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15906 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15909 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15910 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15911 $as_echo_n "(cached) " >&6
15912 else
15913 ac_wine_try_cflags_saved=$CFLAGS
15914 CFLAGS="$CFLAGS -Wpragma-pack"
15915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15916 /* end confdefs.h. */
15917 int main(int argc, char **argv) { return 0; }
15918 _ACEOF
15919 if ac_fn_c_try_link "$LINENO"; then :
15920 ac_cv_cflags__Wpragma_pack=yes
15921 else
15922 ac_cv_cflags__Wpragma_pack=no
15924 rm -f core conftest.err conftest.$ac_objext \
15925 conftest$ac_exeext conftest.$ac_ext
15926 CFLAGS=$ac_wine_try_cflags_saved
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15929 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15930 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15931 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15934 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15935 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15936 $as_echo_n "(cached) " >&6
15937 else
15938 ac_wine_try_cflags_saved=$CFLAGS
15939 CFLAGS="$CFLAGS -Wshift-overflow=2"
15940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15941 /* end confdefs.h. */
15942 int main(int argc, char **argv) { return 0; }
15943 _ACEOF
15944 if ac_fn_c_try_link "$LINENO"; then :
15945 ac_cv_cflags__Wshift_overflow_2=yes
15946 else
15947 ac_cv_cflags__Wshift_overflow_2=no
15949 rm -f core conftest.err conftest.$ac_objext \
15950 conftest$ac_exeext conftest.$ac_ext
15951 CFLAGS=$ac_wine_try_cflags_saved
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15954 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15955 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15956 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15959 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15960 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15961 $as_echo_n "(cached) " >&6
15962 else
15963 ac_wine_try_cflags_saved=$CFLAGS
15964 CFLAGS="$CFLAGS -Wstrict-prototypes"
15965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15966 /* end confdefs.h. */
15967 int main(int argc, char **argv) { return 0; }
15968 _ACEOF
15969 if ac_fn_c_try_link "$LINENO"; then :
15970 ac_cv_cflags__Wstrict_prototypes=yes
15971 else
15972 ac_cv_cflags__Wstrict_prototypes=no
15974 rm -f core conftest.err conftest.$ac_objext \
15975 conftest$ac_exeext conftest.$ac_ext
15976 CFLAGS=$ac_wine_try_cflags_saved
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15979 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15980 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15981 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15984 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15985 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15986 $as_echo_n "(cached) " >&6
15987 else
15988 ac_wine_try_cflags_saved=$CFLAGS
15989 CFLAGS="$CFLAGS -Wtype-limits"
15990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15991 /* end confdefs.h. */
15992 int main(int argc, char **argv) { return 0; }
15993 _ACEOF
15994 if ac_fn_c_try_link "$LINENO"; then :
15995 ac_cv_cflags__Wtype_limits=yes
15996 else
15997 ac_cv_cflags__Wtype_limits=no
15999 rm -f core conftest.err conftest.$ac_objext \
16000 conftest$ac_exeext conftest.$ac_ext
16001 CFLAGS=$ac_wine_try_cflags_saved
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16004 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16005 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16006 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16009 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16010 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16011 $as_echo_n "(cached) " >&6
16012 else
16013 ac_wine_try_cflags_saved=$CFLAGS
16014 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16016 /* end confdefs.h. */
16017 int main(int argc, char **argv) { return 0; }
16018 _ACEOF
16019 if ac_fn_c_try_link "$LINENO"; then :
16020 ac_cv_cflags__Wunused_but_set_parameter=yes
16021 else
16022 ac_cv_cflags__Wunused_but_set_parameter=no
16024 rm -f core conftest.err conftest.$ac_objext \
16025 conftest$ac_exeext conftest.$ac_ext
16026 CFLAGS=$ac_wine_try_cflags_saved
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16029 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16030 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16031 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16034 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16035 if ${ac_cv_cflags__Wvla+:} false; then :
16036 $as_echo_n "(cached) " >&6
16037 else
16038 ac_wine_try_cflags_saved=$CFLAGS
16039 CFLAGS="$CFLAGS -Wvla"
16040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16041 /* end confdefs.h. */
16042 int main(int argc, char **argv) { return 0; }
16043 _ACEOF
16044 if ac_fn_c_try_link "$LINENO"; then :
16045 ac_cv_cflags__Wvla=yes
16046 else
16047 ac_cv_cflags__Wvla=no
16049 rm -f core conftest.err conftest.$ac_objext \
16050 conftest$ac_exeext conftest.$ac_ext
16051 CFLAGS=$ac_wine_try_cflags_saved
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16054 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16055 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16056 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16059 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16060 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16061 $as_echo_n "(cached) " >&6
16062 else
16063 ac_wine_try_cflags_saved=$CFLAGS
16064 CFLAGS="$CFLAGS -Wwrite-strings"
16065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16066 /* end confdefs.h. */
16067 int main(int argc, char **argv) { return 0; }
16068 _ACEOF
16069 if ac_fn_c_try_link "$LINENO"; then :
16070 ac_cv_cflags__Wwrite_strings=yes
16071 else
16072 ac_cv_cflags__Wwrite_strings=no
16074 rm -f core conftest.err conftest.$ac_objext \
16075 conftest$ac_exeext conftest.$ac_ext
16076 CFLAGS=$ac_wine_try_cflags_saved
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16079 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16080 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16081 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16085 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16086 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16087 $as_echo_n "(cached) " >&6
16088 else
16089 ac_wine_try_cflags_saved=$CFLAGS
16090 CFLAGS="$CFLAGS -Wpointer-arith"
16091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16092 /* end confdefs.h. */
16093 int main(int argc, char **argv) { return 0; }
16094 _ACEOF
16095 if ac_fn_c_try_link "$LINENO"; then :
16096 ac_cv_cflags__Wpointer_arith=yes
16097 else
16098 ac_cv_cflags__Wpointer_arith=no
16100 rm -f core conftest.err conftest.$ac_objext \
16101 conftest$ac_exeext conftest.$ac_ext
16102 CFLAGS=$ac_wine_try_cflags_saved
16104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16105 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16106 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16107 saved_string_h_CFLAGS=$CFLAGS
16108 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
16110 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
16111 if ${ac_cv_c_string_h_warnings+:} false; then :
16112 $as_echo_n "(cached) " >&6
16113 else
16114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16115 /* end confdefs.h. */
16116 #include <string.h>
16118 main ()
16122 return 0;
16124 _ACEOF
16125 if ac_fn_c_try_compile "$LINENO"; then :
16126 ac_cv_c_string_h_warnings=no
16127 else
16128 ac_cv_c_string_h_warnings=yes
16130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
16133 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
16134 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16135 CFLAGS=$saved_string_h_CFLAGS
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
16139 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
16140 if ${ac_cv_cflags__Wlogical_op+:} false; then :
16141 $as_echo_n "(cached) " >&6
16142 else
16143 ac_wine_try_cflags_saved=$CFLAGS
16144 CFLAGS="$CFLAGS -Wlogical-op"
16145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16146 /* end confdefs.h. */
16147 int main(int argc, char **argv) { return 0; }
16148 _ACEOF
16149 if ac_fn_c_try_link "$LINENO"; then :
16150 ac_cv_cflags__Wlogical_op=yes
16151 else
16152 ac_cv_cflags__Wlogical_op=no
16154 rm -f core conftest.err conftest.$ac_objext \
16155 conftest$ac_exeext conftest.$ac_ext
16156 CFLAGS=$ac_wine_try_cflags_saved
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
16159 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
16160 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
16161 saved_string_h_CFLAGS=$CFLAGS
16162 CFLAGS="$CFLAGS -Wlogical-op -Werror"
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
16164 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
16165 if ${ac_cv_c_logicalop_noisy+:} false; then :
16166 $as_echo_n "(cached) " >&6
16167 else
16168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16169 /* end confdefs.h. */
16170 #include <string.h>
16171 char*f(const char *h,char n) {return strchr(h,n);}
16173 main ()
16177 return 0;
16179 _ACEOF
16180 if ac_fn_c_try_compile "$LINENO"; then :
16181 ac_cv_c_logicalop_noisy=no
16182 else
16183 ac_cv_c_logicalop_noisy=yes
16185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
16188 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
16189 CFLAGS=$saved_string_h_CFLAGS
16190 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
16193 CFLAGS=$saved_CFLAGS
16195 for ac_flag in $CFLAGS; do
16196 case $ac_flag in
16197 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
16198 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
16199 if ${ac_cv_cflags__gdwarf_2+:} false; then :
16200 $as_echo_n "(cached) " >&6
16201 else
16202 ac_wine_try_cflags_saved=$CFLAGS
16203 CFLAGS="$CFLAGS -gdwarf-2"
16204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16205 /* end confdefs.h. */
16206 int main(int argc, char **argv) { return 0; }
16207 _ACEOF
16208 if ac_fn_c_try_link "$LINENO"; then :
16209 ac_cv_cflags__gdwarf_2=yes
16210 else
16211 ac_cv_cflags__gdwarf_2=no
16213 rm -f core conftest.err conftest.$ac_objext \
16214 conftest$ac_exeext conftest.$ac_ext
16215 CFLAGS=$ac_wine_try_cflags_saved
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16218 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16219 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16220 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16223 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16224 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16225 $as_echo_n "(cached) " >&6
16226 else
16227 ac_wine_try_cflags_saved=$CFLAGS
16228 CFLAGS="$CFLAGS -gstrict-dwarf"
16229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16230 /* end confdefs.h. */
16231 int main(int argc, char **argv) { return 0; }
16232 _ACEOF
16233 if ac_fn_c_try_link "$LINENO"; then :
16234 ac_cv_cflags__gstrict_dwarf=yes
16235 else
16236 ac_cv_cflags__gstrict_dwarf=no
16238 rm -f core conftest.err conftest.$ac_objext \
16239 conftest$ac_exeext conftest.$ac_ext
16240 CFLAGS=$ac_wine_try_cflags_saved
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16243 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16244 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16245 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16246 fi ;;
16247 esac
16248 done
16250 case $host_cpu in
16251 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16252 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16253 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16254 $as_echo_n "(cached) " >&6
16255 else
16256 ac_wine_try_cflags_saved=$CFLAGS
16257 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16259 /* end confdefs.h. */
16260 int main(int argc, char **argv) { return 0; }
16261 _ACEOF
16262 if ac_fn_c_try_link "$LINENO"; then :
16263 ac_cv_cflags__fno_omit_frame_pointer=yes
16264 else
16265 ac_cv_cflags__fno_omit_frame_pointer=no
16267 rm -f core conftest.err conftest.$ac_objext \
16268 conftest$ac_exeext conftest.$ac_ext
16269 CFLAGS=$ac_wine_try_cflags_saved
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16272 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16273 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16274 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16275 fi ;;
16276 esac
16278 case $host in
16279 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16280 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16281 if ${ac_cv_cflags__Wno_format+:} false; then :
16282 $as_echo_n "(cached) " >&6
16283 else
16284 ac_wine_try_cflags_saved=$CFLAGS
16285 CFLAGS="$CFLAGS -Wno-format"
16286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16287 /* end confdefs.h. */
16288 int main(int argc, char **argv) { return 0; }
16289 _ACEOF
16290 if ac_fn_c_try_link "$LINENO"; then :
16291 ac_cv_cflags__Wno_format=yes
16292 else
16293 ac_cv_cflags__Wno_format=no
16295 rm -f core conftest.err conftest.$ac_objext \
16296 conftest$ac_exeext conftest.$ac_ext
16297 CFLAGS=$ac_wine_try_cflags_saved
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16300 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16301 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16302 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16303 fi ;;
16304 esac
16306 if test "x$enable_maintainer_mode" = "xyes"
16307 then
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16309 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16310 if ${ac_cv_cflags__Werror+:} false; then :
16311 $as_echo_n "(cached) " >&6
16312 else
16313 ac_wine_try_cflags_saved=$CFLAGS
16314 CFLAGS="$CFLAGS -Werror"
16315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16316 /* end confdefs.h. */
16317 int main(int argc, char **argv) { return 0; }
16318 _ACEOF
16319 if ac_fn_c_try_link "$LINENO"; then :
16320 ac_cv_cflags__Werror=yes
16321 else
16322 ac_cv_cflags__Werror=no
16324 rm -f core conftest.err conftest.$ac_objext \
16325 conftest$ac_exeext conftest.$ac_ext
16326 CFLAGS=$ac_wine_try_cflags_saved
16328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16329 $as_echo "$ac_cv_cflags__Werror" >&6; }
16330 if test "x$ac_cv_cflags__Werror" = xyes; then :
16331 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16335 saved_CFLAGS="$CFLAGS"
16336 CFLAGS="$CFLAGS -Werror"
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16338 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16339 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16340 $as_echo_n "(cached) " >&6
16341 else
16342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16343 /* end confdefs.h. */
16344 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16346 main ()
16350 return 0;
16352 _ACEOF
16353 if ac_fn_c_try_compile "$LINENO"; then :
16354 ac_cv_have_ms_hook_prologue="yes"
16355 else
16356 ac_cv_have_ms_hook_prologue="no"
16358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16361 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16362 CFLAGS="$saved_CFLAGS"
16363 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16364 then
16366 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16368 else
16369 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16376 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16377 if ${ac_cv_c_fortify_enabled+:} false; then :
16378 $as_echo_n "(cached) " >&6
16379 else
16380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16381 /* end confdefs.h. */
16382 #include <string.h>
16384 main ()
16386 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16387 #error Fortify enabled
16388 #endif
16390 return 0;
16392 _ACEOF
16393 if ac_fn_c_try_compile "$LINENO"; then :
16394 ac_cv_c_fortify_enabled=no
16395 else
16396 ac_cv_c_fortify_enabled=yes
16398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16401 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16402 if test "$ac_cv_c_fortify_enabled" = yes
16403 then
16404 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16409 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16410 if ${ac_cv_c_extern_prefix+:} false; then :
16411 $as_echo_n "(cached) " >&6
16412 else
16413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16414 /* end confdefs.h. */
16415 extern int ac_test;
16417 main ()
16419 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16421 return 0;
16423 _ACEOF
16424 if ac_fn_c_try_link "$LINENO"; then :
16425 ac_cv_c_extern_prefix="yes"
16426 else
16427 ac_cv_c_extern_prefix="no"
16429 rm -f core conftest.err conftest.$ac_objext \
16430 conftest$ac_exeext conftest.$ac_ext
16432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16433 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16435 case $host_cpu in
16436 *i[3456789]86*)
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16438 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16439 if ${ac_cv_c_stdcall_suffix+:} false; then :
16440 $as_echo_n "(cached) " >&6
16441 else
16442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16443 /* end confdefs.h. */
16444 #ifndef _MSC_VER
16445 #define __stdcall __attribute__((__stdcall__))
16446 #endif
16447 int __stdcall ac_test(int i) { return i; }
16449 main ()
16451 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16453 return 0;
16455 _ACEOF
16456 if ac_fn_c_try_link "$LINENO"; then :
16457 ac_cv_c_stdcall_suffix="yes"
16458 else
16459 ac_cv_c_stdcall_suffix="no"
16461 rm -f core conftest.err conftest.$ac_objext \
16462 conftest$ac_exeext conftest.$ac_ext
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16465 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16466 *) ac_cv_c_stdcall_suffix="no" ;;
16467 esac
16470 if test "$ac_cv_c_extern_prefix" = "yes"
16471 then
16472 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16474 asm_name_prefix="_"
16475 else
16476 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16478 asm_name_prefix=""
16482 if test "$ac_cv_c_stdcall_suffix" = "yes"
16483 then
16484 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16486 else
16487 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16493 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16494 if ${ac_cv_asm_func_def+:} false; then :
16495 $as_echo_n "(cached) " >&6
16496 else
16497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16498 /* end confdefs.h. */
16501 main ()
16503 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16505 return 0;
16507 _ACEOF
16508 if ac_fn_c_try_link "$LINENO"; then :
16509 ac_cv_asm_func_def=".def"
16510 else
16511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h. */
16515 main ()
16517 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16519 return 0;
16521 _ACEOF
16522 if ac_fn_c_try_link "$LINENO"; then :
16523 ac_cv_asm_func_def=".type @function"
16524 else
16525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16526 /* end confdefs.h. */
16529 main ()
16531 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16533 return 0;
16535 _ACEOF
16536 if ac_fn_c_try_link "$LINENO"; then :
16537 ac_cv_asm_func_def=".type 2"
16538 else
16539 ac_cv_asm_func_def="unknown"
16541 rm -f core conftest.err conftest.$ac_objext \
16542 conftest$ac_exeext conftest.$ac_ext
16544 rm -f core conftest.err conftest.$ac_objext \
16545 conftest$ac_exeext conftest.$ac_ext
16547 rm -f core conftest.err conftest.$ac_objext \
16548 conftest$ac_exeext conftest.$ac_ext
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16551 $as_echo "$ac_cv_asm_func_def" >&6; }
16553 case "$ac_cv_asm_func_def" in
16554 ".def")
16555 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16556 ".type @function")
16557 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16558 ".type 2")
16559 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16561 asm_func_header="" ;;
16562 esac
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16565 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16566 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16567 $as_echo_n "(cached) " >&6
16568 else
16569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16570 /* end confdefs.h. */
16571 asm(".text\n\t.long 0");
16573 main ()
16577 return 0;
16579 _ACEOF
16580 if ac_fn_c_try_compile "$LINENO"; then :
16581 ac_cv_c_asm_outside_funcs="yes"
16582 else
16583 ac_cv_c_asm_outside_funcs="no"
16585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16588 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16591 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16592 if ${ac_cv_c_dot_previous+:} false; then :
16593 $as_echo_n "(cached) " >&6
16594 else
16595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16596 /* end confdefs.h. */
16599 main ()
16601 asm(".text\nac_test:\t.long 0\n\t.previous");
16603 return 0;
16605 _ACEOF
16606 if ac_fn_c_try_link "$LINENO"; then :
16607 ac_cv_c_dot_previous="yes"
16608 else
16609 ac_cv_c_dot_previous="no"
16611 rm -f core conftest.err conftest.$ac_objext \
16612 conftest$ac_exeext conftest.$ac_ext
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16615 $as_echo "$ac_cv_c_dot_previous" >&6; }
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16618 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16619 if ${ac_cv_c_cfi_support+:} false; then :
16620 $as_echo_n "(cached) " >&6
16621 else
16622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16623 /* end confdefs.h. */
16624 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16626 main ()
16630 return 0;
16632 _ACEOF
16633 if ac_fn_c_try_compile "$LINENO"; then :
16634 ac_cv_c_cfi_support="yes"
16635 else
16636 ac_cv_c_cfi_support="no"
16638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16641 $as_echo "$ac_cv_c_cfi_support" >&6; }
16643 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16644 asm_func_trailer=""
16645 if test "$ac_cv_c_dot_previous" = "yes"
16646 then
16647 asm_func_trailer="\\n\\t.previous"
16649 if test "$ac_cv_c_cfi_support" = "yes"
16650 then
16651 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16652 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16654 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16656 UNWINDFLAGS=-fasynchronous-unwind-tables
16658 else
16659 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16661 if test "x$enable_win64" = "xyes"
16662 then
16663 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16667 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16670 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16671 then
16672 cat >>confdefs.h <<_ACEOF
16673 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16674 _ACEOF
16676 else
16677 cat >>confdefs.h <<_ACEOF
16678 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16679 _ACEOF
16683 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16686 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16690 case $build_os in
16691 cygwin*|mingw32*) TOOLSEXT=".exe"
16693 esac
16695 case $host_os in
16696 linux*)
16697 case $host_cpu in
16698 *i[3456789]86*|x86_64*|*aarch64*)
16699 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16700 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16702 esac
16704 esac
16707 ac_save_CFLAGS="$CFLAGS"
16708 CFLAGS="$CFLAGS $BUILTINFLAG"
16709 for ac_func in \
16710 __res_get_state \
16711 __res_getservers \
16712 _spawnvp \
16713 asctime_r \
16714 dlopen \
16715 epoll_create \
16716 ffs \
16717 finitef \
16718 fnmatch \
16719 fork \
16720 fpclass \
16721 fstatfs \
16722 fstatvfs \
16723 futimens \
16724 futimes \
16725 futimesat \
16726 getattrlist \
16727 getauxval \
16728 getifaddrs \
16729 getopt_long_only \
16730 getpwuid \
16731 getuid \
16732 kqueue \
16733 lstat \
16734 mmap \
16735 pipe2 \
16736 poll \
16737 port_create \
16738 prctl \
16739 pread \
16740 proc_pidinfo \
16741 pwrite \
16742 readdir \
16743 readlink \
16744 sched_yield \
16745 select \
16746 setproctitle \
16747 setprogname \
16748 setrlimit \
16749 settimeofday \
16750 sigaltstack \
16751 sigprocmask \
16752 statfs \
16753 statvfs \
16754 strnlen \
16755 strtold \
16756 symlink \
16757 sysinfo \
16758 tcdrain \
16759 thr_kill2 \
16760 timegm \
16761 usleep
16763 do :
16764 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16765 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16766 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16767 cat >>confdefs.h <<_ACEOF
16768 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16769 _ACEOF
16772 done
16774 CFLAGS="$ac_save_CFLAGS"
16776 if test "$ac_cv_func_dlopen" = no
16777 then
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16779 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16780 if ${ac_cv_lib_dl_dlopen+:} false; then :
16781 $as_echo_n "(cached) " >&6
16782 else
16783 ac_check_lib_save_LIBS=$LIBS
16784 LIBS="-ldl $LIBS"
16785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16786 /* end confdefs.h. */
16788 /* Override any GCC internal prototype to avoid an error.
16789 Use char because int might match the return type of a GCC
16790 builtin and then its argument prototype would still apply. */
16791 #ifdef __cplusplus
16792 extern "C"
16793 #endif
16794 char dlopen ();
16796 main ()
16798 return dlopen ();
16800 return 0;
16802 _ACEOF
16803 if ac_fn_c_try_link "$LINENO"; then :
16804 ac_cv_lib_dl_dlopen=yes
16805 else
16806 ac_cv_lib_dl_dlopen=no
16808 rm -f core conftest.err conftest.$ac_objext \
16809 conftest$ac_exeext conftest.$ac_ext
16810 LIBS=$ac_check_lib_save_LIBS
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16813 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16814 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16815 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16816 DL_LIBS="-ldl"
16821 ac_wine_check_funcs_save_LIBS="$LIBS"
16822 LIBS="$LIBS $DL_LIBS"
16823 for ac_func in dladdr
16824 do :
16825 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16826 if test "x$ac_cv_func_dladdr" = xyes; then :
16827 cat >>confdefs.h <<_ACEOF
16828 #define HAVE_DLADDR 1
16829 _ACEOF
16832 done
16834 LIBS="$ac_wine_check_funcs_save_LIBS"
16836 if test "$ac_cv_func_poll" = no
16837 then
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16839 $as_echo_n "checking for poll in -lpoll... " >&6; }
16840 if ${ac_cv_lib_poll_poll+:} false; then :
16841 $as_echo_n "(cached) " >&6
16842 else
16843 ac_check_lib_save_LIBS=$LIBS
16844 LIBS="-lpoll $LIBS"
16845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16846 /* end confdefs.h. */
16848 /* Override any GCC internal prototype to avoid an error.
16849 Use char because int might match the return type of a GCC
16850 builtin and then its argument prototype would still apply. */
16851 #ifdef __cplusplus
16852 extern "C"
16853 #endif
16854 char poll ();
16856 main ()
16858 return poll ();
16860 return 0;
16862 _ACEOF
16863 if ac_fn_c_try_link "$LINENO"; then :
16864 ac_cv_lib_poll_poll=yes
16865 else
16866 ac_cv_lib_poll_poll=no
16868 rm -f core conftest.err conftest.$ac_objext \
16869 conftest$ac_exeext conftest.$ac_ext
16870 LIBS=$ac_check_lib_save_LIBS
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16873 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16874 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16875 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16876 POLL_LIBS="-lpoll"
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16883 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16884 if ${ac_cv_search_gethostbyname+:} false; then :
16885 $as_echo_n "(cached) " >&6
16886 else
16887 ac_func_search_save_LIBS=$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 gethostbyname ();
16899 main ()
16901 return gethostbyname ();
16903 return 0;
16905 _ACEOF
16906 for ac_lib in '' nsl; do
16907 if test -z "$ac_lib"; then
16908 ac_res="none required"
16909 else
16910 ac_res=-l$ac_lib
16911 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16913 if ac_fn_c_try_link "$LINENO"; then :
16914 ac_cv_search_gethostbyname=$ac_res
16916 rm -f core conftest.err conftest.$ac_objext \
16917 conftest$ac_exeext
16918 if ${ac_cv_search_gethostbyname+:} false; then :
16919 break
16921 done
16922 if ${ac_cv_search_gethostbyname+:} false; then :
16924 else
16925 ac_cv_search_gethostbyname=no
16927 rm conftest.$ac_ext
16928 LIBS=$ac_func_search_save_LIBS
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16931 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16932 ac_res=$ac_cv_search_gethostbyname
16933 if test "$ac_res" != no; then :
16934 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16940 $as_echo_n "checking for library containing connect... " >&6; }
16941 if ${ac_cv_search_connect+:} false; then :
16942 $as_echo_n "(cached) " >&6
16943 else
16944 ac_func_search_save_LIBS=$LIBS
16945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16946 /* end confdefs.h. */
16948 /* Override any GCC internal prototype to avoid an error.
16949 Use char because int might match the return type of a GCC
16950 builtin and then its argument prototype would still apply. */
16951 #ifdef __cplusplus
16952 extern "C"
16953 #endif
16954 char connect ();
16956 main ()
16958 return connect ();
16960 return 0;
16962 _ACEOF
16963 for ac_lib in '' socket; do
16964 if test -z "$ac_lib"; then
16965 ac_res="none required"
16966 else
16967 ac_res=-l$ac_lib
16968 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16970 if ac_fn_c_try_link "$LINENO"; then :
16971 ac_cv_search_connect=$ac_res
16973 rm -f core conftest.err conftest.$ac_objext \
16974 conftest$ac_exeext
16975 if ${ac_cv_search_connect+:} false; then :
16976 break
16978 done
16979 if ${ac_cv_search_connect+:} false; then :
16981 else
16982 ac_cv_search_connect=no
16984 rm conftest.$ac_ext
16985 LIBS=$ac_func_search_save_LIBS
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16988 $as_echo "$ac_cv_search_connect" >&6; }
16989 ac_res=$ac_cv_search_connect
16990 if test "$ac_res" != no; then :
16991 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16997 $as_echo_n "checking for library containing inet_aton... " >&6; }
16998 if ${ac_cv_search_inet_aton+:} false; then :
16999 $as_echo_n "(cached) " >&6
17000 else
17001 ac_func_search_save_LIBS=$LIBS
17002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17003 /* end confdefs.h. */
17005 /* Override any GCC internal prototype to avoid an error.
17006 Use char because int might match the return type of a GCC
17007 builtin and then its argument prototype would still apply. */
17008 #ifdef __cplusplus
17009 extern "C"
17010 #endif
17011 char inet_aton ();
17013 main ()
17015 return inet_aton ();
17017 return 0;
17019 _ACEOF
17020 for ac_lib in '' resolv; do
17021 if test -z "$ac_lib"; then
17022 ac_res="none required"
17023 else
17024 ac_res=-l$ac_lib
17025 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17027 if ac_fn_c_try_link "$LINENO"; then :
17028 ac_cv_search_inet_aton=$ac_res
17030 rm -f core conftest.err conftest.$ac_objext \
17031 conftest$ac_exeext
17032 if ${ac_cv_search_inet_aton+:} false; then :
17033 break
17035 done
17036 if ${ac_cv_search_inet_aton+:} false; then :
17038 else
17039 ac_cv_search_inet_aton=no
17041 rm conftest.$ac_ext
17042 LIBS=$ac_func_search_save_LIBS
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17045 $as_echo "$ac_cv_search_inet_aton" >&6; }
17046 ac_res=$ac_cv_search_inet_aton
17047 if test "$ac_res" != no; then :
17048 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17053 for ac_func in \
17054 getaddrinfo \
17055 getnameinfo \
17056 getnetbyname \
17057 getprotobyname \
17058 getprotobynumber \
17059 getservbyport \
17060 inet_addr \
17061 inet_network \
17062 inet_ntop \
17063 inet_pton \
17064 sendmsg \
17065 socketpair \
17067 do :
17068 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17069 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17070 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17071 cat >>confdefs.h <<_ACEOF
17072 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17073 _ACEOF
17076 done
17079 ac_save_LIBS=$LIBS
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17081 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17082 if ${ac_cv_search_clock_gettime+:} false; then :
17083 $as_echo_n "(cached) " >&6
17084 else
17085 ac_func_search_save_LIBS=$LIBS
17086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17087 /* end confdefs.h. */
17089 /* Override any GCC internal prototype to avoid an error.
17090 Use char because int might match the return type of a GCC
17091 builtin and then its argument prototype would still apply. */
17092 #ifdef __cplusplus
17093 extern "C"
17094 #endif
17095 char clock_gettime ();
17097 main ()
17099 return clock_gettime ();
17101 return 0;
17103 _ACEOF
17104 for ac_lib in '' rt; do
17105 if test -z "$ac_lib"; then
17106 ac_res="none required"
17107 else
17108 ac_res=-l$ac_lib
17109 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17111 if ac_fn_c_try_link "$LINENO"; then :
17112 ac_cv_search_clock_gettime=$ac_res
17114 rm -f core conftest.err conftest.$ac_objext \
17115 conftest$ac_exeext
17116 if ${ac_cv_search_clock_gettime+:} false; then :
17117 break
17119 done
17120 if ${ac_cv_search_clock_gettime+:} false; then :
17122 else
17123 ac_cv_search_clock_gettime=no
17125 rm conftest.$ac_ext
17126 LIBS=$ac_func_search_save_LIBS
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17129 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17130 ac_res=$ac_cv_search_clock_gettime
17131 if test "$ac_res" != no; then :
17132 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17134 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17136 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17140 LIBS=$ac_save_LIBS
17142 if test "x$with_ldap" != "xno"
17143 then
17144 if ${LDAP_CFLAGS:+false} :; then :
17145 if ${PKG_CONFIG+:} false; then :
17146 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17150 if ${LDAP_LIBS:+false} :; then :
17151 if ${PKG_CONFIG+:} false; then :
17152 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17156 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17157 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17158 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17159 ac_save_CPPFLAGS=$CPPFLAGS
17160 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17161 for ac_header in ldap.h lber.h
17162 do :
17163 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17164 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17165 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17166 cat >>confdefs.h <<_ACEOF
17167 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17168 _ACEOF
17172 done
17174 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17175 then
17176 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17178 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17180 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17181 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17182 $as_echo_n "(cached) " >&6
17183 else
17184 ac_check_lib_save_LIBS=$LIBS
17185 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17187 /* end confdefs.h. */
17189 /* Override any GCC internal prototype to avoid an error.
17190 Use char because int might match the return type of a GCC
17191 builtin and then its argument prototype would still apply. */
17192 #ifdef __cplusplus
17193 extern "C"
17194 #endif
17195 char ldap_initialize ();
17197 main ()
17199 return ldap_initialize ();
17201 return 0;
17203 _ACEOF
17204 if ac_fn_c_try_link "$LINENO"; then :
17205 ac_cv_lib_ldap_r_ldap_initialize=yes
17206 else
17207 ac_cv_lib_ldap_r_ldap_initialize=no
17209 rm -f core conftest.err conftest.$ac_objext \
17210 conftest$ac_exeext conftest.$ac_ext
17211 LIBS=$ac_check_lib_save_LIBS
17213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17214 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17215 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17217 $as_echo_n "checking for ber_init in -llber... " >&6; }
17218 if ${ac_cv_lib_lber_ber_init+:} false; then :
17219 $as_echo_n "(cached) " >&6
17220 else
17221 ac_check_lib_save_LIBS=$LIBS
17222 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17224 /* end confdefs.h. */
17226 /* Override any GCC internal prototype to avoid an error.
17227 Use char because int might match the return type of a GCC
17228 builtin and then its argument prototype would still apply. */
17229 #ifdef __cplusplus
17230 extern "C"
17231 #endif
17232 char ber_init ();
17234 main ()
17236 return ber_init ();
17238 return 0;
17240 _ACEOF
17241 if ac_fn_c_try_link "$LINENO"; then :
17242 ac_cv_lib_lber_ber_init=yes
17243 else
17244 ac_cv_lib_lber_ber_init=no
17246 rm -f core conftest.err conftest.$ac_objext \
17247 conftest$ac_exeext conftest.$ac_ext
17248 LIBS=$ac_check_lib_save_LIBS
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17251 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17252 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17254 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17256 else
17257 LDAP_LIBS=""
17260 else
17261 LDAP_LIBS=""
17264 else
17265 LDAP_LIBS=""
17268 ac_wine_check_funcs_save_LIBS="$LIBS"
17269 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17270 for ac_func in \
17271 ldap_count_references \
17272 ldap_first_reference \
17273 ldap_next_reference \
17274 ldap_parse_reference \
17275 ldap_parse_sort_control \
17276 ldap_parse_sortresponse_control \
17277 ldap_parse_vlv_control \
17278 ldap_parse_vlvresponse_control
17279 do :
17280 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17281 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17282 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17283 cat >>confdefs.h <<_ACEOF
17284 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17285 _ACEOF
17288 done
17290 LIBS="$ac_wine_check_funcs_save_LIBS"
17291 else
17292 LDAP_LIBS=""
17294 CPPFLAGS=$ac_save_CPPFLAGS
17295 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17296 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17299 if test "x$LDAP_LIBS" = "x"; then :
17300 case "x$with_ldap" in
17301 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17302 xno) ;;
17303 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17304 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17305 esac
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17310 $as_echo_n "checking for sched_setaffinity... " >&6; }
17311 if ${wine_cv_have_sched_setaffinity+:} false; then :
17312 $as_echo_n "(cached) " >&6
17313 else
17314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17315 /* end confdefs.h. */
17316 #define _GNU_SOURCE
17317 #include <sched.h>
17319 main ()
17321 sched_setaffinity(0, 0, 0);
17323 return 0;
17325 _ACEOF
17326 if ac_fn_c_try_link "$LINENO"; then :
17327 wine_cv_have_sched_setaffinity=yes
17328 else
17329 wine_cv_have_sched_setaffinity=no
17331 rm -f core conftest.err conftest.$ac_objext \
17332 conftest$ac_exeext conftest.$ac_ext
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17335 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17336 if test "$wine_cv_have_sched_setaffinity" = "yes"
17337 then
17339 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17344 $as_echo_n "checking for fallocate... " >&6; }
17345 if ${wine_cv_have_fallocate+:} false; then :
17346 $as_echo_n "(cached) " >&6
17347 else
17348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17349 /* end confdefs.h. */
17350 #define _GNU_SOURCE
17351 #include <fcntl.h>
17353 main ()
17355 fallocate(-1, 0, 0, 0);
17357 return 0;
17359 _ACEOF
17360 if ac_fn_c_try_link "$LINENO"; then :
17361 wine_cv_have_fallocate=yes
17362 else
17363 wine_cv_have_fallocate=no
17365 rm -f core conftest.err conftest.$ac_objext \
17366 conftest$ac_exeext conftest.$ac_ext
17368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17369 $as_echo "$wine_cv_have_fallocate" >&6; }
17370 if test "$wine_cv_have_fallocate" = "yes"
17371 then
17373 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17379 $as_echo_n "checking for inline... " >&6; }
17380 if ${ac_cv_c_inline+:} false; then :
17381 $as_echo_n "(cached) " >&6
17382 else
17383 ac_cv_c_inline=no
17384 for ac_kw in inline __inline__ __inline; do
17385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h. */
17387 #ifndef __cplusplus
17388 typedef int foo_t;
17389 static $ac_kw foo_t static_foo () {return 0; }
17390 $ac_kw foo_t foo () {return 0; }
17391 #endif
17393 _ACEOF
17394 if ac_fn_c_try_compile "$LINENO"; then :
17395 ac_cv_c_inline=$ac_kw
17397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17398 test "$ac_cv_c_inline" != no && break
17399 done
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17403 $as_echo "$ac_cv_c_inline" >&6; }
17405 case $ac_cv_c_inline in
17406 inline | yes) ;;
17408 case $ac_cv_c_inline in
17409 no) ac_val=;;
17410 *) ac_val=$ac_cv_c_inline;;
17411 esac
17412 cat >>confdefs.h <<_ACEOF
17413 #ifndef __cplusplus
17414 #define inline $ac_val
17415 #endif
17416 _ACEOF
17418 esac
17420 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17421 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17423 cat >>confdefs.h <<_ACEOF
17424 #define HAVE_FSBLKCNT_T 1
17425 _ACEOF
17429 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17430 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17432 cat >>confdefs.h <<_ACEOF
17433 #define HAVE_FSFILCNT_T 1
17434 _ACEOF
17439 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17440 #include <signal.h>
17442 if test "x$ac_cv_type_sigset_t" = xyes; then :
17444 cat >>confdefs.h <<_ACEOF
17445 #define HAVE_SIGSET_T 1
17446 _ACEOF
17451 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17453 if test "x$ac_cv_type_request_sense" = xyes; then :
17455 cat >>confdefs.h <<_ACEOF
17456 #define HAVE_REQUEST_SENSE 1
17457 _ACEOF
17463 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17464 #ifdef HAVE_SYS_SOCKET_H
17465 #include <sys/socket.h>
17466 #endif
17467 #ifdef HAVE_SYS_SOCKETVAR_H
17468 #include <sys/socketvar.h>
17469 #endif
17470 #ifdef HAVE_NET_ROUTE_H
17471 #include <net/route.h>
17472 #endif
17473 #ifdef HAVE_NETINET_IN_H
17474 #include <netinet/in.h>
17475 #endif
17476 #ifdef HAVE_NETINET_IN_SYSTM_H
17477 #include <netinet/in_systm.h>
17478 #endif
17479 #ifdef HAVE_NETINET_IP_H
17480 #include <netinet/ip.h>
17481 #endif
17482 #ifdef HAVE_NETINET_IN_PCB_H
17483 #include <netinet/in_pcb.h>
17484 #endif
17486 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17488 cat >>confdefs.h <<_ACEOF
17489 #define HAVE_STRUCT_XINPGEN 1
17490 _ACEOF
17496 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17497 #include <link.h>
17498 #endif
17499 #ifdef HAVE_SYS_LINK_H
17500 #include <sys/link.h>
17501 #endif
17503 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17505 cat >>confdefs.h <<_ACEOF
17506 #define HAVE_STRUCT_R_DEBUG 1
17507 _ACEOF
17511 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17512 #include <link.h>
17513 #endif
17514 #ifdef HAVE_SYS_LINK_H
17515 #include <sys/link.h>
17516 #endif
17518 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17520 cat >>confdefs.h <<_ACEOF
17521 #define HAVE_STRUCT_LINK_MAP 1
17522 _ACEOF
17528 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17529 #include <linux/input.h>
17530 #endif
17532 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17534 cat >>confdefs.h <<_ACEOF
17535 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17536 _ACEOF
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17543 $as_echo_n "checking for if_nameindex... " >&6; }
17544 if ${wine_cv_have_if_nameindex+:} false; then :
17545 $as_echo_n "(cached) " >&6
17546 else
17547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17548 /* end confdefs.h. */
17549 #ifdef HAVE_SYS_TYPES_H
17550 #include <sys/types.h>
17551 #endif
17552 #ifdef HAVE_SYS_SOCKET_H
17553 #include <sys/socket.h>
17554 #endif
17555 #ifdef HAVE_NET_IF_H
17556 # include <net/if.h>
17557 #endif
17559 main ()
17561 struct if_nameindex *p = if_nameindex(); return p->if_index;
17563 return 0;
17565 _ACEOF
17566 if ac_fn_c_try_link "$LINENO"; then :
17567 wine_cv_have_if_nameindex=yes
17568 else
17569 wine_cv_have_if_nameindex=no
17571 rm -f core conftest.err conftest.$ac_objext \
17572 conftest$ac_exeext conftest.$ac_ext
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17575 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17576 if test "$wine_cv_have_if_nameindex" = "yes"
17577 then
17579 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17584 $as_echo_n "checking for sigaddset... " >&6; }
17585 if ${wine_cv_have_sigaddset+:} false; then :
17586 $as_echo_n "(cached) " >&6
17587 else
17588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17589 /* end confdefs.h. */
17590 #include <signal.h>
17592 main ()
17594 sigset_t set; sigaddset(&set,SIGTERM);
17596 return 0;
17598 _ACEOF
17599 if ac_fn_c_try_link "$LINENO"; then :
17600 wine_cv_have_sigaddset=yes
17601 else
17602 wine_cv_have_sigaddset=no
17604 rm -f core conftest.err conftest.$ac_objext \
17605 conftest$ac_exeext conftest.$ac_ext
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17608 $as_echo "$wine_cv_have_sigaddset" >&6; }
17609 if test "$wine_cv_have_sigaddset" = "yes"
17610 then
17612 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17618 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17619 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17620 $as_echo_n "(cached) " >&6
17621 else
17622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17623 /* end confdefs.h. */
17624 #include <netdb.h>
17626 main ()
17629 char *name=0;
17630 struct hostent he;
17631 struct hostent *result;
17632 char *buf=0;
17633 int bufsize=0;
17634 int errnr;
17635 char *addr=0;
17636 int addrlen=0;
17637 int addrtype=0;
17638 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17639 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17642 return 0;
17644 _ACEOF
17645 if ac_fn_c_try_link "$LINENO"; then :
17646 wine_cv_linux_gethostbyname_r_6=yes
17647 else
17648 wine_cv_linux_gethostbyname_r_6=no
17651 rm -f core conftest.err conftest.$ac_objext \
17652 conftest$ac_exeext conftest.$ac_ext
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17656 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17657 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17658 then
17660 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17664 if test "$ac_cv_header_linux_joystick_h" = "yes"
17665 then
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17667 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17668 if ${wine_cv_linux_joystick_22_api+:} false; then :
17669 $as_echo_n "(cached) " >&6
17670 else
17671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17672 /* end confdefs.h. */
17674 #include <sys/ioctl.h>
17675 #include <sys/types.h>
17676 #include <linux/joystick.h>
17678 struct js_event blub;
17679 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17680 #error "no 2.2 header"
17681 #endif
17684 main ()
17686 /*empty*/
17688 return 0;
17690 _ACEOF
17691 if ac_fn_c_try_compile "$LINENO"; then :
17692 wine_cv_linux_joystick_22_api=yes
17693 else
17694 wine_cv_linux_joystick_22_api=no
17696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17700 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17701 if test "$wine_cv_linux_joystick_22_api" = "yes"
17702 then
17704 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17710 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17711 #ifdef HAVE_SYS_PARAM_H
17712 # include <sys/param.h>
17713 #endif
17714 #ifdef HAVE_SYS_MOUNT_H
17715 # include <sys/mount.h>
17716 #endif
17717 #ifdef HAVE_SYS_VFS_H
17718 # include <sys/vfs.h>
17719 #endif
17720 #ifdef HAVE_SYS_STATFS_H
17721 # include <sys/statfs.h>
17722 #endif
17724 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17726 cat >>confdefs.h <<_ACEOF
17727 #define HAVE_STRUCT_STATFS_F_BFREE 1
17728 _ACEOF
17732 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17733 #ifdef HAVE_SYS_PARAM_H
17734 # include <sys/param.h>
17735 #endif
17736 #ifdef HAVE_SYS_MOUNT_H
17737 # include <sys/mount.h>
17738 #endif
17739 #ifdef HAVE_SYS_VFS_H
17740 # include <sys/vfs.h>
17741 #endif
17742 #ifdef HAVE_SYS_STATFS_H
17743 # include <sys/statfs.h>
17744 #endif
17746 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17748 cat >>confdefs.h <<_ACEOF
17749 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17750 _ACEOF
17754 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17755 #ifdef HAVE_SYS_PARAM_H
17756 # include <sys/param.h>
17757 #endif
17758 #ifdef HAVE_SYS_MOUNT_H
17759 # include <sys/mount.h>
17760 #endif
17761 #ifdef HAVE_SYS_VFS_H
17762 # include <sys/vfs.h>
17763 #endif
17764 #ifdef HAVE_SYS_STATFS_H
17765 # include <sys/statfs.h>
17766 #endif
17768 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17770 cat >>confdefs.h <<_ACEOF
17771 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17772 _ACEOF
17776 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17777 #ifdef HAVE_SYS_PARAM_H
17778 # include <sys/param.h>
17779 #endif
17780 #ifdef HAVE_SYS_MOUNT_H
17781 # include <sys/mount.h>
17782 #endif
17783 #ifdef HAVE_SYS_VFS_H
17784 # include <sys/vfs.h>
17785 #endif
17786 #ifdef HAVE_SYS_STATFS_H
17787 # include <sys/statfs.h>
17788 #endif
17790 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17792 cat >>confdefs.h <<_ACEOF
17793 #define HAVE_STRUCT_STATFS_F_FFREE 1
17794 _ACEOF
17798 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17799 #ifdef HAVE_SYS_PARAM_H
17800 # include <sys/param.h>
17801 #endif
17802 #ifdef HAVE_SYS_MOUNT_H
17803 # include <sys/mount.h>
17804 #endif
17805 #ifdef HAVE_SYS_VFS_H
17806 # include <sys/vfs.h>
17807 #endif
17808 #ifdef HAVE_SYS_STATFS_H
17809 # include <sys/statfs.h>
17810 #endif
17812 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17814 cat >>confdefs.h <<_ACEOF
17815 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17816 _ACEOF
17820 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17821 #ifdef HAVE_SYS_PARAM_H
17822 # include <sys/param.h>
17823 #endif
17824 #ifdef HAVE_SYS_MOUNT_H
17825 # include <sys/mount.h>
17826 #endif
17827 #ifdef HAVE_SYS_VFS_H
17828 # include <sys/vfs.h>
17829 #endif
17830 #ifdef HAVE_SYS_STATFS_H
17831 # include <sys/statfs.h>
17832 #endif
17834 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17836 cat >>confdefs.h <<_ACEOF
17837 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17838 _ACEOF
17844 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17845 #include <sys/statvfs.h>
17846 #endif
17848 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17850 cat >>confdefs.h <<_ACEOF
17851 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17852 _ACEOF
17858 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17859 #include <dirent.h>
17860 #endif
17862 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17864 cat >>confdefs.h <<_ACEOF
17865 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17866 _ACEOF
17872 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17873 #ifdef HAVE_SYS_SOCKET_H
17874 # include <sys/socket.h>
17875 #endif
17876 #ifdef HAVE_SYS_UN_H
17877 # include <sys/un.h>
17878 #endif
17880 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17882 cat >>confdefs.h <<_ACEOF
17883 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17884 _ACEOF
17888 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17889 #ifdef HAVE_SYS_SOCKET_H
17890 # include <sys/socket.h>
17891 #endif
17892 #ifdef HAVE_SYS_UN_H
17893 # include <sys/un.h>
17894 #endif
17896 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17898 cat >>confdefs.h <<_ACEOF
17899 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17900 _ACEOF
17904 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17905 #ifdef HAVE_SYS_SOCKET_H
17906 # include <sys/socket.h>
17907 #endif
17908 #ifdef HAVE_SYS_UN_H
17909 # include <sys/un.h>
17910 #endif
17912 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17914 cat >>confdefs.h <<_ACEOF
17915 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17916 _ACEOF
17922 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17923 #ifdef HAVE_SCSI_SG_H
17924 #include <scsi/sg.h>
17925 #endif
17927 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17929 cat >>confdefs.h <<_ACEOF
17930 #define HAVE_SCSIREQ_T_CMD 1
17931 _ACEOF
17935 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>
17936 #ifdef HAVE_SCSI_SG_H
17937 #include <scsi/sg.h>
17938 #endif
17940 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17942 cat >>confdefs.h <<_ACEOF
17943 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17944 _ACEOF
17950 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17952 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17954 cat >>confdefs.h <<_ACEOF
17955 #define HAVE_SIGINFO_T_SI_FD 1
17956 _ACEOF
17962 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17963 #ifdef HAVE_SYS_MTIO_H
17964 #include <sys/mtio.h>
17965 #endif
17967 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17969 cat >>confdefs.h <<_ACEOF
17970 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17971 _ACEOF
17975 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17976 #ifdef HAVE_SYS_MTIO_H
17977 #include <sys/mtio.h>
17978 #endif
17980 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17982 cat >>confdefs.h <<_ACEOF
17983 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17984 _ACEOF
17988 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17989 #ifdef HAVE_SYS_MTIO_H
17990 #include <sys/mtio.h>
17991 #endif
17993 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17995 cat >>confdefs.h <<_ACEOF
17996 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17997 _ACEOF
18003 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18004 #include <getopt.h>
18005 #endif
18007 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18009 cat >>confdefs.h <<_ACEOF
18010 #define HAVE_STRUCT_OPTION_NAME 1
18011 _ACEOF
18017 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18018 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18020 cat >>confdefs.h <<_ACEOF
18021 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18022 _ACEOF
18026 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18027 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18029 cat >>confdefs.h <<_ACEOF
18030 #define HAVE_STRUCT_STAT_ST_MTIM 1
18031 _ACEOF
18035 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18036 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18038 cat >>confdefs.h <<_ACEOF
18039 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18040 _ACEOF
18044 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18045 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18047 cat >>confdefs.h <<_ACEOF
18048 #define HAVE_STRUCT_STAT_ST_CTIM 1
18049 _ACEOF
18053 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18054 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18056 cat >>confdefs.h <<_ACEOF
18057 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18058 _ACEOF
18062 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18063 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18065 cat >>confdefs.h <<_ACEOF
18066 #define HAVE_STRUCT_STAT_ST_ATIM 1
18067 _ACEOF
18071 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18072 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18074 cat >>confdefs.h <<_ACEOF
18075 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18076 _ACEOF
18080 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18081 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18083 cat >>confdefs.h <<_ACEOF
18084 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18085 _ACEOF
18089 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18090 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18092 cat >>confdefs.h <<_ACEOF
18093 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18094 _ACEOF
18098 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18099 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18101 cat >>confdefs.h <<_ACEOF
18102 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18103 _ACEOF
18107 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18108 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18110 cat >>confdefs.h <<_ACEOF
18111 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18112 _ACEOF
18116 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18117 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18119 cat >>confdefs.h <<_ACEOF
18120 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18121 _ACEOF
18127 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
18128 #include <sys/types.h>
18129 #endif
18130 #ifdef HAVE_NETINET_IN_H
18131 #include <netinet/in.h>
18132 #endif
18134 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18136 cat >>confdefs.h <<_ACEOF
18137 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18138 _ACEOF
18144 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18145 #include <sys/types.h>
18146 #endif
18147 #ifdef HAVE_NETINET_IN_H
18148 #include <netinet/in.h>
18149 #endif
18150 #ifdef HAVE_RESOLV_H
18151 #include <resolv.h>
18152 #endif
18154 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18156 cat >>confdefs.h <<_ACEOF
18157 #define HAVE_STRUCT___RES_STATE 1
18158 _ACEOF
18164 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
18165 #include <resolv.h>
18166 #endif
18168 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18170 cat >>confdefs.h <<_ACEOF
18171 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18172 _ACEOF
18178 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18179 #include <sys/types.h>
18180 #endif
18181 #ifdef HAVE_NETINET_IN_H
18182 # include <netinet/in.h>
18183 #endif
18184 #ifdef HAVE_ARPA_NAMESER_H
18185 # include <arpa/nameser.h>
18186 #endif
18188 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18190 cat >>confdefs.h <<_ACEOF
18191 #define HAVE_NS_MSG__MSG_PTR 1
18192 _ACEOF
18198 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18199 #include <sys/types.h>
18200 #endif
18201 #ifdef HAVE_NETINET_IN_H
18202 #include <netinet/in.h>
18203 #endif
18204 #ifdef HAVE_NETINET_IP_H
18205 #include <netinet/ip.h>
18206 #endif
18207 #ifdef HAVE_NETINET_IP_ICMP_H
18208 #include <netinet/ip_icmp.h>
18209 #endif
18210 #ifdef HAVE_NETINET_ICMP_VAR_H
18211 #include <netinet/icmp_var.h>
18212 #endif
18214 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18216 cat >>confdefs.h <<_ACEOF
18217 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18218 _ACEOF
18224 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18225 #include <sys/types.h>
18226 #endif
18227 #ifdef HAVE_ALIAS_H
18228 #include <alias.h>
18229 #endif
18230 #ifdef HAVE_SYS_SOCKET_H
18231 #include <sys/socket.h>
18232 #endif
18233 #ifdef HAVE_SYS_SOCKETVAR_H
18234 #include <sys/socketvar.h>
18235 #endif
18236 #ifdef HAVE_SYS_TIMEOUT_H
18237 #include <sys/timeout.h>
18238 #endif
18239 #ifdef HAVE_NETINET_IN_H
18240 #include <netinet/in.h>
18241 #endif
18242 #ifdef HAVE_NETINET_IN_SYSTM_H
18243 #include <netinet/in_systm.h>
18244 #endif
18245 #ifdef HAVE_NETINET_IP_H
18246 #include <netinet/ip.h>
18247 #endif
18248 #ifdef HAVE_NETINET_IP_VAR_H
18249 #include <netinet/ip_var.h>
18250 #endif
18251 #ifdef HAVE_NETINET_IP_ICMP_H
18252 #include <netinet/ip_icmp.h>
18253 #endif
18254 #ifdef HAVE_NETINET_ICMP_VAR_H
18255 #include <netinet/icmp_var.h>
18256 #endif
18258 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18260 cat >>confdefs.h <<_ACEOF
18261 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18262 _ACEOF
18268 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18269 #include <sys/types.h>
18270 #endif
18271 #ifdef HAVE_SYS_SOCKETVAR_H
18272 #include <sys/socketvar.h>
18273 #endif
18274 #ifdef HAVE_NETINET_IN_H
18275 #include <netinet/in.h>
18276 #endif
18277 #ifdef HAVE_NETINET_IP_VAR_H
18278 #include <netinet/ip_var.h>
18279 #endif
18281 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18283 cat >>confdefs.h <<_ACEOF
18284 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18285 _ACEOF
18291 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
18292 #include <netinet/ip_var.h>
18293 #endif
18295 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18297 cat >>confdefs.h <<_ACEOF
18298 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18299 _ACEOF
18305 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18306 #include <sys/types.h>
18307 #endif
18308 #ifdef HAVE_SYS_SOCKETVAR_H
18309 #include <sys/socketvar.h>
18310 #endif
18311 #ifdef HAVE_NETINET_IN_H
18312 #include <netinet/in.h>
18313 #endif
18314 #ifdef HAVE_NETINET_TCP_H
18315 #include <netinet/tcp.h>
18316 #endif
18317 #ifdef HAVE_NETINET_TCP_VAR_H
18318 #include <netinet/tcp_var.h>
18319 #endif
18321 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18323 cat >>confdefs.h <<_ACEOF
18324 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18325 _ACEOF
18331 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
18332 #include <netinet/tcp_var.h>
18333 #endif
18335 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18337 cat >>confdefs.h <<_ACEOF
18338 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18339 _ACEOF
18345 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18346 #include <sys/types.h>
18347 #endif
18348 #ifdef HAVE_NETINET_IN_H
18349 #include <netinet/in.h>
18350 #endif
18351 #ifdef HAVE_NETINET_IP_VAR_H
18352 #include <netinet/ip_var.h>
18353 #endif
18354 #ifdef HAVE_NETINET_UDP_H
18355 #include <netinet/udp.h>
18356 #endif
18357 #ifdef HAVE_NETINET_UDP_VAR_H
18358 #include <netinet/udp_var.h>
18359 #endif
18361 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18363 cat >>confdefs.h <<_ACEOF
18364 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18365 _ACEOF
18371 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18372 #include <sys/types.h>
18373 #endif
18374 #ifdef HAVE_NET_IF_H
18375 # include <net/if.h>
18376 #endif
18378 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18380 cat >>confdefs.h <<_ACEOF
18381 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18382 _ACEOF
18388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18389 $as_echo_n "checking for timezone variable... " >&6; }
18390 if ${ac_cv_have_timezone+:} false; then :
18391 $as_echo_n "(cached) " >&6
18392 else
18393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18394 /* end confdefs.h. */
18395 #include <time.h>
18397 main ()
18399 timezone = 1
18401 return 0;
18403 _ACEOF
18404 if ac_fn_c_try_link "$LINENO"; then :
18405 ac_cv_have_timezone="yes"
18406 else
18407 ac_cv_have_timezone="no"
18409 rm -f core conftest.err conftest.$ac_objext \
18410 conftest$ac_exeext conftest.$ac_ext
18412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
18413 $as_echo "$ac_cv_have_timezone" >&6; }
18414 if test "$ac_cv_have_timezone" = "yes"
18415 then
18417 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
18421 $as_echo_n "checking for daylight variable... " >&6; }
18422 if ${ac_cv_have_daylight+:} false; then :
18423 $as_echo_n "(cached) " >&6
18424 else
18425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18426 /* end confdefs.h. */
18427 #include <time.h>
18429 main ()
18431 daylight = 1
18433 return 0;
18435 _ACEOF
18436 if ac_fn_c_try_link "$LINENO"; then :
18437 ac_cv_have_daylight="yes"
18438 else
18439 ac_cv_have_daylight="no"
18441 rm -f core conftest.err conftest.$ac_objext \
18442 conftest$ac_exeext conftest.$ac_ext
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
18445 $as_echo "$ac_cv_have_daylight" >&6; }
18446 if test "$ac_cv_have_daylight" = "yes"
18447 then
18449 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
18453 ac_save_LIBS="$LIBS"
18454 LIBS="$LIBS -lm"
18455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18456 $as_echo_n "checking for isfinite... " >&6; }
18457 if ${ac_cv_have_isfinite+:} false; then :
18458 $as_echo_n "(cached) " >&6
18459 else
18460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18461 /* end confdefs.h. */
18462 #define _GNU_SOURCE
18463 #include <math.h>
18465 main ()
18467 float f = 0.0; return isfinite(f)
18469 return 0;
18471 _ACEOF
18472 if ac_fn_c_try_link "$LINENO"; then :
18473 ac_cv_have_isfinite="yes"
18474 else
18475 ac_cv_have_isfinite="no"
18477 rm -f core conftest.err conftest.$ac_objext \
18478 conftest$ac_exeext conftest.$ac_ext
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18481 $as_echo "$ac_cv_have_isfinite" >&6; }
18482 if test "$ac_cv_have_isfinite" = "yes"
18483 then
18485 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18490 $as_echo_n "checking for isinf... " >&6; }
18491 if ${ac_cv_have_isinf+:} false; then :
18492 $as_echo_n "(cached) " >&6
18493 else
18494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18495 /* end confdefs.h. */
18496 #include <math.h>
18498 main ()
18500 float f = 0.0; return isinf(f)
18502 return 0;
18504 _ACEOF
18505 if ac_fn_c_try_link "$LINENO"; then :
18506 ac_cv_have_isinf="yes"
18507 else
18508 ac_cv_have_isinf="no"
18510 rm -f core conftest.err conftest.$ac_objext \
18511 conftest$ac_exeext conftest.$ac_ext
18513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18514 $as_echo "$ac_cv_have_isinf" >&6; }
18515 if test "$ac_cv_have_isinf" = "yes"
18516 then
18518 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18523 $as_echo_n "checking for isnan... " >&6; }
18524 if ${ac_cv_have_isnan+:} false; then :
18525 $as_echo_n "(cached) " >&6
18526 else
18527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18528 /* end confdefs.h. */
18529 #include <math.h>
18531 main ()
18533 float f = 0.0; return isnan(f)
18535 return 0;
18537 _ACEOF
18538 if ac_fn_c_try_link "$LINENO"; then :
18539 ac_cv_have_isnan="yes"
18540 else
18541 ac_cv_have_isnan="no"
18543 rm -f core conftest.err conftest.$ac_objext \
18544 conftest$ac_exeext conftest.$ac_ext
18546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18547 $as_echo "$ac_cv_have_isnan" >&6; }
18548 if test "$ac_cv_have_isnan" = "yes"
18549 then
18551 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18555 for ac_func in \
18556 acosh \
18557 acoshf \
18558 asinh \
18559 asinhf \
18560 atanh \
18561 atanhf \
18562 cbrt \
18563 cbrtf \
18564 erf \
18565 erfc \
18566 erfcf \
18567 erff \
18568 exp2 \
18569 exp2f \
18570 expm1 \
18571 expm1f \
18572 ilogb \
18573 ilogbf \
18574 j0 \
18575 j1 \
18576 jn \
18577 lgamma \
18578 lgammaf \
18579 llrint \
18580 llrintf \
18581 llround \
18582 llroundf \
18583 log1p \
18584 log1pf \
18585 log2 \
18586 log2f \
18587 lrint \
18588 lrintf \
18589 lround \
18590 lroundf \
18591 nearbyint \
18592 nearbyintf \
18593 nexttoward \
18594 nexttowardf \
18595 powl \
18596 remainder \
18597 remainderf \
18598 rint \
18599 rintf \
18600 round \
18601 roundf \
18602 trunc \
18603 truncf \
18604 y0 \
18605 y1 \
18608 do :
18609 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18610 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18611 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18612 cat >>confdefs.h <<_ACEOF
18613 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18614 _ACEOF
18617 done
18619 LIBS="$ac_save_LIBS"
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18622 $as_echo_n "checking for __builtin_clz... " >&6; }
18623 if ${ac_cv_have___builtin_clz+:} false; then :
18624 $as_echo_n "(cached) " >&6
18625 else
18626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18627 /* end confdefs.h. */
18630 main ()
18632 return __builtin_clz(1)
18634 return 0;
18636 _ACEOF
18637 if ac_fn_c_try_link "$LINENO"; then :
18638 ac_cv_have___builtin_clz="yes"
18639 else
18640 ac_cv_have___builtin_clz="no"
18642 rm -f core conftest.err conftest.$ac_objext \
18643 conftest$ac_exeext conftest.$ac_ext
18645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18646 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18647 if test "$ac_cv_have___builtin_clz" = "yes"
18648 then
18650 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18655 $as_echo_n "checking for __builtin_popcount... " >&6; }
18656 if ${ac_cv_have___builtin_popcount+:} false; then :
18657 $as_echo_n "(cached) " >&6
18658 else
18659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18663 main ()
18665 return __builtin_popcount(1)
18667 return 0;
18669 _ACEOF
18670 if ac_fn_c_try_link "$LINENO"; then :
18671 ac_cv_have___builtin_popcount="yes"
18672 else
18673 ac_cv_have___builtin_popcount="no"
18675 rm -f core conftest.err conftest.$ac_objext \
18676 conftest$ac_exeext conftest.$ac_ext
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18679 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18680 if test "$ac_cv_have___builtin_popcount" = "yes"
18681 then
18683 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18688 $as_echo_n "checking for __clear_cache... " >&6; }
18689 if ${ac_cv_have___clear_cache+:} false; then :
18690 $as_echo_n "(cached) " >&6
18691 else
18692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18693 /* end confdefs.h. */
18696 main ()
18698 __clear_cache((void*)0, (void*)0); return 0;
18700 return 0;
18702 _ACEOF
18703 if ac_fn_c_try_link "$LINENO"; then :
18704 ac_cv_have___clear_cache="yes"
18705 else
18706 ac_cv_have___clear_cache="no"
18708 rm -f core conftest.err conftest.$ac_objext \
18709 conftest$ac_exeext conftest.$ac_ext
18711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18712 $as_echo "$ac_cv_have___clear_cache" >&6; }
18713 if test "$ac_cv_have___clear_cache" = "yes"
18714 then
18716 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18721 case $host_cpu in
18722 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18723 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18724 if ${ac_cv_cpp_def___i386__+:} false; then :
18725 $as_echo_n "(cached) " >&6
18726 else
18727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18728 /* end confdefs.h. */
18729 #ifndef __i386__
18731 #endif
18732 _ACEOF
18733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18734 $EGREP "yes" >/dev/null 2>&1; then :
18735 ac_cv_cpp_def___i386__=yes
18736 else
18737 ac_cv_cpp_def___i386__=no
18739 rm -f conftest*
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18743 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18744 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18745 CFLAGS="$CFLAGS -D__i386__"
18746 LINTFLAGS="$LINTFLAGS -D__i386__"
18747 fi ;;
18748 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18749 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18750 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18751 $as_echo_n "(cached) " >&6
18752 else
18753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18754 /* end confdefs.h. */
18755 #ifndef __x86_64__
18757 #endif
18758 _ACEOF
18759 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18760 $EGREP "yes" >/dev/null 2>&1; then :
18761 ac_cv_cpp_def___x86_64__=yes
18762 else
18763 ac_cv_cpp_def___x86_64__=no
18765 rm -f conftest*
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18769 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18770 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18771 CFLAGS="$CFLAGS -D__x86_64__"
18772 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18773 fi ;;
18774 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18775 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18776 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18777 $as_echo_n "(cached) " >&6
18778 else
18779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18781 #ifndef __sparc64__
18783 #endif
18784 _ACEOF
18785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18786 $EGREP "yes" >/dev/null 2>&1; then :
18787 ac_cv_cpp_def___sparc64__=yes
18788 else
18789 ac_cv_cpp_def___sparc64__=no
18791 rm -f conftest*
18794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18795 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18796 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18797 CFLAGS="$CFLAGS -D__sparc64__"
18798 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18799 fi ;;
18800 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18801 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18802 if ${ac_cv_cpp_def___sparc__+:} false; then :
18803 $as_echo_n "(cached) " >&6
18804 else
18805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18806 /* end confdefs.h. */
18807 #ifndef __sparc__
18809 #endif
18810 _ACEOF
18811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18812 $EGREP "yes" >/dev/null 2>&1; then :
18813 ac_cv_cpp_def___sparc__=yes
18814 else
18815 ac_cv_cpp_def___sparc__=no
18817 rm -f conftest*
18820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18821 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18822 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18823 CFLAGS="$CFLAGS -D__sparc__"
18824 LINTFLAGS="$LINTFLAGS -D__sparc__"
18825 fi ;;
18826 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18827 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18828 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18829 $as_echo_n "(cached) " >&6
18830 else
18831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18832 /* end confdefs.h. */
18833 #ifndef __powerpc64__
18835 #endif
18836 _ACEOF
18837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18838 $EGREP "yes" >/dev/null 2>&1; then :
18839 ac_cv_cpp_def___powerpc64__=yes
18840 else
18841 ac_cv_cpp_def___powerpc64__=no
18843 rm -f conftest*
18846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18847 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18848 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18849 CFLAGS="$CFLAGS -D__powerpc64__"
18850 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18851 fi ;;
18852 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18853 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18854 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18855 $as_echo_n "(cached) " >&6
18856 else
18857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18858 /* end confdefs.h. */
18859 #ifndef __powerpc__
18861 #endif
18862 _ACEOF
18863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18864 $EGREP "yes" >/dev/null 2>&1; then :
18865 ac_cv_cpp_def___powerpc__=yes
18866 else
18867 ac_cv_cpp_def___powerpc__=no
18869 rm -f conftest*
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18873 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18874 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18875 CFLAGS="$CFLAGS -D__powerpc__"
18876 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18877 fi ;;
18878 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18879 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18880 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18881 $as_echo_n "(cached) " >&6
18882 else
18883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18884 /* end confdefs.h. */
18885 #ifndef __aarch64__
18887 #endif
18888 _ACEOF
18889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18890 $EGREP "yes" >/dev/null 2>&1; then :
18891 ac_cv_cpp_def___aarch64__=yes
18892 else
18893 ac_cv_cpp_def___aarch64__=no
18895 rm -f conftest*
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18899 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18900 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18901 CFLAGS="$CFLAGS -D__aarch64__"
18902 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18903 fi ;;
18904 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18905 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18906 if ${ac_cv_cpp_def___arm__+:} false; then :
18907 $as_echo_n "(cached) " >&6
18908 else
18909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18910 /* end confdefs.h. */
18911 #ifndef __arm__
18913 #endif
18914 _ACEOF
18915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18916 $EGREP "yes" >/dev/null 2>&1; then :
18917 ac_cv_cpp_def___arm__=yes
18918 else
18919 ac_cv_cpp_def___arm__=no
18921 rm -f conftest*
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18925 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18926 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18927 CFLAGS="$CFLAGS -D__arm__"
18928 LINTFLAGS="$LINTFLAGS -D__arm__"
18929 fi ;;
18930 esac
18932 case $host_vendor in
18933 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18934 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18935 if ${ac_cv_cpp_def___sun__+:} false; then :
18936 $as_echo_n "(cached) " >&6
18937 else
18938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18939 /* end confdefs.h. */
18940 #ifndef __sun__
18942 #endif
18943 _ACEOF
18944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18945 $EGREP "yes" >/dev/null 2>&1; then :
18946 ac_cv_cpp_def___sun__=yes
18947 else
18948 ac_cv_cpp_def___sun__=no
18950 rm -f conftest*
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18954 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18955 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18956 CFLAGS="$CFLAGS -D__sun__"
18957 LINTFLAGS="$LINTFLAGS -D__sun__"
18958 fi ;;
18959 esac
18965 ac_config_commands="$ac_config_commands include/stamp-h"
18967 $as_echo_n "creating Makefile rules..." >&6
18969 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18970 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18971 IOKIT_LIBS = $IOKIT_LIBS
18972 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18973 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18974 CORESERVICES_LIBS = $CORESERVICES_LIBS
18975 APPKIT_LIBS = $APPKIT_LIBS
18976 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18977 SECURITY_LIBS = $SECURITY_LIBS
18978 COREAUDIO_LIBS = $COREAUDIO_LIBS
18979 OPENAL_LIBS = $OPENAL_LIBS
18980 OPENCL_LIBS = $OPENCL_LIBS
18981 QUICKTIME_LIBS = $QUICKTIME_LIBS
18982 CARBON_LIBS = $CARBON_LIBS
18983 METAL_LIBS = $METAL_LIBS
18984 PTHREAD_LIBS = $PTHREAD_LIBS
18985 X_CFLAGS = $X_CFLAGS
18986 X_PRE_LIBS = $X_PRE_LIBS
18987 X_LIBS = $X_LIBS
18988 X_EXTRA_LIBS = $X_EXTRA_LIBS
18989 PCAP_LIBS = $PCAP_LIBS
18990 XML2_CFLAGS = $XML2_CFLAGS
18991 XML2_LIBS = $XML2_LIBS
18992 XSLT_CFLAGS = $XSLT_CFLAGS
18993 XSLT_LIBS = $XSLT_LIBS
18994 DBUS_CFLAGS = $DBUS_CFLAGS
18995 DBUS_LIBS = $DBUS_LIBS
18996 HAL_CFLAGS = $HAL_CFLAGS
18997 HAL_LIBS = $HAL_LIBS
18998 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18999 GNUTLS_LIBS = $GNUTLS_LIBS
19000 SANE_CFLAGS = $SANE_CFLAGS
19001 SANE_LIBS = $SANE_LIBS
19002 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19003 GPHOTO2_LIBS = $GPHOTO2_LIBS
19004 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19005 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19006 RESOLV_LIBS = $RESOLV_LIBS
19007 LCMS2_CFLAGS = $LCMS2_CFLAGS
19008 LCMS2_LIBS = $LCMS2_LIBS
19009 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19010 FREETYPE_LIBS = $FREETYPE_LIBS
19011 Z_LIBS = $Z_LIBS
19012 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19013 PULSE_CFLAGS = $PULSE_CFLAGS
19014 PULSE_LIBS = $PULSE_LIBS
19015 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19016 GSTREAMER_LIBS = $GSTREAMER_LIBS
19017 ALSA_LIBS = $ALSA_LIBS
19018 OSS4_CFLAGS = $OSS4_CFLAGS
19019 UDEV_CFLAGS = $UDEV_CFLAGS
19020 UDEV_LIBS = $UDEV_LIBS
19021 SDL2_CFLAGS = $SDL2_CFLAGS
19022 SDL2_LIBS = $SDL2_LIBS
19023 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19024 FAUDIO_LIBS = $FAUDIO_LIBS
19025 CAPI20_CFLAGS = $CAPI20_CFLAGS
19026 CAPI20_LIBS = $CAPI20_LIBS
19027 CUPS_CFLAGS = $CUPS_CFLAGS
19028 CUPS_LIBS = $CUPS_LIBS
19029 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19030 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19031 KRB5_CFLAGS = $KRB5_CFLAGS
19032 KRB5_LIBS = $KRB5_LIBS
19033 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19034 GSSAPI_LIBS = $GSSAPI_LIBS
19035 JPEG_CFLAGS = $JPEG_CFLAGS
19036 JPEG_LIBS = $JPEG_LIBS
19037 PNG_CFLAGS = $PNG_CFLAGS
19038 PNG_LIBS = $PNG_LIBS
19039 TIFF_CFLAGS = $TIFF_CFLAGS
19040 TIFF_LIBS = $TIFF_LIBS
19041 MPG123_CFLAGS = $MPG123_CFLAGS
19042 MPG123_LIBS = $MPG123_LIBS
19043 KSTAT_LIBS = $KSTAT_LIBS
19044 PROCSTAT_LIBS = $PROCSTAT_LIBS
19045 NETAPI_CFLAGS = $NETAPI_CFLAGS
19046 NETAPI_LIBS = $NETAPI_LIBS
19047 VKD3D_CFLAGS = $VKD3D_CFLAGS
19048 VKD3D_LIBS = $VKD3D_LIBS
19049 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19050 DL_LIBS = $DL_LIBS
19051 POLL_LIBS = $POLL_LIBS
19052 RT_LIBS = $RT_LIBS
19053 LDAP_CFLAGS = $LDAP_CFLAGS
19054 LDAP_LIBS = $LDAP_LIBS
19059 wine_fn_append_rule "
19060 # Rules automatically generated by configure
19062 .INIT: Makefile
19063 .MAKEFILEDEPS:
19064 all: Makefile
19065 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19066 @./config.status Make.tmp Makefile
19067 depend: \$(MAKEDEP) dummy
19068 \$(MAKEDEP)"
19070 if test "x$enable_fonts" != xno; then
19071 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19072 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19073 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19074 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19075 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19076 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19078 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19079 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19080 ac_config_links="$ac_config_links wine:tools/winewrapper"
19081 wine_fn_config_symlink wine
19082 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19083 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19084 wine_fn_config_symlink wine64
19087 wine_fn_config_makefile dlls/acledit enable_acledit
19088 wine_fn_config_makefile dlls/aclui enable_aclui
19089 wine_fn_config_makefile dlls/activeds enable_activeds
19090 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19091 wine_fn_config_makefile dlls/adsiid enable_adsiid
19092 wine_fn_config_makefile dlls/adsldp enable_adsldp
19093 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19094 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19095 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19096 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19097 wine_fn_config_makefile dlls/advpack enable_advpack
19098 wine_fn_config_makefile dlls/advpack/tests enable_tests
19099 wine_fn_config_makefile dlls/amsi enable_amsi
19100 wine_fn_config_makefile dlls/amstream enable_amstream
19101 wine_fn_config_makefile dlls/amstream/tests enable_tests
19102 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19103 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19104 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19105 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19106 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19107 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19108 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19109 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19110 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19111 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19112 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19113 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19114 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19115 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19116 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19117 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19118 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19119 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19120 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19121 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19122 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19123 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19124 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19125 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19126 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19127 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19128 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19129 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19130 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19131 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19132 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19133 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19134 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19135 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19136 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19137 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19138 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19139 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19140 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19141 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19142 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19143 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19144 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19145 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19146 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19147 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19148 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19149 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19150 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19151 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19152 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19153 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19154 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19155 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19156 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19157 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19158 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19159 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19160 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19161 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19162 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19163 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19164 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19165 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19166 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19167 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19168 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19169 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19170 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19171 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19172 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19173 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19174 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19175 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19176 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19177 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19178 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19179 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19180 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19181 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19182 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19183 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19184 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19185 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19186 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19187 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19188 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19189 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19190 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19191 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19192 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19193 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19194 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19195 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19196 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19197 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19198 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19199 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19200 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19201 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19202 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19203 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19204 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19205 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19206 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19207 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19208 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19209 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19210 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19211 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19212 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19213 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19214 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19215 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19216 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19217 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19218 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19219 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19220 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19221 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19222 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19223 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19224 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19225 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19226 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19227 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19228 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19229 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19230 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19231 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19232 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19233 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19234 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19235 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19236 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19237 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19238 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19239 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19240 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19241 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19242 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19243 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19244 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19245 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19246 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19247 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19248 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19249 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19250 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19251 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19252 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19253 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19254 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19255 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19256 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19257 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19258 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19259 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19260 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19261 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19262 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19263 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19264 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19265 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19266 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19267 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19268 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19269 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19270 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19271 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19272 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19273 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19274 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19275 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19276 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19277 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19278 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19279 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19280 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19281 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19282 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19283 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19284 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19285 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19286 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19287 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19288 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19289 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19290 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19291 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19292 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19293 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19294 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19295 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19296 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19297 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19298 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19299 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19300 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19301 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19302 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19303 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19304 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19305 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19306 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19307 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19308 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19309 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19310 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19311 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19312 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19313 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19314 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19315 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19316 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19317 wine_fn_config_makefile dlls/apphelp enable_apphelp
19318 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19319 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19320 wine_fn_config_makefile dlls/atl enable_atl
19321 wine_fn_config_makefile dlls/atl/tests enable_tests
19322 wine_fn_config_makefile dlls/atl100 enable_atl100
19323 wine_fn_config_makefile dlls/atl100/tests enable_tests
19324 wine_fn_config_makefile dlls/atl110 enable_atl110
19325 wine_fn_config_makefile dlls/atl80 enable_atl80
19326 wine_fn_config_makefile dlls/atl80/tests enable_tests
19327 wine_fn_config_makefile dlls/atl90 enable_atl90
19328 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
19329 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
19330 wine_fn_config_makefile dlls/atmlib enable_atmlib
19331 wine_fn_config_makefile dlls/authz enable_authz
19332 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19333 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19334 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19335 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19336 wine_fn_config_makefile dlls/avrt enable_avrt
19337 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19338 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19339 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19340 wine_fn_config_makefile dlls/browseui enable_browseui
19341 wine_fn_config_makefile dlls/browseui/tests enable_tests
19342 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19343 wine_fn_config_makefile dlls/cabinet enable_cabinet
19344 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19345 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19346 wine_fn_config_makefile dlls/cards enable_cards
19347 wine_fn_config_makefile dlls/cdosys enable_cdosys
19348 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19349 wine_fn_config_makefile dlls/clusapi enable_clusapi
19350 wine_fn_config_makefile dlls/combase enable_combase
19351 wine_fn_config_makefile dlls/combase/tests enable_tests
19352 wine_fn_config_makefile dlls/comcat enable_comcat
19353 wine_fn_config_makefile dlls/comcat/tests enable_tests
19354 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19355 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19356 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19357 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19358 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19359 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19360 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19361 wine_fn_config_makefile dlls/compstui enable_compstui
19362 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19363 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
19364 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19365 wine_fn_config_makefile dlls/connect enable_connect
19366 wine_fn_config_makefile dlls/credui enable_credui
19367 wine_fn_config_makefile dlls/credui/tests enable_tests
19368 wine_fn_config_makefile dlls/crtdll enable_crtdll
19369 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19370 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19371 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19372 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19373 wine_fn_config_makefile dlls/cryptext enable_cryptext
19374 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19375 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19376 wine_fn_config_makefile dlls/cryptui enable_cryptui
19377 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19378 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19379 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19380 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19381 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19382 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19383 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19384 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19385 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19386 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19387 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19388 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19389 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19390 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19391 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19392 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19393 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19394 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19395 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19396 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19397 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19398 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19399 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19400 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19401 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19402 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19403 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19404 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19405 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19406 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19407 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19408 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19409 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19410 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19411 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19412 wine_fn_config_makefile dlls/d3dim enable_d3dim
19413 wine_fn_config_makefile dlls/d3drm enable_d3drm
19414 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19415 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19416 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19417 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19418 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19419 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19420 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19421 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19422 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19423 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19424 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19425 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19426 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19427 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19428 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19429 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19430 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19431 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19432 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19433 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19434 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19435 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19436 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19437 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19438 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19439 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19440 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19441 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19442 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19443 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19444 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19445 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19446 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19447 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19448 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19449 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19450 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19451 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19452 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19453 wine_fn_config_makefile dlls/davclnt enable_davclnt
19454 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19455 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19456 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19457 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19458 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19459 wine_fn_config_makefile dlls/ddraw enable_ddraw
19460 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19461 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19462 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19463 wine_fn_config_makefile dlls/devenum enable_devenum
19464 wine_fn_config_makefile dlls/devenum/tests enable_tests
19465 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19466 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19467 wine_fn_config_makefile dlls/difxapi enable_difxapi
19468 wine_fn_config_makefile dlls/dinput enable_dinput
19469 wine_fn_config_makefile dlls/dinput/tests enable_tests
19470 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19471 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19472 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19473 wine_fn_config_makefile dlls/dispex enable_dispex
19474 wine_fn_config_makefile dlls/dispex/tests enable_tests
19475 wine_fn_config_makefile dlls/display.drv16 enable_win16
19476 wine_fn_config_makefile dlls/dmband enable_dmband
19477 wine_fn_config_makefile dlls/dmband/tests enable_tests
19478 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19479 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19480 wine_fn_config_makefile dlls/dmime enable_dmime
19481 wine_fn_config_makefile dlls/dmime/tests enable_tests
19482 wine_fn_config_makefile dlls/dmloader enable_dmloader
19483 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19484 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19485 wine_fn_config_makefile dlls/dmscript enable_dmscript
19486 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19487 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19488 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19489 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19490 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19491 wine_fn_config_makefile dlls/dmusic enable_dmusic
19492 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19493 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19494 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19495 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19496 wine_fn_config_makefile dlls/dplay enable_dplay
19497 wine_fn_config_makefile dlls/dplayx enable_dplayx
19498 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19499 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19500 wine_fn_config_makefile dlls/dpnet enable_dpnet
19501 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19502 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19503 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19504 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19505 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19506 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19507 wine_fn_config_makefile dlls/drmclien enable_drmclien
19508 wine_fn_config_makefile dlls/dsound enable_dsound
19509 wine_fn_config_makefile dlls/dsound/tests enable_tests
19510 wine_fn_config_makefile dlls/dsquery enable_dsquery
19511 wine_fn_config_makefile dlls/dssenh enable_dssenh
19512 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19513 wine_fn_config_makefile dlls/dswave enable_dswave
19514 wine_fn_config_makefile dlls/dswave/tests enable_tests
19515 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19516 wine_fn_config_makefile dlls/dwrite enable_dwrite
19517 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19518 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19519 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19520 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19521 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19522 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19523 wine_fn_config_makefile dlls/dxgi enable_dxgi
19524 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19525 wine_fn_config_makefile dlls/dxguid enable_dxguid
19526 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19527 wine_fn_config_makefile dlls/esent enable_esent
19528 wine_fn_config_makefile dlls/evr enable_evr
19529 wine_fn_config_makefile dlls/evr/tests enable_tests
19530 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19531 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19532 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19533 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19534 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19535 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
19536 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19537 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19538 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19539 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
19540 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19541 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
19542 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
19543 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19544 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19545 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19546 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
19547 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19548 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
19549 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19550 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19551 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
19552 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19553 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
19554 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
19555 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19556 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19557 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19558 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19559 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19560 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19561 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
19562 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19563 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19564 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
19565 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19566 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19567 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19568 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19569 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19570 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19571 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19572 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
19573 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19574 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19575 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19576 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19577 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19578 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19579 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19580 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19581 wine_fn_config_makefile dlls/faultrep enable_faultrep
19582 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19583 wine_fn_config_makefile dlls/feclient enable_feclient
19584 wine_fn_config_makefile dlls/fltlib enable_fltlib
19585 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19586 wine_fn_config_makefile dlls/fntcache enable_fntcache
19587 wine_fn_config_makefile dlls/fontsub enable_fontsub
19588 wine_fn_config_makefile dlls/fusion enable_fusion
19589 wine_fn_config_makefile dlls/fusion/tests enable_tests
19590 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19591 wine_fn_config_makefile dlls/gameux enable_gameux
19592 wine_fn_config_makefile dlls/gameux/tests enable_tests
19593 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19594 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19595 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19596 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19597 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19598 wine_fn_config_makefile dlls/glu32 enable_glu32
19599 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19600 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19601 wine_fn_config_makefile dlls/hal enable_hal
19602 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19603 wine_fn_config_makefile dlls/hid enable_hid
19604 wine_fn_config_makefile dlls/hid/tests enable_tests
19605 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19606 wine_fn_config_makefile dlls/hlink enable_hlink
19607 wine_fn_config_makefile dlls/hlink/tests enable_tests
19608 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19609 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19610 wine_fn_config_makefile dlls/httpapi enable_httpapi
19611 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19612 wine_fn_config_makefile dlls/iccvid enable_iccvid
19613 wine_fn_config_makefile dlls/icmp enable_icmp
19614 wine_fn_config_makefile dlls/ieframe enable_ieframe
19615 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19616 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19617 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19618 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19619 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19620 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19621 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19622 wine_fn_config_makefile dlls/imm32 enable_imm32
19623 wine_fn_config_makefile dlls/imm32/tests enable_tests
19624 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19625 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19626 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19627 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19628 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19629 wine_fn_config_makefile dlls/infosoft enable_infosoft
19630 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19631 wine_fn_config_makefile dlls/initpki enable_initpki
19632 wine_fn_config_makefile dlls/inkobj enable_inkobj
19633 wine_fn_config_makefile dlls/inseng enable_inseng
19634 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19635 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19636 wine_fn_config_makefile dlls/iprop enable_iprop
19637 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19638 wine_fn_config_makefile dlls/itircl enable_itircl
19639 wine_fn_config_makefile dlls/itss enable_itss
19640 wine_fn_config_makefile dlls/itss/tests enable_tests
19641 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19642 wine_fn_config_makefile dlls/jscript enable_jscript
19643 wine_fn_config_makefile dlls/jscript/tests enable_tests
19644 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19645 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19646 wine_fn_config_makefile dlls/kerberos enable_kerberos
19647 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19648 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19649 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19650 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19651 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19652 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19653 wine_fn_config_makefile dlls/ksuser enable_ksuser
19654 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19655 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19656 wine_fn_config_makefile dlls/loadperf enable_loadperf
19657 wine_fn_config_makefile dlls/localspl enable_localspl
19658 wine_fn_config_makefile dlls/localspl/tests enable_tests
19659 wine_fn_config_makefile dlls/localui enable_localui
19660 wine_fn_config_makefile dlls/localui/tests enable_tests
19661 wine_fn_config_makefile dlls/lz32 enable_lz32
19662 wine_fn_config_makefile dlls/lz32/tests enable_tests
19663 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19664 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19665 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19666 wine_fn_config_makefile dlls/mapistub enable_mapistub
19667 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19668 wine_fn_config_makefile dlls/mcicda enable_mcicda
19669 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19670 wine_fn_config_makefile dlls/mciseq enable_mciseq
19671 wine_fn_config_makefile dlls/mciwave enable_mciwave
19672 wine_fn_config_makefile dlls/mf enable_mf
19673 wine_fn_config_makefile dlls/mf/tests enable_tests
19674 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19675 wine_fn_config_makefile dlls/mfplat enable_mfplat
19676 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19677 wine_fn_config_makefile dlls/mfplay enable_mfplay
19678 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19679 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
19680 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19681 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19682 wine_fn_config_makefile dlls/midimap enable_midimap
19683 wine_fn_config_makefile dlls/mlang enable_mlang
19684 wine_fn_config_makefile dlls/mlang/tests enable_tests
19685 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19686 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19687 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19688 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19689 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19690 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19691 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19692 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19693 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19694 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19695 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19696 wine_fn_config_makefile dlls/mpr enable_mpr
19697 wine_fn_config_makefile dlls/mpr/tests enable_tests
19698 wine_fn_config_makefile dlls/mprapi enable_mprapi
19699 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19700 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19701 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19702 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19703 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19704 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19705 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19706 wine_fn_config_makefile dlls/mscms enable_mscms
19707 wine_fn_config_makefile dlls/mscms/tests enable_tests
19708 wine_fn_config_makefile dlls/mscoree enable_mscoree
19709 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19710 wine_fn_config_makefile dlls/msctf enable_msctf
19711 wine_fn_config_makefile dlls/msctf/tests enable_tests
19712 wine_fn_config_makefile dlls/msctfp enable_msctfp
19713 wine_fn_config_makefile dlls/msdaps enable_msdaps
19714 wine_fn_config_makefile dlls/msdelta enable_msdelta
19715 wine_fn_config_makefile dlls/msdmo enable_msdmo
19716 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19717 wine_fn_config_makefile dlls/msdrm enable_msdrm
19718 wine_fn_config_makefile dlls/msftedit enable_msftedit
19719 wine_fn_config_makefile dlls/msftedit/tests enable_tests
19720 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19721 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19722 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19723 wine_fn_config_makefile dlls/mshtml enable_mshtml
19724 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19725 wine_fn_config_makefile dlls/msi enable_msi
19726 wine_fn_config_makefile dlls/msi/tests enable_tests
19727 wine_fn_config_makefile dlls/msident enable_msident
19728 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19729 wine_fn_config_makefile dlls/msimsg enable_msimsg
19730 wine_fn_config_makefile dlls/msimtf enable_msimtf
19731 wine_fn_config_makefile dlls/msisip enable_msisip
19732 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19733 wine_fn_config_makefile dlls/msls31 enable_msls31
19734 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19735 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19736 wine_fn_config_makefile dlls/msports enable_msports
19737 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19738 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19739 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19740 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19741 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19742 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19743 wine_fn_config_makefile dlls/mstask enable_mstask
19744 wine_fn_config_makefile dlls/mstask/tests enable_tests
19745 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19746 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19747 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19748 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19749 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19750 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19751 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19752 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19753 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19754 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19755 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19756 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19757 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19758 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19759 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19760 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19761 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19762 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19763 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19764 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19765 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19766 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19767 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19768 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19769 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19770 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19771 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19772 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19773 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19774 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19775 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19776 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19777 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19778 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19779 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19780 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19781 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19782 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19783 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19784 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19785 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19786 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19787 wine_fn_config_makefile dlls/mswsock enable_mswsock
19788 wine_fn_config_makefile dlls/msxml enable_msxml
19789 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19790 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19791 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19792 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19793 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19794 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19795 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19796 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19797 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19798 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19799 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19800 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19801 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19802 wine_fn_config_makefile dlls/netprofm enable_netprofm
19803 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19804 wine_fn_config_makefile dlls/newdev enable_newdev
19805 wine_fn_config_makefile dlls/ninput enable_ninput
19806 wine_fn_config_makefile dlls/ninput/tests enable_tests
19807 wine_fn_config_makefile dlls/normaliz enable_normaliz
19808 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19809 wine_fn_config_makefile dlls/npptools enable_npptools
19810 wine_fn_config_makefile dlls/ntdll enable_ntdll
19811 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19812 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19813 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19814 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19815 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19816 wine_fn_config_makefile dlls/ntprint enable_ntprint
19817 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19818 wine_fn_config_makefile dlls/objsel enable_objsel
19819 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19820 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19821 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19822 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19823 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19824 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19825 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19826 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19827 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19828 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19829 wine_fn_config_makefile dlls/ole32 enable_ole32
19830 wine_fn_config_makefile dlls/ole32/tests enable_tests
19831 wine_fn_config_makefile dlls/oleacc enable_oleacc
19832 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19833 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19834 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19835 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19836 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19837 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19838 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19839 wine_fn_config_makefile dlls/oledlg enable_oledlg
19840 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19841 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19842 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19843 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19844 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19845 wine_fn_config_makefile dlls/opcservices enable_opcservices
19846 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19847 wine_fn_config_makefile dlls/openal32 enable_openal32
19848 wine_fn_config_makefile dlls/opencl enable_opencl
19849 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19850 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19851 wine_fn_config_makefile dlls/packager enable_packager
19852 wine_fn_config_makefile dlls/packager/tests enable_tests
19853 wine_fn_config_makefile dlls/pdh enable_pdh
19854 wine_fn_config_makefile dlls/pdh/tests enable_tests
19855 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19856 wine_fn_config_makefile dlls/pidgen enable_pidgen
19857 wine_fn_config_makefile dlls/powrprof enable_powrprof
19858 wine_fn_config_makefile dlls/printui enable_printui
19859 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19860 wine_fn_config_makefile dlls/propsys enable_propsys
19861 wine_fn_config_makefile dlls/propsys/tests enable_tests
19862 wine_fn_config_makefile dlls/psapi enable_psapi
19863 wine_fn_config_makefile dlls/psapi/tests enable_tests
19864 wine_fn_config_makefile dlls/pstorec enable_pstorec
19865 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19866 wine_fn_config_makefile dlls/qcap enable_qcap
19867 wine_fn_config_makefile dlls/qcap/tests enable_tests
19868 wine_fn_config_makefile dlls/qedit enable_qedit
19869 wine_fn_config_makefile dlls/qedit/tests enable_tests
19870 wine_fn_config_makefile dlls/qmgr enable_qmgr
19871 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19872 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19873 wine_fn_config_makefile dlls/quartz enable_quartz
19874 wine_fn_config_makefile dlls/quartz/tests enable_tests
19875 wine_fn_config_makefile dlls/query enable_query
19876 wine_fn_config_makefile dlls/qwave enable_qwave
19877 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19878 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19879 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19880 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19881 wine_fn_config_makefile dlls/regapi enable_regapi
19882 wine_fn_config_makefile dlls/resutils enable_resutils
19883 wine_fn_config_makefile dlls/riched20 enable_riched20
19884 wine_fn_config_makefile dlls/riched20/tests enable_tests
19885 wine_fn_config_makefile dlls/riched32 enable_riched32
19886 wine_fn_config_makefile dlls/riched32/tests enable_tests
19887 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19888 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19889 wine_fn_config_makefile dlls/rsabase enable_rsabase
19890 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19891 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19892 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19893 wine_fn_config_makefile dlls/rtutils enable_rtutils
19894 wine_fn_config_makefile dlls/samlib enable_samlib
19895 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19896 wine_fn_config_makefile dlls/sapi enable_sapi
19897 wine_fn_config_makefile dlls/sapi/tests enable_tests
19898 wine_fn_config_makefile dlls/sas enable_sas
19899 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19900 wine_fn_config_makefile dlls/sccbase enable_sccbase
19901 wine_fn_config_makefile dlls/schannel enable_schannel
19902 wine_fn_config_makefile dlls/schannel/tests enable_tests
19903 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19904 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19905 wine_fn_config_makefile dlls/scrobj enable_scrobj
19906 wine_fn_config_makefile dlls/scrrun enable_scrrun
19907 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19908 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19909 wine_fn_config_makefile dlls/secur32 enable_secur32
19910 wine_fn_config_makefile dlls/secur32/tests enable_tests
19911 wine_fn_config_makefile dlls/security enable_security
19912 wine_fn_config_makefile dlls/sensapi enable_sensapi
19913 wine_fn_config_makefile dlls/serialui enable_serialui
19914 wine_fn_config_makefile dlls/serialui/tests enable_tests
19915 wine_fn_config_makefile dlls/setupapi enable_setupapi
19916 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19917 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19918 wine_fn_config_makefile dlls/sfc enable_sfc
19919 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19920 wine_fn_config_makefile dlls/shcore enable_shcore
19921 wine_fn_config_makefile dlls/shcore/tests enable_tests
19922 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19923 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19924 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19925 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19926 wine_fn_config_makefile dlls/shell32 enable_shell32
19927 wine_fn_config_makefile dlls/shell32/tests enable_tests
19928 wine_fn_config_makefile dlls/shfolder enable_shfolder
19929 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19930 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19931 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19932 wine_fn_config_makefile dlls/slc enable_slc
19933 wine_fn_config_makefile dlls/slc/tests enable_tests
19934 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19935 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19936 wine_fn_config_makefile dlls/softpub enable_softpub
19937 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19938 wine_fn_config_makefile dlls/spoolss enable_spoolss
19939 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19940 wine_fn_config_makefile dlls/srclient enable_srclient
19941 wine_fn_config_makefile dlls/sspicli enable_sspicli
19942 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19943 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19944 wine_fn_config_makefile dlls/sti enable_sti
19945 wine_fn_config_makefile dlls/sti/tests enable_tests
19946 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19947 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19948 wine_fn_config_makefile dlls/strmbase enable_strmbase
19949 wine_fn_config_makefile dlls/strmdll enable_strmdll
19950 wine_fn_config_makefile dlls/strmiids enable_strmiids
19951 wine_fn_config_makefile dlls/svrapi enable_svrapi
19952 wine_fn_config_makefile dlls/sxs enable_sxs
19953 wine_fn_config_makefile dlls/sxs/tests enable_tests
19954 wine_fn_config_makefile dlls/system.drv16 enable_win16
19955 wine_fn_config_makefile dlls/t2embed enable_t2embed
19956 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19957 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19958 wine_fn_config_makefile dlls/taskschd enable_taskschd
19959 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19960 wine_fn_config_makefile dlls/tdh enable_tdh
19961 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19962 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19963 wine_fn_config_makefile dlls/traffic enable_traffic
19964 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19965 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19966 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19967 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19968 wine_fn_config_makefile dlls/tzres enable_tzres
19969 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19970 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19971 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19972 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
19973 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19974 wine_fn_config_makefile dlls/unicows enable_unicows
19975 wine_fn_config_makefile dlls/updspapi enable_updspapi
19976 wine_fn_config_makefile dlls/url enable_url
19977 wine_fn_config_makefile dlls/urlmon enable_urlmon
19978 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19979 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19980 wine_fn_config_makefile dlls/user.exe16 enable_win16
19981 wine_fn_config_makefile dlls/user32 enable_user32
19982 wine_fn_config_makefile dlls/user32/tests enable_tests
19983 wine_fn_config_makefile dlls/userenv enable_userenv
19984 wine_fn_config_makefile dlls/userenv/tests enable_tests
19985 wine_fn_config_makefile dlls/usp10 enable_usp10
19986 wine_fn_config_makefile dlls/usp10/tests enable_tests
19987 wine_fn_config_makefile dlls/uuid enable_uuid
19988 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19989 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19990 wine_fn_config_makefile dlls/vbscript enable_vbscript
19991 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19992 wine_fn_config_makefile dlls/vcomp enable_vcomp
19993 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19994 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19995 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19996 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19997 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19998 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19999 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20000 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20001 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20002 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20003 wine_fn_config_makefile dlls/version enable_version
20004 wine_fn_config_makefile dlls/version/tests enable_tests
20005 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20006 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20007 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20008 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20009 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20010 wine_fn_config_makefile dlls/vssapi enable_vssapi
20011 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20012 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20013 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20014 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20015 wine_fn_config_makefile dlls/w32skrnl enable_win16
20016 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20017 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20018 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20019 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20020 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20021 wine_fn_config_makefile dlls/wdscore enable_wdscore
20022 wine_fn_config_makefile dlls/webservices enable_webservices
20023 wine_fn_config_makefile dlls/webservices/tests enable_tests
20024 wine_fn_config_makefile dlls/wer enable_wer
20025 wine_fn_config_makefile dlls/wer/tests enable_tests
20026 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20027 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20028 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20029 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20030 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20031 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20032 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20033 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20034 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20035 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20036 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20037 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20038 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20039 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20040 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20041 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20042 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20043 wine_fn_config_makefile dlls/wined3d enable_wined3d
20044 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20045 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20046 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20047 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20048 wine_fn_config_makefile dlls/winemapi enable_winemapi
20049 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20050 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20051 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20052 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20053 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20054 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20055 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20056 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20057 wine_fn_config_makefile dlls/wing32 enable_wing32
20058 wine_fn_config_makefile dlls/winhttp enable_winhttp
20059 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20060 wine_fn_config_makefile dlls/wininet enable_wininet
20061 wine_fn_config_makefile dlls/wininet/tests enable_tests
20062 wine_fn_config_makefile dlls/winmm enable_winmm
20063 wine_fn_config_makefile dlls/winmm/tests enable_tests
20064 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20065 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20066 wine_fn_config_makefile dlls/winscard enable_winscard
20067 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20068 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20069 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20070 wine_fn_config_makefile dlls/winsta enable_winsta
20071 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20072 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20073 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20074 wine_fn_config_makefile dlls/wintrust enable_wintrust
20075 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20076 wine_fn_config_makefile dlls/winusb enable_winusb
20077 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20078 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20079 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20080 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20081 wine_fn_config_makefile dlls/wmasf enable_wmasf
20082 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20083 wine_fn_config_makefile dlls/wmi enable_wmi
20084 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20085 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20086 wine_fn_config_makefile dlls/wmp enable_wmp
20087 wine_fn_config_makefile dlls/wmp/tests enable_tests
20088 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20089 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20090 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20091 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20092 wine_fn_config_makefile dlls/wow32 enable_win16
20093 wine_fn_config_makefile dlls/wpc enable_wpc
20094 wine_fn_config_makefile dlls/wpc/tests enable_tests
20095 wine_fn_config_makefile dlls/wpcap enable_wpcap
20096 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20097 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20098 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20099 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20100 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20101 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20102 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20103 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20104 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20105 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20106 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20107 wine_fn_config_makefile dlls/wuapi enable_wuapi
20108 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20109 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20110 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20111 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20112 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20113 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20114 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20115 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20116 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20117 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20118 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20119 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20120 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20121 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20122 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20123 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20124 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20125 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20126 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20127 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20128 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20129 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20130 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20131 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20132 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20133 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20134 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20135 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20136 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20137 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20138 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20139 wine_fn_config_makefile dlls/xmllite enable_xmllite
20140 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20141 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20142 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20143 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20144 wine_fn_config_makefile fonts enable_fonts
20145 wine_fn_config_makefile include enable_include
20146 wine_fn_config_makefile libs/port enable_port
20147 wine_fn_config_makefile libs/wine enable_wine
20148 wine_fn_config_makefile libs/wpp enable_wpp
20149 wine_fn_config_makefile loader enable_loader
20150 wine_fn_config_makefile po enable_po
20151 wine_fn_config_makefile programs/arp enable_arp
20152 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20153 wine_fn_config_makefile programs/attrib enable_attrib
20154 wine_fn_config_makefile programs/cabarc enable_cabarc
20155 wine_fn_config_makefile programs/cacls enable_cacls
20156 wine_fn_config_makefile programs/clock enable_clock
20157 wine_fn_config_makefile programs/cmd enable_cmd
20158 wine_fn_config_makefile programs/cmd/tests enable_tests
20159 wine_fn_config_makefile programs/conhost enable_conhost
20160 wine_fn_config_makefile programs/control enable_control
20161 wine_fn_config_makefile programs/cscript enable_cscript
20162 wine_fn_config_makefile programs/dism enable_dism
20163 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20164 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20165 wine_fn_config_makefile programs/eject enable_eject
20166 wine_fn_config_makefile programs/expand enable_expand
20167 wine_fn_config_makefile programs/explorer enable_explorer
20168 wine_fn_config_makefile programs/extrac32 enable_extrac32
20169 wine_fn_config_makefile programs/fc enable_fc
20170 wine_fn_config_makefile programs/find enable_find
20171 wine_fn_config_makefile programs/findstr enable_findstr
20172 wine_fn_config_makefile programs/fsutil enable_fsutil
20173 wine_fn_config_makefile programs/hh enable_hh
20174 wine_fn_config_makefile programs/hostname enable_hostname
20175 wine_fn_config_makefile programs/icacls enable_icacls
20176 wine_fn_config_makefile programs/icinfo enable_icinfo
20177 wine_fn_config_makefile programs/iexplore enable_iexplore
20178 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20179 wine_fn_config_makefile programs/lodctr enable_lodctr
20180 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20181 wine_fn_config_makefile programs/mshta enable_mshta
20182 wine_fn_config_makefile programs/msidb enable_msidb
20183 wine_fn_config_makefile programs/msiexec enable_msiexec
20184 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20185 wine_fn_config_makefile programs/net enable_net
20186 wine_fn_config_makefile programs/netsh enable_netsh
20187 wine_fn_config_makefile programs/netstat enable_netstat
20188 wine_fn_config_makefile programs/ngen enable_ngen
20189 wine_fn_config_makefile programs/notepad enable_notepad
20190 wine_fn_config_makefile programs/oleview enable_oleview
20191 wine_fn_config_makefile programs/ping enable_ping
20192 wine_fn_config_makefile programs/plugplay enable_plugplay
20193 wine_fn_config_makefile programs/powershell enable_powershell
20194 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20195 wine_fn_config_makefile programs/progman enable_progman
20196 wine_fn_config_makefile programs/reg enable_reg
20197 wine_fn_config_makefile programs/reg/tests enable_tests
20198 wine_fn_config_makefile programs/regasm enable_regasm
20199 wine_fn_config_makefile programs/regedit enable_regedit
20200 wine_fn_config_makefile programs/regedit/tests enable_tests
20201 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20202 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20203 wine_fn_config_makefile programs/rpcss enable_rpcss
20204 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20205 wine_fn_config_makefile programs/rundll32 enable_rundll32
20206 wine_fn_config_makefile programs/sc enable_sc
20207 wine_fn_config_makefile programs/schtasks enable_schtasks
20208 wine_fn_config_makefile programs/schtasks/tests enable_tests
20209 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20210 wine_fn_config_makefile programs/secedit enable_secedit
20211 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20212 wine_fn_config_makefile programs/services enable_services
20213 wine_fn_config_makefile programs/services/tests enable_tests
20214 wine_fn_config_makefile programs/shutdown enable_shutdown
20215 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20216 wine_fn_config_makefile programs/start enable_start
20217 wine_fn_config_makefile programs/subst enable_subst
20218 wine_fn_config_makefile programs/svchost enable_svchost
20219 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20220 wine_fn_config_makefile programs/taskkill enable_taskkill
20221 wine_fn_config_makefile programs/tasklist enable_tasklist
20222 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20223 wine_fn_config_makefile programs/termsv enable_termsv
20224 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20225 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20226 wine_fn_config_makefile programs/view enable_view
20227 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20228 wine_fn_config_makefile programs/wineboot enable_wineboot
20229 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20230 wine_fn_config_makefile programs/winecfg enable_winecfg
20231 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20232 wine_fn_config_makefile programs/winedbg enable_winedbg
20233 wine_fn_config_makefile programs/winedevice enable_winedevice
20234 wine_fn_config_makefile programs/winefile enable_winefile
20235 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20236 wine_fn_config_makefile programs/winemine enable_winemine
20237 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20238 wine_fn_config_makefile programs/winepath enable_winepath
20239 wine_fn_config_makefile programs/winetest enable_winetest
20240 wine_fn_config_makefile programs/winevdm enable_win16
20241 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20242 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20243 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20244 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20245 wine_fn_config_makefile programs/winver enable_winver
20246 wine_fn_config_makefile programs/wmic enable_wmic
20247 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20248 wine_fn_config_makefile programs/wordpad enable_wordpad
20249 wine_fn_config_makefile programs/write enable_write
20250 wine_fn_config_makefile programs/wscript enable_wscript
20251 wine_fn_config_makefile programs/wscript/tests enable_tests
20252 wine_fn_config_makefile programs/wusa enable_wusa
20253 wine_fn_config_makefile programs/xcopy enable_xcopy
20254 wine_fn_config_makefile programs/xcopy/tests enable_tests
20255 wine_fn_config_makefile server enable_server
20256 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20257 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20258 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20259 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20260 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20261 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20262 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20263 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20264 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20267 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20268 wine_fn_append_file CONFIGURE_TARGETS "tags"
20269 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20270 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20271 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20272 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20273 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20274 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20276 if test "x$enable_tools" != xno
20277 then
20278 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20279 ac_config_commands="$ac_config_commands tools/makedep"
20283 ac_config_commands="$ac_config_commands Makefile"
20286 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20290 if test "x$enable_maintainer_mode" = xyes
20291 then
20292 wine_fn_append_rule "configure: configure.ac aclocal.m4
20293 autoconf --warnings=all
20294 include/config.h.in: include/stamp-h.in
20295 include/stamp-h.in: configure.ac aclocal.m4
20296 autoheader --warnings=all
20297 @echo timestamp > \$@"
20300 if test "x$enable_tools" != xno
20301 then
20302 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20303 @./config.status tools/makedep
20304 Makefile: tools/makedep$ac_exeext
20305 fonts: tools/sfnt2fon
20306 include: tools tools/widl"
20307 else
20308 wine_fn_append_rule "\$(MAKEDEP):
20309 @echo \"You need to run make in $TOOLSDIR first\" && false"
20312 if test -n "$with_wine64"
20313 then
20314 case "$with_wine64" in
20315 /*) reldir="" ;;
20316 *) reldir="../" ;;
20317 esac
20318 rm -f fonts server 2>/dev/null
20319 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20320 loader/wine64 loader/wine64-preloader:
20321 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20322 $with_wine64/loader/wine:
20323 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20324 $with_wine64/loader/wine-preloader:
20325 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20326 clean::
20327 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20328 else
20329 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
20330 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
20331 fonts \
20332 loader/l_intl.nls \
20333 loader/wine.inf \
20334 programs/msidb/msidb \
20335 programs/msiexec/msiexec \
20336 programs/notepad/notepad \
20337 programs/regedit/regedit \
20338 programs/regsvr32/regsvr32 \
20339 programs/wineboot/wineboot \
20340 programs/winecfg/winecfg \
20341 programs/wineconsole/wineconsole \
20342 programs/winedbg/winedbg \
20343 programs/winefile/winefile \
20344 programs/winemine/winemine \
20345 programs/winepath/winepath \
20346 server/wineserver"
20348 case $host_os in
20349 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20350 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
20351 esac
20354 $as_echo " done" >&6
20355 cat >confcache <<\_ACEOF
20356 # This file is a shell script that caches the results of configure
20357 # tests run on this system so they can be shared between configure
20358 # scripts and configure runs, see configure's option --config-cache.
20359 # It is not useful on other systems. If it contains results you don't
20360 # want to keep, you may remove or edit it.
20362 # config.status only pays attention to the cache file if you give it
20363 # the --recheck option to rerun configure.
20365 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20366 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20367 # following values.
20369 _ACEOF
20371 # The following way of writing the cache mishandles newlines in values,
20372 # but we know of no workaround that is simple, portable, and efficient.
20373 # So, we kill variables containing newlines.
20374 # Ultrix sh set writes to stderr and can't be redirected directly,
20375 # and sets the high bit in the cache file unless we assign to the vars.
20377 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20378 eval ac_val=\$$ac_var
20379 case $ac_val in #(
20380 *${as_nl}*)
20381 case $ac_var in #(
20382 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20383 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20384 esac
20385 case $ac_var in #(
20386 _ | IFS | as_nl) ;; #(
20387 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20388 *) { eval $ac_var=; unset $ac_var;} ;;
20389 esac ;;
20390 esac
20391 done
20393 (set) 2>&1 |
20394 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20395 *${as_nl}ac_space=\ *)
20396 # `set' does not quote correctly, so add quotes: double-quote
20397 # substitution turns \\\\ into \\, and sed turns \\ into \.
20398 sed -n \
20399 "s/'/'\\\\''/g;
20400 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20401 ;; #(
20403 # `set' quotes correctly as required by POSIX, so do not add quotes.
20404 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20406 esac |
20407 sort
20409 sed '
20410 /^ac_cv_env_/b end
20411 t clear
20412 :clear
20413 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20414 t end
20415 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20416 :end' >>confcache
20417 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20418 if test -w "$cache_file"; then
20419 if test "x$cache_file" != "x/dev/null"; then
20420 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20421 $as_echo "$as_me: updating cache $cache_file" >&6;}
20422 if test ! -f "$cache_file" || test -h "$cache_file"; then
20423 cat confcache >"$cache_file"
20424 else
20425 case $cache_file in #(
20426 */* | ?:*)
20427 mv -f confcache "$cache_file"$$ &&
20428 mv -f "$cache_file"$$ "$cache_file" ;; #(
20430 mv -f confcache "$cache_file" ;;
20431 esac
20434 else
20435 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20436 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20439 rm -f confcache
20441 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20442 # Let make expand exec_prefix.
20443 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20445 DEFS=-DHAVE_CONFIG_H
20447 ac_libobjs=
20448 ac_ltlibobjs=
20450 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20451 # 1. Remove the extension, and $U if already installed.
20452 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20453 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20454 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20455 # will be set to the directory where LIBOBJS objects are built.
20456 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20457 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20458 done
20459 LIBOBJS=$ac_libobjs
20461 LTLIBOBJS=$ac_ltlibobjs
20465 : "${CONFIG_STATUS=./config.status}"
20466 ac_write_fail=0
20467 ac_clean_files_save=$ac_clean_files
20468 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20470 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20471 as_write_fail=0
20472 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20473 #! $SHELL
20474 # Generated by $as_me.
20475 # Run this file to recreate the current configuration.
20476 # Compiler output produced by configure, useful for debugging
20477 # configure, is in config.log if it exists.
20479 debug=false
20480 ac_cs_recheck=false
20481 ac_cs_silent=false
20483 SHELL=\${CONFIG_SHELL-$SHELL}
20484 export SHELL
20485 _ASEOF
20486 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20487 ## -------------------- ##
20488 ## M4sh Initialization. ##
20489 ## -------------------- ##
20491 # Be more Bourne compatible
20492 DUALCASE=1; export DUALCASE # for MKS sh
20493 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20494 emulate sh
20495 NULLCMD=:
20496 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20497 # is contrary to our usage. Disable this feature.
20498 alias -g '${1+"$@"}'='"$@"'
20499 setopt NO_GLOB_SUBST
20500 else
20501 case `(set -o) 2>/dev/null` in #(
20502 *posix*) :
20503 set -o posix ;; #(
20504 *) :
20506 esac
20510 as_nl='
20512 export as_nl
20513 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20514 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20515 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20516 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20517 # Prefer a ksh shell builtin over an external printf program on Solaris,
20518 # but without wasting forks for bash or zsh.
20519 if test -z "$BASH_VERSION$ZSH_VERSION" \
20520 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20521 as_echo='print -r --'
20522 as_echo_n='print -rn --'
20523 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20524 as_echo='printf %s\n'
20525 as_echo_n='printf %s'
20526 else
20527 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20528 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20529 as_echo_n='/usr/ucb/echo -n'
20530 else
20531 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20532 as_echo_n_body='eval
20533 arg=$1;
20534 case $arg in #(
20535 *"$as_nl"*)
20536 expr "X$arg" : "X\\(.*\\)$as_nl";
20537 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20538 esac;
20539 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20541 export as_echo_n_body
20542 as_echo_n='sh -c $as_echo_n_body as_echo'
20544 export as_echo_body
20545 as_echo='sh -c $as_echo_body as_echo'
20548 # The user is always right.
20549 if test "${PATH_SEPARATOR+set}" != set; then
20550 PATH_SEPARATOR=:
20551 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20552 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20553 PATH_SEPARATOR=';'
20558 # IFS
20559 # We need space, tab and new line, in precisely that order. Quoting is
20560 # there to prevent editors from complaining about space-tab.
20561 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20562 # splitting by setting IFS to empty value.)
20563 IFS=" "" $as_nl"
20565 # Find who we are. Look in the path if we contain no directory separator.
20566 as_myself=
20567 case $0 in #((
20568 *[\\/]* ) as_myself=$0 ;;
20569 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20570 for as_dir in $PATH
20572 IFS=$as_save_IFS
20573 test -z "$as_dir" && as_dir=.
20574 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20575 done
20576 IFS=$as_save_IFS
20579 esac
20580 # We did not find ourselves, most probably we were run as `sh COMMAND'
20581 # in which case we are not to be found in the path.
20582 if test "x$as_myself" = x; then
20583 as_myself=$0
20585 if test ! -f "$as_myself"; then
20586 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20587 exit 1
20590 # Unset variables that we do not need and which cause bugs (e.g. in
20591 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20592 # suppresses any "Segmentation fault" message there. '((' could
20593 # trigger a bug in pdksh 5.2.14.
20594 for as_var in BASH_ENV ENV MAIL MAILPATH
20595 do eval test x\${$as_var+set} = xset \
20596 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20597 done
20598 PS1='$ '
20599 PS2='> '
20600 PS4='+ '
20602 # NLS nuisances.
20603 LC_ALL=C
20604 export LC_ALL
20605 LANGUAGE=C
20606 export LANGUAGE
20608 # CDPATH.
20609 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20612 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20613 # ----------------------------------------
20614 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20615 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20616 # script with STATUS, using 1 if that was 0.
20617 as_fn_error ()
20619 as_status=$1; test $as_status -eq 0 && as_status=1
20620 if test "$4"; then
20621 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20622 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20624 $as_echo "$as_me: error: $2" >&2
20625 as_fn_exit $as_status
20626 } # as_fn_error
20629 # as_fn_set_status STATUS
20630 # -----------------------
20631 # Set $? to STATUS, without forking.
20632 as_fn_set_status ()
20634 return $1
20635 } # as_fn_set_status
20637 # as_fn_exit STATUS
20638 # -----------------
20639 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20640 as_fn_exit ()
20642 set +e
20643 as_fn_set_status $1
20644 exit $1
20645 } # as_fn_exit
20647 # as_fn_unset VAR
20648 # ---------------
20649 # Portably unset VAR.
20650 as_fn_unset ()
20652 { eval $1=; unset $1;}
20654 as_unset=as_fn_unset
20655 # as_fn_append VAR VALUE
20656 # ----------------------
20657 # Append the text in VALUE to the end of the definition contained in VAR. Take
20658 # advantage of any shell optimizations that allow amortized linear growth over
20659 # repeated appends, instead of the typical quadratic growth present in naive
20660 # implementations.
20661 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20662 eval 'as_fn_append ()
20664 eval $1+=\$2
20666 else
20667 as_fn_append ()
20669 eval $1=\$$1\$2
20671 fi # as_fn_append
20673 # as_fn_arith ARG...
20674 # ------------------
20675 # Perform arithmetic evaluation on the ARGs, and store the result in the
20676 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20677 # must be portable across $(()) and expr.
20678 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20679 eval 'as_fn_arith ()
20681 as_val=$(( $* ))
20683 else
20684 as_fn_arith ()
20686 as_val=`expr "$@" || test $? -eq 1`
20688 fi # as_fn_arith
20691 if expr a : '\(a\)' >/dev/null 2>&1 &&
20692 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20693 as_expr=expr
20694 else
20695 as_expr=false
20698 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20699 as_basename=basename
20700 else
20701 as_basename=false
20704 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20705 as_dirname=dirname
20706 else
20707 as_dirname=false
20710 as_me=`$as_basename -- "$0" ||
20711 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20712 X"$0" : 'X\(//\)$' \| \
20713 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20714 $as_echo X/"$0" |
20715 sed '/^.*\/\([^/][^/]*\)\/*$/{
20716 s//\1/
20719 /^X\/\(\/\/\)$/{
20720 s//\1/
20723 /^X\/\(\/\).*/{
20724 s//\1/
20727 s/.*/./; q'`
20729 # Avoid depending upon Character Ranges.
20730 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20731 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20732 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20733 as_cr_digits='0123456789'
20734 as_cr_alnum=$as_cr_Letters$as_cr_digits
20736 ECHO_C= ECHO_N= ECHO_T=
20737 case `echo -n x` in #(((((
20738 -n*)
20739 case `echo 'xy\c'` in
20740 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20741 xy) ECHO_C='\c';;
20742 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20743 ECHO_T=' ';;
20744 esac;;
20746 ECHO_N='-n';;
20747 esac
20749 rm -f conf$$ conf$$.exe conf$$.file
20750 if test -d conf$$.dir; then
20751 rm -f conf$$.dir/conf$$.file
20752 else
20753 rm -f conf$$.dir
20754 mkdir conf$$.dir 2>/dev/null
20756 if (echo >conf$$.file) 2>/dev/null; then
20757 if ln -s conf$$.file conf$$ 2>/dev/null; then
20758 as_ln_s='ln -s'
20759 # ... but there are two gotchas:
20760 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20761 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20762 # In both cases, we have to default to `cp -pR'.
20763 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20764 as_ln_s='cp -pR'
20765 elif ln conf$$.file conf$$ 2>/dev/null; then
20766 as_ln_s=ln
20767 else
20768 as_ln_s='cp -pR'
20770 else
20771 as_ln_s='cp -pR'
20773 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20774 rmdir conf$$.dir 2>/dev/null
20777 # as_fn_mkdir_p
20778 # -------------
20779 # Create "$as_dir" as a directory, including parents if necessary.
20780 as_fn_mkdir_p ()
20783 case $as_dir in #(
20784 -*) as_dir=./$as_dir;;
20785 esac
20786 test -d "$as_dir" || eval $as_mkdir_p || {
20787 as_dirs=
20788 while :; do
20789 case $as_dir in #(
20790 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20791 *) as_qdir=$as_dir;;
20792 esac
20793 as_dirs="'$as_qdir' $as_dirs"
20794 as_dir=`$as_dirname -- "$as_dir" ||
20795 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20796 X"$as_dir" : 'X\(//\)[^/]' \| \
20797 X"$as_dir" : 'X\(//\)$' \| \
20798 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20799 $as_echo X"$as_dir" |
20800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20801 s//\1/
20804 /^X\(\/\/\)[^/].*/{
20805 s//\1/
20808 /^X\(\/\/\)$/{
20809 s//\1/
20812 /^X\(\/\).*/{
20813 s//\1/
20816 s/.*/./; q'`
20817 test -d "$as_dir" && break
20818 done
20819 test -z "$as_dirs" || eval "mkdir $as_dirs"
20820 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20823 } # as_fn_mkdir_p
20824 if mkdir -p . 2>/dev/null; then
20825 as_mkdir_p='mkdir -p "$as_dir"'
20826 else
20827 test -d ./-p && rmdir ./-p
20828 as_mkdir_p=false
20832 # as_fn_executable_p FILE
20833 # -----------------------
20834 # Test if FILE is an executable regular file.
20835 as_fn_executable_p ()
20837 test -f "$1" && test -x "$1"
20838 } # as_fn_executable_p
20839 as_test_x='test -x'
20840 as_executable_p=as_fn_executable_p
20842 # Sed expression to map a string onto a valid CPP name.
20843 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20845 # Sed expression to map a string onto a valid variable name.
20846 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20849 exec 6>&1
20850 ## ----------------------------------- ##
20851 ## Main body of $CONFIG_STATUS script. ##
20852 ## ----------------------------------- ##
20853 _ASEOF
20854 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20856 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20857 # Save the log message, to keep $0 and so on meaningful, and to
20858 # report actual input values of CONFIG_FILES etc. instead of their
20859 # values after options handling.
20860 ac_log="
20861 This file was extended by Wine $as_me 4.3, which was
20862 generated by GNU Autoconf 2.69. Invocation command line was
20864 CONFIG_FILES = $CONFIG_FILES
20865 CONFIG_HEADERS = $CONFIG_HEADERS
20866 CONFIG_LINKS = $CONFIG_LINKS
20867 CONFIG_COMMANDS = $CONFIG_COMMANDS
20868 $ $0 $@
20870 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20873 _ACEOF
20875 case $ac_config_files in *"
20876 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20877 esac
20879 case $ac_config_headers in *"
20880 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20881 esac
20884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20885 # Files that config.status was made for.
20886 config_files="$ac_config_files"
20887 config_headers="$ac_config_headers"
20888 config_links="$ac_config_links"
20889 config_commands="$ac_config_commands"
20891 _ACEOF
20893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20894 ac_cs_usage="\
20895 \`$as_me' instantiates files and other configuration actions
20896 from templates according to the current configuration. Unless the files
20897 and actions are specified as TAGs, all are instantiated by default.
20899 Usage: $0 [OPTION]... [TAG]...
20901 -h, --help print this help, then exit
20902 -V, --version print version number and configuration settings, then exit
20903 --config print configuration, then exit
20904 -q, --quiet, --silent
20905 do not print progress messages
20906 -d, --debug don't remove temporary files
20907 --recheck update $as_me by reconfiguring in the same conditions
20908 --file=FILE[:TEMPLATE]
20909 instantiate the configuration file FILE
20910 --header=FILE[:TEMPLATE]
20911 instantiate the configuration header FILE
20913 Configuration files:
20914 $config_files
20916 Configuration headers:
20917 $config_headers
20919 Configuration links:
20920 $config_links
20922 Configuration commands:
20923 $config_commands
20925 Report bugs to <wine-devel@winehq.org>.
20926 Wine home page: <https://www.winehq.org>."
20928 _ACEOF
20929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20930 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20931 ac_cs_version="\\
20932 Wine config.status 4.3
20933 configured by $0, generated by GNU Autoconf 2.69,
20934 with options \\"\$ac_cs_config\\"
20936 Copyright (C) 2012 Free Software Foundation, Inc.
20937 This config.status script is free software; the Free Software Foundation
20938 gives unlimited permission to copy, distribute and modify it."
20940 ac_pwd='$ac_pwd'
20941 srcdir='$srcdir'
20942 test -n "\$AWK" || AWK=awk
20943 _ACEOF
20945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20946 # The default lists apply if the user does not specify any file.
20947 ac_need_defaults=:
20948 while test $# != 0
20950 case $1 in
20951 --*=?*)
20952 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20953 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20954 ac_shift=:
20956 --*=)
20957 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20958 ac_optarg=
20959 ac_shift=:
20962 ac_option=$1
20963 ac_optarg=$2
20964 ac_shift=shift
20966 esac
20968 case $ac_option in
20969 # Handling of the options.
20970 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20971 ac_cs_recheck=: ;;
20972 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20973 $as_echo "$ac_cs_version"; exit ;;
20974 --config | --confi | --conf | --con | --co | --c )
20975 $as_echo "$ac_cs_config"; exit ;;
20976 --debug | --debu | --deb | --de | --d | -d )
20977 debug=: ;;
20978 --file | --fil | --fi | --f )
20979 $ac_shift
20980 case $ac_optarg in
20981 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20982 '') as_fn_error $? "missing file argument" ;;
20983 esac
20984 as_fn_append CONFIG_FILES " '$ac_optarg'"
20985 ac_need_defaults=false;;
20986 --header | --heade | --head | --hea )
20987 $ac_shift
20988 case $ac_optarg in
20989 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20990 esac
20991 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20992 ac_need_defaults=false;;
20993 --he | --h)
20994 # Conflict between --help and --header
20995 as_fn_error $? "ambiguous option: \`$1'
20996 Try \`$0 --help' for more information.";;
20997 --help | --hel | -h )
20998 $as_echo "$ac_cs_usage"; exit ;;
20999 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21000 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21001 ac_cs_silent=: ;;
21003 # This is an error.
21004 -*) as_fn_error $? "unrecognized option: \`$1'
21005 Try \`$0 --help' for more information." ;;
21007 *) as_fn_append ac_config_targets " $1"
21008 ac_need_defaults=false ;;
21010 esac
21011 shift
21012 done
21014 ac_configure_extra_args=
21016 if $ac_cs_silent; then
21017 exec 6>/dev/null
21018 ac_configure_extra_args="$ac_configure_extra_args --silent"
21021 _ACEOF
21022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21023 if \$ac_cs_recheck; then
21024 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21025 shift
21026 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21027 CONFIG_SHELL='$SHELL'
21028 export CONFIG_SHELL
21029 exec "\$@"
21032 _ACEOF
21033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21034 exec 5>>config.log
21036 echo
21037 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21038 ## Running $as_me. ##
21039 _ASBOX
21040 $as_echo "$ac_log"
21041 } >&5
21043 _ACEOF
21044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21046 # INIT-COMMANDS
21048 wine_fn_output_makedep ()
21050 as_dir=tools; as_fn_mkdir_p
21051 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21053 wine_fn_output_makefile ()
21055 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21056 `cat $wine_rules_file`
21057 _WINE_EOF
21058 as_fn_error $? "could not create Makefile" "$LINENO" 5
21061 _ACEOF
21063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21065 # Handling of arguments.
21066 for ac_config_target in $ac_config_targets
21068 case $ac_config_target in
21069 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21070 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21071 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21072 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21073 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21074 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21075 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21076 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21077 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21078 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21079 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21080 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21081 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21083 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21084 esac
21085 done
21088 # If the user did not use the arguments to specify the items to instantiate,
21089 # then the envvar interface is used. Set only those that are not.
21090 # We use the long form for the default assignment because of an extremely
21091 # bizarre bug on SunOS 4.1.3.
21092 if $ac_need_defaults; then
21093 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21094 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21095 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21096 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21099 # Have a temporary directory for convenience. Make it in the build tree
21100 # simply because there is no reason against having it here, and in addition,
21101 # creating and moving files from /tmp can sometimes cause problems.
21102 # Hook for its removal unless debugging.
21103 # Note that there is a small window in which the directory will not be cleaned:
21104 # after its creation but before its name has been assigned to `$tmp'.
21105 $debug ||
21107 tmp= ac_tmp=
21108 trap 'exit_status=$?
21109 : "${ac_tmp:=$tmp}"
21110 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21112 trap 'as_fn_exit 1' 1 2 13 15
21114 # Create a (secure) tmp directory for tmp files.
21117 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21118 test -d "$tmp"
21119 } ||
21121 tmp=./conf$$-$RANDOM
21122 (umask 077 && mkdir "$tmp")
21123 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21124 ac_tmp=$tmp
21126 # Set up the scripts for CONFIG_FILES section.
21127 # No need to generate them if there are no CONFIG_FILES.
21128 # This happens for instance with `./config.status config.h'.
21129 if test -n "$CONFIG_FILES"; then
21132 ac_cr=`echo X | tr X '\015'`
21133 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21134 # But we know of no other shell where ac_cr would be empty at this
21135 # point, so we can use a bashism as a fallback.
21136 if test "x$ac_cr" = x; then
21137 eval ac_cr=\$\'\\r\'
21139 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21140 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21141 ac_cs_awk_cr='\\r'
21142 else
21143 ac_cs_awk_cr=$ac_cr
21146 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21147 _ACEOF
21151 echo "cat >conf$$subs.awk <<_ACEOF" &&
21152 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21153 echo "_ACEOF"
21154 } >conf$$subs.sh ||
21155 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21156 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21157 ac_delim='%!_!# '
21158 for ac_last_try in false false false false false :; do
21159 . ./conf$$subs.sh ||
21160 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21162 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21163 if test $ac_delim_n = $ac_delim_num; then
21164 break
21165 elif $ac_last_try; then
21166 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21167 else
21168 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21170 done
21171 rm -f conf$$subs.sh
21173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21174 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21175 _ACEOF
21176 sed -n '
21178 s/^/S["/; s/!.*/"]=/
21181 s/^[^!]*!//
21182 :repl
21183 t repl
21184 s/'"$ac_delim"'$//
21185 t delim
21188 s/\(.\{148\}\)..*/\1/
21189 t more1
21190 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21193 b repl
21194 :more1
21195 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21198 s/.\{148\}//
21199 t nl
21200 :delim
21202 s/\(.\{148\}\)..*/\1/
21203 t more2
21204 s/["\\]/\\&/g; s/^/"/; s/$/"/
21207 :more2
21208 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21211 s/.\{148\}//
21212 t delim
21213 ' <conf$$subs.awk | sed '
21214 /^[^""]/{
21216 s/\n//
21218 ' >>$CONFIG_STATUS || ac_write_fail=1
21219 rm -f conf$$subs.awk
21220 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21221 _ACAWK
21222 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21223 for (key in S) S_is_set[key] = 1
21224 FS = "\a"
21228 line = $ 0
21229 nfields = split(line, field, "@")
21230 substed = 0
21231 len = length(field[1])
21232 for (i = 2; i < nfields; i++) {
21233 key = field[i]
21234 keylen = length(key)
21235 if (S_is_set[key]) {
21236 value = S[key]
21237 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21238 len += length(value) + length(field[++i])
21239 substed = 1
21240 } else
21241 len += 1 + keylen
21244 print line
21247 _ACAWK
21248 _ACEOF
21249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21250 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21251 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21252 else
21254 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21255 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21256 _ACEOF
21258 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21259 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21260 # trailing colons and then remove the whole line if VPATH becomes empty
21261 # (actually we leave an empty line to preserve line numbers).
21262 if test "x$srcdir" = x.; then
21263 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21265 s///
21266 s/^/:/
21267 s/[ ]*$/:/
21268 s/:\$(srcdir):/:/g
21269 s/:\${srcdir}:/:/g
21270 s/:@srcdir@:/:/g
21271 s/^:*//
21272 s/:*$//
21274 s/\(=[ ]*\).*/\1/
21276 s/\n//
21277 s/^[^=]*=[ ]*$//
21281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21282 fi # test -n "$CONFIG_FILES"
21284 # Set up the scripts for CONFIG_HEADERS section.
21285 # No need to generate them if there are no CONFIG_HEADERS.
21286 # This happens for instance with `./config.status Makefile'.
21287 if test -n "$CONFIG_HEADERS"; then
21288 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21289 BEGIN {
21290 _ACEOF
21292 # Transform confdefs.h into an awk script `defines.awk', embedded as
21293 # here-document in config.status, that substitutes the proper values into
21294 # config.h.in to produce config.h.
21296 # Create a delimiter string that does not exist in confdefs.h, to ease
21297 # handling of long lines.
21298 ac_delim='%!_!# '
21299 for ac_last_try in false false :; do
21300 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21301 if test -z "$ac_tt"; then
21302 break
21303 elif $ac_last_try; then
21304 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21305 else
21306 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21308 done
21310 # For the awk script, D is an array of macro values keyed by name,
21311 # likewise P contains macro parameters if any. Preserve backslash
21312 # newline sequences.
21314 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21315 sed -n '
21316 s/.\{148\}/&'"$ac_delim"'/g
21317 t rset
21318 :rset
21319 s/^[ ]*#[ ]*define[ ][ ]*/ /
21320 t def
21322 :def
21323 s/\\$//
21324 t bsnl
21325 s/["\\]/\\&/g
21326 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21327 D["\1"]=" \3"/p
21328 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21330 :bsnl
21331 s/["\\]/\\&/g
21332 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21333 D["\1"]=" \3\\\\\\n"\\/p
21334 t cont
21335 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21336 t cont
21338 :cont
21340 s/.\{148\}/&'"$ac_delim"'/g
21341 t clear
21342 :clear
21343 s/\\$//
21344 t bsnlc
21345 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21347 :bsnlc
21348 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21349 b cont
21350 ' <confdefs.h | sed '
21351 s/'"$ac_delim"'/"\\\
21352 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21355 for (key in D) D_is_set[key] = 1
21356 FS = "\a"
21358 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21359 line = \$ 0
21360 split(line, arg, " ")
21361 if (arg[1] == "#") {
21362 defundef = arg[2]
21363 mac1 = arg[3]
21364 } else {
21365 defundef = substr(arg[1], 2)
21366 mac1 = arg[2]
21368 split(mac1, mac2, "(") #)
21369 macro = mac2[1]
21370 prefix = substr(line, 1, index(line, defundef) - 1)
21371 if (D_is_set[macro]) {
21372 # Preserve the white space surrounding the "#".
21373 print prefix "define", macro P[macro] D[macro]
21374 next
21375 } else {
21376 # Replace #undef with comments. This is necessary, for example,
21377 # in the case of _POSIX_SOURCE, which is predefined and required
21378 # on some systems where configure will not decide to define it.
21379 if (defundef == "undef") {
21380 print "/*", prefix defundef, macro, "*/"
21381 next
21385 { print }
21386 _ACAWK
21387 _ACEOF
21388 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21389 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21390 fi # test -n "$CONFIG_HEADERS"
21393 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21394 shift
21395 for ac_tag
21397 case $ac_tag in
21398 :[FHLC]) ac_mode=$ac_tag; continue;;
21399 esac
21400 case $ac_mode$ac_tag in
21401 :[FHL]*:*);;
21402 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21403 :[FH]-) ac_tag=-:-;;
21404 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21405 esac
21406 ac_save_IFS=$IFS
21407 IFS=:
21408 set x $ac_tag
21409 IFS=$ac_save_IFS
21410 shift
21411 ac_file=$1
21412 shift
21414 case $ac_mode in
21415 :L) ac_source=$1;;
21416 :[FH])
21417 ac_file_inputs=
21418 for ac_f
21420 case $ac_f in
21421 -) ac_f="$ac_tmp/stdin";;
21422 *) # Look for the file first in the build tree, then in the source tree
21423 # (if the path is not absolute). The absolute path cannot be DOS-style,
21424 # because $ac_f cannot contain `:'.
21425 test -f "$ac_f" ||
21426 case $ac_f in
21427 [\\/$]*) false;;
21428 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21429 esac ||
21430 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21431 esac
21432 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21433 as_fn_append ac_file_inputs " '$ac_f'"
21434 done
21436 # Let's still pretend it is `configure' which instantiates (i.e., don't
21437 # use $as_me), people would be surprised to read:
21438 # /* config.h. Generated by config.status. */
21439 configure_input='Generated from '`
21440 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21441 `' by configure.'
21442 if test x"$ac_file" != x-; then
21443 configure_input="$ac_file. $configure_input"
21444 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21445 $as_echo "$as_me: creating $ac_file" >&6;}
21447 # Neutralize special characters interpreted by sed in replacement strings.
21448 case $configure_input in #(
21449 *\&* | *\|* | *\\* )
21450 ac_sed_conf_input=`$as_echo "$configure_input" |
21451 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21452 *) ac_sed_conf_input=$configure_input;;
21453 esac
21455 case $ac_tag in
21456 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21457 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21458 esac
21460 esac
21462 ac_dir=`$as_dirname -- "$ac_file" ||
21463 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21464 X"$ac_file" : 'X\(//\)[^/]' \| \
21465 X"$ac_file" : 'X\(//\)$' \| \
21466 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21467 $as_echo X"$ac_file" |
21468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21469 s//\1/
21472 /^X\(\/\/\)[^/].*/{
21473 s//\1/
21476 /^X\(\/\/\)$/{
21477 s//\1/
21480 /^X\(\/\).*/{
21481 s//\1/
21484 s/.*/./; q'`
21485 as_dir="$ac_dir"; as_fn_mkdir_p
21486 ac_builddir=.
21488 case "$ac_dir" in
21489 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21491 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21492 # A ".." for each directory in $ac_dir_suffix.
21493 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21494 case $ac_top_builddir_sub in
21495 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21496 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21497 esac ;;
21498 esac
21499 ac_abs_top_builddir=$ac_pwd
21500 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21501 # for backward compatibility:
21502 ac_top_builddir=$ac_top_build_prefix
21504 case $srcdir in
21505 .) # We are building in place.
21506 ac_srcdir=.
21507 ac_top_srcdir=$ac_top_builddir_sub
21508 ac_abs_top_srcdir=$ac_pwd ;;
21509 [\\/]* | ?:[\\/]* ) # Absolute name.
21510 ac_srcdir=$srcdir$ac_dir_suffix;
21511 ac_top_srcdir=$srcdir
21512 ac_abs_top_srcdir=$srcdir ;;
21513 *) # Relative name.
21514 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21515 ac_top_srcdir=$ac_top_build_prefix$srcdir
21516 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21517 esac
21518 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21521 case $ac_mode in
21524 # CONFIG_FILE
21527 _ACEOF
21529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21530 # If the template does not know about datarootdir, expand it.
21531 # FIXME: This hack should be removed a few years after 2.60.
21532 ac_datarootdir_hack=; ac_datarootdir_seen=
21533 ac_sed_dataroot='
21534 /datarootdir/ {
21538 /@datadir@/p
21539 /@docdir@/p
21540 /@infodir@/p
21541 /@localedir@/p
21542 /@mandir@/p'
21543 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21544 *datarootdir*) ac_datarootdir_seen=yes;;
21545 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21547 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21548 _ACEOF
21549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21550 ac_datarootdir_hack='
21551 s&@datadir@&$datadir&g
21552 s&@docdir@&$docdir&g
21553 s&@infodir@&$infodir&g
21554 s&@localedir@&$localedir&g
21555 s&@mandir@&$mandir&g
21556 s&\\\${datarootdir}&$datarootdir&g' ;;
21557 esac
21558 _ACEOF
21560 # Neutralize VPATH when `$srcdir' = `.'.
21561 # Shell code in configure.ac might set extrasub.
21562 # FIXME: do we really want to maintain this feature?
21563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21564 ac_sed_extra="$ac_vpsub
21565 $extrasub
21566 _ACEOF
21567 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21569 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21570 s|@configure_input@|$ac_sed_conf_input|;t t
21571 s&@top_builddir@&$ac_top_builddir_sub&;t t
21572 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21573 s&@srcdir@&$ac_srcdir&;t t
21574 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21575 s&@top_srcdir@&$ac_top_srcdir&;t t
21576 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21577 s&@builddir@&$ac_builddir&;t t
21578 s&@abs_builddir@&$ac_abs_builddir&;t t
21579 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21580 $ac_datarootdir_hack
21582 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21583 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21585 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21586 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21587 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21588 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21590 which seems to be undefined. Please make sure it is defined" >&5
21591 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21592 which seems to be undefined. Please make sure it is defined" >&2;}
21594 rm -f "$ac_tmp/stdin"
21595 case $ac_file in
21596 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21597 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21598 esac \
21599 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21603 # CONFIG_HEADER
21605 if test x"$ac_file" != x-; then
21607 $as_echo "/* $configure_input */" \
21608 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21609 } >"$ac_tmp/config.h" \
21610 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21611 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21613 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21614 else
21615 rm -f "$ac_file"
21616 mv "$ac_tmp/config.h" "$ac_file" \
21617 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21619 else
21620 $as_echo "/* $configure_input */" \
21621 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21622 || as_fn_error $? "could not create -" "$LINENO" 5
21627 # CONFIG_LINK
21630 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21632 else
21633 # Prefer the file from the source tree if names are identical.
21634 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21635 ac_source=$srcdir/$ac_source
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21639 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21641 if test ! -r "$ac_source"; then
21642 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21644 rm -f "$ac_file"
21646 # Try a relative symlink, then a hard link, then a copy.
21647 case $ac_source in
21648 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21649 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21650 esac
21651 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21652 ln "$ac_source" "$ac_file" 2>/dev/null ||
21653 cp -p "$ac_source" "$ac_file" ||
21654 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21657 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21658 $as_echo "$as_me: executing $ac_file commands" >&6;}
21660 esac
21663 case $ac_file$ac_mode in
21664 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21665 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21666 "Makefile":C) wine_fn_output_makefile Makefile ;;
21668 esac
21669 done # for ac_tag
21672 as_fn_exit 0
21673 _ACEOF
21674 ac_clean_files=$ac_clean_files_save
21676 test $ac_write_fail = 0 ||
21677 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21680 # configure is writing to config.log, and then calls config.status.
21681 # config.status does its own redirection, appending to config.log.
21682 # Unfortunately, on DOS this fails, as config.log is still kept open
21683 # by configure, so config.status won't be able to write to it; its
21684 # output is simply discarded. So we exec the FD to /dev/null,
21685 # effectively closing config.log, so it can be properly (re)opened and
21686 # appended to by config.status. When coming back to configure, we
21687 # need to make the FD available again.
21688 if test "$no_create" != yes; then
21689 ac_cs_success=:
21690 ac_config_status_args=
21691 test "$silent" = yes &&
21692 ac_config_status_args="$ac_config_status_args --quiet"
21693 exec 5>/dev/null
21694 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21695 exec 5>>config.log
21696 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21697 # would make configure fail if this is the last instruction.
21698 $ac_cs_success || as_fn_exit 1
21700 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21702 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21706 if test "$no_create" = "yes"
21707 then
21708 exit 0
21711 ac_save_IFS="$IFS"
21712 if test "x$wine_notices" != x; then
21713 echo >&6
21714 IFS="|"
21715 for msg in $wine_notices; do
21716 IFS="$ac_save_IFS"
21717 if ${msg:+false} :; then :
21719 else
21720 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21721 $as_echo "$as_me: $msg" >&6;}
21723 done
21725 IFS="|"
21726 for msg in $wine_warnings; do
21727 IFS="$ac_save_IFS"
21728 if ${msg:+false} :; then :
21730 else
21731 echo >&2
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21733 $as_echo "$as_me: WARNING: $msg" >&2;}
21735 done
21736 IFS="$ac_save_IFS"
21738 $as_echo "
21739 $as_me: Finished. Do '${ac_make}' to compile Wine.
21740 " >&6