makefiles: Generate the winetest resource list from makedep.
[wine.git] / configure
blob3dd1b6b3d7145f88ea48751d8083975e7cf11098
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.3.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='3.3'
584 PACKAGE_STRING='Wine 3.3'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 SDL2_LIBS
662 SDL2_CFLAGS
663 UDEV_LIBS
664 UDEV_CFLAGS
665 OSS4_CFLAGS
666 ALSA_LIBS
667 GSTREAMER_LIBS
668 GSTREAMER_CFLAGS
669 PULSE_LIBS
670 PULSE_CFLAGS
671 GETTEXTPO_LIBS
672 Z_LIBS
673 FREETYPE_LIBS
674 FREETYPE_CFLAGS
675 LCMS2_LIBS
676 LCMS2_CFLAGS
677 RESOLV_LIBS
678 GPHOTO2_PORT_LIBS
679 GPHOTO2_PORT_CFLAGS
680 GPHOTO2_LIBS
681 GPHOTO2_CFLAGS
682 SANE_LIBS
683 SANE_CFLAGS
684 GNUTLS_LIBS
685 GNUTLS_CFLAGS
686 HAL_LIBS
687 HAL_CFLAGS
688 DBUS_LIBS
689 DBUS_CFLAGS
690 XSLT_LIBS
691 XSLT_CFLAGS
692 XML2_LIBS
693 XML2_CFLAGS
694 PCAP_LIBS
695 X_EXTRA_LIBS
696 X_LIBS
697 X_PRE_LIBS
698 X_CFLAGS
699 XMKMF
700 PTHREAD_LIBS
701 CROSSCFLAGS
702 CROSSCC
703 CROSSTARGET
704 PRELINK
705 WINELOADER_DEPENDS
706 CARBON_LIBS
707 QUICKTIME_LIBS
708 OPENCL_LIBS
709 OPENAL_LIBS
710 COREAUDIO_LIBS
711 SECURITY_LIBS
712 DISKARBITRATION_LIBS
713 APPKIT_LIBS
714 CORESERVICES_LIBS
715 APPLICATIONSERVICES_LIBS
716 FORCEFEEDBACK_LIBS
717 IOKIT_LIBS
718 COREFOUNDATION_LIBS
719 LIBWINE_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_INSTALL_DEV
722 LIBWINE_INSTALL_LIB
723 LIBWINE_IMPORTLIB
724 LIBWINE_SHAREDLIB
725 SOCKET_LIBS
726 DLLTOOL
727 WINELOADER_PROGRAMS
728 CONFIGURE_TARGETS
729 DISABLED_SUBDIRS
730 SUBDIRS
731 READELF
732 OTOOL
734 WINELOADER_LDFLAGS
735 LDEXECFLAGS
736 LDRPATH_LOCAL
737 LDRPATH_INSTALL
738 DLLFLAGS
740 OPENGL_LIBS
741 ICOTOOL
742 CONVERT
743 RSVG
744 FONTFORGE
745 PKG_CONFIG
746 MSGFMT
747 LDCONFIG
748 EGREP
749 GREP
750 LN_S
751 RANLIB
752 ARFLAGS
753 STRIP
754 ac_ct_AR
756 BISON
757 FLEX
758 TOOLSDIR
759 wine64_disable
760 TARGETFLAGS
762 CPPBIN
763 ac_ct_CXX
764 CXXFLAGS
766 OBJEXT
767 EXEEXT
768 ac_ct_CC
769 CPPFLAGS
770 LDFLAGS
771 CFLAGS
773 SET_MAKE
774 host_os
775 host_vendor
776 host_cpu
777 host
778 build_os
779 build_vendor
780 build_cpu
781 build
782 target_alias
783 host_alias
784 build_alias
785 LIBS
786 ECHO_T
787 ECHO_N
788 ECHO_C
789 DEFS
790 mandir
791 localedir
792 libdir
793 psdir
794 pdfdir
795 dvidir
796 htmldir
797 infodir
798 docdir
799 oldincludedir
800 includedir
801 runstatedir
802 localstatedir
803 sharedstatedir
804 sysconfdir
805 datadir
806 datarootdir
807 libexecdir
808 sbindir
809 bindir
810 program_transform_name
811 prefix
812 exec_prefix
813 PACKAGE_URL
814 PACKAGE_BUGREPORT
815 PACKAGE_STRING
816 PACKAGE_VERSION
817 PACKAGE_TARNAME
818 PACKAGE_NAME
819 PATH_SEPARATOR
820 SHELL'
821 ac_subst_files=''
822 ac_user_opts='
823 enable_option_checking
824 enable_win16
825 enable_win64
826 enable_tests
827 enable_maintainer_mode
828 with_alsa
829 with_capi
830 with_cms
831 with_coreaudio
832 with_cups
833 with_curses
834 with_dbus
835 with_float_abi
836 with_fontconfig
837 with_freetype
838 with_gettext
839 with_gettextpo
840 with_gphoto
841 with_glu
842 with_gnutls
843 with_gsm
844 with_gssapi
845 with_gstreamer
846 with_hal
847 with_jpeg
848 with_krb5
849 with_ldap
850 with_mpg123
851 with_netapi
852 with_openal
853 with_opencl
854 with_opengl
855 with_osmesa
856 with_oss
857 with_pcap
858 with_png
859 with_pthread
860 with_pulse
861 with_sane
862 with_sdl
863 with_tiff
864 with_udev
865 with_v4l
866 with_vulkan
867 with_xcomposite
868 with_xcursor
869 with_xfixes
870 with_xinerama
871 with_xinput
872 with_xinput2
873 with_xml
874 with_xrandr
875 with_xrender
876 with_xshape
877 with_xshm
878 with_xslt
879 with_xxf86vm
880 with_zlib
881 with_wine_tools
882 with_wine64
883 enable_largefile
884 with_x
885 enable_acledit
886 enable_aclui
887 enable_activeds
888 enable_actxprxy
889 enable_adsldp
890 enable_adsldpc
891 enable_advapi32
892 enable_advpack
893 enable_amstream
894 enable_api_ms_win_appmodel_identity_l1_1_0
895 enable_api_ms_win_appmodel_runtime_l1_1_1
896 enable_api_ms_win_appmodel_runtime_l1_1_2
897 enable_api_ms_win_core_apiquery_l1_1_0
898 enable_api_ms_win_core_appcompat_l1_1_1
899 enable_api_ms_win_core_appinit_l1_1_0
900 enable_api_ms_win_core_atoms_l1_1_0
901 enable_api_ms_win_core_bem_l1_1_0
902 enable_api_ms_win_core_com_l1_1_0
903 enable_api_ms_win_core_com_l1_1_1
904 enable_api_ms_win_core_com_private_l1_1_0
905 enable_api_ms_win_core_console_l1_1_0
906 enable_api_ms_win_core_console_l2_1_0
907 enable_api_ms_win_core_crt_l1_1_0
908 enable_api_ms_win_core_crt_l2_1_0
909 enable_api_ms_win_core_datetime_l1_1_0
910 enable_api_ms_win_core_datetime_l1_1_1
911 enable_api_ms_win_core_debug_l1_1_0
912 enable_api_ms_win_core_debug_l1_1_1
913 enable_api_ms_win_core_delayload_l1_1_0
914 enable_api_ms_win_core_delayload_l1_1_1
915 enable_api_ms_win_core_errorhandling_l1_1_0
916 enable_api_ms_win_core_errorhandling_l1_1_1
917 enable_api_ms_win_core_errorhandling_l1_1_2
918 enable_api_ms_win_core_errorhandling_l1_1_3
919 enable_api_ms_win_core_fibers_l1_1_0
920 enable_api_ms_win_core_fibers_l1_1_1
921 enable_api_ms_win_core_file_l1_1_0
922 enable_api_ms_win_core_file_l1_2_0
923 enable_api_ms_win_core_file_l1_2_1
924 enable_api_ms_win_core_file_l1_2_2
925 enable_api_ms_win_core_file_l2_1_0
926 enable_api_ms_win_core_file_l2_1_1
927 enable_api_ms_win_core_file_l2_1_2
928 enable_api_ms_win_core_handle_l1_1_0
929 enable_api_ms_win_core_heap_l1_1_0
930 enable_api_ms_win_core_heap_l1_2_0
931 enable_api_ms_win_core_heap_l2_1_0
932 enable_api_ms_win_core_heap_obsolete_l1_1_0
933 enable_api_ms_win_core_interlocked_l1_1_0
934 enable_api_ms_win_core_interlocked_l1_2_0
935 enable_api_ms_win_core_io_l1_1_0
936 enable_api_ms_win_core_io_l1_1_1
937 enable_api_ms_win_core_job_l1_1_0
938 enable_api_ms_win_core_job_l2_1_0
939 enable_api_ms_win_core_kernel32_legacy_l1_1_0
940 enable_api_ms_win_core_kernel32_legacy_l1_1_1
941 enable_api_ms_win_core_kernel32_private_l1_1_1
942 enable_api_ms_win_core_libraryloader_l1_1_0
943 enable_api_ms_win_core_libraryloader_l1_1_1
944 enable_api_ms_win_core_libraryloader_l1_2_0
945 enable_api_ms_win_core_libraryloader_l1_2_1
946 enable_api_ms_win_core_libraryloader_l1_2_2
947 enable_api_ms_win_core_localization_l1_1_0
948 enable_api_ms_win_core_localization_l1_2_0
949 enable_api_ms_win_core_localization_l1_2_1
950 enable_api_ms_win_core_localization_l2_1_0
951 enable_api_ms_win_core_localization_obsolete_l1_1_0
952 enable_api_ms_win_core_localization_obsolete_l1_2_0
953 enable_api_ms_win_core_localization_obsolete_l1_3_0
954 enable_api_ms_win_core_localization_private_l1_1_0
955 enable_api_ms_win_core_localregistry_l1_1_0
956 enable_api_ms_win_core_memory_l1_1_0
957 enable_api_ms_win_core_memory_l1_1_1
958 enable_api_ms_win_core_memory_l1_1_2
959 enable_api_ms_win_core_misc_l1_1_0
960 enable_api_ms_win_core_namedpipe_l1_1_0
961 enable_api_ms_win_core_namedpipe_l1_2_0
962 enable_api_ms_win_core_namespace_l1_1_0
963 enable_api_ms_win_core_normalization_l1_1_0
964 enable_api_ms_win_core_path_l1_1_0
965 enable_api_ms_win_core_privateprofile_l1_1_1
966 enable_api_ms_win_core_processenvironment_l1_1_0
967 enable_api_ms_win_core_processenvironment_l1_2_0
968 enable_api_ms_win_core_processthreads_l1_1_0
969 enable_api_ms_win_core_processthreads_l1_1_1
970 enable_api_ms_win_core_processthreads_l1_1_2
971 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
972 enable_api_ms_win_core_profile_l1_1_0
973 enable_api_ms_win_core_psapi_ansi_l1_1_0
974 enable_api_ms_win_core_psapi_l1_1_0
975 enable_api_ms_win_core_psapi_obsolete_l1_1_0
976 enable_api_ms_win_core_quirks_l1_1_0
977 enable_api_ms_win_core_realtime_l1_1_0
978 enable_api_ms_win_core_registry_l1_1_0
979 enable_api_ms_win_core_registry_l2_1_0
980 enable_api_ms_win_core_registryuserspecific_l1_1_0
981 enable_api_ms_win_core_rtlsupport_l1_1_0
982 enable_api_ms_win_core_rtlsupport_l1_2_0
983 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
984 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
985 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
986 enable_api_ms_win_core_shutdown_l1_1_0
987 enable_api_ms_win_core_sidebyside_l1_1_0
988 enable_api_ms_win_core_string_l1_1_0
989 enable_api_ms_win_core_string_l2_1_0
990 enable_api_ms_win_core_string_obsolete_l1_1_0
991 enable_api_ms_win_core_stringansi_l1_1_0
992 enable_api_ms_win_core_synch_ansi_l1_1_0
993 enable_api_ms_win_core_synch_l1_1_0
994 enable_api_ms_win_core_synch_l1_2_0
995 enable_api_ms_win_core_synch_l1_2_1
996 enable_api_ms_win_core_sysinfo_l1_1_0
997 enable_api_ms_win_core_sysinfo_l1_2_0
998 enable_api_ms_win_core_sysinfo_l1_2_1
999 enable_api_ms_win_core_threadpool_l1_1_0
1000 enable_api_ms_win_core_threadpool_l1_2_0
1001 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1002 enable_api_ms_win_core_threadpool_private_l1_1_0
1003 enable_api_ms_win_core_timezone_l1_1_0
1004 enable_api_ms_win_core_toolhelp_l1_1_0
1005 enable_api_ms_win_core_url_l1_1_0
1006 enable_api_ms_win_core_util_l1_1_0
1007 enable_api_ms_win_core_version_l1_1_0
1008 enable_api_ms_win_core_version_l1_1_1
1009 enable_api_ms_win_core_version_private_l1_1_0
1010 enable_api_ms_win_core_versionansi_l1_1_0
1011 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1012 enable_api_ms_win_core_winrt_error_l1_1_0
1013 enable_api_ms_win_core_winrt_error_l1_1_1
1014 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1015 enable_api_ms_win_core_winrt_l1_1_0
1016 enable_api_ms_win_core_winrt_registration_l1_1_0
1017 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1018 enable_api_ms_win_core_winrt_string_l1_1_0
1019 enable_api_ms_win_core_wow64_l1_1_0
1020 enable_api_ms_win_core_wow64_l1_1_1
1021 enable_api_ms_win_core_xstate_l1_1_0
1022 enable_api_ms_win_core_xstate_l2_1_0
1023 enable_api_ms_win_crt_conio_l1_1_0
1024 enable_api_ms_win_crt_convert_l1_1_0
1025 enable_api_ms_win_crt_environment_l1_1_0
1026 enable_api_ms_win_crt_filesystem_l1_1_0
1027 enable_api_ms_win_crt_heap_l1_1_0
1028 enable_api_ms_win_crt_locale_l1_1_0
1029 enable_api_ms_win_crt_math_l1_1_0
1030 enable_api_ms_win_crt_multibyte_l1_1_0
1031 enable_api_ms_win_crt_private_l1_1_0
1032 enable_api_ms_win_crt_process_l1_1_0
1033 enable_api_ms_win_crt_runtime_l1_1_0
1034 enable_api_ms_win_crt_stdio_l1_1_0
1035 enable_api_ms_win_crt_string_l1_1_0
1036 enable_api_ms_win_crt_time_l1_1_0
1037 enable_api_ms_win_crt_utility_l1_1_0
1038 enable_api_ms_win_devices_config_l1_1_1
1039 enable_api_ms_win_devices_query_l1_1_1
1040 enable_api_ms_win_downlevel_advapi32_l1_1_0
1041 enable_api_ms_win_downlevel_advapi32_l2_1_0
1042 enable_api_ms_win_downlevel_normaliz_l1_1_0
1043 enable_api_ms_win_downlevel_ole32_l1_1_0
1044 enable_api_ms_win_downlevel_shell32_l1_1_0
1045 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1046 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1047 enable_api_ms_win_downlevel_user32_l1_1_0
1048 enable_api_ms_win_downlevel_version_l1_1_0
1049 enable_api_ms_win_dx_d3dkmt_l1_1_0
1050 enable_api_ms_win_eventing_classicprovider_l1_1_0
1051 enable_api_ms_win_eventing_consumer_l1_1_0
1052 enable_api_ms_win_eventing_controller_l1_1_0
1053 enable_api_ms_win_eventing_legacy_l1_1_0
1054 enable_api_ms_win_eventing_provider_l1_1_0
1055 enable_api_ms_win_eventlog_legacy_l1_1_0
1056 enable_api_ms_win_mm_joystick_l1_1_0
1057 enable_api_ms_win_mm_misc_l1_1_1
1058 enable_api_ms_win_mm_mme_l1_1_0
1059 enable_api_ms_win_mm_time_l1_1_0
1060 enable_api_ms_win_ntuser_dc_access_l1_1_0
1061 enable_api_ms_win_ntuser_rectangle_l1_1_0
1062 enable_api_ms_win_perf_legacy_l1_1_0
1063 enable_api_ms_win_power_base_l1_1_0
1064 enable_api_ms_win_power_setting_l1_1_0
1065 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1066 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1067 enable_api_ms_win_security_audit_l1_1_1
1068 enable_api_ms_win_security_base_l1_1_0
1069 enable_api_ms_win_security_base_l1_2_0
1070 enable_api_ms_win_security_base_private_l1_1_1
1071 enable_api_ms_win_security_credentials_l1_1_0
1072 enable_api_ms_win_security_grouppolicy_l1_1_0
1073 enable_api_ms_win_security_lsalookup_l1_1_0
1074 enable_api_ms_win_security_lsalookup_l1_1_1
1075 enable_api_ms_win_security_lsalookup_l2_1_0
1076 enable_api_ms_win_security_lsalookup_l2_1_1
1077 enable_api_ms_win_security_lsapolicy_l1_1_0
1078 enable_api_ms_win_security_provider_l1_1_0
1079 enable_api_ms_win_security_sddl_l1_1_0
1080 enable_api_ms_win_security_systemfunctions_l1_1_0
1081 enable_api_ms_win_service_core_l1_1_0
1082 enable_api_ms_win_service_core_l1_1_1
1083 enable_api_ms_win_service_management_l1_1_0
1084 enable_api_ms_win_service_management_l2_1_0
1085 enable_api_ms_win_service_private_l1_1_1
1086 enable_api_ms_win_service_winsvc_l1_1_0
1087 enable_api_ms_win_service_winsvc_l1_2_0
1088 enable_api_ms_win_shcore_scaling_l1_1_1
1089 enable_api_ms_win_shell_shellcom_l1_1_0
1090 enable_api_ms_win_shell_shellfolders_l1_1_0
1091 enable_apphelp
1092 enable_appwiz_cpl
1093 enable_atl
1094 enable_atl100
1095 enable_atl110
1096 enable_atl80
1097 enable_atl90
1098 enable_authz
1099 enable_avicap32
1100 enable_avifil32
1101 enable_avrt
1102 enable_bcrypt
1103 enable_bluetoothapis
1104 enable_browseui
1105 enable_bthprops_cpl
1106 enable_cabinet
1107 enable_capi2032
1108 enable_cards
1109 enable_cdosys
1110 enable_cfgmgr32
1111 enable_clusapi
1112 enable_combase
1113 enable_comcat
1114 enable_comctl32
1115 enable_comdlg32
1116 enable_compstui
1117 enable_comsvcs
1118 enable_concrt140
1119 enable_connect
1120 enable_credui
1121 enable_crtdll
1122 enable_crypt32
1123 enable_cryptdlg
1124 enable_cryptdll
1125 enable_cryptext
1126 enable_cryptnet
1127 enable_cryptui
1128 enable_ctapi32
1129 enable_ctl3d32
1130 enable_d2d1
1131 enable_d3d10
1132 enable_d3d10_1
1133 enable_d3d10core
1134 enable_d3d11
1135 enable_d3d12
1136 enable_d3d8
1137 enable_d3d9
1138 enable_d3dcompiler_33
1139 enable_d3dcompiler_34
1140 enable_d3dcompiler_35
1141 enable_d3dcompiler_36
1142 enable_d3dcompiler_37
1143 enable_d3dcompiler_38
1144 enable_d3dcompiler_39
1145 enable_d3dcompiler_40
1146 enable_d3dcompiler_41
1147 enable_d3dcompiler_42
1148 enable_d3dcompiler_43
1149 enable_d3dcompiler_46
1150 enable_d3dcompiler_47
1151 enable_d3dim
1152 enable_d3drm
1153 enable_d3dx10_33
1154 enable_d3dx10_34
1155 enable_d3dx10_35
1156 enable_d3dx10_36
1157 enable_d3dx10_37
1158 enable_d3dx10_38
1159 enable_d3dx10_39
1160 enable_d3dx10_40
1161 enable_d3dx10_41
1162 enable_d3dx10_42
1163 enable_d3dx10_43
1164 enable_d3dx11_42
1165 enable_d3dx11_43
1166 enable_d3dx9_24
1167 enable_d3dx9_25
1168 enable_d3dx9_26
1169 enable_d3dx9_27
1170 enable_d3dx9_28
1171 enable_d3dx9_29
1172 enable_d3dx9_30
1173 enable_d3dx9_31
1174 enable_d3dx9_32
1175 enable_d3dx9_33
1176 enable_d3dx9_34
1177 enable_d3dx9_35
1178 enable_d3dx9_36
1179 enable_d3dx9_37
1180 enable_d3dx9_38
1181 enable_d3dx9_39
1182 enable_d3dx9_40
1183 enable_d3dx9_41
1184 enable_d3dx9_42
1185 enable_d3dx9_43
1186 enable_d3dxof
1187 enable_davclnt
1188 enable_dbgeng
1189 enable_dbghelp
1190 enable_dciman32
1191 enable_ddraw
1192 enable_ddrawex
1193 enable_devenum
1194 enable_dhcpcsvc
1195 enable_dhtmled_ocx
1196 enable_difxapi
1197 enable_dinput
1198 enable_dinput8
1199 enable_dispex
1200 enable_dmband
1201 enable_dmcompos
1202 enable_dmime
1203 enable_dmloader
1204 enable_dmscript
1205 enable_dmstyle
1206 enable_dmsynth
1207 enable_dmusic
1208 enable_dmusic32
1209 enable_dnsapi
1210 enable_dplay
1211 enable_dplayx
1212 enable_dpnaddr
1213 enable_dpnet
1214 enable_dpnhpast
1215 enable_dpnlobby
1216 enable_dpvoice
1217 enable_dpwsockx
1218 enable_drmclien
1219 enable_dsound
1220 enable_dsquery
1221 enable_dssenh
1222 enable_dswave
1223 enable_dwmapi
1224 enable_dwrite
1225 enable_dx8vb
1226 enable_dxdiagn
1227 enable_dxgi
1228 enable_dxva2
1229 enable_esent
1230 enable_evr
1231 enable_explorerframe
1232 enable_ext_ms_win_authz_context_l1_1_0
1233 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1234 enable_ext_ms_win_gdi_dc_create_l1_1_1
1235 enable_ext_ms_win_gdi_dc_l1_2_0
1236 enable_ext_ms_win_gdi_devcaps_l1_1_0
1237 enable_ext_ms_win_gdi_draw_l1_1_1
1238 enable_ext_ms_win_gdi_render_l1_1_0
1239 enable_ext_ms_win_kernel32_package_current_l1_1_0
1240 enable_ext_ms_win_kernel32_package_l1_1_1
1241 enable_ext_ms_win_ntuser_message_l1_1_1
1242 enable_ext_ms_win_ntuser_private_l1_1_1
1243 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1244 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1245 enable_ext_ms_win_ntuser_window_l1_1_1
1246 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1247 enable_ext_ms_win_ras_rasapi32_l1_1_0
1248 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1249 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1250 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1251 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1252 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1253 enable_ext_ms_win_security_credui_l1_1_0
1254 enable_ext_ms_win_security_cryptui_l1_1_0
1255 enable_faultrep
1256 enable_fltlib
1257 enable_fltmgr_sys
1258 enable_fntcache
1259 enable_fontsub
1260 enable_fusion
1261 enable_fwpuclnt
1262 enable_gameux
1263 enable_gdi32
1264 enable_gdiplus
1265 enable_glu32
1266 enable_gphoto2_ds
1267 enable_gpkcsp
1268 enable_hal
1269 enable_hhctrl_ocx
1270 enable_hid
1271 enable_hidclass_sys
1272 enable_hlink
1273 enable_hnetcfg
1274 enable_httpapi
1275 enable_iccvid
1276 enable_icmp
1277 enable_ieframe
1278 enable_ieproxy
1279 enable_imaadp32_acm
1280 enable_imagehlp
1281 enable_imm32
1282 enable_inetcomm
1283 enable_inetcpl_cpl
1284 enable_inetmib1
1285 enable_infosoft
1286 enable_initpki
1287 enable_inkobj
1288 enable_inseng
1289 enable_iphlpapi
1290 enable_iprop
1291 enable_irprops_cpl
1292 enable_itircl
1293 enable_itss
1294 enable_joy_cpl
1295 enable_jscript
1296 enable_jsproxy
1297 enable_kerberos
1298 enable_kernel32
1299 enable_kernelbase
1300 enable_ksuser
1301 enable_ktmw32
1302 enable_l3codeca_acm
1303 enable_loadperf
1304 enable_localspl
1305 enable_localui
1306 enable_lz32
1307 enable_mapi32
1308 enable_mapistub
1309 enable_mciavi32
1310 enable_mcicda
1311 enable_mciqtz32
1312 enable_mciseq
1313 enable_mciwave
1314 enable_mf
1315 enable_mf3216
1316 enable_mfplat
1317 enable_mfreadwrite
1318 enable_mgmtapi
1319 enable_midimap
1320 enable_mlang
1321 enable_mmcndmgr
1322 enable_mmdevapi
1323 enable_mountmgr_sys
1324 enable_mpr
1325 enable_mprapi
1326 enable_msacm32_drv
1327 enable_msacm32
1328 enable_msadp32_acm
1329 enable_msasn1
1330 enable_mscat32
1331 enable_mscms
1332 enable_mscoree
1333 enable_msctf
1334 enable_msctfp
1335 enable_msdaps
1336 enable_msdelta
1337 enable_msdmo
1338 enable_msdrm
1339 enable_msftedit
1340 enable_msg711_acm
1341 enable_msgsm32_acm
1342 enable_mshtml_tlb
1343 enable_mshtml
1344 enable_msi
1345 enable_msident
1346 enable_msimg32
1347 enable_msimsg
1348 enable_msimtf
1349 enable_msisip
1350 enable_msisys_ocx
1351 enable_msls31
1352 enable_msnet32
1353 enable_mspatcha
1354 enable_msports
1355 enable_msrle32
1356 enable_msscript_ocx
1357 enable_mssign32
1358 enable_mssip32
1359 enable_mstask
1360 enable_msvcirt
1361 enable_msvcm80
1362 enable_msvcm90
1363 enable_msvcp100
1364 enable_msvcp110
1365 enable_msvcp120
1366 enable_msvcp120_app
1367 enable_msvcp140
1368 enable_msvcp60
1369 enable_msvcp70
1370 enable_msvcp71
1371 enable_msvcp80
1372 enable_msvcp90
1373 enable_msvcr100
1374 enable_msvcr110
1375 enable_msvcr120
1376 enable_msvcr120_app
1377 enable_msvcr70
1378 enable_msvcr71
1379 enable_msvcr80
1380 enable_msvcr90
1381 enable_msvcrt
1382 enable_msvcrt20
1383 enable_msvcrt40
1384 enable_msvcrtd
1385 enable_msvfw32
1386 enable_msvidc32
1387 enable_mswsock
1388 enable_msxml
1389 enable_msxml2
1390 enable_msxml3
1391 enable_msxml4
1392 enable_msxml6
1393 enable_mtxdm
1394 enable_ncrypt
1395 enable_nddeapi
1396 enable_ndis_sys
1397 enable_netapi32
1398 enable_netcfgx
1399 enable_netprofm
1400 enable_newdev
1401 enable_normaliz
1402 enable_npmshtml
1403 enable_npptools
1404 enable_ntdll
1405 enable_ntdsapi
1406 enable_ntoskrnl_exe
1407 enable_ntprint
1408 enable_objsel
1409 enable_odbc32
1410 enable_odbccp32
1411 enable_odbccu32
1412 enable_ole32
1413 enable_oleacc
1414 enable_oleaut32
1415 enable_olecli32
1416 enable_oledb32
1417 enable_oledlg
1418 enable_olepro32
1419 enable_olesvr32
1420 enable_olethk32
1421 enable_openal32
1422 enable_opencl
1423 enable_opengl32
1424 enable_packager
1425 enable_pdh
1426 enable_photometadatahandler
1427 enable_pidgen
1428 enable_powrprof
1429 enable_printui
1430 enable_prntvpt
1431 enable_propsys
1432 enable_psapi
1433 enable_pstorec
1434 enable_qcap
1435 enable_qedit
1436 enable_qmgr
1437 enable_qmgrprxy
1438 enable_quartz
1439 enable_query
1440 enable_rasapi32
1441 enable_rasdlg
1442 enable_regapi
1443 enable_resutils
1444 enable_riched20
1445 enable_riched32
1446 enable_rpcrt4
1447 enable_rsabase
1448 enable_rsaenh
1449 enable_rstrtmgr
1450 enable_rtutils
1451 enable_samlib
1452 enable_sane_ds
1453 enable_sapi
1454 enable_scarddlg
1455 enable_sccbase
1456 enable_schannel
1457 enable_schedsvc
1458 enable_scrobj
1459 enable_scrrun
1460 enable_scsiport_sys
1461 enable_secur32
1462 enable_security
1463 enable_sensapi
1464 enable_serialui
1465 enable_setupapi
1466 enable_sfc
1467 enable_sfc_os
1468 enable_shcore
1469 enable_shdoclc
1470 enable_shdocvw
1471 enable_shell32
1472 enable_shfolder
1473 enable_shlwapi
1474 enable_slbcsp
1475 enable_slc
1476 enable_snmpapi
1477 enable_softpub
1478 enable_spoolss
1479 enable_sspicli
1480 enable_stdole2_tlb
1481 enable_stdole32_tlb
1482 enable_sti
1483 enable_svrapi
1484 enable_sxs
1485 enable_t2embed
1486 enable_tapi32
1487 enable_taskschd
1488 enable_tdh
1489 enable_tdi_sys
1490 enable_traffic
1491 enable_twain_32
1492 enable_ucrtbase
1493 enable_uiautomationcore
1494 enable_uiribbon
1495 enable_unicows
1496 enable_updspapi
1497 enable_url
1498 enable_urlmon
1499 enable_usbd_sys
1500 enable_user32
1501 enable_userenv
1502 enable_usp10
1503 enable_uxtheme
1504 enable_vbscript
1505 enable_vcomp
1506 enable_vcomp100
1507 enable_vcomp110
1508 enable_vcomp120
1509 enable_vcomp140
1510 enable_vcomp90
1511 enable_vcruntime140
1512 enable_vdmdbg
1513 enable_version
1514 enable_virtdisk
1515 enable_vssapi
1516 enable_wbemdisp
1517 enable_wbemprox
1518 enable_wdscore
1519 enable_webservices
1520 enable_wer
1521 enable_wevtapi
1522 enable_wiaservc
1523 enable_wimgapi
1524 enable_windowscodecs
1525 enable_windowscodecsext
1526 enable_winealsa_drv
1527 enable_wineandroid_drv
1528 enable_winebus_sys
1529 enable_winecoreaudio_drv
1530 enable_wined3d
1531 enable_winegstreamer
1532 enable_winehid_sys
1533 enable_winejoystick_drv
1534 enable_winemac_drv
1535 enable_winemapi
1536 enable_wineoss_drv
1537 enable_wineps_drv
1538 enable_winepulse_drv
1539 enable_wineqtdecoder
1540 enable_winevulkan
1541 enable_winex11_drv
1542 enable_wing32
1543 enable_winhttp
1544 enable_wininet
1545 enable_winmm
1546 enable_winnls32
1547 enable_winscard
1548 enable_winspool_drv
1549 enable_winsta
1550 enable_wintab32
1551 enable_wintrust
1552 enable_winusb
1553 enable_wlanapi
1554 enable_wldap32
1555 enable_wmasf
1556 enable_wmi
1557 enable_wmiutils
1558 enable_wmp
1559 enable_wmphoto
1560 enable_wmvcore
1561 enable_wnaspi32
1562 enable_wpc
1563 enable_wpcap
1564 enable_ws2_32
1565 enable_wsdapi
1566 enable_wshom_ocx
1567 enable_wsnmp32
1568 enable_wsock32
1569 enable_wtsapi32
1570 enable_wuapi
1571 enable_wuaueng
1572 enable_x3daudio1_0
1573 enable_x3daudio1_1
1574 enable_x3daudio1_2
1575 enable_x3daudio1_3
1576 enable_x3daudio1_4
1577 enable_x3daudio1_5
1578 enable_x3daudio1_6
1579 enable_x3daudio1_7
1580 enable_xapofx1_1
1581 enable_xapofx1_2
1582 enable_xapofx1_3
1583 enable_xapofx1_4
1584 enable_xapofx1_5
1585 enable_xaudio2_0
1586 enable_xaudio2_1
1587 enable_xaudio2_2
1588 enable_xaudio2_3
1589 enable_xaudio2_4
1590 enable_xaudio2_5
1591 enable_xaudio2_6
1592 enable_xaudio2_7
1593 enable_xaudio2_8
1594 enable_xaudio2_9
1595 enable_xinput1_1
1596 enable_xinput1_2
1597 enable_xinput1_3
1598 enable_xinput1_4
1599 enable_xinput9_1_0
1600 enable_xmllite
1601 enable_xolehlp
1602 enable_xpsprint
1603 enable_xpssvcs
1604 enable_fonts
1605 enable_include
1606 enable_libs_port
1607 enable_libs_wine
1608 enable_libs_wpp
1609 enable_loader
1610 enable_po
1611 enable_arp
1612 enable_aspnet_regiis
1613 enable_attrib
1614 enable_cabarc
1615 enable_cacls
1616 enable_clock
1617 enable_cmd
1618 enable_conhost
1619 enable_control
1620 enable_cscript
1621 enable_dpnsvr
1622 enable_dxdiag
1623 enable_eject
1624 enable_expand
1625 enable_explorer
1626 enable_extrac32
1627 enable_findstr
1628 enable_fsutil
1629 enable_hh
1630 enable_hostname
1631 enable_icacls
1632 enable_icinfo
1633 enable_iexplore
1634 enable_ipconfig
1635 enable_lodctr
1636 enable_mofcomp
1637 enable_mshta
1638 enable_msiexec
1639 enable_msinfo32
1640 enable_net
1641 enable_netsh
1642 enable_netstat
1643 enable_ngen
1644 enable_notepad
1645 enable_oleview
1646 enable_ping
1647 enable_plugplay
1648 enable_powershell
1649 enable_presentationfontcache
1650 enable_progman
1651 enable_reg
1652 enable_regasm
1653 enable_regedit
1654 enable_regsvcs
1655 enable_regsvr32
1656 enable_rpcss
1657 enable_rundll32
1658 enable_sc
1659 enable_schtasks
1660 enable_sdbinst
1661 enable_secedit
1662 enable_servicemodelreg
1663 enable_services
1664 enable_shutdown
1665 enable_spoolsv
1666 enable_start
1667 enable_subst
1668 enable_svchost
1669 enable_systeminfo
1670 enable_taskkill
1671 enable_tasklist
1672 enable_taskmgr
1673 enable_termsv
1674 enable_uninstaller
1675 enable_unlodctr
1676 enable_view
1677 enable_wevtutil
1678 enable_wineboot
1679 enable_winebrowser
1680 enable_winecfg
1681 enable_wineconsole
1682 enable_winedbg
1683 enable_winedevice
1684 enable_winefile
1685 enable_winemenubuilder
1686 enable_winemine
1687 enable_winemsibuilder
1688 enable_winepath
1689 enable_winetest
1690 enable_winhlp32
1691 enable_winver
1692 enable_wmic
1693 enable_wmplayer
1694 enable_wordpad
1695 enable_write
1696 enable_wscript
1697 enable_wusa
1698 enable_xcopy
1699 enable_server
1700 enable_tools
1702 ac_precious_vars='build_alias
1703 host_alias
1704 target_alias
1706 CFLAGS
1707 LDFLAGS
1708 LIBS
1709 CPPFLAGS
1711 CXXFLAGS
1714 XMKMF
1715 XML2_CFLAGS
1716 XML2_LIBS
1717 XSLT_CFLAGS
1718 XSLT_LIBS
1719 DBUS_CFLAGS
1720 DBUS_LIBS
1721 HAL_CFLAGS
1722 HAL_LIBS
1723 GNUTLS_CFLAGS
1724 GNUTLS_LIBS
1725 SANE_CFLAGS
1726 SANE_LIBS
1727 GPHOTO2_CFLAGS
1728 GPHOTO2_LIBS
1729 GPHOTO2_PORT_CFLAGS
1730 GPHOTO2_PORT_LIBS
1731 LCMS2_CFLAGS
1732 LCMS2_LIBS
1733 FREETYPE_CFLAGS
1734 FREETYPE_LIBS
1735 PULSE_CFLAGS
1736 PULSE_LIBS
1737 GSTREAMER_CFLAGS
1738 GSTREAMER_LIBS
1739 UDEV_CFLAGS
1740 UDEV_LIBS
1741 SDL2_CFLAGS
1742 SDL2_LIBS
1743 CAPI20_CFLAGS
1744 CAPI20_LIBS
1745 CUPS_CFLAGS
1746 CUPS_LIBS
1747 FONTCONFIG_CFLAGS
1748 FONTCONFIG_LIBS
1749 KRB5_CFLAGS
1750 KRB5_LIBS
1751 GSSAPI_CFLAGS
1752 GSSAPI_LIBS
1753 JPEG_CFLAGS
1754 JPEG_LIBS
1755 PNG_CFLAGS
1756 PNG_LIBS
1757 TIFF_CFLAGS
1758 TIFF_LIBS
1759 MPG123_CFLAGS
1760 MPG123_LIBS
1761 NETAPI_CFLAGS
1762 NETAPI_LIBS
1763 LDAP_CFLAGS
1764 LDAP_LIBS'
1767 # Initialize some variables set by options.
1768 ac_init_help=
1769 ac_init_version=false
1770 ac_unrecognized_opts=
1771 ac_unrecognized_sep=
1772 # The variables have the same names as the options, with
1773 # dashes changed to underlines.
1774 cache_file=/dev/null
1775 exec_prefix=NONE
1776 no_create=
1777 no_recursion=
1778 prefix=NONE
1779 program_prefix=NONE
1780 program_suffix=NONE
1781 program_transform_name=s,x,x,
1782 silent=
1783 site=
1784 srcdir=
1785 verbose=
1786 x_includes=NONE
1787 x_libraries=NONE
1789 # Installation directory options.
1790 # These are left unexpanded so users can "make install exec_prefix=/foo"
1791 # and all the variables that are supposed to be based on exec_prefix
1792 # by default will actually change.
1793 # Use braces instead of parens because sh, perl, etc. also accept them.
1794 # (The list follows the same order as the GNU Coding Standards.)
1795 bindir='${exec_prefix}/bin'
1796 sbindir='${exec_prefix}/sbin'
1797 libexecdir='${exec_prefix}/libexec'
1798 datarootdir='${prefix}/share'
1799 datadir='${datarootdir}'
1800 sysconfdir='${prefix}/etc'
1801 sharedstatedir='${prefix}/com'
1802 localstatedir='${prefix}/var'
1803 runstatedir='${localstatedir}/run'
1804 includedir='${prefix}/include'
1805 oldincludedir='/usr/include'
1806 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1807 infodir='${datarootdir}/info'
1808 htmldir='${docdir}'
1809 dvidir='${docdir}'
1810 pdfdir='${docdir}'
1811 psdir='${docdir}'
1812 libdir='${exec_prefix}/lib'
1813 localedir='${datarootdir}/locale'
1814 mandir='${datarootdir}/man'
1816 ac_prev=
1817 ac_dashdash=
1818 for ac_option
1820 # If the previous option needs an argument, assign it.
1821 if test -n "$ac_prev"; then
1822 eval $ac_prev=\$ac_option
1823 ac_prev=
1824 continue
1827 case $ac_option in
1828 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1829 *=) ac_optarg= ;;
1830 *) ac_optarg=yes ;;
1831 esac
1833 # Accept the important Cygnus configure options, so we can diagnose typos.
1835 case $ac_dashdash$ac_option in
1837 ac_dashdash=yes ;;
1839 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1840 ac_prev=bindir ;;
1841 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1842 bindir=$ac_optarg ;;
1844 -build | --build | --buil | --bui | --bu)
1845 ac_prev=build_alias ;;
1846 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1847 build_alias=$ac_optarg ;;
1849 -cache-file | --cache-file | --cache-fil | --cache-fi \
1850 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1851 ac_prev=cache_file ;;
1852 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1853 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1854 cache_file=$ac_optarg ;;
1856 --config-cache | -C)
1857 cache_file=config.cache ;;
1859 -datadir | --datadir | --datadi | --datad)
1860 ac_prev=datadir ;;
1861 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1862 datadir=$ac_optarg ;;
1864 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1865 | --dataroo | --dataro | --datar)
1866 ac_prev=datarootdir ;;
1867 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1868 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1869 datarootdir=$ac_optarg ;;
1871 -disable-* | --disable-*)
1872 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1873 # Reject names that are not valid shell variable names.
1874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1875 as_fn_error $? "invalid feature name: $ac_useropt"
1876 ac_useropt_orig=$ac_useropt
1877 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1878 case $ac_user_opts in
1880 "enable_$ac_useropt"
1881 "*) ;;
1882 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1883 ac_unrecognized_sep=', ';;
1884 esac
1885 eval enable_$ac_useropt=no ;;
1887 -docdir | --docdir | --docdi | --doc | --do)
1888 ac_prev=docdir ;;
1889 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1890 docdir=$ac_optarg ;;
1892 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1893 ac_prev=dvidir ;;
1894 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1895 dvidir=$ac_optarg ;;
1897 -enable-* | --enable-*)
1898 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1899 # Reject names that are not valid shell variable names.
1900 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1901 as_fn_error $? "invalid feature name: $ac_useropt"
1902 ac_useropt_orig=$ac_useropt
1903 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1904 case $ac_user_opts in
1906 "enable_$ac_useropt"
1907 "*) ;;
1908 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1909 ac_unrecognized_sep=', ';;
1910 esac
1911 eval enable_$ac_useropt=\$ac_optarg ;;
1913 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1914 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1915 | --exec | --exe | --ex)
1916 ac_prev=exec_prefix ;;
1917 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1918 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1919 | --exec=* | --exe=* | --ex=*)
1920 exec_prefix=$ac_optarg ;;
1922 -gas | --gas | --ga | --g)
1923 # Obsolete; use --with-gas.
1924 with_gas=yes ;;
1926 -help | --help | --hel | --he | -h)
1927 ac_init_help=long ;;
1928 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1929 ac_init_help=recursive ;;
1930 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1931 ac_init_help=short ;;
1933 -host | --host | --hos | --ho)
1934 ac_prev=host_alias ;;
1935 -host=* | --host=* | --hos=* | --ho=*)
1936 host_alias=$ac_optarg ;;
1938 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1939 ac_prev=htmldir ;;
1940 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1941 | --ht=*)
1942 htmldir=$ac_optarg ;;
1944 -includedir | --includedir | --includedi | --included | --include \
1945 | --includ | --inclu | --incl | --inc)
1946 ac_prev=includedir ;;
1947 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1948 | --includ=* | --inclu=* | --incl=* | --inc=*)
1949 includedir=$ac_optarg ;;
1951 -infodir | --infodir | --infodi | --infod | --info | --inf)
1952 ac_prev=infodir ;;
1953 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1954 infodir=$ac_optarg ;;
1956 -libdir | --libdir | --libdi | --libd)
1957 ac_prev=libdir ;;
1958 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1959 libdir=$ac_optarg ;;
1961 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1962 | --libexe | --libex | --libe)
1963 ac_prev=libexecdir ;;
1964 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1965 | --libexe=* | --libex=* | --libe=*)
1966 libexecdir=$ac_optarg ;;
1968 -localedir | --localedir | --localedi | --localed | --locale)
1969 ac_prev=localedir ;;
1970 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1971 localedir=$ac_optarg ;;
1973 -localstatedir | --localstatedir | --localstatedi | --localstated \
1974 | --localstate | --localstat | --localsta | --localst | --locals)
1975 ac_prev=localstatedir ;;
1976 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1977 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1978 localstatedir=$ac_optarg ;;
1980 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1981 ac_prev=mandir ;;
1982 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1983 mandir=$ac_optarg ;;
1985 -nfp | --nfp | --nf)
1986 # Obsolete; use --without-fp.
1987 with_fp=no ;;
1989 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1990 | --no-cr | --no-c | -n)
1991 no_create=yes ;;
1993 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1994 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1995 no_recursion=yes ;;
1997 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1998 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1999 | --oldin | --oldi | --old | --ol | --o)
2000 ac_prev=oldincludedir ;;
2001 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2002 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2003 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2004 oldincludedir=$ac_optarg ;;
2006 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2007 ac_prev=prefix ;;
2008 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2009 prefix=$ac_optarg ;;
2011 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2012 | --program-pre | --program-pr | --program-p)
2013 ac_prev=program_prefix ;;
2014 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2015 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2016 program_prefix=$ac_optarg ;;
2018 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2019 | --program-suf | --program-su | --program-s)
2020 ac_prev=program_suffix ;;
2021 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2022 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2023 program_suffix=$ac_optarg ;;
2025 -program-transform-name | --program-transform-name \
2026 | --program-transform-nam | --program-transform-na \
2027 | --program-transform-n | --program-transform- \
2028 | --program-transform | --program-transfor \
2029 | --program-transfo | --program-transf \
2030 | --program-trans | --program-tran \
2031 | --progr-tra | --program-tr | --program-t)
2032 ac_prev=program_transform_name ;;
2033 -program-transform-name=* | --program-transform-name=* \
2034 | --program-transform-nam=* | --program-transform-na=* \
2035 | --program-transform-n=* | --program-transform-=* \
2036 | --program-transform=* | --program-transfor=* \
2037 | --program-transfo=* | --program-transf=* \
2038 | --program-trans=* | --program-tran=* \
2039 | --progr-tra=* | --program-tr=* | --program-t=*)
2040 program_transform_name=$ac_optarg ;;
2042 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2043 ac_prev=pdfdir ;;
2044 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2045 pdfdir=$ac_optarg ;;
2047 -psdir | --psdir | --psdi | --psd | --ps)
2048 ac_prev=psdir ;;
2049 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2050 psdir=$ac_optarg ;;
2052 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2053 | -silent | --silent | --silen | --sile | --sil)
2054 silent=yes ;;
2056 -runstatedir | --runstatedir | --runstatedi | --runstated \
2057 | --runstate | --runstat | --runsta | --runst | --runs \
2058 | --run | --ru | --r)
2059 ac_prev=runstatedir ;;
2060 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2061 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2062 | --run=* | --ru=* | --r=*)
2063 runstatedir=$ac_optarg ;;
2065 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2066 ac_prev=sbindir ;;
2067 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2068 | --sbi=* | --sb=*)
2069 sbindir=$ac_optarg ;;
2071 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2072 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2073 | --sharedst | --shareds | --shared | --share | --shar \
2074 | --sha | --sh)
2075 ac_prev=sharedstatedir ;;
2076 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2077 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2078 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2079 | --sha=* | --sh=*)
2080 sharedstatedir=$ac_optarg ;;
2082 -site | --site | --sit)
2083 ac_prev=site ;;
2084 -site=* | --site=* | --sit=*)
2085 site=$ac_optarg ;;
2087 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2088 ac_prev=srcdir ;;
2089 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2090 srcdir=$ac_optarg ;;
2092 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2093 | --syscon | --sysco | --sysc | --sys | --sy)
2094 ac_prev=sysconfdir ;;
2095 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2096 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2097 sysconfdir=$ac_optarg ;;
2099 -target | --target | --targe | --targ | --tar | --ta | --t)
2100 ac_prev=target_alias ;;
2101 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2102 target_alias=$ac_optarg ;;
2104 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2105 verbose=yes ;;
2107 -version | --version | --versio | --versi | --vers | -V)
2108 ac_init_version=: ;;
2110 -with-* | --with-*)
2111 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2112 # Reject names that are not valid shell variable names.
2113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2114 as_fn_error $? "invalid package name: $ac_useropt"
2115 ac_useropt_orig=$ac_useropt
2116 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2117 case $ac_user_opts in
2119 "with_$ac_useropt"
2120 "*) ;;
2121 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2122 ac_unrecognized_sep=', ';;
2123 esac
2124 eval with_$ac_useropt=\$ac_optarg ;;
2126 -without-* | --without-*)
2127 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2128 # Reject names that are not valid shell variable names.
2129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2130 as_fn_error $? "invalid package name: $ac_useropt"
2131 ac_useropt_orig=$ac_useropt
2132 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2133 case $ac_user_opts in
2135 "with_$ac_useropt"
2136 "*) ;;
2137 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2138 ac_unrecognized_sep=', ';;
2139 esac
2140 eval with_$ac_useropt=no ;;
2142 --x)
2143 # Obsolete; use --with-x.
2144 with_x=yes ;;
2146 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2147 | --x-incl | --x-inc | --x-in | --x-i)
2148 ac_prev=x_includes ;;
2149 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2150 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2151 x_includes=$ac_optarg ;;
2153 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2154 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2155 ac_prev=x_libraries ;;
2156 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2157 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2158 x_libraries=$ac_optarg ;;
2160 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2161 Try \`$0 --help' for more information"
2164 *=*)
2165 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2166 # Reject names that are not valid shell variable names.
2167 case $ac_envvar in #(
2168 '' | [0-9]* | *[!_$as_cr_alnum]* )
2169 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2170 esac
2171 eval $ac_envvar=\$ac_optarg
2172 export $ac_envvar ;;
2175 # FIXME: should be removed in autoconf 3.0.
2176 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2177 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2178 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2179 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2182 esac
2183 done
2185 if test -n "$ac_prev"; then
2186 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2187 as_fn_error $? "missing argument to $ac_option"
2190 if test -n "$ac_unrecognized_opts"; then
2191 case $enable_option_checking in
2192 no) ;;
2193 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2194 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2195 esac
2198 # Check all directory arguments for consistency.
2199 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2200 datadir sysconfdir sharedstatedir localstatedir includedir \
2201 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2202 libdir localedir mandir runstatedir
2204 eval ac_val=\$$ac_var
2205 # Remove trailing slashes.
2206 case $ac_val in
2207 */ )
2208 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2209 eval $ac_var=\$ac_val;;
2210 esac
2211 # Be sure to have absolute directory names.
2212 case $ac_val in
2213 [\\/$]* | ?:[\\/]* ) continue;;
2214 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2215 esac
2216 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2217 done
2219 # There might be people who depend on the old broken behavior: `$host'
2220 # used to hold the argument of --host etc.
2221 # FIXME: To remove some day.
2222 build=$build_alias
2223 host=$host_alias
2224 target=$target_alias
2226 # FIXME: To remove some day.
2227 if test "x$host_alias" != x; then
2228 if test "x$build_alias" = x; then
2229 cross_compiling=maybe
2230 elif test "x$build_alias" != "x$host_alias"; then
2231 cross_compiling=yes
2235 ac_tool_prefix=
2236 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2238 test "$silent" = yes && exec 6>/dev/null
2241 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2242 ac_ls_di=`ls -di .` &&
2243 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2244 as_fn_error $? "working directory cannot be determined"
2245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2246 as_fn_error $? "pwd does not report name of working directory"
2249 # Find the source files, if location was not specified.
2250 if test -z "$srcdir"; then
2251 ac_srcdir_defaulted=yes
2252 # Try the directory containing this script, then the parent directory.
2253 ac_confdir=`$as_dirname -- "$as_myself" ||
2254 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2255 X"$as_myself" : 'X\(//\)[^/]' \| \
2256 X"$as_myself" : 'X\(//\)$' \| \
2257 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2258 $as_echo X"$as_myself" |
2259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2260 s//\1/
2263 /^X\(\/\/\)[^/].*/{
2264 s//\1/
2267 /^X\(\/\/\)$/{
2268 s//\1/
2271 /^X\(\/\).*/{
2272 s//\1/
2275 s/.*/./; q'`
2276 srcdir=$ac_confdir
2277 if test ! -r "$srcdir/$ac_unique_file"; then
2278 srcdir=..
2280 else
2281 ac_srcdir_defaulted=no
2283 if test ! -r "$srcdir/$ac_unique_file"; then
2284 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2285 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2287 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2288 ac_abs_confdir=`(
2289 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2290 pwd)`
2291 # When building in place, set srcdir=.
2292 if test "$ac_abs_confdir" = "$ac_pwd"; then
2293 srcdir=.
2295 # Remove unnecessary trailing slashes from srcdir.
2296 # Double slashes in file names in object file debugging info
2297 # mess up M-x gdb in Emacs.
2298 case $srcdir in
2299 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2300 esac
2301 for ac_var in $ac_precious_vars; do
2302 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2303 eval ac_env_${ac_var}_value=\$${ac_var}
2304 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2305 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2306 done
2309 # Report the --help message.
2311 if test "$ac_init_help" = "long"; then
2312 # Omit some internal or obsolete options to make the list less imposing.
2313 # This message is too long to be a string in the A/UX 3.1 sh.
2314 cat <<_ACEOF
2315 \`configure' configures Wine 3.3 to adapt to many kinds of systems.
2317 Usage: $0 [OPTION]... [VAR=VALUE]...
2319 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2320 VAR=VALUE. See below for descriptions of some of the useful variables.
2322 Defaults for the options are specified in brackets.
2324 Configuration:
2325 -h, --help display this help and exit
2326 --help=short display options specific to this package
2327 --help=recursive display the short help of all the included packages
2328 -V, --version display version information and exit
2329 -q, --quiet, --silent do not print \`checking ...' messages
2330 --cache-file=FILE cache test results in FILE [disabled]
2331 -C, --config-cache alias for \`--cache-file=config.cache'
2332 -n, --no-create do not create output files
2333 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2335 Installation directories:
2336 --prefix=PREFIX install architecture-independent files in PREFIX
2337 [$ac_default_prefix]
2338 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2339 [PREFIX]
2341 By default, \`make install' will install all the files in
2342 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2343 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2344 for instance \`--prefix=\$HOME'.
2346 For better control, use the options below.
2348 Fine tuning of the installation directories:
2349 --bindir=DIR user executables [EPREFIX/bin]
2350 --sbindir=DIR system admin executables [EPREFIX/sbin]
2351 --libexecdir=DIR program executables [EPREFIX/libexec]
2352 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2353 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2354 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2355 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2356 --libdir=DIR object code libraries [EPREFIX/lib]
2357 --includedir=DIR C header files [PREFIX/include]
2358 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2359 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2360 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2361 --infodir=DIR info documentation [DATAROOTDIR/info]
2362 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2363 --mandir=DIR man documentation [DATAROOTDIR/man]
2364 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2365 --htmldir=DIR html documentation [DOCDIR]
2366 --dvidir=DIR dvi documentation [DOCDIR]
2367 --pdfdir=DIR pdf documentation [DOCDIR]
2368 --psdir=DIR ps documentation [DOCDIR]
2369 _ACEOF
2371 cat <<\_ACEOF
2373 X features:
2374 --x-includes=DIR X include files are in DIR
2375 --x-libraries=DIR X library files are in DIR
2377 System types:
2378 --build=BUILD configure for building on BUILD [guessed]
2379 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2380 _ACEOF
2383 if test -n "$ac_init_help"; then
2384 case $ac_init_help in
2385 short | recursive ) echo "Configuration of Wine 3.3:";;
2386 esac
2387 cat <<\_ACEOF
2389 Optional Features:
2390 --disable-option-checking ignore unrecognized --enable/--with options
2391 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2392 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2393 --disable-win16 do not include Win16 support
2394 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2395 binaries)
2396 --disable-tests do not build the regression tests
2397 --enable-maintainer-mode
2398 enable maintainer-specific build rules
2399 --disable-largefile omit support for large files
2401 Optional Packages:
2402 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2403 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2404 --without-alsa do not use the Alsa sound support
2405 --without-capi do not use CAPI (ISDN support)
2406 --without-cms do not use CMS (color management support)
2407 --without-coreaudio do not use the CoreAudio sound support
2408 --without-cups do not use CUPS
2409 --without-curses do not use (n)curses
2410 --without-dbus do not use DBus (dynamic device support)
2411 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2412 --without-fontconfig do not use fontconfig
2413 --without-freetype do not use the FreeType library
2414 --without-gettext do not use gettext
2415 --with-gettextpo use the GetTextPO library to rebuild po files
2416 --without-gphoto do not use gphoto (Digital Camera support)
2417 --without-glu do not use the GLU library
2418 --without-gnutls do not use GnuTLS (schannel support)
2419 --without-gsm do not use libgsm (GSM 06.10 codec support)
2420 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2421 --without-gstreamer do not use GStreamer (codecs support)
2422 --without-hal do not use HAL (dynamic device support)
2423 --without-jpeg do not use JPEG
2424 --without-krb5 do not use krb5 (Kerberos)
2425 --without-ldap do not use LDAP
2426 --without-mpg123 do not use the mpg123 library
2427 --without-netapi do not use the Samba NetAPI library
2428 --without-openal do not use OpenAL
2429 --without-opencl do not use OpenCL
2430 --without-opengl do not use OpenGL
2431 --without-osmesa do not use the OSMesa library
2432 --without-oss do not use the OSS sound support
2433 --without-pcap do not use the Packet Capture library
2434 --without-png do not use PNG
2435 --without-pthread do not use the pthread library
2436 --without-pulse do not use PulseAudio sound support
2437 --without-sane do not use SANE (scanner support)
2438 --without-sdl do not use SDL
2439 --without-tiff do not use TIFF
2440 --without-udev do not use udev (plug and play support)
2441 --without-v4l do not use v4l1 (v4l support)
2442 --without-vulkan do not use Vulkan
2443 --without-xcomposite do not use the Xcomposite extension
2444 --without-xcursor do not use the Xcursor extension
2445 --without-xfixes do not use Xfixes for clipboard change notifications
2446 --without-xinerama do not use Xinerama (multi-monitor support)
2447 --without-xinput do not use the Xinput extension
2448 --without-xinput2 do not use the Xinput 2 extension
2449 --without-xml do not use XML
2450 --without-xrandr do not use Xrandr (resolution changes)
2451 --without-xrender do not use the Xrender extension
2452 --without-xshape do not use the Xshape extension
2453 --without-xshm do not use XShm (shared memory extension)
2454 --without-xslt do not use XSLT
2455 --without-xxf86vm do not use XFree video mode extension
2456 --without-zlib do not use Zlib (data compression)
2457 --with-wine-tools=DIR use Wine tools from directory DIR
2458 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2459 --with-x use the X Window System
2461 Some influential environment variables:
2462 CC C compiler command
2463 CFLAGS C compiler flags
2464 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2465 nonstandard directory <lib dir>
2466 LIBS libraries to pass to the linker, e.g. -l<library>
2467 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2468 you have headers in a nonstandard directory <include dir>
2469 CXX C++ compiler command
2470 CXXFLAGS C++ compiler flags
2471 CPP C preprocessor
2472 XMKMF Path to xmkmf, Makefile generator for X Window System
2473 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2474 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2475 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2476 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2477 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2478 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2479 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2480 HAL_LIBS Linker flags for hal, overriding pkg-config
2481 GNUTLS_CFLAGS
2482 C compiler flags for gnutls, overriding pkg-config
2483 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2484 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2485 SANE_LIBS Linker flags for libsane, overriding pkg-config
2486 GPHOTO2_CFLAGS
2487 C compiler flags for libgphoto2, overriding pkg-config
2488 GPHOTO2_LIBS
2489 Linker flags for libgphoto2, overriding pkg-config
2490 GPHOTO2_PORT_CFLAGS
2491 C compiler flags for libgphoto2_port, overriding pkg-config
2492 GPHOTO2_PORT_LIBS
2493 Linker flags for libgphoto2_port, overriding pkg-config
2494 LCMS2_CFLAGS
2495 C compiler flags for lcms2, overriding pkg-config
2496 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2497 FREETYPE_CFLAGS
2498 C compiler flags for freetype2, overriding pkg-config
2499 FREETYPE_LIBS
2500 Linker flags for freetype2, overriding pkg-config
2501 PULSE_CFLAGS
2502 C compiler flags for libpulse, overriding pkg-config
2503 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2504 GSTREAMER_CFLAGS
2505 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2506 gstreamer-audio-1.0, overriding pkg-config
2507 GSTREAMER_LIBS
2508 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2509 gstreamer-audio-1.0, overriding pkg-config
2510 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2511 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2512 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2513 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2514 CAPI20_CFLAGS
2515 C compiler flags for capi20, overriding pkg-config
2516 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2517 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2518 CUPS_LIBS Linker flags for cups, overriding pkg-config
2519 FONTCONFIG_CFLAGS
2520 C compiler flags for fontconfig, overriding pkg-config
2521 FONTCONFIG_LIBS
2522 Linker flags for fontconfig, overriding pkg-config
2523 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2524 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2525 GSSAPI_CFLAGS
2526 C compiler flags for krb5-gssapi, overriding pkg-config
2527 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2528 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2529 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2530 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2531 PNG_LIBS Linker flags for libpng, overriding pkg-config
2532 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2533 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2534 MPG123_CFLAGS
2535 C compiler flags for libmpg123, overriding pkg-config
2536 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2537 NETAPI_CFLAGS
2538 C compiler flags for netapi, overriding pkg-config
2539 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2540 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2541 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2543 Use these variables to override the choices made by `configure' or to help
2544 it to find libraries and programs with nonstandard names/locations.
2546 Report bugs to <wine-devel@winehq.org>.
2547 Wine home page: <https://www.winehq.org>.
2548 _ACEOF
2549 ac_status=$?
2552 if test "$ac_init_help" = "recursive"; then
2553 # If there are subdirs, report their specific --help.
2554 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2555 test -d "$ac_dir" ||
2556 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2557 continue
2558 ac_builddir=.
2560 case "$ac_dir" in
2561 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2563 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2564 # A ".." for each directory in $ac_dir_suffix.
2565 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2566 case $ac_top_builddir_sub in
2567 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2568 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2569 esac ;;
2570 esac
2571 ac_abs_top_builddir=$ac_pwd
2572 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2573 # for backward compatibility:
2574 ac_top_builddir=$ac_top_build_prefix
2576 case $srcdir in
2577 .) # We are building in place.
2578 ac_srcdir=.
2579 ac_top_srcdir=$ac_top_builddir_sub
2580 ac_abs_top_srcdir=$ac_pwd ;;
2581 [\\/]* | ?:[\\/]* ) # Absolute name.
2582 ac_srcdir=$srcdir$ac_dir_suffix;
2583 ac_top_srcdir=$srcdir
2584 ac_abs_top_srcdir=$srcdir ;;
2585 *) # Relative name.
2586 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2587 ac_top_srcdir=$ac_top_build_prefix$srcdir
2588 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2589 esac
2590 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2592 cd "$ac_dir" || { ac_status=$?; continue; }
2593 # Check for guested configure.
2594 if test -f "$ac_srcdir/configure.gnu"; then
2595 echo &&
2596 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2597 elif test -f "$ac_srcdir/configure"; then
2598 echo &&
2599 $SHELL "$ac_srcdir/configure" --help=recursive
2600 else
2601 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2602 fi || ac_status=$?
2603 cd "$ac_pwd" || { ac_status=$?; break; }
2604 done
2607 test -n "$ac_init_help" && exit $ac_status
2608 if $ac_init_version; then
2609 cat <<\_ACEOF
2610 Wine configure 3.3
2611 generated by GNU Autoconf 2.69
2613 Copyright (C) 2012 Free Software Foundation, Inc.
2614 This configure script is free software; the Free Software Foundation
2615 gives unlimited permission to copy, distribute and modify it.
2616 _ACEOF
2617 exit
2620 ## ------------------------ ##
2621 ## Autoconf initialization. ##
2622 ## ------------------------ ##
2624 # ac_fn_c_try_compile LINENO
2625 # --------------------------
2626 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2627 ac_fn_c_try_compile ()
2629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2630 rm -f conftest.$ac_objext
2631 if { { ac_try="$ac_compile"
2632 case "(($ac_try" in
2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2635 esac
2636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2637 $as_echo "$ac_try_echo"; } >&5
2638 (eval "$ac_compile") 2>conftest.err
2639 ac_status=$?
2640 if test -s conftest.err; then
2641 grep -v '^ *+' conftest.err >conftest.er1
2642 cat conftest.er1 >&5
2643 mv -f conftest.er1 conftest.err
2645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2646 test $ac_status = 0; } && {
2647 test -z "$ac_c_werror_flag" ||
2648 test ! -s conftest.err
2649 } && test -s conftest.$ac_objext; then :
2650 ac_retval=0
2651 else
2652 $as_echo "$as_me: failed program was:" >&5
2653 sed 's/^/| /' conftest.$ac_ext >&5
2655 ac_retval=1
2657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2658 as_fn_set_status $ac_retval
2660 } # ac_fn_c_try_compile
2662 # ac_fn_cxx_try_compile LINENO
2663 # ----------------------------
2664 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2665 ac_fn_cxx_try_compile ()
2667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2668 rm -f conftest.$ac_objext
2669 if { { ac_try="$ac_compile"
2670 case "(($ac_try" in
2671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2672 *) ac_try_echo=$ac_try;;
2673 esac
2674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2675 $as_echo "$ac_try_echo"; } >&5
2676 (eval "$ac_compile") 2>conftest.err
2677 ac_status=$?
2678 if test -s conftest.err; then
2679 grep -v '^ *+' conftest.err >conftest.er1
2680 cat conftest.er1 >&5
2681 mv -f conftest.er1 conftest.err
2683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2684 test $ac_status = 0; } && {
2685 test -z "$ac_cxx_werror_flag" ||
2686 test ! -s conftest.err
2687 } && test -s conftest.$ac_objext; then :
2688 ac_retval=0
2689 else
2690 $as_echo "$as_me: failed program was:" >&5
2691 sed 's/^/| /' conftest.$ac_ext >&5
2693 ac_retval=1
2695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2696 as_fn_set_status $ac_retval
2698 } # ac_fn_cxx_try_compile
2700 # ac_fn_c_try_link LINENO
2701 # -----------------------
2702 # Try to link conftest.$ac_ext, and return whether this succeeded.
2703 ac_fn_c_try_link ()
2705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2706 rm -f conftest.$ac_objext conftest$ac_exeext
2707 if { { ac_try="$ac_link"
2708 case "(($ac_try" in
2709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2710 *) ac_try_echo=$ac_try;;
2711 esac
2712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2713 $as_echo "$ac_try_echo"; } >&5
2714 (eval "$ac_link") 2>conftest.err
2715 ac_status=$?
2716 if test -s conftest.err; then
2717 grep -v '^ *+' conftest.err >conftest.er1
2718 cat conftest.er1 >&5
2719 mv -f conftest.er1 conftest.err
2721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2722 test $ac_status = 0; } && {
2723 test -z "$ac_c_werror_flag" ||
2724 test ! -s conftest.err
2725 } && test -s conftest$ac_exeext && {
2726 test "$cross_compiling" = yes ||
2727 test -x conftest$ac_exeext
2728 }; then :
2729 ac_retval=0
2730 else
2731 $as_echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2734 ac_retval=1
2736 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2737 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2738 # interfere with the next link command; also delete a directory that is
2739 # left behind by Apple's compiler. We do this before executing the actions.
2740 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2742 as_fn_set_status $ac_retval
2744 } # ac_fn_c_try_link
2746 # ac_fn_c_try_cpp LINENO
2747 # ----------------------
2748 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2749 ac_fn_c_try_cpp ()
2751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2752 if { { ac_try="$ac_cpp conftest.$ac_ext"
2753 case "(($ac_try" in
2754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2755 *) ac_try_echo=$ac_try;;
2756 esac
2757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2758 $as_echo "$ac_try_echo"; } >&5
2759 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2760 ac_status=$?
2761 if test -s conftest.err; then
2762 grep -v '^ *+' conftest.err >conftest.er1
2763 cat conftest.er1 >&5
2764 mv -f conftest.er1 conftest.err
2766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2767 test $ac_status = 0; } > conftest.i && {
2768 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2769 test ! -s conftest.err
2770 }; then :
2771 ac_retval=0
2772 else
2773 $as_echo "$as_me: failed program was:" >&5
2774 sed 's/^/| /' conftest.$ac_ext >&5
2776 ac_retval=1
2778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2779 as_fn_set_status $ac_retval
2781 } # ac_fn_c_try_cpp
2783 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2784 # -------------------------------------------------------
2785 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2786 # the include files in INCLUDES and setting the cache variable VAR
2787 # accordingly.
2788 ac_fn_c_check_header_mongrel ()
2790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2791 if eval \${$3+:} false; then :
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2793 $as_echo_n "checking for $2... " >&6; }
2794 if eval \${$3+:} false; then :
2795 $as_echo_n "(cached) " >&6
2797 eval ac_res=\$$3
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2799 $as_echo "$ac_res" >&6; }
2800 else
2801 # Is the header compilable?
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2803 $as_echo_n "checking $2 usability... " >&6; }
2804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2805 /* end confdefs.h. */
2807 #include <$2>
2808 _ACEOF
2809 if ac_fn_c_try_compile "$LINENO"; then :
2810 ac_header_compiler=yes
2811 else
2812 ac_header_compiler=no
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2816 $as_echo "$ac_header_compiler" >&6; }
2818 # Is the header present?
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2820 $as_echo_n "checking $2 presence... " >&6; }
2821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2822 /* end confdefs.h. */
2823 #include <$2>
2824 _ACEOF
2825 if ac_fn_c_try_cpp "$LINENO"; then :
2826 ac_header_preproc=yes
2827 else
2828 ac_header_preproc=no
2830 rm -f conftest.err conftest.i conftest.$ac_ext
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2832 $as_echo "$ac_header_preproc" >&6; }
2834 # So? What about this header?
2835 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2836 yes:no: )
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2838 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2840 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2842 no:yes:* )
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2844 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2846 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2848 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2850 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2852 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2853 ( $as_echo "## ------------------------------------ ##
2854 ## Report this to wine-devel@winehq.org ##
2855 ## ------------------------------------ ##"
2856 ) | sed "s/^/$as_me: WARNING: /" >&2
2858 esac
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2860 $as_echo_n "checking for $2... " >&6; }
2861 if eval \${$3+:} false; then :
2862 $as_echo_n "(cached) " >&6
2863 else
2864 eval "$3=\$ac_header_compiler"
2866 eval ac_res=\$$3
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2868 $as_echo "$ac_res" >&6; }
2870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2872 } # ac_fn_c_check_header_mongrel
2874 # ac_fn_c_try_run LINENO
2875 # ----------------------
2876 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2877 # that executables *can* be run.
2878 ac_fn_c_try_run ()
2880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2881 if { { ac_try="$ac_link"
2882 case "(($ac_try" in
2883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2884 *) ac_try_echo=$ac_try;;
2885 esac
2886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2887 $as_echo "$ac_try_echo"; } >&5
2888 (eval "$ac_link") 2>&5
2889 ac_status=$?
2890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2891 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2892 { { case "(($ac_try" in
2893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2894 *) ac_try_echo=$ac_try;;
2895 esac
2896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2897 $as_echo "$ac_try_echo"; } >&5
2898 (eval "$ac_try") 2>&5
2899 ac_status=$?
2900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2901 test $ac_status = 0; }; }; then :
2902 ac_retval=0
2903 else
2904 $as_echo "$as_me: program exited with status $ac_status" >&5
2905 $as_echo "$as_me: failed program was:" >&5
2906 sed 's/^/| /' conftest.$ac_ext >&5
2908 ac_retval=$ac_status
2910 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2912 as_fn_set_status $ac_retval
2914 } # ac_fn_c_try_run
2916 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2917 # -------------------------------------------------------
2918 # Tests whether HEADER exists and can be compiled using the include files in
2919 # INCLUDES, setting the cache variable VAR accordingly.
2920 ac_fn_c_check_header_compile ()
2922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2924 $as_echo_n "checking for $2... " >&6; }
2925 if eval \${$3+:} false; then :
2926 $as_echo_n "(cached) " >&6
2927 else
2928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2929 /* end confdefs.h. */
2931 #include <$2>
2932 _ACEOF
2933 if ac_fn_c_try_compile "$LINENO"; then :
2934 eval "$3=yes"
2935 else
2936 eval "$3=no"
2938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2940 eval ac_res=\$$3
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2942 $as_echo "$ac_res" >&6; }
2943 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2945 } # ac_fn_c_check_header_compile
2947 # ac_fn_c_check_func LINENO FUNC VAR
2948 # ----------------------------------
2949 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2950 ac_fn_c_check_func ()
2952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2954 $as_echo_n "checking for $2... " >&6; }
2955 if eval \${$3+:} false; then :
2956 $as_echo_n "(cached) " >&6
2957 else
2958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2959 /* end confdefs.h. */
2960 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2962 #define $2 innocuous_$2
2964 /* System header to define __stub macros and hopefully few prototypes,
2965 which can conflict with char $2 (); below.
2966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2967 <limits.h> exists even on freestanding compilers. */
2969 #ifdef __STDC__
2970 # include <limits.h>
2971 #else
2972 # include <assert.h>
2973 #endif
2975 #undef $2
2977 /* Override any GCC internal prototype to avoid an error.
2978 Use char because int might match the return type of a GCC
2979 builtin and then its argument prototype would still apply. */
2980 #ifdef __cplusplus
2981 extern "C"
2982 #endif
2983 char $2 ();
2984 /* The GNU C library defines this for functions which it implements
2985 to always fail with ENOSYS. Some functions are actually named
2986 something starting with __ and the normal name is an alias. */
2987 #if defined __stub_$2 || defined __stub___$2
2988 choke me
2989 #endif
2992 main ()
2994 return $2 ();
2996 return 0;
2998 _ACEOF
2999 if ac_fn_c_try_link "$LINENO"; then :
3000 eval "$3=yes"
3001 else
3002 eval "$3=no"
3004 rm -f core conftest.err conftest.$ac_objext \
3005 conftest$ac_exeext conftest.$ac_ext
3007 eval ac_res=\$$3
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3009 $as_echo "$ac_res" >&6; }
3010 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3012 } # ac_fn_c_check_func
3014 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3015 # ----------------------------------------------------
3016 # Tries to find if the field MEMBER exists in type AGGR, after including
3017 # INCLUDES, setting cache variable VAR accordingly.
3018 ac_fn_c_check_member ()
3020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3022 $as_echo_n "checking for $2.$3... " >&6; }
3023 if eval \${$4+:} false; then :
3024 $as_echo_n "(cached) " >&6
3025 else
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3030 main ()
3032 static $2 ac_aggr;
3033 if (ac_aggr.$3)
3034 return 0;
3036 return 0;
3038 _ACEOF
3039 if ac_fn_c_try_compile "$LINENO"; then :
3040 eval "$4=yes"
3041 else
3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043 /* end confdefs.h. */
3046 main ()
3048 static $2 ac_aggr;
3049 if (sizeof ac_aggr.$3)
3050 return 0;
3052 return 0;
3054 _ACEOF
3055 if ac_fn_c_try_compile "$LINENO"; then :
3056 eval "$4=yes"
3057 else
3058 eval "$4=no"
3060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3064 eval ac_res=\$$4
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3066 $as_echo "$ac_res" >&6; }
3067 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3069 } # ac_fn_c_check_member
3071 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3072 # -------------------------------------------
3073 # Tests whether TYPE exists after having included INCLUDES, setting cache
3074 # variable VAR accordingly.
3075 ac_fn_c_check_type ()
3077 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3079 $as_echo_n "checking for $2... " >&6; }
3080 if eval \${$3+:} false; then :
3081 $as_echo_n "(cached) " >&6
3082 else
3083 eval "$3=no"
3084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3085 /* end confdefs.h. */
3088 main ()
3090 if (sizeof ($2))
3091 return 0;
3093 return 0;
3095 _ACEOF
3096 if ac_fn_c_try_compile "$LINENO"; then :
3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3101 main ()
3103 if (sizeof (($2)))
3104 return 0;
3106 return 0;
3108 _ACEOF
3109 if ac_fn_c_try_compile "$LINENO"; then :
3111 else
3112 eval "$3=yes"
3114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3118 eval ac_res=\$$3
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3120 $as_echo "$ac_res" >&6; }
3121 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3123 } # ac_fn_c_check_type
3124 cat >config.log <<_ACEOF
3125 This file contains any messages produced by compilers while
3126 running configure, to aid debugging if configure makes a mistake.
3128 It was created by Wine $as_me 3.3, which was
3129 generated by GNU Autoconf 2.69. Invocation command line was
3131 $ $0 $@
3133 _ACEOF
3134 exec 5>>config.log
3136 cat <<_ASUNAME
3137 ## --------- ##
3138 ## Platform. ##
3139 ## --------- ##
3141 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3142 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3143 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3144 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3145 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3147 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3148 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3150 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3151 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3152 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3153 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3154 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3155 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3156 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3158 _ASUNAME
3160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3161 for as_dir in $PATH
3163 IFS=$as_save_IFS
3164 test -z "$as_dir" && as_dir=.
3165 $as_echo "PATH: $as_dir"
3166 done
3167 IFS=$as_save_IFS
3169 } >&5
3171 cat >&5 <<_ACEOF
3174 ## ----------- ##
3175 ## Core tests. ##
3176 ## ----------- ##
3178 _ACEOF
3181 # Keep a trace of the command line.
3182 # Strip out --no-create and --no-recursion so they do not pile up.
3183 # Strip out --silent because we don't want to record it for future runs.
3184 # Also quote any args containing shell meta-characters.
3185 # Make two passes to allow for proper duplicate-argument suppression.
3186 ac_configure_args=
3187 ac_configure_args0=
3188 ac_configure_args1=
3189 ac_must_keep_next=false
3190 for ac_pass in 1 2
3192 for ac_arg
3194 case $ac_arg in
3195 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3196 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3197 | -silent | --silent | --silen | --sile | --sil)
3198 continue ;;
3199 *\'*)
3200 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3201 esac
3202 case $ac_pass in
3203 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3205 as_fn_append ac_configure_args1 " '$ac_arg'"
3206 if test $ac_must_keep_next = true; then
3207 ac_must_keep_next=false # Got value, back to normal.
3208 else
3209 case $ac_arg in
3210 *=* | --config-cache | -C | -disable-* | --disable-* \
3211 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3212 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3213 | -with-* | --with-* | -without-* | --without-* | --x)
3214 case "$ac_configure_args0 " in
3215 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3216 esac
3218 -* ) ac_must_keep_next=true ;;
3219 esac
3221 as_fn_append ac_configure_args " '$ac_arg'"
3223 esac
3224 done
3225 done
3226 { ac_configure_args0=; unset ac_configure_args0;}
3227 { ac_configure_args1=; unset ac_configure_args1;}
3229 # When interrupted or exit'd, cleanup temporary files, and complete
3230 # config.log. We remove comments because anyway the quotes in there
3231 # would cause problems or look ugly.
3232 # WARNING: Use '\'' to represent an apostrophe within the trap.
3233 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3234 trap 'exit_status=$?
3235 # Save into config.log some information that might help in debugging.
3237 echo
3239 $as_echo "## ---------------- ##
3240 ## Cache variables. ##
3241 ## ---------------- ##"
3242 echo
3243 # The following way of writing the cache mishandles newlines in values,
3245 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3246 eval ac_val=\$$ac_var
3247 case $ac_val in #(
3248 *${as_nl}*)
3249 case $ac_var in #(
3250 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3251 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3252 esac
3253 case $ac_var in #(
3254 _ | IFS | as_nl) ;; #(
3255 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3256 *) { eval $ac_var=; unset $ac_var;} ;;
3257 esac ;;
3258 esac
3259 done
3260 (set) 2>&1 |
3261 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3262 *${as_nl}ac_space=\ *)
3263 sed -n \
3264 "s/'\''/'\''\\\\'\'''\''/g;
3265 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3266 ;; #(
3268 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3270 esac |
3271 sort
3273 echo
3275 $as_echo "## ----------------- ##
3276 ## Output variables. ##
3277 ## ----------------- ##"
3278 echo
3279 for ac_var in $ac_subst_vars
3281 eval ac_val=\$$ac_var
3282 case $ac_val in
3283 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3284 esac
3285 $as_echo "$ac_var='\''$ac_val'\''"
3286 done | sort
3287 echo
3289 if test -n "$ac_subst_files"; then
3290 $as_echo "## ------------------- ##
3291 ## File substitutions. ##
3292 ## ------------------- ##"
3293 echo
3294 for ac_var in $ac_subst_files
3296 eval ac_val=\$$ac_var
3297 case $ac_val in
3298 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3299 esac
3300 $as_echo "$ac_var='\''$ac_val'\''"
3301 done | sort
3302 echo
3305 if test -s confdefs.h; then
3306 $as_echo "## ----------- ##
3307 ## confdefs.h. ##
3308 ## ----------- ##"
3309 echo
3310 cat confdefs.h
3311 echo
3313 test "$ac_signal" != 0 &&
3314 $as_echo "$as_me: caught signal $ac_signal"
3315 $as_echo "$as_me: exit $exit_status"
3316 } >&5
3317 rm -f core *.core core.conftest.* &&
3318 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3319 exit $exit_status
3321 for ac_signal in 1 2 13 15; do
3322 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3323 done
3324 ac_signal=0
3326 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3327 rm -f -r conftest* confdefs.h
3329 $as_echo "/* confdefs.h */" > confdefs.h
3331 # Predefined preprocessor variables.
3333 cat >>confdefs.h <<_ACEOF
3334 #define PACKAGE_NAME "$PACKAGE_NAME"
3335 _ACEOF
3337 cat >>confdefs.h <<_ACEOF
3338 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3339 _ACEOF
3341 cat >>confdefs.h <<_ACEOF
3342 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3343 _ACEOF
3345 cat >>confdefs.h <<_ACEOF
3346 #define PACKAGE_STRING "$PACKAGE_STRING"
3347 _ACEOF
3349 cat >>confdefs.h <<_ACEOF
3350 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3351 _ACEOF
3353 cat >>confdefs.h <<_ACEOF
3354 #define PACKAGE_URL "$PACKAGE_URL"
3355 _ACEOF
3358 # Let the site file select an alternate cache file if it wants to.
3359 # Prefer an explicitly selected file to automatically selected ones.
3360 ac_site_file1=NONE
3361 ac_site_file2=NONE
3362 if test -n "$CONFIG_SITE"; then
3363 # We do not want a PATH search for config.site.
3364 case $CONFIG_SITE in #((
3365 -*) ac_site_file1=./$CONFIG_SITE;;
3366 */*) ac_site_file1=$CONFIG_SITE;;
3367 *) ac_site_file1=./$CONFIG_SITE;;
3368 esac
3369 elif test "x$prefix" != xNONE; then
3370 ac_site_file1=$prefix/share/config.site
3371 ac_site_file2=$prefix/etc/config.site
3372 else
3373 ac_site_file1=$ac_default_prefix/share/config.site
3374 ac_site_file2=$ac_default_prefix/etc/config.site
3376 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3378 test "x$ac_site_file" = xNONE && continue
3379 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3381 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3382 sed 's/^/| /' "$ac_site_file" >&5
3383 . "$ac_site_file" \
3384 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3386 as_fn_error $? "failed to load site script $ac_site_file
3387 See \`config.log' for more details" "$LINENO" 5; }
3389 done
3391 if test -r "$cache_file"; then
3392 # Some versions of bash will fail to source /dev/null (special files
3393 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3394 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3396 $as_echo "$as_me: loading cache $cache_file" >&6;}
3397 case $cache_file in
3398 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3399 *) . "./$cache_file";;
3400 esac
3402 else
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3404 $as_echo "$as_me: creating cache $cache_file" >&6;}
3405 >$cache_file
3408 # Check that the precious variables saved in the cache have kept the same
3409 # value.
3410 ac_cache_corrupted=false
3411 for ac_var in $ac_precious_vars; do
3412 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3413 eval ac_new_set=\$ac_env_${ac_var}_set
3414 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3415 eval ac_new_val=\$ac_env_${ac_var}_value
3416 case $ac_old_set,$ac_new_set in
3417 set,)
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3419 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3420 ac_cache_corrupted=: ;;
3421 ,set)
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3423 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3424 ac_cache_corrupted=: ;;
3425 ,);;
3427 if test "x$ac_old_val" != "x$ac_new_val"; then
3428 # differences in whitespace do not lead to failure.
3429 ac_old_val_w=`echo x $ac_old_val`
3430 ac_new_val_w=`echo x $ac_new_val`
3431 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3433 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3434 ac_cache_corrupted=:
3435 else
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3437 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3438 eval $ac_var=\$ac_old_val
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3441 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3443 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3444 fi;;
3445 esac
3446 # Pass precious variables to config.status.
3447 if test "$ac_new_set" = set; then
3448 case $ac_new_val in
3449 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3450 *) ac_arg=$ac_var=$ac_new_val ;;
3451 esac
3452 case " $ac_configure_args " in
3453 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3454 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3455 esac
3457 done
3458 if $ac_cache_corrupted; then
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3462 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3463 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3465 ## -------------------- ##
3466 ## Main body of script. ##
3467 ## -------------------- ##
3469 ac_ext=c
3470 ac_cpp='$CPP $CPPFLAGS'
3471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3477 ac_config_headers="$ac_config_headers include/config.h"
3479 ac_aux_dir=
3480 for ac_dir in tools "$srcdir"/tools; do
3481 if test -f "$ac_dir/install-sh"; then
3482 ac_aux_dir=$ac_dir
3483 ac_install_sh="$ac_aux_dir/install-sh -c"
3484 break
3485 elif test -f "$ac_dir/install.sh"; then
3486 ac_aux_dir=$ac_dir
3487 ac_install_sh="$ac_aux_dir/install.sh -c"
3488 break
3489 elif test -f "$ac_dir/shtool"; then
3490 ac_aux_dir=$ac_dir
3491 ac_install_sh="$ac_aux_dir/shtool install -c"
3492 break
3494 done
3495 if test -z "$ac_aux_dir"; then
3496 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3499 # These three variables are undocumented and unsupported,
3500 # and are intended to be withdrawn in a future Autoconf release.
3501 # They can cause serious problems if a builder's source tree is in a directory
3502 # whose full name contains unusual characters.
3503 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3504 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3505 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3509 libwine_version="1.0"
3513 # Check whether --enable-win16 was given.
3514 if test "${enable_win16+set}" = set; then :
3515 enableval=$enable_win16;
3518 # Check whether --enable-win64 was given.
3519 if test "${enable_win64+set}" = set; then :
3520 enableval=$enable_win64;
3523 # Check whether --enable-tests was given.
3524 if test "${enable_tests+set}" = set; then :
3525 enableval=$enable_tests;
3528 # Check whether --enable-maintainer-mode was given.
3529 if test "${enable_maintainer_mode+set}" = set; then :
3530 enableval=$enable_maintainer_mode;
3535 # Check whether --with-alsa was given.
3536 if test "${with_alsa+set}" = set; then :
3537 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3541 # Check whether --with-capi was given.
3542 if test "${with_capi+set}" = set; then :
3543 withval=$with_capi;
3547 # Check whether --with-cms was given.
3548 if test "${with_cms+set}" = set; then :
3549 withval=$with_cms;
3553 # Check whether --with-coreaudio was given.
3554 if test "${with_coreaudio+set}" = set; then :
3555 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3559 # Check whether --with-cups was given.
3560 if test "${with_cups+set}" = set; then :
3561 withval=$with_cups;
3565 # Check whether --with-curses was given.
3566 if test "${with_curses+set}" = set; then :
3567 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3571 # Check whether --with-dbus was given.
3572 if test "${with_dbus+set}" = set; then :
3573 withval=$with_dbus;
3577 # Check whether --with-float-abi was given.
3578 if test "${with_float_abi+set}" = set; then :
3579 withval=$with_float_abi;
3583 # Check whether --with-fontconfig was given.
3584 if test "${with_fontconfig+set}" = set; then :
3585 withval=$with_fontconfig;
3589 # Check whether --with-freetype was given.
3590 if test "${with_freetype+set}" = set; then :
3591 withval=$with_freetype;
3595 # Check whether --with-gettext was given.
3596 if test "${with_gettext+set}" = set; then :
3597 withval=$with_gettext;
3601 # Check whether --with-gettextpo was given.
3602 if test "${with_gettextpo+set}" = set; then :
3603 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3607 # Check whether --with-gphoto was given.
3608 if test "${with_gphoto+set}" = set; then :
3609 withval=$with_gphoto;
3613 # Check whether --with-glu was given.
3614 if test "${with_glu+set}" = set; then :
3615 withval=$with_glu;
3619 # Check whether --with-gnutls was given.
3620 if test "${with_gnutls+set}" = set; then :
3621 withval=$with_gnutls;
3625 # Check whether --with-gsm was given.
3626 if test "${with_gsm+set}" = set; then :
3627 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3631 # Check whether --with-gssapi was given.
3632 if test "${with_gssapi+set}" = set; then :
3633 withval=$with_gssapi;
3637 # Check whether --with-gstreamer was given.
3638 if test "${with_gstreamer+set}" = set; then :
3639 withval=$with_gstreamer;
3643 # Check whether --with-hal was given.
3644 if test "${with_hal+set}" = set; then :
3645 withval=$with_hal;
3649 # Check whether --with-jpeg was given.
3650 if test "${with_jpeg+set}" = set; then :
3651 withval=$with_jpeg;
3655 # Check whether --with-krb5 was given.
3656 if test "${with_krb5+set}" = set; then :
3657 withval=$with_krb5;
3661 # Check whether --with-ldap was given.
3662 if test "${with_ldap+set}" = set; then :
3663 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3667 # Check whether --with-mpg123 was given.
3668 if test "${with_mpg123+set}" = set; then :
3669 withval=$with_mpg123;
3673 # Check whether --with-netapi was given.
3674 if test "${with_netapi+set}" = set; then :
3675 withval=$with_netapi;
3679 # Check whether --with-openal was given.
3680 if test "${with_openal+set}" = set; then :
3681 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3685 # Check whether --with-opencl was given.
3686 if test "${with_opencl+set}" = set; then :
3687 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3691 # Check whether --with-opengl was given.
3692 if test "${with_opengl+set}" = set; then :
3693 withval=$with_opengl;
3697 # Check whether --with-osmesa was given.
3698 if test "${with_osmesa+set}" = set; then :
3699 withval=$with_osmesa;
3703 # Check whether --with-oss was given.
3704 if test "${with_oss+set}" = set; then :
3705 withval=$with_oss;
3709 # Check whether --with-pcap was given.
3710 if test "${with_pcap+set}" = set; then :
3711 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3715 # Check whether --with-png was given.
3716 if test "${with_png+set}" = set; then :
3717 withval=$with_png;
3721 # Check whether --with-pthread was given.
3722 if test "${with_pthread+set}" = set; then :
3723 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3727 # Check whether --with-pulse was given.
3728 if test "${with_pulse+set}" = set; then :
3729 withval=$with_pulse;
3733 # Check whether --with-sane was given.
3734 if test "${with_sane+set}" = set; then :
3735 withval=$with_sane;
3739 # Check whether --with-sdl was given.
3740 if test "${with_sdl+set}" = set; then :
3741 withval=$with_sdl;
3745 # Check whether --with-tiff was given.
3746 if test "${with_tiff+set}" = set; then :
3747 withval=$with_tiff;
3751 # Check whether --with-udev was given.
3752 if test "${with_udev+set}" = set; then :
3753 withval=$with_udev;
3757 # Check whether --with-v4l was given.
3758 if test "${with_v4l+set}" = set; then :
3759 withval=$with_v4l;
3763 # Check whether --with-vulkan was given.
3764 if test "${with_vulkan+set}" = set; then :
3765 withval=$with_vulkan;
3769 # Check whether --with-xcomposite was given.
3770 if test "${with_xcomposite+set}" = set; then :
3771 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3775 # Check whether --with-xcursor was given.
3776 if test "${with_xcursor+set}" = set; then :
3777 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3781 # Check whether --with-xfixes was given.
3782 if test "${with_xfixes+set}" = set; then :
3783 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3787 # Check whether --with-xinerama was given.
3788 if test "${with_xinerama+set}" = set; then :
3789 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3793 # Check whether --with-xinput was given.
3794 if test "${with_xinput+set}" = set; then :
3795 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3799 # Check whether --with-xinput2 was given.
3800 if test "${with_xinput2+set}" = set; then :
3801 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3805 # Check whether --with-xml was given.
3806 if test "${with_xml+set}" = set; then :
3807 withval=$with_xml;
3811 # Check whether --with-xrandr was given.
3812 if test "${with_xrandr+set}" = set; then :
3813 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3817 # Check whether --with-xrender was given.
3818 if test "${with_xrender+set}" = set; then :
3819 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3823 # Check whether --with-xshape was given.
3824 if test "${with_xshape+set}" = set; then :
3825 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3829 # Check whether --with-xshm was given.
3830 if test "${with_xshm+set}" = set; then :
3831 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3835 # Check whether --with-xslt was given.
3836 if test "${with_xslt+set}" = set; then :
3837 withval=$with_xslt;
3841 # Check whether --with-xxf86vm was given.
3842 if test "${with_xxf86vm+set}" = set; then :
3843 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
3847 # Check whether --with-zlib was given.
3848 if test "${with_zlib+set}" = set; then :
3849 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3854 # Check whether --with-wine-tools was given.
3855 if test "${with_wine_tools+set}" = set; then :
3856 withval=$with_wine_tools;
3860 # Check whether --with-wine64 was given.
3861 if test "${with_wine64+set}" = set; then :
3862 withval=$with_wine64;
3866 # Make sure we can run config.sub.
3867 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3868 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3871 $as_echo_n "checking build system type... " >&6; }
3872 if ${ac_cv_build+:} false; then :
3873 $as_echo_n "(cached) " >&6
3874 else
3875 ac_build_alias=$build_alias
3876 test "x$ac_build_alias" = x &&
3877 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3878 test "x$ac_build_alias" = x &&
3879 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3880 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3881 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3885 $as_echo "$ac_cv_build" >&6; }
3886 case $ac_cv_build in
3887 *-*-*) ;;
3888 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3889 esac
3890 build=$ac_cv_build
3891 ac_save_IFS=$IFS; IFS='-'
3892 set x $ac_cv_build
3893 shift
3894 build_cpu=$1
3895 build_vendor=$2
3896 shift; shift
3897 # Remember, the first character of IFS is used to create $*,
3898 # except with old shells:
3899 build_os=$*
3900 IFS=$ac_save_IFS
3901 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3905 $as_echo_n "checking host system type... " >&6; }
3906 if ${ac_cv_host+:} false; then :
3907 $as_echo_n "(cached) " >&6
3908 else
3909 if test "x$host_alias" = x; then
3910 ac_cv_host=$ac_cv_build
3911 else
3912 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3913 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3918 $as_echo "$ac_cv_host" >&6; }
3919 case $ac_cv_host in
3920 *-*-*) ;;
3921 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3922 esac
3923 host=$ac_cv_host
3924 ac_save_IFS=$IFS; IFS='-'
3925 set x $ac_cv_host
3926 shift
3927 host_cpu=$1
3928 host_vendor=$2
3929 shift; shift
3930 # Remember, the first character of IFS is used to create $*,
3931 # except with old shells:
3932 host_os=$*
3933 IFS=$ac_save_IFS
3934 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3938 case "$srcdir" in
3939 .) ;;
3940 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3941 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3942 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3943 fi ;;
3944 esac
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3948 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3949 set x ${MAKE-make}
3950 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3951 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3952 $as_echo_n "(cached) " >&6
3953 else
3954 cat >conftest.make <<\_ACEOF
3955 SHELL = /bin/sh
3956 all:
3957 @echo '@@@%%%=$(MAKE)=@@@%%%'
3958 _ACEOF
3959 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3960 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3961 *@@@%%%=?*=@@@%%%*)
3962 eval ac_cv_prog_make_${ac_make}_set=yes;;
3964 eval ac_cv_prog_make_${ac_make}_set=no;;
3965 esac
3966 rm -f conftest.make
3968 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3970 $as_echo "yes" >&6; }
3971 SET_MAKE=
3972 else
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3974 $as_echo "no" >&6; }
3975 SET_MAKE="MAKE=${MAKE-make}"
3978 ac_ext=c
3979 ac_cpp='$CPP $CPPFLAGS'
3980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3983 if test -n "$ac_tool_prefix"; then
3984 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3985 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3987 $as_echo_n "checking for $ac_word... " >&6; }
3988 if ${ac_cv_prog_CC+:} false; then :
3989 $as_echo_n "(cached) " >&6
3990 else
3991 if test -n "$CC"; then
3992 ac_cv_prog_CC="$CC" # Let the user override the test.
3993 else
3994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3995 for as_dir in $PATH
3997 IFS=$as_save_IFS
3998 test -z "$as_dir" && as_dir=.
3999 for ac_exec_ext in '' $ac_executable_extensions; do
4000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4001 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4003 break 2
4005 done
4006 done
4007 IFS=$as_save_IFS
4011 CC=$ac_cv_prog_CC
4012 if test -n "$CC"; then
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4014 $as_echo "$CC" >&6; }
4015 else
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4017 $as_echo "no" >&6; }
4022 if test -z "$ac_cv_prog_CC"; then
4023 ac_ct_CC=$CC
4024 # Extract the first word of "gcc", so it can be a program name with args.
4025 set dummy gcc; ac_word=$2
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4027 $as_echo_n "checking for $ac_word... " >&6; }
4028 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4029 $as_echo_n "(cached) " >&6
4030 else
4031 if test -n "$ac_ct_CC"; then
4032 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4033 else
4034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4035 for as_dir in $PATH
4037 IFS=$as_save_IFS
4038 test -z "$as_dir" && as_dir=.
4039 for ac_exec_ext in '' $ac_executable_extensions; do
4040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4041 ac_cv_prog_ac_ct_CC="gcc"
4042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4043 break 2
4045 done
4046 done
4047 IFS=$as_save_IFS
4051 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4052 if test -n "$ac_ct_CC"; then
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4054 $as_echo "$ac_ct_CC" >&6; }
4055 else
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4057 $as_echo "no" >&6; }
4060 if test "x$ac_ct_CC" = x; then
4061 CC=""
4062 else
4063 case $cross_compiling:$ac_tool_warned in
4064 yes:)
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4067 ac_tool_warned=yes ;;
4068 esac
4069 CC=$ac_ct_CC
4071 else
4072 CC="$ac_cv_prog_CC"
4075 if test -z "$CC"; then
4076 if test -n "$ac_tool_prefix"; then
4077 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4078 set dummy ${ac_tool_prefix}cc; ac_word=$2
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4080 $as_echo_n "checking for $ac_word... " >&6; }
4081 if ${ac_cv_prog_CC+:} false; then :
4082 $as_echo_n "(cached) " >&6
4083 else
4084 if test -n "$CC"; then
4085 ac_cv_prog_CC="$CC" # Let the user override the test.
4086 else
4087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4088 for as_dir in $PATH
4090 IFS=$as_save_IFS
4091 test -z "$as_dir" && as_dir=.
4092 for ac_exec_ext in '' $ac_executable_extensions; do
4093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094 ac_cv_prog_CC="${ac_tool_prefix}cc"
4095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4096 break 2
4098 done
4099 done
4100 IFS=$as_save_IFS
4104 CC=$ac_cv_prog_CC
4105 if test -n "$CC"; then
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4107 $as_echo "$CC" >&6; }
4108 else
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4110 $as_echo "no" >&6; }
4116 if test -z "$CC"; then
4117 # Extract the first word of "cc", so it can be a program name with args.
4118 set dummy cc; ac_word=$2
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4120 $as_echo_n "checking for $ac_word... " >&6; }
4121 if ${ac_cv_prog_CC+:} false; then :
4122 $as_echo_n "(cached) " >&6
4123 else
4124 if test -n "$CC"; then
4125 ac_cv_prog_CC="$CC" # Let the user override the test.
4126 else
4127 ac_prog_rejected=no
4128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4129 for as_dir in $PATH
4131 IFS=$as_save_IFS
4132 test -z "$as_dir" && as_dir=.
4133 for ac_exec_ext in '' $ac_executable_extensions; do
4134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4135 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4136 ac_prog_rejected=yes
4137 continue
4139 ac_cv_prog_CC="cc"
4140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4141 break 2
4143 done
4144 done
4145 IFS=$as_save_IFS
4147 if test $ac_prog_rejected = yes; then
4148 # We found a bogon in the path, so make sure we never use it.
4149 set dummy $ac_cv_prog_CC
4150 shift
4151 if test $# != 0; then
4152 # We chose a different compiler from the bogus one.
4153 # However, it has the same basename, so the bogon will be chosen
4154 # first if we set CC to just the basename; use the full file name.
4155 shift
4156 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4161 CC=$ac_cv_prog_CC
4162 if test -n "$CC"; then
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4164 $as_echo "$CC" >&6; }
4165 else
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4167 $as_echo "no" >&6; }
4172 if test -z "$CC"; then
4173 if test -n "$ac_tool_prefix"; then
4174 for ac_prog in cl.exe
4176 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4177 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4179 $as_echo_n "checking for $ac_word... " >&6; }
4180 if ${ac_cv_prog_CC+:} false; then :
4181 $as_echo_n "(cached) " >&6
4182 else
4183 if test -n "$CC"; then
4184 ac_cv_prog_CC="$CC" # Let the user override the test.
4185 else
4186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4187 for as_dir in $PATH
4189 IFS=$as_save_IFS
4190 test -z "$as_dir" && as_dir=.
4191 for ac_exec_ext in '' $ac_executable_extensions; do
4192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4193 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4195 break 2
4197 done
4198 done
4199 IFS=$as_save_IFS
4203 CC=$ac_cv_prog_CC
4204 if test -n "$CC"; then
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4206 $as_echo "$CC" >&6; }
4207 else
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4209 $as_echo "no" >&6; }
4213 test -n "$CC" && break
4214 done
4216 if test -z "$CC"; then
4217 ac_ct_CC=$CC
4218 for ac_prog in cl.exe
4220 # Extract the first word of "$ac_prog", so it can be a program name with args.
4221 set dummy $ac_prog; ac_word=$2
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4223 $as_echo_n "checking for $ac_word... " >&6; }
4224 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4225 $as_echo_n "(cached) " >&6
4226 else
4227 if test -n "$ac_ct_CC"; then
4228 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4229 else
4230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4231 for as_dir in $PATH
4233 IFS=$as_save_IFS
4234 test -z "$as_dir" && as_dir=.
4235 for ac_exec_ext in '' $ac_executable_extensions; do
4236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4237 ac_cv_prog_ac_ct_CC="$ac_prog"
4238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4239 break 2
4241 done
4242 done
4243 IFS=$as_save_IFS
4247 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4248 if test -n "$ac_ct_CC"; then
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4250 $as_echo "$ac_ct_CC" >&6; }
4251 else
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4253 $as_echo "no" >&6; }
4257 test -n "$ac_ct_CC" && break
4258 done
4260 if test "x$ac_ct_CC" = x; then
4261 CC=""
4262 else
4263 case $cross_compiling:$ac_tool_warned in
4264 yes:)
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4266 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4267 ac_tool_warned=yes ;;
4268 esac
4269 CC=$ac_ct_CC
4276 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4278 as_fn_error $? "no acceptable C compiler found in \$PATH
4279 See \`config.log' for more details" "$LINENO" 5; }
4281 # Provide some information about the compiler.
4282 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4283 set X $ac_compile
4284 ac_compiler=$2
4285 for ac_option in --version -v -V -qversion; do
4286 { { ac_try="$ac_compiler $ac_option >&5"
4287 case "(($ac_try" in
4288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4289 *) ac_try_echo=$ac_try;;
4290 esac
4291 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4292 $as_echo "$ac_try_echo"; } >&5
4293 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4294 ac_status=$?
4295 if test -s conftest.err; then
4296 sed '10a\
4297 ... rest of stderr output deleted ...
4298 10q' conftest.err >conftest.er1
4299 cat conftest.er1 >&5
4301 rm -f conftest.er1 conftest.err
4302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4303 test $ac_status = 0; }
4304 done
4306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4307 /* end confdefs.h. */
4310 main ()
4314 return 0;
4316 _ACEOF
4317 ac_clean_files_save=$ac_clean_files
4318 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4319 # Try to create an executable without -o first, disregard a.out.
4320 # It will help us diagnose broken compilers, and finding out an intuition
4321 # of exeext.
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4323 $as_echo_n "checking whether the C compiler works... " >&6; }
4324 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4326 # The possible output files:
4327 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4329 ac_rmfiles=
4330 for ac_file in $ac_files
4332 case $ac_file in
4333 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4334 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4335 esac
4336 done
4337 rm -f $ac_rmfiles
4339 if { { ac_try="$ac_link_default"
4340 case "(($ac_try" in
4341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4342 *) ac_try_echo=$ac_try;;
4343 esac
4344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4345 $as_echo "$ac_try_echo"; } >&5
4346 (eval "$ac_link_default") 2>&5
4347 ac_status=$?
4348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4349 test $ac_status = 0; }; then :
4350 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4351 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4352 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4353 # so that the user can short-circuit this test for compilers unknown to
4354 # Autoconf.
4355 for ac_file in $ac_files ''
4357 test -f "$ac_file" || continue
4358 case $ac_file in
4359 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4361 [ab].out )
4362 # We found the default executable, but exeext='' is most
4363 # certainly right.
4364 break;;
4365 *.* )
4366 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4367 then :; else
4368 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4370 # We set ac_cv_exeext here because the later test for it is not
4371 # safe: cross compilers may not add the suffix if given an `-o'
4372 # argument, so we may need to know it at that point already.
4373 # Even if this section looks crufty: it has the advantage of
4374 # actually working.
4375 break;;
4377 break;;
4378 esac
4379 done
4380 test "$ac_cv_exeext" = no && ac_cv_exeext=
4382 else
4383 ac_file=''
4385 if test -z "$ac_file"; then :
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4387 $as_echo "no" >&6; }
4388 $as_echo "$as_me: failed program was:" >&5
4389 sed 's/^/| /' conftest.$ac_ext >&5
4391 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4393 as_fn_error 77 "C compiler cannot create executables
4394 See \`config.log' for more details" "$LINENO" 5; }
4395 else
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4397 $as_echo "yes" >&6; }
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4400 $as_echo_n "checking for C compiler default output file name... " >&6; }
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4402 $as_echo "$ac_file" >&6; }
4403 ac_exeext=$ac_cv_exeext
4405 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4406 ac_clean_files=$ac_clean_files_save
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4408 $as_echo_n "checking for suffix of executables... " >&6; }
4409 if { { ac_try="$ac_link"
4410 case "(($ac_try" in
4411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4412 *) ac_try_echo=$ac_try;;
4413 esac
4414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4415 $as_echo "$ac_try_echo"; } >&5
4416 (eval "$ac_link") 2>&5
4417 ac_status=$?
4418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4419 test $ac_status = 0; }; then :
4420 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4421 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4422 # work properly (i.e., refer to `conftest.exe'), while it won't with
4423 # `rm'.
4424 for ac_file in conftest.exe conftest conftest.*; do
4425 test -f "$ac_file" || continue
4426 case $ac_file in
4427 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4428 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4429 break;;
4430 * ) break;;
4431 esac
4432 done
4433 else
4434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4436 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4437 See \`config.log' for more details" "$LINENO" 5; }
4439 rm -f conftest conftest$ac_cv_exeext
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4441 $as_echo "$ac_cv_exeext" >&6; }
4443 rm -f conftest.$ac_ext
4444 EXEEXT=$ac_cv_exeext
4445 ac_exeext=$EXEEXT
4446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4447 /* end confdefs.h. */
4448 #include <stdio.h>
4450 main ()
4452 FILE *f = fopen ("conftest.out", "w");
4453 return ferror (f) || fclose (f) != 0;
4456 return 0;
4458 _ACEOF
4459 ac_clean_files="$ac_clean_files conftest.out"
4460 # Check that the compiler produces executables we can run. If not, either
4461 # the compiler is broken, or we cross compile.
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4463 $as_echo_n "checking whether we are cross compiling... " >&6; }
4464 if test "$cross_compiling" != yes; then
4465 { { ac_try="$ac_link"
4466 case "(($ac_try" in
4467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4468 *) ac_try_echo=$ac_try;;
4469 esac
4470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4471 $as_echo "$ac_try_echo"; } >&5
4472 (eval "$ac_link") 2>&5
4473 ac_status=$?
4474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4475 test $ac_status = 0; }
4476 if { ac_try='./conftest$ac_cv_exeext'
4477 { { case "(($ac_try" in
4478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4479 *) ac_try_echo=$ac_try;;
4480 esac
4481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4482 $as_echo "$ac_try_echo"; } >&5
4483 (eval "$ac_try") 2>&5
4484 ac_status=$?
4485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4486 test $ac_status = 0; }; }; then
4487 cross_compiling=no
4488 else
4489 if test "$cross_compiling" = maybe; then
4490 cross_compiling=yes
4491 else
4492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4494 as_fn_error $? "cannot run C compiled programs.
4495 If you meant to cross compile, use \`--host'.
4496 See \`config.log' for more details" "$LINENO" 5; }
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4501 $as_echo "$cross_compiling" >&6; }
4503 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4504 ac_clean_files=$ac_clean_files_save
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4506 $as_echo_n "checking for suffix of object files... " >&6; }
4507 if ${ac_cv_objext+:} false; then :
4508 $as_echo_n "(cached) " >&6
4509 else
4510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4511 /* end confdefs.h. */
4514 main ()
4518 return 0;
4520 _ACEOF
4521 rm -f conftest.o conftest.obj
4522 if { { ac_try="$ac_compile"
4523 case "(($ac_try" in
4524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4525 *) ac_try_echo=$ac_try;;
4526 esac
4527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4528 $as_echo "$ac_try_echo"; } >&5
4529 (eval "$ac_compile") 2>&5
4530 ac_status=$?
4531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4532 test $ac_status = 0; }; then :
4533 for ac_file in conftest.o conftest.obj conftest.*; do
4534 test -f "$ac_file" || continue;
4535 case $ac_file in
4536 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4537 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4538 break;;
4539 esac
4540 done
4541 else
4542 $as_echo "$as_me: failed program was:" >&5
4543 sed 's/^/| /' conftest.$ac_ext >&5
4545 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4547 as_fn_error $? "cannot compute suffix of object files: cannot compile
4548 See \`config.log' for more details" "$LINENO" 5; }
4550 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4553 $as_echo "$ac_cv_objext" >&6; }
4554 OBJEXT=$ac_cv_objext
4555 ac_objext=$OBJEXT
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4557 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4558 if ${ac_cv_c_compiler_gnu+:} false; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4565 main ()
4567 #ifndef __GNUC__
4568 choke me
4569 #endif
4572 return 0;
4574 _ACEOF
4575 if ac_fn_c_try_compile "$LINENO"; then :
4576 ac_compiler_gnu=yes
4577 else
4578 ac_compiler_gnu=no
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4585 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4586 if test $ac_compiler_gnu = yes; then
4587 GCC=yes
4588 else
4589 GCC=
4591 ac_test_CFLAGS=${CFLAGS+set}
4592 ac_save_CFLAGS=$CFLAGS
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4594 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4595 if ${ac_cv_prog_cc_g+:} false; then :
4596 $as_echo_n "(cached) " >&6
4597 else
4598 ac_save_c_werror_flag=$ac_c_werror_flag
4599 ac_c_werror_flag=yes
4600 ac_cv_prog_cc_g=no
4601 CFLAGS="-g"
4602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4606 main ()
4610 return 0;
4612 _ACEOF
4613 if ac_fn_c_try_compile "$LINENO"; then :
4614 ac_cv_prog_cc_g=yes
4615 else
4616 CFLAGS=""
4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4621 main ()
4625 return 0;
4627 _ACEOF
4628 if ac_fn_c_try_compile "$LINENO"; then :
4630 else
4631 ac_c_werror_flag=$ac_save_c_werror_flag
4632 CFLAGS="-g"
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4637 main ()
4641 return 0;
4643 _ACEOF
4644 if ac_fn_c_try_compile "$LINENO"; then :
4645 ac_cv_prog_cc_g=yes
4647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 ac_c_werror_flag=$ac_save_c_werror_flag
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4655 $as_echo "$ac_cv_prog_cc_g" >&6; }
4656 if test "$ac_test_CFLAGS" = set; then
4657 CFLAGS=$ac_save_CFLAGS
4658 elif test $ac_cv_prog_cc_g = yes; then
4659 if test "$GCC" = yes; then
4660 CFLAGS="-g -O2"
4661 else
4662 CFLAGS="-g"
4664 else
4665 if test "$GCC" = yes; then
4666 CFLAGS="-O2"
4667 else
4668 CFLAGS=
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4672 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4673 if ${ac_cv_prog_cc_c89+:} false; then :
4674 $as_echo_n "(cached) " >&6
4675 else
4676 ac_cv_prog_cc_c89=no
4677 ac_save_CC=$CC
4678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4679 /* end confdefs.h. */
4680 #include <stdarg.h>
4681 #include <stdio.h>
4682 struct stat;
4683 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4684 struct buf { int x; };
4685 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4686 static char *e (p, i)
4687 char **p;
4688 int i;
4690 return p[i];
4692 static char *f (char * (*g) (char **, int), char **p, ...)
4694 char *s;
4695 va_list v;
4696 va_start (v,p);
4697 s = g (p, va_arg (v,int));
4698 va_end (v);
4699 return s;
4702 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4703 function prototypes and stuff, but not '\xHH' hex character constants.
4704 These don't provoke an error unfortunately, instead are silently treated
4705 as 'x'. The following induces an error, until -std is added to get
4706 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4707 array size at least. It's necessary to write '\x00'==0 to get something
4708 that's true only with -std. */
4709 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4711 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4712 inside strings and character constants. */
4713 #define FOO(x) 'x'
4714 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4716 int test (int i, double x);
4717 struct s1 {int (*f) (int a);};
4718 struct s2 {int (*f) (double a);};
4719 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4720 int argc;
4721 char **argv;
4723 main ()
4725 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4727 return 0;
4729 _ACEOF
4730 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4731 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4733 CC="$ac_save_CC $ac_arg"
4734 if ac_fn_c_try_compile "$LINENO"; then :
4735 ac_cv_prog_cc_c89=$ac_arg
4737 rm -f core conftest.err conftest.$ac_objext
4738 test "x$ac_cv_prog_cc_c89" != "xno" && break
4739 done
4740 rm -f conftest.$ac_ext
4741 CC=$ac_save_CC
4744 # AC_CACHE_VAL
4745 case "x$ac_cv_prog_cc_c89" in
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4748 $as_echo "none needed" >&6; } ;;
4749 xno)
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4751 $as_echo "unsupported" >&6; } ;;
4753 CC="$CC $ac_cv_prog_cc_c89"
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4755 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4756 esac
4757 if test "x$ac_cv_prog_cc_c89" != xno; then :
4761 ac_ext=c
4762 ac_cpp='$CPP $CPPFLAGS'
4763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4767 ac_ext=cpp
4768 ac_cpp='$CXXCPP $CPPFLAGS'
4769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4772 if test -z "$CXX"; then
4773 if test -n "$CCC"; then
4774 CXX=$CCC
4775 else
4776 if test -n "$ac_tool_prefix"; then
4777 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4779 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4780 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4782 $as_echo_n "checking for $ac_word... " >&6; }
4783 if ${ac_cv_prog_CXX+:} false; then :
4784 $as_echo_n "(cached) " >&6
4785 else
4786 if test -n "$CXX"; then
4787 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4788 else
4789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4790 for as_dir in $PATH
4792 IFS=$as_save_IFS
4793 test -z "$as_dir" && as_dir=.
4794 for ac_exec_ext in '' $ac_executable_extensions; do
4795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4796 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4798 break 2
4800 done
4801 done
4802 IFS=$as_save_IFS
4806 CXX=$ac_cv_prog_CXX
4807 if test -n "$CXX"; then
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4809 $as_echo "$CXX" >&6; }
4810 else
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4812 $as_echo "no" >&6; }
4816 test -n "$CXX" && break
4817 done
4819 if test -z "$CXX"; then
4820 ac_ct_CXX=$CXX
4821 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4823 # Extract the first word of "$ac_prog", so it can be a program name with args.
4824 set dummy $ac_prog; ac_word=$2
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4826 $as_echo_n "checking for $ac_word... " >&6; }
4827 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4828 $as_echo_n "(cached) " >&6
4829 else
4830 if test -n "$ac_ct_CXX"; then
4831 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4832 else
4833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4834 for as_dir in $PATH
4836 IFS=$as_save_IFS
4837 test -z "$as_dir" && as_dir=.
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4840 ac_cv_prog_ac_ct_CXX="$ac_prog"
4841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4842 break 2
4844 done
4845 done
4846 IFS=$as_save_IFS
4850 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4851 if test -n "$ac_ct_CXX"; then
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4853 $as_echo "$ac_ct_CXX" >&6; }
4854 else
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 $as_echo "no" >&6; }
4860 test -n "$ac_ct_CXX" && break
4861 done
4863 if test "x$ac_ct_CXX" = x; then
4864 CXX="g++"
4865 else
4866 case $cross_compiling:$ac_tool_warned in
4867 yes:)
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4870 ac_tool_warned=yes ;;
4871 esac
4872 CXX=$ac_ct_CXX
4878 # Provide some information about the compiler.
4879 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4880 set X $ac_compile
4881 ac_compiler=$2
4882 for ac_option in --version -v -V -qversion; do
4883 { { ac_try="$ac_compiler $ac_option >&5"
4884 case "(($ac_try" in
4885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4886 *) ac_try_echo=$ac_try;;
4887 esac
4888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4889 $as_echo "$ac_try_echo"; } >&5
4890 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4891 ac_status=$?
4892 if test -s conftest.err; then
4893 sed '10a\
4894 ... rest of stderr output deleted ...
4895 10q' conftest.err >conftest.er1
4896 cat conftest.er1 >&5
4898 rm -f conftest.er1 conftest.err
4899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4900 test $ac_status = 0; }
4901 done
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4904 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4905 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4906 $as_echo_n "(cached) " >&6
4907 else
4908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4909 /* end confdefs.h. */
4912 main ()
4914 #ifndef __GNUC__
4915 choke me
4916 #endif
4919 return 0;
4921 _ACEOF
4922 if ac_fn_cxx_try_compile "$LINENO"; then :
4923 ac_compiler_gnu=yes
4924 else
4925 ac_compiler_gnu=no
4927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4928 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4932 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4933 if test $ac_compiler_gnu = yes; then
4934 GXX=yes
4935 else
4936 GXX=
4938 ac_test_CXXFLAGS=${CXXFLAGS+set}
4939 ac_save_CXXFLAGS=$CXXFLAGS
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4941 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4942 if ${ac_cv_prog_cxx_g+:} false; then :
4943 $as_echo_n "(cached) " >&6
4944 else
4945 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4946 ac_cxx_werror_flag=yes
4947 ac_cv_prog_cxx_g=no
4948 CXXFLAGS="-g"
4949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h. */
4953 main ()
4957 return 0;
4959 _ACEOF
4960 if ac_fn_cxx_try_compile "$LINENO"; then :
4961 ac_cv_prog_cxx_g=yes
4962 else
4963 CXXFLAGS=""
4964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4965 /* end confdefs.h. */
4968 main ()
4972 return 0;
4974 _ACEOF
4975 if ac_fn_cxx_try_compile "$LINENO"; then :
4977 else
4978 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4979 CXXFLAGS="-g"
4980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4981 /* end confdefs.h. */
4984 main ()
4988 return 0;
4990 _ACEOF
4991 if ac_fn_cxx_try_compile "$LINENO"; then :
4992 ac_cv_prog_cxx_g=yes
4994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4999 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5002 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5003 if test "$ac_test_CXXFLAGS" = set; then
5004 CXXFLAGS=$ac_save_CXXFLAGS
5005 elif test $ac_cv_prog_cxx_g = yes; then
5006 if test "$GXX" = yes; then
5007 CXXFLAGS="-g -O2"
5008 else
5009 CXXFLAGS="-g"
5011 else
5012 if test "$GXX" = yes; then
5013 CXXFLAGS="-O2"
5014 else
5015 CXXFLAGS=
5018 ac_ext=c
5019 ac_cpp='$CPP $CPPFLAGS'
5020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5024 if test -n "$ac_tool_prefix"; then
5025 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5026 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 $as_echo_n "checking for $ac_word... " >&6; }
5029 if ${ac_cv_prog_CPPBIN+:} false; then :
5030 $as_echo_n "(cached) " >&6
5031 else
5032 if test -n "$CPPBIN"; then
5033 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5034 else
5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036 for as_dir in $PATH
5038 IFS=$as_save_IFS
5039 test -z "$as_dir" && as_dir=.
5040 for ac_exec_ext in '' $ac_executable_extensions; do
5041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5042 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 break 2
5046 done
5047 done
5048 IFS=$as_save_IFS
5052 CPPBIN=$ac_cv_prog_CPPBIN
5053 if test -n "$CPPBIN"; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5055 $as_echo "$CPPBIN" >&6; }
5056 else
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5063 if test -z "$ac_cv_prog_CPPBIN"; then
5064 ac_ct_CPPBIN=$CPPBIN
5065 # Extract the first word of "cpp", so it can be a program name with args.
5066 set dummy cpp; ac_word=$2
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5068 $as_echo_n "checking for $ac_word... " >&6; }
5069 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5070 $as_echo_n "(cached) " >&6
5071 else
5072 if test -n "$ac_ct_CPPBIN"; then
5073 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5074 else
5075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076 for as_dir in $PATH
5078 IFS=$as_save_IFS
5079 test -z "$as_dir" && as_dir=.
5080 for ac_exec_ext in '' $ac_executable_extensions; do
5081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5082 ac_cv_prog_ac_ct_CPPBIN="cpp"
5083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5084 break 2
5086 done
5087 done
5088 IFS=$as_save_IFS
5092 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5093 if test -n "$ac_ct_CPPBIN"; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5095 $as_echo "$ac_ct_CPPBIN" >&6; }
5096 else
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098 $as_echo "no" >&6; }
5101 if test "x$ac_ct_CPPBIN" = x; then
5102 CPPBIN="cpp"
5103 else
5104 case $cross_compiling:$ac_tool_warned in
5105 yes:)
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5108 ac_tool_warned=yes ;;
5109 esac
5110 CPPBIN=$ac_ct_CPPBIN
5112 else
5113 CPPBIN="$ac_cv_prog_CPPBIN"
5117 cat >>confdefs.h <<_ACEOF
5118 #define EXEEXT "$ac_exeext"
5119 _ACEOF
5121 if test -n "$ac_tool_prefix"; then
5122 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5123 set dummy ${ac_tool_prefix}ld; ac_word=$2
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5125 $as_echo_n "checking for $ac_word... " >&6; }
5126 if ${ac_cv_prog_LD+:} false; then :
5127 $as_echo_n "(cached) " >&6
5128 else
5129 if test -n "$LD"; then
5130 ac_cv_prog_LD="$LD" # Let the user override the test.
5131 else
5132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5133 for as_dir in $PATH
5135 IFS=$as_save_IFS
5136 test -z "$as_dir" && as_dir=.
5137 for ac_exec_ext in '' $ac_executable_extensions; do
5138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5139 ac_cv_prog_LD="${ac_tool_prefix}ld"
5140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5141 break 2
5143 done
5144 done
5145 IFS=$as_save_IFS
5149 LD=$ac_cv_prog_LD
5150 if test -n "$LD"; then
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5152 $as_echo "$LD" >&6; }
5153 else
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5155 $as_echo "no" >&6; }
5160 if test -z "$ac_cv_prog_LD"; then
5161 ac_ct_LD=$LD
5162 # Extract the first word of "ld", so it can be a program name with args.
5163 set dummy ld; ac_word=$2
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5165 $as_echo_n "checking for $ac_word... " >&6; }
5166 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5167 $as_echo_n "(cached) " >&6
5168 else
5169 if test -n "$ac_ct_LD"; then
5170 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5171 else
5172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173 for as_dir in $PATH
5175 IFS=$as_save_IFS
5176 test -z "$as_dir" && as_dir=.
5177 for ac_exec_ext in '' $ac_executable_extensions; do
5178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5179 ac_cv_prog_ac_ct_LD="ld"
5180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5181 break 2
5183 done
5184 done
5185 IFS=$as_save_IFS
5189 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5190 if test -n "$ac_ct_LD"; then
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5192 $as_echo "$ac_ct_LD" >&6; }
5193 else
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5195 $as_echo "no" >&6; }
5198 if test "x$ac_ct_LD" = x; then
5199 LD=""
5200 else
5201 case $cross_compiling:$ac_tool_warned in
5202 yes:)
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5205 ac_tool_warned=yes ;;
5206 esac
5207 LD=$ac_ct_LD
5209 else
5210 LD="$ac_cv_prog_LD"
5214 case $host in
5215 *-darwin*)
5216 with_fontconfig=${with_fontconfig:-no}
5218 *-mingw32*|*-cygwin*)
5219 enable_win16=${enable_win16:-no}
5220 CFLAGS="$CFLAGS -D_WIN32"
5222 esac
5224 case $host in
5225 x86_64*|amd64*)
5226 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5227 then
5228 CC="$CC -m32"
5229 CXX="$CXX -m32"
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5231 $as_echo_n "checking whether $CC works... " >&6; }
5233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5234 /* end confdefs.h. */
5237 main ()
5241 return 0;
5243 _ACEOF
5244 if ac_fn_c_try_link "$LINENO"; then :
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5246 $as_echo "yes" >&6; }
5247 else
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 $as_echo "no" >&6; }
5250 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5252 rm -f core conftest.err conftest.$ac_objext \
5253 conftest$ac_exeext conftest.$ac_ext
5254 host_cpu="i386"
5255 notice_platform="32-bit "
5256 TARGETFLAGS="-m32"
5258 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5259 export PKG_CONFIG_PATH
5260 enable_win16=${enable_win16:-yes}
5261 else
5262 if test "x${GCC}" = "xyes"
5263 then
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5265 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5267 /* end confdefs.h. */
5268 #include <stdarg.h>
5270 main ()
5272 void func(__builtin_ms_va_list *args);
5274 return 0;
5276 _ACEOF
5277 if ac_fn_c_try_compile "$LINENO"; then :
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5279 $as_echo "yes" >&6; }
5280 else
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282 $as_echo "no" >&6; }
5283 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5287 CC="$CC -m64"
5288 CXX="$CXX -m64"
5289 host_cpu="x86_64"
5290 notice_platform="64-bit "
5291 TARGETFLAGS="-m64"
5295 arm*)
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5297 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5299 /* end confdefs.h. */
5300 int ac_test(int i) { return i; }
5302 main ()
5304 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5306 return 0;
5308 _ACEOF
5309 if ac_fn_c_try_link "$LINENO"; then :
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5311 $as_echo "yes" >&6; }
5312 else
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5314 $as_echo "no" >&6; }
5315 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5317 rm -f core conftest.err conftest.$ac_objext \
5318 conftest$ac_exeext conftest.$ac_ext
5319 case $with_float_abi in
5320 soft|softfp|hard)
5321 float_abi=$with_float_abi ;;
5323 case $host_os in
5324 *eabihf)
5325 float_abi=hard ;;
5327 float_abi=softfp
5328 saved_CFLAGS=$CFLAGS
5329 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5331 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5333 /* end confdefs.h. */
5336 main ()
5338 asm("vmrs r2,fpscr");
5340 return 0;
5342 _ACEOF
5343 if ac_fn_c_try_link "$LINENO"; then :
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5345 $as_echo "yes" >&6; }
5346 else
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5348 $as_echo "no" >&6; }
5349 float_abi=soft
5350 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5352 rm -f core conftest.err conftest.$ac_objext \
5353 conftest$ac_exeext conftest.$ac_ext
5354 CFLAGS=$saved_CFLAGS
5355 esac
5357 esac
5358 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5359 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5362 i[3456789]86*)
5363 enable_win16=${enable_win16:-yes}
5365 esac
5367 enable_win16=${enable_win16:-no}
5368 enable_win64=${enable_win64:-no}
5370 enable_winetest=${enable_winetest:-$enable_tests}
5372 if test -n "$with_wine64"
5373 then
5374 if test "x$enable_win64" = "xyes"
5375 then
5376 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5377 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5379 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5380 You should create a separate build directory and run configure from there." "$LINENO" 5
5381 enable_fonts=${enable_fonts:-no}
5382 enable_server=${enable_server:-no}
5383 wine64_disable=\#
5385 elif test "x$enable_win64" = "xyes"
5386 then
5387 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5391 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5392 if ${wine_cv_toolsdir+:} false; then :
5393 $as_echo_n "(cached) " >&6
5394 else
5395 wine_cv_toolsdir="$with_wine_tools"
5396 if test -z "$with_wine_tools"; then
5397 if test "$cross_compiling" = "yes"; then
5398 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5399 elif test -n "$with_wine64"; then
5400 wine_cv_toolsdir="$with_wine64"
5403 if test -z "$wine_cv_toolsdir"; then
5404 wine_makedep=tools/makedep
5405 wine_cv_toolsdir="\$(top_builddir)"
5406 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5407 wine_makedep=$wine_cv_toolsdir/tools/makedep
5408 case "$wine_cv_toolsdir" in
5409 /*) ;;
5410 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5411 esac
5412 enable_tools=${enable_tools:-no}
5413 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5414 else
5415 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5419 $as_echo "$wine_cv_toolsdir" >&6; }
5420 TOOLSDIR=$wine_cv_toolsdir
5422 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5423 then
5424 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5428 for ac_prog in flex
5430 # Extract the first word of "$ac_prog", so it can be a program name with args.
5431 set dummy $ac_prog; ac_word=$2
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5433 $as_echo_n "checking for $ac_word... " >&6; }
5434 if ${ac_cv_prog_FLEX+:} false; then :
5435 $as_echo_n "(cached) " >&6
5436 else
5437 if test -n "$FLEX"; then
5438 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5439 else
5440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5441 for as_dir in $PATH
5443 IFS=$as_save_IFS
5444 test -z "$as_dir" && as_dir=.
5445 for ac_exec_ext in '' $ac_executable_extensions; do
5446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5447 ac_cv_prog_FLEX="$ac_prog"
5448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5449 break 2
5451 done
5452 done
5453 IFS=$as_save_IFS
5457 FLEX=$ac_cv_prog_FLEX
5458 if test -n "$FLEX"; then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5460 $as_echo "$FLEX" >&6; }
5461 else
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5463 $as_echo "no" >&6; }
5467 test -n "$FLEX" && break
5468 done
5469 test -n "$FLEX" || FLEX="none"
5471 if test "$FLEX" = "none"
5472 then
5473 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5476 $as_echo_n "checking whether flex is recent enough... " >&6; }
5477 cat >conftest.l <<EOF
5478 %top{
5479 #include "prediluvian.h"
5483 if $FLEX -t conftest.l >/dev/null 2>&5
5484 then
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5486 $as_echo "yes" >&6; }
5487 else
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5489 $as_echo "no" >&6; }
5490 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5493 for ac_prog in bison
5495 # Extract the first word of "$ac_prog", so it can be a program name with args.
5496 set dummy $ac_prog; ac_word=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5498 $as_echo_n "checking for $ac_word... " >&6; }
5499 if ${ac_cv_prog_BISON+:} false; then :
5500 $as_echo_n "(cached) " >&6
5501 else
5502 if test -n "$BISON"; then
5503 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5504 else
5505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 for as_dir in $PATH
5508 IFS=$as_save_IFS
5509 test -z "$as_dir" && as_dir=.
5510 for ac_exec_ext in '' $ac_executable_extensions; do
5511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5512 ac_cv_prog_BISON="$ac_prog"
5513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 break 2
5516 done
5517 done
5518 IFS=$as_save_IFS
5522 BISON=$ac_cv_prog_BISON
5523 if test -n "$BISON"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5525 $as_echo "$BISON" >&6; }
5526 else
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }
5532 test -n "$BISON" && break
5533 done
5534 test -n "$BISON" || BISON="none"
5536 if test "$BISON" = "none"
5537 then
5538 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5541 if test -n "$ac_tool_prefix"; then
5542 for ac_prog in ar gar
5544 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5545 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547 $as_echo_n "checking for $ac_word... " >&6; }
5548 if ${ac_cv_prog_AR+:} false; then :
5549 $as_echo_n "(cached) " >&6
5550 else
5551 if test -n "$AR"; then
5552 ac_cv_prog_AR="$AR" # Let the user override the test.
5553 else
5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5555 for as_dir in $PATH
5557 IFS=$as_save_IFS
5558 test -z "$as_dir" && as_dir=.
5559 for ac_exec_ext in '' $ac_executable_extensions; do
5560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5561 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5563 break 2
5565 done
5566 done
5567 IFS=$as_save_IFS
5571 AR=$ac_cv_prog_AR
5572 if test -n "$AR"; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5574 $as_echo "$AR" >&6; }
5575 else
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5577 $as_echo "no" >&6; }
5581 test -n "$AR" && break
5582 done
5584 if test -z "$AR"; then
5585 ac_ct_AR=$AR
5586 for ac_prog in ar gar
5588 # Extract the first word of "$ac_prog", so it can be a program name with args.
5589 set dummy $ac_prog; ac_word=$2
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5591 $as_echo_n "checking for $ac_word... " >&6; }
5592 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5593 $as_echo_n "(cached) " >&6
5594 else
5595 if test -n "$ac_ct_AR"; then
5596 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5597 else
5598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5599 for as_dir in $PATH
5601 IFS=$as_save_IFS
5602 test -z "$as_dir" && as_dir=.
5603 for ac_exec_ext in '' $ac_executable_extensions; do
5604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5605 ac_cv_prog_ac_ct_AR="$ac_prog"
5606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5607 break 2
5609 done
5610 done
5611 IFS=$as_save_IFS
5615 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5616 if test -n "$ac_ct_AR"; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5618 $as_echo "$ac_ct_AR" >&6; }
5619 else
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621 $as_echo "no" >&6; }
5625 test -n "$ac_ct_AR" && break
5626 done
5628 if test "x$ac_ct_AR" = x; then
5629 AR="ar"
5630 else
5631 case $cross_compiling:$ac_tool_warned in
5632 yes:)
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5635 ac_tool_warned=yes ;;
5636 esac
5637 AR=$ac_ct_AR
5641 if test -n "$ac_tool_prefix"; then
5642 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5643 set dummy ${ac_tool_prefix}strip; ac_word=$2
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5645 $as_echo_n "checking for $ac_word... " >&6; }
5646 if ${ac_cv_prog_STRIP+:} false; then :
5647 $as_echo_n "(cached) " >&6
5648 else
5649 if test -n "$STRIP"; then
5650 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5651 else
5652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5653 for as_dir in $PATH
5655 IFS=$as_save_IFS
5656 test -z "$as_dir" && as_dir=.
5657 for ac_exec_ext in '' $ac_executable_extensions; do
5658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5659 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 break 2
5663 done
5664 done
5665 IFS=$as_save_IFS
5669 STRIP=$ac_cv_prog_STRIP
5670 if test -n "$STRIP"; then
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5672 $as_echo "$STRIP" >&6; }
5673 else
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5675 $as_echo "no" >&6; }
5680 if test -z "$ac_cv_prog_STRIP"; then
5681 ac_ct_STRIP=$STRIP
5682 # Extract the first word of "strip", so it can be a program name with args.
5683 set dummy strip; ac_word=$2
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 $as_echo_n "checking for $ac_word... " >&6; }
5686 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5687 $as_echo_n "(cached) " >&6
5688 else
5689 if test -n "$ac_ct_STRIP"; then
5690 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5691 else
5692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5693 for as_dir in $PATH
5695 IFS=$as_save_IFS
5696 test -z "$as_dir" && as_dir=.
5697 for ac_exec_ext in '' $ac_executable_extensions; do
5698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5699 ac_cv_prog_ac_ct_STRIP="strip"
5700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5701 break 2
5703 done
5704 done
5705 IFS=$as_save_IFS
5709 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5710 if test -n "$ac_ct_STRIP"; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5712 $as_echo "$ac_ct_STRIP" >&6; }
5713 else
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5718 if test "x$ac_ct_STRIP" = x; then
5719 STRIP="strip"
5720 else
5721 case $cross_compiling:$ac_tool_warned in
5722 yes:)
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5725 ac_tool_warned=yes ;;
5726 esac
5727 STRIP=$ac_ct_STRIP
5729 else
5730 STRIP="$ac_cv_prog_STRIP"
5733 ARFLAGS=rc
5735 if test -n "$ac_tool_prefix"; then
5736 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5737 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5739 $as_echo_n "checking for $ac_word... " >&6; }
5740 if ${ac_cv_prog_RANLIB+:} false; then :
5741 $as_echo_n "(cached) " >&6
5742 else
5743 if test -n "$RANLIB"; then
5744 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5745 else
5746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5747 for as_dir in $PATH
5749 IFS=$as_save_IFS
5750 test -z "$as_dir" && as_dir=.
5751 for ac_exec_ext in '' $ac_executable_extensions; do
5752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5753 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5755 break 2
5757 done
5758 done
5759 IFS=$as_save_IFS
5763 RANLIB=$ac_cv_prog_RANLIB
5764 if test -n "$RANLIB"; then
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5766 $as_echo "$RANLIB" >&6; }
5767 else
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769 $as_echo "no" >&6; }
5774 if test -z "$ac_cv_prog_RANLIB"; then
5775 ac_ct_RANLIB=$RANLIB
5776 # Extract the first word of "ranlib", so it can be a program name with args.
5777 set dummy ranlib; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 if test -n "$ac_ct_RANLIB"; then
5784 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5789 IFS=$as_save_IFS
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5793 ac_cv_prog_ac_ct_RANLIB="ranlib"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 break 2
5797 done
5798 done
5799 IFS=$as_save_IFS
5803 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5804 if test -n "$ac_ct_RANLIB"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5806 $as_echo "$ac_ct_RANLIB" >&6; }
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5812 if test "x$ac_ct_RANLIB" = x; then
5813 RANLIB=":"
5814 else
5815 case $cross_compiling:$ac_tool_warned in
5816 yes:)
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5819 ac_tool_warned=yes ;;
5820 esac
5821 RANLIB=$ac_ct_RANLIB
5823 else
5824 RANLIB="$ac_cv_prog_RANLIB"
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5828 $as_echo_n "checking whether ln -s works... " >&6; }
5829 LN_S=$as_ln_s
5830 if test "$LN_S" = "ln -s"; then
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5832 $as_echo "yes" >&6; }
5833 else
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5835 $as_echo "no, using $LN_S" >&6; }
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5839 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5840 if ${ac_cv_path_GREP+:} false; then :
5841 $as_echo_n "(cached) " >&6
5842 else
5843 if test -z "$GREP"; then
5844 ac_path_GREP_found=false
5845 # Loop through the user's path and test for each of PROGNAME-LIST
5846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5849 IFS=$as_save_IFS
5850 test -z "$as_dir" && as_dir=.
5851 for ac_prog in grep ggrep; do
5852 for ac_exec_ext in '' $ac_executable_extensions; do
5853 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5854 as_fn_executable_p "$ac_path_GREP" || continue
5855 # Check for GNU ac_path_GREP and select it if it is found.
5856 # Check for GNU $ac_path_GREP
5857 case `"$ac_path_GREP" --version 2>&1` in
5858 *GNU*)
5859 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5861 ac_count=0
5862 $as_echo_n 0123456789 >"conftest.in"
5863 while :
5865 cat "conftest.in" "conftest.in" >"conftest.tmp"
5866 mv "conftest.tmp" "conftest.in"
5867 cp "conftest.in" "conftest.nl"
5868 $as_echo 'GREP' >> "conftest.nl"
5869 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5870 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5871 as_fn_arith $ac_count + 1 && ac_count=$as_val
5872 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5873 # Best one so far, save it but keep looking for a better one
5874 ac_cv_path_GREP="$ac_path_GREP"
5875 ac_path_GREP_max=$ac_count
5877 # 10*(2^10) chars as input seems more than enough
5878 test $ac_count -gt 10 && break
5879 done
5880 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5881 esac
5883 $ac_path_GREP_found && break 3
5884 done
5885 done
5886 done
5887 IFS=$as_save_IFS
5888 if test -z "$ac_cv_path_GREP"; then
5889 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5891 else
5892 ac_cv_path_GREP=$GREP
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5897 $as_echo "$ac_cv_path_GREP" >&6; }
5898 GREP="$ac_cv_path_GREP"
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5902 $as_echo_n "checking for egrep... " >&6; }
5903 if ${ac_cv_path_EGREP+:} false; then :
5904 $as_echo_n "(cached) " >&6
5905 else
5906 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5907 then ac_cv_path_EGREP="$GREP -E"
5908 else
5909 if test -z "$EGREP"; then
5910 ac_path_EGREP_found=false
5911 # Loop through the user's path and test for each of PROGNAME-LIST
5912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5913 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5915 IFS=$as_save_IFS
5916 test -z "$as_dir" && as_dir=.
5917 for ac_prog in egrep; do
5918 for ac_exec_ext in '' $ac_executable_extensions; do
5919 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5920 as_fn_executable_p "$ac_path_EGREP" || continue
5921 # Check for GNU ac_path_EGREP and select it if it is found.
5922 # Check for GNU $ac_path_EGREP
5923 case `"$ac_path_EGREP" --version 2>&1` in
5924 *GNU*)
5925 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5927 ac_count=0
5928 $as_echo_n 0123456789 >"conftest.in"
5929 while :
5931 cat "conftest.in" "conftest.in" >"conftest.tmp"
5932 mv "conftest.tmp" "conftest.in"
5933 cp "conftest.in" "conftest.nl"
5934 $as_echo 'EGREP' >> "conftest.nl"
5935 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5936 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5937 as_fn_arith $ac_count + 1 && ac_count=$as_val
5938 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5939 # Best one so far, save it but keep looking for a better one
5940 ac_cv_path_EGREP="$ac_path_EGREP"
5941 ac_path_EGREP_max=$ac_count
5943 # 10*(2^10) chars as input seems more than enough
5944 test $ac_count -gt 10 && break
5945 done
5946 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5947 esac
5949 $ac_path_EGREP_found && break 3
5950 done
5951 done
5952 done
5953 IFS=$as_save_IFS
5954 if test -z "$ac_cv_path_EGREP"; then
5955 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5957 else
5958 ac_cv_path_EGREP=$EGREP
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5964 $as_echo "$ac_cv_path_EGREP" >&6; }
5965 EGREP="$ac_cv_path_EGREP"
5968 # Extract the first word of "ldconfig", so it can be a program name with args.
5969 set dummy ldconfig; ac_word=$2
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5971 $as_echo_n "checking for $ac_word... " >&6; }
5972 if ${ac_cv_path_LDCONFIG+:} false; then :
5973 $as_echo_n "(cached) " >&6
5974 else
5975 case $LDCONFIG in
5976 [\\/]* | ?:[\\/]*)
5977 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981 for as_dir in /sbin /usr/sbin $PATH
5983 IFS=$as_save_IFS
5984 test -z "$as_dir" && as_dir=.
5985 for ac_exec_ext in '' $ac_executable_extensions; do
5986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5987 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5989 break 2
5991 done
5992 done
5993 IFS=$as_save_IFS
5995 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5997 esac
5999 LDCONFIG=$ac_cv_path_LDCONFIG
6000 if test -n "$LDCONFIG"; then
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6002 $as_echo "$LDCONFIG" >&6; }
6003 else
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6005 $as_echo "no" >&6; }
6009 for ac_prog in msgfmt
6011 # Extract the first word of "$ac_prog", so it can be a program name with args.
6012 set dummy $ac_prog; ac_word=$2
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6014 $as_echo_n "checking for $ac_word... " >&6; }
6015 if ${ac_cv_prog_MSGFMT+:} false; then :
6016 $as_echo_n "(cached) " >&6
6017 else
6018 if test -n "$MSGFMT"; then
6019 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6020 else
6021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6022 for as_dir in $PATH
6024 IFS=$as_save_IFS
6025 test -z "$as_dir" && as_dir=.
6026 for ac_exec_ext in '' $ac_executable_extensions; do
6027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6028 ac_cv_prog_MSGFMT="$ac_prog"
6029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6030 break 2
6032 done
6033 done
6034 IFS=$as_save_IFS
6038 MSGFMT=$ac_cv_prog_MSGFMT
6039 if test -n "$MSGFMT"; then
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6041 $as_echo "$MSGFMT" >&6; }
6042 else
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6044 $as_echo "no" >&6; }
6048 test -n "$MSGFMT" && break
6049 done
6050 test -n "$MSGFMT" || MSGFMT="false"
6052 if ${ac_tool_prefix+:} false; then :
6053 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6054 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056 $as_echo_n "checking for $ac_word... " >&6; }
6057 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6058 $as_echo_n "(cached) " >&6
6059 else
6060 if test -n "$PKG_CONFIG"; then
6061 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6062 else
6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6064 for as_dir in $PATH
6066 IFS=$as_save_IFS
6067 test -z "$as_dir" && as_dir=.
6068 for ac_exec_ext in '' $ac_executable_extensions; do
6069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6070 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6072 break 2
6074 done
6075 done
6076 IFS=$as_save_IFS
6080 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6081 if test -n "$PKG_CONFIG"; then
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6083 $as_echo "$PKG_CONFIG" >&6; }
6084 else
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6086 $as_echo "no" >&6; }
6091 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6092 if test "x$cross_compiling" = xyes; then :
6094 else
6095 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6096 # Extract the first word of "pkg-config", so it can be a program name with args.
6097 set dummy pkg-config; ac_word=$2
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6099 $as_echo_n "checking for $ac_word... " >&6; }
6100 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6101 $as_echo_n "(cached) " >&6
6102 else
6103 if test -n "$PKG_CONFIG"; then
6104 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6105 else
6106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6107 for as_dir in $PATH
6109 IFS=$as_save_IFS
6110 test -z "$as_dir" && as_dir=.
6111 for ac_exec_ext in '' $ac_executable_extensions; do
6112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6113 ac_cv_prog_PKG_CONFIG="pkg-config"
6114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6115 break 2
6117 done
6118 done
6119 IFS=$as_save_IFS
6123 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6124 if test -n "$PKG_CONFIG"; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6126 $as_echo "$PKG_CONFIG" >&6; }
6127 else
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6129 $as_echo "no" >&6; }
6134 else
6135 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6138 if test "x$enable_maintainer_mode" != "xyes"
6139 then
6140 FONTFORGE=""
6141 RSVG=""
6142 CONVERT=""
6143 ICOTOOL=""
6144 else
6145 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6146 for ac_prog in fontforge
6148 # Extract the first word of "$ac_prog", so it can be a program name with args.
6149 set dummy $ac_prog; ac_word=$2
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6151 $as_echo_n "checking for $ac_word... " >&6; }
6152 if ${ac_cv_prog_FONTFORGE+:} false; then :
6153 $as_echo_n "(cached) " >&6
6154 else
6155 if test -n "$FONTFORGE"; then
6156 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6157 else
6158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6159 for as_dir in $PATH
6161 IFS=$as_save_IFS
6162 test -z "$as_dir" && as_dir=.
6163 for ac_exec_ext in '' $ac_executable_extensions; do
6164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6165 ac_cv_prog_FONTFORGE="$ac_prog"
6166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6167 break 2
6169 done
6170 done
6171 IFS=$as_save_IFS
6175 FONTFORGE=$ac_cv_prog_FONTFORGE
6176 if test -n "$FONTFORGE"; then
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6178 $as_echo "$FONTFORGE" >&6; }
6179 else
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181 $as_echo "no" >&6; }
6185 test -n "$FONTFORGE" && break
6186 done
6187 test -n "$FONTFORGE" || FONTFORGE="false"
6189 for ac_prog in rsvg-convert rsvg
6191 # Extract the first word of "$ac_prog", so it can be a program name with args.
6192 set dummy $ac_prog; ac_word=$2
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6194 $as_echo_n "checking for $ac_word... " >&6; }
6195 if ${ac_cv_prog_RSVG+:} false; then :
6196 $as_echo_n "(cached) " >&6
6197 else
6198 if test -n "$RSVG"; then
6199 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6200 else
6201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6202 for as_dir in $PATH
6204 IFS=$as_save_IFS
6205 test -z "$as_dir" && as_dir=.
6206 for ac_exec_ext in '' $ac_executable_extensions; do
6207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6208 ac_cv_prog_RSVG="$ac_prog"
6209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6210 break 2
6212 done
6213 done
6214 IFS=$as_save_IFS
6218 RSVG=$ac_cv_prog_RSVG
6219 if test -n "$RSVG"; then
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6221 $as_echo "$RSVG" >&6; }
6222 else
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6224 $as_echo "no" >&6; }
6228 test -n "$RSVG" && break
6229 done
6230 test -n "$RSVG" || RSVG="false"
6232 for ac_prog in convert
6234 # Extract the first word of "$ac_prog", so it can be a program name with args.
6235 set dummy $ac_prog; ac_word=$2
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6237 $as_echo_n "checking for $ac_word... " >&6; }
6238 if ${ac_cv_prog_CONVERT+:} false; then :
6239 $as_echo_n "(cached) " >&6
6240 else
6241 if test -n "$CONVERT"; then
6242 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6243 else
6244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6245 for as_dir in $PATH
6247 IFS=$as_save_IFS
6248 test -z "$as_dir" && as_dir=.
6249 for ac_exec_ext in '' $ac_executable_extensions; do
6250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6251 ac_cv_prog_CONVERT="$ac_prog"
6252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6253 break 2
6255 done
6256 done
6257 IFS=$as_save_IFS
6261 CONVERT=$ac_cv_prog_CONVERT
6262 if test -n "$CONVERT"; then
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6264 $as_echo "$CONVERT" >&6; }
6265 else
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6267 $as_echo "no" >&6; }
6271 test -n "$CONVERT" && break
6272 done
6273 test -n "$CONVERT" || CONVERT="false"
6275 for ac_prog in icotool
6277 # Extract the first word of "$ac_prog", so it can be a program name with args.
6278 set dummy $ac_prog; ac_word=$2
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6280 $as_echo_n "checking for $ac_word... " >&6; }
6281 if ${ac_cv_prog_ICOTOOL+:} false; then :
6282 $as_echo_n "(cached) " >&6
6283 else
6284 if test -n "$ICOTOOL"; then
6285 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6286 else
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 for as_dir in $PATH
6290 IFS=$as_save_IFS
6291 test -z "$as_dir" && as_dir=.
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6294 ac_cv_prog_ICOTOOL="$ac_prog"
6295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6296 break 2
6298 done
6299 done
6300 IFS=$as_save_IFS
6304 ICOTOOL=$ac_cv_prog_ICOTOOL
6305 if test -n "$ICOTOOL"; then
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6307 $as_echo "$ICOTOOL" >&6; }
6308 else
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6310 $as_echo "no" >&6; }
6314 test -n "$ICOTOOL" && break
6315 done
6316 test -n "$ICOTOOL" || ICOTOOL="false"
6318 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6319 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6321 if test "$CONVERT" = false
6322 then
6323 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6324 else
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6326 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6327 convert_version=`convert --version | head -n1`
6328 if test "x$convert_version" != "x"
6329 then
6330 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6331 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6332 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6333 then
6334 CONVERT=false
6337 if test "$CONVERT" = false
6338 then
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6340 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6341 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6342 else
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6344 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6348 if test "$ICOTOOL" = false
6349 then
6350 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6351 else
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6353 $as_echo_n "checking for recent enough icotool... " >&6; }
6354 icotool_version=`icotool --version | head -n1`
6355 if test "x$icotool_version" != "x"
6356 then
6357 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6358 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6359 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6360 then
6361 ICOTOOL=false
6362 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6365 if test "$ICOTOOL" = false
6366 then
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6368 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6369 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6370 else
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6372 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6376 with_gettext=yes
6377 with_gettextpo=yes
6378 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6381 test "x$with_gettext" != xno || MSGFMT=false
6382 if test "$MSGFMT" != "false"
6383 then
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6385 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6386 cat >conftest.po <<EOF
6387 # comment
6388 msgctxt "ctxt"
6389 msgid "id"
6390 msgstr "str"
6392 if $MSGFMT -o /dev/null conftest.po 2>&5
6393 then
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6395 $as_echo "yes" >&6; }
6396 else
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6398 $as_echo "no" >&6; }
6399 MSGFMT=false
6402 if test "$MSGFMT" = false; then :
6403 case "x$with_gettext" in
6404 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6405 xno) ;;
6406 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6407 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6408 esac
6409 enable_po=${enable_po:-no}
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6414 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6415 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6416 $as_echo_n "(cached) " >&6
6417 else
6418 ac_check_lib_save_LIBS=$LIBS
6419 LIBS="-li386 $LIBS"
6420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6421 /* end confdefs.h. */
6423 /* Override any GCC internal prototype to avoid an error.
6424 Use char because int might match the return type of a GCC
6425 builtin and then its argument prototype would still apply. */
6426 #ifdef __cplusplus
6427 extern "C"
6428 #endif
6429 char i386_set_ldt ();
6431 main ()
6433 return i386_set_ldt ();
6435 return 0;
6437 _ACEOF
6438 if ac_fn_c_try_link "$LINENO"; then :
6439 ac_cv_lib_i386_i386_set_ldt=yes
6440 else
6441 ac_cv_lib_i386_i386_set_ldt=no
6443 rm -f core conftest.err conftest.$ac_objext \
6444 conftest$ac_exeext conftest.$ac_ext
6445 LIBS=$ac_check_lib_save_LIBS
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6448 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6449 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6450 cat >>confdefs.h <<_ACEOF
6451 #define HAVE_LIBI386 1
6452 _ACEOF
6454 LIBS="-li386 $LIBS"
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6459 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6460 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6461 $as_echo_n "(cached) " >&6
6462 else
6463 ac_check_lib_save_LIBS=$LIBS
6464 LIBS="-lossaudio $LIBS"
6465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6466 /* end confdefs.h. */
6468 /* Override any GCC internal prototype to avoid an error.
6469 Use char because int might match the return type of a GCC
6470 builtin and then its argument prototype would still apply. */
6471 #ifdef __cplusplus
6472 extern "C"
6473 #endif
6474 char _oss_ioctl ();
6476 main ()
6478 return _oss_ioctl ();
6480 return 0;
6482 _ACEOF
6483 if ac_fn_c_try_link "$LINENO"; then :
6484 ac_cv_lib_ossaudio__oss_ioctl=yes
6485 else
6486 ac_cv_lib_ossaudio__oss_ioctl=no
6488 rm -f core conftest.err conftest.$ac_objext \
6489 conftest$ac_exeext conftest.$ac_ext
6490 LIBS=$ac_check_lib_save_LIBS
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6493 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6494 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6495 cat >>confdefs.h <<_ACEOF
6496 #define HAVE_LIBOSSAUDIO 1
6497 _ACEOF
6499 LIBS="-lossaudio $LIBS"
6504 OPENGL_LIBS=""
6508 # Check whether --enable-largefile was given.
6509 if test "${enable_largefile+set}" = set; then :
6510 enableval=$enable_largefile;
6513 if test "$enable_largefile" != no; then
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6516 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6517 if ${ac_cv_sys_largefile_CC+:} false; then :
6518 $as_echo_n "(cached) " >&6
6519 else
6520 ac_cv_sys_largefile_CC=no
6521 if test "$GCC" != yes; then
6522 ac_save_CC=$CC
6523 while :; do
6524 # IRIX 6.2 and later do not support large files by default,
6525 # so use the C compiler's -n32 option if that helps.
6526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6527 /* end confdefs.h. */
6528 #include <sys/types.h>
6529 /* Check that off_t can represent 2**63 - 1 correctly.
6530 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6531 since some C++ compilers masquerading as C compilers
6532 incorrectly reject 9223372036854775807. */
6533 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6534 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6535 && LARGE_OFF_T % 2147483647 == 1)
6536 ? 1 : -1];
6538 main ()
6542 return 0;
6544 _ACEOF
6545 if ac_fn_c_try_compile "$LINENO"; then :
6546 break
6548 rm -f core conftest.err conftest.$ac_objext
6549 CC="$CC -n32"
6550 if ac_fn_c_try_compile "$LINENO"; then :
6551 ac_cv_sys_largefile_CC=' -n32'; break
6553 rm -f core conftest.err conftest.$ac_objext
6554 break
6555 done
6556 CC=$ac_save_CC
6557 rm -f conftest.$ac_ext
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6561 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6562 if test "$ac_cv_sys_largefile_CC" != no; then
6563 CC=$CC$ac_cv_sys_largefile_CC
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6567 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6568 if ${ac_cv_sys_file_offset_bits+:} false; then :
6569 $as_echo_n "(cached) " >&6
6570 else
6571 while :; do
6572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6573 /* end confdefs.h. */
6574 #include <sys/types.h>
6575 /* Check that off_t can represent 2**63 - 1 correctly.
6576 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6577 since some C++ compilers masquerading as C compilers
6578 incorrectly reject 9223372036854775807. */
6579 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6580 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6581 && LARGE_OFF_T % 2147483647 == 1)
6582 ? 1 : -1];
6584 main ()
6588 return 0;
6590 _ACEOF
6591 if ac_fn_c_try_compile "$LINENO"; then :
6592 ac_cv_sys_file_offset_bits=no; break
6594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6596 /* end confdefs.h. */
6597 #define _FILE_OFFSET_BITS 64
6598 #include <sys/types.h>
6599 /* Check that off_t can represent 2**63 - 1 correctly.
6600 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6601 since some C++ compilers masquerading as C compilers
6602 incorrectly reject 9223372036854775807. */
6603 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6604 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6605 && LARGE_OFF_T % 2147483647 == 1)
6606 ? 1 : -1];
6608 main ()
6612 return 0;
6614 _ACEOF
6615 if ac_fn_c_try_compile "$LINENO"; then :
6616 ac_cv_sys_file_offset_bits=64; break
6618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6619 ac_cv_sys_file_offset_bits=unknown
6620 break
6621 done
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6624 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6625 case $ac_cv_sys_file_offset_bits in #(
6626 no | unknown) ;;
6628 cat >>confdefs.h <<_ACEOF
6629 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6630 _ACEOF
6632 esac
6633 rm -rf conftest*
6634 if test $ac_cv_sys_file_offset_bits = unknown; then
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6636 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6637 if ${ac_cv_sys_large_files+:} false; then :
6638 $as_echo_n "(cached) " >&6
6639 else
6640 while :; do
6641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6642 /* end confdefs.h. */
6643 #include <sys/types.h>
6644 /* Check that off_t can represent 2**63 - 1 correctly.
6645 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6646 since some C++ compilers masquerading as C compilers
6647 incorrectly reject 9223372036854775807. */
6648 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6649 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6650 && LARGE_OFF_T % 2147483647 == 1)
6651 ? 1 : -1];
6653 main ()
6657 return 0;
6659 _ACEOF
6660 if ac_fn_c_try_compile "$LINENO"; then :
6661 ac_cv_sys_large_files=no; break
6663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6665 /* end confdefs.h. */
6666 #define _LARGE_FILES 1
6667 #include <sys/types.h>
6668 /* Check that off_t can represent 2**63 - 1 correctly.
6669 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6670 since some C++ compilers masquerading as C compilers
6671 incorrectly reject 9223372036854775807. */
6672 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6673 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6674 && LARGE_OFF_T % 2147483647 == 1)
6675 ? 1 : -1];
6677 main ()
6681 return 0;
6683 _ACEOF
6684 if ac_fn_c_try_compile "$LINENO"; then :
6685 ac_cv_sys_large_files=1; break
6687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6688 ac_cv_sys_large_files=unknown
6689 break
6690 done
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6693 $as_echo "$ac_cv_sys_large_files" >&6; }
6694 case $ac_cv_sys_large_files in #(
6695 no | unknown) ;;
6697 cat >>confdefs.h <<_ACEOF
6698 #define _LARGE_FILES $ac_cv_sys_large_files
6699 _ACEOF
6701 esac
6702 rm -rf conftest*
6709 ac_ext=c
6710 ac_cpp='$CPP $CPPFLAGS'
6711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6715 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6716 # On Suns, sometimes $CPP names a directory.
6717 if test -n "$CPP" && test -d "$CPP"; then
6718 CPP=
6720 if test -z "$CPP"; then
6721 if ${ac_cv_prog_CPP+:} false; then :
6722 $as_echo_n "(cached) " >&6
6723 else
6724 # Double quotes because CPP needs to be expanded
6725 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6727 ac_preproc_ok=false
6728 for ac_c_preproc_warn_flag in '' yes
6730 # Use a header file that comes with gcc, so configuring glibc
6731 # with a fresh cross-compiler works.
6732 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6733 # <limits.h> exists even on freestanding compilers.
6734 # On the NeXT, cc -E runs the code through the compiler's parser,
6735 # not just through cpp. "Syntax error" is here to catch this case.
6736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6737 /* end confdefs.h. */
6738 #ifdef __STDC__
6739 # include <limits.h>
6740 #else
6741 # include <assert.h>
6742 #endif
6743 Syntax error
6744 _ACEOF
6745 if ac_fn_c_try_cpp "$LINENO"; then :
6747 else
6748 # Broken: fails on valid input.
6749 continue
6751 rm -f conftest.err conftest.i conftest.$ac_ext
6753 # OK, works on sane cases. Now check whether nonexistent headers
6754 # can be detected and how.
6755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6756 /* end confdefs.h. */
6757 #include <ac_nonexistent.h>
6758 _ACEOF
6759 if ac_fn_c_try_cpp "$LINENO"; then :
6760 # Broken: success on invalid input.
6761 continue
6762 else
6763 # Passes both tests.
6764 ac_preproc_ok=:
6765 break
6767 rm -f conftest.err conftest.i conftest.$ac_ext
6769 done
6770 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6771 rm -f conftest.i conftest.err conftest.$ac_ext
6772 if $ac_preproc_ok; then :
6773 break
6776 done
6777 ac_cv_prog_CPP=$CPP
6780 CPP=$ac_cv_prog_CPP
6781 else
6782 ac_cv_prog_CPP=$CPP
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6785 $as_echo "$CPP" >&6; }
6786 ac_preproc_ok=false
6787 for ac_c_preproc_warn_flag in '' yes
6789 # Use a header file that comes with gcc, so configuring glibc
6790 # with a fresh cross-compiler works.
6791 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6792 # <limits.h> exists even on freestanding compilers.
6793 # On the NeXT, cc -E runs the code through the compiler's parser,
6794 # not just through cpp. "Syntax error" is here to catch this case.
6795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6796 /* end confdefs.h. */
6797 #ifdef __STDC__
6798 # include <limits.h>
6799 #else
6800 # include <assert.h>
6801 #endif
6802 Syntax error
6803 _ACEOF
6804 if ac_fn_c_try_cpp "$LINENO"; then :
6806 else
6807 # Broken: fails on valid input.
6808 continue
6810 rm -f conftest.err conftest.i conftest.$ac_ext
6812 # OK, works on sane cases. Now check whether nonexistent headers
6813 # can be detected and how.
6814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6815 /* end confdefs.h. */
6816 #include <ac_nonexistent.h>
6817 _ACEOF
6818 if ac_fn_c_try_cpp "$LINENO"; then :
6819 # Broken: success on invalid input.
6820 continue
6821 else
6822 # Passes both tests.
6823 ac_preproc_ok=:
6824 break
6826 rm -f conftest.err conftest.i conftest.$ac_ext
6828 done
6829 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6830 rm -f conftest.i conftest.err conftest.$ac_ext
6831 if $ac_preproc_ok; then :
6833 else
6834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6836 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6837 See \`config.log' for more details" "$LINENO" 5; }
6840 ac_ext=c
6841 ac_cpp='$CPP $CPPFLAGS'
6842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6848 $as_echo_n "checking for ANSI C header files... " >&6; }
6849 if ${ac_cv_header_stdc+:} false; then :
6850 $as_echo_n "(cached) " >&6
6851 else
6852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6853 /* end confdefs.h. */
6854 #include <stdlib.h>
6855 #include <stdarg.h>
6856 #include <string.h>
6857 #include <float.h>
6860 main ()
6864 return 0;
6866 _ACEOF
6867 if ac_fn_c_try_compile "$LINENO"; then :
6868 ac_cv_header_stdc=yes
6869 else
6870 ac_cv_header_stdc=no
6872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6874 if test $ac_cv_header_stdc = yes; then
6875 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6877 /* end confdefs.h. */
6878 #include <string.h>
6880 _ACEOF
6881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6882 $EGREP "memchr" >/dev/null 2>&1; then :
6884 else
6885 ac_cv_header_stdc=no
6887 rm -f conftest*
6891 if test $ac_cv_header_stdc = yes; then
6892 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6894 /* end confdefs.h. */
6895 #include <stdlib.h>
6897 _ACEOF
6898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6899 $EGREP "free" >/dev/null 2>&1; then :
6901 else
6902 ac_cv_header_stdc=no
6904 rm -f conftest*
6908 if test $ac_cv_header_stdc = yes; then
6909 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6910 if test "$cross_compiling" = yes; then :
6912 else
6913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6914 /* end confdefs.h. */
6915 #include <ctype.h>
6916 #include <stdlib.h>
6917 #if ((' ' & 0x0FF) == 0x020)
6918 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6919 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6920 #else
6921 # define ISLOWER(c) \
6922 (('a' <= (c) && (c) <= 'i') \
6923 || ('j' <= (c) && (c) <= 'r') \
6924 || ('s' <= (c) && (c) <= 'z'))
6925 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6926 #endif
6928 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6930 main ()
6932 int i;
6933 for (i = 0; i < 256; i++)
6934 if (XOR (islower (i), ISLOWER (i))
6935 || toupper (i) != TOUPPER (i))
6936 return 2;
6937 return 0;
6939 _ACEOF
6940 if ac_fn_c_try_run "$LINENO"; then :
6942 else
6943 ac_cv_header_stdc=no
6945 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6946 conftest.$ac_objext conftest.beam conftest.$ac_ext
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6952 $as_echo "$ac_cv_header_stdc" >&6; }
6953 if test $ac_cv_header_stdc = yes; then
6955 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6959 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6960 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6961 inttypes.h stdint.h unistd.h
6962 do :
6963 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6964 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6966 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6967 cat >>confdefs.h <<_ACEOF
6968 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6969 _ACEOF
6973 done
6976 for ac_header in \
6977 AL/al.h \
6978 ApplicationServices/ApplicationServices.h \
6979 AudioToolbox/AudioConverter.h \
6980 AudioUnit/AudioUnit.h \
6981 AudioUnit/AudioComponent.h \
6982 CL/cl.h \
6983 Carbon/Carbon.h \
6984 CommonCrypto/CommonCryptor.h \
6985 CoreAudio/CoreAudio.h \
6986 CoreServices/CoreServices.h \
6987 DiskArbitration/DiskArbitration.h \
6988 EGL/egl.h \
6989 IOKit/IOKitLib.h \
6990 IOKit/hid/IOHIDLib.h \
6991 OpenAL/al.h \
6992 OpenCL/opencl.h \
6993 QuickTime/ImageCompression.h \
6994 Security/Security.h \
6995 alias.h \
6996 alsa/asoundlib.h \
6997 arpa/inet.h \
6998 arpa/nameser.h \
6999 asm/types.h \
7000 asm/user.h \
7001 curses.h \
7002 direct.h \
7003 dirent.h \
7004 dlfcn.h \
7005 elf.h \
7006 float.h \
7007 fnmatch.h \
7008 getopt.h \
7009 gettext-po.h \
7010 grp.h \
7011 gsm.h \
7012 gsm/gsm.h \
7013 ieeefp.h \
7014 inet/mib2.h \
7015 io.h \
7016 kstat.h \
7017 libproc.h \
7018 link.h \
7019 linux/cdrom.h \
7020 linux/compiler.h \
7021 linux/filter.h \
7022 linux/hdreg.h \
7023 linux/hidraw.h \
7024 linux/input.h \
7025 linux/ioctl.h \
7026 linux/joystick.h \
7027 linux/major.h \
7028 linux/param.h \
7029 linux/serial.h \
7030 linux/types.h \
7031 linux/ucdrom.h \
7032 lwp.h \
7033 mach-o/nlist.h \
7034 mach-o/loader.h \
7035 mach/mach.h \
7036 mach/machine.h \
7037 machine/cpu.h \
7038 machine/limits.h \
7039 machine/sysarch.h \
7040 mntent.h \
7041 ncurses.h \
7042 netdb.h \
7043 netinet/in.h \
7044 netinet/in_systm.h \
7045 netinet/tcp.h \
7046 netinet/tcp_fsm.h \
7047 pcap/pcap.h \
7048 poll.h \
7049 port.h \
7050 process.h \
7051 pthread.h \
7052 pwd.h \
7053 sched.h \
7054 scsi/scsi.h \
7055 scsi/scsi_ioctl.h \
7056 scsi/sg.h \
7057 stdbool.h \
7058 stdint.h \
7059 stropts.h \
7060 sys/asoundlib.h \
7061 sys/attr.h \
7062 sys/auxv.h \
7063 sys/cdio.h \
7064 sys/elf32.h \
7065 sys/epoll.h \
7066 sys/event.h \
7067 sys/exec_elf.h \
7068 sys/filio.h \
7069 sys/inotify.h \
7070 sys/ioctl.h \
7071 sys/ipc.h \
7072 sys/limits.h \
7073 sys/link.h \
7074 sys/mman.h \
7075 sys/modem.h \
7076 sys/msg.h \
7077 sys/mtio.h \
7078 sys/param.h \
7079 sys/poll.h \
7080 sys/prctl.h \
7081 sys/protosw.h \
7082 sys/ptrace.h \
7083 sys/queue.h \
7084 sys/resource.h \
7085 sys/scsiio.h \
7086 sys/shm.h \
7087 sys/signal.h \
7088 sys/socket.h \
7089 sys/socketvar.h \
7090 sys/sockio.h \
7091 sys/statvfs.h \
7092 sys/strtio.h \
7093 sys/syscall.h \
7094 sys/sysinfo.h \
7095 sys/tihdr.h \
7096 sys/time.h \
7097 sys/timeout.h \
7098 sys/times.h \
7099 sys/uio.h \
7100 sys/user.h \
7101 sys/utsname.h \
7102 sys/vnode.h \
7103 sys/wait.h \
7104 syscall.h \
7105 termios.h \
7106 unistd.h \
7107 utime.h \
7108 valgrind/memcheck.h \
7109 valgrind/valgrind.h \
7110 zlib.h
7112 do :
7113 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7114 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7115 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7116 cat >>confdefs.h <<_ACEOF
7117 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7118 _ACEOF
7122 done
7124 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7125 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7127 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7132 if test $ac_cv_header_sys_mkdev_h = no; then
7133 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7134 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7136 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7143 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7144 if ${ac_cv_header_stat_broken+:} false; then :
7145 $as_echo_n "(cached) " >&6
7146 else
7147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7148 /* end confdefs.h. */
7149 #include <sys/types.h>
7150 #include <sys/stat.h>
7152 #if defined S_ISBLK && defined S_IFDIR
7153 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7154 #endif
7156 #if defined S_ISBLK && defined S_IFCHR
7157 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7158 #endif
7160 #if defined S_ISLNK && defined S_IFREG
7161 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7162 #endif
7164 #if defined S_ISSOCK && defined S_IFREG
7165 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7166 #endif
7168 _ACEOF
7169 if ac_fn_c_try_compile "$LINENO"; then :
7170 ac_cv_header_stat_broken=no
7171 else
7172 ac_cv_header_stat_broken=yes
7174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7177 $as_echo "$ac_cv_header_stat_broken" >&6; }
7178 if test $ac_cv_header_stat_broken = yes; then
7180 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7186 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7187 do :
7188 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7189 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7190 #ifdef HAVE_SYS_PARAM_H
7191 # include <sys/param.h>
7192 #endif
7194 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7195 cat >>confdefs.h <<_ACEOF
7196 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7197 _ACEOF
7201 done
7204 for ac_header in \
7205 netinet/ip.h \
7206 net/if.h \
7207 net/if_arp.h \
7208 net/if_dl.h \
7209 net/if_types.h \
7210 net/route.h \
7211 netinet/if_ether.h \
7212 netinet/if_inarp.h \
7213 netinet/in_pcb.h \
7214 netinet/ip_icmp.h \
7215 netinet/ip_var.h \
7216 netinet/udp.h \
7217 netipx/ipx.h \
7218 sys/un.h \
7220 do :
7221 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7222 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7223 #ifdef HAVE_SYS_SOCKET_H
7224 # include <sys/socket.h>
7225 #endif
7226 #ifdef HAVE_SYS_SOCKETVAR_H
7227 # include <sys/socketvar.h>
7228 #endif
7229 #ifdef HAVE_NET_ROUTE_H
7230 # include <net/route.h>
7231 #endif
7232 #ifdef HAVE_NETINET_IN_H
7233 # include <netinet/in.h>
7234 #endif
7235 #ifdef HAVE_NETINET_IN_SYSTM_H
7236 # include <netinet/in_systm.h>
7237 #endif
7238 #ifdef HAVE_NET_IF_H
7239 # include <net/if.h>
7240 #endif
7241 #ifdef HAVE_NETINET_IP_H
7242 # include <netinet/ip.h>
7243 #endif
7245 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7246 cat >>confdefs.h <<_ACEOF
7247 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7248 _ACEOF
7252 done
7255 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7256 do :
7257 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7258 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7259 #ifdef HAVE_ALIAS_H
7260 # include <alias.h>
7261 #endif
7262 #ifdef HAVE_SYS_SOCKET_H
7263 # include <sys/socket.h>
7264 #endif
7265 #ifdef HAVE_SYS_SOCKETVAR_H
7266 # include <sys/socketvar.h>
7267 #endif
7268 #ifdef HAVE_SYS_TIMEOUT_H
7269 # include <sys/timeout.h>
7270 #endif
7271 #ifdef HAVE_NETINET_IN_H
7272 # include <netinet/in.h>
7273 #endif
7274 #ifdef HAVE_NETINET_IN_SYSTM_H
7275 # include <netinet/in_systm.h>
7276 #endif
7277 #ifdef HAVE_NETINET_IP_H
7278 # include <netinet/ip.h>
7279 #endif
7280 #ifdef HAVE_NETINET_IP_VAR_H
7281 # include <netinet/ip_var.h>
7282 #endif
7283 #ifdef HAVE_NETINET_IP_ICMP_H
7284 # include <netinet/ip_icmp.h>
7285 #endif
7286 #ifdef HAVE_NETINET_UDP_H
7287 # include <netinet/udp.h>
7288 #endif
7289 #ifdef HAVE_NETINET_TCP_H
7290 # include <netinet/tcp.h>
7291 #endif
7292 #ifdef HAVE_NETINET_TCP_TIMER_H
7293 #include <netinet/tcp_timer.h>
7294 #endif
7296 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7297 cat >>confdefs.h <<_ACEOF
7298 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7299 _ACEOF
7303 done
7306 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7307 do :
7308 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7309 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7310 #ifdef HAVE_ASM_TYPES_H
7311 # include <asm/types.h>
7312 #endif
7313 #ifdef HAVE_SYS_SOCKET_H
7314 # include <sys/socket.h>
7315 #endif
7316 #ifdef HAVE_LINUX_TYPES_H
7317 # include <linux/types.h>
7318 #endif
7320 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7321 cat >>confdefs.h <<_ACEOF
7322 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7323 _ACEOF
7327 done
7330 for ac_header in mach-o/dyld_images.h
7331 do :
7332 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7333 # include <stdbool.h>
7334 #endif
7335 #ifdef HAVE_STDINT_H
7336 # include <stdint.h>
7337 #endif
7339 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7340 cat >>confdefs.h <<_ACEOF
7341 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7342 _ACEOF
7346 done
7349 for ac_header in resolv.h
7350 do :
7351 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7352 #ifdef HAVE_SYS_SOCKET_H
7353 # include <sys/socket.h>
7354 #endif
7355 #ifdef HAVE_NETINET_IN_H
7356 # include <netinet/in.h>
7357 #endif
7358 #ifdef HAVE_ARPA_NAMESER_H
7359 # include <arpa/nameser.h>
7360 #endif
7362 if test "x$ac_cv_header_resolv_h" = xyes; then :
7363 cat >>confdefs.h <<_ACEOF
7364 #define HAVE_RESOLV_H 1
7365 _ACEOF
7369 done
7372 for ac_header in ifaddrs.h
7373 do :
7374 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7376 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7377 cat >>confdefs.h <<_ACEOF
7378 #define HAVE_IFADDRS_H 1
7379 _ACEOF
7383 done
7386 for ac_header in sys/ucontext.h
7387 do :
7388 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7390 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7391 cat >>confdefs.h <<_ACEOF
7392 #define HAVE_SYS_UCONTEXT_H 1
7393 _ACEOF
7397 done
7400 for ac_header in sys/thr.h
7401 do :
7402 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7403 #ifdef HAVE_SYS_UCONTEXT_H
7404 #include <sys/ucontext.h>
7405 #endif
7407 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7408 cat >>confdefs.h <<_ACEOF
7409 #define HAVE_SYS_THR_H 1
7410 _ACEOF
7414 done
7417 for ac_header in pthread_np.h
7418 do :
7419 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7420 #include <pthread.h>
7421 #endif
7423 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7424 cat >>confdefs.h <<_ACEOF
7425 #define HAVE_PTHREAD_NP_H 1
7426 _ACEOF
7430 done
7433 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7434 do :
7435 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7436 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7437 #include <sys/time.h>
7438 #endif
7439 #include <sys/types.h>
7440 #ifdef HAVE_ASM_TYPES_H
7441 #include <asm/types.h>
7442 #endif
7444 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7445 cat >>confdefs.h <<_ACEOF
7446 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7447 _ACEOF
7451 done
7454 for ac_header in libprocstat.h
7455 do :
7456 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7457 #include <sys/param.h>
7458 #endif
7459 #ifdef HAVE_SYS_QUEUE_H
7460 #include <sys/queue.h>
7461 #endif
7462 #ifdef HAVE_SYS_SOCKET_H
7463 #include <sys/socket.h>
7464 #endif
7466 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7467 cat >>confdefs.h <<_ACEOF
7468 #define HAVE_LIBPROCSTAT_H 1
7469 _ACEOF
7473 done
7477 DLLFLAGS="-D_REENTRANT"
7479 LDRPATH_INSTALL=""
7481 LDRPATH_LOCAL=""
7483 LDEXECFLAGS=""
7485 WINELOADER_LDFLAGS=""
7487 LIBEXT="so"
7488 DLLEXT=".so"
7489 IMPLIBEXT="def"
7490 # Extract the first word of "ldd", so it can be a program name with args.
7491 set dummy ldd; ac_word=$2
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7493 $as_echo_n "checking for $ac_word... " >&6; }
7494 if ${ac_cv_path_LDD+:} false; then :
7495 $as_echo_n "(cached) " >&6
7496 else
7497 case $LDD in
7498 [\\/]* | ?:[\\/]*)
7499 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503 as_dummy="/sbin:/usr/sbin:$PATH"
7504 for as_dir in $as_dummy
7506 IFS=$as_save_IFS
7507 test -z "$as_dir" && as_dir=.
7508 for ac_exec_ext in '' $ac_executable_extensions; do
7509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7510 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7512 break 2
7514 done
7515 done
7516 IFS=$as_save_IFS
7518 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7520 esac
7522 LDD=$ac_cv_path_LDD
7523 if test -n "$LDD"; then
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7525 $as_echo "$LDD" >&6; }
7526 else
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7528 $as_echo "no" >&6; }
7532 if test -n "$ac_tool_prefix"; then
7533 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7534 set dummy ${ac_tool_prefix}otool; ac_word=$2
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7536 $as_echo_n "checking for $ac_word... " >&6; }
7537 if ${ac_cv_prog_OTOOL+:} false; then :
7538 $as_echo_n "(cached) " >&6
7539 else
7540 if test -n "$OTOOL"; then
7541 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7542 else
7543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7544 for as_dir in $PATH
7546 IFS=$as_save_IFS
7547 test -z "$as_dir" && as_dir=.
7548 for ac_exec_ext in '' $ac_executable_extensions; do
7549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7550 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7552 break 2
7554 done
7555 done
7556 IFS=$as_save_IFS
7560 OTOOL=$ac_cv_prog_OTOOL
7561 if test -n "$OTOOL"; then
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7563 $as_echo "$OTOOL" >&6; }
7564 else
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7566 $as_echo "no" >&6; }
7571 if test -z "$ac_cv_prog_OTOOL"; then
7572 ac_ct_OTOOL=$OTOOL
7573 # Extract the first word of "otool", so it can be a program name with args.
7574 set dummy otool; ac_word=$2
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7576 $as_echo_n "checking for $ac_word... " >&6; }
7577 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7578 $as_echo_n "(cached) " >&6
7579 else
7580 if test -n "$ac_ct_OTOOL"; then
7581 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7582 else
7583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7584 for as_dir in $PATH
7586 IFS=$as_save_IFS
7587 test -z "$as_dir" && as_dir=.
7588 for ac_exec_ext in '' $ac_executable_extensions; do
7589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7590 ac_cv_prog_ac_ct_OTOOL="otool"
7591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7592 break 2
7594 done
7595 done
7596 IFS=$as_save_IFS
7600 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7601 if test -n "$ac_ct_OTOOL"; then
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7603 $as_echo "$ac_ct_OTOOL" >&6; }
7604 else
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606 $as_echo "no" >&6; }
7609 if test "x$ac_ct_OTOOL" = x; then
7610 OTOOL="otool"
7611 else
7612 case $cross_compiling:$ac_tool_warned in
7613 yes:)
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7616 ac_tool_warned=yes ;;
7617 esac
7618 OTOOL=$ac_ct_OTOOL
7620 else
7621 OTOOL="$ac_cv_prog_OTOOL"
7624 if test -n "$ac_tool_prefix"; then
7625 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7626 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if ${ac_cv_prog_READELF+:} false; then :
7630 $as_echo_n "(cached) " >&6
7631 else
7632 if test -n "$READELF"; then
7633 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7634 else
7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636 for as_dir in $PATH
7638 IFS=$as_save_IFS
7639 test -z "$as_dir" && as_dir=.
7640 for ac_exec_ext in '' $ac_executable_extensions; do
7641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7642 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7644 break 2
7646 done
7647 done
7648 IFS=$as_save_IFS
7652 READELF=$ac_cv_prog_READELF
7653 if test -n "$READELF"; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7655 $as_echo "$READELF" >&6; }
7656 else
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7663 if test -z "$ac_cv_prog_READELF"; then
7664 ac_ct_READELF=$READELF
7665 # Extract the first word of "readelf", so it can be a program name with args.
7666 set dummy readelf; ac_word=$2
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7668 $as_echo_n "checking for $ac_word... " >&6; }
7669 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7670 $as_echo_n "(cached) " >&6
7671 else
7672 if test -n "$ac_ct_READELF"; then
7673 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7674 else
7675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7676 for as_dir in $PATH
7678 IFS=$as_save_IFS
7679 test -z "$as_dir" && as_dir=.
7680 for ac_exec_ext in '' $ac_executable_extensions; do
7681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7682 ac_cv_prog_ac_ct_READELF="readelf"
7683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7684 break 2
7686 done
7687 done
7688 IFS=$as_save_IFS
7692 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7693 if test -n "$ac_ct_READELF"; then
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7695 $as_echo "$ac_ct_READELF" >&6; }
7696 else
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7698 $as_echo "no" >&6; }
7701 if test "x$ac_ct_READELF" = x; then
7702 READELF="true"
7703 else
7704 case $cross_compiling:$ac_tool_warned in
7705 yes:)
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7708 ac_tool_warned=yes ;;
7709 esac
7710 READELF=$ac_ct_READELF
7712 else
7713 READELF="$ac_cv_prog_READELF"
7716 wine_rules_file=conf$$rules.make
7717 rm -f $wine_rules_file
7718 SUBDIRS=""
7720 DISABLED_SUBDIRS=""
7722 CONFIGURE_TARGETS=""
7725 wine_fn_append_file ()
7727 as_fn_append $1 " \\$as_nl $2"
7730 wine_fn_append_rule ()
7732 $as_echo "$1" >>$wine_rules_file
7735 wine_fn_all_rules ()
7737 wine_fn_append_file SUBDIRS $ac_dir
7740 wine_fn_disabled_rules ()
7742 wine_fn_append_file SUBDIRS $ac_dir
7743 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7746 wine_fn_config_makefile ()
7748 ac_dir=$1
7749 ac_enable=$2
7751 case $ac_dir in
7752 fonts|server) test -z "$with_wine64" || return ;;
7753 esac
7754 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7755 wine_fn_disabled_rules
7756 else
7757 wine_fn_all_rules
7761 wine_fn_config_lib ()
7763 ac_name=$1
7764 ac_dir=dlls/$ac_name
7766 wine_fn_all_rules
7769 wine_fn_config_dll ()
7771 ac_name=$1
7772 ac_dir=dlls/$ac_name
7773 ac_enable=$2
7774 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7775 wine_fn_disabled_rules
7776 else
7777 wine_fn_all_rules
7781 wine_fn_config_program ()
7783 ac_name=$1
7784 ac_dir=programs/$ac_name
7785 ac_enable=$2
7786 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7787 wine_fn_disabled_rules
7788 else
7789 wine_fn_all_rules
7793 wine_fn_config_test ()
7795 ac_dir=$1
7796 ac_name=$2
7797 if test "x$enable_tests" = xno; then :
7798 wine_fn_disabled_rules
7799 else
7800 wine_fn_all_rules
7804 wine_fn_config_tool ()
7806 ac_dir=$1
7807 if test "x$enable_tools" = xno; then :
7808 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7811 wine_fn_all_rules
7813 wine_fn_append_rule "__tooldeps__: $ac_dir"
7814 wine_fn_append_rule "$ac_dir: libs/port"
7815 case $ac_dir in
7816 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7817 esac
7820 wine_fn_config_symlink ()
7822 ac_links=$@
7823 wine_fn_append_rule \
7824 "$ac_links:
7825 @./config.status \$@"
7826 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7829 wine_binary="wine"
7830 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7831 WINELOADER_PROGRAMS="$wine_binary"
7833 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7835 case $host_os in
7836 cygwin*|mingw32*)
7837 if test -n "$ac_tool_prefix"; then
7838 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7839 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7841 $as_echo_n "checking for $ac_word... " >&6; }
7842 if ${ac_cv_prog_DLLTOOL+:} false; then :
7843 $as_echo_n "(cached) " >&6
7844 else
7845 if test -n "$DLLTOOL"; then
7846 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7847 else
7848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7849 for as_dir in $PATH
7851 IFS=$as_save_IFS
7852 test -z "$as_dir" && as_dir=.
7853 for ac_exec_ext in '' $ac_executable_extensions; do
7854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7855 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7857 break 2
7859 done
7860 done
7861 IFS=$as_save_IFS
7865 DLLTOOL=$ac_cv_prog_DLLTOOL
7866 if test -n "$DLLTOOL"; then
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7868 $as_echo "$DLLTOOL" >&6; }
7869 else
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7871 $as_echo "no" >&6; }
7876 if test -z "$ac_cv_prog_DLLTOOL"; then
7877 ac_ct_DLLTOOL=$DLLTOOL
7878 # Extract the first word of "dlltool", so it can be a program name with args.
7879 set dummy dlltool; ac_word=$2
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7881 $as_echo_n "checking for $ac_word... " >&6; }
7882 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7883 $as_echo_n "(cached) " >&6
7884 else
7885 if test -n "$ac_ct_DLLTOOL"; then
7886 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7887 else
7888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7889 for as_dir in $PATH
7891 IFS=$as_save_IFS
7892 test -z "$as_dir" && as_dir=.
7893 for ac_exec_ext in '' $ac_executable_extensions; do
7894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7895 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7897 break 2
7899 done
7900 done
7901 IFS=$as_save_IFS
7905 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7906 if test -n "$ac_ct_DLLTOOL"; then
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7908 $as_echo "$ac_ct_DLLTOOL" >&6; }
7909 else
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7911 $as_echo "no" >&6; }
7914 if test "x$ac_ct_DLLTOOL" = x; then
7915 DLLTOOL="false"
7916 else
7917 case $cross_compiling:$ac_tool_warned in
7918 yes:)
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7921 ac_tool_warned=yes ;;
7922 esac
7923 DLLTOOL=$ac_ct_DLLTOOL
7925 else
7926 DLLTOOL="$ac_cv_prog_DLLTOOL"
7929 LIBEXT="dll"
7930 DLLEXT=""
7931 IMPLIBEXT="a"
7932 enable_iphlpapi=${enable_iphlpapi:-no}
7933 enable_kernel32=${enable_kernel32:-no}
7934 enable_msvcrt=${enable_msvcrt:-no}
7935 enable_ntdll=${enable_ntdll:-no}
7936 enable_ws2_32=${enable_ws2_32:-no}
7937 enable_loader=${enable_loader:-no}
7938 enable_server=${enable_server:-no}
7939 with_x=${with_x:-no}
7940 with_pthread=${with_pthread:-no}
7942 crtlibs=""
7943 case $host_os in
7944 mingw32*)
7945 crtlibs="-lmsvcrt"
7946 SOCKET_LIBS="-lws2_32"
7948 esac
7950 LIBWINE_SHAREDLIB="libwine.dll"
7952 LIBWINE_IMPORTLIB="libwine.a"
7954 LIBWINE_INSTALL_LIB="libwine.dll"
7956 LIBWINE_INSTALL_DEV="libwine.a"
7958 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7960 LIBWINE_DEPENDS="wine.def"
7964 darwin*|macosx*)
7965 for ac_header in libunwind.h
7966 do :
7967 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7968 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7969 cat >>confdefs.h <<_ACEOF
7970 #define HAVE_LIBUNWIND_H 1
7971 _ACEOF
7975 done
7977 LIBEXT="dylib"
7978 DLLFLAGS="$DLLFLAGS -fPIC"
7979 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7980 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7981 COREFOUNDATION_LIBS="-framework CoreFoundation"
7983 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7985 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7987 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7989 CORESERVICES_LIBS="-framework CoreServices"
7991 APPKIT_LIBS="-framework AppKit"
7993 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7995 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7996 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7997 $as_echo_n "(cached) " >&6
7998 else
7999 ac_wine_try_cflags_saved=$CFLAGS
8000 CFLAGS="$CFLAGS -Wl,-no_pie"
8001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8002 /* end confdefs.h. */
8003 int main(int argc, char **argv) { return 0; }
8004 _ACEOF
8005 if ac_fn_c_try_link "$LINENO"; then :
8006 ac_cv_cflags__Wl__no_pie=yes
8007 else
8008 ac_cv_cflags__Wl__no_pie=no
8010 rm -f core conftest.err conftest.$ac_objext \
8011 conftest$ac_exeext conftest.$ac_ext
8012 CFLAGS=$ac_wine_try_cflags_saved
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8015 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8016 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8017 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8019 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8020 then
8021 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8024 if test "$ac_cv_header_Security_Security_h" = "yes"
8025 then
8026 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8028 ac_save_LIBS="$LIBS"
8029 LIBS="$LIBS $SECURITY_LIBS"
8030 for ac_func in SSLCopyPeerCertificates
8031 do :
8032 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8033 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8034 cat >>confdefs.h <<_ACEOF
8035 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8036 _ACEOF
8039 done
8041 LIBS="$ac_save_LIBS"
8042 with_gnutls=${with_gnutls:-no}
8044 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8045 then
8046 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8047 then
8048 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8050 else
8051 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8054 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8055 ac_save_LIBS="$LIBS"
8056 LIBS="$LIBS $COREAUDIO_LIBS"
8057 for ac_func in AUGraphAddNode
8058 do :
8059 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8060 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8061 cat >>confdefs.h <<_ACEOF
8062 #define HAVE_AUGRAPHADDNODE 1
8063 _ACEOF
8066 done
8068 LIBS="$ac_save_LIBS"
8070 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8071 then
8072 OPENAL_LIBS="-framework OpenAL"
8075 cat >>confdefs.h <<_ACEOF
8076 #define HAVE_OPENAL 1
8077 _ACEOF
8079 ac_cv_lib_openal=yes
8081 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8082 then
8083 OPENCL_LIBS="-framework OpenCL"
8085 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8087 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8088 then
8089 ac_save_LIBS="$LIBS"
8090 LIBS="$LIBS $IOKIT_LIBS"
8091 for ac_func in IOHIDManagerCreate
8092 do :
8093 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8094 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8095 cat >>confdefs.h <<_ACEOF
8096 #define HAVE_IOHIDMANAGERCREATE 1
8097 _ACEOF
8100 done
8102 LIBS="$ac_save_LIBS"
8104 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8105 then
8106 ac_save_LIBS="$LIBS"
8107 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8109 $as_echo_n "checking for the QuickTime framework... " >&6; }
8110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8111 /* end confdefs.h. */
8112 #include <QuickTime/ImageCompression.h>
8114 main ()
8116 CodecManagerVersion(NULL);
8118 return 0;
8120 _ACEOF
8121 if ac_fn_c_try_link "$LINENO"; then :
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8123 $as_echo "yes" >&6; }
8124 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8126 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8127 else
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8129 $as_echo "no" >&6; }
8130 ac_cv_header_QuickTime_ImageCompression_h=no
8132 rm -f core conftest.err conftest.$ac_objext \
8133 conftest$ac_exeext conftest.$ac_ext
8134 LIBS="$ac_save_LIBS"
8136 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8137 then
8138 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8140 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8141 then
8142 CARBON_LIBS="-framework Carbon"
8146 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8147 then
8148 ac_save_LIBS="$LIBS"
8149 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8150 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8151 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8152 enable_winemac_drv=${enable_winemac_drv:-yes}
8155 LIBS="$ac_save_LIBS"
8158 if test "x$enable_win16" = "xyes"
8159 then
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8161 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8162 if test "$cross_compiling" = yes; then :
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8164 $as_echo "cross-compiling, assuming yes" >&6; }
8165 else
8166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8167 /* end confdefs.h. */
8168 asm(".text\n"
8169 "bad:\tnop;nop\n"
8170 "good:\tnop;nop\n\t"
8171 ".globl _testfunc\n"
8172 "_testfunc:\tcallw good");
8173 extern void testfunc();
8175 main ()
8177 unsigned short *p = (unsigned short *)testfunc;
8178 return p[0] != 0xe866 || p[1] != 0xfffa
8180 return 0;
8182 _ACEOF
8183 if ac_fn_c_try_run "$LINENO"; then :
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8185 $as_echo "yes" >&6; }
8186 else
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8188 $as_echo "no" >&6; }
8189 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
8191 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8192 conftest.$ac_objext conftest.beam conftest.$ac_ext
8197 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8199 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8201 LIBWINE_INSTALL_DEV="libwine.dylib"
8203 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8205 WINELOADER_DEPENDS="wine_info.plist"
8209 linux-android*)
8210 DLLFLAGS="$DLLFLAGS -fPIC"
8211 LDEXECFLAGS="-Wl,-pie"
8212 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8214 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8215 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8216 $as_echo_n "(cached) " >&6
8217 else
8218 ac_wine_try_cflags_saved=$CFLAGS
8219 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8221 /* end confdefs.h. */
8222 int main(int argc, char **argv) { return 0; }
8223 _ACEOF
8224 if ac_fn_c_try_link "$LINENO"; then :
8225 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8226 else
8227 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8229 rm -f core conftest.err conftest.$ac_objext \
8230 conftest$ac_exeext conftest.$ac_ext
8231 CFLAGS=$ac_wine_try_cflags_saved
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8234 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8235 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8236 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8238 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8240 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8241 if eval \${$as_ac_var+:} false; then :
8242 $as_echo_n "(cached) " >&6
8243 else
8244 ac_wine_try_cflags_saved=$CFLAGS
8245 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8247 /* end confdefs.h. */
8248 int main(int argc, char **argv) { return 0; }
8249 _ACEOF
8250 if ac_fn_c_try_link "$LINENO"; then :
8251 eval "$as_ac_var=yes"
8252 else
8253 eval "$as_ac_var=no"
8255 rm -f core conftest.err conftest.$ac_objext \
8256 conftest$ac_exeext conftest.$ac_ext
8257 CFLAGS=$ac_wine_try_cflags_saved
8259 eval ac_res=\$$as_ac_var
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8261 $as_echo "$ac_res" >&6; }
8262 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8263 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8264 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8265 else
8266 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8268 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8269 if eval \${$as_ac_var+:} false; then :
8270 $as_echo_n "(cached) " >&6
8271 else
8272 ac_wine_try_cflags_saved=$CFLAGS
8273 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8275 /* end confdefs.h. */
8276 int main(int argc, char **argv) { return 0; }
8277 _ACEOF
8278 if ac_fn_c_try_link "$LINENO"; then :
8279 eval "$as_ac_var=yes"
8280 else
8281 eval "$as_ac_var=no"
8283 rm -f core conftest.err conftest.$ac_objext \
8284 conftest$ac_exeext conftest.$ac_ext
8285 CFLAGS=$ac_wine_try_cflags_saved
8287 eval ac_res=\$$as_ac_var
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8289 $as_echo "$ac_res" >&6; }
8290 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8291 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8292 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8296 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8297 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8298 $as_echo_n "(cached) " >&6
8299 else
8300 ac_wine_try_cflags_saved=$CFLAGS
8301 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8303 /* end confdefs.h. */
8304 int main(int argc, char **argv) { return 0; }
8305 _ACEOF
8306 if ac_fn_c_try_link "$LINENO"; then :
8307 ac_cv_cflags__Wl___enable_new_dtags=yes
8308 else
8309 ac_cv_cflags__Wl___enable_new_dtags=no
8311 rm -f core conftest.err conftest.$ac_objext \
8312 conftest$ac_exeext conftest.$ac_ext
8313 CFLAGS=$ac_wine_try_cflags_saved
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8316 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8317 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8318 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8321 LIBWINE_SHAREDLIB="libwine.so"
8323 LIBWINE_INSTALL_LIB="libwine.so"
8325 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8329 $as_echo_n "checking for -lEGL... " >&6; }
8330 if ${ac_cv_lib_soname_EGL+:} false; then :
8331 $as_echo_n "(cached) " >&6
8332 else
8333 ac_check_soname_save_LIBS=$LIBS
8334 LIBS="-lEGL $LIBS"
8335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8336 /* end confdefs.h. */
8338 /* Override any GCC internal prototype to avoid an error.
8339 Use char because int might match the return type of a GCC
8340 builtin and then its argument prototype would still apply. */
8341 #ifdef __cplusplus
8342 extern "C"
8343 #endif
8344 char eglGetProcAddress ();
8346 main ()
8348 return eglGetProcAddress ();
8350 return 0;
8352 _ACEOF
8353 if ac_fn_c_try_link "$LINENO"; then :
8354 case "$LIBEXT" in
8355 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8356 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'` ;;
8357 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8358 if ${ac_cv_lib_soname_EGL:+false} :; then :
8359 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8360 fi ;;
8361 esac
8363 rm -f core conftest.err conftest.$ac_objext \
8364 conftest$ac_exeext conftest.$ac_ext
8365 LIBS=$ac_check_soname_save_LIBS
8367 if ${ac_cv_lib_soname_EGL:+false} :; then :
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8369 $as_echo "not found" >&6; }
8371 else
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8373 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8375 cat >>confdefs.h <<_ACEOF
8376 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8377 _ACEOF
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8382 $as_echo_n "checking for -lGLESv2... " >&6; }
8383 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8384 $as_echo_n "(cached) " >&6
8385 else
8386 ac_check_soname_save_LIBS=$LIBS
8387 LIBS="-lGLESv2 $LIBS"
8388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8389 /* end confdefs.h. */
8391 /* Override any GCC internal prototype to avoid an error.
8392 Use char because int might match the return type of a GCC
8393 builtin and then its argument prototype would still apply. */
8394 #ifdef __cplusplus
8395 extern "C"
8396 #endif
8397 char glFlush ();
8399 main ()
8401 return glFlush ();
8403 return 0;
8405 _ACEOF
8406 if ac_fn_c_try_link "$LINENO"; then :
8407 case "$LIBEXT" in
8408 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8409 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'` ;;
8410 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8411 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8412 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8413 fi ;;
8414 esac
8416 rm -f core conftest.err conftest.$ac_objext \
8417 conftest$ac_exeext conftest.$ac_ext
8418 LIBS=$ac_check_soname_save_LIBS
8420 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8422 $as_echo "not found" >&6; }
8424 else
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8426 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8428 cat >>confdefs.h <<_ACEOF
8429 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8430 _ACEOF
8435 if test "x$exec_prefix" = xNONE
8436 then
8437 case $host_cpu in
8438 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8439 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8440 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8441 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8442 esac
8447 DLLFLAGS="$DLLFLAGS -fPIC"
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8449 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8450 if ${ac_cv_c_dll_gnuelf+:} false; then :
8451 $as_echo_n "(cached) " >&6
8452 else
8453 ac_wine_try_cflags_saved=$CFLAGS
8454 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8456 /* end confdefs.h. */
8457 void myfunc() {}
8458 _ACEOF
8459 if ac_fn_c_try_link "$LINENO"; then :
8460 ac_cv_c_dll_gnuelf="yes"
8461 else
8462 ac_cv_c_dll_gnuelf="no"
8464 rm -f core conftest.err conftest.$ac_objext \
8465 conftest$ac_exeext conftest.$ac_ext
8466 CFLAGS=$ac_wine_try_cflags_saved
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8469 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8470 if test "$ac_cv_c_dll_gnuelf" = "yes"
8471 then
8472 LIBWINE_LDFLAGS="-shared"
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8474 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8475 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 ac_wine_try_cflags_saved=$CFLAGS
8479 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8481 /* end confdefs.h. */
8482 int main(int argc, char **argv) { return 0; }
8483 _ACEOF
8484 if ac_fn_c_try_link "$LINENO"; then :
8485 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8486 else
8487 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8489 rm -f core conftest.err conftest.$ac_objext \
8490 conftest$ac_exeext conftest.$ac_ext
8491 CFLAGS=$ac_wine_try_cflags_saved
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8494 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8495 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8496 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8497 else
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8499 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8500 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8501 $as_echo_n "(cached) " >&6
8502 else
8503 ac_wine_try_cflags_saved=$CFLAGS
8504 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 /* end confdefs.h. */
8507 int main(int argc, char **argv) { return 0; }
8508 _ACEOF
8509 if ac_fn_c_try_link "$LINENO"; then :
8510 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8511 else
8512 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8514 rm -f core conftest.err conftest.$ac_objext \
8515 conftest$ac_exeext conftest.$ac_ext
8516 CFLAGS=$ac_wine_try_cflags_saved
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8519 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8520 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8521 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8525 echo '{ global: *; };' >conftest.map
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8527 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8528 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8529 $as_echo_n "(cached) " >&6
8530 else
8531 ac_wine_try_cflags_saved=$CFLAGS
8532 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8535 int main(int argc, char **argv) { return 0; }
8536 _ACEOF
8537 if ac_fn_c_try_link "$LINENO"; then :
8538 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8539 else
8540 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8542 rm -f core conftest.err conftest.$ac_objext \
8543 conftest$ac_exeext conftest.$ac_ext
8544 CFLAGS=$ac_wine_try_cflags_saved
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8547 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8548 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8549 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8551 rm -f conftest.map
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8554 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8555 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8556 $as_echo_n "(cached) " >&6
8557 else
8558 ac_wine_try_cflags_saved=$CFLAGS
8559 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8561 /* end confdefs.h. */
8562 int main(int argc, char **argv) { return 0; }
8563 _ACEOF
8564 if ac_fn_c_try_link "$LINENO"; then :
8565 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8566 else
8567 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8569 rm -f core conftest.err conftest.$ac_objext \
8570 conftest$ac_exeext conftest.$ac_ext
8571 CFLAGS=$ac_wine_try_cflags_saved
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8574 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8575 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8576 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8579 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8581 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8582 if eval \${$as_ac_var+:} false; then :
8583 $as_echo_n "(cached) " >&6
8584 else
8585 ac_wine_try_cflags_saved=$CFLAGS
8586 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8588 /* end confdefs.h. */
8589 int main(int argc, char **argv) { return 0; }
8590 _ACEOF
8591 if ac_fn_c_try_link "$LINENO"; then :
8592 eval "$as_ac_var=yes"
8593 else
8594 eval "$as_ac_var=no"
8596 rm -f core conftest.err conftest.$ac_objext \
8597 conftest$ac_exeext conftest.$ac_ext
8598 CFLAGS=$ac_wine_try_cflags_saved
8600 eval ac_res=\$$as_ac_var
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8602 $as_echo "$ac_res" >&6; }
8603 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8604 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8605 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8606 else
8607 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8609 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8610 if eval \${$as_ac_var+:} false; then :
8611 $as_echo_n "(cached) " >&6
8612 else
8613 ac_wine_try_cflags_saved=$CFLAGS
8614 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8616 /* end confdefs.h. */
8617 int main(int argc, char **argv) { return 0; }
8618 _ACEOF
8619 if ac_fn_c_try_link "$LINENO"; then :
8620 eval "$as_ac_var=yes"
8621 else
8622 eval "$as_ac_var=no"
8624 rm -f core conftest.err conftest.$ac_objext \
8625 conftest$ac_exeext conftest.$ac_ext
8626 CFLAGS=$ac_wine_try_cflags_saved
8628 eval ac_res=\$$as_ac_var
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8630 $as_echo "$ac_res" >&6; }
8631 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8632 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8633 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8638 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8639 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8640 $as_echo_n "(cached) " >&6
8641 else
8642 ac_wine_try_cflags_saved=$CFLAGS
8643 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8645 /* end confdefs.h. */
8646 int main(int argc, char **argv) { return 0; }
8647 _ACEOF
8648 if ac_fn_c_try_link "$LINENO"; then :
8649 ac_cv_cflags__Wl___enable_new_dtags=yes
8650 else
8651 ac_cv_cflags__Wl___enable_new_dtags=no
8653 rm -f core conftest.err conftest.$ac_objext \
8654 conftest$ac_exeext conftest.$ac_ext
8655 CFLAGS=$ac_wine_try_cflags_saved
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8658 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8659 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8660 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8663 case $host_cpu in
8664 *i[3456789]86* | x86_64 | *aarch64*)
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8666 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8667 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8668 $as_echo_n "(cached) " >&6
8669 else
8670 ac_wine_try_cflags_saved=$CFLAGS
8671 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8673 /* end confdefs.h. */
8674 int main(int argc, char **argv) { return 0; }
8675 _ACEOF
8676 if ac_fn_c_try_link "$LINENO"; then :
8677 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8678 else
8679 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8681 rm -f core conftest.err conftest.$ac_objext \
8682 conftest$ac_exeext conftest.$ac_ext
8683 CFLAGS=$ac_wine_try_cflags_saved
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8686 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8687 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8688 case $host_os in
8689 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8690 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8691 esac
8692 else
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8694 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8695 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8696 $as_echo_n "(cached) " >&6
8697 else
8698 ac_wine_try_cflags_saved=$CFLAGS
8699 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8701 /* end confdefs.h. */
8702 int main(int argc, char **argv) { return 0; }
8703 _ACEOF
8704 if ac_fn_c_try_link "$LINENO"; then :
8705 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8706 else
8707 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8709 rm -f core conftest.err conftest.$ac_objext \
8710 conftest$ac_exeext conftest.$ac_ext
8711 CFLAGS=$ac_wine_try_cflags_saved
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8714 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8715 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8716 case $host_os in
8717 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8718 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8719 esac
8721 # Extract the first word of "prelink", so it can be a program name with args.
8722 set dummy prelink; ac_word=$2
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8724 $as_echo_n "checking for $ac_word... " >&6; }
8725 if ${ac_cv_path_PRELINK+:} false; then :
8726 $as_echo_n "(cached) " >&6
8727 else
8728 case $PRELINK in
8729 [\\/]* | ?:[\\/]*)
8730 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8734 for as_dir in /sbin /usr/sbin $PATH
8736 IFS=$as_save_IFS
8737 test -z "$as_dir" && as_dir=.
8738 for ac_exec_ext in '' $ac_executable_extensions; do
8739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8740 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8742 break 2
8744 done
8745 done
8746 IFS=$as_save_IFS
8748 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8750 esac
8752 PRELINK=$ac_cv_path_PRELINK
8753 if test -n "$PRELINK"; then
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8755 $as_echo "$PRELINK" >&6; }
8756 else
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8758 $as_echo "no" >&6; }
8762 if test "x$PRELINK" = xfalse
8763 then
8764 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8768 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8769 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8770 $as_echo_n "(cached) " >&6
8771 else
8772 ac_wine_try_cflags_saved=$CFLAGS
8773 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8775 /* end confdefs.h. */
8776 int main(int argc, char **argv) { return 0; }
8777 _ACEOF
8778 if ac_fn_c_try_link "$LINENO"; then :
8779 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8780 else
8781 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8783 rm -f core conftest.err conftest.$ac_objext \
8784 conftest$ac_exeext conftest.$ac_ext
8785 CFLAGS=$ac_wine_try_cflags_saved
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8788 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8789 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8790 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8793 esac
8795 else
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8797 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8798 if ${ac_cv_c_dll_unixware+:} false; then :
8799 $as_echo_n "(cached) " >&6
8800 else
8801 ac_wine_try_cflags_saved=$CFLAGS
8802 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8804 /* end confdefs.h. */
8805 void myfunc() {}
8806 _ACEOF
8807 if ac_fn_c_try_link "$LINENO"; then :
8808 ac_cv_c_dll_unixware="yes"
8809 else
8810 ac_cv_c_dll_unixware="no"
8812 rm -f core conftest.err conftest.$ac_objext \
8813 conftest$ac_exeext conftest.$ac_ext
8814 CFLAGS=$ac_wine_try_cflags_saved
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8817 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8818 if test "$ac_cv_c_dll_unixware" = "yes"
8819 then
8820 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8823 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8825 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8827 LIBWINE_INSTALL_DEV="libwine.so"
8829 LIBWINE_DEPENDS="wine.map"
8832 esac
8834 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8835 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8836 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8837 enable_winemac_drv=${enable_winemac_drv:-no}
8838 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8840 CROSSTARGET=""
8842 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8843 then
8844 case "$host_cpu" in
8845 arm*)
8846 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8847 i[3456789]86*)
8848 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
8849 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8850 mingw32-gcc" ;;
8851 x86_64)
8852 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
8853 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8855 ac_prefix_list="" ;;
8856 esac
8857 for ac_prog in $ac_prefix_list
8859 # Extract the first word of "$ac_prog", so it can be a program name with args.
8860 set dummy $ac_prog; ac_word=$2
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8862 $as_echo_n "checking for $ac_word... " >&6; }
8863 if ${ac_cv_prog_CROSSCC+:} false; then :
8864 $as_echo_n "(cached) " >&6
8865 else
8866 if test -n "$CROSSCC"; then
8867 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8868 else
8869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8870 for as_dir in $PATH
8872 IFS=$as_save_IFS
8873 test -z "$as_dir" && as_dir=.
8874 for ac_exec_ext in '' $ac_executable_extensions; do
8875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8876 ac_cv_prog_CROSSCC="$ac_prog"
8877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8878 break 2
8880 done
8881 done
8882 IFS=$as_save_IFS
8886 CROSSCC=$ac_cv_prog_CROSSCC
8887 if test -n "$CROSSCC"; then
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8889 $as_echo "$CROSSCC" >&6; }
8890 else
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8892 $as_echo "no" >&6; }
8896 test -n "$CROSSCC" && break
8897 done
8898 test -n "$CROSSCC" || CROSSCC="false"
8900 if test "$CROSSCC" != "false"
8901 then
8902 ac_save_CC="$CC"
8903 CC="$CROSSCC"
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8905 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8907 /* end confdefs.h. */
8910 main ()
8914 return 0;
8916 _ACEOF
8917 if ac_fn_c_try_compile "$LINENO"; then :
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8919 $as_echo "yes" >&6; }
8920 set x $CROSSCC
8921 shift
8922 while test $# -ge 1
8924 case "$1" in
8925 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8926 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8927 esac
8928 shift
8929 done
8930 else
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8932 $as_echo "no" >&6; }
8934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8935 CC="$ac_save_CC"
8936 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8942 if test "$ac_cv_header_pthread_h" = "yes"
8943 then
8944 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8945 if test "x$ac_cv_func_pthread_create" = xyes; then :
8947 else
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8949 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8950 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8951 $as_echo_n "(cached) " >&6
8952 else
8953 ac_check_lib_save_LIBS=$LIBS
8954 LIBS="-lpthread $LIBS"
8955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8956 /* end confdefs.h. */
8958 /* Override any GCC internal prototype to avoid an error.
8959 Use char because int might match the return type of a GCC
8960 builtin and then its argument prototype would still apply. */
8961 #ifdef __cplusplus
8962 extern "C"
8963 #endif
8964 char pthread_create ();
8966 main ()
8968 return pthread_create ();
8970 return 0;
8972 _ACEOF
8973 if ac_fn_c_try_link "$LINENO"; then :
8974 ac_cv_lib_pthread_pthread_create=yes
8975 else
8976 ac_cv_lib_pthread_pthread_create=no
8978 rm -f core conftest.err conftest.$ac_objext \
8979 conftest$ac_exeext conftest.$ac_ext
8980 LIBS=$ac_check_lib_save_LIBS
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8983 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8984 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8985 PTHREAD_LIBS="-lpthread"
8992 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8993 case "x$with_pthread" in
8994 xno) ;;
8995 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8996 Wine cannot support threads without libpthread.
8997 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8998 esac
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9004 $as_echo_n "checking for X... " >&6; }
9007 # Check whether --with-x was given.
9008 if test "${with_x+set}" = set; then :
9009 withval=$with_x;
9012 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9013 if test "x$with_x" = xno; then
9014 # The user explicitly disabled X.
9015 have_x=disabled
9016 else
9017 case $x_includes,$x_libraries in #(
9018 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9019 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9020 $as_echo_n "(cached) " >&6
9021 else
9022 # One or both of the vars are not set, and there is no cached value.
9023 ac_x_includes=no ac_x_libraries=no
9024 rm -f -r conftest.dir
9025 if mkdir conftest.dir; then
9026 cd conftest.dir
9027 cat >Imakefile <<'_ACEOF'
9028 incroot:
9029 @echo incroot='${INCROOT}'
9030 usrlibdir:
9031 @echo usrlibdir='${USRLIBDIR}'
9032 libdir:
9033 @echo libdir='${LIBDIR}'
9034 _ACEOF
9035 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9036 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9037 for ac_var in incroot usrlibdir libdir; do
9038 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9039 done
9040 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9041 for ac_extension in a so sl dylib la dll; do
9042 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9043 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9044 ac_im_usrlibdir=$ac_im_libdir; break
9046 done
9047 # Screen out bogus values from the imake configuration. They are
9048 # bogus both because they are the default anyway, and because
9049 # using them would break gcc on systems where it needs fixed includes.
9050 case $ac_im_incroot in
9051 /usr/include) ac_x_includes= ;;
9052 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9053 esac
9054 case $ac_im_usrlibdir in
9055 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9056 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9057 esac
9059 cd ..
9060 rm -f -r conftest.dir
9063 # Standard set of common directories for X headers.
9064 # Check X11 before X11Rn because it is often a symlink to the current release.
9065 ac_x_header_dirs='
9066 /usr/X11/include
9067 /usr/X11R7/include
9068 /usr/X11R6/include
9069 /usr/X11R5/include
9070 /usr/X11R4/include
9072 /usr/include/X11
9073 /usr/include/X11R7
9074 /usr/include/X11R6
9075 /usr/include/X11R5
9076 /usr/include/X11R4
9078 /usr/local/X11/include
9079 /usr/local/X11R7/include
9080 /usr/local/X11R6/include
9081 /usr/local/X11R5/include
9082 /usr/local/X11R4/include
9084 /usr/local/include/X11
9085 /usr/local/include/X11R7
9086 /usr/local/include/X11R6
9087 /usr/local/include/X11R5
9088 /usr/local/include/X11R4
9090 /usr/X386/include
9091 /usr/x386/include
9092 /usr/XFree86/include/X11
9094 /usr/include
9095 /usr/local/include
9096 /usr/unsupported/include
9097 /usr/athena/include
9098 /usr/local/x11r5/include
9099 /usr/lpp/Xamples/include
9101 /usr/openwin/include
9102 /usr/openwin/share/include'
9104 if test "$ac_x_includes" = no; then
9105 # Guess where to find include files, by looking for Xlib.h.
9106 # First, try using that file with no special directory specified.
9107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9108 /* end confdefs.h. */
9109 #include <X11/Xlib.h>
9110 _ACEOF
9111 if ac_fn_c_try_cpp "$LINENO"; then :
9112 # We can compile using X headers with no special include directory.
9113 ac_x_includes=
9114 else
9115 for ac_dir in $ac_x_header_dirs; do
9116 if test -r "$ac_dir/X11/Xlib.h"; then
9117 ac_x_includes=$ac_dir
9118 break
9120 done
9122 rm -f conftest.err conftest.i conftest.$ac_ext
9123 fi # $ac_x_includes = no
9125 if test "$ac_x_libraries" = no; then
9126 # Check for the libraries.
9127 # See if we find them without any special options.
9128 # Don't add to $LIBS permanently.
9129 ac_save_LIBS=$LIBS
9130 LIBS="-lX11 $LIBS"
9131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9132 /* end confdefs.h. */
9133 #include <X11/Xlib.h>
9135 main ()
9137 XrmInitialize ()
9139 return 0;
9141 _ACEOF
9142 if ac_fn_c_try_link "$LINENO"; then :
9143 LIBS=$ac_save_LIBS
9144 # We can link X programs with no special library path.
9145 ac_x_libraries=
9146 else
9147 LIBS=$ac_save_LIBS
9148 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9150 # Don't even attempt the hair of trying to link an X program!
9151 for ac_extension in a so sl dylib la dll; do
9152 if test -r "$ac_dir/libX11.$ac_extension"; then
9153 ac_x_libraries=$ac_dir
9154 break 2
9156 done
9157 done
9159 rm -f core conftest.err conftest.$ac_objext \
9160 conftest$ac_exeext conftest.$ac_ext
9161 fi # $ac_x_libraries = no
9163 case $ac_x_includes,$ac_x_libraries in #(
9164 no,* | *,no | *\'*)
9165 # Didn't find X, or a directory has "'" in its name.
9166 ac_cv_have_x="have_x=no";; #(
9168 # Record where we found X for the cache.
9169 ac_cv_have_x="have_x=yes\
9170 ac_x_includes='$ac_x_includes'\
9171 ac_x_libraries='$ac_x_libraries'"
9172 esac
9174 ;; #(
9175 *) have_x=yes;;
9176 esac
9177 eval "$ac_cv_have_x"
9178 fi # $with_x != no
9180 if test "$have_x" != yes; then
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9182 $as_echo "$have_x" >&6; }
9183 no_x=yes
9184 else
9185 # If each of the values was on the command line, it overrides each guess.
9186 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9187 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9188 # Update the cache value to reflect the command line values.
9189 ac_cv_have_x="have_x=yes\
9190 ac_x_includes='$x_includes'\
9191 ac_x_libraries='$x_libraries'"
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9193 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9196 if test "$no_x" = yes; then
9197 # Not all programs may use this symbol, but it does not hurt to define it.
9199 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9201 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9202 else
9203 if test -n "$x_includes"; then
9204 X_CFLAGS="$X_CFLAGS -I$x_includes"
9207 # It would also be nice to do this for all -L options, not just this one.
9208 if test -n "$x_libraries"; then
9209 X_LIBS="$X_LIBS -L$x_libraries"
9210 # For Solaris; some versions of Sun CC require a space after -R and
9211 # others require no space. Words are not sufficient . . . .
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9213 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9214 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9215 ac_xsave_c_werror_flag=$ac_c_werror_flag
9216 ac_c_werror_flag=yes
9217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9218 /* end confdefs.h. */
9221 main ()
9225 return 0;
9227 _ACEOF
9228 if ac_fn_c_try_link "$LINENO"; then :
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9230 $as_echo "no" >&6; }
9231 X_LIBS="$X_LIBS -R$x_libraries"
9232 else
9233 LIBS="$ac_xsave_LIBS -R $x_libraries"
9234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9235 /* end confdefs.h. */
9238 main ()
9242 return 0;
9244 _ACEOF
9245 if ac_fn_c_try_link "$LINENO"; then :
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9247 $as_echo "yes" >&6; }
9248 X_LIBS="$X_LIBS -R $x_libraries"
9249 else
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9251 $as_echo "neither works" >&6; }
9253 rm -f core conftest.err conftest.$ac_objext \
9254 conftest$ac_exeext conftest.$ac_ext
9256 rm -f core conftest.err conftest.$ac_objext \
9257 conftest$ac_exeext conftest.$ac_ext
9258 ac_c_werror_flag=$ac_xsave_c_werror_flag
9259 LIBS=$ac_xsave_LIBS
9262 # Check for system-dependent libraries X programs must link with.
9263 # Do this before checking for the system-independent R6 libraries
9264 # (-lICE), since we may need -lsocket or whatever for X linking.
9266 if test "$ISC" = yes; then
9267 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9268 else
9269 # Martyn Johnson says this is needed for Ultrix, if the X
9270 # libraries were built with DECnet support. And Karl Berry says
9271 # the Alpha needs dnet_stub (dnet does not exist).
9272 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9274 /* end confdefs.h. */
9276 /* Override any GCC internal prototype to avoid an error.
9277 Use char because int might match the return type of a GCC
9278 builtin and then its argument prototype would still apply. */
9279 #ifdef __cplusplus
9280 extern "C"
9281 #endif
9282 char XOpenDisplay ();
9284 main ()
9286 return XOpenDisplay ();
9288 return 0;
9290 _ACEOF
9291 if ac_fn_c_try_link "$LINENO"; then :
9293 else
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9295 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9296 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9297 $as_echo_n "(cached) " >&6
9298 else
9299 ac_check_lib_save_LIBS=$LIBS
9300 LIBS="-ldnet $LIBS"
9301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9302 /* end confdefs.h. */
9304 /* Override any GCC internal prototype to avoid an error.
9305 Use char because int might match the return type of a GCC
9306 builtin and then its argument prototype would still apply. */
9307 #ifdef __cplusplus
9308 extern "C"
9309 #endif
9310 char dnet_ntoa ();
9312 main ()
9314 return dnet_ntoa ();
9316 return 0;
9318 _ACEOF
9319 if ac_fn_c_try_link "$LINENO"; then :
9320 ac_cv_lib_dnet_dnet_ntoa=yes
9321 else
9322 ac_cv_lib_dnet_dnet_ntoa=no
9324 rm -f core conftest.err conftest.$ac_objext \
9325 conftest$ac_exeext conftest.$ac_ext
9326 LIBS=$ac_check_lib_save_LIBS
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9329 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9330 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9331 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9334 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9336 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9337 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9338 $as_echo_n "(cached) " >&6
9339 else
9340 ac_check_lib_save_LIBS=$LIBS
9341 LIBS="-ldnet_stub $LIBS"
9342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9343 /* end confdefs.h. */
9345 /* Override any GCC internal prototype to avoid an error.
9346 Use char because int might match the return type of a GCC
9347 builtin and then its argument prototype would still apply. */
9348 #ifdef __cplusplus
9349 extern "C"
9350 #endif
9351 char dnet_ntoa ();
9353 main ()
9355 return dnet_ntoa ();
9357 return 0;
9359 _ACEOF
9360 if ac_fn_c_try_link "$LINENO"; then :
9361 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9362 else
9363 ac_cv_lib_dnet_stub_dnet_ntoa=no
9365 rm -f core conftest.err conftest.$ac_objext \
9366 conftest$ac_exeext conftest.$ac_ext
9367 LIBS=$ac_check_lib_save_LIBS
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9370 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9371 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9372 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9377 rm -f core conftest.err conftest.$ac_objext \
9378 conftest$ac_exeext conftest.$ac_ext
9379 LIBS="$ac_xsave_LIBS"
9381 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9382 # to get the SysV transport functions.
9383 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9384 # needs -lnsl.
9385 # The nsl library prevents programs from opening the X display
9386 # on Irix 5.2, according to T.E. Dickey.
9387 # The functions gethostbyname, getservbyname, and inet_addr are
9388 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9389 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9390 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9394 if test $ac_cv_func_gethostbyname = no; then
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9396 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9397 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9398 $as_echo_n "(cached) " >&6
9399 else
9400 ac_check_lib_save_LIBS=$LIBS
9401 LIBS="-lnsl $LIBS"
9402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9403 /* end confdefs.h. */
9405 /* Override any GCC internal prototype to avoid an error.
9406 Use char because int might match the return type of a GCC
9407 builtin and then its argument prototype would still apply. */
9408 #ifdef __cplusplus
9409 extern "C"
9410 #endif
9411 char gethostbyname ();
9413 main ()
9415 return gethostbyname ();
9417 return 0;
9419 _ACEOF
9420 if ac_fn_c_try_link "$LINENO"; then :
9421 ac_cv_lib_nsl_gethostbyname=yes
9422 else
9423 ac_cv_lib_nsl_gethostbyname=no
9425 rm -f core conftest.err conftest.$ac_objext \
9426 conftest$ac_exeext conftest.$ac_ext
9427 LIBS=$ac_check_lib_save_LIBS
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9430 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9431 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9432 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9435 if test $ac_cv_lib_nsl_gethostbyname = no; then
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9437 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9438 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9439 $as_echo_n "(cached) " >&6
9440 else
9441 ac_check_lib_save_LIBS=$LIBS
9442 LIBS="-lbsd $LIBS"
9443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9444 /* end confdefs.h. */
9446 /* Override any GCC internal prototype to avoid an error.
9447 Use char because int might match the return type of a GCC
9448 builtin and then its argument prototype would still apply. */
9449 #ifdef __cplusplus
9450 extern "C"
9451 #endif
9452 char gethostbyname ();
9454 main ()
9456 return gethostbyname ();
9458 return 0;
9460 _ACEOF
9461 if ac_fn_c_try_link "$LINENO"; then :
9462 ac_cv_lib_bsd_gethostbyname=yes
9463 else
9464 ac_cv_lib_bsd_gethostbyname=no
9466 rm -f core conftest.err conftest.$ac_objext \
9467 conftest$ac_exeext conftest.$ac_ext
9468 LIBS=$ac_check_lib_save_LIBS
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9471 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9472 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9473 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9479 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9480 # socket/setsockopt and other routines are undefined under SCO ODT
9481 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9482 # on later versions), says Simon Leinen: it contains gethostby*
9483 # variants that don't use the name server (or something). -lsocket
9484 # must be given before -lnsl if both are needed. We assume that
9485 # if connect needs -lnsl, so does gethostbyname.
9486 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9487 if test "x$ac_cv_func_connect" = xyes; then :
9491 if test $ac_cv_func_connect = no; then
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9493 $as_echo_n "checking for connect in -lsocket... " >&6; }
9494 if ${ac_cv_lib_socket_connect+:} false; then :
9495 $as_echo_n "(cached) " >&6
9496 else
9497 ac_check_lib_save_LIBS=$LIBS
9498 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9500 /* end confdefs.h. */
9502 /* Override any GCC internal prototype to avoid an error.
9503 Use char because int might match the return type of a GCC
9504 builtin and then its argument prototype would still apply. */
9505 #ifdef __cplusplus
9506 extern "C"
9507 #endif
9508 char connect ();
9510 main ()
9512 return connect ();
9514 return 0;
9516 _ACEOF
9517 if ac_fn_c_try_link "$LINENO"; then :
9518 ac_cv_lib_socket_connect=yes
9519 else
9520 ac_cv_lib_socket_connect=no
9522 rm -f core conftest.err conftest.$ac_objext \
9523 conftest$ac_exeext conftest.$ac_ext
9524 LIBS=$ac_check_lib_save_LIBS
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9527 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9528 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9529 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9534 # Guillermo Gomez says -lposix is necessary on A/UX.
9535 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9536 if test "x$ac_cv_func_remove" = xyes; then :
9540 if test $ac_cv_func_remove = no; then
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9542 $as_echo_n "checking for remove in -lposix... " >&6; }
9543 if ${ac_cv_lib_posix_remove+:} false; then :
9544 $as_echo_n "(cached) " >&6
9545 else
9546 ac_check_lib_save_LIBS=$LIBS
9547 LIBS="-lposix $LIBS"
9548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9551 /* Override any GCC internal prototype to avoid an error.
9552 Use char because int might match the return type of a GCC
9553 builtin and then its argument prototype would still apply. */
9554 #ifdef __cplusplus
9555 extern "C"
9556 #endif
9557 char remove ();
9559 main ()
9561 return remove ();
9563 return 0;
9565 _ACEOF
9566 if ac_fn_c_try_link "$LINENO"; then :
9567 ac_cv_lib_posix_remove=yes
9568 else
9569 ac_cv_lib_posix_remove=no
9571 rm -f core conftest.err conftest.$ac_objext \
9572 conftest$ac_exeext conftest.$ac_ext
9573 LIBS=$ac_check_lib_save_LIBS
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9576 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9577 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9578 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9583 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9584 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9585 if test "x$ac_cv_func_shmat" = xyes; then :
9589 if test $ac_cv_func_shmat = no; then
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9591 $as_echo_n "checking for shmat in -lipc... " >&6; }
9592 if ${ac_cv_lib_ipc_shmat+:} false; then :
9593 $as_echo_n "(cached) " >&6
9594 else
9595 ac_check_lib_save_LIBS=$LIBS
9596 LIBS="-lipc $LIBS"
9597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9598 /* end confdefs.h. */
9600 /* Override any GCC internal prototype to avoid an error.
9601 Use char because int might match the return type of a GCC
9602 builtin and then its argument prototype would still apply. */
9603 #ifdef __cplusplus
9604 extern "C"
9605 #endif
9606 char shmat ();
9608 main ()
9610 return shmat ();
9612 return 0;
9614 _ACEOF
9615 if ac_fn_c_try_link "$LINENO"; then :
9616 ac_cv_lib_ipc_shmat=yes
9617 else
9618 ac_cv_lib_ipc_shmat=no
9620 rm -f core conftest.err conftest.$ac_objext \
9621 conftest$ac_exeext conftest.$ac_ext
9622 LIBS=$ac_check_lib_save_LIBS
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9625 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9626 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9627 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9633 # Check for libraries that X11R6 Xt/Xaw programs need.
9634 ac_save_LDFLAGS=$LDFLAGS
9635 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9636 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9637 # check for ICE first), but we must link in the order -lSM -lICE or
9638 # we get undefined symbols. So assume we have SM if we have ICE.
9639 # These have to be linked with before -lX11, unlike the other
9640 # libraries we check for below, so use a different variable.
9641 # John Interrante, Karl Berry
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9643 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9644 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9645 $as_echo_n "(cached) " >&6
9646 else
9647 ac_check_lib_save_LIBS=$LIBS
9648 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9650 /* end confdefs.h. */
9652 /* Override any GCC internal prototype to avoid an error.
9653 Use char because int might match the return type of a GCC
9654 builtin and then its argument prototype would still apply. */
9655 #ifdef __cplusplus
9656 extern "C"
9657 #endif
9658 char IceConnectionNumber ();
9660 main ()
9662 return IceConnectionNumber ();
9664 return 0;
9666 _ACEOF
9667 if ac_fn_c_try_link "$LINENO"; then :
9668 ac_cv_lib_ICE_IceConnectionNumber=yes
9669 else
9670 ac_cv_lib_ICE_IceConnectionNumber=no
9672 rm -f core conftest.err conftest.$ac_objext \
9673 conftest$ac_exeext conftest.$ac_ext
9674 LIBS=$ac_check_lib_save_LIBS
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9677 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9678 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9679 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9682 LDFLAGS=$ac_save_LDFLAGS
9687 if test "$have_x" = "yes"
9688 then
9689 ac_save_CPPFLAGS="$CPPFLAGS"
9690 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9693 $as_echo_n "checking for -lX11... " >&6; }
9694 if ${ac_cv_lib_soname_X11+:} false; then :
9695 $as_echo_n "(cached) " >&6
9696 else
9697 ac_check_soname_save_LIBS=$LIBS
9698 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9700 /* end confdefs.h. */
9702 /* Override any GCC internal prototype to avoid an error.
9703 Use char because int might match the return type of a GCC
9704 builtin and then its argument prototype would still apply. */
9705 #ifdef __cplusplus
9706 extern "C"
9707 #endif
9708 char XCreateWindow ();
9710 main ()
9712 return XCreateWindow ();
9714 return 0;
9716 _ACEOF
9717 if ac_fn_c_try_link "$LINENO"; then :
9718 case "$LIBEXT" in
9719 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9720 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'` ;;
9721 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9722 if ${ac_cv_lib_soname_X11:+false} :; then :
9723 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9724 fi ;;
9725 esac
9727 rm -f core conftest.err conftest.$ac_objext \
9728 conftest$ac_exeext conftest.$ac_ext
9729 LIBS=$ac_check_soname_save_LIBS
9731 if ${ac_cv_lib_soname_X11:+false} :; then :
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9733 $as_echo "not found" >&6; }
9735 else
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9737 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9739 cat >>confdefs.h <<_ACEOF
9740 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9741 _ACEOF
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9746 $as_echo_n "checking for -lXext... " >&6; }
9747 if ${ac_cv_lib_soname_Xext+:} false; then :
9748 $as_echo_n "(cached) " >&6
9749 else
9750 ac_check_soname_save_LIBS=$LIBS
9751 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9753 /* end confdefs.h. */
9755 /* Override any GCC internal prototype to avoid an error.
9756 Use char because int might match the return type of a GCC
9757 builtin and then its argument prototype would still apply. */
9758 #ifdef __cplusplus
9759 extern "C"
9760 #endif
9761 char XextCreateExtension ();
9763 main ()
9765 return XextCreateExtension ();
9767 return 0;
9769 _ACEOF
9770 if ac_fn_c_try_link "$LINENO"; then :
9771 case "$LIBEXT" in
9772 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9773 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'` ;;
9774 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9775 if ${ac_cv_lib_soname_Xext:+false} :; then :
9776 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9777 fi ;;
9778 esac
9780 rm -f core conftest.err conftest.$ac_objext \
9781 conftest$ac_exeext conftest.$ac_ext
9782 LIBS=$ac_check_soname_save_LIBS
9784 if ${ac_cv_lib_soname_Xext:+false} :; then :
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9786 $as_echo "not found" >&6; }
9788 else
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9790 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9792 cat >>confdefs.h <<_ACEOF
9793 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9794 _ACEOF
9796 X_LIBS="$X_LIBS -lXext"
9798 X_LIBS="$X_LIBS -lX11"
9800 for ac_header in X11/Xlib.h \
9801 X11/XKBlib.h \
9802 X11/Xutil.h \
9803 X11/Xcursor/Xcursor.h \
9804 X11/extensions/shape.h \
9805 X11/extensions/XInput.h \
9806 X11/extensions/XInput2.h \
9807 X11/extensions/XShm.h \
9808 X11/extensions/Xcomposite.h \
9809 X11/extensions/Xfixes.h \
9810 X11/extensions/Xinerama.h \
9811 X11/extensions/Xrandr.h \
9812 X11/extensions/Xrender.h \
9813 X11/extensions/xf86vmode.h \
9814 X11/extensions/xf86vmproto.h
9815 do :
9816 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9817 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9818 # include <X11/Xlib.h>
9819 #endif
9820 #ifdef HAVE_X11_XUTIL_H
9821 # include <X11/Xutil.h>
9822 #endif
9824 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9825 cat >>confdefs.h <<_ACEOF
9826 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9827 _ACEOF
9831 done
9834 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9835 then
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9837 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9838 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9839 $as_echo_n "(cached) " >&6
9840 else
9841 ac_check_lib_save_LIBS=$LIBS
9842 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9844 /* end confdefs.h. */
9846 /* Override any GCC internal prototype to avoid an error.
9847 Use char because int might match the return type of a GCC
9848 builtin and then its argument prototype would still apply. */
9849 #ifdef __cplusplus
9850 extern "C"
9851 #endif
9852 char XkbQueryExtension ();
9854 main ()
9856 return XkbQueryExtension ();
9858 return 0;
9860 _ACEOF
9861 if ac_fn_c_try_link "$LINENO"; then :
9862 ac_cv_lib_X11_XkbQueryExtension=yes
9863 else
9864 ac_cv_lib_X11_XkbQueryExtension=no
9866 rm -f core conftest.err conftest.$ac_objext \
9867 conftest$ac_exeext conftest.$ac_ext
9868 LIBS=$ac_check_lib_save_LIBS
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9871 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9872 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9874 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9880 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9881 then
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9883 $as_echo_n "checking for -lXcursor... " >&6; }
9884 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9885 $as_echo_n "(cached) " >&6
9886 else
9887 ac_check_soname_save_LIBS=$LIBS
9888 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9890 /* end confdefs.h. */
9892 /* Override any GCC internal prototype to avoid an error.
9893 Use char because int might match the return type of a GCC
9894 builtin and then its argument prototype would still apply. */
9895 #ifdef __cplusplus
9896 extern "C"
9897 #endif
9898 char XcursorImageLoadCursor ();
9900 main ()
9902 return XcursorImageLoadCursor ();
9904 return 0;
9906 _ACEOF
9907 if ac_fn_c_try_link "$LINENO"; then :
9908 case "$LIBEXT" in
9909 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9910 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'` ;;
9911 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9912 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9913 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9914 fi ;;
9915 esac
9917 rm -f core conftest.err conftest.$ac_objext \
9918 conftest$ac_exeext conftest.$ac_ext
9919 LIBS=$ac_check_soname_save_LIBS
9921 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9923 $as_echo "not found" >&6; }
9925 else
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9927 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9929 cat >>confdefs.h <<_ACEOF
9930 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9931 _ACEOF
9936 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9937 case "x$with_xcursor" in
9938 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9939 xno) ;;
9940 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9941 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9942 esac
9946 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9947 then
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9949 $as_echo_n "checking for -lXi... " >&6; }
9950 if ${ac_cv_lib_soname_Xi+:} false; then :
9951 $as_echo_n "(cached) " >&6
9952 else
9953 ac_check_soname_save_LIBS=$LIBS
9954 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9956 /* end confdefs.h. */
9958 /* Override any GCC internal prototype to avoid an error.
9959 Use char because int might match the return type of a GCC
9960 builtin and then its argument prototype would still apply. */
9961 #ifdef __cplusplus
9962 extern "C"
9963 #endif
9964 char XOpenDevice ();
9966 main ()
9968 return XOpenDevice ();
9970 return 0;
9972 _ACEOF
9973 if ac_fn_c_try_link "$LINENO"; then :
9974 case "$LIBEXT" in
9975 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9976 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'` ;;
9977 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9978 if ${ac_cv_lib_soname_Xi:+false} :; then :
9979 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9980 fi ;;
9981 esac
9983 rm -f core conftest.err conftest.$ac_objext \
9984 conftest$ac_exeext conftest.$ac_ext
9985 LIBS=$ac_check_soname_save_LIBS
9987 if ${ac_cv_lib_soname_Xi:+false} :; then :
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9989 $as_echo "not found" >&6; }
9991 else
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9993 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9995 cat >>confdefs.h <<_ACEOF
9996 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9997 _ACEOF
10002 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10003 case "x$with_xinput" in
10004 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10005 xno) ;;
10006 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10007 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10008 esac
10012 if test "x$ac_cv_lib_soname_Xi" != x
10013 then
10014 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10015 case "x$with_xinput2" in
10016 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10017 xno) ;;
10018 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10019 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10020 esac
10025 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10026 then
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10028 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10029 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10030 $as_echo_n "(cached) " >&6
10031 else
10032 ac_check_lib_save_LIBS=$LIBS
10033 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10035 /* end confdefs.h. */
10037 /* Override any GCC internal prototype to avoid an error.
10038 Use char because int might match the return type of a GCC
10039 builtin and then its argument prototype would still apply. */
10040 #ifdef __cplusplus
10041 extern "C"
10042 #endif
10043 char XShmQueryExtension ();
10045 main ()
10047 return XShmQueryExtension ();
10049 return 0;
10051 _ACEOF
10052 if ac_fn_c_try_link "$LINENO"; then :
10053 ac_cv_lib_Xext_XShmQueryExtension=yes
10054 else
10055 ac_cv_lib_Xext_XShmQueryExtension=no
10057 rm -f core conftest.err conftest.$ac_objext \
10058 conftest$ac_exeext conftest.$ac_ext
10059 LIBS=$ac_check_lib_save_LIBS
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10062 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10063 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10065 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10070 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10071 case "x$with_xshm" in
10072 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10073 xno) ;;
10074 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10075 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10076 esac
10080 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10081 then
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10083 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10084 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10085 $as_echo_n "(cached) " >&6
10086 else
10087 ac_check_lib_save_LIBS=$LIBS
10088 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10090 /* end confdefs.h. */
10092 /* Override any GCC internal prototype to avoid an error.
10093 Use char because int might match the return type of a GCC
10094 builtin and then its argument prototype would still apply. */
10095 #ifdef __cplusplus
10096 extern "C"
10097 #endif
10098 char XShapeQueryExtension ();
10100 main ()
10102 return XShapeQueryExtension ();
10104 return 0;
10106 _ACEOF
10107 if ac_fn_c_try_link "$LINENO"; then :
10108 ac_cv_lib_Xext_XShapeQueryExtension=yes
10109 else
10110 ac_cv_lib_Xext_XShapeQueryExtension=no
10112 rm -f core conftest.err conftest.$ac_objext \
10113 conftest$ac_exeext conftest.$ac_ext
10114 LIBS=$ac_check_lib_save_LIBS
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10117 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10118 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10120 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10125 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10126 case "x$with_xshape" in
10127 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10128 xno) ;;
10129 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10130 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10131 esac
10135 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10136 then
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10138 $as_echo_n "checking for -lXxf86vm... " >&6; }
10139 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10140 $as_echo_n "(cached) " >&6
10141 else
10142 ac_check_soname_save_LIBS=$LIBS
10143 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10145 /* end confdefs.h. */
10147 /* Override any GCC internal prototype to avoid an error.
10148 Use char because int might match the return type of a GCC
10149 builtin and then its argument prototype would still apply. */
10150 #ifdef __cplusplus
10151 extern "C"
10152 #endif
10153 char XF86VidModeQueryExtension ();
10155 main ()
10157 return XF86VidModeQueryExtension ();
10159 return 0;
10161 _ACEOF
10162 if ac_fn_c_try_link "$LINENO"; then :
10163 case "$LIBEXT" in
10164 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10165 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'` ;;
10166 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10167 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10168 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10169 fi ;;
10170 esac
10172 rm -f core conftest.err conftest.$ac_objext \
10173 conftest$ac_exeext conftest.$ac_ext
10174 LIBS=$ac_check_soname_save_LIBS
10176 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10178 $as_echo "not found" >&6; }
10180 else
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10182 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10184 cat >>confdefs.h <<_ACEOF
10185 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10186 _ACEOF
10191 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10192 case "x$with_xxf86vm" in
10193 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10194 xno) ;;
10195 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10196 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10197 esac
10201 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10202 then
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10204 $as_echo_n "checking for -lXrender... " >&6; }
10205 if ${ac_cv_lib_soname_Xrender+:} false; then :
10206 $as_echo_n "(cached) " >&6
10207 else
10208 ac_check_soname_save_LIBS=$LIBS
10209 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10211 /* end confdefs.h. */
10213 /* Override any GCC internal prototype to avoid an error.
10214 Use char because int might match the return type of a GCC
10215 builtin and then its argument prototype would still apply. */
10216 #ifdef __cplusplus
10217 extern "C"
10218 #endif
10219 char XRenderQueryExtension ();
10221 main ()
10223 return XRenderQueryExtension ();
10225 return 0;
10227 _ACEOF
10228 if ac_fn_c_try_link "$LINENO"; then :
10229 case "$LIBEXT" in
10230 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10231 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'` ;;
10232 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10233 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10234 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10235 fi ;;
10236 esac
10238 rm -f core conftest.err conftest.$ac_objext \
10239 conftest$ac_exeext conftest.$ac_ext
10240 LIBS=$ac_check_soname_save_LIBS
10242 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10244 $as_echo "not found" >&6; }
10246 else
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10248 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10250 cat >>confdefs.h <<_ACEOF
10251 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10252 _ACEOF
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10255 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10256 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10257 $as_echo_n "(cached) " >&6
10258 else
10259 ac_check_lib_save_LIBS=$LIBS
10260 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10262 /* end confdefs.h. */
10264 /* Override any GCC internal prototype to avoid an error.
10265 Use char because int might match the return type of a GCC
10266 builtin and then its argument prototype would still apply. */
10267 #ifdef __cplusplus
10268 extern "C"
10269 #endif
10270 char XRenderSetPictureTransform ();
10272 main ()
10274 return XRenderSetPictureTransform ();
10276 return 0;
10278 _ACEOF
10279 if ac_fn_c_try_link "$LINENO"; then :
10280 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10281 else
10282 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10284 rm -f core conftest.err conftest.$ac_objext \
10285 conftest$ac_exeext conftest.$ac_ext
10286 LIBS=$ac_check_lib_save_LIBS
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10289 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10290 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10292 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10297 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10298 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10299 $as_echo_n "(cached) " >&6
10300 else
10301 ac_check_lib_save_LIBS=$LIBS
10302 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10304 /* end confdefs.h. */
10306 /* Override any GCC internal prototype to avoid an error.
10307 Use char because int might match the return type of a GCC
10308 builtin and then its argument prototype would still apply. */
10309 #ifdef __cplusplus
10310 extern "C"
10311 #endif
10312 char XRenderCreateLinearGradient ();
10314 main ()
10316 return XRenderCreateLinearGradient ();
10318 return 0;
10320 _ACEOF
10321 if ac_fn_c_try_link "$LINENO"; then :
10322 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10323 else
10324 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10326 rm -f core conftest.err conftest.$ac_objext \
10327 conftest$ac_exeext conftest.$ac_ext
10328 LIBS=$ac_check_lib_save_LIBS
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10331 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10332 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10334 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10341 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10342 case "x$with_xrender" in
10343 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10344 xno) ;;
10345 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10346 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10347 esac
10351 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10352 then
10353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10354 /* end confdefs.h. */
10355 #include <X11/Xlib.h>
10356 #include <X11/extensions/Xrandr.h>
10358 main ()
10360 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10362 return 0;
10364 _ACEOF
10365 if ac_fn_c_try_compile "$LINENO"; then :
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10367 $as_echo_n "checking for -lXrandr... " >&6; }
10368 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10369 $as_echo_n "(cached) " >&6
10370 else
10371 ac_check_soname_save_LIBS=$LIBS
10372 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10374 /* end confdefs.h. */
10376 /* Override any GCC internal prototype to avoid an error.
10377 Use char because int might match the return type of a GCC
10378 builtin and then its argument prototype would still apply. */
10379 #ifdef __cplusplus
10380 extern "C"
10381 #endif
10382 char XRRQueryExtension ();
10384 main ()
10386 return XRRQueryExtension ();
10388 return 0;
10390 _ACEOF
10391 if ac_fn_c_try_link "$LINENO"; then :
10392 case "$LIBEXT" in
10393 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10394 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'` ;;
10395 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10396 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10397 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10398 fi ;;
10399 esac
10401 rm -f core conftest.err conftest.$ac_objext \
10402 conftest$ac_exeext conftest.$ac_ext
10403 LIBS=$ac_check_soname_save_LIBS
10405 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10407 $as_echo "not found" >&6; }
10409 else
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10411 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10413 cat >>confdefs.h <<_ACEOF
10414 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10415 _ACEOF
10417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10418 /* end confdefs.h. */
10419 #include <X11/Xlib.h>
10420 #include <X11/extensions/Xrandr.h>
10422 main ()
10424 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10426 return 0;
10428 _ACEOF
10429 if ac_fn_c_try_compile "$LINENO"; then :
10431 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10439 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10440 case "x$with_xrandr" in
10441 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10442 xno) ;;
10443 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10444 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10445 esac
10449 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10450 then
10451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10453 #include <X11/Xlib.h>
10454 #include <X11/extensions/Xfixes.h>
10456 main ()
10458 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10460 return 0;
10462 _ACEOF
10463 if ac_fn_c_try_compile "$LINENO"; then :
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10465 $as_echo_n "checking for -lXfixes... " >&6; }
10466 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10467 $as_echo_n "(cached) " >&6
10468 else
10469 ac_check_soname_save_LIBS=$LIBS
10470 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10472 /* end confdefs.h. */
10474 /* Override any GCC internal prototype to avoid an error.
10475 Use char because int might match the return type of a GCC
10476 builtin and then its argument prototype would still apply. */
10477 #ifdef __cplusplus
10478 extern "C"
10479 #endif
10480 char XFixesQueryVersion ();
10482 main ()
10484 return XFixesQueryVersion ();
10486 return 0;
10488 _ACEOF
10489 if ac_fn_c_try_link "$LINENO"; then :
10490 case "$LIBEXT" in
10491 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10492 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'` ;;
10493 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10494 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10495 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10496 fi ;;
10497 esac
10499 rm -f core conftest.err conftest.$ac_objext \
10500 conftest$ac_exeext conftest.$ac_ext
10501 LIBS=$ac_check_soname_save_LIBS
10503 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10505 $as_echo "not found" >&6; }
10507 else
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10509 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10511 cat >>confdefs.h <<_ACEOF
10512 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10513 _ACEOF
10518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10520 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10521 case "x$with_xfixes" in
10522 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10523 xno) ;;
10524 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10525 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10526 esac
10530 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10531 then
10532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10533 /* end confdefs.h. */
10534 #include <X11/Xlib.h>
10535 #include <X11/extensions/Xinerama.h>
10537 main ()
10539 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10541 return 0;
10543 _ACEOF
10544 if ac_fn_c_try_compile "$LINENO"; then :
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10546 $as_echo_n "checking for -lXinerama... " >&6; }
10547 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10548 $as_echo_n "(cached) " >&6
10549 else
10550 ac_check_soname_save_LIBS=$LIBS
10551 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10553 /* end confdefs.h. */
10555 /* Override any GCC internal prototype to avoid an error.
10556 Use char because int might match the return type of a GCC
10557 builtin and then its argument prototype would still apply. */
10558 #ifdef __cplusplus
10559 extern "C"
10560 #endif
10561 char XineramaQueryScreens ();
10563 main ()
10565 return XineramaQueryScreens ();
10567 return 0;
10569 _ACEOF
10570 if ac_fn_c_try_link "$LINENO"; then :
10571 case "$LIBEXT" in
10572 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10573 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'` ;;
10574 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10575 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10576 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10577 fi ;;
10578 esac
10580 rm -f core conftest.err conftest.$ac_objext \
10581 conftest$ac_exeext conftest.$ac_ext
10582 LIBS=$ac_check_soname_save_LIBS
10584 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10586 $as_echo "not found" >&6; }
10588 else
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10590 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10592 cat >>confdefs.h <<_ACEOF
10593 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10594 _ACEOF
10599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10601 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10602 case "x$with_xinerama" in
10603 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10604 xno) ;;
10605 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10606 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10607 esac
10611 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10612 then
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10614 $as_echo_n "checking for -lXcomposite... " >&6; }
10615 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10616 $as_echo_n "(cached) " >&6
10617 else
10618 ac_check_soname_save_LIBS=$LIBS
10619 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10621 /* end confdefs.h. */
10623 /* Override any GCC internal prototype to avoid an error.
10624 Use char because int might match the return type of a GCC
10625 builtin and then its argument prototype would still apply. */
10626 #ifdef __cplusplus
10627 extern "C"
10628 #endif
10629 char XCompositeRedirectWindow ();
10631 main ()
10633 return XCompositeRedirectWindow ();
10635 return 0;
10637 _ACEOF
10638 if ac_fn_c_try_link "$LINENO"; then :
10639 case "$LIBEXT" in
10640 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10641 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'` ;;
10642 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10643 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10644 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10645 fi ;;
10646 esac
10648 rm -f core conftest.err conftest.$ac_objext \
10649 conftest$ac_exeext conftest.$ac_ext
10650 LIBS=$ac_check_soname_save_LIBS
10652 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10654 $as_echo "not found" >&6; }
10656 else
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10658 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10660 cat >>confdefs.h <<_ACEOF
10661 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10662 _ACEOF
10667 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10668 case "x$with_xcomposite" in
10669 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10670 xno) ;;
10671 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10672 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10673 esac
10677 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10678 #include <X11/Xlib.h>
10679 #endif
10681 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10683 cat >>confdefs.h <<_ACEOF
10684 #define HAVE_XICCALLBACK_CALLBACK 1
10685 _ACEOF
10689 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10690 #include <X11/Xlib.h>
10691 #endif
10693 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10695 cat >>confdefs.h <<_ACEOF
10696 #define HAVE_XEVENT_XCOOKIE 1
10697 _ACEOF
10704 opengl_msg=""
10705 if test "x$with_opengl" != "xno"
10706 then
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10708 $as_echo_n "checking for -lGL... " >&6; }
10709 if ${ac_cv_lib_soname_GL+:} false; then :
10710 $as_echo_n "(cached) " >&6
10711 else
10712 ac_check_soname_save_LIBS=$LIBS
10713 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10715 /* end confdefs.h. */
10717 /* Override any GCC internal prototype to avoid an error.
10718 Use char because int might match the return type of a GCC
10719 builtin and then its argument prototype would still apply. */
10720 #ifdef __cplusplus
10721 extern "C"
10722 #endif
10723 char glXCreateContext ();
10725 main ()
10727 return glXCreateContext ();
10729 return 0;
10731 _ACEOF
10732 if ac_fn_c_try_link "$LINENO"; then :
10733 case "$LIBEXT" in
10734 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10735 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'` ;;
10736 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10737 if ${ac_cv_lib_soname_GL:+false} :; then :
10738 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10739 fi ;;
10740 esac
10742 rm -f core conftest.err conftest.$ac_objext \
10743 conftest$ac_exeext conftest.$ac_ext
10744 LIBS=$ac_check_soname_save_LIBS
10746 if ${ac_cv_lib_soname_GL:+false} :; then :
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10748 $as_echo "not found" >&6; }
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10750 $as_echo_n "checking for -lGL... " >&6; }
10751 if ${ac_cv_lib_soname_GL+:} false; then :
10752 $as_echo_n "(cached) " >&6
10753 else
10754 ac_check_soname_save_LIBS=$LIBS
10755 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"
10756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h. */
10759 /* Override any GCC internal prototype to avoid an error.
10760 Use char because int might match the return type of a GCC
10761 builtin and then its argument prototype would still apply. */
10762 #ifdef __cplusplus
10763 extern "C"
10764 #endif
10765 char glXCreateContext ();
10767 main ()
10769 return glXCreateContext ();
10771 return 0;
10773 _ACEOF
10774 if ac_fn_c_try_link "$LINENO"; then :
10775 case "$LIBEXT" in
10776 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10777 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'` ;;
10778 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10779 if ${ac_cv_lib_soname_GL:+false} :; then :
10780 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10781 fi ;;
10782 esac
10784 rm -f core conftest.err conftest.$ac_objext \
10785 conftest$ac_exeext conftest.$ac_ext
10786 LIBS=$ac_check_soname_save_LIBS
10788 if ${ac_cv_lib_soname_GL:+false} :; then :
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10790 $as_echo "not found" >&6; }
10791 if test -f /usr/X11R6/lib/libGL.a
10792 then
10793 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10794 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10795 else
10796 opengl_msg="No OpenGL library found on this system."
10798 else
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10800 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10802 cat >>confdefs.h <<_ACEOF
10803 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10804 _ACEOF
10806 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"
10808 else
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10810 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10812 cat >>confdefs.h <<_ACEOF
10813 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10814 _ACEOF
10816 OPENGL_LIBS="-lGL"
10818 if test "x$with_glu" != "xno"
10819 then
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10821 $as_echo_n "checking for -lGLU... " >&6; }
10822 if ${ac_cv_lib_soname_GLU+:} false; then :
10823 $as_echo_n "(cached) " >&6
10824 else
10825 ac_check_soname_save_LIBS=$LIBS
10826 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10828 /* end confdefs.h. */
10830 /* Override any GCC internal prototype to avoid an error.
10831 Use char because int might match the return type of a GCC
10832 builtin and then its argument prototype would still apply. */
10833 #ifdef __cplusplus
10834 extern "C"
10835 #endif
10836 char gluLookAt ();
10838 main ()
10840 return gluLookAt ();
10842 return 0;
10844 _ACEOF
10845 if ac_fn_c_try_link "$LINENO"; then :
10846 case "$LIBEXT" in
10847 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10848 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'` ;;
10849 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10850 if ${ac_cv_lib_soname_GLU:+false} :; then :
10851 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10852 fi ;;
10853 esac
10855 rm -f core conftest.err conftest.$ac_objext \
10856 conftest$ac_exeext conftest.$ac_ext
10857 LIBS=$ac_check_soname_save_LIBS
10859 if ${ac_cv_lib_soname_GLU:+false} :; then :
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10861 $as_echo "not found" >&6; }
10863 else
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10865 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10867 cat >>confdefs.h <<_ACEOF
10868 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10869 _ACEOF
10873 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10874 case "x$with_glu" in
10875 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10876 xno) ;;
10877 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10878 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10879 esac
10884 if test "x$with_osmesa" != "xno"
10885 then
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10887 $as_echo_n "checking for -lOSMesa... " >&6; }
10888 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10889 $as_echo_n "(cached) " >&6
10890 else
10891 ac_check_soname_save_LIBS=$LIBS
10892 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10894 /* end confdefs.h. */
10896 /* Override any GCC internal prototype to avoid an error.
10897 Use char because int might match the return type of a GCC
10898 builtin and then its argument prototype would still apply. */
10899 #ifdef __cplusplus
10900 extern "C"
10901 #endif
10902 char OSMesaGetProcAddress ();
10904 main ()
10906 return OSMesaGetProcAddress ();
10908 return 0;
10910 _ACEOF
10911 if ac_fn_c_try_link "$LINENO"; then :
10912 case "$LIBEXT" in
10913 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10914 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'` ;;
10915 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10916 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10917 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10918 fi ;;
10919 esac
10921 rm -f core conftest.err conftest.$ac_objext \
10922 conftest$ac_exeext conftest.$ac_ext
10923 LIBS=$ac_check_soname_save_LIBS
10925 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10927 $as_echo "not found" >&6; }
10929 else
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10931 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10933 cat >>confdefs.h <<_ACEOF
10934 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10935 _ACEOF
10939 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10940 case "x$with_osmesa" in
10941 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10942 xno) ;;
10943 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10944 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10945 esac
10950 if test -n "$opengl_msg"; then :
10951 case "x$with_opengl" in
10952 x) as_fn_append wine_warnings "|$opengl_msg
10953 OpenGL and Direct3D won't be supported." ;;
10954 xno) ;;
10955 *) as_fn_error $? "$opengl_msg
10956 OpenGL and Direct3D won't be supported.
10957 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10958 esac
10962 CPPFLAGS="$ac_save_CPPFLAGS"
10963 else
10964 X_CFLAGS=""
10965 X_LIBS=""
10968 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10969 then
10970 if test "x$X_LIBS" = "x"; then :
10971 case "x$with_x" in
10972 xno) ;;
10973 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10974 without X support, which probably isn't what you want. You will need
10975 to install ${notice_platform}development packages of Xlib at the very least.
10976 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10977 esac
10978 enable_winex11_drv=${enable_winex11_drv:-no}
10980 else
10981 if test "x$X_LIBS" = "x"; then :
10982 case "x$with_x" in
10983 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10984 xno) ;;
10985 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10986 This is an error since --with-x was requested." "$LINENO" 5 ;;
10987 esac
10988 enable_winex11_drv=${enable_winex11_drv:-no}
10992 if test "$ac_cv_header_CL_cl_h" = "yes"
10993 then
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10995 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10996 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10997 $as_echo_n "(cached) " >&6
10998 else
10999 ac_check_lib_save_LIBS=$LIBS
11000 LIBS="-lOpenCL $LIBS"
11001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11002 /* end confdefs.h. */
11004 /* Override any GCC internal prototype to avoid an error.
11005 Use char because int might match the return type of a GCC
11006 builtin and then its argument prototype would still apply. */
11007 #ifdef __cplusplus
11008 extern "C"
11009 #endif
11010 char clGetPlatformInfo ();
11012 main ()
11014 return clGetPlatformInfo ();
11016 return 0;
11018 _ACEOF
11019 if ac_fn_c_try_link "$LINENO"; then :
11020 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11021 else
11022 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11024 rm -f core conftest.err conftest.$ac_objext \
11025 conftest$ac_exeext conftest.$ac_ext
11026 LIBS=$ac_check_lib_save_LIBS
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11029 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11030 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11031 OPENCL_LIBS="-lOpenCL"
11036 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11037 case "x$with_opencl" in
11038 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11039 xno) ;;
11040 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11041 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11042 esac
11043 enable_opencl=${enable_opencl:-no}
11046 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11047 then
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11049 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11050 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11051 $as_echo_n "(cached) " >&6
11052 else
11053 ac_check_lib_save_LIBS=$LIBS
11054 LIBS="-lpcap $LIBS"
11055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056 /* end confdefs.h. */
11058 /* Override any GCC internal prototype to avoid an error.
11059 Use char because int might match the return type of a GCC
11060 builtin and then its argument prototype would still apply. */
11061 #ifdef __cplusplus
11062 extern "C"
11063 #endif
11064 char pcap_create ();
11066 main ()
11068 return pcap_create ();
11070 return 0;
11072 _ACEOF
11073 if ac_fn_c_try_link "$LINENO"; then :
11074 ac_cv_lib_pcap_pcap_create=yes
11075 else
11076 ac_cv_lib_pcap_pcap_create=no
11078 rm -f core conftest.err conftest.$ac_objext \
11079 conftest$ac_exeext conftest.$ac_ext
11080 LIBS=$ac_check_lib_save_LIBS
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11083 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11084 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11085 PCAP_LIBS="-lpcap"
11090 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11091 case "x$with_pcap" in
11092 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11093 xno) ;;
11094 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11095 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11096 esac
11097 enable_wpcap=${enable_wpcap:-no}
11101 if test "x$with_xml" != "xno"
11102 then
11103 if ${XML2_CFLAGS:+false} :; then :
11104 if ${PKG_CONFIG+:} false; then :
11105 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11108 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11109 if ${XML2_LIBS:+false} :; then :
11110 if ${PKG_CONFIG+:} false; then :
11111 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11114 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11115 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11116 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11117 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11118 ac_save_CPPFLAGS=$CPPFLAGS
11119 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11120 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11121 do :
11122 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11123 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11124 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11125 cat >>confdefs.h <<_ACEOF
11126 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11127 _ACEOF
11131 done
11133 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"
11134 then
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11136 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11137 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11138 $as_echo_n "(cached) " >&6
11139 else
11140 ac_check_lib_save_LIBS=$LIBS
11141 LIBS="-lxml2 $XML2_LIBS $LIBS"
11142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11143 /* end confdefs.h. */
11145 /* Override any GCC internal prototype to avoid an error.
11146 Use char because int might match the return type of a GCC
11147 builtin and then its argument prototype would still apply. */
11148 #ifdef __cplusplus
11149 extern "C"
11150 #endif
11151 char xmlParseMemory ();
11153 main ()
11155 return xmlParseMemory ();
11157 return 0;
11159 _ACEOF
11160 if ac_fn_c_try_link "$LINENO"; then :
11161 ac_cv_lib_xml2_xmlParseMemory=yes
11162 else
11163 ac_cv_lib_xml2_xmlParseMemory=no
11165 rm -f core conftest.err conftest.$ac_objext \
11166 conftest$ac_exeext conftest.$ac_ext
11167 LIBS=$ac_check_lib_save_LIBS
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11170 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11171 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11173 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11175 else
11176 XML2_LIBS=""
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11180 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11181 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11182 $as_echo_n "(cached) " >&6
11183 else
11184 ac_check_lib_save_LIBS=$LIBS
11185 LIBS="-lxml2 $XML2_LIBS $LIBS"
11186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11187 /* end confdefs.h. */
11189 /* Override any GCC internal prototype to avoid an error.
11190 Use char because int might match the return type of a GCC
11191 builtin and then its argument prototype would still apply. */
11192 #ifdef __cplusplus
11193 extern "C"
11194 #endif
11195 char xmlReadMemory ();
11197 main ()
11199 return xmlReadMemory ();
11201 return 0;
11203 _ACEOF
11204 if ac_fn_c_try_link "$LINENO"; then :
11205 ac_cv_lib_xml2_xmlReadMemory=yes
11206 else
11207 ac_cv_lib_xml2_xmlReadMemory=no
11209 rm -f core conftest.err conftest.$ac_objext \
11210 conftest$ac_exeext conftest.$ac_ext
11211 LIBS=$ac_check_lib_save_LIBS
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11214 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11215 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11217 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11222 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11223 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11224 $as_echo_n "(cached) " >&6
11225 else
11226 ac_check_lib_save_LIBS=$LIBS
11227 LIBS="-lxml2 $XML2_LIBS $LIBS"
11228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11229 /* end confdefs.h. */
11231 /* Override any GCC internal prototype to avoid an error.
11232 Use char because int might match the return type of a GCC
11233 builtin and then its argument prototype would still apply. */
11234 #ifdef __cplusplus
11235 extern "C"
11236 #endif
11237 char xmlNewDocPI ();
11239 main ()
11241 return xmlNewDocPI ();
11243 return 0;
11245 _ACEOF
11246 if ac_fn_c_try_link "$LINENO"; then :
11247 ac_cv_lib_xml2_xmlNewDocPI=yes
11248 else
11249 ac_cv_lib_xml2_xmlNewDocPI=no
11251 rm -f core conftest.err conftest.$ac_objext \
11252 conftest$ac_exeext conftest.$ac_ext
11253 LIBS=$ac_check_lib_save_LIBS
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11256 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11257 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11259 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11264 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11265 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11266 $as_echo_n "(cached) " >&6
11267 else
11268 ac_check_lib_save_LIBS=$LIBS
11269 LIBS="-lxml2 $XML2_LIBS $LIBS"
11270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11271 /* end confdefs.h. */
11273 /* Override any GCC internal prototype to avoid an error.
11274 Use char because int might match the return type of a GCC
11275 builtin and then its argument prototype would still apply. */
11276 #ifdef __cplusplus
11277 extern "C"
11278 #endif
11279 char xmlSchemaSetParserStructuredErrors ();
11281 main ()
11283 return xmlSchemaSetParserStructuredErrors ();
11285 return 0;
11287 _ACEOF
11288 if ac_fn_c_try_link "$LINENO"; then :
11289 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11290 else
11291 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11293 rm -f core conftest.err conftest.$ac_objext \
11294 conftest$ac_exeext conftest.$ac_ext
11295 LIBS=$ac_check_lib_save_LIBS
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11298 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11299 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11301 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11306 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11307 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11308 $as_echo_n "(cached) " >&6
11309 else
11310 ac_check_lib_save_LIBS=$LIBS
11311 LIBS="-lxml2 $XML2_LIBS $LIBS"
11312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11313 /* end confdefs.h. */
11315 /* Override any GCC internal prototype to avoid an error.
11316 Use char because int might match the return type of a GCC
11317 builtin and then its argument prototype would still apply. */
11318 #ifdef __cplusplus
11319 extern "C"
11320 #endif
11321 char xmlSchemaSetValidStructuredErrors ();
11323 main ()
11325 return xmlSchemaSetValidStructuredErrors ();
11327 return 0;
11329 _ACEOF
11330 if ac_fn_c_try_link "$LINENO"; then :
11331 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11332 else
11333 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11335 rm -f core conftest.err conftest.$ac_objext \
11336 conftest$ac_exeext conftest.$ac_ext
11337 LIBS=$ac_check_lib_save_LIBS
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11340 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11341 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11343 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11348 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11349 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11350 $as_echo_n "(cached) " >&6
11351 else
11352 ac_check_lib_save_LIBS=$LIBS
11353 LIBS="-lxml2 $XML2_LIBS $LIBS"
11354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11355 /* end confdefs.h. */
11357 /* Override any GCC internal prototype to avoid an error.
11358 Use char because int might match the return type of a GCC
11359 builtin and then its argument prototype would still apply. */
11360 #ifdef __cplusplus
11361 extern "C"
11362 #endif
11363 char xmlFirstElementChild ();
11365 main ()
11367 return xmlFirstElementChild ();
11369 return 0;
11371 _ACEOF
11372 if ac_fn_c_try_link "$LINENO"; then :
11373 ac_cv_lib_xml2_xmlFirstElementChild=yes
11374 else
11375 ac_cv_lib_xml2_xmlFirstElementChild=no
11377 rm -f core conftest.err conftest.$ac_objext \
11378 conftest$ac_exeext conftest.$ac_ext
11379 LIBS=$ac_check_lib_save_LIBS
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11382 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11383 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11385 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11389 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11391 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11393 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11397 else
11398 XML2_CFLAGS=""
11399 XML2_LIBS=""
11401 CPPFLAGS=$ac_save_CPPFLAGS
11402 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11403 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11406 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11407 case "x$with_xml" in
11408 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11409 xno) ;;
11410 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11411 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11412 esac
11416 if test "x$with_xslt" != "xno"
11417 then
11418 if ${XSLT_CFLAGS:+false} :; then :
11419 if ${PKG_CONFIG+:} false; then :
11420 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11423 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11424 if ${XSLT_LIBS:+false} :; then :
11425 if ${PKG_CONFIG+:} false; then :
11426 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11429 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11430 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11431 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11432 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11433 ac_save_CPPFLAGS=$CPPFLAGS
11434 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11435 for ac_header in libxslt/pattern.h libxslt/transform.h
11436 do :
11437 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11438 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11439 # include <libxslt/pattern.h>
11440 #endif
11442 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11443 cat >>confdefs.h <<_ACEOF
11444 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11445 _ACEOF
11449 done
11451 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11452 then
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11454 $as_echo_n "checking for -lxslt... " >&6; }
11455 if ${ac_cv_lib_soname_xslt+:} false; then :
11456 $as_echo_n "(cached) " >&6
11457 else
11458 ac_check_soname_save_LIBS=$LIBS
11459 LIBS="-lxslt $XSLT_LIBS $LIBS"
11460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11461 /* end confdefs.h. */
11463 /* Override any GCC internal prototype to avoid an error.
11464 Use char because int might match the return type of a GCC
11465 builtin and then its argument prototype would still apply. */
11466 #ifdef __cplusplus
11467 extern "C"
11468 #endif
11469 char xsltCompilePattern ();
11471 main ()
11473 return xsltCompilePattern ();
11475 return 0;
11477 _ACEOF
11478 if ac_fn_c_try_link "$LINENO"; then :
11479 case "$LIBEXT" in
11480 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11481 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'` ;;
11482 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11483 if ${ac_cv_lib_soname_xslt:+false} :; then :
11484 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11485 fi ;;
11486 esac
11488 rm -f core conftest.err conftest.$ac_objext \
11489 conftest$ac_exeext conftest.$ac_ext
11490 LIBS=$ac_check_soname_save_LIBS
11492 if ${ac_cv_lib_soname_xslt:+false} :; then :
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11494 $as_echo "not found" >&6; }
11496 else
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11498 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11500 cat >>confdefs.h <<_ACEOF
11501 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11502 _ACEOF
11506 else
11507 XSLT_CFLAGS=""
11509 CPPFLAGS=$ac_save_CPPFLAGS
11510 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11511 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11514 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11515 case "x$with_xslt" in
11516 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11517 xno) ;;
11518 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11519 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11520 esac
11524 if test "x$with_dbus" != "xno"
11525 then
11526 if ${DBUS_CFLAGS:+false} :; then :
11527 if ${PKG_CONFIG+:} false; then :
11528 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11532 if ${DBUS_LIBS:+false} :; then :
11533 if ${PKG_CONFIG+:} false; then :
11534 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11539 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11540 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11541 ac_save_CPPFLAGS=$CPPFLAGS
11542 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11543 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11544 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11546 $as_echo_n "checking for -ldbus-1... " >&6; }
11547 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11548 $as_echo_n "(cached) " >&6
11549 else
11550 ac_check_soname_save_LIBS=$LIBS
11551 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11553 /* end confdefs.h. */
11555 /* Override any GCC internal prototype to avoid an error.
11556 Use char because int might match the return type of a GCC
11557 builtin and then its argument prototype would still apply. */
11558 #ifdef __cplusplus
11559 extern "C"
11560 #endif
11561 char dbus_connection_close ();
11563 main ()
11565 return dbus_connection_close ();
11567 return 0;
11569 _ACEOF
11570 if ac_fn_c_try_link "$LINENO"; then :
11571 case "$LIBEXT" in
11572 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11573 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'` ;;
11574 *) 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'`
11575 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11576 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11577 fi ;;
11578 esac
11580 rm -f core conftest.err conftest.$ac_objext \
11581 conftest$ac_exeext conftest.$ac_ext
11582 LIBS=$ac_check_soname_save_LIBS
11584 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11586 $as_echo "not found" >&6; }
11587 DBUS_CFLAGS=""
11588 else
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11590 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11592 cat >>confdefs.h <<_ACEOF
11593 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11594 _ACEOF
11598 else
11599 DBUS_CFLAGS=""
11603 CPPFLAGS=$ac_save_CPPFLAGS
11604 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11605 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11608 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11609 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11610 case "x$with_dbus" in
11611 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11612 xno) ;;
11613 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11614 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11615 esac
11619 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11620 then
11621 if ${HAL_CFLAGS:+false} :; then :
11622 if ${PKG_CONFIG+:} false; then :
11623 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11627 if ${HAL_LIBS:+false} :; then :
11628 if ${PKG_CONFIG+:} false; then :
11629 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11633 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11634 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11635 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11636 ac_save_CPPFLAGS=$CPPFLAGS
11637 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11638 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11639 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11641 $as_echo_n "checking for -lhal... " >&6; }
11642 if ${ac_cv_lib_soname_hal+:} false; then :
11643 $as_echo_n "(cached) " >&6
11644 else
11645 ac_check_soname_save_LIBS=$LIBS
11646 LIBS="-lhal $HAL_LIBS $LIBS"
11647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11648 /* end confdefs.h. */
11650 /* Override any GCC internal prototype to avoid an error.
11651 Use char because int might match the return type of a GCC
11652 builtin and then its argument prototype would still apply. */
11653 #ifdef __cplusplus
11654 extern "C"
11655 #endif
11656 char libhal_ctx_new ();
11658 main ()
11660 return libhal_ctx_new ();
11662 return 0;
11664 _ACEOF
11665 if ac_fn_c_try_link "$LINENO"; then :
11666 case "$LIBEXT" in
11667 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11668 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'` ;;
11669 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11670 if ${ac_cv_lib_soname_hal:+false} :; then :
11671 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11672 fi ;;
11673 esac
11675 rm -f core conftest.err conftest.$ac_objext \
11676 conftest$ac_exeext conftest.$ac_ext
11677 LIBS=$ac_check_soname_save_LIBS
11679 if ${ac_cv_lib_soname_hal:+false} :; then :
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11681 $as_echo "not found" >&6; }
11682 HAL_CFLAGS=""
11683 else
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11685 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11687 cat >>confdefs.h <<_ACEOF
11688 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11689 _ACEOF
11693 else
11694 HAL_CFLAGS=""
11698 CPPFLAGS=$ac_save_CPPFLAGS
11699 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11700 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11702 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11703 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11704 case "x$with_hal" in
11705 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11706 xno) ;;
11707 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11708 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11709 esac
11714 if test "x$with_gnutls" != "xno"
11715 then
11716 if ${GNUTLS_CFLAGS:+false} :; then :
11717 if ${PKG_CONFIG+:} false; then :
11718 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11722 if ${GNUTLS_LIBS:+false} :; then :
11723 if ${PKG_CONFIG+:} false; then :
11724 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11729 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11730 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11731 ac_save_CPPFLAGS=$CPPFLAGS
11732 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11733 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11734 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11736 /* end confdefs.h. */
11737 #include <gnutls/gnutls.h>
11738 #include <gnutls/crypto.h>
11740 main ()
11742 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11744 return 0;
11746 _ACEOF
11747 if ac_fn_c_try_compile "$LINENO"; then :
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11749 $as_echo_n "checking for -lgnutls... " >&6; }
11750 if ${ac_cv_lib_soname_gnutls+:} false; then :
11751 $as_echo_n "(cached) " >&6
11752 else
11753 ac_check_soname_save_LIBS=$LIBS
11754 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11756 /* end confdefs.h. */
11758 /* Override any GCC internal prototype to avoid an error.
11759 Use char because int might match the return type of a GCC
11760 builtin and then its argument prototype would still apply. */
11761 #ifdef __cplusplus
11762 extern "C"
11763 #endif
11764 char gnutls_global_init ();
11766 main ()
11768 return gnutls_global_init ();
11770 return 0;
11772 _ACEOF
11773 if ac_fn_c_try_link "$LINENO"; then :
11774 case "$LIBEXT" in
11775 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11776 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'` ;;
11777 *) 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'`
11778 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11779 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'`
11780 fi ;;
11781 esac
11783 rm -f core conftest.err conftest.$ac_objext \
11784 conftest$ac_exeext conftest.$ac_ext
11785 LIBS=$ac_check_soname_save_LIBS
11787 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11789 $as_echo "not found" >&6; }
11790 GNUTLS_CFLAGS=""
11791 else
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11793 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11795 cat >>confdefs.h <<_ACEOF
11796 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11797 _ACEOF
11801 ac_wine_check_funcs_save_LIBS="$LIBS"
11802 LIBS="$LIBS $GNUTLS_LIBS"
11803 for ac_func in gnutls_cipher_init
11804 do :
11805 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11806 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11807 cat >>confdefs.h <<_ACEOF
11808 #define HAVE_GNUTLS_CIPHER_INIT 1
11809 _ACEOF
11811 else
11812 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11814 done
11816 LIBS="$ac_wine_check_funcs_save_LIBS"
11818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11819 else
11820 GNUTLS_CFLAGS=""
11824 CPPFLAGS=$ac_save_CPPFLAGS
11825 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11826 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11829 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11830 case "x$with_gnutls" in
11831 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11832 xno) ;;
11833 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11834 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11835 esac
11839 CURSES_LIBS=""
11840 if test "$ac_cv_header_ncurses_h" = "yes"
11841 then
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11843 $as_echo_n "checking for -lncurses... " >&6; }
11844 if ${ac_cv_lib_soname_ncurses+:} false; then :
11845 $as_echo_n "(cached) " >&6
11846 else
11847 ac_check_soname_save_LIBS=$LIBS
11848 LIBS="-lncurses $LIBS"
11849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11850 /* end confdefs.h. */
11852 /* Override any GCC internal prototype to avoid an error.
11853 Use char because int might match the return type of a GCC
11854 builtin and then its argument prototype would still apply. */
11855 #ifdef __cplusplus
11856 extern "C"
11857 #endif
11858 char waddch ();
11860 main ()
11862 return waddch ();
11864 return 0;
11866 _ACEOF
11867 if ac_fn_c_try_link "$LINENO"; then :
11868 case "$LIBEXT" in
11869 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11870 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'` ;;
11871 *) 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'`
11872 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11873 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11874 fi ;;
11875 esac
11877 rm -f core conftest.err conftest.$ac_objext \
11878 conftest$ac_exeext conftest.$ac_ext
11879 LIBS=$ac_check_soname_save_LIBS
11881 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11883 $as_echo "not found" >&6; }
11885 else
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11887 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11889 cat >>confdefs.h <<_ACEOF
11890 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11891 _ACEOF
11893 CURSES_LIBS="-lncurses"
11895 elif test "$ac_cv_header_curses_h" = "yes"
11896 then
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11898 $as_echo_n "checking for -lcurses... " >&6; }
11899 if ${ac_cv_lib_soname_curses+:} false; then :
11900 $as_echo_n "(cached) " >&6
11901 else
11902 ac_check_soname_save_LIBS=$LIBS
11903 LIBS="-lcurses $LIBS"
11904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11907 /* Override any GCC internal prototype to avoid an error.
11908 Use char because int might match the return type of a GCC
11909 builtin and then its argument prototype would still apply. */
11910 #ifdef __cplusplus
11911 extern "C"
11912 #endif
11913 char waddch ();
11915 main ()
11917 return waddch ();
11919 return 0;
11921 _ACEOF
11922 if ac_fn_c_try_link "$LINENO"; then :
11923 case "$LIBEXT" in
11924 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11925 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'` ;;
11926 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11927 if ${ac_cv_lib_soname_curses:+false} :; then :
11928 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11929 fi ;;
11930 esac
11932 rm -f core conftest.err conftest.$ac_objext \
11933 conftest$ac_exeext conftest.$ac_ext
11934 LIBS=$ac_check_soname_save_LIBS
11936 if ${ac_cv_lib_soname_curses:+false} :; then :
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11938 $as_echo "not found" >&6; }
11940 else
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11942 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11944 cat >>confdefs.h <<_ACEOF
11945 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11946 _ACEOF
11948 CURSES_LIBS="-lcurses"
11951 ac_save_LIBS="$LIBS"
11952 LIBS="$LIBS $CURSES_LIBS"
11953 for ac_func in mousemask
11954 do :
11955 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11956 if test "x$ac_cv_func_mousemask" = xyes; then :
11957 cat >>confdefs.h <<_ACEOF
11958 #define HAVE_MOUSEMASK 1
11959 _ACEOF
11962 done
11964 LIBS="$ac_save_LIBS"
11965 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11966 case "x$with_curses" in
11967 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11968 xno) ;;
11969 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11970 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11971 esac
11975 if test "x$with_sane" != "xno"
11976 then
11977 if ${SANE_CFLAGS:+false} :; then :
11978 if ${PKG_CONFIG+:} false; then :
11979 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11982 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11983 if ${SANE_LIBS:+false} :; then :
11984 if ${PKG_CONFIG+:} false; then :
11985 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11988 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11990 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11991 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11992 ac_save_CPPFLAGS=$CPPFLAGS
11993 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11994 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11995 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11997 $as_echo_n "checking for -lsane... " >&6; }
11998 if ${ac_cv_lib_soname_sane+:} false; then :
11999 $as_echo_n "(cached) " >&6
12000 else
12001 ac_check_soname_save_LIBS=$LIBS
12002 LIBS="-lsane $SANE_LIBS $LIBS"
12003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12004 /* end confdefs.h. */
12006 /* Override any GCC internal prototype to avoid an error.
12007 Use char because int might match the return type of a GCC
12008 builtin and then its argument prototype would still apply. */
12009 #ifdef __cplusplus
12010 extern "C"
12011 #endif
12012 char sane_init ();
12014 main ()
12016 return sane_init ();
12018 return 0;
12020 _ACEOF
12021 if ac_fn_c_try_link "$LINENO"; then :
12022 case "$LIBEXT" in
12023 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12024 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'` ;;
12025 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12026 if ${ac_cv_lib_soname_sane:+false} :; then :
12027 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12028 fi ;;
12029 esac
12031 rm -f core conftest.err conftest.$ac_objext \
12032 conftest$ac_exeext conftest.$ac_ext
12033 LIBS=$ac_check_soname_save_LIBS
12035 if ${ac_cv_lib_soname_sane:+false} :; then :
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12037 $as_echo "not found" >&6; }
12038 SANE_CFLAGS=""
12039 else
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12041 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12043 cat >>confdefs.h <<_ACEOF
12044 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12045 _ACEOF
12049 else
12050 SANE_CFLAGS=""
12054 CPPFLAGS=$ac_save_CPPFLAGS
12055 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12056 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12059 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12060 case "x$with_sane" in
12061 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12062 xno) ;;
12063 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12064 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12065 esac
12069 if test "x$with_v4l" != "xno"
12070 then
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12072 $as_echo_n "checking for -lv4l1... " >&6; }
12073 if ${ac_cv_lib_soname_v4l1+:} false; then :
12074 $as_echo_n "(cached) " >&6
12075 else
12076 ac_check_soname_save_LIBS=$LIBS
12077 LIBS="-lv4l1 $LIBS"
12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12081 /* Override any GCC internal prototype to avoid an error.
12082 Use char because int might match the return type of a GCC
12083 builtin and then its argument prototype would still apply. */
12084 #ifdef __cplusplus
12085 extern "C"
12086 #endif
12087 char v4l1_open ();
12089 main ()
12091 return v4l1_open ();
12093 return 0;
12095 _ACEOF
12096 if ac_fn_c_try_link "$LINENO"; then :
12097 case "$LIBEXT" in
12098 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12099 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'` ;;
12100 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12101 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12102 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12103 fi ;;
12104 esac
12106 rm -f core conftest.err conftest.$ac_objext \
12107 conftest$ac_exeext conftest.$ac_ext
12108 LIBS=$ac_check_soname_save_LIBS
12110 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12112 $as_echo "not found" >&6; }
12114 else
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12116 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12118 cat >>confdefs.h <<_ACEOF
12119 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12120 _ACEOF
12125 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12126 case "x$with_v4l" in
12127 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12128 xno) ;;
12129 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12130 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12131 esac
12135 if test "x$with_gphoto" != "xno"
12136 then
12137 if ${GPHOTO2_CFLAGS:+false} :; then :
12138 if ${PKG_CONFIG+:} false; then :
12139 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12142 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12143 if ${GPHOTO2_LIBS:+false} :; then :
12144 if ${PKG_CONFIG+:} false; then :
12145 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12148 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12149 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12150 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12151 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12152 ac_save_CPPFLAGS=$CPPFLAGS
12153 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12154 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12155 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12157 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12158 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12159 $as_echo_n "(cached) " >&6
12160 else
12161 ac_check_lib_save_LIBS=$LIBS
12162 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12164 /* end confdefs.h. */
12166 /* Override any GCC internal prototype to avoid an error.
12167 Use char because int might match the return type of a GCC
12168 builtin and then its argument prototype would still apply. */
12169 #ifdef __cplusplus
12170 extern "C"
12171 #endif
12172 char gp_camera_new ();
12174 main ()
12176 return gp_camera_new ();
12178 return 0;
12180 _ACEOF
12181 if ac_fn_c_try_link "$LINENO"; then :
12182 ac_cv_lib_gphoto2_gp_camera_new=yes
12183 else
12184 ac_cv_lib_gphoto2_gp_camera_new=no
12186 rm -f core conftest.err conftest.$ac_objext \
12187 conftest$ac_exeext conftest.$ac_ext
12188 LIBS=$ac_check_lib_save_LIBS
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12191 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12192 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12194 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12196 else
12197 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12200 else
12201 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12205 CPPFLAGS=$ac_save_CPPFLAGS
12206 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12207 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12209 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12210 if ${PKG_CONFIG+:} false; then :
12211 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12214 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12215 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12216 if ${PKG_CONFIG+:} false; then :
12217 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12220 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12221 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12222 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12223 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12224 ac_save_CPPFLAGS=$CPPFLAGS
12225 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12226 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12227 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12229 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12230 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12231 $as_echo_n "(cached) " >&6
12232 else
12233 ac_check_lib_save_LIBS=$LIBS
12234 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12236 /* end confdefs.h. */
12238 /* Override any GCC internal prototype to avoid an error.
12239 Use char because int might match the return type of a GCC
12240 builtin and then its argument prototype would still apply. */
12241 #ifdef __cplusplus
12242 extern "C"
12243 #endif
12244 char gp_port_info_list_new ();
12246 main ()
12248 return gp_port_info_list_new ();
12250 return 0;
12252 _ACEOF
12253 if ac_fn_c_try_link "$LINENO"; then :
12254 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12255 else
12256 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12258 rm -f core conftest.err conftest.$ac_objext \
12259 conftest$ac_exeext conftest.$ac_ext
12260 LIBS=$ac_check_lib_save_LIBS
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12263 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12264 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12266 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12268 else
12269 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12272 else
12273 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12277 CPPFLAGS=$ac_save_CPPFLAGS
12278 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12279 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12282 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12283 case "x$with_gphoto" in
12284 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12285 xno) ;;
12286 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12287 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12288 esac
12291 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12292 case "x$with_gphoto" in
12293 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12294 xno) ;;
12295 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12296 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12297 esac
12302 if test "$ac_cv_header_resolv_h" = "yes"
12303 then
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12305 $as_echo_n "checking for resolver library... " >&6; }
12306 if ${ac_cv_have_resolv+:} false; then :
12307 $as_echo_n "(cached) " >&6
12308 else
12309 ac_save_LIBS="$LIBS"
12310 for lib in '' -lresolv
12312 LIBS="$lib $ac_save_LIBS"
12313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12314 /* end confdefs.h. */
12315 #ifdef HAVE_NETINET_IN_H
12316 #include <netinet/in.h>
12317 #endif
12318 #include <resolv.h>
12320 main ()
12322 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12324 return 0;
12326 _ACEOF
12327 if ac_fn_c_try_link "$LINENO"; then :
12328 ac_cv_have_resolv=${lib:-"none required"}
12329 else
12330 ac_cv_have_resolv="not found"
12332 rm -f core conftest.err conftest.$ac_objext \
12333 conftest$ac_exeext conftest.$ac_ext
12334 test "x$ac_cv_have_resolv" = "xnot found" || break
12335 done
12336 LIBS="$ac_save_LIBS"
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12339 $as_echo "$ac_cv_have_resolv" >&6; }
12341 case "$ac_cv_have_resolv" in
12342 "not found") ;;
12343 "none required")
12345 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12348 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12350 RESOLV_LIBS=$ac_cv_have_resolv
12352 esac
12355 if test "x$with_cms" != "xno"
12356 then
12357 if ${LCMS2_CFLAGS:+false} :; then :
12358 if ${PKG_CONFIG+:} false; then :
12359 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12363 if ${LCMS2_LIBS:+false} :; then :
12364 if ${PKG_CONFIG+:} false; then :
12365 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12369 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12370 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12371 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12372 ac_save_CPPFLAGS=$CPPFLAGS
12373 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12374 for ac_header in lcms2.h
12375 do :
12376 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12377 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12378 cat >>confdefs.h <<_ACEOF
12379 #define HAVE_LCMS2_H 1
12380 _ACEOF
12384 done
12386 if test "$ac_cv_header_lcms2_h" = "yes"
12387 then
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12389 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12390 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12391 $as_echo_n "(cached) " >&6
12392 else
12393 ac_check_lib_save_LIBS=$LIBS
12394 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12396 /* end confdefs.h. */
12398 /* Override any GCC internal prototype to avoid an error.
12399 Use char because int might match the return type of a GCC
12400 builtin and then its argument prototype would still apply. */
12401 #ifdef __cplusplus
12402 extern "C"
12403 #endif
12404 char cmsOpenProfileFromFile ();
12406 main ()
12408 return cmsOpenProfileFromFile ();
12410 return 0;
12412 _ACEOF
12413 if ac_fn_c_try_link "$LINENO"; then :
12414 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12415 else
12416 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12418 rm -f core conftest.err conftest.$ac_objext \
12419 conftest$ac_exeext conftest.$ac_ext
12420 LIBS=$ac_check_lib_save_LIBS
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12423 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12424 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12426 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12428 else
12429 LCMS2_LIBS=""
12432 else
12433 LCMS2_CFLAGS=""
12434 LCMS2_LIBS=""
12436 CPPFLAGS=$ac_save_CPPFLAGS
12437 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12438 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12441 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12442 case "x$with_cms" in
12443 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12444 xno) ;;
12445 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12446 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12447 esac
12451 if test "x$with_freetype" != "xno"
12452 then
12453 if ${FREETYPE_CFLAGS:+false} :; then :
12454 if ${PKG_CONFIG+:} false; then :
12455 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12458 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12459 if ${FREETYPE_LIBS:+false} :; then :
12460 if ${PKG_CONFIG+:} false; then :
12461 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12464 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12465 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12466 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12467 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12468 ac_save_CPPFLAGS=$CPPFLAGS
12469 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12470 for ac_header in ft2build.h
12471 do :
12472 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12473 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12474 cat >>confdefs.h <<_ACEOF
12475 #define HAVE_FT2BUILD_H 1
12476 _ACEOF
12480 done
12482 if test "$ac_cv_header_ft2build_h" = "yes"
12483 then
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12485 $as_echo_n "checking for -lfreetype... " >&6; }
12486 if ${ac_cv_lib_soname_freetype+:} false; then :
12487 $as_echo_n "(cached) " >&6
12488 else
12489 ac_check_soname_save_LIBS=$LIBS
12490 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12494 /* Override any GCC internal prototype to avoid an error.
12495 Use char because int might match the return type of a GCC
12496 builtin and then its argument prototype would still apply. */
12497 #ifdef __cplusplus
12498 extern "C"
12499 #endif
12500 char FT_Init_FreeType ();
12502 main ()
12504 return FT_Init_FreeType ();
12506 return 0;
12508 _ACEOF
12509 if ac_fn_c_try_link "$LINENO"; then :
12510 case "$LIBEXT" in
12511 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12512 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'` ;;
12513 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12514 if ${ac_cv_lib_soname_freetype:+false} :; then :
12515 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12516 fi ;;
12517 esac
12519 rm -f core conftest.err conftest.$ac_objext \
12520 conftest$ac_exeext conftest.$ac_ext
12521 LIBS=$ac_check_soname_save_LIBS
12523 if ${ac_cv_lib_soname_freetype:+false} :; then :
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12525 $as_echo "not found" >&6; }
12526 FREETYPE_LIBS=""
12527 else
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12529 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12531 cat >>confdefs.h <<_ACEOF
12532 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12533 _ACEOF
12536 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12538 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12539 #include FT_MODULE_H
12541 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12543 cat >>confdefs.h <<_ACEOF
12544 #define HAVE_FT_TRUETYPEENGINETYPE 1
12545 _ACEOF
12551 else
12552 FREETYPE_CFLAGS=""
12553 FREETYPE_LIBS=""
12555 CPPFLAGS=$ac_save_CPPFLAGS
12556 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12557 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12560 if test "x$ac_cv_lib_soname_freetype" = x; then :
12561 case "x$with_freetype" in
12562 xno) ;;
12563 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12564 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12565 esac
12566 enable_fonts=${enable_fonts:-no}
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12570 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12571 if ${ac_cv_c_ppdev+:} false; then :
12572 $as_echo_n "(cached) " >&6
12573 else
12574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12576 #ifdef HAVE_SYS_IOCTL_H
12577 # include <sys/ioctl.h>
12578 #endif
12579 #include <linux/ppdev.h>
12581 main ()
12583 ioctl (1,PPCLAIM,0)
12585 return 0;
12587 _ACEOF
12588 if ac_fn_c_try_compile "$LINENO"; then :
12589 ac_cv_c_ppdev="yes"
12590 else
12591 ac_cv_c_ppdev="no"
12593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12596 $as_echo "$ac_cv_c_ppdev" >&6; }
12597 if test "$ac_cv_c_ppdev" = "yes"
12598 then
12600 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12604 ac_wine_check_funcs_save_LIBS="$LIBS"
12605 LIBS="$LIBS $PTHREAD_LIBS"
12606 for ac_func in \
12607 pthread_attr_get_np \
12608 pthread_getattr_np \
12609 pthread_getthreadid_np \
12610 pthread_get_stackaddr_np \
12611 pthread_get_stacksize_np
12612 do :
12613 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12615 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12616 cat >>confdefs.h <<_ACEOF
12617 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12618 _ACEOF
12621 done
12623 LIBS="$ac_wine_check_funcs_save_LIBS"
12625 if test "$ac_cv_header_zlib_h" = "yes"
12626 then
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12628 $as_echo_n "checking for inflate in -lz... " >&6; }
12629 if ${ac_cv_lib_z_inflate+:} false; then :
12630 $as_echo_n "(cached) " >&6
12631 else
12632 ac_check_lib_save_LIBS=$LIBS
12633 LIBS="-lz $LIBS"
12634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12635 /* end confdefs.h. */
12637 /* Override any GCC internal prototype to avoid an error.
12638 Use char because int might match the return type of a GCC
12639 builtin and then its argument prototype would still apply. */
12640 #ifdef __cplusplus
12641 extern "C"
12642 #endif
12643 char inflate ();
12645 main ()
12647 return inflate ();
12649 return 0;
12651 _ACEOF
12652 if ac_fn_c_try_link "$LINENO"; then :
12653 ac_cv_lib_z_inflate=yes
12654 else
12655 ac_cv_lib_z_inflate=no
12657 rm -f core conftest.err conftest.$ac_objext \
12658 conftest$ac_exeext conftest.$ac_ext
12659 LIBS=$ac_check_lib_save_LIBS
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12662 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12663 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12665 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12667 Z_LIBS="-lz"
12672 if test "x$Z_LIBS" = "x"; then :
12673 case "x$with_zlib" in
12674 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12675 xno) ;;
12676 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12677 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12678 esac
12682 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12683 then
12684 if test "$ac_cv_header_gettext_po_h" = "yes"
12685 then
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12687 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12688 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12689 $as_echo_n "(cached) " >&6
12690 else
12691 ac_check_lib_save_LIBS=$LIBS
12692 LIBS="-lgettextpo $LIBS"
12693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12694 /* end confdefs.h. */
12696 /* Override any GCC internal prototype to avoid an error.
12697 Use char because int might match the return type of a GCC
12698 builtin and then its argument prototype would still apply. */
12699 #ifdef __cplusplus
12700 extern "C"
12701 #endif
12702 char po_message_msgctxt ();
12704 main ()
12706 return po_message_msgctxt ();
12708 return 0;
12710 _ACEOF
12711 if ac_fn_c_try_link "$LINENO"; then :
12712 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12713 else
12714 ac_cv_lib_gettextpo_po_message_msgctxt=no
12716 rm -f core conftest.err conftest.$ac_objext \
12717 conftest$ac_exeext conftest.$ac_ext
12718 LIBS=$ac_check_lib_save_LIBS
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12721 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12722 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12724 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12726 GETTEXTPO_LIBS="-lgettextpo"
12731 if test "x$GETTEXTPO_LIBS" = "x"; then :
12732 case "x$with_gettextpo" in
12733 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12734 xno) ;;
12735 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12736 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12737 esac
12740 if test "$srcdir" != .; then :
12741 case "x$with_gettextpo" in
12742 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12743 xno) ;;
12744 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12745 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12746 esac
12751 if test "x$with_pulse" != "xno";
12752 then
12753 if ${PULSE_CFLAGS:+false} :; then :
12754 if ${PKG_CONFIG+:} false; then :
12755 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12759 if ${PULSE_LIBS:+false} :; then :
12760 if ${PKG_CONFIG+:} false; then :
12761 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12766 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12767 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12768 ac_save_CPPFLAGS=$CPPFLAGS
12769 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12770 for ac_header in pulse/pulseaudio.h
12771 do :
12772 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12773 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12774 cat >>confdefs.h <<_ACEOF
12775 #define HAVE_PULSE_PULSEAUDIO_H 1
12776 _ACEOF
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12778 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12779 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12780 $as_echo_n "(cached) " >&6
12781 else
12782 ac_check_lib_save_LIBS=$LIBS
12783 LIBS="-lpulse $PULSE_LIBS $LIBS"
12784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12785 /* end confdefs.h. */
12787 /* Override any GCC internal prototype to avoid an error.
12788 Use char because int might match the return type of a GCC
12789 builtin and then its argument prototype would still apply. */
12790 #ifdef __cplusplus
12791 extern "C"
12792 #endif
12793 char pa_stream_is_corked ();
12795 main ()
12797 return pa_stream_is_corked ();
12799 return 0;
12801 _ACEOF
12802 if ac_fn_c_try_link "$LINENO"; then :
12803 ac_cv_lib_pulse_pa_stream_is_corked=yes
12804 else
12805 ac_cv_lib_pulse_pa_stream_is_corked=no
12807 rm -f core conftest.err conftest.$ac_objext \
12808 conftest$ac_exeext conftest.$ac_ext
12809 LIBS=$ac_check_lib_save_LIBS
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12812 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12813 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12815 else
12816 PULSE_LIBS=""
12819 else
12820 PULSE_LIBS=""
12823 done
12825 CPPFLAGS=$ac_save_CPPFLAGS
12826 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12827 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12830 if test -z "$PULSE_LIBS"; then :
12831 case "x$with_pulse" in
12832 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12833 xno) ;;
12834 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12835 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12836 esac
12837 enable_winepulse_drv=${enable_winepulse_drv:-no}
12840 if test "x$with_gstreamer" != "xno"
12841 then
12842 if ${GSTREAMER_CFLAGS:+false} :; then :
12843 if ${PKG_CONFIG+:} false; then :
12844 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12848 if ${GSTREAMER_LIBS:+false} :; then :
12849 if ${PKG_CONFIG+:} false; then :
12850 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12855 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12856 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12857 ac_save_CPPFLAGS=$CPPFLAGS
12858 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12859 ac_gst_incl=""
12860 for i in $GSTREAMER_CFLAGS
12862 case "$i" in
12863 -I*) ac_gst_incl="$ac_gst_incl $i";;
12864 esac
12865 done
12866 GSTREAMER_CFLAGS=$ac_gst_incl
12867 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12868 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12869 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12871 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12873 /* end confdefs.h. */
12874 #include <gst/gst.h>
12876 main ()
12878 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12880 return 0;
12882 _ACEOF
12883 if ac_fn_c_try_compile "$LINENO"; then :
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12885 $as_echo "yes" >&6; }
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12887 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12888 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12889 $as_echo_n "(cached) " >&6
12890 else
12891 ac_check_lib_save_LIBS=$LIBS
12892 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12894 /* end confdefs.h. */
12896 /* Override any GCC internal prototype to avoid an error.
12897 Use char because int might match the return type of a GCC
12898 builtin and then its argument prototype would still apply. */
12899 #ifdef __cplusplus
12900 extern "C"
12901 #endif
12902 char gst_pad_new ();
12904 main ()
12906 return gst_pad_new ();
12908 return 0;
12910 _ACEOF
12911 if ac_fn_c_try_link "$LINENO"; then :
12912 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12913 else
12914 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12916 rm -f core conftest.err conftest.$ac_objext \
12917 conftest$ac_exeext conftest.$ac_ext
12918 LIBS=$ac_check_lib_save_LIBS
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12921 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12922 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12926 else
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12928 $as_echo "no" >&6; }
12929 ac_glib2_broken=yes
12930 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12936 CPPFLAGS=$ac_save_CPPFLAGS
12937 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12938 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12941 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 :
12942 case "x$with_gstreamer" in
12943 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12944 xno) ;;
12945 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12946 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12947 esac
12950 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12952 ALSA_LIBS=""
12954 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12955 then
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12957 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12958 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12959 $as_echo_n "(cached) " >&6
12960 else
12961 ac_check_lib_save_LIBS=$LIBS
12962 LIBS="-lasound $LIBS"
12963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12964 /* end confdefs.h. */
12966 /* Override any GCC internal prototype to avoid an error.
12967 Use char because int might match the return type of a GCC
12968 builtin and then its argument prototype would still apply. */
12969 #ifdef __cplusplus
12970 extern "C"
12971 #endif
12972 char snd_pcm_hw_params_get_access_mask ();
12974 main ()
12976 return snd_pcm_hw_params_get_access_mask ();
12978 return 0;
12980 _ACEOF
12981 if ac_fn_c_try_link "$LINENO"; then :
12982 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12983 else
12984 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12986 rm -f core conftest.err conftest.$ac_objext \
12987 conftest$ac_exeext conftest.$ac_ext
12988 LIBS=$ac_check_lib_save_LIBS
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12991 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12992 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12994 /* end confdefs.h. */
12995 #ifdef HAVE_ALSA_ASOUNDLIB_H
12996 #include <alsa/asoundlib.h>
12997 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12998 #include <sys/asoundlib.h>
12999 #endif
13001 main ()
13003 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13005 return 0;
13007 _ACEOF
13008 if ac_fn_c_try_compile "$LINENO"; then :
13009 ALSA_LIBS="-lasound"
13011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13015 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13017 if test "x$with_oss" != xno
13018 then
13019 ac_save_CPPFLAGS="$CPPFLAGS"
13020 if test -f /etc/oss.conf
13021 then
13022 . /etc/oss.conf
13024 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13025 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13026 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13027 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13028 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13030 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13032 cat >>confdefs.h <<_ACEOF
13033 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13034 _ACEOF
13036 OSS4_CFLAGS="$ac_oss_incl"
13043 CPPFLAGS="$ac_save_CPPFLAGS"
13045 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13046 case "x$with_oss" in
13047 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13048 xno) ;;
13049 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13050 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13051 esac
13052 enable_wineoss_drv=${enable_wineoss_drv:-no}
13055 if test "x$with_udev" != "xno"
13056 then
13057 if ${UDEV_CFLAGS:+false} :; then :
13058 if ${PKG_CONFIG+:} false; then :
13059 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13063 if ${UDEV_LIBS:+false} :; then :
13064 if ${PKG_CONFIG+:} false; then :
13065 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13069 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13070 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13071 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13072 ac_save_CPPFLAGS=$CPPFLAGS
13073 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13074 for ac_header in libudev.h
13075 do :
13076 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13077 if test "x$ac_cv_header_libudev_h" = xyes; then :
13078 cat >>confdefs.h <<_ACEOF
13079 #define HAVE_LIBUDEV_H 1
13080 _ACEOF
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13082 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13083 if ${ac_cv_lib_udev_udev_new+:} false; then :
13084 $as_echo_n "(cached) " >&6
13085 else
13086 ac_check_lib_save_LIBS=$LIBS
13087 LIBS="-ludev $UDEV_LIBS $LIBS"
13088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13089 /* end confdefs.h. */
13091 /* Override any GCC internal prototype to avoid an error.
13092 Use char because int might match the return type of a GCC
13093 builtin and then its argument prototype would still apply. */
13094 #ifdef __cplusplus
13095 extern "C"
13096 #endif
13097 char udev_new ();
13099 main ()
13101 return udev_new ();
13103 return 0;
13105 _ACEOF
13106 if ac_fn_c_try_link "$LINENO"; then :
13107 ac_cv_lib_udev_udev_new=yes
13108 else
13109 ac_cv_lib_udev_udev_new=no
13111 rm -f core conftest.err conftest.$ac_objext \
13112 conftest$ac_exeext conftest.$ac_ext
13113 LIBS=$ac_check_lib_save_LIBS
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13116 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13117 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13119 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13121 else
13122 UDEV_LIBS=""
13125 else
13126 UDEV_LIBS=""
13129 done
13131 CPPFLAGS=$ac_save_CPPFLAGS
13132 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13133 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13136 if test "x$UDEV_LIBS" = "x"; then :
13137 case "x$with_udev" in
13138 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13139 xno) ;;
13140 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13141 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13142 esac
13146 if test "x$with_sdl" != "xno"
13147 then
13148 if ${SDL2_CFLAGS:+false} :; then :
13149 if ${PKG_CONFIG+:} false; then :
13150 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13154 if ${SDL2_LIBS:+false} :; then :
13155 if ${PKG_CONFIG+:} false; then :
13156 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13160 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13161 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13162 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13163 ac_save_CPPFLAGS=$CPPFLAGS
13164 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13165 for ac_header in SDL2/SDL.h
13166 do :
13167 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13168 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13169 cat >>confdefs.h <<_ACEOF
13170 #define HAVE_SDL2_SDL_H 1
13171 _ACEOF
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13173 $as_echo_n "checking for -lSDL2... " >&6; }
13174 if ${ac_cv_lib_soname_SDL2+:} false; then :
13175 $as_echo_n "(cached) " >&6
13176 else
13177 ac_check_soname_save_LIBS=$LIBS
13178 LIBS="-lSDL2 $LIBS"
13179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13180 /* end confdefs.h. */
13182 /* Override any GCC internal prototype to avoid an error.
13183 Use char because int might match the return type of a GCC
13184 builtin and then its argument prototype would still apply. */
13185 #ifdef __cplusplus
13186 extern "C"
13187 #endif
13188 char SDL_Init ();
13190 main ()
13192 return SDL_Init ();
13194 return 0;
13196 _ACEOF
13197 if ac_fn_c_try_link "$LINENO"; then :
13198 case "$LIBEXT" in
13199 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13200 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'` ;;
13201 *) 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'`
13202 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13203 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13204 fi ;;
13205 esac
13207 rm -f core conftest.err conftest.$ac_objext \
13208 conftest$ac_exeext conftest.$ac_ext
13209 LIBS=$ac_check_soname_save_LIBS
13211 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13213 $as_echo "not found" >&6; }
13215 else
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13217 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13219 cat >>confdefs.h <<_ACEOF
13220 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13221 _ACEOF
13227 done
13229 CPPFLAGS=$ac_save_CPPFLAGS
13230 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13231 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13234 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13235 case "x$with_sdl" in
13236 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13237 xno) ;;
13238 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13239 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13240 esac
13244 if test "x$with_capi" != "xno"
13245 then
13246 if ${CAPI20_CFLAGS:+false} :; then :
13247 if ${PKG_CONFIG+:} false; then :
13248 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13252 if ${CAPI20_LIBS:+false} :; then :
13253 if ${PKG_CONFIG+:} false; then :
13254 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13259 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13260 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13261 ac_save_CPPFLAGS=$CPPFLAGS
13262 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13263 for ac_header in capi20.h linux/capi.h
13264 do :
13265 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13266 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13268 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13269 cat >>confdefs.h <<_ACEOF
13270 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13271 _ACEOF
13275 done
13277 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13278 then
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13280 $as_echo_n "checking for -lcapi20... " >&6; }
13281 if ${ac_cv_lib_soname_capi20+:} false; then :
13282 $as_echo_n "(cached) " >&6
13283 else
13284 ac_check_soname_save_LIBS=$LIBS
13285 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13287 /* end confdefs.h. */
13289 /* Override any GCC internal prototype to avoid an error.
13290 Use char because int might match the return type of a GCC
13291 builtin and then its argument prototype would still apply. */
13292 #ifdef __cplusplus
13293 extern "C"
13294 #endif
13295 char capi20_register ();
13297 main ()
13299 return capi20_register ();
13301 return 0;
13303 _ACEOF
13304 if ac_fn_c_try_link "$LINENO"; then :
13305 case "$LIBEXT" in
13306 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13307 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'` ;;
13308 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13309 if ${ac_cv_lib_soname_capi20:+false} :; then :
13310 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13311 fi ;;
13312 esac
13314 rm -f core conftest.err conftest.$ac_objext \
13315 conftest$ac_exeext conftest.$ac_ext
13316 LIBS=$ac_check_soname_save_LIBS
13318 if ${ac_cv_lib_soname_capi20:+false} :; then :
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13320 $as_echo "not found" >&6; }
13322 else
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13324 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13326 cat >>confdefs.h <<_ACEOF
13327 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13328 _ACEOF
13333 CPPFLAGS=$ac_save_CPPFLAGS
13334 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13335 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13338 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13339 case "x$with_capi" in
13340 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13341 xno) ;;
13342 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13343 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13344 esac
13348 if test "x$with_cups" != "xno"
13349 then
13350 if ${CUPS_CFLAGS:+false} :; then :
13351 if ${PKG_CONFIG+:} false; then :
13352 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13355 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13356 if ${CUPS_LIBS:+false} :; then :
13357 if ${PKG_CONFIG+:} false; then :
13358 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13361 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13362 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13363 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13364 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13365 ac_save_CPPFLAGS=$CPPFLAGS
13366 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13367 for ac_header in cups/cups.h cups/ppd.h
13368 do :
13369 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13370 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13371 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13372 cat >>confdefs.h <<_ACEOF
13373 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13374 _ACEOF
13378 done
13380 if test "$ac_cv_header_cups_cups_h" = "yes"
13381 then
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13383 $as_echo_n "checking for -lcups... " >&6; }
13384 if ${ac_cv_lib_soname_cups+:} false; then :
13385 $as_echo_n "(cached) " >&6
13386 else
13387 ac_check_soname_save_LIBS=$LIBS
13388 LIBS="-lcups $CUPS_LIBS $LIBS"
13389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13390 /* end confdefs.h. */
13392 /* Override any GCC internal prototype to avoid an error.
13393 Use char because int might match the return type of a GCC
13394 builtin and then its argument prototype would still apply. */
13395 #ifdef __cplusplus
13396 extern "C"
13397 #endif
13398 char cupsGetDefault ();
13400 main ()
13402 return cupsGetDefault ();
13404 return 0;
13406 _ACEOF
13407 if ac_fn_c_try_link "$LINENO"; then :
13408 case "$LIBEXT" in
13409 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13410 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'` ;;
13411 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13412 if ${ac_cv_lib_soname_cups:+false} :; then :
13413 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13414 fi ;;
13415 esac
13417 rm -f core conftest.err conftest.$ac_objext \
13418 conftest$ac_exeext conftest.$ac_ext
13419 LIBS=$ac_check_soname_save_LIBS
13421 if ${ac_cv_lib_soname_cups:+false} :; then :
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13423 $as_echo "not found" >&6; }
13424 CUPS_LIBS=""
13425 else
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13427 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13429 cat >>confdefs.h <<_ACEOF
13430 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13431 _ACEOF
13435 else
13436 CUPS_CFLAGS=""
13437 CUPS_LIBS=""
13439 CPPFLAGS=$ac_save_CPPFLAGS
13440 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13441 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13444 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13445 case "x$with_cups" in
13446 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13447 xno) ;;
13448 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13449 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13450 esac
13454 if test "x$with_fontconfig" != "xno"
13455 then
13456 if ${FONTCONFIG_CFLAGS:+false} :; then :
13457 if ${PKG_CONFIG+:} false; then :
13458 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13461 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13462 if ${FONTCONFIG_LIBS:+false} :; then :
13463 if ${PKG_CONFIG+:} false; then :
13464 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13467 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13469 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13470 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13471 ac_save_CPPFLAGS=$CPPFLAGS
13472 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13473 for ac_header in fontconfig/fontconfig.h
13474 do :
13475 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13476 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13477 cat >>confdefs.h <<_ACEOF
13478 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13479 _ACEOF
13483 done
13485 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13486 then
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13488 $as_echo_n "checking for -lfontconfig... " >&6; }
13489 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13490 $as_echo_n "(cached) " >&6
13491 else
13492 ac_check_soname_save_LIBS=$LIBS
13493 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13495 /* end confdefs.h. */
13497 /* Override any GCC internal prototype to avoid an error.
13498 Use char because int might match the return type of a GCC
13499 builtin and then its argument prototype would still apply. */
13500 #ifdef __cplusplus
13501 extern "C"
13502 #endif
13503 char FcInit ();
13505 main ()
13507 return FcInit ();
13509 return 0;
13511 _ACEOF
13512 if ac_fn_c_try_link "$LINENO"; then :
13513 case "$LIBEXT" in
13514 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13515 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'` ;;
13516 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13517 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13518 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13519 fi ;;
13520 esac
13522 rm -f core conftest.err conftest.$ac_objext \
13523 conftest$ac_exeext conftest.$ac_ext
13524 LIBS=$ac_check_soname_save_LIBS
13526 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13528 $as_echo "not found" >&6; }
13529 FONTCONFIG_CFLAGS=""
13530 else
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13532 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13534 cat >>confdefs.h <<_ACEOF
13535 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13536 _ACEOF
13540 else
13541 FONTCONFIG_CFLAGS=""
13543 CPPFLAGS=$ac_save_CPPFLAGS
13544 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13545 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13548 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13549 case "x$with_fontconfig" in
13550 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13551 xno) ;;
13552 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13553 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13554 esac
13558 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13559 then
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13561 $as_echo_n "checking for -lgsm... " >&6; }
13562 if ${ac_cv_lib_soname_gsm+:} false; then :
13563 $as_echo_n "(cached) " >&6
13564 else
13565 ac_check_soname_save_LIBS=$LIBS
13566 LIBS="-lgsm $LIBS"
13567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13568 /* end confdefs.h. */
13570 /* Override any GCC internal prototype to avoid an error.
13571 Use char because int might match the return type of a GCC
13572 builtin and then its argument prototype would still apply. */
13573 #ifdef __cplusplus
13574 extern "C"
13575 #endif
13576 char gsm_create ();
13578 main ()
13580 return gsm_create ();
13582 return 0;
13584 _ACEOF
13585 if ac_fn_c_try_link "$LINENO"; then :
13586 case "$LIBEXT" in
13587 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13588 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'` ;;
13589 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13590 if ${ac_cv_lib_soname_gsm:+false} :; then :
13591 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13592 fi ;;
13593 esac
13595 rm -f core conftest.err conftest.$ac_objext \
13596 conftest$ac_exeext conftest.$ac_ext
13597 LIBS=$ac_check_soname_save_LIBS
13599 if ${ac_cv_lib_soname_gsm:+false} :; then :
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13601 $as_echo "not found" >&6; }
13603 else
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13605 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13607 cat >>confdefs.h <<_ACEOF
13608 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13609 _ACEOF
13614 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13615 case "x$with_gsm" in
13616 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13617 xno) ;;
13618 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13619 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13620 esac
13624 if test "x$with_krb5" != "xno"
13625 then
13626 if ${KRB5_CFLAGS:+false} :; then :
13627 if ${PKG_CONFIG+:} false; then :
13628 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13631 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13632 if ${KRB5_LIBS:+false} :; then :
13633 if ${PKG_CONFIG+:} false; then :
13634 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13637 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13639 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13640 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13641 ac_save_CPPFLAGS=$CPPFLAGS
13642 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13643 for ac_header in krb5/krb5.h
13644 do :
13645 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13646 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13647 cat >>confdefs.h <<_ACEOF
13648 #define HAVE_KRB5_KRB5_H 1
13649 _ACEOF
13653 done
13655 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13656 then
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13658 $as_echo_n "checking for -lkrb5... " >&6; }
13659 if ${ac_cv_lib_soname_krb5+:} false; then :
13660 $as_echo_n "(cached) " >&6
13661 else
13662 ac_check_soname_save_LIBS=$LIBS
13663 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13665 /* end confdefs.h. */
13667 /* Override any GCC internal prototype to avoid an error.
13668 Use char because int might match the return type of a GCC
13669 builtin and then its argument prototype would still apply. */
13670 #ifdef __cplusplus
13671 extern "C"
13672 #endif
13673 char krb5_init_context ();
13675 main ()
13677 return krb5_init_context ();
13679 return 0;
13681 _ACEOF
13682 if ac_fn_c_try_link "$LINENO"; then :
13683 case "$LIBEXT" in
13684 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13685 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'` ;;
13686 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13687 if ${ac_cv_lib_soname_krb5:+false} :; then :
13688 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13689 fi ;;
13690 esac
13692 rm -f core conftest.err conftest.$ac_objext \
13693 conftest$ac_exeext conftest.$ac_ext
13694 LIBS=$ac_check_soname_save_LIBS
13696 if ${ac_cv_lib_soname_krb5:+false} :; then :
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13698 $as_echo "not found" >&6; }
13699 KRB5_CFLAGS=""
13700 else
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13702 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13704 cat >>confdefs.h <<_ACEOF
13705 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13706 _ACEOF
13710 else
13711 KRB5_CFLAGS=""
13713 CPPFLAGS=$ac_save_CPPFLAGS
13714 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13715 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13718 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13719 case "x$with_krb5" in
13720 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13721 xno) ;;
13722 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13723 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13724 esac
13728 if test "x$with_gssapi" != "xno"
13729 then
13730 if ${GSSAPI_CFLAGS:+false} :; then :
13731 if ${PKG_CONFIG+:} false; then :
13732 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13735 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13736 if ${GSSAPI_LIBS:+false} :; then :
13737 if ${PKG_CONFIG+:} false; then :
13738 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13741 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13743 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13744 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13745 ac_save_CPPFLAGS=$CPPFLAGS
13746 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13747 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13748 do :
13749 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13750 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13751 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13752 cat >>confdefs.h <<_ACEOF
13753 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13754 _ACEOF
13758 done
13760 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13761 then
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13763 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13764 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13765 $as_echo_n "(cached) " >&6
13766 else
13767 ac_check_soname_save_LIBS=$LIBS
13768 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13770 /* end confdefs.h. */
13772 /* Override any GCC internal prototype to avoid an error.
13773 Use char because int might match the return type of a GCC
13774 builtin and then its argument prototype would still apply. */
13775 #ifdef __cplusplus
13776 extern "C"
13777 #endif
13778 char gss_init_sec_context ();
13780 main ()
13782 return gss_init_sec_context ();
13784 return 0;
13786 _ACEOF
13787 if ac_fn_c_try_link "$LINENO"; then :
13788 case "$LIBEXT" in
13789 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13790 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'` ;;
13791 *) 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'`
13792 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13793 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13794 fi ;;
13795 esac
13797 rm -f core conftest.err conftest.$ac_objext \
13798 conftest$ac_exeext conftest.$ac_ext
13799 LIBS=$ac_check_soname_save_LIBS
13801 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13803 $as_echo "not found" >&6; }
13804 GSSAPI_CFLAGS=""
13805 else
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13807 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13809 cat >>confdefs.h <<_ACEOF
13810 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13811 _ACEOF
13815 else
13816 GSSAPI_CFLAGS=""
13818 CPPFLAGS=$ac_save_CPPFLAGS
13819 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13820 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13823 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13824 case "x$with_gssapi" in
13825 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13826 xno) ;;
13827 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13828 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13829 esac
13833 if test "x$with_jpeg" != "xno"
13834 then
13835 if ${JPEG_CFLAGS:+false} :; then :
13836 if ${PKG_CONFIG+:} false; then :
13837 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13841 if ${JPEG_LIBS:+false} :; then :
13842 if ${PKG_CONFIG+:} false; then :
13843 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13848 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13849 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13850 ac_save_CPPFLAGS=$CPPFLAGS
13851 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13852 for ac_header in jpeglib.h
13853 do :
13854 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13855 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13856 cat >>confdefs.h <<_ACEOF
13857 #define HAVE_JPEGLIB_H 1
13858 _ACEOF
13862 done
13864 if test "$ac_cv_header_jpeglib_h" = "yes"
13865 then
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13867 $as_echo_n "checking for -ljpeg... " >&6; }
13868 if ${ac_cv_lib_soname_jpeg+:} false; then :
13869 $as_echo_n "(cached) " >&6
13870 else
13871 ac_check_soname_save_LIBS=$LIBS
13872 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13874 /* end confdefs.h. */
13876 /* Override any GCC internal prototype to avoid an error.
13877 Use char because int might match the return type of a GCC
13878 builtin and then its argument prototype would still apply. */
13879 #ifdef __cplusplus
13880 extern "C"
13881 #endif
13882 char jpeg_start_decompress ();
13884 main ()
13886 return jpeg_start_decompress ();
13888 return 0;
13890 _ACEOF
13891 if ac_fn_c_try_link "$LINENO"; then :
13892 case "$LIBEXT" in
13893 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13894 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'` ;;
13895 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13896 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13897 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13898 fi ;;
13899 esac
13901 rm -f core conftest.err conftest.$ac_objext \
13902 conftest$ac_exeext conftest.$ac_ext
13903 LIBS=$ac_check_soname_save_LIBS
13905 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13907 $as_echo "not found" >&6; }
13908 JPEG_CFLAGS=""
13909 else
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13911 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13913 cat >>confdefs.h <<_ACEOF
13914 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13915 _ACEOF
13919 else
13920 JPEG_CFLAGS=""
13922 CPPFLAGS=$ac_save_CPPFLAGS
13923 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13924 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13927 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13928 case "x$with_jpeg" in
13929 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13930 xno) ;;
13931 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13932 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13933 esac
13937 if test "x$with_png" != "xno"
13938 then
13939 if ${PNG_CFLAGS:+false} :; then :
13940 if ${PKG_CONFIG+:} false; then :
13941 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13944 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13945 if ${PNG_LIBS:+false} :; then :
13946 if ${PKG_CONFIG+:} false; then :
13947 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13950 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13952 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13953 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13954 ac_save_CPPFLAGS=$CPPFLAGS
13955 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13956 for ac_header in png.h
13957 do :
13958 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13959 if test "x$ac_cv_header_png_h" = xyes; then :
13960 cat >>confdefs.h <<_ACEOF
13961 #define HAVE_PNG_H 1
13962 _ACEOF
13966 done
13968 if test "$ac_cv_header_png_h" = "yes"
13969 then
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13971 $as_echo_n "checking for -lpng... " >&6; }
13972 if ${ac_cv_lib_soname_png+:} false; then :
13973 $as_echo_n "(cached) " >&6
13974 else
13975 ac_check_soname_save_LIBS=$LIBS
13976 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13978 /* end confdefs.h. */
13980 /* Override any GCC internal prototype to avoid an error.
13981 Use char because int might match the return type of a GCC
13982 builtin and then its argument prototype would still apply. */
13983 #ifdef __cplusplus
13984 extern "C"
13985 #endif
13986 char png_create_read_struct ();
13988 main ()
13990 return png_create_read_struct ();
13992 return 0;
13994 _ACEOF
13995 if ac_fn_c_try_link "$LINENO"; then :
13996 case "$LIBEXT" in
13997 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13998 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'` ;;
13999 *) 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'`
14000 if ${ac_cv_lib_soname_png:+false} :; then :
14001 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14002 fi ;;
14003 esac
14005 rm -f core conftest.err conftest.$ac_objext \
14006 conftest$ac_exeext conftest.$ac_ext
14007 LIBS=$ac_check_soname_save_LIBS
14009 if ${ac_cv_lib_soname_png:+false} :; then :
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14011 $as_echo "not found" >&6; }
14012 PNG_CFLAGS=""
14013 else
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14015 $as_echo "$ac_cv_lib_soname_png" >&6; }
14017 cat >>confdefs.h <<_ACEOF
14018 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14019 _ACEOF
14023 else
14024 PNG_CFLAGS=""
14026 CPPFLAGS=$ac_save_CPPFLAGS
14027 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14028 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14031 if test "x$ac_cv_lib_soname_png" = "x"; then :
14032 case "x$with_png" in
14033 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14034 xno) ;;
14035 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14036 This is an error since --with-png was requested." "$LINENO" 5 ;;
14037 esac
14041 if test "x$with_tiff" != "xno"
14042 then
14043 if ${TIFF_CFLAGS:+false} :; then :
14044 if ${PKG_CONFIG+:} false; then :
14045 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14049 if ${TIFF_LIBS:+false} :; then :
14050 if ${PKG_CONFIG+:} false; then :
14051 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14056 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14057 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14058 ac_save_CPPFLAGS=$CPPFLAGS
14059 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14060 for ac_header in tiffio.h
14061 do :
14062 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14063 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14064 cat >>confdefs.h <<_ACEOF
14065 #define HAVE_TIFFIO_H 1
14066 _ACEOF
14070 done
14072 if test "$ac_cv_header_tiffio_h" = "yes"
14073 then
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14075 $as_echo_n "checking for -ltiff... " >&6; }
14076 if ${ac_cv_lib_soname_tiff+:} false; then :
14077 $as_echo_n "(cached) " >&6
14078 else
14079 ac_check_soname_save_LIBS=$LIBS
14080 LIBS="-ltiff $TIFF_LIBS $LIBS"
14081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14084 /* Override any GCC internal prototype to avoid an error.
14085 Use char because int might match the return type of a GCC
14086 builtin and then its argument prototype would still apply. */
14087 #ifdef __cplusplus
14088 extern "C"
14089 #endif
14090 char TIFFClientOpen ();
14092 main ()
14094 return TIFFClientOpen ();
14096 return 0;
14098 _ACEOF
14099 if ac_fn_c_try_link "$LINENO"; then :
14100 case "$LIBEXT" in
14101 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14102 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'` ;;
14103 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14104 if ${ac_cv_lib_soname_tiff:+false} :; then :
14105 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14106 fi ;;
14107 esac
14109 rm -f core conftest.err conftest.$ac_objext \
14110 conftest$ac_exeext conftest.$ac_ext
14111 LIBS=$ac_check_soname_save_LIBS
14113 if ${ac_cv_lib_soname_tiff:+false} :; then :
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14115 $as_echo "not found" >&6; }
14117 else
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14119 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14121 cat >>confdefs.h <<_ACEOF
14122 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14123 _ACEOF
14128 CPPFLAGS=$ac_save_CPPFLAGS
14129 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14130 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14133 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14134 case "x$with_tiff" in
14135 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14136 xno) ;;
14137 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14138 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14139 esac
14143 if test "x$with_mpg123" != "xno"
14144 then
14145 if ${MPG123_CFLAGS:+false} :; then :
14146 if ${PKG_CONFIG+:} false; then :
14147 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14151 if ${MPG123_LIBS:+false} :; then :
14152 if ${PKG_CONFIG+:} false; then :
14153 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14157 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14158 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14159 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14160 ac_save_CPPFLAGS=$CPPFLAGS
14161 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14162 for ac_header in mpg123.h
14163 do :
14164 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14165 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14166 cat >>confdefs.h <<_ACEOF
14167 #define HAVE_MPG123_H 1
14168 _ACEOF
14172 done
14174 if test "$ac_cv_header_mpg123_h" = "yes"
14175 then
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14177 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14178 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14179 $as_echo_n "(cached) " >&6
14180 else
14181 ac_check_lib_save_LIBS=$LIBS
14182 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14184 /* end confdefs.h. */
14186 /* Override any GCC internal prototype to avoid an error.
14187 Use char because int might match the return type of a GCC
14188 builtin and then its argument prototype would still apply. */
14189 #ifdef __cplusplus
14190 extern "C"
14191 #endif
14192 char mpg123_feed ();
14194 main ()
14196 return mpg123_feed ();
14198 return 0;
14200 _ACEOF
14201 if ac_fn_c_try_link "$LINENO"; then :
14202 ac_cv_lib_mpg123_mpg123_feed=yes
14203 else
14204 ac_cv_lib_mpg123_mpg123_feed=no
14206 rm -f core conftest.err conftest.$ac_objext \
14207 conftest$ac_exeext conftest.$ac_ext
14208 LIBS=$ac_check_lib_save_LIBS
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14211 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14212 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14214 else
14215 MPG123_LIBS=""
14218 else
14219 MPG123_CFLAGS=""
14220 MPG123_LIBS=""
14222 CPPFLAGS=$ac_save_CPPFLAGS
14223 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14224 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14227 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14228 case "x$with_mpg123" in
14229 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14230 xno) ;;
14231 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14232 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14233 esac
14234 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14237 if test "$ac_cv_header_AL_al_h" = "yes"
14238 then
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14240 $as_echo_n "checking for -lopenal... " >&6; }
14241 if ${ac_cv_lib_soname_openal+:} false; then :
14242 $as_echo_n "(cached) " >&6
14243 else
14244 ac_check_soname_save_LIBS=$LIBS
14245 LIBS="-lopenal $LIBS"
14246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14247 /* end confdefs.h. */
14249 /* Override any GCC internal prototype to avoid an error.
14250 Use char because int might match the return type of a GCC
14251 builtin and then its argument prototype would still apply. */
14252 #ifdef __cplusplus
14253 extern "C"
14254 #endif
14255 char alGetSource3i ();
14257 main ()
14259 return alGetSource3i ();
14261 return 0;
14263 _ACEOF
14264 if ac_fn_c_try_link "$LINENO"; then :
14265 case "$LIBEXT" in
14266 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14267 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'` ;;
14268 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14269 if ${ac_cv_lib_soname_openal:+false} :; then :
14270 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14271 fi ;;
14272 esac
14274 rm -f core conftest.err conftest.$ac_objext \
14275 conftest$ac_exeext conftest.$ac_ext
14276 LIBS=$ac_check_soname_save_LIBS
14278 if ${ac_cv_lib_soname_openal:+false} :; then :
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14280 $as_echo "not found" >&6; }
14282 else
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14284 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14286 cat >>confdefs.h <<_ACEOF
14287 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14288 _ACEOF
14290 OPENAL_LIBS="-lopenal"
14292 ac_cv_lib_openal=yes
14294 cat >>confdefs.h <<_ACEOF
14295 #define HAVE_OPENAL 1
14296 _ACEOF
14300 if test "x$ac_cv_lib_openal" != xyes; then :
14301 case "x$with_openal" in
14302 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14303 xno) ;;
14304 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14305 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14306 esac
14307 enable_openal32=${enable_openal32:-no}
14310 if test "x$ac_cv_lib_openal" = xyes
14311 then
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14313 $as_echo_n "checking for openal-soft... " >&6; }
14314 if ${ac_cv_have_openalsoft+:} false; then :
14315 $as_echo_n "(cached) " >&6
14316 else
14317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14318 /* end confdefs.h. */
14319 #include <AL/al.h>
14320 #include <AL/alc.h>
14321 #include <AL/alext.h>
14322 LPALCRENDERSAMPLESSOFT x;
14324 main ()
14328 return 0;
14330 _ACEOF
14331 if ac_fn_c_try_compile "$LINENO"; then :
14332 ac_cv_have_openalsoft=yes
14333 else
14334 ac_cv_have_openalsoft=no
14336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14339 $as_echo "$ac_cv_have_openalsoft" >&6; }
14341 if test "x$ac_cv_have_openalsoft" != xyes
14342 then
14343 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14344 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14345 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14346 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14347 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14348 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14349 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14350 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14351 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14352 enable_xapofx1_1=${enable_xapofx1_1:-no}
14353 enable_xapofx1_2=${enable_xapofx1_2:-no}
14354 enable_xapofx1_3=${enable_xapofx1_3:-no}
14355 enable_xapofx1_4=${enable_xapofx1_4:-no}
14356 enable_xapofx1_5=${enable_xapofx1_5:-no}
14357 enable_xaudio2_0=${enable_xaudio2_0:-no}
14358 enable_xaudio2_1=${enable_xaudio2_1:-no}
14359 enable_xaudio2_2=${enable_xaudio2_2:-no}
14360 enable_xaudio2_3=${enable_xaudio2_3:-no}
14361 enable_xaudio2_4=${enable_xaudio2_4:-no}
14362 enable_xaudio2_5=${enable_xaudio2_5:-no}
14363 enable_xaudio2_6=${enable_xaudio2_6:-no}
14364 enable_xaudio2_7=${enable_xaudio2_7:-no}
14365 enable_xaudio2_8=${enable_xaudio2_8:-no}
14366 enable_xaudio2_9=${enable_xaudio2_9:-no}
14369 if test "$ac_cv_header_kstat_h" = "yes"
14370 then
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14372 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14373 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14374 $as_echo_n "(cached) " >&6
14375 else
14376 ac_check_lib_save_LIBS=$LIBS
14377 LIBS="-lkstat $LIBS"
14378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14381 /* Override any GCC internal prototype to avoid an error.
14382 Use char because int might match the return type of a GCC
14383 builtin and then its argument prototype would still apply. */
14384 #ifdef __cplusplus
14385 extern "C"
14386 #endif
14387 char kstat_open ();
14389 main ()
14391 return kstat_open ();
14393 return 0;
14395 _ACEOF
14396 if ac_fn_c_try_link "$LINENO"; then :
14397 ac_cv_lib_kstat_kstat_open=yes
14398 else
14399 ac_cv_lib_kstat_kstat_open=no
14401 rm -f core conftest.err conftest.$ac_objext \
14402 conftest$ac_exeext conftest.$ac_ext
14403 LIBS=$ac_check_lib_save_LIBS
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14406 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14407 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14409 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14411 KSTAT_LIBS="-lkstat"
14417 if test "$ac_cv_header_libprocstat_h" = "yes"
14418 then
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14420 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14421 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14422 $as_echo_n "(cached) " >&6
14423 else
14424 ac_check_lib_save_LIBS=$LIBS
14425 LIBS="-lprocstat $LIBS"
14426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14427 /* end confdefs.h. */
14429 /* Override any GCC internal prototype to avoid an error.
14430 Use char because int might match the return type of a GCC
14431 builtin and then its argument prototype would still apply. */
14432 #ifdef __cplusplus
14433 extern "C"
14434 #endif
14435 char procstat_open_sysctl ();
14437 main ()
14439 return procstat_open_sysctl ();
14441 return 0;
14443 _ACEOF
14444 if ac_fn_c_try_link "$LINENO"; then :
14445 ac_cv_lib_procstat_procstat_open_sysctl=yes
14446 else
14447 ac_cv_lib_procstat_procstat_open_sysctl=no
14449 rm -f core conftest.err conftest.$ac_objext \
14450 conftest$ac_exeext conftest.$ac_ext
14451 LIBS=$ac_check_lib_save_LIBS
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14454 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14455 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14457 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14459 PROCSTAT_LIBS="-lprocstat"
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14466 $as_echo_n "checking for -lodbc... " >&6; }
14467 if ${ac_cv_lib_soname_odbc+:} false; then :
14468 $as_echo_n "(cached) " >&6
14469 else
14470 ac_check_soname_save_LIBS=$LIBS
14471 LIBS="-lodbc $LIBS"
14472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14473 /* end confdefs.h. */
14475 /* Override any GCC internal prototype to avoid an error.
14476 Use char because int might match the return type of a GCC
14477 builtin and then its argument prototype would still apply. */
14478 #ifdef __cplusplus
14479 extern "C"
14480 #endif
14481 char SQLConnect ();
14483 main ()
14485 return SQLConnect ();
14487 return 0;
14489 _ACEOF
14490 if ac_fn_c_try_link "$LINENO"; then :
14491 case "$LIBEXT" in
14492 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14493 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'` ;;
14494 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14495 if ${ac_cv_lib_soname_odbc:+false} :; then :
14496 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14497 fi ;;
14498 esac
14500 rm -f core conftest.err conftest.$ac_objext \
14501 conftest$ac_exeext conftest.$ac_ext
14502 LIBS=$ac_check_soname_save_LIBS
14504 if ${ac_cv_lib_soname_odbc:+false} :; then :
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14506 $as_echo "not found" >&6; }
14507 cat >>confdefs.h <<_ACEOF
14508 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14509 _ACEOF
14511 else
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14513 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14515 cat >>confdefs.h <<_ACEOF
14516 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14517 _ACEOF
14522 if test "x$with_netapi" != "xno"
14523 then
14524 if ${NETAPI_CFLAGS:+false} :; then :
14525 if ${PKG_CONFIG+:} false; then :
14526 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14530 if ${NETAPI_LIBS:+false} :; then :
14531 if ${PKG_CONFIG+:} false; then :
14532 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14537 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14538 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14539 ac_save_CPPFLAGS=$CPPFLAGS
14540 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14542 $as_echo_n "checking for -lnetapi... " >&6; }
14543 if ${ac_cv_lib_soname_netapi+:} false; then :
14544 $as_echo_n "(cached) " >&6
14545 else
14546 ac_check_soname_save_LIBS=$LIBS
14547 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14551 /* Override any GCC internal prototype to avoid an error.
14552 Use char because int might match the return type of a GCC
14553 builtin and then its argument prototype would still apply. */
14554 #ifdef __cplusplus
14555 extern "C"
14556 #endif
14557 char libnetapi_init ();
14559 main ()
14561 return libnetapi_init ();
14563 return 0;
14565 _ACEOF
14566 if ac_fn_c_try_link "$LINENO"; then :
14567 case "$LIBEXT" in
14568 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14569 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'` ;;
14570 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14571 if ${ac_cv_lib_soname_netapi:+false} :; then :
14572 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14573 fi ;;
14574 esac
14576 rm -f core conftest.err conftest.$ac_objext \
14577 conftest$ac_exeext conftest.$ac_ext
14578 LIBS=$ac_check_soname_save_LIBS
14580 if ${ac_cv_lib_soname_netapi:+false} :; then :
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14582 $as_echo "not found" >&6; }
14583 cat >>confdefs.h <<_ACEOF
14584 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14585 _ACEOF
14587 else
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14589 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14591 cat >>confdefs.h <<_ACEOF
14592 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14593 _ACEOF
14597 CPPFLAGS=$ac_save_CPPFLAGS
14598 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14599 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14603 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14604 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14605 then
14606 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14609 if test "x$with_vulkan" != "xno"
14610 then
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14612 $as_echo_n "checking for -lvulkan... " >&6; }
14613 if ${ac_cv_lib_soname_vulkan+:} false; then :
14614 $as_echo_n "(cached) " >&6
14615 else
14616 ac_check_soname_save_LIBS=$LIBS
14617 LIBS="-lvulkan $LIBS"
14618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14619 /* end confdefs.h. */
14621 /* Override any GCC internal prototype to avoid an error.
14622 Use char because int might match the return type of a GCC
14623 builtin and then its argument prototype would still apply. */
14624 #ifdef __cplusplus
14625 extern "C"
14626 #endif
14627 char vkGetInstanceProcAddr ();
14629 main ()
14631 return vkGetInstanceProcAddr ();
14633 return 0;
14635 _ACEOF
14636 if ac_fn_c_try_link "$LINENO"; then :
14637 case "$LIBEXT" in
14638 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14639 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'` ;;
14640 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14641 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14642 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14643 fi ;;
14644 esac
14646 rm -f core conftest.err conftest.$ac_objext \
14647 conftest$ac_exeext conftest.$ac_ext
14648 LIBS=$ac_check_soname_save_LIBS
14650 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14652 $as_echo "not found" >&6; }
14654 else
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14656 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14658 cat >>confdefs.h <<_ACEOF
14659 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14660 _ACEOF
14665 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14666 case "x$with_vulkan" in
14667 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14668 xno) ;;
14669 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14670 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14671 esac
14676 EXTRACFLAGS=""
14678 if test "x${GCC}" = "xyes"
14679 then
14680 EXTRACFLAGS="-Wall -pipe"
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14683 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14684 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14685 $as_echo_n "(cached) " >&6
14686 else
14687 if test "$cross_compiling" = yes; then :
14688 ac_cv_c_gcc_strength_bug="no"
14689 else
14690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14691 /* end confdefs.h. */
14692 int L[4] = {0,1,2,3};
14694 main ()
14696 static int Array[3];
14697 unsigned int B = 3;
14698 int i;
14699 for(i=0; i<B; i++) Array[i] = i - 3;
14700 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14701 L[i] = 4;
14702 return (Array[1] != -2 || L[2] != 3)
14704 return 0;
14706 _ACEOF
14707 if ac_fn_c_try_run "$LINENO"; then :
14708 ac_cv_c_gcc_strength_bug="no"
14709 else
14710 ac_cv_c_gcc_strength_bug="yes"
14712 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14713 conftest.$ac_objext conftest.beam conftest.$ac_ext
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14718 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14719 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14720 then
14721 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14725 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14726 if ${ac_cv_cflags__fno_builtin+:} false; then :
14727 $as_echo_n "(cached) " >&6
14728 else
14729 ac_wine_try_cflags_saved=$CFLAGS
14730 CFLAGS="$CFLAGS -fno-builtin"
14731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14732 /* end confdefs.h. */
14733 int main(int argc, char **argv) { return 0; }
14734 _ACEOF
14735 if ac_fn_c_try_link "$LINENO"; then :
14736 ac_cv_cflags__fno_builtin=yes
14737 else
14738 ac_cv_cflags__fno_builtin=no
14740 rm -f core conftest.err conftest.$ac_objext \
14741 conftest$ac_exeext conftest.$ac_ext
14742 CFLAGS=$ac_wine_try_cflags_saved
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14745 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14746 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14747 BUILTINFLAG="-fno-builtin"
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14751 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14752 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14753 $as_echo_n "(cached) " >&6
14754 else
14755 ac_wine_try_cflags_saved=$CFLAGS
14756 CFLAGS="$CFLAGS -fno-strict-aliasing"
14757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14758 /* end confdefs.h. */
14759 int main(int argc, char **argv) { return 0; }
14760 _ACEOF
14761 if ac_fn_c_try_link "$LINENO"; then :
14762 ac_cv_cflags__fno_strict_aliasing=yes
14763 else
14764 ac_cv_cflags__fno_strict_aliasing=no
14766 rm -f core conftest.err conftest.$ac_objext \
14767 conftest$ac_exeext conftest.$ac_ext
14768 CFLAGS=$ac_wine_try_cflags_saved
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14771 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14772 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14773 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14776 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14777 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14778 $as_echo_n "(cached) " >&6
14779 else
14780 ac_wine_try_cflags_saved=$CFLAGS
14781 CFLAGS="$CFLAGS -fexcess-precision=standard"
14782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14783 /* end confdefs.h. */
14784 int main(int argc, char **argv) { return 0; }
14785 _ACEOF
14786 if ac_fn_c_try_link "$LINENO"; then :
14787 ac_cv_cflags__fexcess_precision_standard=yes
14788 else
14789 ac_cv_cflags__fexcess_precision_standard=no
14791 rm -f core conftest.err conftest.$ac_objext \
14792 conftest$ac_exeext conftest.$ac_ext
14793 CFLAGS=$ac_wine_try_cflags_saved
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14796 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14797 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14798 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14801 saved_CFLAGS=$CFLAGS
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14803 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14804 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14805 $as_echo_n "(cached) " >&6
14806 else
14807 ac_wine_try_cflags_saved=$CFLAGS
14808 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14810 /* end confdefs.h. */
14811 int main(int argc, char **argv) { return 0; }
14812 _ACEOF
14813 if ac_fn_c_try_link "$LINENO"; then :
14814 ac_cv_cflags__Werror_unknown_warning_option=yes
14815 else
14816 ac_cv_cflags__Werror_unknown_warning_option=no
14818 rm -f core conftest.err conftest.$ac_objext \
14819 conftest$ac_exeext conftest.$ac_ext
14820 CFLAGS=$ac_wine_try_cflags_saved
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14823 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14824 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14825 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14828 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14829 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14830 $as_echo_n "(cached) " >&6
14831 else
14832 ac_wine_try_cflags_saved=$CFLAGS
14833 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14835 /* end confdefs.h. */
14836 int main(int argc, char **argv) { return 0; }
14837 _ACEOF
14838 if ac_fn_c_try_link "$LINENO"; then :
14839 ac_cv_cflags__Wdeclaration_after_statement=yes
14840 else
14841 ac_cv_cflags__Wdeclaration_after_statement=no
14843 rm -f core conftest.err conftest.$ac_objext \
14844 conftest$ac_exeext conftest.$ac_ext
14845 CFLAGS=$ac_wine_try_cflags_saved
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14848 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14849 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14850 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14853 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14854 if ${ac_cv_cflags__Wempty_body+:} false; then :
14855 $as_echo_n "(cached) " >&6
14856 else
14857 ac_wine_try_cflags_saved=$CFLAGS
14858 CFLAGS="$CFLAGS -Wempty-body"
14859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14860 /* end confdefs.h. */
14861 int main(int argc, char **argv) { return 0; }
14862 _ACEOF
14863 if ac_fn_c_try_link "$LINENO"; then :
14864 ac_cv_cflags__Wempty_body=yes
14865 else
14866 ac_cv_cflags__Wempty_body=no
14868 rm -f core conftest.err conftest.$ac_objext \
14869 conftest$ac_exeext conftest.$ac_ext
14870 CFLAGS=$ac_wine_try_cflags_saved
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14873 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14874 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14875 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14878 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14879 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14880 $as_echo_n "(cached) " >&6
14881 else
14882 ac_wine_try_cflags_saved=$CFLAGS
14883 CFLAGS="$CFLAGS -Wignored-qualifiers"
14884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14886 int main(int argc, char **argv) { return 0; }
14887 _ACEOF
14888 if ac_fn_c_try_link "$LINENO"; then :
14889 ac_cv_cflags__Wignored_qualifiers=yes
14890 else
14891 ac_cv_cflags__Wignored_qualifiers=no
14893 rm -f core conftest.err conftest.$ac_objext \
14894 conftest$ac_exeext conftest.$ac_ext
14895 CFLAGS=$ac_wine_try_cflags_saved
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14898 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14899 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14900 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14903 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14904 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14905 $as_echo_n "(cached) " >&6
14906 else
14907 ac_wine_try_cflags_saved=$CFLAGS
14908 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14910 /* end confdefs.h. */
14911 int main(int argc, char **argv) { return 0; }
14912 _ACEOF
14913 if ac_fn_c_try_link "$LINENO"; then :
14914 ac_cv_cflags__Wpacked_not_aligned=yes
14915 else
14916 ac_cv_cflags__Wpacked_not_aligned=no
14918 rm -f core conftest.err conftest.$ac_objext \
14919 conftest$ac_exeext conftest.$ac_ext
14920 CFLAGS=$ac_wine_try_cflags_saved
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14923 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14924 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14925 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14928 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14929 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14930 $as_echo_n "(cached) " >&6
14931 else
14932 ac_wine_try_cflags_saved=$CFLAGS
14933 CFLAGS="$CFLAGS -Wpragma-pack"
14934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14935 /* end confdefs.h. */
14936 int main(int argc, char **argv) { return 0; }
14937 _ACEOF
14938 if ac_fn_c_try_link "$LINENO"; then :
14939 ac_cv_cflags__Wpragma_pack=yes
14940 else
14941 ac_cv_cflags__Wpragma_pack=no
14943 rm -f core conftest.err conftest.$ac_objext \
14944 conftest$ac_exeext conftest.$ac_ext
14945 CFLAGS=$ac_wine_try_cflags_saved
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14948 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14949 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14950 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14953 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14954 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14955 $as_echo_n "(cached) " >&6
14956 else
14957 ac_wine_try_cflags_saved=$CFLAGS
14958 CFLAGS="$CFLAGS -Wshift-overflow=2"
14959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14960 /* end confdefs.h. */
14961 int main(int argc, char **argv) { return 0; }
14962 _ACEOF
14963 if ac_fn_c_try_link "$LINENO"; then :
14964 ac_cv_cflags__Wshift_overflow_2=yes
14965 else
14966 ac_cv_cflags__Wshift_overflow_2=no
14968 rm -f core conftest.err conftest.$ac_objext \
14969 conftest$ac_exeext conftest.$ac_ext
14970 CFLAGS=$ac_wine_try_cflags_saved
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14973 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14974 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14975 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14978 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14979 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14980 $as_echo_n "(cached) " >&6
14981 else
14982 ac_wine_try_cflags_saved=$CFLAGS
14983 CFLAGS="$CFLAGS -Wstrict-prototypes"
14984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14985 /* end confdefs.h. */
14986 int main(int argc, char **argv) { return 0; }
14987 _ACEOF
14988 if ac_fn_c_try_link "$LINENO"; then :
14989 ac_cv_cflags__Wstrict_prototypes=yes
14990 else
14991 ac_cv_cflags__Wstrict_prototypes=no
14993 rm -f core conftest.err conftest.$ac_objext \
14994 conftest$ac_exeext conftest.$ac_ext
14995 CFLAGS=$ac_wine_try_cflags_saved
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14998 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14999 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15000 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15003 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15004 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15005 $as_echo_n "(cached) " >&6
15006 else
15007 ac_wine_try_cflags_saved=$CFLAGS
15008 CFLAGS="$CFLAGS -Wtype-limits"
15009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15011 int main(int argc, char **argv) { return 0; }
15012 _ACEOF
15013 if ac_fn_c_try_link "$LINENO"; then :
15014 ac_cv_cflags__Wtype_limits=yes
15015 else
15016 ac_cv_cflags__Wtype_limits=no
15018 rm -f core conftest.err conftest.$ac_objext \
15019 conftest$ac_exeext conftest.$ac_ext
15020 CFLAGS=$ac_wine_try_cflags_saved
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15023 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15024 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15025 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15028 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15029 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15030 $as_echo_n "(cached) " >&6
15031 else
15032 ac_wine_try_cflags_saved=$CFLAGS
15033 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15035 /* end confdefs.h. */
15036 int main(int argc, char **argv) { return 0; }
15037 _ACEOF
15038 if ac_fn_c_try_link "$LINENO"; then :
15039 ac_cv_cflags__Wunused_but_set_parameter=yes
15040 else
15041 ac_cv_cflags__Wunused_but_set_parameter=no
15043 rm -f core conftest.err conftest.$ac_objext \
15044 conftest$ac_exeext conftest.$ac_ext
15045 CFLAGS=$ac_wine_try_cflags_saved
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15048 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15049 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15050 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15053 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15054 if ${ac_cv_cflags__Wvla+:} false; then :
15055 $as_echo_n "(cached) " >&6
15056 else
15057 ac_wine_try_cflags_saved=$CFLAGS
15058 CFLAGS="$CFLAGS -Wvla"
15059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15060 /* end confdefs.h. */
15061 int main(int argc, char **argv) { return 0; }
15062 _ACEOF
15063 if ac_fn_c_try_link "$LINENO"; then :
15064 ac_cv_cflags__Wvla=yes
15065 else
15066 ac_cv_cflags__Wvla=no
15068 rm -f core conftest.err conftest.$ac_objext \
15069 conftest$ac_exeext conftest.$ac_ext
15070 CFLAGS=$ac_wine_try_cflags_saved
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15073 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15074 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15075 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15078 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15079 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15080 $as_echo_n "(cached) " >&6
15081 else
15082 ac_wine_try_cflags_saved=$CFLAGS
15083 CFLAGS="$CFLAGS -Wwrite-strings"
15084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15085 /* end confdefs.h. */
15086 int main(int argc, char **argv) { return 0; }
15087 _ACEOF
15088 if ac_fn_c_try_link "$LINENO"; then :
15089 ac_cv_cflags__Wwrite_strings=yes
15090 else
15091 ac_cv_cflags__Wwrite_strings=no
15093 rm -f core conftest.err conftest.$ac_objext \
15094 conftest$ac_exeext conftest.$ac_ext
15095 CFLAGS=$ac_wine_try_cflags_saved
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15098 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15099 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15100 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15104 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15105 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15106 $as_echo_n "(cached) " >&6
15107 else
15108 ac_wine_try_cflags_saved=$CFLAGS
15109 CFLAGS="$CFLAGS -Wpointer-arith"
15110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15111 /* end confdefs.h. */
15112 int main(int argc, char **argv) { return 0; }
15113 _ACEOF
15114 if ac_fn_c_try_link "$LINENO"; then :
15115 ac_cv_cflags__Wpointer_arith=yes
15116 else
15117 ac_cv_cflags__Wpointer_arith=no
15119 rm -f core conftest.err conftest.$ac_objext \
15120 conftest$ac_exeext conftest.$ac_ext
15121 CFLAGS=$ac_wine_try_cflags_saved
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15124 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15125 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15126 saved_string_h_CFLAGS=$CFLAGS
15127 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15129 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15130 if ${ac_cv_c_string_h_warnings+:} false; then :
15131 $as_echo_n "(cached) " >&6
15132 else
15133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15134 /* end confdefs.h. */
15135 #include <string.h>
15137 main ()
15141 return 0;
15143 _ACEOF
15144 if ac_fn_c_try_compile "$LINENO"; then :
15145 ac_cv_c_string_h_warnings=no
15146 else
15147 ac_cv_c_string_h_warnings=yes
15149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15152 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15153 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15154 CFLAGS=$saved_string_h_CFLAGS
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15158 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15159 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15160 $as_echo_n "(cached) " >&6
15161 else
15162 ac_wine_try_cflags_saved=$CFLAGS
15163 CFLAGS="$CFLAGS -Wlogical-op"
15164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15166 int main(int argc, char **argv) { return 0; }
15167 _ACEOF
15168 if ac_fn_c_try_link "$LINENO"; then :
15169 ac_cv_cflags__Wlogical_op=yes
15170 else
15171 ac_cv_cflags__Wlogical_op=no
15173 rm -f core conftest.err conftest.$ac_objext \
15174 conftest$ac_exeext conftest.$ac_ext
15175 CFLAGS=$ac_wine_try_cflags_saved
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15178 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15179 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15180 saved_string_h_CFLAGS=$CFLAGS
15181 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15183 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15184 if ${ac_cv_c_logicalop_noisy+:} false; then :
15185 $as_echo_n "(cached) " >&6
15186 else
15187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15188 /* end confdefs.h. */
15189 #include <string.h>
15190 char*f(const char *h,char n) {return strchr(h,n);}
15192 main ()
15196 return 0;
15198 _ACEOF
15199 if ac_fn_c_try_compile "$LINENO"; then :
15200 ac_cv_c_logicalop_noisy=no
15201 else
15202 ac_cv_c_logicalop_noisy=yes
15204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15207 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15208 CFLAGS=$saved_string_h_CFLAGS
15209 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15212 CFLAGS=$saved_CFLAGS
15214 for ac_flag in $CFLAGS; do
15215 case $ac_flag in
15216 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15217 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15218 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15219 $as_echo_n "(cached) " >&6
15220 else
15221 ac_wine_try_cflags_saved=$CFLAGS
15222 CFLAGS="$CFLAGS -gdwarf-2"
15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15225 int main(int argc, char **argv) { return 0; }
15226 _ACEOF
15227 if ac_fn_c_try_link "$LINENO"; then :
15228 ac_cv_cflags__gdwarf_2=yes
15229 else
15230 ac_cv_cflags__gdwarf_2=no
15232 rm -f core conftest.err conftest.$ac_objext \
15233 conftest$ac_exeext conftest.$ac_ext
15234 CFLAGS=$ac_wine_try_cflags_saved
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15237 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15238 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15239 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15242 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15243 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15244 $as_echo_n "(cached) " >&6
15245 else
15246 ac_wine_try_cflags_saved=$CFLAGS
15247 CFLAGS="$CFLAGS -gstrict-dwarf"
15248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15249 /* end confdefs.h. */
15250 int main(int argc, char **argv) { return 0; }
15251 _ACEOF
15252 if ac_fn_c_try_link "$LINENO"; then :
15253 ac_cv_cflags__gstrict_dwarf=yes
15254 else
15255 ac_cv_cflags__gstrict_dwarf=no
15257 rm -f core conftest.err conftest.$ac_objext \
15258 conftest$ac_exeext conftest.$ac_ext
15259 CFLAGS=$ac_wine_try_cflags_saved
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15262 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15263 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15264 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15265 fi ;;
15266 esac
15267 done
15269 case $host_cpu in
15270 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15271 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15272 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15273 $as_echo_n "(cached) " >&6
15274 else
15275 ac_wine_try_cflags_saved=$CFLAGS
15276 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15278 /* end confdefs.h. */
15279 int main(int argc, char **argv) { return 0; }
15280 _ACEOF
15281 if ac_fn_c_try_link "$LINENO"; then :
15282 ac_cv_cflags__fno_omit_frame_pointer=yes
15283 else
15284 ac_cv_cflags__fno_omit_frame_pointer=no
15286 rm -f core conftest.err conftest.$ac_objext \
15287 conftest$ac_exeext conftest.$ac_ext
15288 CFLAGS=$ac_wine_try_cflags_saved
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15291 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15292 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15293 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15294 fi ;;
15295 esac
15297 case $host in
15298 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15299 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15300 if ${ac_cv_cflags__Wno_format+:} false; then :
15301 $as_echo_n "(cached) " >&6
15302 else
15303 ac_wine_try_cflags_saved=$CFLAGS
15304 CFLAGS="$CFLAGS -Wno-format"
15305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15306 /* end confdefs.h. */
15307 int main(int argc, char **argv) { return 0; }
15308 _ACEOF
15309 if ac_fn_c_try_link "$LINENO"; then :
15310 ac_cv_cflags__Wno_format=yes
15311 else
15312 ac_cv_cflags__Wno_format=no
15314 rm -f core conftest.err conftest.$ac_objext \
15315 conftest$ac_exeext conftest.$ac_ext
15316 CFLAGS=$ac_wine_try_cflags_saved
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15319 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15320 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15321 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15322 fi ;;
15323 esac
15325 if test "x$enable_maintainer_mode" = "xyes"
15326 then
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15328 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15329 if ${ac_cv_cflags__Werror+:} false; then :
15330 $as_echo_n "(cached) " >&6
15331 else
15332 ac_wine_try_cflags_saved=$CFLAGS
15333 CFLAGS="$CFLAGS -Werror"
15334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15335 /* end confdefs.h. */
15336 int main(int argc, char **argv) { return 0; }
15337 _ACEOF
15338 if ac_fn_c_try_link "$LINENO"; then :
15339 ac_cv_cflags__Werror=yes
15340 else
15341 ac_cv_cflags__Werror=no
15343 rm -f core conftest.err conftest.$ac_objext \
15344 conftest$ac_exeext conftest.$ac_ext
15345 CFLAGS=$ac_wine_try_cflags_saved
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15348 $as_echo "$ac_cv_cflags__Werror" >&6; }
15349 if test "x$ac_cv_cflags__Werror" = xyes; then :
15350 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15354 saved_CFLAGS="$CFLAGS"
15355 CFLAGS="$CFLAGS -Werror"
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15357 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15358 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15359 $as_echo_n "(cached) " >&6
15360 else
15361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15362 /* end confdefs.h. */
15363 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15365 main ()
15369 return 0;
15371 _ACEOF
15372 if ac_fn_c_try_compile "$LINENO"; then :
15373 ac_cv_have_ms_hook_prologue="yes"
15374 else
15375 ac_cv_have_ms_hook_prologue="no"
15377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15380 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15381 CFLAGS="$saved_CFLAGS"
15382 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15383 then
15385 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15387 else
15388 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15395 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15396 if ${ac_cv_c_fortify_enabled+:} false; then :
15397 $as_echo_n "(cached) " >&6
15398 else
15399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15400 /* end confdefs.h. */
15401 #include <string.h>
15403 main ()
15405 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15406 #error Fortify enabled
15407 #endif
15409 return 0;
15411 _ACEOF
15412 if ac_fn_c_try_compile "$LINENO"; then :
15413 ac_cv_c_fortify_enabled=no
15414 else
15415 ac_cv_c_fortify_enabled=yes
15417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15420 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15421 if test "$ac_cv_c_fortify_enabled" = yes
15422 then
15423 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15428 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15429 if ${ac_cv_c_extern_prefix+:} false; then :
15430 $as_echo_n "(cached) " >&6
15431 else
15432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15433 /* end confdefs.h. */
15434 extern int ac_test;
15436 main ()
15438 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15440 return 0;
15442 _ACEOF
15443 if ac_fn_c_try_link "$LINENO"; then :
15444 ac_cv_c_extern_prefix="yes"
15445 else
15446 ac_cv_c_extern_prefix="no"
15448 rm -f core conftest.err conftest.$ac_objext \
15449 conftest$ac_exeext conftest.$ac_ext
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15452 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15454 case $host_cpu in
15455 *i[3456789]86*)
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15457 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15458 if ${ac_cv_c_stdcall_suffix+:} false; then :
15459 $as_echo_n "(cached) " >&6
15460 else
15461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15462 /* end confdefs.h. */
15463 #ifndef _MSC_VER
15464 #define __stdcall __attribute__((__stdcall__))
15465 #endif
15466 int __stdcall ac_test(int i) { return i; }
15468 main ()
15470 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15472 return 0;
15474 _ACEOF
15475 if ac_fn_c_try_link "$LINENO"; then :
15476 ac_cv_c_stdcall_suffix="yes"
15477 else
15478 ac_cv_c_stdcall_suffix="no"
15480 rm -f core conftest.err conftest.$ac_objext \
15481 conftest$ac_exeext conftest.$ac_ext
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15484 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15485 *) ac_cv_c_stdcall_suffix="no" ;;
15486 esac
15489 if test "$ac_cv_c_extern_prefix" = "yes"
15490 then
15491 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15493 asm_name_prefix="_"
15494 else
15495 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15497 asm_name_prefix=""
15501 if test "$ac_cv_c_stdcall_suffix" = "yes"
15502 then
15503 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15505 else
15506 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15512 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15513 if ${ac_cv_asm_func_def+:} false; then :
15514 $as_echo_n "(cached) " >&6
15515 else
15516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15517 /* end confdefs.h. */
15520 main ()
15522 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15524 return 0;
15526 _ACEOF
15527 if ac_fn_c_try_link "$LINENO"; then :
15528 ac_cv_asm_func_def=".def"
15529 else
15530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15531 /* end confdefs.h. */
15534 main ()
15536 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15538 return 0;
15540 _ACEOF
15541 if ac_fn_c_try_link "$LINENO"; then :
15542 ac_cv_asm_func_def=".type @function"
15543 else
15544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15545 /* end confdefs.h. */
15548 main ()
15550 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15552 return 0;
15554 _ACEOF
15555 if ac_fn_c_try_link "$LINENO"; then :
15556 ac_cv_asm_func_def=".type 2"
15557 else
15558 ac_cv_asm_func_def="unknown"
15560 rm -f core conftest.err conftest.$ac_objext \
15561 conftest$ac_exeext conftest.$ac_ext
15563 rm -f core conftest.err conftest.$ac_objext \
15564 conftest$ac_exeext conftest.$ac_ext
15566 rm -f core conftest.err conftest.$ac_objext \
15567 conftest$ac_exeext conftest.$ac_ext
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15570 $as_echo "$ac_cv_asm_func_def" >&6; }
15573 case "$ac_cv_asm_func_def" in
15574 ".def")
15575 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15577 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15578 ".type @function")
15579 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15581 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15582 ".type 2")
15583 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15585 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15587 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15589 asm_func_header="" ;;
15590 esac
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15593 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15594 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15595 $as_echo_n "(cached) " >&6
15596 else
15597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15598 /* end confdefs.h. */
15599 asm(".text\n\t.long 0");
15601 main ()
15605 return 0;
15607 _ACEOF
15608 if ac_fn_c_try_compile "$LINENO"; then :
15609 ac_cv_c_asm_outside_funcs="yes"
15610 else
15611 ac_cv_c_asm_outside_funcs="no"
15613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15616 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15619 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15620 if ${ac_cv_c_dot_previous+:} false; then :
15621 $as_echo_n "(cached) " >&6
15622 else
15623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15624 /* end confdefs.h. */
15627 main ()
15629 asm(".text\nac_test:\t.long 0\n\t.previous");
15631 return 0;
15633 _ACEOF
15634 if ac_fn_c_try_link "$LINENO"; then :
15635 ac_cv_c_dot_previous="yes"
15636 else
15637 ac_cv_c_dot_previous="no"
15639 rm -f core conftest.err conftest.$ac_objext \
15640 conftest$ac_exeext conftest.$ac_ext
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15643 $as_echo "$ac_cv_c_dot_previous" >&6; }
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15646 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15647 if ${ac_cv_c_cfi_support+:} false; then :
15648 $as_echo_n "(cached) " >&6
15649 else
15650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15651 /* end confdefs.h. */
15652 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15654 main ()
15658 return 0;
15660 _ACEOF
15661 if ac_fn_c_try_compile "$LINENO"; then :
15662 ac_cv_c_cfi_support="yes"
15663 else
15664 ac_cv_c_cfi_support="no"
15666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15669 $as_echo "$ac_cv_c_cfi_support" >&6; }
15671 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15672 asm_func_trailer=""
15673 if test "$ac_cv_c_dot_previous" = "yes"
15674 then
15675 asm_func_trailer="\\n\\t.previous"
15677 if test "$ac_cv_c_cfi_support" = "yes"
15678 then
15679 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15680 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15682 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15684 UNWINDFLAGS=-fasynchronous-unwind-tables
15686 else
15687 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15689 if test "x$enable_win64" = "xyes"
15690 then
15691 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15695 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15698 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15699 then
15700 cat >>confdefs.h <<_ACEOF
15701 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15702 _ACEOF
15704 else
15705 cat >>confdefs.h <<_ACEOF
15706 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15707 _ACEOF
15711 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15714 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15718 case $build_os in
15719 cygwin*|mingw32*) TOOLSEXT=".exe"
15721 esac
15723 case $host_os in
15724 linux*)
15725 case $host_cpu in
15726 *i[3456789]86*|x86_64*|*aarch64*)
15727 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15728 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15730 esac
15732 esac
15735 ac_save_CFLAGS="$CFLAGS"
15736 CFLAGS="$CFLAGS $BUILTINFLAG"
15737 for ac_func in \
15738 __res_get_state \
15739 __res_getservers \
15740 _finite \
15741 _isnan \
15742 _pclose \
15743 _popen \
15744 _snprintf \
15745 _spawnvp \
15746 _strdup \
15747 _stricmp \
15748 _strnicmp \
15749 _strtoi64 \
15750 _strtoui64 \
15751 _vsnprintf \
15752 asctime_r \
15753 chsize \
15754 dlopen \
15755 epoll_create \
15756 ffs \
15757 finitef \
15758 fnmatch \
15759 fork \
15760 fpclass \
15761 fstatfs \
15762 fstatvfs \
15763 ftruncate \
15764 futimens \
15765 futimes \
15766 futimesat \
15767 getattrlist \
15768 getauxval \
15769 getifaddrs \
15770 getopt_long_only \
15771 getpwuid \
15772 gettimeofday \
15773 getuid \
15774 isnanf \
15775 kqueue \
15776 lstat \
15777 memmove \
15778 mmap \
15779 pclose \
15780 pipe2 \
15781 poll \
15782 popen \
15783 port_create \
15784 prctl \
15785 pread \
15786 proc_pidinfo \
15787 pwrite \
15788 readdir \
15789 readlink \
15790 sched_yield \
15791 select \
15792 setproctitle \
15793 setprogname \
15794 setrlimit \
15795 settimeofday \
15796 sigaltstack \
15797 sigprocmask \
15798 snprintf \
15799 statfs \
15800 statvfs \
15801 strcasecmp \
15802 strdup \
15803 strerror \
15804 strncasecmp \
15805 strnlen \
15806 strtold \
15807 strtoll \
15808 strtoull \
15809 symlink \
15810 sysinfo \
15811 tcdrain \
15812 thr_kill2 \
15813 timegm \
15814 usleep \
15815 vsnprintf
15817 do :
15818 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15820 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15821 cat >>confdefs.h <<_ACEOF
15822 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15823 _ACEOF
15826 done
15828 CFLAGS="$ac_save_CFLAGS"
15830 if test "$ac_cv_func_dlopen" = no
15831 then
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15833 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15834 if ${ac_cv_lib_dl_dlopen+:} false; then :
15835 $as_echo_n "(cached) " >&6
15836 else
15837 ac_check_lib_save_LIBS=$LIBS
15838 LIBS="-ldl $LIBS"
15839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15840 /* end confdefs.h. */
15842 /* Override any GCC internal prototype to avoid an error.
15843 Use char because int might match the return type of a GCC
15844 builtin and then its argument prototype would still apply. */
15845 #ifdef __cplusplus
15846 extern "C"
15847 #endif
15848 char dlopen ();
15850 main ()
15852 return dlopen ();
15854 return 0;
15856 _ACEOF
15857 if ac_fn_c_try_link "$LINENO"; then :
15858 ac_cv_lib_dl_dlopen=yes
15859 else
15860 ac_cv_lib_dl_dlopen=no
15862 rm -f core conftest.err conftest.$ac_objext \
15863 conftest$ac_exeext conftest.$ac_ext
15864 LIBS=$ac_check_lib_save_LIBS
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15867 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15868 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15869 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15870 DL_LIBS="-ldl"
15875 ac_wine_check_funcs_save_LIBS="$LIBS"
15876 LIBS="$LIBS $DL_LIBS"
15877 for ac_func in dladdr
15878 do :
15879 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15880 if test "x$ac_cv_func_dladdr" = xyes; then :
15881 cat >>confdefs.h <<_ACEOF
15882 #define HAVE_DLADDR 1
15883 _ACEOF
15886 done
15888 LIBS="$ac_wine_check_funcs_save_LIBS"
15890 if test "$ac_cv_func_poll" = no
15891 then
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15893 $as_echo_n "checking for poll in -lpoll... " >&6; }
15894 if ${ac_cv_lib_poll_poll+:} false; then :
15895 $as_echo_n "(cached) " >&6
15896 else
15897 ac_check_lib_save_LIBS=$LIBS
15898 LIBS="-lpoll $LIBS"
15899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15902 /* Override any GCC internal prototype to avoid an error.
15903 Use char because int might match the return type of a GCC
15904 builtin and then its argument prototype would still apply. */
15905 #ifdef __cplusplus
15906 extern "C"
15907 #endif
15908 char poll ();
15910 main ()
15912 return poll ();
15914 return 0;
15916 _ACEOF
15917 if ac_fn_c_try_link "$LINENO"; then :
15918 ac_cv_lib_poll_poll=yes
15919 else
15920 ac_cv_lib_poll_poll=no
15922 rm -f core conftest.err conftest.$ac_objext \
15923 conftest$ac_exeext conftest.$ac_ext
15924 LIBS=$ac_check_lib_save_LIBS
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15927 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15928 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15929 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15930 POLL_LIBS="-lpoll"
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15937 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15938 if ${ac_cv_search_gethostbyname+:} false; then :
15939 $as_echo_n "(cached) " >&6
15940 else
15941 ac_func_search_save_LIBS=$LIBS
15942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15943 /* end confdefs.h. */
15945 /* Override any GCC internal prototype to avoid an error.
15946 Use char because int might match the return type of a GCC
15947 builtin and then its argument prototype would still apply. */
15948 #ifdef __cplusplus
15949 extern "C"
15950 #endif
15951 char gethostbyname ();
15953 main ()
15955 return gethostbyname ();
15957 return 0;
15959 _ACEOF
15960 for ac_lib in '' nsl; do
15961 if test -z "$ac_lib"; then
15962 ac_res="none required"
15963 else
15964 ac_res=-l$ac_lib
15965 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15967 if ac_fn_c_try_link "$LINENO"; then :
15968 ac_cv_search_gethostbyname=$ac_res
15970 rm -f core conftest.err conftest.$ac_objext \
15971 conftest$ac_exeext
15972 if ${ac_cv_search_gethostbyname+:} false; then :
15973 break
15975 done
15976 if ${ac_cv_search_gethostbyname+:} false; then :
15978 else
15979 ac_cv_search_gethostbyname=no
15981 rm conftest.$ac_ext
15982 LIBS=$ac_func_search_save_LIBS
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15985 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15986 ac_res=$ac_cv_search_gethostbyname
15987 if test "$ac_res" != no; then :
15988 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15994 $as_echo_n "checking for library containing connect... " >&6; }
15995 if ${ac_cv_search_connect+:} false; then :
15996 $as_echo_n "(cached) " >&6
15997 else
15998 ac_func_search_save_LIBS=$LIBS
15999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16000 /* end confdefs.h. */
16002 /* Override any GCC internal prototype to avoid an error.
16003 Use char because int might match the return type of a GCC
16004 builtin and then its argument prototype would still apply. */
16005 #ifdef __cplusplus
16006 extern "C"
16007 #endif
16008 char connect ();
16010 main ()
16012 return connect ();
16014 return 0;
16016 _ACEOF
16017 for ac_lib in '' socket; do
16018 if test -z "$ac_lib"; then
16019 ac_res="none required"
16020 else
16021 ac_res=-l$ac_lib
16022 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16024 if ac_fn_c_try_link "$LINENO"; then :
16025 ac_cv_search_connect=$ac_res
16027 rm -f core conftest.err conftest.$ac_objext \
16028 conftest$ac_exeext
16029 if ${ac_cv_search_connect+:} false; then :
16030 break
16032 done
16033 if ${ac_cv_search_connect+:} false; then :
16035 else
16036 ac_cv_search_connect=no
16038 rm conftest.$ac_ext
16039 LIBS=$ac_func_search_save_LIBS
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16042 $as_echo "$ac_cv_search_connect" >&6; }
16043 ac_res=$ac_cv_search_connect
16044 if test "$ac_res" != no; then :
16045 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16051 $as_echo_n "checking for library containing inet_aton... " >&6; }
16052 if ${ac_cv_search_inet_aton+:} false; then :
16053 $as_echo_n "(cached) " >&6
16054 else
16055 ac_func_search_save_LIBS=$LIBS
16056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16057 /* end confdefs.h. */
16059 /* Override any GCC internal prototype to avoid an error.
16060 Use char because int might match the return type of a GCC
16061 builtin and then its argument prototype would still apply. */
16062 #ifdef __cplusplus
16063 extern "C"
16064 #endif
16065 char inet_aton ();
16067 main ()
16069 return inet_aton ();
16071 return 0;
16073 _ACEOF
16074 for ac_lib in '' resolv; do
16075 if test -z "$ac_lib"; then
16076 ac_res="none required"
16077 else
16078 ac_res=-l$ac_lib
16079 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16081 if ac_fn_c_try_link "$LINENO"; then :
16082 ac_cv_search_inet_aton=$ac_res
16084 rm -f core conftest.err conftest.$ac_objext \
16085 conftest$ac_exeext
16086 if ${ac_cv_search_inet_aton+:} false; then :
16087 break
16089 done
16090 if ${ac_cv_search_inet_aton+:} false; then :
16092 else
16093 ac_cv_search_inet_aton=no
16095 rm conftest.$ac_ext
16096 LIBS=$ac_func_search_save_LIBS
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16099 $as_echo "$ac_cv_search_inet_aton" >&6; }
16100 ac_res=$ac_cv_search_inet_aton
16101 if test "$ac_res" != no; then :
16102 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16107 for ac_func in \
16108 getaddrinfo \
16109 getnameinfo \
16110 getnetbyname \
16111 getprotobyname \
16112 getprotobynumber \
16113 getservbyport \
16114 inet_addr \
16115 inet_network \
16116 inet_ntop \
16117 inet_pton \
16118 sendmsg \
16119 socketpair \
16121 do :
16122 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16123 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16124 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16125 cat >>confdefs.h <<_ACEOF
16126 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16127 _ACEOF
16130 done
16133 ac_save_LIBS=$LIBS
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16135 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16136 if ${ac_cv_search_clock_gettime+:} false; then :
16137 $as_echo_n "(cached) " >&6
16138 else
16139 ac_func_search_save_LIBS=$LIBS
16140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16141 /* end confdefs.h. */
16143 /* Override any GCC internal prototype to avoid an error.
16144 Use char because int might match the return type of a GCC
16145 builtin and then its argument prototype would still apply. */
16146 #ifdef __cplusplus
16147 extern "C"
16148 #endif
16149 char clock_gettime ();
16151 main ()
16153 return clock_gettime ();
16155 return 0;
16157 _ACEOF
16158 for ac_lib in '' rt; do
16159 if test -z "$ac_lib"; then
16160 ac_res="none required"
16161 else
16162 ac_res=-l$ac_lib
16163 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16165 if ac_fn_c_try_link "$LINENO"; then :
16166 ac_cv_search_clock_gettime=$ac_res
16168 rm -f core conftest.err conftest.$ac_objext \
16169 conftest$ac_exeext
16170 if ${ac_cv_search_clock_gettime+:} false; then :
16171 break
16173 done
16174 if ${ac_cv_search_clock_gettime+:} false; then :
16176 else
16177 ac_cv_search_clock_gettime=no
16179 rm conftest.$ac_ext
16180 LIBS=$ac_func_search_save_LIBS
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16183 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16184 ac_res=$ac_cv_search_clock_gettime
16185 if test "$ac_res" != no; then :
16186 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16188 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16190 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16194 LIBS=$ac_save_LIBS
16196 if test "x$with_ldap" != "xno"
16197 then
16198 if ${LDAP_CFLAGS:+false} :; then :
16199 if ${PKG_CONFIG+:} false; then :
16200 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16204 if ${LDAP_LIBS:+false} :; then :
16205 if ${PKG_CONFIG+:} false; then :
16206 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16210 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16211 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16212 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16213 ac_save_CPPFLAGS=$CPPFLAGS
16214 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16215 for ac_header in ldap.h lber.h
16216 do :
16217 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16218 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16219 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16220 cat >>confdefs.h <<_ACEOF
16221 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16222 _ACEOF
16226 done
16228 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16229 then
16230 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16232 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16234 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16235 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16236 $as_echo_n "(cached) " >&6
16237 else
16238 ac_check_lib_save_LIBS=$LIBS
16239 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16241 /* end confdefs.h. */
16243 /* Override any GCC internal prototype to avoid an error.
16244 Use char because int might match the return type of a GCC
16245 builtin and then its argument prototype would still apply. */
16246 #ifdef __cplusplus
16247 extern "C"
16248 #endif
16249 char ldap_initialize ();
16251 main ()
16253 return ldap_initialize ();
16255 return 0;
16257 _ACEOF
16258 if ac_fn_c_try_link "$LINENO"; then :
16259 ac_cv_lib_ldap_r_ldap_initialize=yes
16260 else
16261 ac_cv_lib_ldap_r_ldap_initialize=no
16263 rm -f core conftest.err conftest.$ac_objext \
16264 conftest$ac_exeext conftest.$ac_ext
16265 LIBS=$ac_check_lib_save_LIBS
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16268 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16269 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16271 $as_echo_n "checking for ber_init in -llber... " >&6; }
16272 if ${ac_cv_lib_lber_ber_init+:} false; then :
16273 $as_echo_n "(cached) " >&6
16274 else
16275 ac_check_lib_save_LIBS=$LIBS
16276 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16278 /* end confdefs.h. */
16280 /* Override any GCC internal prototype to avoid an error.
16281 Use char because int might match the return type of a GCC
16282 builtin and then its argument prototype would still apply. */
16283 #ifdef __cplusplus
16284 extern "C"
16285 #endif
16286 char ber_init ();
16288 main ()
16290 return ber_init ();
16292 return 0;
16294 _ACEOF
16295 if ac_fn_c_try_link "$LINENO"; then :
16296 ac_cv_lib_lber_ber_init=yes
16297 else
16298 ac_cv_lib_lber_ber_init=no
16300 rm -f core conftest.err conftest.$ac_objext \
16301 conftest$ac_exeext conftest.$ac_ext
16302 LIBS=$ac_check_lib_save_LIBS
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16305 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16306 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16308 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16310 else
16311 LDAP_LIBS=""
16314 else
16315 LDAP_LIBS=""
16318 else
16319 LDAP_LIBS=""
16322 ac_wine_check_funcs_save_LIBS="$LIBS"
16323 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16324 for ac_func in \
16325 ldap_count_references \
16326 ldap_first_reference \
16327 ldap_next_reference \
16328 ldap_parse_reference \
16329 ldap_parse_sort_control \
16330 ldap_parse_sortresponse_control \
16331 ldap_parse_vlv_control \
16332 ldap_parse_vlvresponse_control
16333 do :
16334 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16335 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16336 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16337 cat >>confdefs.h <<_ACEOF
16338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16339 _ACEOF
16342 done
16344 LIBS="$ac_wine_check_funcs_save_LIBS"
16345 else
16346 LDAP_LIBS=""
16348 CPPFLAGS=$ac_save_CPPFLAGS
16349 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16350 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16353 if test "x$LDAP_LIBS" = "x"; then :
16354 case "x$with_ldap" in
16355 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16356 xno) ;;
16357 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16358 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16359 esac
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16364 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16365 if ${wine_cv_one_arg_mkdir+:} false; then :
16366 $as_echo_n "(cached) " >&6
16367 else
16368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16369 /* end confdefs.h. */
16370 #include <sys/stat.h>
16372 main ()
16374 mkdir("foo");
16376 return 0;
16378 _ACEOF
16379 if ac_fn_c_try_compile "$LINENO"; then :
16380 wine_cv_one_arg_mkdir=yes
16381 else
16382 wine_cv_one_arg_mkdir=no
16384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16387 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16388 if test "$wine_cv_one_arg_mkdir" = "yes"
16389 then
16391 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16396 $as_echo_n "checking for sched_setaffinity... " >&6; }
16397 if ${wine_cv_have_sched_setaffinity+:} false; then :
16398 $as_echo_n "(cached) " >&6
16399 else
16400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16401 /* end confdefs.h. */
16402 #define _GNU_SOURCE
16403 #include <sched.h>
16405 main ()
16407 sched_setaffinity(0, 0, 0);
16409 return 0;
16411 _ACEOF
16412 if ac_fn_c_try_link "$LINENO"; then :
16413 wine_cv_have_sched_setaffinity=yes
16414 else
16415 wine_cv_have_sched_setaffinity=no
16417 rm -f core conftest.err conftest.$ac_objext \
16418 conftest$ac_exeext conftest.$ac_ext
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16421 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16422 if test "$wine_cv_have_sched_setaffinity" = "yes"
16423 then
16425 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16430 $as_echo_n "checking for fallocate... " >&6; }
16431 if ${wine_cv_have_fallocate+:} false; then :
16432 $as_echo_n "(cached) " >&6
16433 else
16434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16435 /* end confdefs.h. */
16436 #define _GNU_SOURCE
16437 #include <fcntl.h>
16439 main ()
16441 fallocate(-1, 0, 0, 0);
16443 return 0;
16445 _ACEOF
16446 if ac_fn_c_try_link "$LINENO"; then :
16447 wine_cv_have_fallocate=yes
16448 else
16449 wine_cv_have_fallocate=no
16451 rm -f core conftest.err conftest.$ac_objext \
16452 conftest$ac_exeext conftest.$ac_ext
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16455 $as_echo "$wine_cv_have_fallocate" >&6; }
16456 if test "$wine_cv_have_fallocate" = "yes"
16457 then
16459 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16465 $as_echo_n "checking for inline... " >&6; }
16466 if ${ac_cv_c_inline+:} false; then :
16467 $as_echo_n "(cached) " >&6
16468 else
16469 ac_cv_c_inline=no
16470 for ac_kw in inline __inline__ __inline; do
16471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16472 /* end confdefs.h. */
16473 #ifndef __cplusplus
16474 typedef int foo_t;
16475 static $ac_kw foo_t static_foo () {return 0; }
16476 $ac_kw foo_t foo () {return 0; }
16477 #endif
16479 _ACEOF
16480 if ac_fn_c_try_compile "$LINENO"; then :
16481 ac_cv_c_inline=$ac_kw
16483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16484 test "$ac_cv_c_inline" != no && break
16485 done
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16489 $as_echo "$ac_cv_c_inline" >&6; }
16491 case $ac_cv_c_inline in
16492 inline | yes) ;;
16494 case $ac_cv_c_inline in
16495 no) ac_val=;;
16496 *) ac_val=$ac_cv_c_inline;;
16497 esac
16498 cat >>confdefs.h <<_ACEOF
16499 #ifndef __cplusplus
16500 #define inline $ac_val
16501 #endif
16502 _ACEOF
16504 esac
16506 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16507 if test "x$ac_cv_type_mode_t" = xyes; then :
16509 cat >>confdefs.h <<_ACEOF
16510 #define HAVE_MODE_T 1
16511 _ACEOF
16515 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16516 if test "x$ac_cv_type_off_t" = xyes; then :
16518 cat >>confdefs.h <<_ACEOF
16519 #define HAVE_OFF_T 1
16520 _ACEOF
16524 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16525 if test "x$ac_cv_type_pid_t" = xyes; then :
16527 cat >>confdefs.h <<_ACEOF
16528 #define HAVE_PID_T 1
16529 _ACEOF
16533 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16534 if test "x$ac_cv_type_size_t" = xyes; then :
16536 cat >>confdefs.h <<_ACEOF
16537 #define HAVE_SIZE_T 1
16538 _ACEOF
16542 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16543 if test "x$ac_cv_type_ssize_t" = xyes; then :
16545 cat >>confdefs.h <<_ACEOF
16546 #define HAVE_SSIZE_T 1
16547 _ACEOF
16551 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16552 if test "x$ac_cv_type_long_long" = xyes; then :
16554 cat >>confdefs.h <<_ACEOF
16555 #define HAVE_LONG_LONG 1
16556 _ACEOF
16560 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16561 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16563 cat >>confdefs.h <<_ACEOF
16564 #define HAVE_FSBLKCNT_T 1
16565 _ACEOF
16569 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16570 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16572 cat >>confdefs.h <<_ACEOF
16573 #define HAVE_FSFILCNT_T 1
16574 _ACEOF
16579 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16580 #include <signal.h>
16582 if test "x$ac_cv_type_sigset_t" = xyes; then :
16584 cat >>confdefs.h <<_ACEOF
16585 #define HAVE_SIGSET_T 1
16586 _ACEOF
16591 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16593 if test "x$ac_cv_type_request_sense" = xyes; then :
16595 cat >>confdefs.h <<_ACEOF
16596 #define HAVE_REQUEST_SENSE 1
16597 _ACEOF
16603 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16604 #ifdef HAVE_SYS_SOCKET_H
16605 #include <sys/socket.h>
16606 #endif
16607 #ifdef HAVE_SYS_SOCKETVAR_H
16608 #include <sys/socketvar.h>
16609 #endif
16610 #ifdef HAVE_NET_ROUTE_H
16611 #include <net/route.h>
16612 #endif
16613 #ifdef HAVE_NETINET_IN_H
16614 #include <netinet/in.h>
16615 #endif
16616 #ifdef HAVE_NETINET_IN_SYSTM_H
16617 #include <netinet/in_systm.h>
16618 #endif
16619 #ifdef HAVE_NETINET_IP_H
16620 #include <netinet/ip.h>
16621 #endif
16622 #ifdef HAVE_NETINET_IN_PCB_H
16623 #include <netinet/in_pcb.h>
16624 #endif
16626 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16628 cat >>confdefs.h <<_ACEOF
16629 #define HAVE_STRUCT_XINPGEN 1
16630 _ACEOF
16636 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16637 #include <link.h>
16638 #endif
16639 #ifdef HAVE_SYS_LINK_H
16640 #include <sys/link.h>
16641 #endif
16643 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16645 cat >>confdefs.h <<_ACEOF
16646 #define HAVE_STRUCT_R_DEBUG 1
16647 _ACEOF
16651 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16652 #include <link.h>
16653 #endif
16654 #ifdef HAVE_SYS_LINK_H
16655 #include <sys/link.h>
16656 #endif
16658 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16660 cat >>confdefs.h <<_ACEOF
16661 #define HAVE_STRUCT_LINK_MAP 1
16662 _ACEOF
16668 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16669 #include <linux/input.h>
16670 #endif
16672 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16674 cat >>confdefs.h <<_ACEOF
16675 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16676 _ACEOF
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16683 $as_echo_n "checking for if_nameindex... " >&6; }
16684 if ${wine_cv_have_if_nameindex+:} false; then :
16685 $as_echo_n "(cached) " >&6
16686 else
16687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16688 /* end confdefs.h. */
16689 #ifdef HAVE_SYS_TYPES_H
16690 #include <sys/types.h>
16691 #endif
16692 #ifdef HAVE_SYS_SOCKET_H
16693 #include <sys/socket.h>
16694 #endif
16695 #ifdef HAVE_NET_IF_H
16696 # include <net/if.h>
16697 #endif
16699 main ()
16701 struct if_nameindex *p = if_nameindex(); return p->if_index;
16703 return 0;
16705 _ACEOF
16706 if ac_fn_c_try_link "$LINENO"; then :
16707 wine_cv_have_if_nameindex=yes
16708 else
16709 wine_cv_have_if_nameindex=no
16711 rm -f core conftest.err conftest.$ac_objext \
16712 conftest$ac_exeext conftest.$ac_ext
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16715 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16716 if test "$wine_cv_have_if_nameindex" = "yes"
16717 then
16719 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16724 $as_echo_n "checking for sigaddset... " >&6; }
16725 if ${wine_cv_have_sigaddset+:} false; then :
16726 $as_echo_n "(cached) " >&6
16727 else
16728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16729 /* end confdefs.h. */
16730 #include <signal.h>
16732 main ()
16734 sigset_t set; sigaddset(&set,SIGTERM);
16736 return 0;
16738 _ACEOF
16739 if ac_fn_c_try_link "$LINENO"; then :
16740 wine_cv_have_sigaddset=yes
16741 else
16742 wine_cv_have_sigaddset=no
16744 rm -f core conftest.err conftest.$ac_objext \
16745 conftest$ac_exeext conftest.$ac_ext
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16748 $as_echo "$wine_cv_have_sigaddset" >&6; }
16749 if test "$wine_cv_have_sigaddset" = "yes"
16750 then
16752 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16758 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16759 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16760 $as_echo_n "(cached) " >&6
16761 else
16762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16763 /* end confdefs.h. */
16764 #include <netdb.h>
16766 main ()
16769 char *name=0;
16770 struct hostent he;
16771 struct hostent *result;
16772 char *buf=0;
16773 int bufsize=0;
16774 int errnr;
16775 char *addr=0;
16776 int addrlen=0;
16777 int addrtype=0;
16778 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16779 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16782 return 0;
16784 _ACEOF
16785 if ac_fn_c_try_link "$LINENO"; then :
16786 wine_cv_linux_gethostbyname_r_6=yes
16787 else
16788 wine_cv_linux_gethostbyname_r_6=no
16791 rm -f core conftest.err conftest.$ac_objext \
16792 conftest$ac_exeext conftest.$ac_ext
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16796 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16797 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16798 then
16800 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16804 if test "$ac_cv_header_linux_joystick_h" = "yes"
16805 then
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16807 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16808 if ${wine_cv_linux_joystick_22_api+:} false; then :
16809 $as_echo_n "(cached) " >&6
16810 else
16811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16812 /* end confdefs.h. */
16814 #include <sys/ioctl.h>
16815 #include <sys/types.h>
16816 #include <linux/joystick.h>
16818 struct js_event blub;
16819 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16820 #error "no 2.2 header"
16821 #endif
16824 main ()
16826 /*empty*/
16828 return 0;
16830 _ACEOF
16831 if ac_fn_c_try_compile "$LINENO"; then :
16832 wine_cv_linux_joystick_22_api=yes
16833 else
16834 wine_cv_linux_joystick_22_api=no
16836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16840 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16841 if test "$wine_cv_linux_joystick_22_api" = "yes"
16842 then
16844 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16850 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16851 #ifdef HAVE_SYS_PARAM_H
16852 # include <sys/param.h>
16853 #endif
16854 #ifdef HAVE_SYS_MOUNT_H
16855 # include <sys/mount.h>
16856 #endif
16857 #ifdef HAVE_SYS_VFS_H
16858 # include <sys/vfs.h>
16859 #endif
16860 #ifdef HAVE_SYS_STATFS_H
16861 # include <sys/statfs.h>
16862 #endif
16864 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16866 cat >>confdefs.h <<_ACEOF
16867 #define HAVE_STRUCT_STATFS_F_BFREE 1
16868 _ACEOF
16872 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16873 #ifdef HAVE_SYS_PARAM_H
16874 # include <sys/param.h>
16875 #endif
16876 #ifdef HAVE_SYS_MOUNT_H
16877 # include <sys/mount.h>
16878 #endif
16879 #ifdef HAVE_SYS_VFS_H
16880 # include <sys/vfs.h>
16881 #endif
16882 #ifdef HAVE_SYS_STATFS_H
16883 # include <sys/statfs.h>
16884 #endif
16886 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16888 cat >>confdefs.h <<_ACEOF
16889 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16890 _ACEOF
16894 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16895 #ifdef HAVE_SYS_PARAM_H
16896 # include <sys/param.h>
16897 #endif
16898 #ifdef HAVE_SYS_MOUNT_H
16899 # include <sys/mount.h>
16900 #endif
16901 #ifdef HAVE_SYS_VFS_H
16902 # include <sys/vfs.h>
16903 #endif
16904 #ifdef HAVE_SYS_STATFS_H
16905 # include <sys/statfs.h>
16906 #endif
16908 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16910 cat >>confdefs.h <<_ACEOF
16911 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16912 _ACEOF
16916 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16917 #ifdef HAVE_SYS_PARAM_H
16918 # include <sys/param.h>
16919 #endif
16920 #ifdef HAVE_SYS_MOUNT_H
16921 # include <sys/mount.h>
16922 #endif
16923 #ifdef HAVE_SYS_VFS_H
16924 # include <sys/vfs.h>
16925 #endif
16926 #ifdef HAVE_SYS_STATFS_H
16927 # include <sys/statfs.h>
16928 #endif
16930 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16932 cat >>confdefs.h <<_ACEOF
16933 #define HAVE_STRUCT_STATFS_F_FFREE 1
16934 _ACEOF
16938 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16939 #ifdef HAVE_SYS_PARAM_H
16940 # include <sys/param.h>
16941 #endif
16942 #ifdef HAVE_SYS_MOUNT_H
16943 # include <sys/mount.h>
16944 #endif
16945 #ifdef HAVE_SYS_VFS_H
16946 # include <sys/vfs.h>
16947 #endif
16948 #ifdef HAVE_SYS_STATFS_H
16949 # include <sys/statfs.h>
16950 #endif
16952 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16954 cat >>confdefs.h <<_ACEOF
16955 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16956 _ACEOF
16960 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16961 #ifdef HAVE_SYS_PARAM_H
16962 # include <sys/param.h>
16963 #endif
16964 #ifdef HAVE_SYS_MOUNT_H
16965 # include <sys/mount.h>
16966 #endif
16967 #ifdef HAVE_SYS_VFS_H
16968 # include <sys/vfs.h>
16969 #endif
16970 #ifdef HAVE_SYS_STATFS_H
16971 # include <sys/statfs.h>
16972 #endif
16974 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16976 cat >>confdefs.h <<_ACEOF
16977 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16978 _ACEOF
16984 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16985 #include <sys/statvfs.h>
16986 #endif
16988 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16990 cat >>confdefs.h <<_ACEOF
16991 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16992 _ACEOF
16998 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16999 #include <dirent.h>
17000 #endif
17002 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17004 cat >>confdefs.h <<_ACEOF
17005 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17006 _ACEOF
17012 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17013 #ifdef HAVE_SYS_SOCKET_H
17014 # include <sys/socket.h>
17015 #endif
17016 #ifdef HAVE_SYS_UN_H
17017 # include <sys/un.h>
17018 #endif
17020 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17022 cat >>confdefs.h <<_ACEOF
17023 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17024 _ACEOF
17028 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17029 #ifdef HAVE_SYS_SOCKET_H
17030 # include <sys/socket.h>
17031 #endif
17032 #ifdef HAVE_SYS_UN_H
17033 # include <sys/un.h>
17034 #endif
17036 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17038 cat >>confdefs.h <<_ACEOF
17039 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17040 _ACEOF
17044 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17045 #ifdef HAVE_SYS_SOCKET_H
17046 # include <sys/socket.h>
17047 #endif
17048 #ifdef HAVE_SYS_UN_H
17049 # include <sys/un.h>
17050 #endif
17052 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17054 cat >>confdefs.h <<_ACEOF
17055 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17056 _ACEOF
17062 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17063 #ifdef HAVE_SCSI_SG_H
17064 #include <scsi/sg.h>
17065 #endif
17067 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17069 cat >>confdefs.h <<_ACEOF
17070 #define HAVE_SCSIREQ_T_CMD 1
17071 _ACEOF
17075 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>
17076 #ifdef HAVE_SCSI_SG_H
17077 #include <scsi/sg.h>
17078 #endif
17080 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17082 cat >>confdefs.h <<_ACEOF
17083 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17084 _ACEOF
17090 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17092 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17094 cat >>confdefs.h <<_ACEOF
17095 #define HAVE_SIGINFO_T_SI_FD 1
17096 _ACEOF
17102 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17103 #ifdef HAVE_SYS_MTIO_H
17104 #include <sys/mtio.h>
17105 #endif
17107 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17109 cat >>confdefs.h <<_ACEOF
17110 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17111 _ACEOF
17115 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17116 #ifdef HAVE_SYS_MTIO_H
17117 #include <sys/mtio.h>
17118 #endif
17120 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17122 cat >>confdefs.h <<_ACEOF
17123 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17124 _ACEOF
17128 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17129 #ifdef HAVE_SYS_MTIO_H
17130 #include <sys/mtio.h>
17131 #endif
17133 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17135 cat >>confdefs.h <<_ACEOF
17136 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17137 _ACEOF
17143 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17144 #include <getopt.h>
17145 #endif
17147 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17149 cat >>confdefs.h <<_ACEOF
17150 #define HAVE_STRUCT_OPTION_NAME 1
17151 _ACEOF
17157 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17158 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17160 cat >>confdefs.h <<_ACEOF
17161 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17162 _ACEOF
17166 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17167 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17169 cat >>confdefs.h <<_ACEOF
17170 #define HAVE_STRUCT_STAT_ST_MTIM 1
17171 _ACEOF
17175 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17176 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17178 cat >>confdefs.h <<_ACEOF
17179 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17180 _ACEOF
17184 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17185 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17187 cat >>confdefs.h <<_ACEOF
17188 #define HAVE_STRUCT_STAT_ST_CTIM 1
17189 _ACEOF
17193 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17194 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17196 cat >>confdefs.h <<_ACEOF
17197 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17198 _ACEOF
17202 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17203 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17205 cat >>confdefs.h <<_ACEOF
17206 #define HAVE_STRUCT_STAT_ST_ATIM 1
17207 _ACEOF
17211 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17212 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17214 cat >>confdefs.h <<_ACEOF
17215 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17216 _ACEOF
17220 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17221 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17223 cat >>confdefs.h <<_ACEOF
17224 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17225 _ACEOF
17229 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17230 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17232 cat >>confdefs.h <<_ACEOF
17233 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17234 _ACEOF
17238 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17239 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17241 cat >>confdefs.h <<_ACEOF
17242 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17243 _ACEOF
17247 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17248 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17250 cat >>confdefs.h <<_ACEOF
17251 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17252 _ACEOF
17256 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17257 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17259 cat >>confdefs.h <<_ACEOF
17260 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17261 _ACEOF
17267 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
17268 #include <sys/types.h>
17269 #endif
17270 #ifdef HAVE_NETINET_IN_H
17271 #include <netinet/in.h>
17272 #endif
17274 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17276 cat >>confdefs.h <<_ACEOF
17277 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17278 _ACEOF
17284 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17285 #include <sys/types.h>
17286 #endif
17287 #ifdef HAVE_NETINET_IN_H
17288 #include <netinet/in.h>
17289 #endif
17290 #ifdef HAVE_RESOLV_H
17291 #include <resolv.h>
17292 #endif
17294 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17296 cat >>confdefs.h <<_ACEOF
17297 #define HAVE_STRUCT___RES_STATE 1
17298 _ACEOF
17304 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
17305 #include <resolv.h>
17306 #endif
17308 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17310 cat >>confdefs.h <<_ACEOF
17311 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17312 _ACEOF
17318 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17319 #include <sys/types.h>
17320 #endif
17321 #ifdef HAVE_NETINET_IN_H
17322 # include <netinet/in.h>
17323 #endif
17324 #ifdef HAVE_ARPA_NAMESER_H
17325 # include <arpa/nameser.h>
17326 #endif
17328 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17330 cat >>confdefs.h <<_ACEOF
17331 #define HAVE_NS_MSG__MSG_PTR 1
17332 _ACEOF
17338 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17339 #include <sys/types.h>
17340 #endif
17341 #ifdef HAVE_NETINET_IN_H
17342 #include <netinet/in.h>
17343 #endif
17344 #ifdef HAVE_NETINET_IP_H
17345 #include <netinet/ip.h>
17346 #endif
17347 #ifdef HAVE_NETINET_IP_ICMP_H
17348 #include <netinet/ip_icmp.h>
17349 #endif
17350 #ifdef HAVE_NETINET_ICMP_VAR_H
17351 #include <netinet/icmp_var.h>
17352 #endif
17354 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17356 cat >>confdefs.h <<_ACEOF
17357 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17358 _ACEOF
17364 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17365 #include <sys/types.h>
17366 #endif
17367 #ifdef HAVE_ALIAS_H
17368 #include <alias.h>
17369 #endif
17370 #ifdef HAVE_SYS_SOCKET_H
17371 #include <sys/socket.h>
17372 #endif
17373 #ifdef HAVE_SYS_SOCKETVAR_H
17374 #include <sys/socketvar.h>
17375 #endif
17376 #ifdef HAVE_SYS_TIMEOUT_H
17377 #include <sys/timeout.h>
17378 #endif
17379 #ifdef HAVE_NETINET_IN_H
17380 #include <netinet/in.h>
17381 #endif
17382 #ifdef HAVE_NETINET_IN_SYSTM_H
17383 #include <netinet/in_systm.h>
17384 #endif
17385 #ifdef HAVE_NETINET_IP_H
17386 #include <netinet/ip.h>
17387 #endif
17388 #ifdef HAVE_NETINET_IP_VAR_H
17389 #include <netinet/ip_var.h>
17390 #endif
17391 #ifdef HAVE_NETINET_IP_ICMP_H
17392 #include <netinet/ip_icmp.h>
17393 #endif
17394 #ifdef HAVE_NETINET_ICMP_VAR_H
17395 #include <netinet/icmp_var.h>
17396 #endif
17398 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17400 cat >>confdefs.h <<_ACEOF
17401 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17402 _ACEOF
17408 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17409 #include <sys/types.h>
17410 #endif
17411 #ifdef HAVE_SYS_SOCKETVAR_H
17412 #include <sys/socketvar.h>
17413 #endif
17414 #ifdef HAVE_NETINET_IN_H
17415 #include <netinet/in.h>
17416 #endif
17417 #ifdef HAVE_NETINET_IP_VAR_H
17418 #include <netinet/ip_var.h>
17419 #endif
17421 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17423 cat >>confdefs.h <<_ACEOF
17424 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17425 _ACEOF
17431 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
17432 #include <netinet/ip_var.h>
17433 #endif
17435 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17437 cat >>confdefs.h <<_ACEOF
17438 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17439 _ACEOF
17445 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17446 #include <sys/types.h>
17447 #endif
17448 #ifdef HAVE_SYS_SOCKETVAR_H
17449 #include <sys/socketvar.h>
17450 #endif
17451 #ifdef HAVE_NETINET_IN_H
17452 #include <netinet/in.h>
17453 #endif
17454 #ifdef HAVE_NETINET_TCP_H
17455 #include <netinet/tcp.h>
17456 #endif
17457 #ifdef HAVE_NETINET_TCP_VAR_H
17458 #include <netinet/tcp_var.h>
17459 #endif
17461 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17463 cat >>confdefs.h <<_ACEOF
17464 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17465 _ACEOF
17471 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
17472 #include <netinet/tcp_var.h>
17473 #endif
17475 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17477 cat >>confdefs.h <<_ACEOF
17478 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17479 _ACEOF
17485 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17486 #include <sys/types.h>
17487 #endif
17488 #ifdef HAVE_NETINET_IN_H
17489 #include <netinet/in.h>
17490 #endif
17491 #ifdef HAVE_NETINET_IP_VAR_H
17492 #include <netinet/ip_var.h>
17493 #endif
17494 #ifdef HAVE_NETINET_UDP_H
17495 #include <netinet/udp.h>
17496 #endif
17497 #ifdef HAVE_NETINET_UDP_VAR_H
17498 #include <netinet/udp_var.h>
17499 #endif
17501 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17503 cat >>confdefs.h <<_ACEOF
17504 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17505 _ACEOF
17511 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17512 #include <sys/types.h>
17513 #endif
17514 #ifdef HAVE_NET_IF_H
17515 # include <net/if.h>
17516 #endif
17518 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17520 cat >>confdefs.h <<_ACEOF
17521 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17522 _ACEOF
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17529 $as_echo_n "checking for timezone variable... " >&6; }
17530 if ${ac_cv_have_timezone+:} false; then :
17531 $as_echo_n "(cached) " >&6
17532 else
17533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17534 /* end confdefs.h. */
17535 #include <time.h>
17537 main ()
17539 timezone = 1
17541 return 0;
17543 _ACEOF
17544 if ac_fn_c_try_link "$LINENO"; then :
17545 ac_cv_have_timezone="yes"
17546 else
17547 ac_cv_have_timezone="no"
17549 rm -f core conftest.err conftest.$ac_objext \
17550 conftest$ac_exeext conftest.$ac_ext
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17553 $as_echo "$ac_cv_have_timezone" >&6; }
17554 if test "$ac_cv_have_timezone" = "yes"
17555 then
17557 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17561 $as_echo_n "checking for daylight variable... " >&6; }
17562 if ${ac_cv_have_daylight+:} false; then :
17563 $as_echo_n "(cached) " >&6
17564 else
17565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h. */
17567 #include <time.h>
17569 main ()
17571 daylight = 1
17573 return 0;
17575 _ACEOF
17576 if ac_fn_c_try_link "$LINENO"; then :
17577 ac_cv_have_daylight="yes"
17578 else
17579 ac_cv_have_daylight="no"
17581 rm -f core conftest.err conftest.$ac_objext \
17582 conftest$ac_exeext conftest.$ac_ext
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17585 $as_echo "$ac_cv_have_daylight" >&6; }
17586 if test "$ac_cv_have_daylight" = "yes"
17587 then
17589 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17593 ac_save_LIBS="$LIBS"
17594 LIBS="$LIBS -lm"
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17596 $as_echo_n "checking for isfinite... " >&6; }
17597 if ${ac_cv_have_isfinite+:} false; then :
17598 $as_echo_n "(cached) " >&6
17599 else
17600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17601 /* end confdefs.h. */
17602 #define _GNU_SOURCE
17603 #include <math.h>
17605 main ()
17607 float f = 0.0; return isfinite(f)
17609 return 0;
17611 _ACEOF
17612 if ac_fn_c_try_link "$LINENO"; then :
17613 ac_cv_have_isfinite="yes"
17614 else
17615 ac_cv_have_isfinite="no"
17617 rm -f core conftest.err conftest.$ac_objext \
17618 conftest$ac_exeext conftest.$ac_ext
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17621 $as_echo "$ac_cv_have_isfinite" >&6; }
17622 if test "$ac_cv_have_isfinite" = "yes"
17623 then
17625 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17630 $as_echo_n "checking for isinf... " >&6; }
17631 if ${ac_cv_have_isinf+:} false; then :
17632 $as_echo_n "(cached) " >&6
17633 else
17634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17635 /* end confdefs.h. */
17636 #include <math.h>
17638 main ()
17640 float f = 0.0; return isinf(f)
17642 return 0;
17644 _ACEOF
17645 if ac_fn_c_try_link "$LINENO"; then :
17646 ac_cv_have_isinf="yes"
17647 else
17648 ac_cv_have_isinf="no"
17650 rm -f core conftest.err conftest.$ac_objext \
17651 conftest$ac_exeext conftest.$ac_ext
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17654 $as_echo "$ac_cv_have_isinf" >&6; }
17655 if test "$ac_cv_have_isinf" = "yes"
17656 then
17658 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17663 $as_echo_n "checking for isnan... " >&6; }
17664 if ${ac_cv_have_isnan+:} false; then :
17665 $as_echo_n "(cached) " >&6
17666 else
17667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17668 /* end confdefs.h. */
17669 #include <math.h>
17671 main ()
17673 float f = 0.0; return isnan(f)
17675 return 0;
17677 _ACEOF
17678 if ac_fn_c_try_link "$LINENO"; then :
17679 ac_cv_have_isnan="yes"
17680 else
17681 ac_cv_have_isnan="no"
17683 rm -f core conftest.err conftest.$ac_objext \
17684 conftest$ac_exeext conftest.$ac_ext
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17687 $as_echo "$ac_cv_have_isnan" >&6; }
17688 if test "$ac_cv_have_isnan" = "yes"
17689 then
17691 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17695 for ac_func in \
17696 acosh \
17697 acoshf \
17698 asinh \
17699 asinhf \
17700 atanh \
17701 atanhf \
17702 cbrt \
17703 cbrtf \
17704 erf \
17705 erfc \
17706 erfcf \
17707 erff \
17708 exp2 \
17709 exp2f \
17710 expm1 \
17711 expm1f \
17712 lgamma \
17713 lgammaf \
17714 llrint \
17715 llrintf \
17716 llround \
17717 llroundf \
17718 log1p \
17719 log1pf \
17720 log2 \
17721 log2f \
17722 lrint \
17723 lrintf \
17724 lround \
17725 lroundf \
17726 nearbyint \
17727 nearbyintf \
17728 powl \
17729 remainder \
17730 remainderf \
17731 rint \
17732 rintf \
17733 round \
17734 roundf \
17735 trunc \
17736 truncf
17738 do :
17739 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17740 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17741 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17742 cat >>confdefs.h <<_ACEOF
17743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17744 _ACEOF
17747 done
17749 LIBS="$ac_save_LIBS"
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17752 $as_echo_n "checking for __builtin_clz... " >&6; }
17753 if ${ac_cv_have___builtin_clz+:} false; then :
17754 $as_echo_n "(cached) " >&6
17755 else
17756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17757 /* end confdefs.h. */
17760 main ()
17762 return __builtin_clz(1)
17764 return 0;
17766 _ACEOF
17767 if ac_fn_c_try_link "$LINENO"; then :
17768 ac_cv_have___builtin_clz="yes"
17769 else
17770 ac_cv_have___builtin_clz="no"
17772 rm -f core conftest.err conftest.$ac_objext \
17773 conftest$ac_exeext conftest.$ac_ext
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17776 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17777 if test "$ac_cv_have___builtin_clz" = "yes"
17778 then
17780 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17785 $as_echo_n "checking for __builtin_popcount... " >&6; }
17786 if ${ac_cv_have___builtin_popcount+:} false; then :
17787 $as_echo_n "(cached) " >&6
17788 else
17789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17790 /* end confdefs.h. */
17793 main ()
17795 return __builtin_popcount(1)
17797 return 0;
17799 _ACEOF
17800 if ac_fn_c_try_link "$LINENO"; then :
17801 ac_cv_have___builtin_popcount="yes"
17802 else
17803 ac_cv_have___builtin_popcount="no"
17805 rm -f core conftest.err conftest.$ac_objext \
17806 conftest$ac_exeext conftest.$ac_ext
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17809 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17810 if test "$ac_cv_have___builtin_popcount" = "yes"
17811 then
17813 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17818 $as_echo_n "checking for __clear_cache... " >&6; }
17819 if ${ac_cv_have___clear_cache+:} false; then :
17820 $as_echo_n "(cached) " >&6
17821 else
17822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17823 /* end confdefs.h. */
17826 main ()
17828 __clear_cache((void*)0, (void*)0); return 0;
17830 return 0;
17832 _ACEOF
17833 if ac_fn_c_try_link "$LINENO"; then :
17834 ac_cv_have___clear_cache="yes"
17835 else
17836 ac_cv_have___clear_cache="no"
17838 rm -f core conftest.err conftest.$ac_objext \
17839 conftest$ac_exeext conftest.$ac_ext
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17842 $as_echo "$ac_cv_have___clear_cache" >&6; }
17843 if test "$ac_cv_have___clear_cache" = "yes"
17844 then
17846 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17851 case $host_cpu in
17852 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17853 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17854 if ${ac_cv_cpp_def___i386__+:} false; then :
17855 $as_echo_n "(cached) " >&6
17856 else
17857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17858 /* end confdefs.h. */
17859 #ifndef __i386__
17861 #endif
17862 _ACEOF
17863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17864 $EGREP "yes" >/dev/null 2>&1; then :
17865 ac_cv_cpp_def___i386__=yes
17866 else
17867 ac_cv_cpp_def___i386__=no
17869 rm -f conftest*
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17873 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17874 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17875 CFLAGS="$CFLAGS -D__i386__"
17876 LINTFLAGS="$LINTFLAGS -D__i386__"
17877 fi ;;
17878 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17879 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17880 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17881 $as_echo_n "(cached) " >&6
17882 else
17883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17884 /* end confdefs.h. */
17885 #ifndef __x86_64__
17887 #endif
17888 _ACEOF
17889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17890 $EGREP "yes" >/dev/null 2>&1; then :
17891 ac_cv_cpp_def___x86_64__=yes
17892 else
17893 ac_cv_cpp_def___x86_64__=no
17895 rm -f conftest*
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17899 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17900 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17901 CFLAGS="$CFLAGS -D__x86_64__"
17902 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17903 fi ;;
17904 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17905 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17906 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17907 $as_echo_n "(cached) " >&6
17908 else
17909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17910 /* end confdefs.h. */
17911 #ifndef __sparc64__
17913 #endif
17914 _ACEOF
17915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17916 $EGREP "yes" >/dev/null 2>&1; then :
17917 ac_cv_cpp_def___sparc64__=yes
17918 else
17919 ac_cv_cpp_def___sparc64__=no
17921 rm -f conftest*
17924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17925 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17926 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17927 CFLAGS="$CFLAGS -D__sparc64__"
17928 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17929 fi ;;
17930 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17931 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17932 if ${ac_cv_cpp_def___sparc__+:} false; then :
17933 $as_echo_n "(cached) " >&6
17934 else
17935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17936 /* end confdefs.h. */
17937 #ifndef __sparc__
17939 #endif
17940 _ACEOF
17941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17942 $EGREP "yes" >/dev/null 2>&1; then :
17943 ac_cv_cpp_def___sparc__=yes
17944 else
17945 ac_cv_cpp_def___sparc__=no
17947 rm -f conftest*
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17951 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17952 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17953 CFLAGS="$CFLAGS -D__sparc__"
17954 LINTFLAGS="$LINTFLAGS -D__sparc__"
17955 fi ;;
17956 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17957 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17958 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17959 $as_echo_n "(cached) " >&6
17960 else
17961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17962 /* end confdefs.h. */
17963 #ifndef __powerpc64__
17965 #endif
17966 _ACEOF
17967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17968 $EGREP "yes" >/dev/null 2>&1; then :
17969 ac_cv_cpp_def___powerpc64__=yes
17970 else
17971 ac_cv_cpp_def___powerpc64__=no
17973 rm -f conftest*
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17977 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17978 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17979 CFLAGS="$CFLAGS -D__powerpc64__"
17980 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17981 fi ;;
17982 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17983 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17984 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17985 $as_echo_n "(cached) " >&6
17986 else
17987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17988 /* end confdefs.h. */
17989 #ifndef __powerpc__
17991 #endif
17992 _ACEOF
17993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17994 $EGREP "yes" >/dev/null 2>&1; then :
17995 ac_cv_cpp_def___powerpc__=yes
17996 else
17997 ac_cv_cpp_def___powerpc__=no
17999 rm -f conftest*
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18003 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18004 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18005 CFLAGS="$CFLAGS -D__powerpc__"
18006 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18007 fi ;;
18008 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18009 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18010 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18011 $as_echo_n "(cached) " >&6
18012 else
18013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18014 /* end confdefs.h. */
18015 #ifndef __aarch64__
18017 #endif
18018 _ACEOF
18019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18020 $EGREP "yes" >/dev/null 2>&1; then :
18021 ac_cv_cpp_def___aarch64__=yes
18022 else
18023 ac_cv_cpp_def___aarch64__=no
18025 rm -f conftest*
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18029 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18030 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18031 CFLAGS="$CFLAGS -D__aarch64__"
18032 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18033 fi ;;
18034 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18035 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18036 if ${ac_cv_cpp_def___arm__+:} false; then :
18037 $as_echo_n "(cached) " >&6
18038 else
18039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18040 /* end confdefs.h. */
18041 #ifndef __arm__
18043 #endif
18044 _ACEOF
18045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18046 $EGREP "yes" >/dev/null 2>&1; then :
18047 ac_cv_cpp_def___arm__=yes
18048 else
18049 ac_cv_cpp_def___arm__=no
18051 rm -f conftest*
18054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18055 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18056 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18057 CFLAGS="$CFLAGS -D__arm__"
18058 LINTFLAGS="$LINTFLAGS -D__arm__"
18059 fi ;;
18060 esac
18062 case $host_vendor in
18063 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18064 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18065 if ${ac_cv_cpp_def___sun__+:} false; then :
18066 $as_echo_n "(cached) " >&6
18067 else
18068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18069 /* end confdefs.h. */
18070 #ifndef __sun__
18072 #endif
18073 _ACEOF
18074 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18075 $EGREP "yes" >/dev/null 2>&1; then :
18076 ac_cv_cpp_def___sun__=yes
18077 else
18078 ac_cv_cpp_def___sun__=no
18080 rm -f conftest*
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18084 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18085 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18086 CFLAGS="$CFLAGS -D__sun__"
18087 LINTFLAGS="$LINTFLAGS -D__sun__"
18088 fi ;;
18089 esac
18095 ac_config_commands="$ac_config_commands include/stamp-h"
18097 $as_echo_n "creating Makefile rules..." >&6
18099 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18100 SOCKET_LIBS = $SOCKET_LIBS
18101 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18102 IOKIT_LIBS = $IOKIT_LIBS
18103 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18104 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18105 CORESERVICES_LIBS = $CORESERVICES_LIBS
18106 APPKIT_LIBS = $APPKIT_LIBS
18107 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18108 SECURITY_LIBS = $SECURITY_LIBS
18109 COREAUDIO_LIBS = $COREAUDIO_LIBS
18110 OPENAL_LIBS = $OPENAL_LIBS
18111 OPENCL_LIBS = $OPENCL_LIBS
18112 QUICKTIME_LIBS = $QUICKTIME_LIBS
18113 CARBON_LIBS = $CARBON_LIBS
18114 PTHREAD_LIBS = $PTHREAD_LIBS
18115 X_CFLAGS = $X_CFLAGS
18116 X_PRE_LIBS = $X_PRE_LIBS
18117 X_LIBS = $X_LIBS
18118 X_EXTRA_LIBS = $X_EXTRA_LIBS
18119 PCAP_LIBS = $PCAP_LIBS
18120 XML2_CFLAGS = $XML2_CFLAGS
18121 XML2_LIBS = $XML2_LIBS
18122 XSLT_CFLAGS = $XSLT_CFLAGS
18123 XSLT_LIBS = $XSLT_LIBS
18124 DBUS_CFLAGS = $DBUS_CFLAGS
18125 DBUS_LIBS = $DBUS_LIBS
18126 HAL_CFLAGS = $HAL_CFLAGS
18127 HAL_LIBS = $HAL_LIBS
18128 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18129 GNUTLS_LIBS = $GNUTLS_LIBS
18130 SANE_CFLAGS = $SANE_CFLAGS
18131 SANE_LIBS = $SANE_LIBS
18132 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18133 GPHOTO2_LIBS = $GPHOTO2_LIBS
18134 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18135 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18136 RESOLV_LIBS = $RESOLV_LIBS
18137 LCMS2_CFLAGS = $LCMS2_CFLAGS
18138 LCMS2_LIBS = $LCMS2_LIBS
18139 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18140 FREETYPE_LIBS = $FREETYPE_LIBS
18141 Z_LIBS = $Z_LIBS
18142 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18143 PULSE_CFLAGS = $PULSE_CFLAGS
18144 PULSE_LIBS = $PULSE_LIBS
18145 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18146 GSTREAMER_LIBS = $GSTREAMER_LIBS
18147 ALSA_LIBS = $ALSA_LIBS
18148 OSS4_CFLAGS = $OSS4_CFLAGS
18149 UDEV_CFLAGS = $UDEV_CFLAGS
18150 UDEV_LIBS = $UDEV_LIBS
18151 SDL2_CFLAGS = $SDL2_CFLAGS
18152 SDL2_LIBS = $SDL2_LIBS
18153 CAPI20_CFLAGS = $CAPI20_CFLAGS
18154 CAPI20_LIBS = $CAPI20_LIBS
18155 CUPS_CFLAGS = $CUPS_CFLAGS
18156 CUPS_LIBS = $CUPS_LIBS
18157 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18158 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18159 KRB5_CFLAGS = $KRB5_CFLAGS
18160 KRB5_LIBS = $KRB5_LIBS
18161 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18162 GSSAPI_LIBS = $GSSAPI_LIBS
18163 JPEG_CFLAGS = $JPEG_CFLAGS
18164 JPEG_LIBS = $JPEG_LIBS
18165 PNG_CFLAGS = $PNG_CFLAGS
18166 PNG_LIBS = $PNG_LIBS
18167 TIFF_CFLAGS = $TIFF_CFLAGS
18168 TIFF_LIBS = $TIFF_LIBS
18169 MPG123_CFLAGS = $MPG123_CFLAGS
18170 MPG123_LIBS = $MPG123_LIBS
18171 KSTAT_LIBS = $KSTAT_LIBS
18172 PROCSTAT_LIBS = $PROCSTAT_LIBS
18173 NETAPI_CFLAGS = $NETAPI_CFLAGS
18174 NETAPI_LIBS = $NETAPI_LIBS
18175 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18176 DL_LIBS = $DL_LIBS
18177 POLL_LIBS = $POLL_LIBS
18178 RT_LIBS = $RT_LIBS
18179 LDAP_CFLAGS = $LDAP_CFLAGS
18180 LDAP_LIBS = $LDAP_LIBS
18185 wine_fn_append_rule "
18186 # Rules automatically generated by configure
18188 .INIT: Makefile
18189 .MAKEFILEDEPS:
18190 all: Makefile
18191 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18192 @./config.status Make.tmp Makefile
18193 depend: \$(MAKEDEP) dummy
18194 \$(MAKEDEP)"
18196 if test "x$enable_fonts" != xno; then
18197 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18198 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18199 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18200 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18201 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18202 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18204 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18205 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18206 ac_config_links="$ac_config_links wine:tools/winewrapper"
18207 wine_fn_config_symlink wine
18208 if test "x$enable_win64" != xno; then
18209 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18210 wine_fn_config_symlink wine64
18213 wine_fn_config_dll acledit enable_acledit
18214 wine_fn_config_dll aclui enable_aclui
18215 wine_fn_config_dll activeds enable_activeds
18216 wine_fn_config_dll actxprxy enable_actxprxy
18217 wine_fn_config_lib adsiid
18218 wine_fn_config_dll adsldp enable_adsldp
18219 wine_fn_config_test dlls/adsldp/tests
18220 wine_fn_config_dll adsldpc enable_adsldpc
18221 wine_fn_config_dll advapi32 enable_advapi32
18222 wine_fn_config_test dlls/advapi32/tests
18223 wine_fn_config_dll advpack enable_advpack
18224 wine_fn_config_test dlls/advpack/tests
18225 wine_fn_config_dll amstream enable_amstream
18226 wine_fn_config_test dlls/amstream/tests
18227 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18228 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18229 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18230 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18231 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18232 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18233 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18234 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18235 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18236 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18237 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18238 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18239 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18240 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18241 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18242 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18243 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18244 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18245 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18246 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18247 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18248 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18249 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18250 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18251 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18252 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18253 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18254 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18255 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18256 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18257 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18258 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18259 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18260 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18261 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18262 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18263 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18264 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18265 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18266 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18267 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18268 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18269 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18270 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18271 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18272 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18273 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18274 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18275 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18276 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18277 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18278 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18279 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18280 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18281 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18282 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18283 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18284 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18285 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18286 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18287 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18288 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18289 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18290 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18291 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18292 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18293 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18294 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18295 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18296 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18297 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18298 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18299 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18300 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18301 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18302 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18303 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18304 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18305 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18306 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18307 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18308 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18309 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18310 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18311 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18312 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18313 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18314 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18315 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18316 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18317 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18318 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18319 wine_fn_config_dll api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18320 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18321 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18322 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18323 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18324 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18325 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18326 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18327 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18328 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18329 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18330 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18331 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18332 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18333 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18334 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18335 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18336 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18337 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18338 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18339 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18340 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18341 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18342 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18343 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18344 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18345 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18346 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18347 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18348 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18349 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18350 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18351 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18352 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18353 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18354 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18355 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18356 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18357 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18358 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18359 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18360 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18361 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18362 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18363 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18364 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18365 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18366 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18367 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18368 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18369 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18370 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18371 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18372 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18373 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18374 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18375 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18376 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18377 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18378 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18379 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18380 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18381 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18382 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18383 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18384 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18385 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18386 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18387 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18388 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18389 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18390 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18391 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18392 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18393 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18394 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18395 wine_fn_config_dll api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18396 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18397 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18398 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18399 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18400 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18401 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18402 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18403 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18404 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18405 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18406 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18407 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18408 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18409 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18410 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18411 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18412 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18413 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18414 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18415 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18416 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18417 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18418 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18419 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18420 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18421 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18422 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18423 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18424 wine_fn_config_dll apphelp enable_apphelp
18425 wine_fn_config_test dlls/apphelp/tests
18426 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
18427 wine_fn_config_dll atl enable_atl
18428 wine_fn_config_test dlls/atl/tests
18429 wine_fn_config_dll atl100 enable_atl100
18430 wine_fn_config_test dlls/atl100/tests
18431 wine_fn_config_dll atl110 enable_atl110
18432 wine_fn_config_dll atl80 enable_atl80
18433 wine_fn_config_test dlls/atl80/tests
18434 wine_fn_config_dll atl90 enable_atl90
18435 wine_fn_config_dll authz enable_authz
18436 wine_fn_config_dll avicap32 enable_avicap32
18437 wine_fn_config_dll avifil32 enable_avifil32
18438 wine_fn_config_test dlls/avifil32/tests
18439 wine_fn_config_dll avifile.dll16 enable_win16
18440 wine_fn_config_dll avrt enable_avrt
18441 wine_fn_config_dll bcrypt enable_bcrypt
18442 wine_fn_config_test dlls/bcrypt/tests
18443 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18444 wine_fn_config_dll browseui enable_browseui
18445 wine_fn_config_test dlls/browseui/tests
18446 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18447 wine_fn_config_dll cabinet enable_cabinet
18448 wine_fn_config_test dlls/cabinet/tests
18449 wine_fn_config_dll capi2032 enable_capi2032
18450 wine_fn_config_dll cards enable_cards
18451 wine_fn_config_dll cdosys enable_cdosys
18452 wine_fn_config_dll cfgmgr32 enable_cfgmgr32
18453 wine_fn_config_dll clusapi enable_clusapi
18454 wine_fn_config_dll combase enable_combase
18455 wine_fn_config_test dlls/combase/tests
18456 wine_fn_config_dll comcat enable_comcat
18457 wine_fn_config_test dlls/comcat/tests
18458 wine_fn_config_dll comctl32 enable_comctl32
18459 wine_fn_config_test dlls/comctl32/tests
18460 wine_fn_config_dll comdlg32 enable_comdlg32
18461 wine_fn_config_test dlls/comdlg32/tests
18462 wine_fn_config_dll comm.drv16 enable_win16
18463 wine_fn_config_dll commdlg.dll16 enable_win16
18464 wine_fn_config_dll compobj.dll16 enable_win16
18465 wine_fn_config_dll compstui enable_compstui
18466 wine_fn_config_dll comsvcs enable_comsvcs
18467 wine_fn_config_dll concrt140 enable_concrt140
18468 wine_fn_config_dll connect enable_connect
18469 wine_fn_config_dll credui enable_credui
18470 wine_fn_config_test dlls/credui/tests
18471 wine_fn_config_dll crtdll enable_crtdll
18472 wine_fn_config_dll crypt32 enable_crypt32
18473 wine_fn_config_test dlls/crypt32/tests
18474 wine_fn_config_dll cryptdlg enable_cryptdlg
18475 wine_fn_config_dll cryptdll enable_cryptdll
18476 wine_fn_config_dll cryptext enable_cryptext
18477 wine_fn_config_dll cryptnet enable_cryptnet
18478 wine_fn_config_test dlls/cryptnet/tests
18479 wine_fn_config_dll cryptui enable_cryptui
18480 wine_fn_config_test dlls/cryptui/tests
18481 wine_fn_config_dll ctapi32 enable_ctapi32
18482 wine_fn_config_dll ctl3d.dll16 enable_win16
18483 wine_fn_config_dll ctl3d32 enable_ctl3d32
18484 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18485 wine_fn_config_dll d2d1 enable_d2d1
18486 wine_fn_config_test dlls/d2d1/tests
18487 wine_fn_config_dll d3d10 enable_d3d10
18488 wine_fn_config_test dlls/d3d10/tests
18489 wine_fn_config_dll d3d10_1 enable_d3d10_1
18490 wine_fn_config_test dlls/d3d10_1/tests
18491 wine_fn_config_dll d3d10core enable_d3d10core
18492 wine_fn_config_test dlls/d3d10core/tests
18493 wine_fn_config_dll d3d11 enable_d3d11
18494 wine_fn_config_test dlls/d3d11/tests
18495 wine_fn_config_dll d3d12 enable_d3d12
18496 wine_fn_config_test dlls/d3d12/tests
18497 wine_fn_config_dll d3d8 enable_d3d8
18498 wine_fn_config_test dlls/d3d8/tests
18499 wine_fn_config_dll d3d9 enable_d3d9
18500 wine_fn_config_test dlls/d3d9/tests
18501 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18502 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18503 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18504 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18505 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18506 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18507 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18508 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18509 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18510 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18511 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43
18512 wine_fn_config_test dlls/d3dcompiler_43/tests
18513 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18514 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18515 wine_fn_config_dll d3dim enable_d3dim
18516 wine_fn_config_dll d3drm enable_d3drm
18517 wine_fn_config_test dlls/d3drm/tests
18518 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18519 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18520 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18521 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18522 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18523 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18524 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18525 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18526 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18527 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18528 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
18529 wine_fn_config_test dlls/d3dx10_43/tests
18530 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18531 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
18532 wine_fn_config_test dlls/d3dx11_43/tests
18533 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18534 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18535 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18536 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18537 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18538 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18539 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18540 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18541 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18542 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18543 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18544 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18545 wine_fn_config_dll d3dx9_36 enable_d3dx9_36
18546 wine_fn_config_test dlls/d3dx9_36/tests
18547 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18548 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18549 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18550 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18551 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18552 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18553 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18554 wine_fn_config_dll d3dxof enable_d3dxof
18555 wine_fn_config_test dlls/d3dxof/tests
18556 wine_fn_config_dll davclnt enable_davclnt
18557 wine_fn_config_dll dbgeng enable_dbgeng
18558 wine_fn_config_dll dbghelp enable_dbghelp
18559 wine_fn_config_dll dciman32 enable_dciman32
18560 wine_fn_config_dll ddeml.dll16 enable_win16
18561 wine_fn_config_dll ddraw enable_ddraw
18562 wine_fn_config_test dlls/ddraw/tests
18563 wine_fn_config_dll ddrawex enable_ddrawex
18564 wine_fn_config_test dlls/ddrawex/tests
18565 wine_fn_config_dll devenum enable_devenum
18566 wine_fn_config_test dlls/devenum/tests
18567 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18568 wine_fn_config_dll dhtmled.ocx enable_dhtmled_ocx
18569 wine_fn_config_dll difxapi enable_difxapi
18570 wine_fn_config_dll dinput enable_dinput
18571 wine_fn_config_test dlls/dinput/tests
18572 wine_fn_config_dll dinput8 enable_dinput8
18573 wine_fn_config_test dlls/dinput8/tests
18574 wine_fn_config_dll dispdib.dll16 enable_win16
18575 wine_fn_config_dll dispex enable_dispex
18576 wine_fn_config_test dlls/dispex/tests
18577 wine_fn_config_dll display.drv16 enable_win16
18578 wine_fn_config_dll dmband enable_dmband
18579 wine_fn_config_test dlls/dmband/tests
18580 wine_fn_config_dll dmcompos enable_dmcompos
18581 wine_fn_config_test dlls/dmcompos/tests
18582 wine_fn_config_dll dmime enable_dmime
18583 wine_fn_config_test dlls/dmime/tests
18584 wine_fn_config_dll dmloader enable_dmloader
18585 wine_fn_config_test dlls/dmloader/tests
18586 wine_fn_config_dll dmscript enable_dmscript
18587 wine_fn_config_test dlls/dmscript/tests
18588 wine_fn_config_dll dmstyle enable_dmstyle
18589 wine_fn_config_test dlls/dmstyle/tests
18590 wine_fn_config_dll dmsynth enable_dmsynth
18591 wine_fn_config_test dlls/dmsynth/tests
18592 wine_fn_config_dll dmusic enable_dmusic
18593 wine_fn_config_test dlls/dmusic/tests
18594 wine_fn_config_dll dmusic32 enable_dmusic32
18595 wine_fn_config_dll dnsapi enable_dnsapi
18596 wine_fn_config_test dlls/dnsapi/tests
18597 wine_fn_config_dll dplay enable_dplay
18598 wine_fn_config_dll dplayx enable_dplayx
18599 wine_fn_config_test dlls/dplayx/tests
18600 wine_fn_config_dll dpnaddr enable_dpnaddr
18601 wine_fn_config_dll dpnet enable_dpnet
18602 wine_fn_config_test dlls/dpnet/tests
18603 wine_fn_config_dll dpnhpast enable_dpnhpast
18604 wine_fn_config_dll dpnlobby enable_dpnlobby
18605 wine_fn_config_dll dpvoice enable_dpvoice
18606 wine_fn_config_test dlls/dpvoice/tests
18607 wine_fn_config_dll dpwsockx enable_dpwsockx
18608 wine_fn_config_dll drmclien enable_drmclien
18609 wine_fn_config_dll dsound enable_dsound
18610 wine_fn_config_test dlls/dsound/tests
18611 wine_fn_config_dll dsquery enable_dsquery
18612 wine_fn_config_dll dssenh enable_dssenh
18613 wine_fn_config_test dlls/dssenh/tests
18614 wine_fn_config_dll dswave enable_dswave
18615 wine_fn_config_test dlls/dswave/tests
18616 wine_fn_config_dll dwmapi enable_dwmapi
18617 wine_fn_config_dll dwrite enable_dwrite
18618 wine_fn_config_test dlls/dwrite/tests
18619 wine_fn_config_dll dx8vb enable_dx8vb
18620 wine_fn_config_dll dxdiagn enable_dxdiagn
18621 wine_fn_config_test dlls/dxdiagn/tests
18622 wine_fn_config_lib dxerr8
18623 wine_fn_config_lib dxerr9
18624 wine_fn_config_dll dxgi enable_dxgi
18625 wine_fn_config_test dlls/dxgi/tests
18626 wine_fn_config_lib dxguid
18627 wine_fn_config_dll dxva2 enable_dxva2
18628 wine_fn_config_dll esent enable_esent
18629 wine_fn_config_dll evr enable_evr
18630 wine_fn_config_test dlls/evr/tests
18631 wine_fn_config_dll explorerframe enable_explorerframe
18632 wine_fn_config_test dlls/explorerframe/tests
18633 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18634 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18635 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18636 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18637 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18638 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18639 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18640 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18641 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18642 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18643 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18644 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18645 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18646 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18647 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18648 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18649 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18650 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18651 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
18652 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18653 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18654 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18655 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18656 wine_fn_config_dll faultrep enable_faultrep
18657 wine_fn_config_test dlls/faultrep/tests
18658 wine_fn_config_dll fltlib enable_fltlib
18659 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18660 wine_fn_config_dll fntcache enable_fntcache
18661 wine_fn_config_dll fontsub enable_fontsub
18662 wine_fn_config_dll fusion enable_fusion
18663 wine_fn_config_test dlls/fusion/tests
18664 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18665 wine_fn_config_dll gameux enable_gameux
18666 wine_fn_config_test dlls/gameux/tests
18667 wine_fn_config_dll gdi.exe16 enable_win16
18668 wine_fn_config_dll gdi32 enable_gdi32
18669 wine_fn_config_test dlls/gdi32/tests
18670 wine_fn_config_dll gdiplus enable_gdiplus
18671 wine_fn_config_test dlls/gdiplus/tests
18672 wine_fn_config_dll glu32 enable_glu32
18673 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
18674 wine_fn_config_dll gpkcsp enable_gpkcsp
18675 wine_fn_config_dll hal enable_hal
18676 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx
18677 wine_fn_config_dll hid enable_hid
18678 wine_fn_config_test dlls/hid/tests
18679 wine_fn_config_dll hidclass.sys enable_hidclass_sys
18680 wine_fn_config_dll hlink enable_hlink
18681 wine_fn_config_test dlls/hlink/tests
18682 wine_fn_config_dll hnetcfg enable_hnetcfg
18683 wine_fn_config_test dlls/hnetcfg/tests
18684 wine_fn_config_dll httpapi enable_httpapi
18685 wine_fn_config_test dlls/httpapi/tests
18686 wine_fn_config_dll iccvid enable_iccvid
18687 wine_fn_config_dll icmp enable_icmp
18688 wine_fn_config_dll ieframe enable_ieframe
18689 wine_fn_config_test dlls/ieframe/tests
18690 wine_fn_config_dll ieproxy enable_ieproxy
18691 wine_fn_config_dll ifsmgr.vxd enable_win16
18692 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18693 wine_fn_config_dll imagehlp enable_imagehlp
18694 wine_fn_config_test dlls/imagehlp/tests
18695 wine_fn_config_dll imm.dll16 enable_win16
18696 wine_fn_config_dll imm32 enable_imm32
18697 wine_fn_config_test dlls/imm32/tests
18698 wine_fn_config_dll inetcomm enable_inetcomm
18699 wine_fn_config_test dlls/inetcomm/tests
18700 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl
18701 wine_fn_config_dll inetmib1 enable_inetmib1
18702 wine_fn_config_test dlls/inetmib1/tests
18703 wine_fn_config_dll infosoft enable_infosoft
18704 wine_fn_config_test dlls/infosoft/tests
18705 wine_fn_config_dll initpki enable_initpki
18706 wine_fn_config_dll inkobj enable_inkobj
18707 wine_fn_config_dll inseng enable_inseng
18708 wine_fn_config_dll iphlpapi enable_iphlpapi
18709 wine_fn_config_test dlls/iphlpapi/tests
18710 wine_fn_config_dll iprop enable_iprop
18711 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18712 wine_fn_config_dll itircl enable_itircl
18713 wine_fn_config_dll itss enable_itss
18714 wine_fn_config_test dlls/itss/tests
18715 wine_fn_config_dll joy.cpl enable_joy_cpl
18716 wine_fn_config_dll jscript enable_jscript
18717 wine_fn_config_test dlls/jscript/tests
18718 wine_fn_config_dll jsproxy enable_jsproxy
18719 wine_fn_config_test dlls/jsproxy/tests
18720 wine_fn_config_dll kerberos enable_kerberos
18721 wine_fn_config_dll kernel32 enable_kernel32
18722 wine_fn_config_test dlls/kernel32/tests
18723 wine_fn_config_dll kernelbase enable_kernelbase
18724 wine_fn_config_test dlls/kernelbase/tests
18725 wine_fn_config_dll keyboard.drv16 enable_win16
18726 wine_fn_config_dll krnl386.exe16 enable_win16
18727 wine_fn_config_dll ksuser enable_ksuser
18728 wine_fn_config_dll ktmw32 enable_ktmw32
18729 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18730 wine_fn_config_dll loadperf enable_loadperf
18731 wine_fn_config_dll localspl enable_localspl
18732 wine_fn_config_test dlls/localspl/tests
18733 wine_fn_config_dll localui enable_localui
18734 wine_fn_config_test dlls/localui/tests
18735 wine_fn_config_dll lz32 enable_lz32
18736 wine_fn_config_test dlls/lz32/tests
18737 wine_fn_config_dll lzexpand.dll16 enable_win16
18738 wine_fn_config_dll mapi32 enable_mapi32
18739 wine_fn_config_test dlls/mapi32/tests
18740 wine_fn_config_dll mapistub enable_mapistub
18741 wine_fn_config_dll mciavi32 enable_mciavi32
18742 wine_fn_config_dll mcicda enable_mcicda
18743 wine_fn_config_dll mciqtz32 enable_mciqtz32
18744 wine_fn_config_dll mciseq enable_mciseq
18745 wine_fn_config_dll mciwave enable_mciwave
18746 wine_fn_config_dll mf enable_mf
18747 wine_fn_config_test dlls/mf/tests
18748 wine_fn_config_dll mf3216 enable_mf3216
18749 wine_fn_config_dll mfplat enable_mfplat
18750 wine_fn_config_test dlls/mfplat/tests
18751 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18752 wine_fn_config_lib mfuuid
18753 wine_fn_config_dll mgmtapi enable_mgmtapi
18754 wine_fn_config_dll midimap enable_midimap
18755 wine_fn_config_dll mlang enable_mlang
18756 wine_fn_config_test dlls/mlang/tests
18757 wine_fn_config_dll mmcndmgr enable_mmcndmgr
18758 wine_fn_config_test dlls/mmcndmgr/tests
18759 wine_fn_config_dll mmdevapi enable_mmdevapi
18760 wine_fn_config_test dlls/mmdevapi/tests
18761 wine_fn_config_dll mmdevldr.vxd enable_win16
18762 wine_fn_config_dll mmsystem.dll16 enable_win16
18763 wine_fn_config_dll monodebg.vxd enable_win16
18764 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18765 wine_fn_config_dll mouse.drv16 enable_win16
18766 wine_fn_config_dll mpr enable_mpr
18767 wine_fn_config_test dlls/mpr/tests
18768 wine_fn_config_dll mprapi enable_mprapi
18769 wine_fn_config_dll msacm.dll16 enable_win16
18770 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18771 wine_fn_config_dll msacm32 enable_msacm32
18772 wine_fn_config_test dlls/msacm32/tests
18773 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18774 wine_fn_config_dll msasn1 enable_msasn1
18775 wine_fn_config_dll mscat32 enable_mscat32
18776 wine_fn_config_dll mscms enable_mscms
18777 wine_fn_config_test dlls/mscms/tests
18778 wine_fn_config_dll mscoree enable_mscoree
18779 wine_fn_config_test dlls/mscoree/tests
18780 wine_fn_config_dll msctf enable_msctf
18781 wine_fn_config_test dlls/msctf/tests
18782 wine_fn_config_dll msctfp enable_msctfp
18783 wine_fn_config_dll msdaps enable_msdaps
18784 wine_fn_config_dll msdelta enable_msdelta
18785 wine_fn_config_dll msdmo enable_msdmo
18786 wine_fn_config_test dlls/msdmo/tests
18787 wine_fn_config_dll msdrm enable_msdrm
18788 wine_fn_config_dll msftedit enable_msftedit
18789 wine_fn_config_dll msg711.acm enable_msg711_acm
18790 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18791 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
18792 wine_fn_config_dll mshtml enable_mshtml
18793 wine_fn_config_test dlls/mshtml/tests
18794 wine_fn_config_dll msi enable_msi
18795 wine_fn_config_test dlls/msi/tests
18796 wine_fn_config_dll msident enable_msident
18797 wine_fn_config_dll msimg32 enable_msimg32
18798 wine_fn_config_dll msimsg enable_msimsg
18799 wine_fn_config_dll msimtf enable_msimtf
18800 wine_fn_config_dll msisip enable_msisip
18801 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18802 wine_fn_config_dll msls31 enable_msls31
18803 wine_fn_config_dll msnet32 enable_msnet32
18804 wine_fn_config_dll mspatcha enable_mspatcha
18805 wine_fn_config_dll msports enable_msports
18806 wine_fn_config_dll msrle32 enable_msrle32
18807 wine_fn_config_test dlls/msrle32/tests
18808 wine_fn_config_dll msscript.ocx enable_msscript_ocx
18809 wine_fn_config_test dlls/msscript.ocx/tests
18810 wine_fn_config_dll mssign32 enable_mssign32
18811 wine_fn_config_dll mssip32 enable_mssip32
18812 wine_fn_config_dll mstask enable_mstask
18813 wine_fn_config_test dlls/mstask/tests
18814 wine_fn_config_dll msvcirt enable_msvcirt
18815 wine_fn_config_test dlls/msvcirt/tests
18816 wine_fn_config_dll msvcm80 enable_msvcm80
18817 wine_fn_config_dll msvcm90 enable_msvcm90
18818 wine_fn_config_dll msvcp100 enable_msvcp100
18819 wine_fn_config_test dlls/msvcp100/tests
18820 wine_fn_config_dll msvcp110 enable_msvcp110
18821 wine_fn_config_test dlls/msvcp110/tests
18822 wine_fn_config_dll msvcp120 enable_msvcp120
18823 wine_fn_config_test dlls/msvcp120/tests
18824 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18825 wine_fn_config_dll msvcp140 enable_msvcp140
18826 wine_fn_config_test dlls/msvcp140/tests
18827 wine_fn_config_dll msvcp60 enable_msvcp60
18828 wine_fn_config_test dlls/msvcp60/tests
18829 wine_fn_config_dll msvcp70 enable_msvcp70
18830 wine_fn_config_dll msvcp71 enable_msvcp71
18831 wine_fn_config_dll msvcp80 enable_msvcp80
18832 wine_fn_config_dll msvcp90 enable_msvcp90
18833 wine_fn_config_test dlls/msvcp90/tests
18834 wine_fn_config_dll msvcr100 enable_msvcr100
18835 wine_fn_config_test dlls/msvcr100/tests
18836 wine_fn_config_dll msvcr110 enable_msvcr110
18837 wine_fn_config_dll msvcr120 enable_msvcr120
18838 wine_fn_config_test dlls/msvcr120/tests
18839 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18840 wine_fn_config_dll msvcr70 enable_msvcr70
18841 wine_fn_config_dll msvcr71 enable_msvcr71
18842 wine_fn_config_dll msvcr80 enable_msvcr80
18843 wine_fn_config_dll msvcr90 enable_msvcr90
18844 wine_fn_config_test dlls/msvcr90/tests
18845 wine_fn_config_dll msvcrt enable_msvcrt
18846 wine_fn_config_test dlls/msvcrt/tests
18847 wine_fn_config_dll msvcrt20 enable_msvcrt20
18848 wine_fn_config_dll msvcrt40 enable_msvcrt40
18849 wine_fn_config_dll msvcrtd enable_msvcrtd
18850 wine_fn_config_test dlls/msvcrtd/tests
18851 wine_fn_config_dll msvfw32 enable_msvfw32
18852 wine_fn_config_test dlls/msvfw32/tests
18853 wine_fn_config_dll msvidc32 enable_msvidc32
18854 wine_fn_config_dll msvideo.dll16 enable_win16
18855 wine_fn_config_dll mswsock enable_mswsock
18856 wine_fn_config_dll msxml enable_msxml
18857 wine_fn_config_dll msxml2 enable_msxml2
18858 wine_fn_config_dll msxml3 enable_msxml3
18859 wine_fn_config_test dlls/msxml3/tests
18860 wine_fn_config_dll msxml4 enable_msxml4
18861 wine_fn_config_dll msxml6 enable_msxml6
18862 wine_fn_config_dll mtxdm enable_mtxdm
18863 wine_fn_config_dll ncrypt enable_ncrypt
18864 wine_fn_config_dll nddeapi enable_nddeapi
18865 wine_fn_config_dll ndis.sys enable_ndis_sys
18866 wine_fn_config_dll netapi32 enable_netapi32
18867 wine_fn_config_test dlls/netapi32/tests
18868 wine_fn_config_dll netcfgx enable_netcfgx
18869 wine_fn_config_test dlls/netcfgx/tests
18870 wine_fn_config_dll netprofm enable_netprofm
18871 wine_fn_config_test dlls/netprofm/tests
18872 wine_fn_config_dll newdev enable_newdev
18873 wine_fn_config_dll normaliz enable_normaliz
18874 wine_fn_config_dll npmshtml enable_npmshtml
18875 wine_fn_config_dll npptools enable_npptools
18876 wine_fn_config_dll ntdll enable_ntdll
18877 wine_fn_config_test dlls/ntdll/tests
18878 wine_fn_config_dll ntdsapi enable_ntdsapi
18879 wine_fn_config_test dlls/ntdsapi/tests
18880 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe
18881 wine_fn_config_dll ntprint enable_ntprint
18882 wine_fn_config_test dlls/ntprint/tests
18883 wine_fn_config_dll objsel enable_objsel
18884 wine_fn_config_dll odbc32 enable_odbc32
18885 wine_fn_config_dll odbccp32 enable_odbccp32
18886 wine_fn_config_test dlls/odbccp32/tests
18887 wine_fn_config_dll odbccu32 enable_odbccu32
18888 wine_fn_config_dll ole2.dll16 enable_win16
18889 wine_fn_config_dll ole2conv.dll16 enable_win16
18890 wine_fn_config_dll ole2disp.dll16 enable_win16
18891 wine_fn_config_dll ole2nls.dll16 enable_win16
18892 wine_fn_config_dll ole2prox.dll16 enable_win16
18893 wine_fn_config_dll ole2thk.dll16 enable_win16
18894 wine_fn_config_dll ole32 enable_ole32
18895 wine_fn_config_test dlls/ole32/tests
18896 wine_fn_config_dll oleacc enable_oleacc
18897 wine_fn_config_test dlls/oleacc/tests
18898 wine_fn_config_dll oleaut32 enable_oleaut32
18899 wine_fn_config_test dlls/oleaut32/tests
18900 wine_fn_config_dll olecli.dll16 enable_win16
18901 wine_fn_config_dll olecli32 enable_olecli32
18902 wine_fn_config_dll oledb32 enable_oledb32
18903 wine_fn_config_test dlls/oledb32/tests
18904 wine_fn_config_dll oledlg enable_oledlg
18905 wine_fn_config_test dlls/oledlg/tests
18906 wine_fn_config_dll olepro32 enable_olepro32
18907 wine_fn_config_dll olesvr.dll16 enable_win16
18908 wine_fn_config_dll olesvr32 enable_olesvr32
18909 wine_fn_config_dll olethk32 enable_olethk32
18910 wine_fn_config_dll openal32 enable_openal32
18911 wine_fn_config_dll opencl enable_opencl
18912 wine_fn_config_dll opengl32 enable_opengl32
18913 wine_fn_config_test dlls/opengl32/tests
18914 wine_fn_config_dll packager enable_packager
18915 wine_fn_config_test dlls/packager/tests
18916 wine_fn_config_dll pdh enable_pdh
18917 wine_fn_config_test dlls/pdh/tests
18918 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18919 wine_fn_config_dll pidgen enable_pidgen
18920 wine_fn_config_dll powrprof enable_powrprof
18921 wine_fn_config_dll printui enable_printui
18922 wine_fn_config_dll prntvpt enable_prntvpt
18923 wine_fn_config_dll propsys enable_propsys
18924 wine_fn_config_test dlls/propsys/tests
18925 wine_fn_config_dll psapi enable_psapi
18926 wine_fn_config_test dlls/psapi/tests
18927 wine_fn_config_dll pstorec enable_pstorec
18928 wine_fn_config_test dlls/pstorec/tests
18929 wine_fn_config_dll qcap enable_qcap
18930 wine_fn_config_test dlls/qcap/tests
18931 wine_fn_config_dll qedit enable_qedit
18932 wine_fn_config_test dlls/qedit/tests
18933 wine_fn_config_dll qmgr enable_qmgr
18934 wine_fn_config_test dlls/qmgr/tests
18935 wine_fn_config_dll qmgrprxy enable_qmgrprxy
18936 wine_fn_config_dll quartz enable_quartz
18937 wine_fn_config_test dlls/quartz/tests
18938 wine_fn_config_dll query enable_query
18939 wine_fn_config_dll rasapi16.dll16 enable_win16
18940 wine_fn_config_dll rasapi32 enable_rasapi32
18941 wine_fn_config_test dlls/rasapi32/tests
18942 wine_fn_config_dll rasdlg enable_rasdlg
18943 wine_fn_config_dll regapi enable_regapi
18944 wine_fn_config_dll resutils enable_resutils
18945 wine_fn_config_dll riched20 enable_riched20
18946 wine_fn_config_test dlls/riched20/tests
18947 wine_fn_config_dll riched32 enable_riched32
18948 wine_fn_config_test dlls/riched32/tests
18949 wine_fn_config_dll rpcrt4 enable_rpcrt4
18950 wine_fn_config_test dlls/rpcrt4/tests
18951 wine_fn_config_dll rsabase enable_rsabase
18952 wine_fn_config_dll rsaenh enable_rsaenh
18953 wine_fn_config_test dlls/rsaenh/tests
18954 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18955 wine_fn_config_dll rtutils enable_rtutils
18956 wine_fn_config_dll samlib enable_samlib
18957 wine_fn_config_dll sane.ds enable_sane_ds
18958 wine_fn_config_dll sapi enable_sapi
18959 wine_fn_config_test dlls/sapi/tests
18960 wine_fn_config_dll scarddlg enable_scarddlg
18961 wine_fn_config_dll sccbase enable_sccbase
18962 wine_fn_config_dll schannel enable_schannel
18963 wine_fn_config_test dlls/schannel/tests
18964 wine_fn_config_dll schedsvc enable_schedsvc
18965 wine_fn_config_test dlls/schedsvc/tests
18966 wine_fn_config_dll scrobj enable_scrobj
18967 wine_fn_config_dll scrrun enable_scrrun
18968 wine_fn_config_test dlls/scrrun/tests
18969 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18970 wine_fn_config_dll secur32 enable_secur32
18971 wine_fn_config_test dlls/secur32/tests
18972 wine_fn_config_dll security enable_security
18973 wine_fn_config_dll sensapi enable_sensapi
18974 wine_fn_config_dll serialui enable_serialui
18975 wine_fn_config_test dlls/serialui/tests
18976 wine_fn_config_dll setupapi enable_setupapi
18977 wine_fn_config_test dlls/setupapi/tests
18978 wine_fn_config_dll setupx.dll16 enable_win16
18979 wine_fn_config_dll sfc enable_sfc
18980 wine_fn_config_dll sfc_os enable_sfc_os
18981 wine_fn_config_dll shcore enable_shcore
18982 wine_fn_config_dll shdoclc enable_shdoclc
18983 wine_fn_config_dll shdocvw enable_shdocvw
18984 wine_fn_config_test dlls/shdocvw/tests
18985 wine_fn_config_dll shell.dll16 enable_win16
18986 wine_fn_config_dll shell32 enable_shell32
18987 wine_fn_config_test dlls/shell32/tests
18988 wine_fn_config_dll shfolder enable_shfolder
18989 wine_fn_config_dll shlwapi enable_shlwapi
18990 wine_fn_config_test dlls/shlwapi/tests
18991 wine_fn_config_dll slbcsp enable_slbcsp
18992 wine_fn_config_dll slc enable_slc
18993 wine_fn_config_test dlls/slc/tests
18994 wine_fn_config_dll snmpapi enable_snmpapi
18995 wine_fn_config_test dlls/snmpapi/tests
18996 wine_fn_config_dll softpub enable_softpub
18997 wine_fn_config_dll sound.drv16 enable_win16
18998 wine_fn_config_dll spoolss enable_spoolss
18999 wine_fn_config_test dlls/spoolss/tests
19000 wine_fn_config_dll sspicli enable_sspicli
19001 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
19002 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
19003 wine_fn_config_dll sti enable_sti
19004 wine_fn_config_test dlls/sti/tests
19005 wine_fn_config_dll storage.dll16 enable_win16
19006 wine_fn_config_dll stress.dll16 enable_win16
19007 wine_fn_config_lib strmbase
19008 wine_fn_config_lib strmiids
19009 wine_fn_config_dll svrapi enable_svrapi
19010 wine_fn_config_dll sxs enable_sxs
19011 wine_fn_config_test dlls/sxs/tests
19012 wine_fn_config_dll system.drv16 enable_win16
19013 wine_fn_config_dll t2embed enable_t2embed
19014 wine_fn_config_test dlls/t2embed/tests
19015 wine_fn_config_dll tapi32 enable_tapi32
19016 wine_fn_config_dll taskschd enable_taskschd
19017 wine_fn_config_test dlls/taskschd/tests
19018 wine_fn_config_dll tdh enable_tdh
19019 wine_fn_config_dll tdi.sys enable_tdi_sys
19020 wine_fn_config_dll toolhelp.dll16 enable_win16
19021 wine_fn_config_dll traffic enable_traffic
19022 wine_fn_config_dll twain.dll16 enable_win16
19023 wine_fn_config_dll twain_32 enable_twain_32
19024 wine_fn_config_test dlls/twain_32/tests
19025 wine_fn_config_dll typelib.dll16 enable_win16
19026 wine_fn_config_dll ucrtbase enable_ucrtbase
19027 wine_fn_config_test dlls/ucrtbase/tests
19028 wine_fn_config_dll uiautomationcore enable_uiautomationcore
19029 wine_fn_config_dll uiribbon enable_uiribbon
19030 wine_fn_config_dll unicows enable_unicows
19031 wine_fn_config_dll updspapi enable_updspapi
19032 wine_fn_config_dll url enable_url
19033 wine_fn_config_dll urlmon enable_urlmon
19034 wine_fn_config_test dlls/urlmon/tests
19035 wine_fn_config_dll usbd.sys enable_usbd_sys
19036 wine_fn_config_dll user.exe16 enable_win16
19037 wine_fn_config_dll user32 enable_user32
19038 wine_fn_config_test dlls/user32/tests
19039 wine_fn_config_dll userenv enable_userenv
19040 wine_fn_config_test dlls/userenv/tests
19041 wine_fn_config_dll usp10 enable_usp10
19042 wine_fn_config_test dlls/usp10/tests
19043 wine_fn_config_lib uuid
19044 wine_fn_config_dll uxtheme enable_uxtheme
19045 wine_fn_config_test dlls/uxtheme/tests
19046 wine_fn_config_dll vbscript enable_vbscript
19047 wine_fn_config_test dlls/vbscript/tests
19048 wine_fn_config_dll vcomp enable_vcomp
19049 wine_fn_config_test dlls/vcomp/tests
19050 wine_fn_config_dll vcomp100 enable_vcomp100
19051 wine_fn_config_dll vcomp110 enable_vcomp110
19052 wine_fn_config_dll vcomp120 enable_vcomp120
19053 wine_fn_config_dll vcomp140 enable_vcomp140
19054 wine_fn_config_dll vcomp90 enable_vcomp90
19055 wine_fn_config_dll vcruntime140 enable_vcruntime140
19056 wine_fn_config_dll vdhcp.vxd enable_win16
19057 wine_fn_config_dll vdmdbg enable_vdmdbg
19058 wine_fn_config_dll ver.dll16 enable_win16
19059 wine_fn_config_dll version enable_version
19060 wine_fn_config_test dlls/version/tests
19061 wine_fn_config_dll virtdisk enable_virtdisk
19062 wine_fn_config_dll vmm.vxd enable_win16
19063 wine_fn_config_dll vnbt.vxd enable_win16
19064 wine_fn_config_dll vnetbios.vxd enable_win16
19065 wine_fn_config_dll vssapi enable_vssapi
19066 wine_fn_config_dll vtdapi.vxd enable_win16
19067 wine_fn_config_dll vwin32.vxd enable_win16
19068 wine_fn_config_dll w32skrnl enable_win16
19069 wine_fn_config_dll w32sys.dll16 enable_win16
19070 wine_fn_config_dll wbemdisp enable_wbemdisp
19071 wine_fn_config_test dlls/wbemdisp/tests
19072 wine_fn_config_dll wbemprox enable_wbemprox
19073 wine_fn_config_test dlls/wbemprox/tests
19074 wine_fn_config_dll wdscore enable_wdscore
19075 wine_fn_config_dll webservices enable_webservices
19076 wine_fn_config_test dlls/webservices/tests
19077 wine_fn_config_dll wer enable_wer
19078 wine_fn_config_test dlls/wer/tests
19079 wine_fn_config_dll wevtapi enable_wevtapi
19080 wine_fn_config_dll wiaservc enable_wiaservc
19081 wine_fn_config_test dlls/wiaservc/tests
19082 wine_fn_config_dll wimgapi enable_wimgapi
19083 wine_fn_config_dll win32s16.dll16 enable_win16
19084 wine_fn_config_dll win87em.dll16 enable_win16
19085 wine_fn_config_dll winaspi.dll16 enable_win16
19086 wine_fn_config_dll windebug.dll16 enable_win16
19087 wine_fn_config_dll windowscodecs enable_windowscodecs
19088 wine_fn_config_test dlls/windowscodecs/tests
19089 wine_fn_config_dll windowscodecsext enable_windowscodecsext
19090 wine_fn_config_test dlls/windowscodecsext/tests
19091 wine_fn_config_dll winealsa.drv enable_winealsa_drv
19092 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv
19093 wine_fn_config_dll winebus.sys enable_winebus_sys
19094 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
19095 wine_fn_config_lib winecrt0
19096 wine_fn_config_dll wined3d enable_wined3d
19097 wine_fn_config_dll winegstreamer enable_winegstreamer
19098 wine_fn_config_dll winehid.sys enable_winehid_sys
19099 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
19100 wine_fn_config_dll winemac.drv enable_winemac_drv
19101 wine_fn_config_dll winemapi enable_winemapi
19102 wine_fn_config_dll wineoss.drv enable_wineoss_drv
19103 wine_fn_config_dll wineps.drv enable_wineps_drv
19104 wine_fn_config_dll wineps16.drv16 enable_win16
19105 wine_fn_config_dll winepulse.drv enable_winepulse_drv
19106 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
19107 wine_fn_config_dll winevulkan enable_winevulkan
19108 wine_fn_config_dll winex11.drv enable_winex11_drv
19109 wine_fn_config_dll wing.dll16 enable_win16
19110 wine_fn_config_dll wing32 enable_wing32
19111 wine_fn_config_dll winhttp enable_winhttp
19112 wine_fn_config_test dlls/winhttp/tests
19113 wine_fn_config_dll wininet enable_wininet
19114 wine_fn_config_test dlls/wininet/tests
19115 wine_fn_config_dll winmm enable_winmm
19116 wine_fn_config_test dlls/winmm/tests
19117 wine_fn_config_dll winnls.dll16 enable_win16
19118 wine_fn_config_dll winnls32 enable_winnls32
19119 wine_fn_config_dll winscard enable_winscard
19120 wine_fn_config_dll winsock.dll16 enable_win16
19121 wine_fn_config_dll winspool.drv enable_winspool_drv
19122 wine_fn_config_test dlls/winspool.drv/tests
19123 wine_fn_config_dll winsta enable_winsta
19124 wine_fn_config_dll wintab.dll16 enable_win16
19125 wine_fn_config_dll wintab32 enable_wintab32
19126 wine_fn_config_test dlls/wintab32/tests
19127 wine_fn_config_dll wintrust enable_wintrust
19128 wine_fn_config_test dlls/wintrust/tests
19129 wine_fn_config_dll winusb enable_winusb
19130 wine_fn_config_dll wlanapi enable_wlanapi
19131 wine_fn_config_test dlls/wlanapi/tests
19132 wine_fn_config_dll wldap32 enable_wldap32
19133 wine_fn_config_test dlls/wldap32/tests
19134 wine_fn_config_dll wmasf enable_wmasf
19135 wine_fn_config_dll wmi enable_wmi
19136 wine_fn_config_dll wmiutils enable_wmiutils
19137 wine_fn_config_test dlls/wmiutils/tests
19138 wine_fn_config_dll wmp enable_wmp
19139 wine_fn_config_test dlls/wmp/tests
19140 wine_fn_config_dll wmphoto enable_wmphoto
19141 wine_fn_config_dll wmvcore enable_wmvcore
19142 wine_fn_config_test dlls/wmvcore/tests
19143 wine_fn_config_dll wnaspi32 enable_wnaspi32
19144 wine_fn_config_dll wow32 enable_win16
19145 wine_fn_config_dll wpc enable_wpc
19146 wine_fn_config_test dlls/wpc/tests
19147 wine_fn_config_dll wpcap enable_wpcap
19148 wine_fn_config_dll ws2_32 enable_ws2_32
19149 wine_fn_config_test dlls/ws2_32/tests
19150 wine_fn_config_dll wsdapi enable_wsdapi
19151 wine_fn_config_test dlls/wsdapi/tests
19152 wine_fn_config_dll wshom.ocx enable_wshom_ocx
19153 wine_fn_config_test dlls/wshom.ocx/tests
19154 wine_fn_config_dll wsnmp32 enable_wsnmp32
19155 wine_fn_config_test dlls/wsnmp32/tests
19156 wine_fn_config_dll wsock32 enable_wsock32
19157 wine_fn_config_dll wtsapi32 enable_wtsapi32
19158 wine_fn_config_test dlls/wtsapi32/tests
19159 wine_fn_config_dll wuapi enable_wuapi
19160 wine_fn_config_dll wuaueng enable_wuaueng
19161 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19162 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19163 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19164 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19165 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19166 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19167 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19168 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19169 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19170 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19171 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19172 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19173 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19174 wine_fn_config_dll xaudio2_0 enable_xaudio2_0
19175 wine_fn_config_dll xaudio2_1 enable_xaudio2_1
19176 wine_fn_config_dll xaudio2_2 enable_xaudio2_2
19177 wine_fn_config_dll xaudio2_3 enable_xaudio2_3
19178 wine_fn_config_dll xaudio2_4 enable_xaudio2_4
19179 wine_fn_config_dll xaudio2_5 enable_xaudio2_5
19180 wine_fn_config_dll xaudio2_6 enable_xaudio2_6
19181 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
19182 wine_fn_config_test dlls/xaudio2_7/tests
19183 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
19184 wine_fn_config_dll xaudio2_9 enable_xaudio2_9
19185 wine_fn_config_dll xinput1_1 enable_xinput1_1
19186 wine_fn_config_dll xinput1_2 enable_xinput1_2
19187 wine_fn_config_dll xinput1_3 enable_xinput1_3
19188 wine_fn_config_test dlls/xinput1_3/tests
19189 wine_fn_config_dll xinput1_4 enable_xinput1_4
19190 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19191 wine_fn_config_dll xmllite enable_xmllite
19192 wine_fn_config_test dlls/xmllite/tests
19193 wine_fn_config_dll xolehlp enable_xolehlp
19194 wine_fn_config_dll xpsprint enable_xpsprint
19195 wine_fn_config_dll xpssvcs enable_xpssvcs
19196 wine_fn_config_makefile fonts enable_fonts
19197 wine_fn_config_makefile include enable_include
19198 wine_fn_config_makefile libs/port enable_libs_port
19199 wine_fn_config_makefile libs/wine enable_libs_wine
19200 wine_fn_config_makefile libs/wpp enable_libs_wpp
19201 wine_fn_config_makefile loader enable_loader
19202 wine_fn_config_makefile po enable_po
19203 wine_fn_config_program arp enable_arp
19204 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
19205 wine_fn_config_program attrib enable_attrib
19206 wine_fn_config_program cabarc enable_cabarc
19207 wine_fn_config_program cacls enable_cacls
19208 wine_fn_config_program clock enable_clock
19209 wine_fn_config_program cmd enable_cmd
19210 wine_fn_config_test programs/cmd/tests
19211 wine_fn_config_program conhost enable_conhost
19212 wine_fn_config_program control enable_control
19213 wine_fn_config_program cscript enable_cscript
19214 wine_fn_config_program dpnsvr enable_dpnsvr
19215 wine_fn_config_program dxdiag enable_dxdiag
19216 wine_fn_config_program eject enable_eject
19217 wine_fn_config_program expand enable_expand
19218 wine_fn_config_program explorer enable_explorer
19219 wine_fn_config_program extrac32 enable_extrac32
19220 wine_fn_config_program findstr enable_findstr
19221 wine_fn_config_program fsutil enable_fsutil
19222 wine_fn_config_program hh enable_hh
19223 wine_fn_config_program hostname enable_hostname
19224 wine_fn_config_program icacls enable_icacls
19225 wine_fn_config_program icinfo enable_icinfo
19226 wine_fn_config_program iexplore enable_iexplore
19227 wine_fn_config_program ipconfig enable_ipconfig
19228 wine_fn_config_program lodctr enable_lodctr
19229 wine_fn_config_program mofcomp enable_mofcomp
19230 wine_fn_config_program mshta enable_mshta
19231 wine_fn_config_program msiexec enable_msiexec
19232 wine_fn_config_program msinfo32 enable_msinfo32
19233 wine_fn_config_program net enable_net
19234 wine_fn_config_program netsh enable_netsh
19235 wine_fn_config_program netstat enable_netstat
19236 wine_fn_config_program ngen enable_ngen
19237 wine_fn_config_program notepad enable_notepad
19238 wine_fn_config_program oleview enable_oleview
19239 wine_fn_config_program ping enable_ping
19240 wine_fn_config_program plugplay enable_plugplay
19241 wine_fn_config_program powershell enable_powershell
19242 wine_fn_config_program presentationfontcache enable_presentationfontcache
19243 wine_fn_config_program progman enable_progman
19244 wine_fn_config_program reg enable_reg
19245 wine_fn_config_test programs/reg/tests
19246 wine_fn_config_program regasm enable_regasm
19247 wine_fn_config_program regedit enable_regedit
19248 wine_fn_config_test programs/regedit/tests
19249 wine_fn_config_program regsvcs enable_regsvcs
19250 wine_fn_config_program regsvr32 enable_regsvr32
19251 wine_fn_config_program rpcss enable_rpcss
19252 wine_fn_config_program rundll.exe16 enable_win16
19253 wine_fn_config_program rundll32 enable_rundll32
19254 wine_fn_config_program sc enable_sc
19255 wine_fn_config_program schtasks enable_schtasks
19256 wine_fn_config_test programs/schtasks/tests
19257 wine_fn_config_program sdbinst enable_sdbinst
19258 wine_fn_config_program secedit enable_secedit
19259 wine_fn_config_program servicemodelreg enable_servicemodelreg
19260 wine_fn_config_program services enable_services
19261 wine_fn_config_test programs/services/tests
19262 wine_fn_config_program shutdown enable_shutdown
19263 wine_fn_config_program spoolsv enable_spoolsv
19264 wine_fn_config_program start enable_start
19265 wine_fn_config_program subst enable_subst
19266 wine_fn_config_program svchost enable_svchost
19267 wine_fn_config_program systeminfo enable_systeminfo
19268 wine_fn_config_program taskkill enable_taskkill
19269 wine_fn_config_program tasklist enable_tasklist
19270 wine_fn_config_program taskmgr enable_taskmgr
19271 wine_fn_config_program termsv enable_termsv
19272 wine_fn_config_program uninstaller enable_uninstaller
19273 wine_fn_config_program unlodctr enable_unlodctr
19274 wine_fn_config_program view enable_view
19275 wine_fn_config_program wevtutil enable_wevtutil
19276 wine_fn_config_program wineboot enable_wineboot
19277 wine_fn_config_program winebrowser enable_winebrowser
19278 wine_fn_config_program winecfg enable_winecfg
19279 wine_fn_config_program wineconsole enable_wineconsole
19280 wine_fn_config_program winedbg enable_winedbg
19281 wine_fn_config_program winedevice enable_winedevice
19282 wine_fn_config_program winefile enable_winefile
19283 wine_fn_config_program winemenubuilder enable_winemenubuilder
19284 wine_fn_config_program winemine enable_winemine
19285 wine_fn_config_program winemsibuilder enable_winemsibuilder
19286 wine_fn_config_program winepath enable_winepath
19287 wine_fn_config_program winetest enable_winetest
19288 wine_fn_config_program winevdm enable_win16
19289 wine_fn_config_program winhelp.exe16 enable_win16
19290 wine_fn_config_program winhlp32 enable_winhlp32
19291 wine_fn_config_program winoldap.mod16 enable_win16
19292 wine_fn_config_program winver enable_winver
19293 wine_fn_config_program wmic enable_wmic
19294 wine_fn_config_program wmplayer enable_wmplayer
19295 wine_fn_config_program wordpad enable_wordpad
19296 wine_fn_config_program write enable_write
19297 wine_fn_config_program wscript enable_wscript
19298 wine_fn_config_test programs/wscript/tests
19299 wine_fn_config_program wusa enable_wusa
19300 wine_fn_config_program xcopy enable_xcopy
19301 wine_fn_config_test programs/xcopy/tests
19302 wine_fn_config_makefile server enable_server
19303 wine_fn_config_tool tools
19304 wine_fn_config_tool tools/sfnt2fon
19305 wine_fn_config_tool tools/widl
19306 wine_fn_config_tool tools/winebuild
19307 wine_fn_config_tool tools/winedump
19308 wine_fn_config_tool tools/winegcc
19309 wine_fn_config_tool tools/winemaker
19310 wine_fn_config_tool tools/wmc
19311 wine_fn_config_tool tools/wrc
19314 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19315 wine_fn_append_file CONFIGURE_TARGETS "tags"
19316 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19317 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19318 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19319 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19320 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19321 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19323 if test "x$enable_tools" != xno
19324 then
19325 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19326 ac_config_commands="$ac_config_commands tools/makedep"
19330 ac_config_commands="$ac_config_commands Makefile"
19333 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19337 if test "x$enable_maintainer_mode" = xyes
19338 then
19339 wine_fn_append_rule "configure: configure.ac aclocal.m4
19340 autoconf --warnings=all
19341 include/config.h.in: include/stamp-h.in
19342 include/stamp-h.in: configure.ac aclocal.m4
19343 autoheader --warnings=all
19344 @echo timestamp > \$@"
19347 if test "x$enable_tools" != xno
19348 then
19349 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19350 @./config.status tools/makedep
19351 Makefile: tools/makedep$ac_exeext"
19352 else
19353 wine_fn_append_rule "\$(MAKEDEP):
19354 @echo \"You need to run make in $TOOLSDIR first\" && false"
19357 if test -n "$with_wine64"
19358 then
19359 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19360 fonts server:
19361 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19362 $with_wine64/loader/wine:
19363 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19364 $with_wine64/loader/wine-preloader:
19365 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19366 clean::
19367 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19368 else
19369 WINELOADER_INSTALL="wine.inf l_intl.nls"
19371 case $host_os in
19372 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19373 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19374 esac
19377 $as_echo " done" >&6
19378 cat >confcache <<\_ACEOF
19379 # This file is a shell script that caches the results of configure
19380 # tests run on this system so they can be shared between configure
19381 # scripts and configure runs, see configure's option --config-cache.
19382 # It is not useful on other systems. If it contains results you don't
19383 # want to keep, you may remove or edit it.
19385 # config.status only pays attention to the cache file if you give it
19386 # the --recheck option to rerun configure.
19388 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19389 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19390 # following values.
19392 _ACEOF
19394 # The following way of writing the cache mishandles newlines in values,
19395 # but we know of no workaround that is simple, portable, and efficient.
19396 # So, we kill variables containing newlines.
19397 # Ultrix sh set writes to stderr and can't be redirected directly,
19398 # and sets the high bit in the cache file unless we assign to the vars.
19400 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19401 eval ac_val=\$$ac_var
19402 case $ac_val in #(
19403 *${as_nl}*)
19404 case $ac_var in #(
19405 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19406 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19407 esac
19408 case $ac_var in #(
19409 _ | IFS | as_nl) ;; #(
19410 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19411 *) { eval $ac_var=; unset $ac_var;} ;;
19412 esac ;;
19413 esac
19414 done
19416 (set) 2>&1 |
19417 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19418 *${as_nl}ac_space=\ *)
19419 # `set' does not quote correctly, so add quotes: double-quote
19420 # substitution turns \\\\ into \\, and sed turns \\ into \.
19421 sed -n \
19422 "s/'/'\\\\''/g;
19423 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19424 ;; #(
19426 # `set' quotes correctly as required by POSIX, so do not add quotes.
19427 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19429 esac |
19430 sort
19432 sed '
19433 /^ac_cv_env_/b end
19434 t clear
19435 :clear
19436 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19437 t end
19438 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19439 :end' >>confcache
19440 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19441 if test -w "$cache_file"; then
19442 if test "x$cache_file" != "x/dev/null"; then
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19444 $as_echo "$as_me: updating cache $cache_file" >&6;}
19445 if test ! -f "$cache_file" || test -h "$cache_file"; then
19446 cat confcache >"$cache_file"
19447 else
19448 case $cache_file in #(
19449 */* | ?:*)
19450 mv -f confcache "$cache_file"$$ &&
19451 mv -f "$cache_file"$$ "$cache_file" ;; #(
19453 mv -f confcache "$cache_file" ;;
19454 esac
19457 else
19458 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19459 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19462 rm -f confcache
19464 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19465 # Let make expand exec_prefix.
19466 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19468 DEFS=-DHAVE_CONFIG_H
19470 ac_libobjs=
19471 ac_ltlibobjs=
19473 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19474 # 1. Remove the extension, and $U if already installed.
19475 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19476 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19477 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19478 # will be set to the directory where LIBOBJS objects are built.
19479 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19480 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19481 done
19482 LIBOBJS=$ac_libobjs
19484 LTLIBOBJS=$ac_ltlibobjs
19488 : "${CONFIG_STATUS=./config.status}"
19489 ac_write_fail=0
19490 ac_clean_files_save=$ac_clean_files
19491 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19493 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19494 as_write_fail=0
19495 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19496 #! $SHELL
19497 # Generated by $as_me.
19498 # Run this file to recreate the current configuration.
19499 # Compiler output produced by configure, useful for debugging
19500 # configure, is in config.log if it exists.
19502 debug=false
19503 ac_cs_recheck=false
19504 ac_cs_silent=false
19506 SHELL=\${CONFIG_SHELL-$SHELL}
19507 export SHELL
19508 _ASEOF
19509 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19510 ## -------------------- ##
19511 ## M4sh Initialization. ##
19512 ## -------------------- ##
19514 # Be more Bourne compatible
19515 DUALCASE=1; export DUALCASE # for MKS sh
19516 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19517 emulate sh
19518 NULLCMD=:
19519 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19520 # is contrary to our usage. Disable this feature.
19521 alias -g '${1+"$@"}'='"$@"'
19522 setopt NO_GLOB_SUBST
19523 else
19524 case `(set -o) 2>/dev/null` in #(
19525 *posix*) :
19526 set -o posix ;; #(
19527 *) :
19529 esac
19533 as_nl='
19535 export as_nl
19536 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19537 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19538 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19539 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19540 # Prefer a ksh shell builtin over an external printf program on Solaris,
19541 # but without wasting forks for bash or zsh.
19542 if test -z "$BASH_VERSION$ZSH_VERSION" \
19543 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19544 as_echo='print -r --'
19545 as_echo_n='print -rn --'
19546 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19547 as_echo='printf %s\n'
19548 as_echo_n='printf %s'
19549 else
19550 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19551 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19552 as_echo_n='/usr/ucb/echo -n'
19553 else
19554 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19555 as_echo_n_body='eval
19556 arg=$1;
19557 case $arg in #(
19558 *"$as_nl"*)
19559 expr "X$arg" : "X\\(.*\\)$as_nl";
19560 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19561 esac;
19562 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19564 export as_echo_n_body
19565 as_echo_n='sh -c $as_echo_n_body as_echo'
19567 export as_echo_body
19568 as_echo='sh -c $as_echo_body as_echo'
19571 # The user is always right.
19572 if test "${PATH_SEPARATOR+set}" != set; then
19573 PATH_SEPARATOR=:
19574 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19575 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19576 PATH_SEPARATOR=';'
19581 # IFS
19582 # We need space, tab and new line, in precisely that order. Quoting is
19583 # there to prevent editors from complaining about space-tab.
19584 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19585 # splitting by setting IFS to empty value.)
19586 IFS=" "" $as_nl"
19588 # Find who we are. Look in the path if we contain no directory separator.
19589 as_myself=
19590 case $0 in #((
19591 *[\\/]* ) as_myself=$0 ;;
19592 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19593 for as_dir in $PATH
19595 IFS=$as_save_IFS
19596 test -z "$as_dir" && as_dir=.
19597 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19598 done
19599 IFS=$as_save_IFS
19602 esac
19603 # We did not find ourselves, most probably we were run as `sh COMMAND'
19604 # in which case we are not to be found in the path.
19605 if test "x$as_myself" = x; then
19606 as_myself=$0
19608 if test ! -f "$as_myself"; then
19609 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19610 exit 1
19613 # Unset variables that we do not need and which cause bugs (e.g. in
19614 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19615 # suppresses any "Segmentation fault" message there. '((' could
19616 # trigger a bug in pdksh 5.2.14.
19617 for as_var in BASH_ENV ENV MAIL MAILPATH
19618 do eval test x\${$as_var+set} = xset \
19619 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19620 done
19621 PS1='$ '
19622 PS2='> '
19623 PS4='+ '
19625 # NLS nuisances.
19626 LC_ALL=C
19627 export LC_ALL
19628 LANGUAGE=C
19629 export LANGUAGE
19631 # CDPATH.
19632 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19635 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19636 # ----------------------------------------
19637 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19638 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19639 # script with STATUS, using 1 if that was 0.
19640 as_fn_error ()
19642 as_status=$1; test $as_status -eq 0 && as_status=1
19643 if test "$4"; then
19644 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19645 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19647 $as_echo "$as_me: error: $2" >&2
19648 as_fn_exit $as_status
19649 } # as_fn_error
19652 # as_fn_set_status STATUS
19653 # -----------------------
19654 # Set $? to STATUS, without forking.
19655 as_fn_set_status ()
19657 return $1
19658 } # as_fn_set_status
19660 # as_fn_exit STATUS
19661 # -----------------
19662 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19663 as_fn_exit ()
19665 set +e
19666 as_fn_set_status $1
19667 exit $1
19668 } # as_fn_exit
19670 # as_fn_unset VAR
19671 # ---------------
19672 # Portably unset VAR.
19673 as_fn_unset ()
19675 { eval $1=; unset $1;}
19677 as_unset=as_fn_unset
19678 # as_fn_append VAR VALUE
19679 # ----------------------
19680 # Append the text in VALUE to the end of the definition contained in VAR. Take
19681 # advantage of any shell optimizations that allow amortized linear growth over
19682 # repeated appends, instead of the typical quadratic growth present in naive
19683 # implementations.
19684 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19685 eval 'as_fn_append ()
19687 eval $1+=\$2
19689 else
19690 as_fn_append ()
19692 eval $1=\$$1\$2
19694 fi # as_fn_append
19696 # as_fn_arith ARG...
19697 # ------------------
19698 # Perform arithmetic evaluation on the ARGs, and store the result in the
19699 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19700 # must be portable across $(()) and expr.
19701 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19702 eval 'as_fn_arith ()
19704 as_val=$(( $* ))
19706 else
19707 as_fn_arith ()
19709 as_val=`expr "$@" || test $? -eq 1`
19711 fi # as_fn_arith
19714 if expr a : '\(a\)' >/dev/null 2>&1 &&
19715 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19716 as_expr=expr
19717 else
19718 as_expr=false
19721 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19722 as_basename=basename
19723 else
19724 as_basename=false
19727 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19728 as_dirname=dirname
19729 else
19730 as_dirname=false
19733 as_me=`$as_basename -- "$0" ||
19734 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19735 X"$0" : 'X\(//\)$' \| \
19736 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19737 $as_echo X/"$0" |
19738 sed '/^.*\/\([^/][^/]*\)\/*$/{
19739 s//\1/
19742 /^X\/\(\/\/\)$/{
19743 s//\1/
19746 /^X\/\(\/\).*/{
19747 s//\1/
19750 s/.*/./; q'`
19752 # Avoid depending upon Character Ranges.
19753 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19754 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19755 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19756 as_cr_digits='0123456789'
19757 as_cr_alnum=$as_cr_Letters$as_cr_digits
19759 ECHO_C= ECHO_N= ECHO_T=
19760 case `echo -n x` in #(((((
19761 -n*)
19762 case `echo 'xy\c'` in
19763 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19764 xy) ECHO_C='\c';;
19765 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19766 ECHO_T=' ';;
19767 esac;;
19769 ECHO_N='-n';;
19770 esac
19772 rm -f conf$$ conf$$.exe conf$$.file
19773 if test -d conf$$.dir; then
19774 rm -f conf$$.dir/conf$$.file
19775 else
19776 rm -f conf$$.dir
19777 mkdir conf$$.dir 2>/dev/null
19779 if (echo >conf$$.file) 2>/dev/null; then
19780 if ln -s conf$$.file conf$$ 2>/dev/null; then
19781 as_ln_s='ln -s'
19782 # ... but there are two gotchas:
19783 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19784 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19785 # In both cases, we have to default to `cp -pR'.
19786 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19787 as_ln_s='cp -pR'
19788 elif ln conf$$.file conf$$ 2>/dev/null; then
19789 as_ln_s=ln
19790 else
19791 as_ln_s='cp -pR'
19793 else
19794 as_ln_s='cp -pR'
19796 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19797 rmdir conf$$.dir 2>/dev/null
19800 # as_fn_mkdir_p
19801 # -------------
19802 # Create "$as_dir" as a directory, including parents if necessary.
19803 as_fn_mkdir_p ()
19806 case $as_dir in #(
19807 -*) as_dir=./$as_dir;;
19808 esac
19809 test -d "$as_dir" || eval $as_mkdir_p || {
19810 as_dirs=
19811 while :; do
19812 case $as_dir in #(
19813 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19814 *) as_qdir=$as_dir;;
19815 esac
19816 as_dirs="'$as_qdir' $as_dirs"
19817 as_dir=`$as_dirname -- "$as_dir" ||
19818 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19819 X"$as_dir" : 'X\(//\)[^/]' \| \
19820 X"$as_dir" : 'X\(//\)$' \| \
19821 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19822 $as_echo X"$as_dir" |
19823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19824 s//\1/
19827 /^X\(\/\/\)[^/].*/{
19828 s//\1/
19831 /^X\(\/\/\)$/{
19832 s//\1/
19835 /^X\(\/\).*/{
19836 s//\1/
19839 s/.*/./; q'`
19840 test -d "$as_dir" && break
19841 done
19842 test -z "$as_dirs" || eval "mkdir $as_dirs"
19843 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19846 } # as_fn_mkdir_p
19847 if mkdir -p . 2>/dev/null; then
19848 as_mkdir_p='mkdir -p "$as_dir"'
19849 else
19850 test -d ./-p && rmdir ./-p
19851 as_mkdir_p=false
19855 # as_fn_executable_p FILE
19856 # -----------------------
19857 # Test if FILE is an executable regular file.
19858 as_fn_executable_p ()
19860 test -f "$1" && test -x "$1"
19861 } # as_fn_executable_p
19862 as_test_x='test -x'
19863 as_executable_p=as_fn_executable_p
19865 # Sed expression to map a string onto a valid CPP name.
19866 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19868 # Sed expression to map a string onto a valid variable name.
19869 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19872 exec 6>&1
19873 ## ----------------------------------- ##
19874 ## Main body of $CONFIG_STATUS script. ##
19875 ## ----------------------------------- ##
19876 _ASEOF
19877 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19880 # Save the log message, to keep $0 and so on meaningful, and to
19881 # report actual input values of CONFIG_FILES etc. instead of their
19882 # values after options handling.
19883 ac_log="
19884 This file was extended by Wine $as_me 3.3, which was
19885 generated by GNU Autoconf 2.69. Invocation command line was
19887 CONFIG_FILES = $CONFIG_FILES
19888 CONFIG_HEADERS = $CONFIG_HEADERS
19889 CONFIG_LINKS = $CONFIG_LINKS
19890 CONFIG_COMMANDS = $CONFIG_COMMANDS
19891 $ $0 $@
19893 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19896 _ACEOF
19898 case $ac_config_files in *"
19899 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19900 esac
19902 case $ac_config_headers in *"
19903 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19904 esac
19907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19908 # Files that config.status was made for.
19909 config_files="$ac_config_files"
19910 config_headers="$ac_config_headers"
19911 config_links="$ac_config_links"
19912 config_commands="$ac_config_commands"
19914 _ACEOF
19916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19917 ac_cs_usage="\
19918 \`$as_me' instantiates files and other configuration actions
19919 from templates according to the current configuration. Unless the files
19920 and actions are specified as TAGs, all are instantiated by default.
19922 Usage: $0 [OPTION]... [TAG]...
19924 -h, --help print this help, then exit
19925 -V, --version print version number and configuration settings, then exit
19926 --config print configuration, then exit
19927 -q, --quiet, --silent
19928 do not print progress messages
19929 -d, --debug don't remove temporary files
19930 --recheck update $as_me by reconfiguring in the same conditions
19931 --file=FILE[:TEMPLATE]
19932 instantiate the configuration file FILE
19933 --header=FILE[:TEMPLATE]
19934 instantiate the configuration header FILE
19936 Configuration files:
19937 $config_files
19939 Configuration headers:
19940 $config_headers
19942 Configuration links:
19943 $config_links
19945 Configuration commands:
19946 $config_commands
19948 Report bugs to <wine-devel@winehq.org>.
19949 Wine home page: <https://www.winehq.org>."
19951 _ACEOF
19952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19953 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19954 ac_cs_version="\\
19955 Wine config.status 3.3
19956 configured by $0, generated by GNU Autoconf 2.69,
19957 with options \\"\$ac_cs_config\\"
19959 Copyright (C) 2012 Free Software Foundation, Inc.
19960 This config.status script is free software; the Free Software Foundation
19961 gives unlimited permission to copy, distribute and modify it."
19963 ac_pwd='$ac_pwd'
19964 srcdir='$srcdir'
19965 test -n "\$AWK" || AWK=awk
19966 _ACEOF
19968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19969 # The default lists apply if the user does not specify any file.
19970 ac_need_defaults=:
19971 while test $# != 0
19973 case $1 in
19974 --*=?*)
19975 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19976 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19977 ac_shift=:
19979 --*=)
19980 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19981 ac_optarg=
19982 ac_shift=:
19985 ac_option=$1
19986 ac_optarg=$2
19987 ac_shift=shift
19989 esac
19991 case $ac_option in
19992 # Handling of the options.
19993 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19994 ac_cs_recheck=: ;;
19995 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19996 $as_echo "$ac_cs_version"; exit ;;
19997 --config | --confi | --conf | --con | --co | --c )
19998 $as_echo "$ac_cs_config"; exit ;;
19999 --debug | --debu | --deb | --de | --d | -d )
20000 debug=: ;;
20001 --file | --fil | --fi | --f )
20002 $ac_shift
20003 case $ac_optarg in
20004 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20005 '') as_fn_error $? "missing file argument" ;;
20006 esac
20007 as_fn_append CONFIG_FILES " '$ac_optarg'"
20008 ac_need_defaults=false;;
20009 --header | --heade | --head | --hea )
20010 $ac_shift
20011 case $ac_optarg in
20012 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20013 esac
20014 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20015 ac_need_defaults=false;;
20016 --he | --h)
20017 # Conflict between --help and --header
20018 as_fn_error $? "ambiguous option: \`$1'
20019 Try \`$0 --help' for more information.";;
20020 --help | --hel | -h )
20021 $as_echo "$ac_cs_usage"; exit ;;
20022 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20023 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20024 ac_cs_silent=: ;;
20026 # This is an error.
20027 -*) as_fn_error $? "unrecognized option: \`$1'
20028 Try \`$0 --help' for more information." ;;
20030 *) as_fn_append ac_config_targets " $1"
20031 ac_need_defaults=false ;;
20033 esac
20034 shift
20035 done
20037 ac_configure_extra_args=
20039 if $ac_cs_silent; then
20040 exec 6>/dev/null
20041 ac_configure_extra_args="$ac_configure_extra_args --silent"
20044 _ACEOF
20045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20046 if \$ac_cs_recheck; then
20047 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20048 shift
20049 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20050 CONFIG_SHELL='$SHELL'
20051 export CONFIG_SHELL
20052 exec "\$@"
20055 _ACEOF
20056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20057 exec 5>>config.log
20059 echo
20060 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20061 ## Running $as_me. ##
20062 _ASBOX
20063 $as_echo "$ac_log"
20064 } >&5
20066 _ACEOF
20067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20069 # INIT-COMMANDS
20071 wine_fn_output_makedep ()
20073 as_dir=tools; as_fn_mkdir_p
20074 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20076 wine_fn_output_makefile ()
20078 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20079 `cat $wine_rules_file`
20080 _WINE_EOF
20081 as_fn_error $? "could not create Makefile" "$LINENO" 5
20084 _ACEOF
20086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20088 # Handling of arguments.
20089 for ac_config_target in $ac_config_targets
20091 case $ac_config_target in
20092 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20093 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20094 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20095 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20096 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20097 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20098 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20099 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20100 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20101 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20102 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20103 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20104 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20106 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20107 esac
20108 done
20111 # If the user did not use the arguments to specify the items to instantiate,
20112 # then the envvar interface is used. Set only those that are not.
20113 # We use the long form for the default assignment because of an extremely
20114 # bizarre bug on SunOS 4.1.3.
20115 if $ac_need_defaults; then
20116 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20117 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20118 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20119 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20122 # Have a temporary directory for convenience. Make it in the build tree
20123 # simply because there is no reason against having it here, and in addition,
20124 # creating and moving files from /tmp can sometimes cause problems.
20125 # Hook for its removal unless debugging.
20126 # Note that there is a small window in which the directory will not be cleaned:
20127 # after its creation but before its name has been assigned to `$tmp'.
20128 $debug ||
20130 tmp= ac_tmp=
20131 trap 'exit_status=$?
20132 : "${ac_tmp:=$tmp}"
20133 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20135 trap 'as_fn_exit 1' 1 2 13 15
20137 # Create a (secure) tmp directory for tmp files.
20140 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20141 test -d "$tmp"
20142 } ||
20144 tmp=./conf$$-$RANDOM
20145 (umask 077 && mkdir "$tmp")
20146 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20147 ac_tmp=$tmp
20149 # Set up the scripts for CONFIG_FILES section.
20150 # No need to generate them if there are no CONFIG_FILES.
20151 # This happens for instance with `./config.status config.h'.
20152 if test -n "$CONFIG_FILES"; then
20155 ac_cr=`echo X | tr X '\015'`
20156 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20157 # But we know of no other shell where ac_cr would be empty at this
20158 # point, so we can use a bashism as a fallback.
20159 if test "x$ac_cr" = x; then
20160 eval ac_cr=\$\'\\r\'
20162 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20163 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20164 ac_cs_awk_cr='\\r'
20165 else
20166 ac_cs_awk_cr=$ac_cr
20169 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20170 _ACEOF
20174 echo "cat >conf$$subs.awk <<_ACEOF" &&
20175 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20176 echo "_ACEOF"
20177 } >conf$$subs.sh ||
20178 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20179 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20180 ac_delim='%!_!# '
20181 for ac_last_try in false false false false false :; do
20182 . ./conf$$subs.sh ||
20183 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20185 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20186 if test $ac_delim_n = $ac_delim_num; then
20187 break
20188 elif $ac_last_try; then
20189 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20190 else
20191 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20193 done
20194 rm -f conf$$subs.sh
20196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20197 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20198 _ACEOF
20199 sed -n '
20201 s/^/S["/; s/!.*/"]=/
20204 s/^[^!]*!//
20205 :repl
20206 t repl
20207 s/'"$ac_delim"'$//
20208 t delim
20211 s/\(.\{148\}\)..*/\1/
20212 t more1
20213 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20216 b repl
20217 :more1
20218 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20221 s/.\{148\}//
20222 t nl
20223 :delim
20225 s/\(.\{148\}\)..*/\1/
20226 t more2
20227 s/["\\]/\\&/g; s/^/"/; s/$/"/
20230 :more2
20231 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20234 s/.\{148\}//
20235 t delim
20236 ' <conf$$subs.awk | sed '
20237 /^[^""]/{
20239 s/\n//
20241 ' >>$CONFIG_STATUS || ac_write_fail=1
20242 rm -f conf$$subs.awk
20243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20244 _ACAWK
20245 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20246 for (key in S) S_is_set[key] = 1
20247 FS = "\a"
20251 line = $ 0
20252 nfields = split(line, field, "@")
20253 substed = 0
20254 len = length(field[1])
20255 for (i = 2; i < nfields; i++) {
20256 key = field[i]
20257 keylen = length(key)
20258 if (S_is_set[key]) {
20259 value = S[key]
20260 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20261 len += length(value) + length(field[++i])
20262 substed = 1
20263 } else
20264 len += 1 + keylen
20267 print line
20270 _ACAWK
20271 _ACEOF
20272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20273 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20274 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20275 else
20277 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20278 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20279 _ACEOF
20281 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20282 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20283 # trailing colons and then remove the whole line if VPATH becomes empty
20284 # (actually we leave an empty line to preserve line numbers).
20285 if test "x$srcdir" = x.; then
20286 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20288 s///
20289 s/^/:/
20290 s/[ ]*$/:/
20291 s/:\$(srcdir):/:/g
20292 s/:\${srcdir}:/:/g
20293 s/:@srcdir@:/:/g
20294 s/^:*//
20295 s/:*$//
20297 s/\(=[ ]*\).*/\1/
20299 s/\n//
20300 s/^[^=]*=[ ]*$//
20304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20305 fi # test -n "$CONFIG_FILES"
20307 # Set up the scripts for CONFIG_HEADERS section.
20308 # No need to generate them if there are no CONFIG_HEADERS.
20309 # This happens for instance with `./config.status Makefile'.
20310 if test -n "$CONFIG_HEADERS"; then
20311 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20312 BEGIN {
20313 _ACEOF
20315 # Transform confdefs.h into an awk script `defines.awk', embedded as
20316 # here-document in config.status, that substitutes the proper values into
20317 # config.h.in to produce config.h.
20319 # Create a delimiter string that does not exist in confdefs.h, to ease
20320 # handling of long lines.
20321 ac_delim='%!_!# '
20322 for ac_last_try in false false :; do
20323 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20324 if test -z "$ac_tt"; then
20325 break
20326 elif $ac_last_try; then
20327 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20328 else
20329 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20331 done
20333 # For the awk script, D is an array of macro values keyed by name,
20334 # likewise P contains macro parameters if any. Preserve backslash
20335 # newline sequences.
20337 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20338 sed -n '
20339 s/.\{148\}/&'"$ac_delim"'/g
20340 t rset
20341 :rset
20342 s/^[ ]*#[ ]*define[ ][ ]*/ /
20343 t def
20345 :def
20346 s/\\$//
20347 t bsnl
20348 s/["\\]/\\&/g
20349 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20350 D["\1"]=" \3"/p
20351 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20353 :bsnl
20354 s/["\\]/\\&/g
20355 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20356 D["\1"]=" \3\\\\\\n"\\/p
20357 t cont
20358 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20359 t cont
20361 :cont
20363 s/.\{148\}/&'"$ac_delim"'/g
20364 t clear
20365 :clear
20366 s/\\$//
20367 t bsnlc
20368 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20370 :bsnlc
20371 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20372 b cont
20373 ' <confdefs.h | sed '
20374 s/'"$ac_delim"'/"\\\
20375 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20378 for (key in D) D_is_set[key] = 1
20379 FS = "\a"
20381 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20382 line = \$ 0
20383 split(line, arg, " ")
20384 if (arg[1] == "#") {
20385 defundef = arg[2]
20386 mac1 = arg[3]
20387 } else {
20388 defundef = substr(arg[1], 2)
20389 mac1 = arg[2]
20391 split(mac1, mac2, "(") #)
20392 macro = mac2[1]
20393 prefix = substr(line, 1, index(line, defundef) - 1)
20394 if (D_is_set[macro]) {
20395 # Preserve the white space surrounding the "#".
20396 print prefix "define", macro P[macro] D[macro]
20397 next
20398 } else {
20399 # Replace #undef with comments. This is necessary, for example,
20400 # in the case of _POSIX_SOURCE, which is predefined and required
20401 # on some systems where configure will not decide to define it.
20402 if (defundef == "undef") {
20403 print "/*", prefix defundef, macro, "*/"
20404 next
20408 { print }
20409 _ACAWK
20410 _ACEOF
20411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20412 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20413 fi # test -n "$CONFIG_HEADERS"
20416 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20417 shift
20418 for ac_tag
20420 case $ac_tag in
20421 :[FHLC]) ac_mode=$ac_tag; continue;;
20422 esac
20423 case $ac_mode$ac_tag in
20424 :[FHL]*:*);;
20425 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20426 :[FH]-) ac_tag=-:-;;
20427 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20428 esac
20429 ac_save_IFS=$IFS
20430 IFS=:
20431 set x $ac_tag
20432 IFS=$ac_save_IFS
20433 shift
20434 ac_file=$1
20435 shift
20437 case $ac_mode in
20438 :L) ac_source=$1;;
20439 :[FH])
20440 ac_file_inputs=
20441 for ac_f
20443 case $ac_f in
20444 -) ac_f="$ac_tmp/stdin";;
20445 *) # Look for the file first in the build tree, then in the source tree
20446 # (if the path is not absolute). The absolute path cannot be DOS-style,
20447 # because $ac_f cannot contain `:'.
20448 test -f "$ac_f" ||
20449 case $ac_f in
20450 [\\/$]*) false;;
20451 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20452 esac ||
20453 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20454 esac
20455 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20456 as_fn_append ac_file_inputs " '$ac_f'"
20457 done
20459 # Let's still pretend it is `configure' which instantiates (i.e., don't
20460 # use $as_me), people would be surprised to read:
20461 # /* config.h. Generated by config.status. */
20462 configure_input='Generated from '`
20463 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20464 `' by configure.'
20465 if test x"$ac_file" != x-; then
20466 configure_input="$ac_file. $configure_input"
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20468 $as_echo "$as_me: creating $ac_file" >&6;}
20470 # Neutralize special characters interpreted by sed in replacement strings.
20471 case $configure_input in #(
20472 *\&* | *\|* | *\\* )
20473 ac_sed_conf_input=`$as_echo "$configure_input" |
20474 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20475 *) ac_sed_conf_input=$configure_input;;
20476 esac
20478 case $ac_tag in
20479 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20480 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20481 esac
20483 esac
20485 ac_dir=`$as_dirname -- "$ac_file" ||
20486 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20487 X"$ac_file" : 'X\(//\)[^/]' \| \
20488 X"$ac_file" : 'X\(//\)$' \| \
20489 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20490 $as_echo X"$ac_file" |
20491 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20492 s//\1/
20495 /^X\(\/\/\)[^/].*/{
20496 s//\1/
20499 /^X\(\/\/\)$/{
20500 s//\1/
20503 /^X\(\/\).*/{
20504 s//\1/
20507 s/.*/./; q'`
20508 as_dir="$ac_dir"; as_fn_mkdir_p
20509 ac_builddir=.
20511 case "$ac_dir" in
20512 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20514 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20515 # A ".." for each directory in $ac_dir_suffix.
20516 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20517 case $ac_top_builddir_sub in
20518 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20519 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20520 esac ;;
20521 esac
20522 ac_abs_top_builddir=$ac_pwd
20523 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20524 # for backward compatibility:
20525 ac_top_builddir=$ac_top_build_prefix
20527 case $srcdir in
20528 .) # We are building in place.
20529 ac_srcdir=.
20530 ac_top_srcdir=$ac_top_builddir_sub
20531 ac_abs_top_srcdir=$ac_pwd ;;
20532 [\\/]* | ?:[\\/]* ) # Absolute name.
20533 ac_srcdir=$srcdir$ac_dir_suffix;
20534 ac_top_srcdir=$srcdir
20535 ac_abs_top_srcdir=$srcdir ;;
20536 *) # Relative name.
20537 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20538 ac_top_srcdir=$ac_top_build_prefix$srcdir
20539 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20540 esac
20541 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20544 case $ac_mode in
20547 # CONFIG_FILE
20550 _ACEOF
20552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20553 # If the template does not know about datarootdir, expand it.
20554 # FIXME: This hack should be removed a few years after 2.60.
20555 ac_datarootdir_hack=; ac_datarootdir_seen=
20556 ac_sed_dataroot='
20557 /datarootdir/ {
20561 /@datadir@/p
20562 /@docdir@/p
20563 /@infodir@/p
20564 /@localedir@/p
20565 /@mandir@/p'
20566 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20567 *datarootdir*) ac_datarootdir_seen=yes;;
20568 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20570 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20571 _ACEOF
20572 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20573 ac_datarootdir_hack='
20574 s&@datadir@&$datadir&g
20575 s&@docdir@&$docdir&g
20576 s&@infodir@&$infodir&g
20577 s&@localedir@&$localedir&g
20578 s&@mandir@&$mandir&g
20579 s&\\\${datarootdir}&$datarootdir&g' ;;
20580 esac
20581 _ACEOF
20583 # Neutralize VPATH when `$srcdir' = `.'.
20584 # Shell code in configure.ac might set extrasub.
20585 # FIXME: do we really want to maintain this feature?
20586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20587 ac_sed_extra="$ac_vpsub
20588 $extrasub
20589 _ACEOF
20590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20592 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20593 s|@configure_input@|$ac_sed_conf_input|;t t
20594 s&@top_builddir@&$ac_top_builddir_sub&;t t
20595 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20596 s&@srcdir@&$ac_srcdir&;t t
20597 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20598 s&@top_srcdir@&$ac_top_srcdir&;t t
20599 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20600 s&@builddir@&$ac_builddir&;t t
20601 s&@abs_builddir@&$ac_abs_builddir&;t t
20602 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20603 $ac_datarootdir_hack
20605 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20606 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20608 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20609 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20610 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20611 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20613 which seems to be undefined. Please make sure it is defined" >&5
20614 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20615 which seems to be undefined. Please make sure it is defined" >&2;}
20617 rm -f "$ac_tmp/stdin"
20618 case $ac_file in
20619 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20620 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20621 esac \
20622 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20626 # CONFIG_HEADER
20628 if test x"$ac_file" != x-; then
20630 $as_echo "/* $configure_input */" \
20631 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20632 } >"$ac_tmp/config.h" \
20633 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20634 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20635 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20636 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20637 else
20638 rm -f "$ac_file"
20639 mv "$ac_tmp/config.h" "$ac_file" \
20640 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20642 else
20643 $as_echo "/* $configure_input */" \
20644 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20645 || as_fn_error $? "could not create -" "$LINENO" 5
20650 # CONFIG_LINK
20653 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20655 else
20656 # Prefer the file from the source tree if names are identical.
20657 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20658 ac_source=$srcdir/$ac_source
20661 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20662 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20664 if test ! -r "$ac_source"; then
20665 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20667 rm -f "$ac_file"
20669 # Try a relative symlink, then a hard link, then a copy.
20670 case $ac_source in
20671 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20672 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20673 esac
20674 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20675 ln "$ac_source" "$ac_file" 2>/dev/null ||
20676 cp -p "$ac_source" "$ac_file" ||
20677 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20680 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20681 $as_echo "$as_me: executing $ac_file commands" >&6;}
20683 esac
20686 case $ac_file$ac_mode in
20687 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20688 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20689 "Makefile":C) wine_fn_output_makefile Makefile ;;
20691 esac
20692 done # for ac_tag
20695 as_fn_exit 0
20696 _ACEOF
20697 ac_clean_files=$ac_clean_files_save
20699 test $ac_write_fail = 0 ||
20700 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20703 # configure is writing to config.log, and then calls config.status.
20704 # config.status does its own redirection, appending to config.log.
20705 # Unfortunately, on DOS this fails, as config.log is still kept open
20706 # by configure, so config.status won't be able to write to it; its
20707 # output is simply discarded. So we exec the FD to /dev/null,
20708 # effectively closing config.log, so it can be properly (re)opened and
20709 # appended to by config.status. When coming back to configure, we
20710 # need to make the FD available again.
20711 if test "$no_create" != yes; then
20712 ac_cs_success=:
20713 ac_config_status_args=
20714 test "$silent" = yes &&
20715 ac_config_status_args="$ac_config_status_args --quiet"
20716 exec 5>/dev/null
20717 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20718 exec 5>>config.log
20719 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20720 # would make configure fail if this is the last instruction.
20721 $ac_cs_success || as_fn_exit 1
20723 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20725 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20729 if test "$no_create" = "yes"
20730 then
20731 exit 0
20734 ac_save_IFS="$IFS"
20735 if test "x$wine_notices" != x; then
20736 echo >&6
20737 IFS="|"
20738 for msg in $wine_notices; do
20739 IFS="$ac_save_IFS"
20740 if ${msg:+false} :; then :
20742 else
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20744 $as_echo "$as_me: $msg" >&6;}
20746 done
20748 IFS="|"
20749 for msg in $wine_warnings; do
20750 IFS="$ac_save_IFS"
20751 if ${msg:+false} :; then :
20753 else
20754 echo >&2
20755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20756 $as_echo "$as_me: WARNING: $msg" >&2;}
20758 done
20759 IFS="$ac_save_IFS"
20761 $as_echo "
20762 $as_me: Finished. Do '${ac_make}' to compile Wine.
20763 " >&6