wined3d: Add adapter_check_format() to adapter_ops.
[wine.git] / configure
blob3c976c9694f6ebc5d7d6520f8b952e9af67cf48c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.4.
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.4'
584 PACKAGE_STRING='Wine 4.4'
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_mferror
1378 enable_mfplat
1379 enable_mfplay
1380 enable_mfreadwrite
1381 enable_mfuuid
1382 enable_mgmtapi
1383 enable_midimap
1384 enable_mlang
1385 enable_mmcndmgr
1386 enable_mmdevapi
1387 enable_mountmgr_sys
1388 enable_mp3dmod
1389 enable_mpr
1390 enable_mprapi
1391 enable_msacm32_drv
1392 enable_msacm32
1393 enable_msadp32_acm
1394 enable_msasn1
1395 enable_mscat32
1396 enable_mscms
1397 enable_mscoree
1398 enable_msctf
1399 enable_msctfp
1400 enable_msdaps
1401 enable_msdelta
1402 enable_msdmo
1403 enable_msdrm
1404 enable_msftedit
1405 enable_msg711_acm
1406 enable_msgsm32_acm
1407 enable_mshtml_tlb
1408 enable_mshtml
1409 enable_msi
1410 enable_msident
1411 enable_msimg32
1412 enable_msimsg
1413 enable_msimtf
1414 enable_msisip
1415 enable_msisys_ocx
1416 enable_msls31
1417 enable_msnet32
1418 enable_mspatcha
1419 enable_msports
1420 enable_msrle32
1421 enable_msscript_ocx
1422 enable_mssign32
1423 enable_mssip32
1424 enable_mstask
1425 enable_msvcirt
1426 enable_msvcm80
1427 enable_msvcm90
1428 enable_msvcp100
1429 enable_msvcp110
1430 enable_msvcp120
1431 enable_msvcp120_app
1432 enable_msvcp140
1433 enable_msvcp60
1434 enable_msvcp70
1435 enable_msvcp71
1436 enable_msvcp80
1437 enable_msvcp90
1438 enable_msvcr100
1439 enable_msvcr110
1440 enable_msvcr120
1441 enable_msvcr120_app
1442 enable_msvcr70
1443 enable_msvcr71
1444 enable_msvcr80
1445 enable_msvcr90
1446 enable_msvcrt
1447 enable_msvcrt20
1448 enable_msvcrt40
1449 enable_msvcrtd
1450 enable_msvfw32
1451 enable_msvidc32
1452 enable_mswsock
1453 enable_msxml
1454 enable_msxml2
1455 enable_msxml3
1456 enable_msxml4
1457 enable_msxml6
1458 enable_mtxdm
1459 enable_ncrypt
1460 enable_nddeapi
1461 enable_ndis_sys
1462 enable_netapi32
1463 enable_netcfgx
1464 enable_netprofm
1465 enable_newdev
1466 enable_ninput
1467 enable_normaliz
1468 enable_npmshtml
1469 enable_npptools
1470 enable_ntdll
1471 enable_ntdsapi
1472 enable_ntoskrnl_exe
1473 enable_ntprint
1474 enable_objsel
1475 enable_odbc32
1476 enable_odbccp32
1477 enable_odbccu32
1478 enable_ole32
1479 enable_oleacc
1480 enable_oleaut32
1481 enable_olecli32
1482 enable_oledb32
1483 enable_oledlg
1484 enable_olepro32
1485 enable_olesvr32
1486 enable_olethk32
1487 enable_opcservices
1488 enable_openal32
1489 enable_opencl
1490 enable_opengl32
1491 enable_packager
1492 enable_pdh
1493 enable_photometadatahandler
1494 enable_pidgen
1495 enable_powrprof
1496 enable_printui
1497 enable_prntvpt
1498 enable_propsys
1499 enable_psapi
1500 enable_pstorec
1501 enable_qcap
1502 enable_qedit
1503 enable_qmgr
1504 enable_qmgrprxy
1505 enable_quartz
1506 enable_query
1507 enable_qwave
1508 enable_rasapi32
1509 enable_rasdlg
1510 enable_regapi
1511 enable_resutils
1512 enable_riched20
1513 enable_riched32
1514 enable_rpcrt4
1515 enable_rsabase
1516 enable_rsaenh
1517 enable_rstrtmgr
1518 enable_rtutils
1519 enable_samlib
1520 enable_sane_ds
1521 enable_sapi
1522 enable_sas
1523 enable_scarddlg
1524 enable_sccbase
1525 enable_schannel
1526 enable_schedsvc
1527 enable_scrobj
1528 enable_scrrun
1529 enable_scsiport_sys
1530 enable_secur32
1531 enable_security
1532 enable_sensapi
1533 enable_serialui
1534 enable_setupapi
1535 enable_sfc
1536 enable_sfc_os
1537 enable_shcore
1538 enable_shdoclc
1539 enable_shdocvw
1540 enable_shell32
1541 enable_shfolder
1542 enable_shlwapi
1543 enable_slbcsp
1544 enable_slc
1545 enable_snmpapi
1546 enable_softpub
1547 enable_spoolss
1548 enable_srclient
1549 enable_sspicli
1550 enable_stdole2_tlb
1551 enable_stdole32_tlb
1552 enable_sti
1553 enable_strmbase
1554 enable_strmdll
1555 enable_strmiids
1556 enable_svrapi
1557 enable_sxs
1558 enable_t2embed
1559 enable_tapi32
1560 enable_taskschd
1561 enable_tdh
1562 enable_tdi_sys
1563 enable_traffic
1564 enable_twain_32
1565 enable_tzres
1566 enable_ucrtbase
1567 enable_uiautomationcore
1568 enable_uiribbon
1569 enable_unicows
1570 enable_updspapi
1571 enable_url
1572 enable_urlmon
1573 enable_usbd_sys
1574 enable_user32
1575 enable_userenv
1576 enable_usp10
1577 enable_uuid
1578 enable_uxtheme
1579 enable_vbscript
1580 enable_vcomp
1581 enable_vcomp100
1582 enable_vcomp110
1583 enable_vcomp120
1584 enable_vcomp140
1585 enable_vcomp90
1586 enable_vcruntime140
1587 enable_vdmdbg
1588 enable_version
1589 enable_virtdisk
1590 enable_vssapi
1591 enable_vulkan_1
1592 enable_wbemdisp
1593 enable_wbemprox
1594 enable_wdscore
1595 enable_webservices
1596 enable_wer
1597 enable_wevtapi
1598 enable_wiaservc
1599 enable_wimgapi
1600 enable_windowscodecs
1601 enable_windowscodecsext
1602 enable_winealsa_drv
1603 enable_wineandroid_drv
1604 enable_winebus_sys
1605 enable_winecoreaudio_drv
1606 enable_winecrt0
1607 enable_wined3d
1608 enable_winegstreamer
1609 enable_winehid_sys
1610 enable_winejoystick_drv
1611 enable_winemac_drv
1612 enable_winemapi
1613 enable_wineoss_drv
1614 enable_wineps_drv
1615 enable_winepulse_drv
1616 enable_wineqtdecoder
1617 enable_winevulkan
1618 enable_winex11_drv
1619 enable_wing32
1620 enable_winhttp
1621 enable_wininet
1622 enable_winmm
1623 enable_winnls32
1624 enable_winscard
1625 enable_winspool_drv
1626 enable_winsta
1627 enable_wintab32
1628 enable_wintrust
1629 enable_winusb
1630 enable_wlanapi
1631 enable_wldap32
1632 enable_wmasf
1633 enable_wmcodecdspuuid
1634 enable_wmi
1635 enable_wmiutils
1636 enable_wmp
1637 enable_wmphoto
1638 enable_wmvcore
1639 enable_wnaspi32
1640 enable_wpc
1641 enable_wpcap
1642 enable_ws2_32
1643 enable_wsdapi
1644 enable_wshom_ocx
1645 enable_wsnmp32
1646 enable_wsock32
1647 enable_wtsapi32
1648 enable_wuapi
1649 enable_wuaueng
1650 enable_x3daudio1_0
1651 enable_x3daudio1_1
1652 enable_x3daudio1_2
1653 enable_x3daudio1_3
1654 enable_x3daudio1_4
1655 enable_x3daudio1_5
1656 enable_x3daudio1_6
1657 enable_x3daudio1_7
1658 enable_xapofx1_1
1659 enable_xapofx1_2
1660 enable_xapofx1_3
1661 enable_xapofx1_4
1662 enable_xapofx1_5
1663 enable_xaudio2_0
1664 enable_xaudio2_1
1665 enable_xaudio2_2
1666 enable_xaudio2_3
1667 enable_xaudio2_4
1668 enable_xaudio2_5
1669 enable_xaudio2_6
1670 enable_xaudio2_7
1671 enable_xaudio2_8
1672 enable_xaudio2_9
1673 enable_xinput1_1
1674 enable_xinput1_2
1675 enable_xinput1_3
1676 enable_xinput1_4
1677 enable_xinput9_1_0
1678 enable_xmllite
1679 enable_xolehlp
1680 enable_xpsprint
1681 enable_xpssvcs
1682 enable_fonts
1683 enable_include
1684 enable_port
1685 enable_wine
1686 enable_wpp
1687 enable_loader
1688 enable_po
1689 enable_arp
1690 enable_aspnet_regiis
1691 enable_attrib
1692 enable_cabarc
1693 enable_cacls
1694 enable_clock
1695 enable_cmd
1696 enable_conhost
1697 enable_control
1698 enable_cscript
1699 enable_dism
1700 enable_dpnsvr
1701 enable_dxdiag
1702 enable_eject
1703 enable_expand
1704 enable_explorer
1705 enable_extrac32
1706 enable_fc
1707 enable_find
1708 enable_findstr
1709 enable_fsutil
1710 enable_hh
1711 enable_hostname
1712 enable_icacls
1713 enable_icinfo
1714 enable_iexplore
1715 enable_ipconfig
1716 enable_lodctr
1717 enable_mofcomp
1718 enable_mshta
1719 enable_msidb
1720 enable_msiexec
1721 enable_msinfo32
1722 enable_net
1723 enable_netsh
1724 enable_netstat
1725 enable_ngen
1726 enable_notepad
1727 enable_oleview
1728 enable_ping
1729 enable_plugplay
1730 enable_powershell
1731 enable_presentationfontcache
1732 enable_progman
1733 enable_reg
1734 enable_regasm
1735 enable_regedit
1736 enable_regsvcs
1737 enable_regsvr32
1738 enable_rpcss
1739 enable_rundll32
1740 enable_sc
1741 enable_schtasks
1742 enable_sdbinst
1743 enable_secedit
1744 enable_servicemodelreg
1745 enable_services
1746 enable_shutdown
1747 enable_spoolsv
1748 enable_start
1749 enable_subst
1750 enable_svchost
1751 enable_systeminfo
1752 enable_taskkill
1753 enable_tasklist
1754 enable_taskmgr
1755 enable_termsv
1756 enable_uninstaller
1757 enable_unlodctr
1758 enable_view
1759 enable_wevtutil
1760 enable_wineboot
1761 enable_winebrowser
1762 enable_winecfg
1763 enable_wineconsole
1764 enable_winedbg
1765 enable_winedevice
1766 enable_winefile
1767 enable_winemenubuilder
1768 enable_winemine
1769 enable_winemsibuilder
1770 enable_winepath
1771 enable_winetest
1772 enable_winhlp32
1773 enable_winmgmt
1774 enable_winver
1775 enable_wmic
1776 enable_wmplayer
1777 enable_wordpad
1778 enable_write
1779 enable_wscript
1780 enable_wusa
1781 enable_xcopy
1782 enable_server
1783 enable_tools
1784 enable_sfnt2fon
1785 enable_widl
1786 enable_winebuild
1787 enable_winedump
1788 enable_winegcc
1789 enable_winemaker
1790 enable_wmc
1791 enable_wrc
1793 ac_precious_vars='build_alias
1794 host_alias
1795 target_alias
1797 CFLAGS
1798 LDFLAGS
1799 LIBS
1800 CPPFLAGS
1802 CXXFLAGS
1805 OBJC
1806 OBJCFLAGS
1807 OBJCPP
1808 XMKMF
1809 XML2_CFLAGS
1810 XML2_LIBS
1811 XSLT_CFLAGS
1812 XSLT_LIBS
1813 DBUS_CFLAGS
1814 DBUS_LIBS
1815 HAL_CFLAGS
1816 HAL_LIBS
1817 GNUTLS_CFLAGS
1818 GNUTLS_LIBS
1819 SANE_CFLAGS
1820 SANE_LIBS
1821 GPHOTO2_CFLAGS
1822 GPHOTO2_LIBS
1823 GPHOTO2_PORT_CFLAGS
1824 GPHOTO2_PORT_LIBS
1825 LCMS2_CFLAGS
1826 LCMS2_LIBS
1827 FREETYPE_CFLAGS
1828 FREETYPE_LIBS
1829 PULSE_CFLAGS
1830 PULSE_LIBS
1831 GSTREAMER_CFLAGS
1832 GSTREAMER_LIBS
1833 UDEV_CFLAGS
1834 UDEV_LIBS
1835 SDL2_CFLAGS
1836 SDL2_LIBS
1837 FAUDIO_CFLAGS
1838 FAUDIO_LIBS
1839 CAPI20_CFLAGS
1840 CAPI20_LIBS
1841 CUPS_CFLAGS
1842 CUPS_LIBS
1843 FONTCONFIG_CFLAGS
1844 FONTCONFIG_LIBS
1845 KRB5_CFLAGS
1846 KRB5_LIBS
1847 GSSAPI_CFLAGS
1848 GSSAPI_LIBS
1849 JPEG_CFLAGS
1850 JPEG_LIBS
1851 PNG_CFLAGS
1852 PNG_LIBS
1853 TIFF_CFLAGS
1854 TIFF_LIBS
1855 MPG123_CFLAGS
1856 MPG123_LIBS
1857 NETAPI_CFLAGS
1858 NETAPI_LIBS
1859 VKD3D_CFLAGS
1860 VKD3D_LIBS
1861 LDAP_CFLAGS
1862 LDAP_LIBS'
1865 # Initialize some variables set by options.
1866 ac_init_help=
1867 ac_init_version=false
1868 ac_unrecognized_opts=
1869 ac_unrecognized_sep=
1870 # The variables have the same names as the options, with
1871 # dashes changed to underlines.
1872 cache_file=/dev/null
1873 exec_prefix=NONE
1874 no_create=
1875 no_recursion=
1876 prefix=NONE
1877 program_prefix=NONE
1878 program_suffix=NONE
1879 program_transform_name=s,x,x,
1880 silent=
1881 site=
1882 srcdir=
1883 verbose=
1884 x_includes=NONE
1885 x_libraries=NONE
1887 # Installation directory options.
1888 # These are left unexpanded so users can "make install exec_prefix=/foo"
1889 # and all the variables that are supposed to be based on exec_prefix
1890 # by default will actually change.
1891 # Use braces instead of parens because sh, perl, etc. also accept them.
1892 # (The list follows the same order as the GNU Coding Standards.)
1893 bindir='${exec_prefix}/bin'
1894 sbindir='${exec_prefix}/sbin'
1895 libexecdir='${exec_prefix}/libexec'
1896 datarootdir='${prefix}/share'
1897 datadir='${datarootdir}'
1898 sysconfdir='${prefix}/etc'
1899 sharedstatedir='${prefix}/com'
1900 localstatedir='${prefix}/var'
1901 runstatedir='${localstatedir}/run'
1902 includedir='${prefix}/include'
1903 oldincludedir='/usr/include'
1904 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1905 infodir='${datarootdir}/info'
1906 htmldir='${docdir}'
1907 dvidir='${docdir}'
1908 pdfdir='${docdir}'
1909 psdir='${docdir}'
1910 libdir='${exec_prefix}/lib'
1911 localedir='${datarootdir}/locale'
1912 mandir='${datarootdir}/man'
1914 ac_prev=
1915 ac_dashdash=
1916 for ac_option
1918 # If the previous option needs an argument, assign it.
1919 if test -n "$ac_prev"; then
1920 eval $ac_prev=\$ac_option
1921 ac_prev=
1922 continue
1925 case $ac_option in
1926 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1927 *=) ac_optarg= ;;
1928 *) ac_optarg=yes ;;
1929 esac
1931 # Accept the important Cygnus configure options, so we can diagnose typos.
1933 case $ac_dashdash$ac_option in
1935 ac_dashdash=yes ;;
1937 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1938 ac_prev=bindir ;;
1939 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1940 bindir=$ac_optarg ;;
1942 -build | --build | --buil | --bui | --bu)
1943 ac_prev=build_alias ;;
1944 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1945 build_alias=$ac_optarg ;;
1947 -cache-file | --cache-file | --cache-fil | --cache-fi \
1948 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1949 ac_prev=cache_file ;;
1950 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1951 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1952 cache_file=$ac_optarg ;;
1954 --config-cache | -C)
1955 cache_file=config.cache ;;
1957 -datadir | --datadir | --datadi | --datad)
1958 ac_prev=datadir ;;
1959 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1960 datadir=$ac_optarg ;;
1962 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1963 | --dataroo | --dataro | --datar)
1964 ac_prev=datarootdir ;;
1965 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1966 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1967 datarootdir=$ac_optarg ;;
1969 -disable-* | --disable-*)
1970 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1971 # Reject names that are not valid shell variable names.
1972 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1973 as_fn_error $? "invalid feature name: $ac_useropt"
1974 ac_useropt_orig=$ac_useropt
1975 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1976 case $ac_user_opts in
1978 "enable_$ac_useropt"
1979 "*) ;;
1980 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1981 ac_unrecognized_sep=', ';;
1982 esac
1983 eval enable_$ac_useropt=no ;;
1985 -docdir | --docdir | --docdi | --doc | --do)
1986 ac_prev=docdir ;;
1987 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1988 docdir=$ac_optarg ;;
1990 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1991 ac_prev=dvidir ;;
1992 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1993 dvidir=$ac_optarg ;;
1995 -enable-* | --enable-*)
1996 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1997 # Reject names that are not valid shell variable names.
1998 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1999 as_fn_error $? "invalid feature name: $ac_useropt"
2000 ac_useropt_orig=$ac_useropt
2001 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2002 case $ac_user_opts in
2004 "enable_$ac_useropt"
2005 "*) ;;
2006 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2007 ac_unrecognized_sep=', ';;
2008 esac
2009 eval enable_$ac_useropt=\$ac_optarg ;;
2011 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2012 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2013 | --exec | --exe | --ex)
2014 ac_prev=exec_prefix ;;
2015 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2016 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2017 | --exec=* | --exe=* | --ex=*)
2018 exec_prefix=$ac_optarg ;;
2020 -gas | --gas | --ga | --g)
2021 # Obsolete; use --with-gas.
2022 with_gas=yes ;;
2024 -help | --help | --hel | --he | -h)
2025 ac_init_help=long ;;
2026 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2027 ac_init_help=recursive ;;
2028 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2029 ac_init_help=short ;;
2031 -host | --host | --hos | --ho)
2032 ac_prev=host_alias ;;
2033 -host=* | --host=* | --hos=* | --ho=*)
2034 host_alias=$ac_optarg ;;
2036 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2037 ac_prev=htmldir ;;
2038 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2039 | --ht=*)
2040 htmldir=$ac_optarg ;;
2042 -includedir | --includedir | --includedi | --included | --include \
2043 | --includ | --inclu | --incl | --inc)
2044 ac_prev=includedir ;;
2045 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2046 | --includ=* | --inclu=* | --incl=* | --inc=*)
2047 includedir=$ac_optarg ;;
2049 -infodir | --infodir | --infodi | --infod | --info | --inf)
2050 ac_prev=infodir ;;
2051 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2052 infodir=$ac_optarg ;;
2054 -libdir | --libdir | --libdi | --libd)
2055 ac_prev=libdir ;;
2056 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2057 libdir=$ac_optarg ;;
2059 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2060 | --libexe | --libex | --libe)
2061 ac_prev=libexecdir ;;
2062 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2063 | --libexe=* | --libex=* | --libe=*)
2064 libexecdir=$ac_optarg ;;
2066 -localedir | --localedir | --localedi | --localed | --locale)
2067 ac_prev=localedir ;;
2068 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2069 localedir=$ac_optarg ;;
2071 -localstatedir | --localstatedir | --localstatedi | --localstated \
2072 | --localstate | --localstat | --localsta | --localst | --locals)
2073 ac_prev=localstatedir ;;
2074 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2075 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2076 localstatedir=$ac_optarg ;;
2078 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2079 ac_prev=mandir ;;
2080 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2081 mandir=$ac_optarg ;;
2083 -nfp | --nfp | --nf)
2084 # Obsolete; use --without-fp.
2085 with_fp=no ;;
2087 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2088 | --no-cr | --no-c | -n)
2089 no_create=yes ;;
2091 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2092 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2093 no_recursion=yes ;;
2095 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2096 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2097 | --oldin | --oldi | --old | --ol | --o)
2098 ac_prev=oldincludedir ;;
2099 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2100 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2101 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2102 oldincludedir=$ac_optarg ;;
2104 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2105 ac_prev=prefix ;;
2106 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2107 prefix=$ac_optarg ;;
2109 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2110 | --program-pre | --program-pr | --program-p)
2111 ac_prev=program_prefix ;;
2112 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2113 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2114 program_prefix=$ac_optarg ;;
2116 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2117 | --program-suf | --program-su | --program-s)
2118 ac_prev=program_suffix ;;
2119 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2120 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2121 program_suffix=$ac_optarg ;;
2123 -program-transform-name | --program-transform-name \
2124 | --program-transform-nam | --program-transform-na \
2125 | --program-transform-n | --program-transform- \
2126 | --program-transform | --program-transfor \
2127 | --program-transfo | --program-transf \
2128 | --program-trans | --program-tran \
2129 | --progr-tra | --program-tr | --program-t)
2130 ac_prev=program_transform_name ;;
2131 -program-transform-name=* | --program-transform-name=* \
2132 | --program-transform-nam=* | --program-transform-na=* \
2133 | --program-transform-n=* | --program-transform-=* \
2134 | --program-transform=* | --program-transfor=* \
2135 | --program-transfo=* | --program-transf=* \
2136 | --program-trans=* | --program-tran=* \
2137 | --progr-tra=* | --program-tr=* | --program-t=*)
2138 program_transform_name=$ac_optarg ;;
2140 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2141 ac_prev=pdfdir ;;
2142 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2143 pdfdir=$ac_optarg ;;
2145 -psdir | --psdir | --psdi | --psd | --ps)
2146 ac_prev=psdir ;;
2147 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2148 psdir=$ac_optarg ;;
2150 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2151 | -silent | --silent | --silen | --sile | --sil)
2152 silent=yes ;;
2154 -runstatedir | --runstatedir | --runstatedi | --runstated \
2155 | --runstate | --runstat | --runsta | --runst | --runs \
2156 | --run | --ru | --r)
2157 ac_prev=runstatedir ;;
2158 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2159 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2160 | --run=* | --ru=* | --r=*)
2161 runstatedir=$ac_optarg ;;
2163 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2164 ac_prev=sbindir ;;
2165 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2166 | --sbi=* | --sb=*)
2167 sbindir=$ac_optarg ;;
2169 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2170 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2171 | --sharedst | --shareds | --shared | --share | --shar \
2172 | --sha | --sh)
2173 ac_prev=sharedstatedir ;;
2174 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2175 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2176 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2177 | --sha=* | --sh=*)
2178 sharedstatedir=$ac_optarg ;;
2180 -site | --site | --sit)
2181 ac_prev=site ;;
2182 -site=* | --site=* | --sit=*)
2183 site=$ac_optarg ;;
2185 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2186 ac_prev=srcdir ;;
2187 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2188 srcdir=$ac_optarg ;;
2190 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2191 | --syscon | --sysco | --sysc | --sys | --sy)
2192 ac_prev=sysconfdir ;;
2193 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2194 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2195 sysconfdir=$ac_optarg ;;
2197 -target | --target | --targe | --targ | --tar | --ta | --t)
2198 ac_prev=target_alias ;;
2199 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2200 target_alias=$ac_optarg ;;
2202 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2203 verbose=yes ;;
2205 -version | --version | --versio | --versi | --vers | -V)
2206 ac_init_version=: ;;
2208 -with-* | --with-*)
2209 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2210 # Reject names that are not valid shell variable names.
2211 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2212 as_fn_error $? "invalid package name: $ac_useropt"
2213 ac_useropt_orig=$ac_useropt
2214 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2215 case $ac_user_opts in
2217 "with_$ac_useropt"
2218 "*) ;;
2219 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2220 ac_unrecognized_sep=', ';;
2221 esac
2222 eval with_$ac_useropt=\$ac_optarg ;;
2224 -without-* | --without-*)
2225 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2226 # Reject names that are not valid shell variable names.
2227 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2228 as_fn_error $? "invalid package name: $ac_useropt"
2229 ac_useropt_orig=$ac_useropt
2230 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2231 case $ac_user_opts in
2233 "with_$ac_useropt"
2234 "*) ;;
2235 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2236 ac_unrecognized_sep=', ';;
2237 esac
2238 eval with_$ac_useropt=no ;;
2240 --x)
2241 # Obsolete; use --with-x.
2242 with_x=yes ;;
2244 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2245 | --x-incl | --x-inc | --x-in | --x-i)
2246 ac_prev=x_includes ;;
2247 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2248 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2249 x_includes=$ac_optarg ;;
2251 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2252 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2253 ac_prev=x_libraries ;;
2254 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2255 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2256 x_libraries=$ac_optarg ;;
2258 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2259 Try \`$0 --help' for more information"
2262 *=*)
2263 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2264 # Reject names that are not valid shell variable names.
2265 case $ac_envvar in #(
2266 '' | [0-9]* | *[!_$as_cr_alnum]* )
2267 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2268 esac
2269 eval $ac_envvar=\$ac_optarg
2270 export $ac_envvar ;;
2273 # FIXME: should be removed in autoconf 3.0.
2274 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2275 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2276 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2277 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2280 esac
2281 done
2283 if test -n "$ac_prev"; then
2284 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2285 as_fn_error $? "missing argument to $ac_option"
2288 if test -n "$ac_unrecognized_opts"; then
2289 case $enable_option_checking in
2290 no) ;;
2291 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2292 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2293 esac
2296 # Check all directory arguments for consistency.
2297 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2298 datadir sysconfdir sharedstatedir localstatedir includedir \
2299 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2300 libdir localedir mandir runstatedir
2302 eval ac_val=\$$ac_var
2303 # Remove trailing slashes.
2304 case $ac_val in
2305 */ )
2306 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2307 eval $ac_var=\$ac_val;;
2308 esac
2309 # Be sure to have absolute directory names.
2310 case $ac_val in
2311 [\\/$]* | ?:[\\/]* ) continue;;
2312 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2313 esac
2314 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2315 done
2317 # There might be people who depend on the old broken behavior: `$host'
2318 # used to hold the argument of --host etc.
2319 # FIXME: To remove some day.
2320 build=$build_alias
2321 host=$host_alias
2322 target=$target_alias
2324 # FIXME: To remove some day.
2325 if test "x$host_alias" != x; then
2326 if test "x$build_alias" = x; then
2327 cross_compiling=maybe
2328 elif test "x$build_alias" != "x$host_alias"; then
2329 cross_compiling=yes
2333 ac_tool_prefix=
2334 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2336 test "$silent" = yes && exec 6>/dev/null
2339 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2340 ac_ls_di=`ls -di .` &&
2341 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2342 as_fn_error $? "working directory cannot be determined"
2343 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2344 as_fn_error $? "pwd does not report name of working directory"
2347 # Find the source files, if location was not specified.
2348 if test -z "$srcdir"; then
2349 ac_srcdir_defaulted=yes
2350 # Try the directory containing this script, then the parent directory.
2351 ac_confdir=`$as_dirname -- "$as_myself" ||
2352 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2353 X"$as_myself" : 'X\(//\)[^/]' \| \
2354 X"$as_myself" : 'X\(//\)$' \| \
2355 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2356 $as_echo X"$as_myself" |
2357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2358 s//\1/
2361 /^X\(\/\/\)[^/].*/{
2362 s//\1/
2365 /^X\(\/\/\)$/{
2366 s//\1/
2369 /^X\(\/\).*/{
2370 s//\1/
2373 s/.*/./; q'`
2374 srcdir=$ac_confdir
2375 if test ! -r "$srcdir/$ac_unique_file"; then
2376 srcdir=..
2378 else
2379 ac_srcdir_defaulted=no
2381 if test ! -r "$srcdir/$ac_unique_file"; then
2382 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2383 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2385 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2386 ac_abs_confdir=`(
2387 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2388 pwd)`
2389 # When building in place, set srcdir=.
2390 if test "$ac_abs_confdir" = "$ac_pwd"; then
2391 srcdir=.
2393 # Remove unnecessary trailing slashes from srcdir.
2394 # Double slashes in file names in object file debugging info
2395 # mess up M-x gdb in Emacs.
2396 case $srcdir in
2397 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2398 esac
2399 for ac_var in $ac_precious_vars; do
2400 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2401 eval ac_env_${ac_var}_value=\$${ac_var}
2402 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2403 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2404 done
2407 # Report the --help message.
2409 if test "$ac_init_help" = "long"; then
2410 # Omit some internal or obsolete options to make the list less imposing.
2411 # This message is too long to be a string in the A/UX 3.1 sh.
2412 cat <<_ACEOF
2413 \`configure' configures Wine 4.4 to adapt to many kinds of systems.
2415 Usage: $0 [OPTION]... [VAR=VALUE]...
2417 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2418 VAR=VALUE. See below for descriptions of some of the useful variables.
2420 Defaults for the options are specified in brackets.
2422 Configuration:
2423 -h, --help display this help and exit
2424 --help=short display options specific to this package
2425 --help=recursive display the short help of all the included packages
2426 -V, --version display version information and exit
2427 -q, --quiet, --silent do not print \`checking ...' messages
2428 --cache-file=FILE cache test results in FILE [disabled]
2429 -C, --config-cache alias for \`--cache-file=config.cache'
2430 -n, --no-create do not create output files
2431 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2433 Installation directories:
2434 --prefix=PREFIX install architecture-independent files in PREFIX
2435 [$ac_default_prefix]
2436 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2437 [PREFIX]
2439 By default, \`make install' will install all the files in
2440 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2441 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2442 for instance \`--prefix=\$HOME'.
2444 For better control, use the options below.
2446 Fine tuning of the installation directories:
2447 --bindir=DIR user executables [EPREFIX/bin]
2448 --sbindir=DIR system admin executables [EPREFIX/sbin]
2449 --libexecdir=DIR program executables [EPREFIX/libexec]
2450 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2451 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2452 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2453 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2454 --libdir=DIR object code libraries [EPREFIX/lib]
2455 --includedir=DIR C header files [PREFIX/include]
2456 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2457 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2458 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2459 --infodir=DIR info documentation [DATAROOTDIR/info]
2460 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2461 --mandir=DIR man documentation [DATAROOTDIR/man]
2462 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2463 --htmldir=DIR html documentation [DOCDIR]
2464 --dvidir=DIR dvi documentation [DOCDIR]
2465 --pdfdir=DIR pdf documentation [DOCDIR]
2466 --psdir=DIR ps documentation [DOCDIR]
2467 _ACEOF
2469 cat <<\_ACEOF
2471 X features:
2472 --x-includes=DIR X include files are in DIR
2473 --x-libraries=DIR X library files are in DIR
2475 System types:
2476 --build=BUILD configure for building on BUILD [guessed]
2477 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2478 _ACEOF
2481 if test -n "$ac_init_help"; then
2482 case $ac_init_help in
2483 short | recursive ) echo "Configuration of Wine 4.4:";;
2484 esac
2485 cat <<\_ACEOF
2487 Optional Features:
2488 --disable-option-checking ignore unrecognized --enable/--with options
2489 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2490 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2491 --disable-win16 do not include Win16 support
2492 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2493 binaries)
2494 --disable-tests do not build the regression tests
2495 --enable-maintainer-mode
2496 enable maintainer-specific build rules
2497 --disable-largefile omit support for large files
2499 Optional Packages:
2500 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2501 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2502 --without-alsa do not use the Alsa sound support
2503 --without-capi do not use CAPI (ISDN support)
2504 --without-cms do not use CMS (color management support)
2505 --without-coreaudio do not use the CoreAudio sound support
2506 --without-cups do not use CUPS
2507 --without-curses do not use (n)curses
2508 --without-dbus do not use DBus (dynamic device support)
2509 --without-faudio do not use FAudio (XAudio2 support)
2510 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2511 --without-fontconfig do not use fontconfig
2512 --without-freetype do not use the FreeType library
2513 --without-gettext do not use gettext
2514 --with-gettextpo use the GetTextPO library to rebuild po files
2515 --without-gphoto do not use gphoto (Digital Camera support)
2516 --without-glu do not use the GLU library
2517 --without-gnutls do not use GnuTLS (schannel support)
2518 --without-gsm do not use libgsm (GSM 06.10 codec support)
2519 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2520 --without-gstreamer do not use GStreamer (codecs support)
2521 --without-hal do not use HAL (dynamic device support)
2522 --without-jpeg do not use JPEG
2523 --without-krb5 do not use krb5 (Kerberos)
2524 --without-ldap do not use LDAP
2525 --without-mpg123 do not use the mpg123 library
2526 --without-netapi do not use the Samba NetAPI library
2527 --without-openal do not use OpenAL
2528 --without-opencl do not use OpenCL
2529 --without-opengl do not use OpenGL
2530 --without-osmesa do not use the OSMesa library
2531 --without-oss do not use the OSS sound support
2532 --without-pcap do not use the Packet Capture library
2533 --without-png do not use PNG
2534 --without-pthread do not use the pthread library
2535 --without-pulse do not use PulseAudio sound support
2536 --without-sane do not use SANE (scanner support)
2537 --without-sdl do not use SDL
2538 --without-tiff do not use TIFF
2539 --without-udev do not use udev (plug and play support)
2540 --without-v4l do not use v4l1 (v4l support)
2541 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2542 --without-vulkan do not use Vulkan
2543 --without-xcomposite do not use the Xcomposite extension
2544 --without-xcursor do not use the Xcursor extension
2545 --without-xfixes do not use Xfixes for clipboard change notifications
2546 --without-xinerama do not use Xinerama (multi-monitor support)
2547 --without-xinput do not use the Xinput extension
2548 --without-xinput2 do not use the Xinput 2 extension
2549 --without-xml do not use XML
2550 --without-xrandr do not use Xrandr (resolution changes)
2551 --without-xrender do not use the Xrender extension
2552 --without-xshape do not use the Xshape extension
2553 --without-xshm do not use XShm (shared memory extension)
2554 --without-xslt do not use XSLT
2555 --without-xxf86vm do not use XFree video mode extension
2556 --without-zlib do not use Zlib (data compression)
2557 --with-wine-tools=DIR use Wine tools from directory DIR
2558 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2559 --with-x use the X Window System
2561 Some influential environment variables:
2562 CC C compiler command
2563 CFLAGS C compiler flags
2564 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2565 nonstandard directory <lib dir>
2566 LIBS libraries to pass to the linker, e.g. -l<library>
2567 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2568 you have headers in a nonstandard directory <include dir>
2569 CXX C++ compiler command
2570 CXXFLAGS C++ compiler flags
2571 CPP C preprocessor
2572 OBJC Objective C compiler command
2573 OBJCFLAGS Objective C compiler flags
2574 OBJCPP Objective C preprocessor
2575 XMKMF Path to xmkmf, Makefile generator for X Window System
2576 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2577 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2578 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2579 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2580 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2581 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2582 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2583 HAL_LIBS Linker flags for hal, overriding pkg-config
2584 GNUTLS_CFLAGS
2585 C compiler flags for gnutls, overriding pkg-config
2586 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2587 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2588 SANE_LIBS Linker flags for libsane, overriding pkg-config
2589 GPHOTO2_CFLAGS
2590 C compiler flags for libgphoto2, overriding pkg-config
2591 GPHOTO2_LIBS
2592 Linker flags for libgphoto2, overriding pkg-config
2593 GPHOTO2_PORT_CFLAGS
2594 C compiler flags for libgphoto2_port, overriding pkg-config
2595 GPHOTO2_PORT_LIBS
2596 Linker flags for libgphoto2_port, overriding pkg-config
2597 LCMS2_CFLAGS
2598 C compiler flags for lcms2, overriding pkg-config
2599 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2600 FREETYPE_CFLAGS
2601 C compiler flags for freetype2, overriding pkg-config
2602 FREETYPE_LIBS
2603 Linker flags for freetype2, overriding pkg-config
2604 PULSE_CFLAGS
2605 C compiler flags for libpulse, overriding pkg-config
2606 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2607 GSTREAMER_CFLAGS
2608 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2609 gstreamer-audio-1.0, overriding pkg-config
2610 GSTREAMER_LIBS
2611 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2612 gstreamer-audio-1.0, overriding pkg-config
2613 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2614 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2615 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2616 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2617 FAUDIO_CFLAGS
2618 C compiler flags for faudio, overriding pkg-config
2619 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2620 CAPI20_CFLAGS
2621 C compiler flags for capi20, overriding pkg-config
2622 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2623 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2624 CUPS_LIBS Linker flags for cups, overriding pkg-config
2625 FONTCONFIG_CFLAGS
2626 C compiler flags for fontconfig, overriding pkg-config
2627 FONTCONFIG_LIBS
2628 Linker flags for fontconfig, overriding pkg-config
2629 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2630 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2631 GSSAPI_CFLAGS
2632 C compiler flags for krb5-gssapi, overriding pkg-config
2633 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2634 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2635 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2636 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2637 PNG_LIBS Linker flags for libpng, overriding pkg-config
2638 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2639 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2640 MPG123_CFLAGS
2641 C compiler flags for libmpg123, overriding pkg-config
2642 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2643 NETAPI_CFLAGS
2644 C compiler flags for netapi, overriding pkg-config
2645 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2646 VKD3D_CFLAGS
2647 C compiler flags for libvkd3d, overriding pkg-config
2648 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2649 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2650 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2652 Use these variables to override the choices made by `configure' or to help
2653 it to find libraries and programs with nonstandard names/locations.
2655 Report bugs to <wine-devel@winehq.org>.
2656 Wine home page: <https://www.winehq.org>.
2657 _ACEOF
2658 ac_status=$?
2661 if test "$ac_init_help" = "recursive"; then
2662 # If there are subdirs, report their specific --help.
2663 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2664 test -d "$ac_dir" ||
2665 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2666 continue
2667 ac_builddir=.
2669 case "$ac_dir" in
2670 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2672 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2673 # A ".." for each directory in $ac_dir_suffix.
2674 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2675 case $ac_top_builddir_sub in
2676 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2677 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2678 esac ;;
2679 esac
2680 ac_abs_top_builddir=$ac_pwd
2681 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2682 # for backward compatibility:
2683 ac_top_builddir=$ac_top_build_prefix
2685 case $srcdir in
2686 .) # We are building in place.
2687 ac_srcdir=.
2688 ac_top_srcdir=$ac_top_builddir_sub
2689 ac_abs_top_srcdir=$ac_pwd ;;
2690 [\\/]* | ?:[\\/]* ) # Absolute name.
2691 ac_srcdir=$srcdir$ac_dir_suffix;
2692 ac_top_srcdir=$srcdir
2693 ac_abs_top_srcdir=$srcdir ;;
2694 *) # Relative name.
2695 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2696 ac_top_srcdir=$ac_top_build_prefix$srcdir
2697 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2698 esac
2699 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2701 cd "$ac_dir" || { ac_status=$?; continue; }
2702 # Check for guested configure.
2703 if test -f "$ac_srcdir/configure.gnu"; then
2704 echo &&
2705 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2706 elif test -f "$ac_srcdir/configure"; then
2707 echo &&
2708 $SHELL "$ac_srcdir/configure" --help=recursive
2709 else
2710 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2711 fi || ac_status=$?
2712 cd "$ac_pwd" || { ac_status=$?; break; }
2713 done
2716 test -n "$ac_init_help" && exit $ac_status
2717 if $ac_init_version; then
2718 cat <<\_ACEOF
2719 Wine configure 4.4
2720 generated by GNU Autoconf 2.69
2722 Copyright (C) 2012 Free Software Foundation, Inc.
2723 This configure script is free software; the Free Software Foundation
2724 gives unlimited permission to copy, distribute and modify it.
2725 _ACEOF
2726 exit
2729 ## ------------------------ ##
2730 ## Autoconf initialization. ##
2731 ## ------------------------ ##
2733 # ac_fn_c_try_compile LINENO
2734 # --------------------------
2735 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2736 ac_fn_c_try_compile ()
2738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2739 rm -f conftest.$ac_objext
2740 if { { ac_try="$ac_compile"
2741 case "(($ac_try" in
2742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2743 *) ac_try_echo=$ac_try;;
2744 esac
2745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2746 $as_echo "$ac_try_echo"; } >&5
2747 (eval "$ac_compile") 2>conftest.err
2748 ac_status=$?
2749 if test -s conftest.err; then
2750 grep -v '^ *+' conftest.err >conftest.er1
2751 cat conftest.er1 >&5
2752 mv -f conftest.er1 conftest.err
2754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2755 test $ac_status = 0; } && {
2756 test -z "$ac_c_werror_flag" ||
2757 test ! -s conftest.err
2758 } && test -s conftest.$ac_objext; then :
2759 ac_retval=0
2760 else
2761 $as_echo "$as_me: failed program was:" >&5
2762 sed 's/^/| /' conftest.$ac_ext >&5
2764 ac_retval=1
2766 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2767 as_fn_set_status $ac_retval
2769 } # ac_fn_c_try_compile
2771 # ac_fn_cxx_try_compile LINENO
2772 # ----------------------------
2773 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2774 ac_fn_cxx_try_compile ()
2776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2777 rm -f conftest.$ac_objext
2778 if { { ac_try="$ac_compile"
2779 case "(($ac_try" in
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2782 esac
2783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2784 $as_echo "$ac_try_echo"; } >&5
2785 (eval "$ac_compile") 2>conftest.err
2786 ac_status=$?
2787 if test -s conftest.err; then
2788 grep -v '^ *+' conftest.err >conftest.er1
2789 cat conftest.er1 >&5
2790 mv -f conftest.er1 conftest.err
2792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2793 test $ac_status = 0; } && {
2794 test -z "$ac_cxx_werror_flag" ||
2795 test ! -s conftest.err
2796 } && test -s conftest.$ac_objext; then :
2797 ac_retval=0
2798 else
2799 $as_echo "$as_me: failed program was:" >&5
2800 sed 's/^/| /' conftest.$ac_ext >&5
2802 ac_retval=1
2804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2805 as_fn_set_status $ac_retval
2807 } # ac_fn_cxx_try_compile
2809 # ac_fn_c_try_link LINENO
2810 # -----------------------
2811 # Try to link conftest.$ac_ext, and return whether this succeeded.
2812 ac_fn_c_try_link ()
2814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2815 rm -f conftest.$ac_objext conftest$ac_exeext
2816 if { { ac_try="$ac_link"
2817 case "(($ac_try" in
2818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2819 *) ac_try_echo=$ac_try;;
2820 esac
2821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2822 $as_echo "$ac_try_echo"; } >&5
2823 (eval "$ac_link") 2>conftest.err
2824 ac_status=$?
2825 if test -s conftest.err; then
2826 grep -v '^ *+' conftest.err >conftest.er1
2827 cat conftest.er1 >&5
2828 mv -f conftest.er1 conftest.err
2830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2831 test $ac_status = 0; } && {
2832 test -z "$ac_c_werror_flag" ||
2833 test ! -s conftest.err
2834 } && test -s conftest$ac_exeext && {
2835 test "$cross_compiling" = yes ||
2836 test -x conftest$ac_exeext
2837 }; then :
2838 ac_retval=0
2839 else
2840 $as_echo "$as_me: failed program was:" >&5
2841 sed 's/^/| /' conftest.$ac_ext >&5
2843 ac_retval=1
2845 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2846 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2847 # interfere with the next link command; also delete a directory that is
2848 # left behind by Apple's compiler. We do this before executing the actions.
2849 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2851 as_fn_set_status $ac_retval
2853 } # ac_fn_c_try_link
2855 # ac_fn_c_try_cpp LINENO
2856 # ----------------------
2857 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2858 ac_fn_c_try_cpp ()
2860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2861 if { { ac_try="$ac_cpp conftest.$ac_ext"
2862 case "(($ac_try" in
2863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2864 *) ac_try_echo=$ac_try;;
2865 esac
2866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2867 $as_echo "$ac_try_echo"; } >&5
2868 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2869 ac_status=$?
2870 if test -s conftest.err; then
2871 grep -v '^ *+' conftest.err >conftest.er1
2872 cat conftest.er1 >&5
2873 mv -f conftest.er1 conftest.err
2875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2876 test $ac_status = 0; } > conftest.i && {
2877 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2878 test ! -s conftest.err
2879 }; then :
2880 ac_retval=0
2881 else
2882 $as_echo "$as_me: failed program was:" >&5
2883 sed 's/^/| /' conftest.$ac_ext >&5
2885 ac_retval=1
2887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2888 as_fn_set_status $ac_retval
2890 } # ac_fn_c_try_cpp
2892 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2893 # -------------------------------------------------------
2894 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2895 # the include files in INCLUDES and setting the cache variable VAR
2896 # accordingly.
2897 ac_fn_c_check_header_mongrel ()
2899 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2900 if eval \${$3+:} false; then :
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2902 $as_echo_n "checking for $2... " >&6; }
2903 if eval \${$3+:} false; then :
2904 $as_echo_n "(cached) " >&6
2906 eval ac_res=\$$3
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2908 $as_echo "$ac_res" >&6; }
2909 else
2910 # Is the header compilable?
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2912 $as_echo_n "checking $2 usability... " >&6; }
2913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2914 /* end confdefs.h. */
2916 #include <$2>
2917 _ACEOF
2918 if ac_fn_c_try_compile "$LINENO"; then :
2919 ac_header_compiler=yes
2920 else
2921 ac_header_compiler=no
2923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2925 $as_echo "$ac_header_compiler" >&6; }
2927 # Is the header present?
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2929 $as_echo_n "checking $2 presence... " >&6; }
2930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2931 /* end confdefs.h. */
2932 #include <$2>
2933 _ACEOF
2934 if ac_fn_c_try_cpp "$LINENO"; then :
2935 ac_header_preproc=yes
2936 else
2937 ac_header_preproc=no
2939 rm -f conftest.err conftest.i conftest.$ac_ext
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2941 $as_echo "$ac_header_preproc" >&6; }
2943 # So? What about this header?
2944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2945 yes:no: )
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2947 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2949 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2951 no:yes:* )
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2953 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2955 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2957 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2959 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2961 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2962 ( $as_echo "## ------------------------------------ ##
2963 ## Report this to wine-devel@winehq.org ##
2964 ## ------------------------------------ ##"
2965 ) | sed "s/^/$as_me: WARNING: /" >&2
2967 esac
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2969 $as_echo_n "checking for $2... " >&6; }
2970 if eval \${$3+:} false; then :
2971 $as_echo_n "(cached) " >&6
2972 else
2973 eval "$3=\$ac_header_compiler"
2975 eval ac_res=\$$3
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2977 $as_echo "$ac_res" >&6; }
2979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2981 } # ac_fn_c_check_header_mongrel
2983 # ac_fn_c_try_run LINENO
2984 # ----------------------
2985 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2986 # that executables *can* be run.
2987 ac_fn_c_try_run ()
2989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2990 if { { ac_try="$ac_link"
2991 case "(($ac_try" in
2992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2993 *) ac_try_echo=$ac_try;;
2994 esac
2995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2996 $as_echo "$ac_try_echo"; } >&5
2997 (eval "$ac_link") 2>&5
2998 ac_status=$?
2999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3000 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3001 { { case "(($ac_try" in
3002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3003 *) ac_try_echo=$ac_try;;
3004 esac
3005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3006 $as_echo "$ac_try_echo"; } >&5
3007 (eval "$ac_try") 2>&5
3008 ac_status=$?
3009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3010 test $ac_status = 0; }; }; then :
3011 ac_retval=0
3012 else
3013 $as_echo "$as_me: program exited with status $ac_status" >&5
3014 $as_echo "$as_me: failed program was:" >&5
3015 sed 's/^/| /' conftest.$ac_ext >&5
3017 ac_retval=$ac_status
3019 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3020 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3021 as_fn_set_status $ac_retval
3023 } # ac_fn_c_try_run
3025 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3026 # -------------------------------------------------------
3027 # Tests whether HEADER exists and can be compiled using the include files in
3028 # INCLUDES, setting the cache variable VAR accordingly.
3029 ac_fn_c_check_header_compile ()
3031 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3033 $as_echo_n "checking for $2... " >&6; }
3034 if eval \${$3+:} false; then :
3035 $as_echo_n "(cached) " >&6
3036 else
3037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3038 /* end confdefs.h. */
3040 #include <$2>
3041 _ACEOF
3042 if ac_fn_c_try_compile "$LINENO"; then :
3043 eval "$3=yes"
3044 else
3045 eval "$3=no"
3047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3049 eval ac_res=\$$3
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3051 $as_echo "$ac_res" >&6; }
3052 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3054 } # ac_fn_c_check_header_compile
3056 # ac_fn_objc_try_compile LINENO
3057 # -----------------------------
3058 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3059 ac_fn_objc_try_compile ()
3061 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3062 rm -f conftest.$ac_objext
3063 if { { ac_try="$ac_compile"
3064 case "(($ac_try" in
3065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3066 *) ac_try_echo=$ac_try;;
3067 esac
3068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3069 $as_echo "$ac_try_echo"; } >&5
3070 (eval "$ac_compile") 2>conftest.err
3071 ac_status=$?
3072 if test -s conftest.err; then
3073 grep -v '^ *+' conftest.err >conftest.er1
3074 cat conftest.er1 >&5
3075 mv -f conftest.er1 conftest.err
3077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3078 test $ac_status = 0; } && {
3079 test -z "$ac_objc_werror_flag" ||
3080 test ! -s conftest.err
3081 } && test -s conftest.$ac_objext; then :
3082 ac_retval=0
3083 else
3084 $as_echo "$as_me: failed program was:" >&5
3085 sed 's/^/| /' conftest.$ac_ext >&5
3087 ac_retval=1
3089 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3090 as_fn_set_status $ac_retval
3092 } # ac_fn_objc_try_compile
3094 # ac_fn_objc_try_cpp LINENO
3095 # -------------------------
3096 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3097 ac_fn_objc_try_cpp ()
3099 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3100 if { { ac_try="$ac_cpp conftest.$ac_ext"
3101 case "(($ac_try" in
3102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3103 *) ac_try_echo=$ac_try;;
3104 esac
3105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3106 $as_echo "$ac_try_echo"; } >&5
3107 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3108 ac_status=$?
3109 if test -s conftest.err; then
3110 grep -v '^ *+' conftest.err >conftest.er1
3111 cat conftest.er1 >&5
3112 mv -f conftest.er1 conftest.err
3114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3115 test $ac_status = 0; } > conftest.i && {
3116 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3117 test ! -s conftest.err
3118 }; then :
3119 ac_retval=0
3120 else
3121 $as_echo "$as_me: failed program was:" >&5
3122 sed 's/^/| /' conftest.$ac_ext >&5
3124 ac_retval=1
3126 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3127 as_fn_set_status $ac_retval
3129 } # ac_fn_objc_try_cpp
3131 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3132 # ----------------------------------------------------------
3133 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3134 # the include files in INCLUDES and setting the cache variable VAR
3135 # accordingly.
3136 ac_fn_objc_check_header_mongrel ()
3138 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3139 if eval \${$3+:} false; then :
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3141 $as_echo_n "checking for $2... " >&6; }
3142 if eval \${$3+:} false; then :
3143 $as_echo_n "(cached) " >&6
3145 eval ac_res=\$$3
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3147 $as_echo "$ac_res" >&6; }
3148 else
3149 # Is the header compilable?
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3151 $as_echo_n "checking $2 usability... " >&6; }
3152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3153 /* end confdefs.h. */
3155 #include <$2>
3156 _ACEOF
3157 if ac_fn_objc_try_compile "$LINENO"; then :
3158 ac_header_compiler=yes
3159 else
3160 ac_header_compiler=no
3162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3164 $as_echo "$ac_header_compiler" >&6; }
3166 # Is the header present?
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3168 $as_echo_n "checking $2 presence... " >&6; }
3169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3170 /* end confdefs.h. */
3171 #include <$2>
3172 _ACEOF
3173 if ac_fn_objc_try_cpp "$LINENO"; then :
3174 ac_header_preproc=yes
3175 else
3176 ac_header_preproc=no
3178 rm -f conftest.err conftest.i conftest.$ac_ext
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3180 $as_echo "$ac_header_preproc" >&6; }
3182 # So? What about this header?
3183 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3184 yes:no: )
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3186 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3188 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3190 no:yes:* )
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3192 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3194 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3196 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3198 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3200 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3201 ( $as_echo "## ------------------------------------ ##
3202 ## Report this to wine-devel@winehq.org ##
3203 ## ------------------------------------ ##"
3204 ) | sed "s/^/$as_me: WARNING: /" >&2
3206 esac
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3208 $as_echo_n "checking for $2... " >&6; }
3209 if eval \${$3+:} false; then :
3210 $as_echo_n "(cached) " >&6
3211 else
3212 eval "$3=\$ac_header_compiler"
3214 eval ac_res=\$$3
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3216 $as_echo "$ac_res" >&6; }
3218 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3220 } # ac_fn_objc_check_header_mongrel
3222 # ac_fn_c_check_func LINENO FUNC VAR
3223 # ----------------------------------
3224 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3225 ac_fn_c_check_func ()
3227 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3229 $as_echo_n "checking for $2... " >&6; }
3230 if eval \${$3+:} false; then :
3231 $as_echo_n "(cached) " >&6
3232 else
3233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3234 /* end confdefs.h. */
3235 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3237 #define $2 innocuous_$2
3239 /* System header to define __stub macros and hopefully few prototypes,
3240 which can conflict with char $2 (); below.
3241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3242 <limits.h> exists even on freestanding compilers. */
3244 #ifdef __STDC__
3245 # include <limits.h>
3246 #else
3247 # include <assert.h>
3248 #endif
3250 #undef $2
3252 /* Override any GCC internal prototype to avoid an error.
3253 Use char because int might match the return type of a GCC
3254 builtin and then its argument prototype would still apply. */
3255 #ifdef __cplusplus
3256 extern "C"
3257 #endif
3258 char $2 ();
3259 /* The GNU C library defines this for functions which it implements
3260 to always fail with ENOSYS. Some functions are actually named
3261 something starting with __ and the normal name is an alias. */
3262 #if defined __stub_$2 || defined __stub___$2
3263 choke me
3264 #endif
3267 main ()
3269 return $2 ();
3271 return 0;
3273 _ACEOF
3274 if ac_fn_c_try_link "$LINENO"; then :
3275 eval "$3=yes"
3276 else
3277 eval "$3=no"
3279 rm -f core conftest.err conftest.$ac_objext \
3280 conftest$ac_exeext conftest.$ac_ext
3282 eval ac_res=\$$3
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3284 $as_echo "$ac_res" >&6; }
3285 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3287 } # ac_fn_c_check_func
3289 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3290 # ----------------------------------------------------
3291 # Tries to find if the field MEMBER exists in type AGGR, after including
3292 # INCLUDES, setting cache variable VAR accordingly.
3293 ac_fn_c_check_member ()
3295 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3297 $as_echo_n "checking for $2.$3... " >&6; }
3298 if eval \${$4+:} false; then :
3299 $as_echo_n "(cached) " >&6
3300 else
3301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3302 /* end confdefs.h. */
3305 main ()
3307 static $2 ac_aggr;
3308 if (ac_aggr.$3)
3309 return 0;
3311 return 0;
3313 _ACEOF
3314 if ac_fn_c_try_compile "$LINENO"; then :
3315 eval "$4=yes"
3316 else
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3321 main ()
3323 static $2 ac_aggr;
3324 if (sizeof ac_aggr.$3)
3325 return 0;
3327 return 0;
3329 _ACEOF
3330 if ac_fn_c_try_compile "$LINENO"; then :
3331 eval "$4=yes"
3332 else
3333 eval "$4=no"
3335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3339 eval ac_res=\$$4
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3341 $as_echo "$ac_res" >&6; }
3342 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3344 } # ac_fn_c_check_member
3346 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3347 # -------------------------------------------
3348 # Tests whether TYPE exists after having included INCLUDES, setting cache
3349 # variable VAR accordingly.
3350 ac_fn_c_check_type ()
3352 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3354 $as_echo_n "checking for $2... " >&6; }
3355 if eval \${$3+:} false; then :
3356 $as_echo_n "(cached) " >&6
3357 else
3358 eval "$3=no"
3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360 /* end confdefs.h. */
3363 main ()
3365 if (sizeof ($2))
3366 return 0;
3368 return 0;
3370 _ACEOF
3371 if ac_fn_c_try_compile "$LINENO"; then :
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3376 main ()
3378 if (sizeof (($2)))
3379 return 0;
3381 return 0;
3383 _ACEOF
3384 if ac_fn_c_try_compile "$LINENO"; then :
3386 else
3387 eval "$3=yes"
3389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3393 eval ac_res=\$$3
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3395 $as_echo "$ac_res" >&6; }
3396 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3398 } # ac_fn_c_check_type
3399 cat >config.log <<_ACEOF
3400 This file contains any messages produced by compilers while
3401 running configure, to aid debugging if configure makes a mistake.
3403 It was created by Wine $as_me 4.4, which was
3404 generated by GNU Autoconf 2.69. Invocation command line was
3406 $ $0 $@
3408 _ACEOF
3409 exec 5>>config.log
3411 cat <<_ASUNAME
3412 ## --------- ##
3413 ## Platform. ##
3414 ## --------- ##
3416 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3417 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3418 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3419 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3420 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3422 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3423 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3425 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3426 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3427 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3428 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3429 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3430 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3431 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3433 _ASUNAME
3435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3436 for as_dir in $PATH
3438 IFS=$as_save_IFS
3439 test -z "$as_dir" && as_dir=.
3440 $as_echo "PATH: $as_dir"
3441 done
3442 IFS=$as_save_IFS
3444 } >&5
3446 cat >&5 <<_ACEOF
3449 ## ----------- ##
3450 ## Core tests. ##
3451 ## ----------- ##
3453 _ACEOF
3456 # Keep a trace of the command line.
3457 # Strip out --no-create and --no-recursion so they do not pile up.
3458 # Strip out --silent because we don't want to record it for future runs.
3459 # Also quote any args containing shell meta-characters.
3460 # Make two passes to allow for proper duplicate-argument suppression.
3461 ac_configure_args=
3462 ac_configure_args0=
3463 ac_configure_args1=
3464 ac_must_keep_next=false
3465 for ac_pass in 1 2
3467 for ac_arg
3469 case $ac_arg in
3470 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3471 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3472 | -silent | --silent | --silen | --sile | --sil)
3473 continue ;;
3474 *\'*)
3475 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3476 esac
3477 case $ac_pass in
3478 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3480 as_fn_append ac_configure_args1 " '$ac_arg'"
3481 if test $ac_must_keep_next = true; then
3482 ac_must_keep_next=false # Got value, back to normal.
3483 else
3484 case $ac_arg in
3485 *=* | --config-cache | -C | -disable-* | --disable-* \
3486 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3487 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3488 | -with-* | --with-* | -without-* | --without-* | --x)
3489 case "$ac_configure_args0 " in
3490 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3491 esac
3493 -* ) ac_must_keep_next=true ;;
3494 esac
3496 as_fn_append ac_configure_args " '$ac_arg'"
3498 esac
3499 done
3500 done
3501 { ac_configure_args0=; unset ac_configure_args0;}
3502 { ac_configure_args1=; unset ac_configure_args1;}
3504 # When interrupted or exit'd, cleanup temporary files, and complete
3505 # config.log. We remove comments because anyway the quotes in there
3506 # would cause problems or look ugly.
3507 # WARNING: Use '\'' to represent an apostrophe within the trap.
3508 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3509 trap 'exit_status=$?
3510 # Save into config.log some information that might help in debugging.
3512 echo
3514 $as_echo "## ---------------- ##
3515 ## Cache variables. ##
3516 ## ---------------- ##"
3517 echo
3518 # The following way of writing the cache mishandles newlines in values,
3520 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3521 eval ac_val=\$$ac_var
3522 case $ac_val in #(
3523 *${as_nl}*)
3524 case $ac_var in #(
3525 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3526 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3527 esac
3528 case $ac_var in #(
3529 _ | IFS | as_nl) ;; #(
3530 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3531 *) { eval $ac_var=; unset $ac_var;} ;;
3532 esac ;;
3533 esac
3534 done
3535 (set) 2>&1 |
3536 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3537 *${as_nl}ac_space=\ *)
3538 sed -n \
3539 "s/'\''/'\''\\\\'\'''\''/g;
3540 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3541 ;; #(
3543 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3545 esac |
3546 sort
3548 echo
3550 $as_echo "## ----------------- ##
3551 ## Output variables. ##
3552 ## ----------------- ##"
3553 echo
3554 for ac_var in $ac_subst_vars
3556 eval ac_val=\$$ac_var
3557 case $ac_val in
3558 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3559 esac
3560 $as_echo "$ac_var='\''$ac_val'\''"
3561 done | sort
3562 echo
3564 if test -n "$ac_subst_files"; then
3565 $as_echo "## ------------------- ##
3566 ## File substitutions. ##
3567 ## ------------------- ##"
3568 echo
3569 for ac_var in $ac_subst_files
3571 eval ac_val=\$$ac_var
3572 case $ac_val in
3573 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3574 esac
3575 $as_echo "$ac_var='\''$ac_val'\''"
3576 done | sort
3577 echo
3580 if test -s confdefs.h; then
3581 $as_echo "## ----------- ##
3582 ## confdefs.h. ##
3583 ## ----------- ##"
3584 echo
3585 cat confdefs.h
3586 echo
3588 test "$ac_signal" != 0 &&
3589 $as_echo "$as_me: caught signal $ac_signal"
3590 $as_echo "$as_me: exit $exit_status"
3591 } >&5
3592 rm -f core *.core core.conftest.* &&
3593 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3594 exit $exit_status
3596 for ac_signal in 1 2 13 15; do
3597 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3598 done
3599 ac_signal=0
3601 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3602 rm -f -r conftest* confdefs.h
3604 $as_echo "/* confdefs.h */" > confdefs.h
3606 # Predefined preprocessor variables.
3608 cat >>confdefs.h <<_ACEOF
3609 #define PACKAGE_NAME "$PACKAGE_NAME"
3610 _ACEOF
3612 cat >>confdefs.h <<_ACEOF
3613 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3614 _ACEOF
3616 cat >>confdefs.h <<_ACEOF
3617 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3618 _ACEOF
3620 cat >>confdefs.h <<_ACEOF
3621 #define PACKAGE_STRING "$PACKAGE_STRING"
3622 _ACEOF
3624 cat >>confdefs.h <<_ACEOF
3625 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3626 _ACEOF
3628 cat >>confdefs.h <<_ACEOF
3629 #define PACKAGE_URL "$PACKAGE_URL"
3630 _ACEOF
3633 # Let the site file select an alternate cache file if it wants to.
3634 # Prefer an explicitly selected file to automatically selected ones.
3635 ac_site_file1=NONE
3636 ac_site_file2=NONE
3637 if test -n "$CONFIG_SITE"; then
3638 # We do not want a PATH search for config.site.
3639 case $CONFIG_SITE in #((
3640 -*) ac_site_file1=./$CONFIG_SITE;;
3641 */*) ac_site_file1=$CONFIG_SITE;;
3642 *) ac_site_file1=./$CONFIG_SITE;;
3643 esac
3644 elif test "x$prefix" != xNONE; then
3645 ac_site_file1=$prefix/share/config.site
3646 ac_site_file2=$prefix/etc/config.site
3647 else
3648 ac_site_file1=$ac_default_prefix/share/config.site
3649 ac_site_file2=$ac_default_prefix/etc/config.site
3651 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3653 test "x$ac_site_file" = xNONE && continue
3654 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3656 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3657 sed 's/^/| /' "$ac_site_file" >&5
3658 . "$ac_site_file" \
3659 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3661 as_fn_error $? "failed to load site script $ac_site_file
3662 See \`config.log' for more details" "$LINENO" 5; }
3664 done
3666 if test -r "$cache_file"; then
3667 # Some versions of bash will fail to source /dev/null (special files
3668 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3669 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3671 $as_echo "$as_me: loading cache $cache_file" >&6;}
3672 case $cache_file in
3673 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3674 *) . "./$cache_file";;
3675 esac
3677 else
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3679 $as_echo "$as_me: creating cache $cache_file" >&6;}
3680 >$cache_file
3683 # Check that the precious variables saved in the cache have kept the same
3684 # value.
3685 ac_cache_corrupted=false
3686 for ac_var in $ac_precious_vars; do
3687 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3688 eval ac_new_set=\$ac_env_${ac_var}_set
3689 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3690 eval ac_new_val=\$ac_env_${ac_var}_value
3691 case $ac_old_set,$ac_new_set in
3692 set,)
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3694 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3695 ac_cache_corrupted=: ;;
3696 ,set)
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3698 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3699 ac_cache_corrupted=: ;;
3700 ,);;
3702 if test "x$ac_old_val" != "x$ac_new_val"; then
3703 # differences in whitespace do not lead to failure.
3704 ac_old_val_w=`echo x $ac_old_val`
3705 ac_new_val_w=`echo x $ac_new_val`
3706 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3708 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3709 ac_cache_corrupted=:
3710 else
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3712 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3713 eval $ac_var=\$ac_old_val
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3716 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3718 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3719 fi;;
3720 esac
3721 # Pass precious variables to config.status.
3722 if test "$ac_new_set" = set; then
3723 case $ac_new_val in
3724 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3725 *) ac_arg=$ac_var=$ac_new_val ;;
3726 esac
3727 case " $ac_configure_args " in
3728 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3729 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3730 esac
3732 done
3733 if $ac_cache_corrupted; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3737 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3738 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3740 ## -------------------- ##
3741 ## Main body of script. ##
3742 ## -------------------- ##
3744 ac_ext=c
3745 ac_cpp='$CPP $CPPFLAGS'
3746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3752 ac_config_headers="$ac_config_headers include/config.h"
3754 ac_aux_dir=
3755 for ac_dir in tools "$srcdir"/tools; do
3756 if test -f "$ac_dir/install-sh"; then
3757 ac_aux_dir=$ac_dir
3758 ac_install_sh="$ac_aux_dir/install-sh -c"
3759 break
3760 elif test -f "$ac_dir/install.sh"; then
3761 ac_aux_dir=$ac_dir
3762 ac_install_sh="$ac_aux_dir/install.sh -c"
3763 break
3764 elif test -f "$ac_dir/shtool"; then
3765 ac_aux_dir=$ac_dir
3766 ac_install_sh="$ac_aux_dir/shtool install -c"
3767 break
3769 done
3770 if test -z "$ac_aux_dir"; then
3771 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3774 # These three variables are undocumented and unsupported,
3775 # and are intended to be withdrawn in a future Autoconf release.
3776 # They can cause serious problems if a builder's source tree is in a directory
3777 # whose full name contains unusual characters.
3778 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3779 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3780 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3784 libwine_version="1.0"
3788 # Check whether --enable-win16 was given.
3789 if test "${enable_win16+set}" = set; then :
3790 enableval=$enable_win16;
3793 # Check whether --enable-win64 was given.
3794 if test "${enable_win64+set}" = set; then :
3795 enableval=$enable_win64;
3798 # Check whether --enable-tests was given.
3799 if test "${enable_tests+set}" = set; then :
3800 enableval=$enable_tests;
3803 # Check whether --enable-maintainer-mode was given.
3804 if test "${enable_maintainer_mode+set}" = set; then :
3805 enableval=$enable_maintainer_mode;
3810 # Check whether --with-alsa was given.
3811 if test "${with_alsa+set}" = set; then :
3812 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3816 # Check whether --with-capi was given.
3817 if test "${with_capi+set}" = set; then :
3818 withval=$with_capi;
3822 # Check whether --with-cms was given.
3823 if test "${with_cms+set}" = set; then :
3824 withval=$with_cms;
3828 # Check whether --with-coreaudio was given.
3829 if test "${with_coreaudio+set}" = set; then :
3830 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3834 # Check whether --with-cups was given.
3835 if test "${with_cups+set}" = set; then :
3836 withval=$with_cups;
3840 # Check whether --with-curses was given.
3841 if test "${with_curses+set}" = set; then :
3842 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3846 # Check whether --with-dbus was given.
3847 if test "${with_dbus+set}" = set; then :
3848 withval=$with_dbus;
3852 # Check whether --with-faudio was given.
3853 if test "${with_faudio+set}" = set; then :
3854 withval=$with_faudio;
3858 # Check whether --with-float-abi was given.
3859 if test "${with_float_abi+set}" = set; then :
3860 withval=$with_float_abi;
3864 # Check whether --with-fontconfig was given.
3865 if test "${with_fontconfig+set}" = set; then :
3866 withval=$with_fontconfig;
3870 # Check whether --with-freetype was given.
3871 if test "${with_freetype+set}" = set; then :
3872 withval=$with_freetype;
3876 # Check whether --with-gettext was given.
3877 if test "${with_gettext+set}" = set; then :
3878 withval=$with_gettext;
3882 # Check whether --with-gettextpo was given.
3883 if test "${with_gettextpo+set}" = set; then :
3884 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3888 # Check whether --with-gphoto was given.
3889 if test "${with_gphoto+set}" = set; then :
3890 withval=$with_gphoto;
3894 # Check whether --with-glu was given.
3895 if test "${with_glu+set}" = set; then :
3896 withval=$with_glu;
3900 # Check whether --with-gnutls was given.
3901 if test "${with_gnutls+set}" = set; then :
3902 withval=$with_gnutls;
3906 # Check whether --with-gsm was given.
3907 if test "${with_gsm+set}" = set; then :
3908 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3912 # Check whether --with-gssapi was given.
3913 if test "${with_gssapi+set}" = set; then :
3914 withval=$with_gssapi;
3918 # Check whether --with-gstreamer was given.
3919 if test "${with_gstreamer+set}" = set; then :
3920 withval=$with_gstreamer;
3924 # Check whether --with-hal was given.
3925 if test "${with_hal+set}" = set; then :
3926 withval=$with_hal;
3930 # Check whether --with-jpeg was given.
3931 if test "${with_jpeg+set}" = set; then :
3932 withval=$with_jpeg;
3936 # Check whether --with-krb5 was given.
3937 if test "${with_krb5+set}" = set; then :
3938 withval=$with_krb5;
3942 # Check whether --with-ldap was given.
3943 if test "${with_ldap+set}" = set; then :
3944 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3948 # Check whether --with-mpg123 was given.
3949 if test "${with_mpg123+set}" = set; then :
3950 withval=$with_mpg123;
3954 # Check whether --with-netapi was given.
3955 if test "${with_netapi+set}" = set; then :
3956 withval=$with_netapi;
3960 # Check whether --with-openal was given.
3961 if test "${with_openal+set}" = set; then :
3962 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3966 # Check whether --with-opencl was given.
3967 if test "${with_opencl+set}" = set; then :
3968 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3972 # Check whether --with-opengl was given.
3973 if test "${with_opengl+set}" = set; then :
3974 withval=$with_opengl;
3978 # Check whether --with-osmesa was given.
3979 if test "${with_osmesa+set}" = set; then :
3980 withval=$with_osmesa;
3984 # Check whether --with-oss was given.
3985 if test "${with_oss+set}" = set; then :
3986 withval=$with_oss;
3990 # Check whether --with-pcap was given.
3991 if test "${with_pcap+set}" = set; then :
3992 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3996 # Check whether --with-png was given.
3997 if test "${with_png+set}" = set; then :
3998 withval=$with_png;
4002 # Check whether --with-pthread was given.
4003 if test "${with_pthread+set}" = set; then :
4004 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4008 # Check whether --with-pulse was given.
4009 if test "${with_pulse+set}" = set; then :
4010 withval=$with_pulse;
4014 # Check whether --with-sane was given.
4015 if test "${with_sane+set}" = set; then :
4016 withval=$with_sane;
4020 # Check whether --with-sdl was given.
4021 if test "${with_sdl+set}" = set; then :
4022 withval=$with_sdl;
4026 # Check whether --with-tiff was given.
4027 if test "${with_tiff+set}" = set; then :
4028 withval=$with_tiff;
4032 # Check whether --with-udev was given.
4033 if test "${with_udev+set}" = set; then :
4034 withval=$with_udev;
4038 # Check whether --with-v4l was given.
4039 if test "${with_v4l+set}" = set; then :
4040 withval=$with_v4l;
4044 # Check whether --with-vkd3d was given.
4045 if test "${with_vkd3d+set}" = set; then :
4046 withval=$with_vkd3d;
4050 # Check whether --with-vulkan was given.
4051 if test "${with_vulkan+set}" = set; then :
4052 withval=$with_vulkan;
4056 # Check whether --with-xcomposite was given.
4057 if test "${with_xcomposite+set}" = set; then :
4058 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4062 # Check whether --with-xcursor was given.
4063 if test "${with_xcursor+set}" = set; then :
4064 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4068 # Check whether --with-xfixes was given.
4069 if test "${with_xfixes+set}" = set; then :
4070 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4074 # Check whether --with-xinerama was given.
4075 if test "${with_xinerama+set}" = set; then :
4076 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4080 # Check whether --with-xinput was given.
4081 if test "${with_xinput+set}" = set; then :
4082 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4086 # Check whether --with-xinput2 was given.
4087 if test "${with_xinput2+set}" = set; then :
4088 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4092 # Check whether --with-xml was given.
4093 if test "${with_xml+set}" = set; then :
4094 withval=$with_xml;
4098 # Check whether --with-xrandr was given.
4099 if test "${with_xrandr+set}" = set; then :
4100 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4104 # Check whether --with-xrender was given.
4105 if test "${with_xrender+set}" = set; then :
4106 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4110 # Check whether --with-xshape was given.
4111 if test "${with_xshape+set}" = set; then :
4112 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4116 # Check whether --with-xshm was given.
4117 if test "${with_xshm+set}" = set; then :
4118 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4122 # Check whether --with-xslt was given.
4123 if test "${with_xslt+set}" = set; then :
4124 withval=$with_xslt;
4128 # Check whether --with-xxf86vm was given.
4129 if test "${with_xxf86vm+set}" = set; then :
4130 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
4134 # Check whether --with-zlib was given.
4135 if test "${with_zlib+set}" = set; then :
4136 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4141 # Check whether --with-wine-tools was given.
4142 if test "${with_wine_tools+set}" = set; then :
4143 withval=$with_wine_tools;
4147 # Check whether --with-wine64 was given.
4148 if test "${with_wine64+set}" = set; then :
4149 withval=$with_wine64;
4153 # Make sure we can run config.sub.
4154 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4155 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4158 $as_echo_n "checking build system type... " >&6; }
4159 if ${ac_cv_build+:} false; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 ac_build_alias=$build_alias
4163 test "x$ac_build_alias" = x &&
4164 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4165 test "x$ac_build_alias" = x &&
4166 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4167 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4168 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4172 $as_echo "$ac_cv_build" >&6; }
4173 case $ac_cv_build in
4174 *-*-*) ;;
4175 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4176 esac
4177 build=$ac_cv_build
4178 ac_save_IFS=$IFS; IFS='-'
4179 set x $ac_cv_build
4180 shift
4181 build_cpu=$1
4182 build_vendor=$2
4183 shift; shift
4184 # Remember, the first character of IFS is used to create $*,
4185 # except with old shells:
4186 build_os=$*
4187 IFS=$ac_save_IFS
4188 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4192 $as_echo_n "checking host system type... " >&6; }
4193 if ${ac_cv_host+:} false; then :
4194 $as_echo_n "(cached) " >&6
4195 else
4196 if test "x$host_alias" = x; then
4197 ac_cv_host=$ac_cv_build
4198 else
4199 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4200 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4205 $as_echo "$ac_cv_host" >&6; }
4206 case $ac_cv_host in
4207 *-*-*) ;;
4208 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4209 esac
4210 host=$ac_cv_host
4211 ac_save_IFS=$IFS; IFS='-'
4212 set x $ac_cv_host
4213 shift
4214 host_cpu=$1
4215 host_vendor=$2
4216 shift; shift
4217 # Remember, the first character of IFS is used to create $*,
4218 # except with old shells:
4219 host_os=$*
4220 IFS=$ac_save_IFS
4221 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4225 case "$srcdir" in
4226 .) ;;
4227 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4228 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4229 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4230 fi ;;
4231 esac
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4235 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4236 set x ${MAKE-make}
4237 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4238 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4239 $as_echo_n "(cached) " >&6
4240 else
4241 cat >conftest.make <<\_ACEOF
4242 SHELL = /bin/sh
4243 all:
4244 @echo '@@@%%%=$(MAKE)=@@@%%%'
4245 _ACEOF
4246 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4247 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4248 *@@@%%%=?*=@@@%%%*)
4249 eval ac_cv_prog_make_${ac_make}_set=yes;;
4251 eval ac_cv_prog_make_${ac_make}_set=no;;
4252 esac
4253 rm -f conftest.make
4255 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4257 $as_echo "yes" >&6; }
4258 SET_MAKE=
4259 else
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4261 $as_echo "no" >&6; }
4262 SET_MAKE="MAKE=${MAKE-make}"
4265 ac_ext=c
4266 ac_cpp='$CPP $CPPFLAGS'
4267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4270 if test -n "$ac_tool_prefix"; then
4271 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4272 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4274 $as_echo_n "checking for $ac_word... " >&6; }
4275 if ${ac_cv_prog_CC+:} false; then :
4276 $as_echo_n "(cached) " >&6
4277 else
4278 if test -n "$CC"; then
4279 ac_cv_prog_CC="$CC" # Let the user override the test.
4280 else
4281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4282 for as_dir in $PATH
4284 IFS=$as_save_IFS
4285 test -z "$as_dir" && as_dir=.
4286 for ac_exec_ext in '' $ac_executable_extensions; do
4287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4288 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4290 break 2
4292 done
4293 done
4294 IFS=$as_save_IFS
4298 CC=$ac_cv_prog_CC
4299 if test -n "$CC"; then
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4301 $as_echo "$CC" >&6; }
4302 else
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4304 $as_echo "no" >&6; }
4309 if test -z "$ac_cv_prog_CC"; then
4310 ac_ct_CC=$CC
4311 # Extract the first word of "gcc", so it can be a program name with args.
4312 set dummy gcc; ac_word=$2
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4314 $as_echo_n "checking for $ac_word... " >&6; }
4315 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4316 $as_echo_n "(cached) " >&6
4317 else
4318 if test -n "$ac_ct_CC"; then
4319 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4320 else
4321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4322 for as_dir in $PATH
4324 IFS=$as_save_IFS
4325 test -z "$as_dir" && as_dir=.
4326 for ac_exec_ext in '' $ac_executable_extensions; do
4327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4328 ac_cv_prog_ac_ct_CC="gcc"
4329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4330 break 2
4332 done
4333 done
4334 IFS=$as_save_IFS
4338 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4339 if test -n "$ac_ct_CC"; then
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4341 $as_echo "$ac_ct_CC" >&6; }
4342 else
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4344 $as_echo "no" >&6; }
4347 if test "x$ac_ct_CC" = x; then
4348 CC=""
4349 else
4350 case $cross_compiling:$ac_tool_warned in
4351 yes:)
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4354 ac_tool_warned=yes ;;
4355 esac
4356 CC=$ac_ct_CC
4358 else
4359 CC="$ac_cv_prog_CC"
4362 if test -z "$CC"; then
4363 if test -n "$ac_tool_prefix"; then
4364 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4365 set dummy ${ac_tool_prefix}cc; ac_word=$2
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4367 $as_echo_n "checking for $ac_word... " >&6; }
4368 if ${ac_cv_prog_CC+:} false; then :
4369 $as_echo_n "(cached) " >&6
4370 else
4371 if test -n "$CC"; then
4372 ac_cv_prog_CC="$CC" # Let the user override the test.
4373 else
4374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4375 for as_dir in $PATH
4377 IFS=$as_save_IFS
4378 test -z "$as_dir" && as_dir=.
4379 for ac_exec_ext in '' $ac_executable_extensions; do
4380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4381 ac_cv_prog_CC="${ac_tool_prefix}cc"
4382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4383 break 2
4385 done
4386 done
4387 IFS=$as_save_IFS
4391 CC=$ac_cv_prog_CC
4392 if test -n "$CC"; then
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4394 $as_echo "$CC" >&6; }
4395 else
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4397 $as_echo "no" >&6; }
4403 if test -z "$CC"; then
4404 # Extract the first word of "cc", so it can be a program name with args.
4405 set dummy cc; ac_word=$2
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4407 $as_echo_n "checking for $ac_word... " >&6; }
4408 if ${ac_cv_prog_CC+:} false; then :
4409 $as_echo_n "(cached) " >&6
4410 else
4411 if test -n "$CC"; then
4412 ac_cv_prog_CC="$CC" # Let the user override the test.
4413 else
4414 ac_prog_rejected=no
4415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4416 for as_dir in $PATH
4418 IFS=$as_save_IFS
4419 test -z "$as_dir" && as_dir=.
4420 for ac_exec_ext in '' $ac_executable_extensions; do
4421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4422 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4423 ac_prog_rejected=yes
4424 continue
4426 ac_cv_prog_CC="cc"
4427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4428 break 2
4430 done
4431 done
4432 IFS=$as_save_IFS
4434 if test $ac_prog_rejected = yes; then
4435 # We found a bogon in the path, so make sure we never use it.
4436 set dummy $ac_cv_prog_CC
4437 shift
4438 if test $# != 0; then
4439 # We chose a different compiler from the bogus one.
4440 # However, it has the same basename, so the bogon will be chosen
4441 # first if we set CC to just the basename; use the full file name.
4442 shift
4443 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4448 CC=$ac_cv_prog_CC
4449 if test -n "$CC"; then
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4451 $as_echo "$CC" >&6; }
4452 else
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4454 $as_echo "no" >&6; }
4459 if test -z "$CC"; then
4460 if test -n "$ac_tool_prefix"; then
4461 for ac_prog in cl.exe
4463 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4464 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4466 $as_echo_n "checking for $ac_word... " >&6; }
4467 if ${ac_cv_prog_CC+:} false; then :
4468 $as_echo_n "(cached) " >&6
4469 else
4470 if test -n "$CC"; then
4471 ac_cv_prog_CC="$CC" # Let the user override the test.
4472 else
4473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4474 for as_dir in $PATH
4476 IFS=$as_save_IFS
4477 test -z "$as_dir" && as_dir=.
4478 for ac_exec_ext in '' $ac_executable_extensions; do
4479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4480 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4482 break 2
4484 done
4485 done
4486 IFS=$as_save_IFS
4490 CC=$ac_cv_prog_CC
4491 if test -n "$CC"; then
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4493 $as_echo "$CC" >&6; }
4494 else
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4496 $as_echo "no" >&6; }
4500 test -n "$CC" && break
4501 done
4503 if test -z "$CC"; then
4504 ac_ct_CC=$CC
4505 for ac_prog in cl.exe
4507 # Extract the first word of "$ac_prog", so it can be a program name with args.
4508 set dummy $ac_prog; ac_word=$2
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4510 $as_echo_n "checking for $ac_word... " >&6; }
4511 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4512 $as_echo_n "(cached) " >&6
4513 else
4514 if test -n "$ac_ct_CC"; then
4515 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4516 else
4517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4518 for as_dir in $PATH
4520 IFS=$as_save_IFS
4521 test -z "$as_dir" && as_dir=.
4522 for ac_exec_ext in '' $ac_executable_extensions; do
4523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4524 ac_cv_prog_ac_ct_CC="$ac_prog"
4525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4526 break 2
4528 done
4529 done
4530 IFS=$as_save_IFS
4534 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4535 if test -n "$ac_ct_CC"; then
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4537 $as_echo "$ac_ct_CC" >&6; }
4538 else
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4540 $as_echo "no" >&6; }
4544 test -n "$ac_ct_CC" && break
4545 done
4547 if test "x$ac_ct_CC" = x; then
4548 CC=""
4549 else
4550 case $cross_compiling:$ac_tool_warned in
4551 yes:)
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4554 ac_tool_warned=yes ;;
4555 esac
4556 CC=$ac_ct_CC
4563 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4565 as_fn_error $? "no acceptable C compiler found in \$PATH
4566 See \`config.log' for more details" "$LINENO" 5; }
4568 # Provide some information about the compiler.
4569 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4570 set X $ac_compile
4571 ac_compiler=$2
4572 for ac_option in --version -v -V -qversion; do
4573 { { ac_try="$ac_compiler $ac_option >&5"
4574 case "(($ac_try" in
4575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4576 *) ac_try_echo=$ac_try;;
4577 esac
4578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4579 $as_echo "$ac_try_echo"; } >&5
4580 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4581 ac_status=$?
4582 if test -s conftest.err; then
4583 sed '10a\
4584 ... rest of stderr output deleted ...
4585 10q' conftest.err >conftest.er1
4586 cat conftest.er1 >&5
4588 rm -f conftest.er1 conftest.err
4589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4590 test $ac_status = 0; }
4591 done
4593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4594 /* end confdefs.h. */
4597 main ()
4601 return 0;
4603 _ACEOF
4604 ac_clean_files_save=$ac_clean_files
4605 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4606 # Try to create an executable without -o first, disregard a.out.
4607 # It will help us diagnose broken compilers, and finding out an intuition
4608 # of exeext.
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4610 $as_echo_n "checking whether the C compiler works... " >&6; }
4611 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4613 # The possible output files:
4614 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4616 ac_rmfiles=
4617 for ac_file in $ac_files
4619 case $ac_file in
4620 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4621 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4622 esac
4623 done
4624 rm -f $ac_rmfiles
4626 if { { ac_try="$ac_link_default"
4627 case "(($ac_try" in
4628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4629 *) ac_try_echo=$ac_try;;
4630 esac
4631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4632 $as_echo "$ac_try_echo"; } >&5
4633 (eval "$ac_link_default") 2>&5
4634 ac_status=$?
4635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4636 test $ac_status = 0; }; then :
4637 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4638 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4639 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4640 # so that the user can short-circuit this test for compilers unknown to
4641 # Autoconf.
4642 for ac_file in $ac_files ''
4644 test -f "$ac_file" || continue
4645 case $ac_file in
4646 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4648 [ab].out )
4649 # We found the default executable, but exeext='' is most
4650 # certainly right.
4651 break;;
4652 *.* )
4653 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4654 then :; else
4655 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4657 # We set ac_cv_exeext here because the later test for it is not
4658 # safe: cross compilers may not add the suffix if given an `-o'
4659 # argument, so we may need to know it at that point already.
4660 # Even if this section looks crufty: it has the advantage of
4661 # actually working.
4662 break;;
4664 break;;
4665 esac
4666 done
4667 test "$ac_cv_exeext" = no && ac_cv_exeext=
4669 else
4670 ac_file=''
4672 if test -z "$ac_file"; then :
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4674 $as_echo "no" >&6; }
4675 $as_echo "$as_me: failed program was:" >&5
4676 sed 's/^/| /' conftest.$ac_ext >&5
4678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4680 as_fn_error 77 "C compiler cannot create executables
4681 See \`config.log' for more details" "$LINENO" 5; }
4682 else
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4684 $as_echo "yes" >&6; }
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4687 $as_echo_n "checking for C compiler default output file name... " >&6; }
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4689 $as_echo "$ac_file" >&6; }
4690 ac_exeext=$ac_cv_exeext
4692 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4693 ac_clean_files=$ac_clean_files_save
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4695 $as_echo_n "checking for suffix of executables... " >&6; }
4696 if { { ac_try="$ac_link"
4697 case "(($ac_try" in
4698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4699 *) ac_try_echo=$ac_try;;
4700 esac
4701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4702 $as_echo "$ac_try_echo"; } >&5
4703 (eval "$ac_link") 2>&5
4704 ac_status=$?
4705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4706 test $ac_status = 0; }; then :
4707 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4708 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4709 # work properly (i.e., refer to `conftest.exe'), while it won't with
4710 # `rm'.
4711 for ac_file in conftest.exe conftest conftest.*; do
4712 test -f "$ac_file" || continue
4713 case $ac_file in
4714 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4715 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4716 break;;
4717 * ) break;;
4718 esac
4719 done
4720 else
4721 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4723 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4724 See \`config.log' for more details" "$LINENO" 5; }
4726 rm -f conftest conftest$ac_cv_exeext
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4728 $as_echo "$ac_cv_exeext" >&6; }
4730 rm -f conftest.$ac_ext
4731 EXEEXT=$ac_cv_exeext
4732 ac_exeext=$EXEEXT
4733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4734 /* end confdefs.h. */
4735 #include <stdio.h>
4737 main ()
4739 FILE *f = fopen ("conftest.out", "w");
4740 return ferror (f) || fclose (f) != 0;
4743 return 0;
4745 _ACEOF
4746 ac_clean_files="$ac_clean_files conftest.out"
4747 # Check that the compiler produces executables we can run. If not, either
4748 # the compiler is broken, or we cross compile.
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4750 $as_echo_n "checking whether we are cross compiling... " >&6; }
4751 if test "$cross_compiling" != yes; then
4752 { { ac_try="$ac_link"
4753 case "(($ac_try" in
4754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4755 *) ac_try_echo=$ac_try;;
4756 esac
4757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4758 $as_echo "$ac_try_echo"; } >&5
4759 (eval "$ac_link") 2>&5
4760 ac_status=$?
4761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4762 test $ac_status = 0; }
4763 if { ac_try='./conftest$ac_cv_exeext'
4764 { { case "(($ac_try" in
4765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4766 *) ac_try_echo=$ac_try;;
4767 esac
4768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4769 $as_echo "$ac_try_echo"; } >&5
4770 (eval "$ac_try") 2>&5
4771 ac_status=$?
4772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4773 test $ac_status = 0; }; }; then
4774 cross_compiling=no
4775 else
4776 if test "$cross_compiling" = maybe; then
4777 cross_compiling=yes
4778 else
4779 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4781 as_fn_error $? "cannot run C compiled programs.
4782 If you meant to cross compile, use \`--host'.
4783 See \`config.log' for more details" "$LINENO" 5; }
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4788 $as_echo "$cross_compiling" >&6; }
4790 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4791 ac_clean_files=$ac_clean_files_save
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4793 $as_echo_n "checking for suffix of object files... " >&6; }
4794 if ${ac_cv_objext+:} false; then :
4795 $as_echo_n "(cached) " >&6
4796 else
4797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4798 /* end confdefs.h. */
4801 main ()
4805 return 0;
4807 _ACEOF
4808 rm -f conftest.o conftest.obj
4809 if { { ac_try="$ac_compile"
4810 case "(($ac_try" in
4811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4812 *) ac_try_echo=$ac_try;;
4813 esac
4814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4815 $as_echo "$ac_try_echo"; } >&5
4816 (eval "$ac_compile") 2>&5
4817 ac_status=$?
4818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4819 test $ac_status = 0; }; then :
4820 for ac_file in conftest.o conftest.obj conftest.*; do
4821 test -f "$ac_file" || continue;
4822 case $ac_file in
4823 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4824 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4825 break;;
4826 esac
4827 done
4828 else
4829 $as_echo "$as_me: failed program was:" >&5
4830 sed 's/^/| /' conftest.$ac_ext >&5
4832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4834 as_fn_error $? "cannot compute suffix of object files: cannot compile
4835 See \`config.log' for more details" "$LINENO" 5; }
4837 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4840 $as_echo "$ac_cv_objext" >&6; }
4841 OBJEXT=$ac_cv_objext
4842 ac_objext=$OBJEXT
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4844 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4845 if ${ac_cv_c_compiler_gnu+:} false; then :
4846 $as_echo_n "(cached) " >&6
4847 else
4848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4849 /* end confdefs.h. */
4852 main ()
4854 #ifndef __GNUC__
4855 choke me
4856 #endif
4859 return 0;
4861 _ACEOF
4862 if ac_fn_c_try_compile "$LINENO"; then :
4863 ac_compiler_gnu=yes
4864 else
4865 ac_compiler_gnu=no
4867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4868 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4872 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4873 if test $ac_compiler_gnu = yes; then
4874 GCC=yes
4875 else
4876 GCC=
4878 ac_test_CFLAGS=${CFLAGS+set}
4879 ac_save_CFLAGS=$CFLAGS
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4881 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4882 if ${ac_cv_prog_cc_g+:} false; then :
4883 $as_echo_n "(cached) " >&6
4884 else
4885 ac_save_c_werror_flag=$ac_c_werror_flag
4886 ac_c_werror_flag=yes
4887 ac_cv_prog_cc_g=no
4888 CFLAGS="-g"
4889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4890 /* end confdefs.h. */
4893 main ()
4897 return 0;
4899 _ACEOF
4900 if ac_fn_c_try_compile "$LINENO"; then :
4901 ac_cv_prog_cc_g=yes
4902 else
4903 CFLAGS=""
4904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4905 /* end confdefs.h. */
4908 main ()
4912 return 0;
4914 _ACEOF
4915 if ac_fn_c_try_compile "$LINENO"; then :
4917 else
4918 ac_c_werror_flag=$ac_save_c_werror_flag
4919 CFLAGS="-g"
4920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4921 /* end confdefs.h. */
4924 main ()
4928 return 0;
4930 _ACEOF
4931 if ac_fn_c_try_compile "$LINENO"; then :
4932 ac_cv_prog_cc_g=yes
4934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4939 ac_c_werror_flag=$ac_save_c_werror_flag
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4942 $as_echo "$ac_cv_prog_cc_g" >&6; }
4943 if test "$ac_test_CFLAGS" = set; then
4944 CFLAGS=$ac_save_CFLAGS
4945 elif test $ac_cv_prog_cc_g = yes; then
4946 if test "$GCC" = yes; then
4947 CFLAGS="-g -O2"
4948 else
4949 CFLAGS="-g"
4951 else
4952 if test "$GCC" = yes; then
4953 CFLAGS="-O2"
4954 else
4955 CFLAGS=
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4959 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4960 if ${ac_cv_prog_cc_c89+:} false; then :
4961 $as_echo_n "(cached) " >&6
4962 else
4963 ac_cv_prog_cc_c89=no
4964 ac_save_CC=$CC
4965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4966 /* end confdefs.h. */
4967 #include <stdarg.h>
4968 #include <stdio.h>
4969 struct stat;
4970 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4971 struct buf { int x; };
4972 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4973 static char *e (p, i)
4974 char **p;
4975 int i;
4977 return p[i];
4979 static char *f (char * (*g) (char **, int), char **p, ...)
4981 char *s;
4982 va_list v;
4983 va_start (v,p);
4984 s = g (p, va_arg (v,int));
4985 va_end (v);
4986 return s;
4989 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4990 function prototypes and stuff, but not '\xHH' hex character constants.
4991 These don't provoke an error unfortunately, instead are silently treated
4992 as 'x'. The following induces an error, until -std is added to get
4993 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4994 array size at least. It's necessary to write '\x00'==0 to get something
4995 that's true only with -std. */
4996 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4998 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4999 inside strings and character constants. */
5000 #define FOO(x) 'x'
5001 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5003 int test (int i, double x);
5004 struct s1 {int (*f) (int a);};
5005 struct s2 {int (*f) (double a);};
5006 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5007 int argc;
5008 char **argv;
5010 main ()
5012 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5014 return 0;
5016 _ACEOF
5017 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5018 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5020 CC="$ac_save_CC $ac_arg"
5021 if ac_fn_c_try_compile "$LINENO"; then :
5022 ac_cv_prog_cc_c89=$ac_arg
5024 rm -f core conftest.err conftest.$ac_objext
5025 test "x$ac_cv_prog_cc_c89" != "xno" && break
5026 done
5027 rm -f conftest.$ac_ext
5028 CC=$ac_save_CC
5031 # AC_CACHE_VAL
5032 case "x$ac_cv_prog_cc_c89" in
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5035 $as_echo "none needed" >&6; } ;;
5036 xno)
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5038 $as_echo "unsupported" >&6; } ;;
5040 CC="$CC $ac_cv_prog_cc_c89"
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5042 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5043 esac
5044 if test "x$ac_cv_prog_cc_c89" != xno; then :
5048 ac_ext=c
5049 ac_cpp='$CPP $CPPFLAGS'
5050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5054 ac_ext=cpp
5055 ac_cpp='$CXXCPP $CPPFLAGS'
5056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5059 if test -z "$CXX"; then
5060 if test -n "$CCC"; then
5061 CXX=$CCC
5062 else
5063 if test -n "$ac_tool_prefix"; then
5064 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5066 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5067 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5069 $as_echo_n "checking for $ac_word... " >&6; }
5070 if ${ac_cv_prog_CXX+:} false; then :
5071 $as_echo_n "(cached) " >&6
5072 else
5073 if test -n "$CXX"; then
5074 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5075 else
5076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5077 for as_dir in $PATH
5079 IFS=$as_save_IFS
5080 test -z "$as_dir" && as_dir=.
5081 for ac_exec_ext in '' $ac_executable_extensions; do
5082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5083 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5085 break 2
5087 done
5088 done
5089 IFS=$as_save_IFS
5093 CXX=$ac_cv_prog_CXX
5094 if test -n "$CXX"; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5096 $as_echo "$CXX" >&6; }
5097 else
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5103 test -n "$CXX" && break
5104 done
5106 if test -z "$CXX"; then
5107 ac_ct_CXX=$CXX
5108 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5110 # Extract the first word of "$ac_prog", so it can be a program name with args.
5111 set dummy $ac_prog; ac_word=$2
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5113 $as_echo_n "checking for $ac_word... " >&6; }
5114 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5115 $as_echo_n "(cached) " >&6
5116 else
5117 if test -n "$ac_ct_CXX"; then
5118 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5119 else
5120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5121 for as_dir in $PATH
5123 IFS=$as_save_IFS
5124 test -z "$as_dir" && as_dir=.
5125 for ac_exec_ext in '' $ac_executable_extensions; do
5126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5127 ac_cv_prog_ac_ct_CXX="$ac_prog"
5128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5129 break 2
5131 done
5132 done
5133 IFS=$as_save_IFS
5137 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5138 if test -n "$ac_ct_CXX"; then
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5140 $as_echo "$ac_ct_CXX" >&6; }
5141 else
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 $as_echo "no" >&6; }
5147 test -n "$ac_ct_CXX" && break
5148 done
5150 if test "x$ac_ct_CXX" = x; then
5151 CXX="g++"
5152 else
5153 case $cross_compiling:$ac_tool_warned in
5154 yes:)
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5157 ac_tool_warned=yes ;;
5158 esac
5159 CXX=$ac_ct_CXX
5165 # Provide some information about the compiler.
5166 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5167 set X $ac_compile
5168 ac_compiler=$2
5169 for ac_option in --version -v -V -qversion; do
5170 { { ac_try="$ac_compiler $ac_option >&5"
5171 case "(($ac_try" in
5172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5173 *) ac_try_echo=$ac_try;;
5174 esac
5175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5176 $as_echo "$ac_try_echo"; } >&5
5177 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5178 ac_status=$?
5179 if test -s conftest.err; then
5180 sed '10a\
5181 ... rest of stderr output deleted ...
5182 10q' conftest.err >conftest.er1
5183 cat conftest.er1 >&5
5185 rm -f conftest.er1 conftest.err
5186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5187 test $ac_status = 0; }
5188 done
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5191 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5192 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5193 $as_echo_n "(cached) " >&6
5194 else
5195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5196 /* end confdefs.h. */
5199 main ()
5201 #ifndef __GNUC__
5202 choke me
5203 #endif
5206 return 0;
5208 _ACEOF
5209 if ac_fn_cxx_try_compile "$LINENO"; then :
5210 ac_compiler_gnu=yes
5211 else
5212 ac_compiler_gnu=no
5214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5215 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5219 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5220 if test $ac_compiler_gnu = yes; then
5221 GXX=yes
5222 else
5223 GXX=
5225 ac_test_CXXFLAGS=${CXXFLAGS+set}
5226 ac_save_CXXFLAGS=$CXXFLAGS
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5228 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5229 if ${ac_cv_prog_cxx_g+:} false; then :
5230 $as_echo_n "(cached) " >&6
5231 else
5232 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5233 ac_cxx_werror_flag=yes
5234 ac_cv_prog_cxx_g=no
5235 CXXFLAGS="-g"
5236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5237 /* end confdefs.h. */
5240 main ()
5244 return 0;
5246 _ACEOF
5247 if ac_fn_cxx_try_compile "$LINENO"; then :
5248 ac_cv_prog_cxx_g=yes
5249 else
5250 CXXFLAGS=""
5251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5252 /* end confdefs.h. */
5255 main ()
5259 return 0;
5261 _ACEOF
5262 if ac_fn_cxx_try_compile "$LINENO"; then :
5264 else
5265 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5266 CXXFLAGS="-g"
5267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5268 /* end confdefs.h. */
5271 main ()
5275 return 0;
5277 _ACEOF
5278 if ac_fn_cxx_try_compile "$LINENO"; then :
5279 ac_cv_prog_cxx_g=yes
5281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5286 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5289 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5290 if test "$ac_test_CXXFLAGS" = set; then
5291 CXXFLAGS=$ac_save_CXXFLAGS
5292 elif test $ac_cv_prog_cxx_g = yes; then
5293 if test "$GXX" = yes; then
5294 CXXFLAGS="-g -O2"
5295 else
5296 CXXFLAGS="-g"
5298 else
5299 if test "$GXX" = yes; then
5300 CXXFLAGS="-O2"
5301 else
5302 CXXFLAGS=
5305 ac_ext=c
5306 ac_cpp='$CPP $CPPFLAGS'
5307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5311 if test -n "$ac_tool_prefix"; then
5312 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5313 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5315 $as_echo_n "checking for $ac_word... " >&6; }
5316 if ${ac_cv_prog_CPPBIN+:} false; then :
5317 $as_echo_n "(cached) " >&6
5318 else
5319 if test -n "$CPPBIN"; then
5320 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5321 else
5322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5323 for as_dir in $PATH
5325 IFS=$as_save_IFS
5326 test -z "$as_dir" && as_dir=.
5327 for ac_exec_ext in '' $ac_executable_extensions; do
5328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5329 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5331 break 2
5333 done
5334 done
5335 IFS=$as_save_IFS
5339 CPPBIN=$ac_cv_prog_CPPBIN
5340 if test -n "$CPPBIN"; then
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5342 $as_echo "$CPPBIN" >&6; }
5343 else
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5345 $as_echo "no" >&6; }
5350 if test -z "$ac_cv_prog_CPPBIN"; then
5351 ac_ct_CPPBIN=$CPPBIN
5352 # Extract the first word of "cpp", so it can be a program name with args.
5353 set dummy cpp; ac_word=$2
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5355 $as_echo_n "checking for $ac_word... " >&6; }
5356 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5357 $as_echo_n "(cached) " >&6
5358 else
5359 if test -n "$ac_ct_CPPBIN"; then
5360 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5361 else
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH
5365 IFS=$as_save_IFS
5366 test -z "$as_dir" && as_dir=.
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5369 ac_cv_prog_ac_ct_CPPBIN="cpp"
5370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5371 break 2
5373 done
5374 done
5375 IFS=$as_save_IFS
5379 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5380 if test -n "$ac_ct_CPPBIN"; then
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5382 $as_echo "$ac_ct_CPPBIN" >&6; }
5383 else
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5388 if test "x$ac_ct_CPPBIN" = x; then
5389 CPPBIN="cpp"
5390 else
5391 case $cross_compiling:$ac_tool_warned in
5392 yes:)
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5395 ac_tool_warned=yes ;;
5396 esac
5397 CPPBIN=$ac_ct_CPPBIN
5399 else
5400 CPPBIN="$ac_cv_prog_CPPBIN"
5404 cat >>confdefs.h <<_ACEOF
5405 #define EXEEXT "$ac_exeext"
5406 _ACEOF
5408 if test -n "$ac_tool_prefix"; then
5409 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5410 set dummy ${ac_tool_prefix}ld; ac_word=$2
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5412 $as_echo_n "checking for $ac_word... " >&6; }
5413 if ${ac_cv_prog_LD+:} false; then :
5414 $as_echo_n "(cached) " >&6
5415 else
5416 if test -n "$LD"; then
5417 ac_cv_prog_LD="$LD" # Let the user override the test.
5418 else
5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5420 for as_dir in $PATH
5422 IFS=$as_save_IFS
5423 test -z "$as_dir" && as_dir=.
5424 for ac_exec_ext in '' $ac_executable_extensions; do
5425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5426 ac_cv_prog_LD="${ac_tool_prefix}ld"
5427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5428 break 2
5430 done
5431 done
5432 IFS=$as_save_IFS
5436 LD=$ac_cv_prog_LD
5437 if test -n "$LD"; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5439 $as_echo "$LD" >&6; }
5440 else
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5447 if test -z "$ac_cv_prog_LD"; then
5448 ac_ct_LD=$LD
5449 # Extract the first word of "ld", so it can be a program name with args.
5450 set dummy ld; ac_word=$2
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5452 $as_echo_n "checking for $ac_word... " >&6; }
5453 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5454 $as_echo_n "(cached) " >&6
5455 else
5456 if test -n "$ac_ct_LD"; then
5457 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5458 else
5459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5460 for as_dir in $PATH
5462 IFS=$as_save_IFS
5463 test -z "$as_dir" && as_dir=.
5464 for ac_exec_ext in '' $ac_executable_extensions; do
5465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5466 ac_cv_prog_ac_ct_LD="ld"
5467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5468 break 2
5470 done
5471 done
5472 IFS=$as_save_IFS
5476 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5477 if test -n "$ac_ct_LD"; then
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5479 $as_echo "$ac_ct_LD" >&6; }
5480 else
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5482 $as_echo "no" >&6; }
5485 if test "x$ac_ct_LD" = x; then
5486 LD=""
5487 else
5488 case $cross_compiling:$ac_tool_warned in
5489 yes:)
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5492 ac_tool_warned=yes ;;
5493 esac
5494 LD=$ac_ct_LD
5496 else
5497 LD="$ac_cv_prog_LD"
5501 case $host in
5502 *-darwin*)
5503 with_fontconfig=${with_fontconfig:-no}
5505 *-mingw32*|*-cygwin*)
5506 enable_win16=${enable_win16:-no}
5507 CFLAGS="$CFLAGS -D_WIN32"
5509 esac
5511 case $host in
5512 x86_64*|amd64*)
5513 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5514 then
5515 CC="$CC -m32"
5516 CXX="$CXX -m32"
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5518 $as_echo_n "checking whether $CC works... " >&6; }
5520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5521 /* end confdefs.h. */
5524 main ()
5528 return 0;
5530 _ACEOF
5531 if ac_fn_c_try_link "$LINENO"; then :
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5533 $as_echo "yes" >&6; }
5534 else
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5537 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5539 rm -f core conftest.err conftest.$ac_objext \
5540 conftest$ac_exeext conftest.$ac_ext
5541 host_cpu="i386"
5542 notice_platform="32-bit "
5543 TARGETFLAGS="-m32"
5545 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5546 export PKG_CONFIG_PATH
5547 enable_win16=${enable_win16:-yes}
5548 else
5549 if test "x${GCC}" = "xyes"
5550 then
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5552 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5555 #include <stdarg.h>
5557 main ()
5559 void func(__builtin_ms_va_list *args);
5561 return 0;
5563 _ACEOF
5564 if ac_fn_c_try_compile "$LINENO"; then :
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5566 $as_echo "yes" >&6; }
5567 else
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569 $as_echo "no" >&6; }
5570 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5574 CC="$CC -m64"
5575 CXX="$CXX -m64"
5576 host_cpu="x86_64"
5577 notice_platform="64-bit "
5578 TARGETFLAGS="-m64"
5582 arm*)
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5584 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5586 /* end confdefs.h. */
5587 int ac_test(int i) { return i; }
5589 main ()
5591 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5593 return 0;
5595 _ACEOF
5596 if ac_fn_c_try_link "$LINENO"; then :
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5598 $as_echo "yes" >&6; }
5599 else
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5601 $as_echo "no" >&6; }
5602 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5604 rm -f core conftest.err conftest.$ac_objext \
5605 conftest$ac_exeext conftest.$ac_ext
5606 case $with_float_abi in
5607 soft|softfp|hard)
5608 float_abi=$with_float_abi ;;
5610 case $host_os in
5611 *eabihf)
5612 float_abi=hard ;;
5614 float_abi=softfp
5615 saved_CFLAGS=$CFLAGS
5616 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5618 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5620 /* end confdefs.h. */
5623 main ()
5625 asm("vmrs r2,fpscr");
5627 return 0;
5629 _ACEOF
5630 if ac_fn_c_try_link "$LINENO"; then :
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5632 $as_echo "yes" >&6; }
5633 else
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5635 $as_echo "no" >&6; }
5636 float_abi=soft
5637 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5639 rm -f core conftest.err conftest.$ac_objext \
5640 conftest$ac_exeext conftest.$ac_ext
5641 CFLAGS=$saved_CFLAGS
5642 esac
5644 esac
5645 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5646 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5649 aarch64*)
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5651 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5653 /* end confdefs.h. */
5654 #include <stdarg.h>
5656 main ()
5658 void func(__builtin_ms_va_list *args);
5660 return 0;
5662 _ACEOF
5663 if ac_fn_c_try_compile "$LINENO"; then :
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5665 $as_echo "yes" >&6; }
5666 else
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5668 $as_echo "no" >&6; }
5669 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5673 i[3456789]86*)
5674 enable_win16=${enable_win16:-yes}
5676 esac
5678 enable_win16=${enable_win16:-no}
5679 enable_win64=${enable_win64:-no}
5681 enable_winetest=${enable_winetest:-$enable_tests}
5683 if test "x$enable_win64" = "xyes"
5684 then
5685 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5686 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5687 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5691 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5692 if ${wine_cv_toolsdir+:} false; then :
5693 $as_echo_n "(cached) " >&6
5694 else
5695 wine_cv_toolsdir="$with_wine_tools"
5696 if test -z "$with_wine_tools"; then
5697 if test "$cross_compiling" = "yes"; then
5698 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5699 elif test -n "$with_wine64"; then
5700 wine_cv_toolsdir="$with_wine64"
5703 if test -z "$wine_cv_toolsdir"; then
5704 wine_makedep=tools/makedep
5705 wine_cv_toolsdir="\$(top_builddir)"
5706 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5707 wine_makedep=$wine_cv_toolsdir/tools/makedep
5708 case "$wine_cv_toolsdir" in
5709 /*) ;;
5710 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5711 esac
5712 enable_tools=${enable_tools:-no}
5713 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5714 else
5715 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5719 $as_echo "$wine_cv_toolsdir" >&6; }
5720 TOOLSDIR=$wine_cv_toolsdir
5722 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5723 then
5724 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5728 for ac_prog in flex
5730 # Extract the first word of "$ac_prog", so it can be a program name with args.
5731 set dummy $ac_prog; ac_word=$2
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5733 $as_echo_n "checking for $ac_word... " >&6; }
5734 if ${ac_cv_prog_FLEX+:} false; then :
5735 $as_echo_n "(cached) " >&6
5736 else
5737 if test -n "$FLEX"; then
5738 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5739 else
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 for as_dir in $PATH
5743 IFS=$as_save_IFS
5744 test -z "$as_dir" && as_dir=.
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5747 ac_cv_prog_FLEX="$ac_prog"
5748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5749 break 2
5751 done
5752 done
5753 IFS=$as_save_IFS
5757 FLEX=$ac_cv_prog_FLEX
5758 if test -n "$FLEX"; then
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5760 $as_echo "$FLEX" >&6; }
5761 else
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5763 $as_echo "no" >&6; }
5767 test -n "$FLEX" && break
5768 done
5769 test -n "$FLEX" || FLEX="none"
5771 if test "$FLEX" = "none"
5772 then
5773 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5776 $as_echo_n "checking whether flex is recent enough... " >&6; }
5777 cat >conftest.l <<EOF
5778 %top{
5779 #include "prediluvian.h"
5783 if $FLEX -t conftest.l >/dev/null 2>&5
5784 then
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5786 $as_echo "yes" >&6; }
5787 else
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5789 $as_echo "no" >&6; }
5790 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5793 for ac_prog in bison
5795 # Extract the first word of "$ac_prog", so it can be a program name with args.
5796 set dummy $ac_prog; ac_word=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if ${ac_cv_prog_BISON+:} false; then :
5800 $as_echo_n "(cached) " >&6
5801 else
5802 if test -n "$BISON"; then
5803 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5804 else
5805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806 for as_dir in $PATH
5808 IFS=$as_save_IFS
5809 test -z "$as_dir" && as_dir=.
5810 for ac_exec_ext in '' $ac_executable_extensions; do
5811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5812 ac_cv_prog_BISON="$ac_prog"
5813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5814 break 2
5816 done
5817 done
5818 IFS=$as_save_IFS
5822 BISON=$ac_cv_prog_BISON
5823 if test -n "$BISON"; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5825 $as_echo "$BISON" >&6; }
5826 else
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; }
5832 test -n "$BISON" && break
5833 done
5834 test -n "$BISON" || BISON="none"
5836 if test "$BISON" = "none"
5837 then
5838 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5841 if test -n "$ac_tool_prefix"; then
5842 for ac_prog in ar gar
5844 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5845 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5847 $as_echo_n "checking for $ac_word... " >&6; }
5848 if ${ac_cv_prog_AR+:} false; then :
5849 $as_echo_n "(cached) " >&6
5850 else
5851 if test -n "$AR"; then
5852 ac_cv_prog_AR="$AR" # Let the user override the test.
5853 else
5854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5855 for as_dir in $PATH
5857 IFS=$as_save_IFS
5858 test -z "$as_dir" && as_dir=.
5859 for ac_exec_ext in '' $ac_executable_extensions; do
5860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5861 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5863 break 2
5865 done
5866 done
5867 IFS=$as_save_IFS
5871 AR=$ac_cv_prog_AR
5872 if test -n "$AR"; then
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5874 $as_echo "$AR" >&6; }
5875 else
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5877 $as_echo "no" >&6; }
5881 test -n "$AR" && break
5882 done
5884 if test -z "$AR"; then
5885 ac_ct_AR=$AR
5886 for ac_prog in ar gar
5888 # Extract the first word of "$ac_prog", so it can be a program name with args.
5889 set dummy $ac_prog; ac_word=$2
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5891 $as_echo_n "checking for $ac_word... " >&6; }
5892 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5893 $as_echo_n "(cached) " >&6
5894 else
5895 if test -n "$ac_ct_AR"; then
5896 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5897 else
5898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5899 for as_dir in $PATH
5901 IFS=$as_save_IFS
5902 test -z "$as_dir" && as_dir=.
5903 for ac_exec_ext in '' $ac_executable_extensions; do
5904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5905 ac_cv_prog_ac_ct_AR="$ac_prog"
5906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 break 2
5909 done
5910 done
5911 IFS=$as_save_IFS
5915 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5916 if test -n "$ac_ct_AR"; then
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5918 $as_echo "$ac_ct_AR" >&6; }
5919 else
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5921 $as_echo "no" >&6; }
5925 test -n "$ac_ct_AR" && break
5926 done
5928 if test "x$ac_ct_AR" = x; then
5929 AR="ar"
5930 else
5931 case $cross_compiling:$ac_tool_warned in
5932 yes:)
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5935 ac_tool_warned=yes ;;
5936 esac
5937 AR=$ac_ct_AR
5941 if test -n "$ac_tool_prefix"; then
5942 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5943 set dummy ${ac_tool_prefix}strip; ac_word=$2
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5945 $as_echo_n "checking for $ac_word... " >&6; }
5946 if ${ac_cv_prog_STRIP+:} false; then :
5947 $as_echo_n "(cached) " >&6
5948 else
5949 if test -n "$STRIP"; then
5950 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5951 else
5952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5953 for as_dir in $PATH
5955 IFS=$as_save_IFS
5956 test -z "$as_dir" && as_dir=.
5957 for ac_exec_ext in '' $ac_executable_extensions; do
5958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5959 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5961 break 2
5963 done
5964 done
5965 IFS=$as_save_IFS
5969 STRIP=$ac_cv_prog_STRIP
5970 if test -n "$STRIP"; then
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5972 $as_echo "$STRIP" >&6; }
5973 else
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5975 $as_echo "no" >&6; }
5980 if test -z "$ac_cv_prog_STRIP"; then
5981 ac_ct_STRIP=$STRIP
5982 # Extract the first word of "strip", so it can be a program name with args.
5983 set dummy strip; ac_word=$2
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5985 $as_echo_n "checking for $ac_word... " >&6; }
5986 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5987 $as_echo_n "(cached) " >&6
5988 else
5989 if test -n "$ac_ct_STRIP"; then
5990 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5991 else
5992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5993 for as_dir in $PATH
5995 IFS=$as_save_IFS
5996 test -z "$as_dir" && as_dir=.
5997 for ac_exec_ext in '' $ac_executable_extensions; do
5998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5999 ac_cv_prog_ac_ct_STRIP="strip"
6000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6001 break 2
6003 done
6004 done
6005 IFS=$as_save_IFS
6009 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6010 if test -n "$ac_ct_STRIP"; then
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6012 $as_echo "$ac_ct_STRIP" >&6; }
6013 else
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6015 $as_echo "no" >&6; }
6018 if test "x$ac_ct_STRIP" = x; then
6019 STRIP="strip"
6020 else
6021 case $cross_compiling:$ac_tool_warned in
6022 yes:)
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6025 ac_tool_warned=yes ;;
6026 esac
6027 STRIP=$ac_ct_STRIP
6029 else
6030 STRIP="$ac_cv_prog_STRIP"
6033 if test -n "$ac_tool_prefix"; then
6034 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6035 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6037 $as_echo_n "checking for $ac_word... " >&6; }
6038 if ${ac_cv_prog_RANLIB+:} false; then :
6039 $as_echo_n "(cached) " >&6
6040 else
6041 if test -n "$RANLIB"; then
6042 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6043 else
6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 for as_dir in $PATH
6047 IFS=$as_save_IFS
6048 test -z "$as_dir" && as_dir=.
6049 for ac_exec_ext in '' $ac_executable_extensions; do
6050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6051 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6053 break 2
6055 done
6056 done
6057 IFS=$as_save_IFS
6061 RANLIB=$ac_cv_prog_RANLIB
6062 if test -n "$RANLIB"; then
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6064 $as_echo "$RANLIB" >&6; }
6065 else
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6067 $as_echo "no" >&6; }
6072 if test -z "$ac_cv_prog_RANLIB"; then
6073 ac_ct_RANLIB=$RANLIB
6074 # Extract the first word of "ranlib", so it can be a program name with args.
6075 set dummy ranlib; ac_word=$2
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6077 $as_echo_n "checking for $ac_word... " >&6; }
6078 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6079 $as_echo_n "(cached) " >&6
6080 else
6081 if test -n "$ac_ct_RANLIB"; then
6082 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6083 else
6084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6085 for as_dir in $PATH
6087 IFS=$as_save_IFS
6088 test -z "$as_dir" && as_dir=.
6089 for ac_exec_ext in '' $ac_executable_extensions; do
6090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6091 ac_cv_prog_ac_ct_RANLIB="ranlib"
6092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6093 break 2
6095 done
6096 done
6097 IFS=$as_save_IFS
6101 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6102 if test -n "$ac_ct_RANLIB"; then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6104 $as_echo "$ac_ct_RANLIB" >&6; }
6105 else
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 $as_echo "no" >&6; }
6110 if test "x$ac_ct_RANLIB" = x; then
6111 RANLIB=":"
6112 else
6113 case $cross_compiling:$ac_tool_warned in
6114 yes:)
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6117 ac_tool_warned=yes ;;
6118 esac
6119 RANLIB=$ac_ct_RANLIB
6121 else
6122 RANLIB="$ac_cv_prog_RANLIB"
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6126 $as_echo_n "checking whether ln -s works... " >&6; }
6127 LN_S=$as_ln_s
6128 if test "$LN_S" = "ln -s"; then
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6130 $as_echo "yes" >&6; }
6131 else
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6133 $as_echo "no, using $LN_S" >&6; }
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6137 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6138 if ${ac_cv_path_GREP+:} false; then :
6139 $as_echo_n "(cached) " >&6
6140 else
6141 if test -z "$GREP"; then
6142 ac_path_GREP_found=false
6143 # Loop through the user's path and test for each of PROGNAME-LIST
6144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6147 IFS=$as_save_IFS
6148 test -z "$as_dir" && as_dir=.
6149 for ac_prog in grep ggrep; do
6150 for ac_exec_ext in '' $ac_executable_extensions; do
6151 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6152 as_fn_executable_p "$ac_path_GREP" || continue
6153 # Check for GNU ac_path_GREP and select it if it is found.
6154 # Check for GNU $ac_path_GREP
6155 case `"$ac_path_GREP" --version 2>&1` in
6156 *GNU*)
6157 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6159 ac_count=0
6160 $as_echo_n 0123456789 >"conftest.in"
6161 while :
6163 cat "conftest.in" "conftest.in" >"conftest.tmp"
6164 mv "conftest.tmp" "conftest.in"
6165 cp "conftest.in" "conftest.nl"
6166 $as_echo 'GREP' >> "conftest.nl"
6167 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6168 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6169 as_fn_arith $ac_count + 1 && ac_count=$as_val
6170 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6171 # Best one so far, save it but keep looking for a better one
6172 ac_cv_path_GREP="$ac_path_GREP"
6173 ac_path_GREP_max=$ac_count
6175 # 10*(2^10) chars as input seems more than enough
6176 test $ac_count -gt 10 && break
6177 done
6178 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6179 esac
6181 $ac_path_GREP_found && break 3
6182 done
6183 done
6184 done
6185 IFS=$as_save_IFS
6186 if test -z "$ac_cv_path_GREP"; then
6187 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6189 else
6190 ac_cv_path_GREP=$GREP
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6195 $as_echo "$ac_cv_path_GREP" >&6; }
6196 GREP="$ac_cv_path_GREP"
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6200 $as_echo_n "checking for egrep... " >&6; }
6201 if ${ac_cv_path_EGREP+:} false; then :
6202 $as_echo_n "(cached) " >&6
6203 else
6204 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6205 then ac_cv_path_EGREP="$GREP -E"
6206 else
6207 if test -z "$EGREP"; then
6208 ac_path_EGREP_found=false
6209 # Loop through the user's path and test for each of PROGNAME-LIST
6210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6211 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6213 IFS=$as_save_IFS
6214 test -z "$as_dir" && as_dir=.
6215 for ac_prog in egrep; do
6216 for ac_exec_ext in '' $ac_executable_extensions; do
6217 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6218 as_fn_executable_p "$ac_path_EGREP" || continue
6219 # Check for GNU ac_path_EGREP and select it if it is found.
6220 # Check for GNU $ac_path_EGREP
6221 case `"$ac_path_EGREP" --version 2>&1` in
6222 *GNU*)
6223 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6225 ac_count=0
6226 $as_echo_n 0123456789 >"conftest.in"
6227 while :
6229 cat "conftest.in" "conftest.in" >"conftest.tmp"
6230 mv "conftest.tmp" "conftest.in"
6231 cp "conftest.in" "conftest.nl"
6232 $as_echo 'EGREP' >> "conftest.nl"
6233 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6234 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6235 as_fn_arith $ac_count + 1 && ac_count=$as_val
6236 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6237 # Best one so far, save it but keep looking for a better one
6238 ac_cv_path_EGREP="$ac_path_EGREP"
6239 ac_path_EGREP_max=$ac_count
6241 # 10*(2^10) chars as input seems more than enough
6242 test $ac_count -gt 10 && break
6243 done
6244 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6245 esac
6247 $ac_path_EGREP_found && break 3
6248 done
6249 done
6250 done
6251 IFS=$as_save_IFS
6252 if test -z "$ac_cv_path_EGREP"; then
6253 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6255 else
6256 ac_cv_path_EGREP=$EGREP
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6262 $as_echo "$ac_cv_path_EGREP" >&6; }
6263 EGREP="$ac_cv_path_EGREP"
6266 # Extract the first word of "ldconfig", so it can be a program name with args.
6267 set dummy ldconfig; ac_word=$2
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6269 $as_echo_n "checking for $ac_word... " >&6; }
6270 if ${ac_cv_path_LDCONFIG+:} false; then :
6271 $as_echo_n "(cached) " >&6
6272 else
6273 case $LDCONFIG in
6274 [\\/]* | ?:[\\/]*)
6275 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6279 for as_dir in /sbin /usr/sbin $PATH
6281 IFS=$as_save_IFS
6282 test -z "$as_dir" && as_dir=.
6283 for ac_exec_ext in '' $ac_executable_extensions; do
6284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6285 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6287 break 2
6289 done
6290 done
6291 IFS=$as_save_IFS
6293 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6295 esac
6297 LDCONFIG=$ac_cv_path_LDCONFIG
6298 if test -n "$LDCONFIG"; then
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6300 $as_echo "$LDCONFIG" >&6; }
6301 else
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6303 $as_echo "no" >&6; }
6307 for ac_prog in msgfmt
6309 # Extract the first word of "$ac_prog", so it can be a program name with args.
6310 set dummy $ac_prog; ac_word=$2
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6312 $as_echo_n "checking for $ac_word... " >&6; }
6313 if ${ac_cv_prog_MSGFMT+:} false; then :
6314 $as_echo_n "(cached) " >&6
6315 else
6316 if test -n "$MSGFMT"; then
6317 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6318 else
6319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6320 for as_dir in $PATH
6322 IFS=$as_save_IFS
6323 test -z "$as_dir" && as_dir=.
6324 for ac_exec_ext in '' $ac_executable_extensions; do
6325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6326 ac_cv_prog_MSGFMT="$ac_prog"
6327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6328 break 2
6330 done
6331 done
6332 IFS=$as_save_IFS
6336 MSGFMT=$ac_cv_prog_MSGFMT
6337 if test -n "$MSGFMT"; then
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6339 $as_echo "$MSGFMT" >&6; }
6340 else
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6342 $as_echo "no" >&6; }
6346 test -n "$MSGFMT" && break
6347 done
6348 test -n "$MSGFMT" || MSGFMT="false"
6350 if ${ac_tool_prefix+:} false; then :
6351 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6352 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6354 $as_echo_n "checking for $ac_word... " >&6; }
6355 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6356 $as_echo_n "(cached) " >&6
6357 else
6358 if test -n "$PKG_CONFIG"; then
6359 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6360 else
6361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6362 for as_dir in $PATH
6364 IFS=$as_save_IFS
6365 test -z "$as_dir" && as_dir=.
6366 for ac_exec_ext in '' $ac_executable_extensions; do
6367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6368 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6370 break 2
6372 done
6373 done
6374 IFS=$as_save_IFS
6378 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6379 if test -n "$PKG_CONFIG"; then
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6381 $as_echo "$PKG_CONFIG" >&6; }
6382 else
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6384 $as_echo "no" >&6; }
6389 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6390 if test "x$cross_compiling" = xyes; then :
6392 else
6393 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6394 # Extract the first word of "pkg-config", so it can be a program name with args.
6395 set dummy pkg-config; ac_word=$2
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6397 $as_echo_n "checking for $ac_word... " >&6; }
6398 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6399 $as_echo_n "(cached) " >&6
6400 else
6401 if test -n "$PKG_CONFIG"; then
6402 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6403 else
6404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6405 for as_dir in $PATH
6407 IFS=$as_save_IFS
6408 test -z "$as_dir" && as_dir=.
6409 for ac_exec_ext in '' $ac_executable_extensions; do
6410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6411 ac_cv_prog_PKG_CONFIG="pkg-config"
6412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6413 break 2
6415 done
6416 done
6417 IFS=$as_save_IFS
6421 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6422 if test -n "$PKG_CONFIG"; then
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6424 $as_echo "$PKG_CONFIG" >&6; }
6425 else
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6427 $as_echo "no" >&6; }
6432 else
6433 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6436 if test "x$enable_maintainer_mode" != "xyes"
6437 then
6438 FONTFORGE=""
6439 RSVG=""
6440 CONVERT=""
6441 ICOTOOL=""
6442 else
6443 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6444 for ac_prog in fontforge
6446 # Extract the first word of "$ac_prog", so it can be a program name with args.
6447 set dummy $ac_prog; ac_word=$2
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6449 $as_echo_n "checking for $ac_word... " >&6; }
6450 if ${ac_cv_prog_FONTFORGE+:} false; then :
6451 $as_echo_n "(cached) " >&6
6452 else
6453 if test -n "$FONTFORGE"; then
6454 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6455 else
6456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6457 for as_dir in $PATH
6459 IFS=$as_save_IFS
6460 test -z "$as_dir" && as_dir=.
6461 for ac_exec_ext in '' $ac_executable_extensions; do
6462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6463 ac_cv_prog_FONTFORGE="$ac_prog"
6464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6465 break 2
6467 done
6468 done
6469 IFS=$as_save_IFS
6473 FONTFORGE=$ac_cv_prog_FONTFORGE
6474 if test -n "$FONTFORGE"; then
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6476 $as_echo "$FONTFORGE" >&6; }
6477 else
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6479 $as_echo "no" >&6; }
6483 test -n "$FONTFORGE" && break
6484 done
6485 test -n "$FONTFORGE" || FONTFORGE="false"
6487 for ac_prog in rsvg-convert rsvg
6489 # Extract the first word of "$ac_prog", so it can be a program name with args.
6490 set dummy $ac_prog; ac_word=$2
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6492 $as_echo_n "checking for $ac_word... " >&6; }
6493 if ${ac_cv_prog_RSVG+:} false; then :
6494 $as_echo_n "(cached) " >&6
6495 else
6496 if test -n "$RSVG"; then
6497 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6498 else
6499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6500 for as_dir in $PATH
6502 IFS=$as_save_IFS
6503 test -z "$as_dir" && as_dir=.
6504 for ac_exec_ext in '' $ac_executable_extensions; do
6505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6506 ac_cv_prog_RSVG="$ac_prog"
6507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6508 break 2
6510 done
6511 done
6512 IFS=$as_save_IFS
6516 RSVG=$ac_cv_prog_RSVG
6517 if test -n "$RSVG"; then
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6519 $as_echo "$RSVG" >&6; }
6520 else
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6522 $as_echo "no" >&6; }
6526 test -n "$RSVG" && break
6527 done
6528 test -n "$RSVG" || RSVG="false"
6530 for ac_prog in convert
6532 # Extract the first word of "$ac_prog", so it can be a program name with args.
6533 set dummy $ac_prog; ac_word=$2
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6535 $as_echo_n "checking for $ac_word... " >&6; }
6536 if ${ac_cv_prog_CONVERT+:} false; then :
6537 $as_echo_n "(cached) " >&6
6538 else
6539 if test -n "$CONVERT"; then
6540 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6541 else
6542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6543 for as_dir in $PATH
6545 IFS=$as_save_IFS
6546 test -z "$as_dir" && as_dir=.
6547 for ac_exec_ext in '' $ac_executable_extensions; do
6548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6549 ac_cv_prog_CONVERT="$ac_prog"
6550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6551 break 2
6553 done
6554 done
6555 IFS=$as_save_IFS
6559 CONVERT=$ac_cv_prog_CONVERT
6560 if test -n "$CONVERT"; then
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6562 $as_echo "$CONVERT" >&6; }
6563 else
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6565 $as_echo "no" >&6; }
6569 test -n "$CONVERT" && break
6570 done
6571 test -n "$CONVERT" || CONVERT="false"
6573 for ac_prog in icotool
6575 # Extract the first word of "$ac_prog", so it can be a program name with args.
6576 set dummy $ac_prog; ac_word=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578 $as_echo_n "checking for $ac_word... " >&6; }
6579 if ${ac_cv_prog_ICOTOOL+:} false; then :
6580 $as_echo_n "(cached) " >&6
6581 else
6582 if test -n "$ICOTOOL"; then
6583 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6584 else
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 for as_dir in $PATH
6588 IFS=$as_save_IFS
6589 test -z "$as_dir" && as_dir=.
6590 for ac_exec_ext in '' $ac_executable_extensions; do
6591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6592 ac_cv_prog_ICOTOOL="$ac_prog"
6593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6594 break 2
6596 done
6597 done
6598 IFS=$as_save_IFS
6602 ICOTOOL=$ac_cv_prog_ICOTOOL
6603 if test -n "$ICOTOOL"; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6605 $as_echo "$ICOTOOL" >&6; }
6606 else
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6608 $as_echo "no" >&6; }
6612 test -n "$ICOTOOL" && break
6613 done
6614 test -n "$ICOTOOL" || ICOTOOL="false"
6616 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6617 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6619 if test "$CONVERT" = false
6620 then
6621 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6622 else
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6624 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6625 convert_version=`convert --version | head -n1`
6626 if test "x$convert_version" != "x"
6627 then
6628 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6629 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6630 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6631 then
6632 CONVERT=false
6635 if test "$CONVERT" = false
6636 then
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6638 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6639 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6640 else
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6642 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6646 if test "$ICOTOOL" = false
6647 then
6648 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6649 else
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6651 $as_echo_n "checking for recent enough icotool... " >&6; }
6652 icotool_version=`icotool --version | head -n1`
6653 if test "x$icotool_version" != "x"
6654 then
6655 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6656 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6657 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6658 then
6659 ICOTOOL=false
6660 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6663 if test "$ICOTOOL" = false
6664 then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6666 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6667 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6668 else
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6670 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6674 with_gettext=yes
6675 with_gettextpo=yes
6676 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6679 test "x$with_gettext" != xno || MSGFMT=false
6680 if test "$MSGFMT" != "false"
6681 then
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6683 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6684 cat >conftest.po <<EOF
6685 # comment
6686 msgctxt "ctxt"
6687 msgid "id"
6688 msgstr "str"
6690 if $MSGFMT -o /dev/null conftest.po 2>&5
6691 then
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6693 $as_echo "yes" >&6; }
6694 else
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6696 $as_echo "no" >&6; }
6697 MSGFMT=false
6700 if test "$MSGFMT" = false; then :
6701 case "x$with_gettext" in
6702 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6703 xno) ;;
6704 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6705 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6706 esac
6707 enable_po=${enable_po:-no}
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6712 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6713 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6714 $as_echo_n "(cached) " >&6
6715 else
6716 ac_check_lib_save_LIBS=$LIBS
6717 LIBS="-li386 $LIBS"
6718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6719 /* end confdefs.h. */
6721 /* Override any GCC internal prototype to avoid an error.
6722 Use char because int might match the return type of a GCC
6723 builtin and then its argument prototype would still apply. */
6724 #ifdef __cplusplus
6725 extern "C"
6726 #endif
6727 char i386_set_ldt ();
6729 main ()
6731 return i386_set_ldt ();
6733 return 0;
6735 _ACEOF
6736 if ac_fn_c_try_link "$LINENO"; then :
6737 ac_cv_lib_i386_i386_set_ldt=yes
6738 else
6739 ac_cv_lib_i386_i386_set_ldt=no
6741 rm -f core conftest.err conftest.$ac_objext \
6742 conftest$ac_exeext conftest.$ac_ext
6743 LIBS=$ac_check_lib_save_LIBS
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6746 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6747 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6748 cat >>confdefs.h <<_ACEOF
6749 #define HAVE_LIBI386 1
6750 _ACEOF
6752 LIBS="-li386 $LIBS"
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6757 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6758 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6759 $as_echo_n "(cached) " >&6
6760 else
6761 ac_check_lib_save_LIBS=$LIBS
6762 LIBS="-lossaudio $LIBS"
6763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6764 /* end confdefs.h. */
6766 /* Override any GCC internal prototype to avoid an error.
6767 Use char because int might match the return type of a GCC
6768 builtin and then its argument prototype would still apply. */
6769 #ifdef __cplusplus
6770 extern "C"
6771 #endif
6772 char _oss_ioctl ();
6774 main ()
6776 return _oss_ioctl ();
6778 return 0;
6780 _ACEOF
6781 if ac_fn_c_try_link "$LINENO"; then :
6782 ac_cv_lib_ossaudio__oss_ioctl=yes
6783 else
6784 ac_cv_lib_ossaudio__oss_ioctl=no
6786 rm -f core conftest.err conftest.$ac_objext \
6787 conftest$ac_exeext conftest.$ac_ext
6788 LIBS=$ac_check_lib_save_LIBS
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6791 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6792 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6793 cat >>confdefs.h <<_ACEOF
6794 #define HAVE_LIBOSSAUDIO 1
6795 _ACEOF
6797 LIBS="-lossaudio $LIBS"
6802 OPENGL_LIBS=""
6806 # Check whether --enable-largefile was given.
6807 if test "${enable_largefile+set}" = set; then :
6808 enableval=$enable_largefile;
6811 if test "$enable_largefile" != no; then
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6814 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6815 if ${ac_cv_sys_largefile_CC+:} false; then :
6816 $as_echo_n "(cached) " >&6
6817 else
6818 ac_cv_sys_largefile_CC=no
6819 if test "$GCC" != yes; then
6820 ac_save_CC=$CC
6821 while :; do
6822 # IRIX 6.2 and later do not support large files by default,
6823 # so use the C compiler's -n32 option if that helps.
6824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6825 /* end confdefs.h. */
6826 #include <sys/types.h>
6827 /* Check that off_t can represent 2**63 - 1 correctly.
6828 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6829 since some C++ compilers masquerading as C compilers
6830 incorrectly reject 9223372036854775807. */
6831 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6832 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6833 && LARGE_OFF_T % 2147483647 == 1)
6834 ? 1 : -1];
6836 main ()
6840 return 0;
6842 _ACEOF
6843 if ac_fn_c_try_compile "$LINENO"; then :
6844 break
6846 rm -f core conftest.err conftest.$ac_objext
6847 CC="$CC -n32"
6848 if ac_fn_c_try_compile "$LINENO"; then :
6849 ac_cv_sys_largefile_CC=' -n32'; break
6851 rm -f core conftest.err conftest.$ac_objext
6852 break
6853 done
6854 CC=$ac_save_CC
6855 rm -f conftest.$ac_ext
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6859 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6860 if test "$ac_cv_sys_largefile_CC" != no; then
6861 CC=$CC$ac_cv_sys_largefile_CC
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6865 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6866 if ${ac_cv_sys_file_offset_bits+:} false; then :
6867 $as_echo_n "(cached) " >&6
6868 else
6869 while :; do
6870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6871 /* end confdefs.h. */
6872 #include <sys/types.h>
6873 /* Check that off_t can represent 2**63 - 1 correctly.
6874 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6875 since some C++ compilers masquerading as C compilers
6876 incorrectly reject 9223372036854775807. */
6877 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6878 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6879 && LARGE_OFF_T % 2147483647 == 1)
6880 ? 1 : -1];
6882 main ()
6886 return 0;
6888 _ACEOF
6889 if ac_fn_c_try_compile "$LINENO"; then :
6890 ac_cv_sys_file_offset_bits=no; break
6892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6894 /* end confdefs.h. */
6895 #define _FILE_OFFSET_BITS 64
6896 #include <sys/types.h>
6897 /* Check that off_t can represent 2**63 - 1 correctly.
6898 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6899 since some C++ compilers masquerading as C compilers
6900 incorrectly reject 9223372036854775807. */
6901 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6902 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6903 && LARGE_OFF_T % 2147483647 == 1)
6904 ? 1 : -1];
6906 main ()
6910 return 0;
6912 _ACEOF
6913 if ac_fn_c_try_compile "$LINENO"; then :
6914 ac_cv_sys_file_offset_bits=64; break
6916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6917 ac_cv_sys_file_offset_bits=unknown
6918 break
6919 done
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6922 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6923 case $ac_cv_sys_file_offset_bits in #(
6924 no | unknown) ;;
6926 cat >>confdefs.h <<_ACEOF
6927 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6928 _ACEOF
6930 esac
6931 rm -rf conftest*
6932 if test $ac_cv_sys_file_offset_bits = unknown; then
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6934 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6935 if ${ac_cv_sys_large_files+:} false; then :
6936 $as_echo_n "(cached) " >&6
6937 else
6938 while :; do
6939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6940 /* end confdefs.h. */
6941 #include <sys/types.h>
6942 /* Check that off_t can represent 2**63 - 1 correctly.
6943 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6944 since some C++ compilers masquerading as C compilers
6945 incorrectly reject 9223372036854775807. */
6946 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6947 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6948 && LARGE_OFF_T % 2147483647 == 1)
6949 ? 1 : -1];
6951 main ()
6955 return 0;
6957 _ACEOF
6958 if ac_fn_c_try_compile "$LINENO"; then :
6959 ac_cv_sys_large_files=no; break
6961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6963 /* end confdefs.h. */
6964 #define _LARGE_FILES 1
6965 #include <sys/types.h>
6966 /* Check that off_t can represent 2**63 - 1 correctly.
6967 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6968 since some C++ compilers masquerading as C compilers
6969 incorrectly reject 9223372036854775807. */
6970 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6971 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6972 && LARGE_OFF_T % 2147483647 == 1)
6973 ? 1 : -1];
6975 main ()
6979 return 0;
6981 _ACEOF
6982 if ac_fn_c_try_compile "$LINENO"; then :
6983 ac_cv_sys_large_files=1; break
6985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6986 ac_cv_sys_large_files=unknown
6987 break
6988 done
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6991 $as_echo "$ac_cv_sys_large_files" >&6; }
6992 case $ac_cv_sys_large_files in #(
6993 no | unknown) ;;
6995 cat >>confdefs.h <<_ACEOF
6996 #define _LARGE_FILES $ac_cv_sys_large_files
6997 _ACEOF
6999 esac
7000 rm -rf conftest*
7007 ac_ext=c
7008 ac_cpp='$CPP $CPPFLAGS'
7009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7013 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7014 # On Suns, sometimes $CPP names a directory.
7015 if test -n "$CPP" && test -d "$CPP"; then
7016 CPP=
7018 if test -z "$CPP"; then
7019 if ${ac_cv_prog_CPP+:} false; then :
7020 $as_echo_n "(cached) " >&6
7021 else
7022 # Double quotes because CPP needs to be expanded
7023 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7025 ac_preproc_ok=false
7026 for ac_c_preproc_warn_flag in '' yes
7028 # Use a header file that comes with gcc, so configuring glibc
7029 # with a fresh cross-compiler works.
7030 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7031 # <limits.h> exists even on freestanding compilers.
7032 # On the NeXT, cc -E runs the code through the compiler's parser,
7033 # not just through cpp. "Syntax error" is here to catch this case.
7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035 /* end confdefs.h. */
7036 #ifdef __STDC__
7037 # include <limits.h>
7038 #else
7039 # include <assert.h>
7040 #endif
7041 Syntax error
7042 _ACEOF
7043 if ac_fn_c_try_cpp "$LINENO"; then :
7045 else
7046 # Broken: fails on valid input.
7047 continue
7049 rm -f conftest.err conftest.i conftest.$ac_ext
7051 # OK, works on sane cases. Now check whether nonexistent headers
7052 # can be detected and how.
7053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7054 /* end confdefs.h. */
7055 #include <ac_nonexistent.h>
7056 _ACEOF
7057 if ac_fn_c_try_cpp "$LINENO"; then :
7058 # Broken: success on invalid input.
7059 continue
7060 else
7061 # Passes both tests.
7062 ac_preproc_ok=:
7063 break
7065 rm -f conftest.err conftest.i conftest.$ac_ext
7067 done
7068 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7069 rm -f conftest.i conftest.err conftest.$ac_ext
7070 if $ac_preproc_ok; then :
7071 break
7074 done
7075 ac_cv_prog_CPP=$CPP
7078 CPP=$ac_cv_prog_CPP
7079 else
7080 ac_cv_prog_CPP=$CPP
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7083 $as_echo "$CPP" >&6; }
7084 ac_preproc_ok=false
7085 for ac_c_preproc_warn_flag in '' yes
7087 # Use a header file that comes with gcc, so configuring glibc
7088 # with a fresh cross-compiler works.
7089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7090 # <limits.h> exists even on freestanding compilers.
7091 # On the NeXT, cc -E runs the code through the compiler's parser,
7092 # not just through cpp. "Syntax error" is here to catch this case.
7093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7094 /* end confdefs.h. */
7095 #ifdef __STDC__
7096 # include <limits.h>
7097 #else
7098 # include <assert.h>
7099 #endif
7100 Syntax error
7101 _ACEOF
7102 if ac_fn_c_try_cpp "$LINENO"; then :
7104 else
7105 # Broken: fails on valid input.
7106 continue
7108 rm -f conftest.err conftest.i conftest.$ac_ext
7110 # OK, works on sane cases. Now check whether nonexistent headers
7111 # can be detected and how.
7112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7113 /* end confdefs.h. */
7114 #include <ac_nonexistent.h>
7115 _ACEOF
7116 if ac_fn_c_try_cpp "$LINENO"; then :
7117 # Broken: success on invalid input.
7118 continue
7119 else
7120 # Passes both tests.
7121 ac_preproc_ok=:
7122 break
7124 rm -f conftest.err conftest.i conftest.$ac_ext
7126 done
7127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7128 rm -f conftest.i conftest.err conftest.$ac_ext
7129 if $ac_preproc_ok; then :
7131 else
7132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7134 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7135 See \`config.log' for more details" "$LINENO" 5; }
7138 ac_ext=c
7139 ac_cpp='$CPP $CPPFLAGS'
7140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7146 $as_echo_n "checking for ANSI C header files... " >&6; }
7147 if ${ac_cv_header_stdc+:} false; then :
7148 $as_echo_n "(cached) " >&6
7149 else
7150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7151 /* end confdefs.h. */
7152 #include <stdlib.h>
7153 #include <stdarg.h>
7154 #include <string.h>
7155 #include <float.h>
7158 main ()
7162 return 0;
7164 _ACEOF
7165 if ac_fn_c_try_compile "$LINENO"; then :
7166 ac_cv_header_stdc=yes
7167 else
7168 ac_cv_header_stdc=no
7170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7172 if test $ac_cv_header_stdc = yes; then
7173 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7175 /* end confdefs.h. */
7176 #include <string.h>
7178 _ACEOF
7179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7180 $EGREP "memchr" >/dev/null 2>&1; then :
7182 else
7183 ac_cv_header_stdc=no
7185 rm -f conftest*
7189 if test $ac_cv_header_stdc = yes; then
7190 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7192 /* end confdefs.h. */
7193 #include <stdlib.h>
7195 _ACEOF
7196 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7197 $EGREP "free" >/dev/null 2>&1; then :
7199 else
7200 ac_cv_header_stdc=no
7202 rm -f conftest*
7206 if test $ac_cv_header_stdc = yes; then
7207 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7208 if test "$cross_compiling" = yes; then :
7210 else
7211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7212 /* end confdefs.h. */
7213 #include <ctype.h>
7214 #include <stdlib.h>
7215 #if ((' ' & 0x0FF) == 0x020)
7216 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7217 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7218 #else
7219 # define ISLOWER(c) \
7220 (('a' <= (c) && (c) <= 'i') \
7221 || ('j' <= (c) && (c) <= 'r') \
7222 || ('s' <= (c) && (c) <= 'z'))
7223 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7224 #endif
7226 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7228 main ()
7230 int i;
7231 for (i = 0; i < 256; i++)
7232 if (XOR (islower (i), ISLOWER (i))
7233 || toupper (i) != TOUPPER (i))
7234 return 2;
7235 return 0;
7237 _ACEOF
7238 if ac_fn_c_try_run "$LINENO"; then :
7240 else
7241 ac_cv_header_stdc=no
7243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7244 conftest.$ac_objext conftest.beam conftest.$ac_ext
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7250 $as_echo "$ac_cv_header_stdc" >&6; }
7251 if test $ac_cv_header_stdc = yes; then
7253 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7257 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7258 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7259 inttypes.h stdint.h unistd.h
7260 do :
7261 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7262 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7264 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7265 cat >>confdefs.h <<_ACEOF
7266 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7267 _ACEOF
7271 done
7274 for ac_header in \
7275 AL/al.h \
7276 ApplicationServices/ApplicationServices.h \
7277 AudioToolbox/AudioConverter.h \
7278 AudioUnit/AudioUnit.h \
7279 AudioUnit/AudioComponent.h \
7280 CL/cl.h \
7281 Carbon/Carbon.h \
7282 CommonCrypto/CommonCryptor.h \
7283 CoreAudio/CoreAudio.h \
7284 CoreServices/CoreServices.h \
7285 DiskArbitration/DiskArbitration.h \
7286 EGL/egl.h \
7287 IOKit/IOKitLib.h \
7288 IOKit/hid/IOHIDLib.h \
7289 OpenAL/al.h \
7290 OpenCL/opencl.h \
7291 QuickTime/ImageCompression.h \
7292 Security/Security.h \
7293 alias.h \
7294 alsa/asoundlib.h \
7295 arpa/inet.h \
7296 arpa/nameser.h \
7297 asm/types.h \
7298 asm/user.h \
7299 curses.h \
7300 dirent.h \
7301 dlfcn.h \
7302 elf.h \
7303 float.h \
7304 fnmatch.h \
7305 getopt.h \
7306 gettext-po.h \
7307 grp.h \
7308 gsm.h \
7309 gsm/gsm.h \
7310 ieeefp.h \
7311 inet/mib2.h \
7312 kstat.h \
7313 libproc.h \
7314 link.h \
7315 linux/cdrom.h \
7316 linux/compiler.h \
7317 linux/filter.h \
7318 linux/hdreg.h \
7319 linux/hidraw.h \
7320 linux/input.h \
7321 linux/ioctl.h \
7322 linux/joystick.h \
7323 linux/major.h \
7324 linux/param.h \
7325 linux/serial.h \
7326 linux/types.h \
7327 linux/ucdrom.h \
7328 lwp.h \
7329 mach-o/nlist.h \
7330 mach-o/loader.h \
7331 mach/mach.h \
7332 mach/machine.h \
7333 machine/cpu.h \
7334 machine/limits.h \
7335 machine/sysarch.h \
7336 mntent.h \
7337 ncurses.h \
7338 netdb.h \
7339 netinet/in.h \
7340 netinet/in_systm.h \
7341 netinet/tcp.h \
7342 netinet/tcp_fsm.h \
7343 pcap/pcap.h \
7344 poll.h \
7345 port.h \
7346 pthread.h \
7347 pwd.h \
7348 sched.h \
7349 scsi/scsi.h \
7350 scsi/scsi_ioctl.h \
7351 scsi/sg.h \
7352 stdbool.h \
7353 stdint.h \
7354 stropts.h \
7355 sys/asoundlib.h \
7356 sys/attr.h \
7357 sys/auxv.h \
7358 sys/cdio.h \
7359 sys/elf32.h \
7360 sys/epoll.h \
7361 sys/event.h \
7362 sys/exec_elf.h \
7363 sys/filio.h \
7364 sys/inotify.h \
7365 sys/ioctl.h \
7366 sys/ipc.h \
7367 sys/limits.h \
7368 sys/link.h \
7369 sys/mman.h \
7370 sys/modem.h \
7371 sys/msg.h \
7372 sys/mtio.h \
7373 sys/param.h \
7374 sys/poll.h \
7375 sys/prctl.h \
7376 sys/protosw.h \
7377 sys/ptrace.h \
7378 sys/queue.h \
7379 sys/resource.h \
7380 sys/scsiio.h \
7381 sys/shm.h \
7382 sys/signal.h \
7383 sys/socket.h \
7384 sys/socketvar.h \
7385 sys/sockio.h \
7386 sys/statvfs.h \
7387 sys/strtio.h \
7388 sys/syscall.h \
7389 sys/sysinfo.h \
7390 sys/tihdr.h \
7391 sys/time.h \
7392 sys/timeout.h \
7393 sys/times.h \
7394 sys/uio.h \
7395 sys/user.h \
7396 sys/utsname.h \
7397 sys/vnode.h \
7398 sys/wait.h \
7399 syscall.h \
7400 termios.h \
7401 unistd.h \
7402 utime.h \
7403 valgrind/memcheck.h \
7404 valgrind/valgrind.h \
7405 zlib.h
7407 do :
7408 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7409 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7410 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7411 cat >>confdefs.h <<_ACEOF
7412 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7413 _ACEOF
7417 done
7419 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7420 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7422 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7427 if test $ac_cv_header_sys_mkdev_h = no; then
7428 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7429 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7431 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7438 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7439 if ${ac_cv_header_stat_broken+:} false; then :
7440 $as_echo_n "(cached) " >&6
7441 else
7442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7443 /* end confdefs.h. */
7444 #include <sys/types.h>
7445 #include <sys/stat.h>
7447 #if defined S_ISBLK && defined S_IFDIR
7448 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7449 #endif
7451 #if defined S_ISBLK && defined S_IFCHR
7452 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7453 #endif
7455 #if defined S_ISLNK && defined S_IFREG
7456 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7457 #endif
7459 #if defined S_ISSOCK && defined S_IFREG
7460 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7461 #endif
7463 _ACEOF
7464 if ac_fn_c_try_compile "$LINENO"; then :
7465 ac_cv_header_stat_broken=no
7466 else
7467 ac_cv_header_stat_broken=yes
7469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7472 $as_echo "$ac_cv_header_stat_broken" >&6; }
7473 if test $ac_cv_header_stat_broken = yes; then
7475 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7481 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7482 do :
7483 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7484 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7485 #ifdef HAVE_SYS_PARAM_H
7486 # include <sys/param.h>
7487 #endif
7489 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7490 cat >>confdefs.h <<_ACEOF
7491 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7492 _ACEOF
7496 done
7499 for ac_header in \
7500 netinet/ip.h \
7501 net/if.h \
7502 net/if_arp.h \
7503 net/if_dl.h \
7504 net/if_types.h \
7505 net/route.h \
7506 netinet/if_ether.h \
7507 netinet/if_inarp.h \
7508 netinet/in_pcb.h \
7509 netinet/ip_icmp.h \
7510 netinet/ip_var.h \
7511 netinet/udp.h \
7512 netipx/ipx.h \
7513 sys/un.h \
7515 do :
7516 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7517 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7518 #ifdef HAVE_SYS_SOCKET_H
7519 # include <sys/socket.h>
7520 #endif
7521 #ifdef HAVE_SYS_SOCKETVAR_H
7522 # include <sys/socketvar.h>
7523 #endif
7524 #ifdef HAVE_NET_ROUTE_H
7525 # include <net/route.h>
7526 #endif
7527 #ifdef HAVE_NETINET_IN_H
7528 # include <netinet/in.h>
7529 #endif
7530 #ifdef HAVE_NETINET_IN_SYSTM_H
7531 # include <netinet/in_systm.h>
7532 #endif
7533 #ifdef HAVE_NET_IF_H
7534 # include <net/if.h>
7535 #endif
7536 #ifdef HAVE_NETINET_IP_H
7537 # include <netinet/ip.h>
7538 #endif
7540 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7541 cat >>confdefs.h <<_ACEOF
7542 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7543 _ACEOF
7547 done
7550 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7551 do :
7552 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7553 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7554 #ifdef HAVE_ALIAS_H
7555 # include <alias.h>
7556 #endif
7557 #ifdef HAVE_SYS_SOCKET_H
7558 # include <sys/socket.h>
7559 #endif
7560 #ifdef HAVE_SYS_SOCKETVAR_H
7561 # include <sys/socketvar.h>
7562 #endif
7563 #ifdef HAVE_SYS_TIMEOUT_H
7564 # include <sys/timeout.h>
7565 #endif
7566 #ifdef HAVE_NETINET_IN_H
7567 # include <netinet/in.h>
7568 #endif
7569 #ifdef HAVE_NETINET_IN_SYSTM_H
7570 # include <netinet/in_systm.h>
7571 #endif
7572 #ifdef HAVE_NETINET_IP_H
7573 # include <netinet/ip.h>
7574 #endif
7575 #ifdef HAVE_NETINET_IP_VAR_H
7576 # include <netinet/ip_var.h>
7577 #endif
7578 #ifdef HAVE_NETINET_IP_ICMP_H
7579 # include <netinet/ip_icmp.h>
7580 #endif
7581 #ifdef HAVE_NETINET_UDP_H
7582 # include <netinet/udp.h>
7583 #endif
7584 #ifdef HAVE_NETINET_TCP_H
7585 # include <netinet/tcp.h>
7586 #endif
7587 #ifdef HAVE_NETINET_TCP_TIMER_H
7588 #include <netinet/tcp_timer.h>
7589 #endif
7591 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7592 cat >>confdefs.h <<_ACEOF
7593 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7594 _ACEOF
7598 done
7601 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7602 do :
7603 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7604 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7605 #ifdef HAVE_ASM_TYPES_H
7606 # include <asm/types.h>
7607 #endif
7608 #ifdef HAVE_SYS_SOCKET_H
7609 # include <sys/socket.h>
7610 #endif
7611 #ifdef HAVE_LINUX_TYPES_H
7612 # include <linux/types.h>
7613 #endif
7615 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7616 cat >>confdefs.h <<_ACEOF
7617 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7618 _ACEOF
7622 done
7625 for ac_header in mach-o/dyld_images.h
7626 do :
7627 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7628 # include <stdbool.h>
7629 #endif
7630 #ifdef HAVE_STDINT_H
7631 # include <stdint.h>
7632 #endif
7634 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7635 cat >>confdefs.h <<_ACEOF
7636 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7637 _ACEOF
7641 done
7644 for ac_header in resolv.h
7645 do :
7646 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7647 #ifdef HAVE_SYS_SOCKET_H
7648 # include <sys/socket.h>
7649 #endif
7650 #ifdef HAVE_NETINET_IN_H
7651 # include <netinet/in.h>
7652 #endif
7653 #ifdef HAVE_ARPA_NAMESER_H
7654 # include <arpa/nameser.h>
7655 #endif
7657 if test "x$ac_cv_header_resolv_h" = xyes; then :
7658 cat >>confdefs.h <<_ACEOF
7659 #define HAVE_RESOLV_H 1
7660 _ACEOF
7664 done
7667 for ac_header in ifaddrs.h
7668 do :
7669 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7671 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7672 cat >>confdefs.h <<_ACEOF
7673 #define HAVE_IFADDRS_H 1
7674 _ACEOF
7678 done
7681 for ac_header in sys/ucontext.h
7682 do :
7683 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7685 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7686 cat >>confdefs.h <<_ACEOF
7687 #define HAVE_SYS_UCONTEXT_H 1
7688 _ACEOF
7692 done
7695 for ac_header in sys/thr.h
7696 do :
7697 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7698 #ifdef HAVE_SYS_UCONTEXT_H
7699 #include <sys/ucontext.h>
7700 #endif
7702 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7703 cat >>confdefs.h <<_ACEOF
7704 #define HAVE_SYS_THR_H 1
7705 _ACEOF
7709 done
7712 for ac_header in pthread_np.h
7713 do :
7714 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7715 #include <pthread.h>
7716 #endif
7718 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7719 cat >>confdefs.h <<_ACEOF
7720 #define HAVE_PTHREAD_NP_H 1
7721 _ACEOF
7725 done
7728 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7729 do :
7730 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7731 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7732 #include <sys/time.h>
7733 #endif
7734 #include <sys/types.h>
7735 #ifdef HAVE_ASM_TYPES_H
7736 #include <asm/types.h>
7737 #endif
7739 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7740 cat >>confdefs.h <<_ACEOF
7741 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7742 _ACEOF
7746 done
7749 for ac_header in libprocstat.h
7750 do :
7751 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7752 #include <sys/param.h>
7753 #endif
7754 #ifdef HAVE_SYS_QUEUE_H
7755 #include <sys/queue.h>
7756 #endif
7757 #ifdef HAVE_SYS_SOCKET_H
7758 #include <sys/socket.h>
7759 #endif
7761 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7762 cat >>confdefs.h <<_ACEOF
7763 #define HAVE_LIBPROCSTAT_H 1
7764 _ACEOF
7768 done
7772 DLLFLAGS="-D_REENTRANT"
7774 LDRPATH_INSTALL=""
7776 LDRPATH_LOCAL=""
7778 LDEXECFLAGS=""
7780 TOP_INSTALL_LIB=""
7782 TOP_INSTALL_DEV=""
7784 WINELOADER_LDFLAGS=""
7786 WINEPRELOADER_LDFLAGS=""
7788 LIBEXT="so"
7789 DLLEXT=".so"
7790 # Extract the first word of "ldd", so it can be a program name with args.
7791 set dummy ldd; ac_word=$2
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7793 $as_echo_n "checking for $ac_word... " >&6; }
7794 if ${ac_cv_path_LDD+:} false; then :
7795 $as_echo_n "(cached) " >&6
7796 else
7797 case $LDD in
7798 [\\/]* | ?:[\\/]*)
7799 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7803 as_dummy="/sbin:/usr/sbin:$PATH"
7804 for as_dir in $as_dummy
7806 IFS=$as_save_IFS
7807 test -z "$as_dir" && as_dir=.
7808 for ac_exec_ext in '' $ac_executable_extensions; do
7809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7810 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7812 break 2
7814 done
7815 done
7816 IFS=$as_save_IFS
7818 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7820 esac
7822 LDD=$ac_cv_path_LDD
7823 if test -n "$LDD"; then
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7825 $as_echo "$LDD" >&6; }
7826 else
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7828 $as_echo "no" >&6; }
7832 if test -n "$ac_tool_prefix"; then
7833 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7834 set dummy ${ac_tool_prefix}otool; ac_word=$2
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7836 $as_echo_n "checking for $ac_word... " >&6; }
7837 if ${ac_cv_prog_OTOOL+:} false; then :
7838 $as_echo_n "(cached) " >&6
7839 else
7840 if test -n "$OTOOL"; then
7841 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7842 else
7843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7844 for as_dir in $PATH
7846 IFS=$as_save_IFS
7847 test -z "$as_dir" && as_dir=.
7848 for ac_exec_ext in '' $ac_executable_extensions; do
7849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7850 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7852 break 2
7854 done
7855 done
7856 IFS=$as_save_IFS
7860 OTOOL=$ac_cv_prog_OTOOL
7861 if test -n "$OTOOL"; then
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7863 $as_echo "$OTOOL" >&6; }
7864 else
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7866 $as_echo "no" >&6; }
7871 if test -z "$ac_cv_prog_OTOOL"; then
7872 ac_ct_OTOOL=$OTOOL
7873 # Extract the first word of "otool", so it can be a program name with args.
7874 set dummy otool; ac_word=$2
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7876 $as_echo_n "checking for $ac_word... " >&6; }
7877 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7878 $as_echo_n "(cached) " >&6
7879 else
7880 if test -n "$ac_ct_OTOOL"; then
7881 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7882 else
7883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7884 for as_dir in $PATH
7886 IFS=$as_save_IFS
7887 test -z "$as_dir" && as_dir=.
7888 for ac_exec_ext in '' $ac_executable_extensions; do
7889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7890 ac_cv_prog_ac_ct_OTOOL="otool"
7891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7892 break 2
7894 done
7895 done
7896 IFS=$as_save_IFS
7900 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7901 if test -n "$ac_ct_OTOOL"; then
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7903 $as_echo "$ac_ct_OTOOL" >&6; }
7904 else
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7906 $as_echo "no" >&6; }
7909 if test "x$ac_ct_OTOOL" = x; then
7910 OTOOL="otool"
7911 else
7912 case $cross_compiling:$ac_tool_warned in
7913 yes:)
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7916 ac_tool_warned=yes ;;
7917 esac
7918 OTOOL=$ac_ct_OTOOL
7920 else
7921 OTOOL="$ac_cv_prog_OTOOL"
7924 if test -n "$ac_tool_prefix"; then
7925 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7926 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7928 $as_echo_n "checking for $ac_word... " >&6; }
7929 if ${ac_cv_prog_READELF+:} false; then :
7930 $as_echo_n "(cached) " >&6
7931 else
7932 if test -n "$READELF"; then
7933 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7934 else
7935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7936 for as_dir in $PATH
7938 IFS=$as_save_IFS
7939 test -z "$as_dir" && as_dir=.
7940 for ac_exec_ext in '' $ac_executable_extensions; do
7941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7942 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7944 break 2
7946 done
7947 done
7948 IFS=$as_save_IFS
7952 READELF=$ac_cv_prog_READELF
7953 if test -n "$READELF"; then
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7955 $as_echo "$READELF" >&6; }
7956 else
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7958 $as_echo "no" >&6; }
7963 if test -z "$ac_cv_prog_READELF"; then
7964 ac_ct_READELF=$READELF
7965 # Extract the first word of "readelf", so it can be a program name with args.
7966 set dummy readelf; ac_word=$2
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7968 $as_echo_n "checking for $ac_word... " >&6; }
7969 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7970 $as_echo_n "(cached) " >&6
7971 else
7972 if test -n "$ac_ct_READELF"; then
7973 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7974 else
7975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7976 for as_dir in $PATH
7978 IFS=$as_save_IFS
7979 test -z "$as_dir" && as_dir=.
7980 for ac_exec_ext in '' $ac_executable_extensions; do
7981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7982 ac_cv_prog_ac_ct_READELF="readelf"
7983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7984 break 2
7986 done
7987 done
7988 IFS=$as_save_IFS
7992 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7993 if test -n "$ac_ct_READELF"; then
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7995 $as_echo "$ac_ct_READELF" >&6; }
7996 else
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7998 $as_echo "no" >&6; }
8001 if test "x$ac_ct_READELF" = x; then
8002 READELF="true"
8003 else
8004 case $cross_compiling:$ac_tool_warned in
8005 yes:)
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8008 ac_tool_warned=yes ;;
8009 esac
8010 READELF=$ac_ct_READELF
8012 else
8013 READELF="$ac_cv_prog_READELF"
8016 wine_rules_file=conf$$rules.make
8017 rm -f $wine_rules_file
8018 SUBDIRS=""
8020 DISABLED_SUBDIRS=""
8022 CONFIGURE_TARGETS=""
8025 wine_fn_append_file ()
8027 as_fn_append $1 " \\$as_nl $2"
8030 wine_fn_append_rule ()
8032 $as_echo "$1" >>$wine_rules_file
8035 wine_fn_config_makefile ()
8037 wine_fn_append_file SUBDIRS $1
8038 if eval test \"x\$"$2"\" = x"no"; then :
8039 wine_fn_append_file DISABLED_SUBDIRS $1
8043 wine_fn_config_symlink ()
8045 ac_links=$@
8046 wine_fn_append_rule \
8047 "$ac_links:
8048 @./config.status \$@"
8049 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8052 wine_binary="wine"
8053 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8054 WINELOADER_PROGRAMS="$wine_binary"
8056 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8058 case $host_os in
8059 cygwin*|mingw32*)
8060 if test -n "$ac_tool_prefix"; then
8061 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8062 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8064 $as_echo_n "checking for $ac_word... " >&6; }
8065 if ${ac_cv_prog_DLLTOOL+:} false; then :
8066 $as_echo_n "(cached) " >&6
8067 else
8068 if test -n "$DLLTOOL"; then
8069 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8070 else
8071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8072 for as_dir in $PATH
8074 IFS=$as_save_IFS
8075 test -z "$as_dir" && as_dir=.
8076 for ac_exec_ext in '' $ac_executable_extensions; do
8077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8078 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8080 break 2
8082 done
8083 done
8084 IFS=$as_save_IFS
8088 DLLTOOL=$ac_cv_prog_DLLTOOL
8089 if test -n "$DLLTOOL"; then
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8091 $as_echo "$DLLTOOL" >&6; }
8092 else
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8094 $as_echo "no" >&6; }
8099 if test -z "$ac_cv_prog_DLLTOOL"; then
8100 ac_ct_DLLTOOL=$DLLTOOL
8101 # Extract the first word of "dlltool", so it can be a program name with args.
8102 set dummy dlltool; ac_word=$2
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8104 $as_echo_n "checking for $ac_word... " >&6; }
8105 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8106 $as_echo_n "(cached) " >&6
8107 else
8108 if test -n "$ac_ct_DLLTOOL"; then
8109 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8110 else
8111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8112 for as_dir in $PATH
8114 IFS=$as_save_IFS
8115 test -z "$as_dir" && as_dir=.
8116 for ac_exec_ext in '' $ac_executable_extensions; do
8117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8118 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8120 break 2
8122 done
8123 done
8124 IFS=$as_save_IFS
8128 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8129 if test -n "$ac_ct_DLLTOOL"; then
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8131 $as_echo "$ac_ct_DLLTOOL" >&6; }
8132 else
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8134 $as_echo "no" >&6; }
8137 if test "x$ac_ct_DLLTOOL" = x; then
8138 DLLTOOL="false"
8139 else
8140 case $cross_compiling:$ac_tool_warned in
8141 yes:)
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8144 ac_tool_warned=yes ;;
8145 esac
8146 DLLTOOL=$ac_ct_DLLTOOL
8148 else
8149 DLLTOOL="$ac_cv_prog_DLLTOOL"
8152 LIBEXT="dll"
8153 DLLEXT=""
8154 enable_iphlpapi=${enable_iphlpapi:-no}
8155 enable_kernel32=${enable_kernel32:-no}
8156 enable_msvcrt=${enable_msvcrt:-no}
8157 enable_ntdll=${enable_ntdll:-no}
8158 enable_ws2_32=${enable_ws2_32:-no}
8159 enable_loader=${enable_loader:-no}
8160 enable_server=${enable_server:-no}
8161 with_x=${with_x:-no}
8162 with_pthread=${with_pthread:-no}
8164 LIBWINE_SHAREDLIB="libwine.dll"
8166 LIBWINE_IMPORTLIB="libwine.a"
8168 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8170 LIBWINE_DEPENDS="wine.def"
8172 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.dll"
8173 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.a"
8176 darwin*|macosx*)
8177 for ac_header in libunwind.h
8178 do :
8179 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8181 cat >>confdefs.h <<_ACEOF
8182 #define HAVE_LIBUNWIND_H 1
8183 _ACEOF
8187 done
8189 ac_ext=m
8190 ac_cpp='$OBJCPP $CPPFLAGS'
8191 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8192 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8193 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8195 ac_ext=m
8196 ac_cpp='$OBJCPP $CPPFLAGS'
8197 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8198 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8199 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8200 if test -n "$ac_tool_prefix"; then
8201 for ac_prog in gcc objcc objc cc CC
8203 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8204 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8206 $as_echo_n "checking for $ac_word... " >&6; }
8207 if ${ac_cv_prog_OBJC+:} false; then :
8208 $as_echo_n "(cached) " >&6
8209 else
8210 if test -n "$OBJC"; then
8211 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8212 else
8213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8214 for as_dir in $PATH
8216 IFS=$as_save_IFS
8217 test -z "$as_dir" && as_dir=.
8218 for ac_exec_ext in '' $ac_executable_extensions; do
8219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8220 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8222 break 2
8224 done
8225 done
8226 IFS=$as_save_IFS
8230 OBJC=$ac_cv_prog_OBJC
8231 if test -n "$OBJC"; then
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8233 $as_echo "$OBJC" >&6; }
8234 else
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8236 $as_echo "no" >&6; }
8240 test -n "$OBJC" && break
8241 done
8243 if test -z "$OBJC"; then
8244 ac_ct_OBJC=$OBJC
8245 for ac_prog in gcc objcc objc cc CC
8247 # Extract the first word of "$ac_prog", so it can be a program name with args.
8248 set dummy $ac_prog; ac_word=$2
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8250 $as_echo_n "checking for $ac_word... " >&6; }
8251 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8252 $as_echo_n "(cached) " >&6
8253 else
8254 if test -n "$ac_ct_OBJC"; then
8255 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8256 else
8257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8258 for as_dir in $PATH
8260 IFS=$as_save_IFS
8261 test -z "$as_dir" && as_dir=.
8262 for ac_exec_ext in '' $ac_executable_extensions; do
8263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8264 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8266 break 2
8268 done
8269 done
8270 IFS=$as_save_IFS
8274 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8275 if test -n "$ac_ct_OBJC"; then
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8277 $as_echo "$ac_ct_OBJC" >&6; }
8278 else
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8280 $as_echo "no" >&6; }
8284 test -n "$ac_ct_OBJC" && break
8285 done
8287 if test "x$ac_ct_OBJC" = x; then
8288 OBJC="gcc"
8289 else
8290 case $cross_compiling:$ac_tool_warned in
8291 yes:)
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8294 ac_tool_warned=yes ;;
8295 esac
8296 OBJC=$ac_ct_OBJC
8300 # Provide some information about the compiler.
8301 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8302 set X $ac_compile
8303 ac_compiler=$2
8304 for ac_option in --version -v -V -qversion; do
8305 { { ac_try="$ac_compiler $ac_option >&5"
8306 case "(($ac_try" in
8307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8308 *) ac_try_echo=$ac_try;;
8309 esac
8310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8311 $as_echo "$ac_try_echo"; } >&5
8312 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8313 ac_status=$?
8314 if test -s conftest.err; then
8315 sed '10a\
8316 ... rest of stderr output deleted ...
8317 10q' conftest.err >conftest.er1
8318 cat conftest.er1 >&5
8320 rm -f conftest.er1 conftest.err
8321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8322 test $ac_status = 0; }
8323 done
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8326 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8327 if ${ac_cv_objc_compiler_gnu+:} false; then :
8328 $as_echo_n "(cached) " >&6
8329 else
8330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8331 /* end confdefs.h. */
8334 main ()
8336 #ifndef __GNUC__
8337 choke me
8338 #endif
8341 return 0;
8343 _ACEOF
8344 if ac_fn_objc_try_compile "$LINENO"; then :
8345 ac_compiler_gnu=yes
8346 else
8347 ac_compiler_gnu=no
8349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8350 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8354 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8355 if test $ac_compiler_gnu = yes; then
8356 GOBJC=yes
8357 else
8358 GOBJC=
8360 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8361 ac_save_OBJCFLAGS=$OBJCFLAGS
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8363 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8364 if ${ac_cv_prog_objc_g+:} false; then :
8365 $as_echo_n "(cached) " >&6
8366 else
8367 ac_save_objc_werror_flag=$ac_objc_werror_flag
8368 ac_objc_werror_flag=yes
8369 ac_cv_prog_objc_g=no
8370 OBJCFLAGS="-g"
8371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8375 main ()
8379 return 0;
8381 _ACEOF
8382 if ac_fn_objc_try_compile "$LINENO"; then :
8383 ac_cv_prog_objc_g=yes
8384 else
8385 OBJCFLAGS=""
8386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8387 /* end confdefs.h. */
8390 main ()
8394 return 0;
8396 _ACEOF
8397 if ac_fn_objc_try_compile "$LINENO"; then :
8399 else
8400 ac_objc_werror_flag=$ac_save_objc_werror_flag
8401 OBJCFLAGS="-g"
8402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8403 /* end confdefs.h. */
8406 main ()
8410 return 0;
8412 _ACEOF
8413 if ac_fn_objc_try_compile "$LINENO"; then :
8414 ac_cv_prog_objc_g=yes
8416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8421 ac_objc_werror_flag=$ac_save_objc_werror_flag
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8424 $as_echo "$ac_cv_prog_objc_g" >&6; }
8425 if test "$ac_test_OBJCFLAGS" = set; then
8426 OBJCFLAGS=$ac_save_OBJCFLAGS
8427 elif test $ac_cv_prog_objc_g = yes; then
8428 if test "$GOBJC" = yes; then
8429 OBJCFLAGS="-g -O2"
8430 else
8431 OBJCFLAGS="-g"
8433 else
8434 if test "$GOBJC" = yes; then
8435 OBJCFLAGS="-O2"
8436 else
8437 OBJCFLAGS=
8440 ac_ext=m
8441 ac_cpp='$OBJCPP $CPPFLAGS'
8442 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8443 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8444 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8447 ac_ext=m
8448 ac_cpp='$OBJCPP $CPPFLAGS'
8449 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8450 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8451 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8453 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8454 if test -z "$OBJCPP"; then
8455 if ${ac_cv_prog_OBJCPP+:} false; then :
8456 $as_echo_n "(cached) " >&6
8457 else
8458 # Double quotes because OBJCPP needs to be expanded
8459 for OBJCPP in "$OBJC -E" "/lib/cpp"
8461 ac_preproc_ok=false
8462 for ac_objc_preproc_warn_flag in '' yes
8464 # Use a header file that comes with gcc, so configuring glibc
8465 # with a fresh cross-compiler works.
8466 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8467 # <limits.h> exists even on freestanding compilers.
8468 # On the NeXT, cc -E runs the code through the compiler's parser,
8469 # not just through cpp. "Syntax error" is here to catch this case.
8470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8471 /* end confdefs.h. */
8472 #ifdef __STDC__
8473 # include <limits.h>
8474 #else
8475 # include <assert.h>
8476 #endif
8477 Syntax error
8478 _ACEOF
8479 if ac_fn_objc_try_cpp "$LINENO"; then :
8481 else
8482 # Broken: fails on valid input.
8483 continue
8485 rm -f conftest.err conftest.i conftest.$ac_ext
8487 # OK, works on sane cases. Now check whether nonexistent headers
8488 # can be detected and how.
8489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8490 /* end confdefs.h. */
8491 #include <ac_nonexistent.h>
8492 _ACEOF
8493 if ac_fn_objc_try_cpp "$LINENO"; then :
8494 # Broken: success on invalid input.
8495 continue
8496 else
8497 # Passes both tests.
8498 ac_preproc_ok=:
8499 break
8501 rm -f conftest.err conftest.i conftest.$ac_ext
8503 done
8504 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8505 rm -f conftest.i conftest.err conftest.$ac_ext
8506 if $ac_preproc_ok; then :
8507 break
8510 done
8511 ac_cv_prog_OBJCPP=$OBJCPP
8514 OBJCPP=$ac_cv_prog_OBJCPP
8515 else
8516 ac_cv_prog_OBJCPP=$OBJCPP
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8519 $as_echo "$OBJCPP" >&6; }
8520 ac_preproc_ok=false
8521 for ac_objc_preproc_warn_flag in '' yes
8523 # Use a header file that comes with gcc, so configuring glibc
8524 # with a fresh cross-compiler works.
8525 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8526 # <limits.h> exists even on freestanding compilers.
8527 # On the NeXT, cc -E runs the code through the compiler's parser,
8528 # not just through cpp. "Syntax error" is here to catch this case.
8529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 /* end confdefs.h. */
8531 #ifdef __STDC__
8532 # include <limits.h>
8533 #else
8534 # include <assert.h>
8535 #endif
8536 Syntax error
8537 _ACEOF
8538 if ac_fn_objc_try_cpp "$LINENO"; then :
8540 else
8541 # Broken: fails on valid input.
8542 continue
8544 rm -f conftest.err conftest.i conftest.$ac_ext
8546 # OK, works on sane cases. Now check whether nonexistent headers
8547 # can be detected and how.
8548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8549 /* end confdefs.h. */
8550 #include <ac_nonexistent.h>
8551 _ACEOF
8552 if ac_fn_objc_try_cpp "$LINENO"; then :
8553 # Broken: success on invalid input.
8554 continue
8555 else
8556 # Passes both tests.
8557 ac_preproc_ok=:
8558 break
8560 rm -f conftest.err conftest.i conftest.$ac_ext
8562 done
8563 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8564 rm -f conftest.i conftest.err conftest.$ac_ext
8565 if $ac_preproc_ok; then :
8567 else
8568 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8570 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8571 See \`config.log' for more details" "$LINENO" 5; }
8574 ac_ext=m
8575 ac_cpp='$OBJCPP $CPPFLAGS'
8576 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8577 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8578 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8581 for ac_header in Metal/Metal.h
8582 do :
8583 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8584 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8585 cat >>confdefs.h <<_ACEOF
8586 #define HAVE_METAL_METAL_H 1
8587 _ACEOF
8591 done
8593 ac_ext=c
8594 ac_cpp='$CPP $CPPFLAGS'
8595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8599 LIBEXT="dylib"
8600 DLLFLAGS="$DLLFLAGS -fPIC"
8601 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8602 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8603 COREFOUNDATION_LIBS="-framework CoreFoundation"
8605 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8607 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8609 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8611 CORESERVICES_LIBS="-framework CoreServices"
8613 APPKIT_LIBS="-framework AppKit"
8616 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8618 wine_can_build_preloader=yes
8619 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8621 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8622 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8623 $as_echo_n "(cached) " >&6
8624 else
8625 ac_wine_try_cflags_saved=$CFLAGS
8626 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8628 /* end confdefs.h. */
8629 int main(int argc, char **argv) { return 0; }
8630 _ACEOF
8631 if ac_fn_c_try_link "$LINENO"; then :
8632 ac_cv_cflags__Wl__no_new_main__e__main=yes
8633 else
8634 ac_cv_cflags__Wl__no_new_main__e__main=no
8636 rm -f core conftest.err conftest.$ac_objext \
8637 conftest$ac_exeext conftest.$ac_ext
8638 CFLAGS=$ac_wine_try_cflags_saved
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8641 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8642 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8643 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8645 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8646 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8647 $as_echo_n "(cached) " >&6
8648 else
8649 ac_wine_try_cflags_saved=$CFLAGS
8650 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8652 /* end confdefs.h. */
8653 int main(int argc, char **argv) { return 0; }
8654 _ACEOF
8655 if ac_fn_c_try_link "$LINENO"; then :
8656 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8657 else
8658 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8660 rm -f core conftest.err conftest.$ac_objext \
8661 conftest$ac_exeext conftest.$ac_ext
8662 CFLAGS=$ac_wine_try_cflags_saved
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8665 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8666 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8667 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8668 else
8669 { $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
8670 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8671 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8672 $as_echo_n "(cached) " >&6
8673 else
8674 ac_wine_try_cflags_saved=$CFLAGS
8675 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8677 /* end confdefs.h. */
8678 int main(int argc, char **argv) { return 0; }
8679 _ACEOF
8680 if ac_fn_c_try_link "$LINENO"; then :
8681 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8682 else
8683 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8685 rm -f core conftest.err conftest.$ac_objext \
8686 conftest$ac_exeext conftest.$ac_ext
8687 CFLAGS=$ac_wine_try_cflags_saved
8689 { $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
8690 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8691 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8692 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8693 else
8694 wine_can_build_preloader=no
8697 else
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8699 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8700 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8701 $as_echo_n "(cached) " >&6
8702 else
8703 ac_wine_try_cflags_saved=$CFLAGS
8704 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8706 /* end confdefs.h. */
8707 int main(int argc, char **argv) { return 0; }
8708 _ACEOF
8709 if ac_fn_c_try_link "$LINENO"; then :
8710 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8711 else
8712 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8714 rm -f core conftest.err conftest.$ac_objext \
8715 conftest$ac_exeext conftest.$ac_ext
8716 CFLAGS=$ac_wine_try_cflags_saved
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8719 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8720 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8721 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8722 else
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8724 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8725 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8726 $as_echo_n "(cached) " >&6
8727 else
8728 ac_wine_try_cflags_saved=$CFLAGS
8729 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8731 /* end confdefs.h. */
8732 int main(int argc, char **argv) { return 0; }
8733 _ACEOF
8734 if ac_fn_c_try_link "$LINENO"; then :
8735 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8736 else
8737 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8739 rm -f core conftest.err conftest.$ac_objext \
8740 conftest$ac_exeext conftest.$ac_ext
8741 CFLAGS=$ac_wine_try_cflags_saved
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8744 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8745 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8746 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8747 else
8748 wine_can_build_preloader=no
8752 if test "$wine_can_build_preloader" = "yes"
8753 then
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8755 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8756 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8757 $as_echo_n "(cached) " >&6
8758 else
8759 ac_wine_try_cflags_saved=$CFLAGS
8760 CFLAGS="$CFLAGS -Wl,-no_pie"
8761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8762 /* end confdefs.h. */
8763 int main(int argc, char **argv) { return 0; }
8764 _ACEOF
8765 if ac_fn_c_try_link "$LINENO"; then :
8766 ac_cv_cflags__Wl__no_pie=yes
8767 else
8768 ac_cv_cflags__Wl__no_pie=no
8770 rm -f core conftest.err conftest.$ac_objext \
8771 conftest$ac_exeext conftest.$ac_ext
8772 CFLAGS=$ac_wine_try_cflags_saved
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8775 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8776 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8777 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8779 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8780 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8781 else
8782 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8785 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8786 then
8787 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8790 if test "$ac_cv_header_Security_Security_h" = "yes"
8791 then
8792 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8794 ac_save_LIBS="$LIBS"
8795 LIBS="$LIBS $SECURITY_LIBS"
8796 for ac_func in SSLCopyPeerCertificates
8797 do :
8798 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8799 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8800 cat >>confdefs.h <<_ACEOF
8801 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8802 _ACEOF
8805 done
8807 LIBS="$ac_save_LIBS"
8809 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8810 then
8811 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8812 then
8813 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8815 else
8816 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8819 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8820 ac_save_LIBS="$LIBS"
8821 LIBS="$LIBS $COREAUDIO_LIBS"
8822 for ac_func in AUGraphAddNode
8823 do :
8824 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8825 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8826 cat >>confdefs.h <<_ACEOF
8827 #define HAVE_AUGRAPHADDNODE 1
8828 _ACEOF
8831 done
8833 LIBS="$ac_save_LIBS"
8835 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8836 then
8837 OPENAL_LIBS="-framework OpenAL"
8840 cat >>confdefs.h <<_ACEOF
8841 #define HAVE_OPENAL 1
8842 _ACEOF
8844 ac_cv_lib_openal=yes
8846 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8847 then
8848 OPENCL_LIBS="-framework OpenCL"
8850 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8852 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8853 then
8854 ac_save_LIBS="$LIBS"
8855 LIBS="$LIBS $IOKIT_LIBS"
8856 for ac_func in IOHIDManagerCreate
8857 do :
8858 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8859 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8860 cat >>confdefs.h <<_ACEOF
8861 #define HAVE_IOHIDMANAGERCREATE 1
8862 _ACEOF
8865 done
8867 LIBS="$ac_save_LIBS"
8869 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8870 then
8871 ac_save_LIBS="$LIBS"
8872 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8874 $as_echo_n "checking for the QuickTime framework... " >&6; }
8875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8876 /* end confdefs.h. */
8877 #include <QuickTime/ImageCompression.h>
8879 main ()
8881 CodecManagerVersion(NULL);
8883 return 0;
8885 _ACEOF
8886 if ac_fn_c_try_link "$LINENO"; then :
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8888 $as_echo "yes" >&6; }
8889 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8891 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8892 else
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8894 $as_echo "no" >&6; }
8895 ac_cv_header_QuickTime_ImageCompression_h=no
8897 rm -f core conftest.err conftest.$ac_objext \
8898 conftest$ac_exeext conftest.$ac_ext
8899 LIBS="$ac_save_LIBS"
8901 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8902 then
8903 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8905 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8906 then
8907 CARBON_LIBS="-framework Carbon"
8910 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8911 then
8912 METAL_LIBS="-framework Metal -framework QuartzCore"
8916 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8917 then
8918 ac_save_LIBS="$LIBS"
8919 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8920 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8921 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8922 enable_winemac_drv=${enable_winemac_drv:-yes}
8925 LIBS="$ac_save_LIBS"
8928 if test "x$enable_win16" = "xyes"
8929 then
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8931 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8932 if test "$cross_compiling" = yes; then :
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8934 $as_echo "cross-compiling, assuming yes" >&6; }
8935 else
8936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8937 /* end confdefs.h. */
8938 asm(".text\n"
8939 "bad:\tnop;nop\n"
8940 "good:\tnop;nop\n\t"
8941 ".globl _testfunc\n"
8942 "_testfunc:\tcallw good");
8943 extern void testfunc();
8945 main ()
8947 unsigned short *p = (unsigned short *)testfunc;
8948 return p[0] != 0xe866 || p[1] != 0xfffa
8950 return 0;
8952 _ACEOF
8953 if ac_fn_c_try_run "$LINENO"; then :
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8955 $as_echo "yes" >&6; }
8956 else
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8958 $as_echo "no" >&6; }
8959 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
8961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8962 conftest.$ac_objext conftest.beam conftest.$ac_ext
8967 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8969 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8971 WINELOADER_DEPENDS="wine_info.plist"
8973 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
8974 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
8977 linux-android*)
8978 DLLFLAGS="$DLLFLAGS -fPIC"
8979 LDEXECFLAGS="-Wl,-pie"
8980 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8982 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8983 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8984 $as_echo_n "(cached) " >&6
8985 else
8986 ac_wine_try_cflags_saved=$CFLAGS
8987 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8989 /* end confdefs.h. */
8990 int main(int argc, char **argv) { return 0; }
8991 _ACEOF
8992 if ac_fn_c_try_link "$LINENO"; then :
8993 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8994 else
8995 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8997 rm -f core conftest.err conftest.$ac_objext \
8998 conftest$ac_exeext conftest.$ac_ext
8999 CFLAGS=$ac_wine_try_cflags_saved
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9002 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9003 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9004 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9006 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9007 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9009 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9010 if eval \${$as_ac_var+:} false; then :
9011 $as_echo_n "(cached) " >&6
9012 else
9013 ac_wine_try_cflags_saved=$CFLAGS
9014 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9016 /* end confdefs.h. */
9017 int main(int argc, char **argv) { return 0; }
9018 _ACEOF
9019 if ac_fn_c_try_link "$LINENO"; then :
9020 eval "$as_ac_var=yes"
9021 else
9022 eval "$as_ac_var=no"
9024 rm -f core conftest.err conftest.$ac_objext \
9025 conftest$ac_exeext conftest.$ac_ext
9026 CFLAGS=$ac_wine_try_cflags_saved
9028 eval ac_res=\$$as_ac_var
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9030 $as_echo "$ac_res" >&6; }
9031 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9032 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9033 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9034 else
9035 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9037 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9038 if eval \${$as_ac_var+:} false; then :
9039 $as_echo_n "(cached) " >&6
9040 else
9041 ac_wine_try_cflags_saved=$CFLAGS
9042 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9044 /* end confdefs.h. */
9045 int main(int argc, char **argv) { return 0; }
9046 _ACEOF
9047 if ac_fn_c_try_link "$LINENO"; then :
9048 eval "$as_ac_var=yes"
9049 else
9050 eval "$as_ac_var=no"
9052 rm -f core conftest.err conftest.$ac_objext \
9053 conftest$ac_exeext conftest.$ac_ext
9054 CFLAGS=$ac_wine_try_cflags_saved
9056 eval ac_res=\$$as_ac_var
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9058 $as_echo "$ac_res" >&6; }
9059 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9060 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9061 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9065 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9066 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9067 $as_echo_n "(cached) " >&6
9068 else
9069 ac_wine_try_cflags_saved=$CFLAGS
9070 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9073 int main(int argc, char **argv) { return 0; }
9074 _ACEOF
9075 if ac_fn_c_try_link "$LINENO"; then :
9076 ac_cv_cflags__Wl___enable_new_dtags=yes
9077 else
9078 ac_cv_cflags__Wl___enable_new_dtags=no
9080 rm -f core conftest.err conftest.$ac_objext \
9081 conftest$ac_exeext conftest.$ac_ext
9082 CFLAGS=$ac_wine_try_cflags_saved
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9085 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9086 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9087 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9090 LIBWINE_SHAREDLIB="libwine.so"
9092 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9094 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9097 $as_echo_n "checking for -lEGL... " >&6; }
9098 if ${ac_cv_lib_soname_EGL+:} false; then :
9099 $as_echo_n "(cached) " >&6
9100 else
9101 ac_check_soname_save_LIBS=$LIBS
9102 LIBS="-lEGL $LIBS"
9103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9104 /* end confdefs.h. */
9106 /* Override any GCC internal prototype to avoid an error.
9107 Use char because int might match the return type of a GCC
9108 builtin and then its argument prototype would still apply. */
9109 #ifdef __cplusplus
9110 extern "C"
9111 #endif
9112 char eglGetProcAddress ();
9114 main ()
9116 return eglGetProcAddress ();
9118 return 0;
9120 _ACEOF
9121 if ac_fn_c_try_link "$LINENO"; then :
9122 case "$LIBEXT" in
9123 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9124 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'` ;;
9125 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9126 if ${ac_cv_lib_soname_EGL:+false} :; then :
9127 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9128 fi ;;
9129 esac
9131 rm -f core conftest.err conftest.$ac_objext \
9132 conftest$ac_exeext conftest.$ac_ext
9133 LIBS=$ac_check_soname_save_LIBS
9135 if ${ac_cv_lib_soname_EGL:+false} :; then :
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9137 $as_echo "not found" >&6; }
9139 else
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9141 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9143 cat >>confdefs.h <<_ACEOF
9144 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9145 _ACEOF
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9150 $as_echo_n "checking for -lGLESv2... " >&6; }
9151 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9152 $as_echo_n "(cached) " >&6
9153 else
9154 ac_check_soname_save_LIBS=$LIBS
9155 LIBS="-lGLESv2 $LIBS"
9156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9157 /* end confdefs.h. */
9159 /* Override any GCC internal prototype to avoid an error.
9160 Use char because int might match the return type of a GCC
9161 builtin and then its argument prototype would still apply. */
9162 #ifdef __cplusplus
9163 extern "C"
9164 #endif
9165 char glFlush ();
9167 main ()
9169 return glFlush ();
9171 return 0;
9173 _ACEOF
9174 if ac_fn_c_try_link "$LINENO"; then :
9175 case "$LIBEXT" in
9176 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9177 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'` ;;
9178 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9179 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9180 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9181 fi ;;
9182 esac
9184 rm -f core conftest.err conftest.$ac_objext \
9185 conftest$ac_exeext conftest.$ac_ext
9186 LIBS=$ac_check_soname_save_LIBS
9188 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9190 $as_echo "not found" >&6; }
9192 else
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9194 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9196 cat >>confdefs.h <<_ACEOF
9197 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9198 _ACEOF
9203 if test "x$exec_prefix" = xNONE
9204 then
9205 case $host_cpu in
9206 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9207 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9208 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9209 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9210 esac
9215 DLLFLAGS="$DLLFLAGS -fPIC"
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9217 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9218 if ${ac_cv_c_dll_gnuelf+:} false; then :
9219 $as_echo_n "(cached) " >&6
9220 else
9221 ac_wine_try_cflags_saved=$CFLAGS
9222 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9224 /* end confdefs.h. */
9225 void myfunc() {}
9226 _ACEOF
9227 if ac_fn_c_try_link "$LINENO"; then :
9228 ac_cv_c_dll_gnuelf="yes"
9229 else
9230 ac_cv_c_dll_gnuelf="no"
9232 rm -f core conftest.err conftest.$ac_objext \
9233 conftest$ac_exeext conftest.$ac_ext
9234 CFLAGS=$ac_wine_try_cflags_saved
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9237 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9238 if test "$ac_cv_c_dll_gnuelf" = "yes"
9239 then
9240 LIBWINE_LDFLAGS="-shared"
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9242 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9243 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9244 $as_echo_n "(cached) " >&6
9245 else
9246 ac_wine_try_cflags_saved=$CFLAGS
9247 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9249 /* end confdefs.h. */
9250 int main(int argc, char **argv) { return 0; }
9251 _ACEOF
9252 if ac_fn_c_try_link "$LINENO"; then :
9253 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9254 else
9255 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9257 rm -f core conftest.err conftest.$ac_objext \
9258 conftest$ac_exeext conftest.$ac_ext
9259 CFLAGS=$ac_wine_try_cflags_saved
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9262 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9263 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9264 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9265 else
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9267 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9268 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9269 $as_echo_n "(cached) " >&6
9270 else
9271 ac_wine_try_cflags_saved=$CFLAGS
9272 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9274 /* end confdefs.h. */
9275 int main(int argc, char **argv) { return 0; }
9276 _ACEOF
9277 if ac_fn_c_try_link "$LINENO"; then :
9278 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9279 else
9280 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9282 rm -f core conftest.err conftest.$ac_objext \
9283 conftest$ac_exeext conftest.$ac_ext
9284 CFLAGS=$ac_wine_try_cflags_saved
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9287 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9288 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9289 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9293 echo '{ global: *; };' >conftest.map
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9295 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9296 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9297 $as_echo_n "(cached) " >&6
9298 else
9299 ac_wine_try_cflags_saved=$CFLAGS
9300 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9302 /* end confdefs.h. */
9303 int main(int argc, char **argv) { return 0; }
9304 _ACEOF
9305 if ac_fn_c_try_link "$LINENO"; then :
9306 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9307 else
9308 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9310 rm -f core conftest.err conftest.$ac_objext \
9311 conftest$ac_exeext conftest.$ac_ext
9312 CFLAGS=$ac_wine_try_cflags_saved
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9315 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9316 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9317 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9319 rm -f conftest.map
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9322 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9323 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9324 $as_echo_n "(cached) " >&6
9325 else
9326 ac_wine_try_cflags_saved=$CFLAGS
9327 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9330 int main(int argc, char **argv) { return 0; }
9331 _ACEOF
9332 if ac_fn_c_try_link "$LINENO"; then :
9333 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9334 else
9335 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9337 rm -f core conftest.err conftest.$ac_objext \
9338 conftest$ac_exeext conftest.$ac_ext
9339 CFLAGS=$ac_wine_try_cflags_saved
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9342 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9343 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9344 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9346 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9348 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9350 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9351 if eval \${$as_ac_var+:} false; then :
9352 $as_echo_n "(cached) " >&6
9353 else
9354 ac_wine_try_cflags_saved=$CFLAGS
9355 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9357 /* end confdefs.h. */
9358 int main(int argc, char **argv) { return 0; }
9359 _ACEOF
9360 if ac_fn_c_try_link "$LINENO"; then :
9361 eval "$as_ac_var=yes"
9362 else
9363 eval "$as_ac_var=no"
9365 rm -f core conftest.err conftest.$ac_objext \
9366 conftest$ac_exeext conftest.$ac_ext
9367 CFLAGS=$ac_wine_try_cflags_saved
9369 eval ac_res=\$$as_ac_var
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9371 $as_echo "$ac_res" >&6; }
9372 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9373 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9374 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9375 else
9376 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9378 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9379 if eval \${$as_ac_var+:} false; then :
9380 $as_echo_n "(cached) " >&6
9381 else
9382 ac_wine_try_cflags_saved=$CFLAGS
9383 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9385 /* end confdefs.h. */
9386 int main(int argc, char **argv) { return 0; }
9387 _ACEOF
9388 if ac_fn_c_try_link "$LINENO"; then :
9389 eval "$as_ac_var=yes"
9390 else
9391 eval "$as_ac_var=no"
9393 rm -f core conftest.err conftest.$ac_objext \
9394 conftest$ac_exeext conftest.$ac_ext
9395 CFLAGS=$ac_wine_try_cflags_saved
9397 eval ac_res=\$$as_ac_var
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9399 $as_echo "$ac_res" >&6; }
9400 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9401 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9402 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9407 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9408 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9409 $as_echo_n "(cached) " >&6
9410 else
9411 ac_wine_try_cflags_saved=$CFLAGS
9412 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9414 /* end confdefs.h. */
9415 int main(int argc, char **argv) { return 0; }
9416 _ACEOF
9417 if ac_fn_c_try_link "$LINENO"; then :
9418 ac_cv_cflags__Wl___enable_new_dtags=yes
9419 else
9420 ac_cv_cflags__Wl___enable_new_dtags=no
9422 rm -f core conftest.err conftest.$ac_objext \
9423 conftest$ac_exeext conftest.$ac_ext
9424 CFLAGS=$ac_wine_try_cflags_saved
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9427 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9428 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9429 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9432 case $host_cpu in
9433 *i[3456789]86* | x86_64 | *aarch64*)
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9435 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9436 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9437 $as_echo_n "(cached) " >&6
9438 else
9439 ac_wine_try_cflags_saved=$CFLAGS
9440 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9443 int main(int argc, char **argv) { return 0; }
9444 _ACEOF
9445 if ac_fn_c_try_link "$LINENO"; then :
9446 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9447 else
9448 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9450 rm -f core conftest.err conftest.$ac_objext \
9451 conftest$ac_exeext conftest.$ac_ext
9452 CFLAGS=$ac_wine_try_cflags_saved
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9455 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9456 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9457 case $host_os in
9458 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9459 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9460 esac
9461 else
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9463 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9464 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9465 $as_echo_n "(cached) " >&6
9466 else
9467 ac_wine_try_cflags_saved=$CFLAGS
9468 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h. */
9471 int main(int argc, char **argv) { return 0; }
9472 _ACEOF
9473 if ac_fn_c_try_link "$LINENO"; then :
9474 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9475 else
9476 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9478 rm -f core conftest.err conftest.$ac_objext \
9479 conftest$ac_exeext conftest.$ac_ext
9480 CFLAGS=$ac_wine_try_cflags_saved
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9483 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9484 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9485 case $host_os in
9486 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9487 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9488 esac
9490 # Extract the first word of "prelink", so it can be a program name with args.
9491 set dummy prelink; ac_word=$2
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9493 $as_echo_n "checking for $ac_word... " >&6; }
9494 if ${ac_cv_path_PRELINK+:} false; then :
9495 $as_echo_n "(cached) " >&6
9496 else
9497 case $PRELINK in
9498 [\\/]* | ?:[\\/]*)
9499 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9503 for as_dir in /sbin /usr/sbin $PATH
9505 IFS=$as_save_IFS
9506 test -z "$as_dir" && as_dir=.
9507 for ac_exec_ext in '' $ac_executable_extensions; do
9508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9509 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9511 break 2
9513 done
9514 done
9515 IFS=$as_save_IFS
9517 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9519 esac
9521 PRELINK=$ac_cv_path_PRELINK
9522 if test -n "$PRELINK"; then
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9524 $as_echo "$PRELINK" >&6; }
9525 else
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9527 $as_echo "no" >&6; }
9531 if test "x$PRELINK" = xfalse
9532 then
9533 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9537 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9538 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9539 $as_echo_n "(cached) " >&6
9540 else
9541 ac_wine_try_cflags_saved=$CFLAGS
9542 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9544 /* end confdefs.h. */
9545 int main(int argc, char **argv) { return 0; }
9546 _ACEOF
9547 if ac_fn_c_try_link "$LINENO"; then :
9548 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9549 else
9550 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9552 rm -f core conftest.err conftest.$ac_objext \
9553 conftest$ac_exeext conftest.$ac_ext
9554 CFLAGS=$ac_wine_try_cflags_saved
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9557 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9558 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9559 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9562 esac
9564 else
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9566 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9567 if ${ac_cv_c_dll_unixware+:} false; then :
9568 $as_echo_n "(cached) " >&6
9569 else
9570 ac_wine_try_cflags_saved=$CFLAGS
9571 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9573 /* end confdefs.h. */
9574 void myfunc() {}
9575 _ACEOF
9576 if ac_fn_c_try_link "$LINENO"; then :
9577 ac_cv_c_dll_unixware="yes"
9578 else
9579 ac_cv_c_dll_unixware="no"
9581 rm -f core conftest.err conftest.$ac_objext \
9582 conftest$ac_exeext conftest.$ac_ext
9583 CFLAGS=$ac_wine_try_cflags_saved
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9586 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9587 if test "$ac_cv_c_dll_unixware" = "yes"
9588 then
9589 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9592 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9594 LIBWINE_DEPENDS="wine.map"
9596 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9597 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9599 esac
9601 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9602 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9603 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9604 enable_winemac_drv=${enable_winemac_drv:-no}
9605 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9607 CROSSTARGET=""
9609 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9610 then
9611 case "$host_cpu" in
9612 aarch64*)
9613 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9614 arm*)
9615 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9616 i[3456789]86*)
9617 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
9618 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9619 mingw32-gcc" ;;
9620 x86_64)
9621 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
9622 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9624 ac_prefix_list="" ;;
9625 esac
9626 for ac_prog in $ac_prefix_list
9628 # Extract the first word of "$ac_prog", so it can be a program name with args.
9629 set dummy $ac_prog; ac_word=$2
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9631 $as_echo_n "checking for $ac_word... " >&6; }
9632 if ${ac_cv_prog_CROSSCC+:} false; then :
9633 $as_echo_n "(cached) " >&6
9634 else
9635 if test -n "$CROSSCC"; then
9636 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9637 else
9638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9639 for as_dir in $PATH
9641 IFS=$as_save_IFS
9642 test -z "$as_dir" && as_dir=.
9643 for ac_exec_ext in '' $ac_executable_extensions; do
9644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9645 ac_cv_prog_CROSSCC="$ac_prog"
9646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9647 break 2
9649 done
9650 done
9651 IFS=$as_save_IFS
9655 CROSSCC=$ac_cv_prog_CROSSCC
9656 if test -n "$CROSSCC"; then
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9658 $as_echo "$CROSSCC" >&6; }
9659 else
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9661 $as_echo "no" >&6; }
9665 test -n "$CROSSCC" && break
9666 done
9667 test -n "$CROSSCC" || CROSSCC="false"
9669 if test "$CROSSCC" != "false"
9670 then
9671 ac_save_CC="$CC"
9672 CC="$CROSSCC"
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9674 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9676 /* end confdefs.h. */
9679 main ()
9683 return 0;
9685 _ACEOF
9686 if ac_fn_c_try_compile "$LINENO"; then :
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9688 $as_echo "yes" >&6; }
9689 set x $CROSSCC
9690 shift
9691 while test $# -ge 1
9693 case "$1" in
9694 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9695 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9696 esac
9697 shift
9698 done
9699 else
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9701 $as_echo "no" >&6; }
9703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9704 CC="$ac_save_CC"
9705 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9711 if test "$ac_cv_header_pthread_h" = "yes"
9712 then
9713 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9714 if test "x$ac_cv_func_pthread_create" = xyes; then :
9716 else
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9718 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9719 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9720 $as_echo_n "(cached) " >&6
9721 else
9722 ac_check_lib_save_LIBS=$LIBS
9723 LIBS="-lpthread $LIBS"
9724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9725 /* end confdefs.h. */
9727 /* Override any GCC internal prototype to avoid an error.
9728 Use char because int might match the return type of a GCC
9729 builtin and then its argument prototype would still apply. */
9730 #ifdef __cplusplus
9731 extern "C"
9732 #endif
9733 char pthread_create ();
9735 main ()
9737 return pthread_create ();
9739 return 0;
9741 _ACEOF
9742 if ac_fn_c_try_link "$LINENO"; then :
9743 ac_cv_lib_pthread_pthread_create=yes
9744 else
9745 ac_cv_lib_pthread_pthread_create=no
9747 rm -f core conftest.err conftest.$ac_objext \
9748 conftest$ac_exeext conftest.$ac_ext
9749 LIBS=$ac_check_lib_save_LIBS
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9752 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9753 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9754 PTHREAD_LIBS="-lpthread"
9761 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9762 case "x$with_pthread" in
9763 xno) ;;
9764 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9765 Wine cannot support threads without libpthread.
9766 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9767 esac
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9773 $as_echo_n "checking for X... " >&6; }
9776 # Check whether --with-x was given.
9777 if test "${with_x+set}" = set; then :
9778 withval=$with_x;
9781 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9782 if test "x$with_x" = xno; then
9783 # The user explicitly disabled X.
9784 have_x=disabled
9785 else
9786 case $x_includes,$x_libraries in #(
9787 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9788 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9789 $as_echo_n "(cached) " >&6
9790 else
9791 # One or both of the vars are not set, and there is no cached value.
9792 ac_x_includes=no ac_x_libraries=no
9793 rm -f -r conftest.dir
9794 if mkdir conftest.dir; then
9795 cd conftest.dir
9796 cat >Imakefile <<'_ACEOF'
9797 incroot:
9798 @echo incroot='${INCROOT}'
9799 usrlibdir:
9800 @echo usrlibdir='${USRLIBDIR}'
9801 libdir:
9802 @echo libdir='${LIBDIR}'
9803 _ACEOF
9804 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9805 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9806 for ac_var in incroot usrlibdir libdir; do
9807 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9808 done
9809 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9810 for ac_extension in a so sl dylib la dll; do
9811 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9812 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9813 ac_im_usrlibdir=$ac_im_libdir; break
9815 done
9816 # Screen out bogus values from the imake configuration. They are
9817 # bogus both because they are the default anyway, and because
9818 # using them would break gcc on systems where it needs fixed includes.
9819 case $ac_im_incroot in
9820 /usr/include) ac_x_includes= ;;
9821 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9822 esac
9823 case $ac_im_usrlibdir in
9824 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9825 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9826 esac
9828 cd ..
9829 rm -f -r conftest.dir
9832 # Standard set of common directories for X headers.
9833 # Check X11 before X11Rn because it is often a symlink to the current release.
9834 ac_x_header_dirs='
9835 /usr/X11/include
9836 /usr/X11R7/include
9837 /usr/X11R6/include
9838 /usr/X11R5/include
9839 /usr/X11R4/include
9841 /usr/include/X11
9842 /usr/include/X11R7
9843 /usr/include/X11R6
9844 /usr/include/X11R5
9845 /usr/include/X11R4
9847 /usr/local/X11/include
9848 /usr/local/X11R7/include
9849 /usr/local/X11R6/include
9850 /usr/local/X11R5/include
9851 /usr/local/X11R4/include
9853 /usr/local/include/X11
9854 /usr/local/include/X11R7
9855 /usr/local/include/X11R6
9856 /usr/local/include/X11R5
9857 /usr/local/include/X11R4
9859 /usr/X386/include
9860 /usr/x386/include
9861 /usr/XFree86/include/X11
9863 /usr/include
9864 /usr/local/include
9865 /usr/unsupported/include
9866 /usr/athena/include
9867 /usr/local/x11r5/include
9868 /usr/lpp/Xamples/include
9870 /usr/openwin/include
9871 /usr/openwin/share/include'
9873 if test "$ac_x_includes" = no; then
9874 # Guess where to find include files, by looking for Xlib.h.
9875 # First, try using that file with no special directory specified.
9876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9878 #include <X11/Xlib.h>
9879 _ACEOF
9880 if ac_fn_c_try_cpp "$LINENO"; then :
9881 # We can compile using X headers with no special include directory.
9882 ac_x_includes=
9883 else
9884 for ac_dir in $ac_x_header_dirs; do
9885 if test -r "$ac_dir/X11/Xlib.h"; then
9886 ac_x_includes=$ac_dir
9887 break
9889 done
9891 rm -f conftest.err conftest.i conftest.$ac_ext
9892 fi # $ac_x_includes = no
9894 if test "$ac_x_libraries" = no; then
9895 # Check for the libraries.
9896 # See if we find them without any special options.
9897 # Don't add to $LIBS permanently.
9898 ac_save_LIBS=$LIBS
9899 LIBS="-lX11 $LIBS"
9900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9901 /* end confdefs.h. */
9902 #include <X11/Xlib.h>
9904 main ()
9906 XrmInitialize ()
9908 return 0;
9910 _ACEOF
9911 if ac_fn_c_try_link "$LINENO"; then :
9912 LIBS=$ac_save_LIBS
9913 # We can link X programs with no special library path.
9914 ac_x_libraries=
9915 else
9916 LIBS=$ac_save_LIBS
9917 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9919 # Don't even attempt the hair of trying to link an X program!
9920 for ac_extension in a so sl dylib la dll; do
9921 if test -r "$ac_dir/libX11.$ac_extension"; then
9922 ac_x_libraries=$ac_dir
9923 break 2
9925 done
9926 done
9928 rm -f core conftest.err conftest.$ac_objext \
9929 conftest$ac_exeext conftest.$ac_ext
9930 fi # $ac_x_libraries = no
9932 case $ac_x_includes,$ac_x_libraries in #(
9933 no,* | *,no | *\'*)
9934 # Didn't find X, or a directory has "'" in its name.
9935 ac_cv_have_x="have_x=no";; #(
9937 # Record where we found X for the cache.
9938 ac_cv_have_x="have_x=yes\
9939 ac_x_includes='$ac_x_includes'\
9940 ac_x_libraries='$ac_x_libraries'"
9941 esac
9943 ;; #(
9944 *) have_x=yes;;
9945 esac
9946 eval "$ac_cv_have_x"
9947 fi # $with_x != no
9949 if test "$have_x" != yes; then
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9951 $as_echo "$have_x" >&6; }
9952 no_x=yes
9953 else
9954 # If each of the values was on the command line, it overrides each guess.
9955 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9956 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9957 # Update the cache value to reflect the command line values.
9958 ac_cv_have_x="have_x=yes\
9959 ac_x_includes='$x_includes'\
9960 ac_x_libraries='$x_libraries'"
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9962 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9965 if test "$no_x" = yes; then
9966 # Not all programs may use this symbol, but it does not hurt to define it.
9968 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9970 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9971 else
9972 if test -n "$x_includes"; then
9973 X_CFLAGS="$X_CFLAGS -I$x_includes"
9976 # It would also be nice to do this for all -L options, not just this one.
9977 if test -n "$x_libraries"; then
9978 X_LIBS="$X_LIBS -L$x_libraries"
9979 # For Solaris; some versions of Sun CC require a space after -R and
9980 # others require no space. Words are not sufficient . . . .
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9982 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9983 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9984 ac_xsave_c_werror_flag=$ac_c_werror_flag
9985 ac_c_werror_flag=yes
9986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9987 /* end confdefs.h. */
9990 main ()
9994 return 0;
9996 _ACEOF
9997 if ac_fn_c_try_link "$LINENO"; then :
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9999 $as_echo "no" >&6; }
10000 X_LIBS="$X_LIBS -R$x_libraries"
10001 else
10002 LIBS="$ac_xsave_LIBS -R $x_libraries"
10003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10004 /* end confdefs.h. */
10007 main ()
10011 return 0;
10013 _ACEOF
10014 if ac_fn_c_try_link "$LINENO"; then :
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10016 $as_echo "yes" >&6; }
10017 X_LIBS="$X_LIBS -R $x_libraries"
10018 else
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10020 $as_echo "neither works" >&6; }
10022 rm -f core conftest.err conftest.$ac_objext \
10023 conftest$ac_exeext conftest.$ac_ext
10025 rm -f core conftest.err conftest.$ac_objext \
10026 conftest$ac_exeext conftest.$ac_ext
10027 ac_c_werror_flag=$ac_xsave_c_werror_flag
10028 LIBS=$ac_xsave_LIBS
10031 # Check for system-dependent libraries X programs must link with.
10032 # Do this before checking for the system-independent R6 libraries
10033 # (-lICE), since we may need -lsocket or whatever for X linking.
10035 if test "$ISC" = yes; then
10036 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10037 else
10038 # Martyn Johnson says this is needed for Ultrix, if the X
10039 # libraries were built with DECnet support. And Karl Berry says
10040 # the Alpha needs dnet_stub (dnet does not exist).
10041 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10045 /* Override any GCC internal prototype to avoid an error.
10046 Use char because int might match the return type of a GCC
10047 builtin and then its argument prototype would still apply. */
10048 #ifdef __cplusplus
10049 extern "C"
10050 #endif
10051 char XOpenDisplay ();
10053 main ()
10055 return XOpenDisplay ();
10057 return 0;
10059 _ACEOF
10060 if ac_fn_c_try_link "$LINENO"; then :
10062 else
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10064 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10065 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10066 $as_echo_n "(cached) " >&6
10067 else
10068 ac_check_lib_save_LIBS=$LIBS
10069 LIBS="-ldnet $LIBS"
10070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10071 /* end confdefs.h. */
10073 /* Override any GCC internal prototype to avoid an error.
10074 Use char because int might match the return type of a GCC
10075 builtin and then its argument prototype would still apply. */
10076 #ifdef __cplusplus
10077 extern "C"
10078 #endif
10079 char dnet_ntoa ();
10081 main ()
10083 return dnet_ntoa ();
10085 return 0;
10087 _ACEOF
10088 if ac_fn_c_try_link "$LINENO"; then :
10089 ac_cv_lib_dnet_dnet_ntoa=yes
10090 else
10091 ac_cv_lib_dnet_dnet_ntoa=no
10093 rm -f core conftest.err conftest.$ac_objext \
10094 conftest$ac_exeext conftest.$ac_ext
10095 LIBS=$ac_check_lib_save_LIBS
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10098 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10099 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10100 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10103 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10105 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10106 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10107 $as_echo_n "(cached) " >&6
10108 else
10109 ac_check_lib_save_LIBS=$LIBS
10110 LIBS="-ldnet_stub $LIBS"
10111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10114 /* Override any GCC internal prototype to avoid an error.
10115 Use char because int might match the return type of a GCC
10116 builtin and then its argument prototype would still apply. */
10117 #ifdef __cplusplus
10118 extern "C"
10119 #endif
10120 char dnet_ntoa ();
10122 main ()
10124 return dnet_ntoa ();
10126 return 0;
10128 _ACEOF
10129 if ac_fn_c_try_link "$LINENO"; then :
10130 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10131 else
10132 ac_cv_lib_dnet_stub_dnet_ntoa=no
10134 rm -f core conftest.err conftest.$ac_objext \
10135 conftest$ac_exeext conftest.$ac_ext
10136 LIBS=$ac_check_lib_save_LIBS
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10139 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10140 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10141 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10146 rm -f core conftest.err conftest.$ac_objext \
10147 conftest$ac_exeext conftest.$ac_ext
10148 LIBS="$ac_xsave_LIBS"
10150 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10151 # to get the SysV transport functions.
10152 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10153 # needs -lnsl.
10154 # The nsl library prevents programs from opening the X display
10155 # on Irix 5.2, according to T.E. Dickey.
10156 # The functions gethostbyname, getservbyname, and inet_addr are
10157 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10158 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10159 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10163 if test $ac_cv_func_gethostbyname = no; then
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10165 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10166 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10167 $as_echo_n "(cached) " >&6
10168 else
10169 ac_check_lib_save_LIBS=$LIBS
10170 LIBS="-lnsl $LIBS"
10171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10172 /* end confdefs.h. */
10174 /* Override any GCC internal prototype to avoid an error.
10175 Use char because int might match the return type of a GCC
10176 builtin and then its argument prototype would still apply. */
10177 #ifdef __cplusplus
10178 extern "C"
10179 #endif
10180 char gethostbyname ();
10182 main ()
10184 return gethostbyname ();
10186 return 0;
10188 _ACEOF
10189 if ac_fn_c_try_link "$LINENO"; then :
10190 ac_cv_lib_nsl_gethostbyname=yes
10191 else
10192 ac_cv_lib_nsl_gethostbyname=no
10194 rm -f core conftest.err conftest.$ac_objext \
10195 conftest$ac_exeext conftest.$ac_ext
10196 LIBS=$ac_check_lib_save_LIBS
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10199 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10200 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10201 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10204 if test $ac_cv_lib_nsl_gethostbyname = no; then
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10206 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10207 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10208 $as_echo_n "(cached) " >&6
10209 else
10210 ac_check_lib_save_LIBS=$LIBS
10211 LIBS="-lbsd $LIBS"
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10215 /* Override any GCC internal prototype to avoid an error.
10216 Use char because int might match the return type of a GCC
10217 builtin and then its argument prototype would still apply. */
10218 #ifdef __cplusplus
10219 extern "C"
10220 #endif
10221 char gethostbyname ();
10223 main ()
10225 return gethostbyname ();
10227 return 0;
10229 _ACEOF
10230 if ac_fn_c_try_link "$LINENO"; then :
10231 ac_cv_lib_bsd_gethostbyname=yes
10232 else
10233 ac_cv_lib_bsd_gethostbyname=no
10235 rm -f core conftest.err conftest.$ac_objext \
10236 conftest$ac_exeext conftest.$ac_ext
10237 LIBS=$ac_check_lib_save_LIBS
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10240 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10241 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10242 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10248 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10249 # socket/setsockopt and other routines are undefined under SCO ODT
10250 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10251 # on later versions), says Simon Leinen: it contains gethostby*
10252 # variants that don't use the name server (or something). -lsocket
10253 # must be given before -lnsl if both are needed. We assume that
10254 # if connect needs -lnsl, so does gethostbyname.
10255 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10256 if test "x$ac_cv_func_connect" = xyes; then :
10260 if test $ac_cv_func_connect = no; then
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10262 $as_echo_n "checking for connect in -lsocket... " >&6; }
10263 if ${ac_cv_lib_socket_connect+:} false; then :
10264 $as_echo_n "(cached) " >&6
10265 else
10266 ac_check_lib_save_LIBS=$LIBS
10267 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10269 /* end confdefs.h. */
10271 /* Override any GCC internal prototype to avoid an error.
10272 Use char because int might match the return type of a GCC
10273 builtin and then its argument prototype would still apply. */
10274 #ifdef __cplusplus
10275 extern "C"
10276 #endif
10277 char connect ();
10279 main ()
10281 return connect ();
10283 return 0;
10285 _ACEOF
10286 if ac_fn_c_try_link "$LINENO"; then :
10287 ac_cv_lib_socket_connect=yes
10288 else
10289 ac_cv_lib_socket_connect=no
10291 rm -f core conftest.err conftest.$ac_objext \
10292 conftest$ac_exeext conftest.$ac_ext
10293 LIBS=$ac_check_lib_save_LIBS
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10296 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10297 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10298 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10303 # Guillermo Gomez says -lposix is necessary on A/UX.
10304 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10305 if test "x$ac_cv_func_remove" = xyes; then :
10309 if test $ac_cv_func_remove = no; then
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10311 $as_echo_n "checking for remove in -lposix... " >&6; }
10312 if ${ac_cv_lib_posix_remove+:} false; then :
10313 $as_echo_n "(cached) " >&6
10314 else
10315 ac_check_lib_save_LIBS=$LIBS
10316 LIBS="-lposix $LIBS"
10317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10318 /* end confdefs.h. */
10320 /* Override any GCC internal prototype to avoid an error.
10321 Use char because int might match the return type of a GCC
10322 builtin and then its argument prototype would still apply. */
10323 #ifdef __cplusplus
10324 extern "C"
10325 #endif
10326 char remove ();
10328 main ()
10330 return remove ();
10332 return 0;
10334 _ACEOF
10335 if ac_fn_c_try_link "$LINENO"; then :
10336 ac_cv_lib_posix_remove=yes
10337 else
10338 ac_cv_lib_posix_remove=no
10340 rm -f core conftest.err conftest.$ac_objext \
10341 conftest$ac_exeext conftest.$ac_ext
10342 LIBS=$ac_check_lib_save_LIBS
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10345 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10346 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10347 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10352 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10353 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10354 if test "x$ac_cv_func_shmat" = xyes; then :
10358 if test $ac_cv_func_shmat = no; then
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10360 $as_echo_n "checking for shmat in -lipc... " >&6; }
10361 if ${ac_cv_lib_ipc_shmat+:} false; then :
10362 $as_echo_n "(cached) " >&6
10363 else
10364 ac_check_lib_save_LIBS=$LIBS
10365 LIBS="-lipc $LIBS"
10366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10367 /* end confdefs.h. */
10369 /* Override any GCC internal prototype to avoid an error.
10370 Use char because int might match the return type of a GCC
10371 builtin and then its argument prototype would still apply. */
10372 #ifdef __cplusplus
10373 extern "C"
10374 #endif
10375 char shmat ();
10377 main ()
10379 return shmat ();
10381 return 0;
10383 _ACEOF
10384 if ac_fn_c_try_link "$LINENO"; then :
10385 ac_cv_lib_ipc_shmat=yes
10386 else
10387 ac_cv_lib_ipc_shmat=no
10389 rm -f core conftest.err conftest.$ac_objext \
10390 conftest$ac_exeext conftest.$ac_ext
10391 LIBS=$ac_check_lib_save_LIBS
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10394 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10395 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10396 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10402 # Check for libraries that X11R6 Xt/Xaw programs need.
10403 ac_save_LDFLAGS=$LDFLAGS
10404 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10405 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10406 # check for ICE first), but we must link in the order -lSM -lICE or
10407 # we get undefined symbols. So assume we have SM if we have ICE.
10408 # These have to be linked with before -lX11, unlike the other
10409 # libraries we check for below, so use a different variable.
10410 # John Interrante, Karl Berry
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10412 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10413 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10414 $as_echo_n "(cached) " >&6
10415 else
10416 ac_check_lib_save_LIBS=$LIBS
10417 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10419 /* end confdefs.h. */
10421 /* Override any GCC internal prototype to avoid an error.
10422 Use char because int might match the return type of a GCC
10423 builtin and then its argument prototype would still apply. */
10424 #ifdef __cplusplus
10425 extern "C"
10426 #endif
10427 char IceConnectionNumber ();
10429 main ()
10431 return IceConnectionNumber ();
10433 return 0;
10435 _ACEOF
10436 if ac_fn_c_try_link "$LINENO"; then :
10437 ac_cv_lib_ICE_IceConnectionNumber=yes
10438 else
10439 ac_cv_lib_ICE_IceConnectionNumber=no
10441 rm -f core conftest.err conftest.$ac_objext \
10442 conftest$ac_exeext conftest.$ac_ext
10443 LIBS=$ac_check_lib_save_LIBS
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10446 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10447 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10448 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10451 LDFLAGS=$ac_save_LDFLAGS
10456 if test "$have_x" = "yes"
10457 then
10458 ac_save_CPPFLAGS="$CPPFLAGS"
10459 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10462 $as_echo_n "checking for -lX11... " >&6; }
10463 if ${ac_cv_lib_soname_X11+:} false; then :
10464 $as_echo_n "(cached) " >&6
10465 else
10466 ac_check_soname_save_LIBS=$LIBS
10467 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10469 /* end confdefs.h. */
10471 /* Override any GCC internal prototype to avoid an error.
10472 Use char because int might match the return type of a GCC
10473 builtin and then its argument prototype would still apply. */
10474 #ifdef __cplusplus
10475 extern "C"
10476 #endif
10477 char XCreateWindow ();
10479 main ()
10481 return XCreateWindow ();
10483 return 0;
10485 _ACEOF
10486 if ac_fn_c_try_link "$LINENO"; then :
10487 case "$LIBEXT" in
10488 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10489 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'` ;;
10490 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10491 if ${ac_cv_lib_soname_X11:+false} :; then :
10492 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10493 fi ;;
10494 esac
10496 rm -f core conftest.err conftest.$ac_objext \
10497 conftest$ac_exeext conftest.$ac_ext
10498 LIBS=$ac_check_soname_save_LIBS
10500 if ${ac_cv_lib_soname_X11:+false} :; then :
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10502 $as_echo "not found" >&6; }
10504 else
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10506 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10508 cat >>confdefs.h <<_ACEOF
10509 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10510 _ACEOF
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10515 $as_echo_n "checking for -lXext... " >&6; }
10516 if ${ac_cv_lib_soname_Xext+:} false; then :
10517 $as_echo_n "(cached) " >&6
10518 else
10519 ac_check_soname_save_LIBS=$LIBS
10520 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10522 /* end confdefs.h. */
10524 /* Override any GCC internal prototype to avoid an error.
10525 Use char because int might match the return type of a GCC
10526 builtin and then its argument prototype would still apply. */
10527 #ifdef __cplusplus
10528 extern "C"
10529 #endif
10530 char XextCreateExtension ();
10532 main ()
10534 return XextCreateExtension ();
10536 return 0;
10538 _ACEOF
10539 if ac_fn_c_try_link "$LINENO"; then :
10540 case "$LIBEXT" in
10541 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10542 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'` ;;
10543 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10544 if ${ac_cv_lib_soname_Xext:+false} :; then :
10545 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10546 fi ;;
10547 esac
10549 rm -f core conftest.err conftest.$ac_objext \
10550 conftest$ac_exeext conftest.$ac_ext
10551 LIBS=$ac_check_soname_save_LIBS
10553 if ${ac_cv_lib_soname_Xext:+false} :; then :
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10555 $as_echo "not found" >&6; }
10557 else
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10559 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10561 cat >>confdefs.h <<_ACEOF
10562 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10563 _ACEOF
10565 X_LIBS="$X_LIBS -lXext"
10567 X_LIBS="$X_LIBS -lX11"
10569 for ac_header in X11/Xlib.h \
10570 X11/XKBlib.h \
10571 X11/Xutil.h \
10572 X11/Xcursor/Xcursor.h \
10573 X11/extensions/shape.h \
10574 X11/extensions/XInput.h \
10575 X11/extensions/XInput2.h \
10576 X11/extensions/XShm.h \
10577 X11/extensions/Xcomposite.h \
10578 X11/extensions/Xfixes.h \
10579 X11/extensions/Xinerama.h \
10580 X11/extensions/Xrandr.h \
10581 X11/extensions/Xrender.h \
10582 X11/extensions/xf86vmode.h \
10583 X11/extensions/xf86vmproto.h
10584 do :
10585 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10586 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10587 # include <X11/Xlib.h>
10588 #endif
10589 #ifdef HAVE_X11_XUTIL_H
10590 # include <X11/Xutil.h>
10591 #endif
10593 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10594 cat >>confdefs.h <<_ACEOF
10595 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10596 _ACEOF
10600 done
10603 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10604 then
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10606 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10607 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10608 $as_echo_n "(cached) " >&6
10609 else
10610 ac_check_lib_save_LIBS=$LIBS
10611 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10613 /* end confdefs.h. */
10615 /* Override any GCC internal prototype to avoid an error.
10616 Use char because int might match the return type of a GCC
10617 builtin and then its argument prototype would still apply. */
10618 #ifdef __cplusplus
10619 extern "C"
10620 #endif
10621 char XkbQueryExtension ();
10623 main ()
10625 return XkbQueryExtension ();
10627 return 0;
10629 _ACEOF
10630 if ac_fn_c_try_link "$LINENO"; then :
10631 ac_cv_lib_X11_XkbQueryExtension=yes
10632 else
10633 ac_cv_lib_X11_XkbQueryExtension=no
10635 rm -f core conftest.err conftest.$ac_objext \
10636 conftest$ac_exeext conftest.$ac_ext
10637 LIBS=$ac_check_lib_save_LIBS
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10640 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10641 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10643 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10649 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10650 then
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10652 $as_echo_n "checking for -lXcursor... " >&6; }
10653 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10654 $as_echo_n "(cached) " >&6
10655 else
10656 ac_check_soname_save_LIBS=$LIBS
10657 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10659 /* end confdefs.h. */
10661 /* Override any GCC internal prototype to avoid an error.
10662 Use char because int might match the return type of a GCC
10663 builtin and then its argument prototype would still apply. */
10664 #ifdef __cplusplus
10665 extern "C"
10666 #endif
10667 char XcursorImageLoadCursor ();
10669 main ()
10671 return XcursorImageLoadCursor ();
10673 return 0;
10675 _ACEOF
10676 if ac_fn_c_try_link "$LINENO"; then :
10677 case "$LIBEXT" in
10678 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10679 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'` ;;
10680 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10681 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10682 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10683 fi ;;
10684 esac
10686 rm -f core conftest.err conftest.$ac_objext \
10687 conftest$ac_exeext conftest.$ac_ext
10688 LIBS=$ac_check_soname_save_LIBS
10690 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10692 $as_echo "not found" >&6; }
10694 else
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10696 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10698 cat >>confdefs.h <<_ACEOF
10699 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10700 _ACEOF
10705 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10706 case "x$with_xcursor" in
10707 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10708 xno) ;;
10709 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10710 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10711 esac
10715 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10716 then
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10718 $as_echo_n "checking for -lXi... " >&6; }
10719 if ${ac_cv_lib_soname_Xi+:} false; then :
10720 $as_echo_n "(cached) " >&6
10721 else
10722 ac_check_soname_save_LIBS=$LIBS
10723 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10725 /* end confdefs.h. */
10727 /* Override any GCC internal prototype to avoid an error.
10728 Use char because int might match the return type of a GCC
10729 builtin and then its argument prototype would still apply. */
10730 #ifdef __cplusplus
10731 extern "C"
10732 #endif
10733 char XOpenDevice ();
10735 main ()
10737 return XOpenDevice ();
10739 return 0;
10741 _ACEOF
10742 if ac_fn_c_try_link "$LINENO"; then :
10743 case "$LIBEXT" in
10744 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10745 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'` ;;
10746 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10747 if ${ac_cv_lib_soname_Xi:+false} :; then :
10748 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10749 fi ;;
10750 esac
10752 rm -f core conftest.err conftest.$ac_objext \
10753 conftest$ac_exeext conftest.$ac_ext
10754 LIBS=$ac_check_soname_save_LIBS
10756 if ${ac_cv_lib_soname_Xi:+false} :; then :
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10758 $as_echo "not found" >&6; }
10760 else
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10762 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10764 cat >>confdefs.h <<_ACEOF
10765 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10766 _ACEOF
10771 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10772 case "x$with_xinput" in
10773 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10774 xno) ;;
10775 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10776 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10777 esac
10781 if test "x$ac_cv_lib_soname_Xi" != x
10782 then
10783 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10784 case "x$with_xinput2" in
10785 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10786 xno) ;;
10787 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10788 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10789 esac
10794 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10795 then
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10797 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10798 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10799 $as_echo_n "(cached) " >&6
10800 else
10801 ac_check_lib_save_LIBS=$LIBS
10802 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */
10806 /* Override any GCC internal prototype to avoid an error.
10807 Use char because int might match the return type of a GCC
10808 builtin and then its argument prototype would still apply. */
10809 #ifdef __cplusplus
10810 extern "C"
10811 #endif
10812 char XShmQueryExtension ();
10814 main ()
10816 return XShmQueryExtension ();
10818 return 0;
10820 _ACEOF
10821 if ac_fn_c_try_link "$LINENO"; then :
10822 ac_cv_lib_Xext_XShmQueryExtension=yes
10823 else
10824 ac_cv_lib_Xext_XShmQueryExtension=no
10826 rm -f core conftest.err conftest.$ac_objext \
10827 conftest$ac_exeext conftest.$ac_ext
10828 LIBS=$ac_check_lib_save_LIBS
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10831 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10832 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10834 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10839 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10840 case "x$with_xshm" in
10841 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10842 xno) ;;
10843 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10844 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10845 esac
10849 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10850 then
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10852 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10853 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10854 $as_echo_n "(cached) " >&6
10855 else
10856 ac_check_lib_save_LIBS=$LIBS
10857 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10859 /* end confdefs.h. */
10861 /* Override any GCC internal prototype to avoid an error.
10862 Use char because int might match the return type of a GCC
10863 builtin and then its argument prototype would still apply. */
10864 #ifdef __cplusplus
10865 extern "C"
10866 #endif
10867 char XShapeQueryExtension ();
10869 main ()
10871 return XShapeQueryExtension ();
10873 return 0;
10875 _ACEOF
10876 if ac_fn_c_try_link "$LINENO"; then :
10877 ac_cv_lib_Xext_XShapeQueryExtension=yes
10878 else
10879 ac_cv_lib_Xext_XShapeQueryExtension=no
10881 rm -f core conftest.err conftest.$ac_objext \
10882 conftest$ac_exeext conftest.$ac_ext
10883 LIBS=$ac_check_lib_save_LIBS
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10886 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10887 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10889 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10894 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10895 case "x$with_xshape" in
10896 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10897 xno) ;;
10898 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10899 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10900 esac
10904 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10905 then
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10907 $as_echo_n "checking for -lXxf86vm... " >&6; }
10908 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10909 $as_echo_n "(cached) " >&6
10910 else
10911 ac_check_soname_save_LIBS=$LIBS
10912 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10914 /* end confdefs.h. */
10916 /* Override any GCC internal prototype to avoid an error.
10917 Use char because int might match the return type of a GCC
10918 builtin and then its argument prototype would still apply. */
10919 #ifdef __cplusplus
10920 extern "C"
10921 #endif
10922 char XF86VidModeQueryExtension ();
10924 main ()
10926 return XF86VidModeQueryExtension ();
10928 return 0;
10930 _ACEOF
10931 if ac_fn_c_try_link "$LINENO"; then :
10932 case "$LIBEXT" in
10933 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10934 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'` ;;
10935 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10936 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10937 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10938 fi ;;
10939 esac
10941 rm -f core conftest.err conftest.$ac_objext \
10942 conftest$ac_exeext conftest.$ac_ext
10943 LIBS=$ac_check_soname_save_LIBS
10945 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10947 $as_echo "not found" >&6; }
10949 else
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10951 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10953 cat >>confdefs.h <<_ACEOF
10954 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10955 _ACEOF
10960 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10961 case "x$with_xxf86vm" in
10962 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10963 xno) ;;
10964 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10965 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10966 esac
10970 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10971 then
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10973 $as_echo_n "checking for -lXrender... " >&6; }
10974 if ${ac_cv_lib_soname_Xrender+:} false; then :
10975 $as_echo_n "(cached) " >&6
10976 else
10977 ac_check_soname_save_LIBS=$LIBS
10978 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10982 /* Override any GCC internal prototype to avoid an error.
10983 Use char because int might match the return type of a GCC
10984 builtin and then its argument prototype would still apply. */
10985 #ifdef __cplusplus
10986 extern "C"
10987 #endif
10988 char XRenderQueryExtension ();
10990 main ()
10992 return XRenderQueryExtension ();
10994 return 0;
10996 _ACEOF
10997 if ac_fn_c_try_link "$LINENO"; then :
10998 case "$LIBEXT" in
10999 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11000 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'` ;;
11001 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11002 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11003 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11004 fi ;;
11005 esac
11007 rm -f core conftest.err conftest.$ac_objext \
11008 conftest$ac_exeext conftest.$ac_ext
11009 LIBS=$ac_check_soname_save_LIBS
11011 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11013 $as_echo "not found" >&6; }
11015 else
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11017 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11019 cat >>confdefs.h <<_ACEOF
11020 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11021 _ACEOF
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11024 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11025 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11026 $as_echo_n "(cached) " >&6
11027 else
11028 ac_check_lib_save_LIBS=$LIBS
11029 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11033 /* Override any GCC internal prototype to avoid an error.
11034 Use char because int might match the return type of a GCC
11035 builtin and then its argument prototype would still apply. */
11036 #ifdef __cplusplus
11037 extern "C"
11038 #endif
11039 char XRenderSetPictureTransform ();
11041 main ()
11043 return XRenderSetPictureTransform ();
11045 return 0;
11047 _ACEOF
11048 if ac_fn_c_try_link "$LINENO"; then :
11049 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11050 else
11051 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11053 rm -f core conftest.err conftest.$ac_objext \
11054 conftest$ac_exeext conftest.$ac_ext
11055 LIBS=$ac_check_lib_save_LIBS
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11058 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11059 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11061 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11066 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11067 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11068 $as_echo_n "(cached) " >&6
11069 else
11070 ac_check_lib_save_LIBS=$LIBS
11071 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h. */
11075 /* Override any GCC internal prototype to avoid an error.
11076 Use char because int might match the return type of a GCC
11077 builtin and then its argument prototype would still apply. */
11078 #ifdef __cplusplus
11079 extern "C"
11080 #endif
11081 char XRenderCreateLinearGradient ();
11083 main ()
11085 return XRenderCreateLinearGradient ();
11087 return 0;
11089 _ACEOF
11090 if ac_fn_c_try_link "$LINENO"; then :
11091 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11092 else
11093 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11095 rm -f core conftest.err conftest.$ac_objext \
11096 conftest$ac_exeext conftest.$ac_ext
11097 LIBS=$ac_check_lib_save_LIBS
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11100 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11101 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11103 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11110 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11111 case "x$with_xrender" in
11112 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11113 xno) ;;
11114 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11115 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11116 esac
11120 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11121 then
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11124 #include <X11/Xlib.h>
11125 #include <X11/extensions/Xrandr.h>
11127 main ()
11129 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11131 return 0;
11133 _ACEOF
11134 if ac_fn_c_try_compile "$LINENO"; then :
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11136 $as_echo_n "checking for -lXrandr... " >&6; }
11137 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11138 $as_echo_n "(cached) " >&6
11139 else
11140 ac_check_soname_save_LIBS=$LIBS
11141 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11143 /* end confdefs.h. */
11145 /* Override any GCC internal prototype to avoid an error.
11146 Use char because int might match the return type of a GCC
11147 builtin and then its argument prototype would still apply. */
11148 #ifdef __cplusplus
11149 extern "C"
11150 #endif
11151 char XRRQueryExtension ();
11153 main ()
11155 return XRRQueryExtension ();
11157 return 0;
11159 _ACEOF
11160 if ac_fn_c_try_link "$LINENO"; then :
11161 case "$LIBEXT" in
11162 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11163 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'` ;;
11164 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11165 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11166 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11167 fi ;;
11168 esac
11170 rm -f core conftest.err conftest.$ac_objext \
11171 conftest$ac_exeext conftest.$ac_ext
11172 LIBS=$ac_check_soname_save_LIBS
11174 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11176 $as_echo "not found" >&6; }
11178 else
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11180 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11182 cat >>confdefs.h <<_ACEOF
11183 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11184 _ACEOF
11186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11187 /* end confdefs.h. */
11188 #include <X11/Xlib.h>
11189 #include <X11/extensions/Xrandr.h>
11191 main ()
11193 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11195 return 0;
11197 _ACEOF
11198 if ac_fn_c_try_compile "$LINENO"; then :
11200 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11208 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11209 case "x$with_xrandr" in
11210 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11211 xno) ;;
11212 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11213 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11214 esac
11218 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11219 then
11220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11221 /* end confdefs.h. */
11222 #include <X11/Xlib.h>
11223 #include <X11/extensions/Xfixes.h>
11225 main ()
11227 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11229 return 0;
11231 _ACEOF
11232 if ac_fn_c_try_compile "$LINENO"; then :
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11234 $as_echo_n "checking for -lXfixes... " >&6; }
11235 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11236 $as_echo_n "(cached) " >&6
11237 else
11238 ac_check_soname_save_LIBS=$LIBS
11239 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11246 #ifdef __cplusplus
11247 extern "C"
11248 #endif
11249 char XFixesQueryVersion ();
11251 main ()
11253 return XFixesQueryVersion ();
11255 return 0;
11257 _ACEOF
11258 if ac_fn_c_try_link "$LINENO"; then :
11259 case "$LIBEXT" in
11260 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11261 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'` ;;
11262 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11263 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11264 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11265 fi ;;
11266 esac
11268 rm -f core conftest.err conftest.$ac_objext \
11269 conftest$ac_exeext conftest.$ac_ext
11270 LIBS=$ac_check_soname_save_LIBS
11272 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11274 $as_echo "not found" >&6; }
11276 else
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11278 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11280 cat >>confdefs.h <<_ACEOF
11281 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11282 _ACEOF
11287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11289 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11290 case "x$with_xfixes" in
11291 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11292 xno) ;;
11293 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11294 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11295 esac
11299 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11300 then
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11303 #include <X11/Xlib.h>
11304 #include <X11/extensions/Xinerama.h>
11306 main ()
11308 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11310 return 0;
11312 _ACEOF
11313 if ac_fn_c_try_compile "$LINENO"; then :
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11315 $as_echo_n "checking for -lXinerama... " >&6; }
11316 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11317 $as_echo_n "(cached) " >&6
11318 else
11319 ac_check_soname_save_LIBS=$LIBS
11320 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11322 /* end confdefs.h. */
11324 /* Override any GCC internal prototype to avoid an error.
11325 Use char because int might match the return type of a GCC
11326 builtin and then its argument prototype would still apply. */
11327 #ifdef __cplusplus
11328 extern "C"
11329 #endif
11330 char XineramaQueryScreens ();
11332 main ()
11334 return XineramaQueryScreens ();
11336 return 0;
11338 _ACEOF
11339 if ac_fn_c_try_link "$LINENO"; then :
11340 case "$LIBEXT" in
11341 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11342 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'` ;;
11343 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11344 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11345 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11346 fi ;;
11347 esac
11349 rm -f core conftest.err conftest.$ac_objext \
11350 conftest$ac_exeext conftest.$ac_ext
11351 LIBS=$ac_check_soname_save_LIBS
11353 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11355 $as_echo "not found" >&6; }
11357 else
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11359 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11361 cat >>confdefs.h <<_ACEOF
11362 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11363 _ACEOF
11368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11370 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11371 case "x$with_xinerama" in
11372 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11373 xno) ;;
11374 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11375 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11376 esac
11380 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11381 then
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11383 $as_echo_n "checking for -lXcomposite... " >&6; }
11384 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11385 $as_echo_n "(cached) " >&6
11386 else
11387 ac_check_soname_save_LIBS=$LIBS
11388 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11392 /* Override any GCC internal prototype to avoid an error.
11393 Use char because int might match the return type of a GCC
11394 builtin and then its argument prototype would still apply. */
11395 #ifdef __cplusplus
11396 extern "C"
11397 #endif
11398 char XCompositeRedirectWindow ();
11400 main ()
11402 return XCompositeRedirectWindow ();
11404 return 0;
11406 _ACEOF
11407 if ac_fn_c_try_link "$LINENO"; then :
11408 case "$LIBEXT" in
11409 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11410 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'` ;;
11411 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11412 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11413 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11414 fi ;;
11415 esac
11417 rm -f core conftest.err conftest.$ac_objext \
11418 conftest$ac_exeext conftest.$ac_ext
11419 LIBS=$ac_check_soname_save_LIBS
11421 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11423 $as_echo "not found" >&6; }
11425 else
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11427 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11429 cat >>confdefs.h <<_ACEOF
11430 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11431 _ACEOF
11436 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11437 case "x$with_xcomposite" in
11438 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11439 xno) ;;
11440 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11441 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11442 esac
11446 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11447 #include <X11/Xlib.h>
11448 #endif
11450 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11452 cat >>confdefs.h <<_ACEOF
11453 #define HAVE_XICCALLBACK_CALLBACK 1
11454 _ACEOF
11458 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11459 #include <X11/Xlib.h>
11460 #endif
11462 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11464 cat >>confdefs.h <<_ACEOF
11465 #define HAVE_XEVENT_XCOOKIE 1
11466 _ACEOF
11473 opengl_msg=""
11474 if test "x$with_opengl" != "xno"
11475 then
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11477 $as_echo_n "checking for -lGL... " >&6; }
11478 if ${ac_cv_lib_soname_GL+:} false; then :
11479 $as_echo_n "(cached) " >&6
11480 else
11481 ac_check_soname_save_LIBS=$LIBS
11482 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11489 #ifdef __cplusplus
11490 extern "C"
11491 #endif
11492 char glXCreateContext ();
11494 main ()
11496 return glXCreateContext ();
11498 return 0;
11500 _ACEOF
11501 if ac_fn_c_try_link "$LINENO"; then :
11502 case "$LIBEXT" in
11503 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11504 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'` ;;
11505 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11506 if ${ac_cv_lib_soname_GL:+false} :; then :
11507 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11508 fi ;;
11509 esac
11511 rm -f core conftest.err conftest.$ac_objext \
11512 conftest$ac_exeext conftest.$ac_ext
11513 LIBS=$ac_check_soname_save_LIBS
11515 if ${ac_cv_lib_soname_GL:+false} :; then :
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11517 $as_echo "not found" >&6; }
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11519 $as_echo_n "checking for -lGL... " >&6; }
11520 if ${ac_cv_lib_soname_GL+:} false; then :
11521 $as_echo_n "(cached) " >&6
11522 else
11523 ac_check_soname_save_LIBS=$LIBS
11524 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"
11525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11526 /* end confdefs.h. */
11528 /* Override any GCC internal prototype to avoid an error.
11529 Use char because int might match the return type of a GCC
11530 builtin and then its argument prototype would still apply. */
11531 #ifdef __cplusplus
11532 extern "C"
11533 #endif
11534 char glXCreateContext ();
11536 main ()
11538 return glXCreateContext ();
11540 return 0;
11542 _ACEOF
11543 if ac_fn_c_try_link "$LINENO"; then :
11544 case "$LIBEXT" in
11545 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11546 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'` ;;
11547 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11548 if ${ac_cv_lib_soname_GL:+false} :; then :
11549 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11550 fi ;;
11551 esac
11553 rm -f core conftest.err conftest.$ac_objext \
11554 conftest$ac_exeext conftest.$ac_ext
11555 LIBS=$ac_check_soname_save_LIBS
11557 if ${ac_cv_lib_soname_GL:+false} :; then :
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11559 $as_echo "not found" >&6; }
11560 if test -f /usr/X11R6/lib/libGL.a
11561 then
11562 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11563 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11564 else
11565 opengl_msg="No OpenGL library found on this system."
11567 else
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11569 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11571 cat >>confdefs.h <<_ACEOF
11572 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11573 _ACEOF
11575 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"
11577 else
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11579 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11581 cat >>confdefs.h <<_ACEOF
11582 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11583 _ACEOF
11585 OPENGL_LIBS="-lGL"
11587 if test "x$with_glu" != "xno"
11588 then
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11590 $as_echo_n "checking for -lGLU... " >&6; }
11591 if ${ac_cv_lib_soname_GLU+:} false; then :
11592 $as_echo_n "(cached) " >&6
11593 else
11594 ac_check_soname_save_LIBS=$LIBS
11595 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11597 /* end confdefs.h. */
11599 /* Override any GCC internal prototype to avoid an error.
11600 Use char because int might match the return type of a GCC
11601 builtin and then its argument prototype would still apply. */
11602 #ifdef __cplusplus
11603 extern "C"
11604 #endif
11605 char gluLookAt ();
11607 main ()
11609 return gluLookAt ();
11611 return 0;
11613 _ACEOF
11614 if ac_fn_c_try_link "$LINENO"; then :
11615 case "$LIBEXT" in
11616 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11617 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'` ;;
11618 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11619 if ${ac_cv_lib_soname_GLU:+false} :; then :
11620 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11621 fi ;;
11622 esac
11624 rm -f core conftest.err conftest.$ac_objext \
11625 conftest$ac_exeext conftest.$ac_ext
11626 LIBS=$ac_check_soname_save_LIBS
11628 if ${ac_cv_lib_soname_GLU:+false} :; then :
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11630 $as_echo "not found" >&6; }
11632 else
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11634 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11636 cat >>confdefs.h <<_ACEOF
11637 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11638 _ACEOF
11642 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11643 case "x$with_glu" in
11644 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11645 xno) ;;
11646 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11647 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11648 esac
11653 if test "x$with_osmesa" != "xno"
11654 then
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11656 $as_echo_n "checking for -lOSMesa... " >&6; }
11657 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11658 $as_echo_n "(cached) " >&6
11659 else
11660 ac_check_soname_save_LIBS=$LIBS
11661 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11663 /* end confdefs.h. */
11665 /* Override any GCC internal prototype to avoid an error.
11666 Use char because int might match the return type of a GCC
11667 builtin and then its argument prototype would still apply. */
11668 #ifdef __cplusplus
11669 extern "C"
11670 #endif
11671 char OSMesaGetProcAddress ();
11673 main ()
11675 return OSMesaGetProcAddress ();
11677 return 0;
11679 _ACEOF
11680 if ac_fn_c_try_link "$LINENO"; then :
11681 case "$LIBEXT" in
11682 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11683 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'` ;;
11684 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11685 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11686 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11687 fi ;;
11688 esac
11690 rm -f core conftest.err conftest.$ac_objext \
11691 conftest$ac_exeext conftest.$ac_ext
11692 LIBS=$ac_check_soname_save_LIBS
11694 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11696 $as_echo "not found" >&6; }
11698 else
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11700 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11702 cat >>confdefs.h <<_ACEOF
11703 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11704 _ACEOF
11708 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11709 case "x$with_osmesa" in
11710 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11711 xno) ;;
11712 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11713 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11714 esac
11719 if test -n "$opengl_msg"; then :
11720 case "x$with_opengl" in
11721 x) as_fn_append wine_warnings "|$opengl_msg
11722 OpenGL and Direct3D won't be supported." ;;
11723 xno) ;;
11724 *) as_fn_error $? "$opengl_msg
11725 OpenGL and Direct3D won't be supported.
11726 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11727 esac
11731 CPPFLAGS="$ac_save_CPPFLAGS"
11732 else
11733 X_CFLAGS=""
11734 X_LIBS=""
11737 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11738 then
11739 if test "x$X_LIBS" = "x"; then :
11740 case "x$with_x" in
11741 xno) ;;
11742 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11743 without X support, which probably isn't what you want. You will need
11744 to install ${notice_platform}development packages of Xlib at the very least.
11745 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11746 esac
11747 enable_winex11_drv=${enable_winex11_drv:-no}
11749 else
11750 if test "x$X_LIBS" = "x"; then :
11751 case "x$with_x" in
11752 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11753 xno) ;;
11754 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11755 This is an error since --with-x was requested." "$LINENO" 5 ;;
11756 esac
11757 enable_winex11_drv=${enable_winex11_drv:-no}
11761 if test "$ac_cv_header_CL_cl_h" = "yes"
11762 then
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11764 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11765 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11766 $as_echo_n "(cached) " >&6
11767 else
11768 ac_check_lib_save_LIBS=$LIBS
11769 LIBS="-lOpenCL $LIBS"
11770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11771 /* end confdefs.h. */
11773 /* Override any GCC internal prototype to avoid an error.
11774 Use char because int might match the return type of a GCC
11775 builtin and then its argument prototype would still apply. */
11776 #ifdef __cplusplus
11777 extern "C"
11778 #endif
11779 char clGetPlatformInfo ();
11781 main ()
11783 return clGetPlatformInfo ();
11785 return 0;
11787 _ACEOF
11788 if ac_fn_c_try_link "$LINENO"; then :
11789 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11790 else
11791 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11793 rm -f core conftest.err conftest.$ac_objext \
11794 conftest$ac_exeext conftest.$ac_ext
11795 LIBS=$ac_check_lib_save_LIBS
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11798 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11799 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11800 OPENCL_LIBS="-lOpenCL"
11805 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11806 case "x$with_opencl" in
11807 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11808 xno) ;;
11809 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11810 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11811 esac
11812 enable_opencl=${enable_opencl:-no}
11815 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11816 then
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11818 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11819 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11820 $as_echo_n "(cached) " >&6
11821 else
11822 ac_check_lib_save_LIBS=$LIBS
11823 LIBS="-lpcap $LIBS"
11824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11825 /* end confdefs.h. */
11827 /* Override any GCC internal prototype to avoid an error.
11828 Use char because int might match the return type of a GCC
11829 builtin and then its argument prototype would still apply. */
11830 #ifdef __cplusplus
11831 extern "C"
11832 #endif
11833 char pcap_create ();
11835 main ()
11837 return pcap_create ();
11839 return 0;
11841 _ACEOF
11842 if ac_fn_c_try_link "$LINENO"; then :
11843 ac_cv_lib_pcap_pcap_create=yes
11844 else
11845 ac_cv_lib_pcap_pcap_create=no
11847 rm -f core conftest.err conftest.$ac_objext \
11848 conftest$ac_exeext conftest.$ac_ext
11849 LIBS=$ac_check_lib_save_LIBS
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11852 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11853 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11854 PCAP_LIBS="-lpcap"
11859 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11860 case "x$with_pcap" in
11861 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11862 xno) ;;
11863 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11864 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11865 esac
11866 enable_wpcap=${enable_wpcap:-no}
11870 if test "x$with_xml" != "xno"
11871 then
11872 if ${XML2_CFLAGS:+false} :; then :
11873 if ${PKG_CONFIG+:} false; then :
11874 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11877 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11878 if ${XML2_LIBS:+false} :; then :
11879 if ${PKG_CONFIG+:} false; then :
11880 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11883 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11884 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11885 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11886 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11887 ac_save_CPPFLAGS=$CPPFLAGS
11888 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11889 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11890 do :
11891 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11892 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11893 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11894 cat >>confdefs.h <<_ACEOF
11895 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11896 _ACEOF
11900 done
11902 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"
11903 then
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11905 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11906 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11907 $as_echo_n "(cached) " >&6
11908 else
11909 ac_check_lib_save_LIBS=$LIBS
11910 LIBS="-lxml2 $XML2_LIBS $LIBS"
11911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11912 /* end confdefs.h. */
11914 /* Override any GCC internal prototype to avoid an error.
11915 Use char because int might match the return type of a GCC
11916 builtin and then its argument prototype would still apply. */
11917 #ifdef __cplusplus
11918 extern "C"
11919 #endif
11920 char xmlParseMemory ();
11922 main ()
11924 return xmlParseMemory ();
11926 return 0;
11928 _ACEOF
11929 if ac_fn_c_try_link "$LINENO"; then :
11930 ac_cv_lib_xml2_xmlParseMemory=yes
11931 else
11932 ac_cv_lib_xml2_xmlParseMemory=no
11934 rm -f core conftest.err conftest.$ac_objext \
11935 conftest$ac_exeext conftest.$ac_ext
11936 LIBS=$ac_check_lib_save_LIBS
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11939 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11940 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11942 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11944 else
11945 XML2_LIBS=""
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11949 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11950 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11951 $as_echo_n "(cached) " >&6
11952 else
11953 ac_check_lib_save_LIBS=$LIBS
11954 LIBS="-lxml2 $XML2_LIBS $LIBS"
11955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11956 /* end confdefs.h. */
11958 /* Override any GCC internal prototype to avoid an error.
11959 Use char because int might match the return type of a GCC
11960 builtin and then its argument prototype would still apply. */
11961 #ifdef __cplusplus
11962 extern "C"
11963 #endif
11964 char xmlReadMemory ();
11966 main ()
11968 return xmlReadMemory ();
11970 return 0;
11972 _ACEOF
11973 if ac_fn_c_try_link "$LINENO"; then :
11974 ac_cv_lib_xml2_xmlReadMemory=yes
11975 else
11976 ac_cv_lib_xml2_xmlReadMemory=no
11978 rm -f core conftest.err conftest.$ac_objext \
11979 conftest$ac_exeext conftest.$ac_ext
11980 LIBS=$ac_check_lib_save_LIBS
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11983 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11984 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11986 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11991 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11992 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11993 $as_echo_n "(cached) " >&6
11994 else
11995 ac_check_lib_save_LIBS=$LIBS
11996 LIBS="-lxml2 $XML2_LIBS $LIBS"
11997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11998 /* end confdefs.h. */
12000 /* Override any GCC internal prototype to avoid an error.
12001 Use char because int might match the return type of a GCC
12002 builtin and then its argument prototype would still apply. */
12003 #ifdef __cplusplus
12004 extern "C"
12005 #endif
12006 char xmlNewDocPI ();
12008 main ()
12010 return xmlNewDocPI ();
12012 return 0;
12014 _ACEOF
12015 if ac_fn_c_try_link "$LINENO"; then :
12016 ac_cv_lib_xml2_xmlNewDocPI=yes
12017 else
12018 ac_cv_lib_xml2_xmlNewDocPI=no
12020 rm -f core conftest.err conftest.$ac_objext \
12021 conftest$ac_exeext conftest.$ac_ext
12022 LIBS=$ac_check_lib_save_LIBS
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12025 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12026 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12028 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12033 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12034 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12035 $as_echo_n "(cached) " >&6
12036 else
12037 ac_check_lib_save_LIBS=$LIBS
12038 LIBS="-lxml2 $XML2_LIBS $LIBS"
12039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12040 /* end confdefs.h. */
12042 /* Override any GCC internal prototype to avoid an error.
12043 Use char because int might match the return type of a GCC
12044 builtin and then its argument prototype would still apply. */
12045 #ifdef __cplusplus
12046 extern "C"
12047 #endif
12048 char xmlSchemaSetParserStructuredErrors ();
12050 main ()
12052 return xmlSchemaSetParserStructuredErrors ();
12054 return 0;
12056 _ACEOF
12057 if ac_fn_c_try_link "$LINENO"; then :
12058 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12059 else
12060 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12062 rm -f core conftest.err conftest.$ac_objext \
12063 conftest$ac_exeext conftest.$ac_ext
12064 LIBS=$ac_check_lib_save_LIBS
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12067 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12068 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12070 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12075 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12076 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12077 $as_echo_n "(cached) " >&6
12078 else
12079 ac_check_lib_save_LIBS=$LIBS
12080 LIBS="-lxml2 $XML2_LIBS $LIBS"
12081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12082 /* end confdefs.h. */
12084 /* Override any GCC internal prototype to avoid an error.
12085 Use char because int might match the return type of a GCC
12086 builtin and then its argument prototype would still apply. */
12087 #ifdef __cplusplus
12088 extern "C"
12089 #endif
12090 char xmlSchemaSetValidStructuredErrors ();
12092 main ()
12094 return xmlSchemaSetValidStructuredErrors ();
12096 return 0;
12098 _ACEOF
12099 if ac_fn_c_try_link "$LINENO"; then :
12100 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12101 else
12102 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12104 rm -f core conftest.err conftest.$ac_objext \
12105 conftest$ac_exeext conftest.$ac_ext
12106 LIBS=$ac_check_lib_save_LIBS
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12109 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12110 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12112 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12117 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12118 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12119 $as_echo_n "(cached) " >&6
12120 else
12121 ac_check_lib_save_LIBS=$LIBS
12122 LIBS="-lxml2 $XML2_LIBS $LIBS"
12123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12124 /* end confdefs.h. */
12126 /* Override any GCC internal prototype to avoid an error.
12127 Use char because int might match the return type of a GCC
12128 builtin and then its argument prototype would still apply. */
12129 #ifdef __cplusplus
12130 extern "C"
12131 #endif
12132 char xmlFirstElementChild ();
12134 main ()
12136 return xmlFirstElementChild ();
12138 return 0;
12140 _ACEOF
12141 if ac_fn_c_try_link "$LINENO"; then :
12142 ac_cv_lib_xml2_xmlFirstElementChild=yes
12143 else
12144 ac_cv_lib_xml2_xmlFirstElementChild=no
12146 rm -f core conftest.err conftest.$ac_objext \
12147 conftest$ac_exeext conftest.$ac_ext
12148 LIBS=$ac_check_lib_save_LIBS
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12151 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12152 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12154 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12158 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12160 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12162 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12166 else
12167 XML2_CFLAGS=""
12168 XML2_LIBS=""
12170 CPPFLAGS=$ac_save_CPPFLAGS
12171 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12172 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12175 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12176 case "x$with_xml" in
12177 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12178 xno) ;;
12179 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12180 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12181 esac
12185 if test "x$with_xslt" != "xno"
12186 then
12187 if ${XSLT_CFLAGS:+false} :; then :
12188 if ${PKG_CONFIG+:} false; then :
12189 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12192 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12193 if ${XSLT_LIBS:+false} :; then :
12194 if ${PKG_CONFIG+:} false; then :
12195 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12198 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12199 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12200 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12201 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12202 ac_save_CPPFLAGS=$CPPFLAGS
12203 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12204 for ac_header in libxslt/pattern.h libxslt/transform.h
12205 do :
12206 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12207 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12208 # include <libxslt/pattern.h>
12209 #endif
12211 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12212 cat >>confdefs.h <<_ACEOF
12213 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12214 _ACEOF
12218 done
12220 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12221 then
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12223 $as_echo_n "checking for -lxslt... " >&6; }
12224 if ${ac_cv_lib_soname_xslt+:} false; then :
12225 $as_echo_n "(cached) " >&6
12226 else
12227 ac_check_soname_save_LIBS=$LIBS
12228 LIBS="-lxslt $XSLT_LIBS $LIBS"
12229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12230 /* end confdefs.h. */
12232 /* Override any GCC internal prototype to avoid an error.
12233 Use char because int might match the return type of a GCC
12234 builtin and then its argument prototype would still apply. */
12235 #ifdef __cplusplus
12236 extern "C"
12237 #endif
12238 char xsltCompilePattern ();
12240 main ()
12242 return xsltCompilePattern ();
12244 return 0;
12246 _ACEOF
12247 if ac_fn_c_try_link "$LINENO"; then :
12248 case "$LIBEXT" in
12249 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12250 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'` ;;
12251 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12252 if ${ac_cv_lib_soname_xslt:+false} :; then :
12253 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12254 fi ;;
12255 esac
12257 rm -f core conftest.err conftest.$ac_objext \
12258 conftest$ac_exeext conftest.$ac_ext
12259 LIBS=$ac_check_soname_save_LIBS
12261 if ${ac_cv_lib_soname_xslt:+false} :; then :
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12263 $as_echo "not found" >&6; }
12265 else
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12267 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12269 cat >>confdefs.h <<_ACEOF
12270 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12271 _ACEOF
12275 else
12276 XSLT_CFLAGS=""
12278 CPPFLAGS=$ac_save_CPPFLAGS
12279 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12280 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12283 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12284 case "x$with_xslt" in
12285 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12286 xno) ;;
12287 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12288 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12289 esac
12293 if test "x$with_dbus" != "xno"
12294 then
12295 if ${DBUS_CFLAGS:+false} :; then :
12296 if ${PKG_CONFIG+:} false; then :
12297 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12301 if ${DBUS_LIBS:+false} :; then :
12302 if ${PKG_CONFIG+:} false; then :
12303 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12308 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12309 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12310 ac_save_CPPFLAGS=$CPPFLAGS
12311 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12312 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12313 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12315 $as_echo_n "checking for -ldbus-1... " >&6; }
12316 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12317 $as_echo_n "(cached) " >&6
12318 else
12319 ac_check_soname_save_LIBS=$LIBS
12320 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12322 /* end confdefs.h. */
12324 /* Override any GCC internal prototype to avoid an error.
12325 Use char because int might match the return type of a GCC
12326 builtin and then its argument prototype would still apply. */
12327 #ifdef __cplusplus
12328 extern "C"
12329 #endif
12330 char dbus_connection_close ();
12332 main ()
12334 return dbus_connection_close ();
12336 return 0;
12338 _ACEOF
12339 if ac_fn_c_try_link "$LINENO"; then :
12340 case "$LIBEXT" in
12341 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12342 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'` ;;
12343 *) 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'`
12344 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12345 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12346 fi ;;
12347 esac
12349 rm -f core conftest.err conftest.$ac_objext \
12350 conftest$ac_exeext conftest.$ac_ext
12351 LIBS=$ac_check_soname_save_LIBS
12353 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12355 $as_echo "not found" >&6; }
12356 DBUS_CFLAGS=""
12357 else
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12359 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12361 cat >>confdefs.h <<_ACEOF
12362 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12363 _ACEOF
12367 else
12368 DBUS_CFLAGS=""
12372 CPPFLAGS=$ac_save_CPPFLAGS
12373 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12374 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12377 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12378 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12379 case "x$with_dbus" in
12380 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12381 xno) ;;
12382 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12383 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12384 esac
12388 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12389 then
12390 if ${HAL_CFLAGS:+false} :; then :
12391 if ${PKG_CONFIG+:} false; then :
12392 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12396 if ${HAL_LIBS:+false} :; then :
12397 if ${PKG_CONFIG+:} false; then :
12398 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12402 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12403 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12404 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12405 ac_save_CPPFLAGS=$CPPFLAGS
12406 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12407 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12408 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12410 $as_echo_n "checking for -lhal... " >&6; }
12411 if ${ac_cv_lib_soname_hal+:} false; then :
12412 $as_echo_n "(cached) " >&6
12413 else
12414 ac_check_soname_save_LIBS=$LIBS
12415 LIBS="-lhal $HAL_LIBS $LIBS"
12416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12417 /* end confdefs.h. */
12419 /* Override any GCC internal prototype to avoid an error.
12420 Use char because int might match the return type of a GCC
12421 builtin and then its argument prototype would still apply. */
12422 #ifdef __cplusplus
12423 extern "C"
12424 #endif
12425 char libhal_ctx_new ();
12427 main ()
12429 return libhal_ctx_new ();
12431 return 0;
12433 _ACEOF
12434 if ac_fn_c_try_link "$LINENO"; then :
12435 case "$LIBEXT" in
12436 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12437 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'` ;;
12438 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12439 if ${ac_cv_lib_soname_hal:+false} :; then :
12440 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12441 fi ;;
12442 esac
12444 rm -f core conftest.err conftest.$ac_objext \
12445 conftest$ac_exeext conftest.$ac_ext
12446 LIBS=$ac_check_soname_save_LIBS
12448 if ${ac_cv_lib_soname_hal:+false} :; then :
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12450 $as_echo "not found" >&6; }
12451 HAL_CFLAGS=""
12452 else
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12454 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12456 cat >>confdefs.h <<_ACEOF
12457 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12458 _ACEOF
12462 else
12463 HAL_CFLAGS=""
12467 CPPFLAGS=$ac_save_CPPFLAGS
12468 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12469 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12471 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12472 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12473 case "x$with_hal" in
12474 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12475 xno) ;;
12476 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12477 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12478 esac
12483 if test "x$with_gnutls" != "xno"
12484 then
12485 if ${GNUTLS_CFLAGS:+false} :; then :
12486 if ${PKG_CONFIG+:} false; then :
12487 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12491 if ${GNUTLS_LIBS:+false} :; then :
12492 if ${PKG_CONFIG+:} false; then :
12493 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12498 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12499 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12500 ac_save_CPPFLAGS=$CPPFLAGS
12501 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12502 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12503 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12505 /* end confdefs.h. */
12506 #include <gnutls/gnutls.h>
12507 #include <gnutls/crypto.h>
12509 main ()
12511 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12513 return 0;
12515 _ACEOF
12516 if ac_fn_c_try_compile "$LINENO"; then :
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12518 $as_echo_n "checking for -lgnutls... " >&6; }
12519 if ${ac_cv_lib_soname_gnutls+:} false; then :
12520 $as_echo_n "(cached) " >&6
12521 else
12522 ac_check_soname_save_LIBS=$LIBS
12523 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12527 /* Override any GCC internal prototype to avoid an error.
12528 Use char because int might match the return type of a GCC
12529 builtin and then its argument prototype would still apply. */
12530 #ifdef __cplusplus
12531 extern "C"
12532 #endif
12533 char gnutls_global_init ();
12535 main ()
12537 return gnutls_global_init ();
12539 return 0;
12541 _ACEOF
12542 if ac_fn_c_try_link "$LINENO"; then :
12543 case "$LIBEXT" in
12544 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12545 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'` ;;
12546 *) 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'`
12547 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12548 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'`
12549 fi ;;
12550 esac
12552 rm -f core conftest.err conftest.$ac_objext \
12553 conftest$ac_exeext conftest.$ac_ext
12554 LIBS=$ac_check_soname_save_LIBS
12556 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12558 $as_echo "not found" >&6; }
12559 GNUTLS_CFLAGS=""
12560 else
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12562 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12564 cat >>confdefs.h <<_ACEOF
12565 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12566 _ACEOF
12570 ac_wine_check_funcs_save_LIBS="$LIBS"
12571 LIBS="$LIBS $GNUTLS_LIBS"
12572 for ac_func in gnutls_cipher_init
12573 do :
12574 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12575 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12576 cat >>confdefs.h <<_ACEOF
12577 #define HAVE_GNUTLS_CIPHER_INIT 1
12578 _ACEOF
12580 else
12581 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12583 done
12585 LIBS="$ac_wine_check_funcs_save_LIBS"
12587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12588 else
12589 GNUTLS_CFLAGS=""
12593 CPPFLAGS=$ac_save_CPPFLAGS
12594 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12595 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12598 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12599 case "x$with_gnutls" in
12600 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12601 xno) ;;
12602 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12603 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12604 esac
12608 CURSES_LIBS=""
12609 if test "$ac_cv_header_ncurses_h" = "yes"
12610 then
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12612 $as_echo_n "checking for -lncurses... " >&6; }
12613 if ${ac_cv_lib_soname_ncurses+:} false; then :
12614 $as_echo_n "(cached) " >&6
12615 else
12616 ac_check_soname_save_LIBS=$LIBS
12617 LIBS="-lncurses $LIBS"
12618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12619 /* end confdefs.h. */
12621 /* Override any GCC internal prototype to avoid an error.
12622 Use char because int might match the return type of a GCC
12623 builtin and then its argument prototype would still apply. */
12624 #ifdef __cplusplus
12625 extern "C"
12626 #endif
12627 char waddch ();
12629 main ()
12631 return waddch ();
12633 return 0;
12635 _ACEOF
12636 if ac_fn_c_try_link "$LINENO"; then :
12637 case "$LIBEXT" in
12638 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12639 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'` ;;
12640 *) 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'`
12641 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12642 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12643 fi ;;
12644 esac
12646 rm -f core conftest.err conftest.$ac_objext \
12647 conftest$ac_exeext conftest.$ac_ext
12648 LIBS=$ac_check_soname_save_LIBS
12650 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12652 $as_echo "not found" >&6; }
12654 else
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12656 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12658 cat >>confdefs.h <<_ACEOF
12659 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12660 _ACEOF
12662 CURSES_LIBS="-lncurses"
12664 elif test "$ac_cv_header_curses_h" = "yes"
12665 then
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12667 $as_echo_n "checking for -lcurses... " >&6; }
12668 if ${ac_cv_lib_soname_curses+:} false; then :
12669 $as_echo_n "(cached) " >&6
12670 else
12671 ac_check_soname_save_LIBS=$LIBS
12672 LIBS="-lcurses $LIBS"
12673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12674 /* end confdefs.h. */
12676 /* Override any GCC internal prototype to avoid an error.
12677 Use char because int might match the return type of a GCC
12678 builtin and then its argument prototype would still apply. */
12679 #ifdef __cplusplus
12680 extern "C"
12681 #endif
12682 char waddch ();
12684 main ()
12686 return waddch ();
12688 return 0;
12690 _ACEOF
12691 if ac_fn_c_try_link "$LINENO"; then :
12692 case "$LIBEXT" in
12693 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12694 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'` ;;
12695 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12696 if ${ac_cv_lib_soname_curses:+false} :; then :
12697 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12698 fi ;;
12699 esac
12701 rm -f core conftest.err conftest.$ac_objext \
12702 conftest$ac_exeext conftest.$ac_ext
12703 LIBS=$ac_check_soname_save_LIBS
12705 if ${ac_cv_lib_soname_curses:+false} :; then :
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12707 $as_echo "not found" >&6; }
12709 else
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12711 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12713 cat >>confdefs.h <<_ACEOF
12714 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12715 _ACEOF
12717 CURSES_LIBS="-lcurses"
12720 ac_save_LIBS="$LIBS"
12721 LIBS="$LIBS $CURSES_LIBS"
12722 for ac_func in mousemask
12723 do :
12724 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12725 if test "x$ac_cv_func_mousemask" = xyes; then :
12726 cat >>confdefs.h <<_ACEOF
12727 #define HAVE_MOUSEMASK 1
12728 _ACEOF
12731 done
12733 LIBS="$ac_save_LIBS"
12734 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12735 case "x$with_curses" in
12736 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12737 xno) ;;
12738 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12739 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12740 esac
12744 if test "x$with_sane" != "xno"
12745 then
12746 if ${SANE_CFLAGS:+false} :; then :
12747 if ${PKG_CONFIG+:} false; then :
12748 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12751 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12752 if ${SANE_LIBS:+false} :; then :
12753 if ${PKG_CONFIG+:} false; then :
12754 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12757 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12759 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12760 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12761 ac_save_CPPFLAGS=$CPPFLAGS
12762 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12763 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12764 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12766 $as_echo_n "checking for -lsane... " >&6; }
12767 if ${ac_cv_lib_soname_sane+:} false; then :
12768 $as_echo_n "(cached) " >&6
12769 else
12770 ac_check_soname_save_LIBS=$LIBS
12771 LIBS="-lsane $SANE_LIBS $LIBS"
12772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12775 /* Override any GCC internal prototype to avoid an error.
12776 Use char because int might match the return type of a GCC
12777 builtin and then its argument prototype would still apply. */
12778 #ifdef __cplusplus
12779 extern "C"
12780 #endif
12781 char sane_init ();
12783 main ()
12785 return sane_init ();
12787 return 0;
12789 _ACEOF
12790 if ac_fn_c_try_link "$LINENO"; then :
12791 case "$LIBEXT" in
12792 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12793 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'` ;;
12794 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12795 if ${ac_cv_lib_soname_sane:+false} :; then :
12796 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12797 fi ;;
12798 esac
12800 rm -f core conftest.err conftest.$ac_objext \
12801 conftest$ac_exeext conftest.$ac_ext
12802 LIBS=$ac_check_soname_save_LIBS
12804 if ${ac_cv_lib_soname_sane:+false} :; then :
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12806 $as_echo "not found" >&6; }
12807 SANE_CFLAGS=""
12808 else
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12810 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12812 cat >>confdefs.h <<_ACEOF
12813 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12814 _ACEOF
12818 else
12819 SANE_CFLAGS=""
12823 CPPFLAGS=$ac_save_CPPFLAGS
12824 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12825 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12828 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12829 case "x$with_sane" in
12830 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12831 xno) ;;
12832 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12833 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12834 esac
12838 if test "x$with_v4l" != "xno"
12839 then
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12841 $as_echo_n "checking for -lv4l1... " >&6; }
12842 if ${ac_cv_lib_soname_v4l1+:} false; then :
12843 $as_echo_n "(cached) " >&6
12844 else
12845 ac_check_soname_save_LIBS=$LIBS
12846 LIBS="-lv4l1 $LIBS"
12847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12848 /* end confdefs.h. */
12850 /* Override any GCC internal prototype to avoid an error.
12851 Use char because int might match the return type of a GCC
12852 builtin and then its argument prototype would still apply. */
12853 #ifdef __cplusplus
12854 extern "C"
12855 #endif
12856 char v4l1_open ();
12858 main ()
12860 return v4l1_open ();
12862 return 0;
12864 _ACEOF
12865 if ac_fn_c_try_link "$LINENO"; then :
12866 case "$LIBEXT" in
12867 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12868 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'` ;;
12869 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12870 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12871 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12872 fi ;;
12873 esac
12875 rm -f core conftest.err conftest.$ac_objext \
12876 conftest$ac_exeext conftest.$ac_ext
12877 LIBS=$ac_check_soname_save_LIBS
12879 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12881 $as_echo "not found" >&6; }
12883 else
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12885 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12887 cat >>confdefs.h <<_ACEOF
12888 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12889 _ACEOF
12894 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12895 case "x$with_v4l" in
12896 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12897 xno) ;;
12898 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12899 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12900 esac
12904 if test "x$with_gphoto" != "xno"
12905 then
12906 if ${GPHOTO2_CFLAGS:+false} :; then :
12907 if ${PKG_CONFIG+:} false; then :
12908 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12911 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12912 if ${GPHOTO2_LIBS:+false} :; then :
12913 if ${PKG_CONFIG+:} false; then :
12914 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12917 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12918 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12919 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12920 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12921 ac_save_CPPFLAGS=$CPPFLAGS
12922 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12923 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12924 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12926 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12927 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12928 $as_echo_n "(cached) " >&6
12929 else
12930 ac_check_lib_save_LIBS=$LIBS
12931 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12933 /* end confdefs.h. */
12935 /* Override any GCC internal prototype to avoid an error.
12936 Use char because int might match the return type of a GCC
12937 builtin and then its argument prototype would still apply. */
12938 #ifdef __cplusplus
12939 extern "C"
12940 #endif
12941 char gp_camera_new ();
12943 main ()
12945 return gp_camera_new ();
12947 return 0;
12949 _ACEOF
12950 if ac_fn_c_try_link "$LINENO"; then :
12951 ac_cv_lib_gphoto2_gp_camera_new=yes
12952 else
12953 ac_cv_lib_gphoto2_gp_camera_new=no
12955 rm -f core conftest.err conftest.$ac_objext \
12956 conftest$ac_exeext conftest.$ac_ext
12957 LIBS=$ac_check_lib_save_LIBS
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12960 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12961 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12963 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12965 else
12966 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12969 else
12970 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12974 CPPFLAGS=$ac_save_CPPFLAGS
12975 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12976 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12978 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12979 if ${PKG_CONFIG+:} false; then :
12980 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12983 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12984 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12985 if ${PKG_CONFIG+:} false; then :
12986 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12989 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12990 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12991 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12992 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12993 ac_save_CPPFLAGS=$CPPFLAGS
12994 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12995 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12996 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12998 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12999 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13000 $as_echo_n "(cached) " >&6
13001 else
13002 ac_check_lib_save_LIBS=$LIBS
13003 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13005 /* end confdefs.h. */
13007 /* Override any GCC internal prototype to avoid an error.
13008 Use char because int might match the return type of a GCC
13009 builtin and then its argument prototype would still apply. */
13010 #ifdef __cplusplus
13011 extern "C"
13012 #endif
13013 char gp_port_info_list_new ();
13015 main ()
13017 return gp_port_info_list_new ();
13019 return 0;
13021 _ACEOF
13022 if ac_fn_c_try_link "$LINENO"; then :
13023 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13024 else
13025 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13027 rm -f core conftest.err conftest.$ac_objext \
13028 conftest$ac_exeext conftest.$ac_ext
13029 LIBS=$ac_check_lib_save_LIBS
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13032 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13033 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13035 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13037 else
13038 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13041 else
13042 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13046 CPPFLAGS=$ac_save_CPPFLAGS
13047 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13048 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13051 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13052 case "x$with_gphoto" in
13053 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13054 xno) ;;
13055 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13056 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13057 esac
13060 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13061 case "x$with_gphoto" in
13062 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13063 xno) ;;
13064 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13065 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13066 esac
13071 if test "$ac_cv_header_resolv_h" = "yes"
13072 then
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13074 $as_echo_n "checking for resolver library... " >&6; }
13075 if ${ac_cv_have_resolv+:} false; then :
13076 $as_echo_n "(cached) " >&6
13077 else
13078 ac_save_LIBS="$LIBS"
13079 for lib in '' -lresolv
13081 LIBS="$lib $ac_save_LIBS"
13082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13084 #ifdef HAVE_NETINET_IN_H
13085 #include <netinet/in.h>
13086 #endif
13087 #include <resolv.h>
13089 main ()
13091 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13093 return 0;
13095 _ACEOF
13096 if ac_fn_c_try_link "$LINENO"; then :
13097 ac_cv_have_resolv=${lib:-"none required"}
13098 else
13099 ac_cv_have_resolv="not found"
13101 rm -f core conftest.err conftest.$ac_objext \
13102 conftest$ac_exeext conftest.$ac_ext
13103 test "x$ac_cv_have_resolv" = "xnot found" || break
13104 done
13105 LIBS="$ac_save_LIBS"
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13108 $as_echo "$ac_cv_have_resolv" >&6; }
13110 case "$ac_cv_have_resolv" in
13111 "not found") ;;
13112 "none required")
13114 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13117 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13119 RESOLV_LIBS=$ac_cv_have_resolv
13121 esac
13124 if test "x$with_cms" != "xno"
13125 then
13126 if ${LCMS2_CFLAGS:+false} :; then :
13127 if ${PKG_CONFIG+:} false; then :
13128 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
13132 if ${LCMS2_LIBS:+false} :; then :
13133 if ${PKG_CONFIG+:} false; then :
13134 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
13138 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
13139 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
13140 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
13141 ac_save_CPPFLAGS=$CPPFLAGS
13142 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
13143 for ac_header in lcms2.h
13144 do :
13145 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
13146 if test "x$ac_cv_header_lcms2_h" = xyes; then :
13147 cat >>confdefs.h <<_ACEOF
13148 #define HAVE_LCMS2_H 1
13149 _ACEOF
13153 done
13155 if test "$ac_cv_header_lcms2_h" = "yes"
13156 then
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13158 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13159 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13160 $as_echo_n "(cached) " >&6
13161 else
13162 ac_check_lib_save_LIBS=$LIBS
13163 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13165 /* end confdefs.h. */
13167 /* Override any GCC internal prototype to avoid an error.
13168 Use char because int might match the return type of a GCC
13169 builtin and then its argument prototype would still apply. */
13170 #ifdef __cplusplus
13171 extern "C"
13172 #endif
13173 char cmsOpenProfileFromFile ();
13175 main ()
13177 return cmsOpenProfileFromFile ();
13179 return 0;
13181 _ACEOF
13182 if ac_fn_c_try_link "$LINENO"; then :
13183 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13184 else
13185 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13187 rm -f core conftest.err conftest.$ac_objext \
13188 conftest$ac_exeext conftest.$ac_ext
13189 LIBS=$ac_check_lib_save_LIBS
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13192 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13193 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13195 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13197 else
13198 LCMS2_LIBS=""
13201 else
13202 LCMS2_CFLAGS=""
13203 LCMS2_LIBS=""
13205 CPPFLAGS=$ac_save_CPPFLAGS
13206 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13207 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13210 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13211 case "x$with_cms" in
13212 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13213 xno) ;;
13214 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13215 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13216 esac
13220 if test "x$with_freetype" != "xno"
13221 then
13222 if ${FREETYPE_CFLAGS:+false} :; then :
13223 if ${PKG_CONFIG+:} false; then :
13224 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13227 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13228 if ${FREETYPE_LIBS:+false} :; then :
13229 if ${PKG_CONFIG+:} false; then :
13230 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13233 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13234 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13235 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13236 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13237 ac_save_CPPFLAGS=$CPPFLAGS
13238 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13239 for ac_header in ft2build.h
13240 do :
13241 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13242 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13243 cat >>confdefs.h <<_ACEOF
13244 #define HAVE_FT2BUILD_H 1
13245 _ACEOF
13249 done
13251 if test "$ac_cv_header_ft2build_h" = "yes"
13252 then
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13254 $as_echo_n "checking for -lfreetype... " >&6; }
13255 if ${ac_cv_lib_soname_freetype+:} false; then :
13256 $as_echo_n "(cached) " >&6
13257 else
13258 ac_check_soname_save_LIBS=$LIBS
13259 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13261 /* end confdefs.h. */
13263 /* Override any GCC internal prototype to avoid an error.
13264 Use char because int might match the return type of a GCC
13265 builtin and then its argument prototype would still apply. */
13266 #ifdef __cplusplus
13267 extern "C"
13268 #endif
13269 char FT_Init_FreeType ();
13271 main ()
13273 return FT_Init_FreeType ();
13275 return 0;
13277 _ACEOF
13278 if ac_fn_c_try_link "$LINENO"; then :
13279 case "$LIBEXT" in
13280 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13281 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'` ;;
13282 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13283 if ${ac_cv_lib_soname_freetype:+false} :; then :
13284 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13285 fi ;;
13286 esac
13288 rm -f core conftest.err conftest.$ac_objext \
13289 conftest$ac_exeext conftest.$ac_ext
13290 LIBS=$ac_check_soname_save_LIBS
13292 if ${ac_cv_lib_soname_freetype:+false} :; then :
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13294 $as_echo "not found" >&6; }
13295 FREETYPE_LIBS=""
13296 else
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13298 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13300 cat >>confdefs.h <<_ACEOF
13301 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13302 _ACEOF
13305 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13307 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13308 #include FT_MODULE_H
13310 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13312 cat >>confdefs.h <<_ACEOF
13313 #define HAVE_FT_TRUETYPEENGINETYPE 1
13314 _ACEOF
13320 else
13321 FREETYPE_CFLAGS=""
13322 FREETYPE_LIBS=""
13324 CPPFLAGS=$ac_save_CPPFLAGS
13325 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13326 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13329 if test "x$ac_cv_lib_soname_freetype" = x; then :
13330 case "x$with_freetype" in
13331 xno) ;;
13332 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13333 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13334 esac
13335 enable_fonts=${enable_fonts:-no}
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13339 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13340 if ${ac_cv_c_ppdev+:} false; then :
13341 $as_echo_n "(cached) " >&6
13342 else
13343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13344 /* end confdefs.h. */
13345 #ifdef HAVE_SYS_IOCTL_H
13346 # include <sys/ioctl.h>
13347 #endif
13348 #include <linux/ppdev.h>
13350 main ()
13352 ioctl (1,PPCLAIM,0)
13354 return 0;
13356 _ACEOF
13357 if ac_fn_c_try_compile "$LINENO"; then :
13358 ac_cv_c_ppdev="yes"
13359 else
13360 ac_cv_c_ppdev="no"
13362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13365 $as_echo "$ac_cv_c_ppdev" >&6; }
13366 if test "$ac_cv_c_ppdev" = "yes"
13367 then
13369 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13373 ac_wine_check_funcs_save_LIBS="$LIBS"
13374 LIBS="$LIBS $PTHREAD_LIBS"
13375 for ac_func in \
13376 pthread_attr_get_np \
13377 pthread_getattr_np \
13378 pthread_getthreadid_np \
13379 pthread_get_stackaddr_np \
13380 pthread_get_stacksize_np
13381 do :
13382 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13383 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13384 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13385 cat >>confdefs.h <<_ACEOF
13386 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13387 _ACEOF
13390 done
13392 LIBS="$ac_wine_check_funcs_save_LIBS"
13394 if test "$ac_cv_header_zlib_h" = "yes"
13395 then
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13397 $as_echo_n "checking for inflate in -lz... " >&6; }
13398 if ${ac_cv_lib_z_inflate+:} false; then :
13399 $as_echo_n "(cached) " >&6
13400 else
13401 ac_check_lib_save_LIBS=$LIBS
13402 LIBS="-lz $LIBS"
13403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13404 /* end confdefs.h. */
13406 /* Override any GCC internal prototype to avoid an error.
13407 Use char because int might match the return type of a GCC
13408 builtin and then its argument prototype would still apply. */
13409 #ifdef __cplusplus
13410 extern "C"
13411 #endif
13412 char inflate ();
13414 main ()
13416 return inflate ();
13418 return 0;
13420 _ACEOF
13421 if ac_fn_c_try_link "$LINENO"; then :
13422 ac_cv_lib_z_inflate=yes
13423 else
13424 ac_cv_lib_z_inflate=no
13426 rm -f core conftest.err conftest.$ac_objext \
13427 conftest$ac_exeext conftest.$ac_ext
13428 LIBS=$ac_check_lib_save_LIBS
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13431 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13432 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13434 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13436 Z_LIBS="-lz"
13441 if test "x$Z_LIBS" = "x"; then :
13442 case "x$with_zlib" in
13443 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13444 xno) ;;
13445 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13446 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13447 esac
13451 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13452 then
13453 if test "$ac_cv_header_gettext_po_h" = "yes"
13454 then
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13456 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13457 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13458 $as_echo_n "(cached) " >&6
13459 else
13460 ac_check_lib_save_LIBS=$LIBS
13461 LIBS="-lgettextpo $LIBS"
13462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13463 /* end confdefs.h. */
13465 /* Override any GCC internal prototype to avoid an error.
13466 Use char because int might match the return type of a GCC
13467 builtin and then its argument prototype would still apply. */
13468 #ifdef __cplusplus
13469 extern "C"
13470 #endif
13471 char po_message_msgctxt ();
13473 main ()
13475 return po_message_msgctxt ();
13477 return 0;
13479 _ACEOF
13480 if ac_fn_c_try_link "$LINENO"; then :
13481 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13482 else
13483 ac_cv_lib_gettextpo_po_message_msgctxt=no
13485 rm -f core conftest.err conftest.$ac_objext \
13486 conftest$ac_exeext conftest.$ac_ext
13487 LIBS=$ac_check_lib_save_LIBS
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13490 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13491 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13493 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13495 GETTEXTPO_LIBS="-lgettextpo"
13500 if test "x$GETTEXTPO_LIBS" = "x"; then :
13501 case "x$with_gettextpo" in
13502 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13503 xno) ;;
13504 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13505 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13506 esac
13509 if test "$srcdir" != .; then :
13510 case "x$with_gettextpo" in
13511 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13512 xno) ;;
13513 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13514 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13515 esac
13520 if test "x$with_pulse" != "xno";
13521 then
13522 if ${PULSE_CFLAGS:+false} :; then :
13523 if ${PKG_CONFIG+:} false; then :
13524 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13528 if ${PULSE_LIBS:+false} :; then :
13529 if ${PKG_CONFIG+:} false; then :
13530 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13535 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13536 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13537 ac_save_CPPFLAGS=$CPPFLAGS
13538 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13539 for ac_header in pulse/pulseaudio.h
13540 do :
13541 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13542 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13543 cat >>confdefs.h <<_ACEOF
13544 #define HAVE_PULSE_PULSEAUDIO_H 1
13545 _ACEOF
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13547 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13548 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13549 $as_echo_n "(cached) " >&6
13550 else
13551 ac_check_lib_save_LIBS=$LIBS
13552 LIBS="-lpulse $PULSE_LIBS $LIBS"
13553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13554 /* end confdefs.h. */
13556 /* Override any GCC internal prototype to avoid an error.
13557 Use char because int might match the return type of a GCC
13558 builtin and then its argument prototype would still apply. */
13559 #ifdef __cplusplus
13560 extern "C"
13561 #endif
13562 char pa_stream_is_corked ();
13564 main ()
13566 return pa_stream_is_corked ();
13568 return 0;
13570 _ACEOF
13571 if ac_fn_c_try_link "$LINENO"; then :
13572 ac_cv_lib_pulse_pa_stream_is_corked=yes
13573 else
13574 ac_cv_lib_pulse_pa_stream_is_corked=no
13576 rm -f core conftest.err conftest.$ac_objext \
13577 conftest$ac_exeext conftest.$ac_ext
13578 LIBS=$ac_check_lib_save_LIBS
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13581 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13582 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13584 else
13585 PULSE_LIBS=""
13588 else
13589 PULSE_LIBS=""
13592 done
13594 CPPFLAGS=$ac_save_CPPFLAGS
13595 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13596 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13599 if test -z "$PULSE_LIBS"; then :
13600 case "x$with_pulse" in
13601 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13602 xno) ;;
13603 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13604 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13605 esac
13606 enable_winepulse_drv=${enable_winepulse_drv:-no}
13609 if test "x$with_gstreamer" != "xno"
13610 then
13611 if ${GSTREAMER_CFLAGS:+false} :; then :
13612 if ${PKG_CONFIG+:} false; then :
13613 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13617 if ${GSTREAMER_LIBS:+false} :; then :
13618 if ${PKG_CONFIG+:} false; then :
13619 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13624 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13625 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13626 ac_save_CPPFLAGS=$CPPFLAGS
13627 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13628 ac_gst_incl=""
13629 for i in $GSTREAMER_CFLAGS
13631 case "$i" in
13632 -I*) ac_gst_incl="$ac_gst_incl $i";;
13633 esac
13634 done
13635 GSTREAMER_CFLAGS=$ac_gst_incl
13636 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13637 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13638 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13640 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13642 /* end confdefs.h. */
13643 #include <gst/gst.h>
13645 main ()
13647 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13649 return 0;
13651 _ACEOF
13652 if ac_fn_c_try_compile "$LINENO"; then :
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13654 $as_echo "yes" >&6; }
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13656 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13657 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13658 $as_echo_n "(cached) " >&6
13659 else
13660 ac_check_lib_save_LIBS=$LIBS
13661 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13663 /* end confdefs.h. */
13665 /* Override any GCC internal prototype to avoid an error.
13666 Use char because int might match the return type of a GCC
13667 builtin and then its argument prototype would still apply. */
13668 #ifdef __cplusplus
13669 extern "C"
13670 #endif
13671 char gst_pad_new ();
13673 main ()
13675 return gst_pad_new ();
13677 return 0;
13679 _ACEOF
13680 if ac_fn_c_try_link "$LINENO"; then :
13681 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13682 else
13683 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13685 rm -f core conftest.err conftest.$ac_objext \
13686 conftest$ac_exeext conftest.$ac_ext
13687 LIBS=$ac_check_lib_save_LIBS
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13690 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13691 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13695 else
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13697 $as_echo "no" >&6; }
13698 ac_glib2_broken=yes
13699 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13705 CPPFLAGS=$ac_save_CPPFLAGS
13706 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13707 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13710 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 :
13711 case "x$with_gstreamer" in
13712 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13713 xno) ;;
13714 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13715 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13716 esac
13719 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13721 ALSA_LIBS=""
13723 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13724 then
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13726 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13727 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13728 $as_echo_n "(cached) " >&6
13729 else
13730 ac_check_lib_save_LIBS=$LIBS
13731 LIBS="-lasound $LIBS"
13732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13733 /* end confdefs.h. */
13735 /* Override any GCC internal prototype to avoid an error.
13736 Use char because int might match the return type of a GCC
13737 builtin and then its argument prototype would still apply. */
13738 #ifdef __cplusplus
13739 extern "C"
13740 #endif
13741 char snd_pcm_hw_params_get_access_mask ();
13743 main ()
13745 return snd_pcm_hw_params_get_access_mask ();
13747 return 0;
13749 _ACEOF
13750 if ac_fn_c_try_link "$LINENO"; then :
13751 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13752 else
13753 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13755 rm -f core conftest.err conftest.$ac_objext \
13756 conftest$ac_exeext conftest.$ac_ext
13757 LIBS=$ac_check_lib_save_LIBS
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13760 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13761 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13763 /* end confdefs.h. */
13764 #ifdef HAVE_ALSA_ASOUNDLIB_H
13765 #include <alsa/asoundlib.h>
13766 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13767 #include <sys/asoundlib.h>
13768 #endif
13770 main ()
13772 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13774 return 0;
13776 _ACEOF
13777 if ac_fn_c_try_compile "$LINENO"; then :
13778 ALSA_LIBS="-lasound"
13780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13784 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13786 if test "x$with_oss" != xno
13787 then
13788 ac_save_CPPFLAGS="$CPPFLAGS"
13789 if test -f /etc/oss.conf
13790 then
13791 . /etc/oss.conf
13793 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13794 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13795 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13796 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13797 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13799 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13801 cat >>confdefs.h <<_ACEOF
13802 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13803 _ACEOF
13805 OSS4_CFLAGS="$ac_oss_incl"
13812 CPPFLAGS="$ac_save_CPPFLAGS"
13814 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13815 case "x$with_oss" in
13816 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13817 xno) ;;
13818 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13819 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13820 esac
13821 enable_wineoss_drv=${enable_wineoss_drv:-no}
13824 if test "x$with_udev" != "xno"
13825 then
13826 if ${UDEV_CFLAGS:+false} :; then :
13827 if ${PKG_CONFIG+:} false; then :
13828 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13832 if ${UDEV_LIBS:+false} :; then :
13833 if ${PKG_CONFIG+:} false; then :
13834 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13838 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13839 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13840 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13841 ac_save_CPPFLAGS=$CPPFLAGS
13842 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13843 for ac_header in libudev.h
13844 do :
13845 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13846 if test "x$ac_cv_header_libudev_h" = xyes; then :
13847 cat >>confdefs.h <<_ACEOF
13848 #define HAVE_LIBUDEV_H 1
13849 _ACEOF
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13851 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13852 if ${ac_cv_lib_udev_udev_new+:} false; then :
13853 $as_echo_n "(cached) " >&6
13854 else
13855 ac_check_lib_save_LIBS=$LIBS
13856 LIBS="-ludev $UDEV_LIBS $LIBS"
13857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13858 /* end confdefs.h. */
13860 /* Override any GCC internal prototype to avoid an error.
13861 Use char because int might match the return type of a GCC
13862 builtin and then its argument prototype would still apply. */
13863 #ifdef __cplusplus
13864 extern "C"
13865 #endif
13866 char udev_new ();
13868 main ()
13870 return udev_new ();
13872 return 0;
13874 _ACEOF
13875 if ac_fn_c_try_link "$LINENO"; then :
13876 ac_cv_lib_udev_udev_new=yes
13877 else
13878 ac_cv_lib_udev_udev_new=no
13880 rm -f core conftest.err conftest.$ac_objext \
13881 conftest$ac_exeext conftest.$ac_ext
13882 LIBS=$ac_check_lib_save_LIBS
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13885 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13886 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13888 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13890 else
13891 UDEV_LIBS=""
13894 else
13895 UDEV_LIBS=""
13898 done
13900 CPPFLAGS=$ac_save_CPPFLAGS
13901 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13902 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13905 if test "x$UDEV_LIBS" = "x"; then :
13906 case "x$with_udev" in
13907 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13908 xno) ;;
13909 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13910 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13911 esac
13915 if test "x$with_sdl" != "xno"
13916 then
13917 if ${SDL2_CFLAGS:+false} :; then :
13918 if ${PKG_CONFIG+:} false; then :
13919 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13923 if ${SDL2_LIBS:+false} :; then :
13924 if ${PKG_CONFIG+:} false; then :
13925 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13929 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13930 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13931 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13932 ac_save_CPPFLAGS=$CPPFLAGS
13933 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13934 for ac_header in SDL2/SDL.h
13935 do :
13936 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13937 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13938 cat >>confdefs.h <<_ACEOF
13939 #define HAVE_SDL2_SDL_H 1
13940 _ACEOF
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13942 $as_echo_n "checking for -lSDL2... " >&6; }
13943 if ${ac_cv_lib_soname_SDL2+:} false; then :
13944 $as_echo_n "(cached) " >&6
13945 else
13946 ac_check_soname_save_LIBS=$LIBS
13947 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
13948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h. */
13951 /* Override any GCC internal prototype to avoid an error.
13952 Use char because int might match the return type of a GCC
13953 builtin and then its argument prototype would still apply. */
13954 #ifdef __cplusplus
13955 extern "C"
13956 #endif
13957 char SDL_Init ();
13959 main ()
13961 return SDL_Init ();
13963 return 0;
13965 _ACEOF
13966 if ac_fn_c_try_link "$LINENO"; then :
13967 case "$LIBEXT" in
13968 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13969 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'` ;;
13970 *) 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'`
13971 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13972 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13973 fi ;;
13974 esac
13976 rm -f core conftest.err conftest.$ac_objext \
13977 conftest$ac_exeext conftest.$ac_ext
13978 LIBS=$ac_check_soname_save_LIBS
13980 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13982 $as_echo "not found" >&6; }
13984 else
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13986 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13988 cat >>confdefs.h <<_ACEOF
13989 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13990 _ACEOF
13996 done
13998 CPPFLAGS=$ac_save_CPPFLAGS
13999 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14000 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14003 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14004 case "x$with_sdl" in
14005 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14006 xno) ;;
14007 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14008 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14009 esac
14013 if test "x$with_faudio" != "xno"
14014 then
14015 if ${FAUDIO_CFLAGS:+false} :; then :
14016 if ${PKG_CONFIG+:} false; then :
14017 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
14021 if ${FAUDIO_LIBS:+false} :; then :
14022 if ${PKG_CONFIG+:} false; then :
14023 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
14027 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
14028 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
14029 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
14030 ac_save_CPPFLAGS=$CPPFLAGS
14031 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
14032 for ac_header in FAudio.h
14033 do :
14034 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
14035 if test "x$ac_cv_header_FAudio_h" = xyes; then :
14036 cat >>confdefs.h <<_ACEOF
14037 #define HAVE_FAUDIO_H 1
14038 _ACEOF
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
14040 $as_echo_n "checking for -lFAudio... " >&6; }
14041 if ${ac_cv_lib_soname_FAudio+:} false; then :
14042 $as_echo_n "(cached) " >&6
14043 else
14044 ac_check_soname_save_LIBS=$LIBS
14045 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
14046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14049 /* Override any GCC internal prototype to avoid an error.
14050 Use char because int might match the return type of a GCC
14051 builtin and then its argument prototype would still apply. */
14052 #ifdef __cplusplus
14053 extern "C"
14054 #endif
14055 char FAudioCreate ();
14057 main ()
14059 return FAudioCreate ();
14061 return 0;
14063 _ACEOF
14064 if ac_fn_c_try_link "$LINENO"; then :
14065 case "$LIBEXT" in
14066 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14067 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'` ;;
14068 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14069 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14070 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14071 fi ;;
14072 esac
14074 rm -f core conftest.err conftest.$ac_objext \
14075 conftest$ac_exeext conftest.$ac_ext
14076 LIBS=$ac_check_soname_save_LIBS
14078 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14080 $as_echo "not found" >&6; }
14082 else
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
14084 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
14086 cat >>confdefs.h <<_ACEOF
14087 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
14088 _ACEOF
14094 done
14096 CPPFLAGS=$ac_save_CPPFLAGS
14097 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14098 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14101 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
14102 case "x$with_faudio" in
14103 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
14104 xno) ;;
14105 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
14106 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
14107 esac
14111 if test "x$with_capi" != "xno"
14112 then
14113 if ${CAPI20_CFLAGS:+false} :; then :
14114 if ${PKG_CONFIG+:} false; then :
14115 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
14119 if ${CAPI20_LIBS:+false} :; then :
14120 if ${PKG_CONFIG+:} false; then :
14121 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
14126 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
14127 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
14128 ac_save_CPPFLAGS=$CPPFLAGS
14129 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
14130 for ac_header in capi20.h linux/capi.h
14131 do :
14132 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14133 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
14135 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14136 cat >>confdefs.h <<_ACEOF
14137 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14138 _ACEOF
14142 done
14144 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14145 then
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
14147 $as_echo_n "checking for -lcapi20... " >&6; }
14148 if ${ac_cv_lib_soname_capi20+:} false; then :
14149 $as_echo_n "(cached) " >&6
14150 else
14151 ac_check_soname_save_LIBS=$LIBS
14152 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
14153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14154 /* end confdefs.h. */
14156 /* Override any GCC internal prototype to avoid an error.
14157 Use char because int might match the return type of a GCC
14158 builtin and then its argument prototype would still apply. */
14159 #ifdef __cplusplus
14160 extern "C"
14161 #endif
14162 char capi20_register ();
14164 main ()
14166 return capi20_register ();
14168 return 0;
14170 _ACEOF
14171 if ac_fn_c_try_link "$LINENO"; then :
14172 case "$LIBEXT" in
14173 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14174 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'` ;;
14175 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14176 if ${ac_cv_lib_soname_capi20:+false} :; then :
14177 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14178 fi ;;
14179 esac
14181 rm -f core conftest.err conftest.$ac_objext \
14182 conftest$ac_exeext conftest.$ac_ext
14183 LIBS=$ac_check_soname_save_LIBS
14185 if ${ac_cv_lib_soname_capi20:+false} :; then :
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14187 $as_echo "not found" >&6; }
14189 else
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
14191 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
14193 cat >>confdefs.h <<_ACEOF
14194 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14195 _ACEOF
14200 CPPFLAGS=$ac_save_CPPFLAGS
14201 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14202 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14205 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
14206 case "x$with_capi" in
14207 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
14208 xno) ;;
14209 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
14210 This is an error since --with-capi was requested." "$LINENO" 5 ;;
14211 esac
14215 if test "x$with_cups" != "xno"
14216 then
14217 if ${CUPS_CFLAGS:+false} :; then :
14218 if ${PKG_CONFIG+:} false; then :
14219 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
14222 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
14223 if ${CUPS_LIBS:+false} :; then :
14224 if ${PKG_CONFIG+:} false; then :
14225 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
14228 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
14229 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
14230 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
14231 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
14232 ac_save_CPPFLAGS=$CPPFLAGS
14233 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
14234 for ac_header in cups/cups.h cups/ppd.h
14235 do :
14236 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14237 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14238 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14239 cat >>confdefs.h <<_ACEOF
14240 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14241 _ACEOF
14245 done
14247 if test "$ac_cv_header_cups_cups_h" = "yes"
14248 then
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14250 $as_echo_n "checking for -lcups... " >&6; }
14251 if ${ac_cv_lib_soname_cups+:} false; then :
14252 $as_echo_n "(cached) " >&6
14253 else
14254 ac_check_soname_save_LIBS=$LIBS
14255 LIBS="-lcups $CUPS_LIBS $LIBS"
14256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14257 /* end confdefs.h. */
14259 /* Override any GCC internal prototype to avoid an error.
14260 Use char because int might match the return type of a GCC
14261 builtin and then its argument prototype would still apply. */
14262 #ifdef __cplusplus
14263 extern "C"
14264 #endif
14265 char cupsGetDefault ();
14267 main ()
14269 return cupsGetDefault ();
14271 return 0;
14273 _ACEOF
14274 if ac_fn_c_try_link "$LINENO"; then :
14275 case "$LIBEXT" in
14276 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14277 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'` ;;
14278 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14279 if ${ac_cv_lib_soname_cups:+false} :; then :
14280 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14281 fi ;;
14282 esac
14284 rm -f core conftest.err conftest.$ac_objext \
14285 conftest$ac_exeext conftest.$ac_ext
14286 LIBS=$ac_check_soname_save_LIBS
14288 if ${ac_cv_lib_soname_cups:+false} :; then :
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14290 $as_echo "not found" >&6; }
14291 CUPS_LIBS=""
14292 else
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14294 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14296 cat >>confdefs.h <<_ACEOF
14297 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14298 _ACEOF
14302 else
14303 CUPS_CFLAGS=""
14304 CUPS_LIBS=""
14306 CPPFLAGS=$ac_save_CPPFLAGS
14307 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14308 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14311 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14312 case "x$with_cups" in
14313 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14314 xno) ;;
14315 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14316 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14317 esac
14321 if test "x$with_fontconfig" != "xno"
14322 then
14323 if ${FONTCONFIG_CFLAGS:+false} :; then :
14324 if ${PKG_CONFIG+:} false; then :
14325 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14328 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14329 if ${FONTCONFIG_LIBS:+false} :; then :
14330 if ${PKG_CONFIG+:} false; then :
14331 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14334 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14336 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14337 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14338 ac_save_CPPFLAGS=$CPPFLAGS
14339 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14340 for ac_header in fontconfig/fontconfig.h
14341 do :
14342 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14343 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14344 cat >>confdefs.h <<_ACEOF
14345 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14346 _ACEOF
14350 done
14352 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14353 then
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14355 $as_echo_n "checking for -lfontconfig... " >&6; }
14356 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14357 $as_echo_n "(cached) " >&6
14358 else
14359 ac_check_soname_save_LIBS=$LIBS
14360 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14362 /* end confdefs.h. */
14364 /* Override any GCC internal prototype to avoid an error.
14365 Use char because int might match the return type of a GCC
14366 builtin and then its argument prototype would still apply. */
14367 #ifdef __cplusplus
14368 extern "C"
14369 #endif
14370 char FcInit ();
14372 main ()
14374 return FcInit ();
14376 return 0;
14378 _ACEOF
14379 if ac_fn_c_try_link "$LINENO"; then :
14380 case "$LIBEXT" in
14381 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14382 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'` ;;
14383 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14384 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14385 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14386 fi ;;
14387 esac
14389 rm -f core conftest.err conftest.$ac_objext \
14390 conftest$ac_exeext conftest.$ac_ext
14391 LIBS=$ac_check_soname_save_LIBS
14393 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14395 $as_echo "not found" >&6; }
14396 FONTCONFIG_CFLAGS=""
14397 else
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14399 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14401 cat >>confdefs.h <<_ACEOF
14402 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14403 _ACEOF
14407 else
14408 FONTCONFIG_CFLAGS=""
14410 CPPFLAGS=$ac_save_CPPFLAGS
14411 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14412 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14415 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14416 case "x$with_fontconfig" in
14417 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14418 xno) ;;
14419 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14420 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14421 esac
14425 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14426 then
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14428 $as_echo_n "checking for -lgsm... " >&6; }
14429 if ${ac_cv_lib_soname_gsm+:} false; then :
14430 $as_echo_n "(cached) " >&6
14431 else
14432 ac_check_soname_save_LIBS=$LIBS
14433 LIBS="-lgsm $LIBS"
14434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14435 /* end confdefs.h. */
14437 /* Override any GCC internal prototype to avoid an error.
14438 Use char because int might match the return type of a GCC
14439 builtin and then its argument prototype would still apply. */
14440 #ifdef __cplusplus
14441 extern "C"
14442 #endif
14443 char gsm_create ();
14445 main ()
14447 return gsm_create ();
14449 return 0;
14451 _ACEOF
14452 if ac_fn_c_try_link "$LINENO"; then :
14453 case "$LIBEXT" in
14454 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14455 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'` ;;
14456 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14457 if ${ac_cv_lib_soname_gsm:+false} :; then :
14458 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14459 fi ;;
14460 esac
14462 rm -f core conftest.err conftest.$ac_objext \
14463 conftest$ac_exeext conftest.$ac_ext
14464 LIBS=$ac_check_soname_save_LIBS
14466 if ${ac_cv_lib_soname_gsm:+false} :; then :
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14468 $as_echo "not found" >&6; }
14470 else
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14472 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14474 cat >>confdefs.h <<_ACEOF
14475 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14476 _ACEOF
14481 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14482 case "x$with_gsm" in
14483 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14484 xno) ;;
14485 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14486 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14487 esac
14491 if test "x$with_krb5" != "xno"
14492 then
14493 if ${KRB5_CFLAGS:+false} :; then :
14494 if ${PKG_CONFIG+:} false; then :
14495 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14498 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14499 if ${KRB5_LIBS:+false} :; then :
14500 if ${PKG_CONFIG+:} false; then :
14501 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14504 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14506 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14507 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14508 ac_save_CPPFLAGS=$CPPFLAGS
14509 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14510 for ac_header in krb5/krb5.h
14511 do :
14512 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14513 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14514 cat >>confdefs.h <<_ACEOF
14515 #define HAVE_KRB5_KRB5_H 1
14516 _ACEOF
14520 done
14522 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14523 then
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14525 $as_echo_n "checking for -lkrb5... " >&6; }
14526 if ${ac_cv_lib_soname_krb5+:} false; then :
14527 $as_echo_n "(cached) " >&6
14528 else
14529 ac_check_soname_save_LIBS=$LIBS
14530 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14532 /* end confdefs.h. */
14534 /* Override any GCC internal prototype to avoid an error.
14535 Use char because int might match the return type of a GCC
14536 builtin and then its argument prototype would still apply. */
14537 #ifdef __cplusplus
14538 extern "C"
14539 #endif
14540 char krb5_is_config_principal ();
14542 main ()
14544 return krb5_is_config_principal ();
14546 return 0;
14548 _ACEOF
14549 if ac_fn_c_try_link "$LINENO"; then :
14550 case "$LIBEXT" in
14551 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14552 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'` ;;
14553 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14554 if ${ac_cv_lib_soname_krb5:+false} :; then :
14555 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14556 fi ;;
14557 esac
14559 rm -f core conftest.err conftest.$ac_objext \
14560 conftest$ac_exeext conftest.$ac_ext
14561 LIBS=$ac_check_soname_save_LIBS
14563 if ${ac_cv_lib_soname_krb5:+false} :; then :
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14565 $as_echo "not found" >&6; }
14566 KRB5_CFLAGS=""
14567 else
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14569 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14571 cat >>confdefs.h <<_ACEOF
14572 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14573 _ACEOF
14577 else
14578 KRB5_CFLAGS=""
14580 CPPFLAGS=$ac_save_CPPFLAGS
14581 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14582 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14584 else
14585 with_gssapi=${with_gssapi:-no}
14587 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14588 case "x$with_krb5" in
14589 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14590 xno) ;;
14591 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14592 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14593 esac
14597 if test "x$with_gssapi" != "xno"
14598 then
14599 if ${GSSAPI_CFLAGS:+false} :; then :
14600 if ${PKG_CONFIG+:} false; then :
14601 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14604 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14605 if ${GSSAPI_LIBS:+false} :; then :
14606 if ${PKG_CONFIG+:} false; then :
14607 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14610 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14612 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14613 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14614 ac_save_CPPFLAGS=$CPPFLAGS
14615 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14616 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14617 do :
14618 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14619 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14620 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14621 cat >>confdefs.h <<_ACEOF
14622 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14623 _ACEOF
14627 done
14629 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14630 then
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14632 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14633 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14634 $as_echo_n "(cached) " >&6
14635 else
14636 ac_check_soname_save_LIBS=$LIBS
14637 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14639 /* end confdefs.h. */
14641 /* Override any GCC internal prototype to avoid an error.
14642 Use char because int might match the return type of a GCC
14643 builtin and then its argument prototype would still apply. */
14644 #ifdef __cplusplus
14645 extern "C"
14646 #endif
14647 char gss_init_sec_context ();
14649 main ()
14651 return gss_init_sec_context ();
14653 return 0;
14655 _ACEOF
14656 if ac_fn_c_try_link "$LINENO"; then :
14657 case "$LIBEXT" in
14658 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14659 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'` ;;
14660 *) 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'`
14661 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14662 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14663 fi ;;
14664 esac
14666 rm -f core conftest.err conftest.$ac_objext \
14667 conftest$ac_exeext conftest.$ac_ext
14668 LIBS=$ac_check_soname_save_LIBS
14670 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14672 $as_echo "not found" >&6; }
14673 GSSAPI_CFLAGS=""
14674 else
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14676 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14678 cat >>confdefs.h <<_ACEOF
14679 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14680 _ACEOF
14684 else
14685 GSSAPI_CFLAGS=""
14687 CPPFLAGS=$ac_save_CPPFLAGS
14688 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14689 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14692 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14693 case "x$with_gssapi" in
14694 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14695 xno) ;;
14696 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14697 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14698 esac
14702 if test "x$with_jpeg" != "xno"
14703 then
14704 if ${JPEG_CFLAGS:+false} :; then :
14705 if ${PKG_CONFIG+:} false; then :
14706 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14710 if ${JPEG_LIBS:+false} :; then :
14711 if ${PKG_CONFIG+:} false; then :
14712 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14717 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14718 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14719 ac_save_CPPFLAGS=$CPPFLAGS
14720 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14721 for ac_header in jpeglib.h
14722 do :
14723 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14724 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14725 cat >>confdefs.h <<_ACEOF
14726 #define HAVE_JPEGLIB_H 1
14727 _ACEOF
14731 done
14733 if test "$ac_cv_header_jpeglib_h" = "yes"
14734 then
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14736 $as_echo_n "checking for -ljpeg... " >&6; }
14737 if ${ac_cv_lib_soname_jpeg+:} false; then :
14738 $as_echo_n "(cached) " >&6
14739 else
14740 ac_check_soname_save_LIBS=$LIBS
14741 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14743 /* end confdefs.h. */
14745 /* Override any GCC internal prototype to avoid an error.
14746 Use char because int might match the return type of a GCC
14747 builtin and then its argument prototype would still apply. */
14748 #ifdef __cplusplus
14749 extern "C"
14750 #endif
14751 char jpeg_start_decompress ();
14753 main ()
14755 return jpeg_start_decompress ();
14757 return 0;
14759 _ACEOF
14760 if ac_fn_c_try_link "$LINENO"; then :
14761 case "$LIBEXT" in
14762 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14763 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'` ;;
14764 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14765 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14766 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14767 fi ;;
14768 esac
14770 rm -f core conftest.err conftest.$ac_objext \
14771 conftest$ac_exeext conftest.$ac_ext
14772 LIBS=$ac_check_soname_save_LIBS
14774 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14776 $as_echo "not found" >&6; }
14777 JPEG_CFLAGS=""
14778 else
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14780 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14782 cat >>confdefs.h <<_ACEOF
14783 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14784 _ACEOF
14788 else
14789 JPEG_CFLAGS=""
14791 CPPFLAGS=$ac_save_CPPFLAGS
14792 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14793 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14796 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14797 case "x$with_jpeg" in
14798 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14799 xno) ;;
14800 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14801 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14802 esac
14806 if test "x$with_png" != "xno"
14807 then
14808 if ${PNG_CFLAGS:+false} :; then :
14809 if ${PKG_CONFIG+:} false; then :
14810 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14813 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14814 if ${PNG_LIBS:+false} :; then :
14815 if ${PKG_CONFIG+:} false; then :
14816 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14819 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14821 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14822 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14823 ac_save_CPPFLAGS=$CPPFLAGS
14824 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14825 for ac_header in png.h
14826 do :
14827 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14828 if test "x$ac_cv_header_png_h" = xyes; then :
14829 cat >>confdefs.h <<_ACEOF
14830 #define HAVE_PNG_H 1
14831 _ACEOF
14835 done
14837 if test "$ac_cv_header_png_h" = "yes"
14838 then
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14840 $as_echo_n "checking for -lpng... " >&6; }
14841 if ${ac_cv_lib_soname_png+:} false; then :
14842 $as_echo_n "(cached) " >&6
14843 else
14844 ac_check_soname_save_LIBS=$LIBS
14845 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14849 /* Override any GCC internal prototype to avoid an error.
14850 Use char because int might match the return type of a GCC
14851 builtin and then its argument prototype would still apply. */
14852 #ifdef __cplusplus
14853 extern "C"
14854 #endif
14855 char png_create_read_struct ();
14857 main ()
14859 return png_create_read_struct ();
14861 return 0;
14863 _ACEOF
14864 if ac_fn_c_try_link "$LINENO"; then :
14865 case "$LIBEXT" in
14866 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14867 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'` ;;
14868 *) 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'`
14869 if ${ac_cv_lib_soname_png:+false} :; then :
14870 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14871 fi ;;
14872 esac
14874 rm -f core conftest.err conftest.$ac_objext \
14875 conftest$ac_exeext conftest.$ac_ext
14876 LIBS=$ac_check_soname_save_LIBS
14878 if ${ac_cv_lib_soname_png:+false} :; then :
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14880 $as_echo "not found" >&6; }
14881 PNG_CFLAGS=""
14882 else
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14884 $as_echo "$ac_cv_lib_soname_png" >&6; }
14886 cat >>confdefs.h <<_ACEOF
14887 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14888 _ACEOF
14892 else
14893 PNG_CFLAGS=""
14895 CPPFLAGS=$ac_save_CPPFLAGS
14896 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14897 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14900 if test "x$ac_cv_lib_soname_png" = "x"; then :
14901 case "x$with_png" in
14902 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14903 xno) ;;
14904 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14905 This is an error since --with-png was requested." "$LINENO" 5 ;;
14906 esac
14910 if test "x$with_tiff" != "xno"
14911 then
14912 if ${TIFF_CFLAGS:+false} :; then :
14913 if ${PKG_CONFIG+:} false; then :
14914 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14918 if ${TIFF_LIBS:+false} :; then :
14919 if ${PKG_CONFIG+:} false; then :
14920 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14925 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14926 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14927 ac_save_CPPFLAGS=$CPPFLAGS
14928 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14929 for ac_header in tiffio.h
14930 do :
14931 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14932 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14933 cat >>confdefs.h <<_ACEOF
14934 #define HAVE_TIFFIO_H 1
14935 _ACEOF
14939 done
14941 if test "$ac_cv_header_tiffio_h" = "yes"
14942 then
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14944 $as_echo_n "checking for -ltiff... " >&6; }
14945 if ${ac_cv_lib_soname_tiff+:} false; then :
14946 $as_echo_n "(cached) " >&6
14947 else
14948 ac_check_soname_save_LIBS=$LIBS
14949 LIBS="-ltiff $TIFF_LIBS $LIBS"
14950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14951 /* end confdefs.h. */
14953 /* Override any GCC internal prototype to avoid an error.
14954 Use char because int might match the return type of a GCC
14955 builtin and then its argument prototype would still apply. */
14956 #ifdef __cplusplus
14957 extern "C"
14958 #endif
14959 char TIFFClientOpen ();
14961 main ()
14963 return TIFFClientOpen ();
14965 return 0;
14967 _ACEOF
14968 if ac_fn_c_try_link "$LINENO"; then :
14969 case "$LIBEXT" in
14970 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14971 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'` ;;
14972 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14973 if ${ac_cv_lib_soname_tiff:+false} :; then :
14974 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14975 fi ;;
14976 esac
14978 rm -f core conftest.err conftest.$ac_objext \
14979 conftest$ac_exeext conftest.$ac_ext
14980 LIBS=$ac_check_soname_save_LIBS
14982 if ${ac_cv_lib_soname_tiff:+false} :; then :
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14984 $as_echo "not found" >&6; }
14986 else
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14988 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14990 cat >>confdefs.h <<_ACEOF
14991 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14992 _ACEOF
14997 CPPFLAGS=$ac_save_CPPFLAGS
14998 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14999 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15002 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
15003 case "x$with_tiff" in
15004 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
15005 xno) ;;
15006 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
15007 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
15008 esac
15012 if test "x$with_mpg123" != "xno"
15013 then
15014 if ${MPG123_CFLAGS:+false} :; then :
15015 if ${PKG_CONFIG+:} false; then :
15016 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
15020 if ${MPG123_LIBS:+false} :; then :
15021 if ${PKG_CONFIG+:} false; then :
15022 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
15026 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
15027 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
15028 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
15029 ac_save_CPPFLAGS=$CPPFLAGS
15030 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
15031 for ac_header in mpg123.h
15032 do :
15033 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
15034 if test "x$ac_cv_header_mpg123_h" = xyes; then :
15035 cat >>confdefs.h <<_ACEOF
15036 #define HAVE_MPG123_H 1
15037 _ACEOF
15041 done
15043 if test "$ac_cv_header_mpg123_h" = "yes"
15044 then
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
15046 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
15047 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
15048 $as_echo_n "(cached) " >&6
15049 else
15050 ac_check_lib_save_LIBS=$LIBS
15051 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
15052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15053 /* end confdefs.h. */
15055 /* Override any GCC internal prototype to avoid an error.
15056 Use char because int might match the return type of a GCC
15057 builtin and then its argument prototype would still apply. */
15058 #ifdef __cplusplus
15059 extern "C"
15060 #endif
15061 char mpg123_feed ();
15063 main ()
15065 return mpg123_feed ();
15067 return 0;
15069 _ACEOF
15070 if ac_fn_c_try_link "$LINENO"; then :
15071 ac_cv_lib_mpg123_mpg123_feed=yes
15072 else
15073 ac_cv_lib_mpg123_mpg123_feed=no
15075 rm -f core conftest.err conftest.$ac_objext \
15076 conftest$ac_exeext conftest.$ac_ext
15077 LIBS=$ac_check_lib_save_LIBS
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
15080 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
15081 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
15083 else
15084 MPG123_LIBS=""
15087 else
15088 MPG123_CFLAGS=""
15089 MPG123_LIBS=""
15091 CPPFLAGS=$ac_save_CPPFLAGS
15092 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15093 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15096 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
15097 case "x$with_mpg123" in
15098 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
15099 xno) ;;
15100 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
15101 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
15102 esac
15103 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
15105 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
15107 if test "$ac_cv_header_AL_al_h" = "yes"
15108 then
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
15110 $as_echo_n "checking for -lopenal... " >&6; }
15111 if ${ac_cv_lib_soname_openal+:} false; then :
15112 $as_echo_n "(cached) " >&6
15113 else
15114 ac_check_soname_save_LIBS=$LIBS
15115 LIBS="-lopenal $LIBS"
15116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15117 /* end confdefs.h. */
15119 /* Override any GCC internal prototype to avoid an error.
15120 Use char because int might match the return type of a GCC
15121 builtin and then its argument prototype would still apply. */
15122 #ifdef __cplusplus
15123 extern "C"
15124 #endif
15125 char alGetSource3i ();
15127 main ()
15129 return alGetSource3i ();
15131 return 0;
15133 _ACEOF
15134 if ac_fn_c_try_link "$LINENO"; then :
15135 case "$LIBEXT" in
15136 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15137 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'` ;;
15138 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15139 if ${ac_cv_lib_soname_openal:+false} :; then :
15140 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15141 fi ;;
15142 esac
15144 rm -f core conftest.err conftest.$ac_objext \
15145 conftest$ac_exeext conftest.$ac_ext
15146 LIBS=$ac_check_soname_save_LIBS
15148 if ${ac_cv_lib_soname_openal:+false} :; then :
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15150 $as_echo "not found" >&6; }
15152 else
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
15154 $as_echo "$ac_cv_lib_soname_openal" >&6; }
15156 cat >>confdefs.h <<_ACEOF
15157 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
15158 _ACEOF
15160 OPENAL_LIBS="-lopenal"
15162 ac_cv_lib_openal=yes
15164 cat >>confdefs.h <<_ACEOF
15165 #define HAVE_OPENAL 1
15166 _ACEOF
15170 if test "x$ac_cv_lib_openal" != xyes; then :
15171 case "x$with_openal" in
15172 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
15173 xno) ;;
15174 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
15175 This is an error since --with-openal was requested." "$LINENO" 5 ;;
15176 esac
15177 enable_openal32=${enable_openal32:-no}
15180 if test "x$ac_cv_lib_soname_FAudio" = "x"
15181 then
15182 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
15183 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
15184 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
15185 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
15186 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
15187 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
15188 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
15189 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
15190 enable_xapofx1_1=${enable_xapofx1_1:-no}
15191 enable_xapofx1_2=${enable_xapofx1_2:-no}
15192 enable_xapofx1_3=${enable_xapofx1_3:-no}
15193 enable_xapofx1_4=${enable_xapofx1_4:-no}
15194 enable_xapofx1_5=${enable_xapofx1_5:-no}
15195 enable_xaudio2_0=${enable_xaudio2_0:-no}
15196 enable_xaudio2_1=${enable_xaudio2_1:-no}
15197 enable_xaudio2_2=${enable_xaudio2_2:-no}
15198 enable_xaudio2_3=${enable_xaudio2_3:-no}
15199 enable_xaudio2_4=${enable_xaudio2_4:-no}
15200 enable_xaudio2_5=${enable_xaudio2_5:-no}
15201 enable_xaudio2_6=${enable_xaudio2_6:-no}
15202 enable_xaudio2_7=${enable_xaudio2_7:-no}
15203 enable_xaudio2_8=${enable_xaudio2_8:-no}
15204 enable_xaudio2_9=${enable_xaudio2_9:-no}
15207 if test "$ac_cv_header_kstat_h" = "yes"
15208 then
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
15210 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
15211 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
15212 $as_echo_n "(cached) " >&6
15213 else
15214 ac_check_lib_save_LIBS=$LIBS
15215 LIBS="-lkstat $LIBS"
15216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15217 /* end confdefs.h. */
15219 /* Override any GCC internal prototype to avoid an error.
15220 Use char because int might match the return type of a GCC
15221 builtin and then its argument prototype would still apply. */
15222 #ifdef __cplusplus
15223 extern "C"
15224 #endif
15225 char kstat_open ();
15227 main ()
15229 return kstat_open ();
15231 return 0;
15233 _ACEOF
15234 if ac_fn_c_try_link "$LINENO"; then :
15235 ac_cv_lib_kstat_kstat_open=yes
15236 else
15237 ac_cv_lib_kstat_kstat_open=no
15239 rm -f core conftest.err conftest.$ac_objext \
15240 conftest$ac_exeext conftest.$ac_ext
15241 LIBS=$ac_check_lib_save_LIBS
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15244 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15245 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15247 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15249 KSTAT_LIBS="-lkstat"
15255 if test "$ac_cv_header_libprocstat_h" = "yes"
15256 then
15257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15258 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15259 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15260 $as_echo_n "(cached) " >&6
15261 else
15262 ac_check_lib_save_LIBS=$LIBS
15263 LIBS="-lprocstat $LIBS"
15264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15267 /* Override any GCC internal prototype to avoid an error.
15268 Use char because int might match the return type of a GCC
15269 builtin and then its argument prototype would still apply. */
15270 #ifdef __cplusplus
15271 extern "C"
15272 #endif
15273 char procstat_open_sysctl ();
15275 main ()
15277 return procstat_open_sysctl ();
15279 return 0;
15281 _ACEOF
15282 if ac_fn_c_try_link "$LINENO"; then :
15283 ac_cv_lib_procstat_procstat_open_sysctl=yes
15284 else
15285 ac_cv_lib_procstat_procstat_open_sysctl=no
15287 rm -f core conftest.err conftest.$ac_objext \
15288 conftest$ac_exeext conftest.$ac_ext
15289 LIBS=$ac_check_lib_save_LIBS
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15292 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15293 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15295 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15297 PROCSTAT_LIBS="-lprocstat"
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15304 $as_echo_n "checking for -lodbc... " >&6; }
15305 if ${ac_cv_lib_soname_odbc+:} false; then :
15306 $as_echo_n "(cached) " >&6
15307 else
15308 ac_check_soname_save_LIBS=$LIBS
15309 LIBS="-lodbc $LIBS"
15310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15311 /* end confdefs.h. */
15313 /* Override any GCC internal prototype to avoid an error.
15314 Use char because int might match the return type of a GCC
15315 builtin and then its argument prototype would still apply. */
15316 #ifdef __cplusplus
15317 extern "C"
15318 #endif
15319 char SQLConnect ();
15321 main ()
15323 return SQLConnect ();
15325 return 0;
15327 _ACEOF
15328 if ac_fn_c_try_link "$LINENO"; then :
15329 case "$LIBEXT" in
15330 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15331 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'` ;;
15332 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15333 if ${ac_cv_lib_soname_odbc:+false} :; then :
15334 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15335 fi ;;
15336 esac
15338 rm -f core conftest.err conftest.$ac_objext \
15339 conftest$ac_exeext conftest.$ac_ext
15340 LIBS=$ac_check_soname_save_LIBS
15342 if ${ac_cv_lib_soname_odbc:+false} :; then :
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15344 $as_echo "not found" >&6; }
15345 cat >>confdefs.h <<_ACEOF
15346 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15347 _ACEOF
15349 else
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15351 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15353 cat >>confdefs.h <<_ACEOF
15354 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15355 _ACEOF
15360 if test "x$with_netapi" != "xno"
15361 then
15362 if ${NETAPI_CFLAGS:+false} :; then :
15363 if ${PKG_CONFIG+:} false; then :
15364 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15368 if ${NETAPI_LIBS:+false} :; then :
15369 if ${PKG_CONFIG+:} false; then :
15370 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15375 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15376 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15377 ac_save_CPPFLAGS=$CPPFLAGS
15378 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15380 $as_echo_n "checking for -lnetapi... " >&6; }
15381 if ${ac_cv_lib_soname_netapi+:} false; then :
15382 $as_echo_n "(cached) " >&6
15383 else
15384 ac_check_soname_save_LIBS=$LIBS
15385 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15387 /* end confdefs.h. */
15389 /* Override any GCC internal prototype to avoid an error.
15390 Use char because int might match the return type of a GCC
15391 builtin and then its argument prototype would still apply. */
15392 #ifdef __cplusplus
15393 extern "C"
15394 #endif
15395 char libnetapi_init ();
15397 main ()
15399 return libnetapi_init ();
15401 return 0;
15403 _ACEOF
15404 if ac_fn_c_try_link "$LINENO"; then :
15405 case "$LIBEXT" in
15406 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15407 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'` ;;
15408 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15409 if ${ac_cv_lib_soname_netapi:+false} :; then :
15410 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15411 fi ;;
15412 esac
15414 rm -f core conftest.err conftest.$ac_objext \
15415 conftest$ac_exeext conftest.$ac_ext
15416 LIBS=$ac_check_soname_save_LIBS
15418 if ${ac_cv_lib_soname_netapi:+false} :; then :
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15420 $as_echo "not found" >&6; }
15421 cat >>confdefs.h <<_ACEOF
15422 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15423 _ACEOF
15425 else
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15427 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15429 cat >>confdefs.h <<_ACEOF
15430 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15431 _ACEOF
15435 CPPFLAGS=$ac_save_CPPFLAGS
15436 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15437 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15441 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15442 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15443 then
15444 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15447 if test "x$with_vulkan" != "xno"
15448 then
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15450 $as_echo_n "checking for -lvulkan... " >&6; }
15451 if ${ac_cv_lib_soname_vulkan+:} false; then :
15452 $as_echo_n "(cached) " >&6
15453 else
15454 ac_check_soname_save_LIBS=$LIBS
15455 LIBS="-lvulkan $LIBS"
15456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15457 /* end confdefs.h. */
15459 /* Override any GCC internal prototype to avoid an error.
15460 Use char because int might match the return type of a GCC
15461 builtin and then its argument prototype would still apply. */
15462 #ifdef __cplusplus
15463 extern "C"
15464 #endif
15465 char vkGetInstanceProcAddr ();
15467 main ()
15469 return vkGetInstanceProcAddr ();
15471 return 0;
15473 _ACEOF
15474 if ac_fn_c_try_link "$LINENO"; then :
15475 case "$LIBEXT" in
15476 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15477 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'` ;;
15478 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15479 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15480 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15481 fi ;;
15482 esac
15484 rm -f core conftest.err conftest.$ac_objext \
15485 conftest$ac_exeext conftest.$ac_ext
15486 LIBS=$ac_check_soname_save_LIBS
15488 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15490 $as_echo "not found" >&6; }
15492 else
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15494 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15496 cat >>confdefs.h <<_ACEOF
15497 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15498 _ACEOF
15502 if test "x$ac_cv_lib_soname_vulkan" = "x"
15503 then
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15505 $as_echo_n "checking for -lMoltenVK... " >&6; }
15506 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15507 $as_echo_n "(cached) " >&6
15508 else
15509 ac_check_soname_save_LIBS=$LIBS
15510 LIBS="-lMoltenVK $LIBS"
15511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15512 /* end confdefs.h. */
15514 /* Override any GCC internal prototype to avoid an error.
15515 Use char because int might match the return type of a GCC
15516 builtin and then its argument prototype would still apply. */
15517 #ifdef __cplusplus
15518 extern "C"
15519 #endif
15520 char vkGetInstanceProcAddr ();
15522 main ()
15524 return vkGetInstanceProcAddr ();
15526 return 0;
15528 _ACEOF
15529 if ac_fn_c_try_link "$LINENO"; then :
15530 case "$LIBEXT" in
15531 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15532 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'` ;;
15533 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15534 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15535 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15536 fi ;;
15537 esac
15539 rm -f core conftest.err conftest.$ac_objext \
15540 conftest$ac_exeext conftest.$ac_ext
15541 LIBS=$ac_check_soname_save_LIBS
15543 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15545 $as_echo "not found" >&6; }
15547 else
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15549 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15551 cat >>confdefs.h <<_ACEOF
15552 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15553 _ACEOF
15559 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15560 case "x$with_vulkan" in
15561 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15562 xno) ;;
15563 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15564 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15565 esac
15569 if test "x$with_vkd3d" != "xno"
15570 then
15571 if ${VKD3D_CFLAGS:+false} :; then :
15572 if ${PKG_CONFIG+:} false; then :
15573 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15577 if ${VKD3D_LIBS:+false} :; then :
15578 if ${PKG_CONFIG+:} false; then :
15579 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15584 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15585 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15586 ac_save_CPPFLAGS=$CPPFLAGS
15587 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15589 $as_echo_n "checking for -lvkd3d... " >&6; }
15590 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15591 $as_echo_n "(cached) " >&6
15592 else
15593 ac_check_soname_save_LIBS=$LIBS
15594 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15596 /* end confdefs.h. */
15598 /* Override any GCC internal prototype to avoid an error.
15599 Use char because int might match the return type of a GCC
15600 builtin and then its argument prototype would still apply. */
15601 #ifdef __cplusplus
15602 extern "C"
15603 #endif
15604 char vkd3d_get_dxgi_format ();
15606 main ()
15608 return vkd3d_get_dxgi_format ();
15610 return 0;
15612 _ACEOF
15613 if ac_fn_c_try_link "$LINENO"; then :
15614 case "$LIBEXT" in
15615 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15616 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'` ;;
15617 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15618 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15619 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15620 fi ;;
15621 esac
15623 rm -f core conftest.err conftest.$ac_objext \
15624 conftest$ac_exeext conftest.$ac_ext
15625 LIBS=$ac_check_soname_save_LIBS
15627 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15629 $as_echo "not found" >&6; }
15631 else
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15633 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15635 cat >>confdefs.h <<_ACEOF
15636 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15637 _ACEOF
15641 CPPFLAGS=$ac_save_CPPFLAGS
15642 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15643 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15646 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15647 case "x$with_vkd3d" in
15648 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
15649 xno) ;;
15650 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
15651 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15652 esac
15655 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15658 EXTRACFLAGS=""
15660 if test "x${GCC}" = "xyes"
15661 then
15662 EXTRACFLAGS="-Wall -pipe"
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15665 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15666 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15667 $as_echo_n "(cached) " >&6
15668 else
15669 if test "$cross_compiling" = yes; then :
15670 ac_cv_c_gcc_strength_bug="no"
15671 else
15672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15673 /* end confdefs.h. */
15674 int L[4] = {0,1,2,3};
15676 main ()
15678 static int Array[3];
15679 unsigned int B = 3;
15680 int i;
15681 for(i=0; i<B; i++) Array[i] = i - 3;
15682 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15683 L[i] = 4;
15684 return (Array[1] != -2 || L[2] != 3)
15686 return 0;
15688 _ACEOF
15689 if ac_fn_c_try_run "$LINENO"; then :
15690 ac_cv_c_gcc_strength_bug="no"
15691 else
15692 ac_cv_c_gcc_strength_bug="yes"
15694 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15695 conftest.$ac_objext conftest.beam conftest.$ac_ext
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15700 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15701 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15702 then
15703 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15707 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15708 if ${ac_cv_cflags__fno_builtin+:} false; then :
15709 $as_echo_n "(cached) " >&6
15710 else
15711 ac_wine_try_cflags_saved=$CFLAGS
15712 CFLAGS="$CFLAGS -fno-builtin"
15713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15714 /* end confdefs.h. */
15715 int main(int argc, char **argv) { return 0; }
15716 _ACEOF
15717 if ac_fn_c_try_link "$LINENO"; then :
15718 ac_cv_cflags__fno_builtin=yes
15719 else
15720 ac_cv_cflags__fno_builtin=no
15722 rm -f core conftest.err conftest.$ac_objext \
15723 conftest$ac_exeext conftest.$ac_ext
15724 CFLAGS=$ac_wine_try_cflags_saved
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15727 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15728 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15729 BUILTINFLAG="-fno-builtin"
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15733 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15734 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15735 $as_echo_n "(cached) " >&6
15736 else
15737 ac_wine_try_cflags_saved=$CFLAGS
15738 CFLAGS="$CFLAGS -fno-strict-aliasing"
15739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15740 /* end confdefs.h. */
15741 int main(int argc, char **argv) { return 0; }
15742 _ACEOF
15743 if ac_fn_c_try_link "$LINENO"; then :
15744 ac_cv_cflags__fno_strict_aliasing=yes
15745 else
15746 ac_cv_cflags__fno_strict_aliasing=no
15748 rm -f core conftest.err conftest.$ac_objext \
15749 conftest$ac_exeext conftest.$ac_ext
15750 CFLAGS=$ac_wine_try_cflags_saved
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15753 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15754 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15755 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15758 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15759 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15760 $as_echo_n "(cached) " >&6
15761 else
15762 ac_wine_try_cflags_saved=$CFLAGS
15763 CFLAGS="$CFLAGS -fexcess-precision=standard"
15764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15765 /* end confdefs.h. */
15766 int main(int argc, char **argv) { return 0; }
15767 _ACEOF
15768 if ac_fn_c_try_link "$LINENO"; then :
15769 ac_cv_cflags__fexcess_precision_standard=yes
15770 else
15771 ac_cv_cflags__fexcess_precision_standard=no
15773 rm -f core conftest.err conftest.$ac_objext \
15774 conftest$ac_exeext conftest.$ac_ext
15775 CFLAGS=$ac_wine_try_cflags_saved
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15778 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15779 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15780 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15783 saved_CFLAGS=$CFLAGS
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15785 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15786 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15787 $as_echo_n "(cached) " >&6
15788 else
15789 ac_wine_try_cflags_saved=$CFLAGS
15790 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15792 /* end confdefs.h. */
15793 int main(int argc, char **argv) { return 0; }
15794 _ACEOF
15795 if ac_fn_c_try_link "$LINENO"; then :
15796 ac_cv_cflags__Werror_unknown_warning_option=yes
15797 else
15798 ac_cv_cflags__Werror_unknown_warning_option=no
15800 rm -f core conftest.err conftest.$ac_objext \
15801 conftest$ac_exeext conftest.$ac_ext
15802 CFLAGS=$ac_wine_try_cflags_saved
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15805 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15806 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15807 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15810 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15811 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15812 $as_echo_n "(cached) " >&6
15813 else
15814 ac_wine_try_cflags_saved=$CFLAGS
15815 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15817 /* end confdefs.h. */
15818 int main(int argc, char **argv) { return 0; }
15819 _ACEOF
15820 if ac_fn_c_try_link "$LINENO"; then :
15821 ac_cv_cflags__Wdeclaration_after_statement=yes
15822 else
15823 ac_cv_cflags__Wdeclaration_after_statement=no
15825 rm -f core conftest.err conftest.$ac_objext \
15826 conftest$ac_exeext conftest.$ac_ext
15827 CFLAGS=$ac_wine_try_cflags_saved
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15830 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15831 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15832 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15835 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15836 if ${ac_cv_cflags__Wempty_body+:} false; then :
15837 $as_echo_n "(cached) " >&6
15838 else
15839 ac_wine_try_cflags_saved=$CFLAGS
15840 CFLAGS="$CFLAGS -Wempty-body"
15841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15842 /* end confdefs.h. */
15843 int main(int argc, char **argv) { return 0; }
15844 _ACEOF
15845 if ac_fn_c_try_link "$LINENO"; then :
15846 ac_cv_cflags__Wempty_body=yes
15847 else
15848 ac_cv_cflags__Wempty_body=no
15850 rm -f core conftest.err conftest.$ac_objext \
15851 conftest$ac_exeext conftest.$ac_ext
15852 CFLAGS=$ac_wine_try_cflags_saved
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15855 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15856 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15857 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15860 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15861 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15862 $as_echo_n "(cached) " >&6
15863 else
15864 ac_wine_try_cflags_saved=$CFLAGS
15865 CFLAGS="$CFLAGS -Wignored-qualifiers"
15866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15867 /* end confdefs.h. */
15868 int main(int argc, char **argv) { return 0; }
15869 _ACEOF
15870 if ac_fn_c_try_link "$LINENO"; then :
15871 ac_cv_cflags__Wignored_qualifiers=yes
15872 else
15873 ac_cv_cflags__Wignored_qualifiers=no
15875 rm -f core conftest.err conftest.$ac_objext \
15876 conftest$ac_exeext conftest.$ac_ext
15877 CFLAGS=$ac_wine_try_cflags_saved
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15880 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15881 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15882 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15885 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15886 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15887 $as_echo_n "(cached) " >&6
15888 else
15889 ac_wine_try_cflags_saved=$CFLAGS
15890 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15892 /* end confdefs.h. */
15893 int main(int argc, char **argv) { return 0; }
15894 _ACEOF
15895 if ac_fn_c_try_link "$LINENO"; then :
15896 ac_cv_cflags__Wpacked_not_aligned=yes
15897 else
15898 ac_cv_cflags__Wpacked_not_aligned=no
15900 rm -f core conftest.err conftest.$ac_objext \
15901 conftest$ac_exeext conftest.$ac_ext
15902 CFLAGS=$ac_wine_try_cflags_saved
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15905 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15906 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15907 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15910 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15911 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15912 $as_echo_n "(cached) " >&6
15913 else
15914 ac_wine_try_cflags_saved=$CFLAGS
15915 CFLAGS="$CFLAGS -Wpragma-pack"
15916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h. */
15918 int main(int argc, char **argv) { return 0; }
15919 _ACEOF
15920 if ac_fn_c_try_link "$LINENO"; then :
15921 ac_cv_cflags__Wpragma_pack=yes
15922 else
15923 ac_cv_cflags__Wpragma_pack=no
15925 rm -f core conftest.err conftest.$ac_objext \
15926 conftest$ac_exeext conftest.$ac_ext
15927 CFLAGS=$ac_wine_try_cflags_saved
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15930 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15931 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15932 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15935 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15936 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15937 $as_echo_n "(cached) " >&6
15938 else
15939 ac_wine_try_cflags_saved=$CFLAGS
15940 CFLAGS="$CFLAGS -Wshift-overflow=2"
15941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15942 /* end confdefs.h. */
15943 int main(int argc, char **argv) { return 0; }
15944 _ACEOF
15945 if ac_fn_c_try_link "$LINENO"; then :
15946 ac_cv_cflags__Wshift_overflow_2=yes
15947 else
15948 ac_cv_cflags__Wshift_overflow_2=no
15950 rm -f core conftest.err conftest.$ac_objext \
15951 conftest$ac_exeext conftest.$ac_ext
15952 CFLAGS=$ac_wine_try_cflags_saved
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15955 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15956 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15957 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15960 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15961 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15962 $as_echo_n "(cached) " >&6
15963 else
15964 ac_wine_try_cflags_saved=$CFLAGS
15965 CFLAGS="$CFLAGS -Wstrict-prototypes"
15966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15967 /* end confdefs.h. */
15968 int main(int argc, char **argv) { return 0; }
15969 _ACEOF
15970 if ac_fn_c_try_link "$LINENO"; then :
15971 ac_cv_cflags__Wstrict_prototypes=yes
15972 else
15973 ac_cv_cflags__Wstrict_prototypes=no
15975 rm -f core conftest.err conftest.$ac_objext \
15976 conftest$ac_exeext conftest.$ac_ext
15977 CFLAGS=$ac_wine_try_cflags_saved
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15980 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15981 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15982 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15985 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15986 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15987 $as_echo_n "(cached) " >&6
15988 else
15989 ac_wine_try_cflags_saved=$CFLAGS
15990 CFLAGS="$CFLAGS -Wtype-limits"
15991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15992 /* end confdefs.h. */
15993 int main(int argc, char **argv) { return 0; }
15994 _ACEOF
15995 if ac_fn_c_try_link "$LINENO"; then :
15996 ac_cv_cflags__Wtype_limits=yes
15997 else
15998 ac_cv_cflags__Wtype_limits=no
16000 rm -f core conftest.err conftest.$ac_objext \
16001 conftest$ac_exeext conftest.$ac_ext
16002 CFLAGS=$ac_wine_try_cflags_saved
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16005 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16006 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16007 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16010 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16011 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16012 $as_echo_n "(cached) " >&6
16013 else
16014 ac_wine_try_cflags_saved=$CFLAGS
16015 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16017 /* end confdefs.h. */
16018 int main(int argc, char **argv) { return 0; }
16019 _ACEOF
16020 if ac_fn_c_try_link "$LINENO"; then :
16021 ac_cv_cflags__Wunused_but_set_parameter=yes
16022 else
16023 ac_cv_cflags__Wunused_but_set_parameter=no
16025 rm -f core conftest.err conftest.$ac_objext \
16026 conftest$ac_exeext conftest.$ac_ext
16027 CFLAGS=$ac_wine_try_cflags_saved
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16030 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16031 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16032 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16035 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16036 if ${ac_cv_cflags__Wvla+:} false; then :
16037 $as_echo_n "(cached) " >&6
16038 else
16039 ac_wine_try_cflags_saved=$CFLAGS
16040 CFLAGS="$CFLAGS -Wvla"
16041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16042 /* end confdefs.h. */
16043 int main(int argc, char **argv) { return 0; }
16044 _ACEOF
16045 if ac_fn_c_try_link "$LINENO"; then :
16046 ac_cv_cflags__Wvla=yes
16047 else
16048 ac_cv_cflags__Wvla=no
16050 rm -f core conftest.err conftest.$ac_objext \
16051 conftest$ac_exeext conftest.$ac_ext
16052 CFLAGS=$ac_wine_try_cflags_saved
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16055 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16056 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16057 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16060 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16061 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16062 $as_echo_n "(cached) " >&6
16063 else
16064 ac_wine_try_cflags_saved=$CFLAGS
16065 CFLAGS="$CFLAGS -Wwrite-strings"
16066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16067 /* end confdefs.h. */
16068 int main(int argc, char **argv) { return 0; }
16069 _ACEOF
16070 if ac_fn_c_try_link "$LINENO"; then :
16071 ac_cv_cflags__Wwrite_strings=yes
16072 else
16073 ac_cv_cflags__Wwrite_strings=no
16075 rm -f core conftest.err conftest.$ac_objext \
16076 conftest$ac_exeext conftest.$ac_ext
16077 CFLAGS=$ac_wine_try_cflags_saved
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16080 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16081 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16082 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16086 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16087 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16088 $as_echo_n "(cached) " >&6
16089 else
16090 ac_wine_try_cflags_saved=$CFLAGS
16091 CFLAGS="$CFLAGS -Wpointer-arith"
16092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16093 /* end confdefs.h. */
16094 int main(int argc, char **argv) { return 0; }
16095 _ACEOF
16096 if ac_fn_c_try_link "$LINENO"; then :
16097 ac_cv_cflags__Wpointer_arith=yes
16098 else
16099 ac_cv_cflags__Wpointer_arith=no
16101 rm -f core conftest.err conftest.$ac_objext \
16102 conftest$ac_exeext conftest.$ac_ext
16103 CFLAGS=$ac_wine_try_cflags_saved
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16106 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16107 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16108 saved_string_h_CFLAGS=$CFLAGS
16109 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
16111 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
16112 if ${ac_cv_c_string_h_warnings+:} false; then :
16113 $as_echo_n "(cached) " >&6
16114 else
16115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16116 /* end confdefs.h. */
16117 #include <string.h>
16119 main ()
16123 return 0;
16125 _ACEOF
16126 if ac_fn_c_try_compile "$LINENO"; then :
16127 ac_cv_c_string_h_warnings=no
16128 else
16129 ac_cv_c_string_h_warnings=yes
16131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
16134 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
16135 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16136 CFLAGS=$saved_string_h_CFLAGS
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
16140 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
16141 if ${ac_cv_cflags__Wlogical_op+:} false; then :
16142 $as_echo_n "(cached) " >&6
16143 else
16144 ac_wine_try_cflags_saved=$CFLAGS
16145 CFLAGS="$CFLAGS -Wlogical-op"
16146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16147 /* end confdefs.h. */
16148 int main(int argc, char **argv) { return 0; }
16149 _ACEOF
16150 if ac_fn_c_try_link "$LINENO"; then :
16151 ac_cv_cflags__Wlogical_op=yes
16152 else
16153 ac_cv_cflags__Wlogical_op=no
16155 rm -f core conftest.err conftest.$ac_objext \
16156 conftest$ac_exeext conftest.$ac_ext
16157 CFLAGS=$ac_wine_try_cflags_saved
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
16160 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
16161 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
16162 saved_string_h_CFLAGS=$CFLAGS
16163 CFLAGS="$CFLAGS -Wlogical-op -Werror"
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
16165 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
16166 if ${ac_cv_c_logicalop_noisy+:} false; then :
16167 $as_echo_n "(cached) " >&6
16168 else
16169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16170 /* end confdefs.h. */
16171 #include <string.h>
16172 char*f(const char *h,char n) {return strchr(h,n);}
16174 main ()
16178 return 0;
16180 _ACEOF
16181 if ac_fn_c_try_compile "$LINENO"; then :
16182 ac_cv_c_logicalop_noisy=no
16183 else
16184 ac_cv_c_logicalop_noisy=yes
16186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
16189 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
16190 CFLAGS=$saved_string_h_CFLAGS
16191 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
16194 CFLAGS=$saved_CFLAGS
16196 for ac_flag in $CFLAGS; do
16197 case $ac_flag in
16198 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
16199 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
16200 if ${ac_cv_cflags__gdwarf_2+:} false; then :
16201 $as_echo_n "(cached) " >&6
16202 else
16203 ac_wine_try_cflags_saved=$CFLAGS
16204 CFLAGS="$CFLAGS -gdwarf-2"
16205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16206 /* end confdefs.h. */
16207 int main(int argc, char **argv) { return 0; }
16208 _ACEOF
16209 if ac_fn_c_try_link "$LINENO"; then :
16210 ac_cv_cflags__gdwarf_2=yes
16211 else
16212 ac_cv_cflags__gdwarf_2=no
16214 rm -f core conftest.err conftest.$ac_objext \
16215 conftest$ac_exeext conftest.$ac_ext
16216 CFLAGS=$ac_wine_try_cflags_saved
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16219 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16220 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16221 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16224 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16225 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16226 $as_echo_n "(cached) " >&6
16227 else
16228 ac_wine_try_cflags_saved=$CFLAGS
16229 CFLAGS="$CFLAGS -gstrict-dwarf"
16230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16231 /* end confdefs.h. */
16232 int main(int argc, char **argv) { return 0; }
16233 _ACEOF
16234 if ac_fn_c_try_link "$LINENO"; then :
16235 ac_cv_cflags__gstrict_dwarf=yes
16236 else
16237 ac_cv_cflags__gstrict_dwarf=no
16239 rm -f core conftest.err conftest.$ac_objext \
16240 conftest$ac_exeext conftest.$ac_ext
16241 CFLAGS=$ac_wine_try_cflags_saved
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16244 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16245 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16246 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16247 fi ;;
16248 esac
16249 done
16251 case $host_cpu in
16252 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16253 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16254 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16255 $as_echo_n "(cached) " >&6
16256 else
16257 ac_wine_try_cflags_saved=$CFLAGS
16258 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16260 /* end confdefs.h. */
16261 int main(int argc, char **argv) { return 0; }
16262 _ACEOF
16263 if ac_fn_c_try_link "$LINENO"; then :
16264 ac_cv_cflags__fno_omit_frame_pointer=yes
16265 else
16266 ac_cv_cflags__fno_omit_frame_pointer=no
16268 rm -f core conftest.err conftest.$ac_objext \
16269 conftest$ac_exeext conftest.$ac_ext
16270 CFLAGS=$ac_wine_try_cflags_saved
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16273 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16274 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16275 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16276 fi ;;
16277 esac
16279 case $host in
16280 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16281 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16282 if ${ac_cv_cflags__Wno_format+:} false; then :
16283 $as_echo_n "(cached) " >&6
16284 else
16285 ac_wine_try_cflags_saved=$CFLAGS
16286 CFLAGS="$CFLAGS -Wno-format"
16287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16288 /* end confdefs.h. */
16289 int main(int argc, char **argv) { return 0; }
16290 _ACEOF
16291 if ac_fn_c_try_link "$LINENO"; then :
16292 ac_cv_cflags__Wno_format=yes
16293 else
16294 ac_cv_cflags__Wno_format=no
16296 rm -f core conftest.err conftest.$ac_objext \
16297 conftest$ac_exeext conftest.$ac_ext
16298 CFLAGS=$ac_wine_try_cflags_saved
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16301 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16302 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16303 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16304 fi ;;
16305 esac
16307 if test "x$enable_maintainer_mode" = "xyes"
16308 then
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16310 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16311 if ${ac_cv_cflags__Werror+:} false; then :
16312 $as_echo_n "(cached) " >&6
16313 else
16314 ac_wine_try_cflags_saved=$CFLAGS
16315 CFLAGS="$CFLAGS -Werror"
16316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16317 /* end confdefs.h. */
16318 int main(int argc, char **argv) { return 0; }
16319 _ACEOF
16320 if ac_fn_c_try_link "$LINENO"; then :
16321 ac_cv_cflags__Werror=yes
16322 else
16323 ac_cv_cflags__Werror=no
16325 rm -f core conftest.err conftest.$ac_objext \
16326 conftest$ac_exeext conftest.$ac_ext
16327 CFLAGS=$ac_wine_try_cflags_saved
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16330 $as_echo "$ac_cv_cflags__Werror" >&6; }
16331 if test "x$ac_cv_cflags__Werror" = xyes; then :
16332 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16336 saved_CFLAGS="$CFLAGS"
16337 CFLAGS="$CFLAGS -Werror"
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16339 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16340 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16341 $as_echo_n "(cached) " >&6
16342 else
16343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16344 /* end confdefs.h. */
16345 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16347 main ()
16351 return 0;
16353 _ACEOF
16354 if ac_fn_c_try_compile "$LINENO"; then :
16355 ac_cv_have_ms_hook_prologue="yes"
16356 else
16357 ac_cv_have_ms_hook_prologue="no"
16359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16362 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16363 CFLAGS="$saved_CFLAGS"
16364 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16365 then
16367 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16369 else
16370 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16377 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16378 if ${ac_cv_c_fortify_enabled+:} false; then :
16379 $as_echo_n "(cached) " >&6
16380 else
16381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16382 /* end confdefs.h. */
16383 #include <string.h>
16385 main ()
16387 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16388 #error Fortify enabled
16389 #endif
16391 return 0;
16393 _ACEOF
16394 if ac_fn_c_try_compile "$LINENO"; then :
16395 ac_cv_c_fortify_enabled=no
16396 else
16397 ac_cv_c_fortify_enabled=yes
16399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16402 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16403 if test "$ac_cv_c_fortify_enabled" = yes
16404 then
16405 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16410 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16411 if ${ac_cv_c_extern_prefix+:} false; then :
16412 $as_echo_n "(cached) " >&6
16413 else
16414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16415 /* end confdefs.h. */
16416 extern int ac_test;
16418 main ()
16420 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16422 return 0;
16424 _ACEOF
16425 if ac_fn_c_try_link "$LINENO"; then :
16426 ac_cv_c_extern_prefix="yes"
16427 else
16428 ac_cv_c_extern_prefix="no"
16430 rm -f core conftest.err conftest.$ac_objext \
16431 conftest$ac_exeext conftest.$ac_ext
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16434 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16436 case $host_cpu in
16437 *i[3456789]86*)
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16439 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16440 if ${ac_cv_c_stdcall_suffix+:} false; then :
16441 $as_echo_n "(cached) " >&6
16442 else
16443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16444 /* end confdefs.h. */
16445 #ifndef _MSC_VER
16446 #define __stdcall __attribute__((__stdcall__))
16447 #endif
16448 int __stdcall ac_test(int i) { return i; }
16450 main ()
16452 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16454 return 0;
16456 _ACEOF
16457 if ac_fn_c_try_link "$LINENO"; then :
16458 ac_cv_c_stdcall_suffix="yes"
16459 else
16460 ac_cv_c_stdcall_suffix="no"
16462 rm -f core conftest.err conftest.$ac_objext \
16463 conftest$ac_exeext conftest.$ac_ext
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16466 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16467 *) ac_cv_c_stdcall_suffix="no" ;;
16468 esac
16471 if test "$ac_cv_c_extern_prefix" = "yes"
16472 then
16473 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16475 asm_name_prefix="_"
16476 else
16477 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16479 asm_name_prefix=""
16483 if test "$ac_cv_c_stdcall_suffix" = "yes"
16484 then
16485 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16487 else
16488 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16494 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16495 if ${ac_cv_asm_func_def+:} false; then :
16496 $as_echo_n "(cached) " >&6
16497 else
16498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16499 /* end confdefs.h. */
16502 main ()
16504 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16506 return 0;
16508 _ACEOF
16509 if ac_fn_c_try_link "$LINENO"; then :
16510 ac_cv_asm_func_def=".def"
16511 else
16512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16513 /* end confdefs.h. */
16516 main ()
16518 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16520 return 0;
16522 _ACEOF
16523 if ac_fn_c_try_link "$LINENO"; then :
16524 ac_cv_asm_func_def=".type @function"
16525 else
16526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16527 /* end confdefs.h. */
16530 main ()
16532 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16534 return 0;
16536 _ACEOF
16537 if ac_fn_c_try_link "$LINENO"; then :
16538 ac_cv_asm_func_def=".type 2"
16539 else
16540 ac_cv_asm_func_def="unknown"
16542 rm -f core conftest.err conftest.$ac_objext \
16543 conftest$ac_exeext conftest.$ac_ext
16545 rm -f core conftest.err conftest.$ac_objext \
16546 conftest$ac_exeext conftest.$ac_ext
16548 rm -f core conftest.err conftest.$ac_objext \
16549 conftest$ac_exeext conftest.$ac_ext
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16552 $as_echo "$ac_cv_asm_func_def" >&6; }
16554 case "$ac_cv_asm_func_def" in
16555 ".def")
16556 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16557 ".type @function")
16558 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16559 ".type 2")
16560 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16562 asm_func_header="" ;;
16563 esac
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16566 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16567 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16568 $as_echo_n "(cached) " >&6
16569 else
16570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16571 /* end confdefs.h. */
16572 asm(".text\n\t.long 0");
16574 main ()
16578 return 0;
16580 _ACEOF
16581 if ac_fn_c_try_compile "$LINENO"; then :
16582 ac_cv_c_asm_outside_funcs="yes"
16583 else
16584 ac_cv_c_asm_outside_funcs="no"
16586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16589 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16592 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16593 if ${ac_cv_c_dot_previous+:} false; then :
16594 $as_echo_n "(cached) " >&6
16595 else
16596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16597 /* end confdefs.h. */
16600 main ()
16602 asm(".text\nac_test:\t.long 0\n\t.previous");
16604 return 0;
16606 _ACEOF
16607 if ac_fn_c_try_link "$LINENO"; then :
16608 ac_cv_c_dot_previous="yes"
16609 else
16610 ac_cv_c_dot_previous="no"
16612 rm -f core conftest.err conftest.$ac_objext \
16613 conftest$ac_exeext conftest.$ac_ext
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16616 $as_echo "$ac_cv_c_dot_previous" >&6; }
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16619 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16620 if ${ac_cv_c_cfi_support+:} false; then :
16621 $as_echo_n "(cached) " >&6
16622 else
16623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16624 /* end confdefs.h. */
16625 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16627 main ()
16631 return 0;
16633 _ACEOF
16634 if ac_fn_c_try_compile "$LINENO"; then :
16635 ac_cv_c_cfi_support="yes"
16636 else
16637 ac_cv_c_cfi_support="no"
16639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16642 $as_echo "$ac_cv_c_cfi_support" >&6; }
16644 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16645 asm_func_trailer=""
16646 if test "$ac_cv_c_dot_previous" = "yes"
16647 then
16648 asm_func_trailer="\\n\\t.previous"
16650 if test "$ac_cv_c_cfi_support" = "yes"
16651 then
16652 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16653 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16655 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16657 UNWINDFLAGS=-fasynchronous-unwind-tables
16659 else
16660 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16662 if test "x$enable_win64" = "xyes"
16663 then
16664 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16668 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16671 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16672 then
16673 cat >>confdefs.h <<_ACEOF
16674 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16675 _ACEOF
16677 else
16678 cat >>confdefs.h <<_ACEOF
16679 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16680 _ACEOF
16684 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16687 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16691 case $build_os in
16692 cygwin*|mingw32*) TOOLSEXT=".exe"
16694 esac
16696 case $host_os in
16697 linux*)
16698 case $host_cpu in
16699 *i[3456789]86*|x86_64*|*aarch64*)
16700 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16701 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16703 esac
16705 esac
16708 ac_save_CFLAGS="$CFLAGS"
16709 CFLAGS="$CFLAGS $BUILTINFLAG"
16710 for ac_func in \
16711 __res_get_state \
16712 __res_getservers \
16713 _spawnvp \
16714 asctime_r \
16715 dlopen \
16716 epoll_create \
16717 ffs \
16718 finitef \
16719 fnmatch \
16720 fork \
16721 fpclass \
16722 fstatfs \
16723 fstatvfs \
16724 futimens \
16725 futimes \
16726 futimesat \
16727 getattrlist \
16728 getauxval \
16729 getifaddrs \
16730 getopt_long_only \
16731 getpwuid \
16732 getuid \
16733 kqueue \
16734 lstat \
16735 mmap \
16736 pipe2 \
16737 poll \
16738 port_create \
16739 prctl \
16740 pread \
16741 proc_pidinfo \
16742 pwrite \
16743 readdir \
16744 readlink \
16745 sched_yield \
16746 select \
16747 setproctitle \
16748 setprogname \
16749 setrlimit \
16750 settimeofday \
16751 sigaltstack \
16752 sigprocmask \
16753 statfs \
16754 statvfs \
16755 strnlen \
16756 strtold \
16757 symlink \
16758 sysinfo \
16759 tcdrain \
16760 thr_kill2 \
16761 timegm \
16762 usleep
16764 do :
16765 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16766 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16767 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16768 cat >>confdefs.h <<_ACEOF
16769 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16770 _ACEOF
16773 done
16775 CFLAGS="$ac_save_CFLAGS"
16777 if test "$ac_cv_func_dlopen" = no
16778 then
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16780 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16781 if ${ac_cv_lib_dl_dlopen+:} false; then :
16782 $as_echo_n "(cached) " >&6
16783 else
16784 ac_check_lib_save_LIBS=$LIBS
16785 LIBS="-ldl $LIBS"
16786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16787 /* end confdefs.h. */
16789 /* Override any GCC internal prototype to avoid an error.
16790 Use char because int might match the return type of a GCC
16791 builtin and then its argument prototype would still apply. */
16792 #ifdef __cplusplus
16793 extern "C"
16794 #endif
16795 char dlopen ();
16797 main ()
16799 return dlopen ();
16801 return 0;
16803 _ACEOF
16804 if ac_fn_c_try_link "$LINENO"; then :
16805 ac_cv_lib_dl_dlopen=yes
16806 else
16807 ac_cv_lib_dl_dlopen=no
16809 rm -f core conftest.err conftest.$ac_objext \
16810 conftest$ac_exeext conftest.$ac_ext
16811 LIBS=$ac_check_lib_save_LIBS
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16814 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16815 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16816 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16817 DL_LIBS="-ldl"
16822 ac_wine_check_funcs_save_LIBS="$LIBS"
16823 LIBS="$LIBS $DL_LIBS"
16824 for ac_func in dladdr
16825 do :
16826 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16827 if test "x$ac_cv_func_dladdr" = xyes; then :
16828 cat >>confdefs.h <<_ACEOF
16829 #define HAVE_DLADDR 1
16830 _ACEOF
16833 done
16835 LIBS="$ac_wine_check_funcs_save_LIBS"
16837 if test "$ac_cv_func_poll" = no
16838 then
16839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16840 $as_echo_n "checking for poll in -lpoll... " >&6; }
16841 if ${ac_cv_lib_poll_poll+:} false; then :
16842 $as_echo_n "(cached) " >&6
16843 else
16844 ac_check_lib_save_LIBS=$LIBS
16845 LIBS="-lpoll $LIBS"
16846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16847 /* end confdefs.h. */
16849 /* Override any GCC internal prototype to avoid an error.
16850 Use char because int might match the return type of a GCC
16851 builtin and then its argument prototype would still apply. */
16852 #ifdef __cplusplus
16853 extern "C"
16854 #endif
16855 char poll ();
16857 main ()
16859 return poll ();
16861 return 0;
16863 _ACEOF
16864 if ac_fn_c_try_link "$LINENO"; then :
16865 ac_cv_lib_poll_poll=yes
16866 else
16867 ac_cv_lib_poll_poll=no
16869 rm -f core conftest.err conftest.$ac_objext \
16870 conftest$ac_exeext conftest.$ac_ext
16871 LIBS=$ac_check_lib_save_LIBS
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16874 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16875 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16876 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16877 POLL_LIBS="-lpoll"
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16884 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16885 if ${ac_cv_search_gethostbyname+:} false; then :
16886 $as_echo_n "(cached) " >&6
16887 else
16888 ac_func_search_save_LIBS=$LIBS
16889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16890 /* end confdefs.h. */
16892 /* Override any GCC internal prototype to avoid an error.
16893 Use char because int might match the return type of a GCC
16894 builtin and then its argument prototype would still apply. */
16895 #ifdef __cplusplus
16896 extern "C"
16897 #endif
16898 char gethostbyname ();
16900 main ()
16902 return gethostbyname ();
16904 return 0;
16906 _ACEOF
16907 for ac_lib in '' nsl; do
16908 if test -z "$ac_lib"; then
16909 ac_res="none required"
16910 else
16911 ac_res=-l$ac_lib
16912 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16914 if ac_fn_c_try_link "$LINENO"; then :
16915 ac_cv_search_gethostbyname=$ac_res
16917 rm -f core conftest.err conftest.$ac_objext \
16918 conftest$ac_exeext
16919 if ${ac_cv_search_gethostbyname+:} false; then :
16920 break
16922 done
16923 if ${ac_cv_search_gethostbyname+:} false; then :
16925 else
16926 ac_cv_search_gethostbyname=no
16928 rm conftest.$ac_ext
16929 LIBS=$ac_func_search_save_LIBS
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16932 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16933 ac_res=$ac_cv_search_gethostbyname
16934 if test "$ac_res" != no; then :
16935 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16941 $as_echo_n "checking for library containing connect... " >&6; }
16942 if ${ac_cv_search_connect+:} false; then :
16943 $as_echo_n "(cached) " >&6
16944 else
16945 ac_func_search_save_LIBS=$LIBS
16946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16947 /* end confdefs.h. */
16949 /* Override any GCC internal prototype to avoid an error.
16950 Use char because int might match the return type of a GCC
16951 builtin and then its argument prototype would still apply. */
16952 #ifdef __cplusplus
16953 extern "C"
16954 #endif
16955 char connect ();
16957 main ()
16959 return connect ();
16961 return 0;
16963 _ACEOF
16964 for ac_lib in '' socket; do
16965 if test -z "$ac_lib"; then
16966 ac_res="none required"
16967 else
16968 ac_res=-l$ac_lib
16969 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16971 if ac_fn_c_try_link "$LINENO"; then :
16972 ac_cv_search_connect=$ac_res
16974 rm -f core conftest.err conftest.$ac_objext \
16975 conftest$ac_exeext
16976 if ${ac_cv_search_connect+:} false; then :
16977 break
16979 done
16980 if ${ac_cv_search_connect+:} false; then :
16982 else
16983 ac_cv_search_connect=no
16985 rm conftest.$ac_ext
16986 LIBS=$ac_func_search_save_LIBS
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16989 $as_echo "$ac_cv_search_connect" >&6; }
16990 ac_res=$ac_cv_search_connect
16991 if test "$ac_res" != no; then :
16992 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16998 $as_echo_n "checking for library containing inet_aton... " >&6; }
16999 if ${ac_cv_search_inet_aton+:} false; then :
17000 $as_echo_n "(cached) " >&6
17001 else
17002 ac_func_search_save_LIBS=$LIBS
17003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h. */
17006 /* Override any GCC internal prototype to avoid an error.
17007 Use char because int might match the return type of a GCC
17008 builtin and then its argument prototype would still apply. */
17009 #ifdef __cplusplus
17010 extern "C"
17011 #endif
17012 char inet_aton ();
17014 main ()
17016 return inet_aton ();
17018 return 0;
17020 _ACEOF
17021 for ac_lib in '' resolv; do
17022 if test -z "$ac_lib"; then
17023 ac_res="none required"
17024 else
17025 ac_res=-l$ac_lib
17026 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17028 if ac_fn_c_try_link "$LINENO"; then :
17029 ac_cv_search_inet_aton=$ac_res
17031 rm -f core conftest.err conftest.$ac_objext \
17032 conftest$ac_exeext
17033 if ${ac_cv_search_inet_aton+:} false; then :
17034 break
17036 done
17037 if ${ac_cv_search_inet_aton+:} false; then :
17039 else
17040 ac_cv_search_inet_aton=no
17042 rm conftest.$ac_ext
17043 LIBS=$ac_func_search_save_LIBS
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17046 $as_echo "$ac_cv_search_inet_aton" >&6; }
17047 ac_res=$ac_cv_search_inet_aton
17048 if test "$ac_res" != no; then :
17049 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17054 for ac_func in \
17055 getaddrinfo \
17056 getnameinfo \
17057 getnetbyname \
17058 getprotobyname \
17059 getprotobynumber \
17060 getservbyport \
17061 inet_addr \
17062 inet_network \
17063 inet_ntop \
17064 inet_pton \
17065 sendmsg \
17066 socketpair \
17068 do :
17069 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17070 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17071 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17072 cat >>confdefs.h <<_ACEOF
17073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17074 _ACEOF
17077 done
17080 ac_save_LIBS=$LIBS
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17082 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17083 if ${ac_cv_search_clock_gettime+:} false; then :
17084 $as_echo_n "(cached) " >&6
17085 else
17086 ac_func_search_save_LIBS=$LIBS
17087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17088 /* end confdefs.h. */
17090 /* Override any GCC internal prototype to avoid an error.
17091 Use char because int might match the return type of a GCC
17092 builtin and then its argument prototype would still apply. */
17093 #ifdef __cplusplus
17094 extern "C"
17095 #endif
17096 char clock_gettime ();
17098 main ()
17100 return clock_gettime ();
17102 return 0;
17104 _ACEOF
17105 for ac_lib in '' rt; do
17106 if test -z "$ac_lib"; then
17107 ac_res="none required"
17108 else
17109 ac_res=-l$ac_lib
17110 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17112 if ac_fn_c_try_link "$LINENO"; then :
17113 ac_cv_search_clock_gettime=$ac_res
17115 rm -f core conftest.err conftest.$ac_objext \
17116 conftest$ac_exeext
17117 if ${ac_cv_search_clock_gettime+:} false; then :
17118 break
17120 done
17121 if ${ac_cv_search_clock_gettime+:} false; then :
17123 else
17124 ac_cv_search_clock_gettime=no
17126 rm conftest.$ac_ext
17127 LIBS=$ac_func_search_save_LIBS
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17130 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17131 ac_res=$ac_cv_search_clock_gettime
17132 if test "$ac_res" != no; then :
17133 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17135 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17137 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17141 LIBS=$ac_save_LIBS
17143 if test "x$with_ldap" != "xno"
17144 then
17145 if ${LDAP_CFLAGS:+false} :; then :
17146 if ${PKG_CONFIG+:} false; then :
17147 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17151 if ${LDAP_LIBS:+false} :; then :
17152 if ${PKG_CONFIG+:} false; then :
17153 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17157 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17158 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17159 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17160 ac_save_CPPFLAGS=$CPPFLAGS
17161 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17162 for ac_header in ldap.h lber.h
17163 do :
17164 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17165 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17166 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17167 cat >>confdefs.h <<_ACEOF
17168 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17169 _ACEOF
17173 done
17175 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17176 then
17177 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17179 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17181 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17182 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17183 $as_echo_n "(cached) " >&6
17184 else
17185 ac_check_lib_save_LIBS=$LIBS
17186 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17188 /* end confdefs.h. */
17190 /* Override any GCC internal prototype to avoid an error.
17191 Use char because int might match the return type of a GCC
17192 builtin and then its argument prototype would still apply. */
17193 #ifdef __cplusplus
17194 extern "C"
17195 #endif
17196 char ldap_initialize ();
17198 main ()
17200 return ldap_initialize ();
17202 return 0;
17204 _ACEOF
17205 if ac_fn_c_try_link "$LINENO"; then :
17206 ac_cv_lib_ldap_r_ldap_initialize=yes
17207 else
17208 ac_cv_lib_ldap_r_ldap_initialize=no
17210 rm -f core conftest.err conftest.$ac_objext \
17211 conftest$ac_exeext conftest.$ac_ext
17212 LIBS=$ac_check_lib_save_LIBS
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17215 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17216 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17218 $as_echo_n "checking for ber_init in -llber... " >&6; }
17219 if ${ac_cv_lib_lber_ber_init+:} false; then :
17220 $as_echo_n "(cached) " >&6
17221 else
17222 ac_check_lib_save_LIBS=$LIBS
17223 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17225 /* end confdefs.h. */
17227 /* Override any GCC internal prototype to avoid an error.
17228 Use char because int might match the return type of a GCC
17229 builtin and then its argument prototype would still apply. */
17230 #ifdef __cplusplus
17231 extern "C"
17232 #endif
17233 char ber_init ();
17235 main ()
17237 return ber_init ();
17239 return 0;
17241 _ACEOF
17242 if ac_fn_c_try_link "$LINENO"; then :
17243 ac_cv_lib_lber_ber_init=yes
17244 else
17245 ac_cv_lib_lber_ber_init=no
17247 rm -f core conftest.err conftest.$ac_objext \
17248 conftest$ac_exeext conftest.$ac_ext
17249 LIBS=$ac_check_lib_save_LIBS
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17252 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17253 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17255 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17257 else
17258 LDAP_LIBS=""
17261 else
17262 LDAP_LIBS=""
17265 else
17266 LDAP_LIBS=""
17269 ac_wine_check_funcs_save_LIBS="$LIBS"
17270 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17271 for ac_func in \
17272 ldap_count_references \
17273 ldap_first_reference \
17274 ldap_next_reference \
17275 ldap_parse_reference \
17276 ldap_parse_sort_control \
17277 ldap_parse_sortresponse_control \
17278 ldap_parse_vlv_control \
17279 ldap_parse_vlvresponse_control
17280 do :
17281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17283 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17284 cat >>confdefs.h <<_ACEOF
17285 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17286 _ACEOF
17289 done
17291 LIBS="$ac_wine_check_funcs_save_LIBS"
17292 else
17293 LDAP_LIBS=""
17295 CPPFLAGS=$ac_save_CPPFLAGS
17296 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17297 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17300 if test "x$LDAP_LIBS" = "x"; then :
17301 case "x$with_ldap" in
17302 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17303 xno) ;;
17304 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17305 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17306 esac
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17311 $as_echo_n "checking for sched_setaffinity... " >&6; }
17312 if ${wine_cv_have_sched_setaffinity+:} false; then :
17313 $as_echo_n "(cached) " >&6
17314 else
17315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17316 /* end confdefs.h. */
17317 #define _GNU_SOURCE
17318 #include <sched.h>
17320 main ()
17322 sched_setaffinity(0, 0, 0);
17324 return 0;
17326 _ACEOF
17327 if ac_fn_c_try_link "$LINENO"; then :
17328 wine_cv_have_sched_setaffinity=yes
17329 else
17330 wine_cv_have_sched_setaffinity=no
17332 rm -f core conftest.err conftest.$ac_objext \
17333 conftest$ac_exeext conftest.$ac_ext
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17336 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17337 if test "$wine_cv_have_sched_setaffinity" = "yes"
17338 then
17340 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17345 $as_echo_n "checking for fallocate... " >&6; }
17346 if ${wine_cv_have_fallocate+:} false; then :
17347 $as_echo_n "(cached) " >&6
17348 else
17349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17350 /* end confdefs.h. */
17351 #define _GNU_SOURCE
17352 #include <fcntl.h>
17354 main ()
17356 fallocate(-1, 0, 0, 0);
17358 return 0;
17360 _ACEOF
17361 if ac_fn_c_try_link "$LINENO"; then :
17362 wine_cv_have_fallocate=yes
17363 else
17364 wine_cv_have_fallocate=no
17366 rm -f core conftest.err conftest.$ac_objext \
17367 conftest$ac_exeext conftest.$ac_ext
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17370 $as_echo "$wine_cv_have_fallocate" >&6; }
17371 if test "$wine_cv_have_fallocate" = "yes"
17372 then
17374 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17380 $as_echo_n "checking for inline... " >&6; }
17381 if ${ac_cv_c_inline+:} false; then :
17382 $as_echo_n "(cached) " >&6
17383 else
17384 ac_cv_c_inline=no
17385 for ac_kw in inline __inline__ __inline; do
17386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17387 /* end confdefs.h. */
17388 #ifndef __cplusplus
17389 typedef int foo_t;
17390 static $ac_kw foo_t static_foo () {return 0; }
17391 $ac_kw foo_t foo () {return 0; }
17392 #endif
17394 _ACEOF
17395 if ac_fn_c_try_compile "$LINENO"; then :
17396 ac_cv_c_inline=$ac_kw
17398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17399 test "$ac_cv_c_inline" != no && break
17400 done
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17404 $as_echo "$ac_cv_c_inline" >&6; }
17406 case $ac_cv_c_inline in
17407 inline | yes) ;;
17409 case $ac_cv_c_inline in
17410 no) ac_val=;;
17411 *) ac_val=$ac_cv_c_inline;;
17412 esac
17413 cat >>confdefs.h <<_ACEOF
17414 #ifndef __cplusplus
17415 #define inline $ac_val
17416 #endif
17417 _ACEOF
17419 esac
17421 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17422 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17424 cat >>confdefs.h <<_ACEOF
17425 #define HAVE_FSBLKCNT_T 1
17426 _ACEOF
17430 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17431 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17433 cat >>confdefs.h <<_ACEOF
17434 #define HAVE_FSFILCNT_T 1
17435 _ACEOF
17440 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17441 #include <signal.h>
17443 if test "x$ac_cv_type_sigset_t" = xyes; then :
17445 cat >>confdefs.h <<_ACEOF
17446 #define HAVE_SIGSET_T 1
17447 _ACEOF
17452 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17454 if test "x$ac_cv_type_request_sense" = xyes; then :
17456 cat >>confdefs.h <<_ACEOF
17457 #define HAVE_REQUEST_SENSE 1
17458 _ACEOF
17464 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17465 #ifdef HAVE_SYS_SOCKET_H
17466 #include <sys/socket.h>
17467 #endif
17468 #ifdef HAVE_SYS_SOCKETVAR_H
17469 #include <sys/socketvar.h>
17470 #endif
17471 #ifdef HAVE_NET_ROUTE_H
17472 #include <net/route.h>
17473 #endif
17474 #ifdef HAVE_NETINET_IN_H
17475 #include <netinet/in.h>
17476 #endif
17477 #ifdef HAVE_NETINET_IN_SYSTM_H
17478 #include <netinet/in_systm.h>
17479 #endif
17480 #ifdef HAVE_NETINET_IP_H
17481 #include <netinet/ip.h>
17482 #endif
17483 #ifdef HAVE_NETINET_IN_PCB_H
17484 #include <netinet/in_pcb.h>
17485 #endif
17487 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17489 cat >>confdefs.h <<_ACEOF
17490 #define HAVE_STRUCT_XINPGEN 1
17491 _ACEOF
17497 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17498 #include <link.h>
17499 #endif
17500 #ifdef HAVE_SYS_LINK_H
17501 #include <sys/link.h>
17502 #endif
17504 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17506 cat >>confdefs.h <<_ACEOF
17507 #define HAVE_STRUCT_R_DEBUG 1
17508 _ACEOF
17512 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17513 #include <link.h>
17514 #endif
17515 #ifdef HAVE_SYS_LINK_H
17516 #include <sys/link.h>
17517 #endif
17519 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17521 cat >>confdefs.h <<_ACEOF
17522 #define HAVE_STRUCT_LINK_MAP 1
17523 _ACEOF
17529 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17530 #include <linux/input.h>
17531 #endif
17533 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17535 cat >>confdefs.h <<_ACEOF
17536 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17537 _ACEOF
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17544 $as_echo_n "checking for if_nameindex... " >&6; }
17545 if ${wine_cv_have_if_nameindex+:} false; then :
17546 $as_echo_n "(cached) " >&6
17547 else
17548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17549 /* end confdefs.h. */
17550 #ifdef HAVE_SYS_TYPES_H
17551 #include <sys/types.h>
17552 #endif
17553 #ifdef HAVE_SYS_SOCKET_H
17554 #include <sys/socket.h>
17555 #endif
17556 #ifdef HAVE_NET_IF_H
17557 # include <net/if.h>
17558 #endif
17560 main ()
17562 struct if_nameindex *p = if_nameindex(); return p->if_index;
17564 return 0;
17566 _ACEOF
17567 if ac_fn_c_try_link "$LINENO"; then :
17568 wine_cv_have_if_nameindex=yes
17569 else
17570 wine_cv_have_if_nameindex=no
17572 rm -f core conftest.err conftest.$ac_objext \
17573 conftest$ac_exeext conftest.$ac_ext
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17576 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17577 if test "$wine_cv_have_if_nameindex" = "yes"
17578 then
17580 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17585 $as_echo_n "checking for sigaddset... " >&6; }
17586 if ${wine_cv_have_sigaddset+:} false; then :
17587 $as_echo_n "(cached) " >&6
17588 else
17589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17590 /* end confdefs.h. */
17591 #include <signal.h>
17593 main ()
17595 sigset_t set; sigaddset(&set,SIGTERM);
17597 return 0;
17599 _ACEOF
17600 if ac_fn_c_try_link "$LINENO"; then :
17601 wine_cv_have_sigaddset=yes
17602 else
17603 wine_cv_have_sigaddset=no
17605 rm -f core conftest.err conftest.$ac_objext \
17606 conftest$ac_exeext conftest.$ac_ext
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17609 $as_echo "$wine_cv_have_sigaddset" >&6; }
17610 if test "$wine_cv_have_sigaddset" = "yes"
17611 then
17613 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17619 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17620 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17621 $as_echo_n "(cached) " >&6
17622 else
17623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17624 /* end confdefs.h. */
17625 #include <netdb.h>
17627 main ()
17630 char *name=0;
17631 struct hostent he;
17632 struct hostent *result;
17633 char *buf=0;
17634 int bufsize=0;
17635 int errnr;
17636 char *addr=0;
17637 int addrlen=0;
17638 int addrtype=0;
17639 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17640 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17643 return 0;
17645 _ACEOF
17646 if ac_fn_c_try_link "$LINENO"; then :
17647 wine_cv_linux_gethostbyname_r_6=yes
17648 else
17649 wine_cv_linux_gethostbyname_r_6=no
17652 rm -f core conftest.err conftest.$ac_objext \
17653 conftest$ac_exeext conftest.$ac_ext
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17657 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17658 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17659 then
17661 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17665 if test "$ac_cv_header_linux_joystick_h" = "yes"
17666 then
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17668 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17669 if ${wine_cv_linux_joystick_22_api+:} false; then :
17670 $as_echo_n "(cached) " >&6
17671 else
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17675 #include <sys/ioctl.h>
17676 #include <sys/types.h>
17677 #include <linux/joystick.h>
17679 struct js_event blub;
17680 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17681 #error "no 2.2 header"
17682 #endif
17685 main ()
17687 /*empty*/
17689 return 0;
17691 _ACEOF
17692 if ac_fn_c_try_compile "$LINENO"; then :
17693 wine_cv_linux_joystick_22_api=yes
17694 else
17695 wine_cv_linux_joystick_22_api=no
17697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17701 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17702 if test "$wine_cv_linux_joystick_22_api" = "yes"
17703 then
17705 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17711 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17712 #ifdef HAVE_SYS_PARAM_H
17713 # include <sys/param.h>
17714 #endif
17715 #ifdef HAVE_SYS_MOUNT_H
17716 # include <sys/mount.h>
17717 #endif
17718 #ifdef HAVE_SYS_VFS_H
17719 # include <sys/vfs.h>
17720 #endif
17721 #ifdef HAVE_SYS_STATFS_H
17722 # include <sys/statfs.h>
17723 #endif
17725 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17727 cat >>confdefs.h <<_ACEOF
17728 #define HAVE_STRUCT_STATFS_F_BFREE 1
17729 _ACEOF
17733 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17734 #ifdef HAVE_SYS_PARAM_H
17735 # include <sys/param.h>
17736 #endif
17737 #ifdef HAVE_SYS_MOUNT_H
17738 # include <sys/mount.h>
17739 #endif
17740 #ifdef HAVE_SYS_VFS_H
17741 # include <sys/vfs.h>
17742 #endif
17743 #ifdef HAVE_SYS_STATFS_H
17744 # include <sys/statfs.h>
17745 #endif
17747 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17749 cat >>confdefs.h <<_ACEOF
17750 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17751 _ACEOF
17755 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17756 #ifdef HAVE_SYS_PARAM_H
17757 # include <sys/param.h>
17758 #endif
17759 #ifdef HAVE_SYS_MOUNT_H
17760 # include <sys/mount.h>
17761 #endif
17762 #ifdef HAVE_SYS_VFS_H
17763 # include <sys/vfs.h>
17764 #endif
17765 #ifdef HAVE_SYS_STATFS_H
17766 # include <sys/statfs.h>
17767 #endif
17769 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17771 cat >>confdefs.h <<_ACEOF
17772 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17773 _ACEOF
17777 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17778 #ifdef HAVE_SYS_PARAM_H
17779 # include <sys/param.h>
17780 #endif
17781 #ifdef HAVE_SYS_MOUNT_H
17782 # include <sys/mount.h>
17783 #endif
17784 #ifdef HAVE_SYS_VFS_H
17785 # include <sys/vfs.h>
17786 #endif
17787 #ifdef HAVE_SYS_STATFS_H
17788 # include <sys/statfs.h>
17789 #endif
17791 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17793 cat >>confdefs.h <<_ACEOF
17794 #define HAVE_STRUCT_STATFS_F_FFREE 1
17795 _ACEOF
17799 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17800 #ifdef HAVE_SYS_PARAM_H
17801 # include <sys/param.h>
17802 #endif
17803 #ifdef HAVE_SYS_MOUNT_H
17804 # include <sys/mount.h>
17805 #endif
17806 #ifdef HAVE_SYS_VFS_H
17807 # include <sys/vfs.h>
17808 #endif
17809 #ifdef HAVE_SYS_STATFS_H
17810 # include <sys/statfs.h>
17811 #endif
17813 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17815 cat >>confdefs.h <<_ACEOF
17816 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17817 _ACEOF
17821 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17822 #ifdef HAVE_SYS_PARAM_H
17823 # include <sys/param.h>
17824 #endif
17825 #ifdef HAVE_SYS_MOUNT_H
17826 # include <sys/mount.h>
17827 #endif
17828 #ifdef HAVE_SYS_VFS_H
17829 # include <sys/vfs.h>
17830 #endif
17831 #ifdef HAVE_SYS_STATFS_H
17832 # include <sys/statfs.h>
17833 #endif
17835 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17837 cat >>confdefs.h <<_ACEOF
17838 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17839 _ACEOF
17845 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17846 #include <sys/statvfs.h>
17847 #endif
17849 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17851 cat >>confdefs.h <<_ACEOF
17852 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17853 _ACEOF
17859 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17860 #include <dirent.h>
17861 #endif
17863 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17865 cat >>confdefs.h <<_ACEOF
17866 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17867 _ACEOF
17873 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17874 #ifdef HAVE_SYS_SOCKET_H
17875 # include <sys/socket.h>
17876 #endif
17877 #ifdef HAVE_SYS_UN_H
17878 # include <sys/un.h>
17879 #endif
17881 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17883 cat >>confdefs.h <<_ACEOF
17884 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17885 _ACEOF
17889 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17890 #ifdef HAVE_SYS_SOCKET_H
17891 # include <sys/socket.h>
17892 #endif
17893 #ifdef HAVE_SYS_UN_H
17894 # include <sys/un.h>
17895 #endif
17897 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17899 cat >>confdefs.h <<_ACEOF
17900 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17901 _ACEOF
17905 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17906 #ifdef HAVE_SYS_SOCKET_H
17907 # include <sys/socket.h>
17908 #endif
17909 #ifdef HAVE_SYS_UN_H
17910 # include <sys/un.h>
17911 #endif
17913 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17915 cat >>confdefs.h <<_ACEOF
17916 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17917 _ACEOF
17923 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17924 #ifdef HAVE_SCSI_SG_H
17925 #include <scsi/sg.h>
17926 #endif
17928 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17930 cat >>confdefs.h <<_ACEOF
17931 #define HAVE_SCSIREQ_T_CMD 1
17932 _ACEOF
17936 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>
17937 #ifdef HAVE_SCSI_SG_H
17938 #include <scsi/sg.h>
17939 #endif
17941 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17943 cat >>confdefs.h <<_ACEOF
17944 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17945 _ACEOF
17951 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17953 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17955 cat >>confdefs.h <<_ACEOF
17956 #define HAVE_SIGINFO_T_SI_FD 1
17957 _ACEOF
17963 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17964 #ifdef HAVE_SYS_MTIO_H
17965 #include <sys/mtio.h>
17966 #endif
17968 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17970 cat >>confdefs.h <<_ACEOF
17971 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17972 _ACEOF
17976 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17977 #ifdef HAVE_SYS_MTIO_H
17978 #include <sys/mtio.h>
17979 #endif
17981 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17983 cat >>confdefs.h <<_ACEOF
17984 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17985 _ACEOF
17989 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17990 #ifdef HAVE_SYS_MTIO_H
17991 #include <sys/mtio.h>
17992 #endif
17994 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17996 cat >>confdefs.h <<_ACEOF
17997 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17998 _ACEOF
18004 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18005 #include <getopt.h>
18006 #endif
18008 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18010 cat >>confdefs.h <<_ACEOF
18011 #define HAVE_STRUCT_OPTION_NAME 1
18012 _ACEOF
18018 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18019 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18021 cat >>confdefs.h <<_ACEOF
18022 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18023 _ACEOF
18027 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18028 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18030 cat >>confdefs.h <<_ACEOF
18031 #define HAVE_STRUCT_STAT_ST_MTIM 1
18032 _ACEOF
18036 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18037 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18039 cat >>confdefs.h <<_ACEOF
18040 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18041 _ACEOF
18045 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18046 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18048 cat >>confdefs.h <<_ACEOF
18049 #define HAVE_STRUCT_STAT_ST_CTIM 1
18050 _ACEOF
18054 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18055 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18057 cat >>confdefs.h <<_ACEOF
18058 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18059 _ACEOF
18063 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18064 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18066 cat >>confdefs.h <<_ACEOF
18067 #define HAVE_STRUCT_STAT_ST_ATIM 1
18068 _ACEOF
18072 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18073 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18075 cat >>confdefs.h <<_ACEOF
18076 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18077 _ACEOF
18081 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18082 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18084 cat >>confdefs.h <<_ACEOF
18085 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18086 _ACEOF
18090 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18091 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18093 cat >>confdefs.h <<_ACEOF
18094 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18095 _ACEOF
18099 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18100 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18102 cat >>confdefs.h <<_ACEOF
18103 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18104 _ACEOF
18108 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18109 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18111 cat >>confdefs.h <<_ACEOF
18112 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18113 _ACEOF
18117 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18118 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18120 cat >>confdefs.h <<_ACEOF
18121 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18122 _ACEOF
18128 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
18129 #include <sys/types.h>
18130 #endif
18131 #ifdef HAVE_NETINET_IN_H
18132 #include <netinet/in.h>
18133 #endif
18135 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18137 cat >>confdefs.h <<_ACEOF
18138 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18139 _ACEOF
18145 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18146 #include <sys/types.h>
18147 #endif
18148 #ifdef HAVE_NETINET_IN_H
18149 #include <netinet/in.h>
18150 #endif
18151 #ifdef HAVE_RESOLV_H
18152 #include <resolv.h>
18153 #endif
18155 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18157 cat >>confdefs.h <<_ACEOF
18158 #define HAVE_STRUCT___RES_STATE 1
18159 _ACEOF
18165 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
18166 #include <resolv.h>
18167 #endif
18169 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18171 cat >>confdefs.h <<_ACEOF
18172 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18173 _ACEOF
18179 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18180 #include <sys/types.h>
18181 #endif
18182 #ifdef HAVE_NETINET_IN_H
18183 # include <netinet/in.h>
18184 #endif
18185 #ifdef HAVE_ARPA_NAMESER_H
18186 # include <arpa/nameser.h>
18187 #endif
18189 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18191 cat >>confdefs.h <<_ACEOF
18192 #define HAVE_NS_MSG__MSG_PTR 1
18193 _ACEOF
18199 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18200 #include <sys/types.h>
18201 #endif
18202 #ifdef HAVE_NETINET_IN_H
18203 #include <netinet/in.h>
18204 #endif
18205 #ifdef HAVE_NETINET_IP_H
18206 #include <netinet/ip.h>
18207 #endif
18208 #ifdef HAVE_NETINET_IP_ICMP_H
18209 #include <netinet/ip_icmp.h>
18210 #endif
18211 #ifdef HAVE_NETINET_ICMP_VAR_H
18212 #include <netinet/icmp_var.h>
18213 #endif
18215 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18217 cat >>confdefs.h <<_ACEOF
18218 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18219 _ACEOF
18225 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18226 #include <sys/types.h>
18227 #endif
18228 #ifdef HAVE_ALIAS_H
18229 #include <alias.h>
18230 #endif
18231 #ifdef HAVE_SYS_SOCKET_H
18232 #include <sys/socket.h>
18233 #endif
18234 #ifdef HAVE_SYS_SOCKETVAR_H
18235 #include <sys/socketvar.h>
18236 #endif
18237 #ifdef HAVE_SYS_TIMEOUT_H
18238 #include <sys/timeout.h>
18239 #endif
18240 #ifdef HAVE_NETINET_IN_H
18241 #include <netinet/in.h>
18242 #endif
18243 #ifdef HAVE_NETINET_IN_SYSTM_H
18244 #include <netinet/in_systm.h>
18245 #endif
18246 #ifdef HAVE_NETINET_IP_H
18247 #include <netinet/ip.h>
18248 #endif
18249 #ifdef HAVE_NETINET_IP_VAR_H
18250 #include <netinet/ip_var.h>
18251 #endif
18252 #ifdef HAVE_NETINET_IP_ICMP_H
18253 #include <netinet/ip_icmp.h>
18254 #endif
18255 #ifdef HAVE_NETINET_ICMP_VAR_H
18256 #include <netinet/icmp_var.h>
18257 #endif
18259 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18261 cat >>confdefs.h <<_ACEOF
18262 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18263 _ACEOF
18269 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18270 #include <sys/types.h>
18271 #endif
18272 #ifdef HAVE_SYS_SOCKETVAR_H
18273 #include <sys/socketvar.h>
18274 #endif
18275 #ifdef HAVE_NETINET_IN_H
18276 #include <netinet/in.h>
18277 #endif
18278 #ifdef HAVE_NETINET_IP_VAR_H
18279 #include <netinet/ip_var.h>
18280 #endif
18282 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18284 cat >>confdefs.h <<_ACEOF
18285 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18286 _ACEOF
18292 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
18293 #include <netinet/ip_var.h>
18294 #endif
18296 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18298 cat >>confdefs.h <<_ACEOF
18299 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18300 _ACEOF
18306 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18307 #include <sys/types.h>
18308 #endif
18309 #ifdef HAVE_SYS_SOCKETVAR_H
18310 #include <sys/socketvar.h>
18311 #endif
18312 #ifdef HAVE_NETINET_IN_H
18313 #include <netinet/in.h>
18314 #endif
18315 #ifdef HAVE_NETINET_TCP_H
18316 #include <netinet/tcp.h>
18317 #endif
18318 #ifdef HAVE_NETINET_TCP_VAR_H
18319 #include <netinet/tcp_var.h>
18320 #endif
18322 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18324 cat >>confdefs.h <<_ACEOF
18325 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18326 _ACEOF
18332 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
18333 #include <netinet/tcp_var.h>
18334 #endif
18336 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18338 cat >>confdefs.h <<_ACEOF
18339 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18340 _ACEOF
18346 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18347 #include <sys/types.h>
18348 #endif
18349 #ifdef HAVE_NETINET_IN_H
18350 #include <netinet/in.h>
18351 #endif
18352 #ifdef HAVE_NETINET_IP_VAR_H
18353 #include <netinet/ip_var.h>
18354 #endif
18355 #ifdef HAVE_NETINET_UDP_H
18356 #include <netinet/udp.h>
18357 #endif
18358 #ifdef HAVE_NETINET_UDP_VAR_H
18359 #include <netinet/udp_var.h>
18360 #endif
18362 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18364 cat >>confdefs.h <<_ACEOF
18365 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18366 _ACEOF
18372 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18373 #include <sys/types.h>
18374 #endif
18375 #ifdef HAVE_NET_IF_H
18376 # include <net/if.h>
18377 #endif
18379 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18381 cat >>confdefs.h <<_ACEOF
18382 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18383 _ACEOF
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18390 $as_echo_n "checking for timezone variable... " >&6; }
18391 if ${ac_cv_have_timezone+:} false; then :
18392 $as_echo_n "(cached) " >&6
18393 else
18394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18395 /* end confdefs.h. */
18396 #include <time.h>
18398 main ()
18400 timezone = 1
18402 return 0;
18404 _ACEOF
18405 if ac_fn_c_try_link "$LINENO"; then :
18406 ac_cv_have_timezone="yes"
18407 else
18408 ac_cv_have_timezone="no"
18410 rm -f core conftest.err conftest.$ac_objext \
18411 conftest$ac_exeext conftest.$ac_ext
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
18414 $as_echo "$ac_cv_have_timezone" >&6; }
18415 if test "$ac_cv_have_timezone" = "yes"
18416 then
18418 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
18422 $as_echo_n "checking for daylight variable... " >&6; }
18423 if ${ac_cv_have_daylight+:} false; then :
18424 $as_echo_n "(cached) " >&6
18425 else
18426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18427 /* end confdefs.h. */
18428 #include <time.h>
18430 main ()
18432 daylight = 1
18434 return 0;
18436 _ACEOF
18437 if ac_fn_c_try_link "$LINENO"; then :
18438 ac_cv_have_daylight="yes"
18439 else
18440 ac_cv_have_daylight="no"
18442 rm -f core conftest.err conftest.$ac_objext \
18443 conftest$ac_exeext conftest.$ac_ext
18445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
18446 $as_echo "$ac_cv_have_daylight" >&6; }
18447 if test "$ac_cv_have_daylight" = "yes"
18448 then
18450 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
18454 ac_save_LIBS="$LIBS"
18455 LIBS="$LIBS -lm"
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18457 $as_echo_n "checking for isfinite... " >&6; }
18458 if ${ac_cv_have_isfinite+:} false; then :
18459 $as_echo_n "(cached) " >&6
18460 else
18461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18462 /* end confdefs.h. */
18463 #define _GNU_SOURCE
18464 #include <math.h>
18466 main ()
18468 float f = 0.0; return isfinite(f)
18470 return 0;
18472 _ACEOF
18473 if ac_fn_c_try_link "$LINENO"; then :
18474 ac_cv_have_isfinite="yes"
18475 else
18476 ac_cv_have_isfinite="no"
18478 rm -f core conftest.err conftest.$ac_objext \
18479 conftest$ac_exeext conftest.$ac_ext
18481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18482 $as_echo "$ac_cv_have_isfinite" >&6; }
18483 if test "$ac_cv_have_isfinite" = "yes"
18484 then
18486 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18491 $as_echo_n "checking for isinf... " >&6; }
18492 if ${ac_cv_have_isinf+:} false; then :
18493 $as_echo_n "(cached) " >&6
18494 else
18495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18496 /* end confdefs.h. */
18497 #include <math.h>
18499 main ()
18501 float f = 0.0; return isinf(f)
18503 return 0;
18505 _ACEOF
18506 if ac_fn_c_try_link "$LINENO"; then :
18507 ac_cv_have_isinf="yes"
18508 else
18509 ac_cv_have_isinf="no"
18511 rm -f core conftest.err conftest.$ac_objext \
18512 conftest$ac_exeext conftest.$ac_ext
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18515 $as_echo "$ac_cv_have_isinf" >&6; }
18516 if test "$ac_cv_have_isinf" = "yes"
18517 then
18519 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18524 $as_echo_n "checking for isnan... " >&6; }
18525 if ${ac_cv_have_isnan+:} false; then :
18526 $as_echo_n "(cached) " >&6
18527 else
18528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18529 /* end confdefs.h. */
18530 #include <math.h>
18532 main ()
18534 float f = 0.0; return isnan(f)
18536 return 0;
18538 _ACEOF
18539 if ac_fn_c_try_link "$LINENO"; then :
18540 ac_cv_have_isnan="yes"
18541 else
18542 ac_cv_have_isnan="no"
18544 rm -f core conftest.err conftest.$ac_objext \
18545 conftest$ac_exeext conftest.$ac_ext
18547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18548 $as_echo "$ac_cv_have_isnan" >&6; }
18549 if test "$ac_cv_have_isnan" = "yes"
18550 then
18552 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18556 for ac_func in \
18557 acosh \
18558 acoshf \
18559 asinh \
18560 asinhf \
18561 atanh \
18562 atanhf \
18563 cbrt \
18564 cbrtf \
18565 erf \
18566 erfc \
18567 erfcf \
18568 erff \
18569 exp2 \
18570 exp2f \
18571 expm1 \
18572 expm1f \
18573 ilogb \
18574 ilogbf \
18575 j0 \
18576 j1 \
18577 jn \
18578 lgamma \
18579 lgammaf \
18580 llrint \
18581 llrintf \
18582 llround \
18583 llroundf \
18584 log1p \
18585 log1pf \
18586 log2 \
18587 log2f \
18588 lrint \
18589 lrintf \
18590 lround \
18591 lroundf \
18592 nearbyint \
18593 nearbyintf \
18594 nexttoward \
18595 nexttowardf \
18596 powl \
18597 remainder \
18598 remainderf \
18599 rint \
18600 rintf \
18601 round \
18602 roundf \
18603 trunc \
18604 truncf \
18605 y0 \
18606 y1 \
18609 do :
18610 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18611 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18612 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18613 cat >>confdefs.h <<_ACEOF
18614 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18615 _ACEOF
18618 done
18620 LIBS="$ac_save_LIBS"
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18623 $as_echo_n "checking for __builtin_clz... " >&6; }
18624 if ${ac_cv_have___builtin_clz+:} false; then :
18625 $as_echo_n "(cached) " >&6
18626 else
18627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18628 /* end confdefs.h. */
18631 main ()
18633 return __builtin_clz(1)
18635 return 0;
18637 _ACEOF
18638 if ac_fn_c_try_link "$LINENO"; then :
18639 ac_cv_have___builtin_clz="yes"
18640 else
18641 ac_cv_have___builtin_clz="no"
18643 rm -f core conftest.err conftest.$ac_objext \
18644 conftest$ac_exeext conftest.$ac_ext
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18647 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18648 if test "$ac_cv_have___builtin_clz" = "yes"
18649 then
18651 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18656 $as_echo_n "checking for __builtin_popcount... " >&6; }
18657 if ${ac_cv_have___builtin_popcount+:} false; then :
18658 $as_echo_n "(cached) " >&6
18659 else
18660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18661 /* end confdefs.h. */
18664 main ()
18666 return __builtin_popcount(1)
18668 return 0;
18670 _ACEOF
18671 if ac_fn_c_try_link "$LINENO"; then :
18672 ac_cv_have___builtin_popcount="yes"
18673 else
18674 ac_cv_have___builtin_popcount="no"
18676 rm -f core conftest.err conftest.$ac_objext \
18677 conftest$ac_exeext conftest.$ac_ext
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18680 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18681 if test "$ac_cv_have___builtin_popcount" = "yes"
18682 then
18684 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18689 $as_echo_n "checking for __clear_cache... " >&6; }
18690 if ${ac_cv_have___clear_cache+:} false; then :
18691 $as_echo_n "(cached) " >&6
18692 else
18693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18694 /* end confdefs.h. */
18697 main ()
18699 __clear_cache((void*)0, (void*)0); return 0;
18701 return 0;
18703 _ACEOF
18704 if ac_fn_c_try_link "$LINENO"; then :
18705 ac_cv_have___clear_cache="yes"
18706 else
18707 ac_cv_have___clear_cache="no"
18709 rm -f core conftest.err conftest.$ac_objext \
18710 conftest$ac_exeext conftest.$ac_ext
18712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18713 $as_echo "$ac_cv_have___clear_cache" >&6; }
18714 if test "$ac_cv_have___clear_cache" = "yes"
18715 then
18717 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18722 case $host_cpu in
18723 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18724 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18725 if ${ac_cv_cpp_def___i386__+:} false; then :
18726 $as_echo_n "(cached) " >&6
18727 else
18728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18729 /* end confdefs.h. */
18730 #ifndef __i386__
18732 #endif
18733 _ACEOF
18734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18735 $EGREP "yes" >/dev/null 2>&1; then :
18736 ac_cv_cpp_def___i386__=yes
18737 else
18738 ac_cv_cpp_def___i386__=no
18740 rm -f conftest*
18743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18744 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18745 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18746 CFLAGS="$CFLAGS -D__i386__"
18747 LINTFLAGS="$LINTFLAGS -D__i386__"
18748 fi ;;
18749 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18750 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18751 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18752 $as_echo_n "(cached) " >&6
18753 else
18754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18755 /* end confdefs.h. */
18756 #ifndef __x86_64__
18758 #endif
18759 _ACEOF
18760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18761 $EGREP "yes" >/dev/null 2>&1; then :
18762 ac_cv_cpp_def___x86_64__=yes
18763 else
18764 ac_cv_cpp_def___x86_64__=no
18766 rm -f conftest*
18769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18770 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18771 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18772 CFLAGS="$CFLAGS -D__x86_64__"
18773 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18774 fi ;;
18775 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18776 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18777 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18778 $as_echo_n "(cached) " >&6
18779 else
18780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18781 /* end confdefs.h. */
18782 #ifndef __sparc64__
18784 #endif
18785 _ACEOF
18786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18787 $EGREP "yes" >/dev/null 2>&1; then :
18788 ac_cv_cpp_def___sparc64__=yes
18789 else
18790 ac_cv_cpp_def___sparc64__=no
18792 rm -f conftest*
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18796 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18797 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18798 CFLAGS="$CFLAGS -D__sparc64__"
18799 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18800 fi ;;
18801 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18802 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18803 if ${ac_cv_cpp_def___sparc__+:} false; then :
18804 $as_echo_n "(cached) " >&6
18805 else
18806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18807 /* end confdefs.h. */
18808 #ifndef __sparc__
18810 #endif
18811 _ACEOF
18812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18813 $EGREP "yes" >/dev/null 2>&1; then :
18814 ac_cv_cpp_def___sparc__=yes
18815 else
18816 ac_cv_cpp_def___sparc__=no
18818 rm -f conftest*
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18822 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18823 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18824 CFLAGS="$CFLAGS -D__sparc__"
18825 LINTFLAGS="$LINTFLAGS -D__sparc__"
18826 fi ;;
18827 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18828 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18829 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18830 $as_echo_n "(cached) " >&6
18831 else
18832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18833 /* end confdefs.h. */
18834 #ifndef __powerpc64__
18836 #endif
18837 _ACEOF
18838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18839 $EGREP "yes" >/dev/null 2>&1; then :
18840 ac_cv_cpp_def___powerpc64__=yes
18841 else
18842 ac_cv_cpp_def___powerpc64__=no
18844 rm -f conftest*
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18848 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18849 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18850 CFLAGS="$CFLAGS -D__powerpc64__"
18851 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18852 fi ;;
18853 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18854 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18855 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18856 $as_echo_n "(cached) " >&6
18857 else
18858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18859 /* end confdefs.h. */
18860 #ifndef __powerpc__
18862 #endif
18863 _ACEOF
18864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18865 $EGREP "yes" >/dev/null 2>&1; then :
18866 ac_cv_cpp_def___powerpc__=yes
18867 else
18868 ac_cv_cpp_def___powerpc__=no
18870 rm -f conftest*
18873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18874 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18875 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18876 CFLAGS="$CFLAGS -D__powerpc__"
18877 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18878 fi ;;
18879 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18880 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18881 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18882 $as_echo_n "(cached) " >&6
18883 else
18884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18885 /* end confdefs.h. */
18886 #ifndef __aarch64__
18888 #endif
18889 _ACEOF
18890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18891 $EGREP "yes" >/dev/null 2>&1; then :
18892 ac_cv_cpp_def___aarch64__=yes
18893 else
18894 ac_cv_cpp_def___aarch64__=no
18896 rm -f conftest*
18899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18900 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18901 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18902 CFLAGS="$CFLAGS -D__aarch64__"
18903 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18904 fi ;;
18905 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18906 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18907 if ${ac_cv_cpp_def___arm__+:} false; then :
18908 $as_echo_n "(cached) " >&6
18909 else
18910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18911 /* end confdefs.h. */
18912 #ifndef __arm__
18914 #endif
18915 _ACEOF
18916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18917 $EGREP "yes" >/dev/null 2>&1; then :
18918 ac_cv_cpp_def___arm__=yes
18919 else
18920 ac_cv_cpp_def___arm__=no
18922 rm -f conftest*
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18926 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18927 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18928 CFLAGS="$CFLAGS -D__arm__"
18929 LINTFLAGS="$LINTFLAGS -D__arm__"
18930 fi ;;
18931 esac
18933 case $host_vendor in
18934 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18935 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18936 if ${ac_cv_cpp_def___sun__+:} false; then :
18937 $as_echo_n "(cached) " >&6
18938 else
18939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18940 /* end confdefs.h. */
18941 #ifndef __sun__
18943 #endif
18944 _ACEOF
18945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18946 $EGREP "yes" >/dev/null 2>&1; then :
18947 ac_cv_cpp_def___sun__=yes
18948 else
18949 ac_cv_cpp_def___sun__=no
18951 rm -f conftest*
18954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18955 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18956 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18957 CFLAGS="$CFLAGS -D__sun__"
18958 LINTFLAGS="$LINTFLAGS -D__sun__"
18959 fi ;;
18960 esac
18966 ac_config_commands="$ac_config_commands include/stamp-h"
18968 $as_echo_n "creating Makefile rules..." >&6
18970 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18971 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18972 IOKIT_LIBS = $IOKIT_LIBS
18973 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18974 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18975 CORESERVICES_LIBS = $CORESERVICES_LIBS
18976 APPKIT_LIBS = $APPKIT_LIBS
18977 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18978 SECURITY_LIBS = $SECURITY_LIBS
18979 COREAUDIO_LIBS = $COREAUDIO_LIBS
18980 OPENAL_LIBS = $OPENAL_LIBS
18981 OPENCL_LIBS = $OPENCL_LIBS
18982 QUICKTIME_LIBS = $QUICKTIME_LIBS
18983 CARBON_LIBS = $CARBON_LIBS
18984 METAL_LIBS = $METAL_LIBS
18985 PTHREAD_LIBS = $PTHREAD_LIBS
18986 X_CFLAGS = $X_CFLAGS
18987 X_PRE_LIBS = $X_PRE_LIBS
18988 X_LIBS = $X_LIBS
18989 X_EXTRA_LIBS = $X_EXTRA_LIBS
18990 PCAP_LIBS = $PCAP_LIBS
18991 XML2_CFLAGS = $XML2_CFLAGS
18992 XML2_LIBS = $XML2_LIBS
18993 XSLT_CFLAGS = $XSLT_CFLAGS
18994 XSLT_LIBS = $XSLT_LIBS
18995 DBUS_CFLAGS = $DBUS_CFLAGS
18996 DBUS_LIBS = $DBUS_LIBS
18997 HAL_CFLAGS = $HAL_CFLAGS
18998 HAL_LIBS = $HAL_LIBS
18999 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19000 GNUTLS_LIBS = $GNUTLS_LIBS
19001 SANE_CFLAGS = $SANE_CFLAGS
19002 SANE_LIBS = $SANE_LIBS
19003 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19004 GPHOTO2_LIBS = $GPHOTO2_LIBS
19005 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19006 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19007 RESOLV_LIBS = $RESOLV_LIBS
19008 LCMS2_CFLAGS = $LCMS2_CFLAGS
19009 LCMS2_LIBS = $LCMS2_LIBS
19010 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19011 FREETYPE_LIBS = $FREETYPE_LIBS
19012 Z_LIBS = $Z_LIBS
19013 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19014 PULSE_CFLAGS = $PULSE_CFLAGS
19015 PULSE_LIBS = $PULSE_LIBS
19016 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19017 GSTREAMER_LIBS = $GSTREAMER_LIBS
19018 ALSA_LIBS = $ALSA_LIBS
19019 OSS4_CFLAGS = $OSS4_CFLAGS
19020 UDEV_CFLAGS = $UDEV_CFLAGS
19021 UDEV_LIBS = $UDEV_LIBS
19022 SDL2_CFLAGS = $SDL2_CFLAGS
19023 SDL2_LIBS = $SDL2_LIBS
19024 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19025 FAUDIO_LIBS = $FAUDIO_LIBS
19026 CAPI20_CFLAGS = $CAPI20_CFLAGS
19027 CAPI20_LIBS = $CAPI20_LIBS
19028 CUPS_CFLAGS = $CUPS_CFLAGS
19029 CUPS_LIBS = $CUPS_LIBS
19030 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19031 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19032 KRB5_CFLAGS = $KRB5_CFLAGS
19033 KRB5_LIBS = $KRB5_LIBS
19034 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19035 GSSAPI_LIBS = $GSSAPI_LIBS
19036 JPEG_CFLAGS = $JPEG_CFLAGS
19037 JPEG_LIBS = $JPEG_LIBS
19038 PNG_CFLAGS = $PNG_CFLAGS
19039 PNG_LIBS = $PNG_LIBS
19040 TIFF_CFLAGS = $TIFF_CFLAGS
19041 TIFF_LIBS = $TIFF_LIBS
19042 MPG123_CFLAGS = $MPG123_CFLAGS
19043 MPG123_LIBS = $MPG123_LIBS
19044 KSTAT_LIBS = $KSTAT_LIBS
19045 PROCSTAT_LIBS = $PROCSTAT_LIBS
19046 NETAPI_CFLAGS = $NETAPI_CFLAGS
19047 NETAPI_LIBS = $NETAPI_LIBS
19048 VKD3D_CFLAGS = $VKD3D_CFLAGS
19049 VKD3D_LIBS = $VKD3D_LIBS
19050 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19051 DL_LIBS = $DL_LIBS
19052 POLL_LIBS = $POLL_LIBS
19053 RT_LIBS = $RT_LIBS
19054 LDAP_CFLAGS = $LDAP_CFLAGS
19055 LDAP_LIBS = $LDAP_LIBS
19060 wine_fn_append_rule "
19061 # Rules automatically generated by configure
19063 .INIT: Makefile
19064 .MAKEFILEDEPS:
19065 all: Makefile
19066 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19067 @./config.status Make.tmp Makefile
19068 depend: \$(MAKEDEP) dummy
19069 \$(MAKEDEP)"
19071 if test "x$enable_fonts" != xno; then
19072 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19073 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19074 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19075 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19076 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19077 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19079 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19080 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19081 ac_config_links="$ac_config_links wine:tools/winewrapper"
19082 wine_fn_config_symlink wine
19083 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19084 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19085 wine_fn_config_symlink wine64
19088 wine_fn_config_makefile dlls/acledit enable_acledit
19089 wine_fn_config_makefile dlls/aclui enable_aclui
19090 wine_fn_config_makefile dlls/activeds enable_activeds
19091 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19092 wine_fn_config_makefile dlls/adsiid enable_adsiid
19093 wine_fn_config_makefile dlls/adsldp enable_adsldp
19094 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19095 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19096 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19097 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19098 wine_fn_config_makefile dlls/advpack enable_advpack
19099 wine_fn_config_makefile dlls/advpack/tests enable_tests
19100 wine_fn_config_makefile dlls/amsi enable_amsi
19101 wine_fn_config_makefile dlls/amstream enable_amstream
19102 wine_fn_config_makefile dlls/amstream/tests enable_tests
19103 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19104 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19105 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19106 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19107 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19108 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19109 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19110 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19111 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19112 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19113 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19114 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19115 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19116 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19117 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19118 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19119 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19120 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19121 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19122 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19123 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19124 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19125 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19126 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19127 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19128 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19129 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19130 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19131 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19132 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19133 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19134 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19135 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19136 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19137 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19138 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19139 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19140 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19141 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19142 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19143 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19144 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19145 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19146 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19147 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19148 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19149 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19150 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19151 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19152 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19153 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19154 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19155 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19156 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19157 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19158 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19159 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19160 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19161 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19162 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19163 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19164 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19165 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19166 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19167 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19168 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19169 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19170 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19171 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19172 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19173 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19174 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19175 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19176 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19177 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19178 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19179 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19180 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19181 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19182 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19183 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19184 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19185 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19186 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19187 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19188 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19189 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19190 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19191 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19192 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19193 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19194 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19195 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19196 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19197 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19198 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19199 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19200 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19201 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19202 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19203 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19204 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19205 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19206 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19207 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19208 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19209 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19210 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19211 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19212 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19213 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19214 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19215 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19216 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19217 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19218 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19219 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19220 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19221 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19222 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19223 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19224 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19225 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19226 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19227 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19228 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19229 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19230 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19231 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19232 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19233 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19234 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19235 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19236 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19237 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19238 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19239 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19240 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19241 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19242 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19243 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19244 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19245 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19246 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19247 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19248 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19249 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19250 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19251 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19252 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19253 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19254 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19255 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19256 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19257 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19258 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19259 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19260 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19261 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19262 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19263 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19264 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19265 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19266 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19267 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19268 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19269 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19270 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19271 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19272 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19273 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19274 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19275 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19276 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19277 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19278 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19279 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19280 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19281 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19282 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19283 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19284 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19285 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19286 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19287 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19288 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19289 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19290 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19291 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19292 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19293 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19294 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19295 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19296 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19297 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19298 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19299 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19300 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19301 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19302 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19303 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19304 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19305 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19306 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19307 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19308 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19309 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19310 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19311 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19312 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19313 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19314 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19315 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19316 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19317 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19318 wine_fn_config_makefile dlls/apphelp enable_apphelp
19319 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19320 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19321 wine_fn_config_makefile dlls/atl enable_atl
19322 wine_fn_config_makefile dlls/atl/tests enable_tests
19323 wine_fn_config_makefile dlls/atl100 enable_atl100
19324 wine_fn_config_makefile dlls/atl100/tests enable_tests
19325 wine_fn_config_makefile dlls/atl110 enable_atl110
19326 wine_fn_config_makefile dlls/atl80 enable_atl80
19327 wine_fn_config_makefile dlls/atl80/tests enable_tests
19328 wine_fn_config_makefile dlls/atl90 enable_atl90
19329 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
19330 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
19331 wine_fn_config_makefile dlls/atmlib enable_atmlib
19332 wine_fn_config_makefile dlls/authz enable_authz
19333 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19334 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19335 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19336 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19337 wine_fn_config_makefile dlls/avrt enable_avrt
19338 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19339 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19340 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19341 wine_fn_config_makefile dlls/browseui enable_browseui
19342 wine_fn_config_makefile dlls/browseui/tests enable_tests
19343 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19344 wine_fn_config_makefile dlls/cabinet enable_cabinet
19345 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19346 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19347 wine_fn_config_makefile dlls/cards enable_cards
19348 wine_fn_config_makefile dlls/cdosys enable_cdosys
19349 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19350 wine_fn_config_makefile dlls/clusapi enable_clusapi
19351 wine_fn_config_makefile dlls/combase enable_combase
19352 wine_fn_config_makefile dlls/combase/tests enable_tests
19353 wine_fn_config_makefile dlls/comcat enable_comcat
19354 wine_fn_config_makefile dlls/comcat/tests enable_tests
19355 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19356 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19357 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19358 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19359 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19360 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19361 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19362 wine_fn_config_makefile dlls/compstui enable_compstui
19363 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19364 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
19365 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19366 wine_fn_config_makefile dlls/connect enable_connect
19367 wine_fn_config_makefile dlls/credui enable_credui
19368 wine_fn_config_makefile dlls/credui/tests enable_tests
19369 wine_fn_config_makefile dlls/crtdll enable_crtdll
19370 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19371 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19372 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19373 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19374 wine_fn_config_makefile dlls/cryptext enable_cryptext
19375 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19376 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19377 wine_fn_config_makefile dlls/cryptui enable_cryptui
19378 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19379 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19380 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19381 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19382 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19383 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19384 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19385 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19386 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19387 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19388 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19389 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19390 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19391 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19392 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19393 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19394 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19395 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19396 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19397 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19398 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19399 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19400 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19401 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19402 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19403 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19404 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19405 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19406 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19407 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19408 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19409 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19410 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19411 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19412 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19413 wine_fn_config_makefile dlls/d3dim enable_d3dim
19414 wine_fn_config_makefile dlls/d3drm enable_d3drm
19415 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19416 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19417 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19418 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19419 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19420 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19421 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19422 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19423 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19424 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19425 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19426 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19427 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19428 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19429 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19430 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19431 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19432 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19433 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19434 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19435 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19436 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19437 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19438 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19439 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19440 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19441 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19442 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19443 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19444 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19445 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19446 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19447 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19448 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19449 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19450 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19451 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19452 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19453 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19454 wine_fn_config_makefile dlls/davclnt enable_davclnt
19455 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19456 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19457 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19458 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19459 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19460 wine_fn_config_makefile dlls/ddraw enable_ddraw
19461 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19462 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19463 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19464 wine_fn_config_makefile dlls/devenum enable_devenum
19465 wine_fn_config_makefile dlls/devenum/tests enable_tests
19466 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19467 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19468 wine_fn_config_makefile dlls/difxapi enable_difxapi
19469 wine_fn_config_makefile dlls/dinput enable_dinput
19470 wine_fn_config_makefile dlls/dinput/tests enable_tests
19471 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19472 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19473 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19474 wine_fn_config_makefile dlls/dispex enable_dispex
19475 wine_fn_config_makefile dlls/dispex/tests enable_tests
19476 wine_fn_config_makefile dlls/display.drv16 enable_win16
19477 wine_fn_config_makefile dlls/dmband enable_dmband
19478 wine_fn_config_makefile dlls/dmband/tests enable_tests
19479 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19480 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19481 wine_fn_config_makefile dlls/dmime enable_dmime
19482 wine_fn_config_makefile dlls/dmime/tests enable_tests
19483 wine_fn_config_makefile dlls/dmloader enable_dmloader
19484 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19485 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19486 wine_fn_config_makefile dlls/dmscript enable_dmscript
19487 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19488 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19489 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19490 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19491 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19492 wine_fn_config_makefile dlls/dmusic enable_dmusic
19493 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19494 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19495 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19496 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19497 wine_fn_config_makefile dlls/dplay enable_dplay
19498 wine_fn_config_makefile dlls/dplayx enable_dplayx
19499 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19500 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19501 wine_fn_config_makefile dlls/dpnet enable_dpnet
19502 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19503 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19504 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19505 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19506 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19507 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19508 wine_fn_config_makefile dlls/drmclien enable_drmclien
19509 wine_fn_config_makefile dlls/dsound enable_dsound
19510 wine_fn_config_makefile dlls/dsound/tests enable_tests
19511 wine_fn_config_makefile dlls/dsquery enable_dsquery
19512 wine_fn_config_makefile dlls/dssenh enable_dssenh
19513 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19514 wine_fn_config_makefile dlls/dswave enable_dswave
19515 wine_fn_config_makefile dlls/dswave/tests enable_tests
19516 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19517 wine_fn_config_makefile dlls/dwrite enable_dwrite
19518 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19519 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19520 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19521 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19522 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19523 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19524 wine_fn_config_makefile dlls/dxgi enable_dxgi
19525 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19526 wine_fn_config_makefile dlls/dxguid enable_dxguid
19527 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19528 wine_fn_config_makefile dlls/esent enable_esent
19529 wine_fn_config_makefile dlls/evr enable_evr
19530 wine_fn_config_makefile dlls/evr/tests enable_tests
19531 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19532 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19533 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19534 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19535 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19536 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
19537 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19538 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19539 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19540 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
19541 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19542 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
19543 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
19544 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19545 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19546 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19547 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
19548 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19549 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
19550 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19551 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19552 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
19553 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19554 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
19555 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
19556 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19557 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19558 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19559 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19560 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19561 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19562 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
19563 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19564 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19565 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
19566 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19567 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19568 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19569 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19570 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19571 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19572 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19573 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
19574 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19575 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19576 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19577 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19578 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19579 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19580 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19581 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19582 wine_fn_config_makefile dlls/faultrep enable_faultrep
19583 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19584 wine_fn_config_makefile dlls/feclient enable_feclient
19585 wine_fn_config_makefile dlls/fltlib enable_fltlib
19586 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19587 wine_fn_config_makefile dlls/fntcache enable_fntcache
19588 wine_fn_config_makefile dlls/fontsub enable_fontsub
19589 wine_fn_config_makefile dlls/fusion enable_fusion
19590 wine_fn_config_makefile dlls/fusion/tests enable_tests
19591 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19592 wine_fn_config_makefile dlls/gameux enable_gameux
19593 wine_fn_config_makefile dlls/gameux/tests enable_tests
19594 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19595 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19596 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19597 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19598 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19599 wine_fn_config_makefile dlls/glu32 enable_glu32
19600 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19601 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19602 wine_fn_config_makefile dlls/hal enable_hal
19603 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19604 wine_fn_config_makefile dlls/hid enable_hid
19605 wine_fn_config_makefile dlls/hid/tests enable_tests
19606 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19607 wine_fn_config_makefile dlls/hlink enable_hlink
19608 wine_fn_config_makefile dlls/hlink/tests enable_tests
19609 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19610 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19611 wine_fn_config_makefile dlls/httpapi enable_httpapi
19612 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19613 wine_fn_config_makefile dlls/iccvid enable_iccvid
19614 wine_fn_config_makefile dlls/icmp enable_icmp
19615 wine_fn_config_makefile dlls/ieframe enable_ieframe
19616 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19617 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19618 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19619 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19620 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19621 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19622 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19623 wine_fn_config_makefile dlls/imm32 enable_imm32
19624 wine_fn_config_makefile dlls/imm32/tests enable_tests
19625 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19626 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19627 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19628 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19629 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19630 wine_fn_config_makefile dlls/infosoft enable_infosoft
19631 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19632 wine_fn_config_makefile dlls/initpki enable_initpki
19633 wine_fn_config_makefile dlls/inkobj enable_inkobj
19634 wine_fn_config_makefile dlls/inseng enable_inseng
19635 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19636 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19637 wine_fn_config_makefile dlls/iprop enable_iprop
19638 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19639 wine_fn_config_makefile dlls/itircl enable_itircl
19640 wine_fn_config_makefile dlls/itss enable_itss
19641 wine_fn_config_makefile dlls/itss/tests enable_tests
19642 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19643 wine_fn_config_makefile dlls/jscript enable_jscript
19644 wine_fn_config_makefile dlls/jscript/tests enable_tests
19645 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19646 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19647 wine_fn_config_makefile dlls/kerberos enable_kerberos
19648 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19649 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19650 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19651 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19652 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19653 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19654 wine_fn_config_makefile dlls/ksuser enable_ksuser
19655 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19656 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19657 wine_fn_config_makefile dlls/loadperf enable_loadperf
19658 wine_fn_config_makefile dlls/localspl enable_localspl
19659 wine_fn_config_makefile dlls/localspl/tests enable_tests
19660 wine_fn_config_makefile dlls/localui enable_localui
19661 wine_fn_config_makefile dlls/localui/tests enable_tests
19662 wine_fn_config_makefile dlls/lz32 enable_lz32
19663 wine_fn_config_makefile dlls/lz32/tests enable_tests
19664 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19665 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19666 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19667 wine_fn_config_makefile dlls/mapistub enable_mapistub
19668 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19669 wine_fn_config_makefile dlls/mcicda enable_mcicda
19670 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19671 wine_fn_config_makefile dlls/mciseq enable_mciseq
19672 wine_fn_config_makefile dlls/mciwave enable_mciwave
19673 wine_fn_config_makefile dlls/mf enable_mf
19674 wine_fn_config_makefile dlls/mf/tests enable_tests
19675 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19676 wine_fn_config_makefile dlls/mferror enable_mferror
19677 wine_fn_config_makefile dlls/mfplat enable_mfplat
19678 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19679 wine_fn_config_makefile dlls/mfplay enable_mfplay
19680 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19681 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
19682 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19683 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19684 wine_fn_config_makefile dlls/midimap enable_midimap
19685 wine_fn_config_makefile dlls/mlang enable_mlang
19686 wine_fn_config_makefile dlls/mlang/tests enable_tests
19687 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19688 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19689 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19690 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19691 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19692 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19693 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19694 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19695 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19696 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19697 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19698 wine_fn_config_makefile dlls/mpr enable_mpr
19699 wine_fn_config_makefile dlls/mpr/tests enable_tests
19700 wine_fn_config_makefile dlls/mprapi enable_mprapi
19701 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19702 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19703 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19704 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19705 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19706 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19707 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19708 wine_fn_config_makefile dlls/mscms enable_mscms
19709 wine_fn_config_makefile dlls/mscms/tests enable_tests
19710 wine_fn_config_makefile dlls/mscoree enable_mscoree
19711 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19712 wine_fn_config_makefile dlls/msctf enable_msctf
19713 wine_fn_config_makefile dlls/msctf/tests enable_tests
19714 wine_fn_config_makefile dlls/msctfp enable_msctfp
19715 wine_fn_config_makefile dlls/msdaps enable_msdaps
19716 wine_fn_config_makefile dlls/msdelta enable_msdelta
19717 wine_fn_config_makefile dlls/msdmo enable_msdmo
19718 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19719 wine_fn_config_makefile dlls/msdrm enable_msdrm
19720 wine_fn_config_makefile dlls/msftedit enable_msftedit
19721 wine_fn_config_makefile dlls/msftedit/tests enable_tests
19722 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19723 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19724 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19725 wine_fn_config_makefile dlls/mshtml enable_mshtml
19726 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19727 wine_fn_config_makefile dlls/msi enable_msi
19728 wine_fn_config_makefile dlls/msi/tests enable_tests
19729 wine_fn_config_makefile dlls/msident enable_msident
19730 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19731 wine_fn_config_makefile dlls/msimsg enable_msimsg
19732 wine_fn_config_makefile dlls/msimtf enable_msimtf
19733 wine_fn_config_makefile dlls/msisip enable_msisip
19734 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19735 wine_fn_config_makefile dlls/msls31 enable_msls31
19736 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19737 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19738 wine_fn_config_makefile dlls/msports enable_msports
19739 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19740 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19741 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19742 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19743 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19744 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19745 wine_fn_config_makefile dlls/mstask enable_mstask
19746 wine_fn_config_makefile dlls/mstask/tests enable_tests
19747 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19748 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19749 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19750 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19751 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19752 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19753 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19754 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19755 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19756 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19757 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19758 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19759 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19760 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19761 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19762 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19763 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19764 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19765 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19766 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19767 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19768 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19769 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19770 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19771 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19772 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19773 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19774 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19775 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19776 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19777 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19778 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19779 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19780 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19781 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19782 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19783 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19784 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19785 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19786 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19787 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19788 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19789 wine_fn_config_makefile dlls/mswsock enable_mswsock
19790 wine_fn_config_makefile dlls/msxml enable_msxml
19791 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19792 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19793 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19794 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19795 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19796 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19797 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19798 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19799 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19800 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19801 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19802 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19803 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19804 wine_fn_config_makefile dlls/netprofm enable_netprofm
19805 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19806 wine_fn_config_makefile dlls/newdev enable_newdev
19807 wine_fn_config_makefile dlls/ninput enable_ninput
19808 wine_fn_config_makefile dlls/ninput/tests enable_tests
19809 wine_fn_config_makefile dlls/normaliz enable_normaliz
19810 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19811 wine_fn_config_makefile dlls/npptools enable_npptools
19812 wine_fn_config_makefile dlls/ntdll enable_ntdll
19813 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19814 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19815 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19816 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19817 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19818 wine_fn_config_makefile dlls/ntprint enable_ntprint
19819 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19820 wine_fn_config_makefile dlls/objsel enable_objsel
19821 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19822 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19823 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19824 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19825 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19826 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19827 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19828 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19829 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19830 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19831 wine_fn_config_makefile dlls/ole32 enable_ole32
19832 wine_fn_config_makefile dlls/ole32/tests enable_tests
19833 wine_fn_config_makefile dlls/oleacc enable_oleacc
19834 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19835 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19836 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19837 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19838 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19839 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19840 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19841 wine_fn_config_makefile dlls/oledlg enable_oledlg
19842 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19843 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19844 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19845 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19846 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19847 wine_fn_config_makefile dlls/opcservices enable_opcservices
19848 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19849 wine_fn_config_makefile dlls/openal32 enable_openal32
19850 wine_fn_config_makefile dlls/opencl enable_opencl
19851 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19852 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19853 wine_fn_config_makefile dlls/packager enable_packager
19854 wine_fn_config_makefile dlls/packager/tests enable_tests
19855 wine_fn_config_makefile dlls/pdh enable_pdh
19856 wine_fn_config_makefile dlls/pdh/tests enable_tests
19857 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19858 wine_fn_config_makefile dlls/pidgen enable_pidgen
19859 wine_fn_config_makefile dlls/powrprof enable_powrprof
19860 wine_fn_config_makefile dlls/printui enable_printui
19861 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19862 wine_fn_config_makefile dlls/propsys enable_propsys
19863 wine_fn_config_makefile dlls/propsys/tests enable_tests
19864 wine_fn_config_makefile dlls/psapi enable_psapi
19865 wine_fn_config_makefile dlls/psapi/tests enable_tests
19866 wine_fn_config_makefile dlls/pstorec enable_pstorec
19867 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19868 wine_fn_config_makefile dlls/qcap enable_qcap
19869 wine_fn_config_makefile dlls/qcap/tests enable_tests
19870 wine_fn_config_makefile dlls/qedit enable_qedit
19871 wine_fn_config_makefile dlls/qedit/tests enable_tests
19872 wine_fn_config_makefile dlls/qmgr enable_qmgr
19873 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19874 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19875 wine_fn_config_makefile dlls/quartz enable_quartz
19876 wine_fn_config_makefile dlls/quartz/tests enable_tests
19877 wine_fn_config_makefile dlls/query enable_query
19878 wine_fn_config_makefile dlls/qwave enable_qwave
19879 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19880 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19881 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19882 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19883 wine_fn_config_makefile dlls/regapi enable_regapi
19884 wine_fn_config_makefile dlls/resutils enable_resutils
19885 wine_fn_config_makefile dlls/riched20 enable_riched20
19886 wine_fn_config_makefile dlls/riched20/tests enable_tests
19887 wine_fn_config_makefile dlls/riched32 enable_riched32
19888 wine_fn_config_makefile dlls/riched32/tests enable_tests
19889 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19890 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19891 wine_fn_config_makefile dlls/rsabase enable_rsabase
19892 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19893 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19894 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19895 wine_fn_config_makefile dlls/rtutils enable_rtutils
19896 wine_fn_config_makefile dlls/samlib enable_samlib
19897 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19898 wine_fn_config_makefile dlls/sapi enable_sapi
19899 wine_fn_config_makefile dlls/sapi/tests enable_tests
19900 wine_fn_config_makefile dlls/sas enable_sas
19901 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19902 wine_fn_config_makefile dlls/sccbase enable_sccbase
19903 wine_fn_config_makefile dlls/schannel enable_schannel
19904 wine_fn_config_makefile dlls/schannel/tests enable_tests
19905 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19906 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19907 wine_fn_config_makefile dlls/scrobj enable_scrobj
19908 wine_fn_config_makefile dlls/scrrun enable_scrrun
19909 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19910 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19911 wine_fn_config_makefile dlls/secur32 enable_secur32
19912 wine_fn_config_makefile dlls/secur32/tests enable_tests
19913 wine_fn_config_makefile dlls/security enable_security
19914 wine_fn_config_makefile dlls/sensapi enable_sensapi
19915 wine_fn_config_makefile dlls/serialui enable_serialui
19916 wine_fn_config_makefile dlls/serialui/tests enable_tests
19917 wine_fn_config_makefile dlls/setupapi enable_setupapi
19918 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19919 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19920 wine_fn_config_makefile dlls/sfc enable_sfc
19921 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19922 wine_fn_config_makefile dlls/shcore enable_shcore
19923 wine_fn_config_makefile dlls/shcore/tests enable_tests
19924 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19925 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19926 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19927 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19928 wine_fn_config_makefile dlls/shell32 enable_shell32
19929 wine_fn_config_makefile dlls/shell32/tests enable_tests
19930 wine_fn_config_makefile dlls/shfolder enable_shfolder
19931 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19932 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19933 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19934 wine_fn_config_makefile dlls/slc enable_slc
19935 wine_fn_config_makefile dlls/slc/tests enable_tests
19936 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19937 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19938 wine_fn_config_makefile dlls/softpub enable_softpub
19939 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19940 wine_fn_config_makefile dlls/spoolss enable_spoolss
19941 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19942 wine_fn_config_makefile dlls/srclient enable_srclient
19943 wine_fn_config_makefile dlls/sspicli enable_sspicli
19944 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19945 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19946 wine_fn_config_makefile dlls/sti enable_sti
19947 wine_fn_config_makefile dlls/sti/tests enable_tests
19948 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19949 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19950 wine_fn_config_makefile dlls/strmbase enable_strmbase
19951 wine_fn_config_makefile dlls/strmdll enable_strmdll
19952 wine_fn_config_makefile dlls/strmiids enable_strmiids
19953 wine_fn_config_makefile dlls/svrapi enable_svrapi
19954 wine_fn_config_makefile dlls/sxs enable_sxs
19955 wine_fn_config_makefile dlls/sxs/tests enable_tests
19956 wine_fn_config_makefile dlls/system.drv16 enable_win16
19957 wine_fn_config_makefile dlls/t2embed enable_t2embed
19958 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19959 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19960 wine_fn_config_makefile dlls/taskschd enable_taskschd
19961 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19962 wine_fn_config_makefile dlls/tdh enable_tdh
19963 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19964 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19965 wine_fn_config_makefile dlls/traffic enable_traffic
19966 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19967 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19968 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19969 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19970 wine_fn_config_makefile dlls/tzres enable_tzres
19971 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19972 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19973 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19974 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
19975 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19976 wine_fn_config_makefile dlls/unicows enable_unicows
19977 wine_fn_config_makefile dlls/updspapi enable_updspapi
19978 wine_fn_config_makefile dlls/url enable_url
19979 wine_fn_config_makefile dlls/urlmon enable_urlmon
19980 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19981 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19982 wine_fn_config_makefile dlls/user.exe16 enable_win16
19983 wine_fn_config_makefile dlls/user32 enable_user32
19984 wine_fn_config_makefile dlls/user32/tests enable_tests
19985 wine_fn_config_makefile dlls/userenv enable_userenv
19986 wine_fn_config_makefile dlls/userenv/tests enable_tests
19987 wine_fn_config_makefile dlls/usp10 enable_usp10
19988 wine_fn_config_makefile dlls/usp10/tests enable_tests
19989 wine_fn_config_makefile dlls/uuid enable_uuid
19990 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19991 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19992 wine_fn_config_makefile dlls/vbscript enable_vbscript
19993 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19994 wine_fn_config_makefile dlls/vcomp enable_vcomp
19995 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19996 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19997 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19998 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19999 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20000 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20001 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20002 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20003 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20004 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20005 wine_fn_config_makefile dlls/version enable_version
20006 wine_fn_config_makefile dlls/version/tests enable_tests
20007 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20008 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20009 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20010 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20011 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20012 wine_fn_config_makefile dlls/vssapi enable_vssapi
20013 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20014 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20015 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20016 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20017 wine_fn_config_makefile dlls/w32skrnl enable_win16
20018 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20019 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20020 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20021 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20022 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20023 wine_fn_config_makefile dlls/wdscore enable_wdscore
20024 wine_fn_config_makefile dlls/webservices enable_webservices
20025 wine_fn_config_makefile dlls/webservices/tests enable_tests
20026 wine_fn_config_makefile dlls/wer enable_wer
20027 wine_fn_config_makefile dlls/wer/tests enable_tests
20028 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20029 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20030 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20031 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20032 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20033 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20034 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20035 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20036 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20037 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20038 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20039 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20040 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20041 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20042 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20043 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20044 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20045 wine_fn_config_makefile dlls/wined3d enable_wined3d
20046 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20047 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20048 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20049 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20050 wine_fn_config_makefile dlls/winemapi enable_winemapi
20051 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20052 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20053 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20054 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20055 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20056 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20057 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20058 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20059 wine_fn_config_makefile dlls/wing32 enable_wing32
20060 wine_fn_config_makefile dlls/winhttp enable_winhttp
20061 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20062 wine_fn_config_makefile dlls/wininet enable_wininet
20063 wine_fn_config_makefile dlls/wininet/tests enable_tests
20064 wine_fn_config_makefile dlls/winmm enable_winmm
20065 wine_fn_config_makefile dlls/winmm/tests enable_tests
20066 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20067 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20068 wine_fn_config_makefile dlls/winscard enable_winscard
20069 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20070 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20071 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20072 wine_fn_config_makefile dlls/winsta enable_winsta
20073 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20074 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20075 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20076 wine_fn_config_makefile dlls/wintrust enable_wintrust
20077 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20078 wine_fn_config_makefile dlls/winusb enable_winusb
20079 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20080 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20081 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20082 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20083 wine_fn_config_makefile dlls/wmasf enable_wmasf
20084 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20085 wine_fn_config_makefile dlls/wmi enable_wmi
20086 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20087 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20088 wine_fn_config_makefile dlls/wmp enable_wmp
20089 wine_fn_config_makefile dlls/wmp/tests enable_tests
20090 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20091 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20092 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20093 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20094 wine_fn_config_makefile dlls/wow32 enable_win16
20095 wine_fn_config_makefile dlls/wpc enable_wpc
20096 wine_fn_config_makefile dlls/wpc/tests enable_tests
20097 wine_fn_config_makefile dlls/wpcap enable_wpcap
20098 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20099 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20100 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20101 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20102 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20103 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20104 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20105 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20106 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20107 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20108 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20109 wine_fn_config_makefile dlls/wuapi enable_wuapi
20110 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20111 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20112 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20113 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20114 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20115 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20116 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20117 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20118 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20119 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20120 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20121 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20122 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20123 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20124 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20125 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20126 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20127 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20128 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20129 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20130 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20131 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20132 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20133 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20134 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20135 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20136 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20137 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20138 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20139 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20140 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20141 wine_fn_config_makefile dlls/xmllite enable_xmllite
20142 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20143 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20144 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20145 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20146 wine_fn_config_makefile fonts enable_fonts
20147 wine_fn_config_makefile include enable_include
20148 wine_fn_config_makefile libs/port enable_port
20149 wine_fn_config_makefile libs/wine enable_wine
20150 wine_fn_config_makefile libs/wpp enable_wpp
20151 wine_fn_config_makefile loader enable_loader
20152 wine_fn_config_makefile po enable_po
20153 wine_fn_config_makefile programs/arp enable_arp
20154 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20155 wine_fn_config_makefile programs/attrib enable_attrib
20156 wine_fn_config_makefile programs/cabarc enable_cabarc
20157 wine_fn_config_makefile programs/cacls enable_cacls
20158 wine_fn_config_makefile programs/clock enable_clock
20159 wine_fn_config_makefile programs/cmd enable_cmd
20160 wine_fn_config_makefile programs/cmd/tests enable_tests
20161 wine_fn_config_makefile programs/conhost enable_conhost
20162 wine_fn_config_makefile programs/control enable_control
20163 wine_fn_config_makefile programs/cscript enable_cscript
20164 wine_fn_config_makefile programs/dism enable_dism
20165 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20166 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20167 wine_fn_config_makefile programs/eject enable_eject
20168 wine_fn_config_makefile programs/expand enable_expand
20169 wine_fn_config_makefile programs/explorer enable_explorer
20170 wine_fn_config_makefile programs/extrac32 enable_extrac32
20171 wine_fn_config_makefile programs/fc enable_fc
20172 wine_fn_config_makefile programs/find enable_find
20173 wine_fn_config_makefile programs/findstr enable_findstr
20174 wine_fn_config_makefile programs/fsutil enable_fsutil
20175 wine_fn_config_makefile programs/hh enable_hh
20176 wine_fn_config_makefile programs/hostname enable_hostname
20177 wine_fn_config_makefile programs/icacls enable_icacls
20178 wine_fn_config_makefile programs/icinfo enable_icinfo
20179 wine_fn_config_makefile programs/iexplore enable_iexplore
20180 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20181 wine_fn_config_makefile programs/lodctr enable_lodctr
20182 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20183 wine_fn_config_makefile programs/mshta enable_mshta
20184 wine_fn_config_makefile programs/msidb enable_msidb
20185 wine_fn_config_makefile programs/msiexec enable_msiexec
20186 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20187 wine_fn_config_makefile programs/net enable_net
20188 wine_fn_config_makefile programs/netsh enable_netsh
20189 wine_fn_config_makefile programs/netstat enable_netstat
20190 wine_fn_config_makefile programs/ngen enable_ngen
20191 wine_fn_config_makefile programs/notepad enable_notepad
20192 wine_fn_config_makefile programs/oleview enable_oleview
20193 wine_fn_config_makefile programs/ping enable_ping
20194 wine_fn_config_makefile programs/plugplay enable_plugplay
20195 wine_fn_config_makefile programs/powershell enable_powershell
20196 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20197 wine_fn_config_makefile programs/progman enable_progman
20198 wine_fn_config_makefile programs/reg enable_reg
20199 wine_fn_config_makefile programs/reg/tests enable_tests
20200 wine_fn_config_makefile programs/regasm enable_regasm
20201 wine_fn_config_makefile programs/regedit enable_regedit
20202 wine_fn_config_makefile programs/regedit/tests enable_tests
20203 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20204 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20205 wine_fn_config_makefile programs/rpcss enable_rpcss
20206 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20207 wine_fn_config_makefile programs/rundll32 enable_rundll32
20208 wine_fn_config_makefile programs/sc enable_sc
20209 wine_fn_config_makefile programs/schtasks enable_schtasks
20210 wine_fn_config_makefile programs/schtasks/tests enable_tests
20211 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20212 wine_fn_config_makefile programs/secedit enable_secedit
20213 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20214 wine_fn_config_makefile programs/services enable_services
20215 wine_fn_config_makefile programs/services/tests enable_tests
20216 wine_fn_config_makefile programs/shutdown enable_shutdown
20217 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20218 wine_fn_config_makefile programs/start enable_start
20219 wine_fn_config_makefile programs/subst enable_subst
20220 wine_fn_config_makefile programs/svchost enable_svchost
20221 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20222 wine_fn_config_makefile programs/taskkill enable_taskkill
20223 wine_fn_config_makefile programs/tasklist enable_tasklist
20224 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20225 wine_fn_config_makefile programs/termsv enable_termsv
20226 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20227 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20228 wine_fn_config_makefile programs/view enable_view
20229 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20230 wine_fn_config_makefile programs/wineboot enable_wineboot
20231 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20232 wine_fn_config_makefile programs/winecfg enable_winecfg
20233 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20234 wine_fn_config_makefile programs/winedbg enable_winedbg
20235 wine_fn_config_makefile programs/winedevice enable_winedevice
20236 wine_fn_config_makefile programs/winefile enable_winefile
20237 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20238 wine_fn_config_makefile programs/winemine enable_winemine
20239 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20240 wine_fn_config_makefile programs/winepath enable_winepath
20241 wine_fn_config_makefile programs/winetest enable_winetest
20242 wine_fn_config_makefile programs/winevdm enable_win16
20243 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20244 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20245 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20246 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20247 wine_fn_config_makefile programs/winver enable_winver
20248 wine_fn_config_makefile programs/wmic enable_wmic
20249 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20250 wine_fn_config_makefile programs/wordpad enable_wordpad
20251 wine_fn_config_makefile programs/write enable_write
20252 wine_fn_config_makefile programs/wscript enable_wscript
20253 wine_fn_config_makefile programs/wscript/tests enable_tests
20254 wine_fn_config_makefile programs/wusa enable_wusa
20255 wine_fn_config_makefile programs/xcopy enable_xcopy
20256 wine_fn_config_makefile programs/xcopy/tests enable_tests
20257 wine_fn_config_makefile server enable_server
20258 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20259 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20260 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20261 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20262 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20263 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20264 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20265 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20266 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20269 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20270 wine_fn_append_file CONFIGURE_TARGETS "tags"
20271 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20272 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20273 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20274 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20275 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20276 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20278 if test "x$enable_tools" != xno
20279 then
20280 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20281 ac_config_commands="$ac_config_commands tools/makedep"
20285 ac_config_commands="$ac_config_commands Makefile"
20288 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20292 if test "x$enable_maintainer_mode" = xyes
20293 then
20294 wine_fn_append_rule "configure: configure.ac aclocal.m4
20295 autoconf --warnings=all
20296 include/config.h.in: include/stamp-h.in
20297 include/stamp-h.in: configure.ac aclocal.m4
20298 autoheader --warnings=all
20299 @echo timestamp > \$@"
20302 if test "x$enable_tools" != xno
20303 then
20304 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20305 @./config.status tools/makedep
20306 Makefile: tools/makedep$ac_exeext
20307 fonts: tools/sfnt2fon
20308 include: tools tools/widl"
20309 else
20310 wine_fn_append_rule "\$(MAKEDEP):
20311 @echo \"You need to run make in $TOOLSDIR first\" && false"
20314 if test -n "$with_wine64"
20315 then
20316 case "$with_wine64" in
20317 /*) reldir="" ;;
20318 *) reldir="../" ;;
20319 esac
20320 rm -f fonts server 2>/dev/null
20321 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20322 loader/wine64 loader/wine64-preloader:
20323 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20324 $with_wine64/loader/wine:
20325 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20326 $with_wine64/loader/wine-preloader:
20327 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20328 clean::
20329 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20330 else
20331 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
20332 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
20333 fonts \
20334 loader/l_intl.nls \
20335 loader/wine.inf \
20336 programs/msidb/msidb \
20337 programs/msiexec/msiexec \
20338 programs/notepad/notepad \
20339 programs/regedit/regedit \
20340 programs/regsvr32/regsvr32 \
20341 programs/wineboot/wineboot \
20342 programs/winecfg/winecfg \
20343 programs/wineconsole/wineconsole \
20344 programs/winedbg/winedbg \
20345 programs/winefile/winefile \
20346 programs/winemine/winemine \
20347 programs/winepath/winepath \
20348 server/wineserver"
20350 case $host_os in
20351 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20352 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
20353 esac
20356 $as_echo " done" >&6
20357 cat >confcache <<\_ACEOF
20358 # This file is a shell script that caches the results of configure
20359 # tests run on this system so they can be shared between configure
20360 # scripts and configure runs, see configure's option --config-cache.
20361 # It is not useful on other systems. If it contains results you don't
20362 # want to keep, you may remove or edit it.
20364 # config.status only pays attention to the cache file if you give it
20365 # the --recheck option to rerun configure.
20367 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20368 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20369 # following values.
20371 _ACEOF
20373 # The following way of writing the cache mishandles newlines in values,
20374 # but we know of no workaround that is simple, portable, and efficient.
20375 # So, we kill variables containing newlines.
20376 # Ultrix sh set writes to stderr and can't be redirected directly,
20377 # and sets the high bit in the cache file unless we assign to the vars.
20379 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20380 eval ac_val=\$$ac_var
20381 case $ac_val in #(
20382 *${as_nl}*)
20383 case $ac_var in #(
20384 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20385 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20386 esac
20387 case $ac_var in #(
20388 _ | IFS | as_nl) ;; #(
20389 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20390 *) { eval $ac_var=; unset $ac_var;} ;;
20391 esac ;;
20392 esac
20393 done
20395 (set) 2>&1 |
20396 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20397 *${as_nl}ac_space=\ *)
20398 # `set' does not quote correctly, so add quotes: double-quote
20399 # substitution turns \\\\ into \\, and sed turns \\ into \.
20400 sed -n \
20401 "s/'/'\\\\''/g;
20402 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20403 ;; #(
20405 # `set' quotes correctly as required by POSIX, so do not add quotes.
20406 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20408 esac |
20409 sort
20411 sed '
20412 /^ac_cv_env_/b end
20413 t clear
20414 :clear
20415 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20416 t end
20417 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20418 :end' >>confcache
20419 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20420 if test -w "$cache_file"; then
20421 if test "x$cache_file" != "x/dev/null"; then
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20423 $as_echo "$as_me: updating cache $cache_file" >&6;}
20424 if test ! -f "$cache_file" || test -h "$cache_file"; then
20425 cat confcache >"$cache_file"
20426 else
20427 case $cache_file in #(
20428 */* | ?:*)
20429 mv -f confcache "$cache_file"$$ &&
20430 mv -f "$cache_file"$$ "$cache_file" ;; #(
20432 mv -f confcache "$cache_file" ;;
20433 esac
20436 else
20437 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20438 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20441 rm -f confcache
20443 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20444 # Let make expand exec_prefix.
20445 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20447 DEFS=-DHAVE_CONFIG_H
20449 ac_libobjs=
20450 ac_ltlibobjs=
20452 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20453 # 1. Remove the extension, and $U if already installed.
20454 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20455 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20456 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20457 # will be set to the directory where LIBOBJS objects are built.
20458 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20459 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20460 done
20461 LIBOBJS=$ac_libobjs
20463 LTLIBOBJS=$ac_ltlibobjs
20467 : "${CONFIG_STATUS=./config.status}"
20468 ac_write_fail=0
20469 ac_clean_files_save=$ac_clean_files
20470 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20471 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20472 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20473 as_write_fail=0
20474 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20475 #! $SHELL
20476 # Generated by $as_me.
20477 # Run this file to recreate the current configuration.
20478 # Compiler output produced by configure, useful for debugging
20479 # configure, is in config.log if it exists.
20481 debug=false
20482 ac_cs_recheck=false
20483 ac_cs_silent=false
20485 SHELL=\${CONFIG_SHELL-$SHELL}
20486 export SHELL
20487 _ASEOF
20488 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20489 ## -------------------- ##
20490 ## M4sh Initialization. ##
20491 ## -------------------- ##
20493 # Be more Bourne compatible
20494 DUALCASE=1; export DUALCASE # for MKS sh
20495 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20496 emulate sh
20497 NULLCMD=:
20498 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20499 # is contrary to our usage. Disable this feature.
20500 alias -g '${1+"$@"}'='"$@"'
20501 setopt NO_GLOB_SUBST
20502 else
20503 case `(set -o) 2>/dev/null` in #(
20504 *posix*) :
20505 set -o posix ;; #(
20506 *) :
20508 esac
20512 as_nl='
20514 export as_nl
20515 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20516 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20517 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20518 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20519 # Prefer a ksh shell builtin over an external printf program on Solaris,
20520 # but without wasting forks for bash or zsh.
20521 if test -z "$BASH_VERSION$ZSH_VERSION" \
20522 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20523 as_echo='print -r --'
20524 as_echo_n='print -rn --'
20525 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20526 as_echo='printf %s\n'
20527 as_echo_n='printf %s'
20528 else
20529 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20530 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20531 as_echo_n='/usr/ucb/echo -n'
20532 else
20533 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20534 as_echo_n_body='eval
20535 arg=$1;
20536 case $arg in #(
20537 *"$as_nl"*)
20538 expr "X$arg" : "X\\(.*\\)$as_nl";
20539 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20540 esac;
20541 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20543 export as_echo_n_body
20544 as_echo_n='sh -c $as_echo_n_body as_echo'
20546 export as_echo_body
20547 as_echo='sh -c $as_echo_body as_echo'
20550 # The user is always right.
20551 if test "${PATH_SEPARATOR+set}" != set; then
20552 PATH_SEPARATOR=:
20553 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20554 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20555 PATH_SEPARATOR=';'
20560 # IFS
20561 # We need space, tab and new line, in precisely that order. Quoting is
20562 # there to prevent editors from complaining about space-tab.
20563 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20564 # splitting by setting IFS to empty value.)
20565 IFS=" "" $as_nl"
20567 # Find who we are. Look in the path if we contain no directory separator.
20568 as_myself=
20569 case $0 in #((
20570 *[\\/]* ) as_myself=$0 ;;
20571 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20572 for as_dir in $PATH
20574 IFS=$as_save_IFS
20575 test -z "$as_dir" && as_dir=.
20576 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20577 done
20578 IFS=$as_save_IFS
20581 esac
20582 # We did not find ourselves, most probably we were run as `sh COMMAND'
20583 # in which case we are not to be found in the path.
20584 if test "x$as_myself" = x; then
20585 as_myself=$0
20587 if test ! -f "$as_myself"; then
20588 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20589 exit 1
20592 # Unset variables that we do not need and which cause bugs (e.g. in
20593 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20594 # suppresses any "Segmentation fault" message there. '((' could
20595 # trigger a bug in pdksh 5.2.14.
20596 for as_var in BASH_ENV ENV MAIL MAILPATH
20597 do eval test x\${$as_var+set} = xset \
20598 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20599 done
20600 PS1='$ '
20601 PS2='> '
20602 PS4='+ '
20604 # NLS nuisances.
20605 LC_ALL=C
20606 export LC_ALL
20607 LANGUAGE=C
20608 export LANGUAGE
20610 # CDPATH.
20611 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20614 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20615 # ----------------------------------------
20616 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20617 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20618 # script with STATUS, using 1 if that was 0.
20619 as_fn_error ()
20621 as_status=$1; test $as_status -eq 0 && as_status=1
20622 if test "$4"; then
20623 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20624 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20626 $as_echo "$as_me: error: $2" >&2
20627 as_fn_exit $as_status
20628 } # as_fn_error
20631 # as_fn_set_status STATUS
20632 # -----------------------
20633 # Set $? to STATUS, without forking.
20634 as_fn_set_status ()
20636 return $1
20637 } # as_fn_set_status
20639 # as_fn_exit STATUS
20640 # -----------------
20641 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20642 as_fn_exit ()
20644 set +e
20645 as_fn_set_status $1
20646 exit $1
20647 } # as_fn_exit
20649 # as_fn_unset VAR
20650 # ---------------
20651 # Portably unset VAR.
20652 as_fn_unset ()
20654 { eval $1=; unset $1;}
20656 as_unset=as_fn_unset
20657 # as_fn_append VAR VALUE
20658 # ----------------------
20659 # Append the text in VALUE to the end of the definition contained in VAR. Take
20660 # advantage of any shell optimizations that allow amortized linear growth over
20661 # repeated appends, instead of the typical quadratic growth present in naive
20662 # implementations.
20663 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20664 eval 'as_fn_append ()
20666 eval $1+=\$2
20668 else
20669 as_fn_append ()
20671 eval $1=\$$1\$2
20673 fi # as_fn_append
20675 # as_fn_arith ARG...
20676 # ------------------
20677 # Perform arithmetic evaluation on the ARGs, and store the result in the
20678 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20679 # must be portable across $(()) and expr.
20680 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20681 eval 'as_fn_arith ()
20683 as_val=$(( $* ))
20685 else
20686 as_fn_arith ()
20688 as_val=`expr "$@" || test $? -eq 1`
20690 fi # as_fn_arith
20693 if expr a : '\(a\)' >/dev/null 2>&1 &&
20694 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20695 as_expr=expr
20696 else
20697 as_expr=false
20700 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20701 as_basename=basename
20702 else
20703 as_basename=false
20706 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20707 as_dirname=dirname
20708 else
20709 as_dirname=false
20712 as_me=`$as_basename -- "$0" ||
20713 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20714 X"$0" : 'X\(//\)$' \| \
20715 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20716 $as_echo X/"$0" |
20717 sed '/^.*\/\([^/][^/]*\)\/*$/{
20718 s//\1/
20721 /^X\/\(\/\/\)$/{
20722 s//\1/
20725 /^X\/\(\/\).*/{
20726 s//\1/
20729 s/.*/./; q'`
20731 # Avoid depending upon Character Ranges.
20732 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20733 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20734 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20735 as_cr_digits='0123456789'
20736 as_cr_alnum=$as_cr_Letters$as_cr_digits
20738 ECHO_C= ECHO_N= ECHO_T=
20739 case `echo -n x` in #(((((
20740 -n*)
20741 case `echo 'xy\c'` in
20742 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20743 xy) ECHO_C='\c';;
20744 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20745 ECHO_T=' ';;
20746 esac;;
20748 ECHO_N='-n';;
20749 esac
20751 rm -f conf$$ conf$$.exe conf$$.file
20752 if test -d conf$$.dir; then
20753 rm -f conf$$.dir/conf$$.file
20754 else
20755 rm -f conf$$.dir
20756 mkdir conf$$.dir 2>/dev/null
20758 if (echo >conf$$.file) 2>/dev/null; then
20759 if ln -s conf$$.file conf$$ 2>/dev/null; then
20760 as_ln_s='ln -s'
20761 # ... but there are two gotchas:
20762 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20763 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20764 # In both cases, we have to default to `cp -pR'.
20765 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20766 as_ln_s='cp -pR'
20767 elif ln conf$$.file conf$$ 2>/dev/null; then
20768 as_ln_s=ln
20769 else
20770 as_ln_s='cp -pR'
20772 else
20773 as_ln_s='cp -pR'
20775 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20776 rmdir conf$$.dir 2>/dev/null
20779 # as_fn_mkdir_p
20780 # -------------
20781 # Create "$as_dir" as a directory, including parents if necessary.
20782 as_fn_mkdir_p ()
20785 case $as_dir in #(
20786 -*) as_dir=./$as_dir;;
20787 esac
20788 test -d "$as_dir" || eval $as_mkdir_p || {
20789 as_dirs=
20790 while :; do
20791 case $as_dir in #(
20792 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20793 *) as_qdir=$as_dir;;
20794 esac
20795 as_dirs="'$as_qdir' $as_dirs"
20796 as_dir=`$as_dirname -- "$as_dir" ||
20797 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20798 X"$as_dir" : 'X\(//\)[^/]' \| \
20799 X"$as_dir" : 'X\(//\)$' \| \
20800 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20801 $as_echo X"$as_dir" |
20802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20803 s//\1/
20806 /^X\(\/\/\)[^/].*/{
20807 s//\1/
20810 /^X\(\/\/\)$/{
20811 s//\1/
20814 /^X\(\/\).*/{
20815 s//\1/
20818 s/.*/./; q'`
20819 test -d "$as_dir" && break
20820 done
20821 test -z "$as_dirs" || eval "mkdir $as_dirs"
20822 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20825 } # as_fn_mkdir_p
20826 if mkdir -p . 2>/dev/null; then
20827 as_mkdir_p='mkdir -p "$as_dir"'
20828 else
20829 test -d ./-p && rmdir ./-p
20830 as_mkdir_p=false
20834 # as_fn_executable_p FILE
20835 # -----------------------
20836 # Test if FILE is an executable regular file.
20837 as_fn_executable_p ()
20839 test -f "$1" && test -x "$1"
20840 } # as_fn_executable_p
20841 as_test_x='test -x'
20842 as_executable_p=as_fn_executable_p
20844 # Sed expression to map a string onto a valid CPP name.
20845 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20847 # Sed expression to map a string onto a valid variable name.
20848 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20851 exec 6>&1
20852 ## ----------------------------------- ##
20853 ## Main body of $CONFIG_STATUS script. ##
20854 ## ----------------------------------- ##
20855 _ASEOF
20856 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20859 # Save the log message, to keep $0 and so on meaningful, and to
20860 # report actual input values of CONFIG_FILES etc. instead of their
20861 # values after options handling.
20862 ac_log="
20863 This file was extended by Wine $as_me 4.4, which was
20864 generated by GNU Autoconf 2.69. Invocation command line was
20866 CONFIG_FILES = $CONFIG_FILES
20867 CONFIG_HEADERS = $CONFIG_HEADERS
20868 CONFIG_LINKS = $CONFIG_LINKS
20869 CONFIG_COMMANDS = $CONFIG_COMMANDS
20870 $ $0 $@
20872 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20875 _ACEOF
20877 case $ac_config_files in *"
20878 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20879 esac
20881 case $ac_config_headers in *"
20882 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20883 esac
20886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20887 # Files that config.status was made for.
20888 config_files="$ac_config_files"
20889 config_headers="$ac_config_headers"
20890 config_links="$ac_config_links"
20891 config_commands="$ac_config_commands"
20893 _ACEOF
20895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20896 ac_cs_usage="\
20897 \`$as_me' instantiates files and other configuration actions
20898 from templates according to the current configuration. Unless the files
20899 and actions are specified as TAGs, all are instantiated by default.
20901 Usage: $0 [OPTION]... [TAG]...
20903 -h, --help print this help, then exit
20904 -V, --version print version number and configuration settings, then exit
20905 --config print configuration, then exit
20906 -q, --quiet, --silent
20907 do not print progress messages
20908 -d, --debug don't remove temporary files
20909 --recheck update $as_me by reconfiguring in the same conditions
20910 --file=FILE[:TEMPLATE]
20911 instantiate the configuration file FILE
20912 --header=FILE[:TEMPLATE]
20913 instantiate the configuration header FILE
20915 Configuration files:
20916 $config_files
20918 Configuration headers:
20919 $config_headers
20921 Configuration links:
20922 $config_links
20924 Configuration commands:
20925 $config_commands
20927 Report bugs to <wine-devel@winehq.org>.
20928 Wine home page: <https://www.winehq.org>."
20930 _ACEOF
20931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20932 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20933 ac_cs_version="\\
20934 Wine config.status 4.4
20935 configured by $0, generated by GNU Autoconf 2.69,
20936 with options \\"\$ac_cs_config\\"
20938 Copyright (C) 2012 Free Software Foundation, Inc.
20939 This config.status script is free software; the Free Software Foundation
20940 gives unlimited permission to copy, distribute and modify it."
20942 ac_pwd='$ac_pwd'
20943 srcdir='$srcdir'
20944 test -n "\$AWK" || AWK=awk
20945 _ACEOF
20947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20948 # The default lists apply if the user does not specify any file.
20949 ac_need_defaults=:
20950 while test $# != 0
20952 case $1 in
20953 --*=?*)
20954 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20955 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20956 ac_shift=:
20958 --*=)
20959 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20960 ac_optarg=
20961 ac_shift=:
20964 ac_option=$1
20965 ac_optarg=$2
20966 ac_shift=shift
20968 esac
20970 case $ac_option in
20971 # Handling of the options.
20972 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20973 ac_cs_recheck=: ;;
20974 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20975 $as_echo "$ac_cs_version"; exit ;;
20976 --config | --confi | --conf | --con | --co | --c )
20977 $as_echo "$ac_cs_config"; exit ;;
20978 --debug | --debu | --deb | --de | --d | -d )
20979 debug=: ;;
20980 --file | --fil | --fi | --f )
20981 $ac_shift
20982 case $ac_optarg in
20983 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20984 '') as_fn_error $? "missing file argument" ;;
20985 esac
20986 as_fn_append CONFIG_FILES " '$ac_optarg'"
20987 ac_need_defaults=false;;
20988 --header | --heade | --head | --hea )
20989 $ac_shift
20990 case $ac_optarg in
20991 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20992 esac
20993 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20994 ac_need_defaults=false;;
20995 --he | --h)
20996 # Conflict between --help and --header
20997 as_fn_error $? "ambiguous option: \`$1'
20998 Try \`$0 --help' for more information.";;
20999 --help | --hel | -h )
21000 $as_echo "$ac_cs_usage"; exit ;;
21001 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21002 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21003 ac_cs_silent=: ;;
21005 # This is an error.
21006 -*) as_fn_error $? "unrecognized option: \`$1'
21007 Try \`$0 --help' for more information." ;;
21009 *) as_fn_append ac_config_targets " $1"
21010 ac_need_defaults=false ;;
21012 esac
21013 shift
21014 done
21016 ac_configure_extra_args=
21018 if $ac_cs_silent; then
21019 exec 6>/dev/null
21020 ac_configure_extra_args="$ac_configure_extra_args --silent"
21023 _ACEOF
21024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21025 if \$ac_cs_recheck; then
21026 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21027 shift
21028 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21029 CONFIG_SHELL='$SHELL'
21030 export CONFIG_SHELL
21031 exec "\$@"
21034 _ACEOF
21035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21036 exec 5>>config.log
21038 echo
21039 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21040 ## Running $as_me. ##
21041 _ASBOX
21042 $as_echo "$ac_log"
21043 } >&5
21045 _ACEOF
21046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21048 # INIT-COMMANDS
21050 wine_fn_output_makedep ()
21052 as_dir=tools; as_fn_mkdir_p
21053 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21055 wine_fn_output_makefile ()
21057 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21058 `cat $wine_rules_file`
21059 _WINE_EOF
21060 as_fn_error $? "could not create Makefile" "$LINENO" 5
21063 _ACEOF
21065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21067 # Handling of arguments.
21068 for ac_config_target in $ac_config_targets
21070 case $ac_config_target in
21071 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21072 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21073 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21074 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21075 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21076 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21077 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21078 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21079 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21080 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21081 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21082 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21083 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21085 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21086 esac
21087 done
21090 # If the user did not use the arguments to specify the items to instantiate,
21091 # then the envvar interface is used. Set only those that are not.
21092 # We use the long form for the default assignment because of an extremely
21093 # bizarre bug on SunOS 4.1.3.
21094 if $ac_need_defaults; then
21095 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21096 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21097 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21098 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21101 # Have a temporary directory for convenience. Make it in the build tree
21102 # simply because there is no reason against having it here, and in addition,
21103 # creating and moving files from /tmp can sometimes cause problems.
21104 # Hook for its removal unless debugging.
21105 # Note that there is a small window in which the directory will not be cleaned:
21106 # after its creation but before its name has been assigned to `$tmp'.
21107 $debug ||
21109 tmp= ac_tmp=
21110 trap 'exit_status=$?
21111 : "${ac_tmp:=$tmp}"
21112 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21114 trap 'as_fn_exit 1' 1 2 13 15
21116 # Create a (secure) tmp directory for tmp files.
21119 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21120 test -d "$tmp"
21121 } ||
21123 tmp=./conf$$-$RANDOM
21124 (umask 077 && mkdir "$tmp")
21125 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21126 ac_tmp=$tmp
21128 # Set up the scripts for CONFIG_FILES section.
21129 # No need to generate them if there are no CONFIG_FILES.
21130 # This happens for instance with `./config.status config.h'.
21131 if test -n "$CONFIG_FILES"; then
21134 ac_cr=`echo X | tr X '\015'`
21135 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21136 # But we know of no other shell where ac_cr would be empty at this
21137 # point, so we can use a bashism as a fallback.
21138 if test "x$ac_cr" = x; then
21139 eval ac_cr=\$\'\\r\'
21141 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21142 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21143 ac_cs_awk_cr='\\r'
21144 else
21145 ac_cs_awk_cr=$ac_cr
21148 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21149 _ACEOF
21153 echo "cat >conf$$subs.awk <<_ACEOF" &&
21154 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21155 echo "_ACEOF"
21156 } >conf$$subs.sh ||
21157 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21158 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21159 ac_delim='%!_!# '
21160 for ac_last_try in false false false false false :; do
21161 . ./conf$$subs.sh ||
21162 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21164 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21165 if test $ac_delim_n = $ac_delim_num; then
21166 break
21167 elif $ac_last_try; then
21168 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21169 else
21170 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21172 done
21173 rm -f conf$$subs.sh
21175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21176 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21177 _ACEOF
21178 sed -n '
21180 s/^/S["/; s/!.*/"]=/
21183 s/^[^!]*!//
21184 :repl
21185 t repl
21186 s/'"$ac_delim"'$//
21187 t delim
21190 s/\(.\{148\}\)..*/\1/
21191 t more1
21192 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21195 b repl
21196 :more1
21197 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21200 s/.\{148\}//
21201 t nl
21202 :delim
21204 s/\(.\{148\}\)..*/\1/
21205 t more2
21206 s/["\\]/\\&/g; s/^/"/; s/$/"/
21209 :more2
21210 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21213 s/.\{148\}//
21214 t delim
21215 ' <conf$$subs.awk | sed '
21216 /^[^""]/{
21218 s/\n//
21220 ' >>$CONFIG_STATUS || ac_write_fail=1
21221 rm -f conf$$subs.awk
21222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21223 _ACAWK
21224 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21225 for (key in S) S_is_set[key] = 1
21226 FS = "\a"
21230 line = $ 0
21231 nfields = split(line, field, "@")
21232 substed = 0
21233 len = length(field[1])
21234 for (i = 2; i < nfields; i++) {
21235 key = field[i]
21236 keylen = length(key)
21237 if (S_is_set[key]) {
21238 value = S[key]
21239 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21240 len += length(value) + length(field[++i])
21241 substed = 1
21242 } else
21243 len += 1 + keylen
21246 print line
21249 _ACAWK
21250 _ACEOF
21251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21252 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21253 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21254 else
21256 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21257 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21258 _ACEOF
21260 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21261 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21262 # trailing colons and then remove the whole line if VPATH becomes empty
21263 # (actually we leave an empty line to preserve line numbers).
21264 if test "x$srcdir" = x.; then
21265 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21267 s///
21268 s/^/:/
21269 s/[ ]*$/:/
21270 s/:\$(srcdir):/:/g
21271 s/:\${srcdir}:/:/g
21272 s/:@srcdir@:/:/g
21273 s/^:*//
21274 s/:*$//
21276 s/\(=[ ]*\).*/\1/
21278 s/\n//
21279 s/^[^=]*=[ ]*$//
21283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21284 fi # test -n "$CONFIG_FILES"
21286 # Set up the scripts for CONFIG_HEADERS section.
21287 # No need to generate them if there are no CONFIG_HEADERS.
21288 # This happens for instance with `./config.status Makefile'.
21289 if test -n "$CONFIG_HEADERS"; then
21290 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21291 BEGIN {
21292 _ACEOF
21294 # Transform confdefs.h into an awk script `defines.awk', embedded as
21295 # here-document in config.status, that substitutes the proper values into
21296 # config.h.in to produce config.h.
21298 # Create a delimiter string that does not exist in confdefs.h, to ease
21299 # handling of long lines.
21300 ac_delim='%!_!# '
21301 for ac_last_try in false false :; do
21302 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21303 if test -z "$ac_tt"; then
21304 break
21305 elif $ac_last_try; then
21306 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21307 else
21308 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21310 done
21312 # For the awk script, D is an array of macro values keyed by name,
21313 # likewise P contains macro parameters if any. Preserve backslash
21314 # newline sequences.
21316 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21317 sed -n '
21318 s/.\{148\}/&'"$ac_delim"'/g
21319 t rset
21320 :rset
21321 s/^[ ]*#[ ]*define[ ][ ]*/ /
21322 t def
21324 :def
21325 s/\\$//
21326 t bsnl
21327 s/["\\]/\\&/g
21328 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21329 D["\1"]=" \3"/p
21330 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21332 :bsnl
21333 s/["\\]/\\&/g
21334 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21335 D["\1"]=" \3\\\\\\n"\\/p
21336 t cont
21337 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21338 t cont
21340 :cont
21342 s/.\{148\}/&'"$ac_delim"'/g
21343 t clear
21344 :clear
21345 s/\\$//
21346 t bsnlc
21347 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21349 :bsnlc
21350 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21351 b cont
21352 ' <confdefs.h | sed '
21353 s/'"$ac_delim"'/"\\\
21354 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21357 for (key in D) D_is_set[key] = 1
21358 FS = "\a"
21360 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21361 line = \$ 0
21362 split(line, arg, " ")
21363 if (arg[1] == "#") {
21364 defundef = arg[2]
21365 mac1 = arg[3]
21366 } else {
21367 defundef = substr(arg[1], 2)
21368 mac1 = arg[2]
21370 split(mac1, mac2, "(") #)
21371 macro = mac2[1]
21372 prefix = substr(line, 1, index(line, defundef) - 1)
21373 if (D_is_set[macro]) {
21374 # Preserve the white space surrounding the "#".
21375 print prefix "define", macro P[macro] D[macro]
21376 next
21377 } else {
21378 # Replace #undef with comments. This is necessary, for example,
21379 # in the case of _POSIX_SOURCE, which is predefined and required
21380 # on some systems where configure will not decide to define it.
21381 if (defundef == "undef") {
21382 print "/*", prefix defundef, macro, "*/"
21383 next
21387 { print }
21388 _ACAWK
21389 _ACEOF
21390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21391 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21392 fi # test -n "$CONFIG_HEADERS"
21395 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21396 shift
21397 for ac_tag
21399 case $ac_tag in
21400 :[FHLC]) ac_mode=$ac_tag; continue;;
21401 esac
21402 case $ac_mode$ac_tag in
21403 :[FHL]*:*);;
21404 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21405 :[FH]-) ac_tag=-:-;;
21406 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21407 esac
21408 ac_save_IFS=$IFS
21409 IFS=:
21410 set x $ac_tag
21411 IFS=$ac_save_IFS
21412 shift
21413 ac_file=$1
21414 shift
21416 case $ac_mode in
21417 :L) ac_source=$1;;
21418 :[FH])
21419 ac_file_inputs=
21420 for ac_f
21422 case $ac_f in
21423 -) ac_f="$ac_tmp/stdin";;
21424 *) # Look for the file first in the build tree, then in the source tree
21425 # (if the path is not absolute). The absolute path cannot be DOS-style,
21426 # because $ac_f cannot contain `:'.
21427 test -f "$ac_f" ||
21428 case $ac_f in
21429 [\\/$]*) false;;
21430 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21431 esac ||
21432 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21433 esac
21434 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21435 as_fn_append ac_file_inputs " '$ac_f'"
21436 done
21438 # Let's still pretend it is `configure' which instantiates (i.e., don't
21439 # use $as_me), people would be surprised to read:
21440 # /* config.h. Generated by config.status. */
21441 configure_input='Generated from '`
21442 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21443 `' by configure.'
21444 if test x"$ac_file" != x-; then
21445 configure_input="$ac_file. $configure_input"
21446 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21447 $as_echo "$as_me: creating $ac_file" >&6;}
21449 # Neutralize special characters interpreted by sed in replacement strings.
21450 case $configure_input in #(
21451 *\&* | *\|* | *\\* )
21452 ac_sed_conf_input=`$as_echo "$configure_input" |
21453 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21454 *) ac_sed_conf_input=$configure_input;;
21455 esac
21457 case $ac_tag in
21458 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21459 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21460 esac
21462 esac
21464 ac_dir=`$as_dirname -- "$ac_file" ||
21465 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21466 X"$ac_file" : 'X\(//\)[^/]' \| \
21467 X"$ac_file" : 'X\(//\)$' \| \
21468 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21469 $as_echo X"$ac_file" |
21470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21471 s//\1/
21474 /^X\(\/\/\)[^/].*/{
21475 s//\1/
21478 /^X\(\/\/\)$/{
21479 s//\1/
21482 /^X\(\/\).*/{
21483 s//\1/
21486 s/.*/./; q'`
21487 as_dir="$ac_dir"; as_fn_mkdir_p
21488 ac_builddir=.
21490 case "$ac_dir" in
21491 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21493 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21494 # A ".." for each directory in $ac_dir_suffix.
21495 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21496 case $ac_top_builddir_sub in
21497 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21498 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21499 esac ;;
21500 esac
21501 ac_abs_top_builddir=$ac_pwd
21502 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21503 # for backward compatibility:
21504 ac_top_builddir=$ac_top_build_prefix
21506 case $srcdir in
21507 .) # We are building in place.
21508 ac_srcdir=.
21509 ac_top_srcdir=$ac_top_builddir_sub
21510 ac_abs_top_srcdir=$ac_pwd ;;
21511 [\\/]* | ?:[\\/]* ) # Absolute name.
21512 ac_srcdir=$srcdir$ac_dir_suffix;
21513 ac_top_srcdir=$srcdir
21514 ac_abs_top_srcdir=$srcdir ;;
21515 *) # Relative name.
21516 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21517 ac_top_srcdir=$ac_top_build_prefix$srcdir
21518 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21519 esac
21520 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21523 case $ac_mode in
21526 # CONFIG_FILE
21529 _ACEOF
21531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21532 # If the template does not know about datarootdir, expand it.
21533 # FIXME: This hack should be removed a few years after 2.60.
21534 ac_datarootdir_hack=; ac_datarootdir_seen=
21535 ac_sed_dataroot='
21536 /datarootdir/ {
21540 /@datadir@/p
21541 /@docdir@/p
21542 /@infodir@/p
21543 /@localedir@/p
21544 /@mandir@/p'
21545 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21546 *datarootdir*) ac_datarootdir_seen=yes;;
21547 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21549 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21550 _ACEOF
21551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21552 ac_datarootdir_hack='
21553 s&@datadir@&$datadir&g
21554 s&@docdir@&$docdir&g
21555 s&@infodir@&$infodir&g
21556 s&@localedir@&$localedir&g
21557 s&@mandir@&$mandir&g
21558 s&\\\${datarootdir}&$datarootdir&g' ;;
21559 esac
21560 _ACEOF
21562 # Neutralize VPATH when `$srcdir' = `.'.
21563 # Shell code in configure.ac might set extrasub.
21564 # FIXME: do we really want to maintain this feature?
21565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21566 ac_sed_extra="$ac_vpsub
21567 $extrasub
21568 _ACEOF
21569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21571 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21572 s|@configure_input@|$ac_sed_conf_input|;t t
21573 s&@top_builddir@&$ac_top_builddir_sub&;t t
21574 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21575 s&@srcdir@&$ac_srcdir&;t t
21576 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21577 s&@top_srcdir@&$ac_top_srcdir&;t t
21578 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21579 s&@builddir@&$ac_builddir&;t t
21580 s&@abs_builddir@&$ac_abs_builddir&;t t
21581 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21582 $ac_datarootdir_hack
21584 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21585 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21587 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21588 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21589 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21590 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21592 which seems to be undefined. Please make sure it is defined" >&5
21593 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21594 which seems to be undefined. Please make sure it is defined" >&2;}
21596 rm -f "$ac_tmp/stdin"
21597 case $ac_file in
21598 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21599 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21600 esac \
21601 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21605 # CONFIG_HEADER
21607 if test x"$ac_file" != x-; then
21609 $as_echo "/* $configure_input */" \
21610 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21611 } >"$ac_tmp/config.h" \
21612 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21613 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21614 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21615 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21616 else
21617 rm -f "$ac_file"
21618 mv "$ac_tmp/config.h" "$ac_file" \
21619 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21621 else
21622 $as_echo "/* $configure_input */" \
21623 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21624 || as_fn_error $? "could not create -" "$LINENO" 5
21629 # CONFIG_LINK
21632 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21634 else
21635 # Prefer the file from the source tree if names are identical.
21636 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21637 ac_source=$srcdir/$ac_source
21640 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21641 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21643 if test ! -r "$ac_source"; then
21644 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21646 rm -f "$ac_file"
21648 # Try a relative symlink, then a hard link, then a copy.
21649 case $ac_source in
21650 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21651 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21652 esac
21653 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21654 ln "$ac_source" "$ac_file" 2>/dev/null ||
21655 cp -p "$ac_source" "$ac_file" ||
21656 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21659 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21660 $as_echo "$as_me: executing $ac_file commands" >&6;}
21662 esac
21665 case $ac_file$ac_mode in
21666 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21667 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21668 "Makefile":C) wine_fn_output_makefile Makefile ;;
21670 esac
21671 done # for ac_tag
21674 as_fn_exit 0
21675 _ACEOF
21676 ac_clean_files=$ac_clean_files_save
21678 test $ac_write_fail = 0 ||
21679 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21682 # configure is writing to config.log, and then calls config.status.
21683 # config.status does its own redirection, appending to config.log.
21684 # Unfortunately, on DOS this fails, as config.log is still kept open
21685 # by configure, so config.status won't be able to write to it; its
21686 # output is simply discarded. So we exec the FD to /dev/null,
21687 # effectively closing config.log, so it can be properly (re)opened and
21688 # appended to by config.status. When coming back to configure, we
21689 # need to make the FD available again.
21690 if test "$no_create" != yes; then
21691 ac_cs_success=:
21692 ac_config_status_args=
21693 test "$silent" = yes &&
21694 ac_config_status_args="$ac_config_status_args --quiet"
21695 exec 5>/dev/null
21696 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21697 exec 5>>config.log
21698 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21699 # would make configure fail if this is the last instruction.
21700 $ac_cs_success || as_fn_exit 1
21702 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21704 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21708 if test "$no_create" = "yes"
21709 then
21710 exit 0
21713 ac_save_IFS="$IFS"
21714 if test "x$wine_notices" != x; then
21715 echo >&6
21716 IFS="|"
21717 for msg in $wine_notices; do
21718 IFS="$ac_save_IFS"
21719 if ${msg:+false} :; then :
21721 else
21722 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21723 $as_echo "$as_me: $msg" >&6;}
21725 done
21727 IFS="|"
21728 for msg in $wine_warnings; do
21729 IFS="$ac_save_IFS"
21730 if ${msg:+false} :; then :
21732 else
21733 echo >&2
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21735 $as_echo "$as_me: WARNING: $msg" >&2;}
21737 done
21738 IFS="$ac_save_IFS"
21740 $as_echo "
21741 $as_me: Finished. Do '${ac_make}' to compile Wine.
21742 " >&6