rpcrt4: Properly handle complex arrays in the typelib marshaller.
[wine.git] / configure
blob6f9013c3a59e11c80268c5e16fa6f65ad30d4b31
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.5.
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.5'
584 PACKAGE_STRING='Wine 4.5'
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_uianimation
1568 enable_uiautomationcore
1569 enable_uiribbon
1570 enable_unicows
1571 enable_updspapi
1572 enable_url
1573 enable_urlmon
1574 enable_usbd_sys
1575 enable_user32
1576 enable_userenv
1577 enable_usp10
1578 enable_uuid
1579 enable_uxtheme
1580 enable_vbscript
1581 enable_vcomp
1582 enable_vcomp100
1583 enable_vcomp110
1584 enable_vcomp120
1585 enable_vcomp140
1586 enable_vcomp90
1587 enable_vcruntime140
1588 enable_vdmdbg
1589 enable_version
1590 enable_virtdisk
1591 enable_vssapi
1592 enable_vulkan_1
1593 enable_wbemdisp
1594 enable_wbemprox
1595 enable_wdscore
1596 enable_webservices
1597 enable_wer
1598 enable_wevtapi
1599 enable_wiaservc
1600 enable_wimgapi
1601 enable_windowscodecs
1602 enable_windowscodecsext
1603 enable_winealsa_drv
1604 enable_wineandroid_drv
1605 enable_winebus_sys
1606 enable_winecoreaudio_drv
1607 enable_winecrt0
1608 enable_wined3d
1609 enable_winegstreamer
1610 enable_winehid_sys
1611 enable_winejoystick_drv
1612 enable_winemac_drv
1613 enable_winemapi
1614 enable_wineoss_drv
1615 enable_wineps_drv
1616 enable_winepulse_drv
1617 enable_wineqtdecoder
1618 enable_winevulkan
1619 enable_winex11_drv
1620 enable_wing32
1621 enable_winhttp
1622 enable_wininet
1623 enable_winmm
1624 enable_winnls32
1625 enable_winscard
1626 enable_winspool_drv
1627 enable_winsta
1628 enable_wintab32
1629 enable_wintrust
1630 enable_winusb
1631 enable_wlanapi
1632 enable_wldap32
1633 enable_wmasf
1634 enable_wmcodecdspuuid
1635 enable_wmi
1636 enable_wmiutils
1637 enable_wmp
1638 enable_wmphoto
1639 enable_wmvcore
1640 enable_wnaspi32
1641 enable_wpc
1642 enable_wpcap
1643 enable_ws2_32
1644 enable_wsdapi
1645 enable_wshom_ocx
1646 enable_wsnmp32
1647 enable_wsock32
1648 enable_wtsapi32
1649 enable_wuapi
1650 enable_wuaueng
1651 enable_x3daudio1_0
1652 enable_x3daudio1_1
1653 enable_x3daudio1_2
1654 enable_x3daudio1_3
1655 enable_x3daudio1_4
1656 enable_x3daudio1_5
1657 enable_x3daudio1_6
1658 enable_x3daudio1_7
1659 enable_xapofx1_1
1660 enable_xapofx1_2
1661 enable_xapofx1_3
1662 enable_xapofx1_4
1663 enable_xapofx1_5
1664 enable_xaudio2_0
1665 enable_xaudio2_1
1666 enable_xaudio2_2
1667 enable_xaudio2_3
1668 enable_xaudio2_4
1669 enable_xaudio2_5
1670 enable_xaudio2_6
1671 enable_xaudio2_7
1672 enable_xaudio2_8
1673 enable_xaudio2_9
1674 enable_xinput1_1
1675 enable_xinput1_2
1676 enable_xinput1_3
1677 enable_xinput1_4
1678 enable_xinput9_1_0
1679 enable_xmllite
1680 enable_xolehlp
1681 enable_xpsprint
1682 enable_xpssvcs
1683 enable_fonts
1684 enable_include
1685 enable_port
1686 enable_wine
1687 enable_wpp
1688 enable_loader
1689 enable_po
1690 enable_arp
1691 enable_aspnet_regiis
1692 enable_attrib
1693 enable_cabarc
1694 enable_cacls
1695 enable_clock
1696 enable_cmd
1697 enable_conhost
1698 enable_control
1699 enable_cscript
1700 enable_dism
1701 enable_dpnsvr
1702 enable_dxdiag
1703 enable_eject
1704 enable_expand
1705 enable_explorer
1706 enable_extrac32
1707 enable_fc
1708 enable_find
1709 enable_findstr
1710 enable_fsutil
1711 enable_hh
1712 enable_hostname
1713 enable_icacls
1714 enable_icinfo
1715 enable_iexplore
1716 enable_ipconfig
1717 enable_lodctr
1718 enable_mofcomp
1719 enable_mshta
1720 enable_msidb
1721 enable_msiexec
1722 enable_msinfo32
1723 enable_net
1724 enable_netsh
1725 enable_netstat
1726 enable_ngen
1727 enable_notepad
1728 enable_oleview
1729 enable_ping
1730 enable_plugplay
1731 enable_powershell
1732 enable_presentationfontcache
1733 enable_progman
1734 enable_reg
1735 enable_regasm
1736 enable_regedit
1737 enable_regsvcs
1738 enable_regsvr32
1739 enable_rpcss
1740 enable_rundll32
1741 enable_sc
1742 enable_schtasks
1743 enable_sdbinst
1744 enable_secedit
1745 enable_servicemodelreg
1746 enable_services
1747 enable_shutdown
1748 enable_spoolsv
1749 enable_start
1750 enable_subst
1751 enable_svchost
1752 enable_systeminfo
1753 enable_taskkill
1754 enable_tasklist
1755 enable_taskmgr
1756 enable_termsv
1757 enable_uninstaller
1758 enable_unlodctr
1759 enable_view
1760 enable_wevtutil
1761 enable_wineboot
1762 enable_winebrowser
1763 enable_winecfg
1764 enable_wineconsole
1765 enable_winedbg
1766 enable_winedevice
1767 enable_winefile
1768 enable_winemenubuilder
1769 enable_winemine
1770 enable_winemsibuilder
1771 enable_winepath
1772 enable_winetest
1773 enable_winhlp32
1774 enable_winmgmt
1775 enable_winver
1776 enable_wmic
1777 enable_wmplayer
1778 enable_wordpad
1779 enable_write
1780 enable_wscript
1781 enable_wusa
1782 enable_xcopy
1783 enable_server
1784 enable_tools
1785 enable_sfnt2fon
1786 enable_widl
1787 enable_winebuild
1788 enable_winedump
1789 enable_winegcc
1790 enable_winemaker
1791 enable_wmc
1792 enable_wrc
1794 ac_precious_vars='build_alias
1795 host_alias
1796 target_alias
1798 CFLAGS
1799 LDFLAGS
1800 LIBS
1801 CPPFLAGS
1803 CXXFLAGS
1806 OBJC
1807 OBJCFLAGS
1808 OBJCPP
1809 XMKMF
1810 XML2_CFLAGS
1811 XML2_LIBS
1812 XSLT_CFLAGS
1813 XSLT_LIBS
1814 DBUS_CFLAGS
1815 DBUS_LIBS
1816 HAL_CFLAGS
1817 HAL_LIBS
1818 GNUTLS_CFLAGS
1819 GNUTLS_LIBS
1820 SANE_CFLAGS
1821 SANE_LIBS
1822 GPHOTO2_CFLAGS
1823 GPHOTO2_LIBS
1824 GPHOTO2_PORT_CFLAGS
1825 GPHOTO2_PORT_LIBS
1826 LCMS2_CFLAGS
1827 LCMS2_LIBS
1828 FREETYPE_CFLAGS
1829 FREETYPE_LIBS
1830 PULSE_CFLAGS
1831 PULSE_LIBS
1832 GSTREAMER_CFLAGS
1833 GSTREAMER_LIBS
1834 UDEV_CFLAGS
1835 UDEV_LIBS
1836 SDL2_CFLAGS
1837 SDL2_LIBS
1838 FAUDIO_CFLAGS
1839 FAUDIO_LIBS
1840 CAPI20_CFLAGS
1841 CAPI20_LIBS
1842 CUPS_CFLAGS
1843 CUPS_LIBS
1844 FONTCONFIG_CFLAGS
1845 FONTCONFIG_LIBS
1846 KRB5_CFLAGS
1847 KRB5_LIBS
1848 GSSAPI_CFLAGS
1849 GSSAPI_LIBS
1850 JPEG_CFLAGS
1851 JPEG_LIBS
1852 PNG_CFLAGS
1853 PNG_LIBS
1854 TIFF_CFLAGS
1855 TIFF_LIBS
1856 MPG123_CFLAGS
1857 MPG123_LIBS
1858 NETAPI_CFLAGS
1859 NETAPI_LIBS
1860 VKD3D_CFLAGS
1861 VKD3D_LIBS
1862 LDAP_CFLAGS
1863 LDAP_LIBS'
1866 # Initialize some variables set by options.
1867 ac_init_help=
1868 ac_init_version=false
1869 ac_unrecognized_opts=
1870 ac_unrecognized_sep=
1871 # The variables have the same names as the options, with
1872 # dashes changed to underlines.
1873 cache_file=/dev/null
1874 exec_prefix=NONE
1875 no_create=
1876 no_recursion=
1877 prefix=NONE
1878 program_prefix=NONE
1879 program_suffix=NONE
1880 program_transform_name=s,x,x,
1881 silent=
1882 site=
1883 srcdir=
1884 verbose=
1885 x_includes=NONE
1886 x_libraries=NONE
1888 # Installation directory options.
1889 # These are left unexpanded so users can "make install exec_prefix=/foo"
1890 # and all the variables that are supposed to be based on exec_prefix
1891 # by default will actually change.
1892 # Use braces instead of parens because sh, perl, etc. also accept them.
1893 # (The list follows the same order as the GNU Coding Standards.)
1894 bindir='${exec_prefix}/bin'
1895 sbindir='${exec_prefix}/sbin'
1896 libexecdir='${exec_prefix}/libexec'
1897 datarootdir='${prefix}/share'
1898 datadir='${datarootdir}'
1899 sysconfdir='${prefix}/etc'
1900 sharedstatedir='${prefix}/com'
1901 localstatedir='${prefix}/var'
1902 runstatedir='${localstatedir}/run'
1903 includedir='${prefix}/include'
1904 oldincludedir='/usr/include'
1905 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1906 infodir='${datarootdir}/info'
1907 htmldir='${docdir}'
1908 dvidir='${docdir}'
1909 pdfdir='${docdir}'
1910 psdir='${docdir}'
1911 libdir='${exec_prefix}/lib'
1912 localedir='${datarootdir}/locale'
1913 mandir='${datarootdir}/man'
1915 ac_prev=
1916 ac_dashdash=
1917 for ac_option
1919 # If the previous option needs an argument, assign it.
1920 if test -n "$ac_prev"; then
1921 eval $ac_prev=\$ac_option
1922 ac_prev=
1923 continue
1926 case $ac_option in
1927 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1928 *=) ac_optarg= ;;
1929 *) ac_optarg=yes ;;
1930 esac
1932 # Accept the important Cygnus configure options, so we can diagnose typos.
1934 case $ac_dashdash$ac_option in
1936 ac_dashdash=yes ;;
1938 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1939 ac_prev=bindir ;;
1940 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1941 bindir=$ac_optarg ;;
1943 -build | --build | --buil | --bui | --bu)
1944 ac_prev=build_alias ;;
1945 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1946 build_alias=$ac_optarg ;;
1948 -cache-file | --cache-file | --cache-fil | --cache-fi \
1949 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1950 ac_prev=cache_file ;;
1951 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1952 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1953 cache_file=$ac_optarg ;;
1955 --config-cache | -C)
1956 cache_file=config.cache ;;
1958 -datadir | --datadir | --datadi | --datad)
1959 ac_prev=datadir ;;
1960 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1961 datadir=$ac_optarg ;;
1963 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1964 | --dataroo | --dataro | --datar)
1965 ac_prev=datarootdir ;;
1966 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1967 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1968 datarootdir=$ac_optarg ;;
1970 -disable-* | --disable-*)
1971 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1972 # Reject names that are not valid shell variable names.
1973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1974 as_fn_error $? "invalid feature name: $ac_useropt"
1975 ac_useropt_orig=$ac_useropt
1976 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1977 case $ac_user_opts in
1979 "enable_$ac_useropt"
1980 "*) ;;
1981 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1982 ac_unrecognized_sep=', ';;
1983 esac
1984 eval enable_$ac_useropt=no ;;
1986 -docdir | --docdir | --docdi | --doc | --do)
1987 ac_prev=docdir ;;
1988 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1989 docdir=$ac_optarg ;;
1991 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1992 ac_prev=dvidir ;;
1993 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1994 dvidir=$ac_optarg ;;
1996 -enable-* | --enable-*)
1997 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1998 # Reject names that are not valid shell variable names.
1999 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2000 as_fn_error $? "invalid feature name: $ac_useropt"
2001 ac_useropt_orig=$ac_useropt
2002 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2003 case $ac_user_opts in
2005 "enable_$ac_useropt"
2006 "*) ;;
2007 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2008 ac_unrecognized_sep=', ';;
2009 esac
2010 eval enable_$ac_useropt=\$ac_optarg ;;
2012 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2013 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2014 | --exec | --exe | --ex)
2015 ac_prev=exec_prefix ;;
2016 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2017 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2018 | --exec=* | --exe=* | --ex=*)
2019 exec_prefix=$ac_optarg ;;
2021 -gas | --gas | --ga | --g)
2022 # Obsolete; use --with-gas.
2023 with_gas=yes ;;
2025 -help | --help | --hel | --he | -h)
2026 ac_init_help=long ;;
2027 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2028 ac_init_help=recursive ;;
2029 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2030 ac_init_help=short ;;
2032 -host | --host | --hos | --ho)
2033 ac_prev=host_alias ;;
2034 -host=* | --host=* | --hos=* | --ho=*)
2035 host_alias=$ac_optarg ;;
2037 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2038 ac_prev=htmldir ;;
2039 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2040 | --ht=*)
2041 htmldir=$ac_optarg ;;
2043 -includedir | --includedir | --includedi | --included | --include \
2044 | --includ | --inclu | --incl | --inc)
2045 ac_prev=includedir ;;
2046 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2047 | --includ=* | --inclu=* | --incl=* | --inc=*)
2048 includedir=$ac_optarg ;;
2050 -infodir | --infodir | --infodi | --infod | --info | --inf)
2051 ac_prev=infodir ;;
2052 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2053 infodir=$ac_optarg ;;
2055 -libdir | --libdir | --libdi | --libd)
2056 ac_prev=libdir ;;
2057 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2058 libdir=$ac_optarg ;;
2060 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2061 | --libexe | --libex | --libe)
2062 ac_prev=libexecdir ;;
2063 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2064 | --libexe=* | --libex=* | --libe=*)
2065 libexecdir=$ac_optarg ;;
2067 -localedir | --localedir | --localedi | --localed | --locale)
2068 ac_prev=localedir ;;
2069 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2070 localedir=$ac_optarg ;;
2072 -localstatedir | --localstatedir | --localstatedi | --localstated \
2073 | --localstate | --localstat | --localsta | --localst | --locals)
2074 ac_prev=localstatedir ;;
2075 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2076 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2077 localstatedir=$ac_optarg ;;
2079 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2080 ac_prev=mandir ;;
2081 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2082 mandir=$ac_optarg ;;
2084 -nfp | --nfp | --nf)
2085 # Obsolete; use --without-fp.
2086 with_fp=no ;;
2088 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2089 | --no-cr | --no-c | -n)
2090 no_create=yes ;;
2092 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2093 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2094 no_recursion=yes ;;
2096 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2097 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2098 | --oldin | --oldi | --old | --ol | --o)
2099 ac_prev=oldincludedir ;;
2100 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2101 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2102 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2103 oldincludedir=$ac_optarg ;;
2105 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2106 ac_prev=prefix ;;
2107 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2108 prefix=$ac_optarg ;;
2110 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2111 | --program-pre | --program-pr | --program-p)
2112 ac_prev=program_prefix ;;
2113 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2114 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2115 program_prefix=$ac_optarg ;;
2117 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2118 | --program-suf | --program-su | --program-s)
2119 ac_prev=program_suffix ;;
2120 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2121 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2122 program_suffix=$ac_optarg ;;
2124 -program-transform-name | --program-transform-name \
2125 | --program-transform-nam | --program-transform-na \
2126 | --program-transform-n | --program-transform- \
2127 | --program-transform | --program-transfor \
2128 | --program-transfo | --program-transf \
2129 | --program-trans | --program-tran \
2130 | --progr-tra | --program-tr | --program-t)
2131 ac_prev=program_transform_name ;;
2132 -program-transform-name=* | --program-transform-name=* \
2133 | --program-transform-nam=* | --program-transform-na=* \
2134 | --program-transform-n=* | --program-transform-=* \
2135 | --program-transform=* | --program-transfor=* \
2136 | --program-transfo=* | --program-transf=* \
2137 | --program-trans=* | --program-tran=* \
2138 | --progr-tra=* | --program-tr=* | --program-t=*)
2139 program_transform_name=$ac_optarg ;;
2141 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2142 ac_prev=pdfdir ;;
2143 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2144 pdfdir=$ac_optarg ;;
2146 -psdir | --psdir | --psdi | --psd | --ps)
2147 ac_prev=psdir ;;
2148 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2149 psdir=$ac_optarg ;;
2151 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2152 | -silent | --silent | --silen | --sile | --sil)
2153 silent=yes ;;
2155 -runstatedir | --runstatedir | --runstatedi | --runstated \
2156 | --runstate | --runstat | --runsta | --runst | --runs \
2157 | --run | --ru | --r)
2158 ac_prev=runstatedir ;;
2159 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2160 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2161 | --run=* | --ru=* | --r=*)
2162 runstatedir=$ac_optarg ;;
2164 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2165 ac_prev=sbindir ;;
2166 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2167 | --sbi=* | --sb=*)
2168 sbindir=$ac_optarg ;;
2170 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2171 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2172 | --sharedst | --shareds | --shared | --share | --shar \
2173 | --sha | --sh)
2174 ac_prev=sharedstatedir ;;
2175 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2176 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2177 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2178 | --sha=* | --sh=*)
2179 sharedstatedir=$ac_optarg ;;
2181 -site | --site | --sit)
2182 ac_prev=site ;;
2183 -site=* | --site=* | --sit=*)
2184 site=$ac_optarg ;;
2186 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2187 ac_prev=srcdir ;;
2188 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2189 srcdir=$ac_optarg ;;
2191 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2192 | --syscon | --sysco | --sysc | --sys | --sy)
2193 ac_prev=sysconfdir ;;
2194 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2195 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2196 sysconfdir=$ac_optarg ;;
2198 -target | --target | --targe | --targ | --tar | --ta | --t)
2199 ac_prev=target_alias ;;
2200 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2201 target_alias=$ac_optarg ;;
2203 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2204 verbose=yes ;;
2206 -version | --version | --versio | --versi | --vers | -V)
2207 ac_init_version=: ;;
2209 -with-* | --with-*)
2210 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2211 # Reject names that are not valid shell variable names.
2212 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2213 as_fn_error $? "invalid package name: $ac_useropt"
2214 ac_useropt_orig=$ac_useropt
2215 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2216 case $ac_user_opts in
2218 "with_$ac_useropt"
2219 "*) ;;
2220 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2221 ac_unrecognized_sep=', ';;
2222 esac
2223 eval with_$ac_useropt=\$ac_optarg ;;
2225 -without-* | --without-*)
2226 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2227 # Reject names that are not valid shell variable names.
2228 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2229 as_fn_error $? "invalid package name: $ac_useropt"
2230 ac_useropt_orig=$ac_useropt
2231 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2232 case $ac_user_opts in
2234 "with_$ac_useropt"
2235 "*) ;;
2236 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2237 ac_unrecognized_sep=', ';;
2238 esac
2239 eval with_$ac_useropt=no ;;
2241 --x)
2242 # Obsolete; use --with-x.
2243 with_x=yes ;;
2245 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2246 | --x-incl | --x-inc | --x-in | --x-i)
2247 ac_prev=x_includes ;;
2248 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2249 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2250 x_includes=$ac_optarg ;;
2252 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2253 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2254 ac_prev=x_libraries ;;
2255 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2256 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2257 x_libraries=$ac_optarg ;;
2259 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2260 Try \`$0 --help' for more information"
2263 *=*)
2264 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2265 # Reject names that are not valid shell variable names.
2266 case $ac_envvar in #(
2267 '' | [0-9]* | *[!_$as_cr_alnum]* )
2268 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2269 esac
2270 eval $ac_envvar=\$ac_optarg
2271 export $ac_envvar ;;
2274 # FIXME: should be removed in autoconf 3.0.
2275 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2276 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2277 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2278 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2281 esac
2282 done
2284 if test -n "$ac_prev"; then
2285 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2286 as_fn_error $? "missing argument to $ac_option"
2289 if test -n "$ac_unrecognized_opts"; then
2290 case $enable_option_checking in
2291 no) ;;
2292 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2293 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2294 esac
2297 # Check all directory arguments for consistency.
2298 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2299 datadir sysconfdir sharedstatedir localstatedir includedir \
2300 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2301 libdir localedir mandir runstatedir
2303 eval ac_val=\$$ac_var
2304 # Remove trailing slashes.
2305 case $ac_val in
2306 */ )
2307 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2308 eval $ac_var=\$ac_val;;
2309 esac
2310 # Be sure to have absolute directory names.
2311 case $ac_val in
2312 [\\/$]* | ?:[\\/]* ) continue;;
2313 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2314 esac
2315 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2316 done
2318 # There might be people who depend on the old broken behavior: `$host'
2319 # used to hold the argument of --host etc.
2320 # FIXME: To remove some day.
2321 build=$build_alias
2322 host=$host_alias
2323 target=$target_alias
2325 # FIXME: To remove some day.
2326 if test "x$host_alias" != x; then
2327 if test "x$build_alias" = x; then
2328 cross_compiling=maybe
2329 elif test "x$build_alias" != "x$host_alias"; then
2330 cross_compiling=yes
2334 ac_tool_prefix=
2335 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2337 test "$silent" = yes && exec 6>/dev/null
2340 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2341 ac_ls_di=`ls -di .` &&
2342 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2343 as_fn_error $? "working directory cannot be determined"
2344 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2345 as_fn_error $? "pwd does not report name of working directory"
2348 # Find the source files, if location was not specified.
2349 if test -z "$srcdir"; then
2350 ac_srcdir_defaulted=yes
2351 # Try the directory containing this script, then the parent directory.
2352 ac_confdir=`$as_dirname -- "$as_myself" ||
2353 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2354 X"$as_myself" : 'X\(//\)[^/]' \| \
2355 X"$as_myself" : 'X\(//\)$' \| \
2356 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2357 $as_echo X"$as_myself" |
2358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2359 s//\1/
2362 /^X\(\/\/\)[^/].*/{
2363 s//\1/
2366 /^X\(\/\/\)$/{
2367 s//\1/
2370 /^X\(\/\).*/{
2371 s//\1/
2374 s/.*/./; q'`
2375 srcdir=$ac_confdir
2376 if test ! -r "$srcdir/$ac_unique_file"; then
2377 srcdir=..
2379 else
2380 ac_srcdir_defaulted=no
2382 if test ! -r "$srcdir/$ac_unique_file"; then
2383 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2384 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2386 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2387 ac_abs_confdir=`(
2388 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2389 pwd)`
2390 # When building in place, set srcdir=.
2391 if test "$ac_abs_confdir" = "$ac_pwd"; then
2392 srcdir=.
2394 # Remove unnecessary trailing slashes from srcdir.
2395 # Double slashes in file names in object file debugging info
2396 # mess up M-x gdb in Emacs.
2397 case $srcdir in
2398 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2399 esac
2400 for ac_var in $ac_precious_vars; do
2401 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2402 eval ac_env_${ac_var}_value=\$${ac_var}
2403 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2404 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2405 done
2408 # Report the --help message.
2410 if test "$ac_init_help" = "long"; then
2411 # Omit some internal or obsolete options to make the list less imposing.
2412 # This message is too long to be a string in the A/UX 3.1 sh.
2413 cat <<_ACEOF
2414 \`configure' configures Wine 4.5 to adapt to many kinds of systems.
2416 Usage: $0 [OPTION]... [VAR=VALUE]...
2418 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2419 VAR=VALUE. See below for descriptions of some of the useful variables.
2421 Defaults for the options are specified in brackets.
2423 Configuration:
2424 -h, --help display this help and exit
2425 --help=short display options specific to this package
2426 --help=recursive display the short help of all the included packages
2427 -V, --version display version information and exit
2428 -q, --quiet, --silent do not print \`checking ...' messages
2429 --cache-file=FILE cache test results in FILE [disabled]
2430 -C, --config-cache alias for \`--cache-file=config.cache'
2431 -n, --no-create do not create output files
2432 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2434 Installation directories:
2435 --prefix=PREFIX install architecture-independent files in PREFIX
2436 [$ac_default_prefix]
2437 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2438 [PREFIX]
2440 By default, \`make install' will install all the files in
2441 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2442 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2443 for instance \`--prefix=\$HOME'.
2445 For better control, use the options below.
2447 Fine tuning of the installation directories:
2448 --bindir=DIR user executables [EPREFIX/bin]
2449 --sbindir=DIR system admin executables [EPREFIX/sbin]
2450 --libexecdir=DIR program executables [EPREFIX/libexec]
2451 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2452 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2453 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2454 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2455 --libdir=DIR object code libraries [EPREFIX/lib]
2456 --includedir=DIR C header files [PREFIX/include]
2457 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2458 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2459 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2460 --infodir=DIR info documentation [DATAROOTDIR/info]
2461 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2462 --mandir=DIR man documentation [DATAROOTDIR/man]
2463 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2464 --htmldir=DIR html documentation [DOCDIR]
2465 --dvidir=DIR dvi documentation [DOCDIR]
2466 --pdfdir=DIR pdf documentation [DOCDIR]
2467 --psdir=DIR ps documentation [DOCDIR]
2468 _ACEOF
2470 cat <<\_ACEOF
2472 X features:
2473 --x-includes=DIR X include files are in DIR
2474 --x-libraries=DIR X library files are in DIR
2476 System types:
2477 --build=BUILD configure for building on BUILD [guessed]
2478 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2479 _ACEOF
2482 if test -n "$ac_init_help"; then
2483 case $ac_init_help in
2484 short | recursive ) echo "Configuration of Wine 4.5:";;
2485 esac
2486 cat <<\_ACEOF
2488 Optional Features:
2489 --disable-option-checking ignore unrecognized --enable/--with options
2490 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2491 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2492 --disable-win16 do not include Win16 support
2493 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2494 binaries)
2495 --disable-tests do not build the regression tests
2496 --enable-maintainer-mode
2497 enable maintainer-specific build rules
2498 --disable-largefile omit support for large files
2500 Optional Packages:
2501 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2502 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2503 --without-alsa do not use the Alsa sound support
2504 --without-capi do not use CAPI (ISDN support)
2505 --without-cms do not use CMS (color management support)
2506 --without-coreaudio do not use the CoreAudio sound support
2507 --without-cups do not use CUPS
2508 --without-curses do not use (n)curses
2509 --without-dbus do not use DBus (dynamic device support)
2510 --without-faudio do not use FAudio (XAudio2 support)
2511 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2512 --without-fontconfig do not use fontconfig
2513 --without-freetype do not use the FreeType library
2514 --without-gettext do not use gettext
2515 --with-gettextpo use the GetTextPO library to rebuild po files
2516 --without-gphoto do not use gphoto (Digital Camera support)
2517 --without-glu do not use the GLU library
2518 --without-gnutls do not use GnuTLS (schannel support)
2519 --without-gsm do not use libgsm (GSM 06.10 codec support)
2520 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2521 --without-gstreamer do not use GStreamer (codecs support)
2522 --without-hal do not use HAL (dynamic device support)
2523 --without-jpeg do not use JPEG
2524 --without-krb5 do not use krb5 (Kerberos)
2525 --without-ldap do not use LDAP
2526 --without-mpg123 do not use the mpg123 library
2527 --without-netapi do not use the Samba NetAPI library
2528 --without-openal do not use OpenAL
2529 --without-opencl do not use OpenCL
2530 --without-opengl do not use OpenGL
2531 --without-osmesa do not use the OSMesa library
2532 --without-oss do not use the OSS sound support
2533 --without-pcap do not use the Packet Capture library
2534 --without-png do not use PNG
2535 --without-pthread do not use the pthread library
2536 --without-pulse do not use PulseAudio sound support
2537 --without-sane do not use SANE (scanner support)
2538 --without-sdl do not use SDL
2539 --without-tiff do not use TIFF
2540 --without-udev do not use udev (plug and play support)
2541 --without-v4l do not use v4l1 (v4l support)
2542 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2543 --without-vulkan do not use Vulkan
2544 --without-xcomposite do not use the Xcomposite extension
2545 --without-xcursor do not use the Xcursor extension
2546 --without-xfixes do not use Xfixes for clipboard change notifications
2547 --without-xinerama do not use Xinerama (multi-monitor support)
2548 --without-xinput do not use the Xinput extension
2549 --without-xinput2 do not use the Xinput 2 extension
2550 --without-xml do not use XML
2551 --without-xrandr do not use Xrandr (resolution changes)
2552 --without-xrender do not use the Xrender extension
2553 --without-xshape do not use the Xshape extension
2554 --without-xshm do not use XShm (shared memory extension)
2555 --without-xslt do not use XSLT
2556 --without-xxf86vm do not use XFree video mode extension
2557 --without-zlib do not use Zlib (data compression)
2558 --with-wine-tools=DIR use Wine tools from directory DIR
2559 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2560 --with-x use the X Window System
2562 Some influential environment variables:
2563 CC C compiler command
2564 CFLAGS C compiler flags
2565 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2566 nonstandard directory <lib dir>
2567 LIBS libraries to pass to the linker, e.g. -l<library>
2568 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2569 you have headers in a nonstandard directory <include dir>
2570 CXX C++ compiler command
2571 CXXFLAGS C++ compiler flags
2572 CPP C preprocessor
2573 OBJC Objective C compiler command
2574 OBJCFLAGS Objective C compiler flags
2575 OBJCPP Objective C preprocessor
2576 XMKMF Path to xmkmf, Makefile generator for X Window System
2577 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2578 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2579 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2580 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2581 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2582 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2583 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2584 HAL_LIBS Linker flags for hal, overriding pkg-config
2585 GNUTLS_CFLAGS
2586 C compiler flags for gnutls, overriding pkg-config
2587 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2588 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2589 SANE_LIBS Linker flags for libsane, overriding pkg-config
2590 GPHOTO2_CFLAGS
2591 C compiler flags for libgphoto2, overriding pkg-config
2592 GPHOTO2_LIBS
2593 Linker flags for libgphoto2, overriding pkg-config
2594 GPHOTO2_PORT_CFLAGS
2595 C compiler flags for libgphoto2_port, overriding pkg-config
2596 GPHOTO2_PORT_LIBS
2597 Linker flags for libgphoto2_port, overriding pkg-config
2598 LCMS2_CFLAGS
2599 C compiler flags for lcms2, overriding pkg-config
2600 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2601 FREETYPE_CFLAGS
2602 C compiler flags for freetype2, overriding pkg-config
2603 FREETYPE_LIBS
2604 Linker flags for freetype2, overriding pkg-config
2605 PULSE_CFLAGS
2606 C compiler flags for libpulse, overriding pkg-config
2607 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2608 GSTREAMER_CFLAGS
2609 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2610 gstreamer-audio-1.0, overriding pkg-config
2611 GSTREAMER_LIBS
2612 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2613 gstreamer-audio-1.0, overriding pkg-config
2614 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2615 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2616 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2617 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2618 FAUDIO_CFLAGS
2619 C compiler flags for faudio, overriding pkg-config
2620 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2621 CAPI20_CFLAGS
2622 C compiler flags for capi20, overriding pkg-config
2623 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2624 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2625 CUPS_LIBS Linker flags for cups, overriding pkg-config
2626 FONTCONFIG_CFLAGS
2627 C compiler flags for fontconfig, overriding pkg-config
2628 FONTCONFIG_LIBS
2629 Linker flags for fontconfig, overriding pkg-config
2630 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2631 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2632 GSSAPI_CFLAGS
2633 C compiler flags for krb5-gssapi, overriding pkg-config
2634 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2635 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2636 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2637 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2638 PNG_LIBS Linker flags for libpng, overriding pkg-config
2639 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2640 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2641 MPG123_CFLAGS
2642 C compiler flags for libmpg123, overriding pkg-config
2643 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2644 NETAPI_CFLAGS
2645 C compiler flags for netapi, overriding pkg-config
2646 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2647 VKD3D_CFLAGS
2648 C compiler flags for libvkd3d, overriding pkg-config
2649 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2650 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2651 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2653 Use these variables to override the choices made by `configure' or to help
2654 it to find libraries and programs with nonstandard names/locations.
2656 Report bugs to <wine-devel@winehq.org>.
2657 Wine home page: <https://www.winehq.org>.
2658 _ACEOF
2659 ac_status=$?
2662 if test "$ac_init_help" = "recursive"; then
2663 # If there are subdirs, report their specific --help.
2664 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2665 test -d "$ac_dir" ||
2666 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2667 continue
2668 ac_builddir=.
2670 case "$ac_dir" in
2671 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2673 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2674 # A ".." for each directory in $ac_dir_suffix.
2675 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2676 case $ac_top_builddir_sub in
2677 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2678 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2679 esac ;;
2680 esac
2681 ac_abs_top_builddir=$ac_pwd
2682 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2683 # for backward compatibility:
2684 ac_top_builddir=$ac_top_build_prefix
2686 case $srcdir in
2687 .) # We are building in place.
2688 ac_srcdir=.
2689 ac_top_srcdir=$ac_top_builddir_sub
2690 ac_abs_top_srcdir=$ac_pwd ;;
2691 [\\/]* | ?:[\\/]* ) # Absolute name.
2692 ac_srcdir=$srcdir$ac_dir_suffix;
2693 ac_top_srcdir=$srcdir
2694 ac_abs_top_srcdir=$srcdir ;;
2695 *) # Relative name.
2696 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2697 ac_top_srcdir=$ac_top_build_prefix$srcdir
2698 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2699 esac
2700 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2702 cd "$ac_dir" || { ac_status=$?; continue; }
2703 # Check for guested configure.
2704 if test -f "$ac_srcdir/configure.gnu"; then
2705 echo &&
2706 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2707 elif test -f "$ac_srcdir/configure"; then
2708 echo &&
2709 $SHELL "$ac_srcdir/configure" --help=recursive
2710 else
2711 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2712 fi || ac_status=$?
2713 cd "$ac_pwd" || { ac_status=$?; break; }
2714 done
2717 test -n "$ac_init_help" && exit $ac_status
2718 if $ac_init_version; then
2719 cat <<\_ACEOF
2720 Wine configure 4.5
2721 generated by GNU Autoconf 2.69
2723 Copyright (C) 2012 Free Software Foundation, Inc.
2724 This configure script is free software; the Free Software Foundation
2725 gives unlimited permission to copy, distribute and modify it.
2726 _ACEOF
2727 exit
2730 ## ------------------------ ##
2731 ## Autoconf initialization. ##
2732 ## ------------------------ ##
2734 # ac_fn_c_try_compile LINENO
2735 # --------------------------
2736 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2737 ac_fn_c_try_compile ()
2739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2740 rm -f conftest.$ac_objext
2741 if { { ac_try="$ac_compile"
2742 case "(($ac_try" in
2743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2744 *) ac_try_echo=$ac_try;;
2745 esac
2746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2747 $as_echo "$ac_try_echo"; } >&5
2748 (eval "$ac_compile") 2>conftest.err
2749 ac_status=$?
2750 if test -s conftest.err; then
2751 grep -v '^ *+' conftest.err >conftest.er1
2752 cat conftest.er1 >&5
2753 mv -f conftest.er1 conftest.err
2755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2756 test $ac_status = 0; } && {
2757 test -z "$ac_c_werror_flag" ||
2758 test ! -s conftest.err
2759 } && test -s conftest.$ac_objext; then :
2760 ac_retval=0
2761 else
2762 $as_echo "$as_me: failed program was:" >&5
2763 sed 's/^/| /' conftest.$ac_ext >&5
2765 ac_retval=1
2767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2768 as_fn_set_status $ac_retval
2770 } # ac_fn_c_try_compile
2772 # ac_fn_cxx_try_compile LINENO
2773 # ----------------------------
2774 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2775 ac_fn_cxx_try_compile ()
2777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2778 rm -f conftest.$ac_objext
2779 if { { ac_try="$ac_compile"
2780 case "(($ac_try" in
2781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2782 *) ac_try_echo=$ac_try;;
2783 esac
2784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2785 $as_echo "$ac_try_echo"; } >&5
2786 (eval "$ac_compile") 2>conftest.err
2787 ac_status=$?
2788 if test -s conftest.err; then
2789 grep -v '^ *+' conftest.err >conftest.er1
2790 cat conftest.er1 >&5
2791 mv -f conftest.er1 conftest.err
2793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2794 test $ac_status = 0; } && {
2795 test -z "$ac_cxx_werror_flag" ||
2796 test ! -s conftest.err
2797 } && test -s conftest.$ac_objext; then :
2798 ac_retval=0
2799 else
2800 $as_echo "$as_me: failed program was:" >&5
2801 sed 's/^/| /' conftest.$ac_ext >&5
2803 ac_retval=1
2805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2806 as_fn_set_status $ac_retval
2808 } # ac_fn_cxx_try_compile
2810 # ac_fn_c_try_link LINENO
2811 # -----------------------
2812 # Try to link conftest.$ac_ext, and return whether this succeeded.
2813 ac_fn_c_try_link ()
2815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2816 rm -f conftest.$ac_objext conftest$ac_exeext
2817 if { { ac_try="$ac_link"
2818 case "(($ac_try" in
2819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2821 esac
2822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2823 $as_echo "$ac_try_echo"; } >&5
2824 (eval "$ac_link") 2>conftest.err
2825 ac_status=$?
2826 if test -s conftest.err; then
2827 grep -v '^ *+' conftest.err >conftest.er1
2828 cat conftest.er1 >&5
2829 mv -f conftest.er1 conftest.err
2831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2832 test $ac_status = 0; } && {
2833 test -z "$ac_c_werror_flag" ||
2834 test ! -s conftest.err
2835 } && test -s conftest$ac_exeext && {
2836 test "$cross_compiling" = yes ||
2837 test -x conftest$ac_exeext
2838 }; then :
2839 ac_retval=0
2840 else
2841 $as_echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.$ac_ext >&5
2844 ac_retval=1
2846 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2847 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2848 # interfere with the next link command; also delete a directory that is
2849 # left behind by Apple's compiler. We do this before executing the actions.
2850 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2851 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2852 as_fn_set_status $ac_retval
2854 } # ac_fn_c_try_link
2856 # ac_fn_c_try_cpp LINENO
2857 # ----------------------
2858 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2859 ac_fn_c_try_cpp ()
2861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2862 if { { ac_try="$ac_cpp conftest.$ac_ext"
2863 case "(($ac_try" in
2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865 *) ac_try_echo=$ac_try;;
2866 esac
2867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2868 $as_echo "$ac_try_echo"; } >&5
2869 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2870 ac_status=$?
2871 if test -s conftest.err; then
2872 grep -v '^ *+' conftest.err >conftest.er1
2873 cat conftest.er1 >&5
2874 mv -f conftest.er1 conftest.err
2876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2877 test $ac_status = 0; } > conftest.i && {
2878 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2879 test ! -s conftest.err
2880 }; then :
2881 ac_retval=0
2882 else
2883 $as_echo "$as_me: failed program was:" >&5
2884 sed 's/^/| /' conftest.$ac_ext >&5
2886 ac_retval=1
2888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2889 as_fn_set_status $ac_retval
2891 } # ac_fn_c_try_cpp
2893 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2894 # -------------------------------------------------------
2895 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2896 # the include files in INCLUDES and setting the cache variable VAR
2897 # accordingly.
2898 ac_fn_c_check_header_mongrel ()
2900 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2901 if eval \${$3+:} false; then :
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2903 $as_echo_n "checking for $2... " >&6; }
2904 if eval \${$3+:} false; then :
2905 $as_echo_n "(cached) " >&6
2907 eval ac_res=\$$3
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2909 $as_echo "$ac_res" >&6; }
2910 else
2911 # Is the header compilable?
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2913 $as_echo_n "checking $2 usability... " >&6; }
2914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915 /* end confdefs.h. */
2917 #include <$2>
2918 _ACEOF
2919 if ac_fn_c_try_compile "$LINENO"; then :
2920 ac_header_compiler=yes
2921 else
2922 ac_header_compiler=no
2924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2926 $as_echo "$ac_header_compiler" >&6; }
2928 # Is the header present?
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2930 $as_echo_n "checking $2 presence... " >&6; }
2931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2932 /* end confdefs.h. */
2933 #include <$2>
2934 _ACEOF
2935 if ac_fn_c_try_cpp "$LINENO"; then :
2936 ac_header_preproc=yes
2937 else
2938 ac_header_preproc=no
2940 rm -f conftest.err conftest.i conftest.$ac_ext
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2942 $as_echo "$ac_header_preproc" >&6; }
2944 # So? What about this header?
2945 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2946 yes:no: )
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2948 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2950 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2952 no:yes:* )
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2954 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2956 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2958 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2960 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2962 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2963 ( $as_echo "## ------------------------------------ ##
2964 ## Report this to wine-devel@winehq.org ##
2965 ## ------------------------------------ ##"
2966 ) | sed "s/^/$as_me: WARNING: /" >&2
2968 esac
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2970 $as_echo_n "checking for $2... " >&6; }
2971 if eval \${$3+:} false; then :
2972 $as_echo_n "(cached) " >&6
2973 else
2974 eval "$3=\$ac_header_compiler"
2976 eval ac_res=\$$3
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2978 $as_echo "$ac_res" >&6; }
2980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2982 } # ac_fn_c_check_header_mongrel
2984 # ac_fn_c_try_run LINENO
2985 # ----------------------
2986 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2987 # that executables *can* be run.
2988 ac_fn_c_try_run ()
2990 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2991 if { { ac_try="$ac_link"
2992 case "(($ac_try" in
2993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2994 *) ac_try_echo=$ac_try;;
2995 esac
2996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2997 $as_echo "$ac_try_echo"; } >&5
2998 (eval "$ac_link") 2>&5
2999 ac_status=$?
3000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3001 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3002 { { case "(($ac_try" in
3003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3004 *) ac_try_echo=$ac_try;;
3005 esac
3006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3007 $as_echo "$ac_try_echo"; } >&5
3008 (eval "$ac_try") 2>&5
3009 ac_status=$?
3010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3011 test $ac_status = 0; }; }; then :
3012 ac_retval=0
3013 else
3014 $as_echo "$as_me: program exited with status $ac_status" >&5
3015 $as_echo "$as_me: failed program was:" >&5
3016 sed 's/^/| /' conftest.$ac_ext >&5
3018 ac_retval=$ac_status
3020 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3021 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3022 as_fn_set_status $ac_retval
3024 } # ac_fn_c_try_run
3026 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3027 # -------------------------------------------------------
3028 # Tests whether HEADER exists and can be compiled using the include files in
3029 # INCLUDES, setting the cache variable VAR accordingly.
3030 ac_fn_c_check_header_compile ()
3032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3034 $as_echo_n "checking for $2... " >&6; }
3035 if eval \${$3+:} false; then :
3036 $as_echo_n "(cached) " >&6
3037 else
3038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3039 /* end confdefs.h. */
3041 #include <$2>
3042 _ACEOF
3043 if ac_fn_c_try_compile "$LINENO"; then :
3044 eval "$3=yes"
3045 else
3046 eval "$3=no"
3048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050 eval ac_res=\$$3
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3052 $as_echo "$ac_res" >&6; }
3053 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3055 } # ac_fn_c_check_header_compile
3057 # ac_fn_objc_try_compile LINENO
3058 # -----------------------------
3059 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3060 ac_fn_objc_try_compile ()
3062 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3063 rm -f conftest.$ac_objext
3064 if { { ac_try="$ac_compile"
3065 case "(($ac_try" in
3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3068 esac
3069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3070 $as_echo "$ac_try_echo"; } >&5
3071 (eval "$ac_compile") 2>conftest.err
3072 ac_status=$?
3073 if test -s conftest.err; then
3074 grep -v '^ *+' conftest.err >conftest.er1
3075 cat conftest.er1 >&5
3076 mv -f conftest.er1 conftest.err
3078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3079 test $ac_status = 0; } && {
3080 test -z "$ac_objc_werror_flag" ||
3081 test ! -s conftest.err
3082 } && test -s conftest.$ac_objext; then :
3083 ac_retval=0
3084 else
3085 $as_echo "$as_me: failed program was:" >&5
3086 sed 's/^/| /' conftest.$ac_ext >&5
3088 ac_retval=1
3090 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3091 as_fn_set_status $ac_retval
3093 } # ac_fn_objc_try_compile
3095 # ac_fn_objc_try_cpp LINENO
3096 # -------------------------
3097 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3098 ac_fn_objc_try_cpp ()
3100 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3101 if { { ac_try="$ac_cpp conftest.$ac_ext"
3102 case "(($ac_try" in
3103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3104 *) ac_try_echo=$ac_try;;
3105 esac
3106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3107 $as_echo "$ac_try_echo"; } >&5
3108 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3109 ac_status=$?
3110 if test -s conftest.err; then
3111 grep -v '^ *+' conftest.err >conftest.er1
3112 cat conftest.er1 >&5
3113 mv -f conftest.er1 conftest.err
3115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3116 test $ac_status = 0; } > conftest.i && {
3117 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3118 test ! -s conftest.err
3119 }; then :
3120 ac_retval=0
3121 else
3122 $as_echo "$as_me: failed program was:" >&5
3123 sed 's/^/| /' conftest.$ac_ext >&5
3125 ac_retval=1
3127 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3128 as_fn_set_status $ac_retval
3130 } # ac_fn_objc_try_cpp
3132 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3133 # ----------------------------------------------------------
3134 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3135 # the include files in INCLUDES and setting the cache variable VAR
3136 # accordingly.
3137 ac_fn_objc_check_header_mongrel ()
3139 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3140 if eval \${$3+:} false; then :
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3142 $as_echo_n "checking for $2... " >&6; }
3143 if eval \${$3+:} false; then :
3144 $as_echo_n "(cached) " >&6
3146 eval ac_res=\$$3
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3148 $as_echo "$ac_res" >&6; }
3149 else
3150 # Is the header compilable?
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3152 $as_echo_n "checking $2 usability... " >&6; }
3153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3154 /* end confdefs.h. */
3156 #include <$2>
3157 _ACEOF
3158 if ac_fn_objc_try_compile "$LINENO"; then :
3159 ac_header_compiler=yes
3160 else
3161 ac_header_compiler=no
3163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3165 $as_echo "$ac_header_compiler" >&6; }
3167 # Is the header present?
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3169 $as_echo_n "checking $2 presence... " >&6; }
3170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3171 /* end confdefs.h. */
3172 #include <$2>
3173 _ACEOF
3174 if ac_fn_objc_try_cpp "$LINENO"; then :
3175 ac_header_preproc=yes
3176 else
3177 ac_header_preproc=no
3179 rm -f conftest.err conftest.i conftest.$ac_ext
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3181 $as_echo "$ac_header_preproc" >&6; }
3183 # So? What about this header?
3184 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3185 yes:no: )
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3187 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3189 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3191 no:yes:* )
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3193 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3195 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3197 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3199 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3201 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3202 ( $as_echo "## ------------------------------------ ##
3203 ## Report this to wine-devel@winehq.org ##
3204 ## ------------------------------------ ##"
3205 ) | sed "s/^/$as_me: WARNING: /" >&2
3207 esac
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3209 $as_echo_n "checking for $2... " >&6; }
3210 if eval \${$3+:} false; then :
3211 $as_echo_n "(cached) " >&6
3212 else
3213 eval "$3=\$ac_header_compiler"
3215 eval ac_res=\$$3
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3217 $as_echo "$ac_res" >&6; }
3219 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3221 } # ac_fn_objc_check_header_mongrel
3223 # ac_fn_c_check_func LINENO FUNC VAR
3224 # ----------------------------------
3225 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3226 ac_fn_c_check_func ()
3228 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3230 $as_echo_n "checking for $2... " >&6; }
3231 if eval \${$3+:} false; then :
3232 $as_echo_n "(cached) " >&6
3233 else
3234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3235 /* end confdefs.h. */
3236 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3238 #define $2 innocuous_$2
3240 /* System header to define __stub macros and hopefully few prototypes,
3241 which can conflict with char $2 (); below.
3242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3243 <limits.h> exists even on freestanding compilers. */
3245 #ifdef __STDC__
3246 # include <limits.h>
3247 #else
3248 # include <assert.h>
3249 #endif
3251 #undef $2
3253 /* Override any GCC internal prototype to avoid an error.
3254 Use char because int might match the return type of a GCC
3255 builtin and then its argument prototype would still apply. */
3256 #ifdef __cplusplus
3257 extern "C"
3258 #endif
3259 char $2 ();
3260 /* The GNU C library defines this for functions which it implements
3261 to always fail with ENOSYS. Some functions are actually named
3262 something starting with __ and the normal name is an alias. */
3263 #if defined __stub_$2 || defined __stub___$2
3264 choke me
3265 #endif
3268 main ()
3270 return $2 ();
3272 return 0;
3274 _ACEOF
3275 if ac_fn_c_try_link "$LINENO"; then :
3276 eval "$3=yes"
3277 else
3278 eval "$3=no"
3280 rm -f core conftest.err conftest.$ac_objext \
3281 conftest$ac_exeext conftest.$ac_ext
3283 eval ac_res=\$$3
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3285 $as_echo "$ac_res" >&6; }
3286 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3288 } # ac_fn_c_check_func
3290 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3291 # ----------------------------------------------------
3292 # Tries to find if the field MEMBER exists in type AGGR, after including
3293 # INCLUDES, setting cache variable VAR accordingly.
3294 ac_fn_c_check_member ()
3296 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3298 $as_echo_n "checking for $2.$3... " >&6; }
3299 if eval \${$4+:} false; then :
3300 $as_echo_n "(cached) " >&6
3301 else
3302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3303 /* end confdefs.h. */
3306 main ()
3308 static $2 ac_aggr;
3309 if (ac_aggr.$3)
3310 return 0;
3312 return 0;
3314 _ACEOF
3315 if ac_fn_c_try_compile "$LINENO"; then :
3316 eval "$4=yes"
3317 else
3318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3319 /* end confdefs.h. */
3322 main ()
3324 static $2 ac_aggr;
3325 if (sizeof ac_aggr.$3)
3326 return 0;
3328 return 0;
3330 _ACEOF
3331 if ac_fn_c_try_compile "$LINENO"; then :
3332 eval "$4=yes"
3333 else
3334 eval "$4=no"
3336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3340 eval ac_res=\$$4
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3342 $as_echo "$ac_res" >&6; }
3343 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3345 } # ac_fn_c_check_member
3347 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3348 # -------------------------------------------
3349 # Tests whether TYPE exists after having included INCLUDES, setting cache
3350 # variable VAR accordingly.
3351 ac_fn_c_check_type ()
3353 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3355 $as_echo_n "checking for $2... " >&6; }
3356 if eval \${$3+:} false; then :
3357 $as_echo_n "(cached) " >&6
3358 else
3359 eval "$3=no"
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3364 main ()
3366 if (sizeof ($2))
3367 return 0;
3369 return 0;
3371 _ACEOF
3372 if ac_fn_c_try_compile "$LINENO"; then :
3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h. */
3377 main ()
3379 if (sizeof (($2)))
3380 return 0;
3382 return 0;
3384 _ACEOF
3385 if ac_fn_c_try_compile "$LINENO"; then :
3387 else
3388 eval "$3=yes"
3390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3394 eval ac_res=\$$3
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3396 $as_echo "$ac_res" >&6; }
3397 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3399 } # ac_fn_c_check_type
3400 cat >config.log <<_ACEOF
3401 This file contains any messages produced by compilers while
3402 running configure, to aid debugging if configure makes a mistake.
3404 It was created by Wine $as_me 4.5, which was
3405 generated by GNU Autoconf 2.69. Invocation command line was
3407 $ $0 $@
3409 _ACEOF
3410 exec 5>>config.log
3412 cat <<_ASUNAME
3413 ## --------- ##
3414 ## Platform. ##
3415 ## --------- ##
3417 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3418 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3419 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3420 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3421 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3423 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3424 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3426 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3427 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3428 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3429 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3430 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3431 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3432 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3434 _ASUNAME
3436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3437 for as_dir in $PATH
3439 IFS=$as_save_IFS
3440 test -z "$as_dir" && as_dir=.
3441 $as_echo "PATH: $as_dir"
3442 done
3443 IFS=$as_save_IFS
3445 } >&5
3447 cat >&5 <<_ACEOF
3450 ## ----------- ##
3451 ## Core tests. ##
3452 ## ----------- ##
3454 _ACEOF
3457 # Keep a trace of the command line.
3458 # Strip out --no-create and --no-recursion so they do not pile up.
3459 # Strip out --silent because we don't want to record it for future runs.
3460 # Also quote any args containing shell meta-characters.
3461 # Make two passes to allow for proper duplicate-argument suppression.
3462 ac_configure_args=
3463 ac_configure_args0=
3464 ac_configure_args1=
3465 ac_must_keep_next=false
3466 for ac_pass in 1 2
3468 for ac_arg
3470 case $ac_arg in
3471 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3472 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3473 | -silent | --silent | --silen | --sile | --sil)
3474 continue ;;
3475 *\'*)
3476 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3477 esac
3478 case $ac_pass in
3479 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3481 as_fn_append ac_configure_args1 " '$ac_arg'"
3482 if test $ac_must_keep_next = true; then
3483 ac_must_keep_next=false # Got value, back to normal.
3484 else
3485 case $ac_arg in
3486 *=* | --config-cache | -C | -disable-* | --disable-* \
3487 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3488 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3489 | -with-* | --with-* | -without-* | --without-* | --x)
3490 case "$ac_configure_args0 " in
3491 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3492 esac
3494 -* ) ac_must_keep_next=true ;;
3495 esac
3497 as_fn_append ac_configure_args " '$ac_arg'"
3499 esac
3500 done
3501 done
3502 { ac_configure_args0=; unset ac_configure_args0;}
3503 { ac_configure_args1=; unset ac_configure_args1;}
3505 # When interrupted or exit'd, cleanup temporary files, and complete
3506 # config.log. We remove comments because anyway the quotes in there
3507 # would cause problems or look ugly.
3508 # WARNING: Use '\'' to represent an apostrophe within the trap.
3509 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3510 trap 'exit_status=$?
3511 # Save into config.log some information that might help in debugging.
3513 echo
3515 $as_echo "## ---------------- ##
3516 ## Cache variables. ##
3517 ## ---------------- ##"
3518 echo
3519 # The following way of writing the cache mishandles newlines in values,
3521 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3522 eval ac_val=\$$ac_var
3523 case $ac_val in #(
3524 *${as_nl}*)
3525 case $ac_var in #(
3526 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3527 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3528 esac
3529 case $ac_var in #(
3530 _ | IFS | as_nl) ;; #(
3531 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3532 *) { eval $ac_var=; unset $ac_var;} ;;
3533 esac ;;
3534 esac
3535 done
3536 (set) 2>&1 |
3537 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3538 *${as_nl}ac_space=\ *)
3539 sed -n \
3540 "s/'\''/'\''\\\\'\'''\''/g;
3541 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3542 ;; #(
3544 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3546 esac |
3547 sort
3549 echo
3551 $as_echo "## ----------------- ##
3552 ## Output variables. ##
3553 ## ----------------- ##"
3554 echo
3555 for ac_var in $ac_subst_vars
3557 eval ac_val=\$$ac_var
3558 case $ac_val in
3559 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3560 esac
3561 $as_echo "$ac_var='\''$ac_val'\''"
3562 done | sort
3563 echo
3565 if test -n "$ac_subst_files"; then
3566 $as_echo "## ------------------- ##
3567 ## File substitutions. ##
3568 ## ------------------- ##"
3569 echo
3570 for ac_var in $ac_subst_files
3572 eval ac_val=\$$ac_var
3573 case $ac_val in
3574 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3575 esac
3576 $as_echo "$ac_var='\''$ac_val'\''"
3577 done | sort
3578 echo
3581 if test -s confdefs.h; then
3582 $as_echo "## ----------- ##
3583 ## confdefs.h. ##
3584 ## ----------- ##"
3585 echo
3586 cat confdefs.h
3587 echo
3589 test "$ac_signal" != 0 &&
3590 $as_echo "$as_me: caught signal $ac_signal"
3591 $as_echo "$as_me: exit $exit_status"
3592 } >&5
3593 rm -f core *.core core.conftest.* &&
3594 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3595 exit $exit_status
3597 for ac_signal in 1 2 13 15; do
3598 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3599 done
3600 ac_signal=0
3602 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3603 rm -f -r conftest* confdefs.h
3605 $as_echo "/* confdefs.h */" > confdefs.h
3607 # Predefined preprocessor variables.
3609 cat >>confdefs.h <<_ACEOF
3610 #define PACKAGE_NAME "$PACKAGE_NAME"
3611 _ACEOF
3613 cat >>confdefs.h <<_ACEOF
3614 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3615 _ACEOF
3617 cat >>confdefs.h <<_ACEOF
3618 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3619 _ACEOF
3621 cat >>confdefs.h <<_ACEOF
3622 #define PACKAGE_STRING "$PACKAGE_STRING"
3623 _ACEOF
3625 cat >>confdefs.h <<_ACEOF
3626 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3627 _ACEOF
3629 cat >>confdefs.h <<_ACEOF
3630 #define PACKAGE_URL "$PACKAGE_URL"
3631 _ACEOF
3634 # Let the site file select an alternate cache file if it wants to.
3635 # Prefer an explicitly selected file to automatically selected ones.
3636 ac_site_file1=NONE
3637 ac_site_file2=NONE
3638 if test -n "$CONFIG_SITE"; then
3639 # We do not want a PATH search for config.site.
3640 case $CONFIG_SITE in #((
3641 -*) ac_site_file1=./$CONFIG_SITE;;
3642 */*) ac_site_file1=$CONFIG_SITE;;
3643 *) ac_site_file1=./$CONFIG_SITE;;
3644 esac
3645 elif test "x$prefix" != xNONE; then
3646 ac_site_file1=$prefix/share/config.site
3647 ac_site_file2=$prefix/etc/config.site
3648 else
3649 ac_site_file1=$ac_default_prefix/share/config.site
3650 ac_site_file2=$ac_default_prefix/etc/config.site
3652 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3654 test "x$ac_site_file" = xNONE && continue
3655 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3657 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3658 sed 's/^/| /' "$ac_site_file" >&5
3659 . "$ac_site_file" \
3660 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3662 as_fn_error $? "failed to load site script $ac_site_file
3663 See \`config.log' for more details" "$LINENO" 5; }
3665 done
3667 if test -r "$cache_file"; then
3668 # Some versions of bash will fail to source /dev/null (special files
3669 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3670 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3672 $as_echo "$as_me: loading cache $cache_file" >&6;}
3673 case $cache_file in
3674 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3675 *) . "./$cache_file";;
3676 esac
3678 else
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3680 $as_echo "$as_me: creating cache $cache_file" >&6;}
3681 >$cache_file
3684 # Check that the precious variables saved in the cache have kept the same
3685 # value.
3686 ac_cache_corrupted=false
3687 for ac_var in $ac_precious_vars; do
3688 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3689 eval ac_new_set=\$ac_env_${ac_var}_set
3690 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3691 eval ac_new_val=\$ac_env_${ac_var}_value
3692 case $ac_old_set,$ac_new_set in
3693 set,)
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3695 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3696 ac_cache_corrupted=: ;;
3697 ,set)
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3699 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3700 ac_cache_corrupted=: ;;
3701 ,);;
3703 if test "x$ac_old_val" != "x$ac_new_val"; then
3704 # differences in whitespace do not lead to failure.
3705 ac_old_val_w=`echo x $ac_old_val`
3706 ac_new_val_w=`echo x $ac_new_val`
3707 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3709 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3710 ac_cache_corrupted=:
3711 else
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3713 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3714 eval $ac_var=\$ac_old_val
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3717 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3719 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3720 fi;;
3721 esac
3722 # Pass precious variables to config.status.
3723 if test "$ac_new_set" = set; then
3724 case $ac_new_val in
3725 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3726 *) ac_arg=$ac_var=$ac_new_val ;;
3727 esac
3728 case " $ac_configure_args " in
3729 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3730 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3731 esac
3733 done
3734 if $ac_cache_corrupted; then
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3738 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3739 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3741 ## -------------------- ##
3742 ## Main body of script. ##
3743 ## -------------------- ##
3745 ac_ext=c
3746 ac_cpp='$CPP $CPPFLAGS'
3747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3753 ac_config_headers="$ac_config_headers include/config.h"
3755 ac_aux_dir=
3756 for ac_dir in tools "$srcdir"/tools; do
3757 if test -f "$ac_dir/install-sh"; then
3758 ac_aux_dir=$ac_dir
3759 ac_install_sh="$ac_aux_dir/install-sh -c"
3760 break
3761 elif test -f "$ac_dir/install.sh"; then
3762 ac_aux_dir=$ac_dir
3763 ac_install_sh="$ac_aux_dir/install.sh -c"
3764 break
3765 elif test -f "$ac_dir/shtool"; then
3766 ac_aux_dir=$ac_dir
3767 ac_install_sh="$ac_aux_dir/shtool install -c"
3768 break
3770 done
3771 if test -z "$ac_aux_dir"; then
3772 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3775 # These three variables are undocumented and unsupported,
3776 # and are intended to be withdrawn in a future Autoconf release.
3777 # They can cause serious problems if a builder's source tree is in a directory
3778 # whose full name contains unusual characters.
3779 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3780 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3781 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3785 libwine_version="1.0"
3789 # Check whether --enable-win16 was given.
3790 if test "${enable_win16+set}" = set; then :
3791 enableval=$enable_win16;
3794 # Check whether --enable-win64 was given.
3795 if test "${enable_win64+set}" = set; then :
3796 enableval=$enable_win64;
3799 # Check whether --enable-tests was given.
3800 if test "${enable_tests+set}" = set; then :
3801 enableval=$enable_tests;
3804 # Check whether --enable-maintainer-mode was given.
3805 if test "${enable_maintainer_mode+set}" = set; then :
3806 enableval=$enable_maintainer_mode;
3811 # Check whether --with-alsa was given.
3812 if test "${with_alsa+set}" = set; then :
3813 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3817 # Check whether --with-capi was given.
3818 if test "${with_capi+set}" = set; then :
3819 withval=$with_capi;
3823 # Check whether --with-cms was given.
3824 if test "${with_cms+set}" = set; then :
3825 withval=$with_cms;
3829 # Check whether --with-coreaudio was given.
3830 if test "${with_coreaudio+set}" = set; then :
3831 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3835 # Check whether --with-cups was given.
3836 if test "${with_cups+set}" = set; then :
3837 withval=$with_cups;
3841 # Check whether --with-curses was given.
3842 if test "${with_curses+set}" = set; then :
3843 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3847 # Check whether --with-dbus was given.
3848 if test "${with_dbus+set}" = set; then :
3849 withval=$with_dbus;
3853 # Check whether --with-faudio was given.
3854 if test "${with_faudio+set}" = set; then :
3855 withval=$with_faudio;
3859 # Check whether --with-float-abi was given.
3860 if test "${with_float_abi+set}" = set; then :
3861 withval=$with_float_abi;
3865 # Check whether --with-fontconfig was given.
3866 if test "${with_fontconfig+set}" = set; then :
3867 withval=$with_fontconfig;
3871 # Check whether --with-freetype was given.
3872 if test "${with_freetype+set}" = set; then :
3873 withval=$with_freetype;
3877 # Check whether --with-gettext was given.
3878 if test "${with_gettext+set}" = set; then :
3879 withval=$with_gettext;
3883 # Check whether --with-gettextpo was given.
3884 if test "${with_gettextpo+set}" = set; then :
3885 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3889 # Check whether --with-gphoto was given.
3890 if test "${with_gphoto+set}" = set; then :
3891 withval=$with_gphoto;
3895 # Check whether --with-glu was given.
3896 if test "${with_glu+set}" = set; then :
3897 withval=$with_glu;
3901 # Check whether --with-gnutls was given.
3902 if test "${with_gnutls+set}" = set; then :
3903 withval=$with_gnutls;
3907 # Check whether --with-gsm was given.
3908 if test "${with_gsm+set}" = set; then :
3909 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3913 # Check whether --with-gssapi was given.
3914 if test "${with_gssapi+set}" = set; then :
3915 withval=$with_gssapi;
3919 # Check whether --with-gstreamer was given.
3920 if test "${with_gstreamer+set}" = set; then :
3921 withval=$with_gstreamer;
3925 # Check whether --with-hal was given.
3926 if test "${with_hal+set}" = set; then :
3927 withval=$with_hal;
3931 # Check whether --with-jpeg was given.
3932 if test "${with_jpeg+set}" = set; then :
3933 withval=$with_jpeg;
3937 # Check whether --with-krb5 was given.
3938 if test "${with_krb5+set}" = set; then :
3939 withval=$with_krb5;
3943 # Check whether --with-ldap was given.
3944 if test "${with_ldap+set}" = set; then :
3945 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3949 # Check whether --with-mpg123 was given.
3950 if test "${with_mpg123+set}" = set; then :
3951 withval=$with_mpg123;
3955 # Check whether --with-netapi was given.
3956 if test "${with_netapi+set}" = set; then :
3957 withval=$with_netapi;
3961 # Check whether --with-openal was given.
3962 if test "${with_openal+set}" = set; then :
3963 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3967 # Check whether --with-opencl was given.
3968 if test "${with_opencl+set}" = set; then :
3969 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3973 # Check whether --with-opengl was given.
3974 if test "${with_opengl+set}" = set; then :
3975 withval=$with_opengl;
3979 # Check whether --with-osmesa was given.
3980 if test "${with_osmesa+set}" = set; then :
3981 withval=$with_osmesa;
3985 # Check whether --with-oss was given.
3986 if test "${with_oss+set}" = set; then :
3987 withval=$with_oss;
3991 # Check whether --with-pcap was given.
3992 if test "${with_pcap+set}" = set; then :
3993 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3997 # Check whether --with-png was given.
3998 if test "${with_png+set}" = set; then :
3999 withval=$with_png;
4003 # Check whether --with-pthread was given.
4004 if test "${with_pthread+set}" = set; then :
4005 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4009 # Check whether --with-pulse was given.
4010 if test "${with_pulse+set}" = set; then :
4011 withval=$with_pulse;
4015 # Check whether --with-sane was given.
4016 if test "${with_sane+set}" = set; then :
4017 withval=$with_sane;
4021 # Check whether --with-sdl was given.
4022 if test "${with_sdl+set}" = set; then :
4023 withval=$with_sdl;
4027 # Check whether --with-tiff was given.
4028 if test "${with_tiff+set}" = set; then :
4029 withval=$with_tiff;
4033 # Check whether --with-udev was given.
4034 if test "${with_udev+set}" = set; then :
4035 withval=$with_udev;
4039 # Check whether --with-v4l was given.
4040 if test "${with_v4l+set}" = set; then :
4041 withval=$with_v4l;
4045 # Check whether --with-vkd3d was given.
4046 if test "${with_vkd3d+set}" = set; then :
4047 withval=$with_vkd3d;
4051 # Check whether --with-vulkan was given.
4052 if test "${with_vulkan+set}" = set; then :
4053 withval=$with_vulkan;
4057 # Check whether --with-xcomposite was given.
4058 if test "${with_xcomposite+set}" = set; then :
4059 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4063 # Check whether --with-xcursor was given.
4064 if test "${with_xcursor+set}" = set; then :
4065 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4069 # Check whether --with-xfixes was given.
4070 if test "${with_xfixes+set}" = set; then :
4071 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4075 # Check whether --with-xinerama was given.
4076 if test "${with_xinerama+set}" = set; then :
4077 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4081 # Check whether --with-xinput was given.
4082 if test "${with_xinput+set}" = set; then :
4083 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4087 # Check whether --with-xinput2 was given.
4088 if test "${with_xinput2+set}" = set; then :
4089 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4093 # Check whether --with-xml was given.
4094 if test "${with_xml+set}" = set; then :
4095 withval=$with_xml;
4099 # Check whether --with-xrandr was given.
4100 if test "${with_xrandr+set}" = set; then :
4101 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4105 # Check whether --with-xrender was given.
4106 if test "${with_xrender+set}" = set; then :
4107 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4111 # Check whether --with-xshape was given.
4112 if test "${with_xshape+set}" = set; then :
4113 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4117 # Check whether --with-xshm was given.
4118 if test "${with_xshm+set}" = set; then :
4119 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4123 # Check whether --with-xslt was given.
4124 if test "${with_xslt+set}" = set; then :
4125 withval=$with_xslt;
4129 # Check whether --with-xxf86vm was given.
4130 if test "${with_xxf86vm+set}" = set; then :
4131 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
4135 # Check whether --with-zlib was given.
4136 if test "${with_zlib+set}" = set; then :
4137 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4142 # Check whether --with-wine-tools was given.
4143 if test "${with_wine_tools+set}" = set; then :
4144 withval=$with_wine_tools;
4148 # Check whether --with-wine64 was given.
4149 if test "${with_wine64+set}" = set; then :
4150 withval=$with_wine64;
4154 # Make sure we can run config.sub.
4155 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4156 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4159 $as_echo_n "checking build system type... " >&6; }
4160 if ${ac_cv_build+:} false; then :
4161 $as_echo_n "(cached) " >&6
4162 else
4163 ac_build_alias=$build_alias
4164 test "x$ac_build_alias" = x &&
4165 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4166 test "x$ac_build_alias" = x &&
4167 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4168 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4169 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4173 $as_echo "$ac_cv_build" >&6; }
4174 case $ac_cv_build in
4175 *-*-*) ;;
4176 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4177 esac
4178 build=$ac_cv_build
4179 ac_save_IFS=$IFS; IFS='-'
4180 set x $ac_cv_build
4181 shift
4182 build_cpu=$1
4183 build_vendor=$2
4184 shift; shift
4185 # Remember, the first character of IFS is used to create $*,
4186 # except with old shells:
4187 build_os=$*
4188 IFS=$ac_save_IFS
4189 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4193 $as_echo_n "checking host system type... " >&6; }
4194 if ${ac_cv_host+:} false; then :
4195 $as_echo_n "(cached) " >&6
4196 else
4197 if test "x$host_alias" = x; then
4198 ac_cv_host=$ac_cv_build
4199 else
4200 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4201 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4206 $as_echo "$ac_cv_host" >&6; }
4207 case $ac_cv_host in
4208 *-*-*) ;;
4209 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4210 esac
4211 host=$ac_cv_host
4212 ac_save_IFS=$IFS; IFS='-'
4213 set x $ac_cv_host
4214 shift
4215 host_cpu=$1
4216 host_vendor=$2
4217 shift; shift
4218 # Remember, the first character of IFS is used to create $*,
4219 # except with old shells:
4220 host_os=$*
4221 IFS=$ac_save_IFS
4222 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4226 case "$srcdir" in
4227 .) ;;
4228 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4229 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4230 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4231 fi ;;
4232 esac
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4236 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4237 set x ${MAKE-make}
4238 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4239 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4240 $as_echo_n "(cached) " >&6
4241 else
4242 cat >conftest.make <<\_ACEOF
4243 SHELL = /bin/sh
4244 all:
4245 @echo '@@@%%%=$(MAKE)=@@@%%%'
4246 _ACEOF
4247 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4248 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4249 *@@@%%%=?*=@@@%%%*)
4250 eval ac_cv_prog_make_${ac_make}_set=yes;;
4252 eval ac_cv_prog_make_${ac_make}_set=no;;
4253 esac
4254 rm -f conftest.make
4256 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4258 $as_echo "yes" >&6; }
4259 SET_MAKE=
4260 else
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4262 $as_echo "no" >&6; }
4263 SET_MAKE="MAKE=${MAKE-make}"
4266 ac_ext=c
4267 ac_cpp='$CPP $CPPFLAGS'
4268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4271 if test -n "$ac_tool_prefix"; then
4272 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4273 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4275 $as_echo_n "checking for $ac_word... " >&6; }
4276 if ${ac_cv_prog_CC+:} false; then :
4277 $as_echo_n "(cached) " >&6
4278 else
4279 if test -n "$CC"; then
4280 ac_cv_prog_CC="$CC" # Let the user override the test.
4281 else
4282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4283 for as_dir in $PATH
4285 IFS=$as_save_IFS
4286 test -z "$as_dir" && as_dir=.
4287 for ac_exec_ext in '' $ac_executable_extensions; do
4288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4289 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4291 break 2
4293 done
4294 done
4295 IFS=$as_save_IFS
4299 CC=$ac_cv_prog_CC
4300 if test -n "$CC"; then
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4302 $as_echo "$CC" >&6; }
4303 else
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4305 $as_echo "no" >&6; }
4310 if test -z "$ac_cv_prog_CC"; then
4311 ac_ct_CC=$CC
4312 # Extract the first word of "gcc", so it can be a program name with args.
4313 set dummy gcc; ac_word=$2
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4315 $as_echo_n "checking for $ac_word... " >&6; }
4316 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4317 $as_echo_n "(cached) " >&6
4318 else
4319 if test -n "$ac_ct_CC"; then
4320 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4321 else
4322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4323 for as_dir in $PATH
4325 IFS=$as_save_IFS
4326 test -z "$as_dir" && as_dir=.
4327 for ac_exec_ext in '' $ac_executable_extensions; do
4328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4329 ac_cv_prog_ac_ct_CC="gcc"
4330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4331 break 2
4333 done
4334 done
4335 IFS=$as_save_IFS
4339 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4340 if test -n "$ac_ct_CC"; then
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4342 $as_echo "$ac_ct_CC" >&6; }
4343 else
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4345 $as_echo "no" >&6; }
4348 if test "x$ac_ct_CC" = x; then
4349 CC=""
4350 else
4351 case $cross_compiling:$ac_tool_warned in
4352 yes:)
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4355 ac_tool_warned=yes ;;
4356 esac
4357 CC=$ac_ct_CC
4359 else
4360 CC="$ac_cv_prog_CC"
4363 if test -z "$CC"; then
4364 if test -n "$ac_tool_prefix"; then
4365 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4366 set dummy ${ac_tool_prefix}cc; ac_word=$2
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4368 $as_echo_n "checking for $ac_word... " >&6; }
4369 if ${ac_cv_prog_CC+:} false; then :
4370 $as_echo_n "(cached) " >&6
4371 else
4372 if test -n "$CC"; then
4373 ac_cv_prog_CC="$CC" # Let the user override the test.
4374 else
4375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4376 for as_dir in $PATH
4378 IFS=$as_save_IFS
4379 test -z "$as_dir" && as_dir=.
4380 for ac_exec_ext in '' $ac_executable_extensions; do
4381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4382 ac_cv_prog_CC="${ac_tool_prefix}cc"
4383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4384 break 2
4386 done
4387 done
4388 IFS=$as_save_IFS
4392 CC=$ac_cv_prog_CC
4393 if test -n "$CC"; then
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4395 $as_echo "$CC" >&6; }
4396 else
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4398 $as_echo "no" >&6; }
4404 if test -z "$CC"; then
4405 # Extract the first word of "cc", so it can be a program name with args.
4406 set dummy cc; ac_word=$2
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4408 $as_echo_n "checking for $ac_word... " >&6; }
4409 if ${ac_cv_prog_CC+:} false; then :
4410 $as_echo_n "(cached) " >&6
4411 else
4412 if test -n "$CC"; then
4413 ac_cv_prog_CC="$CC" # Let the user override the test.
4414 else
4415 ac_prog_rejected=no
4416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4417 for as_dir in $PATH
4419 IFS=$as_save_IFS
4420 test -z "$as_dir" && as_dir=.
4421 for ac_exec_ext in '' $ac_executable_extensions; do
4422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4423 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4424 ac_prog_rejected=yes
4425 continue
4427 ac_cv_prog_CC="cc"
4428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4429 break 2
4431 done
4432 done
4433 IFS=$as_save_IFS
4435 if test $ac_prog_rejected = yes; then
4436 # We found a bogon in the path, so make sure we never use it.
4437 set dummy $ac_cv_prog_CC
4438 shift
4439 if test $# != 0; then
4440 # We chose a different compiler from the bogus one.
4441 # However, it has the same basename, so the bogon will be chosen
4442 # first if we set CC to just the basename; use the full file name.
4443 shift
4444 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4449 CC=$ac_cv_prog_CC
4450 if test -n "$CC"; then
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4452 $as_echo "$CC" >&6; }
4453 else
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4455 $as_echo "no" >&6; }
4460 if test -z "$CC"; then
4461 if test -n "$ac_tool_prefix"; then
4462 for ac_prog in cl.exe
4464 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4465 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4467 $as_echo_n "checking for $ac_word... " >&6; }
4468 if ${ac_cv_prog_CC+:} false; then :
4469 $as_echo_n "(cached) " >&6
4470 else
4471 if test -n "$CC"; then
4472 ac_cv_prog_CC="$CC" # Let the user override the test.
4473 else
4474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4475 for as_dir in $PATH
4477 IFS=$as_save_IFS
4478 test -z "$as_dir" && as_dir=.
4479 for ac_exec_ext in '' $ac_executable_extensions; do
4480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4481 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4483 break 2
4485 done
4486 done
4487 IFS=$as_save_IFS
4491 CC=$ac_cv_prog_CC
4492 if test -n "$CC"; then
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4494 $as_echo "$CC" >&6; }
4495 else
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4497 $as_echo "no" >&6; }
4501 test -n "$CC" && break
4502 done
4504 if test -z "$CC"; then
4505 ac_ct_CC=$CC
4506 for ac_prog in cl.exe
4508 # Extract the first word of "$ac_prog", so it can be a program name with args.
4509 set dummy $ac_prog; ac_word=$2
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4511 $as_echo_n "checking for $ac_word... " >&6; }
4512 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4513 $as_echo_n "(cached) " >&6
4514 else
4515 if test -n "$ac_ct_CC"; then
4516 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4517 else
4518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4519 for as_dir in $PATH
4521 IFS=$as_save_IFS
4522 test -z "$as_dir" && as_dir=.
4523 for ac_exec_ext in '' $ac_executable_extensions; do
4524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4525 ac_cv_prog_ac_ct_CC="$ac_prog"
4526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4527 break 2
4529 done
4530 done
4531 IFS=$as_save_IFS
4535 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4536 if test -n "$ac_ct_CC"; then
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4538 $as_echo "$ac_ct_CC" >&6; }
4539 else
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4541 $as_echo "no" >&6; }
4545 test -n "$ac_ct_CC" && break
4546 done
4548 if test "x$ac_ct_CC" = x; then
4549 CC=""
4550 else
4551 case $cross_compiling:$ac_tool_warned in
4552 yes:)
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4555 ac_tool_warned=yes ;;
4556 esac
4557 CC=$ac_ct_CC
4564 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4566 as_fn_error $? "no acceptable C compiler found in \$PATH
4567 See \`config.log' for more details" "$LINENO" 5; }
4569 # Provide some information about the compiler.
4570 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4571 set X $ac_compile
4572 ac_compiler=$2
4573 for ac_option in --version -v -V -qversion; do
4574 { { ac_try="$ac_compiler $ac_option >&5"
4575 case "(($ac_try" in
4576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4577 *) ac_try_echo=$ac_try;;
4578 esac
4579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4580 $as_echo "$ac_try_echo"; } >&5
4581 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4582 ac_status=$?
4583 if test -s conftest.err; then
4584 sed '10a\
4585 ... rest of stderr output deleted ...
4586 10q' conftest.err >conftest.er1
4587 cat conftest.er1 >&5
4589 rm -f conftest.er1 conftest.err
4590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4591 test $ac_status = 0; }
4592 done
4594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4595 /* end confdefs.h. */
4598 main ()
4602 return 0;
4604 _ACEOF
4605 ac_clean_files_save=$ac_clean_files
4606 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4607 # Try to create an executable without -o first, disregard a.out.
4608 # It will help us diagnose broken compilers, and finding out an intuition
4609 # of exeext.
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4611 $as_echo_n "checking whether the C compiler works... " >&6; }
4612 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4614 # The possible output files:
4615 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4617 ac_rmfiles=
4618 for ac_file in $ac_files
4620 case $ac_file in
4621 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4622 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4623 esac
4624 done
4625 rm -f $ac_rmfiles
4627 if { { ac_try="$ac_link_default"
4628 case "(($ac_try" in
4629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4630 *) ac_try_echo=$ac_try;;
4631 esac
4632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4633 $as_echo "$ac_try_echo"; } >&5
4634 (eval "$ac_link_default") 2>&5
4635 ac_status=$?
4636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4637 test $ac_status = 0; }; then :
4638 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4639 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4640 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4641 # so that the user can short-circuit this test for compilers unknown to
4642 # Autoconf.
4643 for ac_file in $ac_files ''
4645 test -f "$ac_file" || continue
4646 case $ac_file in
4647 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4649 [ab].out )
4650 # We found the default executable, but exeext='' is most
4651 # certainly right.
4652 break;;
4653 *.* )
4654 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4655 then :; else
4656 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4658 # We set ac_cv_exeext here because the later test for it is not
4659 # safe: cross compilers may not add the suffix if given an `-o'
4660 # argument, so we may need to know it at that point already.
4661 # Even if this section looks crufty: it has the advantage of
4662 # actually working.
4663 break;;
4665 break;;
4666 esac
4667 done
4668 test "$ac_cv_exeext" = no && ac_cv_exeext=
4670 else
4671 ac_file=''
4673 if test -z "$ac_file"; then :
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4675 $as_echo "no" >&6; }
4676 $as_echo "$as_me: failed program was:" >&5
4677 sed 's/^/| /' conftest.$ac_ext >&5
4679 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4681 as_fn_error 77 "C compiler cannot create executables
4682 See \`config.log' for more details" "$LINENO" 5; }
4683 else
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4685 $as_echo "yes" >&6; }
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4688 $as_echo_n "checking for C compiler default output file name... " >&6; }
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4690 $as_echo "$ac_file" >&6; }
4691 ac_exeext=$ac_cv_exeext
4693 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4694 ac_clean_files=$ac_clean_files_save
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4696 $as_echo_n "checking for suffix of executables... " >&6; }
4697 if { { ac_try="$ac_link"
4698 case "(($ac_try" in
4699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4700 *) ac_try_echo=$ac_try;;
4701 esac
4702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4703 $as_echo "$ac_try_echo"; } >&5
4704 (eval "$ac_link") 2>&5
4705 ac_status=$?
4706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4707 test $ac_status = 0; }; then :
4708 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4709 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4710 # work properly (i.e., refer to `conftest.exe'), while it won't with
4711 # `rm'.
4712 for ac_file in conftest.exe conftest conftest.*; do
4713 test -f "$ac_file" || continue
4714 case $ac_file in
4715 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4716 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4717 break;;
4718 * ) break;;
4719 esac
4720 done
4721 else
4722 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4724 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4725 See \`config.log' for more details" "$LINENO" 5; }
4727 rm -f conftest conftest$ac_cv_exeext
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4729 $as_echo "$ac_cv_exeext" >&6; }
4731 rm -f conftest.$ac_ext
4732 EXEEXT=$ac_cv_exeext
4733 ac_exeext=$EXEEXT
4734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4735 /* end confdefs.h. */
4736 #include <stdio.h>
4738 main ()
4740 FILE *f = fopen ("conftest.out", "w");
4741 return ferror (f) || fclose (f) != 0;
4744 return 0;
4746 _ACEOF
4747 ac_clean_files="$ac_clean_files conftest.out"
4748 # Check that the compiler produces executables we can run. If not, either
4749 # the compiler is broken, or we cross compile.
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4751 $as_echo_n "checking whether we are cross compiling... " >&6; }
4752 if test "$cross_compiling" != yes; then
4753 { { ac_try="$ac_link"
4754 case "(($ac_try" in
4755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4756 *) ac_try_echo=$ac_try;;
4757 esac
4758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4759 $as_echo "$ac_try_echo"; } >&5
4760 (eval "$ac_link") 2>&5
4761 ac_status=$?
4762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4763 test $ac_status = 0; }
4764 if { ac_try='./conftest$ac_cv_exeext'
4765 { { case "(($ac_try" in
4766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4767 *) ac_try_echo=$ac_try;;
4768 esac
4769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4770 $as_echo "$ac_try_echo"; } >&5
4771 (eval "$ac_try") 2>&5
4772 ac_status=$?
4773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4774 test $ac_status = 0; }; }; then
4775 cross_compiling=no
4776 else
4777 if test "$cross_compiling" = maybe; then
4778 cross_compiling=yes
4779 else
4780 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4782 as_fn_error $? "cannot run C compiled programs.
4783 If you meant to cross compile, use \`--host'.
4784 See \`config.log' for more details" "$LINENO" 5; }
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4789 $as_echo "$cross_compiling" >&6; }
4791 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4792 ac_clean_files=$ac_clean_files_save
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4794 $as_echo_n "checking for suffix of object files... " >&6; }
4795 if ${ac_cv_objext+:} false; then :
4796 $as_echo_n "(cached) " >&6
4797 else
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4802 main ()
4806 return 0;
4808 _ACEOF
4809 rm -f conftest.o conftest.obj
4810 if { { ac_try="$ac_compile"
4811 case "(($ac_try" in
4812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4813 *) ac_try_echo=$ac_try;;
4814 esac
4815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4816 $as_echo "$ac_try_echo"; } >&5
4817 (eval "$ac_compile") 2>&5
4818 ac_status=$?
4819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4820 test $ac_status = 0; }; then :
4821 for ac_file in conftest.o conftest.obj conftest.*; do
4822 test -f "$ac_file" || continue;
4823 case $ac_file in
4824 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4825 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4826 break;;
4827 esac
4828 done
4829 else
4830 $as_echo "$as_me: failed program was:" >&5
4831 sed 's/^/| /' conftest.$ac_ext >&5
4833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4835 as_fn_error $? "cannot compute suffix of object files: cannot compile
4836 See \`config.log' for more details" "$LINENO" 5; }
4838 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4841 $as_echo "$ac_cv_objext" >&6; }
4842 OBJEXT=$ac_cv_objext
4843 ac_objext=$OBJEXT
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4845 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4846 if ${ac_cv_c_compiler_gnu+:} false; then :
4847 $as_echo_n "(cached) " >&6
4848 else
4849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4850 /* end confdefs.h. */
4853 main ()
4855 #ifndef __GNUC__
4856 choke me
4857 #endif
4860 return 0;
4862 _ACEOF
4863 if ac_fn_c_try_compile "$LINENO"; then :
4864 ac_compiler_gnu=yes
4865 else
4866 ac_compiler_gnu=no
4868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4869 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4873 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4874 if test $ac_compiler_gnu = yes; then
4875 GCC=yes
4876 else
4877 GCC=
4879 ac_test_CFLAGS=${CFLAGS+set}
4880 ac_save_CFLAGS=$CFLAGS
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4882 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4883 if ${ac_cv_prog_cc_g+:} false; then :
4884 $as_echo_n "(cached) " >&6
4885 else
4886 ac_save_c_werror_flag=$ac_c_werror_flag
4887 ac_c_werror_flag=yes
4888 ac_cv_prog_cc_g=no
4889 CFLAGS="-g"
4890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4891 /* end confdefs.h. */
4894 main ()
4898 return 0;
4900 _ACEOF
4901 if ac_fn_c_try_compile "$LINENO"; then :
4902 ac_cv_prog_cc_g=yes
4903 else
4904 CFLAGS=""
4905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4906 /* end confdefs.h. */
4909 main ()
4913 return 0;
4915 _ACEOF
4916 if ac_fn_c_try_compile "$LINENO"; then :
4918 else
4919 ac_c_werror_flag=$ac_save_c_werror_flag
4920 CFLAGS="-g"
4921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4922 /* end confdefs.h. */
4925 main ()
4929 return 0;
4931 _ACEOF
4932 if ac_fn_c_try_compile "$LINENO"; then :
4933 ac_cv_prog_cc_g=yes
4935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4940 ac_c_werror_flag=$ac_save_c_werror_flag
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4943 $as_echo "$ac_cv_prog_cc_g" >&6; }
4944 if test "$ac_test_CFLAGS" = set; then
4945 CFLAGS=$ac_save_CFLAGS
4946 elif test $ac_cv_prog_cc_g = yes; then
4947 if test "$GCC" = yes; then
4948 CFLAGS="-g -O2"
4949 else
4950 CFLAGS="-g"
4952 else
4953 if test "$GCC" = yes; then
4954 CFLAGS="-O2"
4955 else
4956 CFLAGS=
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4960 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4961 if ${ac_cv_prog_cc_c89+:} false; then :
4962 $as_echo_n "(cached) " >&6
4963 else
4964 ac_cv_prog_cc_c89=no
4965 ac_save_CC=$CC
4966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4967 /* end confdefs.h. */
4968 #include <stdarg.h>
4969 #include <stdio.h>
4970 struct stat;
4971 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4972 struct buf { int x; };
4973 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4974 static char *e (p, i)
4975 char **p;
4976 int i;
4978 return p[i];
4980 static char *f (char * (*g) (char **, int), char **p, ...)
4982 char *s;
4983 va_list v;
4984 va_start (v,p);
4985 s = g (p, va_arg (v,int));
4986 va_end (v);
4987 return s;
4990 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4991 function prototypes and stuff, but not '\xHH' hex character constants.
4992 These don't provoke an error unfortunately, instead are silently treated
4993 as 'x'. The following induces an error, until -std is added to get
4994 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4995 array size at least. It's necessary to write '\x00'==0 to get something
4996 that's true only with -std. */
4997 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4999 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5000 inside strings and character constants. */
5001 #define FOO(x) 'x'
5002 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5004 int test (int i, double x);
5005 struct s1 {int (*f) (int a);};
5006 struct s2 {int (*f) (double a);};
5007 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5008 int argc;
5009 char **argv;
5011 main ()
5013 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5015 return 0;
5017 _ACEOF
5018 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5019 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5021 CC="$ac_save_CC $ac_arg"
5022 if ac_fn_c_try_compile "$LINENO"; then :
5023 ac_cv_prog_cc_c89=$ac_arg
5025 rm -f core conftest.err conftest.$ac_objext
5026 test "x$ac_cv_prog_cc_c89" != "xno" && break
5027 done
5028 rm -f conftest.$ac_ext
5029 CC=$ac_save_CC
5032 # AC_CACHE_VAL
5033 case "x$ac_cv_prog_cc_c89" in
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5036 $as_echo "none needed" >&6; } ;;
5037 xno)
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5039 $as_echo "unsupported" >&6; } ;;
5041 CC="$CC $ac_cv_prog_cc_c89"
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5043 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5044 esac
5045 if test "x$ac_cv_prog_cc_c89" != xno; then :
5049 ac_ext=c
5050 ac_cpp='$CPP $CPPFLAGS'
5051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5055 ac_ext=cpp
5056 ac_cpp='$CXXCPP $CPPFLAGS'
5057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5060 if test -z "$CXX"; then
5061 if test -n "$CCC"; then
5062 CXX=$CCC
5063 else
5064 if test -n "$ac_tool_prefix"; then
5065 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5067 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5068 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5070 $as_echo_n "checking for $ac_word... " >&6; }
5071 if ${ac_cv_prog_CXX+:} false; then :
5072 $as_echo_n "(cached) " >&6
5073 else
5074 if test -n "$CXX"; then
5075 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5076 else
5077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5078 for as_dir in $PATH
5080 IFS=$as_save_IFS
5081 test -z "$as_dir" && as_dir=.
5082 for ac_exec_ext in '' $ac_executable_extensions; do
5083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5084 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5086 break 2
5088 done
5089 done
5090 IFS=$as_save_IFS
5094 CXX=$ac_cv_prog_CXX
5095 if test -n "$CXX"; then
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5097 $as_echo "$CXX" >&6; }
5098 else
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5100 $as_echo "no" >&6; }
5104 test -n "$CXX" && break
5105 done
5107 if test -z "$CXX"; then
5108 ac_ct_CXX=$CXX
5109 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5111 # Extract the first word of "$ac_prog", so it can be a program name with args.
5112 set dummy $ac_prog; ac_word=$2
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114 $as_echo_n "checking for $ac_word... " >&6; }
5115 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5116 $as_echo_n "(cached) " >&6
5117 else
5118 if test -n "$ac_ct_CXX"; then
5119 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5120 else
5121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5122 for as_dir in $PATH
5124 IFS=$as_save_IFS
5125 test -z "$as_dir" && as_dir=.
5126 for ac_exec_ext in '' $ac_executable_extensions; do
5127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5128 ac_cv_prog_ac_ct_CXX="$ac_prog"
5129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5130 break 2
5132 done
5133 done
5134 IFS=$as_save_IFS
5138 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5139 if test -n "$ac_ct_CXX"; then
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5141 $as_echo "$ac_ct_CXX" >&6; }
5142 else
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 $as_echo "no" >&6; }
5148 test -n "$ac_ct_CXX" && break
5149 done
5151 if test "x$ac_ct_CXX" = x; then
5152 CXX="g++"
5153 else
5154 case $cross_compiling:$ac_tool_warned in
5155 yes:)
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5158 ac_tool_warned=yes ;;
5159 esac
5160 CXX=$ac_ct_CXX
5166 # Provide some information about the compiler.
5167 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5168 set X $ac_compile
5169 ac_compiler=$2
5170 for ac_option in --version -v -V -qversion; do
5171 { { ac_try="$ac_compiler $ac_option >&5"
5172 case "(($ac_try" in
5173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5174 *) ac_try_echo=$ac_try;;
5175 esac
5176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5177 $as_echo "$ac_try_echo"; } >&5
5178 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5179 ac_status=$?
5180 if test -s conftest.err; then
5181 sed '10a\
5182 ... rest of stderr output deleted ...
5183 10q' conftest.err >conftest.er1
5184 cat conftest.er1 >&5
5186 rm -f conftest.er1 conftest.err
5187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5188 test $ac_status = 0; }
5189 done
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5192 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5193 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5194 $as_echo_n "(cached) " >&6
5195 else
5196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5197 /* end confdefs.h. */
5200 main ()
5202 #ifndef __GNUC__
5203 choke me
5204 #endif
5207 return 0;
5209 _ACEOF
5210 if ac_fn_cxx_try_compile "$LINENO"; then :
5211 ac_compiler_gnu=yes
5212 else
5213 ac_compiler_gnu=no
5215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5216 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5220 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5221 if test $ac_compiler_gnu = yes; then
5222 GXX=yes
5223 else
5224 GXX=
5226 ac_test_CXXFLAGS=${CXXFLAGS+set}
5227 ac_save_CXXFLAGS=$CXXFLAGS
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5229 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5230 if ${ac_cv_prog_cxx_g+:} false; then :
5231 $as_echo_n "(cached) " >&6
5232 else
5233 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5234 ac_cxx_werror_flag=yes
5235 ac_cv_prog_cxx_g=no
5236 CXXFLAGS="-g"
5237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5238 /* end confdefs.h. */
5241 main ()
5245 return 0;
5247 _ACEOF
5248 if ac_fn_cxx_try_compile "$LINENO"; then :
5249 ac_cv_prog_cxx_g=yes
5250 else
5251 CXXFLAGS=""
5252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5253 /* end confdefs.h. */
5256 main ()
5260 return 0;
5262 _ACEOF
5263 if ac_fn_cxx_try_compile "$LINENO"; then :
5265 else
5266 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5267 CXXFLAGS="-g"
5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5272 main ()
5276 return 0;
5278 _ACEOF
5279 if ac_fn_cxx_try_compile "$LINENO"; then :
5280 ac_cv_prog_cxx_g=yes
5282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5287 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5290 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5291 if test "$ac_test_CXXFLAGS" = set; then
5292 CXXFLAGS=$ac_save_CXXFLAGS
5293 elif test $ac_cv_prog_cxx_g = yes; then
5294 if test "$GXX" = yes; then
5295 CXXFLAGS="-g -O2"
5296 else
5297 CXXFLAGS="-g"
5299 else
5300 if test "$GXX" = yes; then
5301 CXXFLAGS="-O2"
5302 else
5303 CXXFLAGS=
5306 ac_ext=c
5307 ac_cpp='$CPP $CPPFLAGS'
5308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5312 if test -n "$ac_tool_prefix"; then
5313 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5314 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5316 $as_echo_n "checking for $ac_word... " >&6; }
5317 if ${ac_cv_prog_CPPBIN+:} false; then :
5318 $as_echo_n "(cached) " >&6
5319 else
5320 if test -n "$CPPBIN"; then
5321 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5322 else
5323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5324 for as_dir in $PATH
5326 IFS=$as_save_IFS
5327 test -z "$as_dir" && as_dir=.
5328 for ac_exec_ext in '' $ac_executable_extensions; do
5329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5330 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5332 break 2
5334 done
5335 done
5336 IFS=$as_save_IFS
5340 CPPBIN=$ac_cv_prog_CPPBIN
5341 if test -n "$CPPBIN"; then
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5343 $as_echo "$CPPBIN" >&6; }
5344 else
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5346 $as_echo "no" >&6; }
5351 if test -z "$ac_cv_prog_CPPBIN"; then
5352 ac_ct_CPPBIN=$CPPBIN
5353 # Extract the first word of "cpp", so it can be a program name with args.
5354 set dummy cpp; ac_word=$2
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5356 $as_echo_n "checking for $ac_word... " >&6; }
5357 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5358 $as_echo_n "(cached) " >&6
5359 else
5360 if test -n "$ac_ct_CPPBIN"; then
5361 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5362 else
5363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5364 for as_dir in $PATH
5366 IFS=$as_save_IFS
5367 test -z "$as_dir" && as_dir=.
5368 for ac_exec_ext in '' $ac_executable_extensions; do
5369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5370 ac_cv_prog_ac_ct_CPPBIN="cpp"
5371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5372 break 2
5374 done
5375 done
5376 IFS=$as_save_IFS
5380 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5381 if test -n "$ac_ct_CPPBIN"; then
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5383 $as_echo "$ac_ct_CPPBIN" >&6; }
5384 else
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5386 $as_echo "no" >&6; }
5389 if test "x$ac_ct_CPPBIN" = x; then
5390 CPPBIN="cpp"
5391 else
5392 case $cross_compiling:$ac_tool_warned in
5393 yes:)
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5396 ac_tool_warned=yes ;;
5397 esac
5398 CPPBIN=$ac_ct_CPPBIN
5400 else
5401 CPPBIN="$ac_cv_prog_CPPBIN"
5405 cat >>confdefs.h <<_ACEOF
5406 #define EXEEXT "$ac_exeext"
5407 _ACEOF
5409 if test -n "$ac_tool_prefix"; then
5410 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5411 set dummy ${ac_tool_prefix}ld; ac_word=$2
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5413 $as_echo_n "checking for $ac_word... " >&6; }
5414 if ${ac_cv_prog_LD+:} false; then :
5415 $as_echo_n "(cached) " >&6
5416 else
5417 if test -n "$LD"; then
5418 ac_cv_prog_LD="$LD" # Let the user override the test.
5419 else
5420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5421 for as_dir in $PATH
5423 IFS=$as_save_IFS
5424 test -z "$as_dir" && as_dir=.
5425 for ac_exec_ext in '' $ac_executable_extensions; do
5426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5427 ac_cv_prog_LD="${ac_tool_prefix}ld"
5428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5429 break 2
5431 done
5432 done
5433 IFS=$as_save_IFS
5437 LD=$ac_cv_prog_LD
5438 if test -n "$LD"; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5440 $as_echo "$LD" >&6; }
5441 else
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5448 if test -z "$ac_cv_prog_LD"; then
5449 ac_ct_LD=$LD
5450 # Extract the first word of "ld", so it can be a program name with args.
5451 set dummy ld; ac_word=$2
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5453 $as_echo_n "checking for $ac_word... " >&6; }
5454 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5455 $as_echo_n "(cached) " >&6
5456 else
5457 if test -n "$ac_ct_LD"; then
5458 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5459 else
5460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5461 for as_dir in $PATH
5463 IFS=$as_save_IFS
5464 test -z "$as_dir" && as_dir=.
5465 for ac_exec_ext in '' $ac_executable_extensions; do
5466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5467 ac_cv_prog_ac_ct_LD="ld"
5468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5469 break 2
5471 done
5472 done
5473 IFS=$as_save_IFS
5477 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5478 if test -n "$ac_ct_LD"; then
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5480 $as_echo "$ac_ct_LD" >&6; }
5481 else
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5483 $as_echo "no" >&6; }
5486 if test "x$ac_ct_LD" = x; then
5487 LD=""
5488 else
5489 case $cross_compiling:$ac_tool_warned in
5490 yes:)
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5493 ac_tool_warned=yes ;;
5494 esac
5495 LD=$ac_ct_LD
5497 else
5498 LD="$ac_cv_prog_LD"
5502 case $host in
5503 *-darwin*)
5504 with_fontconfig=${with_fontconfig:-no}
5506 *-mingw32*|*-cygwin*)
5507 enable_win16=${enable_win16:-no}
5508 CFLAGS="$CFLAGS -D_WIN32"
5510 esac
5512 case $host in
5513 x86_64*|amd64*)
5514 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5515 then
5516 CC="$CC -m32"
5517 CXX="$CXX -m32"
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5519 $as_echo_n "checking whether $CC works... " >&6; }
5521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5522 /* end confdefs.h. */
5525 main ()
5529 return 0;
5531 _ACEOF
5532 if ac_fn_c_try_link "$LINENO"; then :
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5534 $as_echo "yes" >&6; }
5535 else
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5538 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5540 rm -f core conftest.err conftest.$ac_objext \
5541 conftest$ac_exeext conftest.$ac_ext
5542 host_cpu="i386"
5543 notice_platform="32-bit "
5544 TARGETFLAGS="-m32"
5546 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5547 export PKG_CONFIG_PATH
5548 enable_win16=${enable_win16:-yes}
5549 else
5550 if test "x${GCC}" = "xyes"
5551 then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5553 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5555 /* end confdefs.h. */
5556 #include <stdarg.h>
5558 main ()
5560 void func(__builtin_ms_va_list *args);
5562 return 0;
5564 _ACEOF
5565 if ac_fn_c_try_compile "$LINENO"; then :
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5567 $as_echo "yes" >&6; }
5568 else
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5571 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5575 CC="$CC -m64"
5576 CXX="$CXX -m64"
5577 host_cpu="x86_64"
5578 notice_platform="64-bit "
5579 TARGETFLAGS="-m64"
5583 arm*)
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5585 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5587 /* end confdefs.h. */
5588 int ac_test(int i) { return i; }
5590 main ()
5592 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5594 return 0;
5596 _ACEOF
5597 if ac_fn_c_try_link "$LINENO"; then :
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5599 $as_echo "yes" >&6; }
5600 else
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5602 $as_echo "no" >&6; }
5603 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5605 rm -f core conftest.err conftest.$ac_objext \
5606 conftest$ac_exeext conftest.$ac_ext
5607 case $with_float_abi in
5608 soft|softfp|hard)
5609 float_abi=$with_float_abi ;;
5611 case $host_os in
5612 *eabihf)
5613 float_abi=hard ;;
5615 float_abi=softfp
5616 saved_CFLAGS=$CFLAGS
5617 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5619 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5621 /* end confdefs.h. */
5624 main ()
5626 asm("vmrs r2,fpscr");
5628 return 0;
5630 _ACEOF
5631 if ac_fn_c_try_link "$LINENO"; then :
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5633 $as_echo "yes" >&6; }
5634 else
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5637 float_abi=soft
5638 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5640 rm -f core conftest.err conftest.$ac_objext \
5641 conftest$ac_exeext conftest.$ac_ext
5642 CFLAGS=$saved_CFLAGS
5643 esac
5645 esac
5646 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5647 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5650 aarch64*)
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5652 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5654 /* end confdefs.h. */
5655 #include <stdarg.h>
5657 main ()
5659 void func(__builtin_ms_va_list *args);
5661 return 0;
5663 _ACEOF
5664 if ac_fn_c_try_compile "$LINENO"; then :
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5666 $as_echo "yes" >&6; }
5667 else
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669 $as_echo "no" >&6; }
5670 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5674 i[3456789]86*)
5675 enable_win16=${enable_win16:-yes}
5677 esac
5679 enable_win16=${enable_win16:-no}
5680 enable_win64=${enable_win64:-no}
5682 enable_winetest=${enable_winetest:-$enable_tests}
5684 if test "x$enable_win64" = "xyes"
5685 then
5686 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5687 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5688 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5692 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5693 if ${wine_cv_toolsdir+:} false; then :
5694 $as_echo_n "(cached) " >&6
5695 else
5696 wine_cv_toolsdir="$with_wine_tools"
5697 if test -z "$with_wine_tools"; then
5698 if test "$cross_compiling" = "yes"; then
5699 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5700 elif test -n "$with_wine64"; then
5701 wine_cv_toolsdir="$with_wine64"
5704 if test -z "$wine_cv_toolsdir"; then
5705 wine_makedep=tools/makedep
5706 wine_cv_toolsdir="\$(top_builddir)"
5707 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5708 wine_makedep=$wine_cv_toolsdir/tools/makedep
5709 case "$wine_cv_toolsdir" in
5710 /*) ;;
5711 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5712 esac
5713 enable_tools=${enable_tools:-no}
5714 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5715 else
5716 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5720 $as_echo "$wine_cv_toolsdir" >&6; }
5721 TOOLSDIR=$wine_cv_toolsdir
5723 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5724 then
5725 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5729 for ac_prog in flex
5731 # Extract the first word of "$ac_prog", so it can be a program name with args.
5732 set dummy $ac_prog; ac_word=$2
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5734 $as_echo_n "checking for $ac_word... " >&6; }
5735 if ${ac_cv_prog_FLEX+:} false; then :
5736 $as_echo_n "(cached) " >&6
5737 else
5738 if test -n "$FLEX"; then
5739 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5740 else
5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742 for as_dir in $PATH
5744 IFS=$as_save_IFS
5745 test -z "$as_dir" && as_dir=.
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5748 ac_cv_prog_FLEX="$ac_prog"
5749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 break 2
5752 done
5753 done
5754 IFS=$as_save_IFS
5758 FLEX=$ac_cv_prog_FLEX
5759 if test -n "$FLEX"; then
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5761 $as_echo "$FLEX" >&6; }
5762 else
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5764 $as_echo "no" >&6; }
5768 test -n "$FLEX" && break
5769 done
5770 test -n "$FLEX" || FLEX="none"
5772 if test "$FLEX" = "none"
5773 then
5774 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5777 $as_echo_n "checking whether flex is recent enough... " >&6; }
5778 cat >conftest.l <<EOF
5779 %top{
5780 #include "prediluvian.h"
5784 if $FLEX -t conftest.l >/dev/null 2>&5
5785 then
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5787 $as_echo "yes" >&6; }
5788 else
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5790 $as_echo "no" >&6; }
5791 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5794 for ac_prog in bison
5796 # Extract the first word of "$ac_prog", so it can be a program name with args.
5797 set dummy $ac_prog; ac_word=$2
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5799 $as_echo_n "checking for $ac_word... " >&6; }
5800 if ${ac_cv_prog_BISON+:} false; then :
5801 $as_echo_n "(cached) " >&6
5802 else
5803 if test -n "$BISON"; then
5804 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5805 else
5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807 for as_dir in $PATH
5809 IFS=$as_save_IFS
5810 test -z "$as_dir" && as_dir=.
5811 for ac_exec_ext in '' $ac_executable_extensions; do
5812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5813 ac_cv_prog_BISON="$ac_prog"
5814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5815 break 2
5817 done
5818 done
5819 IFS=$as_save_IFS
5823 BISON=$ac_cv_prog_BISON
5824 if test -n "$BISON"; then
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5826 $as_echo "$BISON" >&6; }
5827 else
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5829 $as_echo "no" >&6; }
5833 test -n "$BISON" && break
5834 done
5835 test -n "$BISON" || BISON="none"
5837 if test "$BISON" = "none"
5838 then
5839 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5842 if test -n "$ac_tool_prefix"; then
5843 for ac_prog in ar gar
5845 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5846 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5848 $as_echo_n "checking for $ac_word... " >&6; }
5849 if ${ac_cv_prog_AR+:} false; then :
5850 $as_echo_n "(cached) " >&6
5851 else
5852 if test -n "$AR"; then
5853 ac_cv_prog_AR="$AR" # Let the user override the test.
5854 else
5855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5856 for as_dir in $PATH
5858 IFS=$as_save_IFS
5859 test -z "$as_dir" && as_dir=.
5860 for ac_exec_ext in '' $ac_executable_extensions; do
5861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5862 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5864 break 2
5866 done
5867 done
5868 IFS=$as_save_IFS
5872 AR=$ac_cv_prog_AR
5873 if test -n "$AR"; then
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5875 $as_echo "$AR" >&6; }
5876 else
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5878 $as_echo "no" >&6; }
5882 test -n "$AR" && break
5883 done
5885 if test -z "$AR"; then
5886 ac_ct_AR=$AR
5887 for ac_prog in ar gar
5889 # Extract the first word of "$ac_prog", so it can be a program name with args.
5890 set dummy $ac_prog; ac_word=$2
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5892 $as_echo_n "checking for $ac_word... " >&6; }
5893 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5894 $as_echo_n "(cached) " >&6
5895 else
5896 if test -n "$ac_ct_AR"; then
5897 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5898 else
5899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5900 for as_dir in $PATH
5902 IFS=$as_save_IFS
5903 test -z "$as_dir" && as_dir=.
5904 for ac_exec_ext in '' $ac_executable_extensions; do
5905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5906 ac_cv_prog_ac_ct_AR="$ac_prog"
5907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5908 break 2
5910 done
5911 done
5912 IFS=$as_save_IFS
5916 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5917 if test -n "$ac_ct_AR"; then
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5919 $as_echo "$ac_ct_AR" >&6; }
5920 else
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5922 $as_echo "no" >&6; }
5926 test -n "$ac_ct_AR" && break
5927 done
5929 if test "x$ac_ct_AR" = x; then
5930 AR="ar"
5931 else
5932 case $cross_compiling:$ac_tool_warned in
5933 yes:)
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5936 ac_tool_warned=yes ;;
5937 esac
5938 AR=$ac_ct_AR
5942 if test -n "$ac_tool_prefix"; then
5943 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5944 set dummy ${ac_tool_prefix}strip; ac_word=$2
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5946 $as_echo_n "checking for $ac_word... " >&6; }
5947 if ${ac_cv_prog_STRIP+:} false; then :
5948 $as_echo_n "(cached) " >&6
5949 else
5950 if test -n "$STRIP"; then
5951 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5952 else
5953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5954 for as_dir in $PATH
5956 IFS=$as_save_IFS
5957 test -z "$as_dir" && as_dir=.
5958 for ac_exec_ext in '' $ac_executable_extensions; do
5959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5960 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5962 break 2
5964 done
5965 done
5966 IFS=$as_save_IFS
5970 STRIP=$ac_cv_prog_STRIP
5971 if test -n "$STRIP"; then
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5973 $as_echo "$STRIP" >&6; }
5974 else
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5976 $as_echo "no" >&6; }
5981 if test -z "$ac_cv_prog_STRIP"; then
5982 ac_ct_STRIP=$STRIP
5983 # Extract the first word of "strip", so it can be a program name with args.
5984 set dummy strip; ac_word=$2
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5986 $as_echo_n "checking for $ac_word... " >&6; }
5987 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5988 $as_echo_n "(cached) " >&6
5989 else
5990 if test -n "$ac_ct_STRIP"; then
5991 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5992 else
5993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5994 for as_dir in $PATH
5996 IFS=$as_save_IFS
5997 test -z "$as_dir" && as_dir=.
5998 for ac_exec_ext in '' $ac_executable_extensions; do
5999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6000 ac_cv_prog_ac_ct_STRIP="strip"
6001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6002 break 2
6004 done
6005 done
6006 IFS=$as_save_IFS
6010 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6011 if test -n "$ac_ct_STRIP"; then
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6013 $as_echo "$ac_ct_STRIP" >&6; }
6014 else
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6016 $as_echo "no" >&6; }
6019 if test "x$ac_ct_STRIP" = x; then
6020 STRIP="strip"
6021 else
6022 case $cross_compiling:$ac_tool_warned in
6023 yes:)
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6026 ac_tool_warned=yes ;;
6027 esac
6028 STRIP=$ac_ct_STRIP
6030 else
6031 STRIP="$ac_cv_prog_STRIP"
6034 if test -n "$ac_tool_prefix"; then
6035 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6036 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6038 $as_echo_n "checking for $ac_word... " >&6; }
6039 if ${ac_cv_prog_RANLIB+:} false; then :
6040 $as_echo_n "(cached) " >&6
6041 else
6042 if test -n "$RANLIB"; then
6043 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6044 else
6045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6046 for as_dir in $PATH
6048 IFS=$as_save_IFS
6049 test -z "$as_dir" && as_dir=.
6050 for ac_exec_ext in '' $ac_executable_extensions; do
6051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6052 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6054 break 2
6056 done
6057 done
6058 IFS=$as_save_IFS
6062 RANLIB=$ac_cv_prog_RANLIB
6063 if test -n "$RANLIB"; then
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6065 $as_echo "$RANLIB" >&6; }
6066 else
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6068 $as_echo "no" >&6; }
6073 if test -z "$ac_cv_prog_RANLIB"; then
6074 ac_ct_RANLIB=$RANLIB
6075 # Extract the first word of "ranlib", so it can be a program name with args.
6076 set dummy ranlib; ac_word=$2
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6078 $as_echo_n "checking for $ac_word... " >&6; }
6079 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6080 $as_echo_n "(cached) " >&6
6081 else
6082 if test -n "$ac_ct_RANLIB"; then
6083 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6084 else
6085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6086 for as_dir in $PATH
6088 IFS=$as_save_IFS
6089 test -z "$as_dir" && as_dir=.
6090 for ac_exec_ext in '' $ac_executable_extensions; do
6091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6092 ac_cv_prog_ac_ct_RANLIB="ranlib"
6093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6094 break 2
6096 done
6097 done
6098 IFS=$as_save_IFS
6102 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6103 if test -n "$ac_ct_RANLIB"; then
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6105 $as_echo "$ac_ct_RANLIB" >&6; }
6106 else
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6108 $as_echo "no" >&6; }
6111 if test "x$ac_ct_RANLIB" = x; then
6112 RANLIB=":"
6113 else
6114 case $cross_compiling:$ac_tool_warned in
6115 yes:)
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6118 ac_tool_warned=yes ;;
6119 esac
6120 RANLIB=$ac_ct_RANLIB
6122 else
6123 RANLIB="$ac_cv_prog_RANLIB"
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6127 $as_echo_n "checking whether ln -s works... " >&6; }
6128 LN_S=$as_ln_s
6129 if test "$LN_S" = "ln -s"; then
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6131 $as_echo "yes" >&6; }
6132 else
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6134 $as_echo "no, using $LN_S" >&6; }
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6138 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6139 if ${ac_cv_path_GREP+:} false; then :
6140 $as_echo_n "(cached) " >&6
6141 else
6142 if test -z "$GREP"; then
6143 ac_path_GREP_found=false
6144 # Loop through the user's path and test for each of PROGNAME-LIST
6145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6146 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6148 IFS=$as_save_IFS
6149 test -z "$as_dir" && as_dir=.
6150 for ac_prog in grep ggrep; do
6151 for ac_exec_ext in '' $ac_executable_extensions; do
6152 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6153 as_fn_executable_p "$ac_path_GREP" || continue
6154 # Check for GNU ac_path_GREP and select it if it is found.
6155 # Check for GNU $ac_path_GREP
6156 case `"$ac_path_GREP" --version 2>&1` in
6157 *GNU*)
6158 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6160 ac_count=0
6161 $as_echo_n 0123456789 >"conftest.in"
6162 while :
6164 cat "conftest.in" "conftest.in" >"conftest.tmp"
6165 mv "conftest.tmp" "conftest.in"
6166 cp "conftest.in" "conftest.nl"
6167 $as_echo 'GREP' >> "conftest.nl"
6168 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6169 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6170 as_fn_arith $ac_count + 1 && ac_count=$as_val
6171 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6172 # Best one so far, save it but keep looking for a better one
6173 ac_cv_path_GREP="$ac_path_GREP"
6174 ac_path_GREP_max=$ac_count
6176 # 10*(2^10) chars as input seems more than enough
6177 test $ac_count -gt 10 && break
6178 done
6179 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6180 esac
6182 $ac_path_GREP_found && break 3
6183 done
6184 done
6185 done
6186 IFS=$as_save_IFS
6187 if test -z "$ac_cv_path_GREP"; then
6188 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6190 else
6191 ac_cv_path_GREP=$GREP
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6196 $as_echo "$ac_cv_path_GREP" >&6; }
6197 GREP="$ac_cv_path_GREP"
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6201 $as_echo_n "checking for egrep... " >&6; }
6202 if ${ac_cv_path_EGREP+:} false; then :
6203 $as_echo_n "(cached) " >&6
6204 else
6205 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6206 then ac_cv_path_EGREP="$GREP -E"
6207 else
6208 if test -z "$EGREP"; then
6209 ac_path_EGREP_found=false
6210 # Loop through the user's path and test for each of PROGNAME-LIST
6211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6212 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6214 IFS=$as_save_IFS
6215 test -z "$as_dir" && as_dir=.
6216 for ac_prog in egrep; do
6217 for ac_exec_ext in '' $ac_executable_extensions; do
6218 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6219 as_fn_executable_p "$ac_path_EGREP" || continue
6220 # Check for GNU ac_path_EGREP and select it if it is found.
6221 # Check for GNU $ac_path_EGREP
6222 case `"$ac_path_EGREP" --version 2>&1` in
6223 *GNU*)
6224 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6226 ac_count=0
6227 $as_echo_n 0123456789 >"conftest.in"
6228 while :
6230 cat "conftest.in" "conftest.in" >"conftest.tmp"
6231 mv "conftest.tmp" "conftest.in"
6232 cp "conftest.in" "conftest.nl"
6233 $as_echo 'EGREP' >> "conftest.nl"
6234 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6235 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6236 as_fn_arith $ac_count + 1 && ac_count=$as_val
6237 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6238 # Best one so far, save it but keep looking for a better one
6239 ac_cv_path_EGREP="$ac_path_EGREP"
6240 ac_path_EGREP_max=$ac_count
6242 # 10*(2^10) chars as input seems more than enough
6243 test $ac_count -gt 10 && break
6244 done
6245 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6246 esac
6248 $ac_path_EGREP_found && break 3
6249 done
6250 done
6251 done
6252 IFS=$as_save_IFS
6253 if test -z "$ac_cv_path_EGREP"; then
6254 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6256 else
6257 ac_cv_path_EGREP=$EGREP
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6263 $as_echo "$ac_cv_path_EGREP" >&6; }
6264 EGREP="$ac_cv_path_EGREP"
6267 # Extract the first word of "ldconfig", so it can be a program name with args.
6268 set dummy ldconfig; ac_word=$2
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6270 $as_echo_n "checking for $ac_word... " >&6; }
6271 if ${ac_cv_path_LDCONFIG+:} false; then :
6272 $as_echo_n "(cached) " >&6
6273 else
6274 case $LDCONFIG in
6275 [\\/]* | ?:[\\/]*)
6276 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6280 for as_dir in /sbin /usr/sbin $PATH
6282 IFS=$as_save_IFS
6283 test -z "$as_dir" && as_dir=.
6284 for ac_exec_ext in '' $ac_executable_extensions; do
6285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6286 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6288 break 2
6290 done
6291 done
6292 IFS=$as_save_IFS
6294 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6296 esac
6298 LDCONFIG=$ac_cv_path_LDCONFIG
6299 if test -n "$LDCONFIG"; then
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6301 $as_echo "$LDCONFIG" >&6; }
6302 else
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6304 $as_echo "no" >&6; }
6308 for ac_prog in msgfmt
6310 # Extract the first word of "$ac_prog", so it can be a program name with args.
6311 set dummy $ac_prog; ac_word=$2
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6313 $as_echo_n "checking for $ac_word... " >&6; }
6314 if ${ac_cv_prog_MSGFMT+:} false; then :
6315 $as_echo_n "(cached) " >&6
6316 else
6317 if test -n "$MSGFMT"; then
6318 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6319 else
6320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6321 for as_dir in $PATH
6323 IFS=$as_save_IFS
6324 test -z "$as_dir" && as_dir=.
6325 for ac_exec_ext in '' $ac_executable_extensions; do
6326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6327 ac_cv_prog_MSGFMT="$ac_prog"
6328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6329 break 2
6331 done
6332 done
6333 IFS=$as_save_IFS
6337 MSGFMT=$ac_cv_prog_MSGFMT
6338 if test -n "$MSGFMT"; then
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6340 $as_echo "$MSGFMT" >&6; }
6341 else
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6343 $as_echo "no" >&6; }
6347 test -n "$MSGFMT" && break
6348 done
6349 test -n "$MSGFMT" || MSGFMT="false"
6351 if ${ac_tool_prefix+:} false; then :
6352 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6353 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6355 $as_echo_n "checking for $ac_word... " >&6; }
6356 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6357 $as_echo_n "(cached) " >&6
6358 else
6359 if test -n "$PKG_CONFIG"; then
6360 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6361 else
6362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6363 for as_dir in $PATH
6365 IFS=$as_save_IFS
6366 test -z "$as_dir" && as_dir=.
6367 for ac_exec_ext in '' $ac_executable_extensions; do
6368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6369 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6371 break 2
6373 done
6374 done
6375 IFS=$as_save_IFS
6379 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6380 if test -n "$PKG_CONFIG"; then
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6382 $as_echo "$PKG_CONFIG" >&6; }
6383 else
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6385 $as_echo "no" >&6; }
6390 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6391 if test "x$cross_compiling" = xyes; then :
6393 else
6394 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6395 # Extract the first word of "pkg-config", so it can be a program name with args.
6396 set dummy pkg-config; ac_word=$2
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6398 $as_echo_n "checking for $ac_word... " >&6; }
6399 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6400 $as_echo_n "(cached) " >&6
6401 else
6402 if test -n "$PKG_CONFIG"; then
6403 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6404 else
6405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6406 for as_dir in $PATH
6408 IFS=$as_save_IFS
6409 test -z "$as_dir" && as_dir=.
6410 for ac_exec_ext in '' $ac_executable_extensions; do
6411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6412 ac_cv_prog_PKG_CONFIG="pkg-config"
6413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6414 break 2
6416 done
6417 done
6418 IFS=$as_save_IFS
6422 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6423 if test -n "$PKG_CONFIG"; then
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6425 $as_echo "$PKG_CONFIG" >&6; }
6426 else
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6428 $as_echo "no" >&6; }
6433 else
6434 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6437 if test "x$enable_maintainer_mode" != "xyes"
6438 then
6439 FONTFORGE=""
6440 RSVG=""
6441 CONVERT=""
6442 ICOTOOL=""
6443 else
6444 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6445 for ac_prog in fontforge
6447 # Extract the first word of "$ac_prog", so it can be a program name with args.
6448 set dummy $ac_prog; ac_word=$2
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6450 $as_echo_n "checking for $ac_word... " >&6; }
6451 if ${ac_cv_prog_FONTFORGE+:} false; then :
6452 $as_echo_n "(cached) " >&6
6453 else
6454 if test -n "$FONTFORGE"; then
6455 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6456 else
6457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6458 for as_dir in $PATH
6460 IFS=$as_save_IFS
6461 test -z "$as_dir" && as_dir=.
6462 for ac_exec_ext in '' $ac_executable_extensions; do
6463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6464 ac_cv_prog_FONTFORGE="$ac_prog"
6465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6466 break 2
6468 done
6469 done
6470 IFS=$as_save_IFS
6474 FONTFORGE=$ac_cv_prog_FONTFORGE
6475 if test -n "$FONTFORGE"; then
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6477 $as_echo "$FONTFORGE" >&6; }
6478 else
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6480 $as_echo "no" >&6; }
6484 test -n "$FONTFORGE" && break
6485 done
6486 test -n "$FONTFORGE" || FONTFORGE="false"
6488 for ac_prog in rsvg-convert rsvg
6490 # Extract the first word of "$ac_prog", so it can be a program name with args.
6491 set dummy $ac_prog; ac_word=$2
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6493 $as_echo_n "checking for $ac_word... " >&6; }
6494 if ${ac_cv_prog_RSVG+:} false; then :
6495 $as_echo_n "(cached) " >&6
6496 else
6497 if test -n "$RSVG"; then
6498 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6499 else
6500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6501 for as_dir in $PATH
6503 IFS=$as_save_IFS
6504 test -z "$as_dir" && as_dir=.
6505 for ac_exec_ext in '' $ac_executable_extensions; do
6506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6507 ac_cv_prog_RSVG="$ac_prog"
6508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6509 break 2
6511 done
6512 done
6513 IFS=$as_save_IFS
6517 RSVG=$ac_cv_prog_RSVG
6518 if test -n "$RSVG"; then
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6520 $as_echo "$RSVG" >&6; }
6521 else
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6523 $as_echo "no" >&6; }
6527 test -n "$RSVG" && break
6528 done
6529 test -n "$RSVG" || RSVG="false"
6531 for ac_prog in convert
6533 # Extract the first word of "$ac_prog", so it can be a program name with args.
6534 set dummy $ac_prog; ac_word=$2
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6536 $as_echo_n "checking for $ac_word... " >&6; }
6537 if ${ac_cv_prog_CONVERT+:} false; then :
6538 $as_echo_n "(cached) " >&6
6539 else
6540 if test -n "$CONVERT"; then
6541 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6542 else
6543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6544 for as_dir in $PATH
6546 IFS=$as_save_IFS
6547 test -z "$as_dir" && as_dir=.
6548 for ac_exec_ext in '' $ac_executable_extensions; do
6549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6550 ac_cv_prog_CONVERT="$ac_prog"
6551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6552 break 2
6554 done
6555 done
6556 IFS=$as_save_IFS
6560 CONVERT=$ac_cv_prog_CONVERT
6561 if test -n "$CONVERT"; then
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6563 $as_echo "$CONVERT" >&6; }
6564 else
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6566 $as_echo "no" >&6; }
6570 test -n "$CONVERT" && break
6571 done
6572 test -n "$CONVERT" || CONVERT="false"
6574 for ac_prog in icotool
6576 # Extract the first word of "$ac_prog", so it can be a program name with args.
6577 set dummy $ac_prog; ac_word=$2
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6579 $as_echo_n "checking for $ac_word... " >&6; }
6580 if ${ac_cv_prog_ICOTOOL+:} false; then :
6581 $as_echo_n "(cached) " >&6
6582 else
6583 if test -n "$ICOTOOL"; then
6584 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6585 else
6586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6587 for as_dir in $PATH
6589 IFS=$as_save_IFS
6590 test -z "$as_dir" && as_dir=.
6591 for ac_exec_ext in '' $ac_executable_extensions; do
6592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6593 ac_cv_prog_ICOTOOL="$ac_prog"
6594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6595 break 2
6597 done
6598 done
6599 IFS=$as_save_IFS
6603 ICOTOOL=$ac_cv_prog_ICOTOOL
6604 if test -n "$ICOTOOL"; then
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6606 $as_echo "$ICOTOOL" >&6; }
6607 else
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6609 $as_echo "no" >&6; }
6613 test -n "$ICOTOOL" && break
6614 done
6615 test -n "$ICOTOOL" || ICOTOOL="false"
6617 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6618 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6620 if test "$CONVERT" = false
6621 then
6622 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6623 else
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6625 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6626 convert_version=`convert --version | head -n1`
6627 if test "x$convert_version" != "x"
6628 then
6629 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6630 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6631 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6632 then
6633 CONVERT=false
6636 if test "$CONVERT" = false
6637 then
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6639 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6640 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6641 else
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6643 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6647 if test "$ICOTOOL" = false
6648 then
6649 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6650 else
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6652 $as_echo_n "checking for recent enough icotool... " >&6; }
6653 icotool_version=`icotool --version | head -n1`
6654 if test "x$icotool_version" != "x"
6655 then
6656 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6657 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6658 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6659 then
6660 ICOTOOL=false
6661 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6664 if test "$ICOTOOL" = false
6665 then
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6667 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6668 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6669 else
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6671 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6675 with_gettext=yes
6676 with_gettextpo=yes
6677 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6680 test "x$with_gettext" != xno || MSGFMT=false
6681 if test "$MSGFMT" != "false"
6682 then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6684 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6685 cat >conftest.po <<EOF
6686 # comment
6687 msgctxt "ctxt"
6688 msgid "id"
6689 msgstr "str"
6691 if $MSGFMT -o /dev/null conftest.po 2>&5
6692 then
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6694 $as_echo "yes" >&6; }
6695 else
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6697 $as_echo "no" >&6; }
6698 MSGFMT=false
6701 if test "$MSGFMT" = false; then :
6702 case "x$with_gettext" in
6703 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6704 xno) ;;
6705 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6706 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6707 esac
6708 enable_po=${enable_po:-no}
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6713 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6714 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6715 $as_echo_n "(cached) " >&6
6716 else
6717 ac_check_lib_save_LIBS=$LIBS
6718 LIBS="-li386 $LIBS"
6719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6720 /* end confdefs.h. */
6722 /* Override any GCC internal prototype to avoid an error.
6723 Use char because int might match the return type of a GCC
6724 builtin and then its argument prototype would still apply. */
6725 #ifdef __cplusplus
6726 extern "C"
6727 #endif
6728 char i386_set_ldt ();
6730 main ()
6732 return i386_set_ldt ();
6734 return 0;
6736 _ACEOF
6737 if ac_fn_c_try_link "$LINENO"; then :
6738 ac_cv_lib_i386_i386_set_ldt=yes
6739 else
6740 ac_cv_lib_i386_i386_set_ldt=no
6742 rm -f core conftest.err conftest.$ac_objext \
6743 conftest$ac_exeext conftest.$ac_ext
6744 LIBS=$ac_check_lib_save_LIBS
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6747 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6748 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6749 cat >>confdefs.h <<_ACEOF
6750 #define HAVE_LIBI386 1
6751 _ACEOF
6753 LIBS="-li386 $LIBS"
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6758 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6759 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6760 $as_echo_n "(cached) " >&6
6761 else
6762 ac_check_lib_save_LIBS=$LIBS
6763 LIBS="-lossaudio $LIBS"
6764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6765 /* end confdefs.h. */
6767 /* Override any GCC internal prototype to avoid an error.
6768 Use char because int might match the return type of a GCC
6769 builtin and then its argument prototype would still apply. */
6770 #ifdef __cplusplus
6771 extern "C"
6772 #endif
6773 char _oss_ioctl ();
6775 main ()
6777 return _oss_ioctl ();
6779 return 0;
6781 _ACEOF
6782 if ac_fn_c_try_link "$LINENO"; then :
6783 ac_cv_lib_ossaudio__oss_ioctl=yes
6784 else
6785 ac_cv_lib_ossaudio__oss_ioctl=no
6787 rm -f core conftest.err conftest.$ac_objext \
6788 conftest$ac_exeext conftest.$ac_ext
6789 LIBS=$ac_check_lib_save_LIBS
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6792 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6793 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6794 cat >>confdefs.h <<_ACEOF
6795 #define HAVE_LIBOSSAUDIO 1
6796 _ACEOF
6798 LIBS="-lossaudio $LIBS"
6803 OPENGL_LIBS=""
6807 # Check whether --enable-largefile was given.
6808 if test "${enable_largefile+set}" = set; then :
6809 enableval=$enable_largefile;
6812 if test "$enable_largefile" != no; then
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6815 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6816 if ${ac_cv_sys_largefile_CC+:} false; then :
6817 $as_echo_n "(cached) " >&6
6818 else
6819 ac_cv_sys_largefile_CC=no
6820 if test "$GCC" != yes; then
6821 ac_save_CC=$CC
6822 while :; do
6823 # IRIX 6.2 and later do not support large files by default,
6824 # so use the C compiler's -n32 option if that helps.
6825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6826 /* end confdefs.h. */
6827 #include <sys/types.h>
6828 /* Check that off_t can represent 2**63 - 1 correctly.
6829 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6830 since some C++ compilers masquerading as C compilers
6831 incorrectly reject 9223372036854775807. */
6832 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6833 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6834 && LARGE_OFF_T % 2147483647 == 1)
6835 ? 1 : -1];
6837 main ()
6841 return 0;
6843 _ACEOF
6844 if ac_fn_c_try_compile "$LINENO"; then :
6845 break
6847 rm -f core conftest.err conftest.$ac_objext
6848 CC="$CC -n32"
6849 if ac_fn_c_try_compile "$LINENO"; then :
6850 ac_cv_sys_largefile_CC=' -n32'; break
6852 rm -f core conftest.err conftest.$ac_objext
6853 break
6854 done
6855 CC=$ac_save_CC
6856 rm -f conftest.$ac_ext
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6860 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6861 if test "$ac_cv_sys_largefile_CC" != no; then
6862 CC=$CC$ac_cv_sys_largefile_CC
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6866 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6867 if ${ac_cv_sys_file_offset_bits+:} false; then :
6868 $as_echo_n "(cached) " >&6
6869 else
6870 while :; do
6871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6872 /* end confdefs.h. */
6873 #include <sys/types.h>
6874 /* Check that off_t can represent 2**63 - 1 correctly.
6875 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6876 since some C++ compilers masquerading as C compilers
6877 incorrectly reject 9223372036854775807. */
6878 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6879 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6880 && LARGE_OFF_T % 2147483647 == 1)
6881 ? 1 : -1];
6883 main ()
6887 return 0;
6889 _ACEOF
6890 if ac_fn_c_try_compile "$LINENO"; then :
6891 ac_cv_sys_file_offset_bits=no; break
6893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6895 /* end confdefs.h. */
6896 #define _FILE_OFFSET_BITS 64
6897 #include <sys/types.h>
6898 /* Check that off_t can represent 2**63 - 1 correctly.
6899 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6900 since some C++ compilers masquerading as C compilers
6901 incorrectly reject 9223372036854775807. */
6902 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6903 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6904 && LARGE_OFF_T % 2147483647 == 1)
6905 ? 1 : -1];
6907 main ()
6911 return 0;
6913 _ACEOF
6914 if ac_fn_c_try_compile "$LINENO"; then :
6915 ac_cv_sys_file_offset_bits=64; break
6917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6918 ac_cv_sys_file_offset_bits=unknown
6919 break
6920 done
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6923 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6924 case $ac_cv_sys_file_offset_bits in #(
6925 no | unknown) ;;
6927 cat >>confdefs.h <<_ACEOF
6928 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6929 _ACEOF
6931 esac
6932 rm -rf conftest*
6933 if test $ac_cv_sys_file_offset_bits = unknown; then
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6935 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6936 if ${ac_cv_sys_large_files+:} false; then :
6937 $as_echo_n "(cached) " >&6
6938 else
6939 while :; do
6940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6941 /* end confdefs.h. */
6942 #include <sys/types.h>
6943 /* Check that off_t can represent 2**63 - 1 correctly.
6944 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6945 since some C++ compilers masquerading as C compilers
6946 incorrectly reject 9223372036854775807. */
6947 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6948 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6949 && LARGE_OFF_T % 2147483647 == 1)
6950 ? 1 : -1];
6952 main ()
6956 return 0;
6958 _ACEOF
6959 if ac_fn_c_try_compile "$LINENO"; then :
6960 ac_cv_sys_large_files=no; break
6962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6964 /* end confdefs.h. */
6965 #define _LARGE_FILES 1
6966 #include <sys/types.h>
6967 /* Check that off_t can represent 2**63 - 1 correctly.
6968 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6969 since some C++ compilers masquerading as C compilers
6970 incorrectly reject 9223372036854775807. */
6971 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6972 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6973 && LARGE_OFF_T % 2147483647 == 1)
6974 ? 1 : -1];
6976 main ()
6980 return 0;
6982 _ACEOF
6983 if ac_fn_c_try_compile "$LINENO"; then :
6984 ac_cv_sys_large_files=1; break
6986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6987 ac_cv_sys_large_files=unknown
6988 break
6989 done
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6992 $as_echo "$ac_cv_sys_large_files" >&6; }
6993 case $ac_cv_sys_large_files in #(
6994 no | unknown) ;;
6996 cat >>confdefs.h <<_ACEOF
6997 #define _LARGE_FILES $ac_cv_sys_large_files
6998 _ACEOF
7000 esac
7001 rm -rf conftest*
7008 ac_ext=c
7009 ac_cpp='$CPP $CPPFLAGS'
7010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7014 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7015 # On Suns, sometimes $CPP names a directory.
7016 if test -n "$CPP" && test -d "$CPP"; then
7017 CPP=
7019 if test -z "$CPP"; then
7020 if ${ac_cv_prog_CPP+:} false; then :
7021 $as_echo_n "(cached) " >&6
7022 else
7023 # Double quotes because CPP needs to be expanded
7024 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7026 ac_preproc_ok=false
7027 for ac_c_preproc_warn_flag in '' yes
7029 # Use a header file that comes with gcc, so configuring glibc
7030 # with a fresh cross-compiler works.
7031 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7032 # <limits.h> exists even on freestanding compilers.
7033 # On the NeXT, cc -E runs the code through the compiler's parser,
7034 # not just through cpp. "Syntax error" is here to catch this case.
7035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7036 /* end confdefs.h. */
7037 #ifdef __STDC__
7038 # include <limits.h>
7039 #else
7040 # include <assert.h>
7041 #endif
7042 Syntax error
7043 _ACEOF
7044 if ac_fn_c_try_cpp "$LINENO"; then :
7046 else
7047 # Broken: fails on valid input.
7048 continue
7050 rm -f conftest.err conftest.i conftest.$ac_ext
7052 # OK, works on sane cases. Now check whether nonexistent headers
7053 # can be detected and how.
7054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7055 /* end confdefs.h. */
7056 #include <ac_nonexistent.h>
7057 _ACEOF
7058 if ac_fn_c_try_cpp "$LINENO"; then :
7059 # Broken: success on invalid input.
7060 continue
7061 else
7062 # Passes both tests.
7063 ac_preproc_ok=:
7064 break
7066 rm -f conftest.err conftest.i conftest.$ac_ext
7068 done
7069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7070 rm -f conftest.i conftest.err conftest.$ac_ext
7071 if $ac_preproc_ok; then :
7072 break
7075 done
7076 ac_cv_prog_CPP=$CPP
7079 CPP=$ac_cv_prog_CPP
7080 else
7081 ac_cv_prog_CPP=$CPP
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7084 $as_echo "$CPP" >&6; }
7085 ac_preproc_ok=false
7086 for ac_c_preproc_warn_flag in '' yes
7088 # Use a header file that comes with gcc, so configuring glibc
7089 # with a fresh cross-compiler works.
7090 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7091 # <limits.h> exists even on freestanding compilers.
7092 # On the NeXT, cc -E runs the code through the compiler's parser,
7093 # not just through cpp. "Syntax error" is here to catch this case.
7094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7095 /* end confdefs.h. */
7096 #ifdef __STDC__
7097 # include <limits.h>
7098 #else
7099 # include <assert.h>
7100 #endif
7101 Syntax error
7102 _ACEOF
7103 if ac_fn_c_try_cpp "$LINENO"; then :
7105 else
7106 # Broken: fails on valid input.
7107 continue
7109 rm -f conftest.err conftest.i conftest.$ac_ext
7111 # OK, works on sane cases. Now check whether nonexistent headers
7112 # can be detected and how.
7113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7114 /* end confdefs.h. */
7115 #include <ac_nonexistent.h>
7116 _ACEOF
7117 if ac_fn_c_try_cpp "$LINENO"; then :
7118 # Broken: success on invalid input.
7119 continue
7120 else
7121 # Passes both tests.
7122 ac_preproc_ok=:
7123 break
7125 rm -f conftest.err conftest.i conftest.$ac_ext
7127 done
7128 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7129 rm -f conftest.i conftest.err conftest.$ac_ext
7130 if $ac_preproc_ok; then :
7132 else
7133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7135 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7136 See \`config.log' for more details" "$LINENO" 5; }
7139 ac_ext=c
7140 ac_cpp='$CPP $CPPFLAGS'
7141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7147 $as_echo_n "checking for ANSI C header files... " >&6; }
7148 if ${ac_cv_header_stdc+:} false; then :
7149 $as_echo_n "(cached) " >&6
7150 else
7151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7152 /* end confdefs.h. */
7153 #include <stdlib.h>
7154 #include <stdarg.h>
7155 #include <string.h>
7156 #include <float.h>
7159 main ()
7163 return 0;
7165 _ACEOF
7166 if ac_fn_c_try_compile "$LINENO"; then :
7167 ac_cv_header_stdc=yes
7168 else
7169 ac_cv_header_stdc=no
7171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7173 if test $ac_cv_header_stdc = yes; then
7174 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7176 /* end confdefs.h. */
7177 #include <string.h>
7179 _ACEOF
7180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7181 $EGREP "memchr" >/dev/null 2>&1; then :
7183 else
7184 ac_cv_header_stdc=no
7186 rm -f conftest*
7190 if test $ac_cv_header_stdc = yes; then
7191 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7193 /* end confdefs.h. */
7194 #include <stdlib.h>
7196 _ACEOF
7197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7198 $EGREP "free" >/dev/null 2>&1; then :
7200 else
7201 ac_cv_header_stdc=no
7203 rm -f conftest*
7207 if test $ac_cv_header_stdc = yes; then
7208 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7209 if test "$cross_compiling" = yes; then :
7211 else
7212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7213 /* end confdefs.h. */
7214 #include <ctype.h>
7215 #include <stdlib.h>
7216 #if ((' ' & 0x0FF) == 0x020)
7217 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7218 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7219 #else
7220 # define ISLOWER(c) \
7221 (('a' <= (c) && (c) <= 'i') \
7222 || ('j' <= (c) && (c) <= 'r') \
7223 || ('s' <= (c) && (c) <= 'z'))
7224 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7225 #endif
7227 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7229 main ()
7231 int i;
7232 for (i = 0; i < 256; i++)
7233 if (XOR (islower (i), ISLOWER (i))
7234 || toupper (i) != TOUPPER (i))
7235 return 2;
7236 return 0;
7238 _ACEOF
7239 if ac_fn_c_try_run "$LINENO"; then :
7241 else
7242 ac_cv_header_stdc=no
7244 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7245 conftest.$ac_objext conftest.beam conftest.$ac_ext
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7251 $as_echo "$ac_cv_header_stdc" >&6; }
7252 if test $ac_cv_header_stdc = yes; then
7254 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7258 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7259 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7260 inttypes.h stdint.h unistd.h
7261 do :
7262 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7263 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7265 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7266 cat >>confdefs.h <<_ACEOF
7267 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7268 _ACEOF
7272 done
7275 for ac_header in \
7276 AL/al.h \
7277 ApplicationServices/ApplicationServices.h \
7278 AudioToolbox/AudioConverter.h \
7279 AudioUnit/AudioUnit.h \
7280 AudioUnit/AudioComponent.h \
7281 CL/cl.h \
7282 Carbon/Carbon.h \
7283 CommonCrypto/CommonCryptor.h \
7284 CoreAudio/CoreAudio.h \
7285 CoreServices/CoreServices.h \
7286 DiskArbitration/DiskArbitration.h \
7287 EGL/egl.h \
7288 IOKit/IOKitLib.h \
7289 IOKit/hid/IOHIDLib.h \
7290 OpenAL/al.h \
7291 OpenCL/opencl.h \
7292 QuickTime/ImageCompression.h \
7293 Security/Security.h \
7294 alias.h \
7295 alsa/asoundlib.h \
7296 arpa/inet.h \
7297 arpa/nameser.h \
7298 asm/types.h \
7299 asm/user.h \
7300 curses.h \
7301 dirent.h \
7302 dlfcn.h \
7303 elf.h \
7304 float.h \
7305 fnmatch.h \
7306 getopt.h \
7307 gettext-po.h \
7308 grp.h \
7309 gsm.h \
7310 gsm/gsm.h \
7311 ieeefp.h \
7312 inet/mib2.h \
7313 kstat.h \
7314 libproc.h \
7315 link.h \
7316 linux/cdrom.h \
7317 linux/compiler.h \
7318 linux/filter.h \
7319 linux/hdreg.h \
7320 linux/hidraw.h \
7321 linux/input.h \
7322 linux/ioctl.h \
7323 linux/joystick.h \
7324 linux/major.h \
7325 linux/param.h \
7326 linux/serial.h \
7327 linux/types.h \
7328 linux/ucdrom.h \
7329 lwp.h \
7330 mach-o/nlist.h \
7331 mach-o/loader.h \
7332 mach/mach.h \
7333 mach/machine.h \
7334 machine/cpu.h \
7335 machine/limits.h \
7336 machine/sysarch.h \
7337 mntent.h \
7338 ncurses.h \
7339 netdb.h \
7340 netinet/in.h \
7341 netinet/in_systm.h \
7342 netinet/tcp.h \
7343 netinet/tcp_fsm.h \
7344 pcap/pcap.h \
7345 poll.h \
7346 port.h \
7347 pthread.h \
7348 pwd.h \
7349 sched.h \
7350 scsi/scsi.h \
7351 scsi/scsi_ioctl.h \
7352 scsi/sg.h \
7353 stdbool.h \
7354 stdint.h \
7355 stropts.h \
7356 sys/asoundlib.h \
7357 sys/attr.h \
7358 sys/auxv.h \
7359 sys/cdio.h \
7360 sys/elf32.h \
7361 sys/epoll.h \
7362 sys/event.h \
7363 sys/exec_elf.h \
7364 sys/filio.h \
7365 sys/inotify.h \
7366 sys/ioctl.h \
7367 sys/ipc.h \
7368 sys/limits.h \
7369 sys/link.h \
7370 sys/mman.h \
7371 sys/modem.h \
7372 sys/msg.h \
7373 sys/mtio.h \
7374 sys/param.h \
7375 sys/poll.h \
7376 sys/prctl.h \
7377 sys/protosw.h \
7378 sys/ptrace.h \
7379 sys/queue.h \
7380 sys/resource.h \
7381 sys/scsiio.h \
7382 sys/shm.h \
7383 sys/signal.h \
7384 sys/socket.h \
7385 sys/socketvar.h \
7386 sys/sockio.h \
7387 sys/statvfs.h \
7388 sys/strtio.h \
7389 sys/syscall.h \
7390 sys/sysinfo.h \
7391 sys/tihdr.h \
7392 sys/time.h \
7393 sys/timeout.h \
7394 sys/times.h \
7395 sys/uio.h \
7396 sys/user.h \
7397 sys/utsname.h \
7398 sys/vnode.h \
7399 sys/wait.h \
7400 syscall.h \
7401 termios.h \
7402 unistd.h \
7403 utime.h \
7404 valgrind/memcheck.h \
7405 valgrind/valgrind.h \
7406 zlib.h
7408 do :
7409 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7410 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7411 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7412 cat >>confdefs.h <<_ACEOF
7413 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7414 _ACEOF
7418 done
7420 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7421 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7423 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7428 if test $ac_cv_header_sys_mkdev_h = no; then
7429 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7430 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7432 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7439 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7440 if ${ac_cv_header_stat_broken+:} false; then :
7441 $as_echo_n "(cached) " >&6
7442 else
7443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7444 /* end confdefs.h. */
7445 #include <sys/types.h>
7446 #include <sys/stat.h>
7448 #if defined S_ISBLK && defined S_IFDIR
7449 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7450 #endif
7452 #if defined S_ISBLK && defined S_IFCHR
7453 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7454 #endif
7456 #if defined S_ISLNK && defined S_IFREG
7457 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7458 #endif
7460 #if defined S_ISSOCK && defined S_IFREG
7461 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7462 #endif
7464 _ACEOF
7465 if ac_fn_c_try_compile "$LINENO"; then :
7466 ac_cv_header_stat_broken=no
7467 else
7468 ac_cv_header_stat_broken=yes
7470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7473 $as_echo "$ac_cv_header_stat_broken" >&6; }
7474 if test $ac_cv_header_stat_broken = yes; then
7476 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7482 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7483 do :
7484 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7485 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7486 #ifdef HAVE_SYS_PARAM_H
7487 # include <sys/param.h>
7488 #endif
7490 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7491 cat >>confdefs.h <<_ACEOF
7492 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7493 _ACEOF
7497 done
7500 for ac_header in \
7501 netinet/ip.h \
7502 net/if.h \
7503 net/if_arp.h \
7504 net/if_dl.h \
7505 net/if_types.h \
7506 net/route.h \
7507 netinet/if_ether.h \
7508 netinet/if_inarp.h \
7509 netinet/in_pcb.h \
7510 netinet/ip_icmp.h \
7511 netinet/ip_var.h \
7512 netinet/udp.h \
7513 netipx/ipx.h \
7514 sys/un.h \
7516 do :
7517 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7518 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7519 #ifdef HAVE_SYS_SOCKET_H
7520 # include <sys/socket.h>
7521 #endif
7522 #ifdef HAVE_SYS_SOCKETVAR_H
7523 # include <sys/socketvar.h>
7524 #endif
7525 #ifdef HAVE_NET_ROUTE_H
7526 # include <net/route.h>
7527 #endif
7528 #ifdef HAVE_NETINET_IN_H
7529 # include <netinet/in.h>
7530 #endif
7531 #ifdef HAVE_NETINET_IN_SYSTM_H
7532 # include <netinet/in_systm.h>
7533 #endif
7534 #ifdef HAVE_NET_IF_H
7535 # include <net/if.h>
7536 #endif
7537 #ifdef HAVE_NETINET_IP_H
7538 # include <netinet/ip.h>
7539 #endif
7541 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7542 cat >>confdefs.h <<_ACEOF
7543 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7544 _ACEOF
7548 done
7551 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7552 do :
7553 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7554 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7555 #ifdef HAVE_ALIAS_H
7556 # include <alias.h>
7557 #endif
7558 #ifdef HAVE_SYS_SOCKET_H
7559 # include <sys/socket.h>
7560 #endif
7561 #ifdef HAVE_SYS_SOCKETVAR_H
7562 # include <sys/socketvar.h>
7563 #endif
7564 #ifdef HAVE_SYS_TIMEOUT_H
7565 # include <sys/timeout.h>
7566 #endif
7567 #ifdef HAVE_NETINET_IN_H
7568 # include <netinet/in.h>
7569 #endif
7570 #ifdef HAVE_NETINET_IN_SYSTM_H
7571 # include <netinet/in_systm.h>
7572 #endif
7573 #ifdef HAVE_NETINET_IP_H
7574 # include <netinet/ip.h>
7575 #endif
7576 #ifdef HAVE_NETINET_IP_VAR_H
7577 # include <netinet/ip_var.h>
7578 #endif
7579 #ifdef HAVE_NETINET_IP_ICMP_H
7580 # include <netinet/ip_icmp.h>
7581 #endif
7582 #ifdef HAVE_NETINET_UDP_H
7583 # include <netinet/udp.h>
7584 #endif
7585 #ifdef HAVE_NETINET_TCP_H
7586 # include <netinet/tcp.h>
7587 #endif
7588 #ifdef HAVE_NETINET_TCP_TIMER_H
7589 #include <netinet/tcp_timer.h>
7590 #endif
7592 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7593 cat >>confdefs.h <<_ACEOF
7594 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7595 _ACEOF
7599 done
7602 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7603 do :
7604 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7605 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7606 #ifdef HAVE_ASM_TYPES_H
7607 # include <asm/types.h>
7608 #endif
7609 #ifdef HAVE_SYS_SOCKET_H
7610 # include <sys/socket.h>
7611 #endif
7612 #ifdef HAVE_LINUX_TYPES_H
7613 # include <linux/types.h>
7614 #endif
7616 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7617 cat >>confdefs.h <<_ACEOF
7618 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7619 _ACEOF
7623 done
7626 for ac_header in mach-o/dyld_images.h
7627 do :
7628 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7629 # include <stdbool.h>
7630 #endif
7631 #ifdef HAVE_STDINT_H
7632 # include <stdint.h>
7633 #endif
7635 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7636 cat >>confdefs.h <<_ACEOF
7637 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7638 _ACEOF
7642 done
7645 for ac_header in resolv.h
7646 do :
7647 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7648 #ifdef HAVE_SYS_SOCKET_H
7649 # include <sys/socket.h>
7650 #endif
7651 #ifdef HAVE_NETINET_IN_H
7652 # include <netinet/in.h>
7653 #endif
7654 #ifdef HAVE_ARPA_NAMESER_H
7655 # include <arpa/nameser.h>
7656 #endif
7658 if test "x$ac_cv_header_resolv_h" = xyes; then :
7659 cat >>confdefs.h <<_ACEOF
7660 #define HAVE_RESOLV_H 1
7661 _ACEOF
7665 done
7668 for ac_header in ifaddrs.h
7669 do :
7670 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7672 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7673 cat >>confdefs.h <<_ACEOF
7674 #define HAVE_IFADDRS_H 1
7675 _ACEOF
7679 done
7682 for ac_header in sys/ucontext.h
7683 do :
7684 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7686 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7687 cat >>confdefs.h <<_ACEOF
7688 #define HAVE_SYS_UCONTEXT_H 1
7689 _ACEOF
7693 done
7696 for ac_header in sys/thr.h
7697 do :
7698 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7699 #ifdef HAVE_SYS_UCONTEXT_H
7700 #include <sys/ucontext.h>
7701 #endif
7703 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7704 cat >>confdefs.h <<_ACEOF
7705 #define HAVE_SYS_THR_H 1
7706 _ACEOF
7710 done
7713 for ac_header in pthread_np.h
7714 do :
7715 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7716 #include <pthread.h>
7717 #endif
7719 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7720 cat >>confdefs.h <<_ACEOF
7721 #define HAVE_PTHREAD_NP_H 1
7722 _ACEOF
7726 done
7729 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7730 do :
7731 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7732 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7733 #include <sys/time.h>
7734 #endif
7735 #include <sys/types.h>
7736 #ifdef HAVE_ASM_TYPES_H
7737 #include <asm/types.h>
7738 #endif
7740 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7741 cat >>confdefs.h <<_ACEOF
7742 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7743 _ACEOF
7747 done
7750 for ac_header in libprocstat.h
7751 do :
7752 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7753 #include <sys/param.h>
7754 #endif
7755 #ifdef HAVE_SYS_QUEUE_H
7756 #include <sys/queue.h>
7757 #endif
7758 #ifdef HAVE_SYS_SOCKET_H
7759 #include <sys/socket.h>
7760 #endif
7762 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7763 cat >>confdefs.h <<_ACEOF
7764 #define HAVE_LIBPROCSTAT_H 1
7765 _ACEOF
7769 done
7773 DLLFLAGS="-D_REENTRANT"
7775 LDRPATH_INSTALL=""
7777 LDRPATH_LOCAL=""
7779 LDEXECFLAGS=""
7781 TOP_INSTALL_LIB=""
7783 TOP_INSTALL_DEV=""
7785 WINELOADER_LDFLAGS=""
7787 WINEPRELOADER_LDFLAGS=""
7789 LIBEXT="so"
7790 DLLEXT=".so"
7791 # Extract the first word of "ldd", so it can be a program name with args.
7792 set dummy ldd; ac_word=$2
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7794 $as_echo_n "checking for $ac_word... " >&6; }
7795 if ${ac_cv_path_LDD+:} false; then :
7796 $as_echo_n "(cached) " >&6
7797 else
7798 case $LDD in
7799 [\\/]* | ?:[\\/]*)
7800 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7804 as_dummy="/sbin:/usr/sbin:$PATH"
7805 for as_dir in $as_dummy
7807 IFS=$as_save_IFS
7808 test -z "$as_dir" && as_dir=.
7809 for ac_exec_ext in '' $ac_executable_extensions; do
7810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7811 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7813 break 2
7815 done
7816 done
7817 IFS=$as_save_IFS
7819 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7821 esac
7823 LDD=$ac_cv_path_LDD
7824 if test -n "$LDD"; then
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7826 $as_echo "$LDD" >&6; }
7827 else
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7829 $as_echo "no" >&6; }
7833 if test -n "$ac_tool_prefix"; then
7834 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7835 set dummy ${ac_tool_prefix}otool; ac_word=$2
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7837 $as_echo_n "checking for $ac_word... " >&6; }
7838 if ${ac_cv_prog_OTOOL+:} false; then :
7839 $as_echo_n "(cached) " >&6
7840 else
7841 if test -n "$OTOOL"; then
7842 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7843 else
7844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7845 for as_dir in $PATH
7847 IFS=$as_save_IFS
7848 test -z "$as_dir" && as_dir=.
7849 for ac_exec_ext in '' $ac_executable_extensions; do
7850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7851 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7853 break 2
7855 done
7856 done
7857 IFS=$as_save_IFS
7861 OTOOL=$ac_cv_prog_OTOOL
7862 if test -n "$OTOOL"; then
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7864 $as_echo "$OTOOL" >&6; }
7865 else
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7867 $as_echo "no" >&6; }
7872 if test -z "$ac_cv_prog_OTOOL"; then
7873 ac_ct_OTOOL=$OTOOL
7874 # Extract the first word of "otool", so it can be a program name with args.
7875 set dummy otool; ac_word=$2
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7877 $as_echo_n "checking for $ac_word... " >&6; }
7878 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7879 $as_echo_n "(cached) " >&6
7880 else
7881 if test -n "$ac_ct_OTOOL"; then
7882 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7883 else
7884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7885 for as_dir in $PATH
7887 IFS=$as_save_IFS
7888 test -z "$as_dir" && as_dir=.
7889 for ac_exec_ext in '' $ac_executable_extensions; do
7890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7891 ac_cv_prog_ac_ct_OTOOL="otool"
7892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7893 break 2
7895 done
7896 done
7897 IFS=$as_save_IFS
7901 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7902 if test -n "$ac_ct_OTOOL"; then
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7904 $as_echo "$ac_ct_OTOOL" >&6; }
7905 else
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7907 $as_echo "no" >&6; }
7910 if test "x$ac_ct_OTOOL" = x; then
7911 OTOOL="otool"
7912 else
7913 case $cross_compiling:$ac_tool_warned in
7914 yes:)
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7917 ac_tool_warned=yes ;;
7918 esac
7919 OTOOL=$ac_ct_OTOOL
7921 else
7922 OTOOL="$ac_cv_prog_OTOOL"
7925 if test -n "$ac_tool_prefix"; then
7926 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7927 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7929 $as_echo_n "checking for $ac_word... " >&6; }
7930 if ${ac_cv_prog_READELF+:} false; then :
7931 $as_echo_n "(cached) " >&6
7932 else
7933 if test -n "$READELF"; then
7934 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7935 else
7936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7937 for as_dir in $PATH
7939 IFS=$as_save_IFS
7940 test -z "$as_dir" && as_dir=.
7941 for ac_exec_ext in '' $ac_executable_extensions; do
7942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7943 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7945 break 2
7947 done
7948 done
7949 IFS=$as_save_IFS
7953 READELF=$ac_cv_prog_READELF
7954 if test -n "$READELF"; then
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7956 $as_echo "$READELF" >&6; }
7957 else
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7959 $as_echo "no" >&6; }
7964 if test -z "$ac_cv_prog_READELF"; then
7965 ac_ct_READELF=$READELF
7966 # Extract the first word of "readelf", so it can be a program name with args.
7967 set dummy readelf; ac_word=$2
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7969 $as_echo_n "checking for $ac_word... " >&6; }
7970 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7971 $as_echo_n "(cached) " >&6
7972 else
7973 if test -n "$ac_ct_READELF"; then
7974 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7975 else
7976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7977 for as_dir in $PATH
7979 IFS=$as_save_IFS
7980 test -z "$as_dir" && as_dir=.
7981 for ac_exec_ext in '' $ac_executable_extensions; do
7982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7983 ac_cv_prog_ac_ct_READELF="readelf"
7984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7985 break 2
7987 done
7988 done
7989 IFS=$as_save_IFS
7993 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7994 if test -n "$ac_ct_READELF"; then
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7996 $as_echo "$ac_ct_READELF" >&6; }
7997 else
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7999 $as_echo "no" >&6; }
8002 if test "x$ac_ct_READELF" = x; then
8003 READELF="true"
8004 else
8005 case $cross_compiling:$ac_tool_warned in
8006 yes:)
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8009 ac_tool_warned=yes ;;
8010 esac
8011 READELF=$ac_ct_READELF
8013 else
8014 READELF="$ac_cv_prog_READELF"
8017 wine_rules_file=conf$$rules.make
8018 rm -f $wine_rules_file
8019 SUBDIRS=""
8021 DISABLED_SUBDIRS=""
8023 CONFIGURE_TARGETS=""
8026 wine_fn_append_file ()
8028 as_fn_append $1 " \\$as_nl $2"
8031 wine_fn_append_rule ()
8033 $as_echo "$1" >>$wine_rules_file
8036 wine_fn_config_makefile ()
8038 wine_fn_append_file SUBDIRS $1
8039 if eval test \"x\$"$2"\" = x"no"; then :
8040 wine_fn_append_file DISABLED_SUBDIRS $1
8044 wine_fn_config_symlink ()
8046 ac_links=$@
8047 wine_fn_append_rule \
8048 "$ac_links:
8049 @./config.status \$@"
8050 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8053 wine_binary="wine"
8054 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8055 WINELOADER_PROGRAMS="$wine_binary"
8057 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8059 case $host_os in
8060 cygwin*|mingw32*)
8061 if test -n "$ac_tool_prefix"; then
8062 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8063 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8065 $as_echo_n "checking for $ac_word... " >&6; }
8066 if ${ac_cv_prog_DLLTOOL+:} false; then :
8067 $as_echo_n "(cached) " >&6
8068 else
8069 if test -n "$DLLTOOL"; then
8070 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8071 else
8072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8073 for as_dir in $PATH
8075 IFS=$as_save_IFS
8076 test -z "$as_dir" && as_dir=.
8077 for ac_exec_ext in '' $ac_executable_extensions; do
8078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8079 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8081 break 2
8083 done
8084 done
8085 IFS=$as_save_IFS
8089 DLLTOOL=$ac_cv_prog_DLLTOOL
8090 if test -n "$DLLTOOL"; then
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8092 $as_echo "$DLLTOOL" >&6; }
8093 else
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8095 $as_echo "no" >&6; }
8100 if test -z "$ac_cv_prog_DLLTOOL"; then
8101 ac_ct_DLLTOOL=$DLLTOOL
8102 # Extract the first word of "dlltool", so it can be a program name with args.
8103 set dummy dlltool; ac_word=$2
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8105 $as_echo_n "checking for $ac_word... " >&6; }
8106 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8107 $as_echo_n "(cached) " >&6
8108 else
8109 if test -n "$ac_ct_DLLTOOL"; then
8110 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8111 else
8112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8113 for as_dir in $PATH
8115 IFS=$as_save_IFS
8116 test -z "$as_dir" && as_dir=.
8117 for ac_exec_ext in '' $ac_executable_extensions; do
8118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8119 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8121 break 2
8123 done
8124 done
8125 IFS=$as_save_IFS
8129 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8130 if test -n "$ac_ct_DLLTOOL"; then
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8132 $as_echo "$ac_ct_DLLTOOL" >&6; }
8133 else
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8135 $as_echo "no" >&6; }
8138 if test "x$ac_ct_DLLTOOL" = x; then
8139 DLLTOOL="false"
8140 else
8141 case $cross_compiling:$ac_tool_warned in
8142 yes:)
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8145 ac_tool_warned=yes ;;
8146 esac
8147 DLLTOOL=$ac_ct_DLLTOOL
8149 else
8150 DLLTOOL="$ac_cv_prog_DLLTOOL"
8153 LIBEXT="dll"
8154 DLLEXT=""
8155 enable_iphlpapi=${enable_iphlpapi:-no}
8156 enable_kernel32=${enable_kernel32:-no}
8157 enable_msvcrt=${enable_msvcrt:-no}
8158 enable_ntdll=${enable_ntdll:-no}
8159 enable_ws2_32=${enable_ws2_32:-no}
8160 enable_loader=${enable_loader:-no}
8161 enable_server=${enable_server:-no}
8162 with_x=${with_x:-no}
8163 with_pthread=${with_pthread:-no}
8165 LIBWINE_SHAREDLIB="libwine.dll"
8167 LIBWINE_IMPORTLIB="libwine.a"
8169 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8171 LIBWINE_DEPENDS="wine.def"
8173 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.dll"
8174 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.a"
8177 darwin*|macosx*)
8178 for ac_header in libunwind.h
8179 do :
8180 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8182 cat >>confdefs.h <<_ACEOF
8183 #define HAVE_LIBUNWIND_H 1
8184 _ACEOF
8188 done
8190 ac_ext=m
8191 ac_cpp='$OBJCPP $CPPFLAGS'
8192 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8193 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8194 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8196 ac_ext=m
8197 ac_cpp='$OBJCPP $CPPFLAGS'
8198 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8199 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8200 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8201 if test -n "$ac_tool_prefix"; then
8202 for ac_prog in gcc objcc objc cc CC
8204 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8205 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8207 $as_echo_n "checking for $ac_word... " >&6; }
8208 if ${ac_cv_prog_OBJC+:} false; then :
8209 $as_echo_n "(cached) " >&6
8210 else
8211 if test -n "$OBJC"; then
8212 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8213 else
8214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8215 for as_dir in $PATH
8217 IFS=$as_save_IFS
8218 test -z "$as_dir" && as_dir=.
8219 for ac_exec_ext in '' $ac_executable_extensions; do
8220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8221 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8223 break 2
8225 done
8226 done
8227 IFS=$as_save_IFS
8231 OBJC=$ac_cv_prog_OBJC
8232 if test -n "$OBJC"; then
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8234 $as_echo "$OBJC" >&6; }
8235 else
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8237 $as_echo "no" >&6; }
8241 test -n "$OBJC" && break
8242 done
8244 if test -z "$OBJC"; then
8245 ac_ct_OBJC=$OBJC
8246 for ac_prog in gcc objcc objc cc CC
8248 # Extract the first word of "$ac_prog", so it can be a program name with args.
8249 set dummy $ac_prog; ac_word=$2
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8251 $as_echo_n "checking for $ac_word... " >&6; }
8252 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8253 $as_echo_n "(cached) " >&6
8254 else
8255 if test -n "$ac_ct_OBJC"; then
8256 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8257 else
8258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8259 for as_dir in $PATH
8261 IFS=$as_save_IFS
8262 test -z "$as_dir" && as_dir=.
8263 for ac_exec_ext in '' $ac_executable_extensions; do
8264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8265 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8267 break 2
8269 done
8270 done
8271 IFS=$as_save_IFS
8275 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8276 if test -n "$ac_ct_OBJC"; then
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8278 $as_echo "$ac_ct_OBJC" >&6; }
8279 else
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8281 $as_echo "no" >&6; }
8285 test -n "$ac_ct_OBJC" && break
8286 done
8288 if test "x$ac_ct_OBJC" = x; then
8289 OBJC="gcc"
8290 else
8291 case $cross_compiling:$ac_tool_warned in
8292 yes:)
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8295 ac_tool_warned=yes ;;
8296 esac
8297 OBJC=$ac_ct_OBJC
8301 # Provide some information about the compiler.
8302 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8303 set X $ac_compile
8304 ac_compiler=$2
8305 for ac_option in --version -v -V -qversion; do
8306 { { ac_try="$ac_compiler $ac_option >&5"
8307 case "(($ac_try" in
8308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8309 *) ac_try_echo=$ac_try;;
8310 esac
8311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8312 $as_echo "$ac_try_echo"; } >&5
8313 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8314 ac_status=$?
8315 if test -s conftest.err; then
8316 sed '10a\
8317 ... rest of stderr output deleted ...
8318 10q' conftest.err >conftest.er1
8319 cat conftest.er1 >&5
8321 rm -f conftest.er1 conftest.err
8322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8323 test $ac_status = 0; }
8324 done
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8327 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8328 if ${ac_cv_objc_compiler_gnu+:} false; then :
8329 $as_echo_n "(cached) " >&6
8330 else
8331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8332 /* end confdefs.h. */
8335 main ()
8337 #ifndef __GNUC__
8338 choke me
8339 #endif
8342 return 0;
8344 _ACEOF
8345 if ac_fn_objc_try_compile "$LINENO"; then :
8346 ac_compiler_gnu=yes
8347 else
8348 ac_compiler_gnu=no
8350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8351 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8355 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8356 if test $ac_compiler_gnu = yes; then
8357 GOBJC=yes
8358 else
8359 GOBJC=
8361 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8362 ac_save_OBJCFLAGS=$OBJCFLAGS
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8364 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8365 if ${ac_cv_prog_objc_g+:} false; then :
8366 $as_echo_n "(cached) " >&6
8367 else
8368 ac_save_objc_werror_flag=$ac_objc_werror_flag
8369 ac_objc_werror_flag=yes
8370 ac_cv_prog_objc_g=no
8371 OBJCFLAGS="-g"
8372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8373 /* end confdefs.h. */
8376 main ()
8380 return 0;
8382 _ACEOF
8383 if ac_fn_objc_try_compile "$LINENO"; then :
8384 ac_cv_prog_objc_g=yes
8385 else
8386 OBJCFLAGS=""
8387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8388 /* end confdefs.h. */
8391 main ()
8395 return 0;
8397 _ACEOF
8398 if ac_fn_objc_try_compile "$LINENO"; then :
8400 else
8401 ac_objc_werror_flag=$ac_save_objc_werror_flag
8402 OBJCFLAGS="-g"
8403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8404 /* end confdefs.h. */
8407 main ()
8411 return 0;
8413 _ACEOF
8414 if ac_fn_objc_try_compile "$LINENO"; then :
8415 ac_cv_prog_objc_g=yes
8417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8422 ac_objc_werror_flag=$ac_save_objc_werror_flag
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8425 $as_echo "$ac_cv_prog_objc_g" >&6; }
8426 if test "$ac_test_OBJCFLAGS" = set; then
8427 OBJCFLAGS=$ac_save_OBJCFLAGS
8428 elif test $ac_cv_prog_objc_g = yes; then
8429 if test "$GOBJC" = yes; then
8430 OBJCFLAGS="-g -O2"
8431 else
8432 OBJCFLAGS="-g"
8434 else
8435 if test "$GOBJC" = yes; then
8436 OBJCFLAGS="-O2"
8437 else
8438 OBJCFLAGS=
8441 ac_ext=m
8442 ac_cpp='$OBJCPP $CPPFLAGS'
8443 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8444 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8445 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8448 ac_ext=m
8449 ac_cpp='$OBJCPP $CPPFLAGS'
8450 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8451 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8452 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8454 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8455 if test -z "$OBJCPP"; then
8456 if ${ac_cv_prog_OBJCPP+:} false; then :
8457 $as_echo_n "(cached) " >&6
8458 else
8459 # Double quotes because OBJCPP needs to be expanded
8460 for OBJCPP in "$OBJC -E" "/lib/cpp"
8462 ac_preproc_ok=false
8463 for ac_objc_preproc_warn_flag in '' yes
8465 # Use a header file that comes with gcc, so configuring glibc
8466 # with a fresh cross-compiler works.
8467 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8468 # <limits.h> exists even on freestanding compilers.
8469 # On the NeXT, cc -E runs the code through the compiler's parser,
8470 # not just through cpp. "Syntax error" is here to catch this case.
8471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8472 /* end confdefs.h. */
8473 #ifdef __STDC__
8474 # include <limits.h>
8475 #else
8476 # include <assert.h>
8477 #endif
8478 Syntax error
8479 _ACEOF
8480 if ac_fn_objc_try_cpp "$LINENO"; then :
8482 else
8483 # Broken: fails on valid input.
8484 continue
8486 rm -f conftest.err conftest.i conftest.$ac_ext
8488 # OK, works on sane cases. Now check whether nonexistent headers
8489 # can be detected and how.
8490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8491 /* end confdefs.h. */
8492 #include <ac_nonexistent.h>
8493 _ACEOF
8494 if ac_fn_objc_try_cpp "$LINENO"; then :
8495 # Broken: success on invalid input.
8496 continue
8497 else
8498 # Passes both tests.
8499 ac_preproc_ok=:
8500 break
8502 rm -f conftest.err conftest.i conftest.$ac_ext
8504 done
8505 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8506 rm -f conftest.i conftest.err conftest.$ac_ext
8507 if $ac_preproc_ok; then :
8508 break
8511 done
8512 ac_cv_prog_OBJCPP=$OBJCPP
8515 OBJCPP=$ac_cv_prog_OBJCPP
8516 else
8517 ac_cv_prog_OBJCPP=$OBJCPP
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8520 $as_echo "$OBJCPP" >&6; }
8521 ac_preproc_ok=false
8522 for ac_objc_preproc_warn_flag in '' yes
8524 # Use a header file that comes with gcc, so configuring glibc
8525 # with a fresh cross-compiler works.
8526 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8527 # <limits.h> exists even on freestanding compilers.
8528 # On the NeXT, cc -E runs the code through the compiler's parser,
8529 # not just through cpp. "Syntax error" is here to catch this case.
8530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8531 /* end confdefs.h. */
8532 #ifdef __STDC__
8533 # include <limits.h>
8534 #else
8535 # include <assert.h>
8536 #endif
8537 Syntax error
8538 _ACEOF
8539 if ac_fn_objc_try_cpp "$LINENO"; then :
8541 else
8542 # Broken: fails on valid input.
8543 continue
8545 rm -f conftest.err conftest.i conftest.$ac_ext
8547 # OK, works on sane cases. Now check whether nonexistent headers
8548 # can be detected and how.
8549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8551 #include <ac_nonexistent.h>
8552 _ACEOF
8553 if ac_fn_objc_try_cpp "$LINENO"; then :
8554 # Broken: success on invalid input.
8555 continue
8556 else
8557 # Passes both tests.
8558 ac_preproc_ok=:
8559 break
8561 rm -f conftest.err conftest.i conftest.$ac_ext
8563 done
8564 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8565 rm -f conftest.i conftest.err conftest.$ac_ext
8566 if $ac_preproc_ok; then :
8568 else
8569 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8570 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8571 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8572 See \`config.log' for more details" "$LINENO" 5; }
8575 ac_ext=m
8576 ac_cpp='$OBJCPP $CPPFLAGS'
8577 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8578 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8579 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8582 for ac_header in Metal/Metal.h
8583 do :
8584 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8585 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8586 cat >>confdefs.h <<_ACEOF
8587 #define HAVE_METAL_METAL_H 1
8588 _ACEOF
8592 done
8594 ac_ext=c
8595 ac_cpp='$CPP $CPPFLAGS'
8596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8600 LIBEXT="dylib"
8601 DLLFLAGS="$DLLFLAGS -fPIC"
8602 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8603 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8604 COREFOUNDATION_LIBS="-framework CoreFoundation"
8606 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8608 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8610 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8612 CORESERVICES_LIBS="-framework CoreServices"
8614 APPKIT_LIBS="-framework AppKit"
8617 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8619 wine_can_build_preloader=yes
8620 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8622 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8623 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8624 $as_echo_n "(cached) " >&6
8625 else
8626 ac_wine_try_cflags_saved=$CFLAGS
8627 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8629 /* end confdefs.h. */
8630 int main(int argc, char **argv) { return 0; }
8631 _ACEOF
8632 if ac_fn_c_try_link "$LINENO"; then :
8633 ac_cv_cflags__Wl__no_new_main__e__main=yes
8634 else
8635 ac_cv_cflags__Wl__no_new_main__e__main=no
8637 rm -f core conftest.err conftest.$ac_objext \
8638 conftest$ac_exeext conftest.$ac_ext
8639 CFLAGS=$ac_wine_try_cflags_saved
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8642 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8643 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8644 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8646 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8647 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8648 $as_echo_n "(cached) " >&6
8649 else
8650 ac_wine_try_cflags_saved=$CFLAGS
8651 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8653 /* end confdefs.h. */
8654 int main(int argc, char **argv) { return 0; }
8655 _ACEOF
8656 if ac_fn_c_try_link "$LINENO"; then :
8657 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8658 else
8659 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8661 rm -f core conftest.err conftest.$ac_objext \
8662 conftest$ac_exeext conftest.$ac_ext
8663 CFLAGS=$ac_wine_try_cflags_saved
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8666 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8667 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8668 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8669 else
8670 { $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
8671 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8672 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8673 $as_echo_n "(cached) " >&6
8674 else
8675 ac_wine_try_cflags_saved=$CFLAGS
8676 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8678 /* end confdefs.h. */
8679 int main(int argc, char **argv) { return 0; }
8680 _ACEOF
8681 if ac_fn_c_try_link "$LINENO"; then :
8682 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8683 else
8684 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8686 rm -f core conftest.err conftest.$ac_objext \
8687 conftest$ac_exeext conftest.$ac_ext
8688 CFLAGS=$ac_wine_try_cflags_saved
8690 { $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
8691 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8692 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8693 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8694 else
8695 wine_can_build_preloader=no
8698 else
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8700 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8701 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8702 $as_echo_n "(cached) " >&6
8703 else
8704 ac_wine_try_cflags_saved=$CFLAGS
8705 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8707 /* end confdefs.h. */
8708 int main(int argc, char **argv) { return 0; }
8709 _ACEOF
8710 if ac_fn_c_try_link "$LINENO"; then :
8711 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8712 else
8713 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8715 rm -f core conftest.err conftest.$ac_objext \
8716 conftest$ac_exeext conftest.$ac_ext
8717 CFLAGS=$ac_wine_try_cflags_saved
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8720 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8721 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8722 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8723 else
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8725 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8726 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8727 $as_echo_n "(cached) " >&6
8728 else
8729 ac_wine_try_cflags_saved=$CFLAGS
8730 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8733 int main(int argc, char **argv) { return 0; }
8734 _ACEOF
8735 if ac_fn_c_try_link "$LINENO"; then :
8736 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8737 else
8738 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8740 rm -f core conftest.err conftest.$ac_objext \
8741 conftest$ac_exeext conftest.$ac_ext
8742 CFLAGS=$ac_wine_try_cflags_saved
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8745 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8746 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8747 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8748 else
8749 wine_can_build_preloader=no
8753 if test "$wine_can_build_preloader" = "yes"
8754 then
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8756 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8757 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8758 $as_echo_n "(cached) " >&6
8759 else
8760 ac_wine_try_cflags_saved=$CFLAGS
8761 CFLAGS="$CFLAGS -Wl,-no_pie"
8762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8763 /* end confdefs.h. */
8764 int main(int argc, char **argv) { return 0; }
8765 _ACEOF
8766 if ac_fn_c_try_link "$LINENO"; then :
8767 ac_cv_cflags__Wl__no_pie=yes
8768 else
8769 ac_cv_cflags__Wl__no_pie=no
8771 rm -f core conftest.err conftest.$ac_objext \
8772 conftest$ac_exeext conftest.$ac_ext
8773 CFLAGS=$ac_wine_try_cflags_saved
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8776 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8777 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8778 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8780 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8781 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8782 else
8783 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8786 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8787 then
8788 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8791 if test "$ac_cv_header_Security_Security_h" = "yes"
8792 then
8793 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8795 ac_save_LIBS="$LIBS"
8796 LIBS="$LIBS $SECURITY_LIBS"
8797 for ac_func in SSLCopyPeerCertificates
8798 do :
8799 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8800 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8801 cat >>confdefs.h <<_ACEOF
8802 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8803 _ACEOF
8806 done
8808 LIBS="$ac_save_LIBS"
8810 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8811 then
8812 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8813 then
8814 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8816 else
8817 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8820 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8821 ac_save_LIBS="$LIBS"
8822 LIBS="$LIBS $COREAUDIO_LIBS"
8823 for ac_func in AUGraphAddNode
8824 do :
8825 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8826 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8827 cat >>confdefs.h <<_ACEOF
8828 #define HAVE_AUGRAPHADDNODE 1
8829 _ACEOF
8832 done
8834 LIBS="$ac_save_LIBS"
8836 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8837 then
8838 OPENAL_LIBS="-framework OpenAL"
8841 cat >>confdefs.h <<_ACEOF
8842 #define HAVE_OPENAL 1
8843 _ACEOF
8845 ac_cv_lib_openal=yes
8847 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8848 then
8849 OPENCL_LIBS="-framework OpenCL"
8851 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8853 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8854 then
8855 ac_save_LIBS="$LIBS"
8856 LIBS="$LIBS $IOKIT_LIBS"
8857 for ac_func in IOHIDManagerCreate
8858 do :
8859 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8860 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8861 cat >>confdefs.h <<_ACEOF
8862 #define HAVE_IOHIDMANAGERCREATE 1
8863 _ACEOF
8866 done
8868 LIBS="$ac_save_LIBS"
8870 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8871 then
8872 ac_save_LIBS="$LIBS"
8873 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8875 $as_echo_n "checking for the QuickTime framework... " >&6; }
8876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8877 /* end confdefs.h. */
8878 #include <QuickTime/ImageCompression.h>
8880 main ()
8882 CodecManagerVersion(NULL);
8884 return 0;
8886 _ACEOF
8887 if ac_fn_c_try_link "$LINENO"; then :
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8889 $as_echo "yes" >&6; }
8890 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8892 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8893 else
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8895 $as_echo "no" >&6; }
8896 ac_cv_header_QuickTime_ImageCompression_h=no
8898 rm -f core conftest.err conftest.$ac_objext \
8899 conftest$ac_exeext conftest.$ac_ext
8900 LIBS="$ac_save_LIBS"
8902 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8903 then
8904 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8906 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8907 then
8908 CARBON_LIBS="-framework Carbon"
8911 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8912 then
8913 METAL_LIBS="-framework Metal -framework QuartzCore"
8917 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8918 then
8919 ac_save_LIBS="$LIBS"
8920 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8921 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8922 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8923 enable_winemac_drv=${enable_winemac_drv:-yes}
8926 LIBS="$ac_save_LIBS"
8929 if test "x$enable_win16" = "xyes"
8930 then
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8932 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8933 if test "$cross_compiling" = yes; then :
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8935 $as_echo "cross-compiling, assuming yes" >&6; }
8936 else
8937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8938 /* end confdefs.h. */
8939 asm(".text\n"
8940 "bad:\tnop;nop\n"
8941 "good:\tnop;nop\n\t"
8942 ".globl _testfunc\n"
8943 "_testfunc:\tcallw good");
8944 extern void testfunc();
8946 main ()
8948 unsigned short *p = (unsigned short *)testfunc;
8949 return p[0] != 0xe866 || p[1] != 0xfffa
8951 return 0;
8953 _ACEOF
8954 if ac_fn_c_try_run "$LINENO"; then :
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8956 $as_echo "yes" >&6; }
8957 else
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8959 $as_echo "no" >&6; }
8960 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
8962 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8963 conftest.$ac_objext conftest.beam conftest.$ac_ext
8968 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8970 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8972 WINELOADER_DEPENDS="wine_info.plist"
8974 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
8975 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
8978 linux-android*)
8979 DLLFLAGS="$DLLFLAGS -fPIC"
8980 LDEXECFLAGS="-Wl,-pie"
8981 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8983 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8984 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8985 $as_echo_n "(cached) " >&6
8986 else
8987 ac_wine_try_cflags_saved=$CFLAGS
8988 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8990 /* end confdefs.h. */
8991 int main(int argc, char **argv) { return 0; }
8992 _ACEOF
8993 if ac_fn_c_try_link "$LINENO"; then :
8994 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8995 else
8996 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8998 rm -f core conftest.err conftest.$ac_objext \
8999 conftest$ac_exeext conftest.$ac_ext
9000 CFLAGS=$ac_wine_try_cflags_saved
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9003 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9004 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9005 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9007 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9008 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9010 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9011 if eval \${$as_ac_var+:} false; then :
9012 $as_echo_n "(cached) " >&6
9013 else
9014 ac_wine_try_cflags_saved=$CFLAGS
9015 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9017 /* end confdefs.h. */
9018 int main(int argc, char **argv) { return 0; }
9019 _ACEOF
9020 if ac_fn_c_try_link "$LINENO"; then :
9021 eval "$as_ac_var=yes"
9022 else
9023 eval "$as_ac_var=no"
9025 rm -f core conftest.err conftest.$ac_objext \
9026 conftest$ac_exeext conftest.$ac_ext
9027 CFLAGS=$ac_wine_try_cflags_saved
9029 eval ac_res=\$$as_ac_var
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9031 $as_echo "$ac_res" >&6; }
9032 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9033 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9034 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9035 else
9036 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9038 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9039 if eval \${$as_ac_var+:} false; then :
9040 $as_echo_n "(cached) " >&6
9041 else
9042 ac_wine_try_cflags_saved=$CFLAGS
9043 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9045 /* end confdefs.h. */
9046 int main(int argc, char **argv) { return 0; }
9047 _ACEOF
9048 if ac_fn_c_try_link "$LINENO"; then :
9049 eval "$as_ac_var=yes"
9050 else
9051 eval "$as_ac_var=no"
9053 rm -f core conftest.err conftest.$ac_objext \
9054 conftest$ac_exeext conftest.$ac_ext
9055 CFLAGS=$ac_wine_try_cflags_saved
9057 eval ac_res=\$$as_ac_var
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9059 $as_echo "$ac_res" >&6; }
9060 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9061 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9062 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9066 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9067 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9068 $as_echo_n "(cached) " >&6
9069 else
9070 ac_wine_try_cflags_saved=$CFLAGS
9071 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9073 /* end confdefs.h. */
9074 int main(int argc, char **argv) { return 0; }
9075 _ACEOF
9076 if ac_fn_c_try_link "$LINENO"; then :
9077 ac_cv_cflags__Wl___enable_new_dtags=yes
9078 else
9079 ac_cv_cflags__Wl___enable_new_dtags=no
9081 rm -f core conftest.err conftest.$ac_objext \
9082 conftest$ac_exeext conftest.$ac_ext
9083 CFLAGS=$ac_wine_try_cflags_saved
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9086 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9087 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9088 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9091 LIBWINE_SHAREDLIB="libwine.so"
9093 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9095 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9098 $as_echo_n "checking for -lEGL... " >&6; }
9099 if ${ac_cv_lib_soname_EGL+:} false; then :
9100 $as_echo_n "(cached) " >&6
9101 else
9102 ac_check_soname_save_LIBS=$LIBS
9103 LIBS="-lEGL $LIBS"
9104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9105 /* end confdefs.h. */
9107 /* Override any GCC internal prototype to avoid an error.
9108 Use char because int might match the return type of a GCC
9109 builtin and then its argument prototype would still apply. */
9110 #ifdef __cplusplus
9111 extern "C"
9112 #endif
9113 char eglGetProcAddress ();
9115 main ()
9117 return eglGetProcAddress ();
9119 return 0;
9121 _ACEOF
9122 if ac_fn_c_try_link "$LINENO"; then :
9123 case "$LIBEXT" in
9124 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9125 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'` ;;
9126 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9127 if ${ac_cv_lib_soname_EGL:+false} :; then :
9128 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9129 fi ;;
9130 esac
9132 rm -f core conftest.err conftest.$ac_objext \
9133 conftest$ac_exeext conftest.$ac_ext
9134 LIBS=$ac_check_soname_save_LIBS
9136 if ${ac_cv_lib_soname_EGL:+false} :; then :
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9138 $as_echo "not found" >&6; }
9140 else
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9142 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9144 cat >>confdefs.h <<_ACEOF
9145 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9146 _ACEOF
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9151 $as_echo_n "checking for -lGLESv2... " >&6; }
9152 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9153 $as_echo_n "(cached) " >&6
9154 else
9155 ac_check_soname_save_LIBS=$LIBS
9156 LIBS="-lGLESv2 $LIBS"
9157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9158 /* end confdefs.h. */
9160 /* Override any GCC internal prototype to avoid an error.
9161 Use char because int might match the return type of a GCC
9162 builtin and then its argument prototype would still apply. */
9163 #ifdef __cplusplus
9164 extern "C"
9165 #endif
9166 char glFlush ();
9168 main ()
9170 return glFlush ();
9172 return 0;
9174 _ACEOF
9175 if ac_fn_c_try_link "$LINENO"; then :
9176 case "$LIBEXT" in
9177 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9178 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'` ;;
9179 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9180 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9181 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9182 fi ;;
9183 esac
9185 rm -f core conftest.err conftest.$ac_objext \
9186 conftest$ac_exeext conftest.$ac_ext
9187 LIBS=$ac_check_soname_save_LIBS
9189 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9191 $as_echo "not found" >&6; }
9193 else
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9195 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9197 cat >>confdefs.h <<_ACEOF
9198 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9199 _ACEOF
9204 if test "x$exec_prefix" = xNONE
9205 then
9206 case $host_cpu in
9207 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9208 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9209 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9210 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9211 esac
9216 DLLFLAGS="$DLLFLAGS -fPIC"
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9218 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9219 if ${ac_cv_c_dll_gnuelf+:} false; then :
9220 $as_echo_n "(cached) " >&6
9221 else
9222 ac_wine_try_cflags_saved=$CFLAGS
9223 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9225 /* end confdefs.h. */
9226 void myfunc() {}
9227 _ACEOF
9228 if ac_fn_c_try_link "$LINENO"; then :
9229 ac_cv_c_dll_gnuelf="yes"
9230 else
9231 ac_cv_c_dll_gnuelf="no"
9233 rm -f core conftest.err conftest.$ac_objext \
9234 conftest$ac_exeext conftest.$ac_ext
9235 CFLAGS=$ac_wine_try_cflags_saved
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9238 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9239 if test "$ac_cv_c_dll_gnuelf" = "yes"
9240 then
9241 LIBWINE_LDFLAGS="-shared"
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9243 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9244 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9245 $as_echo_n "(cached) " >&6
9246 else
9247 ac_wine_try_cflags_saved=$CFLAGS
9248 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9250 /* end confdefs.h. */
9251 int main(int argc, char **argv) { return 0; }
9252 _ACEOF
9253 if ac_fn_c_try_link "$LINENO"; then :
9254 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9255 else
9256 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9258 rm -f core conftest.err conftest.$ac_objext \
9259 conftest$ac_exeext conftest.$ac_ext
9260 CFLAGS=$ac_wine_try_cflags_saved
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9263 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9264 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9265 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9266 else
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9268 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9269 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9270 $as_echo_n "(cached) " >&6
9271 else
9272 ac_wine_try_cflags_saved=$CFLAGS
9273 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9275 /* end confdefs.h. */
9276 int main(int argc, char **argv) { return 0; }
9277 _ACEOF
9278 if ac_fn_c_try_link "$LINENO"; then :
9279 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9280 else
9281 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9283 rm -f core conftest.err conftest.$ac_objext \
9284 conftest$ac_exeext conftest.$ac_ext
9285 CFLAGS=$ac_wine_try_cflags_saved
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9288 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9289 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9290 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9294 echo '{ global: *; };' >conftest.map
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9296 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9297 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9298 $as_echo_n "(cached) " >&6
9299 else
9300 ac_wine_try_cflags_saved=$CFLAGS
9301 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9303 /* end confdefs.h. */
9304 int main(int argc, char **argv) { return 0; }
9305 _ACEOF
9306 if ac_fn_c_try_link "$LINENO"; then :
9307 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9308 else
9309 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9311 rm -f core conftest.err conftest.$ac_objext \
9312 conftest$ac_exeext conftest.$ac_ext
9313 CFLAGS=$ac_wine_try_cflags_saved
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9316 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9317 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9318 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9320 rm -f conftest.map
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9323 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9324 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9325 $as_echo_n "(cached) " >&6
9326 else
9327 ac_wine_try_cflags_saved=$CFLAGS
9328 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9330 /* end confdefs.h. */
9331 int main(int argc, char **argv) { return 0; }
9332 _ACEOF
9333 if ac_fn_c_try_link "$LINENO"; then :
9334 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9335 else
9336 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9338 rm -f core conftest.err conftest.$ac_objext \
9339 conftest$ac_exeext conftest.$ac_ext
9340 CFLAGS=$ac_wine_try_cflags_saved
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9343 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9344 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9345 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9347 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9349 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9351 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9352 if eval \${$as_ac_var+:} false; then :
9353 $as_echo_n "(cached) " >&6
9354 else
9355 ac_wine_try_cflags_saved=$CFLAGS
9356 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9358 /* end confdefs.h. */
9359 int main(int argc, char **argv) { return 0; }
9360 _ACEOF
9361 if ac_fn_c_try_link "$LINENO"; then :
9362 eval "$as_ac_var=yes"
9363 else
9364 eval "$as_ac_var=no"
9366 rm -f core conftest.err conftest.$ac_objext \
9367 conftest$ac_exeext conftest.$ac_ext
9368 CFLAGS=$ac_wine_try_cflags_saved
9370 eval ac_res=\$$as_ac_var
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9372 $as_echo "$ac_res" >&6; }
9373 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9374 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9375 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9376 else
9377 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9379 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9380 if eval \${$as_ac_var+:} false; then :
9381 $as_echo_n "(cached) " >&6
9382 else
9383 ac_wine_try_cflags_saved=$CFLAGS
9384 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9386 /* end confdefs.h. */
9387 int main(int argc, char **argv) { return 0; }
9388 _ACEOF
9389 if ac_fn_c_try_link "$LINENO"; then :
9390 eval "$as_ac_var=yes"
9391 else
9392 eval "$as_ac_var=no"
9394 rm -f core conftest.err conftest.$ac_objext \
9395 conftest$ac_exeext conftest.$ac_ext
9396 CFLAGS=$ac_wine_try_cflags_saved
9398 eval ac_res=\$$as_ac_var
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9400 $as_echo "$ac_res" >&6; }
9401 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9402 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9403 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9408 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9409 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9410 $as_echo_n "(cached) " >&6
9411 else
9412 ac_wine_try_cflags_saved=$CFLAGS
9413 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9415 /* end confdefs.h. */
9416 int main(int argc, char **argv) { return 0; }
9417 _ACEOF
9418 if ac_fn_c_try_link "$LINENO"; then :
9419 ac_cv_cflags__Wl___enable_new_dtags=yes
9420 else
9421 ac_cv_cflags__Wl___enable_new_dtags=no
9423 rm -f core conftest.err conftest.$ac_objext \
9424 conftest$ac_exeext conftest.$ac_ext
9425 CFLAGS=$ac_wine_try_cflags_saved
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9428 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9429 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9430 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9433 case $host_cpu in
9434 *i[3456789]86* | x86_64 | *aarch64*)
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9436 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9437 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9438 $as_echo_n "(cached) " >&6
9439 else
9440 ac_wine_try_cflags_saved=$CFLAGS
9441 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9444 int main(int argc, char **argv) { return 0; }
9445 _ACEOF
9446 if ac_fn_c_try_link "$LINENO"; then :
9447 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9448 else
9449 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9451 rm -f core conftest.err conftest.$ac_objext \
9452 conftest$ac_exeext conftest.$ac_ext
9453 CFLAGS=$ac_wine_try_cflags_saved
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9456 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9457 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9458 case $host_os in
9459 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9460 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9461 esac
9462 else
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9464 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9465 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9466 $as_echo_n "(cached) " >&6
9467 else
9468 ac_wine_try_cflags_saved=$CFLAGS
9469 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9472 int main(int argc, char **argv) { return 0; }
9473 _ACEOF
9474 if ac_fn_c_try_link "$LINENO"; then :
9475 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9476 else
9477 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9479 rm -f core conftest.err conftest.$ac_objext \
9480 conftest$ac_exeext conftest.$ac_ext
9481 CFLAGS=$ac_wine_try_cflags_saved
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9484 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9485 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9486 case $host_os in
9487 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9488 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9489 esac
9491 # Extract the first word of "prelink", so it can be a program name with args.
9492 set dummy prelink; ac_word=$2
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9494 $as_echo_n "checking for $ac_word... " >&6; }
9495 if ${ac_cv_path_PRELINK+:} false; then :
9496 $as_echo_n "(cached) " >&6
9497 else
9498 case $PRELINK in
9499 [\\/]* | ?:[\\/]*)
9500 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9504 for as_dir in /sbin /usr/sbin $PATH
9506 IFS=$as_save_IFS
9507 test -z "$as_dir" && as_dir=.
9508 for ac_exec_ext in '' $ac_executable_extensions; do
9509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9510 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9512 break 2
9514 done
9515 done
9516 IFS=$as_save_IFS
9518 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9520 esac
9522 PRELINK=$ac_cv_path_PRELINK
9523 if test -n "$PRELINK"; then
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9525 $as_echo "$PRELINK" >&6; }
9526 else
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9528 $as_echo "no" >&6; }
9532 if test "x$PRELINK" = xfalse
9533 then
9534 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9538 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9539 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9540 $as_echo_n "(cached) " >&6
9541 else
9542 ac_wine_try_cflags_saved=$CFLAGS
9543 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9545 /* end confdefs.h. */
9546 int main(int argc, char **argv) { return 0; }
9547 _ACEOF
9548 if ac_fn_c_try_link "$LINENO"; then :
9549 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9550 else
9551 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9553 rm -f core conftest.err conftest.$ac_objext \
9554 conftest$ac_exeext conftest.$ac_ext
9555 CFLAGS=$ac_wine_try_cflags_saved
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9558 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9559 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9560 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9563 esac
9565 else
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9567 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9568 if ${ac_cv_c_dll_unixware+:} false; then :
9569 $as_echo_n "(cached) " >&6
9570 else
9571 ac_wine_try_cflags_saved=$CFLAGS
9572 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9574 /* end confdefs.h. */
9575 void myfunc() {}
9576 _ACEOF
9577 if ac_fn_c_try_link "$LINENO"; then :
9578 ac_cv_c_dll_unixware="yes"
9579 else
9580 ac_cv_c_dll_unixware="no"
9582 rm -f core conftest.err conftest.$ac_objext \
9583 conftest$ac_exeext conftest.$ac_ext
9584 CFLAGS=$ac_wine_try_cflags_saved
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9587 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9588 if test "$ac_cv_c_dll_unixware" = "yes"
9589 then
9590 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9593 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9595 LIBWINE_DEPENDS="wine.map"
9597 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9598 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9600 esac
9602 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9603 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9604 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9605 enable_winemac_drv=${enable_winemac_drv:-no}
9606 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9608 CROSSTARGET=""
9610 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9611 then
9612 case "$host_cpu" in
9613 aarch64*)
9614 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9615 arm*)
9616 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9617 i[3456789]86*)
9618 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
9619 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9620 mingw32-gcc" ;;
9621 x86_64)
9622 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
9623 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9625 ac_prefix_list="" ;;
9626 esac
9627 for ac_prog in $ac_prefix_list
9629 # Extract the first word of "$ac_prog", so it can be a program name with args.
9630 set dummy $ac_prog; ac_word=$2
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9632 $as_echo_n "checking for $ac_word... " >&6; }
9633 if ${ac_cv_prog_CROSSCC+:} false; then :
9634 $as_echo_n "(cached) " >&6
9635 else
9636 if test -n "$CROSSCC"; then
9637 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9638 else
9639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9640 for as_dir in $PATH
9642 IFS=$as_save_IFS
9643 test -z "$as_dir" && as_dir=.
9644 for ac_exec_ext in '' $ac_executable_extensions; do
9645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9646 ac_cv_prog_CROSSCC="$ac_prog"
9647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9648 break 2
9650 done
9651 done
9652 IFS=$as_save_IFS
9656 CROSSCC=$ac_cv_prog_CROSSCC
9657 if test -n "$CROSSCC"; then
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9659 $as_echo "$CROSSCC" >&6; }
9660 else
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9662 $as_echo "no" >&6; }
9666 test -n "$CROSSCC" && break
9667 done
9668 test -n "$CROSSCC" || CROSSCC="false"
9670 if test "$CROSSCC" != "false"
9671 then
9672 ac_save_CC="$CC"
9673 CC="$CROSSCC"
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9675 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9677 /* end confdefs.h. */
9680 main ()
9684 return 0;
9686 _ACEOF
9687 if ac_fn_c_try_compile "$LINENO"; then :
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9689 $as_echo "yes" >&6; }
9690 set x $CROSSCC
9691 shift
9692 while test $# -ge 1
9694 case "$1" in
9695 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9696 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9697 esac
9698 shift
9699 done
9700 else
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9702 $as_echo "no" >&6; }
9704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9705 CC="$ac_save_CC"
9706 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9712 if test "$ac_cv_header_pthread_h" = "yes"
9713 then
9714 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9715 if test "x$ac_cv_func_pthread_create" = xyes; then :
9717 else
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9719 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9720 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9721 $as_echo_n "(cached) " >&6
9722 else
9723 ac_check_lib_save_LIBS=$LIBS
9724 LIBS="-lpthread $LIBS"
9725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9726 /* end confdefs.h. */
9728 /* Override any GCC internal prototype to avoid an error.
9729 Use char because int might match the return type of a GCC
9730 builtin and then its argument prototype would still apply. */
9731 #ifdef __cplusplus
9732 extern "C"
9733 #endif
9734 char pthread_create ();
9736 main ()
9738 return pthread_create ();
9740 return 0;
9742 _ACEOF
9743 if ac_fn_c_try_link "$LINENO"; then :
9744 ac_cv_lib_pthread_pthread_create=yes
9745 else
9746 ac_cv_lib_pthread_pthread_create=no
9748 rm -f core conftest.err conftest.$ac_objext \
9749 conftest$ac_exeext conftest.$ac_ext
9750 LIBS=$ac_check_lib_save_LIBS
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9753 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9754 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9755 PTHREAD_LIBS="-lpthread"
9762 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9763 case "x$with_pthread" in
9764 xno) ;;
9765 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9766 Wine cannot support threads without libpthread.
9767 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9768 esac
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9774 $as_echo_n "checking for X... " >&6; }
9777 # Check whether --with-x was given.
9778 if test "${with_x+set}" = set; then :
9779 withval=$with_x;
9782 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9783 if test "x$with_x" = xno; then
9784 # The user explicitly disabled X.
9785 have_x=disabled
9786 else
9787 case $x_includes,$x_libraries in #(
9788 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9789 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9790 $as_echo_n "(cached) " >&6
9791 else
9792 # One or both of the vars are not set, and there is no cached value.
9793 ac_x_includes=no ac_x_libraries=no
9794 rm -f -r conftest.dir
9795 if mkdir conftest.dir; then
9796 cd conftest.dir
9797 cat >Imakefile <<'_ACEOF'
9798 incroot:
9799 @echo incroot='${INCROOT}'
9800 usrlibdir:
9801 @echo usrlibdir='${USRLIBDIR}'
9802 libdir:
9803 @echo libdir='${LIBDIR}'
9804 _ACEOF
9805 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9806 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9807 for ac_var in incroot usrlibdir libdir; do
9808 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9809 done
9810 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9811 for ac_extension in a so sl dylib la dll; do
9812 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9813 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9814 ac_im_usrlibdir=$ac_im_libdir; break
9816 done
9817 # Screen out bogus values from the imake configuration. They are
9818 # bogus both because they are the default anyway, and because
9819 # using them would break gcc on systems where it needs fixed includes.
9820 case $ac_im_incroot in
9821 /usr/include) ac_x_includes= ;;
9822 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9823 esac
9824 case $ac_im_usrlibdir in
9825 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9826 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9827 esac
9829 cd ..
9830 rm -f -r conftest.dir
9833 # Standard set of common directories for X headers.
9834 # Check X11 before X11Rn because it is often a symlink to the current release.
9835 ac_x_header_dirs='
9836 /usr/X11/include
9837 /usr/X11R7/include
9838 /usr/X11R6/include
9839 /usr/X11R5/include
9840 /usr/X11R4/include
9842 /usr/include/X11
9843 /usr/include/X11R7
9844 /usr/include/X11R6
9845 /usr/include/X11R5
9846 /usr/include/X11R4
9848 /usr/local/X11/include
9849 /usr/local/X11R7/include
9850 /usr/local/X11R6/include
9851 /usr/local/X11R5/include
9852 /usr/local/X11R4/include
9854 /usr/local/include/X11
9855 /usr/local/include/X11R7
9856 /usr/local/include/X11R6
9857 /usr/local/include/X11R5
9858 /usr/local/include/X11R4
9860 /usr/X386/include
9861 /usr/x386/include
9862 /usr/XFree86/include/X11
9864 /usr/include
9865 /usr/local/include
9866 /usr/unsupported/include
9867 /usr/athena/include
9868 /usr/local/x11r5/include
9869 /usr/lpp/Xamples/include
9871 /usr/openwin/include
9872 /usr/openwin/share/include'
9874 if test "$ac_x_includes" = no; then
9875 # Guess where to find include files, by looking for Xlib.h.
9876 # First, try using that file with no special directory specified.
9877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9878 /* end confdefs.h. */
9879 #include <X11/Xlib.h>
9880 _ACEOF
9881 if ac_fn_c_try_cpp "$LINENO"; then :
9882 # We can compile using X headers with no special include directory.
9883 ac_x_includes=
9884 else
9885 for ac_dir in $ac_x_header_dirs; do
9886 if test -r "$ac_dir/X11/Xlib.h"; then
9887 ac_x_includes=$ac_dir
9888 break
9890 done
9892 rm -f conftest.err conftest.i conftest.$ac_ext
9893 fi # $ac_x_includes = no
9895 if test "$ac_x_libraries" = no; then
9896 # Check for the libraries.
9897 # See if we find them without any special options.
9898 # Don't add to $LIBS permanently.
9899 ac_save_LIBS=$LIBS
9900 LIBS="-lX11 $LIBS"
9901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9902 /* end confdefs.h. */
9903 #include <X11/Xlib.h>
9905 main ()
9907 XrmInitialize ()
9909 return 0;
9911 _ACEOF
9912 if ac_fn_c_try_link "$LINENO"; then :
9913 LIBS=$ac_save_LIBS
9914 # We can link X programs with no special library path.
9915 ac_x_libraries=
9916 else
9917 LIBS=$ac_save_LIBS
9918 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9920 # Don't even attempt the hair of trying to link an X program!
9921 for ac_extension in a so sl dylib la dll; do
9922 if test -r "$ac_dir/libX11.$ac_extension"; then
9923 ac_x_libraries=$ac_dir
9924 break 2
9926 done
9927 done
9929 rm -f core conftest.err conftest.$ac_objext \
9930 conftest$ac_exeext conftest.$ac_ext
9931 fi # $ac_x_libraries = no
9933 case $ac_x_includes,$ac_x_libraries in #(
9934 no,* | *,no | *\'*)
9935 # Didn't find X, or a directory has "'" in its name.
9936 ac_cv_have_x="have_x=no";; #(
9938 # Record where we found X for the cache.
9939 ac_cv_have_x="have_x=yes\
9940 ac_x_includes='$ac_x_includes'\
9941 ac_x_libraries='$ac_x_libraries'"
9942 esac
9944 ;; #(
9945 *) have_x=yes;;
9946 esac
9947 eval "$ac_cv_have_x"
9948 fi # $with_x != no
9950 if test "$have_x" != yes; then
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9952 $as_echo "$have_x" >&6; }
9953 no_x=yes
9954 else
9955 # If each of the values was on the command line, it overrides each guess.
9956 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9957 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9958 # Update the cache value to reflect the command line values.
9959 ac_cv_have_x="have_x=yes\
9960 ac_x_includes='$x_includes'\
9961 ac_x_libraries='$x_libraries'"
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9963 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9966 if test "$no_x" = yes; then
9967 # Not all programs may use this symbol, but it does not hurt to define it.
9969 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9971 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9972 else
9973 if test -n "$x_includes"; then
9974 X_CFLAGS="$X_CFLAGS -I$x_includes"
9977 # It would also be nice to do this for all -L options, not just this one.
9978 if test -n "$x_libraries"; then
9979 X_LIBS="$X_LIBS -L$x_libraries"
9980 # For Solaris; some versions of Sun CC require a space after -R and
9981 # others require no space. Words are not sufficient . . . .
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9983 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9984 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9985 ac_xsave_c_werror_flag=$ac_c_werror_flag
9986 ac_c_werror_flag=yes
9987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9988 /* end confdefs.h. */
9991 main ()
9995 return 0;
9997 _ACEOF
9998 if ac_fn_c_try_link "$LINENO"; then :
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10000 $as_echo "no" >&6; }
10001 X_LIBS="$X_LIBS -R$x_libraries"
10002 else
10003 LIBS="$ac_xsave_LIBS -R $x_libraries"
10004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10008 main ()
10012 return 0;
10014 _ACEOF
10015 if ac_fn_c_try_link "$LINENO"; then :
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10017 $as_echo "yes" >&6; }
10018 X_LIBS="$X_LIBS -R $x_libraries"
10019 else
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10021 $as_echo "neither works" >&6; }
10023 rm -f core conftest.err conftest.$ac_objext \
10024 conftest$ac_exeext conftest.$ac_ext
10026 rm -f core conftest.err conftest.$ac_objext \
10027 conftest$ac_exeext conftest.$ac_ext
10028 ac_c_werror_flag=$ac_xsave_c_werror_flag
10029 LIBS=$ac_xsave_LIBS
10032 # Check for system-dependent libraries X programs must link with.
10033 # Do this before checking for the system-independent R6 libraries
10034 # (-lICE), since we may need -lsocket or whatever for X linking.
10036 if test "$ISC" = yes; then
10037 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10038 else
10039 # Martyn Johnson says this is needed for Ultrix, if the X
10040 # libraries were built with DECnet support. And Karl Berry says
10041 # the Alpha needs dnet_stub (dnet does not exist).
10042 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10044 /* end confdefs.h. */
10046 /* Override any GCC internal prototype to avoid an error.
10047 Use char because int might match the return type of a GCC
10048 builtin and then its argument prototype would still apply. */
10049 #ifdef __cplusplus
10050 extern "C"
10051 #endif
10052 char XOpenDisplay ();
10054 main ()
10056 return XOpenDisplay ();
10058 return 0;
10060 _ACEOF
10061 if ac_fn_c_try_link "$LINENO"; then :
10063 else
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10065 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10066 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10067 $as_echo_n "(cached) " >&6
10068 else
10069 ac_check_lib_save_LIBS=$LIBS
10070 LIBS="-ldnet $LIBS"
10071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10072 /* end confdefs.h. */
10074 /* Override any GCC internal prototype to avoid an error.
10075 Use char because int might match the return type of a GCC
10076 builtin and then its argument prototype would still apply. */
10077 #ifdef __cplusplus
10078 extern "C"
10079 #endif
10080 char dnet_ntoa ();
10082 main ()
10084 return dnet_ntoa ();
10086 return 0;
10088 _ACEOF
10089 if ac_fn_c_try_link "$LINENO"; then :
10090 ac_cv_lib_dnet_dnet_ntoa=yes
10091 else
10092 ac_cv_lib_dnet_dnet_ntoa=no
10094 rm -f core conftest.err conftest.$ac_objext \
10095 conftest$ac_exeext conftest.$ac_ext
10096 LIBS=$ac_check_lib_save_LIBS
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10099 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10100 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10101 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10104 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10106 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10107 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10108 $as_echo_n "(cached) " >&6
10109 else
10110 ac_check_lib_save_LIBS=$LIBS
10111 LIBS="-ldnet_stub $LIBS"
10112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10113 /* end confdefs.h. */
10115 /* Override any GCC internal prototype to avoid an error.
10116 Use char because int might match the return type of a GCC
10117 builtin and then its argument prototype would still apply. */
10118 #ifdef __cplusplus
10119 extern "C"
10120 #endif
10121 char dnet_ntoa ();
10123 main ()
10125 return dnet_ntoa ();
10127 return 0;
10129 _ACEOF
10130 if ac_fn_c_try_link "$LINENO"; then :
10131 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10132 else
10133 ac_cv_lib_dnet_stub_dnet_ntoa=no
10135 rm -f core conftest.err conftest.$ac_objext \
10136 conftest$ac_exeext conftest.$ac_ext
10137 LIBS=$ac_check_lib_save_LIBS
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10140 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10141 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10142 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10147 rm -f core conftest.err conftest.$ac_objext \
10148 conftest$ac_exeext conftest.$ac_ext
10149 LIBS="$ac_xsave_LIBS"
10151 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10152 # to get the SysV transport functions.
10153 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10154 # needs -lnsl.
10155 # The nsl library prevents programs from opening the X display
10156 # on Irix 5.2, according to T.E. Dickey.
10157 # The functions gethostbyname, getservbyname, and inet_addr are
10158 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10159 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10160 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10164 if test $ac_cv_func_gethostbyname = no; then
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10166 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10167 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10168 $as_echo_n "(cached) " >&6
10169 else
10170 ac_check_lib_save_LIBS=$LIBS
10171 LIBS="-lnsl $LIBS"
10172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10173 /* end confdefs.h. */
10175 /* Override any GCC internal prototype to avoid an error.
10176 Use char because int might match the return type of a GCC
10177 builtin and then its argument prototype would still apply. */
10178 #ifdef __cplusplus
10179 extern "C"
10180 #endif
10181 char gethostbyname ();
10183 main ()
10185 return gethostbyname ();
10187 return 0;
10189 _ACEOF
10190 if ac_fn_c_try_link "$LINENO"; then :
10191 ac_cv_lib_nsl_gethostbyname=yes
10192 else
10193 ac_cv_lib_nsl_gethostbyname=no
10195 rm -f core conftest.err conftest.$ac_objext \
10196 conftest$ac_exeext conftest.$ac_ext
10197 LIBS=$ac_check_lib_save_LIBS
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10200 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10201 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10202 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10205 if test $ac_cv_lib_nsl_gethostbyname = no; then
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10207 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10208 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10209 $as_echo_n "(cached) " >&6
10210 else
10211 ac_check_lib_save_LIBS=$LIBS
10212 LIBS="-lbsd $LIBS"
10213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10214 /* end confdefs.h. */
10216 /* Override any GCC internal prototype to avoid an error.
10217 Use char because int might match the return type of a GCC
10218 builtin and then its argument prototype would still apply. */
10219 #ifdef __cplusplus
10220 extern "C"
10221 #endif
10222 char gethostbyname ();
10224 main ()
10226 return gethostbyname ();
10228 return 0;
10230 _ACEOF
10231 if ac_fn_c_try_link "$LINENO"; then :
10232 ac_cv_lib_bsd_gethostbyname=yes
10233 else
10234 ac_cv_lib_bsd_gethostbyname=no
10236 rm -f core conftest.err conftest.$ac_objext \
10237 conftest$ac_exeext conftest.$ac_ext
10238 LIBS=$ac_check_lib_save_LIBS
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10241 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10242 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10243 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10249 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10250 # socket/setsockopt and other routines are undefined under SCO ODT
10251 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10252 # on later versions), says Simon Leinen: it contains gethostby*
10253 # variants that don't use the name server (or something). -lsocket
10254 # must be given before -lnsl if both are needed. We assume that
10255 # if connect needs -lnsl, so does gethostbyname.
10256 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10257 if test "x$ac_cv_func_connect" = xyes; then :
10261 if test $ac_cv_func_connect = no; then
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10263 $as_echo_n "checking for connect in -lsocket... " >&6; }
10264 if ${ac_cv_lib_socket_connect+:} false; then :
10265 $as_echo_n "(cached) " >&6
10266 else
10267 ac_check_lib_save_LIBS=$LIBS
10268 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10270 /* end confdefs.h. */
10272 /* Override any GCC internal prototype to avoid an error.
10273 Use char because int might match the return type of a GCC
10274 builtin and then its argument prototype would still apply. */
10275 #ifdef __cplusplus
10276 extern "C"
10277 #endif
10278 char connect ();
10280 main ()
10282 return connect ();
10284 return 0;
10286 _ACEOF
10287 if ac_fn_c_try_link "$LINENO"; then :
10288 ac_cv_lib_socket_connect=yes
10289 else
10290 ac_cv_lib_socket_connect=no
10292 rm -f core conftest.err conftest.$ac_objext \
10293 conftest$ac_exeext conftest.$ac_ext
10294 LIBS=$ac_check_lib_save_LIBS
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10297 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10298 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10299 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10304 # Guillermo Gomez says -lposix is necessary on A/UX.
10305 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10306 if test "x$ac_cv_func_remove" = xyes; then :
10310 if test $ac_cv_func_remove = no; then
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10312 $as_echo_n "checking for remove in -lposix... " >&6; }
10313 if ${ac_cv_lib_posix_remove+:} false; then :
10314 $as_echo_n "(cached) " >&6
10315 else
10316 ac_check_lib_save_LIBS=$LIBS
10317 LIBS="-lposix $LIBS"
10318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10319 /* end confdefs.h. */
10321 /* Override any GCC internal prototype to avoid an error.
10322 Use char because int might match the return type of a GCC
10323 builtin and then its argument prototype would still apply. */
10324 #ifdef __cplusplus
10325 extern "C"
10326 #endif
10327 char remove ();
10329 main ()
10331 return remove ();
10333 return 0;
10335 _ACEOF
10336 if ac_fn_c_try_link "$LINENO"; then :
10337 ac_cv_lib_posix_remove=yes
10338 else
10339 ac_cv_lib_posix_remove=no
10341 rm -f core conftest.err conftest.$ac_objext \
10342 conftest$ac_exeext conftest.$ac_ext
10343 LIBS=$ac_check_lib_save_LIBS
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10346 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10347 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10348 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10353 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10354 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10355 if test "x$ac_cv_func_shmat" = xyes; then :
10359 if test $ac_cv_func_shmat = no; then
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10361 $as_echo_n "checking for shmat in -lipc... " >&6; }
10362 if ${ac_cv_lib_ipc_shmat+:} false; then :
10363 $as_echo_n "(cached) " >&6
10364 else
10365 ac_check_lib_save_LIBS=$LIBS
10366 LIBS="-lipc $LIBS"
10367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10368 /* end confdefs.h. */
10370 /* Override any GCC internal prototype to avoid an error.
10371 Use char because int might match the return type of a GCC
10372 builtin and then its argument prototype would still apply. */
10373 #ifdef __cplusplus
10374 extern "C"
10375 #endif
10376 char shmat ();
10378 main ()
10380 return shmat ();
10382 return 0;
10384 _ACEOF
10385 if ac_fn_c_try_link "$LINENO"; then :
10386 ac_cv_lib_ipc_shmat=yes
10387 else
10388 ac_cv_lib_ipc_shmat=no
10390 rm -f core conftest.err conftest.$ac_objext \
10391 conftest$ac_exeext conftest.$ac_ext
10392 LIBS=$ac_check_lib_save_LIBS
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10395 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10396 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10397 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10403 # Check for libraries that X11R6 Xt/Xaw programs need.
10404 ac_save_LDFLAGS=$LDFLAGS
10405 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10406 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10407 # check for ICE first), but we must link in the order -lSM -lICE or
10408 # we get undefined symbols. So assume we have SM if we have ICE.
10409 # These have to be linked with before -lX11, unlike the other
10410 # libraries we check for below, so use a different variable.
10411 # John Interrante, Karl Berry
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10413 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10414 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10415 $as_echo_n "(cached) " >&6
10416 else
10417 ac_check_lib_save_LIBS=$LIBS
10418 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10422 /* Override any GCC internal prototype to avoid an error.
10423 Use char because int might match the return type of a GCC
10424 builtin and then its argument prototype would still apply. */
10425 #ifdef __cplusplus
10426 extern "C"
10427 #endif
10428 char IceConnectionNumber ();
10430 main ()
10432 return IceConnectionNumber ();
10434 return 0;
10436 _ACEOF
10437 if ac_fn_c_try_link "$LINENO"; then :
10438 ac_cv_lib_ICE_IceConnectionNumber=yes
10439 else
10440 ac_cv_lib_ICE_IceConnectionNumber=no
10442 rm -f core conftest.err conftest.$ac_objext \
10443 conftest$ac_exeext conftest.$ac_ext
10444 LIBS=$ac_check_lib_save_LIBS
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10447 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10448 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10449 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10452 LDFLAGS=$ac_save_LDFLAGS
10457 if test "$have_x" = "yes"
10458 then
10459 ac_save_CPPFLAGS="$CPPFLAGS"
10460 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10463 $as_echo_n "checking for -lX11... " >&6; }
10464 if ${ac_cv_lib_soname_X11+:} false; then :
10465 $as_echo_n "(cached) " >&6
10466 else
10467 ac_check_soname_save_LIBS=$LIBS
10468 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10470 /* end confdefs.h. */
10472 /* Override any GCC internal prototype to avoid an error.
10473 Use char because int might match the return type of a GCC
10474 builtin and then its argument prototype would still apply. */
10475 #ifdef __cplusplus
10476 extern "C"
10477 #endif
10478 char XCreateWindow ();
10480 main ()
10482 return XCreateWindow ();
10484 return 0;
10486 _ACEOF
10487 if ac_fn_c_try_link "$LINENO"; then :
10488 case "$LIBEXT" in
10489 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10490 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'` ;;
10491 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10492 if ${ac_cv_lib_soname_X11:+false} :; then :
10493 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10494 fi ;;
10495 esac
10497 rm -f core conftest.err conftest.$ac_objext \
10498 conftest$ac_exeext conftest.$ac_ext
10499 LIBS=$ac_check_soname_save_LIBS
10501 if ${ac_cv_lib_soname_X11:+false} :; then :
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10503 $as_echo "not found" >&6; }
10505 else
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10507 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10509 cat >>confdefs.h <<_ACEOF
10510 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10511 _ACEOF
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10516 $as_echo_n "checking for -lXext... " >&6; }
10517 if ${ac_cv_lib_soname_Xext+:} false; then :
10518 $as_echo_n "(cached) " >&6
10519 else
10520 ac_check_soname_save_LIBS=$LIBS
10521 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10523 /* end confdefs.h. */
10525 /* Override any GCC internal prototype to avoid an error.
10526 Use char because int might match the return type of a GCC
10527 builtin and then its argument prototype would still apply. */
10528 #ifdef __cplusplus
10529 extern "C"
10530 #endif
10531 char XextCreateExtension ();
10533 main ()
10535 return XextCreateExtension ();
10537 return 0;
10539 _ACEOF
10540 if ac_fn_c_try_link "$LINENO"; then :
10541 case "$LIBEXT" in
10542 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10543 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'` ;;
10544 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10545 if ${ac_cv_lib_soname_Xext:+false} :; then :
10546 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10547 fi ;;
10548 esac
10550 rm -f core conftest.err conftest.$ac_objext \
10551 conftest$ac_exeext conftest.$ac_ext
10552 LIBS=$ac_check_soname_save_LIBS
10554 if ${ac_cv_lib_soname_Xext:+false} :; then :
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10556 $as_echo "not found" >&6; }
10558 else
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10560 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10562 cat >>confdefs.h <<_ACEOF
10563 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10564 _ACEOF
10566 X_LIBS="$X_LIBS -lXext"
10568 X_LIBS="$X_LIBS -lX11"
10570 for ac_header in X11/Xlib.h \
10571 X11/XKBlib.h \
10572 X11/Xutil.h \
10573 X11/Xcursor/Xcursor.h \
10574 X11/extensions/shape.h \
10575 X11/extensions/XInput.h \
10576 X11/extensions/XInput2.h \
10577 X11/extensions/XShm.h \
10578 X11/extensions/Xcomposite.h \
10579 X11/extensions/Xfixes.h \
10580 X11/extensions/Xinerama.h \
10581 X11/extensions/Xrandr.h \
10582 X11/extensions/Xrender.h \
10583 X11/extensions/xf86vmode.h \
10584 X11/extensions/xf86vmproto.h
10585 do :
10586 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10587 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10588 # include <X11/Xlib.h>
10589 #endif
10590 #ifdef HAVE_X11_XUTIL_H
10591 # include <X11/Xutil.h>
10592 #endif
10594 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10595 cat >>confdefs.h <<_ACEOF
10596 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10597 _ACEOF
10601 done
10604 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10605 then
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10607 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10608 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10609 $as_echo_n "(cached) " >&6
10610 else
10611 ac_check_lib_save_LIBS=$LIBS
10612 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10614 /* end confdefs.h. */
10616 /* Override any GCC internal prototype to avoid an error.
10617 Use char because int might match the return type of a GCC
10618 builtin and then its argument prototype would still apply. */
10619 #ifdef __cplusplus
10620 extern "C"
10621 #endif
10622 char XkbQueryExtension ();
10624 main ()
10626 return XkbQueryExtension ();
10628 return 0;
10630 _ACEOF
10631 if ac_fn_c_try_link "$LINENO"; then :
10632 ac_cv_lib_X11_XkbQueryExtension=yes
10633 else
10634 ac_cv_lib_X11_XkbQueryExtension=no
10636 rm -f core conftest.err conftest.$ac_objext \
10637 conftest$ac_exeext conftest.$ac_ext
10638 LIBS=$ac_check_lib_save_LIBS
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10641 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10642 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10644 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10650 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10651 then
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10653 $as_echo_n "checking for -lXcursor... " >&6; }
10654 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10655 $as_echo_n "(cached) " >&6
10656 else
10657 ac_check_soname_save_LIBS=$LIBS
10658 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10662 /* Override any GCC internal prototype to avoid an error.
10663 Use char because int might match the return type of a GCC
10664 builtin and then its argument prototype would still apply. */
10665 #ifdef __cplusplus
10666 extern "C"
10667 #endif
10668 char XcursorImageLoadCursor ();
10670 main ()
10672 return XcursorImageLoadCursor ();
10674 return 0;
10676 _ACEOF
10677 if ac_fn_c_try_link "$LINENO"; then :
10678 case "$LIBEXT" in
10679 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10680 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'` ;;
10681 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10682 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10683 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10684 fi ;;
10685 esac
10687 rm -f core conftest.err conftest.$ac_objext \
10688 conftest$ac_exeext conftest.$ac_ext
10689 LIBS=$ac_check_soname_save_LIBS
10691 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10693 $as_echo "not found" >&6; }
10695 else
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10697 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10699 cat >>confdefs.h <<_ACEOF
10700 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10701 _ACEOF
10706 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10707 case "x$with_xcursor" in
10708 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10709 xno) ;;
10710 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10711 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10712 esac
10716 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10717 then
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10719 $as_echo_n "checking for -lXi... " >&6; }
10720 if ${ac_cv_lib_soname_Xi+:} false; then :
10721 $as_echo_n "(cached) " >&6
10722 else
10723 ac_check_soname_save_LIBS=$LIBS
10724 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10726 /* end confdefs.h. */
10728 /* Override any GCC internal prototype to avoid an error.
10729 Use char because int might match the return type of a GCC
10730 builtin and then its argument prototype would still apply. */
10731 #ifdef __cplusplus
10732 extern "C"
10733 #endif
10734 char XOpenDevice ();
10736 main ()
10738 return XOpenDevice ();
10740 return 0;
10742 _ACEOF
10743 if ac_fn_c_try_link "$LINENO"; then :
10744 case "$LIBEXT" in
10745 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10746 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'` ;;
10747 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10748 if ${ac_cv_lib_soname_Xi:+false} :; then :
10749 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10750 fi ;;
10751 esac
10753 rm -f core conftest.err conftest.$ac_objext \
10754 conftest$ac_exeext conftest.$ac_ext
10755 LIBS=$ac_check_soname_save_LIBS
10757 if ${ac_cv_lib_soname_Xi:+false} :; then :
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10759 $as_echo "not found" >&6; }
10761 else
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10763 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10765 cat >>confdefs.h <<_ACEOF
10766 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10767 _ACEOF
10772 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10773 case "x$with_xinput" in
10774 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10775 xno) ;;
10776 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10777 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10778 esac
10782 if test "x$ac_cv_lib_soname_Xi" != x
10783 then
10784 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10785 case "x$with_xinput2" in
10786 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10787 xno) ;;
10788 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10789 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10790 esac
10795 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10796 then
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10798 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10799 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10800 $as_echo_n "(cached) " >&6
10801 else
10802 ac_check_lib_save_LIBS=$LIBS
10803 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10807 /* Override any GCC internal prototype to avoid an error.
10808 Use char because int might match the return type of a GCC
10809 builtin and then its argument prototype would still apply. */
10810 #ifdef __cplusplus
10811 extern "C"
10812 #endif
10813 char XShmQueryExtension ();
10815 main ()
10817 return XShmQueryExtension ();
10819 return 0;
10821 _ACEOF
10822 if ac_fn_c_try_link "$LINENO"; then :
10823 ac_cv_lib_Xext_XShmQueryExtension=yes
10824 else
10825 ac_cv_lib_Xext_XShmQueryExtension=no
10827 rm -f core conftest.err conftest.$ac_objext \
10828 conftest$ac_exeext conftest.$ac_ext
10829 LIBS=$ac_check_lib_save_LIBS
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10832 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10833 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10835 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10840 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10841 case "x$with_xshm" in
10842 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10843 xno) ;;
10844 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10845 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10846 esac
10850 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10851 then
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10853 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10854 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10855 $as_echo_n "(cached) " >&6
10856 else
10857 ac_check_lib_save_LIBS=$LIBS
10858 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10860 /* end confdefs.h. */
10862 /* Override any GCC internal prototype to avoid an error.
10863 Use char because int might match the return type of a GCC
10864 builtin and then its argument prototype would still apply. */
10865 #ifdef __cplusplus
10866 extern "C"
10867 #endif
10868 char XShapeQueryExtension ();
10870 main ()
10872 return XShapeQueryExtension ();
10874 return 0;
10876 _ACEOF
10877 if ac_fn_c_try_link "$LINENO"; then :
10878 ac_cv_lib_Xext_XShapeQueryExtension=yes
10879 else
10880 ac_cv_lib_Xext_XShapeQueryExtension=no
10882 rm -f core conftest.err conftest.$ac_objext \
10883 conftest$ac_exeext conftest.$ac_ext
10884 LIBS=$ac_check_lib_save_LIBS
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10887 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10888 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10890 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10895 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10896 case "x$with_xshape" in
10897 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10898 xno) ;;
10899 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10900 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10901 esac
10905 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10906 then
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10908 $as_echo_n "checking for -lXxf86vm... " >&6; }
10909 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10910 $as_echo_n "(cached) " >&6
10911 else
10912 ac_check_soname_save_LIBS=$LIBS
10913 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h. */
10917 /* Override any GCC internal prototype to avoid an error.
10918 Use char because int might match the return type of a GCC
10919 builtin and then its argument prototype would still apply. */
10920 #ifdef __cplusplus
10921 extern "C"
10922 #endif
10923 char XF86VidModeQueryExtension ();
10925 main ()
10927 return XF86VidModeQueryExtension ();
10929 return 0;
10931 _ACEOF
10932 if ac_fn_c_try_link "$LINENO"; then :
10933 case "$LIBEXT" in
10934 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10935 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'` ;;
10936 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10937 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10938 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10939 fi ;;
10940 esac
10942 rm -f core conftest.err conftest.$ac_objext \
10943 conftest$ac_exeext conftest.$ac_ext
10944 LIBS=$ac_check_soname_save_LIBS
10946 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10948 $as_echo "not found" >&6; }
10950 else
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10952 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10954 cat >>confdefs.h <<_ACEOF
10955 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10956 _ACEOF
10961 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10962 case "x$with_xxf86vm" in
10963 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10964 xno) ;;
10965 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10966 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10967 esac
10971 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10972 then
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10974 $as_echo_n "checking for -lXrender... " >&6; }
10975 if ${ac_cv_lib_soname_Xrender+:} false; then :
10976 $as_echo_n "(cached) " >&6
10977 else
10978 ac_check_soname_save_LIBS=$LIBS
10979 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10981 /* end confdefs.h. */
10983 /* Override any GCC internal prototype to avoid an error.
10984 Use char because int might match the return type of a GCC
10985 builtin and then its argument prototype would still apply. */
10986 #ifdef __cplusplus
10987 extern "C"
10988 #endif
10989 char XRenderQueryExtension ();
10991 main ()
10993 return XRenderQueryExtension ();
10995 return 0;
10997 _ACEOF
10998 if ac_fn_c_try_link "$LINENO"; then :
10999 case "$LIBEXT" in
11000 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11001 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'` ;;
11002 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11003 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11004 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11005 fi ;;
11006 esac
11008 rm -f core conftest.err conftest.$ac_objext \
11009 conftest$ac_exeext conftest.$ac_ext
11010 LIBS=$ac_check_soname_save_LIBS
11012 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11014 $as_echo "not found" >&6; }
11016 else
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11018 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11020 cat >>confdefs.h <<_ACEOF
11021 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11022 _ACEOF
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11025 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11026 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11027 $as_echo_n "(cached) " >&6
11028 else
11029 ac_check_lib_save_LIBS=$LIBS
11030 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11032 /* end confdefs.h. */
11034 /* Override any GCC internal prototype to avoid an error.
11035 Use char because int might match the return type of a GCC
11036 builtin and then its argument prototype would still apply. */
11037 #ifdef __cplusplus
11038 extern "C"
11039 #endif
11040 char XRenderSetPictureTransform ();
11042 main ()
11044 return XRenderSetPictureTransform ();
11046 return 0;
11048 _ACEOF
11049 if ac_fn_c_try_link "$LINENO"; then :
11050 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11051 else
11052 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11054 rm -f core conftest.err conftest.$ac_objext \
11055 conftest$ac_exeext conftest.$ac_ext
11056 LIBS=$ac_check_lib_save_LIBS
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11059 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11060 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11062 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11067 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11068 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11069 $as_echo_n "(cached) " >&6
11070 else
11071 ac_check_lib_save_LIBS=$LIBS
11072 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11074 /* end confdefs.h. */
11076 /* Override any GCC internal prototype to avoid an error.
11077 Use char because int might match the return type of a GCC
11078 builtin and then its argument prototype would still apply. */
11079 #ifdef __cplusplus
11080 extern "C"
11081 #endif
11082 char XRenderCreateLinearGradient ();
11084 main ()
11086 return XRenderCreateLinearGradient ();
11088 return 0;
11090 _ACEOF
11091 if ac_fn_c_try_link "$LINENO"; then :
11092 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11093 else
11094 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11096 rm -f core conftest.err conftest.$ac_objext \
11097 conftest$ac_exeext conftest.$ac_ext
11098 LIBS=$ac_check_lib_save_LIBS
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11101 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11102 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11104 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11111 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11112 case "x$with_xrender" in
11113 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11114 xno) ;;
11115 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11116 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11117 esac
11121 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11122 then
11123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11124 /* end confdefs.h. */
11125 #include <X11/Xlib.h>
11126 #include <X11/extensions/Xrandr.h>
11128 main ()
11130 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11132 return 0;
11134 _ACEOF
11135 if ac_fn_c_try_compile "$LINENO"; then :
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11137 $as_echo_n "checking for -lXrandr... " >&6; }
11138 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11139 $as_echo_n "(cached) " >&6
11140 else
11141 ac_check_soname_save_LIBS=$LIBS
11142 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11146 /* Override any GCC internal prototype to avoid an error.
11147 Use char because int might match the return type of a GCC
11148 builtin and then its argument prototype would still apply. */
11149 #ifdef __cplusplus
11150 extern "C"
11151 #endif
11152 char XRRQueryExtension ();
11154 main ()
11156 return XRRQueryExtension ();
11158 return 0;
11160 _ACEOF
11161 if ac_fn_c_try_link "$LINENO"; then :
11162 case "$LIBEXT" in
11163 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11164 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'` ;;
11165 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11166 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11167 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11168 fi ;;
11169 esac
11171 rm -f core conftest.err conftest.$ac_objext \
11172 conftest$ac_exeext conftest.$ac_ext
11173 LIBS=$ac_check_soname_save_LIBS
11175 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11177 $as_echo "not found" >&6; }
11179 else
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11181 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11183 cat >>confdefs.h <<_ACEOF
11184 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11185 _ACEOF
11187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11188 /* end confdefs.h. */
11189 #include <X11/Xlib.h>
11190 #include <X11/extensions/Xrandr.h>
11192 main ()
11194 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11196 return 0;
11198 _ACEOF
11199 if ac_fn_c_try_compile "$LINENO"; then :
11201 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11209 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11210 case "x$with_xrandr" in
11211 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11212 xno) ;;
11213 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11214 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11215 esac
11219 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11220 then
11221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11222 /* end confdefs.h. */
11223 #include <X11/Xlib.h>
11224 #include <X11/extensions/Xfixes.h>
11226 main ()
11228 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11230 return 0;
11232 _ACEOF
11233 if ac_fn_c_try_compile "$LINENO"; then :
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11235 $as_echo_n "checking for -lXfixes... " >&6; }
11236 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11237 $as_echo_n "(cached) " >&6
11238 else
11239 ac_check_soname_save_LIBS=$LIBS
11240 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11242 /* end confdefs.h. */
11244 /* Override any GCC internal prototype to avoid an error.
11245 Use char because int might match the return type of a GCC
11246 builtin and then its argument prototype would still apply. */
11247 #ifdef __cplusplus
11248 extern "C"
11249 #endif
11250 char XFixesQueryVersion ();
11252 main ()
11254 return XFixesQueryVersion ();
11256 return 0;
11258 _ACEOF
11259 if ac_fn_c_try_link "$LINENO"; then :
11260 case "$LIBEXT" in
11261 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11262 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'` ;;
11263 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11264 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11265 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11266 fi ;;
11267 esac
11269 rm -f core conftest.err conftest.$ac_objext \
11270 conftest$ac_exeext conftest.$ac_ext
11271 LIBS=$ac_check_soname_save_LIBS
11273 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11275 $as_echo "not found" >&6; }
11277 else
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11279 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11281 cat >>confdefs.h <<_ACEOF
11282 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11283 _ACEOF
11288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11290 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11291 case "x$with_xfixes" in
11292 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11293 xno) ;;
11294 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11295 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11296 esac
11300 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11301 then
11302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11303 /* end confdefs.h. */
11304 #include <X11/Xlib.h>
11305 #include <X11/extensions/Xinerama.h>
11307 main ()
11309 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11311 return 0;
11313 _ACEOF
11314 if ac_fn_c_try_compile "$LINENO"; then :
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11316 $as_echo_n "checking for -lXinerama... " >&6; }
11317 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11318 $as_echo_n "(cached) " >&6
11319 else
11320 ac_check_soname_save_LIBS=$LIBS
11321 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11323 /* end confdefs.h. */
11325 /* Override any GCC internal prototype to avoid an error.
11326 Use char because int might match the return type of a GCC
11327 builtin and then its argument prototype would still apply. */
11328 #ifdef __cplusplus
11329 extern "C"
11330 #endif
11331 char XineramaQueryScreens ();
11333 main ()
11335 return XineramaQueryScreens ();
11337 return 0;
11339 _ACEOF
11340 if ac_fn_c_try_link "$LINENO"; then :
11341 case "$LIBEXT" in
11342 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11343 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'` ;;
11344 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11345 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11346 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11347 fi ;;
11348 esac
11350 rm -f core conftest.err conftest.$ac_objext \
11351 conftest$ac_exeext conftest.$ac_ext
11352 LIBS=$ac_check_soname_save_LIBS
11354 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11356 $as_echo "not found" >&6; }
11358 else
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11360 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11362 cat >>confdefs.h <<_ACEOF
11363 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11364 _ACEOF
11369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11371 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11372 case "x$with_xinerama" in
11373 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11374 xno) ;;
11375 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11376 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11377 esac
11381 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11382 then
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11384 $as_echo_n "checking for -lXcomposite... " >&6; }
11385 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11386 $as_echo_n "(cached) " >&6
11387 else
11388 ac_check_soname_save_LIBS=$LIBS
11389 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11396 #ifdef __cplusplus
11397 extern "C"
11398 #endif
11399 char XCompositeRedirectWindow ();
11401 main ()
11403 return XCompositeRedirectWindow ();
11405 return 0;
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"; then :
11409 case "$LIBEXT" in
11410 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11411 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'` ;;
11412 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11413 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11414 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11415 fi ;;
11416 esac
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_soname_save_LIBS
11422 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11424 $as_echo "not found" >&6; }
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11428 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11430 cat >>confdefs.h <<_ACEOF
11431 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11432 _ACEOF
11437 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11438 case "x$with_xcomposite" in
11439 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11440 xno) ;;
11441 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11442 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11443 esac
11447 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11448 #include <X11/Xlib.h>
11449 #endif
11451 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11453 cat >>confdefs.h <<_ACEOF
11454 #define HAVE_XICCALLBACK_CALLBACK 1
11455 _ACEOF
11459 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11460 #include <X11/Xlib.h>
11461 #endif
11463 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11465 cat >>confdefs.h <<_ACEOF
11466 #define HAVE_XEVENT_XCOOKIE 1
11467 _ACEOF
11474 opengl_msg=""
11475 if test "x$with_opengl" != "xno"
11476 then
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11478 $as_echo_n "checking for -lGL... " >&6; }
11479 if ${ac_cv_lib_soname_GL+:} false; then :
11480 $as_echo_n "(cached) " >&6
11481 else
11482 ac_check_soname_save_LIBS=$LIBS
11483 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11485 /* end confdefs.h. */
11487 /* Override any GCC internal prototype to avoid an error.
11488 Use char because int might match the return type of a GCC
11489 builtin and then its argument prototype would still apply. */
11490 #ifdef __cplusplus
11491 extern "C"
11492 #endif
11493 char glXCreateContext ();
11495 main ()
11497 return glXCreateContext ();
11499 return 0;
11501 _ACEOF
11502 if ac_fn_c_try_link "$LINENO"; then :
11503 case "$LIBEXT" in
11504 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11505 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'` ;;
11506 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11507 if ${ac_cv_lib_soname_GL:+false} :; then :
11508 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11509 fi ;;
11510 esac
11512 rm -f core conftest.err conftest.$ac_objext \
11513 conftest$ac_exeext conftest.$ac_ext
11514 LIBS=$ac_check_soname_save_LIBS
11516 if ${ac_cv_lib_soname_GL:+false} :; then :
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11518 $as_echo "not found" >&6; }
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11520 $as_echo_n "checking for -lGL... " >&6; }
11521 if ${ac_cv_lib_soname_GL+:} false; then :
11522 $as_echo_n "(cached) " >&6
11523 else
11524 ac_check_soname_save_LIBS=$LIBS
11525 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"
11526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11527 /* end confdefs.h. */
11529 /* Override any GCC internal prototype to avoid an error.
11530 Use char because int might match the return type of a GCC
11531 builtin and then its argument prototype would still apply. */
11532 #ifdef __cplusplus
11533 extern "C"
11534 #endif
11535 char glXCreateContext ();
11537 main ()
11539 return glXCreateContext ();
11541 return 0;
11543 _ACEOF
11544 if ac_fn_c_try_link "$LINENO"; then :
11545 case "$LIBEXT" in
11546 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11547 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'` ;;
11548 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11549 if ${ac_cv_lib_soname_GL:+false} :; then :
11550 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11551 fi ;;
11552 esac
11554 rm -f core conftest.err conftest.$ac_objext \
11555 conftest$ac_exeext conftest.$ac_ext
11556 LIBS=$ac_check_soname_save_LIBS
11558 if ${ac_cv_lib_soname_GL:+false} :; then :
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11560 $as_echo "not found" >&6; }
11561 if test -f /usr/X11R6/lib/libGL.a
11562 then
11563 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11564 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11565 else
11566 opengl_msg="No OpenGL library found on this system."
11568 else
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11570 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11572 cat >>confdefs.h <<_ACEOF
11573 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11574 _ACEOF
11576 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"
11578 else
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11580 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11582 cat >>confdefs.h <<_ACEOF
11583 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11584 _ACEOF
11586 OPENGL_LIBS="-lGL"
11588 if test "x$with_glu" != "xno"
11589 then
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11591 $as_echo_n "checking for -lGLU... " >&6; }
11592 if ${ac_cv_lib_soname_GLU+:} false; then :
11593 $as_echo_n "(cached) " >&6
11594 else
11595 ac_check_soname_save_LIBS=$LIBS
11596 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11598 /* end confdefs.h. */
11600 /* Override any GCC internal prototype to avoid an error.
11601 Use char because int might match the return type of a GCC
11602 builtin and then its argument prototype would still apply. */
11603 #ifdef __cplusplus
11604 extern "C"
11605 #endif
11606 char gluLookAt ();
11608 main ()
11610 return gluLookAt ();
11612 return 0;
11614 _ACEOF
11615 if ac_fn_c_try_link "$LINENO"; then :
11616 case "$LIBEXT" in
11617 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11618 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'` ;;
11619 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11620 if ${ac_cv_lib_soname_GLU:+false} :; then :
11621 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11622 fi ;;
11623 esac
11625 rm -f core conftest.err conftest.$ac_objext \
11626 conftest$ac_exeext conftest.$ac_ext
11627 LIBS=$ac_check_soname_save_LIBS
11629 if ${ac_cv_lib_soname_GLU:+false} :; then :
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11631 $as_echo "not found" >&6; }
11633 else
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11635 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11637 cat >>confdefs.h <<_ACEOF
11638 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11639 _ACEOF
11643 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11644 case "x$with_glu" in
11645 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11646 xno) ;;
11647 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11648 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11649 esac
11654 if test "x$with_osmesa" != "xno"
11655 then
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11657 $as_echo_n "checking for -lOSMesa... " >&6; }
11658 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11659 $as_echo_n "(cached) " >&6
11660 else
11661 ac_check_soname_save_LIBS=$LIBS
11662 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11664 /* end confdefs.h. */
11666 /* Override any GCC internal prototype to avoid an error.
11667 Use char because int might match the return type of a GCC
11668 builtin and then its argument prototype would still apply. */
11669 #ifdef __cplusplus
11670 extern "C"
11671 #endif
11672 char OSMesaGetProcAddress ();
11674 main ()
11676 return OSMesaGetProcAddress ();
11678 return 0;
11680 _ACEOF
11681 if ac_fn_c_try_link "$LINENO"; then :
11682 case "$LIBEXT" in
11683 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11684 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'` ;;
11685 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11686 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11687 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11688 fi ;;
11689 esac
11691 rm -f core conftest.err conftest.$ac_objext \
11692 conftest$ac_exeext conftest.$ac_ext
11693 LIBS=$ac_check_soname_save_LIBS
11695 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11697 $as_echo "not found" >&6; }
11699 else
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11701 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11703 cat >>confdefs.h <<_ACEOF
11704 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11705 _ACEOF
11709 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11710 case "x$with_osmesa" in
11711 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11712 xno) ;;
11713 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11714 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11715 esac
11720 if test -n "$opengl_msg"; then :
11721 case "x$with_opengl" in
11722 x) as_fn_append wine_warnings "|$opengl_msg
11723 OpenGL and Direct3D won't be supported." ;;
11724 xno) ;;
11725 *) as_fn_error $? "$opengl_msg
11726 OpenGL and Direct3D won't be supported.
11727 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11728 esac
11732 CPPFLAGS="$ac_save_CPPFLAGS"
11733 else
11734 X_CFLAGS=""
11735 X_LIBS=""
11738 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11739 then
11740 if test "x$X_LIBS" = "x"; then :
11741 case "x$with_x" in
11742 xno) ;;
11743 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11744 without X support, which probably isn't what you want. You will need
11745 to install ${notice_platform}development packages of Xlib at the very least.
11746 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11747 esac
11748 enable_winex11_drv=${enable_winex11_drv:-no}
11750 else
11751 if test "x$X_LIBS" = "x"; then :
11752 case "x$with_x" in
11753 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11754 xno) ;;
11755 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11756 This is an error since --with-x was requested." "$LINENO" 5 ;;
11757 esac
11758 enable_winex11_drv=${enable_winex11_drv:-no}
11762 if test "$ac_cv_header_CL_cl_h" = "yes"
11763 then
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11765 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11766 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11767 $as_echo_n "(cached) " >&6
11768 else
11769 ac_check_lib_save_LIBS=$LIBS
11770 LIBS="-lOpenCL $LIBS"
11771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11772 /* end confdefs.h. */
11774 /* Override any GCC internal prototype to avoid an error.
11775 Use char because int might match the return type of a GCC
11776 builtin and then its argument prototype would still apply. */
11777 #ifdef __cplusplus
11778 extern "C"
11779 #endif
11780 char clGetPlatformInfo ();
11782 main ()
11784 return clGetPlatformInfo ();
11786 return 0;
11788 _ACEOF
11789 if ac_fn_c_try_link "$LINENO"; then :
11790 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11791 else
11792 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11794 rm -f core conftest.err conftest.$ac_objext \
11795 conftest$ac_exeext conftest.$ac_ext
11796 LIBS=$ac_check_lib_save_LIBS
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11799 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11800 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11801 OPENCL_LIBS="-lOpenCL"
11806 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11807 case "x$with_opencl" in
11808 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11809 xno) ;;
11810 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11811 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11812 esac
11813 enable_opencl=${enable_opencl:-no}
11816 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11817 then
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11819 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11820 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11821 $as_echo_n "(cached) " >&6
11822 else
11823 ac_check_lib_save_LIBS=$LIBS
11824 LIBS="-lpcap $LIBS"
11825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11826 /* end confdefs.h. */
11828 /* Override any GCC internal prototype to avoid an error.
11829 Use char because int might match the return type of a GCC
11830 builtin and then its argument prototype would still apply. */
11831 #ifdef __cplusplus
11832 extern "C"
11833 #endif
11834 char pcap_create ();
11836 main ()
11838 return pcap_create ();
11840 return 0;
11842 _ACEOF
11843 if ac_fn_c_try_link "$LINENO"; then :
11844 ac_cv_lib_pcap_pcap_create=yes
11845 else
11846 ac_cv_lib_pcap_pcap_create=no
11848 rm -f core conftest.err conftest.$ac_objext \
11849 conftest$ac_exeext conftest.$ac_ext
11850 LIBS=$ac_check_lib_save_LIBS
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11853 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11854 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11855 PCAP_LIBS="-lpcap"
11860 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11861 case "x$with_pcap" in
11862 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11863 xno) ;;
11864 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11865 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11866 esac
11867 enable_wpcap=${enable_wpcap:-no}
11871 if test "x$with_xml" != "xno"
11872 then
11873 if ${XML2_CFLAGS:+false} :; then :
11874 if ${PKG_CONFIG+:} false; then :
11875 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11878 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11879 if ${XML2_LIBS:+false} :; then :
11880 if ${PKG_CONFIG+:} false; then :
11881 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11884 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11885 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11886 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11887 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11888 ac_save_CPPFLAGS=$CPPFLAGS
11889 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11890 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11891 do :
11892 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11893 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11894 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11895 cat >>confdefs.h <<_ACEOF
11896 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11897 _ACEOF
11901 done
11903 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"
11904 then
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11906 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11907 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11908 $as_echo_n "(cached) " >&6
11909 else
11910 ac_check_lib_save_LIBS=$LIBS
11911 LIBS="-lxml2 $XML2_LIBS $LIBS"
11912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11913 /* end confdefs.h. */
11915 /* Override any GCC internal prototype to avoid an error.
11916 Use char because int might match the return type of a GCC
11917 builtin and then its argument prototype would still apply. */
11918 #ifdef __cplusplus
11919 extern "C"
11920 #endif
11921 char xmlParseMemory ();
11923 main ()
11925 return xmlParseMemory ();
11927 return 0;
11929 _ACEOF
11930 if ac_fn_c_try_link "$LINENO"; then :
11931 ac_cv_lib_xml2_xmlParseMemory=yes
11932 else
11933 ac_cv_lib_xml2_xmlParseMemory=no
11935 rm -f core conftest.err conftest.$ac_objext \
11936 conftest$ac_exeext conftest.$ac_ext
11937 LIBS=$ac_check_lib_save_LIBS
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11940 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11941 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11943 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11945 else
11946 XML2_LIBS=""
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11950 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11951 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11952 $as_echo_n "(cached) " >&6
11953 else
11954 ac_check_lib_save_LIBS=$LIBS
11955 LIBS="-lxml2 $XML2_LIBS $LIBS"
11956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11959 /* Override any GCC internal prototype to avoid an error.
11960 Use char because int might match the return type of a GCC
11961 builtin and then its argument prototype would still apply. */
11962 #ifdef __cplusplus
11963 extern "C"
11964 #endif
11965 char xmlReadMemory ();
11967 main ()
11969 return xmlReadMemory ();
11971 return 0;
11973 _ACEOF
11974 if ac_fn_c_try_link "$LINENO"; then :
11975 ac_cv_lib_xml2_xmlReadMemory=yes
11976 else
11977 ac_cv_lib_xml2_xmlReadMemory=no
11979 rm -f core conftest.err conftest.$ac_objext \
11980 conftest$ac_exeext conftest.$ac_ext
11981 LIBS=$ac_check_lib_save_LIBS
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11984 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11985 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11987 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11992 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11993 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11994 $as_echo_n "(cached) " >&6
11995 else
11996 ac_check_lib_save_LIBS=$LIBS
11997 LIBS="-lxml2 $XML2_LIBS $LIBS"
11998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11999 /* end confdefs.h. */
12001 /* Override any GCC internal prototype to avoid an error.
12002 Use char because int might match the return type of a GCC
12003 builtin and then its argument prototype would still apply. */
12004 #ifdef __cplusplus
12005 extern "C"
12006 #endif
12007 char xmlNewDocPI ();
12009 main ()
12011 return xmlNewDocPI ();
12013 return 0;
12015 _ACEOF
12016 if ac_fn_c_try_link "$LINENO"; then :
12017 ac_cv_lib_xml2_xmlNewDocPI=yes
12018 else
12019 ac_cv_lib_xml2_xmlNewDocPI=no
12021 rm -f core conftest.err conftest.$ac_objext \
12022 conftest$ac_exeext conftest.$ac_ext
12023 LIBS=$ac_check_lib_save_LIBS
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12026 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12027 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12029 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12034 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12035 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12036 $as_echo_n "(cached) " >&6
12037 else
12038 ac_check_lib_save_LIBS=$LIBS
12039 LIBS="-lxml2 $XML2_LIBS $LIBS"
12040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12041 /* end confdefs.h. */
12043 /* Override any GCC internal prototype to avoid an error.
12044 Use char because int might match the return type of a GCC
12045 builtin and then its argument prototype would still apply. */
12046 #ifdef __cplusplus
12047 extern "C"
12048 #endif
12049 char xmlSchemaSetParserStructuredErrors ();
12051 main ()
12053 return xmlSchemaSetParserStructuredErrors ();
12055 return 0;
12057 _ACEOF
12058 if ac_fn_c_try_link "$LINENO"; then :
12059 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12060 else
12061 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12063 rm -f core conftest.err conftest.$ac_objext \
12064 conftest$ac_exeext conftest.$ac_ext
12065 LIBS=$ac_check_lib_save_LIBS
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12068 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12069 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12071 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12076 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12077 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12078 $as_echo_n "(cached) " >&6
12079 else
12080 ac_check_lib_save_LIBS=$LIBS
12081 LIBS="-lxml2 $XML2_LIBS $LIBS"
12082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12083 /* end confdefs.h. */
12085 /* Override any GCC internal prototype to avoid an error.
12086 Use char because int might match the return type of a GCC
12087 builtin and then its argument prototype would still apply. */
12088 #ifdef __cplusplus
12089 extern "C"
12090 #endif
12091 char xmlSchemaSetValidStructuredErrors ();
12093 main ()
12095 return xmlSchemaSetValidStructuredErrors ();
12097 return 0;
12099 _ACEOF
12100 if ac_fn_c_try_link "$LINENO"; then :
12101 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12102 else
12103 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12105 rm -f core conftest.err conftest.$ac_objext \
12106 conftest$ac_exeext conftest.$ac_ext
12107 LIBS=$ac_check_lib_save_LIBS
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12110 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12111 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12113 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12118 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12119 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12120 $as_echo_n "(cached) " >&6
12121 else
12122 ac_check_lib_save_LIBS=$LIBS
12123 LIBS="-lxml2 $XML2_LIBS $LIBS"
12124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12125 /* end confdefs.h. */
12127 /* Override any GCC internal prototype to avoid an error.
12128 Use char because int might match the return type of a GCC
12129 builtin and then its argument prototype would still apply. */
12130 #ifdef __cplusplus
12131 extern "C"
12132 #endif
12133 char xmlFirstElementChild ();
12135 main ()
12137 return xmlFirstElementChild ();
12139 return 0;
12141 _ACEOF
12142 if ac_fn_c_try_link "$LINENO"; then :
12143 ac_cv_lib_xml2_xmlFirstElementChild=yes
12144 else
12145 ac_cv_lib_xml2_xmlFirstElementChild=no
12147 rm -f core conftest.err conftest.$ac_objext \
12148 conftest$ac_exeext conftest.$ac_ext
12149 LIBS=$ac_check_lib_save_LIBS
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12152 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12153 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12155 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12159 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12161 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12163 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12167 else
12168 XML2_CFLAGS=""
12169 XML2_LIBS=""
12171 CPPFLAGS=$ac_save_CPPFLAGS
12172 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12173 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12176 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12177 case "x$with_xml" in
12178 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12179 xno) ;;
12180 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12181 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12182 esac
12186 if test "x$with_xslt" != "xno"
12187 then
12188 if ${XSLT_CFLAGS:+false} :; then :
12189 if ${PKG_CONFIG+:} false; then :
12190 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12193 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12194 if ${XSLT_LIBS:+false} :; then :
12195 if ${PKG_CONFIG+:} false; then :
12196 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12199 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12200 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12201 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12202 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12203 ac_save_CPPFLAGS=$CPPFLAGS
12204 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12205 for ac_header in libxslt/pattern.h libxslt/transform.h
12206 do :
12207 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12208 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12209 # include <libxslt/pattern.h>
12210 #endif
12212 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12213 cat >>confdefs.h <<_ACEOF
12214 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12215 _ACEOF
12219 done
12221 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12222 then
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12224 $as_echo_n "checking for -lxslt... " >&6; }
12225 if ${ac_cv_lib_soname_xslt+:} false; then :
12226 $as_echo_n "(cached) " >&6
12227 else
12228 ac_check_soname_save_LIBS=$LIBS
12229 LIBS="-lxslt $XSLT_LIBS $LIBS"
12230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12231 /* end confdefs.h. */
12233 /* Override any GCC internal prototype to avoid an error.
12234 Use char because int might match the return type of a GCC
12235 builtin and then its argument prototype would still apply. */
12236 #ifdef __cplusplus
12237 extern "C"
12238 #endif
12239 char xsltCompilePattern ();
12241 main ()
12243 return xsltCompilePattern ();
12245 return 0;
12247 _ACEOF
12248 if ac_fn_c_try_link "$LINENO"; then :
12249 case "$LIBEXT" in
12250 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12251 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'` ;;
12252 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12253 if ${ac_cv_lib_soname_xslt:+false} :; then :
12254 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12255 fi ;;
12256 esac
12258 rm -f core conftest.err conftest.$ac_objext \
12259 conftest$ac_exeext conftest.$ac_ext
12260 LIBS=$ac_check_soname_save_LIBS
12262 if ${ac_cv_lib_soname_xslt:+false} :; then :
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12264 $as_echo "not found" >&6; }
12266 else
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12268 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12270 cat >>confdefs.h <<_ACEOF
12271 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12272 _ACEOF
12276 else
12277 XSLT_CFLAGS=""
12279 CPPFLAGS=$ac_save_CPPFLAGS
12280 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12281 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12284 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12285 case "x$with_xslt" in
12286 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12287 xno) ;;
12288 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12289 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12290 esac
12294 if test "x$with_dbus" != "xno"
12295 then
12296 if ${DBUS_CFLAGS:+false} :; then :
12297 if ${PKG_CONFIG+:} false; then :
12298 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12302 if ${DBUS_LIBS:+false} :; then :
12303 if ${PKG_CONFIG+:} false; then :
12304 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12309 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12310 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12311 ac_save_CPPFLAGS=$CPPFLAGS
12312 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12313 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12314 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12316 $as_echo_n "checking for -ldbus-1... " >&6; }
12317 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12318 $as_echo_n "(cached) " >&6
12319 else
12320 ac_check_soname_save_LIBS=$LIBS
12321 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12323 /* end confdefs.h. */
12325 /* Override any GCC internal prototype to avoid an error.
12326 Use char because int might match the return type of a GCC
12327 builtin and then its argument prototype would still apply. */
12328 #ifdef __cplusplus
12329 extern "C"
12330 #endif
12331 char dbus_connection_close ();
12333 main ()
12335 return dbus_connection_close ();
12337 return 0;
12339 _ACEOF
12340 if ac_fn_c_try_link "$LINENO"; then :
12341 case "$LIBEXT" in
12342 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12343 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'` ;;
12344 *) 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'`
12345 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12346 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12347 fi ;;
12348 esac
12350 rm -f core conftest.err conftest.$ac_objext \
12351 conftest$ac_exeext conftest.$ac_ext
12352 LIBS=$ac_check_soname_save_LIBS
12354 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12356 $as_echo "not found" >&6; }
12357 DBUS_CFLAGS=""
12358 else
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12360 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12362 cat >>confdefs.h <<_ACEOF
12363 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12364 _ACEOF
12368 else
12369 DBUS_CFLAGS=""
12373 CPPFLAGS=$ac_save_CPPFLAGS
12374 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12375 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12378 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12379 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12380 case "x$with_dbus" in
12381 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12382 xno) ;;
12383 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12384 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12385 esac
12389 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12390 then
12391 if ${HAL_CFLAGS:+false} :; then :
12392 if ${PKG_CONFIG+:} false; then :
12393 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12397 if ${HAL_LIBS:+false} :; then :
12398 if ${PKG_CONFIG+:} false; then :
12399 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12403 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12404 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12405 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12406 ac_save_CPPFLAGS=$CPPFLAGS
12407 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12408 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12409 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12411 $as_echo_n "checking for -lhal... " >&6; }
12412 if ${ac_cv_lib_soname_hal+:} false; then :
12413 $as_echo_n "(cached) " >&6
12414 else
12415 ac_check_soname_save_LIBS=$LIBS
12416 LIBS="-lhal $HAL_LIBS $LIBS"
12417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12418 /* end confdefs.h. */
12420 /* Override any GCC internal prototype to avoid an error.
12421 Use char because int might match the return type of a GCC
12422 builtin and then its argument prototype would still apply. */
12423 #ifdef __cplusplus
12424 extern "C"
12425 #endif
12426 char libhal_ctx_new ();
12428 main ()
12430 return libhal_ctx_new ();
12432 return 0;
12434 _ACEOF
12435 if ac_fn_c_try_link "$LINENO"; then :
12436 case "$LIBEXT" in
12437 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12438 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'` ;;
12439 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12440 if ${ac_cv_lib_soname_hal:+false} :; then :
12441 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12442 fi ;;
12443 esac
12445 rm -f core conftest.err conftest.$ac_objext \
12446 conftest$ac_exeext conftest.$ac_ext
12447 LIBS=$ac_check_soname_save_LIBS
12449 if ${ac_cv_lib_soname_hal:+false} :; then :
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12451 $as_echo "not found" >&6; }
12452 HAL_CFLAGS=""
12453 else
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12455 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12457 cat >>confdefs.h <<_ACEOF
12458 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12459 _ACEOF
12463 else
12464 HAL_CFLAGS=""
12468 CPPFLAGS=$ac_save_CPPFLAGS
12469 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12470 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12472 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12473 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12474 case "x$with_hal" in
12475 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12476 xno) ;;
12477 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12478 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12479 esac
12484 if test "x$with_gnutls" != "xno"
12485 then
12486 if ${GNUTLS_CFLAGS:+false} :; then :
12487 if ${PKG_CONFIG+:} false; then :
12488 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12492 if ${GNUTLS_LIBS:+false} :; then :
12493 if ${PKG_CONFIG+:} false; then :
12494 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12499 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12500 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12501 ac_save_CPPFLAGS=$CPPFLAGS
12502 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12503 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12504 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12507 #include <gnutls/gnutls.h>
12508 #include <gnutls/crypto.h>
12510 main ()
12512 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12514 return 0;
12516 _ACEOF
12517 if ac_fn_c_try_compile "$LINENO"; then :
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12519 $as_echo_n "checking for -lgnutls... " >&6; }
12520 if ${ac_cv_lib_soname_gnutls+:} false; then :
12521 $as_echo_n "(cached) " >&6
12522 else
12523 ac_check_soname_save_LIBS=$LIBS
12524 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12526 /* end confdefs.h. */
12528 /* Override any GCC internal prototype to avoid an error.
12529 Use char because int might match the return type of a GCC
12530 builtin and then its argument prototype would still apply. */
12531 #ifdef __cplusplus
12532 extern "C"
12533 #endif
12534 char gnutls_global_init ();
12536 main ()
12538 return gnutls_global_init ();
12540 return 0;
12542 _ACEOF
12543 if ac_fn_c_try_link "$LINENO"; then :
12544 case "$LIBEXT" in
12545 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12546 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'` ;;
12547 *) 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'`
12548 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12549 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'`
12550 fi ;;
12551 esac
12553 rm -f core conftest.err conftest.$ac_objext \
12554 conftest$ac_exeext conftest.$ac_ext
12555 LIBS=$ac_check_soname_save_LIBS
12557 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12559 $as_echo "not found" >&6; }
12560 GNUTLS_CFLAGS=""
12561 else
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12563 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12565 cat >>confdefs.h <<_ACEOF
12566 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12567 _ACEOF
12571 ac_wine_check_funcs_save_LIBS="$LIBS"
12572 LIBS="$LIBS $GNUTLS_LIBS"
12573 for ac_func in gnutls_cipher_init
12574 do :
12575 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12576 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12577 cat >>confdefs.h <<_ACEOF
12578 #define HAVE_GNUTLS_CIPHER_INIT 1
12579 _ACEOF
12581 else
12582 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12584 done
12586 LIBS="$ac_wine_check_funcs_save_LIBS"
12588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12589 else
12590 GNUTLS_CFLAGS=""
12594 CPPFLAGS=$ac_save_CPPFLAGS
12595 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12596 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12599 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12600 case "x$with_gnutls" in
12601 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12602 xno) ;;
12603 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12604 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12605 esac
12609 CURSES_LIBS=""
12610 if test "$ac_cv_header_ncurses_h" = "yes"
12611 then
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12613 $as_echo_n "checking for -lncurses... " >&6; }
12614 if ${ac_cv_lib_soname_ncurses+:} false; then :
12615 $as_echo_n "(cached) " >&6
12616 else
12617 ac_check_soname_save_LIBS=$LIBS
12618 LIBS="-lncurses $LIBS"
12619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12620 /* end confdefs.h. */
12622 /* Override any GCC internal prototype to avoid an error.
12623 Use char because int might match the return type of a GCC
12624 builtin and then its argument prototype would still apply. */
12625 #ifdef __cplusplus
12626 extern "C"
12627 #endif
12628 char waddch ();
12630 main ()
12632 return waddch ();
12634 return 0;
12636 _ACEOF
12637 if ac_fn_c_try_link "$LINENO"; then :
12638 case "$LIBEXT" in
12639 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12640 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'` ;;
12641 *) 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'`
12642 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12643 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12644 fi ;;
12645 esac
12647 rm -f core conftest.err conftest.$ac_objext \
12648 conftest$ac_exeext conftest.$ac_ext
12649 LIBS=$ac_check_soname_save_LIBS
12651 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12653 $as_echo "not found" >&6; }
12655 else
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12657 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12659 cat >>confdefs.h <<_ACEOF
12660 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12661 _ACEOF
12663 CURSES_LIBS="-lncurses"
12665 elif test "$ac_cv_header_curses_h" = "yes"
12666 then
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12668 $as_echo_n "checking for -lcurses... " >&6; }
12669 if ${ac_cv_lib_soname_curses+:} false; then :
12670 $as_echo_n "(cached) " >&6
12671 else
12672 ac_check_soname_save_LIBS=$LIBS
12673 LIBS="-lcurses $LIBS"
12674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12675 /* end confdefs.h. */
12677 /* Override any GCC internal prototype to avoid an error.
12678 Use char because int might match the return type of a GCC
12679 builtin and then its argument prototype would still apply. */
12680 #ifdef __cplusplus
12681 extern "C"
12682 #endif
12683 char waddch ();
12685 main ()
12687 return waddch ();
12689 return 0;
12691 _ACEOF
12692 if ac_fn_c_try_link "$LINENO"; then :
12693 case "$LIBEXT" in
12694 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12695 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'` ;;
12696 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12697 if ${ac_cv_lib_soname_curses:+false} :; then :
12698 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12699 fi ;;
12700 esac
12702 rm -f core conftest.err conftest.$ac_objext \
12703 conftest$ac_exeext conftest.$ac_ext
12704 LIBS=$ac_check_soname_save_LIBS
12706 if ${ac_cv_lib_soname_curses:+false} :; then :
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12708 $as_echo "not found" >&6; }
12710 else
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12712 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12714 cat >>confdefs.h <<_ACEOF
12715 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12716 _ACEOF
12718 CURSES_LIBS="-lcurses"
12721 ac_save_LIBS="$LIBS"
12722 LIBS="$LIBS $CURSES_LIBS"
12723 for ac_func in mousemask
12724 do :
12725 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12726 if test "x$ac_cv_func_mousemask" = xyes; then :
12727 cat >>confdefs.h <<_ACEOF
12728 #define HAVE_MOUSEMASK 1
12729 _ACEOF
12732 done
12734 LIBS="$ac_save_LIBS"
12735 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12736 case "x$with_curses" in
12737 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12738 xno) ;;
12739 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12740 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12741 esac
12745 if test "x$with_sane" != "xno"
12746 then
12747 if ${SANE_CFLAGS:+false} :; then :
12748 if ${PKG_CONFIG+:} false; then :
12749 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12752 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12753 if ${SANE_LIBS:+false} :; then :
12754 if ${PKG_CONFIG+:} false; then :
12755 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12758 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12760 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12761 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12762 ac_save_CPPFLAGS=$CPPFLAGS
12763 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12764 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12765 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12767 $as_echo_n "checking for -lsane... " >&6; }
12768 if ${ac_cv_lib_soname_sane+:} false; then :
12769 $as_echo_n "(cached) " >&6
12770 else
12771 ac_check_soname_save_LIBS=$LIBS
12772 LIBS="-lsane $SANE_LIBS $LIBS"
12773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12774 /* end confdefs.h. */
12776 /* Override any GCC internal prototype to avoid an error.
12777 Use char because int might match the return type of a GCC
12778 builtin and then its argument prototype would still apply. */
12779 #ifdef __cplusplus
12780 extern "C"
12781 #endif
12782 char sane_init ();
12784 main ()
12786 return sane_init ();
12788 return 0;
12790 _ACEOF
12791 if ac_fn_c_try_link "$LINENO"; then :
12792 case "$LIBEXT" in
12793 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12794 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'` ;;
12795 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12796 if ${ac_cv_lib_soname_sane:+false} :; then :
12797 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12798 fi ;;
12799 esac
12801 rm -f core conftest.err conftest.$ac_objext \
12802 conftest$ac_exeext conftest.$ac_ext
12803 LIBS=$ac_check_soname_save_LIBS
12805 if ${ac_cv_lib_soname_sane:+false} :; then :
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12807 $as_echo "not found" >&6; }
12808 SANE_CFLAGS=""
12809 else
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12811 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12813 cat >>confdefs.h <<_ACEOF
12814 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12815 _ACEOF
12819 else
12820 SANE_CFLAGS=""
12824 CPPFLAGS=$ac_save_CPPFLAGS
12825 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12826 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12829 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12830 case "x$with_sane" in
12831 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12832 xno) ;;
12833 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12834 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12835 esac
12839 if test "x$with_v4l" != "xno"
12840 then
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12842 $as_echo_n "checking for -lv4l1... " >&6; }
12843 if ${ac_cv_lib_soname_v4l1+:} false; then :
12844 $as_echo_n "(cached) " >&6
12845 else
12846 ac_check_soname_save_LIBS=$LIBS
12847 LIBS="-lv4l1 $LIBS"
12848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12849 /* end confdefs.h. */
12851 /* Override any GCC internal prototype to avoid an error.
12852 Use char because int might match the return type of a GCC
12853 builtin and then its argument prototype would still apply. */
12854 #ifdef __cplusplus
12855 extern "C"
12856 #endif
12857 char v4l1_open ();
12859 main ()
12861 return v4l1_open ();
12863 return 0;
12865 _ACEOF
12866 if ac_fn_c_try_link "$LINENO"; then :
12867 case "$LIBEXT" in
12868 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12869 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'` ;;
12870 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12871 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12872 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12873 fi ;;
12874 esac
12876 rm -f core conftest.err conftest.$ac_objext \
12877 conftest$ac_exeext conftest.$ac_ext
12878 LIBS=$ac_check_soname_save_LIBS
12880 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12882 $as_echo "not found" >&6; }
12884 else
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12886 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12888 cat >>confdefs.h <<_ACEOF
12889 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12890 _ACEOF
12895 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12896 case "x$with_v4l" in
12897 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12898 xno) ;;
12899 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12900 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12901 esac
12905 if test "x$with_gphoto" != "xno"
12906 then
12907 if ${GPHOTO2_CFLAGS:+false} :; then :
12908 if ${PKG_CONFIG+:} false; then :
12909 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12912 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12913 if ${GPHOTO2_LIBS:+false} :; then :
12914 if ${PKG_CONFIG+:} false; then :
12915 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12918 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12919 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12920 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12921 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12922 ac_save_CPPFLAGS=$CPPFLAGS
12923 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12924 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12925 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12927 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12928 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12929 $as_echo_n "(cached) " >&6
12930 else
12931 ac_check_lib_save_LIBS=$LIBS
12932 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12934 /* end confdefs.h. */
12936 /* Override any GCC internal prototype to avoid an error.
12937 Use char because int might match the return type of a GCC
12938 builtin and then its argument prototype would still apply. */
12939 #ifdef __cplusplus
12940 extern "C"
12941 #endif
12942 char gp_camera_new ();
12944 main ()
12946 return gp_camera_new ();
12948 return 0;
12950 _ACEOF
12951 if ac_fn_c_try_link "$LINENO"; then :
12952 ac_cv_lib_gphoto2_gp_camera_new=yes
12953 else
12954 ac_cv_lib_gphoto2_gp_camera_new=no
12956 rm -f core conftest.err conftest.$ac_objext \
12957 conftest$ac_exeext conftest.$ac_ext
12958 LIBS=$ac_check_lib_save_LIBS
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12961 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12962 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12964 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12966 else
12967 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12970 else
12971 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12975 CPPFLAGS=$ac_save_CPPFLAGS
12976 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12977 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12979 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12980 if ${PKG_CONFIG+:} false; then :
12981 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12984 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12985 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12986 if ${PKG_CONFIG+:} false; then :
12987 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12990 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12991 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12992 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12993 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12994 ac_save_CPPFLAGS=$CPPFLAGS
12995 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12996 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12997 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12999 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13000 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13001 $as_echo_n "(cached) " >&6
13002 else
13003 ac_check_lib_save_LIBS=$LIBS
13004 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13006 /* end confdefs.h. */
13008 /* Override any GCC internal prototype to avoid an error.
13009 Use char because int might match the return type of a GCC
13010 builtin and then its argument prototype would still apply. */
13011 #ifdef __cplusplus
13012 extern "C"
13013 #endif
13014 char gp_port_info_list_new ();
13016 main ()
13018 return gp_port_info_list_new ();
13020 return 0;
13022 _ACEOF
13023 if ac_fn_c_try_link "$LINENO"; then :
13024 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13025 else
13026 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13028 rm -f core conftest.err conftest.$ac_objext \
13029 conftest$ac_exeext conftest.$ac_ext
13030 LIBS=$ac_check_lib_save_LIBS
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13033 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13034 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13036 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13038 else
13039 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13042 else
13043 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13047 CPPFLAGS=$ac_save_CPPFLAGS
13048 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13049 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13052 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13053 case "x$with_gphoto" in
13054 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13055 xno) ;;
13056 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13057 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13058 esac
13061 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13062 case "x$with_gphoto" in
13063 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13064 xno) ;;
13065 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13066 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13067 esac
13072 if test "$ac_cv_header_resolv_h" = "yes"
13073 then
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13075 $as_echo_n "checking for resolver library... " >&6; }
13076 if ${ac_cv_have_resolv+:} false; then :
13077 $as_echo_n "(cached) " >&6
13078 else
13079 ac_save_LIBS="$LIBS"
13080 for lib in '' -lresolv
13082 LIBS="$lib $ac_save_LIBS"
13083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13084 /* end confdefs.h. */
13085 #ifdef HAVE_NETINET_IN_H
13086 #include <netinet/in.h>
13087 #endif
13088 #include <resolv.h>
13090 main ()
13092 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13094 return 0;
13096 _ACEOF
13097 if ac_fn_c_try_link "$LINENO"; then :
13098 ac_cv_have_resolv=${lib:-"none required"}
13099 else
13100 ac_cv_have_resolv="not found"
13102 rm -f core conftest.err conftest.$ac_objext \
13103 conftest$ac_exeext conftest.$ac_ext
13104 test "x$ac_cv_have_resolv" = "xnot found" || break
13105 done
13106 LIBS="$ac_save_LIBS"
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13109 $as_echo "$ac_cv_have_resolv" >&6; }
13111 case "$ac_cv_have_resolv" in
13112 "not found") ;;
13113 "none required")
13115 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13118 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13120 RESOLV_LIBS=$ac_cv_have_resolv
13122 esac
13125 if test "x$with_cms" != "xno"
13126 then
13127 if ${LCMS2_CFLAGS:+false} :; then :
13128 if ${PKG_CONFIG+:} false; then :
13129 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
13133 if ${LCMS2_LIBS:+false} :; then :
13134 if ${PKG_CONFIG+:} false; then :
13135 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
13139 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
13140 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
13141 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
13142 ac_save_CPPFLAGS=$CPPFLAGS
13143 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
13144 for ac_header in lcms2.h
13145 do :
13146 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
13147 if test "x$ac_cv_header_lcms2_h" = xyes; then :
13148 cat >>confdefs.h <<_ACEOF
13149 #define HAVE_LCMS2_H 1
13150 _ACEOF
13154 done
13156 if test "$ac_cv_header_lcms2_h" = "yes"
13157 then
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13159 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13160 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13161 $as_echo_n "(cached) " >&6
13162 else
13163 ac_check_lib_save_LIBS=$LIBS
13164 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13166 /* end confdefs.h. */
13168 /* Override any GCC internal prototype to avoid an error.
13169 Use char because int might match the return type of a GCC
13170 builtin and then its argument prototype would still apply. */
13171 #ifdef __cplusplus
13172 extern "C"
13173 #endif
13174 char cmsOpenProfileFromFile ();
13176 main ()
13178 return cmsOpenProfileFromFile ();
13180 return 0;
13182 _ACEOF
13183 if ac_fn_c_try_link "$LINENO"; then :
13184 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13185 else
13186 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13188 rm -f core conftest.err conftest.$ac_objext \
13189 conftest$ac_exeext conftest.$ac_ext
13190 LIBS=$ac_check_lib_save_LIBS
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13193 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13194 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13196 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13198 else
13199 LCMS2_LIBS=""
13202 else
13203 LCMS2_CFLAGS=""
13204 LCMS2_LIBS=""
13206 CPPFLAGS=$ac_save_CPPFLAGS
13207 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13208 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13211 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13212 case "x$with_cms" in
13213 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13214 xno) ;;
13215 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13216 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13217 esac
13221 if test "x$with_freetype" != "xno"
13222 then
13223 if ${FREETYPE_CFLAGS:+false} :; then :
13224 if ${PKG_CONFIG+:} false; then :
13225 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13228 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13229 if ${FREETYPE_LIBS:+false} :; then :
13230 if ${PKG_CONFIG+:} false; then :
13231 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13234 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13235 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13236 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13237 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13238 ac_save_CPPFLAGS=$CPPFLAGS
13239 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13240 for ac_header in ft2build.h
13241 do :
13242 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13243 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13244 cat >>confdefs.h <<_ACEOF
13245 #define HAVE_FT2BUILD_H 1
13246 _ACEOF
13250 done
13252 if test "$ac_cv_header_ft2build_h" = "yes"
13253 then
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13255 $as_echo_n "checking for -lfreetype... " >&6; }
13256 if ${ac_cv_lib_soname_freetype+:} false; then :
13257 $as_echo_n "(cached) " >&6
13258 else
13259 ac_check_soname_save_LIBS=$LIBS
13260 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13262 /* end confdefs.h. */
13264 /* Override any GCC internal prototype to avoid an error.
13265 Use char because int might match the return type of a GCC
13266 builtin and then its argument prototype would still apply. */
13267 #ifdef __cplusplus
13268 extern "C"
13269 #endif
13270 char FT_Init_FreeType ();
13272 main ()
13274 return FT_Init_FreeType ();
13276 return 0;
13278 _ACEOF
13279 if ac_fn_c_try_link "$LINENO"; then :
13280 case "$LIBEXT" in
13281 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13282 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'` ;;
13283 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13284 if ${ac_cv_lib_soname_freetype:+false} :; then :
13285 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13286 fi ;;
13287 esac
13289 rm -f core conftest.err conftest.$ac_objext \
13290 conftest$ac_exeext conftest.$ac_ext
13291 LIBS=$ac_check_soname_save_LIBS
13293 if ${ac_cv_lib_soname_freetype:+false} :; then :
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13295 $as_echo "not found" >&6; }
13296 FREETYPE_LIBS=""
13297 else
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13299 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13301 cat >>confdefs.h <<_ACEOF
13302 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13303 _ACEOF
13306 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13308 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13309 #include FT_MODULE_H
13311 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13313 cat >>confdefs.h <<_ACEOF
13314 #define HAVE_FT_TRUETYPEENGINETYPE 1
13315 _ACEOF
13321 else
13322 FREETYPE_CFLAGS=""
13323 FREETYPE_LIBS=""
13325 CPPFLAGS=$ac_save_CPPFLAGS
13326 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13327 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13330 if test "x$ac_cv_lib_soname_freetype" = x; then :
13331 case "x$with_freetype" in
13332 xno) ;;
13333 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13334 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13335 esac
13336 enable_fonts=${enable_fonts:-no}
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13340 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13341 if ${ac_cv_c_ppdev+:} false; then :
13342 $as_echo_n "(cached) " >&6
13343 else
13344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13345 /* end confdefs.h. */
13346 #ifdef HAVE_SYS_IOCTL_H
13347 # include <sys/ioctl.h>
13348 #endif
13349 #include <linux/ppdev.h>
13351 main ()
13353 ioctl (1,PPCLAIM,0)
13355 return 0;
13357 _ACEOF
13358 if ac_fn_c_try_compile "$LINENO"; then :
13359 ac_cv_c_ppdev="yes"
13360 else
13361 ac_cv_c_ppdev="no"
13363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13366 $as_echo "$ac_cv_c_ppdev" >&6; }
13367 if test "$ac_cv_c_ppdev" = "yes"
13368 then
13370 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13374 ac_wine_check_funcs_save_LIBS="$LIBS"
13375 LIBS="$LIBS $PTHREAD_LIBS"
13376 for ac_func in \
13377 pthread_attr_get_np \
13378 pthread_getattr_np \
13379 pthread_getthreadid_np \
13380 pthread_get_stackaddr_np \
13381 pthread_get_stacksize_np
13382 do :
13383 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13384 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13385 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13386 cat >>confdefs.h <<_ACEOF
13387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13388 _ACEOF
13391 done
13393 LIBS="$ac_wine_check_funcs_save_LIBS"
13395 if test "$ac_cv_header_zlib_h" = "yes"
13396 then
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13398 $as_echo_n "checking for inflate in -lz... " >&6; }
13399 if ${ac_cv_lib_z_inflate+:} false; then :
13400 $as_echo_n "(cached) " >&6
13401 else
13402 ac_check_lib_save_LIBS=$LIBS
13403 LIBS="-lz $LIBS"
13404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13405 /* end confdefs.h. */
13407 /* Override any GCC internal prototype to avoid an error.
13408 Use char because int might match the return type of a GCC
13409 builtin and then its argument prototype would still apply. */
13410 #ifdef __cplusplus
13411 extern "C"
13412 #endif
13413 char inflate ();
13415 main ()
13417 return inflate ();
13419 return 0;
13421 _ACEOF
13422 if ac_fn_c_try_link "$LINENO"; then :
13423 ac_cv_lib_z_inflate=yes
13424 else
13425 ac_cv_lib_z_inflate=no
13427 rm -f core conftest.err conftest.$ac_objext \
13428 conftest$ac_exeext conftest.$ac_ext
13429 LIBS=$ac_check_lib_save_LIBS
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13432 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13433 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13435 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13437 Z_LIBS="-lz"
13442 if test "x$Z_LIBS" = "x"; then :
13443 case "x$with_zlib" in
13444 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13445 xno) ;;
13446 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13447 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13448 esac
13452 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13453 then
13454 if test "$ac_cv_header_gettext_po_h" = "yes"
13455 then
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13457 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13458 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13459 $as_echo_n "(cached) " >&6
13460 else
13461 ac_check_lib_save_LIBS=$LIBS
13462 LIBS="-lgettextpo $LIBS"
13463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13464 /* end confdefs.h. */
13466 /* Override any GCC internal prototype to avoid an error.
13467 Use char because int might match the return type of a GCC
13468 builtin and then its argument prototype would still apply. */
13469 #ifdef __cplusplus
13470 extern "C"
13471 #endif
13472 char po_message_msgctxt ();
13474 main ()
13476 return po_message_msgctxt ();
13478 return 0;
13480 _ACEOF
13481 if ac_fn_c_try_link "$LINENO"; then :
13482 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13483 else
13484 ac_cv_lib_gettextpo_po_message_msgctxt=no
13486 rm -f core conftest.err conftest.$ac_objext \
13487 conftest$ac_exeext conftest.$ac_ext
13488 LIBS=$ac_check_lib_save_LIBS
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13491 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13492 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13494 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13496 GETTEXTPO_LIBS="-lgettextpo"
13501 if test "x$GETTEXTPO_LIBS" = "x"; then :
13502 case "x$with_gettextpo" in
13503 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13504 xno) ;;
13505 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13506 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13507 esac
13510 if test "$srcdir" != .; then :
13511 case "x$with_gettextpo" in
13512 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13513 xno) ;;
13514 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13515 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13516 esac
13521 if test "x$with_pulse" != "xno";
13522 then
13523 if ${PULSE_CFLAGS:+false} :; then :
13524 if ${PKG_CONFIG+:} false; then :
13525 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13529 if ${PULSE_LIBS:+false} :; then :
13530 if ${PKG_CONFIG+:} false; then :
13531 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13536 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13537 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13538 ac_save_CPPFLAGS=$CPPFLAGS
13539 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13540 for ac_header in pulse/pulseaudio.h
13541 do :
13542 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13543 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13544 cat >>confdefs.h <<_ACEOF
13545 #define HAVE_PULSE_PULSEAUDIO_H 1
13546 _ACEOF
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13548 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13549 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13550 $as_echo_n "(cached) " >&6
13551 else
13552 ac_check_lib_save_LIBS=$LIBS
13553 LIBS="-lpulse $PULSE_LIBS $LIBS"
13554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */
13557 /* Override any GCC internal prototype to avoid an error.
13558 Use char because int might match the return type of a GCC
13559 builtin and then its argument prototype would still apply. */
13560 #ifdef __cplusplus
13561 extern "C"
13562 #endif
13563 char pa_stream_is_corked ();
13565 main ()
13567 return pa_stream_is_corked ();
13569 return 0;
13571 _ACEOF
13572 if ac_fn_c_try_link "$LINENO"; then :
13573 ac_cv_lib_pulse_pa_stream_is_corked=yes
13574 else
13575 ac_cv_lib_pulse_pa_stream_is_corked=no
13577 rm -f core conftest.err conftest.$ac_objext \
13578 conftest$ac_exeext conftest.$ac_ext
13579 LIBS=$ac_check_lib_save_LIBS
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13582 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13583 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13585 else
13586 PULSE_LIBS=""
13589 else
13590 PULSE_LIBS=""
13593 done
13595 CPPFLAGS=$ac_save_CPPFLAGS
13596 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13597 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13600 if test -z "$PULSE_LIBS"; then :
13601 case "x$with_pulse" in
13602 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13603 xno) ;;
13604 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13605 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13606 esac
13607 enable_winepulse_drv=${enable_winepulse_drv:-no}
13610 if test "x$with_gstreamer" != "xno"
13611 then
13612 if ${GSTREAMER_CFLAGS:+false} :; then :
13613 if ${PKG_CONFIG+:} false; then :
13614 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13618 if ${GSTREAMER_LIBS:+false} :; then :
13619 if ${PKG_CONFIG+:} false; then :
13620 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13625 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13626 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13627 ac_save_CPPFLAGS=$CPPFLAGS
13628 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13629 ac_gst_incl=""
13630 for i in $GSTREAMER_CFLAGS
13632 case "$i" in
13633 -I*) ac_gst_incl="$ac_gst_incl $i";;
13634 esac
13635 done
13636 GSTREAMER_CFLAGS=$ac_gst_incl
13637 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13638 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13639 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13641 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13643 /* end confdefs.h. */
13644 #include <gst/gst.h>
13646 main ()
13648 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13650 return 0;
13652 _ACEOF
13653 if ac_fn_c_try_compile "$LINENO"; then :
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13655 $as_echo "yes" >&6; }
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13657 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13658 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13659 $as_echo_n "(cached) " >&6
13660 else
13661 ac_check_lib_save_LIBS=$LIBS
13662 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13664 /* end confdefs.h. */
13666 /* Override any GCC internal prototype to avoid an error.
13667 Use char because int might match the return type of a GCC
13668 builtin and then its argument prototype would still apply. */
13669 #ifdef __cplusplus
13670 extern "C"
13671 #endif
13672 char gst_pad_new ();
13674 main ()
13676 return gst_pad_new ();
13678 return 0;
13680 _ACEOF
13681 if ac_fn_c_try_link "$LINENO"; then :
13682 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13683 else
13684 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13686 rm -f core conftest.err conftest.$ac_objext \
13687 conftest$ac_exeext conftest.$ac_ext
13688 LIBS=$ac_check_lib_save_LIBS
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13691 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13692 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13696 else
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13698 $as_echo "no" >&6; }
13699 ac_glib2_broken=yes
13700 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13706 CPPFLAGS=$ac_save_CPPFLAGS
13707 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13708 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13711 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 :
13712 case "x$with_gstreamer" in
13713 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13714 xno) ;;
13715 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13716 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13717 esac
13720 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13722 ALSA_LIBS=""
13724 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13725 then
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13727 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13728 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13729 $as_echo_n "(cached) " >&6
13730 else
13731 ac_check_lib_save_LIBS=$LIBS
13732 LIBS="-lasound $LIBS"
13733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13734 /* end confdefs.h. */
13736 /* Override any GCC internal prototype to avoid an error.
13737 Use char because int might match the return type of a GCC
13738 builtin and then its argument prototype would still apply. */
13739 #ifdef __cplusplus
13740 extern "C"
13741 #endif
13742 char snd_pcm_hw_params_get_access_mask ();
13744 main ()
13746 return snd_pcm_hw_params_get_access_mask ();
13748 return 0;
13750 _ACEOF
13751 if ac_fn_c_try_link "$LINENO"; then :
13752 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13753 else
13754 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13756 rm -f core conftest.err conftest.$ac_objext \
13757 conftest$ac_exeext conftest.$ac_ext
13758 LIBS=$ac_check_lib_save_LIBS
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13761 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13762 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13764 /* end confdefs.h. */
13765 #ifdef HAVE_ALSA_ASOUNDLIB_H
13766 #include <alsa/asoundlib.h>
13767 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13768 #include <sys/asoundlib.h>
13769 #endif
13771 main ()
13773 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13775 return 0;
13777 _ACEOF
13778 if ac_fn_c_try_compile "$LINENO"; then :
13779 ALSA_LIBS="-lasound"
13781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13785 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13787 if test "x$with_oss" != xno
13788 then
13789 ac_save_CPPFLAGS="$CPPFLAGS"
13790 if test -f /etc/oss.conf
13791 then
13792 . /etc/oss.conf
13794 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13795 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13796 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13797 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13798 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13800 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13802 cat >>confdefs.h <<_ACEOF
13803 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13804 _ACEOF
13806 OSS4_CFLAGS="$ac_oss_incl"
13813 CPPFLAGS="$ac_save_CPPFLAGS"
13815 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13816 case "x$with_oss" in
13817 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13818 xno) ;;
13819 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13820 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13821 esac
13822 enable_wineoss_drv=${enable_wineoss_drv:-no}
13825 if test "x$with_udev" != "xno"
13826 then
13827 if ${UDEV_CFLAGS:+false} :; then :
13828 if ${PKG_CONFIG+:} false; then :
13829 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13833 if ${UDEV_LIBS:+false} :; then :
13834 if ${PKG_CONFIG+:} false; then :
13835 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13839 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13840 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13841 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13842 ac_save_CPPFLAGS=$CPPFLAGS
13843 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13844 for ac_header in libudev.h
13845 do :
13846 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13847 if test "x$ac_cv_header_libudev_h" = xyes; then :
13848 cat >>confdefs.h <<_ACEOF
13849 #define HAVE_LIBUDEV_H 1
13850 _ACEOF
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13852 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13853 if ${ac_cv_lib_udev_udev_new+:} false; then :
13854 $as_echo_n "(cached) " >&6
13855 else
13856 ac_check_lib_save_LIBS=$LIBS
13857 LIBS="-ludev $UDEV_LIBS $LIBS"
13858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13859 /* end confdefs.h. */
13861 /* Override any GCC internal prototype to avoid an error.
13862 Use char because int might match the return type of a GCC
13863 builtin and then its argument prototype would still apply. */
13864 #ifdef __cplusplus
13865 extern "C"
13866 #endif
13867 char udev_new ();
13869 main ()
13871 return udev_new ();
13873 return 0;
13875 _ACEOF
13876 if ac_fn_c_try_link "$LINENO"; then :
13877 ac_cv_lib_udev_udev_new=yes
13878 else
13879 ac_cv_lib_udev_udev_new=no
13881 rm -f core conftest.err conftest.$ac_objext \
13882 conftest$ac_exeext conftest.$ac_ext
13883 LIBS=$ac_check_lib_save_LIBS
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13886 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13887 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13889 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13891 else
13892 UDEV_LIBS=""
13895 else
13896 UDEV_LIBS=""
13899 done
13901 CPPFLAGS=$ac_save_CPPFLAGS
13902 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13903 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13906 if test "x$UDEV_LIBS" = "x"; then :
13907 case "x$with_udev" in
13908 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13909 xno) ;;
13910 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13911 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13912 esac
13916 if test "x$with_sdl" != "xno"
13917 then
13918 if ${SDL2_CFLAGS:+false} :; then :
13919 if ${PKG_CONFIG+:} false; then :
13920 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13924 if ${SDL2_LIBS:+false} :; then :
13925 if ${PKG_CONFIG+:} false; then :
13926 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13930 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13931 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13932 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13933 ac_save_CPPFLAGS=$CPPFLAGS
13934 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13935 for ac_header in SDL2/SDL.h
13936 do :
13937 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13938 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13939 cat >>confdefs.h <<_ACEOF
13940 #define HAVE_SDL2_SDL_H 1
13941 _ACEOF
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13943 $as_echo_n "checking for -lSDL2... " >&6; }
13944 if ${ac_cv_lib_soname_SDL2+:} false; then :
13945 $as_echo_n "(cached) " >&6
13946 else
13947 ac_check_soname_save_LIBS=$LIBS
13948 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
13949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13950 /* end confdefs.h. */
13952 /* Override any GCC internal prototype to avoid an error.
13953 Use char because int might match the return type of a GCC
13954 builtin and then its argument prototype would still apply. */
13955 #ifdef __cplusplus
13956 extern "C"
13957 #endif
13958 char SDL_Init ();
13960 main ()
13962 return SDL_Init ();
13964 return 0;
13966 _ACEOF
13967 if ac_fn_c_try_link "$LINENO"; then :
13968 case "$LIBEXT" in
13969 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13970 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'` ;;
13971 *) 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'`
13972 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13973 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13974 fi ;;
13975 esac
13977 rm -f core conftest.err conftest.$ac_objext \
13978 conftest$ac_exeext conftest.$ac_ext
13979 LIBS=$ac_check_soname_save_LIBS
13981 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13983 $as_echo "not found" >&6; }
13985 else
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13987 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13989 cat >>confdefs.h <<_ACEOF
13990 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13991 _ACEOF
13997 done
13999 CPPFLAGS=$ac_save_CPPFLAGS
14000 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14001 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14004 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14005 case "x$with_sdl" in
14006 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14007 xno) ;;
14008 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14009 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14010 esac
14014 if test "x$with_faudio" != "xno"
14015 then
14016 if ${FAUDIO_CFLAGS:+false} :; then :
14017 if ${PKG_CONFIG+:} false; then :
14018 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
14022 if ${FAUDIO_LIBS:+false} :; then :
14023 if ${PKG_CONFIG+:} false; then :
14024 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
14028 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
14029 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
14030 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
14031 ac_save_CPPFLAGS=$CPPFLAGS
14032 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
14033 for ac_header in FAudio.h
14034 do :
14035 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
14036 if test "x$ac_cv_header_FAudio_h" = xyes; then :
14037 cat >>confdefs.h <<_ACEOF
14038 #define HAVE_FAUDIO_H 1
14039 _ACEOF
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
14041 $as_echo_n "checking for -lFAudio... " >&6; }
14042 if ${ac_cv_lib_soname_FAudio+:} false; then :
14043 $as_echo_n "(cached) " >&6
14044 else
14045 ac_check_soname_save_LIBS=$LIBS
14046 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
14047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14050 /* Override any GCC internal prototype to avoid an error.
14051 Use char because int might match the return type of a GCC
14052 builtin and then its argument prototype would still apply. */
14053 #ifdef __cplusplus
14054 extern "C"
14055 #endif
14056 char FAudioCreate ();
14058 main ()
14060 return FAudioCreate ();
14062 return 0;
14064 _ACEOF
14065 if ac_fn_c_try_link "$LINENO"; then :
14066 case "$LIBEXT" in
14067 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14068 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'` ;;
14069 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14070 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14071 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14072 fi ;;
14073 esac
14075 rm -f core conftest.err conftest.$ac_objext \
14076 conftest$ac_exeext conftest.$ac_ext
14077 LIBS=$ac_check_soname_save_LIBS
14079 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14081 $as_echo "not found" >&6; }
14083 else
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
14085 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
14087 cat >>confdefs.h <<_ACEOF
14088 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
14089 _ACEOF
14095 done
14097 CPPFLAGS=$ac_save_CPPFLAGS
14098 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14099 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14102 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
14103 case "x$with_faudio" in
14104 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
14105 xno) ;;
14106 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
14107 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
14108 esac
14112 if test "x$with_capi" != "xno"
14113 then
14114 if ${CAPI20_CFLAGS:+false} :; then :
14115 if ${PKG_CONFIG+:} false; then :
14116 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
14120 if ${CAPI20_LIBS:+false} :; then :
14121 if ${PKG_CONFIG+:} false; then :
14122 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
14127 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
14128 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
14129 ac_save_CPPFLAGS=$CPPFLAGS
14130 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
14131 for ac_header in capi20.h linux/capi.h
14132 do :
14133 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14134 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
14136 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14137 cat >>confdefs.h <<_ACEOF
14138 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14139 _ACEOF
14143 done
14145 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14146 then
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
14148 $as_echo_n "checking for -lcapi20... " >&6; }
14149 if ${ac_cv_lib_soname_capi20+:} false; then :
14150 $as_echo_n "(cached) " >&6
14151 else
14152 ac_check_soname_save_LIBS=$LIBS
14153 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
14154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14157 /* Override any GCC internal prototype to avoid an error.
14158 Use char because int might match the return type of a GCC
14159 builtin and then its argument prototype would still apply. */
14160 #ifdef __cplusplus
14161 extern "C"
14162 #endif
14163 char capi20_register ();
14165 main ()
14167 return capi20_register ();
14169 return 0;
14171 _ACEOF
14172 if ac_fn_c_try_link "$LINENO"; then :
14173 case "$LIBEXT" in
14174 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14175 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'` ;;
14176 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14177 if ${ac_cv_lib_soname_capi20:+false} :; then :
14178 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14179 fi ;;
14180 esac
14182 rm -f core conftest.err conftest.$ac_objext \
14183 conftest$ac_exeext conftest.$ac_ext
14184 LIBS=$ac_check_soname_save_LIBS
14186 if ${ac_cv_lib_soname_capi20:+false} :; then :
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14188 $as_echo "not found" >&6; }
14190 else
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
14192 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
14194 cat >>confdefs.h <<_ACEOF
14195 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14196 _ACEOF
14201 CPPFLAGS=$ac_save_CPPFLAGS
14202 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14203 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14206 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
14207 case "x$with_capi" in
14208 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
14209 xno) ;;
14210 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
14211 This is an error since --with-capi was requested." "$LINENO" 5 ;;
14212 esac
14216 if test "x$with_cups" != "xno"
14217 then
14218 if ${CUPS_CFLAGS:+false} :; then :
14219 if ${PKG_CONFIG+:} false; then :
14220 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
14223 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
14224 if ${CUPS_LIBS:+false} :; then :
14225 if ${PKG_CONFIG+:} false; then :
14226 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
14229 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
14230 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
14231 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
14232 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
14233 ac_save_CPPFLAGS=$CPPFLAGS
14234 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
14235 for ac_header in cups/cups.h cups/ppd.h
14236 do :
14237 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14238 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14239 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14240 cat >>confdefs.h <<_ACEOF
14241 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14242 _ACEOF
14246 done
14248 if test "$ac_cv_header_cups_cups_h" = "yes"
14249 then
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14251 $as_echo_n "checking for -lcups... " >&6; }
14252 if ${ac_cv_lib_soname_cups+:} false; then :
14253 $as_echo_n "(cached) " >&6
14254 else
14255 ac_check_soname_save_LIBS=$LIBS
14256 LIBS="-lcups $CUPS_LIBS $LIBS"
14257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14260 /* Override any GCC internal prototype to avoid an error.
14261 Use char because int might match the return type of a GCC
14262 builtin and then its argument prototype would still apply. */
14263 #ifdef __cplusplus
14264 extern "C"
14265 #endif
14266 char cupsGetDefault ();
14268 main ()
14270 return cupsGetDefault ();
14272 return 0;
14274 _ACEOF
14275 if ac_fn_c_try_link "$LINENO"; then :
14276 case "$LIBEXT" in
14277 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14278 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'` ;;
14279 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14280 if ${ac_cv_lib_soname_cups:+false} :; then :
14281 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14282 fi ;;
14283 esac
14285 rm -f core conftest.err conftest.$ac_objext \
14286 conftest$ac_exeext conftest.$ac_ext
14287 LIBS=$ac_check_soname_save_LIBS
14289 if ${ac_cv_lib_soname_cups:+false} :; then :
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14291 $as_echo "not found" >&6; }
14292 CUPS_LIBS=""
14293 else
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14295 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14297 cat >>confdefs.h <<_ACEOF
14298 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14299 _ACEOF
14303 else
14304 CUPS_CFLAGS=""
14305 CUPS_LIBS=""
14307 CPPFLAGS=$ac_save_CPPFLAGS
14308 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14309 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14312 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14313 case "x$with_cups" in
14314 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14315 xno) ;;
14316 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14317 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14318 esac
14322 if test "x$with_fontconfig" != "xno"
14323 then
14324 if ${FONTCONFIG_CFLAGS:+false} :; then :
14325 if ${PKG_CONFIG+:} false; then :
14326 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14329 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14330 if ${FONTCONFIG_LIBS:+false} :; then :
14331 if ${PKG_CONFIG+:} false; then :
14332 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14335 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14337 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14338 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14339 ac_save_CPPFLAGS=$CPPFLAGS
14340 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14341 for ac_header in fontconfig/fontconfig.h
14342 do :
14343 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14344 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14345 cat >>confdefs.h <<_ACEOF
14346 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14347 _ACEOF
14351 done
14353 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14354 then
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14356 $as_echo_n "checking for -lfontconfig... " >&6; }
14357 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14358 $as_echo_n "(cached) " >&6
14359 else
14360 ac_check_soname_save_LIBS=$LIBS
14361 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14365 /* Override any GCC internal prototype to avoid an error.
14366 Use char because int might match the return type of a GCC
14367 builtin and then its argument prototype would still apply. */
14368 #ifdef __cplusplus
14369 extern "C"
14370 #endif
14371 char FcInit ();
14373 main ()
14375 return FcInit ();
14377 return 0;
14379 _ACEOF
14380 if ac_fn_c_try_link "$LINENO"; then :
14381 case "$LIBEXT" in
14382 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14383 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'` ;;
14384 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14385 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14386 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14387 fi ;;
14388 esac
14390 rm -f core conftest.err conftest.$ac_objext \
14391 conftest$ac_exeext conftest.$ac_ext
14392 LIBS=$ac_check_soname_save_LIBS
14394 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14396 $as_echo "not found" >&6; }
14397 FONTCONFIG_CFLAGS=""
14398 else
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14400 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14402 cat >>confdefs.h <<_ACEOF
14403 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14404 _ACEOF
14408 else
14409 FONTCONFIG_CFLAGS=""
14411 CPPFLAGS=$ac_save_CPPFLAGS
14412 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14413 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14416 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14417 case "x$with_fontconfig" in
14418 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14419 xno) ;;
14420 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14421 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14422 esac
14426 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14427 then
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14429 $as_echo_n "checking for -lgsm... " >&6; }
14430 if ${ac_cv_lib_soname_gsm+:} false; then :
14431 $as_echo_n "(cached) " >&6
14432 else
14433 ac_check_soname_save_LIBS=$LIBS
14434 LIBS="-lgsm $LIBS"
14435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14436 /* end confdefs.h. */
14438 /* Override any GCC internal prototype to avoid an error.
14439 Use char because int might match the return type of a GCC
14440 builtin and then its argument prototype would still apply. */
14441 #ifdef __cplusplus
14442 extern "C"
14443 #endif
14444 char gsm_create ();
14446 main ()
14448 return gsm_create ();
14450 return 0;
14452 _ACEOF
14453 if ac_fn_c_try_link "$LINENO"; then :
14454 case "$LIBEXT" in
14455 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14456 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'` ;;
14457 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14458 if ${ac_cv_lib_soname_gsm:+false} :; then :
14459 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14460 fi ;;
14461 esac
14463 rm -f core conftest.err conftest.$ac_objext \
14464 conftest$ac_exeext conftest.$ac_ext
14465 LIBS=$ac_check_soname_save_LIBS
14467 if ${ac_cv_lib_soname_gsm:+false} :; then :
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14469 $as_echo "not found" >&6; }
14471 else
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14473 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14475 cat >>confdefs.h <<_ACEOF
14476 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14477 _ACEOF
14482 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14483 case "x$with_gsm" in
14484 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14485 xno) ;;
14486 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14487 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14488 esac
14492 if test "x$with_krb5" != "xno"
14493 then
14494 if ${KRB5_CFLAGS:+false} :; then :
14495 if ${PKG_CONFIG+:} false; then :
14496 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14499 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14500 if ${KRB5_LIBS:+false} :; then :
14501 if ${PKG_CONFIG+:} false; then :
14502 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14505 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14507 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14508 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14509 ac_save_CPPFLAGS=$CPPFLAGS
14510 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14511 for ac_header in krb5/krb5.h
14512 do :
14513 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14514 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14515 cat >>confdefs.h <<_ACEOF
14516 #define HAVE_KRB5_KRB5_H 1
14517 _ACEOF
14521 done
14523 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14524 then
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14526 $as_echo_n "checking for -lkrb5... " >&6; }
14527 if ${ac_cv_lib_soname_krb5+:} false; then :
14528 $as_echo_n "(cached) " >&6
14529 else
14530 ac_check_soname_save_LIBS=$LIBS
14531 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14533 /* end confdefs.h. */
14535 /* Override any GCC internal prototype to avoid an error.
14536 Use char because int might match the return type of a GCC
14537 builtin and then its argument prototype would still apply. */
14538 #ifdef __cplusplus
14539 extern "C"
14540 #endif
14541 char krb5_is_config_principal ();
14543 main ()
14545 return krb5_is_config_principal ();
14547 return 0;
14549 _ACEOF
14550 if ac_fn_c_try_link "$LINENO"; then :
14551 case "$LIBEXT" in
14552 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14553 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'` ;;
14554 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14555 if ${ac_cv_lib_soname_krb5:+false} :; then :
14556 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14557 fi ;;
14558 esac
14560 rm -f core conftest.err conftest.$ac_objext \
14561 conftest$ac_exeext conftest.$ac_ext
14562 LIBS=$ac_check_soname_save_LIBS
14564 if ${ac_cv_lib_soname_krb5:+false} :; then :
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14566 $as_echo "not found" >&6; }
14567 KRB5_CFLAGS=""
14568 else
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14570 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14572 cat >>confdefs.h <<_ACEOF
14573 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14574 _ACEOF
14578 else
14579 KRB5_CFLAGS=""
14581 CPPFLAGS=$ac_save_CPPFLAGS
14582 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14583 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14585 else
14586 with_gssapi=${with_gssapi:-no}
14588 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14589 case "x$with_krb5" in
14590 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14591 xno) ;;
14592 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14593 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14594 esac
14598 if test "x$with_gssapi" != "xno"
14599 then
14600 if ${GSSAPI_CFLAGS:+false} :; then :
14601 if ${PKG_CONFIG+:} false; then :
14602 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14605 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14606 if ${GSSAPI_LIBS:+false} :; then :
14607 if ${PKG_CONFIG+:} false; then :
14608 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14611 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14613 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14614 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14615 ac_save_CPPFLAGS=$CPPFLAGS
14616 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14617 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14618 do :
14619 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14620 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14621 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14622 cat >>confdefs.h <<_ACEOF
14623 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14624 _ACEOF
14628 done
14630 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14631 then
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14633 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14634 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14635 $as_echo_n "(cached) " >&6
14636 else
14637 ac_check_soname_save_LIBS=$LIBS
14638 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14640 /* end confdefs.h. */
14642 /* Override any GCC internal prototype to avoid an error.
14643 Use char because int might match the return type of a GCC
14644 builtin and then its argument prototype would still apply. */
14645 #ifdef __cplusplus
14646 extern "C"
14647 #endif
14648 char gss_init_sec_context ();
14650 main ()
14652 return gss_init_sec_context ();
14654 return 0;
14656 _ACEOF
14657 if ac_fn_c_try_link "$LINENO"; then :
14658 case "$LIBEXT" in
14659 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14660 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'` ;;
14661 *) 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'`
14662 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14663 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14664 fi ;;
14665 esac
14667 rm -f core conftest.err conftest.$ac_objext \
14668 conftest$ac_exeext conftest.$ac_ext
14669 LIBS=$ac_check_soname_save_LIBS
14671 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14673 $as_echo "not found" >&6; }
14674 GSSAPI_CFLAGS=""
14675 else
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14677 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14679 cat >>confdefs.h <<_ACEOF
14680 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14681 _ACEOF
14685 else
14686 GSSAPI_CFLAGS=""
14688 CPPFLAGS=$ac_save_CPPFLAGS
14689 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14690 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14693 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14694 case "x$with_gssapi" in
14695 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14696 xno) ;;
14697 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14698 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14699 esac
14703 if test "x$with_jpeg" != "xno"
14704 then
14705 if ${JPEG_CFLAGS:+false} :; then :
14706 if ${PKG_CONFIG+:} false; then :
14707 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14711 if ${JPEG_LIBS:+false} :; then :
14712 if ${PKG_CONFIG+:} false; then :
14713 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14718 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14719 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14720 ac_save_CPPFLAGS=$CPPFLAGS
14721 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14722 for ac_header in jpeglib.h
14723 do :
14724 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14725 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14726 cat >>confdefs.h <<_ACEOF
14727 #define HAVE_JPEGLIB_H 1
14728 _ACEOF
14732 done
14734 if test "$ac_cv_header_jpeglib_h" = "yes"
14735 then
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14737 $as_echo_n "checking for -ljpeg... " >&6; }
14738 if ${ac_cv_lib_soname_jpeg+:} false; then :
14739 $as_echo_n "(cached) " >&6
14740 else
14741 ac_check_soname_save_LIBS=$LIBS
14742 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14744 /* end confdefs.h. */
14746 /* Override any GCC internal prototype to avoid an error.
14747 Use char because int might match the return type of a GCC
14748 builtin and then its argument prototype would still apply. */
14749 #ifdef __cplusplus
14750 extern "C"
14751 #endif
14752 char jpeg_start_decompress ();
14754 main ()
14756 return jpeg_start_decompress ();
14758 return 0;
14760 _ACEOF
14761 if ac_fn_c_try_link "$LINENO"; then :
14762 case "$LIBEXT" in
14763 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14764 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'` ;;
14765 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14766 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14767 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14768 fi ;;
14769 esac
14771 rm -f core conftest.err conftest.$ac_objext \
14772 conftest$ac_exeext conftest.$ac_ext
14773 LIBS=$ac_check_soname_save_LIBS
14775 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14777 $as_echo "not found" >&6; }
14778 JPEG_CFLAGS=""
14779 else
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14781 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14783 cat >>confdefs.h <<_ACEOF
14784 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14785 _ACEOF
14789 else
14790 JPEG_CFLAGS=""
14792 CPPFLAGS=$ac_save_CPPFLAGS
14793 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14794 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14797 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14798 case "x$with_jpeg" in
14799 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14800 xno) ;;
14801 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14802 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14803 esac
14807 if test "x$with_png" != "xno"
14808 then
14809 if ${PNG_CFLAGS:+false} :; then :
14810 if ${PKG_CONFIG+:} false; then :
14811 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14814 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14815 if ${PNG_LIBS:+false} :; then :
14816 if ${PKG_CONFIG+:} false; then :
14817 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14820 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14822 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14823 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14824 ac_save_CPPFLAGS=$CPPFLAGS
14825 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14826 for ac_header in png.h
14827 do :
14828 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14829 if test "x$ac_cv_header_png_h" = xyes; then :
14830 cat >>confdefs.h <<_ACEOF
14831 #define HAVE_PNG_H 1
14832 _ACEOF
14836 done
14838 if test "$ac_cv_header_png_h" = "yes"
14839 then
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14841 $as_echo_n "checking for -lpng... " >&6; }
14842 if ${ac_cv_lib_soname_png+:} false; then :
14843 $as_echo_n "(cached) " >&6
14844 else
14845 ac_check_soname_save_LIBS=$LIBS
14846 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14850 /* Override any GCC internal prototype to avoid an error.
14851 Use char because int might match the return type of a GCC
14852 builtin and then its argument prototype would still apply. */
14853 #ifdef __cplusplus
14854 extern "C"
14855 #endif
14856 char png_create_read_struct ();
14858 main ()
14860 return png_create_read_struct ();
14862 return 0;
14864 _ACEOF
14865 if ac_fn_c_try_link "$LINENO"; then :
14866 case "$LIBEXT" in
14867 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14868 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'` ;;
14869 *) 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'`
14870 if ${ac_cv_lib_soname_png:+false} :; then :
14871 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14872 fi ;;
14873 esac
14875 rm -f core conftest.err conftest.$ac_objext \
14876 conftest$ac_exeext conftest.$ac_ext
14877 LIBS=$ac_check_soname_save_LIBS
14879 if ${ac_cv_lib_soname_png:+false} :; then :
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14881 $as_echo "not found" >&6; }
14882 PNG_CFLAGS=""
14883 else
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14885 $as_echo "$ac_cv_lib_soname_png" >&6; }
14887 cat >>confdefs.h <<_ACEOF
14888 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14889 _ACEOF
14893 else
14894 PNG_CFLAGS=""
14896 CPPFLAGS=$ac_save_CPPFLAGS
14897 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14898 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14901 if test "x$ac_cv_lib_soname_png" = "x"; then :
14902 case "x$with_png" in
14903 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14904 xno) ;;
14905 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14906 This is an error since --with-png was requested." "$LINENO" 5 ;;
14907 esac
14911 if test "x$with_tiff" != "xno"
14912 then
14913 if ${TIFF_CFLAGS:+false} :; then :
14914 if ${PKG_CONFIG+:} false; then :
14915 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14919 if ${TIFF_LIBS:+false} :; then :
14920 if ${PKG_CONFIG+:} false; then :
14921 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14926 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14927 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14928 ac_save_CPPFLAGS=$CPPFLAGS
14929 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14930 for ac_header in tiffio.h
14931 do :
14932 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14933 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14934 cat >>confdefs.h <<_ACEOF
14935 #define HAVE_TIFFIO_H 1
14936 _ACEOF
14940 done
14942 if test "$ac_cv_header_tiffio_h" = "yes"
14943 then
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14945 $as_echo_n "checking for -ltiff... " >&6; }
14946 if ${ac_cv_lib_soname_tiff+:} false; then :
14947 $as_echo_n "(cached) " >&6
14948 else
14949 ac_check_soname_save_LIBS=$LIBS
14950 LIBS="-ltiff $TIFF_LIBS $LIBS"
14951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14952 /* end confdefs.h. */
14954 /* Override any GCC internal prototype to avoid an error.
14955 Use char because int might match the return type of a GCC
14956 builtin and then its argument prototype would still apply. */
14957 #ifdef __cplusplus
14958 extern "C"
14959 #endif
14960 char TIFFClientOpen ();
14962 main ()
14964 return TIFFClientOpen ();
14966 return 0;
14968 _ACEOF
14969 if ac_fn_c_try_link "$LINENO"; then :
14970 case "$LIBEXT" in
14971 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14972 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'` ;;
14973 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14974 if ${ac_cv_lib_soname_tiff:+false} :; then :
14975 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14976 fi ;;
14977 esac
14979 rm -f core conftest.err conftest.$ac_objext \
14980 conftest$ac_exeext conftest.$ac_ext
14981 LIBS=$ac_check_soname_save_LIBS
14983 if ${ac_cv_lib_soname_tiff:+false} :; then :
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14985 $as_echo "not found" >&6; }
14987 else
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14989 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14991 cat >>confdefs.h <<_ACEOF
14992 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14993 _ACEOF
14998 CPPFLAGS=$ac_save_CPPFLAGS
14999 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15000 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15003 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
15004 case "x$with_tiff" in
15005 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
15006 xno) ;;
15007 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
15008 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
15009 esac
15013 if test "x$with_mpg123" != "xno"
15014 then
15015 if ${MPG123_CFLAGS:+false} :; then :
15016 if ${PKG_CONFIG+:} false; then :
15017 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
15021 if ${MPG123_LIBS:+false} :; then :
15022 if ${PKG_CONFIG+:} false; then :
15023 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
15027 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
15028 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
15029 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
15030 ac_save_CPPFLAGS=$CPPFLAGS
15031 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
15032 for ac_header in mpg123.h
15033 do :
15034 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
15035 if test "x$ac_cv_header_mpg123_h" = xyes; then :
15036 cat >>confdefs.h <<_ACEOF
15037 #define HAVE_MPG123_H 1
15038 _ACEOF
15042 done
15044 if test "$ac_cv_header_mpg123_h" = "yes"
15045 then
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
15047 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
15048 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
15049 $as_echo_n "(cached) " >&6
15050 else
15051 ac_check_lib_save_LIBS=$LIBS
15052 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
15053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15054 /* end confdefs.h. */
15056 /* Override any GCC internal prototype to avoid an error.
15057 Use char because int might match the return type of a GCC
15058 builtin and then its argument prototype would still apply. */
15059 #ifdef __cplusplus
15060 extern "C"
15061 #endif
15062 char mpg123_feed ();
15064 main ()
15066 return mpg123_feed ();
15068 return 0;
15070 _ACEOF
15071 if ac_fn_c_try_link "$LINENO"; then :
15072 ac_cv_lib_mpg123_mpg123_feed=yes
15073 else
15074 ac_cv_lib_mpg123_mpg123_feed=no
15076 rm -f core conftest.err conftest.$ac_objext \
15077 conftest$ac_exeext conftest.$ac_ext
15078 LIBS=$ac_check_lib_save_LIBS
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
15081 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
15082 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
15084 else
15085 MPG123_LIBS=""
15088 else
15089 MPG123_CFLAGS=""
15090 MPG123_LIBS=""
15092 CPPFLAGS=$ac_save_CPPFLAGS
15093 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15094 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15097 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
15098 case "x$with_mpg123" in
15099 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
15100 xno) ;;
15101 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
15102 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
15103 esac
15104 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
15106 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
15108 if test "$ac_cv_header_AL_al_h" = "yes"
15109 then
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
15111 $as_echo_n "checking for -lopenal... " >&6; }
15112 if ${ac_cv_lib_soname_openal+:} false; then :
15113 $as_echo_n "(cached) " >&6
15114 else
15115 ac_check_soname_save_LIBS=$LIBS
15116 LIBS="-lopenal $LIBS"
15117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15118 /* end confdefs.h. */
15120 /* Override any GCC internal prototype to avoid an error.
15121 Use char because int might match the return type of a GCC
15122 builtin and then its argument prototype would still apply. */
15123 #ifdef __cplusplus
15124 extern "C"
15125 #endif
15126 char alGetSource3i ();
15128 main ()
15130 return alGetSource3i ();
15132 return 0;
15134 _ACEOF
15135 if ac_fn_c_try_link "$LINENO"; then :
15136 case "$LIBEXT" in
15137 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15138 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'` ;;
15139 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15140 if ${ac_cv_lib_soname_openal:+false} :; then :
15141 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15142 fi ;;
15143 esac
15145 rm -f core conftest.err conftest.$ac_objext \
15146 conftest$ac_exeext conftest.$ac_ext
15147 LIBS=$ac_check_soname_save_LIBS
15149 if ${ac_cv_lib_soname_openal:+false} :; then :
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15151 $as_echo "not found" >&6; }
15153 else
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
15155 $as_echo "$ac_cv_lib_soname_openal" >&6; }
15157 cat >>confdefs.h <<_ACEOF
15158 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
15159 _ACEOF
15161 OPENAL_LIBS="-lopenal"
15163 ac_cv_lib_openal=yes
15165 cat >>confdefs.h <<_ACEOF
15166 #define HAVE_OPENAL 1
15167 _ACEOF
15171 if test "x$ac_cv_lib_openal" != xyes; then :
15172 case "x$with_openal" in
15173 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
15174 xno) ;;
15175 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
15176 This is an error since --with-openal was requested." "$LINENO" 5 ;;
15177 esac
15178 enable_openal32=${enable_openal32:-no}
15181 if test "x$ac_cv_lib_soname_FAudio" = "x"
15182 then
15183 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
15184 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
15185 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
15186 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
15187 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
15188 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
15189 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
15190 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
15191 enable_xapofx1_1=${enable_xapofx1_1:-no}
15192 enable_xapofx1_2=${enable_xapofx1_2:-no}
15193 enable_xapofx1_3=${enable_xapofx1_3:-no}
15194 enable_xapofx1_4=${enable_xapofx1_4:-no}
15195 enable_xapofx1_5=${enable_xapofx1_5:-no}
15196 enable_xaudio2_0=${enable_xaudio2_0:-no}
15197 enable_xaudio2_1=${enable_xaudio2_1:-no}
15198 enable_xaudio2_2=${enable_xaudio2_2:-no}
15199 enable_xaudio2_3=${enable_xaudio2_3:-no}
15200 enable_xaudio2_4=${enable_xaudio2_4:-no}
15201 enable_xaudio2_5=${enable_xaudio2_5:-no}
15202 enable_xaudio2_6=${enable_xaudio2_6:-no}
15203 enable_xaudio2_7=${enable_xaudio2_7:-no}
15204 enable_xaudio2_8=${enable_xaudio2_8:-no}
15205 enable_xaudio2_9=${enable_xaudio2_9:-no}
15208 if test "$ac_cv_header_kstat_h" = "yes"
15209 then
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
15211 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
15212 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
15213 $as_echo_n "(cached) " >&6
15214 else
15215 ac_check_lib_save_LIBS=$LIBS
15216 LIBS="-lkstat $LIBS"
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15220 /* Override any GCC internal prototype to avoid an error.
15221 Use char because int might match the return type of a GCC
15222 builtin and then its argument prototype would still apply. */
15223 #ifdef __cplusplus
15224 extern "C"
15225 #endif
15226 char kstat_open ();
15228 main ()
15230 return kstat_open ();
15232 return 0;
15234 _ACEOF
15235 if ac_fn_c_try_link "$LINENO"; then :
15236 ac_cv_lib_kstat_kstat_open=yes
15237 else
15238 ac_cv_lib_kstat_kstat_open=no
15240 rm -f core conftest.err conftest.$ac_objext \
15241 conftest$ac_exeext conftest.$ac_ext
15242 LIBS=$ac_check_lib_save_LIBS
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15245 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15246 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15248 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15250 KSTAT_LIBS="-lkstat"
15256 if test "$ac_cv_header_libprocstat_h" = "yes"
15257 then
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15259 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15260 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15261 $as_echo_n "(cached) " >&6
15262 else
15263 ac_check_lib_save_LIBS=$LIBS
15264 LIBS="-lprocstat $LIBS"
15265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15266 /* end confdefs.h. */
15268 /* Override any GCC internal prototype to avoid an error.
15269 Use char because int might match the return type of a GCC
15270 builtin and then its argument prototype would still apply. */
15271 #ifdef __cplusplus
15272 extern "C"
15273 #endif
15274 char procstat_open_sysctl ();
15276 main ()
15278 return procstat_open_sysctl ();
15280 return 0;
15282 _ACEOF
15283 if ac_fn_c_try_link "$LINENO"; then :
15284 ac_cv_lib_procstat_procstat_open_sysctl=yes
15285 else
15286 ac_cv_lib_procstat_procstat_open_sysctl=no
15288 rm -f core conftest.err conftest.$ac_objext \
15289 conftest$ac_exeext conftest.$ac_ext
15290 LIBS=$ac_check_lib_save_LIBS
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15293 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15294 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15296 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15298 PROCSTAT_LIBS="-lprocstat"
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15305 $as_echo_n "checking for -lodbc... " >&6; }
15306 if ${ac_cv_lib_soname_odbc+:} false; then :
15307 $as_echo_n "(cached) " >&6
15308 else
15309 ac_check_soname_save_LIBS=$LIBS
15310 LIBS="-lodbc $LIBS"
15311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15312 /* end confdefs.h. */
15314 /* Override any GCC internal prototype to avoid an error.
15315 Use char because int might match the return type of a GCC
15316 builtin and then its argument prototype would still apply. */
15317 #ifdef __cplusplus
15318 extern "C"
15319 #endif
15320 char SQLConnect ();
15322 main ()
15324 return SQLConnect ();
15326 return 0;
15328 _ACEOF
15329 if ac_fn_c_try_link "$LINENO"; then :
15330 case "$LIBEXT" in
15331 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15332 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'` ;;
15333 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15334 if ${ac_cv_lib_soname_odbc:+false} :; then :
15335 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15336 fi ;;
15337 esac
15339 rm -f core conftest.err conftest.$ac_objext \
15340 conftest$ac_exeext conftest.$ac_ext
15341 LIBS=$ac_check_soname_save_LIBS
15343 if ${ac_cv_lib_soname_odbc:+false} :; then :
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15345 $as_echo "not found" >&6; }
15346 cat >>confdefs.h <<_ACEOF
15347 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15348 _ACEOF
15350 else
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15352 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15354 cat >>confdefs.h <<_ACEOF
15355 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15356 _ACEOF
15361 if test "x$with_netapi" != "xno"
15362 then
15363 if ${NETAPI_CFLAGS:+false} :; then :
15364 if ${PKG_CONFIG+:} false; then :
15365 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15369 if ${NETAPI_LIBS:+false} :; then :
15370 if ${PKG_CONFIG+:} false; then :
15371 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15376 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15377 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15378 ac_save_CPPFLAGS=$CPPFLAGS
15379 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15381 $as_echo_n "checking for -lnetapi... " >&6; }
15382 if ${ac_cv_lib_soname_netapi+:} false; then :
15383 $as_echo_n "(cached) " >&6
15384 else
15385 ac_check_soname_save_LIBS=$LIBS
15386 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15388 /* end confdefs.h. */
15390 /* Override any GCC internal prototype to avoid an error.
15391 Use char because int might match the return type of a GCC
15392 builtin and then its argument prototype would still apply. */
15393 #ifdef __cplusplus
15394 extern "C"
15395 #endif
15396 char libnetapi_init ();
15398 main ()
15400 return libnetapi_init ();
15402 return 0;
15404 _ACEOF
15405 if ac_fn_c_try_link "$LINENO"; then :
15406 case "$LIBEXT" in
15407 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15408 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'` ;;
15409 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15410 if ${ac_cv_lib_soname_netapi:+false} :; then :
15411 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15412 fi ;;
15413 esac
15415 rm -f core conftest.err conftest.$ac_objext \
15416 conftest$ac_exeext conftest.$ac_ext
15417 LIBS=$ac_check_soname_save_LIBS
15419 if ${ac_cv_lib_soname_netapi:+false} :; then :
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15421 $as_echo "not found" >&6; }
15422 cat >>confdefs.h <<_ACEOF
15423 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15424 _ACEOF
15426 else
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15428 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15430 cat >>confdefs.h <<_ACEOF
15431 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15432 _ACEOF
15436 CPPFLAGS=$ac_save_CPPFLAGS
15437 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15438 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15442 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15443 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15444 then
15445 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15448 if test "x$with_vulkan" != "xno"
15449 then
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15451 $as_echo_n "checking for -lvulkan... " >&6; }
15452 if ${ac_cv_lib_soname_vulkan+:} false; then :
15453 $as_echo_n "(cached) " >&6
15454 else
15455 ac_check_soname_save_LIBS=$LIBS
15456 LIBS="-lvulkan $LIBS"
15457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15458 /* end confdefs.h. */
15460 /* Override any GCC internal prototype to avoid an error.
15461 Use char because int might match the return type of a GCC
15462 builtin and then its argument prototype would still apply. */
15463 #ifdef __cplusplus
15464 extern "C"
15465 #endif
15466 char vkGetInstanceProcAddr ();
15468 main ()
15470 return vkGetInstanceProcAddr ();
15472 return 0;
15474 _ACEOF
15475 if ac_fn_c_try_link "$LINENO"; then :
15476 case "$LIBEXT" in
15477 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15478 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'` ;;
15479 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15480 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15481 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15482 fi ;;
15483 esac
15485 rm -f core conftest.err conftest.$ac_objext \
15486 conftest$ac_exeext conftest.$ac_ext
15487 LIBS=$ac_check_soname_save_LIBS
15489 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15491 $as_echo "not found" >&6; }
15493 else
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15495 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15497 cat >>confdefs.h <<_ACEOF
15498 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15499 _ACEOF
15503 if test "x$ac_cv_lib_soname_vulkan" = "x"
15504 then
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15506 $as_echo_n "checking for -lMoltenVK... " >&6; }
15507 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15508 $as_echo_n "(cached) " >&6
15509 else
15510 ac_check_soname_save_LIBS=$LIBS
15511 LIBS="-lMoltenVK $LIBS"
15512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15513 /* end confdefs.h. */
15515 /* Override any GCC internal prototype to avoid an error.
15516 Use char because int might match the return type of a GCC
15517 builtin and then its argument prototype would still apply. */
15518 #ifdef __cplusplus
15519 extern "C"
15520 #endif
15521 char vkGetInstanceProcAddr ();
15523 main ()
15525 return vkGetInstanceProcAddr ();
15527 return 0;
15529 _ACEOF
15530 if ac_fn_c_try_link "$LINENO"; then :
15531 case "$LIBEXT" in
15532 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15533 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'` ;;
15534 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15535 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15536 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15537 fi ;;
15538 esac
15540 rm -f core conftest.err conftest.$ac_objext \
15541 conftest$ac_exeext conftest.$ac_ext
15542 LIBS=$ac_check_soname_save_LIBS
15544 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15546 $as_echo "not found" >&6; }
15548 else
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15550 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15552 cat >>confdefs.h <<_ACEOF
15553 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15554 _ACEOF
15560 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15561 case "x$with_vulkan" in
15562 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15563 xno) ;;
15564 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15565 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15566 esac
15570 if test "x$with_vkd3d" != "xno"
15571 then
15572 if ${VKD3D_CFLAGS:+false} :; then :
15573 if ${PKG_CONFIG+:} false; then :
15574 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15578 if ${VKD3D_LIBS:+false} :; then :
15579 if ${PKG_CONFIG+:} false; then :
15580 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15585 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15586 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15587 ac_save_CPPFLAGS=$CPPFLAGS
15588 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15590 $as_echo_n "checking for -lvkd3d... " >&6; }
15591 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15592 $as_echo_n "(cached) " >&6
15593 else
15594 ac_check_soname_save_LIBS=$LIBS
15595 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15597 /* end confdefs.h. */
15599 /* Override any GCC internal prototype to avoid an error.
15600 Use char because int might match the return type of a GCC
15601 builtin and then its argument prototype would still apply. */
15602 #ifdef __cplusplus
15603 extern "C"
15604 #endif
15605 char vkd3d_get_dxgi_format ();
15607 main ()
15609 return vkd3d_get_dxgi_format ();
15611 return 0;
15613 _ACEOF
15614 if ac_fn_c_try_link "$LINENO"; then :
15615 case "$LIBEXT" in
15616 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15617 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'` ;;
15618 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15619 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15620 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15621 fi ;;
15622 esac
15624 rm -f core conftest.err conftest.$ac_objext \
15625 conftest$ac_exeext conftest.$ac_ext
15626 LIBS=$ac_check_soname_save_LIBS
15628 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15630 $as_echo "not found" >&6; }
15632 else
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15634 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15636 cat >>confdefs.h <<_ACEOF
15637 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15638 _ACEOF
15642 CPPFLAGS=$ac_save_CPPFLAGS
15643 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15644 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15647 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15648 case "x$with_vkd3d" in
15649 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
15650 xno) ;;
15651 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
15652 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15653 esac
15656 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15659 EXTRACFLAGS=""
15661 if test "x${GCC}" = "xyes"
15662 then
15663 EXTRACFLAGS="-Wall -pipe"
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15666 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15667 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15668 $as_echo_n "(cached) " >&6
15669 else
15670 if test "$cross_compiling" = yes; then :
15671 ac_cv_c_gcc_strength_bug="no"
15672 else
15673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15674 /* end confdefs.h. */
15675 int L[4] = {0,1,2,3};
15677 main ()
15679 static int Array[3];
15680 unsigned int B = 3;
15681 int i;
15682 for(i=0; i<B; i++) Array[i] = i - 3;
15683 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15684 L[i] = 4;
15685 return (Array[1] != -2 || L[2] != 3)
15687 return 0;
15689 _ACEOF
15690 if ac_fn_c_try_run "$LINENO"; then :
15691 ac_cv_c_gcc_strength_bug="no"
15692 else
15693 ac_cv_c_gcc_strength_bug="yes"
15695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15696 conftest.$ac_objext conftest.beam conftest.$ac_ext
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15701 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15702 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15703 then
15704 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15708 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15709 if ${ac_cv_cflags__fno_builtin+:} false; then :
15710 $as_echo_n "(cached) " >&6
15711 else
15712 ac_wine_try_cflags_saved=$CFLAGS
15713 CFLAGS="$CFLAGS -fno-builtin"
15714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715 /* end confdefs.h. */
15716 int main(int argc, char **argv) { return 0; }
15717 _ACEOF
15718 if ac_fn_c_try_link "$LINENO"; then :
15719 ac_cv_cflags__fno_builtin=yes
15720 else
15721 ac_cv_cflags__fno_builtin=no
15723 rm -f core conftest.err conftest.$ac_objext \
15724 conftest$ac_exeext conftest.$ac_ext
15725 CFLAGS=$ac_wine_try_cflags_saved
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15728 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15729 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15730 BUILTINFLAG="-fno-builtin"
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15734 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15735 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15736 $as_echo_n "(cached) " >&6
15737 else
15738 ac_wine_try_cflags_saved=$CFLAGS
15739 CFLAGS="$CFLAGS -fno-strict-aliasing"
15740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15741 /* end confdefs.h. */
15742 int main(int argc, char **argv) { return 0; }
15743 _ACEOF
15744 if ac_fn_c_try_link "$LINENO"; then :
15745 ac_cv_cflags__fno_strict_aliasing=yes
15746 else
15747 ac_cv_cflags__fno_strict_aliasing=no
15749 rm -f core conftest.err conftest.$ac_objext \
15750 conftest$ac_exeext conftest.$ac_ext
15751 CFLAGS=$ac_wine_try_cflags_saved
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15754 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15755 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15756 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15759 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15760 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15761 $as_echo_n "(cached) " >&6
15762 else
15763 ac_wine_try_cflags_saved=$CFLAGS
15764 CFLAGS="$CFLAGS -fexcess-precision=standard"
15765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15766 /* end confdefs.h. */
15767 int main(int argc, char **argv) { return 0; }
15768 _ACEOF
15769 if ac_fn_c_try_link "$LINENO"; then :
15770 ac_cv_cflags__fexcess_precision_standard=yes
15771 else
15772 ac_cv_cflags__fexcess_precision_standard=no
15774 rm -f core conftest.err conftest.$ac_objext \
15775 conftest$ac_exeext conftest.$ac_ext
15776 CFLAGS=$ac_wine_try_cflags_saved
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15779 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15780 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15781 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15784 saved_CFLAGS=$CFLAGS
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15786 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15787 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15788 $as_echo_n "(cached) " >&6
15789 else
15790 ac_wine_try_cflags_saved=$CFLAGS
15791 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15793 /* end confdefs.h. */
15794 int main(int argc, char **argv) { return 0; }
15795 _ACEOF
15796 if ac_fn_c_try_link "$LINENO"; then :
15797 ac_cv_cflags__Werror_unknown_warning_option=yes
15798 else
15799 ac_cv_cflags__Werror_unknown_warning_option=no
15801 rm -f core conftest.err conftest.$ac_objext \
15802 conftest$ac_exeext conftest.$ac_ext
15803 CFLAGS=$ac_wine_try_cflags_saved
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15806 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15807 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15808 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15811 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15812 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15813 $as_echo_n "(cached) " >&6
15814 else
15815 ac_wine_try_cflags_saved=$CFLAGS
15816 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15818 /* end confdefs.h. */
15819 int main(int argc, char **argv) { return 0; }
15820 _ACEOF
15821 if ac_fn_c_try_link "$LINENO"; then :
15822 ac_cv_cflags__Wdeclaration_after_statement=yes
15823 else
15824 ac_cv_cflags__Wdeclaration_after_statement=no
15826 rm -f core conftest.err conftest.$ac_objext \
15827 conftest$ac_exeext conftest.$ac_ext
15828 CFLAGS=$ac_wine_try_cflags_saved
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15831 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15832 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15833 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15836 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15837 if ${ac_cv_cflags__Wempty_body+:} false; then :
15838 $as_echo_n "(cached) " >&6
15839 else
15840 ac_wine_try_cflags_saved=$CFLAGS
15841 CFLAGS="$CFLAGS -Wempty-body"
15842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15843 /* end confdefs.h. */
15844 int main(int argc, char **argv) { return 0; }
15845 _ACEOF
15846 if ac_fn_c_try_link "$LINENO"; then :
15847 ac_cv_cflags__Wempty_body=yes
15848 else
15849 ac_cv_cflags__Wempty_body=no
15851 rm -f core conftest.err conftest.$ac_objext \
15852 conftest$ac_exeext conftest.$ac_ext
15853 CFLAGS=$ac_wine_try_cflags_saved
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15856 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15857 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15858 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15861 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15862 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15863 $as_echo_n "(cached) " >&6
15864 else
15865 ac_wine_try_cflags_saved=$CFLAGS
15866 CFLAGS="$CFLAGS -Wignored-qualifiers"
15867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15869 int main(int argc, char **argv) { return 0; }
15870 _ACEOF
15871 if ac_fn_c_try_link "$LINENO"; then :
15872 ac_cv_cflags__Wignored_qualifiers=yes
15873 else
15874 ac_cv_cflags__Wignored_qualifiers=no
15876 rm -f core conftest.err conftest.$ac_objext \
15877 conftest$ac_exeext conftest.$ac_ext
15878 CFLAGS=$ac_wine_try_cflags_saved
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15881 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15882 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15883 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15886 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15887 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15888 $as_echo_n "(cached) " >&6
15889 else
15890 ac_wine_try_cflags_saved=$CFLAGS
15891 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15894 int main(int argc, char **argv) { return 0; }
15895 _ACEOF
15896 if ac_fn_c_try_link "$LINENO"; then :
15897 ac_cv_cflags__Wpacked_not_aligned=yes
15898 else
15899 ac_cv_cflags__Wpacked_not_aligned=no
15901 rm -f core conftest.err conftest.$ac_objext \
15902 conftest$ac_exeext conftest.$ac_ext
15903 CFLAGS=$ac_wine_try_cflags_saved
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15906 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15907 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15908 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15911 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15912 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15913 $as_echo_n "(cached) " >&6
15914 else
15915 ac_wine_try_cflags_saved=$CFLAGS
15916 CFLAGS="$CFLAGS -Wpragma-pack"
15917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15918 /* end confdefs.h. */
15919 int main(int argc, char **argv) { return 0; }
15920 _ACEOF
15921 if ac_fn_c_try_link "$LINENO"; then :
15922 ac_cv_cflags__Wpragma_pack=yes
15923 else
15924 ac_cv_cflags__Wpragma_pack=no
15926 rm -f core conftest.err conftest.$ac_objext \
15927 conftest$ac_exeext conftest.$ac_ext
15928 CFLAGS=$ac_wine_try_cflags_saved
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15931 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15932 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15933 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15936 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15937 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15938 $as_echo_n "(cached) " >&6
15939 else
15940 ac_wine_try_cflags_saved=$CFLAGS
15941 CFLAGS="$CFLAGS -Wshift-overflow=2"
15942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15943 /* end confdefs.h. */
15944 int main(int argc, char **argv) { return 0; }
15945 _ACEOF
15946 if ac_fn_c_try_link "$LINENO"; then :
15947 ac_cv_cflags__Wshift_overflow_2=yes
15948 else
15949 ac_cv_cflags__Wshift_overflow_2=no
15951 rm -f core conftest.err conftest.$ac_objext \
15952 conftest$ac_exeext conftest.$ac_ext
15953 CFLAGS=$ac_wine_try_cflags_saved
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15956 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15957 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15958 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15961 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15962 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15963 $as_echo_n "(cached) " >&6
15964 else
15965 ac_wine_try_cflags_saved=$CFLAGS
15966 CFLAGS="$CFLAGS -Wstrict-prototypes"
15967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15968 /* end confdefs.h. */
15969 int main(int argc, char **argv) { return 0; }
15970 _ACEOF
15971 if ac_fn_c_try_link "$LINENO"; then :
15972 ac_cv_cflags__Wstrict_prototypes=yes
15973 else
15974 ac_cv_cflags__Wstrict_prototypes=no
15976 rm -f core conftest.err conftest.$ac_objext \
15977 conftest$ac_exeext conftest.$ac_ext
15978 CFLAGS=$ac_wine_try_cflags_saved
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15981 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15982 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15983 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15986 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15987 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15988 $as_echo_n "(cached) " >&6
15989 else
15990 ac_wine_try_cflags_saved=$CFLAGS
15991 CFLAGS="$CFLAGS -Wtype-limits"
15992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15993 /* end confdefs.h. */
15994 int main(int argc, char **argv) { return 0; }
15995 _ACEOF
15996 if ac_fn_c_try_link "$LINENO"; then :
15997 ac_cv_cflags__Wtype_limits=yes
15998 else
15999 ac_cv_cflags__Wtype_limits=no
16001 rm -f core conftest.err conftest.$ac_objext \
16002 conftest$ac_exeext conftest.$ac_ext
16003 CFLAGS=$ac_wine_try_cflags_saved
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16006 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16007 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16008 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16011 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16012 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16013 $as_echo_n "(cached) " >&6
16014 else
16015 ac_wine_try_cflags_saved=$CFLAGS
16016 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16018 /* end confdefs.h. */
16019 int main(int argc, char **argv) { return 0; }
16020 _ACEOF
16021 if ac_fn_c_try_link "$LINENO"; then :
16022 ac_cv_cflags__Wunused_but_set_parameter=yes
16023 else
16024 ac_cv_cflags__Wunused_but_set_parameter=no
16026 rm -f core conftest.err conftest.$ac_objext \
16027 conftest$ac_exeext conftest.$ac_ext
16028 CFLAGS=$ac_wine_try_cflags_saved
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16031 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16032 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16033 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16036 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16037 if ${ac_cv_cflags__Wvla+:} false; then :
16038 $as_echo_n "(cached) " >&6
16039 else
16040 ac_wine_try_cflags_saved=$CFLAGS
16041 CFLAGS="$CFLAGS -Wvla"
16042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16043 /* end confdefs.h. */
16044 int main(int argc, char **argv) { return 0; }
16045 _ACEOF
16046 if ac_fn_c_try_link "$LINENO"; then :
16047 ac_cv_cflags__Wvla=yes
16048 else
16049 ac_cv_cflags__Wvla=no
16051 rm -f core conftest.err conftest.$ac_objext \
16052 conftest$ac_exeext conftest.$ac_ext
16053 CFLAGS=$ac_wine_try_cflags_saved
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16056 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16057 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16058 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16061 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16062 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16063 $as_echo_n "(cached) " >&6
16064 else
16065 ac_wine_try_cflags_saved=$CFLAGS
16066 CFLAGS="$CFLAGS -Wwrite-strings"
16067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16068 /* end confdefs.h. */
16069 int main(int argc, char **argv) { return 0; }
16070 _ACEOF
16071 if ac_fn_c_try_link "$LINENO"; then :
16072 ac_cv_cflags__Wwrite_strings=yes
16073 else
16074 ac_cv_cflags__Wwrite_strings=no
16076 rm -f core conftest.err conftest.$ac_objext \
16077 conftest$ac_exeext conftest.$ac_ext
16078 CFLAGS=$ac_wine_try_cflags_saved
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16081 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16082 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16083 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16087 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16088 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16089 $as_echo_n "(cached) " >&6
16090 else
16091 ac_wine_try_cflags_saved=$CFLAGS
16092 CFLAGS="$CFLAGS -Wpointer-arith"
16093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16094 /* end confdefs.h. */
16095 int main(int argc, char **argv) { return 0; }
16096 _ACEOF
16097 if ac_fn_c_try_link "$LINENO"; then :
16098 ac_cv_cflags__Wpointer_arith=yes
16099 else
16100 ac_cv_cflags__Wpointer_arith=no
16102 rm -f core conftest.err conftest.$ac_objext \
16103 conftest$ac_exeext conftest.$ac_ext
16104 CFLAGS=$ac_wine_try_cflags_saved
16106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16107 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16108 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16109 saved_string_h_CFLAGS=$CFLAGS
16110 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
16112 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
16113 if ${ac_cv_c_string_h_warnings+:} false; then :
16114 $as_echo_n "(cached) " >&6
16115 else
16116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16117 /* end confdefs.h. */
16118 #include <string.h>
16120 main ()
16124 return 0;
16126 _ACEOF
16127 if ac_fn_c_try_compile "$LINENO"; then :
16128 ac_cv_c_string_h_warnings=no
16129 else
16130 ac_cv_c_string_h_warnings=yes
16132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
16135 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
16136 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16137 CFLAGS=$saved_string_h_CFLAGS
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
16141 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
16142 if ${ac_cv_cflags__Wlogical_op+:} false; then :
16143 $as_echo_n "(cached) " >&6
16144 else
16145 ac_wine_try_cflags_saved=$CFLAGS
16146 CFLAGS="$CFLAGS -Wlogical-op"
16147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16148 /* end confdefs.h. */
16149 int main(int argc, char **argv) { return 0; }
16150 _ACEOF
16151 if ac_fn_c_try_link "$LINENO"; then :
16152 ac_cv_cflags__Wlogical_op=yes
16153 else
16154 ac_cv_cflags__Wlogical_op=no
16156 rm -f core conftest.err conftest.$ac_objext \
16157 conftest$ac_exeext conftest.$ac_ext
16158 CFLAGS=$ac_wine_try_cflags_saved
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
16161 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
16162 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
16163 saved_string_h_CFLAGS=$CFLAGS
16164 CFLAGS="$CFLAGS -Wlogical-op -Werror"
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
16166 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
16167 if ${ac_cv_c_logicalop_noisy+:} false; then :
16168 $as_echo_n "(cached) " >&6
16169 else
16170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16171 /* end confdefs.h. */
16172 #include <string.h>
16173 char*f(const char *h,char n) {return strchr(h,n);}
16175 main ()
16179 return 0;
16181 _ACEOF
16182 if ac_fn_c_try_compile "$LINENO"; then :
16183 ac_cv_c_logicalop_noisy=no
16184 else
16185 ac_cv_c_logicalop_noisy=yes
16187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
16190 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
16191 CFLAGS=$saved_string_h_CFLAGS
16192 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
16195 CFLAGS=$saved_CFLAGS
16197 for ac_flag in $CFLAGS; do
16198 case $ac_flag in
16199 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
16200 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
16201 if ${ac_cv_cflags__gdwarf_2+:} false; then :
16202 $as_echo_n "(cached) " >&6
16203 else
16204 ac_wine_try_cflags_saved=$CFLAGS
16205 CFLAGS="$CFLAGS -gdwarf-2"
16206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16207 /* end confdefs.h. */
16208 int main(int argc, char **argv) { return 0; }
16209 _ACEOF
16210 if ac_fn_c_try_link "$LINENO"; then :
16211 ac_cv_cflags__gdwarf_2=yes
16212 else
16213 ac_cv_cflags__gdwarf_2=no
16215 rm -f core conftest.err conftest.$ac_objext \
16216 conftest$ac_exeext conftest.$ac_ext
16217 CFLAGS=$ac_wine_try_cflags_saved
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16220 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16221 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16222 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16225 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16226 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16227 $as_echo_n "(cached) " >&6
16228 else
16229 ac_wine_try_cflags_saved=$CFLAGS
16230 CFLAGS="$CFLAGS -gstrict-dwarf"
16231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16232 /* end confdefs.h. */
16233 int main(int argc, char **argv) { return 0; }
16234 _ACEOF
16235 if ac_fn_c_try_link "$LINENO"; then :
16236 ac_cv_cflags__gstrict_dwarf=yes
16237 else
16238 ac_cv_cflags__gstrict_dwarf=no
16240 rm -f core conftest.err conftest.$ac_objext \
16241 conftest$ac_exeext conftest.$ac_ext
16242 CFLAGS=$ac_wine_try_cflags_saved
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16245 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16246 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16247 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16248 fi ;;
16249 esac
16250 done
16252 case $host_cpu in
16253 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16254 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16255 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16256 $as_echo_n "(cached) " >&6
16257 else
16258 ac_wine_try_cflags_saved=$CFLAGS
16259 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16261 /* end confdefs.h. */
16262 int main(int argc, char **argv) { return 0; }
16263 _ACEOF
16264 if ac_fn_c_try_link "$LINENO"; then :
16265 ac_cv_cflags__fno_omit_frame_pointer=yes
16266 else
16267 ac_cv_cflags__fno_omit_frame_pointer=no
16269 rm -f core conftest.err conftest.$ac_objext \
16270 conftest$ac_exeext conftest.$ac_ext
16271 CFLAGS=$ac_wine_try_cflags_saved
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16274 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16275 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16276 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16277 fi ;;
16278 esac
16280 case $host in
16281 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16282 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16283 if ${ac_cv_cflags__Wno_format+:} false; then :
16284 $as_echo_n "(cached) " >&6
16285 else
16286 ac_wine_try_cflags_saved=$CFLAGS
16287 CFLAGS="$CFLAGS -Wno-format"
16288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h. */
16290 int main(int argc, char **argv) { return 0; }
16291 _ACEOF
16292 if ac_fn_c_try_link "$LINENO"; then :
16293 ac_cv_cflags__Wno_format=yes
16294 else
16295 ac_cv_cflags__Wno_format=no
16297 rm -f core conftest.err conftest.$ac_objext \
16298 conftest$ac_exeext conftest.$ac_ext
16299 CFLAGS=$ac_wine_try_cflags_saved
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16302 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16303 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16304 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16305 fi ;;
16306 esac
16308 if test "x$enable_maintainer_mode" = "xyes"
16309 then
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16311 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16312 if ${ac_cv_cflags__Werror+:} false; then :
16313 $as_echo_n "(cached) " >&6
16314 else
16315 ac_wine_try_cflags_saved=$CFLAGS
16316 CFLAGS="$CFLAGS -Werror"
16317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16318 /* end confdefs.h. */
16319 int main(int argc, char **argv) { return 0; }
16320 _ACEOF
16321 if ac_fn_c_try_link "$LINENO"; then :
16322 ac_cv_cflags__Werror=yes
16323 else
16324 ac_cv_cflags__Werror=no
16326 rm -f core conftest.err conftest.$ac_objext \
16327 conftest$ac_exeext conftest.$ac_ext
16328 CFLAGS=$ac_wine_try_cflags_saved
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16331 $as_echo "$ac_cv_cflags__Werror" >&6; }
16332 if test "x$ac_cv_cflags__Werror" = xyes; then :
16333 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16337 saved_CFLAGS="$CFLAGS"
16338 CFLAGS="$CFLAGS -Werror"
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16340 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16341 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16342 $as_echo_n "(cached) " >&6
16343 else
16344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16345 /* end confdefs.h. */
16346 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16348 main ()
16352 return 0;
16354 _ACEOF
16355 if ac_fn_c_try_compile "$LINENO"; then :
16356 ac_cv_have_ms_hook_prologue="yes"
16357 else
16358 ac_cv_have_ms_hook_prologue="no"
16360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16363 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16364 CFLAGS="$saved_CFLAGS"
16365 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16366 then
16368 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16370 else
16371 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16378 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16379 if ${ac_cv_c_fortify_enabled+:} false; then :
16380 $as_echo_n "(cached) " >&6
16381 else
16382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16383 /* end confdefs.h. */
16384 #include <string.h>
16386 main ()
16388 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16389 #error Fortify enabled
16390 #endif
16392 return 0;
16394 _ACEOF
16395 if ac_fn_c_try_compile "$LINENO"; then :
16396 ac_cv_c_fortify_enabled=no
16397 else
16398 ac_cv_c_fortify_enabled=yes
16400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16403 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16404 if test "$ac_cv_c_fortify_enabled" = yes
16405 then
16406 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16411 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16412 if ${ac_cv_c_extern_prefix+:} false; then :
16413 $as_echo_n "(cached) " >&6
16414 else
16415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16416 /* end confdefs.h. */
16417 extern int ac_test;
16419 main ()
16421 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16423 return 0;
16425 _ACEOF
16426 if ac_fn_c_try_link "$LINENO"; then :
16427 ac_cv_c_extern_prefix="yes"
16428 else
16429 ac_cv_c_extern_prefix="no"
16431 rm -f core conftest.err conftest.$ac_objext \
16432 conftest$ac_exeext conftest.$ac_ext
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16435 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16437 case $host_cpu in
16438 *i[3456789]86*)
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16440 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16441 if ${ac_cv_c_stdcall_suffix+:} false; then :
16442 $as_echo_n "(cached) " >&6
16443 else
16444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16445 /* end confdefs.h. */
16446 #ifndef _MSC_VER
16447 #define __stdcall __attribute__((__stdcall__))
16448 #endif
16449 int __stdcall ac_test(int i) { return i; }
16451 main ()
16453 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16455 return 0;
16457 _ACEOF
16458 if ac_fn_c_try_link "$LINENO"; then :
16459 ac_cv_c_stdcall_suffix="yes"
16460 else
16461 ac_cv_c_stdcall_suffix="no"
16463 rm -f core conftest.err conftest.$ac_objext \
16464 conftest$ac_exeext conftest.$ac_ext
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16467 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16468 *) ac_cv_c_stdcall_suffix="no" ;;
16469 esac
16472 if test "$ac_cv_c_extern_prefix" = "yes"
16473 then
16474 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16476 asm_name_prefix="_"
16477 else
16478 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16480 asm_name_prefix=""
16484 if test "$ac_cv_c_stdcall_suffix" = "yes"
16485 then
16486 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16488 else
16489 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16495 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16496 if ${ac_cv_asm_func_def+:} false; then :
16497 $as_echo_n "(cached) " >&6
16498 else
16499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16500 /* end confdefs.h. */
16503 main ()
16505 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16507 return 0;
16509 _ACEOF
16510 if ac_fn_c_try_link "$LINENO"; then :
16511 ac_cv_asm_func_def=".def"
16512 else
16513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16514 /* end confdefs.h. */
16517 main ()
16519 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16521 return 0;
16523 _ACEOF
16524 if ac_fn_c_try_link "$LINENO"; then :
16525 ac_cv_asm_func_def=".type @function"
16526 else
16527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16528 /* end confdefs.h. */
16531 main ()
16533 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16535 return 0;
16537 _ACEOF
16538 if ac_fn_c_try_link "$LINENO"; then :
16539 ac_cv_asm_func_def=".type 2"
16540 else
16541 ac_cv_asm_func_def="unknown"
16543 rm -f core conftest.err conftest.$ac_objext \
16544 conftest$ac_exeext conftest.$ac_ext
16546 rm -f core conftest.err conftest.$ac_objext \
16547 conftest$ac_exeext conftest.$ac_ext
16549 rm -f core conftest.err conftest.$ac_objext \
16550 conftest$ac_exeext conftest.$ac_ext
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16553 $as_echo "$ac_cv_asm_func_def" >&6; }
16555 case "$ac_cv_asm_func_def" in
16556 ".def")
16557 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16558 ".type @function")
16559 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16560 ".type 2")
16561 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16563 asm_func_header="" ;;
16564 esac
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16567 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16568 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16569 $as_echo_n "(cached) " >&6
16570 else
16571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16572 /* end confdefs.h. */
16573 asm(".text\n\t.long 0");
16575 main ()
16579 return 0;
16581 _ACEOF
16582 if ac_fn_c_try_compile "$LINENO"; then :
16583 ac_cv_c_asm_outside_funcs="yes"
16584 else
16585 ac_cv_c_asm_outside_funcs="no"
16587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16590 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16593 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16594 if ${ac_cv_c_dot_previous+:} false; then :
16595 $as_echo_n "(cached) " >&6
16596 else
16597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16598 /* end confdefs.h. */
16601 main ()
16603 asm(".text\nac_test:\t.long 0\n\t.previous");
16605 return 0;
16607 _ACEOF
16608 if ac_fn_c_try_link "$LINENO"; then :
16609 ac_cv_c_dot_previous="yes"
16610 else
16611 ac_cv_c_dot_previous="no"
16613 rm -f core conftest.err conftest.$ac_objext \
16614 conftest$ac_exeext conftest.$ac_ext
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16617 $as_echo "$ac_cv_c_dot_previous" >&6; }
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16620 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16621 if ${ac_cv_c_cfi_support+:} false; then :
16622 $as_echo_n "(cached) " >&6
16623 else
16624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16625 /* end confdefs.h. */
16626 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16628 main ()
16632 return 0;
16634 _ACEOF
16635 if ac_fn_c_try_compile "$LINENO"; then :
16636 ac_cv_c_cfi_support="yes"
16637 else
16638 ac_cv_c_cfi_support="no"
16640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16643 $as_echo "$ac_cv_c_cfi_support" >&6; }
16645 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16646 asm_func_trailer=""
16647 if test "$ac_cv_c_dot_previous" = "yes"
16648 then
16649 asm_func_trailer="\\n\\t.previous"
16651 if test "$ac_cv_c_cfi_support" = "yes"
16652 then
16653 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16654 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16656 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16658 UNWINDFLAGS=-fasynchronous-unwind-tables
16660 else
16661 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16663 if test "x$enable_win64" = "xyes"
16664 then
16665 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16669 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16672 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16673 then
16674 cat >>confdefs.h <<_ACEOF
16675 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16676 _ACEOF
16678 else
16679 cat >>confdefs.h <<_ACEOF
16680 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16681 _ACEOF
16685 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16688 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16692 case $build_os in
16693 cygwin*|mingw32*) TOOLSEXT=".exe"
16695 esac
16697 case $host_os in
16698 linux*)
16699 case $host_cpu in
16700 *i[3456789]86*|x86_64*|*aarch64*)
16701 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16702 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16704 esac
16706 esac
16709 ac_save_CFLAGS="$CFLAGS"
16710 CFLAGS="$CFLAGS $BUILTINFLAG"
16711 for ac_func in \
16712 __res_get_state \
16713 __res_getservers \
16714 _spawnvp \
16715 asctime_r \
16716 dlopen \
16717 epoll_create \
16718 ffs \
16719 finitef \
16720 fnmatch \
16721 fork \
16722 fpclass \
16723 fstatfs \
16724 fstatvfs \
16725 futimens \
16726 futimes \
16727 futimesat \
16728 getattrlist \
16729 getauxval \
16730 getifaddrs \
16731 getopt_long_only \
16732 getpwuid \
16733 getuid \
16734 kqueue \
16735 lstat \
16736 mmap \
16737 pipe2 \
16738 poll \
16739 port_create \
16740 prctl \
16741 pread \
16742 proc_pidinfo \
16743 pwrite \
16744 readdir \
16745 readlink \
16746 sched_yield \
16747 select \
16748 setproctitle \
16749 setprogname \
16750 setrlimit \
16751 settimeofday \
16752 sigaltstack \
16753 sigprocmask \
16754 statfs \
16755 statvfs \
16756 strnlen \
16757 strtold \
16758 symlink \
16759 sysinfo \
16760 tcdrain \
16761 thr_kill2 \
16762 timegm \
16763 usleep
16765 do :
16766 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16767 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16768 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16769 cat >>confdefs.h <<_ACEOF
16770 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16771 _ACEOF
16774 done
16776 CFLAGS="$ac_save_CFLAGS"
16778 if test "$ac_cv_func_dlopen" = no
16779 then
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16781 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16782 if ${ac_cv_lib_dl_dlopen+:} false; then :
16783 $as_echo_n "(cached) " >&6
16784 else
16785 ac_check_lib_save_LIBS=$LIBS
16786 LIBS="-ldl $LIBS"
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h. */
16790 /* Override any GCC internal prototype to avoid an error.
16791 Use char because int might match the return type of a GCC
16792 builtin and then its argument prototype would still apply. */
16793 #ifdef __cplusplus
16794 extern "C"
16795 #endif
16796 char dlopen ();
16798 main ()
16800 return dlopen ();
16802 return 0;
16804 _ACEOF
16805 if ac_fn_c_try_link "$LINENO"; then :
16806 ac_cv_lib_dl_dlopen=yes
16807 else
16808 ac_cv_lib_dl_dlopen=no
16810 rm -f core conftest.err conftest.$ac_objext \
16811 conftest$ac_exeext conftest.$ac_ext
16812 LIBS=$ac_check_lib_save_LIBS
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16815 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16816 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16817 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16818 DL_LIBS="-ldl"
16823 ac_wine_check_funcs_save_LIBS="$LIBS"
16824 LIBS="$LIBS $DL_LIBS"
16825 for ac_func in dladdr
16826 do :
16827 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16828 if test "x$ac_cv_func_dladdr" = xyes; then :
16829 cat >>confdefs.h <<_ACEOF
16830 #define HAVE_DLADDR 1
16831 _ACEOF
16834 done
16836 LIBS="$ac_wine_check_funcs_save_LIBS"
16838 if test "$ac_cv_func_poll" = no
16839 then
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16841 $as_echo_n "checking for poll in -lpoll... " >&6; }
16842 if ${ac_cv_lib_poll_poll+:} false; then :
16843 $as_echo_n "(cached) " >&6
16844 else
16845 ac_check_lib_save_LIBS=$LIBS
16846 LIBS="-lpoll $LIBS"
16847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16848 /* end confdefs.h. */
16850 /* Override any GCC internal prototype to avoid an error.
16851 Use char because int might match the return type of a GCC
16852 builtin and then its argument prototype would still apply. */
16853 #ifdef __cplusplus
16854 extern "C"
16855 #endif
16856 char poll ();
16858 main ()
16860 return poll ();
16862 return 0;
16864 _ACEOF
16865 if ac_fn_c_try_link "$LINENO"; then :
16866 ac_cv_lib_poll_poll=yes
16867 else
16868 ac_cv_lib_poll_poll=no
16870 rm -f core conftest.err conftest.$ac_objext \
16871 conftest$ac_exeext conftest.$ac_ext
16872 LIBS=$ac_check_lib_save_LIBS
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16875 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16876 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16877 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16878 POLL_LIBS="-lpoll"
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16885 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16886 if ${ac_cv_search_gethostbyname+:} false; then :
16887 $as_echo_n "(cached) " >&6
16888 else
16889 ac_func_search_save_LIBS=$LIBS
16890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16891 /* end confdefs.h. */
16893 /* Override any GCC internal prototype to avoid an error.
16894 Use char because int might match the return type of a GCC
16895 builtin and then its argument prototype would still apply. */
16896 #ifdef __cplusplus
16897 extern "C"
16898 #endif
16899 char gethostbyname ();
16901 main ()
16903 return gethostbyname ();
16905 return 0;
16907 _ACEOF
16908 for ac_lib in '' nsl; do
16909 if test -z "$ac_lib"; then
16910 ac_res="none required"
16911 else
16912 ac_res=-l$ac_lib
16913 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16915 if ac_fn_c_try_link "$LINENO"; then :
16916 ac_cv_search_gethostbyname=$ac_res
16918 rm -f core conftest.err conftest.$ac_objext \
16919 conftest$ac_exeext
16920 if ${ac_cv_search_gethostbyname+:} false; then :
16921 break
16923 done
16924 if ${ac_cv_search_gethostbyname+:} false; then :
16926 else
16927 ac_cv_search_gethostbyname=no
16929 rm conftest.$ac_ext
16930 LIBS=$ac_func_search_save_LIBS
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16933 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16934 ac_res=$ac_cv_search_gethostbyname
16935 if test "$ac_res" != no; then :
16936 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16942 $as_echo_n "checking for library containing connect... " >&6; }
16943 if ${ac_cv_search_connect+:} false; then :
16944 $as_echo_n "(cached) " >&6
16945 else
16946 ac_func_search_save_LIBS=$LIBS
16947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16948 /* end confdefs.h. */
16950 /* Override any GCC internal prototype to avoid an error.
16951 Use char because int might match the return type of a GCC
16952 builtin and then its argument prototype would still apply. */
16953 #ifdef __cplusplus
16954 extern "C"
16955 #endif
16956 char connect ();
16958 main ()
16960 return connect ();
16962 return 0;
16964 _ACEOF
16965 for ac_lib in '' socket; do
16966 if test -z "$ac_lib"; then
16967 ac_res="none required"
16968 else
16969 ac_res=-l$ac_lib
16970 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16972 if ac_fn_c_try_link "$LINENO"; then :
16973 ac_cv_search_connect=$ac_res
16975 rm -f core conftest.err conftest.$ac_objext \
16976 conftest$ac_exeext
16977 if ${ac_cv_search_connect+:} false; then :
16978 break
16980 done
16981 if ${ac_cv_search_connect+:} false; then :
16983 else
16984 ac_cv_search_connect=no
16986 rm conftest.$ac_ext
16987 LIBS=$ac_func_search_save_LIBS
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16990 $as_echo "$ac_cv_search_connect" >&6; }
16991 ac_res=$ac_cv_search_connect
16992 if test "$ac_res" != no; then :
16993 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16999 $as_echo_n "checking for library containing inet_aton... " >&6; }
17000 if ${ac_cv_search_inet_aton+:} false; then :
17001 $as_echo_n "(cached) " >&6
17002 else
17003 ac_func_search_save_LIBS=$LIBS
17004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17005 /* end confdefs.h. */
17007 /* Override any GCC internal prototype to avoid an error.
17008 Use char because int might match the return type of a GCC
17009 builtin and then its argument prototype would still apply. */
17010 #ifdef __cplusplus
17011 extern "C"
17012 #endif
17013 char inet_aton ();
17015 main ()
17017 return inet_aton ();
17019 return 0;
17021 _ACEOF
17022 for ac_lib in '' resolv; do
17023 if test -z "$ac_lib"; then
17024 ac_res="none required"
17025 else
17026 ac_res=-l$ac_lib
17027 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17029 if ac_fn_c_try_link "$LINENO"; then :
17030 ac_cv_search_inet_aton=$ac_res
17032 rm -f core conftest.err conftest.$ac_objext \
17033 conftest$ac_exeext
17034 if ${ac_cv_search_inet_aton+:} false; then :
17035 break
17037 done
17038 if ${ac_cv_search_inet_aton+:} false; then :
17040 else
17041 ac_cv_search_inet_aton=no
17043 rm conftest.$ac_ext
17044 LIBS=$ac_func_search_save_LIBS
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17047 $as_echo "$ac_cv_search_inet_aton" >&6; }
17048 ac_res=$ac_cv_search_inet_aton
17049 if test "$ac_res" != no; then :
17050 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17055 for ac_func in \
17056 getaddrinfo \
17057 getnameinfo \
17058 getnetbyname \
17059 getprotobyname \
17060 getprotobynumber \
17061 getservbyport \
17062 inet_addr \
17063 inet_network \
17064 inet_ntop \
17065 inet_pton \
17066 sendmsg \
17067 socketpair \
17069 do :
17070 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17071 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17072 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17073 cat >>confdefs.h <<_ACEOF
17074 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17075 _ACEOF
17078 done
17081 ac_save_LIBS=$LIBS
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17083 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17084 if ${ac_cv_search_clock_gettime+:} false; then :
17085 $as_echo_n "(cached) " >&6
17086 else
17087 ac_func_search_save_LIBS=$LIBS
17088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17089 /* end confdefs.h. */
17091 /* Override any GCC internal prototype to avoid an error.
17092 Use char because int might match the return type of a GCC
17093 builtin and then its argument prototype would still apply. */
17094 #ifdef __cplusplus
17095 extern "C"
17096 #endif
17097 char clock_gettime ();
17099 main ()
17101 return clock_gettime ();
17103 return 0;
17105 _ACEOF
17106 for ac_lib in '' rt; do
17107 if test -z "$ac_lib"; then
17108 ac_res="none required"
17109 else
17110 ac_res=-l$ac_lib
17111 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17113 if ac_fn_c_try_link "$LINENO"; then :
17114 ac_cv_search_clock_gettime=$ac_res
17116 rm -f core conftest.err conftest.$ac_objext \
17117 conftest$ac_exeext
17118 if ${ac_cv_search_clock_gettime+:} false; then :
17119 break
17121 done
17122 if ${ac_cv_search_clock_gettime+:} false; then :
17124 else
17125 ac_cv_search_clock_gettime=no
17127 rm conftest.$ac_ext
17128 LIBS=$ac_func_search_save_LIBS
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17131 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17132 ac_res=$ac_cv_search_clock_gettime
17133 if test "$ac_res" != no; then :
17134 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17136 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17138 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17142 LIBS=$ac_save_LIBS
17144 if test "x$with_ldap" != "xno"
17145 then
17146 if ${LDAP_CFLAGS:+false} :; then :
17147 if ${PKG_CONFIG+:} false; then :
17148 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17152 if ${LDAP_LIBS:+false} :; then :
17153 if ${PKG_CONFIG+:} false; then :
17154 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17158 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17159 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17160 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17161 ac_save_CPPFLAGS=$CPPFLAGS
17162 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17163 for ac_header in ldap.h lber.h
17164 do :
17165 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17166 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17167 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17168 cat >>confdefs.h <<_ACEOF
17169 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17170 _ACEOF
17174 done
17176 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17177 then
17178 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17180 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17182 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17183 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17184 $as_echo_n "(cached) " >&6
17185 else
17186 ac_check_lib_save_LIBS=$LIBS
17187 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h. */
17191 /* Override any GCC internal prototype to avoid an error.
17192 Use char because int might match the return type of a GCC
17193 builtin and then its argument prototype would still apply. */
17194 #ifdef __cplusplus
17195 extern "C"
17196 #endif
17197 char ldap_initialize ();
17199 main ()
17201 return ldap_initialize ();
17203 return 0;
17205 _ACEOF
17206 if ac_fn_c_try_link "$LINENO"; then :
17207 ac_cv_lib_ldap_r_ldap_initialize=yes
17208 else
17209 ac_cv_lib_ldap_r_ldap_initialize=no
17211 rm -f core conftest.err conftest.$ac_objext \
17212 conftest$ac_exeext conftest.$ac_ext
17213 LIBS=$ac_check_lib_save_LIBS
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17216 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17217 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17219 $as_echo_n "checking for ber_init in -llber... " >&6; }
17220 if ${ac_cv_lib_lber_ber_init+:} false; then :
17221 $as_echo_n "(cached) " >&6
17222 else
17223 ac_check_lib_save_LIBS=$LIBS
17224 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17226 /* end confdefs.h. */
17228 /* Override any GCC internal prototype to avoid an error.
17229 Use char because int might match the return type of a GCC
17230 builtin and then its argument prototype would still apply. */
17231 #ifdef __cplusplus
17232 extern "C"
17233 #endif
17234 char ber_init ();
17236 main ()
17238 return ber_init ();
17240 return 0;
17242 _ACEOF
17243 if ac_fn_c_try_link "$LINENO"; then :
17244 ac_cv_lib_lber_ber_init=yes
17245 else
17246 ac_cv_lib_lber_ber_init=no
17248 rm -f core conftest.err conftest.$ac_objext \
17249 conftest$ac_exeext conftest.$ac_ext
17250 LIBS=$ac_check_lib_save_LIBS
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17253 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17254 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17256 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17258 else
17259 LDAP_LIBS=""
17262 else
17263 LDAP_LIBS=""
17266 else
17267 LDAP_LIBS=""
17270 ac_wine_check_funcs_save_LIBS="$LIBS"
17271 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17272 for ac_func in \
17273 ldap_count_references \
17274 ldap_first_reference \
17275 ldap_next_reference \
17276 ldap_parse_reference \
17277 ldap_parse_sort_control \
17278 ldap_parse_sortresponse_control \
17279 ldap_parse_vlv_control \
17280 ldap_parse_vlvresponse_control
17281 do :
17282 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17283 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17284 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17285 cat >>confdefs.h <<_ACEOF
17286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17287 _ACEOF
17290 done
17292 LIBS="$ac_wine_check_funcs_save_LIBS"
17293 else
17294 LDAP_LIBS=""
17296 CPPFLAGS=$ac_save_CPPFLAGS
17297 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17298 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17301 if test "x$LDAP_LIBS" = "x"; then :
17302 case "x$with_ldap" in
17303 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17304 xno) ;;
17305 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17306 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17307 esac
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17312 $as_echo_n "checking for sched_setaffinity... " >&6; }
17313 if ${wine_cv_have_sched_setaffinity+:} false; then :
17314 $as_echo_n "(cached) " >&6
17315 else
17316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17317 /* end confdefs.h. */
17318 #define _GNU_SOURCE
17319 #include <sched.h>
17321 main ()
17323 sched_setaffinity(0, 0, 0);
17325 return 0;
17327 _ACEOF
17328 if ac_fn_c_try_link "$LINENO"; then :
17329 wine_cv_have_sched_setaffinity=yes
17330 else
17331 wine_cv_have_sched_setaffinity=no
17333 rm -f core conftest.err conftest.$ac_objext \
17334 conftest$ac_exeext conftest.$ac_ext
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17337 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17338 if test "$wine_cv_have_sched_setaffinity" = "yes"
17339 then
17341 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17346 $as_echo_n "checking for fallocate... " >&6; }
17347 if ${wine_cv_have_fallocate+:} false; then :
17348 $as_echo_n "(cached) " >&6
17349 else
17350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17351 /* end confdefs.h. */
17352 #define _GNU_SOURCE
17353 #include <fcntl.h>
17355 main ()
17357 fallocate(-1, 0, 0, 0);
17359 return 0;
17361 _ACEOF
17362 if ac_fn_c_try_link "$LINENO"; then :
17363 wine_cv_have_fallocate=yes
17364 else
17365 wine_cv_have_fallocate=no
17367 rm -f core conftest.err conftest.$ac_objext \
17368 conftest$ac_exeext conftest.$ac_ext
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17371 $as_echo "$wine_cv_have_fallocate" >&6; }
17372 if test "$wine_cv_have_fallocate" = "yes"
17373 then
17375 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17381 $as_echo_n "checking for inline... " >&6; }
17382 if ${ac_cv_c_inline+:} false; then :
17383 $as_echo_n "(cached) " >&6
17384 else
17385 ac_cv_c_inline=no
17386 for ac_kw in inline __inline__ __inline; do
17387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17388 /* end confdefs.h. */
17389 #ifndef __cplusplus
17390 typedef int foo_t;
17391 static $ac_kw foo_t static_foo () {return 0; }
17392 $ac_kw foo_t foo () {return 0; }
17393 #endif
17395 _ACEOF
17396 if ac_fn_c_try_compile "$LINENO"; then :
17397 ac_cv_c_inline=$ac_kw
17399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17400 test "$ac_cv_c_inline" != no && break
17401 done
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17405 $as_echo "$ac_cv_c_inline" >&6; }
17407 case $ac_cv_c_inline in
17408 inline | yes) ;;
17410 case $ac_cv_c_inline in
17411 no) ac_val=;;
17412 *) ac_val=$ac_cv_c_inline;;
17413 esac
17414 cat >>confdefs.h <<_ACEOF
17415 #ifndef __cplusplus
17416 #define inline $ac_val
17417 #endif
17418 _ACEOF
17420 esac
17422 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17423 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17425 cat >>confdefs.h <<_ACEOF
17426 #define HAVE_FSBLKCNT_T 1
17427 _ACEOF
17431 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17432 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17434 cat >>confdefs.h <<_ACEOF
17435 #define HAVE_FSFILCNT_T 1
17436 _ACEOF
17441 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17442 #include <signal.h>
17444 if test "x$ac_cv_type_sigset_t" = xyes; then :
17446 cat >>confdefs.h <<_ACEOF
17447 #define HAVE_SIGSET_T 1
17448 _ACEOF
17453 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17455 if test "x$ac_cv_type_request_sense" = xyes; then :
17457 cat >>confdefs.h <<_ACEOF
17458 #define HAVE_REQUEST_SENSE 1
17459 _ACEOF
17465 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17466 #ifdef HAVE_SYS_SOCKET_H
17467 #include <sys/socket.h>
17468 #endif
17469 #ifdef HAVE_SYS_SOCKETVAR_H
17470 #include <sys/socketvar.h>
17471 #endif
17472 #ifdef HAVE_NET_ROUTE_H
17473 #include <net/route.h>
17474 #endif
17475 #ifdef HAVE_NETINET_IN_H
17476 #include <netinet/in.h>
17477 #endif
17478 #ifdef HAVE_NETINET_IN_SYSTM_H
17479 #include <netinet/in_systm.h>
17480 #endif
17481 #ifdef HAVE_NETINET_IP_H
17482 #include <netinet/ip.h>
17483 #endif
17484 #ifdef HAVE_NETINET_IN_PCB_H
17485 #include <netinet/in_pcb.h>
17486 #endif
17488 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17490 cat >>confdefs.h <<_ACEOF
17491 #define HAVE_STRUCT_XINPGEN 1
17492 _ACEOF
17498 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17499 #include <link.h>
17500 #endif
17501 #ifdef HAVE_SYS_LINK_H
17502 #include <sys/link.h>
17503 #endif
17505 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17507 cat >>confdefs.h <<_ACEOF
17508 #define HAVE_STRUCT_R_DEBUG 1
17509 _ACEOF
17513 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17514 #include <link.h>
17515 #endif
17516 #ifdef HAVE_SYS_LINK_H
17517 #include <sys/link.h>
17518 #endif
17520 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17522 cat >>confdefs.h <<_ACEOF
17523 #define HAVE_STRUCT_LINK_MAP 1
17524 _ACEOF
17530 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17531 #include <linux/input.h>
17532 #endif
17534 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17536 cat >>confdefs.h <<_ACEOF
17537 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17538 _ACEOF
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17545 $as_echo_n "checking for if_nameindex... " >&6; }
17546 if ${wine_cv_have_if_nameindex+:} false; then :
17547 $as_echo_n "(cached) " >&6
17548 else
17549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17550 /* end confdefs.h. */
17551 #ifdef HAVE_SYS_TYPES_H
17552 #include <sys/types.h>
17553 #endif
17554 #ifdef HAVE_SYS_SOCKET_H
17555 #include <sys/socket.h>
17556 #endif
17557 #ifdef HAVE_NET_IF_H
17558 # include <net/if.h>
17559 #endif
17561 main ()
17563 struct if_nameindex *p = if_nameindex(); return p->if_index;
17565 return 0;
17567 _ACEOF
17568 if ac_fn_c_try_link "$LINENO"; then :
17569 wine_cv_have_if_nameindex=yes
17570 else
17571 wine_cv_have_if_nameindex=no
17573 rm -f core conftest.err conftest.$ac_objext \
17574 conftest$ac_exeext conftest.$ac_ext
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17577 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17578 if test "$wine_cv_have_if_nameindex" = "yes"
17579 then
17581 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17586 $as_echo_n "checking for sigaddset... " >&6; }
17587 if ${wine_cv_have_sigaddset+:} false; then :
17588 $as_echo_n "(cached) " >&6
17589 else
17590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17591 /* end confdefs.h. */
17592 #include <signal.h>
17594 main ()
17596 sigset_t set; sigaddset(&set,SIGTERM);
17598 return 0;
17600 _ACEOF
17601 if ac_fn_c_try_link "$LINENO"; then :
17602 wine_cv_have_sigaddset=yes
17603 else
17604 wine_cv_have_sigaddset=no
17606 rm -f core conftest.err conftest.$ac_objext \
17607 conftest$ac_exeext conftest.$ac_ext
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17610 $as_echo "$wine_cv_have_sigaddset" >&6; }
17611 if test "$wine_cv_have_sigaddset" = "yes"
17612 then
17614 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17620 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17621 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17622 $as_echo_n "(cached) " >&6
17623 else
17624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17625 /* end confdefs.h. */
17626 #include <netdb.h>
17628 main ()
17631 char *name=0;
17632 struct hostent he;
17633 struct hostent *result;
17634 char *buf=0;
17635 int bufsize=0;
17636 int errnr;
17637 char *addr=0;
17638 int addrlen=0;
17639 int addrtype=0;
17640 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17641 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17644 return 0;
17646 _ACEOF
17647 if ac_fn_c_try_link "$LINENO"; then :
17648 wine_cv_linux_gethostbyname_r_6=yes
17649 else
17650 wine_cv_linux_gethostbyname_r_6=no
17653 rm -f core conftest.err conftest.$ac_objext \
17654 conftest$ac_exeext conftest.$ac_ext
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17658 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17659 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17660 then
17662 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17666 if test "$ac_cv_header_linux_joystick_h" = "yes"
17667 then
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17669 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17670 if ${wine_cv_linux_joystick_22_api+:} false; then :
17671 $as_echo_n "(cached) " >&6
17672 else
17673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17674 /* end confdefs.h. */
17676 #include <sys/ioctl.h>
17677 #include <sys/types.h>
17678 #include <linux/joystick.h>
17680 struct js_event blub;
17681 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17682 #error "no 2.2 header"
17683 #endif
17686 main ()
17688 /*empty*/
17690 return 0;
17692 _ACEOF
17693 if ac_fn_c_try_compile "$LINENO"; then :
17694 wine_cv_linux_joystick_22_api=yes
17695 else
17696 wine_cv_linux_joystick_22_api=no
17698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17702 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17703 if test "$wine_cv_linux_joystick_22_api" = "yes"
17704 then
17706 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17712 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17713 #ifdef HAVE_SYS_PARAM_H
17714 # include <sys/param.h>
17715 #endif
17716 #ifdef HAVE_SYS_MOUNT_H
17717 # include <sys/mount.h>
17718 #endif
17719 #ifdef HAVE_SYS_VFS_H
17720 # include <sys/vfs.h>
17721 #endif
17722 #ifdef HAVE_SYS_STATFS_H
17723 # include <sys/statfs.h>
17724 #endif
17726 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17728 cat >>confdefs.h <<_ACEOF
17729 #define HAVE_STRUCT_STATFS_F_BFREE 1
17730 _ACEOF
17734 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17735 #ifdef HAVE_SYS_PARAM_H
17736 # include <sys/param.h>
17737 #endif
17738 #ifdef HAVE_SYS_MOUNT_H
17739 # include <sys/mount.h>
17740 #endif
17741 #ifdef HAVE_SYS_VFS_H
17742 # include <sys/vfs.h>
17743 #endif
17744 #ifdef HAVE_SYS_STATFS_H
17745 # include <sys/statfs.h>
17746 #endif
17748 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17750 cat >>confdefs.h <<_ACEOF
17751 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17752 _ACEOF
17756 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17757 #ifdef HAVE_SYS_PARAM_H
17758 # include <sys/param.h>
17759 #endif
17760 #ifdef HAVE_SYS_MOUNT_H
17761 # include <sys/mount.h>
17762 #endif
17763 #ifdef HAVE_SYS_VFS_H
17764 # include <sys/vfs.h>
17765 #endif
17766 #ifdef HAVE_SYS_STATFS_H
17767 # include <sys/statfs.h>
17768 #endif
17770 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17772 cat >>confdefs.h <<_ACEOF
17773 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17774 _ACEOF
17778 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17779 #ifdef HAVE_SYS_PARAM_H
17780 # include <sys/param.h>
17781 #endif
17782 #ifdef HAVE_SYS_MOUNT_H
17783 # include <sys/mount.h>
17784 #endif
17785 #ifdef HAVE_SYS_VFS_H
17786 # include <sys/vfs.h>
17787 #endif
17788 #ifdef HAVE_SYS_STATFS_H
17789 # include <sys/statfs.h>
17790 #endif
17792 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17794 cat >>confdefs.h <<_ACEOF
17795 #define HAVE_STRUCT_STATFS_F_FFREE 1
17796 _ACEOF
17800 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17801 #ifdef HAVE_SYS_PARAM_H
17802 # include <sys/param.h>
17803 #endif
17804 #ifdef HAVE_SYS_MOUNT_H
17805 # include <sys/mount.h>
17806 #endif
17807 #ifdef HAVE_SYS_VFS_H
17808 # include <sys/vfs.h>
17809 #endif
17810 #ifdef HAVE_SYS_STATFS_H
17811 # include <sys/statfs.h>
17812 #endif
17814 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17816 cat >>confdefs.h <<_ACEOF
17817 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17818 _ACEOF
17822 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17823 #ifdef HAVE_SYS_PARAM_H
17824 # include <sys/param.h>
17825 #endif
17826 #ifdef HAVE_SYS_MOUNT_H
17827 # include <sys/mount.h>
17828 #endif
17829 #ifdef HAVE_SYS_VFS_H
17830 # include <sys/vfs.h>
17831 #endif
17832 #ifdef HAVE_SYS_STATFS_H
17833 # include <sys/statfs.h>
17834 #endif
17836 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17838 cat >>confdefs.h <<_ACEOF
17839 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17840 _ACEOF
17846 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17847 #include <sys/statvfs.h>
17848 #endif
17850 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17852 cat >>confdefs.h <<_ACEOF
17853 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17854 _ACEOF
17860 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17861 #include <dirent.h>
17862 #endif
17864 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17866 cat >>confdefs.h <<_ACEOF
17867 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17868 _ACEOF
17874 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17875 #ifdef HAVE_SYS_SOCKET_H
17876 # include <sys/socket.h>
17877 #endif
17878 #ifdef HAVE_SYS_UN_H
17879 # include <sys/un.h>
17880 #endif
17882 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17884 cat >>confdefs.h <<_ACEOF
17885 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17886 _ACEOF
17890 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17891 #ifdef HAVE_SYS_SOCKET_H
17892 # include <sys/socket.h>
17893 #endif
17894 #ifdef HAVE_SYS_UN_H
17895 # include <sys/un.h>
17896 #endif
17898 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17900 cat >>confdefs.h <<_ACEOF
17901 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17902 _ACEOF
17906 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17907 #ifdef HAVE_SYS_SOCKET_H
17908 # include <sys/socket.h>
17909 #endif
17910 #ifdef HAVE_SYS_UN_H
17911 # include <sys/un.h>
17912 #endif
17914 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17916 cat >>confdefs.h <<_ACEOF
17917 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17918 _ACEOF
17924 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17925 #ifdef HAVE_SCSI_SG_H
17926 #include <scsi/sg.h>
17927 #endif
17929 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17931 cat >>confdefs.h <<_ACEOF
17932 #define HAVE_SCSIREQ_T_CMD 1
17933 _ACEOF
17937 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>
17938 #ifdef HAVE_SCSI_SG_H
17939 #include <scsi/sg.h>
17940 #endif
17942 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17944 cat >>confdefs.h <<_ACEOF
17945 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17946 _ACEOF
17952 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17954 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17956 cat >>confdefs.h <<_ACEOF
17957 #define HAVE_SIGINFO_T_SI_FD 1
17958 _ACEOF
17964 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17965 #ifdef HAVE_SYS_MTIO_H
17966 #include <sys/mtio.h>
17967 #endif
17969 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17971 cat >>confdefs.h <<_ACEOF
17972 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17973 _ACEOF
17977 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17978 #ifdef HAVE_SYS_MTIO_H
17979 #include <sys/mtio.h>
17980 #endif
17982 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17984 cat >>confdefs.h <<_ACEOF
17985 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17986 _ACEOF
17990 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17991 #ifdef HAVE_SYS_MTIO_H
17992 #include <sys/mtio.h>
17993 #endif
17995 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17997 cat >>confdefs.h <<_ACEOF
17998 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17999 _ACEOF
18005 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18006 #include <getopt.h>
18007 #endif
18009 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18011 cat >>confdefs.h <<_ACEOF
18012 #define HAVE_STRUCT_OPTION_NAME 1
18013 _ACEOF
18019 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18020 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18022 cat >>confdefs.h <<_ACEOF
18023 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18024 _ACEOF
18028 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18029 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18031 cat >>confdefs.h <<_ACEOF
18032 #define HAVE_STRUCT_STAT_ST_MTIM 1
18033 _ACEOF
18037 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18038 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18040 cat >>confdefs.h <<_ACEOF
18041 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18042 _ACEOF
18046 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18047 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18049 cat >>confdefs.h <<_ACEOF
18050 #define HAVE_STRUCT_STAT_ST_CTIM 1
18051 _ACEOF
18055 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18056 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18058 cat >>confdefs.h <<_ACEOF
18059 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18060 _ACEOF
18064 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18065 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18067 cat >>confdefs.h <<_ACEOF
18068 #define HAVE_STRUCT_STAT_ST_ATIM 1
18069 _ACEOF
18073 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18074 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18076 cat >>confdefs.h <<_ACEOF
18077 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18078 _ACEOF
18082 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18083 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18085 cat >>confdefs.h <<_ACEOF
18086 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18087 _ACEOF
18091 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18092 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18094 cat >>confdefs.h <<_ACEOF
18095 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18096 _ACEOF
18100 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18101 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18103 cat >>confdefs.h <<_ACEOF
18104 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18105 _ACEOF
18109 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18110 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18112 cat >>confdefs.h <<_ACEOF
18113 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18114 _ACEOF
18118 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18119 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18121 cat >>confdefs.h <<_ACEOF
18122 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18123 _ACEOF
18129 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
18130 #include <sys/types.h>
18131 #endif
18132 #ifdef HAVE_NETINET_IN_H
18133 #include <netinet/in.h>
18134 #endif
18136 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18138 cat >>confdefs.h <<_ACEOF
18139 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18140 _ACEOF
18146 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18147 #include <sys/types.h>
18148 #endif
18149 #ifdef HAVE_NETINET_IN_H
18150 #include <netinet/in.h>
18151 #endif
18152 #ifdef HAVE_RESOLV_H
18153 #include <resolv.h>
18154 #endif
18156 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18158 cat >>confdefs.h <<_ACEOF
18159 #define HAVE_STRUCT___RES_STATE 1
18160 _ACEOF
18166 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
18167 #include <resolv.h>
18168 #endif
18170 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18172 cat >>confdefs.h <<_ACEOF
18173 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18174 _ACEOF
18180 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18181 #include <sys/types.h>
18182 #endif
18183 #ifdef HAVE_NETINET_IN_H
18184 # include <netinet/in.h>
18185 #endif
18186 #ifdef HAVE_ARPA_NAMESER_H
18187 # include <arpa/nameser.h>
18188 #endif
18190 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18192 cat >>confdefs.h <<_ACEOF
18193 #define HAVE_NS_MSG__MSG_PTR 1
18194 _ACEOF
18200 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18201 #include <sys/types.h>
18202 #endif
18203 #ifdef HAVE_NETINET_IN_H
18204 #include <netinet/in.h>
18205 #endif
18206 #ifdef HAVE_NETINET_IP_H
18207 #include <netinet/ip.h>
18208 #endif
18209 #ifdef HAVE_NETINET_IP_ICMP_H
18210 #include <netinet/ip_icmp.h>
18211 #endif
18212 #ifdef HAVE_NETINET_ICMP_VAR_H
18213 #include <netinet/icmp_var.h>
18214 #endif
18216 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18218 cat >>confdefs.h <<_ACEOF
18219 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18220 _ACEOF
18226 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18227 #include <sys/types.h>
18228 #endif
18229 #ifdef HAVE_ALIAS_H
18230 #include <alias.h>
18231 #endif
18232 #ifdef HAVE_SYS_SOCKET_H
18233 #include <sys/socket.h>
18234 #endif
18235 #ifdef HAVE_SYS_SOCKETVAR_H
18236 #include <sys/socketvar.h>
18237 #endif
18238 #ifdef HAVE_SYS_TIMEOUT_H
18239 #include <sys/timeout.h>
18240 #endif
18241 #ifdef HAVE_NETINET_IN_H
18242 #include <netinet/in.h>
18243 #endif
18244 #ifdef HAVE_NETINET_IN_SYSTM_H
18245 #include <netinet/in_systm.h>
18246 #endif
18247 #ifdef HAVE_NETINET_IP_H
18248 #include <netinet/ip.h>
18249 #endif
18250 #ifdef HAVE_NETINET_IP_VAR_H
18251 #include <netinet/ip_var.h>
18252 #endif
18253 #ifdef HAVE_NETINET_IP_ICMP_H
18254 #include <netinet/ip_icmp.h>
18255 #endif
18256 #ifdef HAVE_NETINET_ICMP_VAR_H
18257 #include <netinet/icmp_var.h>
18258 #endif
18260 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18262 cat >>confdefs.h <<_ACEOF
18263 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18264 _ACEOF
18270 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18271 #include <sys/types.h>
18272 #endif
18273 #ifdef HAVE_SYS_SOCKETVAR_H
18274 #include <sys/socketvar.h>
18275 #endif
18276 #ifdef HAVE_NETINET_IN_H
18277 #include <netinet/in.h>
18278 #endif
18279 #ifdef HAVE_NETINET_IP_VAR_H
18280 #include <netinet/ip_var.h>
18281 #endif
18283 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18285 cat >>confdefs.h <<_ACEOF
18286 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18287 _ACEOF
18293 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
18294 #include <netinet/ip_var.h>
18295 #endif
18297 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18299 cat >>confdefs.h <<_ACEOF
18300 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18301 _ACEOF
18307 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18308 #include <sys/types.h>
18309 #endif
18310 #ifdef HAVE_SYS_SOCKETVAR_H
18311 #include <sys/socketvar.h>
18312 #endif
18313 #ifdef HAVE_NETINET_IN_H
18314 #include <netinet/in.h>
18315 #endif
18316 #ifdef HAVE_NETINET_TCP_H
18317 #include <netinet/tcp.h>
18318 #endif
18319 #ifdef HAVE_NETINET_TCP_VAR_H
18320 #include <netinet/tcp_var.h>
18321 #endif
18323 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18325 cat >>confdefs.h <<_ACEOF
18326 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18327 _ACEOF
18333 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
18334 #include <netinet/tcp_var.h>
18335 #endif
18337 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18339 cat >>confdefs.h <<_ACEOF
18340 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18341 _ACEOF
18347 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18348 #include <sys/types.h>
18349 #endif
18350 #ifdef HAVE_NETINET_IN_H
18351 #include <netinet/in.h>
18352 #endif
18353 #ifdef HAVE_NETINET_IP_VAR_H
18354 #include <netinet/ip_var.h>
18355 #endif
18356 #ifdef HAVE_NETINET_UDP_H
18357 #include <netinet/udp.h>
18358 #endif
18359 #ifdef HAVE_NETINET_UDP_VAR_H
18360 #include <netinet/udp_var.h>
18361 #endif
18363 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18365 cat >>confdefs.h <<_ACEOF
18366 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18367 _ACEOF
18373 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18374 #include <sys/types.h>
18375 #endif
18376 #ifdef HAVE_NET_IF_H
18377 # include <net/if.h>
18378 #endif
18380 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18382 cat >>confdefs.h <<_ACEOF
18383 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18384 _ACEOF
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18391 $as_echo_n "checking for timezone variable... " >&6; }
18392 if ${ac_cv_have_timezone+:} false; then :
18393 $as_echo_n "(cached) " >&6
18394 else
18395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18397 #include <time.h>
18399 main ()
18401 timezone = 1
18403 return 0;
18405 _ACEOF
18406 if ac_fn_c_try_link "$LINENO"; then :
18407 ac_cv_have_timezone="yes"
18408 else
18409 ac_cv_have_timezone="no"
18411 rm -f core conftest.err conftest.$ac_objext \
18412 conftest$ac_exeext conftest.$ac_ext
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
18415 $as_echo "$ac_cv_have_timezone" >&6; }
18416 if test "$ac_cv_have_timezone" = "yes"
18417 then
18419 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
18423 $as_echo_n "checking for daylight variable... " >&6; }
18424 if ${ac_cv_have_daylight+:} false; then :
18425 $as_echo_n "(cached) " >&6
18426 else
18427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18428 /* end confdefs.h. */
18429 #include <time.h>
18431 main ()
18433 daylight = 1
18435 return 0;
18437 _ACEOF
18438 if ac_fn_c_try_link "$LINENO"; then :
18439 ac_cv_have_daylight="yes"
18440 else
18441 ac_cv_have_daylight="no"
18443 rm -f core conftest.err conftest.$ac_objext \
18444 conftest$ac_exeext conftest.$ac_ext
18446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
18447 $as_echo "$ac_cv_have_daylight" >&6; }
18448 if test "$ac_cv_have_daylight" = "yes"
18449 then
18451 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
18455 ac_save_LIBS="$LIBS"
18456 LIBS="$LIBS -lm"
18457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18458 $as_echo_n "checking for isfinite... " >&6; }
18459 if ${ac_cv_have_isfinite+:} false; then :
18460 $as_echo_n "(cached) " >&6
18461 else
18462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18463 /* end confdefs.h. */
18464 #define _GNU_SOURCE
18465 #include <math.h>
18467 main ()
18469 float f = 0.0; return isfinite(f)
18471 return 0;
18473 _ACEOF
18474 if ac_fn_c_try_link "$LINENO"; then :
18475 ac_cv_have_isfinite="yes"
18476 else
18477 ac_cv_have_isfinite="no"
18479 rm -f core conftest.err conftest.$ac_objext \
18480 conftest$ac_exeext conftest.$ac_ext
18482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18483 $as_echo "$ac_cv_have_isfinite" >&6; }
18484 if test "$ac_cv_have_isfinite" = "yes"
18485 then
18487 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18492 $as_echo_n "checking for isinf... " >&6; }
18493 if ${ac_cv_have_isinf+:} false; then :
18494 $as_echo_n "(cached) " >&6
18495 else
18496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18497 /* end confdefs.h. */
18498 #include <math.h>
18500 main ()
18502 float f = 0.0; return isinf(f)
18504 return 0;
18506 _ACEOF
18507 if ac_fn_c_try_link "$LINENO"; then :
18508 ac_cv_have_isinf="yes"
18509 else
18510 ac_cv_have_isinf="no"
18512 rm -f core conftest.err conftest.$ac_objext \
18513 conftest$ac_exeext conftest.$ac_ext
18515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18516 $as_echo "$ac_cv_have_isinf" >&6; }
18517 if test "$ac_cv_have_isinf" = "yes"
18518 then
18520 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18525 $as_echo_n "checking for isnan... " >&6; }
18526 if ${ac_cv_have_isnan+:} false; then :
18527 $as_echo_n "(cached) " >&6
18528 else
18529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18530 /* end confdefs.h. */
18531 #include <math.h>
18533 main ()
18535 float f = 0.0; return isnan(f)
18537 return 0;
18539 _ACEOF
18540 if ac_fn_c_try_link "$LINENO"; then :
18541 ac_cv_have_isnan="yes"
18542 else
18543 ac_cv_have_isnan="no"
18545 rm -f core conftest.err conftest.$ac_objext \
18546 conftest$ac_exeext conftest.$ac_ext
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18549 $as_echo "$ac_cv_have_isnan" >&6; }
18550 if test "$ac_cv_have_isnan" = "yes"
18551 then
18553 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18557 for ac_func in \
18558 acosh \
18559 acoshf \
18560 asinh \
18561 asinhf \
18562 atanh \
18563 atanhf \
18564 cbrt \
18565 cbrtf \
18566 erf \
18567 erfc \
18568 erfcf \
18569 erff \
18570 exp2 \
18571 exp2f \
18572 expm1 \
18573 expm1f \
18574 ilogb \
18575 ilogbf \
18576 j0 \
18577 j1 \
18578 jn \
18579 lgamma \
18580 lgammaf \
18581 llrint \
18582 llrintf \
18583 llround \
18584 llroundf \
18585 log1p \
18586 log1pf \
18587 log2 \
18588 log2f \
18589 lrint \
18590 lrintf \
18591 lround \
18592 lroundf \
18593 nearbyint \
18594 nearbyintf \
18595 nexttoward \
18596 nexttowardf \
18597 powl \
18598 remainder \
18599 remainderf \
18600 rint \
18601 rintf \
18602 round \
18603 roundf \
18604 trunc \
18605 truncf \
18606 y0 \
18607 y1 \
18610 do :
18611 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18612 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18613 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18614 cat >>confdefs.h <<_ACEOF
18615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18616 _ACEOF
18619 done
18621 LIBS="$ac_save_LIBS"
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18624 $as_echo_n "checking for __builtin_clz... " >&6; }
18625 if ${ac_cv_have___builtin_clz+:} false; then :
18626 $as_echo_n "(cached) " >&6
18627 else
18628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18629 /* end confdefs.h. */
18632 main ()
18634 return __builtin_clz(1)
18636 return 0;
18638 _ACEOF
18639 if ac_fn_c_try_link "$LINENO"; then :
18640 ac_cv_have___builtin_clz="yes"
18641 else
18642 ac_cv_have___builtin_clz="no"
18644 rm -f core conftest.err conftest.$ac_objext \
18645 conftest$ac_exeext conftest.$ac_ext
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18648 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18649 if test "$ac_cv_have___builtin_clz" = "yes"
18650 then
18652 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18657 $as_echo_n "checking for __builtin_popcount... " >&6; }
18658 if ${ac_cv_have___builtin_popcount+:} false; then :
18659 $as_echo_n "(cached) " >&6
18660 else
18661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h. */
18665 main ()
18667 return __builtin_popcount(1)
18669 return 0;
18671 _ACEOF
18672 if ac_fn_c_try_link "$LINENO"; then :
18673 ac_cv_have___builtin_popcount="yes"
18674 else
18675 ac_cv_have___builtin_popcount="no"
18677 rm -f core conftest.err conftest.$ac_objext \
18678 conftest$ac_exeext conftest.$ac_ext
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18681 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18682 if test "$ac_cv_have___builtin_popcount" = "yes"
18683 then
18685 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18690 $as_echo_n "checking for __clear_cache... " >&6; }
18691 if ${ac_cv_have___clear_cache+:} false; then :
18692 $as_echo_n "(cached) " >&6
18693 else
18694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18695 /* end confdefs.h. */
18698 main ()
18700 __clear_cache((void*)0, (void*)0); return 0;
18702 return 0;
18704 _ACEOF
18705 if ac_fn_c_try_link "$LINENO"; then :
18706 ac_cv_have___clear_cache="yes"
18707 else
18708 ac_cv_have___clear_cache="no"
18710 rm -f core conftest.err conftest.$ac_objext \
18711 conftest$ac_exeext conftest.$ac_ext
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18714 $as_echo "$ac_cv_have___clear_cache" >&6; }
18715 if test "$ac_cv_have___clear_cache" = "yes"
18716 then
18718 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18723 case $host_cpu in
18724 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18725 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18726 if ${ac_cv_cpp_def___i386__+:} false; then :
18727 $as_echo_n "(cached) " >&6
18728 else
18729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18730 /* end confdefs.h. */
18731 #ifndef __i386__
18733 #endif
18734 _ACEOF
18735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18736 $EGREP "yes" >/dev/null 2>&1; then :
18737 ac_cv_cpp_def___i386__=yes
18738 else
18739 ac_cv_cpp_def___i386__=no
18741 rm -f conftest*
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18745 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18746 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18747 CFLAGS="$CFLAGS -D__i386__"
18748 LINTFLAGS="$LINTFLAGS -D__i386__"
18749 fi ;;
18750 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18751 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18752 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18753 $as_echo_n "(cached) " >&6
18754 else
18755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18756 /* end confdefs.h. */
18757 #ifndef __x86_64__
18759 #endif
18760 _ACEOF
18761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18762 $EGREP "yes" >/dev/null 2>&1; then :
18763 ac_cv_cpp_def___x86_64__=yes
18764 else
18765 ac_cv_cpp_def___x86_64__=no
18767 rm -f conftest*
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18771 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18772 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18773 CFLAGS="$CFLAGS -D__x86_64__"
18774 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18775 fi ;;
18776 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18777 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18778 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18779 $as_echo_n "(cached) " >&6
18780 else
18781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18782 /* end confdefs.h. */
18783 #ifndef __sparc64__
18785 #endif
18786 _ACEOF
18787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18788 $EGREP "yes" >/dev/null 2>&1; then :
18789 ac_cv_cpp_def___sparc64__=yes
18790 else
18791 ac_cv_cpp_def___sparc64__=no
18793 rm -f conftest*
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18797 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18798 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18799 CFLAGS="$CFLAGS -D__sparc64__"
18800 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18801 fi ;;
18802 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18803 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18804 if ${ac_cv_cpp_def___sparc__+:} false; then :
18805 $as_echo_n "(cached) " >&6
18806 else
18807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18808 /* end confdefs.h. */
18809 #ifndef __sparc__
18811 #endif
18812 _ACEOF
18813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18814 $EGREP "yes" >/dev/null 2>&1; then :
18815 ac_cv_cpp_def___sparc__=yes
18816 else
18817 ac_cv_cpp_def___sparc__=no
18819 rm -f conftest*
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18823 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18824 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18825 CFLAGS="$CFLAGS -D__sparc__"
18826 LINTFLAGS="$LINTFLAGS -D__sparc__"
18827 fi ;;
18828 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18829 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18830 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18831 $as_echo_n "(cached) " >&6
18832 else
18833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18834 /* end confdefs.h. */
18835 #ifndef __powerpc64__
18837 #endif
18838 _ACEOF
18839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18840 $EGREP "yes" >/dev/null 2>&1; then :
18841 ac_cv_cpp_def___powerpc64__=yes
18842 else
18843 ac_cv_cpp_def___powerpc64__=no
18845 rm -f conftest*
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18849 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18850 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18851 CFLAGS="$CFLAGS -D__powerpc64__"
18852 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18853 fi ;;
18854 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18855 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18856 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18857 $as_echo_n "(cached) " >&6
18858 else
18859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18860 /* end confdefs.h. */
18861 #ifndef __powerpc__
18863 #endif
18864 _ACEOF
18865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18866 $EGREP "yes" >/dev/null 2>&1; then :
18867 ac_cv_cpp_def___powerpc__=yes
18868 else
18869 ac_cv_cpp_def___powerpc__=no
18871 rm -f conftest*
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18875 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18876 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18877 CFLAGS="$CFLAGS -D__powerpc__"
18878 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18879 fi ;;
18880 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18881 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18882 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18883 $as_echo_n "(cached) " >&6
18884 else
18885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18886 /* end confdefs.h. */
18887 #ifndef __aarch64__
18889 #endif
18890 _ACEOF
18891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18892 $EGREP "yes" >/dev/null 2>&1; then :
18893 ac_cv_cpp_def___aarch64__=yes
18894 else
18895 ac_cv_cpp_def___aarch64__=no
18897 rm -f conftest*
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18901 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18902 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18903 CFLAGS="$CFLAGS -D__aarch64__"
18904 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18905 fi ;;
18906 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18907 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18908 if ${ac_cv_cpp_def___arm__+:} false; then :
18909 $as_echo_n "(cached) " >&6
18910 else
18911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18912 /* end confdefs.h. */
18913 #ifndef __arm__
18915 #endif
18916 _ACEOF
18917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18918 $EGREP "yes" >/dev/null 2>&1; then :
18919 ac_cv_cpp_def___arm__=yes
18920 else
18921 ac_cv_cpp_def___arm__=no
18923 rm -f conftest*
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18927 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18928 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18929 CFLAGS="$CFLAGS -D__arm__"
18930 LINTFLAGS="$LINTFLAGS -D__arm__"
18931 fi ;;
18932 esac
18934 case $host_vendor in
18935 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18936 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18937 if ${ac_cv_cpp_def___sun__+:} false; then :
18938 $as_echo_n "(cached) " >&6
18939 else
18940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18941 /* end confdefs.h. */
18942 #ifndef __sun__
18944 #endif
18945 _ACEOF
18946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18947 $EGREP "yes" >/dev/null 2>&1; then :
18948 ac_cv_cpp_def___sun__=yes
18949 else
18950 ac_cv_cpp_def___sun__=no
18952 rm -f conftest*
18955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18956 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18957 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18958 CFLAGS="$CFLAGS -D__sun__"
18959 LINTFLAGS="$LINTFLAGS -D__sun__"
18960 fi ;;
18961 esac
18967 ac_config_commands="$ac_config_commands include/stamp-h"
18969 $as_echo_n "creating Makefile rules..." >&6
18971 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18972 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18973 IOKIT_LIBS = $IOKIT_LIBS
18974 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18975 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18976 CORESERVICES_LIBS = $CORESERVICES_LIBS
18977 APPKIT_LIBS = $APPKIT_LIBS
18978 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18979 SECURITY_LIBS = $SECURITY_LIBS
18980 COREAUDIO_LIBS = $COREAUDIO_LIBS
18981 OPENAL_LIBS = $OPENAL_LIBS
18982 OPENCL_LIBS = $OPENCL_LIBS
18983 QUICKTIME_LIBS = $QUICKTIME_LIBS
18984 CARBON_LIBS = $CARBON_LIBS
18985 METAL_LIBS = $METAL_LIBS
18986 PTHREAD_LIBS = $PTHREAD_LIBS
18987 X_CFLAGS = $X_CFLAGS
18988 X_PRE_LIBS = $X_PRE_LIBS
18989 X_LIBS = $X_LIBS
18990 X_EXTRA_LIBS = $X_EXTRA_LIBS
18991 PCAP_LIBS = $PCAP_LIBS
18992 XML2_CFLAGS = $XML2_CFLAGS
18993 XML2_LIBS = $XML2_LIBS
18994 XSLT_CFLAGS = $XSLT_CFLAGS
18995 XSLT_LIBS = $XSLT_LIBS
18996 DBUS_CFLAGS = $DBUS_CFLAGS
18997 DBUS_LIBS = $DBUS_LIBS
18998 HAL_CFLAGS = $HAL_CFLAGS
18999 HAL_LIBS = $HAL_LIBS
19000 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19001 GNUTLS_LIBS = $GNUTLS_LIBS
19002 SANE_CFLAGS = $SANE_CFLAGS
19003 SANE_LIBS = $SANE_LIBS
19004 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19005 GPHOTO2_LIBS = $GPHOTO2_LIBS
19006 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19007 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19008 RESOLV_LIBS = $RESOLV_LIBS
19009 LCMS2_CFLAGS = $LCMS2_CFLAGS
19010 LCMS2_LIBS = $LCMS2_LIBS
19011 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19012 FREETYPE_LIBS = $FREETYPE_LIBS
19013 Z_LIBS = $Z_LIBS
19014 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19015 PULSE_CFLAGS = $PULSE_CFLAGS
19016 PULSE_LIBS = $PULSE_LIBS
19017 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19018 GSTREAMER_LIBS = $GSTREAMER_LIBS
19019 ALSA_LIBS = $ALSA_LIBS
19020 OSS4_CFLAGS = $OSS4_CFLAGS
19021 UDEV_CFLAGS = $UDEV_CFLAGS
19022 UDEV_LIBS = $UDEV_LIBS
19023 SDL2_CFLAGS = $SDL2_CFLAGS
19024 SDL2_LIBS = $SDL2_LIBS
19025 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19026 FAUDIO_LIBS = $FAUDIO_LIBS
19027 CAPI20_CFLAGS = $CAPI20_CFLAGS
19028 CAPI20_LIBS = $CAPI20_LIBS
19029 CUPS_CFLAGS = $CUPS_CFLAGS
19030 CUPS_LIBS = $CUPS_LIBS
19031 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19032 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19033 KRB5_CFLAGS = $KRB5_CFLAGS
19034 KRB5_LIBS = $KRB5_LIBS
19035 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19036 GSSAPI_LIBS = $GSSAPI_LIBS
19037 JPEG_CFLAGS = $JPEG_CFLAGS
19038 JPEG_LIBS = $JPEG_LIBS
19039 PNG_CFLAGS = $PNG_CFLAGS
19040 PNG_LIBS = $PNG_LIBS
19041 TIFF_CFLAGS = $TIFF_CFLAGS
19042 TIFF_LIBS = $TIFF_LIBS
19043 MPG123_CFLAGS = $MPG123_CFLAGS
19044 MPG123_LIBS = $MPG123_LIBS
19045 KSTAT_LIBS = $KSTAT_LIBS
19046 PROCSTAT_LIBS = $PROCSTAT_LIBS
19047 NETAPI_CFLAGS = $NETAPI_CFLAGS
19048 NETAPI_LIBS = $NETAPI_LIBS
19049 VKD3D_CFLAGS = $VKD3D_CFLAGS
19050 VKD3D_LIBS = $VKD3D_LIBS
19051 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19052 DL_LIBS = $DL_LIBS
19053 POLL_LIBS = $POLL_LIBS
19054 RT_LIBS = $RT_LIBS
19055 LDAP_CFLAGS = $LDAP_CFLAGS
19056 LDAP_LIBS = $LDAP_LIBS
19061 wine_fn_append_rule "
19062 # Rules automatically generated by configure
19064 .INIT: Makefile
19065 .MAKEFILEDEPS:
19066 all: Makefile
19067 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19068 @./config.status Make.tmp Makefile
19069 depend: \$(MAKEDEP) dummy
19070 \$(MAKEDEP)"
19072 if test "x$enable_fonts" != xno; then
19073 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19074 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19075 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19076 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19077 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19078 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19080 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19081 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19082 ac_config_links="$ac_config_links wine:tools/winewrapper"
19083 wine_fn_config_symlink wine
19084 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19085 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19086 wine_fn_config_symlink wine64
19089 wine_fn_config_makefile dlls/acledit enable_acledit
19090 wine_fn_config_makefile dlls/aclui enable_aclui
19091 wine_fn_config_makefile dlls/activeds enable_activeds
19092 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19093 wine_fn_config_makefile dlls/adsiid enable_adsiid
19094 wine_fn_config_makefile dlls/adsldp enable_adsldp
19095 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19096 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19097 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19098 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19099 wine_fn_config_makefile dlls/advpack enable_advpack
19100 wine_fn_config_makefile dlls/advpack/tests enable_tests
19101 wine_fn_config_makefile dlls/amsi enable_amsi
19102 wine_fn_config_makefile dlls/amstream enable_amstream
19103 wine_fn_config_makefile dlls/amstream/tests enable_tests
19104 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19105 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19106 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19107 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19108 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19109 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19110 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19111 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19112 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19113 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19114 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19115 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19116 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19117 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19118 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19119 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19120 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19121 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19122 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19123 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19124 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19125 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19126 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19127 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19128 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19129 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19130 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19131 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19132 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19133 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19134 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19135 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19136 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19137 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19138 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19139 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19140 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19141 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19142 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19143 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19144 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19145 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19146 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19147 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19148 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19149 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19150 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19151 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19152 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19153 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19154 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19155 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19156 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19157 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19158 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19159 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19160 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19161 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19162 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19163 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19164 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19165 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19166 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19167 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19168 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19169 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19170 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19171 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19172 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19173 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19174 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19175 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19176 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19177 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19178 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19179 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19180 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19181 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19182 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19183 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19184 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19185 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19186 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19187 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19188 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19189 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19190 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19191 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19192 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19193 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19194 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19195 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19196 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19197 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19198 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19199 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19200 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19201 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19202 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19203 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19204 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19205 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19206 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19207 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19208 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19209 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19210 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19211 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19212 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19213 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19214 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19215 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19216 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19217 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19218 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19219 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19220 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19221 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19222 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19223 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19224 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19225 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19226 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19227 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19228 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19229 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19230 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19231 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19232 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19233 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19234 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19235 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19236 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19237 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19238 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19239 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19240 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19241 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19242 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19243 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19244 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19245 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19246 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19247 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19248 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19249 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19250 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19251 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19252 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19253 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19254 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19255 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19256 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19257 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19258 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19259 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19260 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19261 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19262 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19263 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19264 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19265 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19266 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19267 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19268 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19269 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19270 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19271 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19272 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19273 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19274 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19275 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19276 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19277 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19278 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19279 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19280 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19281 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19282 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19283 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19284 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19285 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19286 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19287 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19288 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19289 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19290 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19291 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19292 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19293 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19294 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19295 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19296 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19297 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19298 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19299 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19300 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19301 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19302 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19303 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19304 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19305 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19306 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19307 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19308 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19309 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19310 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19311 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19312 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19313 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19314 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19315 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19316 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19317 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19318 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19319 wine_fn_config_makefile dlls/apphelp enable_apphelp
19320 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19321 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19322 wine_fn_config_makefile dlls/atl enable_atl
19323 wine_fn_config_makefile dlls/atl/tests enable_tests
19324 wine_fn_config_makefile dlls/atl100 enable_atl100
19325 wine_fn_config_makefile dlls/atl100/tests enable_tests
19326 wine_fn_config_makefile dlls/atl110 enable_atl110
19327 wine_fn_config_makefile dlls/atl80 enable_atl80
19328 wine_fn_config_makefile dlls/atl80/tests enable_tests
19329 wine_fn_config_makefile dlls/atl90 enable_atl90
19330 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
19331 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
19332 wine_fn_config_makefile dlls/atmlib enable_atmlib
19333 wine_fn_config_makefile dlls/authz enable_authz
19334 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19335 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19336 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19337 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19338 wine_fn_config_makefile dlls/avrt enable_avrt
19339 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19340 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19341 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19342 wine_fn_config_makefile dlls/browseui enable_browseui
19343 wine_fn_config_makefile dlls/browseui/tests enable_tests
19344 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19345 wine_fn_config_makefile dlls/cabinet enable_cabinet
19346 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19347 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19348 wine_fn_config_makefile dlls/cards enable_cards
19349 wine_fn_config_makefile dlls/cdosys enable_cdosys
19350 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19351 wine_fn_config_makefile dlls/clusapi enable_clusapi
19352 wine_fn_config_makefile dlls/combase enable_combase
19353 wine_fn_config_makefile dlls/combase/tests enable_tests
19354 wine_fn_config_makefile dlls/comcat enable_comcat
19355 wine_fn_config_makefile dlls/comcat/tests enable_tests
19356 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19357 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19358 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19359 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19360 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19361 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19362 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19363 wine_fn_config_makefile dlls/compstui enable_compstui
19364 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19365 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
19366 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19367 wine_fn_config_makefile dlls/connect enable_connect
19368 wine_fn_config_makefile dlls/credui enable_credui
19369 wine_fn_config_makefile dlls/credui/tests enable_tests
19370 wine_fn_config_makefile dlls/crtdll enable_crtdll
19371 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19372 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19373 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19374 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19375 wine_fn_config_makefile dlls/cryptext enable_cryptext
19376 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19377 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19378 wine_fn_config_makefile dlls/cryptui enable_cryptui
19379 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19380 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19381 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19382 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19383 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19384 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19385 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19386 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19387 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19388 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19389 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19390 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19391 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19392 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19393 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19394 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19395 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19396 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19397 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19398 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19399 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19400 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19401 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19402 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19403 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19404 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19405 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19406 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19407 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19408 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19409 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19410 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19411 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19412 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19413 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19414 wine_fn_config_makefile dlls/d3dim enable_d3dim
19415 wine_fn_config_makefile dlls/d3drm enable_d3drm
19416 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19417 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19418 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19419 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19420 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19421 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19422 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19423 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19424 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19425 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19426 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19427 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19428 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19429 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19430 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19431 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19432 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19433 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19434 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19435 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19436 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19437 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19438 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19439 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19440 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19441 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19442 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19443 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19444 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19445 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19446 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19447 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19448 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19449 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19450 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19451 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19452 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19453 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19454 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19455 wine_fn_config_makefile dlls/davclnt enable_davclnt
19456 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19457 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19458 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19459 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19460 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19461 wine_fn_config_makefile dlls/ddraw enable_ddraw
19462 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19463 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19464 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19465 wine_fn_config_makefile dlls/devenum enable_devenum
19466 wine_fn_config_makefile dlls/devenum/tests enable_tests
19467 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19468 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19469 wine_fn_config_makefile dlls/difxapi enable_difxapi
19470 wine_fn_config_makefile dlls/dinput enable_dinput
19471 wine_fn_config_makefile dlls/dinput/tests enable_tests
19472 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19473 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19474 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19475 wine_fn_config_makefile dlls/dispex enable_dispex
19476 wine_fn_config_makefile dlls/dispex/tests enable_tests
19477 wine_fn_config_makefile dlls/display.drv16 enable_win16
19478 wine_fn_config_makefile dlls/dmband enable_dmband
19479 wine_fn_config_makefile dlls/dmband/tests enable_tests
19480 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19481 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19482 wine_fn_config_makefile dlls/dmime enable_dmime
19483 wine_fn_config_makefile dlls/dmime/tests enable_tests
19484 wine_fn_config_makefile dlls/dmloader enable_dmloader
19485 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19486 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19487 wine_fn_config_makefile dlls/dmscript enable_dmscript
19488 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19489 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19490 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19491 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19492 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19493 wine_fn_config_makefile dlls/dmusic enable_dmusic
19494 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19495 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19496 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19497 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19498 wine_fn_config_makefile dlls/dplay enable_dplay
19499 wine_fn_config_makefile dlls/dplayx enable_dplayx
19500 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19501 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19502 wine_fn_config_makefile dlls/dpnet enable_dpnet
19503 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19504 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19505 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19506 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19507 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19508 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19509 wine_fn_config_makefile dlls/drmclien enable_drmclien
19510 wine_fn_config_makefile dlls/dsound enable_dsound
19511 wine_fn_config_makefile dlls/dsound/tests enable_tests
19512 wine_fn_config_makefile dlls/dsquery enable_dsquery
19513 wine_fn_config_makefile dlls/dssenh enable_dssenh
19514 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19515 wine_fn_config_makefile dlls/dswave enable_dswave
19516 wine_fn_config_makefile dlls/dswave/tests enable_tests
19517 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19518 wine_fn_config_makefile dlls/dwrite enable_dwrite
19519 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19520 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19521 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19522 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19523 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19524 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19525 wine_fn_config_makefile dlls/dxgi enable_dxgi
19526 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19527 wine_fn_config_makefile dlls/dxguid enable_dxguid
19528 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19529 wine_fn_config_makefile dlls/esent enable_esent
19530 wine_fn_config_makefile dlls/evr enable_evr
19531 wine_fn_config_makefile dlls/evr/tests enable_tests
19532 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19533 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19534 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19535 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19536 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19537 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
19538 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19539 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19540 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19541 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
19542 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19543 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
19544 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
19545 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19546 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19547 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19548 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
19549 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19550 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
19551 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19552 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19553 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
19554 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19555 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
19556 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
19557 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19558 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19559 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19560 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19561 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19562 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19563 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
19564 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19565 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19566 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
19567 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19568 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19569 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19570 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19571 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19572 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19573 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19574 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
19575 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19576 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19577 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19578 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19579 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19580 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19581 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19582 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19583 wine_fn_config_makefile dlls/faultrep enable_faultrep
19584 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19585 wine_fn_config_makefile dlls/feclient enable_feclient
19586 wine_fn_config_makefile dlls/fltlib enable_fltlib
19587 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19588 wine_fn_config_makefile dlls/fntcache enable_fntcache
19589 wine_fn_config_makefile dlls/fontsub enable_fontsub
19590 wine_fn_config_makefile dlls/fusion enable_fusion
19591 wine_fn_config_makefile dlls/fusion/tests enable_tests
19592 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19593 wine_fn_config_makefile dlls/gameux enable_gameux
19594 wine_fn_config_makefile dlls/gameux/tests enable_tests
19595 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19596 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19597 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19598 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19599 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19600 wine_fn_config_makefile dlls/glu32 enable_glu32
19601 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19602 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19603 wine_fn_config_makefile dlls/hal enable_hal
19604 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19605 wine_fn_config_makefile dlls/hid enable_hid
19606 wine_fn_config_makefile dlls/hid/tests enable_tests
19607 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19608 wine_fn_config_makefile dlls/hlink enable_hlink
19609 wine_fn_config_makefile dlls/hlink/tests enable_tests
19610 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19611 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19612 wine_fn_config_makefile dlls/httpapi enable_httpapi
19613 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19614 wine_fn_config_makefile dlls/iccvid enable_iccvid
19615 wine_fn_config_makefile dlls/icmp enable_icmp
19616 wine_fn_config_makefile dlls/ieframe enable_ieframe
19617 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19618 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19619 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19620 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19621 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19622 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19623 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19624 wine_fn_config_makefile dlls/imm32 enable_imm32
19625 wine_fn_config_makefile dlls/imm32/tests enable_tests
19626 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19627 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19628 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19629 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19630 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19631 wine_fn_config_makefile dlls/infosoft enable_infosoft
19632 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19633 wine_fn_config_makefile dlls/initpki enable_initpki
19634 wine_fn_config_makefile dlls/inkobj enable_inkobj
19635 wine_fn_config_makefile dlls/inseng enable_inseng
19636 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19637 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19638 wine_fn_config_makefile dlls/iprop enable_iprop
19639 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19640 wine_fn_config_makefile dlls/itircl enable_itircl
19641 wine_fn_config_makefile dlls/itss enable_itss
19642 wine_fn_config_makefile dlls/itss/tests enable_tests
19643 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19644 wine_fn_config_makefile dlls/jscript enable_jscript
19645 wine_fn_config_makefile dlls/jscript/tests enable_tests
19646 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19647 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19648 wine_fn_config_makefile dlls/kerberos enable_kerberos
19649 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19650 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19651 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19652 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19653 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19654 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19655 wine_fn_config_makefile dlls/ksuser enable_ksuser
19656 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19657 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19658 wine_fn_config_makefile dlls/loadperf enable_loadperf
19659 wine_fn_config_makefile dlls/localspl enable_localspl
19660 wine_fn_config_makefile dlls/localspl/tests enable_tests
19661 wine_fn_config_makefile dlls/localui enable_localui
19662 wine_fn_config_makefile dlls/localui/tests enable_tests
19663 wine_fn_config_makefile dlls/lz32 enable_lz32
19664 wine_fn_config_makefile dlls/lz32/tests enable_tests
19665 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19666 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19667 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19668 wine_fn_config_makefile dlls/mapistub enable_mapistub
19669 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19670 wine_fn_config_makefile dlls/mcicda enable_mcicda
19671 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19672 wine_fn_config_makefile dlls/mciseq enable_mciseq
19673 wine_fn_config_makefile dlls/mciwave enable_mciwave
19674 wine_fn_config_makefile dlls/mf enable_mf
19675 wine_fn_config_makefile dlls/mf/tests enable_tests
19676 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19677 wine_fn_config_makefile dlls/mferror enable_mferror
19678 wine_fn_config_makefile dlls/mfplat enable_mfplat
19679 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19680 wine_fn_config_makefile dlls/mfplay enable_mfplay
19681 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19682 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
19683 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19684 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19685 wine_fn_config_makefile dlls/midimap enable_midimap
19686 wine_fn_config_makefile dlls/mlang enable_mlang
19687 wine_fn_config_makefile dlls/mlang/tests enable_tests
19688 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19689 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19690 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19691 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19692 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19693 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19694 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19695 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19696 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19697 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19698 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19699 wine_fn_config_makefile dlls/mpr enable_mpr
19700 wine_fn_config_makefile dlls/mpr/tests enable_tests
19701 wine_fn_config_makefile dlls/mprapi enable_mprapi
19702 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19703 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19704 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19705 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19706 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19707 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19708 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19709 wine_fn_config_makefile dlls/mscms enable_mscms
19710 wine_fn_config_makefile dlls/mscms/tests enable_tests
19711 wine_fn_config_makefile dlls/mscoree enable_mscoree
19712 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19713 wine_fn_config_makefile dlls/msctf enable_msctf
19714 wine_fn_config_makefile dlls/msctf/tests enable_tests
19715 wine_fn_config_makefile dlls/msctfp enable_msctfp
19716 wine_fn_config_makefile dlls/msdaps enable_msdaps
19717 wine_fn_config_makefile dlls/msdelta enable_msdelta
19718 wine_fn_config_makefile dlls/msdmo enable_msdmo
19719 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19720 wine_fn_config_makefile dlls/msdrm enable_msdrm
19721 wine_fn_config_makefile dlls/msftedit enable_msftedit
19722 wine_fn_config_makefile dlls/msftedit/tests enable_tests
19723 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19724 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19725 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19726 wine_fn_config_makefile dlls/mshtml enable_mshtml
19727 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19728 wine_fn_config_makefile dlls/msi enable_msi
19729 wine_fn_config_makefile dlls/msi/tests enable_tests
19730 wine_fn_config_makefile dlls/msident enable_msident
19731 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19732 wine_fn_config_makefile dlls/msimsg enable_msimsg
19733 wine_fn_config_makefile dlls/msimtf enable_msimtf
19734 wine_fn_config_makefile dlls/msisip enable_msisip
19735 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19736 wine_fn_config_makefile dlls/msls31 enable_msls31
19737 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19738 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19739 wine_fn_config_makefile dlls/msports enable_msports
19740 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19741 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19742 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19743 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19744 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19745 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19746 wine_fn_config_makefile dlls/mstask enable_mstask
19747 wine_fn_config_makefile dlls/mstask/tests enable_tests
19748 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19749 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19750 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19751 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19752 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19753 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19754 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19755 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19756 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19757 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19758 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19759 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19760 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19761 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19762 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19763 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19764 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19765 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19766 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19767 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19768 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19769 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19770 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19771 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19772 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19773 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19774 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19775 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19776 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19777 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19778 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19779 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19780 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19781 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19782 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19783 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19784 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19785 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19786 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19787 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19788 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19789 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19790 wine_fn_config_makefile dlls/mswsock enable_mswsock
19791 wine_fn_config_makefile dlls/msxml enable_msxml
19792 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19793 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19794 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19795 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19796 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19797 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19798 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19799 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19800 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19801 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19802 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19803 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19804 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19805 wine_fn_config_makefile dlls/netprofm enable_netprofm
19806 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19807 wine_fn_config_makefile dlls/newdev enable_newdev
19808 wine_fn_config_makefile dlls/ninput enable_ninput
19809 wine_fn_config_makefile dlls/ninput/tests enable_tests
19810 wine_fn_config_makefile dlls/normaliz enable_normaliz
19811 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19812 wine_fn_config_makefile dlls/npptools enable_npptools
19813 wine_fn_config_makefile dlls/ntdll enable_ntdll
19814 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19815 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19816 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19817 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19818 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19819 wine_fn_config_makefile dlls/ntprint enable_ntprint
19820 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19821 wine_fn_config_makefile dlls/objsel enable_objsel
19822 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19823 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19824 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19825 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19826 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19827 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19828 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19829 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19830 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19831 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19832 wine_fn_config_makefile dlls/ole32 enable_ole32
19833 wine_fn_config_makefile dlls/ole32/tests enable_tests
19834 wine_fn_config_makefile dlls/oleacc enable_oleacc
19835 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19836 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19837 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19838 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19839 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19840 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19841 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19842 wine_fn_config_makefile dlls/oledlg enable_oledlg
19843 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19844 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19845 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19846 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19847 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19848 wine_fn_config_makefile dlls/opcservices enable_opcservices
19849 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19850 wine_fn_config_makefile dlls/openal32 enable_openal32
19851 wine_fn_config_makefile dlls/opencl enable_opencl
19852 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19853 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19854 wine_fn_config_makefile dlls/packager enable_packager
19855 wine_fn_config_makefile dlls/packager/tests enable_tests
19856 wine_fn_config_makefile dlls/pdh enable_pdh
19857 wine_fn_config_makefile dlls/pdh/tests enable_tests
19858 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19859 wine_fn_config_makefile dlls/pidgen enable_pidgen
19860 wine_fn_config_makefile dlls/powrprof enable_powrprof
19861 wine_fn_config_makefile dlls/printui enable_printui
19862 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19863 wine_fn_config_makefile dlls/propsys enable_propsys
19864 wine_fn_config_makefile dlls/propsys/tests enable_tests
19865 wine_fn_config_makefile dlls/psapi enable_psapi
19866 wine_fn_config_makefile dlls/psapi/tests enable_tests
19867 wine_fn_config_makefile dlls/pstorec enable_pstorec
19868 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19869 wine_fn_config_makefile dlls/qcap enable_qcap
19870 wine_fn_config_makefile dlls/qcap/tests enable_tests
19871 wine_fn_config_makefile dlls/qedit enable_qedit
19872 wine_fn_config_makefile dlls/qedit/tests enable_tests
19873 wine_fn_config_makefile dlls/qmgr enable_qmgr
19874 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19875 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19876 wine_fn_config_makefile dlls/quartz enable_quartz
19877 wine_fn_config_makefile dlls/quartz/tests enable_tests
19878 wine_fn_config_makefile dlls/query enable_query
19879 wine_fn_config_makefile dlls/qwave enable_qwave
19880 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19881 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19882 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19883 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19884 wine_fn_config_makefile dlls/regapi enable_regapi
19885 wine_fn_config_makefile dlls/resutils enable_resutils
19886 wine_fn_config_makefile dlls/riched20 enable_riched20
19887 wine_fn_config_makefile dlls/riched20/tests enable_tests
19888 wine_fn_config_makefile dlls/riched32 enable_riched32
19889 wine_fn_config_makefile dlls/riched32/tests enable_tests
19890 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19891 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19892 wine_fn_config_makefile dlls/rsabase enable_rsabase
19893 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19894 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19895 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19896 wine_fn_config_makefile dlls/rtutils enable_rtutils
19897 wine_fn_config_makefile dlls/samlib enable_samlib
19898 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19899 wine_fn_config_makefile dlls/sapi enable_sapi
19900 wine_fn_config_makefile dlls/sapi/tests enable_tests
19901 wine_fn_config_makefile dlls/sas enable_sas
19902 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19903 wine_fn_config_makefile dlls/sccbase enable_sccbase
19904 wine_fn_config_makefile dlls/schannel enable_schannel
19905 wine_fn_config_makefile dlls/schannel/tests enable_tests
19906 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19907 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19908 wine_fn_config_makefile dlls/scrobj enable_scrobj
19909 wine_fn_config_makefile dlls/scrrun enable_scrrun
19910 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19911 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19912 wine_fn_config_makefile dlls/secur32 enable_secur32
19913 wine_fn_config_makefile dlls/secur32/tests enable_tests
19914 wine_fn_config_makefile dlls/security enable_security
19915 wine_fn_config_makefile dlls/sensapi enable_sensapi
19916 wine_fn_config_makefile dlls/serialui enable_serialui
19917 wine_fn_config_makefile dlls/serialui/tests enable_tests
19918 wine_fn_config_makefile dlls/setupapi enable_setupapi
19919 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19920 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19921 wine_fn_config_makefile dlls/sfc enable_sfc
19922 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19923 wine_fn_config_makefile dlls/shcore enable_shcore
19924 wine_fn_config_makefile dlls/shcore/tests enable_tests
19925 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19926 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19927 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19928 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19929 wine_fn_config_makefile dlls/shell32 enable_shell32
19930 wine_fn_config_makefile dlls/shell32/tests enable_tests
19931 wine_fn_config_makefile dlls/shfolder enable_shfolder
19932 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19933 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19934 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19935 wine_fn_config_makefile dlls/slc enable_slc
19936 wine_fn_config_makefile dlls/slc/tests enable_tests
19937 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19938 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19939 wine_fn_config_makefile dlls/softpub enable_softpub
19940 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19941 wine_fn_config_makefile dlls/spoolss enable_spoolss
19942 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19943 wine_fn_config_makefile dlls/srclient enable_srclient
19944 wine_fn_config_makefile dlls/sspicli enable_sspicli
19945 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19946 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19947 wine_fn_config_makefile dlls/sti enable_sti
19948 wine_fn_config_makefile dlls/sti/tests enable_tests
19949 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19950 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19951 wine_fn_config_makefile dlls/strmbase enable_strmbase
19952 wine_fn_config_makefile dlls/strmdll enable_strmdll
19953 wine_fn_config_makefile dlls/strmiids enable_strmiids
19954 wine_fn_config_makefile dlls/svrapi enable_svrapi
19955 wine_fn_config_makefile dlls/sxs enable_sxs
19956 wine_fn_config_makefile dlls/sxs/tests enable_tests
19957 wine_fn_config_makefile dlls/system.drv16 enable_win16
19958 wine_fn_config_makefile dlls/t2embed enable_t2embed
19959 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19960 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19961 wine_fn_config_makefile dlls/taskschd enable_taskschd
19962 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19963 wine_fn_config_makefile dlls/tdh enable_tdh
19964 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19965 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19966 wine_fn_config_makefile dlls/traffic enable_traffic
19967 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19968 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19969 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19970 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19971 wine_fn_config_makefile dlls/tzres enable_tzres
19972 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19973 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19974 wine_fn_config_makefile dlls/uianimation enable_uianimation
19975 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19976 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
19977 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19978 wine_fn_config_makefile dlls/unicows enable_unicows
19979 wine_fn_config_makefile dlls/updspapi enable_updspapi
19980 wine_fn_config_makefile dlls/url enable_url
19981 wine_fn_config_makefile dlls/urlmon enable_urlmon
19982 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19983 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19984 wine_fn_config_makefile dlls/user.exe16 enable_win16
19985 wine_fn_config_makefile dlls/user32 enable_user32
19986 wine_fn_config_makefile dlls/user32/tests enable_tests
19987 wine_fn_config_makefile dlls/userenv enable_userenv
19988 wine_fn_config_makefile dlls/userenv/tests enable_tests
19989 wine_fn_config_makefile dlls/usp10 enable_usp10
19990 wine_fn_config_makefile dlls/usp10/tests enable_tests
19991 wine_fn_config_makefile dlls/uuid enable_uuid
19992 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19993 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19994 wine_fn_config_makefile dlls/vbscript enable_vbscript
19995 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19996 wine_fn_config_makefile dlls/vcomp enable_vcomp
19997 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19998 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19999 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20000 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20001 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20002 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20003 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20004 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20005 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20006 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20007 wine_fn_config_makefile dlls/version enable_version
20008 wine_fn_config_makefile dlls/version/tests enable_tests
20009 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20010 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20011 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20012 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20013 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20014 wine_fn_config_makefile dlls/vssapi enable_vssapi
20015 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20016 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20017 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20018 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20019 wine_fn_config_makefile dlls/w32skrnl enable_win16
20020 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20021 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20022 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20023 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20024 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20025 wine_fn_config_makefile dlls/wdscore enable_wdscore
20026 wine_fn_config_makefile dlls/webservices enable_webservices
20027 wine_fn_config_makefile dlls/webservices/tests enable_tests
20028 wine_fn_config_makefile dlls/wer enable_wer
20029 wine_fn_config_makefile dlls/wer/tests enable_tests
20030 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20031 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20032 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20033 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20034 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20035 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20036 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20037 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20038 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20039 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20040 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20041 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20042 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20043 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20044 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20045 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20046 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20047 wine_fn_config_makefile dlls/wined3d enable_wined3d
20048 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20049 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20050 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20051 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20052 wine_fn_config_makefile dlls/winemapi enable_winemapi
20053 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20054 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20055 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20056 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20057 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20058 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20059 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20060 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20061 wine_fn_config_makefile dlls/wing32 enable_wing32
20062 wine_fn_config_makefile dlls/winhttp enable_winhttp
20063 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20064 wine_fn_config_makefile dlls/wininet enable_wininet
20065 wine_fn_config_makefile dlls/wininet/tests enable_tests
20066 wine_fn_config_makefile dlls/winmm enable_winmm
20067 wine_fn_config_makefile dlls/winmm/tests enable_tests
20068 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20069 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20070 wine_fn_config_makefile dlls/winscard enable_winscard
20071 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20072 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20073 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20074 wine_fn_config_makefile dlls/winsta enable_winsta
20075 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20076 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20077 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20078 wine_fn_config_makefile dlls/wintrust enable_wintrust
20079 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20080 wine_fn_config_makefile dlls/winusb enable_winusb
20081 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20082 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20083 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20084 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20085 wine_fn_config_makefile dlls/wmasf enable_wmasf
20086 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20087 wine_fn_config_makefile dlls/wmi enable_wmi
20088 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20089 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20090 wine_fn_config_makefile dlls/wmp enable_wmp
20091 wine_fn_config_makefile dlls/wmp/tests enable_tests
20092 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20093 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20094 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20095 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20096 wine_fn_config_makefile dlls/wow32 enable_win16
20097 wine_fn_config_makefile dlls/wpc enable_wpc
20098 wine_fn_config_makefile dlls/wpc/tests enable_tests
20099 wine_fn_config_makefile dlls/wpcap enable_wpcap
20100 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20101 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20102 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20103 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20104 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20105 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20106 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20107 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20108 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20109 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20110 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20111 wine_fn_config_makefile dlls/wuapi enable_wuapi
20112 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20113 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20114 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20115 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20116 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20117 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20118 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20119 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20120 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20121 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20122 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20123 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20124 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20125 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20126 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20127 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20128 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20129 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20130 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20131 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20132 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20133 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20134 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20135 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20136 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20137 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20138 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20139 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20140 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20141 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20142 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20143 wine_fn_config_makefile dlls/xmllite enable_xmllite
20144 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20145 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20146 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20147 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20148 wine_fn_config_makefile fonts enable_fonts
20149 wine_fn_config_makefile include enable_include
20150 wine_fn_config_makefile libs/port enable_port
20151 wine_fn_config_makefile libs/wine enable_wine
20152 wine_fn_config_makefile libs/wpp enable_wpp
20153 wine_fn_config_makefile loader enable_loader
20154 wine_fn_config_makefile po enable_po
20155 wine_fn_config_makefile programs/arp enable_arp
20156 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20157 wine_fn_config_makefile programs/attrib enable_attrib
20158 wine_fn_config_makefile programs/cabarc enable_cabarc
20159 wine_fn_config_makefile programs/cacls enable_cacls
20160 wine_fn_config_makefile programs/clock enable_clock
20161 wine_fn_config_makefile programs/cmd enable_cmd
20162 wine_fn_config_makefile programs/cmd/tests enable_tests
20163 wine_fn_config_makefile programs/conhost enable_conhost
20164 wine_fn_config_makefile programs/control enable_control
20165 wine_fn_config_makefile programs/cscript enable_cscript
20166 wine_fn_config_makefile programs/dism enable_dism
20167 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20168 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20169 wine_fn_config_makefile programs/eject enable_eject
20170 wine_fn_config_makefile programs/expand enable_expand
20171 wine_fn_config_makefile programs/explorer enable_explorer
20172 wine_fn_config_makefile programs/extrac32 enable_extrac32
20173 wine_fn_config_makefile programs/fc enable_fc
20174 wine_fn_config_makefile programs/find enable_find
20175 wine_fn_config_makefile programs/findstr enable_findstr
20176 wine_fn_config_makefile programs/fsutil enable_fsutil
20177 wine_fn_config_makefile programs/hh enable_hh
20178 wine_fn_config_makefile programs/hostname enable_hostname
20179 wine_fn_config_makefile programs/icacls enable_icacls
20180 wine_fn_config_makefile programs/icinfo enable_icinfo
20181 wine_fn_config_makefile programs/iexplore enable_iexplore
20182 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20183 wine_fn_config_makefile programs/lodctr enable_lodctr
20184 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20185 wine_fn_config_makefile programs/mshta enable_mshta
20186 wine_fn_config_makefile programs/msidb enable_msidb
20187 wine_fn_config_makefile programs/msiexec enable_msiexec
20188 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20189 wine_fn_config_makefile programs/net enable_net
20190 wine_fn_config_makefile programs/netsh enable_netsh
20191 wine_fn_config_makefile programs/netstat enable_netstat
20192 wine_fn_config_makefile programs/ngen enable_ngen
20193 wine_fn_config_makefile programs/notepad enable_notepad
20194 wine_fn_config_makefile programs/oleview enable_oleview
20195 wine_fn_config_makefile programs/ping enable_ping
20196 wine_fn_config_makefile programs/plugplay enable_plugplay
20197 wine_fn_config_makefile programs/powershell enable_powershell
20198 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20199 wine_fn_config_makefile programs/progman enable_progman
20200 wine_fn_config_makefile programs/reg enable_reg
20201 wine_fn_config_makefile programs/reg/tests enable_tests
20202 wine_fn_config_makefile programs/regasm enable_regasm
20203 wine_fn_config_makefile programs/regedit enable_regedit
20204 wine_fn_config_makefile programs/regedit/tests enable_tests
20205 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20206 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20207 wine_fn_config_makefile programs/rpcss enable_rpcss
20208 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20209 wine_fn_config_makefile programs/rundll32 enable_rundll32
20210 wine_fn_config_makefile programs/sc enable_sc
20211 wine_fn_config_makefile programs/schtasks enable_schtasks
20212 wine_fn_config_makefile programs/schtasks/tests enable_tests
20213 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20214 wine_fn_config_makefile programs/secedit enable_secedit
20215 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20216 wine_fn_config_makefile programs/services enable_services
20217 wine_fn_config_makefile programs/services/tests enable_tests
20218 wine_fn_config_makefile programs/shutdown enable_shutdown
20219 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20220 wine_fn_config_makefile programs/start enable_start
20221 wine_fn_config_makefile programs/subst enable_subst
20222 wine_fn_config_makefile programs/svchost enable_svchost
20223 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20224 wine_fn_config_makefile programs/taskkill enable_taskkill
20225 wine_fn_config_makefile programs/tasklist enable_tasklist
20226 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20227 wine_fn_config_makefile programs/termsv enable_termsv
20228 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20229 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20230 wine_fn_config_makefile programs/view enable_view
20231 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20232 wine_fn_config_makefile programs/wineboot enable_wineboot
20233 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20234 wine_fn_config_makefile programs/winecfg enable_winecfg
20235 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20236 wine_fn_config_makefile programs/winedbg enable_winedbg
20237 wine_fn_config_makefile programs/winedevice enable_winedevice
20238 wine_fn_config_makefile programs/winefile enable_winefile
20239 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20240 wine_fn_config_makefile programs/winemine enable_winemine
20241 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20242 wine_fn_config_makefile programs/winepath enable_winepath
20243 wine_fn_config_makefile programs/winetest enable_winetest
20244 wine_fn_config_makefile programs/winevdm enable_win16
20245 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20246 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20247 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20248 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20249 wine_fn_config_makefile programs/winver enable_winver
20250 wine_fn_config_makefile programs/wmic enable_wmic
20251 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20252 wine_fn_config_makefile programs/wordpad enable_wordpad
20253 wine_fn_config_makefile programs/write enable_write
20254 wine_fn_config_makefile programs/wscript enable_wscript
20255 wine_fn_config_makefile programs/wscript/tests enable_tests
20256 wine_fn_config_makefile programs/wusa enable_wusa
20257 wine_fn_config_makefile programs/xcopy enable_xcopy
20258 wine_fn_config_makefile programs/xcopy/tests enable_tests
20259 wine_fn_config_makefile server enable_server
20260 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20261 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20262 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20263 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20264 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20265 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20266 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20267 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20268 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20271 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20272 wine_fn_append_file CONFIGURE_TARGETS "tags"
20273 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20274 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20275 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20276 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20277 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20278 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20280 if test "x$enable_tools" != xno
20281 then
20282 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20283 ac_config_commands="$ac_config_commands tools/makedep"
20287 ac_config_commands="$ac_config_commands Makefile"
20290 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20294 if test "x$enable_maintainer_mode" = xyes
20295 then
20296 wine_fn_append_rule "configure: configure.ac aclocal.m4
20297 autoconf --warnings=all
20298 include/config.h.in: include/stamp-h.in
20299 include/stamp-h.in: configure.ac aclocal.m4
20300 autoheader --warnings=all
20301 @echo timestamp > \$@"
20304 if test "x$enable_tools" != xno
20305 then
20306 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20307 @./config.status tools/makedep
20308 Makefile: tools/makedep$ac_exeext
20309 fonts: tools/sfnt2fon
20310 include: tools tools/widl"
20311 else
20312 wine_fn_append_rule "\$(MAKEDEP):
20313 @echo \"You need to run make in $TOOLSDIR first\" && false"
20316 if test -n "$with_wine64"
20317 then
20318 case "$with_wine64" in
20319 /*) reldir="" ;;
20320 *) reldir="../" ;;
20321 esac
20322 rm -f fonts server 2>/dev/null
20323 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20324 loader/wine64 loader/wine64-preloader:
20325 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20326 $with_wine64/loader/wine:
20327 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20328 $with_wine64/loader/wine-preloader:
20329 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20330 clean::
20331 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20332 else
20333 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
20334 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
20335 fonts \
20336 loader/l_intl.nls \
20337 loader/wine.inf \
20338 programs/msidb/msidb \
20339 programs/msiexec/msiexec \
20340 programs/notepad/notepad \
20341 programs/regedit/regedit \
20342 programs/regsvr32/regsvr32 \
20343 programs/wineboot/wineboot \
20344 programs/winecfg/winecfg \
20345 programs/wineconsole/wineconsole \
20346 programs/winedbg/winedbg \
20347 programs/winefile/winefile \
20348 programs/winemine/winemine \
20349 programs/winepath/winepath \
20350 server/wineserver"
20352 case $host_os in
20353 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20354 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
20355 esac
20358 $as_echo " done" >&6
20359 cat >confcache <<\_ACEOF
20360 # This file is a shell script that caches the results of configure
20361 # tests run on this system so they can be shared between configure
20362 # scripts and configure runs, see configure's option --config-cache.
20363 # It is not useful on other systems. If it contains results you don't
20364 # want to keep, you may remove or edit it.
20366 # config.status only pays attention to the cache file if you give it
20367 # the --recheck option to rerun configure.
20369 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20370 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20371 # following values.
20373 _ACEOF
20375 # The following way of writing the cache mishandles newlines in values,
20376 # but we know of no workaround that is simple, portable, and efficient.
20377 # So, we kill variables containing newlines.
20378 # Ultrix sh set writes to stderr and can't be redirected directly,
20379 # and sets the high bit in the cache file unless we assign to the vars.
20381 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20382 eval ac_val=\$$ac_var
20383 case $ac_val in #(
20384 *${as_nl}*)
20385 case $ac_var in #(
20386 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20387 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20388 esac
20389 case $ac_var in #(
20390 _ | IFS | as_nl) ;; #(
20391 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20392 *) { eval $ac_var=; unset $ac_var;} ;;
20393 esac ;;
20394 esac
20395 done
20397 (set) 2>&1 |
20398 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20399 *${as_nl}ac_space=\ *)
20400 # `set' does not quote correctly, so add quotes: double-quote
20401 # substitution turns \\\\ into \\, and sed turns \\ into \.
20402 sed -n \
20403 "s/'/'\\\\''/g;
20404 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20405 ;; #(
20407 # `set' quotes correctly as required by POSIX, so do not add quotes.
20408 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20410 esac |
20411 sort
20413 sed '
20414 /^ac_cv_env_/b end
20415 t clear
20416 :clear
20417 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20418 t end
20419 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20420 :end' >>confcache
20421 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20422 if test -w "$cache_file"; then
20423 if test "x$cache_file" != "x/dev/null"; then
20424 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20425 $as_echo "$as_me: updating cache $cache_file" >&6;}
20426 if test ! -f "$cache_file" || test -h "$cache_file"; then
20427 cat confcache >"$cache_file"
20428 else
20429 case $cache_file in #(
20430 */* | ?:*)
20431 mv -f confcache "$cache_file"$$ &&
20432 mv -f "$cache_file"$$ "$cache_file" ;; #(
20434 mv -f confcache "$cache_file" ;;
20435 esac
20438 else
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20440 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20443 rm -f confcache
20445 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20446 # Let make expand exec_prefix.
20447 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20449 DEFS=-DHAVE_CONFIG_H
20451 ac_libobjs=
20452 ac_ltlibobjs=
20454 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20455 # 1. Remove the extension, and $U if already installed.
20456 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20457 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20458 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20459 # will be set to the directory where LIBOBJS objects are built.
20460 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20461 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20462 done
20463 LIBOBJS=$ac_libobjs
20465 LTLIBOBJS=$ac_ltlibobjs
20469 : "${CONFIG_STATUS=./config.status}"
20470 ac_write_fail=0
20471 ac_clean_files_save=$ac_clean_files
20472 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20473 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20474 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20475 as_write_fail=0
20476 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20477 #! $SHELL
20478 # Generated by $as_me.
20479 # Run this file to recreate the current configuration.
20480 # Compiler output produced by configure, useful for debugging
20481 # configure, is in config.log if it exists.
20483 debug=false
20484 ac_cs_recheck=false
20485 ac_cs_silent=false
20487 SHELL=\${CONFIG_SHELL-$SHELL}
20488 export SHELL
20489 _ASEOF
20490 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20491 ## -------------------- ##
20492 ## M4sh Initialization. ##
20493 ## -------------------- ##
20495 # Be more Bourne compatible
20496 DUALCASE=1; export DUALCASE # for MKS sh
20497 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20498 emulate sh
20499 NULLCMD=:
20500 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20501 # is contrary to our usage. Disable this feature.
20502 alias -g '${1+"$@"}'='"$@"'
20503 setopt NO_GLOB_SUBST
20504 else
20505 case `(set -o) 2>/dev/null` in #(
20506 *posix*) :
20507 set -o posix ;; #(
20508 *) :
20510 esac
20514 as_nl='
20516 export as_nl
20517 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20518 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20519 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20520 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20521 # Prefer a ksh shell builtin over an external printf program on Solaris,
20522 # but without wasting forks for bash or zsh.
20523 if test -z "$BASH_VERSION$ZSH_VERSION" \
20524 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20525 as_echo='print -r --'
20526 as_echo_n='print -rn --'
20527 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20528 as_echo='printf %s\n'
20529 as_echo_n='printf %s'
20530 else
20531 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20532 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20533 as_echo_n='/usr/ucb/echo -n'
20534 else
20535 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20536 as_echo_n_body='eval
20537 arg=$1;
20538 case $arg in #(
20539 *"$as_nl"*)
20540 expr "X$arg" : "X\\(.*\\)$as_nl";
20541 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20542 esac;
20543 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20545 export as_echo_n_body
20546 as_echo_n='sh -c $as_echo_n_body as_echo'
20548 export as_echo_body
20549 as_echo='sh -c $as_echo_body as_echo'
20552 # The user is always right.
20553 if test "${PATH_SEPARATOR+set}" != set; then
20554 PATH_SEPARATOR=:
20555 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20556 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20557 PATH_SEPARATOR=';'
20562 # IFS
20563 # We need space, tab and new line, in precisely that order. Quoting is
20564 # there to prevent editors from complaining about space-tab.
20565 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20566 # splitting by setting IFS to empty value.)
20567 IFS=" "" $as_nl"
20569 # Find who we are. Look in the path if we contain no directory separator.
20570 as_myself=
20571 case $0 in #((
20572 *[\\/]* ) as_myself=$0 ;;
20573 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20574 for as_dir in $PATH
20576 IFS=$as_save_IFS
20577 test -z "$as_dir" && as_dir=.
20578 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20579 done
20580 IFS=$as_save_IFS
20583 esac
20584 # We did not find ourselves, most probably we were run as `sh COMMAND'
20585 # in which case we are not to be found in the path.
20586 if test "x$as_myself" = x; then
20587 as_myself=$0
20589 if test ! -f "$as_myself"; then
20590 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20591 exit 1
20594 # Unset variables that we do not need and which cause bugs (e.g. in
20595 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20596 # suppresses any "Segmentation fault" message there. '((' could
20597 # trigger a bug in pdksh 5.2.14.
20598 for as_var in BASH_ENV ENV MAIL MAILPATH
20599 do eval test x\${$as_var+set} = xset \
20600 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20601 done
20602 PS1='$ '
20603 PS2='> '
20604 PS4='+ '
20606 # NLS nuisances.
20607 LC_ALL=C
20608 export LC_ALL
20609 LANGUAGE=C
20610 export LANGUAGE
20612 # CDPATH.
20613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20616 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20617 # ----------------------------------------
20618 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20619 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20620 # script with STATUS, using 1 if that was 0.
20621 as_fn_error ()
20623 as_status=$1; test $as_status -eq 0 && as_status=1
20624 if test "$4"; then
20625 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20626 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20628 $as_echo "$as_me: error: $2" >&2
20629 as_fn_exit $as_status
20630 } # as_fn_error
20633 # as_fn_set_status STATUS
20634 # -----------------------
20635 # Set $? to STATUS, without forking.
20636 as_fn_set_status ()
20638 return $1
20639 } # as_fn_set_status
20641 # as_fn_exit STATUS
20642 # -----------------
20643 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20644 as_fn_exit ()
20646 set +e
20647 as_fn_set_status $1
20648 exit $1
20649 } # as_fn_exit
20651 # as_fn_unset VAR
20652 # ---------------
20653 # Portably unset VAR.
20654 as_fn_unset ()
20656 { eval $1=; unset $1;}
20658 as_unset=as_fn_unset
20659 # as_fn_append VAR VALUE
20660 # ----------------------
20661 # Append the text in VALUE to the end of the definition contained in VAR. Take
20662 # advantage of any shell optimizations that allow amortized linear growth over
20663 # repeated appends, instead of the typical quadratic growth present in naive
20664 # implementations.
20665 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20666 eval 'as_fn_append ()
20668 eval $1+=\$2
20670 else
20671 as_fn_append ()
20673 eval $1=\$$1\$2
20675 fi # as_fn_append
20677 # as_fn_arith ARG...
20678 # ------------------
20679 # Perform arithmetic evaluation on the ARGs, and store the result in the
20680 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20681 # must be portable across $(()) and expr.
20682 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20683 eval 'as_fn_arith ()
20685 as_val=$(( $* ))
20687 else
20688 as_fn_arith ()
20690 as_val=`expr "$@" || test $? -eq 1`
20692 fi # as_fn_arith
20695 if expr a : '\(a\)' >/dev/null 2>&1 &&
20696 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20697 as_expr=expr
20698 else
20699 as_expr=false
20702 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20703 as_basename=basename
20704 else
20705 as_basename=false
20708 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20709 as_dirname=dirname
20710 else
20711 as_dirname=false
20714 as_me=`$as_basename -- "$0" ||
20715 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20716 X"$0" : 'X\(//\)$' \| \
20717 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20718 $as_echo X/"$0" |
20719 sed '/^.*\/\([^/][^/]*\)\/*$/{
20720 s//\1/
20723 /^X\/\(\/\/\)$/{
20724 s//\1/
20727 /^X\/\(\/\).*/{
20728 s//\1/
20731 s/.*/./; q'`
20733 # Avoid depending upon Character Ranges.
20734 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20735 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20736 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20737 as_cr_digits='0123456789'
20738 as_cr_alnum=$as_cr_Letters$as_cr_digits
20740 ECHO_C= ECHO_N= ECHO_T=
20741 case `echo -n x` in #(((((
20742 -n*)
20743 case `echo 'xy\c'` in
20744 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20745 xy) ECHO_C='\c';;
20746 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20747 ECHO_T=' ';;
20748 esac;;
20750 ECHO_N='-n';;
20751 esac
20753 rm -f conf$$ conf$$.exe conf$$.file
20754 if test -d conf$$.dir; then
20755 rm -f conf$$.dir/conf$$.file
20756 else
20757 rm -f conf$$.dir
20758 mkdir conf$$.dir 2>/dev/null
20760 if (echo >conf$$.file) 2>/dev/null; then
20761 if ln -s conf$$.file conf$$ 2>/dev/null; then
20762 as_ln_s='ln -s'
20763 # ... but there are two gotchas:
20764 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20765 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20766 # In both cases, we have to default to `cp -pR'.
20767 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20768 as_ln_s='cp -pR'
20769 elif ln conf$$.file conf$$ 2>/dev/null; then
20770 as_ln_s=ln
20771 else
20772 as_ln_s='cp -pR'
20774 else
20775 as_ln_s='cp -pR'
20777 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20778 rmdir conf$$.dir 2>/dev/null
20781 # as_fn_mkdir_p
20782 # -------------
20783 # Create "$as_dir" as a directory, including parents if necessary.
20784 as_fn_mkdir_p ()
20787 case $as_dir in #(
20788 -*) as_dir=./$as_dir;;
20789 esac
20790 test -d "$as_dir" || eval $as_mkdir_p || {
20791 as_dirs=
20792 while :; do
20793 case $as_dir in #(
20794 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20795 *) as_qdir=$as_dir;;
20796 esac
20797 as_dirs="'$as_qdir' $as_dirs"
20798 as_dir=`$as_dirname -- "$as_dir" ||
20799 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20800 X"$as_dir" : 'X\(//\)[^/]' \| \
20801 X"$as_dir" : 'X\(//\)$' \| \
20802 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20803 $as_echo X"$as_dir" |
20804 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20805 s//\1/
20808 /^X\(\/\/\)[^/].*/{
20809 s//\1/
20812 /^X\(\/\/\)$/{
20813 s//\1/
20816 /^X\(\/\).*/{
20817 s//\1/
20820 s/.*/./; q'`
20821 test -d "$as_dir" && break
20822 done
20823 test -z "$as_dirs" || eval "mkdir $as_dirs"
20824 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20827 } # as_fn_mkdir_p
20828 if mkdir -p . 2>/dev/null; then
20829 as_mkdir_p='mkdir -p "$as_dir"'
20830 else
20831 test -d ./-p && rmdir ./-p
20832 as_mkdir_p=false
20836 # as_fn_executable_p FILE
20837 # -----------------------
20838 # Test if FILE is an executable regular file.
20839 as_fn_executable_p ()
20841 test -f "$1" && test -x "$1"
20842 } # as_fn_executable_p
20843 as_test_x='test -x'
20844 as_executable_p=as_fn_executable_p
20846 # Sed expression to map a string onto a valid CPP name.
20847 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20849 # Sed expression to map a string onto a valid variable name.
20850 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20853 exec 6>&1
20854 ## ----------------------------------- ##
20855 ## Main body of $CONFIG_STATUS script. ##
20856 ## ----------------------------------- ##
20857 _ASEOF
20858 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20861 # Save the log message, to keep $0 and so on meaningful, and to
20862 # report actual input values of CONFIG_FILES etc. instead of their
20863 # values after options handling.
20864 ac_log="
20865 This file was extended by Wine $as_me 4.5, which was
20866 generated by GNU Autoconf 2.69. Invocation command line was
20868 CONFIG_FILES = $CONFIG_FILES
20869 CONFIG_HEADERS = $CONFIG_HEADERS
20870 CONFIG_LINKS = $CONFIG_LINKS
20871 CONFIG_COMMANDS = $CONFIG_COMMANDS
20872 $ $0 $@
20874 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20877 _ACEOF
20879 case $ac_config_files in *"
20880 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20881 esac
20883 case $ac_config_headers in *"
20884 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20885 esac
20888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20889 # Files that config.status was made for.
20890 config_files="$ac_config_files"
20891 config_headers="$ac_config_headers"
20892 config_links="$ac_config_links"
20893 config_commands="$ac_config_commands"
20895 _ACEOF
20897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20898 ac_cs_usage="\
20899 \`$as_me' instantiates files and other configuration actions
20900 from templates according to the current configuration. Unless the files
20901 and actions are specified as TAGs, all are instantiated by default.
20903 Usage: $0 [OPTION]... [TAG]...
20905 -h, --help print this help, then exit
20906 -V, --version print version number and configuration settings, then exit
20907 --config print configuration, then exit
20908 -q, --quiet, --silent
20909 do not print progress messages
20910 -d, --debug don't remove temporary files
20911 --recheck update $as_me by reconfiguring in the same conditions
20912 --file=FILE[:TEMPLATE]
20913 instantiate the configuration file FILE
20914 --header=FILE[:TEMPLATE]
20915 instantiate the configuration header FILE
20917 Configuration files:
20918 $config_files
20920 Configuration headers:
20921 $config_headers
20923 Configuration links:
20924 $config_links
20926 Configuration commands:
20927 $config_commands
20929 Report bugs to <wine-devel@winehq.org>.
20930 Wine home page: <https://www.winehq.org>."
20932 _ACEOF
20933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20934 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20935 ac_cs_version="\\
20936 Wine config.status 4.5
20937 configured by $0, generated by GNU Autoconf 2.69,
20938 with options \\"\$ac_cs_config\\"
20940 Copyright (C) 2012 Free Software Foundation, Inc.
20941 This config.status script is free software; the Free Software Foundation
20942 gives unlimited permission to copy, distribute and modify it."
20944 ac_pwd='$ac_pwd'
20945 srcdir='$srcdir'
20946 test -n "\$AWK" || AWK=awk
20947 _ACEOF
20949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20950 # The default lists apply if the user does not specify any file.
20951 ac_need_defaults=:
20952 while test $# != 0
20954 case $1 in
20955 --*=?*)
20956 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20957 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20958 ac_shift=:
20960 --*=)
20961 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20962 ac_optarg=
20963 ac_shift=:
20966 ac_option=$1
20967 ac_optarg=$2
20968 ac_shift=shift
20970 esac
20972 case $ac_option in
20973 # Handling of the options.
20974 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20975 ac_cs_recheck=: ;;
20976 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20977 $as_echo "$ac_cs_version"; exit ;;
20978 --config | --confi | --conf | --con | --co | --c )
20979 $as_echo "$ac_cs_config"; exit ;;
20980 --debug | --debu | --deb | --de | --d | -d )
20981 debug=: ;;
20982 --file | --fil | --fi | --f )
20983 $ac_shift
20984 case $ac_optarg in
20985 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20986 '') as_fn_error $? "missing file argument" ;;
20987 esac
20988 as_fn_append CONFIG_FILES " '$ac_optarg'"
20989 ac_need_defaults=false;;
20990 --header | --heade | --head | --hea )
20991 $ac_shift
20992 case $ac_optarg in
20993 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20994 esac
20995 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20996 ac_need_defaults=false;;
20997 --he | --h)
20998 # Conflict between --help and --header
20999 as_fn_error $? "ambiguous option: \`$1'
21000 Try \`$0 --help' for more information.";;
21001 --help | --hel | -h )
21002 $as_echo "$ac_cs_usage"; exit ;;
21003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21004 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21005 ac_cs_silent=: ;;
21007 # This is an error.
21008 -*) as_fn_error $? "unrecognized option: \`$1'
21009 Try \`$0 --help' for more information." ;;
21011 *) as_fn_append ac_config_targets " $1"
21012 ac_need_defaults=false ;;
21014 esac
21015 shift
21016 done
21018 ac_configure_extra_args=
21020 if $ac_cs_silent; then
21021 exec 6>/dev/null
21022 ac_configure_extra_args="$ac_configure_extra_args --silent"
21025 _ACEOF
21026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21027 if \$ac_cs_recheck; then
21028 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21029 shift
21030 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21031 CONFIG_SHELL='$SHELL'
21032 export CONFIG_SHELL
21033 exec "\$@"
21036 _ACEOF
21037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21038 exec 5>>config.log
21040 echo
21041 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21042 ## Running $as_me. ##
21043 _ASBOX
21044 $as_echo "$ac_log"
21045 } >&5
21047 _ACEOF
21048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21050 # INIT-COMMANDS
21052 wine_fn_output_makedep ()
21054 as_dir=tools; as_fn_mkdir_p
21055 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21057 wine_fn_output_makefile ()
21059 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21060 `cat $wine_rules_file`
21061 _WINE_EOF
21062 as_fn_error $? "could not create Makefile" "$LINENO" 5
21065 _ACEOF
21067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21069 # Handling of arguments.
21070 for ac_config_target in $ac_config_targets
21072 case $ac_config_target in
21073 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21074 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21075 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21076 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21077 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21078 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21079 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21080 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21081 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21082 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21083 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21084 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21085 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21087 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21088 esac
21089 done
21092 # If the user did not use the arguments to specify the items to instantiate,
21093 # then the envvar interface is used. Set only those that are not.
21094 # We use the long form for the default assignment because of an extremely
21095 # bizarre bug on SunOS 4.1.3.
21096 if $ac_need_defaults; then
21097 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21098 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21099 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21100 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21103 # Have a temporary directory for convenience. Make it in the build tree
21104 # simply because there is no reason against having it here, and in addition,
21105 # creating and moving files from /tmp can sometimes cause problems.
21106 # Hook for its removal unless debugging.
21107 # Note that there is a small window in which the directory will not be cleaned:
21108 # after its creation but before its name has been assigned to `$tmp'.
21109 $debug ||
21111 tmp= ac_tmp=
21112 trap 'exit_status=$?
21113 : "${ac_tmp:=$tmp}"
21114 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21116 trap 'as_fn_exit 1' 1 2 13 15
21118 # Create a (secure) tmp directory for tmp files.
21121 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21122 test -d "$tmp"
21123 } ||
21125 tmp=./conf$$-$RANDOM
21126 (umask 077 && mkdir "$tmp")
21127 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21128 ac_tmp=$tmp
21130 # Set up the scripts for CONFIG_FILES section.
21131 # No need to generate them if there are no CONFIG_FILES.
21132 # This happens for instance with `./config.status config.h'.
21133 if test -n "$CONFIG_FILES"; then
21136 ac_cr=`echo X | tr X '\015'`
21137 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21138 # But we know of no other shell where ac_cr would be empty at this
21139 # point, so we can use a bashism as a fallback.
21140 if test "x$ac_cr" = x; then
21141 eval ac_cr=\$\'\\r\'
21143 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21144 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21145 ac_cs_awk_cr='\\r'
21146 else
21147 ac_cs_awk_cr=$ac_cr
21150 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21151 _ACEOF
21155 echo "cat >conf$$subs.awk <<_ACEOF" &&
21156 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21157 echo "_ACEOF"
21158 } >conf$$subs.sh ||
21159 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21160 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21161 ac_delim='%!_!# '
21162 for ac_last_try in false false false false false :; do
21163 . ./conf$$subs.sh ||
21164 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21166 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21167 if test $ac_delim_n = $ac_delim_num; then
21168 break
21169 elif $ac_last_try; then
21170 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21171 else
21172 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21174 done
21175 rm -f conf$$subs.sh
21177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21178 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21179 _ACEOF
21180 sed -n '
21182 s/^/S["/; s/!.*/"]=/
21185 s/^[^!]*!//
21186 :repl
21187 t repl
21188 s/'"$ac_delim"'$//
21189 t delim
21192 s/\(.\{148\}\)..*/\1/
21193 t more1
21194 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21197 b repl
21198 :more1
21199 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21202 s/.\{148\}//
21203 t nl
21204 :delim
21206 s/\(.\{148\}\)..*/\1/
21207 t more2
21208 s/["\\]/\\&/g; s/^/"/; s/$/"/
21211 :more2
21212 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21215 s/.\{148\}//
21216 t delim
21217 ' <conf$$subs.awk | sed '
21218 /^[^""]/{
21220 s/\n//
21222 ' >>$CONFIG_STATUS || ac_write_fail=1
21223 rm -f conf$$subs.awk
21224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21225 _ACAWK
21226 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21227 for (key in S) S_is_set[key] = 1
21228 FS = "\a"
21232 line = $ 0
21233 nfields = split(line, field, "@")
21234 substed = 0
21235 len = length(field[1])
21236 for (i = 2; i < nfields; i++) {
21237 key = field[i]
21238 keylen = length(key)
21239 if (S_is_set[key]) {
21240 value = S[key]
21241 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21242 len += length(value) + length(field[++i])
21243 substed = 1
21244 } else
21245 len += 1 + keylen
21248 print line
21251 _ACAWK
21252 _ACEOF
21253 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21254 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21255 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21256 else
21258 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21259 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21260 _ACEOF
21262 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21263 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21264 # trailing colons and then remove the whole line if VPATH becomes empty
21265 # (actually we leave an empty line to preserve line numbers).
21266 if test "x$srcdir" = x.; then
21267 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21269 s///
21270 s/^/:/
21271 s/[ ]*$/:/
21272 s/:\$(srcdir):/:/g
21273 s/:\${srcdir}:/:/g
21274 s/:@srcdir@:/:/g
21275 s/^:*//
21276 s/:*$//
21278 s/\(=[ ]*\).*/\1/
21280 s/\n//
21281 s/^[^=]*=[ ]*$//
21285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21286 fi # test -n "$CONFIG_FILES"
21288 # Set up the scripts for CONFIG_HEADERS section.
21289 # No need to generate them if there are no CONFIG_HEADERS.
21290 # This happens for instance with `./config.status Makefile'.
21291 if test -n "$CONFIG_HEADERS"; then
21292 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21293 BEGIN {
21294 _ACEOF
21296 # Transform confdefs.h into an awk script `defines.awk', embedded as
21297 # here-document in config.status, that substitutes the proper values into
21298 # config.h.in to produce config.h.
21300 # Create a delimiter string that does not exist in confdefs.h, to ease
21301 # handling of long lines.
21302 ac_delim='%!_!# '
21303 for ac_last_try in false false :; do
21304 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21305 if test -z "$ac_tt"; then
21306 break
21307 elif $ac_last_try; then
21308 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21309 else
21310 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21312 done
21314 # For the awk script, D is an array of macro values keyed by name,
21315 # likewise P contains macro parameters if any. Preserve backslash
21316 # newline sequences.
21318 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21319 sed -n '
21320 s/.\{148\}/&'"$ac_delim"'/g
21321 t rset
21322 :rset
21323 s/^[ ]*#[ ]*define[ ][ ]*/ /
21324 t def
21326 :def
21327 s/\\$//
21328 t bsnl
21329 s/["\\]/\\&/g
21330 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21331 D["\1"]=" \3"/p
21332 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21334 :bsnl
21335 s/["\\]/\\&/g
21336 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21337 D["\1"]=" \3\\\\\\n"\\/p
21338 t cont
21339 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21340 t cont
21342 :cont
21344 s/.\{148\}/&'"$ac_delim"'/g
21345 t clear
21346 :clear
21347 s/\\$//
21348 t bsnlc
21349 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21351 :bsnlc
21352 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21353 b cont
21354 ' <confdefs.h | sed '
21355 s/'"$ac_delim"'/"\\\
21356 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21358 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21359 for (key in D) D_is_set[key] = 1
21360 FS = "\a"
21362 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21363 line = \$ 0
21364 split(line, arg, " ")
21365 if (arg[1] == "#") {
21366 defundef = arg[2]
21367 mac1 = arg[3]
21368 } else {
21369 defundef = substr(arg[1], 2)
21370 mac1 = arg[2]
21372 split(mac1, mac2, "(") #)
21373 macro = mac2[1]
21374 prefix = substr(line, 1, index(line, defundef) - 1)
21375 if (D_is_set[macro]) {
21376 # Preserve the white space surrounding the "#".
21377 print prefix "define", macro P[macro] D[macro]
21378 next
21379 } else {
21380 # Replace #undef with comments. This is necessary, for example,
21381 # in the case of _POSIX_SOURCE, which is predefined and required
21382 # on some systems where configure will not decide to define it.
21383 if (defundef == "undef") {
21384 print "/*", prefix defundef, macro, "*/"
21385 next
21389 { print }
21390 _ACAWK
21391 _ACEOF
21392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21393 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21394 fi # test -n "$CONFIG_HEADERS"
21397 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21398 shift
21399 for ac_tag
21401 case $ac_tag in
21402 :[FHLC]) ac_mode=$ac_tag; continue;;
21403 esac
21404 case $ac_mode$ac_tag in
21405 :[FHL]*:*);;
21406 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21407 :[FH]-) ac_tag=-:-;;
21408 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21409 esac
21410 ac_save_IFS=$IFS
21411 IFS=:
21412 set x $ac_tag
21413 IFS=$ac_save_IFS
21414 shift
21415 ac_file=$1
21416 shift
21418 case $ac_mode in
21419 :L) ac_source=$1;;
21420 :[FH])
21421 ac_file_inputs=
21422 for ac_f
21424 case $ac_f in
21425 -) ac_f="$ac_tmp/stdin";;
21426 *) # Look for the file first in the build tree, then in the source tree
21427 # (if the path is not absolute). The absolute path cannot be DOS-style,
21428 # because $ac_f cannot contain `:'.
21429 test -f "$ac_f" ||
21430 case $ac_f in
21431 [\\/$]*) false;;
21432 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21433 esac ||
21434 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21435 esac
21436 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21437 as_fn_append ac_file_inputs " '$ac_f'"
21438 done
21440 # Let's still pretend it is `configure' which instantiates (i.e., don't
21441 # use $as_me), people would be surprised to read:
21442 # /* config.h. Generated by config.status. */
21443 configure_input='Generated from '`
21444 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21445 `' by configure.'
21446 if test x"$ac_file" != x-; then
21447 configure_input="$ac_file. $configure_input"
21448 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21449 $as_echo "$as_me: creating $ac_file" >&6;}
21451 # Neutralize special characters interpreted by sed in replacement strings.
21452 case $configure_input in #(
21453 *\&* | *\|* | *\\* )
21454 ac_sed_conf_input=`$as_echo "$configure_input" |
21455 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21456 *) ac_sed_conf_input=$configure_input;;
21457 esac
21459 case $ac_tag in
21460 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21461 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21462 esac
21464 esac
21466 ac_dir=`$as_dirname -- "$ac_file" ||
21467 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21468 X"$ac_file" : 'X\(//\)[^/]' \| \
21469 X"$ac_file" : 'X\(//\)$' \| \
21470 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21471 $as_echo X"$ac_file" |
21472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21473 s//\1/
21476 /^X\(\/\/\)[^/].*/{
21477 s//\1/
21480 /^X\(\/\/\)$/{
21481 s//\1/
21484 /^X\(\/\).*/{
21485 s//\1/
21488 s/.*/./; q'`
21489 as_dir="$ac_dir"; as_fn_mkdir_p
21490 ac_builddir=.
21492 case "$ac_dir" in
21493 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21495 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21496 # A ".." for each directory in $ac_dir_suffix.
21497 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21498 case $ac_top_builddir_sub in
21499 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21500 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21501 esac ;;
21502 esac
21503 ac_abs_top_builddir=$ac_pwd
21504 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21505 # for backward compatibility:
21506 ac_top_builddir=$ac_top_build_prefix
21508 case $srcdir in
21509 .) # We are building in place.
21510 ac_srcdir=.
21511 ac_top_srcdir=$ac_top_builddir_sub
21512 ac_abs_top_srcdir=$ac_pwd ;;
21513 [\\/]* | ?:[\\/]* ) # Absolute name.
21514 ac_srcdir=$srcdir$ac_dir_suffix;
21515 ac_top_srcdir=$srcdir
21516 ac_abs_top_srcdir=$srcdir ;;
21517 *) # Relative name.
21518 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21519 ac_top_srcdir=$ac_top_build_prefix$srcdir
21520 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21521 esac
21522 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21525 case $ac_mode in
21528 # CONFIG_FILE
21531 _ACEOF
21533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21534 # If the template does not know about datarootdir, expand it.
21535 # FIXME: This hack should be removed a few years after 2.60.
21536 ac_datarootdir_hack=; ac_datarootdir_seen=
21537 ac_sed_dataroot='
21538 /datarootdir/ {
21542 /@datadir@/p
21543 /@docdir@/p
21544 /@infodir@/p
21545 /@localedir@/p
21546 /@mandir@/p'
21547 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21548 *datarootdir*) ac_datarootdir_seen=yes;;
21549 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21551 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21552 _ACEOF
21553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21554 ac_datarootdir_hack='
21555 s&@datadir@&$datadir&g
21556 s&@docdir@&$docdir&g
21557 s&@infodir@&$infodir&g
21558 s&@localedir@&$localedir&g
21559 s&@mandir@&$mandir&g
21560 s&\\\${datarootdir}&$datarootdir&g' ;;
21561 esac
21562 _ACEOF
21564 # Neutralize VPATH when `$srcdir' = `.'.
21565 # Shell code in configure.ac might set extrasub.
21566 # FIXME: do we really want to maintain this feature?
21567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21568 ac_sed_extra="$ac_vpsub
21569 $extrasub
21570 _ACEOF
21571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21573 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21574 s|@configure_input@|$ac_sed_conf_input|;t t
21575 s&@top_builddir@&$ac_top_builddir_sub&;t t
21576 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21577 s&@srcdir@&$ac_srcdir&;t t
21578 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21579 s&@top_srcdir@&$ac_top_srcdir&;t t
21580 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21581 s&@builddir@&$ac_builddir&;t t
21582 s&@abs_builddir@&$ac_abs_builddir&;t t
21583 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21584 $ac_datarootdir_hack
21586 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21587 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21589 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21590 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21591 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21592 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21594 which seems to be undefined. Please make sure it is defined" >&5
21595 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21596 which seems to be undefined. Please make sure it is defined" >&2;}
21598 rm -f "$ac_tmp/stdin"
21599 case $ac_file in
21600 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21601 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21602 esac \
21603 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21607 # CONFIG_HEADER
21609 if test x"$ac_file" != x-; then
21611 $as_echo "/* $configure_input */" \
21612 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21613 } >"$ac_tmp/config.h" \
21614 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21615 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21616 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21617 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21618 else
21619 rm -f "$ac_file"
21620 mv "$ac_tmp/config.h" "$ac_file" \
21621 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21623 else
21624 $as_echo "/* $configure_input */" \
21625 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21626 || as_fn_error $? "could not create -" "$LINENO" 5
21631 # CONFIG_LINK
21634 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21636 else
21637 # Prefer the file from the source tree if names are identical.
21638 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21639 ac_source=$srcdir/$ac_source
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21643 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21645 if test ! -r "$ac_source"; then
21646 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21648 rm -f "$ac_file"
21650 # Try a relative symlink, then a hard link, then a copy.
21651 case $ac_source in
21652 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21653 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21654 esac
21655 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21656 ln "$ac_source" "$ac_file" 2>/dev/null ||
21657 cp -p "$ac_source" "$ac_file" ||
21658 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21661 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21662 $as_echo "$as_me: executing $ac_file commands" >&6;}
21664 esac
21667 case $ac_file$ac_mode in
21668 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21669 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21670 "Makefile":C) wine_fn_output_makefile Makefile ;;
21672 esac
21673 done # for ac_tag
21676 as_fn_exit 0
21677 _ACEOF
21678 ac_clean_files=$ac_clean_files_save
21680 test $ac_write_fail = 0 ||
21681 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21684 # configure is writing to config.log, and then calls config.status.
21685 # config.status does its own redirection, appending to config.log.
21686 # Unfortunately, on DOS this fails, as config.log is still kept open
21687 # by configure, so config.status won't be able to write to it; its
21688 # output is simply discarded. So we exec the FD to /dev/null,
21689 # effectively closing config.log, so it can be properly (re)opened and
21690 # appended to by config.status. When coming back to configure, we
21691 # need to make the FD available again.
21692 if test "$no_create" != yes; then
21693 ac_cs_success=:
21694 ac_config_status_args=
21695 test "$silent" = yes &&
21696 ac_config_status_args="$ac_config_status_args --quiet"
21697 exec 5>/dev/null
21698 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21699 exec 5>>config.log
21700 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21701 # would make configure fail if this is the last instruction.
21702 $ac_cs_success || as_fn_exit 1
21704 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21706 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21710 if test "$no_create" = "yes"
21711 then
21712 exit 0
21715 ac_save_IFS="$IFS"
21716 if test "x$wine_notices" != x; then
21717 echo >&6
21718 IFS="|"
21719 for msg in $wine_notices; do
21720 IFS="$ac_save_IFS"
21721 if ${msg:+false} :; then :
21723 else
21724 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21725 $as_echo "$as_me: $msg" >&6;}
21727 done
21729 IFS="|"
21730 for msg in $wine_warnings; do
21731 IFS="$ac_save_IFS"
21732 if ${msg:+false} :; then :
21734 else
21735 echo >&2
21736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21737 $as_echo "$as_me: WARNING: $msg" >&2;}
21739 done
21740 IFS="$ac_save_IFS"
21742 $as_echo "
21743 $as_me: Finished. Do '${ac_make}' to compile Wine.
21744 " >&6