makefiles: Generate the tools dependencies from makedep.
[wine.git] / configure
blobbe00e575a89937aafef4939112399e66eb51414a
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 return
7810 wine_fn_all_rules
7813 wine_fn_config_symlink ()
7815 ac_links=$@
7816 wine_fn_append_rule \
7817 "$ac_links:
7818 @./config.status \$@"
7819 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7822 wine_binary="wine"
7823 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7824 WINELOADER_PROGRAMS="$wine_binary"
7826 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7828 case $host_os in
7829 cygwin*|mingw32*)
7830 if test -n "$ac_tool_prefix"; then
7831 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7832 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7834 $as_echo_n "checking for $ac_word... " >&6; }
7835 if ${ac_cv_prog_DLLTOOL+:} false; then :
7836 $as_echo_n "(cached) " >&6
7837 else
7838 if test -n "$DLLTOOL"; then
7839 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7840 else
7841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7842 for as_dir in $PATH
7844 IFS=$as_save_IFS
7845 test -z "$as_dir" && as_dir=.
7846 for ac_exec_ext in '' $ac_executable_extensions; do
7847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7848 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7850 break 2
7852 done
7853 done
7854 IFS=$as_save_IFS
7858 DLLTOOL=$ac_cv_prog_DLLTOOL
7859 if test -n "$DLLTOOL"; then
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7861 $as_echo "$DLLTOOL" >&6; }
7862 else
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7864 $as_echo "no" >&6; }
7869 if test -z "$ac_cv_prog_DLLTOOL"; then
7870 ac_ct_DLLTOOL=$DLLTOOL
7871 # Extract the first word of "dlltool", so it can be a program name with args.
7872 set dummy dlltool; ac_word=$2
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7874 $as_echo_n "checking for $ac_word... " >&6; }
7875 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7876 $as_echo_n "(cached) " >&6
7877 else
7878 if test -n "$ac_ct_DLLTOOL"; then
7879 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7880 else
7881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7882 for as_dir in $PATH
7884 IFS=$as_save_IFS
7885 test -z "$as_dir" && as_dir=.
7886 for ac_exec_ext in '' $ac_executable_extensions; do
7887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7888 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7890 break 2
7892 done
7893 done
7894 IFS=$as_save_IFS
7898 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7899 if test -n "$ac_ct_DLLTOOL"; then
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7901 $as_echo "$ac_ct_DLLTOOL" >&6; }
7902 else
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7904 $as_echo "no" >&6; }
7907 if test "x$ac_ct_DLLTOOL" = x; then
7908 DLLTOOL="false"
7909 else
7910 case $cross_compiling:$ac_tool_warned in
7911 yes:)
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7914 ac_tool_warned=yes ;;
7915 esac
7916 DLLTOOL=$ac_ct_DLLTOOL
7918 else
7919 DLLTOOL="$ac_cv_prog_DLLTOOL"
7922 LIBEXT="dll"
7923 DLLEXT=""
7924 IMPLIBEXT="a"
7925 enable_iphlpapi=${enable_iphlpapi:-no}
7926 enable_kernel32=${enable_kernel32:-no}
7927 enable_msvcrt=${enable_msvcrt:-no}
7928 enable_ntdll=${enable_ntdll:-no}
7929 enable_ws2_32=${enable_ws2_32:-no}
7930 enable_loader=${enable_loader:-no}
7931 enable_server=${enable_server:-no}
7932 with_x=${with_x:-no}
7933 with_pthread=${with_pthread:-no}
7935 crtlibs=""
7936 case $host_os in
7937 mingw32*)
7938 crtlibs="-lmsvcrt"
7939 SOCKET_LIBS="-lws2_32"
7941 esac
7943 LIBWINE_SHAREDLIB="libwine.dll"
7945 LIBWINE_IMPORTLIB="libwine.a"
7947 LIBWINE_INSTALL_LIB="libwine.dll"
7949 LIBWINE_INSTALL_DEV="libwine.a"
7951 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7953 LIBWINE_DEPENDS="wine.def"
7957 darwin*|macosx*)
7958 for ac_header in libunwind.h
7959 do :
7960 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7962 cat >>confdefs.h <<_ACEOF
7963 #define HAVE_LIBUNWIND_H 1
7964 _ACEOF
7968 done
7970 LIBEXT="dylib"
7971 DLLFLAGS="$DLLFLAGS -fPIC"
7972 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7973 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7974 COREFOUNDATION_LIBS="-framework CoreFoundation"
7976 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7978 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7980 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7982 CORESERVICES_LIBS="-framework CoreServices"
7984 APPKIT_LIBS="-framework AppKit"
7986 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7988 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7989 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7990 $as_echo_n "(cached) " >&6
7991 else
7992 ac_wine_try_cflags_saved=$CFLAGS
7993 CFLAGS="$CFLAGS -Wl,-no_pie"
7994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7995 /* end confdefs.h. */
7996 int main(int argc, char **argv) { return 0; }
7997 _ACEOF
7998 if ac_fn_c_try_link "$LINENO"; then :
7999 ac_cv_cflags__Wl__no_pie=yes
8000 else
8001 ac_cv_cflags__Wl__no_pie=no
8003 rm -f core conftest.err conftest.$ac_objext \
8004 conftest$ac_exeext conftest.$ac_ext
8005 CFLAGS=$ac_wine_try_cflags_saved
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8008 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8009 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8010 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8012 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8013 then
8014 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8017 if test "$ac_cv_header_Security_Security_h" = "yes"
8018 then
8019 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8021 ac_save_LIBS="$LIBS"
8022 LIBS="$LIBS $SECURITY_LIBS"
8023 for ac_func in SSLCopyPeerCertificates
8024 do :
8025 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8026 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8027 cat >>confdefs.h <<_ACEOF
8028 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8029 _ACEOF
8032 done
8034 LIBS="$ac_save_LIBS"
8035 with_gnutls=${with_gnutls:-no}
8037 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8038 then
8039 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8040 then
8041 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8043 else
8044 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8047 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8048 ac_save_LIBS="$LIBS"
8049 LIBS="$LIBS $COREAUDIO_LIBS"
8050 for ac_func in AUGraphAddNode
8051 do :
8052 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8053 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8054 cat >>confdefs.h <<_ACEOF
8055 #define HAVE_AUGRAPHADDNODE 1
8056 _ACEOF
8059 done
8061 LIBS="$ac_save_LIBS"
8063 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8064 then
8065 OPENAL_LIBS="-framework OpenAL"
8068 cat >>confdefs.h <<_ACEOF
8069 #define HAVE_OPENAL 1
8070 _ACEOF
8072 ac_cv_lib_openal=yes
8074 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8075 then
8076 OPENCL_LIBS="-framework OpenCL"
8078 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8080 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8081 then
8082 ac_save_LIBS="$LIBS"
8083 LIBS="$LIBS $IOKIT_LIBS"
8084 for ac_func in IOHIDManagerCreate
8085 do :
8086 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8087 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8088 cat >>confdefs.h <<_ACEOF
8089 #define HAVE_IOHIDMANAGERCREATE 1
8090 _ACEOF
8093 done
8095 LIBS="$ac_save_LIBS"
8097 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8098 then
8099 ac_save_LIBS="$LIBS"
8100 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8102 $as_echo_n "checking for the QuickTime framework... " >&6; }
8103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8104 /* end confdefs.h. */
8105 #include <QuickTime/ImageCompression.h>
8107 main ()
8109 CodecManagerVersion(NULL);
8111 return 0;
8113 _ACEOF
8114 if ac_fn_c_try_link "$LINENO"; then :
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8116 $as_echo "yes" >&6; }
8117 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8119 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8120 else
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8122 $as_echo "no" >&6; }
8123 ac_cv_header_QuickTime_ImageCompression_h=no
8125 rm -f core conftest.err conftest.$ac_objext \
8126 conftest$ac_exeext conftest.$ac_ext
8127 LIBS="$ac_save_LIBS"
8129 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8130 then
8131 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8133 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8134 then
8135 CARBON_LIBS="-framework Carbon"
8139 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8140 then
8141 ac_save_LIBS="$LIBS"
8142 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8143 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8144 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8145 enable_winemac_drv=${enable_winemac_drv:-yes}
8148 LIBS="$ac_save_LIBS"
8151 if test "x$enable_win16" = "xyes"
8152 then
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8154 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8155 if test "$cross_compiling" = yes; then :
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8157 $as_echo "cross-compiling, assuming yes" >&6; }
8158 else
8159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8160 /* end confdefs.h. */
8161 asm(".text\n"
8162 "bad:\tnop;nop\n"
8163 "good:\tnop;nop\n\t"
8164 ".globl _testfunc\n"
8165 "_testfunc:\tcallw good");
8166 extern void testfunc();
8168 main ()
8170 unsigned short *p = (unsigned short *)testfunc;
8171 return p[0] != 0xe866 || p[1] != 0xfffa
8173 return 0;
8175 _ACEOF
8176 if ac_fn_c_try_run "$LINENO"; then :
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8178 $as_echo "yes" >&6; }
8179 else
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8181 $as_echo "no" >&6; }
8182 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
8184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8185 conftest.$ac_objext conftest.beam conftest.$ac_ext
8190 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8192 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8194 LIBWINE_INSTALL_DEV="libwine.dylib"
8196 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8198 WINELOADER_DEPENDS="wine_info.plist"
8202 linux-android*)
8203 DLLFLAGS="$DLLFLAGS -fPIC"
8204 LDEXECFLAGS="-Wl,-pie"
8205 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8207 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8208 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8209 $as_echo_n "(cached) " >&6
8210 else
8211 ac_wine_try_cflags_saved=$CFLAGS
8212 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8214 /* end confdefs.h. */
8215 int main(int argc, char **argv) { return 0; }
8216 _ACEOF
8217 if ac_fn_c_try_link "$LINENO"; then :
8218 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8219 else
8220 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8222 rm -f core conftest.err conftest.$ac_objext \
8223 conftest$ac_exeext conftest.$ac_ext
8224 CFLAGS=$ac_wine_try_cflags_saved
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8227 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8228 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8229 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8231 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8233 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8234 if eval \${$as_ac_var+:} false; then :
8235 $as_echo_n "(cached) " >&6
8236 else
8237 ac_wine_try_cflags_saved=$CFLAGS
8238 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8240 /* end confdefs.h. */
8241 int main(int argc, char **argv) { return 0; }
8242 _ACEOF
8243 if ac_fn_c_try_link "$LINENO"; then :
8244 eval "$as_ac_var=yes"
8245 else
8246 eval "$as_ac_var=no"
8248 rm -f core conftest.err conftest.$ac_objext \
8249 conftest$ac_exeext conftest.$ac_ext
8250 CFLAGS=$ac_wine_try_cflags_saved
8252 eval ac_res=\$$as_ac_var
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8254 $as_echo "$ac_res" >&6; }
8255 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8256 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8257 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8258 else
8259 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8261 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8262 if eval \${$as_ac_var+:} false; then :
8263 $as_echo_n "(cached) " >&6
8264 else
8265 ac_wine_try_cflags_saved=$CFLAGS
8266 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8268 /* end confdefs.h. */
8269 int main(int argc, char **argv) { return 0; }
8270 _ACEOF
8271 if ac_fn_c_try_link "$LINENO"; then :
8272 eval "$as_ac_var=yes"
8273 else
8274 eval "$as_ac_var=no"
8276 rm -f core conftest.err conftest.$ac_objext \
8277 conftest$ac_exeext conftest.$ac_ext
8278 CFLAGS=$ac_wine_try_cflags_saved
8280 eval ac_res=\$$as_ac_var
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8282 $as_echo "$ac_res" >&6; }
8283 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8284 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8285 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8289 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8290 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8291 $as_echo_n "(cached) " >&6
8292 else
8293 ac_wine_try_cflags_saved=$CFLAGS
8294 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8296 /* end confdefs.h. */
8297 int main(int argc, char **argv) { return 0; }
8298 _ACEOF
8299 if ac_fn_c_try_link "$LINENO"; then :
8300 ac_cv_cflags__Wl___enable_new_dtags=yes
8301 else
8302 ac_cv_cflags__Wl___enable_new_dtags=no
8304 rm -f core conftest.err conftest.$ac_objext \
8305 conftest$ac_exeext conftest.$ac_ext
8306 CFLAGS=$ac_wine_try_cflags_saved
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8309 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8310 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8311 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8314 LIBWINE_SHAREDLIB="libwine.so"
8316 LIBWINE_INSTALL_LIB="libwine.so"
8318 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8322 $as_echo_n "checking for -lEGL... " >&6; }
8323 if ${ac_cv_lib_soname_EGL+:} false; then :
8324 $as_echo_n "(cached) " >&6
8325 else
8326 ac_check_soname_save_LIBS=$LIBS
8327 LIBS="-lEGL $LIBS"
8328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8329 /* end confdefs.h. */
8331 /* Override any GCC internal prototype to avoid an error.
8332 Use char because int might match the return type of a GCC
8333 builtin and then its argument prototype would still apply. */
8334 #ifdef __cplusplus
8335 extern "C"
8336 #endif
8337 char eglGetProcAddress ();
8339 main ()
8341 return eglGetProcAddress ();
8343 return 0;
8345 _ACEOF
8346 if ac_fn_c_try_link "$LINENO"; then :
8347 case "$LIBEXT" in
8348 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8349 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'` ;;
8350 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8351 if ${ac_cv_lib_soname_EGL:+false} :; then :
8352 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8353 fi ;;
8354 esac
8356 rm -f core conftest.err conftest.$ac_objext \
8357 conftest$ac_exeext conftest.$ac_ext
8358 LIBS=$ac_check_soname_save_LIBS
8360 if ${ac_cv_lib_soname_EGL:+false} :; then :
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8362 $as_echo "not found" >&6; }
8364 else
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8366 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8368 cat >>confdefs.h <<_ACEOF
8369 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8370 _ACEOF
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8375 $as_echo_n "checking for -lGLESv2... " >&6; }
8376 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8377 $as_echo_n "(cached) " >&6
8378 else
8379 ac_check_soname_save_LIBS=$LIBS
8380 LIBS="-lGLESv2 $LIBS"
8381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8382 /* end confdefs.h. */
8384 /* Override any GCC internal prototype to avoid an error.
8385 Use char because int might match the return type of a GCC
8386 builtin and then its argument prototype would still apply. */
8387 #ifdef __cplusplus
8388 extern "C"
8389 #endif
8390 char glFlush ();
8392 main ()
8394 return glFlush ();
8396 return 0;
8398 _ACEOF
8399 if ac_fn_c_try_link "$LINENO"; then :
8400 case "$LIBEXT" in
8401 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8402 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'` ;;
8403 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8404 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8405 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8406 fi ;;
8407 esac
8409 rm -f core conftest.err conftest.$ac_objext \
8410 conftest$ac_exeext conftest.$ac_ext
8411 LIBS=$ac_check_soname_save_LIBS
8413 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8415 $as_echo "not found" >&6; }
8417 else
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8419 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8421 cat >>confdefs.h <<_ACEOF
8422 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8423 _ACEOF
8428 if test "x$exec_prefix" = xNONE
8429 then
8430 case $host_cpu in
8431 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8432 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8433 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8434 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8435 esac
8440 DLLFLAGS="$DLLFLAGS -fPIC"
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8442 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8443 if ${ac_cv_c_dll_gnuelf+:} false; then :
8444 $as_echo_n "(cached) " >&6
8445 else
8446 ac_wine_try_cflags_saved=$CFLAGS
8447 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8450 void myfunc() {}
8451 _ACEOF
8452 if ac_fn_c_try_link "$LINENO"; then :
8453 ac_cv_c_dll_gnuelf="yes"
8454 else
8455 ac_cv_c_dll_gnuelf="no"
8457 rm -f core conftest.err conftest.$ac_objext \
8458 conftest$ac_exeext conftest.$ac_ext
8459 CFLAGS=$ac_wine_try_cflags_saved
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8462 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8463 if test "$ac_cv_c_dll_gnuelf" = "yes"
8464 then
8465 LIBWINE_LDFLAGS="-shared"
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8467 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8468 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8469 $as_echo_n "(cached) " >&6
8470 else
8471 ac_wine_try_cflags_saved=$CFLAGS
8472 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8474 /* end confdefs.h. */
8475 int main(int argc, char **argv) { return 0; }
8476 _ACEOF
8477 if ac_fn_c_try_link "$LINENO"; then :
8478 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8479 else
8480 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8482 rm -f core conftest.err conftest.$ac_objext \
8483 conftest$ac_exeext conftest.$ac_ext
8484 CFLAGS=$ac_wine_try_cflags_saved
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8487 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8488 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8489 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8490 else
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8492 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8493 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8494 $as_echo_n "(cached) " >&6
8495 else
8496 ac_wine_try_cflags_saved=$CFLAGS
8497 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8499 /* end confdefs.h. */
8500 int main(int argc, char **argv) { return 0; }
8501 _ACEOF
8502 if ac_fn_c_try_link "$LINENO"; then :
8503 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8504 else
8505 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8507 rm -f core conftest.err conftest.$ac_objext \
8508 conftest$ac_exeext conftest.$ac_ext
8509 CFLAGS=$ac_wine_try_cflags_saved
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8512 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8513 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8514 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8518 echo '{ global: *; };' >conftest.map
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8520 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8521 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8522 $as_echo_n "(cached) " >&6
8523 else
8524 ac_wine_try_cflags_saved=$CFLAGS
8525 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8527 /* end confdefs.h. */
8528 int main(int argc, char **argv) { return 0; }
8529 _ACEOF
8530 if ac_fn_c_try_link "$LINENO"; then :
8531 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8532 else
8533 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8535 rm -f core conftest.err conftest.$ac_objext \
8536 conftest$ac_exeext conftest.$ac_ext
8537 CFLAGS=$ac_wine_try_cflags_saved
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8540 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8541 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8542 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8544 rm -f conftest.map
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8547 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8548 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8549 $as_echo_n "(cached) " >&6
8550 else
8551 ac_wine_try_cflags_saved=$CFLAGS
8552 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8555 int main(int argc, char **argv) { return 0; }
8556 _ACEOF
8557 if ac_fn_c_try_link "$LINENO"; then :
8558 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8559 else
8560 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8562 rm -f core conftest.err conftest.$ac_objext \
8563 conftest$ac_exeext conftest.$ac_ext
8564 CFLAGS=$ac_wine_try_cflags_saved
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8567 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8568 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8569 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8572 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8574 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8575 if eval \${$as_ac_var+:} false; then :
8576 $as_echo_n "(cached) " >&6
8577 else
8578 ac_wine_try_cflags_saved=$CFLAGS
8579 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8581 /* end confdefs.h. */
8582 int main(int argc, char **argv) { return 0; }
8583 _ACEOF
8584 if ac_fn_c_try_link "$LINENO"; then :
8585 eval "$as_ac_var=yes"
8586 else
8587 eval "$as_ac_var=no"
8589 rm -f core conftest.err conftest.$ac_objext \
8590 conftest$ac_exeext conftest.$ac_ext
8591 CFLAGS=$ac_wine_try_cflags_saved
8593 eval ac_res=\$$as_ac_var
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8595 $as_echo "$ac_res" >&6; }
8596 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8597 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8598 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8599 else
8600 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8602 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8603 if eval \${$as_ac_var+:} false; then :
8604 $as_echo_n "(cached) " >&6
8605 else
8606 ac_wine_try_cflags_saved=$CFLAGS
8607 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8609 /* end confdefs.h. */
8610 int main(int argc, char **argv) { return 0; }
8611 _ACEOF
8612 if ac_fn_c_try_link "$LINENO"; then :
8613 eval "$as_ac_var=yes"
8614 else
8615 eval "$as_ac_var=no"
8617 rm -f core conftest.err conftest.$ac_objext \
8618 conftest$ac_exeext conftest.$ac_ext
8619 CFLAGS=$ac_wine_try_cflags_saved
8621 eval ac_res=\$$as_ac_var
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8623 $as_echo "$ac_res" >&6; }
8624 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8625 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8626 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8631 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8632 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8633 $as_echo_n "(cached) " >&6
8634 else
8635 ac_wine_try_cflags_saved=$CFLAGS
8636 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8638 /* end confdefs.h. */
8639 int main(int argc, char **argv) { return 0; }
8640 _ACEOF
8641 if ac_fn_c_try_link "$LINENO"; then :
8642 ac_cv_cflags__Wl___enable_new_dtags=yes
8643 else
8644 ac_cv_cflags__Wl___enable_new_dtags=no
8646 rm -f core conftest.err conftest.$ac_objext \
8647 conftest$ac_exeext conftest.$ac_ext
8648 CFLAGS=$ac_wine_try_cflags_saved
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8651 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8652 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8653 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8656 case $host_cpu in
8657 *i[3456789]86* | x86_64 | *aarch64*)
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8659 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8660 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8661 $as_echo_n "(cached) " >&6
8662 else
8663 ac_wine_try_cflags_saved=$CFLAGS
8664 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8666 /* end confdefs.h. */
8667 int main(int argc, char **argv) { return 0; }
8668 _ACEOF
8669 if ac_fn_c_try_link "$LINENO"; then :
8670 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8671 else
8672 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8674 rm -f core conftest.err conftest.$ac_objext \
8675 conftest$ac_exeext conftest.$ac_ext
8676 CFLAGS=$ac_wine_try_cflags_saved
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8679 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8680 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8681 case $host_os in
8682 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8683 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8684 esac
8685 else
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8687 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8688 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8689 $as_echo_n "(cached) " >&6
8690 else
8691 ac_wine_try_cflags_saved=$CFLAGS
8692 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8694 /* end confdefs.h. */
8695 int main(int argc, char **argv) { return 0; }
8696 _ACEOF
8697 if ac_fn_c_try_link "$LINENO"; then :
8698 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8699 else
8700 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8702 rm -f core conftest.err conftest.$ac_objext \
8703 conftest$ac_exeext conftest.$ac_ext
8704 CFLAGS=$ac_wine_try_cflags_saved
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8707 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8708 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8709 case $host_os in
8710 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8711 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8712 esac
8714 # Extract the first word of "prelink", so it can be a program name with args.
8715 set dummy prelink; ac_word=$2
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8717 $as_echo_n "checking for $ac_word... " >&6; }
8718 if ${ac_cv_path_PRELINK+:} false; then :
8719 $as_echo_n "(cached) " >&6
8720 else
8721 case $PRELINK in
8722 [\\/]* | ?:[\\/]*)
8723 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8727 for as_dir in /sbin /usr/sbin $PATH
8729 IFS=$as_save_IFS
8730 test -z "$as_dir" && as_dir=.
8731 for ac_exec_ext in '' $ac_executable_extensions; do
8732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8733 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8735 break 2
8737 done
8738 done
8739 IFS=$as_save_IFS
8741 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8743 esac
8745 PRELINK=$ac_cv_path_PRELINK
8746 if test -n "$PRELINK"; then
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8748 $as_echo "$PRELINK" >&6; }
8749 else
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8751 $as_echo "no" >&6; }
8755 if test "x$PRELINK" = xfalse
8756 then
8757 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8761 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8762 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8763 $as_echo_n "(cached) " >&6
8764 else
8765 ac_wine_try_cflags_saved=$CFLAGS
8766 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8768 /* end confdefs.h. */
8769 int main(int argc, char **argv) { return 0; }
8770 _ACEOF
8771 if ac_fn_c_try_link "$LINENO"; then :
8772 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8773 else
8774 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8776 rm -f core conftest.err conftest.$ac_objext \
8777 conftest$ac_exeext conftest.$ac_ext
8778 CFLAGS=$ac_wine_try_cflags_saved
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8781 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8782 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8783 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8786 esac
8788 else
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8790 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8791 if ${ac_cv_c_dll_unixware+:} false; then :
8792 $as_echo_n "(cached) " >&6
8793 else
8794 ac_wine_try_cflags_saved=$CFLAGS
8795 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8797 /* end confdefs.h. */
8798 void myfunc() {}
8799 _ACEOF
8800 if ac_fn_c_try_link "$LINENO"; then :
8801 ac_cv_c_dll_unixware="yes"
8802 else
8803 ac_cv_c_dll_unixware="no"
8805 rm -f core conftest.err conftest.$ac_objext \
8806 conftest$ac_exeext conftest.$ac_ext
8807 CFLAGS=$ac_wine_try_cflags_saved
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8810 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8811 if test "$ac_cv_c_dll_unixware" = "yes"
8812 then
8813 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8816 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8818 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8820 LIBWINE_INSTALL_DEV="libwine.so"
8822 LIBWINE_DEPENDS="wine.map"
8825 esac
8827 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8828 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8829 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8830 enable_winemac_drv=${enable_winemac_drv:-no}
8831 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8833 CROSSTARGET=""
8835 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8836 then
8837 case "$host_cpu" in
8838 arm*)
8839 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8840 i[3456789]86*)
8841 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
8842 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8843 mingw32-gcc" ;;
8844 x86_64)
8845 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
8846 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8848 ac_prefix_list="" ;;
8849 esac
8850 for ac_prog in $ac_prefix_list
8852 # Extract the first word of "$ac_prog", so it can be a program name with args.
8853 set dummy $ac_prog; ac_word=$2
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8855 $as_echo_n "checking for $ac_word... " >&6; }
8856 if ${ac_cv_prog_CROSSCC+:} false; then :
8857 $as_echo_n "(cached) " >&6
8858 else
8859 if test -n "$CROSSCC"; then
8860 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8861 else
8862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8863 for as_dir in $PATH
8865 IFS=$as_save_IFS
8866 test -z "$as_dir" && as_dir=.
8867 for ac_exec_ext in '' $ac_executable_extensions; do
8868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8869 ac_cv_prog_CROSSCC="$ac_prog"
8870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8871 break 2
8873 done
8874 done
8875 IFS=$as_save_IFS
8879 CROSSCC=$ac_cv_prog_CROSSCC
8880 if test -n "$CROSSCC"; then
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8882 $as_echo "$CROSSCC" >&6; }
8883 else
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8885 $as_echo "no" >&6; }
8889 test -n "$CROSSCC" && break
8890 done
8891 test -n "$CROSSCC" || CROSSCC="false"
8893 if test "$CROSSCC" != "false"
8894 then
8895 ac_save_CC="$CC"
8896 CC="$CROSSCC"
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8898 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8900 /* end confdefs.h. */
8903 main ()
8907 return 0;
8909 _ACEOF
8910 if ac_fn_c_try_compile "$LINENO"; then :
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8912 $as_echo "yes" >&6; }
8913 set x $CROSSCC
8914 shift
8915 while test $# -ge 1
8917 case "$1" in
8918 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8919 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8920 esac
8921 shift
8922 done
8923 else
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8925 $as_echo "no" >&6; }
8927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8928 CC="$ac_save_CC"
8929 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8935 if test "$ac_cv_header_pthread_h" = "yes"
8936 then
8937 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8938 if test "x$ac_cv_func_pthread_create" = xyes; then :
8940 else
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8942 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8943 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8944 $as_echo_n "(cached) " >&6
8945 else
8946 ac_check_lib_save_LIBS=$LIBS
8947 LIBS="-lpthread $LIBS"
8948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8949 /* end confdefs.h. */
8951 /* Override any GCC internal prototype to avoid an error.
8952 Use char because int might match the return type of a GCC
8953 builtin and then its argument prototype would still apply. */
8954 #ifdef __cplusplus
8955 extern "C"
8956 #endif
8957 char pthread_create ();
8959 main ()
8961 return pthread_create ();
8963 return 0;
8965 _ACEOF
8966 if ac_fn_c_try_link "$LINENO"; then :
8967 ac_cv_lib_pthread_pthread_create=yes
8968 else
8969 ac_cv_lib_pthread_pthread_create=no
8971 rm -f core conftest.err conftest.$ac_objext \
8972 conftest$ac_exeext conftest.$ac_ext
8973 LIBS=$ac_check_lib_save_LIBS
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8976 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8977 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8978 PTHREAD_LIBS="-lpthread"
8985 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8986 case "x$with_pthread" in
8987 xno) ;;
8988 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8989 Wine cannot support threads without libpthread.
8990 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8991 esac
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8997 $as_echo_n "checking for X... " >&6; }
9000 # Check whether --with-x was given.
9001 if test "${with_x+set}" = set; then :
9002 withval=$with_x;
9005 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9006 if test "x$with_x" = xno; then
9007 # The user explicitly disabled X.
9008 have_x=disabled
9009 else
9010 case $x_includes,$x_libraries in #(
9011 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9012 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9013 $as_echo_n "(cached) " >&6
9014 else
9015 # One or both of the vars are not set, and there is no cached value.
9016 ac_x_includes=no ac_x_libraries=no
9017 rm -f -r conftest.dir
9018 if mkdir conftest.dir; then
9019 cd conftest.dir
9020 cat >Imakefile <<'_ACEOF'
9021 incroot:
9022 @echo incroot='${INCROOT}'
9023 usrlibdir:
9024 @echo usrlibdir='${USRLIBDIR}'
9025 libdir:
9026 @echo libdir='${LIBDIR}'
9027 _ACEOF
9028 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9029 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9030 for ac_var in incroot usrlibdir libdir; do
9031 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9032 done
9033 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9034 for ac_extension in a so sl dylib la dll; do
9035 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9036 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9037 ac_im_usrlibdir=$ac_im_libdir; break
9039 done
9040 # Screen out bogus values from the imake configuration. They are
9041 # bogus both because they are the default anyway, and because
9042 # using them would break gcc on systems where it needs fixed includes.
9043 case $ac_im_incroot in
9044 /usr/include) ac_x_includes= ;;
9045 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9046 esac
9047 case $ac_im_usrlibdir in
9048 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9049 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9050 esac
9052 cd ..
9053 rm -f -r conftest.dir
9056 # Standard set of common directories for X headers.
9057 # Check X11 before X11Rn because it is often a symlink to the current release.
9058 ac_x_header_dirs='
9059 /usr/X11/include
9060 /usr/X11R7/include
9061 /usr/X11R6/include
9062 /usr/X11R5/include
9063 /usr/X11R4/include
9065 /usr/include/X11
9066 /usr/include/X11R7
9067 /usr/include/X11R6
9068 /usr/include/X11R5
9069 /usr/include/X11R4
9071 /usr/local/X11/include
9072 /usr/local/X11R7/include
9073 /usr/local/X11R6/include
9074 /usr/local/X11R5/include
9075 /usr/local/X11R4/include
9077 /usr/local/include/X11
9078 /usr/local/include/X11R7
9079 /usr/local/include/X11R6
9080 /usr/local/include/X11R5
9081 /usr/local/include/X11R4
9083 /usr/X386/include
9084 /usr/x386/include
9085 /usr/XFree86/include/X11
9087 /usr/include
9088 /usr/local/include
9089 /usr/unsupported/include
9090 /usr/athena/include
9091 /usr/local/x11r5/include
9092 /usr/lpp/Xamples/include
9094 /usr/openwin/include
9095 /usr/openwin/share/include'
9097 if test "$ac_x_includes" = no; then
9098 # Guess where to find include files, by looking for Xlib.h.
9099 # First, try using that file with no special directory specified.
9100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h. */
9102 #include <X11/Xlib.h>
9103 _ACEOF
9104 if ac_fn_c_try_cpp "$LINENO"; then :
9105 # We can compile using X headers with no special include directory.
9106 ac_x_includes=
9107 else
9108 for ac_dir in $ac_x_header_dirs; do
9109 if test -r "$ac_dir/X11/Xlib.h"; then
9110 ac_x_includes=$ac_dir
9111 break
9113 done
9115 rm -f conftest.err conftest.i conftest.$ac_ext
9116 fi # $ac_x_includes = no
9118 if test "$ac_x_libraries" = no; then
9119 # Check for the libraries.
9120 # See if we find them without any special options.
9121 # Don't add to $LIBS permanently.
9122 ac_save_LIBS=$LIBS
9123 LIBS="-lX11 $LIBS"
9124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9125 /* end confdefs.h. */
9126 #include <X11/Xlib.h>
9128 main ()
9130 XrmInitialize ()
9132 return 0;
9134 _ACEOF
9135 if ac_fn_c_try_link "$LINENO"; then :
9136 LIBS=$ac_save_LIBS
9137 # We can link X programs with no special library path.
9138 ac_x_libraries=
9139 else
9140 LIBS=$ac_save_LIBS
9141 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9143 # Don't even attempt the hair of trying to link an X program!
9144 for ac_extension in a so sl dylib la dll; do
9145 if test -r "$ac_dir/libX11.$ac_extension"; then
9146 ac_x_libraries=$ac_dir
9147 break 2
9149 done
9150 done
9152 rm -f core conftest.err conftest.$ac_objext \
9153 conftest$ac_exeext conftest.$ac_ext
9154 fi # $ac_x_libraries = no
9156 case $ac_x_includes,$ac_x_libraries in #(
9157 no,* | *,no | *\'*)
9158 # Didn't find X, or a directory has "'" in its name.
9159 ac_cv_have_x="have_x=no";; #(
9161 # Record where we found X for the cache.
9162 ac_cv_have_x="have_x=yes\
9163 ac_x_includes='$ac_x_includes'\
9164 ac_x_libraries='$ac_x_libraries'"
9165 esac
9167 ;; #(
9168 *) have_x=yes;;
9169 esac
9170 eval "$ac_cv_have_x"
9171 fi # $with_x != no
9173 if test "$have_x" != yes; then
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9175 $as_echo "$have_x" >&6; }
9176 no_x=yes
9177 else
9178 # If each of the values was on the command line, it overrides each guess.
9179 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9180 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9181 # Update the cache value to reflect the command line values.
9182 ac_cv_have_x="have_x=yes\
9183 ac_x_includes='$x_includes'\
9184 ac_x_libraries='$x_libraries'"
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9186 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9189 if test "$no_x" = yes; then
9190 # Not all programs may use this symbol, but it does not hurt to define it.
9192 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9194 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9195 else
9196 if test -n "$x_includes"; then
9197 X_CFLAGS="$X_CFLAGS -I$x_includes"
9200 # It would also be nice to do this for all -L options, not just this one.
9201 if test -n "$x_libraries"; then
9202 X_LIBS="$X_LIBS -L$x_libraries"
9203 # For Solaris; some versions of Sun CC require a space after -R and
9204 # others require no space. Words are not sufficient . . . .
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9206 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9207 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9208 ac_xsave_c_werror_flag=$ac_c_werror_flag
9209 ac_c_werror_flag=yes
9210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9211 /* end confdefs.h. */
9214 main ()
9218 return 0;
9220 _ACEOF
9221 if ac_fn_c_try_link "$LINENO"; then :
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9223 $as_echo "no" >&6; }
9224 X_LIBS="$X_LIBS -R$x_libraries"
9225 else
9226 LIBS="$ac_xsave_LIBS -R $x_libraries"
9227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9228 /* end confdefs.h. */
9231 main ()
9235 return 0;
9237 _ACEOF
9238 if ac_fn_c_try_link "$LINENO"; then :
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9240 $as_echo "yes" >&6; }
9241 X_LIBS="$X_LIBS -R $x_libraries"
9242 else
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9244 $as_echo "neither works" >&6; }
9246 rm -f core conftest.err conftest.$ac_objext \
9247 conftest$ac_exeext conftest.$ac_ext
9249 rm -f core conftest.err conftest.$ac_objext \
9250 conftest$ac_exeext conftest.$ac_ext
9251 ac_c_werror_flag=$ac_xsave_c_werror_flag
9252 LIBS=$ac_xsave_LIBS
9255 # Check for system-dependent libraries X programs must link with.
9256 # Do this before checking for the system-independent R6 libraries
9257 # (-lICE), since we may need -lsocket or whatever for X linking.
9259 if test "$ISC" = yes; then
9260 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9261 else
9262 # Martyn Johnson says this is needed for Ultrix, if the X
9263 # libraries were built with DECnet support. And Karl Berry says
9264 # the Alpha needs dnet_stub (dnet does not exist).
9265 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9267 /* end confdefs.h. */
9269 /* Override any GCC internal prototype to avoid an error.
9270 Use char because int might match the return type of a GCC
9271 builtin and then its argument prototype would still apply. */
9272 #ifdef __cplusplus
9273 extern "C"
9274 #endif
9275 char XOpenDisplay ();
9277 main ()
9279 return XOpenDisplay ();
9281 return 0;
9283 _ACEOF
9284 if ac_fn_c_try_link "$LINENO"; then :
9286 else
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9288 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9289 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9290 $as_echo_n "(cached) " >&6
9291 else
9292 ac_check_lib_save_LIBS=$LIBS
9293 LIBS="-ldnet $LIBS"
9294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9295 /* end confdefs.h. */
9297 /* Override any GCC internal prototype to avoid an error.
9298 Use char because int might match the return type of a GCC
9299 builtin and then its argument prototype would still apply. */
9300 #ifdef __cplusplus
9301 extern "C"
9302 #endif
9303 char dnet_ntoa ();
9305 main ()
9307 return dnet_ntoa ();
9309 return 0;
9311 _ACEOF
9312 if ac_fn_c_try_link "$LINENO"; then :
9313 ac_cv_lib_dnet_dnet_ntoa=yes
9314 else
9315 ac_cv_lib_dnet_dnet_ntoa=no
9317 rm -f core conftest.err conftest.$ac_objext \
9318 conftest$ac_exeext conftest.$ac_ext
9319 LIBS=$ac_check_lib_save_LIBS
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9322 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9323 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9324 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9327 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9329 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9330 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9331 $as_echo_n "(cached) " >&6
9332 else
9333 ac_check_lib_save_LIBS=$LIBS
9334 LIBS="-ldnet_stub $LIBS"
9335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9336 /* end confdefs.h. */
9338 /* Override any GCC internal prototype to avoid an error.
9339 Use char because int might match the return type of a GCC
9340 builtin and then its argument prototype would still apply. */
9341 #ifdef __cplusplus
9342 extern "C"
9343 #endif
9344 char dnet_ntoa ();
9346 main ()
9348 return dnet_ntoa ();
9350 return 0;
9352 _ACEOF
9353 if ac_fn_c_try_link "$LINENO"; then :
9354 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9355 else
9356 ac_cv_lib_dnet_stub_dnet_ntoa=no
9358 rm -f core conftest.err conftest.$ac_objext \
9359 conftest$ac_exeext conftest.$ac_ext
9360 LIBS=$ac_check_lib_save_LIBS
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9363 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9364 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9365 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9370 rm -f core conftest.err conftest.$ac_objext \
9371 conftest$ac_exeext conftest.$ac_ext
9372 LIBS="$ac_xsave_LIBS"
9374 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9375 # to get the SysV transport functions.
9376 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9377 # needs -lnsl.
9378 # The nsl library prevents programs from opening the X display
9379 # on Irix 5.2, according to T.E. Dickey.
9380 # The functions gethostbyname, getservbyname, and inet_addr are
9381 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9382 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9383 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9387 if test $ac_cv_func_gethostbyname = no; then
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9389 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9390 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9391 $as_echo_n "(cached) " >&6
9392 else
9393 ac_check_lib_save_LIBS=$LIBS
9394 LIBS="-lnsl $LIBS"
9395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9396 /* end confdefs.h. */
9398 /* Override any GCC internal prototype to avoid an error.
9399 Use char because int might match the return type of a GCC
9400 builtin and then its argument prototype would still apply. */
9401 #ifdef __cplusplus
9402 extern "C"
9403 #endif
9404 char gethostbyname ();
9406 main ()
9408 return gethostbyname ();
9410 return 0;
9412 _ACEOF
9413 if ac_fn_c_try_link "$LINENO"; then :
9414 ac_cv_lib_nsl_gethostbyname=yes
9415 else
9416 ac_cv_lib_nsl_gethostbyname=no
9418 rm -f core conftest.err conftest.$ac_objext \
9419 conftest$ac_exeext conftest.$ac_ext
9420 LIBS=$ac_check_lib_save_LIBS
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9423 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9424 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9425 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9428 if test $ac_cv_lib_nsl_gethostbyname = no; then
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9430 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9431 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9432 $as_echo_n "(cached) " >&6
9433 else
9434 ac_check_lib_save_LIBS=$LIBS
9435 LIBS="-lbsd $LIBS"
9436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9437 /* end confdefs.h. */
9439 /* Override any GCC internal prototype to avoid an error.
9440 Use char because int might match the return type of a GCC
9441 builtin and then its argument prototype would still apply. */
9442 #ifdef __cplusplus
9443 extern "C"
9444 #endif
9445 char gethostbyname ();
9447 main ()
9449 return gethostbyname ();
9451 return 0;
9453 _ACEOF
9454 if ac_fn_c_try_link "$LINENO"; then :
9455 ac_cv_lib_bsd_gethostbyname=yes
9456 else
9457 ac_cv_lib_bsd_gethostbyname=no
9459 rm -f core conftest.err conftest.$ac_objext \
9460 conftest$ac_exeext conftest.$ac_ext
9461 LIBS=$ac_check_lib_save_LIBS
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9464 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9465 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9466 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9472 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9473 # socket/setsockopt and other routines are undefined under SCO ODT
9474 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9475 # on later versions), says Simon Leinen: it contains gethostby*
9476 # variants that don't use the name server (or something). -lsocket
9477 # must be given before -lnsl if both are needed. We assume that
9478 # if connect needs -lnsl, so does gethostbyname.
9479 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9480 if test "x$ac_cv_func_connect" = xyes; then :
9484 if test $ac_cv_func_connect = no; then
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9486 $as_echo_n "checking for connect in -lsocket... " >&6; }
9487 if ${ac_cv_lib_socket_connect+:} false; then :
9488 $as_echo_n "(cached) " >&6
9489 else
9490 ac_check_lib_save_LIBS=$LIBS
9491 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9493 /* end confdefs.h. */
9495 /* Override any GCC internal prototype to avoid an error.
9496 Use char because int might match the return type of a GCC
9497 builtin and then its argument prototype would still apply. */
9498 #ifdef __cplusplus
9499 extern "C"
9500 #endif
9501 char connect ();
9503 main ()
9505 return connect ();
9507 return 0;
9509 _ACEOF
9510 if ac_fn_c_try_link "$LINENO"; then :
9511 ac_cv_lib_socket_connect=yes
9512 else
9513 ac_cv_lib_socket_connect=no
9515 rm -f core conftest.err conftest.$ac_objext \
9516 conftest$ac_exeext conftest.$ac_ext
9517 LIBS=$ac_check_lib_save_LIBS
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9520 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9521 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9522 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9527 # Guillermo Gomez says -lposix is necessary on A/UX.
9528 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9529 if test "x$ac_cv_func_remove" = xyes; then :
9533 if test $ac_cv_func_remove = no; then
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9535 $as_echo_n "checking for remove in -lposix... " >&6; }
9536 if ${ac_cv_lib_posix_remove+:} false; then :
9537 $as_echo_n "(cached) " >&6
9538 else
9539 ac_check_lib_save_LIBS=$LIBS
9540 LIBS="-lposix $LIBS"
9541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9542 /* end confdefs.h. */
9544 /* Override any GCC internal prototype to avoid an error.
9545 Use char because int might match the return type of a GCC
9546 builtin and then its argument prototype would still apply. */
9547 #ifdef __cplusplus
9548 extern "C"
9549 #endif
9550 char remove ();
9552 main ()
9554 return remove ();
9556 return 0;
9558 _ACEOF
9559 if ac_fn_c_try_link "$LINENO"; then :
9560 ac_cv_lib_posix_remove=yes
9561 else
9562 ac_cv_lib_posix_remove=no
9564 rm -f core conftest.err conftest.$ac_objext \
9565 conftest$ac_exeext conftest.$ac_ext
9566 LIBS=$ac_check_lib_save_LIBS
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9569 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9570 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9571 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9576 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9577 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9578 if test "x$ac_cv_func_shmat" = xyes; then :
9582 if test $ac_cv_func_shmat = no; then
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9584 $as_echo_n "checking for shmat in -lipc... " >&6; }
9585 if ${ac_cv_lib_ipc_shmat+:} false; then :
9586 $as_echo_n "(cached) " >&6
9587 else
9588 ac_check_lib_save_LIBS=$LIBS
9589 LIBS="-lipc $LIBS"
9590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9591 /* end confdefs.h. */
9593 /* Override any GCC internal prototype to avoid an error.
9594 Use char because int might match the return type of a GCC
9595 builtin and then its argument prototype would still apply. */
9596 #ifdef __cplusplus
9597 extern "C"
9598 #endif
9599 char shmat ();
9601 main ()
9603 return shmat ();
9605 return 0;
9607 _ACEOF
9608 if ac_fn_c_try_link "$LINENO"; then :
9609 ac_cv_lib_ipc_shmat=yes
9610 else
9611 ac_cv_lib_ipc_shmat=no
9613 rm -f core conftest.err conftest.$ac_objext \
9614 conftest$ac_exeext conftest.$ac_ext
9615 LIBS=$ac_check_lib_save_LIBS
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9618 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9619 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9620 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9626 # Check for libraries that X11R6 Xt/Xaw programs need.
9627 ac_save_LDFLAGS=$LDFLAGS
9628 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9629 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9630 # check for ICE first), but we must link in the order -lSM -lICE or
9631 # we get undefined symbols. So assume we have SM if we have ICE.
9632 # These have to be linked with before -lX11, unlike the other
9633 # libraries we check for below, so use a different variable.
9634 # John Interrante, Karl Berry
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9636 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9637 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9638 $as_echo_n "(cached) " >&6
9639 else
9640 ac_check_lib_save_LIBS=$LIBS
9641 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9643 /* end confdefs.h. */
9645 /* Override any GCC internal prototype to avoid an error.
9646 Use char because int might match the return type of a GCC
9647 builtin and then its argument prototype would still apply. */
9648 #ifdef __cplusplus
9649 extern "C"
9650 #endif
9651 char IceConnectionNumber ();
9653 main ()
9655 return IceConnectionNumber ();
9657 return 0;
9659 _ACEOF
9660 if ac_fn_c_try_link "$LINENO"; then :
9661 ac_cv_lib_ICE_IceConnectionNumber=yes
9662 else
9663 ac_cv_lib_ICE_IceConnectionNumber=no
9665 rm -f core conftest.err conftest.$ac_objext \
9666 conftest$ac_exeext conftest.$ac_ext
9667 LIBS=$ac_check_lib_save_LIBS
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9670 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9671 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9672 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9675 LDFLAGS=$ac_save_LDFLAGS
9680 if test "$have_x" = "yes"
9681 then
9682 ac_save_CPPFLAGS="$CPPFLAGS"
9683 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9686 $as_echo_n "checking for -lX11... " >&6; }
9687 if ${ac_cv_lib_soname_X11+:} false; then :
9688 $as_echo_n "(cached) " >&6
9689 else
9690 ac_check_soname_save_LIBS=$LIBS
9691 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9693 /* end confdefs.h. */
9695 /* Override any GCC internal prototype to avoid an error.
9696 Use char because int might match the return type of a GCC
9697 builtin and then its argument prototype would still apply. */
9698 #ifdef __cplusplus
9699 extern "C"
9700 #endif
9701 char XCreateWindow ();
9703 main ()
9705 return XCreateWindow ();
9707 return 0;
9709 _ACEOF
9710 if ac_fn_c_try_link "$LINENO"; then :
9711 case "$LIBEXT" in
9712 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9713 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'` ;;
9714 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9715 if ${ac_cv_lib_soname_X11:+false} :; then :
9716 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9717 fi ;;
9718 esac
9720 rm -f core conftest.err conftest.$ac_objext \
9721 conftest$ac_exeext conftest.$ac_ext
9722 LIBS=$ac_check_soname_save_LIBS
9724 if ${ac_cv_lib_soname_X11:+false} :; then :
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9726 $as_echo "not found" >&6; }
9728 else
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9730 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9732 cat >>confdefs.h <<_ACEOF
9733 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9734 _ACEOF
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9739 $as_echo_n "checking for -lXext... " >&6; }
9740 if ${ac_cv_lib_soname_Xext+:} false; then :
9741 $as_echo_n "(cached) " >&6
9742 else
9743 ac_check_soname_save_LIBS=$LIBS
9744 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9746 /* end confdefs.h. */
9748 /* Override any GCC internal prototype to avoid an error.
9749 Use char because int might match the return type of a GCC
9750 builtin and then its argument prototype would still apply. */
9751 #ifdef __cplusplus
9752 extern "C"
9753 #endif
9754 char XextCreateExtension ();
9756 main ()
9758 return XextCreateExtension ();
9760 return 0;
9762 _ACEOF
9763 if ac_fn_c_try_link "$LINENO"; then :
9764 case "$LIBEXT" in
9765 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9766 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'` ;;
9767 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9768 if ${ac_cv_lib_soname_Xext:+false} :; then :
9769 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9770 fi ;;
9771 esac
9773 rm -f core conftest.err conftest.$ac_objext \
9774 conftest$ac_exeext conftest.$ac_ext
9775 LIBS=$ac_check_soname_save_LIBS
9777 if ${ac_cv_lib_soname_Xext:+false} :; then :
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9779 $as_echo "not found" >&6; }
9781 else
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9783 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9785 cat >>confdefs.h <<_ACEOF
9786 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9787 _ACEOF
9789 X_LIBS="$X_LIBS -lXext"
9791 X_LIBS="$X_LIBS -lX11"
9793 for ac_header in X11/Xlib.h \
9794 X11/XKBlib.h \
9795 X11/Xutil.h \
9796 X11/Xcursor/Xcursor.h \
9797 X11/extensions/shape.h \
9798 X11/extensions/XInput.h \
9799 X11/extensions/XInput2.h \
9800 X11/extensions/XShm.h \
9801 X11/extensions/Xcomposite.h \
9802 X11/extensions/Xfixes.h \
9803 X11/extensions/Xinerama.h \
9804 X11/extensions/Xrandr.h \
9805 X11/extensions/Xrender.h \
9806 X11/extensions/xf86vmode.h \
9807 X11/extensions/xf86vmproto.h
9808 do :
9809 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9810 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9811 # include <X11/Xlib.h>
9812 #endif
9813 #ifdef HAVE_X11_XUTIL_H
9814 # include <X11/Xutil.h>
9815 #endif
9817 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9818 cat >>confdefs.h <<_ACEOF
9819 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9820 _ACEOF
9824 done
9827 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9828 then
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9830 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9831 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9832 $as_echo_n "(cached) " >&6
9833 else
9834 ac_check_lib_save_LIBS=$LIBS
9835 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9837 /* end confdefs.h. */
9839 /* Override any GCC internal prototype to avoid an error.
9840 Use char because int might match the return type of a GCC
9841 builtin and then its argument prototype would still apply. */
9842 #ifdef __cplusplus
9843 extern "C"
9844 #endif
9845 char XkbQueryExtension ();
9847 main ()
9849 return XkbQueryExtension ();
9851 return 0;
9853 _ACEOF
9854 if ac_fn_c_try_link "$LINENO"; then :
9855 ac_cv_lib_X11_XkbQueryExtension=yes
9856 else
9857 ac_cv_lib_X11_XkbQueryExtension=no
9859 rm -f core conftest.err conftest.$ac_objext \
9860 conftest$ac_exeext conftest.$ac_ext
9861 LIBS=$ac_check_lib_save_LIBS
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9864 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9865 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9867 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9873 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9874 then
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9876 $as_echo_n "checking for -lXcursor... " >&6; }
9877 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9878 $as_echo_n "(cached) " >&6
9879 else
9880 ac_check_soname_save_LIBS=$LIBS
9881 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9883 /* end confdefs.h. */
9885 /* Override any GCC internal prototype to avoid an error.
9886 Use char because int might match the return type of a GCC
9887 builtin and then its argument prototype would still apply. */
9888 #ifdef __cplusplus
9889 extern "C"
9890 #endif
9891 char XcursorImageLoadCursor ();
9893 main ()
9895 return XcursorImageLoadCursor ();
9897 return 0;
9899 _ACEOF
9900 if ac_fn_c_try_link "$LINENO"; then :
9901 case "$LIBEXT" in
9902 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9903 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'` ;;
9904 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9905 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9906 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9907 fi ;;
9908 esac
9910 rm -f core conftest.err conftest.$ac_objext \
9911 conftest$ac_exeext conftest.$ac_ext
9912 LIBS=$ac_check_soname_save_LIBS
9914 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9916 $as_echo "not found" >&6; }
9918 else
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9920 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9922 cat >>confdefs.h <<_ACEOF
9923 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9924 _ACEOF
9929 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9930 case "x$with_xcursor" in
9931 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9932 xno) ;;
9933 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9934 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9935 esac
9939 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9940 then
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9942 $as_echo_n "checking for -lXi... " >&6; }
9943 if ${ac_cv_lib_soname_Xi+:} false; then :
9944 $as_echo_n "(cached) " >&6
9945 else
9946 ac_check_soname_save_LIBS=$LIBS
9947 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9949 /* end confdefs.h. */
9951 /* Override any GCC internal prototype to avoid an error.
9952 Use char because int might match the return type of a GCC
9953 builtin and then its argument prototype would still apply. */
9954 #ifdef __cplusplus
9955 extern "C"
9956 #endif
9957 char XOpenDevice ();
9959 main ()
9961 return XOpenDevice ();
9963 return 0;
9965 _ACEOF
9966 if ac_fn_c_try_link "$LINENO"; then :
9967 case "$LIBEXT" in
9968 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9969 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'` ;;
9970 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9971 if ${ac_cv_lib_soname_Xi:+false} :; then :
9972 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9973 fi ;;
9974 esac
9976 rm -f core conftest.err conftest.$ac_objext \
9977 conftest$ac_exeext conftest.$ac_ext
9978 LIBS=$ac_check_soname_save_LIBS
9980 if ${ac_cv_lib_soname_Xi:+false} :; then :
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9982 $as_echo "not found" >&6; }
9984 else
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9986 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9988 cat >>confdefs.h <<_ACEOF
9989 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9990 _ACEOF
9995 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9996 case "x$with_xinput" in
9997 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9998 xno) ;;
9999 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10000 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10001 esac
10005 if test "x$ac_cv_lib_soname_Xi" != x
10006 then
10007 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10008 case "x$with_xinput2" in
10009 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10010 xno) ;;
10011 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10012 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10013 esac
10018 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10019 then
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10021 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10022 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10023 $as_echo_n "(cached) " >&6
10024 else
10025 ac_check_lib_save_LIBS=$LIBS
10026 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10030 /* Override any GCC internal prototype to avoid an error.
10031 Use char because int might match the return type of a GCC
10032 builtin and then its argument prototype would still apply. */
10033 #ifdef __cplusplus
10034 extern "C"
10035 #endif
10036 char XShmQueryExtension ();
10038 main ()
10040 return XShmQueryExtension ();
10042 return 0;
10044 _ACEOF
10045 if ac_fn_c_try_link "$LINENO"; then :
10046 ac_cv_lib_Xext_XShmQueryExtension=yes
10047 else
10048 ac_cv_lib_Xext_XShmQueryExtension=no
10050 rm -f core conftest.err conftest.$ac_objext \
10051 conftest$ac_exeext conftest.$ac_ext
10052 LIBS=$ac_check_lib_save_LIBS
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10055 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10056 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10058 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10063 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10064 case "x$with_xshm" in
10065 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10066 xno) ;;
10067 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10068 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10069 esac
10073 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10074 then
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10076 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10077 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10078 $as_echo_n "(cached) " >&6
10079 else
10080 ac_check_lib_save_LIBS=$LIBS
10081 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10083 /* end confdefs.h. */
10085 /* Override any GCC internal prototype to avoid an error.
10086 Use char because int might match the return type of a GCC
10087 builtin and then its argument prototype would still apply. */
10088 #ifdef __cplusplus
10089 extern "C"
10090 #endif
10091 char XShapeQueryExtension ();
10093 main ()
10095 return XShapeQueryExtension ();
10097 return 0;
10099 _ACEOF
10100 if ac_fn_c_try_link "$LINENO"; then :
10101 ac_cv_lib_Xext_XShapeQueryExtension=yes
10102 else
10103 ac_cv_lib_Xext_XShapeQueryExtension=no
10105 rm -f core conftest.err conftest.$ac_objext \
10106 conftest$ac_exeext conftest.$ac_ext
10107 LIBS=$ac_check_lib_save_LIBS
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10110 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10111 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10113 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10118 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10119 case "x$with_xshape" in
10120 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10121 xno) ;;
10122 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10123 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10124 esac
10128 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10129 then
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10131 $as_echo_n "checking for -lXxf86vm... " >&6; }
10132 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10133 $as_echo_n "(cached) " >&6
10134 else
10135 ac_check_soname_save_LIBS=$LIBS
10136 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10138 /* end confdefs.h. */
10140 /* Override any GCC internal prototype to avoid an error.
10141 Use char because int might match the return type of a GCC
10142 builtin and then its argument prototype would still apply. */
10143 #ifdef __cplusplus
10144 extern "C"
10145 #endif
10146 char XF86VidModeQueryExtension ();
10148 main ()
10150 return XF86VidModeQueryExtension ();
10152 return 0;
10154 _ACEOF
10155 if ac_fn_c_try_link "$LINENO"; then :
10156 case "$LIBEXT" in
10157 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10158 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'` ;;
10159 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10160 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10161 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10162 fi ;;
10163 esac
10165 rm -f core conftest.err conftest.$ac_objext \
10166 conftest$ac_exeext conftest.$ac_ext
10167 LIBS=$ac_check_soname_save_LIBS
10169 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10171 $as_echo "not found" >&6; }
10173 else
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10175 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10177 cat >>confdefs.h <<_ACEOF
10178 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10179 _ACEOF
10184 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10185 case "x$with_xxf86vm" in
10186 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10187 xno) ;;
10188 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10189 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10190 esac
10194 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10195 then
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10197 $as_echo_n "checking for -lXrender... " >&6; }
10198 if ${ac_cv_lib_soname_Xrender+:} false; then :
10199 $as_echo_n "(cached) " >&6
10200 else
10201 ac_check_soname_save_LIBS=$LIBS
10202 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10204 /* end confdefs.h. */
10206 /* Override any GCC internal prototype to avoid an error.
10207 Use char because int might match the return type of a GCC
10208 builtin and then its argument prototype would still apply. */
10209 #ifdef __cplusplus
10210 extern "C"
10211 #endif
10212 char XRenderQueryExtension ();
10214 main ()
10216 return XRenderQueryExtension ();
10218 return 0;
10220 _ACEOF
10221 if ac_fn_c_try_link "$LINENO"; then :
10222 case "$LIBEXT" in
10223 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10224 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'` ;;
10225 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10226 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10227 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10228 fi ;;
10229 esac
10231 rm -f core conftest.err conftest.$ac_objext \
10232 conftest$ac_exeext conftest.$ac_ext
10233 LIBS=$ac_check_soname_save_LIBS
10235 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10237 $as_echo "not found" >&6; }
10239 else
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10241 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10243 cat >>confdefs.h <<_ACEOF
10244 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10245 _ACEOF
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10248 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10249 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10250 $as_echo_n "(cached) " >&6
10251 else
10252 ac_check_lib_save_LIBS=$LIBS
10253 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10257 /* Override any GCC internal prototype to avoid an error.
10258 Use char because int might match the return type of a GCC
10259 builtin and then its argument prototype would still apply. */
10260 #ifdef __cplusplus
10261 extern "C"
10262 #endif
10263 char XRenderSetPictureTransform ();
10265 main ()
10267 return XRenderSetPictureTransform ();
10269 return 0;
10271 _ACEOF
10272 if ac_fn_c_try_link "$LINENO"; then :
10273 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10274 else
10275 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10277 rm -f core conftest.err conftest.$ac_objext \
10278 conftest$ac_exeext conftest.$ac_ext
10279 LIBS=$ac_check_lib_save_LIBS
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10282 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10283 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10285 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10290 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10291 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10292 $as_echo_n "(cached) " >&6
10293 else
10294 ac_check_lib_save_LIBS=$LIBS
10295 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10299 /* Override any GCC internal prototype to avoid an error.
10300 Use char because int might match the return type of a GCC
10301 builtin and then its argument prototype would still apply. */
10302 #ifdef __cplusplus
10303 extern "C"
10304 #endif
10305 char XRenderCreateLinearGradient ();
10307 main ()
10309 return XRenderCreateLinearGradient ();
10311 return 0;
10313 _ACEOF
10314 if ac_fn_c_try_link "$LINENO"; then :
10315 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10316 else
10317 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10319 rm -f core conftest.err conftest.$ac_objext \
10320 conftest$ac_exeext conftest.$ac_ext
10321 LIBS=$ac_check_lib_save_LIBS
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10324 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10325 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10327 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10334 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10335 case "x$with_xrender" in
10336 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10337 xno) ;;
10338 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10339 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10340 esac
10344 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10345 then
10346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10347 /* end confdefs.h. */
10348 #include <X11/Xlib.h>
10349 #include <X11/extensions/Xrandr.h>
10351 main ()
10353 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10355 return 0;
10357 _ACEOF
10358 if ac_fn_c_try_compile "$LINENO"; then :
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10360 $as_echo_n "checking for -lXrandr... " >&6; }
10361 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10362 $as_echo_n "(cached) " >&6
10363 else
10364 ac_check_soname_save_LIBS=$LIBS
10365 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10367 /* end confdefs.h. */
10369 /* Override any GCC internal prototype to avoid an error.
10370 Use char because int might match the return type of a GCC
10371 builtin and then its argument prototype would still apply. */
10372 #ifdef __cplusplus
10373 extern "C"
10374 #endif
10375 char XRRQueryExtension ();
10377 main ()
10379 return XRRQueryExtension ();
10381 return 0;
10383 _ACEOF
10384 if ac_fn_c_try_link "$LINENO"; then :
10385 case "$LIBEXT" in
10386 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10387 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'` ;;
10388 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10389 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10390 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10391 fi ;;
10392 esac
10394 rm -f core conftest.err conftest.$ac_objext \
10395 conftest$ac_exeext conftest.$ac_ext
10396 LIBS=$ac_check_soname_save_LIBS
10398 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10400 $as_echo "not found" >&6; }
10402 else
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10404 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10406 cat >>confdefs.h <<_ACEOF
10407 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10408 _ACEOF
10410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10411 /* end confdefs.h. */
10412 #include <X11/Xlib.h>
10413 #include <X11/extensions/Xrandr.h>
10415 main ()
10417 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10419 return 0;
10421 _ACEOF
10422 if ac_fn_c_try_compile "$LINENO"; then :
10424 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10432 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10433 case "x$with_xrandr" in
10434 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10435 xno) ;;
10436 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10437 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10438 esac
10442 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10443 then
10444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10445 /* end confdefs.h. */
10446 #include <X11/Xlib.h>
10447 #include <X11/extensions/Xfixes.h>
10449 main ()
10451 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10453 return 0;
10455 _ACEOF
10456 if ac_fn_c_try_compile "$LINENO"; then :
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10458 $as_echo_n "checking for -lXfixes... " >&6; }
10459 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10460 $as_echo_n "(cached) " >&6
10461 else
10462 ac_check_soname_save_LIBS=$LIBS
10463 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10465 /* end confdefs.h. */
10467 /* Override any GCC internal prototype to avoid an error.
10468 Use char because int might match the return type of a GCC
10469 builtin and then its argument prototype would still apply. */
10470 #ifdef __cplusplus
10471 extern "C"
10472 #endif
10473 char XFixesQueryVersion ();
10475 main ()
10477 return XFixesQueryVersion ();
10479 return 0;
10481 _ACEOF
10482 if ac_fn_c_try_link "$LINENO"; then :
10483 case "$LIBEXT" in
10484 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10485 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'` ;;
10486 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10487 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10488 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10489 fi ;;
10490 esac
10492 rm -f core conftest.err conftest.$ac_objext \
10493 conftest$ac_exeext conftest.$ac_ext
10494 LIBS=$ac_check_soname_save_LIBS
10496 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10498 $as_echo "not found" >&6; }
10500 else
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10502 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10504 cat >>confdefs.h <<_ACEOF
10505 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10506 _ACEOF
10511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10513 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10514 case "x$with_xfixes" in
10515 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10516 xno) ;;
10517 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10518 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10519 esac
10523 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10524 then
10525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10526 /* end confdefs.h. */
10527 #include <X11/Xlib.h>
10528 #include <X11/extensions/Xinerama.h>
10530 main ()
10532 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10534 return 0;
10536 _ACEOF
10537 if ac_fn_c_try_compile "$LINENO"; then :
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10539 $as_echo_n "checking for -lXinerama... " >&6; }
10540 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10541 $as_echo_n "(cached) " >&6
10542 else
10543 ac_check_soname_save_LIBS=$LIBS
10544 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10546 /* end confdefs.h. */
10548 /* Override any GCC internal prototype to avoid an error.
10549 Use char because int might match the return type of a GCC
10550 builtin and then its argument prototype would still apply. */
10551 #ifdef __cplusplus
10552 extern "C"
10553 #endif
10554 char XineramaQueryScreens ();
10556 main ()
10558 return XineramaQueryScreens ();
10560 return 0;
10562 _ACEOF
10563 if ac_fn_c_try_link "$LINENO"; then :
10564 case "$LIBEXT" in
10565 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10566 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'` ;;
10567 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10568 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10569 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10570 fi ;;
10571 esac
10573 rm -f core conftest.err conftest.$ac_objext \
10574 conftest$ac_exeext conftest.$ac_ext
10575 LIBS=$ac_check_soname_save_LIBS
10577 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10579 $as_echo "not found" >&6; }
10581 else
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10583 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10585 cat >>confdefs.h <<_ACEOF
10586 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10587 _ACEOF
10592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10594 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10595 case "x$with_xinerama" in
10596 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10597 xno) ;;
10598 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10599 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10600 esac
10604 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10605 then
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10607 $as_echo_n "checking for -lXcomposite... " >&6; }
10608 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10609 $as_echo_n "(cached) " >&6
10610 else
10611 ac_check_soname_save_LIBS=$LIBS
10612 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10614 /* end confdefs.h. */
10616 /* Override any GCC internal prototype to avoid an error.
10617 Use char because int might match the return type of a GCC
10618 builtin and then its argument prototype would still apply. */
10619 #ifdef __cplusplus
10620 extern "C"
10621 #endif
10622 char XCompositeRedirectWindow ();
10624 main ()
10626 return XCompositeRedirectWindow ();
10628 return 0;
10630 _ACEOF
10631 if ac_fn_c_try_link "$LINENO"; then :
10632 case "$LIBEXT" in
10633 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10634 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'` ;;
10635 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10636 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10637 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10638 fi ;;
10639 esac
10641 rm -f core conftest.err conftest.$ac_objext \
10642 conftest$ac_exeext conftest.$ac_ext
10643 LIBS=$ac_check_soname_save_LIBS
10645 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10647 $as_echo "not found" >&6; }
10649 else
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10651 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10653 cat >>confdefs.h <<_ACEOF
10654 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10655 _ACEOF
10660 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10661 case "x$with_xcomposite" in
10662 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10663 xno) ;;
10664 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10665 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10666 esac
10670 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10671 #include <X11/Xlib.h>
10672 #endif
10674 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10676 cat >>confdefs.h <<_ACEOF
10677 #define HAVE_XICCALLBACK_CALLBACK 1
10678 _ACEOF
10682 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10683 #include <X11/Xlib.h>
10684 #endif
10686 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10688 cat >>confdefs.h <<_ACEOF
10689 #define HAVE_XEVENT_XCOOKIE 1
10690 _ACEOF
10697 opengl_msg=""
10698 if test "x$with_opengl" != "xno"
10699 then
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10701 $as_echo_n "checking for -lGL... " >&6; }
10702 if ${ac_cv_lib_soname_GL+:} false; then :
10703 $as_echo_n "(cached) " >&6
10704 else
10705 ac_check_soname_save_LIBS=$LIBS
10706 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10708 /* end confdefs.h. */
10710 /* Override any GCC internal prototype to avoid an error.
10711 Use char because int might match the return type of a GCC
10712 builtin and then its argument prototype would still apply. */
10713 #ifdef __cplusplus
10714 extern "C"
10715 #endif
10716 char glXCreateContext ();
10718 main ()
10720 return glXCreateContext ();
10722 return 0;
10724 _ACEOF
10725 if ac_fn_c_try_link "$LINENO"; then :
10726 case "$LIBEXT" in
10727 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10728 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'` ;;
10729 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10730 if ${ac_cv_lib_soname_GL:+false} :; then :
10731 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10732 fi ;;
10733 esac
10735 rm -f core conftest.err conftest.$ac_objext \
10736 conftest$ac_exeext conftest.$ac_ext
10737 LIBS=$ac_check_soname_save_LIBS
10739 if ${ac_cv_lib_soname_GL:+false} :; then :
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10741 $as_echo "not found" >&6; }
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10743 $as_echo_n "checking for -lGL... " >&6; }
10744 if ${ac_cv_lib_soname_GL+:} false; then :
10745 $as_echo_n "(cached) " >&6
10746 else
10747 ac_check_soname_save_LIBS=$LIBS
10748 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"
10749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10752 /* Override any GCC internal prototype to avoid an error.
10753 Use char because int might match the return type of a GCC
10754 builtin and then its argument prototype would still apply. */
10755 #ifdef __cplusplus
10756 extern "C"
10757 #endif
10758 char glXCreateContext ();
10760 main ()
10762 return glXCreateContext ();
10764 return 0;
10766 _ACEOF
10767 if ac_fn_c_try_link "$LINENO"; then :
10768 case "$LIBEXT" in
10769 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10770 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'` ;;
10771 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10772 if ${ac_cv_lib_soname_GL:+false} :; then :
10773 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10774 fi ;;
10775 esac
10777 rm -f core conftest.err conftest.$ac_objext \
10778 conftest$ac_exeext conftest.$ac_ext
10779 LIBS=$ac_check_soname_save_LIBS
10781 if ${ac_cv_lib_soname_GL:+false} :; then :
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10783 $as_echo "not found" >&6; }
10784 if test -f /usr/X11R6/lib/libGL.a
10785 then
10786 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10787 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10788 else
10789 opengl_msg="No OpenGL library found on this system."
10791 else
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10793 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10795 cat >>confdefs.h <<_ACEOF
10796 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10797 _ACEOF
10799 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"
10801 else
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10803 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10805 cat >>confdefs.h <<_ACEOF
10806 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10807 _ACEOF
10809 OPENGL_LIBS="-lGL"
10811 if test "x$with_glu" != "xno"
10812 then
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10814 $as_echo_n "checking for -lGLU... " >&6; }
10815 if ${ac_cv_lib_soname_GLU+:} false; then :
10816 $as_echo_n "(cached) " >&6
10817 else
10818 ac_check_soname_save_LIBS=$LIBS
10819 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10821 /* end confdefs.h. */
10823 /* Override any GCC internal prototype to avoid an error.
10824 Use char because int might match the return type of a GCC
10825 builtin and then its argument prototype would still apply. */
10826 #ifdef __cplusplus
10827 extern "C"
10828 #endif
10829 char gluLookAt ();
10831 main ()
10833 return gluLookAt ();
10835 return 0;
10837 _ACEOF
10838 if ac_fn_c_try_link "$LINENO"; then :
10839 case "$LIBEXT" in
10840 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10841 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'` ;;
10842 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10843 if ${ac_cv_lib_soname_GLU:+false} :; then :
10844 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10845 fi ;;
10846 esac
10848 rm -f core conftest.err conftest.$ac_objext \
10849 conftest$ac_exeext conftest.$ac_ext
10850 LIBS=$ac_check_soname_save_LIBS
10852 if ${ac_cv_lib_soname_GLU:+false} :; then :
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10854 $as_echo "not found" >&6; }
10856 else
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10858 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10860 cat >>confdefs.h <<_ACEOF
10861 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10862 _ACEOF
10866 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10867 case "x$with_glu" in
10868 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10869 xno) ;;
10870 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10871 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10872 esac
10877 if test "x$with_osmesa" != "xno"
10878 then
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10880 $as_echo_n "checking for -lOSMesa... " >&6; }
10881 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10882 $as_echo_n "(cached) " >&6
10883 else
10884 ac_check_soname_save_LIBS=$LIBS
10885 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10887 /* end confdefs.h. */
10889 /* Override any GCC internal prototype to avoid an error.
10890 Use char because int might match the return type of a GCC
10891 builtin and then its argument prototype would still apply. */
10892 #ifdef __cplusplus
10893 extern "C"
10894 #endif
10895 char OSMesaGetProcAddress ();
10897 main ()
10899 return OSMesaGetProcAddress ();
10901 return 0;
10903 _ACEOF
10904 if ac_fn_c_try_link "$LINENO"; then :
10905 case "$LIBEXT" in
10906 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10907 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'` ;;
10908 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10909 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10910 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10911 fi ;;
10912 esac
10914 rm -f core conftest.err conftest.$ac_objext \
10915 conftest$ac_exeext conftest.$ac_ext
10916 LIBS=$ac_check_soname_save_LIBS
10918 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10920 $as_echo "not found" >&6; }
10922 else
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10924 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10926 cat >>confdefs.h <<_ACEOF
10927 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10928 _ACEOF
10932 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10933 case "x$with_osmesa" in
10934 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10935 xno) ;;
10936 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10937 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10938 esac
10943 if test -n "$opengl_msg"; then :
10944 case "x$with_opengl" in
10945 x) as_fn_append wine_warnings "|$opengl_msg
10946 OpenGL and Direct3D won't be supported." ;;
10947 xno) ;;
10948 *) as_fn_error $? "$opengl_msg
10949 OpenGL and Direct3D won't be supported.
10950 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10951 esac
10955 CPPFLAGS="$ac_save_CPPFLAGS"
10956 else
10957 X_CFLAGS=""
10958 X_LIBS=""
10961 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10962 then
10963 if test "x$X_LIBS" = "x"; then :
10964 case "x$with_x" in
10965 xno) ;;
10966 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10967 without X support, which probably isn't what you want. You will need
10968 to install ${notice_platform}development packages of Xlib at the very least.
10969 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10970 esac
10971 enable_winex11_drv=${enable_winex11_drv:-no}
10973 else
10974 if test "x$X_LIBS" = "x"; then :
10975 case "x$with_x" in
10976 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10977 xno) ;;
10978 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10979 This is an error since --with-x was requested." "$LINENO" 5 ;;
10980 esac
10981 enable_winex11_drv=${enable_winex11_drv:-no}
10985 if test "$ac_cv_header_CL_cl_h" = "yes"
10986 then
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10988 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10989 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10990 $as_echo_n "(cached) " >&6
10991 else
10992 ac_check_lib_save_LIBS=$LIBS
10993 LIBS="-lOpenCL $LIBS"
10994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10995 /* end confdefs.h. */
10997 /* Override any GCC internal prototype to avoid an error.
10998 Use char because int might match the return type of a GCC
10999 builtin and then its argument prototype would still apply. */
11000 #ifdef __cplusplus
11001 extern "C"
11002 #endif
11003 char clGetPlatformInfo ();
11005 main ()
11007 return clGetPlatformInfo ();
11009 return 0;
11011 _ACEOF
11012 if ac_fn_c_try_link "$LINENO"; then :
11013 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11014 else
11015 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11017 rm -f core conftest.err conftest.$ac_objext \
11018 conftest$ac_exeext conftest.$ac_ext
11019 LIBS=$ac_check_lib_save_LIBS
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11022 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11023 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11024 OPENCL_LIBS="-lOpenCL"
11029 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11030 case "x$with_opencl" in
11031 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11032 xno) ;;
11033 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11034 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11035 esac
11036 enable_opencl=${enable_opencl:-no}
11039 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11040 then
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11042 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11043 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11044 $as_echo_n "(cached) " >&6
11045 else
11046 ac_check_lib_save_LIBS=$LIBS
11047 LIBS="-lpcap $LIBS"
11048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11049 /* end confdefs.h. */
11051 /* Override any GCC internal prototype to avoid an error.
11052 Use char because int might match the return type of a GCC
11053 builtin and then its argument prototype would still apply. */
11054 #ifdef __cplusplus
11055 extern "C"
11056 #endif
11057 char pcap_create ();
11059 main ()
11061 return pcap_create ();
11063 return 0;
11065 _ACEOF
11066 if ac_fn_c_try_link "$LINENO"; then :
11067 ac_cv_lib_pcap_pcap_create=yes
11068 else
11069 ac_cv_lib_pcap_pcap_create=no
11071 rm -f core conftest.err conftest.$ac_objext \
11072 conftest$ac_exeext conftest.$ac_ext
11073 LIBS=$ac_check_lib_save_LIBS
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11076 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11077 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11078 PCAP_LIBS="-lpcap"
11083 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11084 case "x$with_pcap" in
11085 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11086 xno) ;;
11087 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11088 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11089 esac
11090 enable_wpcap=${enable_wpcap:-no}
11094 if test "x$with_xml" != "xno"
11095 then
11096 if ${XML2_CFLAGS:+false} :; then :
11097 if ${PKG_CONFIG+:} false; then :
11098 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11101 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11102 if ${XML2_LIBS:+false} :; then :
11103 if ${PKG_CONFIG+:} false; then :
11104 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11107 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11108 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11109 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11110 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11111 ac_save_CPPFLAGS=$CPPFLAGS
11112 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11113 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11114 do :
11115 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11116 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11117 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11118 cat >>confdefs.h <<_ACEOF
11119 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11120 _ACEOF
11124 done
11126 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"
11127 then
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11129 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11130 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11131 $as_echo_n "(cached) " >&6
11132 else
11133 ac_check_lib_save_LIBS=$LIBS
11134 LIBS="-lxml2 $XML2_LIBS $LIBS"
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11138 /* Override any GCC internal prototype to avoid an error.
11139 Use char because int might match the return type of a GCC
11140 builtin and then its argument prototype would still apply. */
11141 #ifdef __cplusplus
11142 extern "C"
11143 #endif
11144 char xmlParseMemory ();
11146 main ()
11148 return xmlParseMemory ();
11150 return 0;
11152 _ACEOF
11153 if ac_fn_c_try_link "$LINENO"; then :
11154 ac_cv_lib_xml2_xmlParseMemory=yes
11155 else
11156 ac_cv_lib_xml2_xmlParseMemory=no
11158 rm -f core conftest.err conftest.$ac_objext \
11159 conftest$ac_exeext conftest.$ac_ext
11160 LIBS=$ac_check_lib_save_LIBS
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11163 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11164 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11166 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11168 else
11169 XML2_LIBS=""
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11173 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11174 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11175 $as_echo_n "(cached) " >&6
11176 else
11177 ac_check_lib_save_LIBS=$LIBS
11178 LIBS="-lxml2 $XML2_LIBS $LIBS"
11179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11180 /* end confdefs.h. */
11182 /* Override any GCC internal prototype to avoid an error.
11183 Use char because int might match the return type of a GCC
11184 builtin and then its argument prototype would still apply. */
11185 #ifdef __cplusplus
11186 extern "C"
11187 #endif
11188 char xmlReadMemory ();
11190 main ()
11192 return xmlReadMemory ();
11194 return 0;
11196 _ACEOF
11197 if ac_fn_c_try_link "$LINENO"; then :
11198 ac_cv_lib_xml2_xmlReadMemory=yes
11199 else
11200 ac_cv_lib_xml2_xmlReadMemory=no
11202 rm -f core conftest.err conftest.$ac_objext \
11203 conftest$ac_exeext conftest.$ac_ext
11204 LIBS=$ac_check_lib_save_LIBS
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11207 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11208 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11210 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11215 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11216 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11217 $as_echo_n "(cached) " >&6
11218 else
11219 ac_check_lib_save_LIBS=$LIBS
11220 LIBS="-lxml2 $XML2_LIBS $LIBS"
11221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11222 /* end confdefs.h. */
11224 /* Override any GCC internal prototype to avoid an error.
11225 Use char because int might match the return type of a GCC
11226 builtin and then its argument prototype would still apply. */
11227 #ifdef __cplusplus
11228 extern "C"
11229 #endif
11230 char xmlNewDocPI ();
11232 main ()
11234 return xmlNewDocPI ();
11236 return 0;
11238 _ACEOF
11239 if ac_fn_c_try_link "$LINENO"; then :
11240 ac_cv_lib_xml2_xmlNewDocPI=yes
11241 else
11242 ac_cv_lib_xml2_xmlNewDocPI=no
11244 rm -f core conftest.err conftest.$ac_objext \
11245 conftest$ac_exeext conftest.$ac_ext
11246 LIBS=$ac_check_lib_save_LIBS
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11249 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11250 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11252 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11257 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11258 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11259 $as_echo_n "(cached) " >&6
11260 else
11261 ac_check_lib_save_LIBS=$LIBS
11262 LIBS="-lxml2 $XML2_LIBS $LIBS"
11263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11264 /* end confdefs.h. */
11266 /* Override any GCC internal prototype to avoid an error.
11267 Use char because int might match the return type of a GCC
11268 builtin and then its argument prototype would still apply. */
11269 #ifdef __cplusplus
11270 extern "C"
11271 #endif
11272 char xmlSchemaSetParserStructuredErrors ();
11274 main ()
11276 return xmlSchemaSetParserStructuredErrors ();
11278 return 0;
11280 _ACEOF
11281 if ac_fn_c_try_link "$LINENO"; then :
11282 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11283 else
11284 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11286 rm -f core conftest.err conftest.$ac_objext \
11287 conftest$ac_exeext conftest.$ac_ext
11288 LIBS=$ac_check_lib_save_LIBS
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11291 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11292 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11294 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11299 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11300 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11301 $as_echo_n "(cached) " >&6
11302 else
11303 ac_check_lib_save_LIBS=$LIBS
11304 LIBS="-lxml2 $XML2_LIBS $LIBS"
11305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11306 /* end confdefs.h. */
11308 /* Override any GCC internal prototype to avoid an error.
11309 Use char because int might match the return type of a GCC
11310 builtin and then its argument prototype would still apply. */
11311 #ifdef __cplusplus
11312 extern "C"
11313 #endif
11314 char xmlSchemaSetValidStructuredErrors ();
11316 main ()
11318 return xmlSchemaSetValidStructuredErrors ();
11320 return 0;
11322 _ACEOF
11323 if ac_fn_c_try_link "$LINENO"; then :
11324 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11325 else
11326 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11328 rm -f core conftest.err conftest.$ac_objext \
11329 conftest$ac_exeext conftest.$ac_ext
11330 LIBS=$ac_check_lib_save_LIBS
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11333 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11334 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11336 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11341 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11342 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11343 $as_echo_n "(cached) " >&6
11344 else
11345 ac_check_lib_save_LIBS=$LIBS
11346 LIBS="-lxml2 $XML2_LIBS $LIBS"
11347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11348 /* end confdefs.h. */
11350 /* Override any GCC internal prototype to avoid an error.
11351 Use char because int might match the return type of a GCC
11352 builtin and then its argument prototype would still apply. */
11353 #ifdef __cplusplus
11354 extern "C"
11355 #endif
11356 char xmlFirstElementChild ();
11358 main ()
11360 return xmlFirstElementChild ();
11362 return 0;
11364 _ACEOF
11365 if ac_fn_c_try_link "$LINENO"; then :
11366 ac_cv_lib_xml2_xmlFirstElementChild=yes
11367 else
11368 ac_cv_lib_xml2_xmlFirstElementChild=no
11370 rm -f core conftest.err conftest.$ac_objext \
11371 conftest$ac_exeext conftest.$ac_ext
11372 LIBS=$ac_check_lib_save_LIBS
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11375 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11376 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11378 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11382 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11384 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11386 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11390 else
11391 XML2_CFLAGS=""
11392 XML2_LIBS=""
11394 CPPFLAGS=$ac_save_CPPFLAGS
11395 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11396 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11399 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11400 case "x$with_xml" in
11401 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11402 xno) ;;
11403 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11404 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11405 esac
11409 if test "x$with_xslt" != "xno"
11410 then
11411 if ${XSLT_CFLAGS:+false} :; then :
11412 if ${PKG_CONFIG+:} false; then :
11413 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11416 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11417 if ${XSLT_LIBS:+false} :; then :
11418 if ${PKG_CONFIG+:} false; then :
11419 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11422 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11423 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11424 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11425 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11426 ac_save_CPPFLAGS=$CPPFLAGS
11427 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11428 for ac_header in libxslt/pattern.h libxslt/transform.h
11429 do :
11430 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11431 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11432 # include <libxslt/pattern.h>
11433 #endif
11435 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11436 cat >>confdefs.h <<_ACEOF
11437 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11438 _ACEOF
11442 done
11444 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11445 then
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11447 $as_echo_n "checking for -lxslt... " >&6; }
11448 if ${ac_cv_lib_soname_xslt+:} false; then :
11449 $as_echo_n "(cached) " >&6
11450 else
11451 ac_check_soname_save_LIBS=$LIBS
11452 LIBS="-lxslt $XSLT_LIBS $LIBS"
11453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11454 /* end confdefs.h. */
11456 /* Override any GCC internal prototype to avoid an error.
11457 Use char because int might match the return type of a GCC
11458 builtin and then its argument prototype would still apply. */
11459 #ifdef __cplusplus
11460 extern "C"
11461 #endif
11462 char xsltCompilePattern ();
11464 main ()
11466 return xsltCompilePattern ();
11468 return 0;
11470 _ACEOF
11471 if ac_fn_c_try_link "$LINENO"; then :
11472 case "$LIBEXT" in
11473 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11474 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'` ;;
11475 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11476 if ${ac_cv_lib_soname_xslt:+false} :; then :
11477 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11478 fi ;;
11479 esac
11481 rm -f core conftest.err conftest.$ac_objext \
11482 conftest$ac_exeext conftest.$ac_ext
11483 LIBS=$ac_check_soname_save_LIBS
11485 if ${ac_cv_lib_soname_xslt:+false} :; then :
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11487 $as_echo "not found" >&6; }
11489 else
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11491 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11493 cat >>confdefs.h <<_ACEOF
11494 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11495 _ACEOF
11499 else
11500 XSLT_CFLAGS=""
11502 CPPFLAGS=$ac_save_CPPFLAGS
11503 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11504 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11507 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11508 case "x$with_xslt" in
11509 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11510 xno) ;;
11511 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11512 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11513 esac
11517 if test "x$with_dbus" != "xno"
11518 then
11519 if ${DBUS_CFLAGS:+false} :; then :
11520 if ${PKG_CONFIG+:} false; then :
11521 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11525 if ${DBUS_LIBS:+false} :; then :
11526 if ${PKG_CONFIG+:} false; then :
11527 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11532 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11533 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11534 ac_save_CPPFLAGS=$CPPFLAGS
11535 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11536 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11537 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11539 $as_echo_n "checking for -ldbus-1... " >&6; }
11540 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11541 $as_echo_n "(cached) " >&6
11542 else
11543 ac_check_soname_save_LIBS=$LIBS
11544 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11546 /* end confdefs.h. */
11548 /* Override any GCC internal prototype to avoid an error.
11549 Use char because int might match the return type of a GCC
11550 builtin and then its argument prototype would still apply. */
11551 #ifdef __cplusplus
11552 extern "C"
11553 #endif
11554 char dbus_connection_close ();
11556 main ()
11558 return dbus_connection_close ();
11560 return 0;
11562 _ACEOF
11563 if ac_fn_c_try_link "$LINENO"; then :
11564 case "$LIBEXT" in
11565 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11566 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'` ;;
11567 *) 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'`
11568 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11569 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11570 fi ;;
11571 esac
11573 rm -f core conftest.err conftest.$ac_objext \
11574 conftest$ac_exeext conftest.$ac_ext
11575 LIBS=$ac_check_soname_save_LIBS
11577 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11579 $as_echo "not found" >&6; }
11580 DBUS_CFLAGS=""
11581 else
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11583 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11585 cat >>confdefs.h <<_ACEOF
11586 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11587 _ACEOF
11591 else
11592 DBUS_CFLAGS=""
11596 CPPFLAGS=$ac_save_CPPFLAGS
11597 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11598 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11601 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11602 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11603 case "x$with_dbus" in
11604 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11605 xno) ;;
11606 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11607 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11608 esac
11612 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11613 then
11614 if ${HAL_CFLAGS:+false} :; then :
11615 if ${PKG_CONFIG+:} false; then :
11616 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11620 if ${HAL_LIBS:+false} :; then :
11621 if ${PKG_CONFIG+:} false; then :
11622 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11626 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11627 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11628 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11629 ac_save_CPPFLAGS=$CPPFLAGS
11630 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11631 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11632 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11634 $as_echo_n "checking for -lhal... " >&6; }
11635 if ${ac_cv_lib_soname_hal+:} false; then :
11636 $as_echo_n "(cached) " >&6
11637 else
11638 ac_check_soname_save_LIBS=$LIBS
11639 LIBS="-lhal $HAL_LIBS $LIBS"
11640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11641 /* end confdefs.h. */
11643 /* Override any GCC internal prototype to avoid an error.
11644 Use char because int might match the return type of a GCC
11645 builtin and then its argument prototype would still apply. */
11646 #ifdef __cplusplus
11647 extern "C"
11648 #endif
11649 char libhal_ctx_new ();
11651 main ()
11653 return libhal_ctx_new ();
11655 return 0;
11657 _ACEOF
11658 if ac_fn_c_try_link "$LINENO"; then :
11659 case "$LIBEXT" in
11660 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11661 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'` ;;
11662 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11663 if ${ac_cv_lib_soname_hal:+false} :; then :
11664 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11665 fi ;;
11666 esac
11668 rm -f core conftest.err conftest.$ac_objext \
11669 conftest$ac_exeext conftest.$ac_ext
11670 LIBS=$ac_check_soname_save_LIBS
11672 if ${ac_cv_lib_soname_hal:+false} :; then :
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11674 $as_echo "not found" >&6; }
11675 HAL_CFLAGS=""
11676 else
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11678 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11680 cat >>confdefs.h <<_ACEOF
11681 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11682 _ACEOF
11686 else
11687 HAL_CFLAGS=""
11691 CPPFLAGS=$ac_save_CPPFLAGS
11692 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11693 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11695 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11696 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11697 case "x$with_hal" in
11698 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11699 xno) ;;
11700 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11701 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11702 esac
11707 if test "x$with_gnutls" != "xno"
11708 then
11709 if ${GNUTLS_CFLAGS:+false} :; then :
11710 if ${PKG_CONFIG+:} false; then :
11711 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11715 if ${GNUTLS_LIBS:+false} :; then :
11716 if ${PKG_CONFIG+:} false; then :
11717 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11722 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11723 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11724 ac_save_CPPFLAGS=$CPPFLAGS
11725 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11726 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11727 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11729 /* end confdefs.h. */
11730 #include <gnutls/gnutls.h>
11731 #include <gnutls/crypto.h>
11733 main ()
11735 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11737 return 0;
11739 _ACEOF
11740 if ac_fn_c_try_compile "$LINENO"; then :
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11742 $as_echo_n "checking for -lgnutls... " >&6; }
11743 if ${ac_cv_lib_soname_gnutls+:} false; then :
11744 $as_echo_n "(cached) " >&6
11745 else
11746 ac_check_soname_save_LIBS=$LIBS
11747 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11749 /* end confdefs.h. */
11751 /* Override any GCC internal prototype to avoid an error.
11752 Use char because int might match the return type of a GCC
11753 builtin and then its argument prototype would still apply. */
11754 #ifdef __cplusplus
11755 extern "C"
11756 #endif
11757 char gnutls_global_init ();
11759 main ()
11761 return gnutls_global_init ();
11763 return 0;
11765 _ACEOF
11766 if ac_fn_c_try_link "$LINENO"; then :
11767 case "$LIBEXT" in
11768 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11769 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'` ;;
11770 *) 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'`
11771 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11772 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'`
11773 fi ;;
11774 esac
11776 rm -f core conftest.err conftest.$ac_objext \
11777 conftest$ac_exeext conftest.$ac_ext
11778 LIBS=$ac_check_soname_save_LIBS
11780 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11782 $as_echo "not found" >&6; }
11783 GNUTLS_CFLAGS=""
11784 else
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11786 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11788 cat >>confdefs.h <<_ACEOF
11789 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11790 _ACEOF
11794 ac_wine_check_funcs_save_LIBS="$LIBS"
11795 LIBS="$LIBS $GNUTLS_LIBS"
11796 for ac_func in gnutls_cipher_init
11797 do :
11798 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11799 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11800 cat >>confdefs.h <<_ACEOF
11801 #define HAVE_GNUTLS_CIPHER_INIT 1
11802 _ACEOF
11804 else
11805 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11807 done
11809 LIBS="$ac_wine_check_funcs_save_LIBS"
11811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11812 else
11813 GNUTLS_CFLAGS=""
11817 CPPFLAGS=$ac_save_CPPFLAGS
11818 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11819 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11822 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11823 case "x$with_gnutls" in
11824 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11825 xno) ;;
11826 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11827 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11828 esac
11832 CURSES_LIBS=""
11833 if test "$ac_cv_header_ncurses_h" = "yes"
11834 then
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11836 $as_echo_n "checking for -lncurses... " >&6; }
11837 if ${ac_cv_lib_soname_ncurses+:} false; then :
11838 $as_echo_n "(cached) " >&6
11839 else
11840 ac_check_soname_save_LIBS=$LIBS
11841 LIBS="-lncurses $LIBS"
11842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11843 /* end confdefs.h. */
11845 /* Override any GCC internal prototype to avoid an error.
11846 Use char because int might match the return type of a GCC
11847 builtin and then its argument prototype would still apply. */
11848 #ifdef __cplusplus
11849 extern "C"
11850 #endif
11851 char waddch ();
11853 main ()
11855 return waddch ();
11857 return 0;
11859 _ACEOF
11860 if ac_fn_c_try_link "$LINENO"; then :
11861 case "$LIBEXT" in
11862 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11863 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'` ;;
11864 *) 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'`
11865 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11866 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11867 fi ;;
11868 esac
11870 rm -f core conftest.err conftest.$ac_objext \
11871 conftest$ac_exeext conftest.$ac_ext
11872 LIBS=$ac_check_soname_save_LIBS
11874 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11876 $as_echo "not found" >&6; }
11878 else
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11880 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11882 cat >>confdefs.h <<_ACEOF
11883 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11884 _ACEOF
11886 CURSES_LIBS="-lncurses"
11888 elif test "$ac_cv_header_curses_h" = "yes"
11889 then
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11891 $as_echo_n "checking for -lcurses... " >&6; }
11892 if ${ac_cv_lib_soname_curses+:} false; then :
11893 $as_echo_n "(cached) " >&6
11894 else
11895 ac_check_soname_save_LIBS=$LIBS
11896 LIBS="-lcurses $LIBS"
11897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11898 /* end confdefs.h. */
11900 /* Override any GCC internal prototype to avoid an error.
11901 Use char because int might match the return type of a GCC
11902 builtin and then its argument prototype would still apply. */
11903 #ifdef __cplusplus
11904 extern "C"
11905 #endif
11906 char waddch ();
11908 main ()
11910 return waddch ();
11912 return 0;
11914 _ACEOF
11915 if ac_fn_c_try_link "$LINENO"; then :
11916 case "$LIBEXT" in
11917 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11918 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'` ;;
11919 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11920 if ${ac_cv_lib_soname_curses:+false} :; then :
11921 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11922 fi ;;
11923 esac
11925 rm -f core conftest.err conftest.$ac_objext \
11926 conftest$ac_exeext conftest.$ac_ext
11927 LIBS=$ac_check_soname_save_LIBS
11929 if ${ac_cv_lib_soname_curses:+false} :; then :
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11931 $as_echo "not found" >&6; }
11933 else
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11935 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11937 cat >>confdefs.h <<_ACEOF
11938 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11939 _ACEOF
11941 CURSES_LIBS="-lcurses"
11944 ac_save_LIBS="$LIBS"
11945 LIBS="$LIBS $CURSES_LIBS"
11946 for ac_func in mousemask
11947 do :
11948 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11949 if test "x$ac_cv_func_mousemask" = xyes; then :
11950 cat >>confdefs.h <<_ACEOF
11951 #define HAVE_MOUSEMASK 1
11952 _ACEOF
11955 done
11957 LIBS="$ac_save_LIBS"
11958 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11959 case "x$with_curses" in
11960 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11961 xno) ;;
11962 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11963 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11964 esac
11968 if test "x$with_sane" != "xno"
11969 then
11970 if ${SANE_CFLAGS:+false} :; then :
11971 if ${PKG_CONFIG+:} false; then :
11972 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11975 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11976 if ${SANE_LIBS:+false} :; then :
11977 if ${PKG_CONFIG+:} false; then :
11978 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11981 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11983 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11984 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11985 ac_save_CPPFLAGS=$CPPFLAGS
11986 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11987 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11988 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11990 $as_echo_n "checking for -lsane... " >&6; }
11991 if ${ac_cv_lib_soname_sane+:} false; then :
11992 $as_echo_n "(cached) " >&6
11993 else
11994 ac_check_soname_save_LIBS=$LIBS
11995 LIBS="-lsane $SANE_LIBS $LIBS"
11996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11997 /* end confdefs.h. */
11999 /* Override any GCC internal prototype to avoid an error.
12000 Use char because int might match the return type of a GCC
12001 builtin and then its argument prototype would still apply. */
12002 #ifdef __cplusplus
12003 extern "C"
12004 #endif
12005 char sane_init ();
12007 main ()
12009 return sane_init ();
12011 return 0;
12013 _ACEOF
12014 if ac_fn_c_try_link "$LINENO"; then :
12015 case "$LIBEXT" in
12016 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12017 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'` ;;
12018 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12019 if ${ac_cv_lib_soname_sane:+false} :; then :
12020 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12021 fi ;;
12022 esac
12024 rm -f core conftest.err conftest.$ac_objext \
12025 conftest$ac_exeext conftest.$ac_ext
12026 LIBS=$ac_check_soname_save_LIBS
12028 if ${ac_cv_lib_soname_sane:+false} :; then :
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12030 $as_echo "not found" >&6; }
12031 SANE_CFLAGS=""
12032 else
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12034 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12036 cat >>confdefs.h <<_ACEOF
12037 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12038 _ACEOF
12042 else
12043 SANE_CFLAGS=""
12047 CPPFLAGS=$ac_save_CPPFLAGS
12048 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12049 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12052 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12053 case "x$with_sane" in
12054 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12055 xno) ;;
12056 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12057 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12058 esac
12062 if test "x$with_v4l" != "xno"
12063 then
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12065 $as_echo_n "checking for -lv4l1... " >&6; }
12066 if ${ac_cv_lib_soname_v4l1+:} false; then :
12067 $as_echo_n "(cached) " >&6
12068 else
12069 ac_check_soname_save_LIBS=$LIBS
12070 LIBS="-lv4l1 $LIBS"
12071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12072 /* end confdefs.h. */
12074 /* Override any GCC internal prototype to avoid an error.
12075 Use char because int might match the return type of a GCC
12076 builtin and then its argument prototype would still apply. */
12077 #ifdef __cplusplus
12078 extern "C"
12079 #endif
12080 char v4l1_open ();
12082 main ()
12084 return v4l1_open ();
12086 return 0;
12088 _ACEOF
12089 if ac_fn_c_try_link "$LINENO"; then :
12090 case "$LIBEXT" in
12091 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12092 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'` ;;
12093 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12094 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12095 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12096 fi ;;
12097 esac
12099 rm -f core conftest.err conftest.$ac_objext \
12100 conftest$ac_exeext conftest.$ac_ext
12101 LIBS=$ac_check_soname_save_LIBS
12103 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12105 $as_echo "not found" >&6; }
12107 else
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12109 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12111 cat >>confdefs.h <<_ACEOF
12112 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12113 _ACEOF
12118 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12119 case "x$with_v4l" in
12120 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12121 xno) ;;
12122 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12123 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12124 esac
12128 if test "x$with_gphoto" != "xno"
12129 then
12130 if ${GPHOTO2_CFLAGS:+false} :; then :
12131 if ${PKG_CONFIG+:} false; then :
12132 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12135 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12136 if ${GPHOTO2_LIBS:+false} :; then :
12137 if ${PKG_CONFIG+:} false; then :
12138 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12141 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12142 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12143 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12144 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12145 ac_save_CPPFLAGS=$CPPFLAGS
12146 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12147 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12148 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12150 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12151 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12152 $as_echo_n "(cached) " >&6
12153 else
12154 ac_check_lib_save_LIBS=$LIBS
12155 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12157 /* end confdefs.h. */
12159 /* Override any GCC internal prototype to avoid an error.
12160 Use char because int might match the return type of a GCC
12161 builtin and then its argument prototype would still apply. */
12162 #ifdef __cplusplus
12163 extern "C"
12164 #endif
12165 char gp_camera_new ();
12167 main ()
12169 return gp_camera_new ();
12171 return 0;
12173 _ACEOF
12174 if ac_fn_c_try_link "$LINENO"; then :
12175 ac_cv_lib_gphoto2_gp_camera_new=yes
12176 else
12177 ac_cv_lib_gphoto2_gp_camera_new=no
12179 rm -f core conftest.err conftest.$ac_objext \
12180 conftest$ac_exeext conftest.$ac_ext
12181 LIBS=$ac_check_lib_save_LIBS
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12184 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12185 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12187 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12189 else
12190 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12193 else
12194 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12198 CPPFLAGS=$ac_save_CPPFLAGS
12199 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12200 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12202 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12203 if ${PKG_CONFIG+:} false; then :
12204 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12207 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12208 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12209 if ${PKG_CONFIG+:} false; then :
12210 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12213 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12214 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12215 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12216 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12217 ac_save_CPPFLAGS=$CPPFLAGS
12218 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12219 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12220 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12222 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12223 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12224 $as_echo_n "(cached) " >&6
12225 else
12226 ac_check_lib_save_LIBS=$LIBS
12227 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12229 /* end confdefs.h. */
12231 /* Override any GCC internal prototype to avoid an error.
12232 Use char because int might match the return type of a GCC
12233 builtin and then its argument prototype would still apply. */
12234 #ifdef __cplusplus
12235 extern "C"
12236 #endif
12237 char gp_port_info_list_new ();
12239 main ()
12241 return gp_port_info_list_new ();
12243 return 0;
12245 _ACEOF
12246 if ac_fn_c_try_link "$LINENO"; then :
12247 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12248 else
12249 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12251 rm -f core conftest.err conftest.$ac_objext \
12252 conftest$ac_exeext conftest.$ac_ext
12253 LIBS=$ac_check_lib_save_LIBS
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12256 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12257 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12259 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12261 else
12262 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12265 else
12266 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12270 CPPFLAGS=$ac_save_CPPFLAGS
12271 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12272 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12275 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12276 case "x$with_gphoto" in
12277 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12278 xno) ;;
12279 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12280 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12281 esac
12284 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12285 case "x$with_gphoto" in
12286 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12287 xno) ;;
12288 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12289 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12290 esac
12295 if test "$ac_cv_header_resolv_h" = "yes"
12296 then
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12298 $as_echo_n "checking for resolver library... " >&6; }
12299 if ${ac_cv_have_resolv+:} false; then :
12300 $as_echo_n "(cached) " >&6
12301 else
12302 ac_save_LIBS="$LIBS"
12303 for lib in '' -lresolv
12305 LIBS="$lib $ac_save_LIBS"
12306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12307 /* end confdefs.h. */
12308 #ifdef HAVE_NETINET_IN_H
12309 #include <netinet/in.h>
12310 #endif
12311 #include <resolv.h>
12313 main ()
12315 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12317 return 0;
12319 _ACEOF
12320 if ac_fn_c_try_link "$LINENO"; then :
12321 ac_cv_have_resolv=${lib:-"none required"}
12322 else
12323 ac_cv_have_resolv="not found"
12325 rm -f core conftest.err conftest.$ac_objext \
12326 conftest$ac_exeext conftest.$ac_ext
12327 test "x$ac_cv_have_resolv" = "xnot found" || break
12328 done
12329 LIBS="$ac_save_LIBS"
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12332 $as_echo "$ac_cv_have_resolv" >&6; }
12334 case "$ac_cv_have_resolv" in
12335 "not found") ;;
12336 "none required")
12338 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12341 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12343 RESOLV_LIBS=$ac_cv_have_resolv
12345 esac
12348 if test "x$with_cms" != "xno"
12349 then
12350 if ${LCMS2_CFLAGS:+false} :; then :
12351 if ${PKG_CONFIG+:} false; then :
12352 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12356 if ${LCMS2_LIBS:+false} :; then :
12357 if ${PKG_CONFIG+:} false; then :
12358 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12362 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12363 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12364 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12365 ac_save_CPPFLAGS=$CPPFLAGS
12366 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12367 for ac_header in lcms2.h
12368 do :
12369 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12370 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12371 cat >>confdefs.h <<_ACEOF
12372 #define HAVE_LCMS2_H 1
12373 _ACEOF
12377 done
12379 if test "$ac_cv_header_lcms2_h" = "yes"
12380 then
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12382 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12383 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12384 $as_echo_n "(cached) " >&6
12385 else
12386 ac_check_lib_save_LIBS=$LIBS
12387 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12389 /* end confdefs.h. */
12391 /* Override any GCC internal prototype to avoid an error.
12392 Use char because int might match the return type of a GCC
12393 builtin and then its argument prototype would still apply. */
12394 #ifdef __cplusplus
12395 extern "C"
12396 #endif
12397 char cmsOpenProfileFromFile ();
12399 main ()
12401 return cmsOpenProfileFromFile ();
12403 return 0;
12405 _ACEOF
12406 if ac_fn_c_try_link "$LINENO"; then :
12407 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12408 else
12409 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12411 rm -f core conftest.err conftest.$ac_objext \
12412 conftest$ac_exeext conftest.$ac_ext
12413 LIBS=$ac_check_lib_save_LIBS
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12416 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12417 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12419 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12421 else
12422 LCMS2_LIBS=""
12425 else
12426 LCMS2_CFLAGS=""
12427 LCMS2_LIBS=""
12429 CPPFLAGS=$ac_save_CPPFLAGS
12430 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12431 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12434 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12435 case "x$with_cms" in
12436 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12437 xno) ;;
12438 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12439 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12440 esac
12444 if test "x$with_freetype" != "xno"
12445 then
12446 if ${FREETYPE_CFLAGS:+false} :; then :
12447 if ${PKG_CONFIG+:} false; then :
12448 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12451 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12452 if ${FREETYPE_LIBS:+false} :; then :
12453 if ${PKG_CONFIG+:} false; then :
12454 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12457 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12458 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12459 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12460 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12461 ac_save_CPPFLAGS=$CPPFLAGS
12462 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12463 for ac_header in ft2build.h
12464 do :
12465 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12466 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12467 cat >>confdefs.h <<_ACEOF
12468 #define HAVE_FT2BUILD_H 1
12469 _ACEOF
12473 done
12475 if test "$ac_cv_header_ft2build_h" = "yes"
12476 then
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12478 $as_echo_n "checking for -lfreetype... " >&6; }
12479 if ${ac_cv_lib_soname_freetype+:} false; then :
12480 $as_echo_n "(cached) " >&6
12481 else
12482 ac_check_soname_save_LIBS=$LIBS
12483 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12485 /* end confdefs.h. */
12487 /* Override any GCC internal prototype to avoid an error.
12488 Use char because int might match the return type of a GCC
12489 builtin and then its argument prototype would still apply. */
12490 #ifdef __cplusplus
12491 extern "C"
12492 #endif
12493 char FT_Init_FreeType ();
12495 main ()
12497 return FT_Init_FreeType ();
12499 return 0;
12501 _ACEOF
12502 if ac_fn_c_try_link "$LINENO"; then :
12503 case "$LIBEXT" in
12504 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12505 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'` ;;
12506 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12507 if ${ac_cv_lib_soname_freetype:+false} :; then :
12508 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12509 fi ;;
12510 esac
12512 rm -f core conftest.err conftest.$ac_objext \
12513 conftest$ac_exeext conftest.$ac_ext
12514 LIBS=$ac_check_soname_save_LIBS
12516 if ${ac_cv_lib_soname_freetype:+false} :; then :
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12518 $as_echo "not found" >&6; }
12519 FREETYPE_LIBS=""
12520 else
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12522 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12524 cat >>confdefs.h <<_ACEOF
12525 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12526 _ACEOF
12529 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12531 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12532 #include FT_MODULE_H
12534 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12536 cat >>confdefs.h <<_ACEOF
12537 #define HAVE_FT_TRUETYPEENGINETYPE 1
12538 _ACEOF
12544 else
12545 FREETYPE_CFLAGS=""
12546 FREETYPE_LIBS=""
12548 CPPFLAGS=$ac_save_CPPFLAGS
12549 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12550 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12553 if test "x$ac_cv_lib_soname_freetype" = x; then :
12554 case "x$with_freetype" in
12555 xno) ;;
12556 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12557 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12558 esac
12559 enable_fonts=${enable_fonts:-no}
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12563 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12564 if ${ac_cv_c_ppdev+:} false; then :
12565 $as_echo_n "(cached) " >&6
12566 else
12567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12569 #ifdef HAVE_SYS_IOCTL_H
12570 # include <sys/ioctl.h>
12571 #endif
12572 #include <linux/ppdev.h>
12574 main ()
12576 ioctl (1,PPCLAIM,0)
12578 return 0;
12580 _ACEOF
12581 if ac_fn_c_try_compile "$LINENO"; then :
12582 ac_cv_c_ppdev="yes"
12583 else
12584 ac_cv_c_ppdev="no"
12586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12589 $as_echo "$ac_cv_c_ppdev" >&6; }
12590 if test "$ac_cv_c_ppdev" = "yes"
12591 then
12593 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12597 ac_wine_check_funcs_save_LIBS="$LIBS"
12598 LIBS="$LIBS $PTHREAD_LIBS"
12599 for ac_func in \
12600 pthread_attr_get_np \
12601 pthread_getattr_np \
12602 pthread_getthreadid_np \
12603 pthread_get_stackaddr_np \
12604 pthread_get_stacksize_np
12605 do :
12606 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12607 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12608 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12609 cat >>confdefs.h <<_ACEOF
12610 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12611 _ACEOF
12614 done
12616 LIBS="$ac_wine_check_funcs_save_LIBS"
12618 if test "$ac_cv_header_zlib_h" = "yes"
12619 then
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12621 $as_echo_n "checking for inflate in -lz... " >&6; }
12622 if ${ac_cv_lib_z_inflate+:} false; then :
12623 $as_echo_n "(cached) " >&6
12624 else
12625 ac_check_lib_save_LIBS=$LIBS
12626 LIBS="-lz $LIBS"
12627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12628 /* end confdefs.h. */
12630 /* Override any GCC internal prototype to avoid an error.
12631 Use char because int might match the return type of a GCC
12632 builtin and then its argument prototype would still apply. */
12633 #ifdef __cplusplus
12634 extern "C"
12635 #endif
12636 char inflate ();
12638 main ()
12640 return inflate ();
12642 return 0;
12644 _ACEOF
12645 if ac_fn_c_try_link "$LINENO"; then :
12646 ac_cv_lib_z_inflate=yes
12647 else
12648 ac_cv_lib_z_inflate=no
12650 rm -f core conftest.err conftest.$ac_objext \
12651 conftest$ac_exeext conftest.$ac_ext
12652 LIBS=$ac_check_lib_save_LIBS
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12655 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12656 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12658 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12660 Z_LIBS="-lz"
12665 if test "x$Z_LIBS" = "x"; then :
12666 case "x$with_zlib" in
12667 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12668 xno) ;;
12669 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12670 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12671 esac
12675 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12676 then
12677 if test "$ac_cv_header_gettext_po_h" = "yes"
12678 then
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12680 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12681 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12682 $as_echo_n "(cached) " >&6
12683 else
12684 ac_check_lib_save_LIBS=$LIBS
12685 LIBS="-lgettextpo $LIBS"
12686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12687 /* end confdefs.h. */
12689 /* Override any GCC internal prototype to avoid an error.
12690 Use char because int might match the return type of a GCC
12691 builtin and then its argument prototype would still apply. */
12692 #ifdef __cplusplus
12693 extern "C"
12694 #endif
12695 char po_message_msgctxt ();
12697 main ()
12699 return po_message_msgctxt ();
12701 return 0;
12703 _ACEOF
12704 if ac_fn_c_try_link "$LINENO"; then :
12705 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12706 else
12707 ac_cv_lib_gettextpo_po_message_msgctxt=no
12709 rm -f core conftest.err conftest.$ac_objext \
12710 conftest$ac_exeext conftest.$ac_ext
12711 LIBS=$ac_check_lib_save_LIBS
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12714 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12715 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12717 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12719 GETTEXTPO_LIBS="-lgettextpo"
12724 if test "x$GETTEXTPO_LIBS" = "x"; then :
12725 case "x$with_gettextpo" in
12726 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12727 xno) ;;
12728 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12729 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12730 esac
12733 if test "$srcdir" != .; then :
12734 case "x$with_gettextpo" in
12735 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12736 xno) ;;
12737 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12738 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12739 esac
12744 if test "x$with_pulse" != "xno";
12745 then
12746 if ${PULSE_CFLAGS:+false} :; then :
12747 if ${PKG_CONFIG+:} false; then :
12748 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12752 if ${PULSE_LIBS:+false} :; then :
12753 if ${PKG_CONFIG+:} false; then :
12754 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12759 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12760 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12761 ac_save_CPPFLAGS=$CPPFLAGS
12762 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12763 for ac_header in pulse/pulseaudio.h
12764 do :
12765 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12766 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12767 cat >>confdefs.h <<_ACEOF
12768 #define HAVE_PULSE_PULSEAUDIO_H 1
12769 _ACEOF
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12771 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12772 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12773 $as_echo_n "(cached) " >&6
12774 else
12775 ac_check_lib_save_LIBS=$LIBS
12776 LIBS="-lpulse $PULSE_LIBS $LIBS"
12777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12778 /* end confdefs.h. */
12780 /* Override any GCC internal prototype to avoid an error.
12781 Use char because int might match the return type of a GCC
12782 builtin and then its argument prototype would still apply. */
12783 #ifdef __cplusplus
12784 extern "C"
12785 #endif
12786 char pa_stream_is_corked ();
12788 main ()
12790 return pa_stream_is_corked ();
12792 return 0;
12794 _ACEOF
12795 if ac_fn_c_try_link "$LINENO"; then :
12796 ac_cv_lib_pulse_pa_stream_is_corked=yes
12797 else
12798 ac_cv_lib_pulse_pa_stream_is_corked=no
12800 rm -f core conftest.err conftest.$ac_objext \
12801 conftest$ac_exeext conftest.$ac_ext
12802 LIBS=$ac_check_lib_save_LIBS
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12805 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12806 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12808 else
12809 PULSE_LIBS=""
12812 else
12813 PULSE_LIBS=""
12816 done
12818 CPPFLAGS=$ac_save_CPPFLAGS
12819 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12820 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12823 if test -z "$PULSE_LIBS"; then :
12824 case "x$with_pulse" in
12825 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12826 xno) ;;
12827 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12828 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12829 esac
12830 enable_winepulse_drv=${enable_winepulse_drv:-no}
12833 if test "x$with_gstreamer" != "xno"
12834 then
12835 if ${GSTREAMER_CFLAGS:+false} :; then :
12836 if ${PKG_CONFIG+:} false; then :
12837 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12841 if ${GSTREAMER_LIBS:+false} :; then :
12842 if ${PKG_CONFIG+:} false; then :
12843 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12848 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12849 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12850 ac_save_CPPFLAGS=$CPPFLAGS
12851 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12852 ac_gst_incl=""
12853 for i in $GSTREAMER_CFLAGS
12855 case "$i" in
12856 -I*) ac_gst_incl="$ac_gst_incl $i";;
12857 esac
12858 done
12859 GSTREAMER_CFLAGS=$ac_gst_incl
12860 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12861 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12862 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12864 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12866 /* end confdefs.h. */
12867 #include <gst/gst.h>
12869 main ()
12871 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12873 return 0;
12875 _ACEOF
12876 if ac_fn_c_try_compile "$LINENO"; then :
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12878 $as_echo "yes" >&6; }
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12880 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12881 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12882 $as_echo_n "(cached) " >&6
12883 else
12884 ac_check_lib_save_LIBS=$LIBS
12885 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12887 /* end confdefs.h. */
12889 /* Override any GCC internal prototype to avoid an error.
12890 Use char because int might match the return type of a GCC
12891 builtin and then its argument prototype would still apply. */
12892 #ifdef __cplusplus
12893 extern "C"
12894 #endif
12895 char gst_pad_new ();
12897 main ()
12899 return gst_pad_new ();
12901 return 0;
12903 _ACEOF
12904 if ac_fn_c_try_link "$LINENO"; then :
12905 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12906 else
12907 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12909 rm -f core conftest.err conftest.$ac_objext \
12910 conftest$ac_exeext conftest.$ac_ext
12911 LIBS=$ac_check_lib_save_LIBS
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12914 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12915 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12919 else
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12921 $as_echo "no" >&6; }
12922 ac_glib2_broken=yes
12923 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12929 CPPFLAGS=$ac_save_CPPFLAGS
12930 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12931 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12934 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 :
12935 case "x$with_gstreamer" in
12936 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12937 xno) ;;
12938 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12939 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12940 esac
12943 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12945 ALSA_LIBS=""
12947 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12948 then
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12950 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12951 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12952 $as_echo_n "(cached) " >&6
12953 else
12954 ac_check_lib_save_LIBS=$LIBS
12955 LIBS="-lasound $LIBS"
12956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12957 /* end confdefs.h. */
12959 /* Override any GCC internal prototype to avoid an error.
12960 Use char because int might match the return type of a GCC
12961 builtin and then its argument prototype would still apply. */
12962 #ifdef __cplusplus
12963 extern "C"
12964 #endif
12965 char snd_pcm_hw_params_get_access_mask ();
12967 main ()
12969 return snd_pcm_hw_params_get_access_mask ();
12971 return 0;
12973 _ACEOF
12974 if ac_fn_c_try_link "$LINENO"; then :
12975 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12976 else
12977 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12979 rm -f core conftest.err conftest.$ac_objext \
12980 conftest$ac_exeext conftest.$ac_ext
12981 LIBS=$ac_check_lib_save_LIBS
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12984 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12985 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12987 /* end confdefs.h. */
12988 #ifdef HAVE_ALSA_ASOUNDLIB_H
12989 #include <alsa/asoundlib.h>
12990 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12991 #include <sys/asoundlib.h>
12992 #endif
12994 main ()
12996 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12998 return 0;
13000 _ACEOF
13001 if ac_fn_c_try_compile "$LINENO"; then :
13002 ALSA_LIBS="-lasound"
13004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13008 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13010 if test "x$with_oss" != xno
13011 then
13012 ac_save_CPPFLAGS="$CPPFLAGS"
13013 if test -f /etc/oss.conf
13014 then
13015 . /etc/oss.conf
13017 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13018 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13019 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13020 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13021 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13023 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13025 cat >>confdefs.h <<_ACEOF
13026 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13027 _ACEOF
13029 OSS4_CFLAGS="$ac_oss_incl"
13036 CPPFLAGS="$ac_save_CPPFLAGS"
13038 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13039 case "x$with_oss" in
13040 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13041 xno) ;;
13042 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13043 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13044 esac
13045 enable_wineoss_drv=${enable_wineoss_drv:-no}
13048 if test "x$with_udev" != "xno"
13049 then
13050 if ${UDEV_CFLAGS:+false} :; then :
13051 if ${PKG_CONFIG+:} false; then :
13052 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13056 if ${UDEV_LIBS:+false} :; then :
13057 if ${PKG_CONFIG+:} false; then :
13058 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13062 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13063 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13064 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13065 ac_save_CPPFLAGS=$CPPFLAGS
13066 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13067 for ac_header in libudev.h
13068 do :
13069 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13070 if test "x$ac_cv_header_libudev_h" = xyes; then :
13071 cat >>confdefs.h <<_ACEOF
13072 #define HAVE_LIBUDEV_H 1
13073 _ACEOF
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13075 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13076 if ${ac_cv_lib_udev_udev_new+:} false; then :
13077 $as_echo_n "(cached) " >&6
13078 else
13079 ac_check_lib_save_LIBS=$LIBS
13080 LIBS="-ludev $UDEV_LIBS $LIBS"
13081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 /* end confdefs.h. */
13084 /* Override any GCC internal prototype to avoid an error.
13085 Use char because int might match the return type of a GCC
13086 builtin and then its argument prototype would still apply. */
13087 #ifdef __cplusplus
13088 extern "C"
13089 #endif
13090 char udev_new ();
13092 main ()
13094 return udev_new ();
13096 return 0;
13098 _ACEOF
13099 if ac_fn_c_try_link "$LINENO"; then :
13100 ac_cv_lib_udev_udev_new=yes
13101 else
13102 ac_cv_lib_udev_udev_new=no
13104 rm -f core conftest.err conftest.$ac_objext \
13105 conftest$ac_exeext conftest.$ac_ext
13106 LIBS=$ac_check_lib_save_LIBS
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13109 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13110 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13112 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13114 else
13115 UDEV_LIBS=""
13118 else
13119 UDEV_LIBS=""
13122 done
13124 CPPFLAGS=$ac_save_CPPFLAGS
13125 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13126 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13129 if test "x$UDEV_LIBS" = "x"; then :
13130 case "x$with_udev" in
13131 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13132 xno) ;;
13133 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13134 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13135 esac
13139 if test "x$with_sdl" != "xno"
13140 then
13141 if ${SDL2_CFLAGS:+false} :; then :
13142 if ${PKG_CONFIG+:} false; then :
13143 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13147 if ${SDL2_LIBS:+false} :; then :
13148 if ${PKG_CONFIG+:} false; then :
13149 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13153 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13154 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13155 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13156 ac_save_CPPFLAGS=$CPPFLAGS
13157 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13158 for ac_header in SDL2/SDL.h
13159 do :
13160 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13161 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13162 cat >>confdefs.h <<_ACEOF
13163 #define HAVE_SDL2_SDL_H 1
13164 _ACEOF
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13166 $as_echo_n "checking for -lSDL2... " >&6; }
13167 if ${ac_cv_lib_soname_SDL2+:} false; then :
13168 $as_echo_n "(cached) " >&6
13169 else
13170 ac_check_soname_save_LIBS=$LIBS
13171 LIBS="-lSDL2 $LIBS"
13172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13173 /* end confdefs.h. */
13175 /* Override any GCC internal prototype to avoid an error.
13176 Use char because int might match the return type of a GCC
13177 builtin and then its argument prototype would still apply. */
13178 #ifdef __cplusplus
13179 extern "C"
13180 #endif
13181 char SDL_Init ();
13183 main ()
13185 return SDL_Init ();
13187 return 0;
13189 _ACEOF
13190 if ac_fn_c_try_link "$LINENO"; then :
13191 case "$LIBEXT" in
13192 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13193 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'` ;;
13194 *) 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'`
13195 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13196 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13197 fi ;;
13198 esac
13200 rm -f core conftest.err conftest.$ac_objext \
13201 conftest$ac_exeext conftest.$ac_ext
13202 LIBS=$ac_check_soname_save_LIBS
13204 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13206 $as_echo "not found" >&6; }
13208 else
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13210 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13212 cat >>confdefs.h <<_ACEOF
13213 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13214 _ACEOF
13220 done
13222 CPPFLAGS=$ac_save_CPPFLAGS
13223 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13224 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13227 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13228 case "x$with_sdl" in
13229 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13230 xno) ;;
13231 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13232 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13233 esac
13237 if test "x$with_capi" != "xno"
13238 then
13239 if ${CAPI20_CFLAGS:+false} :; then :
13240 if ${PKG_CONFIG+:} false; then :
13241 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13245 if ${CAPI20_LIBS:+false} :; then :
13246 if ${PKG_CONFIG+:} false; then :
13247 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13252 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13253 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13254 ac_save_CPPFLAGS=$CPPFLAGS
13255 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13256 for ac_header in capi20.h linux/capi.h
13257 do :
13258 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13259 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13261 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13262 cat >>confdefs.h <<_ACEOF
13263 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13264 _ACEOF
13268 done
13270 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13271 then
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13273 $as_echo_n "checking for -lcapi20... " >&6; }
13274 if ${ac_cv_lib_soname_capi20+:} false; then :
13275 $as_echo_n "(cached) " >&6
13276 else
13277 ac_check_soname_save_LIBS=$LIBS
13278 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13280 /* end confdefs.h. */
13282 /* Override any GCC internal prototype to avoid an error.
13283 Use char because int might match the return type of a GCC
13284 builtin and then its argument prototype would still apply. */
13285 #ifdef __cplusplus
13286 extern "C"
13287 #endif
13288 char capi20_register ();
13290 main ()
13292 return capi20_register ();
13294 return 0;
13296 _ACEOF
13297 if ac_fn_c_try_link "$LINENO"; then :
13298 case "$LIBEXT" in
13299 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13300 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'` ;;
13301 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13302 if ${ac_cv_lib_soname_capi20:+false} :; then :
13303 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13304 fi ;;
13305 esac
13307 rm -f core conftest.err conftest.$ac_objext \
13308 conftest$ac_exeext conftest.$ac_ext
13309 LIBS=$ac_check_soname_save_LIBS
13311 if ${ac_cv_lib_soname_capi20:+false} :; then :
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13313 $as_echo "not found" >&6; }
13315 else
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13317 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13319 cat >>confdefs.h <<_ACEOF
13320 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13321 _ACEOF
13326 CPPFLAGS=$ac_save_CPPFLAGS
13327 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13328 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13331 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13332 case "x$with_capi" in
13333 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13334 xno) ;;
13335 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13336 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13337 esac
13341 if test "x$with_cups" != "xno"
13342 then
13343 if ${CUPS_CFLAGS:+false} :; then :
13344 if ${PKG_CONFIG+:} false; then :
13345 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13348 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13349 if ${CUPS_LIBS:+false} :; then :
13350 if ${PKG_CONFIG+:} false; then :
13351 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13354 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13355 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13356 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13357 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13358 ac_save_CPPFLAGS=$CPPFLAGS
13359 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13360 for ac_header in cups/cups.h cups/ppd.h
13361 do :
13362 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13363 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13364 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13365 cat >>confdefs.h <<_ACEOF
13366 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13367 _ACEOF
13371 done
13373 if test "$ac_cv_header_cups_cups_h" = "yes"
13374 then
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13376 $as_echo_n "checking for -lcups... " >&6; }
13377 if ${ac_cv_lib_soname_cups+:} false; then :
13378 $as_echo_n "(cached) " >&6
13379 else
13380 ac_check_soname_save_LIBS=$LIBS
13381 LIBS="-lcups $CUPS_LIBS $LIBS"
13382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13383 /* end confdefs.h. */
13385 /* Override any GCC internal prototype to avoid an error.
13386 Use char because int might match the return type of a GCC
13387 builtin and then its argument prototype would still apply. */
13388 #ifdef __cplusplus
13389 extern "C"
13390 #endif
13391 char cupsGetDefault ();
13393 main ()
13395 return cupsGetDefault ();
13397 return 0;
13399 _ACEOF
13400 if ac_fn_c_try_link "$LINENO"; then :
13401 case "$LIBEXT" in
13402 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13403 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'` ;;
13404 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13405 if ${ac_cv_lib_soname_cups:+false} :; then :
13406 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13407 fi ;;
13408 esac
13410 rm -f core conftest.err conftest.$ac_objext \
13411 conftest$ac_exeext conftest.$ac_ext
13412 LIBS=$ac_check_soname_save_LIBS
13414 if ${ac_cv_lib_soname_cups:+false} :; then :
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13416 $as_echo "not found" >&6; }
13417 CUPS_LIBS=""
13418 else
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13420 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13422 cat >>confdefs.h <<_ACEOF
13423 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13424 _ACEOF
13428 else
13429 CUPS_CFLAGS=""
13430 CUPS_LIBS=""
13432 CPPFLAGS=$ac_save_CPPFLAGS
13433 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13434 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13437 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13438 case "x$with_cups" in
13439 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13440 xno) ;;
13441 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13442 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13443 esac
13447 if test "x$with_fontconfig" != "xno"
13448 then
13449 if ${FONTCONFIG_CFLAGS:+false} :; then :
13450 if ${PKG_CONFIG+:} false; then :
13451 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13454 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13455 if ${FONTCONFIG_LIBS:+false} :; then :
13456 if ${PKG_CONFIG+:} false; then :
13457 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13460 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13462 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13463 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13464 ac_save_CPPFLAGS=$CPPFLAGS
13465 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13466 for ac_header in fontconfig/fontconfig.h
13467 do :
13468 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13469 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13470 cat >>confdefs.h <<_ACEOF
13471 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13472 _ACEOF
13476 done
13478 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13479 then
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13481 $as_echo_n "checking for -lfontconfig... " >&6; }
13482 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13483 $as_echo_n "(cached) " >&6
13484 else
13485 ac_check_soname_save_LIBS=$LIBS
13486 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13488 /* end confdefs.h. */
13490 /* Override any GCC internal prototype to avoid an error.
13491 Use char because int might match the return type of a GCC
13492 builtin and then its argument prototype would still apply. */
13493 #ifdef __cplusplus
13494 extern "C"
13495 #endif
13496 char FcInit ();
13498 main ()
13500 return FcInit ();
13502 return 0;
13504 _ACEOF
13505 if ac_fn_c_try_link "$LINENO"; then :
13506 case "$LIBEXT" in
13507 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13508 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'` ;;
13509 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13510 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13511 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13512 fi ;;
13513 esac
13515 rm -f core conftest.err conftest.$ac_objext \
13516 conftest$ac_exeext conftest.$ac_ext
13517 LIBS=$ac_check_soname_save_LIBS
13519 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13521 $as_echo "not found" >&6; }
13522 FONTCONFIG_CFLAGS=""
13523 else
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13525 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13527 cat >>confdefs.h <<_ACEOF
13528 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13529 _ACEOF
13533 else
13534 FONTCONFIG_CFLAGS=""
13536 CPPFLAGS=$ac_save_CPPFLAGS
13537 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13538 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13541 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13542 case "x$with_fontconfig" in
13543 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13544 xno) ;;
13545 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13546 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13547 esac
13551 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13552 then
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13554 $as_echo_n "checking for -lgsm... " >&6; }
13555 if ${ac_cv_lib_soname_gsm+:} false; then :
13556 $as_echo_n "(cached) " >&6
13557 else
13558 ac_check_soname_save_LIBS=$LIBS
13559 LIBS="-lgsm $LIBS"
13560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13561 /* end confdefs.h. */
13563 /* Override any GCC internal prototype to avoid an error.
13564 Use char because int might match the return type of a GCC
13565 builtin and then its argument prototype would still apply. */
13566 #ifdef __cplusplus
13567 extern "C"
13568 #endif
13569 char gsm_create ();
13571 main ()
13573 return gsm_create ();
13575 return 0;
13577 _ACEOF
13578 if ac_fn_c_try_link "$LINENO"; then :
13579 case "$LIBEXT" in
13580 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13581 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'` ;;
13582 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13583 if ${ac_cv_lib_soname_gsm:+false} :; then :
13584 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13585 fi ;;
13586 esac
13588 rm -f core conftest.err conftest.$ac_objext \
13589 conftest$ac_exeext conftest.$ac_ext
13590 LIBS=$ac_check_soname_save_LIBS
13592 if ${ac_cv_lib_soname_gsm:+false} :; then :
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13594 $as_echo "not found" >&6; }
13596 else
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13598 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13600 cat >>confdefs.h <<_ACEOF
13601 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13602 _ACEOF
13607 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13608 case "x$with_gsm" in
13609 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13610 xno) ;;
13611 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13612 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13613 esac
13617 if test "x$with_krb5" != "xno"
13618 then
13619 if ${KRB5_CFLAGS:+false} :; then :
13620 if ${PKG_CONFIG+:} false; then :
13621 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13624 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13625 if ${KRB5_LIBS:+false} :; then :
13626 if ${PKG_CONFIG+:} false; then :
13627 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13630 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13632 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13633 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13634 ac_save_CPPFLAGS=$CPPFLAGS
13635 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13636 for ac_header in krb5/krb5.h
13637 do :
13638 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13639 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13640 cat >>confdefs.h <<_ACEOF
13641 #define HAVE_KRB5_KRB5_H 1
13642 _ACEOF
13646 done
13648 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13649 then
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13651 $as_echo_n "checking for -lkrb5... " >&6; }
13652 if ${ac_cv_lib_soname_krb5+:} false; then :
13653 $as_echo_n "(cached) " >&6
13654 else
13655 ac_check_soname_save_LIBS=$LIBS
13656 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13658 /* end confdefs.h. */
13660 /* Override any GCC internal prototype to avoid an error.
13661 Use char because int might match the return type of a GCC
13662 builtin and then its argument prototype would still apply. */
13663 #ifdef __cplusplus
13664 extern "C"
13665 #endif
13666 char krb5_init_context ();
13668 main ()
13670 return krb5_init_context ();
13672 return 0;
13674 _ACEOF
13675 if ac_fn_c_try_link "$LINENO"; then :
13676 case "$LIBEXT" in
13677 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13678 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'` ;;
13679 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13680 if ${ac_cv_lib_soname_krb5:+false} :; then :
13681 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13682 fi ;;
13683 esac
13685 rm -f core conftest.err conftest.$ac_objext \
13686 conftest$ac_exeext conftest.$ac_ext
13687 LIBS=$ac_check_soname_save_LIBS
13689 if ${ac_cv_lib_soname_krb5:+false} :; then :
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13691 $as_echo "not found" >&6; }
13692 KRB5_CFLAGS=""
13693 else
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13695 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13697 cat >>confdefs.h <<_ACEOF
13698 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13699 _ACEOF
13703 else
13704 KRB5_CFLAGS=""
13706 CPPFLAGS=$ac_save_CPPFLAGS
13707 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13708 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13711 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13712 case "x$with_krb5" in
13713 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13714 xno) ;;
13715 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13716 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13717 esac
13721 if test "x$with_gssapi" != "xno"
13722 then
13723 if ${GSSAPI_CFLAGS:+false} :; then :
13724 if ${PKG_CONFIG+:} false; then :
13725 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13728 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13729 if ${GSSAPI_LIBS:+false} :; then :
13730 if ${PKG_CONFIG+:} false; then :
13731 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13734 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13736 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13737 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13738 ac_save_CPPFLAGS=$CPPFLAGS
13739 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13740 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13741 do :
13742 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13743 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13744 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13745 cat >>confdefs.h <<_ACEOF
13746 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13747 _ACEOF
13751 done
13753 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13754 then
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13756 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13757 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13758 $as_echo_n "(cached) " >&6
13759 else
13760 ac_check_soname_save_LIBS=$LIBS
13761 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13763 /* end confdefs.h. */
13765 /* Override any GCC internal prototype to avoid an error.
13766 Use char because int might match the return type of a GCC
13767 builtin and then its argument prototype would still apply. */
13768 #ifdef __cplusplus
13769 extern "C"
13770 #endif
13771 char gss_init_sec_context ();
13773 main ()
13775 return gss_init_sec_context ();
13777 return 0;
13779 _ACEOF
13780 if ac_fn_c_try_link "$LINENO"; then :
13781 case "$LIBEXT" in
13782 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13783 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'` ;;
13784 *) 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'`
13785 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13786 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13787 fi ;;
13788 esac
13790 rm -f core conftest.err conftest.$ac_objext \
13791 conftest$ac_exeext conftest.$ac_ext
13792 LIBS=$ac_check_soname_save_LIBS
13794 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13796 $as_echo "not found" >&6; }
13797 GSSAPI_CFLAGS=""
13798 else
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13800 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13802 cat >>confdefs.h <<_ACEOF
13803 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13804 _ACEOF
13808 else
13809 GSSAPI_CFLAGS=""
13811 CPPFLAGS=$ac_save_CPPFLAGS
13812 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13813 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13816 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13817 case "x$with_gssapi" in
13818 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13819 xno) ;;
13820 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13821 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13822 esac
13826 if test "x$with_jpeg" != "xno"
13827 then
13828 if ${JPEG_CFLAGS:+false} :; then :
13829 if ${PKG_CONFIG+:} false; then :
13830 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13834 if ${JPEG_LIBS:+false} :; then :
13835 if ${PKG_CONFIG+:} false; then :
13836 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13841 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13842 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13843 ac_save_CPPFLAGS=$CPPFLAGS
13844 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13845 for ac_header in jpeglib.h
13846 do :
13847 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13848 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13849 cat >>confdefs.h <<_ACEOF
13850 #define HAVE_JPEGLIB_H 1
13851 _ACEOF
13855 done
13857 if test "$ac_cv_header_jpeglib_h" = "yes"
13858 then
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13860 $as_echo_n "checking for -ljpeg... " >&6; }
13861 if ${ac_cv_lib_soname_jpeg+:} false; then :
13862 $as_echo_n "(cached) " >&6
13863 else
13864 ac_check_soname_save_LIBS=$LIBS
13865 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13867 /* end confdefs.h. */
13869 /* Override any GCC internal prototype to avoid an error.
13870 Use char because int might match the return type of a GCC
13871 builtin and then its argument prototype would still apply. */
13872 #ifdef __cplusplus
13873 extern "C"
13874 #endif
13875 char jpeg_start_decompress ();
13877 main ()
13879 return jpeg_start_decompress ();
13881 return 0;
13883 _ACEOF
13884 if ac_fn_c_try_link "$LINENO"; then :
13885 case "$LIBEXT" in
13886 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13887 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'` ;;
13888 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13889 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13890 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13891 fi ;;
13892 esac
13894 rm -f core conftest.err conftest.$ac_objext \
13895 conftest$ac_exeext conftest.$ac_ext
13896 LIBS=$ac_check_soname_save_LIBS
13898 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13900 $as_echo "not found" >&6; }
13901 JPEG_CFLAGS=""
13902 else
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13904 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13906 cat >>confdefs.h <<_ACEOF
13907 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13908 _ACEOF
13912 else
13913 JPEG_CFLAGS=""
13915 CPPFLAGS=$ac_save_CPPFLAGS
13916 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13917 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13920 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13921 case "x$with_jpeg" in
13922 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13923 xno) ;;
13924 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13925 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13926 esac
13930 if test "x$with_png" != "xno"
13931 then
13932 if ${PNG_CFLAGS:+false} :; then :
13933 if ${PKG_CONFIG+:} false; then :
13934 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13937 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13938 if ${PNG_LIBS:+false} :; then :
13939 if ${PKG_CONFIG+:} false; then :
13940 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13943 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13945 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13946 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13947 ac_save_CPPFLAGS=$CPPFLAGS
13948 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13949 for ac_header in png.h
13950 do :
13951 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13952 if test "x$ac_cv_header_png_h" = xyes; then :
13953 cat >>confdefs.h <<_ACEOF
13954 #define HAVE_PNG_H 1
13955 _ACEOF
13959 done
13961 if test "$ac_cv_header_png_h" = "yes"
13962 then
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13964 $as_echo_n "checking for -lpng... " >&6; }
13965 if ${ac_cv_lib_soname_png+:} false; then :
13966 $as_echo_n "(cached) " >&6
13967 else
13968 ac_check_soname_save_LIBS=$LIBS
13969 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13971 /* end confdefs.h. */
13973 /* Override any GCC internal prototype to avoid an error.
13974 Use char because int might match the return type of a GCC
13975 builtin and then its argument prototype would still apply. */
13976 #ifdef __cplusplus
13977 extern "C"
13978 #endif
13979 char png_create_read_struct ();
13981 main ()
13983 return png_create_read_struct ();
13985 return 0;
13987 _ACEOF
13988 if ac_fn_c_try_link "$LINENO"; then :
13989 case "$LIBEXT" in
13990 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13991 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'` ;;
13992 *) 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'`
13993 if ${ac_cv_lib_soname_png:+false} :; then :
13994 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13995 fi ;;
13996 esac
13998 rm -f core conftest.err conftest.$ac_objext \
13999 conftest$ac_exeext conftest.$ac_ext
14000 LIBS=$ac_check_soname_save_LIBS
14002 if ${ac_cv_lib_soname_png:+false} :; then :
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14004 $as_echo "not found" >&6; }
14005 PNG_CFLAGS=""
14006 else
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14008 $as_echo "$ac_cv_lib_soname_png" >&6; }
14010 cat >>confdefs.h <<_ACEOF
14011 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14012 _ACEOF
14016 else
14017 PNG_CFLAGS=""
14019 CPPFLAGS=$ac_save_CPPFLAGS
14020 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14021 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14024 if test "x$ac_cv_lib_soname_png" = "x"; then :
14025 case "x$with_png" in
14026 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14027 xno) ;;
14028 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14029 This is an error since --with-png was requested." "$LINENO" 5 ;;
14030 esac
14034 if test "x$with_tiff" != "xno"
14035 then
14036 if ${TIFF_CFLAGS:+false} :; then :
14037 if ${PKG_CONFIG+:} false; then :
14038 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14042 if ${TIFF_LIBS:+false} :; then :
14043 if ${PKG_CONFIG+:} false; then :
14044 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14049 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14050 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14051 ac_save_CPPFLAGS=$CPPFLAGS
14052 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14053 for ac_header in tiffio.h
14054 do :
14055 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14056 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14057 cat >>confdefs.h <<_ACEOF
14058 #define HAVE_TIFFIO_H 1
14059 _ACEOF
14063 done
14065 if test "$ac_cv_header_tiffio_h" = "yes"
14066 then
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14068 $as_echo_n "checking for -ltiff... " >&6; }
14069 if ${ac_cv_lib_soname_tiff+:} false; then :
14070 $as_echo_n "(cached) " >&6
14071 else
14072 ac_check_soname_save_LIBS=$LIBS
14073 LIBS="-ltiff $TIFF_LIBS $LIBS"
14074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14075 /* end confdefs.h. */
14077 /* Override any GCC internal prototype to avoid an error.
14078 Use char because int might match the return type of a GCC
14079 builtin and then its argument prototype would still apply. */
14080 #ifdef __cplusplus
14081 extern "C"
14082 #endif
14083 char TIFFClientOpen ();
14085 main ()
14087 return TIFFClientOpen ();
14089 return 0;
14091 _ACEOF
14092 if ac_fn_c_try_link "$LINENO"; then :
14093 case "$LIBEXT" in
14094 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14095 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'` ;;
14096 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14097 if ${ac_cv_lib_soname_tiff:+false} :; then :
14098 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14099 fi ;;
14100 esac
14102 rm -f core conftest.err conftest.$ac_objext \
14103 conftest$ac_exeext conftest.$ac_ext
14104 LIBS=$ac_check_soname_save_LIBS
14106 if ${ac_cv_lib_soname_tiff:+false} :; then :
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14108 $as_echo "not found" >&6; }
14110 else
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14112 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14114 cat >>confdefs.h <<_ACEOF
14115 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14116 _ACEOF
14121 CPPFLAGS=$ac_save_CPPFLAGS
14122 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14123 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14126 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14127 case "x$with_tiff" in
14128 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14129 xno) ;;
14130 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14131 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14132 esac
14136 if test "x$with_mpg123" != "xno"
14137 then
14138 if ${MPG123_CFLAGS:+false} :; then :
14139 if ${PKG_CONFIG+:} false; then :
14140 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14144 if ${MPG123_LIBS:+false} :; then :
14145 if ${PKG_CONFIG+:} false; then :
14146 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14150 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14151 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14152 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14153 ac_save_CPPFLAGS=$CPPFLAGS
14154 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14155 for ac_header in mpg123.h
14156 do :
14157 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14158 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14159 cat >>confdefs.h <<_ACEOF
14160 #define HAVE_MPG123_H 1
14161 _ACEOF
14165 done
14167 if test "$ac_cv_header_mpg123_h" = "yes"
14168 then
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14170 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14171 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14172 $as_echo_n "(cached) " >&6
14173 else
14174 ac_check_lib_save_LIBS=$LIBS
14175 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14177 /* end confdefs.h. */
14179 /* Override any GCC internal prototype to avoid an error.
14180 Use char because int might match the return type of a GCC
14181 builtin and then its argument prototype would still apply. */
14182 #ifdef __cplusplus
14183 extern "C"
14184 #endif
14185 char mpg123_feed ();
14187 main ()
14189 return mpg123_feed ();
14191 return 0;
14193 _ACEOF
14194 if ac_fn_c_try_link "$LINENO"; then :
14195 ac_cv_lib_mpg123_mpg123_feed=yes
14196 else
14197 ac_cv_lib_mpg123_mpg123_feed=no
14199 rm -f core conftest.err conftest.$ac_objext \
14200 conftest$ac_exeext conftest.$ac_ext
14201 LIBS=$ac_check_lib_save_LIBS
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14204 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14205 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14207 else
14208 MPG123_LIBS=""
14211 else
14212 MPG123_CFLAGS=""
14213 MPG123_LIBS=""
14215 CPPFLAGS=$ac_save_CPPFLAGS
14216 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14217 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14220 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14221 case "x$with_mpg123" in
14222 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14223 xno) ;;
14224 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14225 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14226 esac
14227 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14230 if test "$ac_cv_header_AL_al_h" = "yes"
14231 then
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14233 $as_echo_n "checking for -lopenal... " >&6; }
14234 if ${ac_cv_lib_soname_openal+:} false; then :
14235 $as_echo_n "(cached) " >&6
14236 else
14237 ac_check_soname_save_LIBS=$LIBS
14238 LIBS="-lopenal $LIBS"
14239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14240 /* end confdefs.h. */
14242 /* Override any GCC internal prototype to avoid an error.
14243 Use char because int might match the return type of a GCC
14244 builtin and then its argument prototype would still apply. */
14245 #ifdef __cplusplus
14246 extern "C"
14247 #endif
14248 char alGetSource3i ();
14250 main ()
14252 return alGetSource3i ();
14254 return 0;
14256 _ACEOF
14257 if ac_fn_c_try_link "$LINENO"; then :
14258 case "$LIBEXT" in
14259 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14260 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'` ;;
14261 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14262 if ${ac_cv_lib_soname_openal:+false} :; then :
14263 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14264 fi ;;
14265 esac
14267 rm -f core conftest.err conftest.$ac_objext \
14268 conftest$ac_exeext conftest.$ac_ext
14269 LIBS=$ac_check_soname_save_LIBS
14271 if ${ac_cv_lib_soname_openal:+false} :; then :
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14273 $as_echo "not found" >&6; }
14275 else
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14277 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14279 cat >>confdefs.h <<_ACEOF
14280 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14281 _ACEOF
14283 OPENAL_LIBS="-lopenal"
14285 ac_cv_lib_openal=yes
14287 cat >>confdefs.h <<_ACEOF
14288 #define HAVE_OPENAL 1
14289 _ACEOF
14293 if test "x$ac_cv_lib_openal" != xyes; then :
14294 case "x$with_openal" in
14295 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14296 xno) ;;
14297 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14298 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14299 esac
14300 enable_openal32=${enable_openal32:-no}
14303 if test "x$ac_cv_lib_openal" = xyes
14304 then
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14306 $as_echo_n "checking for openal-soft... " >&6; }
14307 if ${ac_cv_have_openalsoft+:} false; then :
14308 $as_echo_n "(cached) " >&6
14309 else
14310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14312 #include <AL/al.h>
14313 #include <AL/alc.h>
14314 #include <AL/alext.h>
14315 LPALCRENDERSAMPLESSOFT x;
14317 main ()
14321 return 0;
14323 _ACEOF
14324 if ac_fn_c_try_compile "$LINENO"; then :
14325 ac_cv_have_openalsoft=yes
14326 else
14327 ac_cv_have_openalsoft=no
14329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14332 $as_echo "$ac_cv_have_openalsoft" >&6; }
14334 if test "x$ac_cv_have_openalsoft" != xyes
14335 then
14336 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14337 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14338 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14339 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14340 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14341 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14342 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14343 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14344 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14345 enable_xapofx1_1=${enable_xapofx1_1:-no}
14346 enable_xapofx1_2=${enable_xapofx1_2:-no}
14347 enable_xapofx1_3=${enable_xapofx1_3:-no}
14348 enable_xapofx1_4=${enable_xapofx1_4:-no}
14349 enable_xapofx1_5=${enable_xapofx1_5:-no}
14350 enable_xaudio2_0=${enable_xaudio2_0:-no}
14351 enable_xaudio2_1=${enable_xaudio2_1:-no}
14352 enable_xaudio2_2=${enable_xaudio2_2:-no}
14353 enable_xaudio2_3=${enable_xaudio2_3:-no}
14354 enable_xaudio2_4=${enable_xaudio2_4:-no}
14355 enable_xaudio2_5=${enable_xaudio2_5:-no}
14356 enable_xaudio2_6=${enable_xaudio2_6:-no}
14357 enable_xaudio2_7=${enable_xaudio2_7:-no}
14358 enable_xaudio2_8=${enable_xaudio2_8:-no}
14359 enable_xaudio2_9=${enable_xaudio2_9:-no}
14362 if test "$ac_cv_header_kstat_h" = "yes"
14363 then
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14365 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14366 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14367 $as_echo_n "(cached) " >&6
14368 else
14369 ac_check_lib_save_LIBS=$LIBS
14370 LIBS="-lkstat $LIBS"
14371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14372 /* end confdefs.h. */
14374 /* Override any GCC internal prototype to avoid an error.
14375 Use char because int might match the return type of a GCC
14376 builtin and then its argument prototype would still apply. */
14377 #ifdef __cplusplus
14378 extern "C"
14379 #endif
14380 char kstat_open ();
14382 main ()
14384 return kstat_open ();
14386 return 0;
14388 _ACEOF
14389 if ac_fn_c_try_link "$LINENO"; then :
14390 ac_cv_lib_kstat_kstat_open=yes
14391 else
14392 ac_cv_lib_kstat_kstat_open=no
14394 rm -f core conftest.err conftest.$ac_objext \
14395 conftest$ac_exeext conftest.$ac_ext
14396 LIBS=$ac_check_lib_save_LIBS
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14399 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14400 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14402 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14404 KSTAT_LIBS="-lkstat"
14410 if test "$ac_cv_header_libprocstat_h" = "yes"
14411 then
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14413 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14414 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14415 $as_echo_n "(cached) " >&6
14416 else
14417 ac_check_lib_save_LIBS=$LIBS
14418 LIBS="-lprocstat $LIBS"
14419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14420 /* end confdefs.h. */
14422 /* Override any GCC internal prototype to avoid an error.
14423 Use char because int might match the return type of a GCC
14424 builtin and then its argument prototype would still apply. */
14425 #ifdef __cplusplus
14426 extern "C"
14427 #endif
14428 char procstat_open_sysctl ();
14430 main ()
14432 return procstat_open_sysctl ();
14434 return 0;
14436 _ACEOF
14437 if ac_fn_c_try_link "$LINENO"; then :
14438 ac_cv_lib_procstat_procstat_open_sysctl=yes
14439 else
14440 ac_cv_lib_procstat_procstat_open_sysctl=no
14442 rm -f core conftest.err conftest.$ac_objext \
14443 conftest$ac_exeext conftest.$ac_ext
14444 LIBS=$ac_check_lib_save_LIBS
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14447 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14448 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14450 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14452 PROCSTAT_LIBS="-lprocstat"
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14459 $as_echo_n "checking for -lodbc... " >&6; }
14460 if ${ac_cv_lib_soname_odbc+:} false; then :
14461 $as_echo_n "(cached) " >&6
14462 else
14463 ac_check_soname_save_LIBS=$LIBS
14464 LIBS="-lodbc $LIBS"
14465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14468 /* Override any GCC internal prototype to avoid an error.
14469 Use char because int might match the return type of a GCC
14470 builtin and then its argument prototype would still apply. */
14471 #ifdef __cplusplus
14472 extern "C"
14473 #endif
14474 char SQLConnect ();
14476 main ()
14478 return SQLConnect ();
14480 return 0;
14482 _ACEOF
14483 if ac_fn_c_try_link "$LINENO"; then :
14484 case "$LIBEXT" in
14485 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14486 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'` ;;
14487 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14488 if ${ac_cv_lib_soname_odbc:+false} :; then :
14489 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14490 fi ;;
14491 esac
14493 rm -f core conftest.err conftest.$ac_objext \
14494 conftest$ac_exeext conftest.$ac_ext
14495 LIBS=$ac_check_soname_save_LIBS
14497 if ${ac_cv_lib_soname_odbc:+false} :; then :
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14499 $as_echo "not found" >&6; }
14500 cat >>confdefs.h <<_ACEOF
14501 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14502 _ACEOF
14504 else
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14506 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14508 cat >>confdefs.h <<_ACEOF
14509 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14510 _ACEOF
14515 if test "x$with_netapi" != "xno"
14516 then
14517 if ${NETAPI_CFLAGS:+false} :; then :
14518 if ${PKG_CONFIG+:} false; then :
14519 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14523 if ${NETAPI_LIBS:+false} :; then :
14524 if ${PKG_CONFIG+:} false; then :
14525 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14530 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14531 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14532 ac_save_CPPFLAGS=$CPPFLAGS
14533 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14535 $as_echo_n "checking for -lnetapi... " >&6; }
14536 if ${ac_cv_lib_soname_netapi+:} false; then :
14537 $as_echo_n "(cached) " >&6
14538 else
14539 ac_check_soname_save_LIBS=$LIBS
14540 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14542 /* end confdefs.h. */
14544 /* Override any GCC internal prototype to avoid an error.
14545 Use char because int might match the return type of a GCC
14546 builtin and then its argument prototype would still apply. */
14547 #ifdef __cplusplus
14548 extern "C"
14549 #endif
14550 char libnetapi_init ();
14552 main ()
14554 return libnetapi_init ();
14556 return 0;
14558 _ACEOF
14559 if ac_fn_c_try_link "$LINENO"; then :
14560 case "$LIBEXT" in
14561 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14562 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'` ;;
14563 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14564 if ${ac_cv_lib_soname_netapi:+false} :; then :
14565 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14566 fi ;;
14567 esac
14569 rm -f core conftest.err conftest.$ac_objext \
14570 conftest$ac_exeext conftest.$ac_ext
14571 LIBS=$ac_check_soname_save_LIBS
14573 if ${ac_cv_lib_soname_netapi:+false} :; then :
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14575 $as_echo "not found" >&6; }
14576 cat >>confdefs.h <<_ACEOF
14577 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14578 _ACEOF
14580 else
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14582 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14584 cat >>confdefs.h <<_ACEOF
14585 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14586 _ACEOF
14590 CPPFLAGS=$ac_save_CPPFLAGS
14591 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14592 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14596 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14597 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14598 then
14599 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14602 if test "x$with_vulkan" != "xno"
14603 then
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14605 $as_echo_n "checking for -lvulkan... " >&6; }
14606 if ${ac_cv_lib_soname_vulkan+:} false; then :
14607 $as_echo_n "(cached) " >&6
14608 else
14609 ac_check_soname_save_LIBS=$LIBS
14610 LIBS="-lvulkan $LIBS"
14611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14612 /* end confdefs.h. */
14614 /* Override any GCC internal prototype to avoid an error.
14615 Use char because int might match the return type of a GCC
14616 builtin and then its argument prototype would still apply. */
14617 #ifdef __cplusplus
14618 extern "C"
14619 #endif
14620 char vkGetInstanceProcAddr ();
14622 main ()
14624 return vkGetInstanceProcAddr ();
14626 return 0;
14628 _ACEOF
14629 if ac_fn_c_try_link "$LINENO"; then :
14630 case "$LIBEXT" in
14631 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14632 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'` ;;
14633 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14634 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14635 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14636 fi ;;
14637 esac
14639 rm -f core conftest.err conftest.$ac_objext \
14640 conftest$ac_exeext conftest.$ac_ext
14641 LIBS=$ac_check_soname_save_LIBS
14643 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14645 $as_echo "not found" >&6; }
14647 else
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14649 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14651 cat >>confdefs.h <<_ACEOF
14652 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14653 _ACEOF
14658 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14659 case "x$with_vulkan" in
14660 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14661 xno) ;;
14662 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14663 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14664 esac
14669 EXTRACFLAGS=""
14671 if test "x${GCC}" = "xyes"
14672 then
14673 EXTRACFLAGS="-Wall -pipe"
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14676 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14677 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14678 $as_echo_n "(cached) " >&6
14679 else
14680 if test "$cross_compiling" = yes; then :
14681 ac_cv_c_gcc_strength_bug="no"
14682 else
14683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14684 /* end confdefs.h. */
14685 int L[4] = {0,1,2,3};
14687 main ()
14689 static int Array[3];
14690 unsigned int B = 3;
14691 int i;
14692 for(i=0; i<B; i++) Array[i] = i - 3;
14693 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14694 L[i] = 4;
14695 return (Array[1] != -2 || L[2] != 3)
14697 return 0;
14699 _ACEOF
14700 if ac_fn_c_try_run "$LINENO"; then :
14701 ac_cv_c_gcc_strength_bug="no"
14702 else
14703 ac_cv_c_gcc_strength_bug="yes"
14705 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14706 conftest.$ac_objext conftest.beam conftest.$ac_ext
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14711 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14712 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14713 then
14714 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14718 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14719 if ${ac_cv_cflags__fno_builtin+:} false; then :
14720 $as_echo_n "(cached) " >&6
14721 else
14722 ac_wine_try_cflags_saved=$CFLAGS
14723 CFLAGS="$CFLAGS -fno-builtin"
14724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14726 int main(int argc, char **argv) { return 0; }
14727 _ACEOF
14728 if ac_fn_c_try_link "$LINENO"; then :
14729 ac_cv_cflags__fno_builtin=yes
14730 else
14731 ac_cv_cflags__fno_builtin=no
14733 rm -f core conftest.err conftest.$ac_objext \
14734 conftest$ac_exeext conftest.$ac_ext
14735 CFLAGS=$ac_wine_try_cflags_saved
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14738 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14739 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14740 BUILTINFLAG="-fno-builtin"
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14744 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14745 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14746 $as_echo_n "(cached) " >&6
14747 else
14748 ac_wine_try_cflags_saved=$CFLAGS
14749 CFLAGS="$CFLAGS -fno-strict-aliasing"
14750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14751 /* end confdefs.h. */
14752 int main(int argc, char **argv) { return 0; }
14753 _ACEOF
14754 if ac_fn_c_try_link "$LINENO"; then :
14755 ac_cv_cflags__fno_strict_aliasing=yes
14756 else
14757 ac_cv_cflags__fno_strict_aliasing=no
14759 rm -f core conftest.err conftest.$ac_objext \
14760 conftest$ac_exeext conftest.$ac_ext
14761 CFLAGS=$ac_wine_try_cflags_saved
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14764 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14765 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14766 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14769 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14770 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14771 $as_echo_n "(cached) " >&6
14772 else
14773 ac_wine_try_cflags_saved=$CFLAGS
14774 CFLAGS="$CFLAGS -fexcess-precision=standard"
14775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14776 /* end confdefs.h. */
14777 int main(int argc, char **argv) { return 0; }
14778 _ACEOF
14779 if ac_fn_c_try_link "$LINENO"; then :
14780 ac_cv_cflags__fexcess_precision_standard=yes
14781 else
14782 ac_cv_cflags__fexcess_precision_standard=no
14784 rm -f core conftest.err conftest.$ac_objext \
14785 conftest$ac_exeext conftest.$ac_ext
14786 CFLAGS=$ac_wine_try_cflags_saved
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14789 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14790 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14791 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14794 saved_CFLAGS=$CFLAGS
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14796 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14797 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14798 $as_echo_n "(cached) " >&6
14799 else
14800 ac_wine_try_cflags_saved=$CFLAGS
14801 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14804 int main(int argc, char **argv) { return 0; }
14805 _ACEOF
14806 if ac_fn_c_try_link "$LINENO"; then :
14807 ac_cv_cflags__Werror_unknown_warning_option=yes
14808 else
14809 ac_cv_cflags__Werror_unknown_warning_option=no
14811 rm -f core conftest.err conftest.$ac_objext \
14812 conftest$ac_exeext conftest.$ac_ext
14813 CFLAGS=$ac_wine_try_cflags_saved
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14816 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14817 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14818 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14821 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14822 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14823 $as_echo_n "(cached) " >&6
14824 else
14825 ac_wine_try_cflags_saved=$CFLAGS
14826 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14828 /* end confdefs.h. */
14829 int main(int argc, char **argv) { return 0; }
14830 _ACEOF
14831 if ac_fn_c_try_link "$LINENO"; then :
14832 ac_cv_cflags__Wdeclaration_after_statement=yes
14833 else
14834 ac_cv_cflags__Wdeclaration_after_statement=no
14836 rm -f core conftest.err conftest.$ac_objext \
14837 conftest$ac_exeext conftest.$ac_ext
14838 CFLAGS=$ac_wine_try_cflags_saved
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14841 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14842 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14843 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14846 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14847 if ${ac_cv_cflags__Wempty_body+:} false; then :
14848 $as_echo_n "(cached) " >&6
14849 else
14850 ac_wine_try_cflags_saved=$CFLAGS
14851 CFLAGS="$CFLAGS -Wempty-body"
14852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14854 int main(int argc, char **argv) { return 0; }
14855 _ACEOF
14856 if ac_fn_c_try_link "$LINENO"; then :
14857 ac_cv_cflags__Wempty_body=yes
14858 else
14859 ac_cv_cflags__Wempty_body=no
14861 rm -f core conftest.err conftest.$ac_objext \
14862 conftest$ac_exeext conftest.$ac_ext
14863 CFLAGS=$ac_wine_try_cflags_saved
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14866 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14867 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14868 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14871 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14872 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14873 $as_echo_n "(cached) " >&6
14874 else
14875 ac_wine_try_cflags_saved=$CFLAGS
14876 CFLAGS="$CFLAGS -Wignored-qualifiers"
14877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14879 int main(int argc, char **argv) { return 0; }
14880 _ACEOF
14881 if ac_fn_c_try_link "$LINENO"; then :
14882 ac_cv_cflags__Wignored_qualifiers=yes
14883 else
14884 ac_cv_cflags__Wignored_qualifiers=no
14886 rm -f core conftest.err conftest.$ac_objext \
14887 conftest$ac_exeext conftest.$ac_ext
14888 CFLAGS=$ac_wine_try_cflags_saved
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14891 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14892 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14893 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14896 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14897 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14898 $as_echo_n "(cached) " >&6
14899 else
14900 ac_wine_try_cflags_saved=$CFLAGS
14901 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14903 /* end confdefs.h. */
14904 int main(int argc, char **argv) { return 0; }
14905 _ACEOF
14906 if ac_fn_c_try_link "$LINENO"; then :
14907 ac_cv_cflags__Wpacked_not_aligned=yes
14908 else
14909 ac_cv_cflags__Wpacked_not_aligned=no
14911 rm -f core conftest.err conftest.$ac_objext \
14912 conftest$ac_exeext conftest.$ac_ext
14913 CFLAGS=$ac_wine_try_cflags_saved
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14916 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14917 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14918 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14921 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14922 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14923 $as_echo_n "(cached) " >&6
14924 else
14925 ac_wine_try_cflags_saved=$CFLAGS
14926 CFLAGS="$CFLAGS -Wpragma-pack"
14927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14928 /* end confdefs.h. */
14929 int main(int argc, char **argv) { return 0; }
14930 _ACEOF
14931 if ac_fn_c_try_link "$LINENO"; then :
14932 ac_cv_cflags__Wpragma_pack=yes
14933 else
14934 ac_cv_cflags__Wpragma_pack=no
14936 rm -f core conftest.err conftest.$ac_objext \
14937 conftest$ac_exeext conftest.$ac_ext
14938 CFLAGS=$ac_wine_try_cflags_saved
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14941 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14942 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14943 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14946 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14947 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14948 $as_echo_n "(cached) " >&6
14949 else
14950 ac_wine_try_cflags_saved=$CFLAGS
14951 CFLAGS="$CFLAGS -Wshift-overflow=2"
14952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14954 int main(int argc, char **argv) { return 0; }
14955 _ACEOF
14956 if ac_fn_c_try_link "$LINENO"; then :
14957 ac_cv_cflags__Wshift_overflow_2=yes
14958 else
14959 ac_cv_cflags__Wshift_overflow_2=no
14961 rm -f core conftest.err conftest.$ac_objext \
14962 conftest$ac_exeext conftest.$ac_ext
14963 CFLAGS=$ac_wine_try_cflags_saved
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14966 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14967 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14968 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14971 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14972 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14973 $as_echo_n "(cached) " >&6
14974 else
14975 ac_wine_try_cflags_saved=$CFLAGS
14976 CFLAGS="$CFLAGS -Wstrict-prototypes"
14977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14978 /* end confdefs.h. */
14979 int main(int argc, char **argv) { return 0; }
14980 _ACEOF
14981 if ac_fn_c_try_link "$LINENO"; then :
14982 ac_cv_cflags__Wstrict_prototypes=yes
14983 else
14984 ac_cv_cflags__Wstrict_prototypes=no
14986 rm -f core conftest.err conftest.$ac_objext \
14987 conftest$ac_exeext conftest.$ac_ext
14988 CFLAGS=$ac_wine_try_cflags_saved
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14991 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14992 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14993 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14996 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14997 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14998 $as_echo_n "(cached) " >&6
14999 else
15000 ac_wine_try_cflags_saved=$CFLAGS
15001 CFLAGS="$CFLAGS -Wtype-limits"
15002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003 /* end confdefs.h. */
15004 int main(int argc, char **argv) { return 0; }
15005 _ACEOF
15006 if ac_fn_c_try_link "$LINENO"; then :
15007 ac_cv_cflags__Wtype_limits=yes
15008 else
15009 ac_cv_cflags__Wtype_limits=no
15011 rm -f core conftest.err conftest.$ac_objext \
15012 conftest$ac_exeext conftest.$ac_ext
15013 CFLAGS=$ac_wine_try_cflags_saved
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15016 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15017 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15018 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15021 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15022 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15023 $as_echo_n "(cached) " >&6
15024 else
15025 ac_wine_try_cflags_saved=$CFLAGS
15026 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15028 /* end confdefs.h. */
15029 int main(int argc, char **argv) { return 0; }
15030 _ACEOF
15031 if ac_fn_c_try_link "$LINENO"; then :
15032 ac_cv_cflags__Wunused_but_set_parameter=yes
15033 else
15034 ac_cv_cflags__Wunused_but_set_parameter=no
15036 rm -f core conftest.err conftest.$ac_objext \
15037 conftest$ac_exeext conftest.$ac_ext
15038 CFLAGS=$ac_wine_try_cflags_saved
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15041 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15042 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15043 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15046 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15047 if ${ac_cv_cflags__Wvla+:} false; then :
15048 $as_echo_n "(cached) " >&6
15049 else
15050 ac_wine_try_cflags_saved=$CFLAGS
15051 CFLAGS="$CFLAGS -Wvla"
15052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15053 /* end confdefs.h. */
15054 int main(int argc, char **argv) { return 0; }
15055 _ACEOF
15056 if ac_fn_c_try_link "$LINENO"; then :
15057 ac_cv_cflags__Wvla=yes
15058 else
15059 ac_cv_cflags__Wvla=no
15061 rm -f core conftest.err conftest.$ac_objext \
15062 conftest$ac_exeext conftest.$ac_ext
15063 CFLAGS=$ac_wine_try_cflags_saved
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15066 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15067 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15068 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15071 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15072 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15073 $as_echo_n "(cached) " >&6
15074 else
15075 ac_wine_try_cflags_saved=$CFLAGS
15076 CFLAGS="$CFLAGS -Wwrite-strings"
15077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15078 /* end confdefs.h. */
15079 int main(int argc, char **argv) { return 0; }
15080 _ACEOF
15081 if ac_fn_c_try_link "$LINENO"; then :
15082 ac_cv_cflags__Wwrite_strings=yes
15083 else
15084 ac_cv_cflags__Wwrite_strings=no
15086 rm -f core conftest.err conftest.$ac_objext \
15087 conftest$ac_exeext conftest.$ac_ext
15088 CFLAGS=$ac_wine_try_cflags_saved
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15091 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15092 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15093 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15097 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15098 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15099 $as_echo_n "(cached) " >&6
15100 else
15101 ac_wine_try_cflags_saved=$CFLAGS
15102 CFLAGS="$CFLAGS -Wpointer-arith"
15103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15104 /* end confdefs.h. */
15105 int main(int argc, char **argv) { return 0; }
15106 _ACEOF
15107 if ac_fn_c_try_link "$LINENO"; then :
15108 ac_cv_cflags__Wpointer_arith=yes
15109 else
15110 ac_cv_cflags__Wpointer_arith=no
15112 rm -f core conftest.err conftest.$ac_objext \
15113 conftest$ac_exeext conftest.$ac_ext
15114 CFLAGS=$ac_wine_try_cflags_saved
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15117 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15118 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15119 saved_string_h_CFLAGS=$CFLAGS
15120 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15122 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15123 if ${ac_cv_c_string_h_warnings+:} false; then :
15124 $as_echo_n "(cached) " >&6
15125 else
15126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15128 #include <string.h>
15130 main ()
15134 return 0;
15136 _ACEOF
15137 if ac_fn_c_try_compile "$LINENO"; then :
15138 ac_cv_c_string_h_warnings=no
15139 else
15140 ac_cv_c_string_h_warnings=yes
15142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15145 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15146 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15147 CFLAGS=$saved_string_h_CFLAGS
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15151 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15152 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15153 $as_echo_n "(cached) " >&6
15154 else
15155 ac_wine_try_cflags_saved=$CFLAGS
15156 CFLAGS="$CFLAGS -Wlogical-op"
15157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15158 /* end confdefs.h. */
15159 int main(int argc, char **argv) { return 0; }
15160 _ACEOF
15161 if ac_fn_c_try_link "$LINENO"; then :
15162 ac_cv_cflags__Wlogical_op=yes
15163 else
15164 ac_cv_cflags__Wlogical_op=no
15166 rm -f core conftest.err conftest.$ac_objext \
15167 conftest$ac_exeext conftest.$ac_ext
15168 CFLAGS=$ac_wine_try_cflags_saved
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15171 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15172 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15173 saved_string_h_CFLAGS=$CFLAGS
15174 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15176 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15177 if ${ac_cv_c_logicalop_noisy+:} false; then :
15178 $as_echo_n "(cached) " >&6
15179 else
15180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15181 /* end confdefs.h. */
15182 #include <string.h>
15183 char*f(const char *h,char n) {return strchr(h,n);}
15185 main ()
15189 return 0;
15191 _ACEOF
15192 if ac_fn_c_try_compile "$LINENO"; then :
15193 ac_cv_c_logicalop_noisy=no
15194 else
15195 ac_cv_c_logicalop_noisy=yes
15197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15200 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15201 CFLAGS=$saved_string_h_CFLAGS
15202 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15205 CFLAGS=$saved_CFLAGS
15207 for ac_flag in $CFLAGS; do
15208 case $ac_flag in
15209 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15210 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15211 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15212 $as_echo_n "(cached) " >&6
15213 else
15214 ac_wine_try_cflags_saved=$CFLAGS
15215 CFLAGS="$CFLAGS -gdwarf-2"
15216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15217 /* end confdefs.h. */
15218 int main(int argc, char **argv) { return 0; }
15219 _ACEOF
15220 if ac_fn_c_try_link "$LINENO"; then :
15221 ac_cv_cflags__gdwarf_2=yes
15222 else
15223 ac_cv_cflags__gdwarf_2=no
15225 rm -f core conftest.err conftest.$ac_objext \
15226 conftest$ac_exeext conftest.$ac_ext
15227 CFLAGS=$ac_wine_try_cflags_saved
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15230 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15231 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15232 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15235 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15236 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15237 $as_echo_n "(cached) " >&6
15238 else
15239 ac_wine_try_cflags_saved=$CFLAGS
15240 CFLAGS="$CFLAGS -gstrict-dwarf"
15241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15242 /* end confdefs.h. */
15243 int main(int argc, char **argv) { return 0; }
15244 _ACEOF
15245 if ac_fn_c_try_link "$LINENO"; then :
15246 ac_cv_cflags__gstrict_dwarf=yes
15247 else
15248 ac_cv_cflags__gstrict_dwarf=no
15250 rm -f core conftest.err conftest.$ac_objext \
15251 conftest$ac_exeext conftest.$ac_ext
15252 CFLAGS=$ac_wine_try_cflags_saved
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15255 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15256 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15257 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15258 fi ;;
15259 esac
15260 done
15262 case $host_cpu in
15263 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15264 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15265 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15266 $as_echo_n "(cached) " >&6
15267 else
15268 ac_wine_try_cflags_saved=$CFLAGS
15269 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15271 /* end confdefs.h. */
15272 int main(int argc, char **argv) { return 0; }
15273 _ACEOF
15274 if ac_fn_c_try_link "$LINENO"; then :
15275 ac_cv_cflags__fno_omit_frame_pointer=yes
15276 else
15277 ac_cv_cflags__fno_omit_frame_pointer=no
15279 rm -f core conftest.err conftest.$ac_objext \
15280 conftest$ac_exeext conftest.$ac_ext
15281 CFLAGS=$ac_wine_try_cflags_saved
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15284 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15285 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15286 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15287 fi ;;
15288 esac
15290 case $host in
15291 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15292 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15293 if ${ac_cv_cflags__Wno_format+:} false; then :
15294 $as_echo_n "(cached) " >&6
15295 else
15296 ac_wine_try_cflags_saved=$CFLAGS
15297 CFLAGS="$CFLAGS -Wno-format"
15298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15299 /* end confdefs.h. */
15300 int main(int argc, char **argv) { return 0; }
15301 _ACEOF
15302 if ac_fn_c_try_link "$LINENO"; then :
15303 ac_cv_cflags__Wno_format=yes
15304 else
15305 ac_cv_cflags__Wno_format=no
15307 rm -f core conftest.err conftest.$ac_objext \
15308 conftest$ac_exeext conftest.$ac_ext
15309 CFLAGS=$ac_wine_try_cflags_saved
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15312 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15313 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15314 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15315 fi ;;
15316 esac
15318 if test "x$enable_maintainer_mode" = "xyes"
15319 then
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15321 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15322 if ${ac_cv_cflags__Werror+:} false; then :
15323 $as_echo_n "(cached) " >&6
15324 else
15325 ac_wine_try_cflags_saved=$CFLAGS
15326 CFLAGS="$CFLAGS -Werror"
15327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15328 /* end confdefs.h. */
15329 int main(int argc, char **argv) { return 0; }
15330 _ACEOF
15331 if ac_fn_c_try_link "$LINENO"; then :
15332 ac_cv_cflags__Werror=yes
15333 else
15334 ac_cv_cflags__Werror=no
15336 rm -f core conftest.err conftest.$ac_objext \
15337 conftest$ac_exeext conftest.$ac_ext
15338 CFLAGS=$ac_wine_try_cflags_saved
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15341 $as_echo "$ac_cv_cflags__Werror" >&6; }
15342 if test "x$ac_cv_cflags__Werror" = xyes; then :
15343 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15347 saved_CFLAGS="$CFLAGS"
15348 CFLAGS="$CFLAGS -Werror"
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15350 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15351 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15352 $as_echo_n "(cached) " >&6
15353 else
15354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15355 /* end confdefs.h. */
15356 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15358 main ()
15362 return 0;
15364 _ACEOF
15365 if ac_fn_c_try_compile "$LINENO"; then :
15366 ac_cv_have_ms_hook_prologue="yes"
15367 else
15368 ac_cv_have_ms_hook_prologue="no"
15370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15373 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15374 CFLAGS="$saved_CFLAGS"
15375 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15376 then
15378 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15380 else
15381 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15388 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15389 if ${ac_cv_c_fortify_enabled+:} false; then :
15390 $as_echo_n "(cached) " >&6
15391 else
15392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15393 /* end confdefs.h. */
15394 #include <string.h>
15396 main ()
15398 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15399 #error Fortify enabled
15400 #endif
15402 return 0;
15404 _ACEOF
15405 if ac_fn_c_try_compile "$LINENO"; then :
15406 ac_cv_c_fortify_enabled=no
15407 else
15408 ac_cv_c_fortify_enabled=yes
15410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15413 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15414 if test "$ac_cv_c_fortify_enabled" = yes
15415 then
15416 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15421 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15422 if ${ac_cv_c_extern_prefix+:} false; then :
15423 $as_echo_n "(cached) " >&6
15424 else
15425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15426 /* end confdefs.h. */
15427 extern int ac_test;
15429 main ()
15431 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15433 return 0;
15435 _ACEOF
15436 if ac_fn_c_try_link "$LINENO"; then :
15437 ac_cv_c_extern_prefix="yes"
15438 else
15439 ac_cv_c_extern_prefix="no"
15441 rm -f core conftest.err conftest.$ac_objext \
15442 conftest$ac_exeext conftest.$ac_ext
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15445 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15447 case $host_cpu in
15448 *i[3456789]86*)
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15450 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15451 if ${ac_cv_c_stdcall_suffix+:} false; then :
15452 $as_echo_n "(cached) " >&6
15453 else
15454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15455 /* end confdefs.h. */
15456 #ifndef _MSC_VER
15457 #define __stdcall __attribute__((__stdcall__))
15458 #endif
15459 int __stdcall ac_test(int i) { return i; }
15461 main ()
15463 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15465 return 0;
15467 _ACEOF
15468 if ac_fn_c_try_link "$LINENO"; then :
15469 ac_cv_c_stdcall_suffix="yes"
15470 else
15471 ac_cv_c_stdcall_suffix="no"
15473 rm -f core conftest.err conftest.$ac_objext \
15474 conftest$ac_exeext conftest.$ac_ext
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15477 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15478 *) ac_cv_c_stdcall_suffix="no" ;;
15479 esac
15482 if test "$ac_cv_c_extern_prefix" = "yes"
15483 then
15484 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15486 asm_name_prefix="_"
15487 else
15488 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15490 asm_name_prefix=""
15494 if test "$ac_cv_c_stdcall_suffix" = "yes"
15495 then
15496 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15498 else
15499 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15505 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15506 if ${ac_cv_asm_func_def+:} false; then :
15507 $as_echo_n "(cached) " >&6
15508 else
15509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15510 /* end confdefs.h. */
15513 main ()
15515 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15517 return 0;
15519 _ACEOF
15520 if ac_fn_c_try_link "$LINENO"; then :
15521 ac_cv_asm_func_def=".def"
15522 else
15523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15524 /* end confdefs.h. */
15527 main ()
15529 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15531 return 0;
15533 _ACEOF
15534 if ac_fn_c_try_link "$LINENO"; then :
15535 ac_cv_asm_func_def=".type @function"
15536 else
15537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15538 /* end confdefs.h. */
15541 main ()
15543 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15545 return 0;
15547 _ACEOF
15548 if ac_fn_c_try_link "$LINENO"; then :
15549 ac_cv_asm_func_def=".type 2"
15550 else
15551 ac_cv_asm_func_def="unknown"
15553 rm -f core conftest.err conftest.$ac_objext \
15554 conftest$ac_exeext conftest.$ac_ext
15556 rm -f core conftest.err conftest.$ac_objext \
15557 conftest$ac_exeext conftest.$ac_ext
15559 rm -f core conftest.err conftest.$ac_objext \
15560 conftest$ac_exeext conftest.$ac_ext
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15563 $as_echo "$ac_cv_asm_func_def" >&6; }
15566 case "$ac_cv_asm_func_def" in
15567 ".def")
15568 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15570 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15571 ".type @function")
15572 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15574 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15575 ".type 2")
15576 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15578 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15580 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15582 asm_func_header="" ;;
15583 esac
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15586 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15587 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15588 $as_echo_n "(cached) " >&6
15589 else
15590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15591 /* end confdefs.h. */
15592 asm(".text\n\t.long 0");
15594 main ()
15598 return 0;
15600 _ACEOF
15601 if ac_fn_c_try_compile "$LINENO"; then :
15602 ac_cv_c_asm_outside_funcs="yes"
15603 else
15604 ac_cv_c_asm_outside_funcs="no"
15606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15609 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15612 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15613 if ${ac_cv_c_dot_previous+:} false; then :
15614 $as_echo_n "(cached) " >&6
15615 else
15616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15617 /* end confdefs.h. */
15620 main ()
15622 asm(".text\nac_test:\t.long 0\n\t.previous");
15624 return 0;
15626 _ACEOF
15627 if ac_fn_c_try_link "$LINENO"; then :
15628 ac_cv_c_dot_previous="yes"
15629 else
15630 ac_cv_c_dot_previous="no"
15632 rm -f core conftest.err conftest.$ac_objext \
15633 conftest$ac_exeext conftest.$ac_ext
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15636 $as_echo "$ac_cv_c_dot_previous" >&6; }
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15639 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15640 if ${ac_cv_c_cfi_support+:} false; then :
15641 $as_echo_n "(cached) " >&6
15642 else
15643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15644 /* end confdefs.h. */
15645 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15647 main ()
15651 return 0;
15653 _ACEOF
15654 if ac_fn_c_try_compile "$LINENO"; then :
15655 ac_cv_c_cfi_support="yes"
15656 else
15657 ac_cv_c_cfi_support="no"
15659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15662 $as_echo "$ac_cv_c_cfi_support" >&6; }
15664 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15665 asm_func_trailer=""
15666 if test "$ac_cv_c_dot_previous" = "yes"
15667 then
15668 asm_func_trailer="\\n\\t.previous"
15670 if test "$ac_cv_c_cfi_support" = "yes"
15671 then
15672 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15673 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15675 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15677 UNWINDFLAGS=-fasynchronous-unwind-tables
15679 else
15680 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15682 if test "x$enable_win64" = "xyes"
15683 then
15684 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15688 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15691 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15692 then
15693 cat >>confdefs.h <<_ACEOF
15694 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15695 _ACEOF
15697 else
15698 cat >>confdefs.h <<_ACEOF
15699 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15700 _ACEOF
15704 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15707 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15711 case $build_os in
15712 cygwin*|mingw32*) TOOLSEXT=".exe"
15714 esac
15716 case $host_os in
15717 linux*)
15718 case $host_cpu in
15719 *i[3456789]86*|x86_64*|*aarch64*)
15720 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15721 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15723 esac
15725 esac
15728 ac_save_CFLAGS="$CFLAGS"
15729 CFLAGS="$CFLAGS $BUILTINFLAG"
15730 for ac_func in \
15731 __res_get_state \
15732 __res_getservers \
15733 _finite \
15734 _isnan \
15735 _pclose \
15736 _popen \
15737 _snprintf \
15738 _spawnvp \
15739 _strdup \
15740 _stricmp \
15741 _strnicmp \
15742 _strtoi64 \
15743 _strtoui64 \
15744 _vsnprintf \
15745 asctime_r \
15746 chsize \
15747 dlopen \
15748 epoll_create \
15749 ffs \
15750 finitef \
15751 fnmatch \
15752 fork \
15753 fpclass \
15754 fstatfs \
15755 fstatvfs \
15756 ftruncate \
15757 futimens \
15758 futimes \
15759 futimesat \
15760 getattrlist \
15761 getauxval \
15762 getifaddrs \
15763 getopt_long_only \
15764 getpwuid \
15765 gettimeofday \
15766 getuid \
15767 isnanf \
15768 kqueue \
15769 lstat \
15770 memmove \
15771 mmap \
15772 pclose \
15773 pipe2 \
15774 poll \
15775 popen \
15776 port_create \
15777 prctl \
15778 pread \
15779 proc_pidinfo \
15780 pwrite \
15781 readdir \
15782 readlink \
15783 sched_yield \
15784 select \
15785 setproctitle \
15786 setprogname \
15787 setrlimit \
15788 settimeofday \
15789 sigaltstack \
15790 sigprocmask \
15791 snprintf \
15792 statfs \
15793 statvfs \
15794 strcasecmp \
15795 strdup \
15796 strerror \
15797 strncasecmp \
15798 strnlen \
15799 strtold \
15800 strtoll \
15801 strtoull \
15802 symlink \
15803 sysinfo \
15804 tcdrain \
15805 thr_kill2 \
15806 timegm \
15807 usleep \
15808 vsnprintf
15810 do :
15811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15813 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15814 cat >>confdefs.h <<_ACEOF
15815 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15816 _ACEOF
15819 done
15821 CFLAGS="$ac_save_CFLAGS"
15823 if test "$ac_cv_func_dlopen" = no
15824 then
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15826 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15827 if ${ac_cv_lib_dl_dlopen+:} false; then :
15828 $as_echo_n "(cached) " >&6
15829 else
15830 ac_check_lib_save_LIBS=$LIBS
15831 LIBS="-ldl $LIBS"
15832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15833 /* end confdefs.h. */
15835 /* Override any GCC internal prototype to avoid an error.
15836 Use char because int might match the return type of a GCC
15837 builtin and then its argument prototype would still apply. */
15838 #ifdef __cplusplus
15839 extern "C"
15840 #endif
15841 char dlopen ();
15843 main ()
15845 return dlopen ();
15847 return 0;
15849 _ACEOF
15850 if ac_fn_c_try_link "$LINENO"; then :
15851 ac_cv_lib_dl_dlopen=yes
15852 else
15853 ac_cv_lib_dl_dlopen=no
15855 rm -f core conftest.err conftest.$ac_objext \
15856 conftest$ac_exeext conftest.$ac_ext
15857 LIBS=$ac_check_lib_save_LIBS
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15860 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15861 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15862 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15863 DL_LIBS="-ldl"
15868 ac_wine_check_funcs_save_LIBS="$LIBS"
15869 LIBS="$LIBS $DL_LIBS"
15870 for ac_func in dladdr
15871 do :
15872 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15873 if test "x$ac_cv_func_dladdr" = xyes; then :
15874 cat >>confdefs.h <<_ACEOF
15875 #define HAVE_DLADDR 1
15876 _ACEOF
15879 done
15881 LIBS="$ac_wine_check_funcs_save_LIBS"
15883 if test "$ac_cv_func_poll" = no
15884 then
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15886 $as_echo_n "checking for poll in -lpoll... " >&6; }
15887 if ${ac_cv_lib_poll_poll+:} false; then :
15888 $as_echo_n "(cached) " >&6
15889 else
15890 ac_check_lib_save_LIBS=$LIBS
15891 LIBS="-lpoll $LIBS"
15892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15895 /* Override any GCC internal prototype to avoid an error.
15896 Use char because int might match the return type of a GCC
15897 builtin and then its argument prototype would still apply. */
15898 #ifdef __cplusplus
15899 extern "C"
15900 #endif
15901 char poll ();
15903 main ()
15905 return poll ();
15907 return 0;
15909 _ACEOF
15910 if ac_fn_c_try_link "$LINENO"; then :
15911 ac_cv_lib_poll_poll=yes
15912 else
15913 ac_cv_lib_poll_poll=no
15915 rm -f core conftest.err conftest.$ac_objext \
15916 conftest$ac_exeext conftest.$ac_ext
15917 LIBS=$ac_check_lib_save_LIBS
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15920 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15921 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15922 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15923 POLL_LIBS="-lpoll"
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15930 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15931 if ${ac_cv_search_gethostbyname+:} false; then :
15932 $as_echo_n "(cached) " >&6
15933 else
15934 ac_func_search_save_LIBS=$LIBS
15935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15936 /* end confdefs.h. */
15938 /* Override any GCC internal prototype to avoid an error.
15939 Use char because int might match the return type of a GCC
15940 builtin and then its argument prototype would still apply. */
15941 #ifdef __cplusplus
15942 extern "C"
15943 #endif
15944 char gethostbyname ();
15946 main ()
15948 return gethostbyname ();
15950 return 0;
15952 _ACEOF
15953 for ac_lib in '' nsl; do
15954 if test -z "$ac_lib"; then
15955 ac_res="none required"
15956 else
15957 ac_res=-l$ac_lib
15958 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15960 if ac_fn_c_try_link "$LINENO"; then :
15961 ac_cv_search_gethostbyname=$ac_res
15963 rm -f core conftest.err conftest.$ac_objext \
15964 conftest$ac_exeext
15965 if ${ac_cv_search_gethostbyname+:} false; then :
15966 break
15968 done
15969 if ${ac_cv_search_gethostbyname+:} false; then :
15971 else
15972 ac_cv_search_gethostbyname=no
15974 rm conftest.$ac_ext
15975 LIBS=$ac_func_search_save_LIBS
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15978 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15979 ac_res=$ac_cv_search_gethostbyname
15980 if test "$ac_res" != no; then :
15981 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15987 $as_echo_n "checking for library containing connect... " >&6; }
15988 if ${ac_cv_search_connect+:} false; then :
15989 $as_echo_n "(cached) " >&6
15990 else
15991 ac_func_search_save_LIBS=$LIBS
15992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15993 /* end confdefs.h. */
15995 /* Override any GCC internal prototype to avoid an error.
15996 Use char because int might match the return type of a GCC
15997 builtin and then its argument prototype would still apply. */
15998 #ifdef __cplusplus
15999 extern "C"
16000 #endif
16001 char connect ();
16003 main ()
16005 return connect ();
16007 return 0;
16009 _ACEOF
16010 for ac_lib in '' socket; do
16011 if test -z "$ac_lib"; then
16012 ac_res="none required"
16013 else
16014 ac_res=-l$ac_lib
16015 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16017 if ac_fn_c_try_link "$LINENO"; then :
16018 ac_cv_search_connect=$ac_res
16020 rm -f core conftest.err conftest.$ac_objext \
16021 conftest$ac_exeext
16022 if ${ac_cv_search_connect+:} false; then :
16023 break
16025 done
16026 if ${ac_cv_search_connect+:} false; then :
16028 else
16029 ac_cv_search_connect=no
16031 rm conftest.$ac_ext
16032 LIBS=$ac_func_search_save_LIBS
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16035 $as_echo "$ac_cv_search_connect" >&6; }
16036 ac_res=$ac_cv_search_connect
16037 if test "$ac_res" != no; then :
16038 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16044 $as_echo_n "checking for library containing inet_aton... " >&6; }
16045 if ${ac_cv_search_inet_aton+:} false; then :
16046 $as_echo_n "(cached) " >&6
16047 else
16048 ac_func_search_save_LIBS=$LIBS
16049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16050 /* end confdefs.h. */
16052 /* Override any GCC internal prototype to avoid an error.
16053 Use char because int might match the return type of a GCC
16054 builtin and then its argument prototype would still apply. */
16055 #ifdef __cplusplus
16056 extern "C"
16057 #endif
16058 char inet_aton ();
16060 main ()
16062 return inet_aton ();
16064 return 0;
16066 _ACEOF
16067 for ac_lib in '' resolv; do
16068 if test -z "$ac_lib"; then
16069 ac_res="none required"
16070 else
16071 ac_res=-l$ac_lib
16072 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16074 if ac_fn_c_try_link "$LINENO"; then :
16075 ac_cv_search_inet_aton=$ac_res
16077 rm -f core conftest.err conftest.$ac_objext \
16078 conftest$ac_exeext
16079 if ${ac_cv_search_inet_aton+:} false; then :
16080 break
16082 done
16083 if ${ac_cv_search_inet_aton+:} false; then :
16085 else
16086 ac_cv_search_inet_aton=no
16088 rm conftest.$ac_ext
16089 LIBS=$ac_func_search_save_LIBS
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16092 $as_echo "$ac_cv_search_inet_aton" >&6; }
16093 ac_res=$ac_cv_search_inet_aton
16094 if test "$ac_res" != no; then :
16095 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16100 for ac_func in \
16101 getaddrinfo \
16102 getnameinfo \
16103 getnetbyname \
16104 getprotobyname \
16105 getprotobynumber \
16106 getservbyport \
16107 inet_addr \
16108 inet_network \
16109 inet_ntop \
16110 inet_pton \
16111 sendmsg \
16112 socketpair \
16114 do :
16115 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16116 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16117 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16118 cat >>confdefs.h <<_ACEOF
16119 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16120 _ACEOF
16123 done
16126 ac_save_LIBS=$LIBS
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16128 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16129 if ${ac_cv_search_clock_gettime+:} false; then :
16130 $as_echo_n "(cached) " >&6
16131 else
16132 ac_func_search_save_LIBS=$LIBS
16133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16134 /* end confdefs.h. */
16136 /* Override any GCC internal prototype to avoid an error.
16137 Use char because int might match the return type of a GCC
16138 builtin and then its argument prototype would still apply. */
16139 #ifdef __cplusplus
16140 extern "C"
16141 #endif
16142 char clock_gettime ();
16144 main ()
16146 return clock_gettime ();
16148 return 0;
16150 _ACEOF
16151 for ac_lib in '' rt; do
16152 if test -z "$ac_lib"; then
16153 ac_res="none required"
16154 else
16155 ac_res=-l$ac_lib
16156 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16158 if ac_fn_c_try_link "$LINENO"; then :
16159 ac_cv_search_clock_gettime=$ac_res
16161 rm -f core conftest.err conftest.$ac_objext \
16162 conftest$ac_exeext
16163 if ${ac_cv_search_clock_gettime+:} false; then :
16164 break
16166 done
16167 if ${ac_cv_search_clock_gettime+:} false; then :
16169 else
16170 ac_cv_search_clock_gettime=no
16172 rm conftest.$ac_ext
16173 LIBS=$ac_func_search_save_LIBS
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16176 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16177 ac_res=$ac_cv_search_clock_gettime
16178 if test "$ac_res" != no; then :
16179 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16181 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16183 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16187 LIBS=$ac_save_LIBS
16189 if test "x$with_ldap" != "xno"
16190 then
16191 if ${LDAP_CFLAGS:+false} :; then :
16192 if ${PKG_CONFIG+:} false; then :
16193 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16197 if ${LDAP_LIBS:+false} :; then :
16198 if ${PKG_CONFIG+:} false; then :
16199 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16203 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16204 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16205 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16206 ac_save_CPPFLAGS=$CPPFLAGS
16207 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16208 for ac_header in ldap.h lber.h
16209 do :
16210 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16211 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16212 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16213 cat >>confdefs.h <<_ACEOF
16214 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16215 _ACEOF
16219 done
16221 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16222 then
16223 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16225 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16227 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16228 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16229 $as_echo_n "(cached) " >&6
16230 else
16231 ac_check_lib_save_LIBS=$LIBS
16232 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16234 /* end confdefs.h. */
16236 /* Override any GCC internal prototype to avoid an error.
16237 Use char because int might match the return type of a GCC
16238 builtin and then its argument prototype would still apply. */
16239 #ifdef __cplusplus
16240 extern "C"
16241 #endif
16242 char ldap_initialize ();
16244 main ()
16246 return ldap_initialize ();
16248 return 0;
16250 _ACEOF
16251 if ac_fn_c_try_link "$LINENO"; then :
16252 ac_cv_lib_ldap_r_ldap_initialize=yes
16253 else
16254 ac_cv_lib_ldap_r_ldap_initialize=no
16256 rm -f core conftest.err conftest.$ac_objext \
16257 conftest$ac_exeext conftest.$ac_ext
16258 LIBS=$ac_check_lib_save_LIBS
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16261 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16262 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16264 $as_echo_n "checking for ber_init in -llber... " >&6; }
16265 if ${ac_cv_lib_lber_ber_init+:} false; then :
16266 $as_echo_n "(cached) " >&6
16267 else
16268 ac_check_lib_save_LIBS=$LIBS
16269 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16271 /* end confdefs.h. */
16273 /* Override any GCC internal prototype to avoid an error.
16274 Use char because int might match the return type of a GCC
16275 builtin and then its argument prototype would still apply. */
16276 #ifdef __cplusplus
16277 extern "C"
16278 #endif
16279 char ber_init ();
16281 main ()
16283 return ber_init ();
16285 return 0;
16287 _ACEOF
16288 if ac_fn_c_try_link "$LINENO"; then :
16289 ac_cv_lib_lber_ber_init=yes
16290 else
16291 ac_cv_lib_lber_ber_init=no
16293 rm -f core conftest.err conftest.$ac_objext \
16294 conftest$ac_exeext conftest.$ac_ext
16295 LIBS=$ac_check_lib_save_LIBS
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16298 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16299 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16301 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16303 else
16304 LDAP_LIBS=""
16307 else
16308 LDAP_LIBS=""
16311 else
16312 LDAP_LIBS=""
16315 ac_wine_check_funcs_save_LIBS="$LIBS"
16316 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16317 for ac_func in \
16318 ldap_count_references \
16319 ldap_first_reference \
16320 ldap_next_reference \
16321 ldap_parse_reference \
16322 ldap_parse_sort_control \
16323 ldap_parse_sortresponse_control \
16324 ldap_parse_vlv_control \
16325 ldap_parse_vlvresponse_control
16326 do :
16327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16329 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16330 cat >>confdefs.h <<_ACEOF
16331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16332 _ACEOF
16335 done
16337 LIBS="$ac_wine_check_funcs_save_LIBS"
16338 else
16339 LDAP_LIBS=""
16341 CPPFLAGS=$ac_save_CPPFLAGS
16342 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16343 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16346 if test "x$LDAP_LIBS" = "x"; then :
16347 case "x$with_ldap" in
16348 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16349 xno) ;;
16350 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16351 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16352 esac
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16357 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16358 if ${wine_cv_one_arg_mkdir+:} false; then :
16359 $as_echo_n "(cached) " >&6
16360 else
16361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16362 /* end confdefs.h. */
16363 #include <sys/stat.h>
16365 main ()
16367 mkdir("foo");
16369 return 0;
16371 _ACEOF
16372 if ac_fn_c_try_compile "$LINENO"; then :
16373 wine_cv_one_arg_mkdir=yes
16374 else
16375 wine_cv_one_arg_mkdir=no
16377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16380 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16381 if test "$wine_cv_one_arg_mkdir" = "yes"
16382 then
16384 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16389 $as_echo_n "checking for sched_setaffinity... " >&6; }
16390 if ${wine_cv_have_sched_setaffinity+:} false; then :
16391 $as_echo_n "(cached) " >&6
16392 else
16393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16394 /* end confdefs.h. */
16395 #define _GNU_SOURCE
16396 #include <sched.h>
16398 main ()
16400 sched_setaffinity(0, 0, 0);
16402 return 0;
16404 _ACEOF
16405 if ac_fn_c_try_link "$LINENO"; then :
16406 wine_cv_have_sched_setaffinity=yes
16407 else
16408 wine_cv_have_sched_setaffinity=no
16410 rm -f core conftest.err conftest.$ac_objext \
16411 conftest$ac_exeext conftest.$ac_ext
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16414 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16415 if test "$wine_cv_have_sched_setaffinity" = "yes"
16416 then
16418 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16423 $as_echo_n "checking for fallocate... " >&6; }
16424 if ${wine_cv_have_fallocate+:} false; then :
16425 $as_echo_n "(cached) " >&6
16426 else
16427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16428 /* end confdefs.h. */
16429 #define _GNU_SOURCE
16430 #include <fcntl.h>
16432 main ()
16434 fallocate(-1, 0, 0, 0);
16436 return 0;
16438 _ACEOF
16439 if ac_fn_c_try_link "$LINENO"; then :
16440 wine_cv_have_fallocate=yes
16441 else
16442 wine_cv_have_fallocate=no
16444 rm -f core conftest.err conftest.$ac_objext \
16445 conftest$ac_exeext conftest.$ac_ext
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16448 $as_echo "$wine_cv_have_fallocate" >&6; }
16449 if test "$wine_cv_have_fallocate" = "yes"
16450 then
16452 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16458 $as_echo_n "checking for inline... " >&6; }
16459 if ${ac_cv_c_inline+:} false; then :
16460 $as_echo_n "(cached) " >&6
16461 else
16462 ac_cv_c_inline=no
16463 for ac_kw in inline __inline__ __inline; do
16464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16465 /* end confdefs.h. */
16466 #ifndef __cplusplus
16467 typedef int foo_t;
16468 static $ac_kw foo_t static_foo () {return 0; }
16469 $ac_kw foo_t foo () {return 0; }
16470 #endif
16472 _ACEOF
16473 if ac_fn_c_try_compile "$LINENO"; then :
16474 ac_cv_c_inline=$ac_kw
16476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16477 test "$ac_cv_c_inline" != no && break
16478 done
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16482 $as_echo "$ac_cv_c_inline" >&6; }
16484 case $ac_cv_c_inline in
16485 inline | yes) ;;
16487 case $ac_cv_c_inline in
16488 no) ac_val=;;
16489 *) ac_val=$ac_cv_c_inline;;
16490 esac
16491 cat >>confdefs.h <<_ACEOF
16492 #ifndef __cplusplus
16493 #define inline $ac_val
16494 #endif
16495 _ACEOF
16497 esac
16499 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16500 if test "x$ac_cv_type_mode_t" = xyes; then :
16502 cat >>confdefs.h <<_ACEOF
16503 #define HAVE_MODE_T 1
16504 _ACEOF
16508 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16509 if test "x$ac_cv_type_off_t" = xyes; then :
16511 cat >>confdefs.h <<_ACEOF
16512 #define HAVE_OFF_T 1
16513 _ACEOF
16517 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16518 if test "x$ac_cv_type_pid_t" = xyes; then :
16520 cat >>confdefs.h <<_ACEOF
16521 #define HAVE_PID_T 1
16522 _ACEOF
16526 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16527 if test "x$ac_cv_type_size_t" = xyes; then :
16529 cat >>confdefs.h <<_ACEOF
16530 #define HAVE_SIZE_T 1
16531 _ACEOF
16535 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16536 if test "x$ac_cv_type_ssize_t" = xyes; then :
16538 cat >>confdefs.h <<_ACEOF
16539 #define HAVE_SSIZE_T 1
16540 _ACEOF
16544 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16545 if test "x$ac_cv_type_long_long" = xyes; then :
16547 cat >>confdefs.h <<_ACEOF
16548 #define HAVE_LONG_LONG 1
16549 _ACEOF
16553 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16554 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16556 cat >>confdefs.h <<_ACEOF
16557 #define HAVE_FSBLKCNT_T 1
16558 _ACEOF
16562 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16563 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16565 cat >>confdefs.h <<_ACEOF
16566 #define HAVE_FSFILCNT_T 1
16567 _ACEOF
16572 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16573 #include <signal.h>
16575 if test "x$ac_cv_type_sigset_t" = xyes; then :
16577 cat >>confdefs.h <<_ACEOF
16578 #define HAVE_SIGSET_T 1
16579 _ACEOF
16584 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16586 if test "x$ac_cv_type_request_sense" = xyes; then :
16588 cat >>confdefs.h <<_ACEOF
16589 #define HAVE_REQUEST_SENSE 1
16590 _ACEOF
16596 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16597 #ifdef HAVE_SYS_SOCKET_H
16598 #include <sys/socket.h>
16599 #endif
16600 #ifdef HAVE_SYS_SOCKETVAR_H
16601 #include <sys/socketvar.h>
16602 #endif
16603 #ifdef HAVE_NET_ROUTE_H
16604 #include <net/route.h>
16605 #endif
16606 #ifdef HAVE_NETINET_IN_H
16607 #include <netinet/in.h>
16608 #endif
16609 #ifdef HAVE_NETINET_IN_SYSTM_H
16610 #include <netinet/in_systm.h>
16611 #endif
16612 #ifdef HAVE_NETINET_IP_H
16613 #include <netinet/ip.h>
16614 #endif
16615 #ifdef HAVE_NETINET_IN_PCB_H
16616 #include <netinet/in_pcb.h>
16617 #endif
16619 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16621 cat >>confdefs.h <<_ACEOF
16622 #define HAVE_STRUCT_XINPGEN 1
16623 _ACEOF
16629 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16630 #include <link.h>
16631 #endif
16632 #ifdef HAVE_SYS_LINK_H
16633 #include <sys/link.h>
16634 #endif
16636 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16638 cat >>confdefs.h <<_ACEOF
16639 #define HAVE_STRUCT_R_DEBUG 1
16640 _ACEOF
16644 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16645 #include <link.h>
16646 #endif
16647 #ifdef HAVE_SYS_LINK_H
16648 #include <sys/link.h>
16649 #endif
16651 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16653 cat >>confdefs.h <<_ACEOF
16654 #define HAVE_STRUCT_LINK_MAP 1
16655 _ACEOF
16661 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16662 #include <linux/input.h>
16663 #endif
16665 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16667 cat >>confdefs.h <<_ACEOF
16668 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16669 _ACEOF
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16676 $as_echo_n "checking for if_nameindex... " >&6; }
16677 if ${wine_cv_have_if_nameindex+:} false; then :
16678 $as_echo_n "(cached) " >&6
16679 else
16680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16681 /* end confdefs.h. */
16682 #ifdef HAVE_SYS_TYPES_H
16683 #include <sys/types.h>
16684 #endif
16685 #ifdef HAVE_SYS_SOCKET_H
16686 #include <sys/socket.h>
16687 #endif
16688 #ifdef HAVE_NET_IF_H
16689 # include <net/if.h>
16690 #endif
16692 main ()
16694 struct if_nameindex *p = if_nameindex(); return p->if_index;
16696 return 0;
16698 _ACEOF
16699 if ac_fn_c_try_link "$LINENO"; then :
16700 wine_cv_have_if_nameindex=yes
16701 else
16702 wine_cv_have_if_nameindex=no
16704 rm -f core conftest.err conftest.$ac_objext \
16705 conftest$ac_exeext conftest.$ac_ext
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16708 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16709 if test "$wine_cv_have_if_nameindex" = "yes"
16710 then
16712 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16717 $as_echo_n "checking for sigaddset... " >&6; }
16718 if ${wine_cv_have_sigaddset+:} false; then :
16719 $as_echo_n "(cached) " >&6
16720 else
16721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h. */
16723 #include <signal.h>
16725 main ()
16727 sigset_t set; sigaddset(&set,SIGTERM);
16729 return 0;
16731 _ACEOF
16732 if ac_fn_c_try_link "$LINENO"; then :
16733 wine_cv_have_sigaddset=yes
16734 else
16735 wine_cv_have_sigaddset=no
16737 rm -f core conftest.err conftest.$ac_objext \
16738 conftest$ac_exeext conftest.$ac_ext
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16741 $as_echo "$wine_cv_have_sigaddset" >&6; }
16742 if test "$wine_cv_have_sigaddset" = "yes"
16743 then
16745 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16751 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16752 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16753 $as_echo_n "(cached) " >&6
16754 else
16755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16756 /* end confdefs.h. */
16757 #include <netdb.h>
16759 main ()
16762 char *name=0;
16763 struct hostent he;
16764 struct hostent *result;
16765 char *buf=0;
16766 int bufsize=0;
16767 int errnr;
16768 char *addr=0;
16769 int addrlen=0;
16770 int addrtype=0;
16771 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16772 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16775 return 0;
16777 _ACEOF
16778 if ac_fn_c_try_link "$LINENO"; then :
16779 wine_cv_linux_gethostbyname_r_6=yes
16780 else
16781 wine_cv_linux_gethostbyname_r_6=no
16784 rm -f core conftest.err conftest.$ac_objext \
16785 conftest$ac_exeext conftest.$ac_ext
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16789 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16790 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16791 then
16793 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16797 if test "$ac_cv_header_linux_joystick_h" = "yes"
16798 then
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16800 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16801 if ${wine_cv_linux_joystick_22_api+:} false; then :
16802 $as_echo_n "(cached) " >&6
16803 else
16804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16805 /* end confdefs.h. */
16807 #include <sys/ioctl.h>
16808 #include <sys/types.h>
16809 #include <linux/joystick.h>
16811 struct js_event blub;
16812 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16813 #error "no 2.2 header"
16814 #endif
16817 main ()
16819 /*empty*/
16821 return 0;
16823 _ACEOF
16824 if ac_fn_c_try_compile "$LINENO"; then :
16825 wine_cv_linux_joystick_22_api=yes
16826 else
16827 wine_cv_linux_joystick_22_api=no
16829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16833 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16834 if test "$wine_cv_linux_joystick_22_api" = "yes"
16835 then
16837 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16843 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16844 #ifdef HAVE_SYS_PARAM_H
16845 # include <sys/param.h>
16846 #endif
16847 #ifdef HAVE_SYS_MOUNT_H
16848 # include <sys/mount.h>
16849 #endif
16850 #ifdef HAVE_SYS_VFS_H
16851 # include <sys/vfs.h>
16852 #endif
16853 #ifdef HAVE_SYS_STATFS_H
16854 # include <sys/statfs.h>
16855 #endif
16857 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16859 cat >>confdefs.h <<_ACEOF
16860 #define HAVE_STRUCT_STATFS_F_BFREE 1
16861 _ACEOF
16865 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16866 #ifdef HAVE_SYS_PARAM_H
16867 # include <sys/param.h>
16868 #endif
16869 #ifdef HAVE_SYS_MOUNT_H
16870 # include <sys/mount.h>
16871 #endif
16872 #ifdef HAVE_SYS_VFS_H
16873 # include <sys/vfs.h>
16874 #endif
16875 #ifdef HAVE_SYS_STATFS_H
16876 # include <sys/statfs.h>
16877 #endif
16879 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16881 cat >>confdefs.h <<_ACEOF
16882 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16883 _ACEOF
16887 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16888 #ifdef HAVE_SYS_PARAM_H
16889 # include <sys/param.h>
16890 #endif
16891 #ifdef HAVE_SYS_MOUNT_H
16892 # include <sys/mount.h>
16893 #endif
16894 #ifdef HAVE_SYS_VFS_H
16895 # include <sys/vfs.h>
16896 #endif
16897 #ifdef HAVE_SYS_STATFS_H
16898 # include <sys/statfs.h>
16899 #endif
16901 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16903 cat >>confdefs.h <<_ACEOF
16904 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16905 _ACEOF
16909 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16910 #ifdef HAVE_SYS_PARAM_H
16911 # include <sys/param.h>
16912 #endif
16913 #ifdef HAVE_SYS_MOUNT_H
16914 # include <sys/mount.h>
16915 #endif
16916 #ifdef HAVE_SYS_VFS_H
16917 # include <sys/vfs.h>
16918 #endif
16919 #ifdef HAVE_SYS_STATFS_H
16920 # include <sys/statfs.h>
16921 #endif
16923 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16925 cat >>confdefs.h <<_ACEOF
16926 #define HAVE_STRUCT_STATFS_F_FFREE 1
16927 _ACEOF
16931 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16932 #ifdef HAVE_SYS_PARAM_H
16933 # include <sys/param.h>
16934 #endif
16935 #ifdef HAVE_SYS_MOUNT_H
16936 # include <sys/mount.h>
16937 #endif
16938 #ifdef HAVE_SYS_VFS_H
16939 # include <sys/vfs.h>
16940 #endif
16941 #ifdef HAVE_SYS_STATFS_H
16942 # include <sys/statfs.h>
16943 #endif
16945 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16947 cat >>confdefs.h <<_ACEOF
16948 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16949 _ACEOF
16953 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16954 #ifdef HAVE_SYS_PARAM_H
16955 # include <sys/param.h>
16956 #endif
16957 #ifdef HAVE_SYS_MOUNT_H
16958 # include <sys/mount.h>
16959 #endif
16960 #ifdef HAVE_SYS_VFS_H
16961 # include <sys/vfs.h>
16962 #endif
16963 #ifdef HAVE_SYS_STATFS_H
16964 # include <sys/statfs.h>
16965 #endif
16967 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16969 cat >>confdefs.h <<_ACEOF
16970 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16971 _ACEOF
16977 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16978 #include <sys/statvfs.h>
16979 #endif
16981 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16983 cat >>confdefs.h <<_ACEOF
16984 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16985 _ACEOF
16991 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16992 #include <dirent.h>
16993 #endif
16995 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16997 cat >>confdefs.h <<_ACEOF
16998 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16999 _ACEOF
17005 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17006 #ifdef HAVE_SYS_SOCKET_H
17007 # include <sys/socket.h>
17008 #endif
17009 #ifdef HAVE_SYS_UN_H
17010 # include <sys/un.h>
17011 #endif
17013 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17015 cat >>confdefs.h <<_ACEOF
17016 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17017 _ACEOF
17021 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17022 #ifdef HAVE_SYS_SOCKET_H
17023 # include <sys/socket.h>
17024 #endif
17025 #ifdef HAVE_SYS_UN_H
17026 # include <sys/un.h>
17027 #endif
17029 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17031 cat >>confdefs.h <<_ACEOF
17032 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17033 _ACEOF
17037 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17038 #ifdef HAVE_SYS_SOCKET_H
17039 # include <sys/socket.h>
17040 #endif
17041 #ifdef HAVE_SYS_UN_H
17042 # include <sys/un.h>
17043 #endif
17045 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17047 cat >>confdefs.h <<_ACEOF
17048 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17049 _ACEOF
17055 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17056 #ifdef HAVE_SCSI_SG_H
17057 #include <scsi/sg.h>
17058 #endif
17060 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17062 cat >>confdefs.h <<_ACEOF
17063 #define HAVE_SCSIREQ_T_CMD 1
17064 _ACEOF
17068 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>
17069 #ifdef HAVE_SCSI_SG_H
17070 #include <scsi/sg.h>
17071 #endif
17073 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17075 cat >>confdefs.h <<_ACEOF
17076 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17077 _ACEOF
17083 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17085 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17087 cat >>confdefs.h <<_ACEOF
17088 #define HAVE_SIGINFO_T_SI_FD 1
17089 _ACEOF
17095 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17096 #ifdef HAVE_SYS_MTIO_H
17097 #include <sys/mtio.h>
17098 #endif
17100 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17102 cat >>confdefs.h <<_ACEOF
17103 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17104 _ACEOF
17108 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17109 #ifdef HAVE_SYS_MTIO_H
17110 #include <sys/mtio.h>
17111 #endif
17113 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17115 cat >>confdefs.h <<_ACEOF
17116 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17117 _ACEOF
17121 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17122 #ifdef HAVE_SYS_MTIO_H
17123 #include <sys/mtio.h>
17124 #endif
17126 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17128 cat >>confdefs.h <<_ACEOF
17129 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17130 _ACEOF
17136 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17137 #include <getopt.h>
17138 #endif
17140 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17142 cat >>confdefs.h <<_ACEOF
17143 #define HAVE_STRUCT_OPTION_NAME 1
17144 _ACEOF
17150 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17151 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17153 cat >>confdefs.h <<_ACEOF
17154 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17155 _ACEOF
17159 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17160 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17162 cat >>confdefs.h <<_ACEOF
17163 #define HAVE_STRUCT_STAT_ST_MTIM 1
17164 _ACEOF
17168 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17169 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17171 cat >>confdefs.h <<_ACEOF
17172 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17173 _ACEOF
17177 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17178 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17180 cat >>confdefs.h <<_ACEOF
17181 #define HAVE_STRUCT_STAT_ST_CTIM 1
17182 _ACEOF
17186 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17187 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17189 cat >>confdefs.h <<_ACEOF
17190 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17191 _ACEOF
17195 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17196 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17198 cat >>confdefs.h <<_ACEOF
17199 #define HAVE_STRUCT_STAT_ST_ATIM 1
17200 _ACEOF
17204 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17205 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17207 cat >>confdefs.h <<_ACEOF
17208 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17209 _ACEOF
17213 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17214 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17216 cat >>confdefs.h <<_ACEOF
17217 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17218 _ACEOF
17222 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17223 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17225 cat >>confdefs.h <<_ACEOF
17226 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17227 _ACEOF
17231 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17232 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17234 cat >>confdefs.h <<_ACEOF
17235 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17236 _ACEOF
17240 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17241 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17243 cat >>confdefs.h <<_ACEOF
17244 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17245 _ACEOF
17249 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17250 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17252 cat >>confdefs.h <<_ACEOF
17253 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17254 _ACEOF
17260 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
17261 #include <sys/types.h>
17262 #endif
17263 #ifdef HAVE_NETINET_IN_H
17264 #include <netinet/in.h>
17265 #endif
17267 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17269 cat >>confdefs.h <<_ACEOF
17270 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17271 _ACEOF
17277 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17278 #include <sys/types.h>
17279 #endif
17280 #ifdef HAVE_NETINET_IN_H
17281 #include <netinet/in.h>
17282 #endif
17283 #ifdef HAVE_RESOLV_H
17284 #include <resolv.h>
17285 #endif
17287 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17289 cat >>confdefs.h <<_ACEOF
17290 #define HAVE_STRUCT___RES_STATE 1
17291 _ACEOF
17297 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
17298 #include <resolv.h>
17299 #endif
17301 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17303 cat >>confdefs.h <<_ACEOF
17304 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17305 _ACEOF
17311 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17312 #include <sys/types.h>
17313 #endif
17314 #ifdef HAVE_NETINET_IN_H
17315 # include <netinet/in.h>
17316 #endif
17317 #ifdef HAVE_ARPA_NAMESER_H
17318 # include <arpa/nameser.h>
17319 #endif
17321 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17323 cat >>confdefs.h <<_ACEOF
17324 #define HAVE_NS_MSG__MSG_PTR 1
17325 _ACEOF
17331 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17332 #include <sys/types.h>
17333 #endif
17334 #ifdef HAVE_NETINET_IN_H
17335 #include <netinet/in.h>
17336 #endif
17337 #ifdef HAVE_NETINET_IP_H
17338 #include <netinet/ip.h>
17339 #endif
17340 #ifdef HAVE_NETINET_IP_ICMP_H
17341 #include <netinet/ip_icmp.h>
17342 #endif
17343 #ifdef HAVE_NETINET_ICMP_VAR_H
17344 #include <netinet/icmp_var.h>
17345 #endif
17347 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17349 cat >>confdefs.h <<_ACEOF
17350 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17351 _ACEOF
17357 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17358 #include <sys/types.h>
17359 #endif
17360 #ifdef HAVE_ALIAS_H
17361 #include <alias.h>
17362 #endif
17363 #ifdef HAVE_SYS_SOCKET_H
17364 #include <sys/socket.h>
17365 #endif
17366 #ifdef HAVE_SYS_SOCKETVAR_H
17367 #include <sys/socketvar.h>
17368 #endif
17369 #ifdef HAVE_SYS_TIMEOUT_H
17370 #include <sys/timeout.h>
17371 #endif
17372 #ifdef HAVE_NETINET_IN_H
17373 #include <netinet/in.h>
17374 #endif
17375 #ifdef HAVE_NETINET_IN_SYSTM_H
17376 #include <netinet/in_systm.h>
17377 #endif
17378 #ifdef HAVE_NETINET_IP_H
17379 #include <netinet/ip.h>
17380 #endif
17381 #ifdef HAVE_NETINET_IP_VAR_H
17382 #include <netinet/ip_var.h>
17383 #endif
17384 #ifdef HAVE_NETINET_IP_ICMP_H
17385 #include <netinet/ip_icmp.h>
17386 #endif
17387 #ifdef HAVE_NETINET_ICMP_VAR_H
17388 #include <netinet/icmp_var.h>
17389 #endif
17391 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17393 cat >>confdefs.h <<_ACEOF
17394 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17395 _ACEOF
17401 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17402 #include <sys/types.h>
17403 #endif
17404 #ifdef HAVE_SYS_SOCKETVAR_H
17405 #include <sys/socketvar.h>
17406 #endif
17407 #ifdef HAVE_NETINET_IN_H
17408 #include <netinet/in.h>
17409 #endif
17410 #ifdef HAVE_NETINET_IP_VAR_H
17411 #include <netinet/ip_var.h>
17412 #endif
17414 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17416 cat >>confdefs.h <<_ACEOF
17417 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17418 _ACEOF
17424 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
17425 #include <netinet/ip_var.h>
17426 #endif
17428 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17430 cat >>confdefs.h <<_ACEOF
17431 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17432 _ACEOF
17438 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17439 #include <sys/types.h>
17440 #endif
17441 #ifdef HAVE_SYS_SOCKETVAR_H
17442 #include <sys/socketvar.h>
17443 #endif
17444 #ifdef HAVE_NETINET_IN_H
17445 #include <netinet/in.h>
17446 #endif
17447 #ifdef HAVE_NETINET_TCP_H
17448 #include <netinet/tcp.h>
17449 #endif
17450 #ifdef HAVE_NETINET_TCP_VAR_H
17451 #include <netinet/tcp_var.h>
17452 #endif
17454 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17456 cat >>confdefs.h <<_ACEOF
17457 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17458 _ACEOF
17464 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
17465 #include <netinet/tcp_var.h>
17466 #endif
17468 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17470 cat >>confdefs.h <<_ACEOF
17471 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17472 _ACEOF
17478 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17479 #include <sys/types.h>
17480 #endif
17481 #ifdef HAVE_NETINET_IN_H
17482 #include <netinet/in.h>
17483 #endif
17484 #ifdef HAVE_NETINET_IP_VAR_H
17485 #include <netinet/ip_var.h>
17486 #endif
17487 #ifdef HAVE_NETINET_UDP_H
17488 #include <netinet/udp.h>
17489 #endif
17490 #ifdef HAVE_NETINET_UDP_VAR_H
17491 #include <netinet/udp_var.h>
17492 #endif
17494 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17496 cat >>confdefs.h <<_ACEOF
17497 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17498 _ACEOF
17504 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17505 #include <sys/types.h>
17506 #endif
17507 #ifdef HAVE_NET_IF_H
17508 # include <net/if.h>
17509 #endif
17511 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17513 cat >>confdefs.h <<_ACEOF
17514 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17515 _ACEOF
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17522 $as_echo_n "checking for timezone variable... " >&6; }
17523 if ${ac_cv_have_timezone+:} false; then :
17524 $as_echo_n "(cached) " >&6
17525 else
17526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17527 /* end confdefs.h. */
17528 #include <time.h>
17530 main ()
17532 timezone = 1
17534 return 0;
17536 _ACEOF
17537 if ac_fn_c_try_link "$LINENO"; then :
17538 ac_cv_have_timezone="yes"
17539 else
17540 ac_cv_have_timezone="no"
17542 rm -f core conftest.err conftest.$ac_objext \
17543 conftest$ac_exeext conftest.$ac_ext
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17546 $as_echo "$ac_cv_have_timezone" >&6; }
17547 if test "$ac_cv_have_timezone" = "yes"
17548 then
17550 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17554 $as_echo_n "checking for daylight variable... " >&6; }
17555 if ${ac_cv_have_daylight+:} false; then :
17556 $as_echo_n "(cached) " >&6
17557 else
17558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17559 /* end confdefs.h. */
17560 #include <time.h>
17562 main ()
17564 daylight = 1
17566 return 0;
17568 _ACEOF
17569 if ac_fn_c_try_link "$LINENO"; then :
17570 ac_cv_have_daylight="yes"
17571 else
17572 ac_cv_have_daylight="no"
17574 rm -f core conftest.err conftest.$ac_objext \
17575 conftest$ac_exeext conftest.$ac_ext
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17578 $as_echo "$ac_cv_have_daylight" >&6; }
17579 if test "$ac_cv_have_daylight" = "yes"
17580 then
17582 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17586 ac_save_LIBS="$LIBS"
17587 LIBS="$LIBS -lm"
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17589 $as_echo_n "checking for isfinite... " >&6; }
17590 if ${ac_cv_have_isfinite+:} false; then :
17591 $as_echo_n "(cached) " >&6
17592 else
17593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17594 /* end confdefs.h. */
17595 #define _GNU_SOURCE
17596 #include <math.h>
17598 main ()
17600 float f = 0.0; return isfinite(f)
17602 return 0;
17604 _ACEOF
17605 if ac_fn_c_try_link "$LINENO"; then :
17606 ac_cv_have_isfinite="yes"
17607 else
17608 ac_cv_have_isfinite="no"
17610 rm -f core conftest.err conftest.$ac_objext \
17611 conftest$ac_exeext conftest.$ac_ext
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17614 $as_echo "$ac_cv_have_isfinite" >&6; }
17615 if test "$ac_cv_have_isfinite" = "yes"
17616 then
17618 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17623 $as_echo_n "checking for isinf... " >&6; }
17624 if ${ac_cv_have_isinf+:} false; then :
17625 $as_echo_n "(cached) " >&6
17626 else
17627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17628 /* end confdefs.h. */
17629 #include <math.h>
17631 main ()
17633 float f = 0.0; return isinf(f)
17635 return 0;
17637 _ACEOF
17638 if ac_fn_c_try_link "$LINENO"; then :
17639 ac_cv_have_isinf="yes"
17640 else
17641 ac_cv_have_isinf="no"
17643 rm -f core conftest.err conftest.$ac_objext \
17644 conftest$ac_exeext conftest.$ac_ext
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17647 $as_echo "$ac_cv_have_isinf" >&6; }
17648 if test "$ac_cv_have_isinf" = "yes"
17649 then
17651 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17656 $as_echo_n "checking for isnan... " >&6; }
17657 if ${ac_cv_have_isnan+:} false; then :
17658 $as_echo_n "(cached) " >&6
17659 else
17660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17661 /* end confdefs.h. */
17662 #include <math.h>
17664 main ()
17666 float f = 0.0; return isnan(f)
17668 return 0;
17670 _ACEOF
17671 if ac_fn_c_try_link "$LINENO"; then :
17672 ac_cv_have_isnan="yes"
17673 else
17674 ac_cv_have_isnan="no"
17676 rm -f core conftest.err conftest.$ac_objext \
17677 conftest$ac_exeext conftest.$ac_ext
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17680 $as_echo "$ac_cv_have_isnan" >&6; }
17681 if test "$ac_cv_have_isnan" = "yes"
17682 then
17684 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17688 for ac_func in \
17689 acosh \
17690 acoshf \
17691 asinh \
17692 asinhf \
17693 atanh \
17694 atanhf \
17695 cbrt \
17696 cbrtf \
17697 erf \
17698 erfc \
17699 erfcf \
17700 erff \
17701 exp2 \
17702 exp2f \
17703 expm1 \
17704 expm1f \
17705 lgamma \
17706 lgammaf \
17707 llrint \
17708 llrintf \
17709 llround \
17710 llroundf \
17711 log1p \
17712 log1pf \
17713 log2 \
17714 log2f \
17715 lrint \
17716 lrintf \
17717 lround \
17718 lroundf \
17719 nearbyint \
17720 nearbyintf \
17721 powl \
17722 remainder \
17723 remainderf \
17724 rint \
17725 rintf \
17726 round \
17727 roundf \
17728 trunc \
17729 truncf
17731 do :
17732 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17733 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17734 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17735 cat >>confdefs.h <<_ACEOF
17736 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17737 _ACEOF
17740 done
17742 LIBS="$ac_save_LIBS"
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17745 $as_echo_n "checking for __builtin_clz... " >&6; }
17746 if ${ac_cv_have___builtin_clz+:} false; then :
17747 $as_echo_n "(cached) " >&6
17748 else
17749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17750 /* end confdefs.h. */
17753 main ()
17755 return __builtin_clz(1)
17757 return 0;
17759 _ACEOF
17760 if ac_fn_c_try_link "$LINENO"; then :
17761 ac_cv_have___builtin_clz="yes"
17762 else
17763 ac_cv_have___builtin_clz="no"
17765 rm -f core conftest.err conftest.$ac_objext \
17766 conftest$ac_exeext conftest.$ac_ext
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17769 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17770 if test "$ac_cv_have___builtin_clz" = "yes"
17771 then
17773 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17778 $as_echo_n "checking for __builtin_popcount... " >&6; }
17779 if ${ac_cv_have___builtin_popcount+:} false; then :
17780 $as_echo_n "(cached) " >&6
17781 else
17782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17783 /* end confdefs.h. */
17786 main ()
17788 return __builtin_popcount(1)
17790 return 0;
17792 _ACEOF
17793 if ac_fn_c_try_link "$LINENO"; then :
17794 ac_cv_have___builtin_popcount="yes"
17795 else
17796 ac_cv_have___builtin_popcount="no"
17798 rm -f core conftest.err conftest.$ac_objext \
17799 conftest$ac_exeext conftest.$ac_ext
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17802 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17803 if test "$ac_cv_have___builtin_popcount" = "yes"
17804 then
17806 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17811 $as_echo_n "checking for __clear_cache... " >&6; }
17812 if ${ac_cv_have___clear_cache+:} false; then :
17813 $as_echo_n "(cached) " >&6
17814 else
17815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17816 /* end confdefs.h. */
17819 main ()
17821 __clear_cache((void*)0, (void*)0); return 0;
17823 return 0;
17825 _ACEOF
17826 if ac_fn_c_try_link "$LINENO"; then :
17827 ac_cv_have___clear_cache="yes"
17828 else
17829 ac_cv_have___clear_cache="no"
17831 rm -f core conftest.err conftest.$ac_objext \
17832 conftest$ac_exeext conftest.$ac_ext
17834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17835 $as_echo "$ac_cv_have___clear_cache" >&6; }
17836 if test "$ac_cv_have___clear_cache" = "yes"
17837 then
17839 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17844 case $host_cpu in
17845 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17846 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17847 if ${ac_cv_cpp_def___i386__+:} false; then :
17848 $as_echo_n "(cached) " >&6
17849 else
17850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h. */
17852 #ifndef __i386__
17854 #endif
17855 _ACEOF
17856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17857 $EGREP "yes" >/dev/null 2>&1; then :
17858 ac_cv_cpp_def___i386__=yes
17859 else
17860 ac_cv_cpp_def___i386__=no
17862 rm -f conftest*
17865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17866 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17867 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17868 CFLAGS="$CFLAGS -D__i386__"
17869 LINTFLAGS="$LINTFLAGS -D__i386__"
17870 fi ;;
17871 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17872 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17873 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17874 $as_echo_n "(cached) " >&6
17875 else
17876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17877 /* end confdefs.h. */
17878 #ifndef __x86_64__
17880 #endif
17881 _ACEOF
17882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17883 $EGREP "yes" >/dev/null 2>&1; then :
17884 ac_cv_cpp_def___x86_64__=yes
17885 else
17886 ac_cv_cpp_def___x86_64__=no
17888 rm -f conftest*
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17892 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17893 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17894 CFLAGS="$CFLAGS -D__x86_64__"
17895 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17896 fi ;;
17897 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17898 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17899 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17900 $as_echo_n "(cached) " >&6
17901 else
17902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17903 /* end confdefs.h. */
17904 #ifndef __sparc64__
17906 #endif
17907 _ACEOF
17908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17909 $EGREP "yes" >/dev/null 2>&1; then :
17910 ac_cv_cpp_def___sparc64__=yes
17911 else
17912 ac_cv_cpp_def___sparc64__=no
17914 rm -f conftest*
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17918 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17919 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17920 CFLAGS="$CFLAGS -D__sparc64__"
17921 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17922 fi ;;
17923 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17924 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17925 if ${ac_cv_cpp_def___sparc__+:} false; then :
17926 $as_echo_n "(cached) " >&6
17927 else
17928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17929 /* end confdefs.h. */
17930 #ifndef __sparc__
17932 #endif
17933 _ACEOF
17934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17935 $EGREP "yes" >/dev/null 2>&1; then :
17936 ac_cv_cpp_def___sparc__=yes
17937 else
17938 ac_cv_cpp_def___sparc__=no
17940 rm -f conftest*
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17944 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17945 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17946 CFLAGS="$CFLAGS -D__sparc__"
17947 LINTFLAGS="$LINTFLAGS -D__sparc__"
17948 fi ;;
17949 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17950 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17951 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17952 $as_echo_n "(cached) " >&6
17953 else
17954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17955 /* end confdefs.h. */
17956 #ifndef __powerpc64__
17958 #endif
17959 _ACEOF
17960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17961 $EGREP "yes" >/dev/null 2>&1; then :
17962 ac_cv_cpp_def___powerpc64__=yes
17963 else
17964 ac_cv_cpp_def___powerpc64__=no
17966 rm -f conftest*
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17970 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17971 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17972 CFLAGS="$CFLAGS -D__powerpc64__"
17973 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17974 fi ;;
17975 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17976 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17977 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17978 $as_echo_n "(cached) " >&6
17979 else
17980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17981 /* end confdefs.h. */
17982 #ifndef __powerpc__
17984 #endif
17985 _ACEOF
17986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17987 $EGREP "yes" >/dev/null 2>&1; then :
17988 ac_cv_cpp_def___powerpc__=yes
17989 else
17990 ac_cv_cpp_def___powerpc__=no
17992 rm -f conftest*
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17996 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17997 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17998 CFLAGS="$CFLAGS -D__powerpc__"
17999 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18000 fi ;;
18001 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18002 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18003 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18004 $as_echo_n "(cached) " >&6
18005 else
18006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18007 /* end confdefs.h. */
18008 #ifndef __aarch64__
18010 #endif
18011 _ACEOF
18012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18013 $EGREP "yes" >/dev/null 2>&1; then :
18014 ac_cv_cpp_def___aarch64__=yes
18015 else
18016 ac_cv_cpp_def___aarch64__=no
18018 rm -f conftest*
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18022 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18023 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18024 CFLAGS="$CFLAGS -D__aarch64__"
18025 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18026 fi ;;
18027 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18028 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18029 if ${ac_cv_cpp_def___arm__+:} false; then :
18030 $as_echo_n "(cached) " >&6
18031 else
18032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18033 /* end confdefs.h. */
18034 #ifndef __arm__
18036 #endif
18037 _ACEOF
18038 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18039 $EGREP "yes" >/dev/null 2>&1; then :
18040 ac_cv_cpp_def___arm__=yes
18041 else
18042 ac_cv_cpp_def___arm__=no
18044 rm -f conftest*
18047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18048 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18049 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18050 CFLAGS="$CFLAGS -D__arm__"
18051 LINTFLAGS="$LINTFLAGS -D__arm__"
18052 fi ;;
18053 esac
18055 case $host_vendor in
18056 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18057 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18058 if ${ac_cv_cpp_def___sun__+:} false; then :
18059 $as_echo_n "(cached) " >&6
18060 else
18061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18062 /* end confdefs.h. */
18063 #ifndef __sun__
18065 #endif
18066 _ACEOF
18067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18068 $EGREP "yes" >/dev/null 2>&1; then :
18069 ac_cv_cpp_def___sun__=yes
18070 else
18071 ac_cv_cpp_def___sun__=no
18073 rm -f conftest*
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18077 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18078 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18079 CFLAGS="$CFLAGS -D__sun__"
18080 LINTFLAGS="$LINTFLAGS -D__sun__"
18081 fi ;;
18082 esac
18088 ac_config_commands="$ac_config_commands include/stamp-h"
18090 $as_echo_n "creating Makefile rules..." >&6
18092 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18093 SOCKET_LIBS = $SOCKET_LIBS
18094 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18095 IOKIT_LIBS = $IOKIT_LIBS
18096 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18097 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18098 CORESERVICES_LIBS = $CORESERVICES_LIBS
18099 APPKIT_LIBS = $APPKIT_LIBS
18100 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18101 SECURITY_LIBS = $SECURITY_LIBS
18102 COREAUDIO_LIBS = $COREAUDIO_LIBS
18103 OPENAL_LIBS = $OPENAL_LIBS
18104 OPENCL_LIBS = $OPENCL_LIBS
18105 QUICKTIME_LIBS = $QUICKTIME_LIBS
18106 CARBON_LIBS = $CARBON_LIBS
18107 PTHREAD_LIBS = $PTHREAD_LIBS
18108 X_CFLAGS = $X_CFLAGS
18109 X_PRE_LIBS = $X_PRE_LIBS
18110 X_LIBS = $X_LIBS
18111 X_EXTRA_LIBS = $X_EXTRA_LIBS
18112 PCAP_LIBS = $PCAP_LIBS
18113 XML2_CFLAGS = $XML2_CFLAGS
18114 XML2_LIBS = $XML2_LIBS
18115 XSLT_CFLAGS = $XSLT_CFLAGS
18116 XSLT_LIBS = $XSLT_LIBS
18117 DBUS_CFLAGS = $DBUS_CFLAGS
18118 DBUS_LIBS = $DBUS_LIBS
18119 HAL_CFLAGS = $HAL_CFLAGS
18120 HAL_LIBS = $HAL_LIBS
18121 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18122 GNUTLS_LIBS = $GNUTLS_LIBS
18123 SANE_CFLAGS = $SANE_CFLAGS
18124 SANE_LIBS = $SANE_LIBS
18125 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18126 GPHOTO2_LIBS = $GPHOTO2_LIBS
18127 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18128 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18129 RESOLV_LIBS = $RESOLV_LIBS
18130 LCMS2_CFLAGS = $LCMS2_CFLAGS
18131 LCMS2_LIBS = $LCMS2_LIBS
18132 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18133 FREETYPE_LIBS = $FREETYPE_LIBS
18134 Z_LIBS = $Z_LIBS
18135 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18136 PULSE_CFLAGS = $PULSE_CFLAGS
18137 PULSE_LIBS = $PULSE_LIBS
18138 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18139 GSTREAMER_LIBS = $GSTREAMER_LIBS
18140 ALSA_LIBS = $ALSA_LIBS
18141 OSS4_CFLAGS = $OSS4_CFLAGS
18142 UDEV_CFLAGS = $UDEV_CFLAGS
18143 UDEV_LIBS = $UDEV_LIBS
18144 SDL2_CFLAGS = $SDL2_CFLAGS
18145 SDL2_LIBS = $SDL2_LIBS
18146 CAPI20_CFLAGS = $CAPI20_CFLAGS
18147 CAPI20_LIBS = $CAPI20_LIBS
18148 CUPS_CFLAGS = $CUPS_CFLAGS
18149 CUPS_LIBS = $CUPS_LIBS
18150 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18151 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18152 KRB5_CFLAGS = $KRB5_CFLAGS
18153 KRB5_LIBS = $KRB5_LIBS
18154 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18155 GSSAPI_LIBS = $GSSAPI_LIBS
18156 JPEG_CFLAGS = $JPEG_CFLAGS
18157 JPEG_LIBS = $JPEG_LIBS
18158 PNG_CFLAGS = $PNG_CFLAGS
18159 PNG_LIBS = $PNG_LIBS
18160 TIFF_CFLAGS = $TIFF_CFLAGS
18161 TIFF_LIBS = $TIFF_LIBS
18162 MPG123_CFLAGS = $MPG123_CFLAGS
18163 MPG123_LIBS = $MPG123_LIBS
18164 KSTAT_LIBS = $KSTAT_LIBS
18165 PROCSTAT_LIBS = $PROCSTAT_LIBS
18166 NETAPI_CFLAGS = $NETAPI_CFLAGS
18167 NETAPI_LIBS = $NETAPI_LIBS
18168 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18169 DL_LIBS = $DL_LIBS
18170 POLL_LIBS = $POLL_LIBS
18171 RT_LIBS = $RT_LIBS
18172 LDAP_CFLAGS = $LDAP_CFLAGS
18173 LDAP_LIBS = $LDAP_LIBS
18178 wine_fn_append_rule "
18179 # Rules automatically generated by configure
18181 .INIT: Makefile
18182 .MAKEFILEDEPS:
18183 all: Makefile
18184 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18185 @./config.status Make.tmp Makefile
18186 depend: \$(MAKEDEP) dummy
18187 \$(MAKEDEP)"
18189 if test "x$enable_fonts" != xno; then
18190 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18191 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18192 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18193 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18194 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18195 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18197 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18198 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18199 ac_config_links="$ac_config_links wine:tools/winewrapper"
18200 wine_fn_config_symlink wine
18201 if test "x$enable_win64" != xno; then
18202 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18203 wine_fn_config_symlink wine64
18206 wine_fn_config_dll acledit enable_acledit
18207 wine_fn_config_dll aclui enable_aclui
18208 wine_fn_config_dll activeds enable_activeds
18209 wine_fn_config_dll actxprxy enable_actxprxy
18210 wine_fn_config_lib adsiid
18211 wine_fn_config_dll adsldp enable_adsldp
18212 wine_fn_config_test dlls/adsldp/tests
18213 wine_fn_config_dll adsldpc enable_adsldpc
18214 wine_fn_config_dll advapi32 enable_advapi32
18215 wine_fn_config_test dlls/advapi32/tests
18216 wine_fn_config_dll advpack enable_advpack
18217 wine_fn_config_test dlls/advpack/tests
18218 wine_fn_config_dll amstream enable_amstream
18219 wine_fn_config_test dlls/amstream/tests
18220 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18221 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18222 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18223 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18224 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18225 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18226 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18227 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18228 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18229 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18230 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18231 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18232 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18233 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18234 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18235 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18236 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18237 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18238 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18239 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18240 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18241 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18242 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18243 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18244 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18245 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18246 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18247 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18248 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18249 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18250 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18251 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18252 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18253 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18254 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18255 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18256 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18257 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18258 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18259 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18260 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18261 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18262 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18263 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18264 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18265 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18266 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18267 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18268 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18269 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18270 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18271 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18272 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18273 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18274 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18275 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18276 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18277 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18278 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18279 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18280 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18281 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18282 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18283 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18284 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18285 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18286 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18287 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18288 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18289 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18290 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18291 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18292 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18293 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18294 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18295 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18296 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18297 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18298 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18299 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18300 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18301 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18302 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18303 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18304 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18305 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18306 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18307 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18308 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18309 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18310 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18311 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18312 wine_fn_config_dll api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18313 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18314 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18315 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18316 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18317 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18318 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18319 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18320 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18321 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18322 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18323 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18324 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18325 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18326 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18327 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18328 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18329 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18330 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18331 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18332 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18333 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18334 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18335 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18336 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18337 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18338 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18339 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18340 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18341 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18342 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18343 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18344 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18345 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18346 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18347 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18348 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18349 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18350 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18351 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18352 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18353 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18354 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18355 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18356 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18357 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18358 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18359 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18360 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18361 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18362 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18363 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18364 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18365 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18366 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18367 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18368 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18369 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18370 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18371 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18372 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18373 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18374 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18375 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18376 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18377 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18378 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18379 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18380 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18381 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18382 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18383 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18384 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18385 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18386 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18387 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18388 wine_fn_config_dll api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18389 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18390 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18391 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18392 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18393 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18394 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18395 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18396 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18397 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18398 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18399 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18400 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18401 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18402 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18403 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18404 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18405 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18406 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18407 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18408 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18409 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18410 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18411 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18412 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18413 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18414 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18415 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18416 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18417 wine_fn_config_dll apphelp enable_apphelp
18418 wine_fn_config_test dlls/apphelp/tests
18419 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
18420 wine_fn_config_dll atl enable_atl
18421 wine_fn_config_test dlls/atl/tests
18422 wine_fn_config_dll atl100 enable_atl100
18423 wine_fn_config_test dlls/atl100/tests
18424 wine_fn_config_dll atl110 enable_atl110
18425 wine_fn_config_dll atl80 enable_atl80
18426 wine_fn_config_test dlls/atl80/tests
18427 wine_fn_config_dll atl90 enable_atl90
18428 wine_fn_config_dll authz enable_authz
18429 wine_fn_config_dll avicap32 enable_avicap32
18430 wine_fn_config_dll avifil32 enable_avifil32
18431 wine_fn_config_test dlls/avifil32/tests
18432 wine_fn_config_dll avifile.dll16 enable_win16
18433 wine_fn_config_dll avrt enable_avrt
18434 wine_fn_config_dll bcrypt enable_bcrypt
18435 wine_fn_config_test dlls/bcrypt/tests
18436 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18437 wine_fn_config_dll browseui enable_browseui
18438 wine_fn_config_test dlls/browseui/tests
18439 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18440 wine_fn_config_dll cabinet enable_cabinet
18441 wine_fn_config_test dlls/cabinet/tests
18442 wine_fn_config_dll capi2032 enable_capi2032
18443 wine_fn_config_dll cards enable_cards
18444 wine_fn_config_dll cdosys enable_cdosys
18445 wine_fn_config_dll cfgmgr32 enable_cfgmgr32
18446 wine_fn_config_dll clusapi enable_clusapi
18447 wine_fn_config_dll combase enable_combase
18448 wine_fn_config_test dlls/combase/tests
18449 wine_fn_config_dll comcat enable_comcat
18450 wine_fn_config_test dlls/comcat/tests
18451 wine_fn_config_dll comctl32 enable_comctl32
18452 wine_fn_config_test dlls/comctl32/tests
18453 wine_fn_config_dll comdlg32 enable_comdlg32
18454 wine_fn_config_test dlls/comdlg32/tests
18455 wine_fn_config_dll comm.drv16 enable_win16
18456 wine_fn_config_dll commdlg.dll16 enable_win16
18457 wine_fn_config_dll compobj.dll16 enable_win16
18458 wine_fn_config_dll compstui enable_compstui
18459 wine_fn_config_dll comsvcs enable_comsvcs
18460 wine_fn_config_dll concrt140 enable_concrt140
18461 wine_fn_config_dll connect enable_connect
18462 wine_fn_config_dll credui enable_credui
18463 wine_fn_config_test dlls/credui/tests
18464 wine_fn_config_dll crtdll enable_crtdll
18465 wine_fn_config_dll crypt32 enable_crypt32
18466 wine_fn_config_test dlls/crypt32/tests
18467 wine_fn_config_dll cryptdlg enable_cryptdlg
18468 wine_fn_config_dll cryptdll enable_cryptdll
18469 wine_fn_config_dll cryptext enable_cryptext
18470 wine_fn_config_dll cryptnet enable_cryptnet
18471 wine_fn_config_test dlls/cryptnet/tests
18472 wine_fn_config_dll cryptui enable_cryptui
18473 wine_fn_config_test dlls/cryptui/tests
18474 wine_fn_config_dll ctapi32 enable_ctapi32
18475 wine_fn_config_dll ctl3d.dll16 enable_win16
18476 wine_fn_config_dll ctl3d32 enable_ctl3d32
18477 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18478 wine_fn_config_dll d2d1 enable_d2d1
18479 wine_fn_config_test dlls/d2d1/tests
18480 wine_fn_config_dll d3d10 enable_d3d10
18481 wine_fn_config_test dlls/d3d10/tests
18482 wine_fn_config_dll d3d10_1 enable_d3d10_1
18483 wine_fn_config_test dlls/d3d10_1/tests
18484 wine_fn_config_dll d3d10core enable_d3d10core
18485 wine_fn_config_test dlls/d3d10core/tests
18486 wine_fn_config_dll d3d11 enable_d3d11
18487 wine_fn_config_test dlls/d3d11/tests
18488 wine_fn_config_dll d3d12 enable_d3d12
18489 wine_fn_config_test dlls/d3d12/tests
18490 wine_fn_config_dll d3d8 enable_d3d8
18491 wine_fn_config_test dlls/d3d8/tests
18492 wine_fn_config_dll d3d9 enable_d3d9
18493 wine_fn_config_test dlls/d3d9/tests
18494 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18495 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18496 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18497 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18498 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18499 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18500 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18501 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18502 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18503 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18504 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43
18505 wine_fn_config_test dlls/d3dcompiler_43/tests
18506 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18507 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18508 wine_fn_config_dll d3dim enable_d3dim
18509 wine_fn_config_dll d3drm enable_d3drm
18510 wine_fn_config_test dlls/d3drm/tests
18511 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18512 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18513 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18514 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18515 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18516 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18517 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18518 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18519 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18520 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18521 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
18522 wine_fn_config_test dlls/d3dx10_43/tests
18523 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18524 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
18525 wine_fn_config_test dlls/d3dx11_43/tests
18526 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18527 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18528 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18529 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18530 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18531 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18532 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18533 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18534 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18535 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18536 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18537 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18538 wine_fn_config_dll d3dx9_36 enable_d3dx9_36
18539 wine_fn_config_test dlls/d3dx9_36/tests
18540 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18541 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18542 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18543 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18544 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18545 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18546 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18547 wine_fn_config_dll d3dxof enable_d3dxof
18548 wine_fn_config_test dlls/d3dxof/tests
18549 wine_fn_config_dll davclnt enable_davclnt
18550 wine_fn_config_dll dbgeng enable_dbgeng
18551 wine_fn_config_dll dbghelp enable_dbghelp
18552 wine_fn_config_dll dciman32 enable_dciman32
18553 wine_fn_config_dll ddeml.dll16 enable_win16
18554 wine_fn_config_dll ddraw enable_ddraw
18555 wine_fn_config_test dlls/ddraw/tests
18556 wine_fn_config_dll ddrawex enable_ddrawex
18557 wine_fn_config_test dlls/ddrawex/tests
18558 wine_fn_config_dll devenum enable_devenum
18559 wine_fn_config_test dlls/devenum/tests
18560 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18561 wine_fn_config_dll dhtmled.ocx enable_dhtmled_ocx
18562 wine_fn_config_dll difxapi enable_difxapi
18563 wine_fn_config_dll dinput enable_dinput
18564 wine_fn_config_test dlls/dinput/tests
18565 wine_fn_config_dll dinput8 enable_dinput8
18566 wine_fn_config_test dlls/dinput8/tests
18567 wine_fn_config_dll dispdib.dll16 enable_win16
18568 wine_fn_config_dll dispex enable_dispex
18569 wine_fn_config_test dlls/dispex/tests
18570 wine_fn_config_dll display.drv16 enable_win16
18571 wine_fn_config_dll dmband enable_dmband
18572 wine_fn_config_test dlls/dmband/tests
18573 wine_fn_config_dll dmcompos enable_dmcompos
18574 wine_fn_config_test dlls/dmcompos/tests
18575 wine_fn_config_dll dmime enable_dmime
18576 wine_fn_config_test dlls/dmime/tests
18577 wine_fn_config_dll dmloader enable_dmloader
18578 wine_fn_config_test dlls/dmloader/tests
18579 wine_fn_config_dll dmscript enable_dmscript
18580 wine_fn_config_test dlls/dmscript/tests
18581 wine_fn_config_dll dmstyle enable_dmstyle
18582 wine_fn_config_test dlls/dmstyle/tests
18583 wine_fn_config_dll dmsynth enable_dmsynth
18584 wine_fn_config_test dlls/dmsynth/tests
18585 wine_fn_config_dll dmusic enable_dmusic
18586 wine_fn_config_test dlls/dmusic/tests
18587 wine_fn_config_dll dmusic32 enable_dmusic32
18588 wine_fn_config_dll dnsapi enable_dnsapi
18589 wine_fn_config_test dlls/dnsapi/tests
18590 wine_fn_config_dll dplay enable_dplay
18591 wine_fn_config_dll dplayx enable_dplayx
18592 wine_fn_config_test dlls/dplayx/tests
18593 wine_fn_config_dll dpnaddr enable_dpnaddr
18594 wine_fn_config_dll dpnet enable_dpnet
18595 wine_fn_config_test dlls/dpnet/tests
18596 wine_fn_config_dll dpnhpast enable_dpnhpast
18597 wine_fn_config_dll dpnlobby enable_dpnlobby
18598 wine_fn_config_dll dpvoice enable_dpvoice
18599 wine_fn_config_test dlls/dpvoice/tests
18600 wine_fn_config_dll dpwsockx enable_dpwsockx
18601 wine_fn_config_dll drmclien enable_drmclien
18602 wine_fn_config_dll dsound enable_dsound
18603 wine_fn_config_test dlls/dsound/tests
18604 wine_fn_config_dll dsquery enable_dsquery
18605 wine_fn_config_dll dssenh enable_dssenh
18606 wine_fn_config_test dlls/dssenh/tests
18607 wine_fn_config_dll dswave enable_dswave
18608 wine_fn_config_test dlls/dswave/tests
18609 wine_fn_config_dll dwmapi enable_dwmapi
18610 wine_fn_config_dll dwrite enable_dwrite
18611 wine_fn_config_test dlls/dwrite/tests
18612 wine_fn_config_dll dx8vb enable_dx8vb
18613 wine_fn_config_dll dxdiagn enable_dxdiagn
18614 wine_fn_config_test dlls/dxdiagn/tests
18615 wine_fn_config_lib dxerr8
18616 wine_fn_config_lib dxerr9
18617 wine_fn_config_dll dxgi enable_dxgi
18618 wine_fn_config_test dlls/dxgi/tests
18619 wine_fn_config_lib dxguid
18620 wine_fn_config_dll dxva2 enable_dxva2
18621 wine_fn_config_dll esent enable_esent
18622 wine_fn_config_dll evr enable_evr
18623 wine_fn_config_test dlls/evr/tests
18624 wine_fn_config_dll explorerframe enable_explorerframe
18625 wine_fn_config_test dlls/explorerframe/tests
18626 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18627 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18628 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18629 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18630 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18631 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18632 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18633 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18634 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18635 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18636 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18637 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18638 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18639 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18640 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18641 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18642 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18643 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18644 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
18645 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18646 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18647 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18648 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18649 wine_fn_config_dll faultrep enable_faultrep
18650 wine_fn_config_test dlls/faultrep/tests
18651 wine_fn_config_dll fltlib enable_fltlib
18652 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18653 wine_fn_config_dll fntcache enable_fntcache
18654 wine_fn_config_dll fontsub enable_fontsub
18655 wine_fn_config_dll fusion enable_fusion
18656 wine_fn_config_test dlls/fusion/tests
18657 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18658 wine_fn_config_dll gameux enable_gameux
18659 wine_fn_config_test dlls/gameux/tests
18660 wine_fn_config_dll gdi.exe16 enable_win16
18661 wine_fn_config_dll gdi32 enable_gdi32
18662 wine_fn_config_test dlls/gdi32/tests
18663 wine_fn_config_dll gdiplus enable_gdiplus
18664 wine_fn_config_test dlls/gdiplus/tests
18665 wine_fn_config_dll glu32 enable_glu32
18666 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
18667 wine_fn_config_dll gpkcsp enable_gpkcsp
18668 wine_fn_config_dll hal enable_hal
18669 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx
18670 wine_fn_config_dll hid enable_hid
18671 wine_fn_config_test dlls/hid/tests
18672 wine_fn_config_dll hidclass.sys enable_hidclass_sys
18673 wine_fn_config_dll hlink enable_hlink
18674 wine_fn_config_test dlls/hlink/tests
18675 wine_fn_config_dll hnetcfg enable_hnetcfg
18676 wine_fn_config_test dlls/hnetcfg/tests
18677 wine_fn_config_dll httpapi enable_httpapi
18678 wine_fn_config_test dlls/httpapi/tests
18679 wine_fn_config_dll iccvid enable_iccvid
18680 wine_fn_config_dll icmp enable_icmp
18681 wine_fn_config_dll ieframe enable_ieframe
18682 wine_fn_config_test dlls/ieframe/tests
18683 wine_fn_config_dll ieproxy enable_ieproxy
18684 wine_fn_config_dll ifsmgr.vxd enable_win16
18685 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18686 wine_fn_config_dll imagehlp enable_imagehlp
18687 wine_fn_config_test dlls/imagehlp/tests
18688 wine_fn_config_dll imm.dll16 enable_win16
18689 wine_fn_config_dll imm32 enable_imm32
18690 wine_fn_config_test dlls/imm32/tests
18691 wine_fn_config_dll inetcomm enable_inetcomm
18692 wine_fn_config_test dlls/inetcomm/tests
18693 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl
18694 wine_fn_config_dll inetmib1 enable_inetmib1
18695 wine_fn_config_test dlls/inetmib1/tests
18696 wine_fn_config_dll infosoft enable_infosoft
18697 wine_fn_config_test dlls/infosoft/tests
18698 wine_fn_config_dll initpki enable_initpki
18699 wine_fn_config_dll inkobj enable_inkobj
18700 wine_fn_config_dll inseng enable_inseng
18701 wine_fn_config_dll iphlpapi enable_iphlpapi
18702 wine_fn_config_test dlls/iphlpapi/tests
18703 wine_fn_config_dll iprop enable_iprop
18704 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18705 wine_fn_config_dll itircl enable_itircl
18706 wine_fn_config_dll itss enable_itss
18707 wine_fn_config_test dlls/itss/tests
18708 wine_fn_config_dll joy.cpl enable_joy_cpl
18709 wine_fn_config_dll jscript enable_jscript
18710 wine_fn_config_test dlls/jscript/tests
18711 wine_fn_config_dll jsproxy enable_jsproxy
18712 wine_fn_config_test dlls/jsproxy/tests
18713 wine_fn_config_dll kerberos enable_kerberos
18714 wine_fn_config_dll kernel32 enable_kernel32
18715 wine_fn_config_test dlls/kernel32/tests
18716 wine_fn_config_dll kernelbase enable_kernelbase
18717 wine_fn_config_test dlls/kernelbase/tests
18718 wine_fn_config_dll keyboard.drv16 enable_win16
18719 wine_fn_config_dll krnl386.exe16 enable_win16
18720 wine_fn_config_dll ksuser enable_ksuser
18721 wine_fn_config_dll ktmw32 enable_ktmw32
18722 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18723 wine_fn_config_dll loadperf enable_loadperf
18724 wine_fn_config_dll localspl enable_localspl
18725 wine_fn_config_test dlls/localspl/tests
18726 wine_fn_config_dll localui enable_localui
18727 wine_fn_config_test dlls/localui/tests
18728 wine_fn_config_dll lz32 enable_lz32
18729 wine_fn_config_test dlls/lz32/tests
18730 wine_fn_config_dll lzexpand.dll16 enable_win16
18731 wine_fn_config_dll mapi32 enable_mapi32
18732 wine_fn_config_test dlls/mapi32/tests
18733 wine_fn_config_dll mapistub enable_mapistub
18734 wine_fn_config_dll mciavi32 enable_mciavi32
18735 wine_fn_config_dll mcicda enable_mcicda
18736 wine_fn_config_dll mciqtz32 enable_mciqtz32
18737 wine_fn_config_dll mciseq enable_mciseq
18738 wine_fn_config_dll mciwave enable_mciwave
18739 wine_fn_config_dll mf enable_mf
18740 wine_fn_config_test dlls/mf/tests
18741 wine_fn_config_dll mf3216 enable_mf3216
18742 wine_fn_config_dll mfplat enable_mfplat
18743 wine_fn_config_test dlls/mfplat/tests
18744 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18745 wine_fn_config_lib mfuuid
18746 wine_fn_config_dll mgmtapi enable_mgmtapi
18747 wine_fn_config_dll midimap enable_midimap
18748 wine_fn_config_dll mlang enable_mlang
18749 wine_fn_config_test dlls/mlang/tests
18750 wine_fn_config_dll mmcndmgr enable_mmcndmgr
18751 wine_fn_config_test dlls/mmcndmgr/tests
18752 wine_fn_config_dll mmdevapi enable_mmdevapi
18753 wine_fn_config_test dlls/mmdevapi/tests
18754 wine_fn_config_dll mmdevldr.vxd enable_win16
18755 wine_fn_config_dll mmsystem.dll16 enable_win16
18756 wine_fn_config_dll monodebg.vxd enable_win16
18757 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18758 wine_fn_config_dll mouse.drv16 enable_win16
18759 wine_fn_config_dll mpr enable_mpr
18760 wine_fn_config_test dlls/mpr/tests
18761 wine_fn_config_dll mprapi enable_mprapi
18762 wine_fn_config_dll msacm.dll16 enable_win16
18763 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18764 wine_fn_config_dll msacm32 enable_msacm32
18765 wine_fn_config_test dlls/msacm32/tests
18766 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18767 wine_fn_config_dll msasn1 enable_msasn1
18768 wine_fn_config_dll mscat32 enable_mscat32
18769 wine_fn_config_dll mscms enable_mscms
18770 wine_fn_config_test dlls/mscms/tests
18771 wine_fn_config_dll mscoree enable_mscoree
18772 wine_fn_config_test dlls/mscoree/tests
18773 wine_fn_config_dll msctf enable_msctf
18774 wine_fn_config_test dlls/msctf/tests
18775 wine_fn_config_dll msctfp enable_msctfp
18776 wine_fn_config_dll msdaps enable_msdaps
18777 wine_fn_config_dll msdelta enable_msdelta
18778 wine_fn_config_dll msdmo enable_msdmo
18779 wine_fn_config_test dlls/msdmo/tests
18780 wine_fn_config_dll msdrm enable_msdrm
18781 wine_fn_config_dll msftedit enable_msftedit
18782 wine_fn_config_dll msg711.acm enable_msg711_acm
18783 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18784 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
18785 wine_fn_config_dll mshtml enable_mshtml
18786 wine_fn_config_test dlls/mshtml/tests
18787 wine_fn_config_dll msi enable_msi
18788 wine_fn_config_test dlls/msi/tests
18789 wine_fn_config_dll msident enable_msident
18790 wine_fn_config_dll msimg32 enable_msimg32
18791 wine_fn_config_dll msimsg enable_msimsg
18792 wine_fn_config_dll msimtf enable_msimtf
18793 wine_fn_config_dll msisip enable_msisip
18794 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18795 wine_fn_config_dll msls31 enable_msls31
18796 wine_fn_config_dll msnet32 enable_msnet32
18797 wine_fn_config_dll mspatcha enable_mspatcha
18798 wine_fn_config_dll msports enable_msports
18799 wine_fn_config_dll msrle32 enable_msrle32
18800 wine_fn_config_test dlls/msrle32/tests
18801 wine_fn_config_dll msscript.ocx enable_msscript_ocx
18802 wine_fn_config_test dlls/msscript.ocx/tests
18803 wine_fn_config_dll mssign32 enable_mssign32
18804 wine_fn_config_dll mssip32 enable_mssip32
18805 wine_fn_config_dll mstask enable_mstask
18806 wine_fn_config_test dlls/mstask/tests
18807 wine_fn_config_dll msvcirt enable_msvcirt
18808 wine_fn_config_test dlls/msvcirt/tests
18809 wine_fn_config_dll msvcm80 enable_msvcm80
18810 wine_fn_config_dll msvcm90 enable_msvcm90
18811 wine_fn_config_dll msvcp100 enable_msvcp100
18812 wine_fn_config_test dlls/msvcp100/tests
18813 wine_fn_config_dll msvcp110 enable_msvcp110
18814 wine_fn_config_test dlls/msvcp110/tests
18815 wine_fn_config_dll msvcp120 enable_msvcp120
18816 wine_fn_config_test dlls/msvcp120/tests
18817 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18818 wine_fn_config_dll msvcp140 enable_msvcp140
18819 wine_fn_config_test dlls/msvcp140/tests
18820 wine_fn_config_dll msvcp60 enable_msvcp60
18821 wine_fn_config_test dlls/msvcp60/tests
18822 wine_fn_config_dll msvcp70 enable_msvcp70
18823 wine_fn_config_dll msvcp71 enable_msvcp71
18824 wine_fn_config_dll msvcp80 enable_msvcp80
18825 wine_fn_config_dll msvcp90 enable_msvcp90
18826 wine_fn_config_test dlls/msvcp90/tests
18827 wine_fn_config_dll msvcr100 enable_msvcr100
18828 wine_fn_config_test dlls/msvcr100/tests
18829 wine_fn_config_dll msvcr110 enable_msvcr110
18830 wine_fn_config_dll msvcr120 enable_msvcr120
18831 wine_fn_config_test dlls/msvcr120/tests
18832 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18833 wine_fn_config_dll msvcr70 enable_msvcr70
18834 wine_fn_config_dll msvcr71 enable_msvcr71
18835 wine_fn_config_dll msvcr80 enable_msvcr80
18836 wine_fn_config_dll msvcr90 enable_msvcr90
18837 wine_fn_config_test dlls/msvcr90/tests
18838 wine_fn_config_dll msvcrt enable_msvcrt
18839 wine_fn_config_test dlls/msvcrt/tests
18840 wine_fn_config_dll msvcrt20 enable_msvcrt20
18841 wine_fn_config_dll msvcrt40 enable_msvcrt40
18842 wine_fn_config_dll msvcrtd enable_msvcrtd
18843 wine_fn_config_test dlls/msvcrtd/tests
18844 wine_fn_config_dll msvfw32 enable_msvfw32
18845 wine_fn_config_test dlls/msvfw32/tests
18846 wine_fn_config_dll msvidc32 enable_msvidc32
18847 wine_fn_config_dll msvideo.dll16 enable_win16
18848 wine_fn_config_dll mswsock enable_mswsock
18849 wine_fn_config_dll msxml enable_msxml
18850 wine_fn_config_dll msxml2 enable_msxml2
18851 wine_fn_config_dll msxml3 enable_msxml3
18852 wine_fn_config_test dlls/msxml3/tests
18853 wine_fn_config_dll msxml4 enable_msxml4
18854 wine_fn_config_dll msxml6 enable_msxml6
18855 wine_fn_config_dll mtxdm enable_mtxdm
18856 wine_fn_config_dll ncrypt enable_ncrypt
18857 wine_fn_config_dll nddeapi enable_nddeapi
18858 wine_fn_config_dll ndis.sys enable_ndis_sys
18859 wine_fn_config_dll netapi32 enable_netapi32
18860 wine_fn_config_test dlls/netapi32/tests
18861 wine_fn_config_dll netcfgx enable_netcfgx
18862 wine_fn_config_test dlls/netcfgx/tests
18863 wine_fn_config_dll netprofm enable_netprofm
18864 wine_fn_config_test dlls/netprofm/tests
18865 wine_fn_config_dll newdev enable_newdev
18866 wine_fn_config_dll normaliz enable_normaliz
18867 wine_fn_config_dll npmshtml enable_npmshtml
18868 wine_fn_config_dll npptools enable_npptools
18869 wine_fn_config_dll ntdll enable_ntdll
18870 wine_fn_config_test dlls/ntdll/tests
18871 wine_fn_config_dll ntdsapi enable_ntdsapi
18872 wine_fn_config_test dlls/ntdsapi/tests
18873 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe
18874 wine_fn_config_dll ntprint enable_ntprint
18875 wine_fn_config_test dlls/ntprint/tests
18876 wine_fn_config_dll objsel enable_objsel
18877 wine_fn_config_dll odbc32 enable_odbc32
18878 wine_fn_config_dll odbccp32 enable_odbccp32
18879 wine_fn_config_test dlls/odbccp32/tests
18880 wine_fn_config_dll odbccu32 enable_odbccu32
18881 wine_fn_config_dll ole2.dll16 enable_win16
18882 wine_fn_config_dll ole2conv.dll16 enable_win16
18883 wine_fn_config_dll ole2disp.dll16 enable_win16
18884 wine_fn_config_dll ole2nls.dll16 enable_win16
18885 wine_fn_config_dll ole2prox.dll16 enable_win16
18886 wine_fn_config_dll ole2thk.dll16 enable_win16
18887 wine_fn_config_dll ole32 enable_ole32
18888 wine_fn_config_test dlls/ole32/tests
18889 wine_fn_config_dll oleacc enable_oleacc
18890 wine_fn_config_test dlls/oleacc/tests
18891 wine_fn_config_dll oleaut32 enable_oleaut32
18892 wine_fn_config_test dlls/oleaut32/tests
18893 wine_fn_config_dll olecli.dll16 enable_win16
18894 wine_fn_config_dll olecli32 enable_olecli32
18895 wine_fn_config_dll oledb32 enable_oledb32
18896 wine_fn_config_test dlls/oledb32/tests
18897 wine_fn_config_dll oledlg enable_oledlg
18898 wine_fn_config_test dlls/oledlg/tests
18899 wine_fn_config_dll olepro32 enable_olepro32
18900 wine_fn_config_dll olesvr.dll16 enable_win16
18901 wine_fn_config_dll olesvr32 enable_olesvr32
18902 wine_fn_config_dll olethk32 enable_olethk32
18903 wine_fn_config_dll openal32 enable_openal32
18904 wine_fn_config_dll opencl enable_opencl
18905 wine_fn_config_dll opengl32 enable_opengl32
18906 wine_fn_config_test dlls/opengl32/tests
18907 wine_fn_config_dll packager enable_packager
18908 wine_fn_config_test dlls/packager/tests
18909 wine_fn_config_dll pdh enable_pdh
18910 wine_fn_config_test dlls/pdh/tests
18911 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18912 wine_fn_config_dll pidgen enable_pidgen
18913 wine_fn_config_dll powrprof enable_powrprof
18914 wine_fn_config_dll printui enable_printui
18915 wine_fn_config_dll prntvpt enable_prntvpt
18916 wine_fn_config_dll propsys enable_propsys
18917 wine_fn_config_test dlls/propsys/tests
18918 wine_fn_config_dll psapi enable_psapi
18919 wine_fn_config_test dlls/psapi/tests
18920 wine_fn_config_dll pstorec enable_pstorec
18921 wine_fn_config_test dlls/pstorec/tests
18922 wine_fn_config_dll qcap enable_qcap
18923 wine_fn_config_test dlls/qcap/tests
18924 wine_fn_config_dll qedit enable_qedit
18925 wine_fn_config_test dlls/qedit/tests
18926 wine_fn_config_dll qmgr enable_qmgr
18927 wine_fn_config_test dlls/qmgr/tests
18928 wine_fn_config_dll qmgrprxy enable_qmgrprxy
18929 wine_fn_config_dll quartz enable_quartz
18930 wine_fn_config_test dlls/quartz/tests
18931 wine_fn_config_dll query enable_query
18932 wine_fn_config_dll rasapi16.dll16 enable_win16
18933 wine_fn_config_dll rasapi32 enable_rasapi32
18934 wine_fn_config_test dlls/rasapi32/tests
18935 wine_fn_config_dll rasdlg enable_rasdlg
18936 wine_fn_config_dll regapi enable_regapi
18937 wine_fn_config_dll resutils enable_resutils
18938 wine_fn_config_dll riched20 enable_riched20
18939 wine_fn_config_test dlls/riched20/tests
18940 wine_fn_config_dll riched32 enable_riched32
18941 wine_fn_config_test dlls/riched32/tests
18942 wine_fn_config_dll rpcrt4 enable_rpcrt4
18943 wine_fn_config_test dlls/rpcrt4/tests
18944 wine_fn_config_dll rsabase enable_rsabase
18945 wine_fn_config_dll rsaenh enable_rsaenh
18946 wine_fn_config_test dlls/rsaenh/tests
18947 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18948 wine_fn_config_dll rtutils enable_rtutils
18949 wine_fn_config_dll samlib enable_samlib
18950 wine_fn_config_dll sane.ds enable_sane_ds
18951 wine_fn_config_dll sapi enable_sapi
18952 wine_fn_config_test dlls/sapi/tests
18953 wine_fn_config_dll scarddlg enable_scarddlg
18954 wine_fn_config_dll sccbase enable_sccbase
18955 wine_fn_config_dll schannel enable_schannel
18956 wine_fn_config_test dlls/schannel/tests
18957 wine_fn_config_dll schedsvc enable_schedsvc
18958 wine_fn_config_test dlls/schedsvc/tests
18959 wine_fn_config_dll scrobj enable_scrobj
18960 wine_fn_config_dll scrrun enable_scrrun
18961 wine_fn_config_test dlls/scrrun/tests
18962 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18963 wine_fn_config_dll secur32 enable_secur32
18964 wine_fn_config_test dlls/secur32/tests
18965 wine_fn_config_dll security enable_security
18966 wine_fn_config_dll sensapi enable_sensapi
18967 wine_fn_config_dll serialui enable_serialui
18968 wine_fn_config_test dlls/serialui/tests
18969 wine_fn_config_dll setupapi enable_setupapi
18970 wine_fn_config_test dlls/setupapi/tests
18971 wine_fn_config_dll setupx.dll16 enable_win16
18972 wine_fn_config_dll sfc enable_sfc
18973 wine_fn_config_dll sfc_os enable_sfc_os
18974 wine_fn_config_dll shcore enable_shcore
18975 wine_fn_config_dll shdoclc enable_shdoclc
18976 wine_fn_config_dll shdocvw enable_shdocvw
18977 wine_fn_config_test dlls/shdocvw/tests
18978 wine_fn_config_dll shell.dll16 enable_win16
18979 wine_fn_config_dll shell32 enable_shell32
18980 wine_fn_config_test dlls/shell32/tests
18981 wine_fn_config_dll shfolder enable_shfolder
18982 wine_fn_config_dll shlwapi enable_shlwapi
18983 wine_fn_config_test dlls/shlwapi/tests
18984 wine_fn_config_dll slbcsp enable_slbcsp
18985 wine_fn_config_dll slc enable_slc
18986 wine_fn_config_test dlls/slc/tests
18987 wine_fn_config_dll snmpapi enable_snmpapi
18988 wine_fn_config_test dlls/snmpapi/tests
18989 wine_fn_config_dll softpub enable_softpub
18990 wine_fn_config_dll sound.drv16 enable_win16
18991 wine_fn_config_dll spoolss enable_spoolss
18992 wine_fn_config_test dlls/spoolss/tests
18993 wine_fn_config_dll sspicli enable_sspicli
18994 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
18995 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
18996 wine_fn_config_dll sti enable_sti
18997 wine_fn_config_test dlls/sti/tests
18998 wine_fn_config_dll storage.dll16 enable_win16
18999 wine_fn_config_dll stress.dll16 enable_win16
19000 wine_fn_config_lib strmbase
19001 wine_fn_config_lib strmiids
19002 wine_fn_config_dll svrapi enable_svrapi
19003 wine_fn_config_dll sxs enable_sxs
19004 wine_fn_config_test dlls/sxs/tests
19005 wine_fn_config_dll system.drv16 enable_win16
19006 wine_fn_config_dll t2embed enable_t2embed
19007 wine_fn_config_test dlls/t2embed/tests
19008 wine_fn_config_dll tapi32 enable_tapi32
19009 wine_fn_config_dll taskschd enable_taskschd
19010 wine_fn_config_test dlls/taskschd/tests
19011 wine_fn_config_dll tdh enable_tdh
19012 wine_fn_config_dll tdi.sys enable_tdi_sys
19013 wine_fn_config_dll toolhelp.dll16 enable_win16
19014 wine_fn_config_dll traffic enable_traffic
19015 wine_fn_config_dll twain.dll16 enable_win16
19016 wine_fn_config_dll twain_32 enable_twain_32
19017 wine_fn_config_test dlls/twain_32/tests
19018 wine_fn_config_dll typelib.dll16 enable_win16
19019 wine_fn_config_dll ucrtbase enable_ucrtbase
19020 wine_fn_config_test dlls/ucrtbase/tests
19021 wine_fn_config_dll uiautomationcore enable_uiautomationcore
19022 wine_fn_config_dll uiribbon enable_uiribbon
19023 wine_fn_config_dll unicows enable_unicows
19024 wine_fn_config_dll updspapi enable_updspapi
19025 wine_fn_config_dll url enable_url
19026 wine_fn_config_dll urlmon enable_urlmon
19027 wine_fn_config_test dlls/urlmon/tests
19028 wine_fn_config_dll usbd.sys enable_usbd_sys
19029 wine_fn_config_dll user.exe16 enable_win16
19030 wine_fn_config_dll user32 enable_user32
19031 wine_fn_config_test dlls/user32/tests
19032 wine_fn_config_dll userenv enable_userenv
19033 wine_fn_config_test dlls/userenv/tests
19034 wine_fn_config_dll usp10 enable_usp10
19035 wine_fn_config_test dlls/usp10/tests
19036 wine_fn_config_lib uuid
19037 wine_fn_config_dll uxtheme enable_uxtheme
19038 wine_fn_config_test dlls/uxtheme/tests
19039 wine_fn_config_dll vbscript enable_vbscript
19040 wine_fn_config_test dlls/vbscript/tests
19041 wine_fn_config_dll vcomp enable_vcomp
19042 wine_fn_config_test dlls/vcomp/tests
19043 wine_fn_config_dll vcomp100 enable_vcomp100
19044 wine_fn_config_dll vcomp110 enable_vcomp110
19045 wine_fn_config_dll vcomp120 enable_vcomp120
19046 wine_fn_config_dll vcomp140 enable_vcomp140
19047 wine_fn_config_dll vcomp90 enable_vcomp90
19048 wine_fn_config_dll vcruntime140 enable_vcruntime140
19049 wine_fn_config_dll vdhcp.vxd enable_win16
19050 wine_fn_config_dll vdmdbg enable_vdmdbg
19051 wine_fn_config_dll ver.dll16 enable_win16
19052 wine_fn_config_dll version enable_version
19053 wine_fn_config_test dlls/version/tests
19054 wine_fn_config_dll virtdisk enable_virtdisk
19055 wine_fn_config_dll vmm.vxd enable_win16
19056 wine_fn_config_dll vnbt.vxd enable_win16
19057 wine_fn_config_dll vnetbios.vxd enable_win16
19058 wine_fn_config_dll vssapi enable_vssapi
19059 wine_fn_config_dll vtdapi.vxd enable_win16
19060 wine_fn_config_dll vwin32.vxd enable_win16
19061 wine_fn_config_dll w32skrnl enable_win16
19062 wine_fn_config_dll w32sys.dll16 enable_win16
19063 wine_fn_config_dll wbemdisp enable_wbemdisp
19064 wine_fn_config_test dlls/wbemdisp/tests
19065 wine_fn_config_dll wbemprox enable_wbemprox
19066 wine_fn_config_test dlls/wbemprox/tests
19067 wine_fn_config_dll wdscore enable_wdscore
19068 wine_fn_config_dll webservices enable_webservices
19069 wine_fn_config_test dlls/webservices/tests
19070 wine_fn_config_dll wer enable_wer
19071 wine_fn_config_test dlls/wer/tests
19072 wine_fn_config_dll wevtapi enable_wevtapi
19073 wine_fn_config_dll wiaservc enable_wiaservc
19074 wine_fn_config_test dlls/wiaservc/tests
19075 wine_fn_config_dll wimgapi enable_wimgapi
19076 wine_fn_config_dll win32s16.dll16 enable_win16
19077 wine_fn_config_dll win87em.dll16 enable_win16
19078 wine_fn_config_dll winaspi.dll16 enable_win16
19079 wine_fn_config_dll windebug.dll16 enable_win16
19080 wine_fn_config_dll windowscodecs enable_windowscodecs
19081 wine_fn_config_test dlls/windowscodecs/tests
19082 wine_fn_config_dll windowscodecsext enable_windowscodecsext
19083 wine_fn_config_test dlls/windowscodecsext/tests
19084 wine_fn_config_dll winealsa.drv enable_winealsa_drv
19085 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv
19086 wine_fn_config_dll winebus.sys enable_winebus_sys
19087 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
19088 wine_fn_config_lib winecrt0
19089 wine_fn_config_dll wined3d enable_wined3d
19090 wine_fn_config_dll winegstreamer enable_winegstreamer
19091 wine_fn_config_dll winehid.sys enable_winehid_sys
19092 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
19093 wine_fn_config_dll winemac.drv enable_winemac_drv
19094 wine_fn_config_dll winemapi enable_winemapi
19095 wine_fn_config_dll wineoss.drv enable_wineoss_drv
19096 wine_fn_config_dll wineps.drv enable_wineps_drv
19097 wine_fn_config_dll wineps16.drv16 enable_win16
19098 wine_fn_config_dll winepulse.drv enable_winepulse_drv
19099 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
19100 wine_fn_config_dll winevulkan enable_winevulkan
19101 wine_fn_config_dll winex11.drv enable_winex11_drv
19102 wine_fn_config_dll wing.dll16 enable_win16
19103 wine_fn_config_dll wing32 enable_wing32
19104 wine_fn_config_dll winhttp enable_winhttp
19105 wine_fn_config_test dlls/winhttp/tests
19106 wine_fn_config_dll wininet enable_wininet
19107 wine_fn_config_test dlls/wininet/tests
19108 wine_fn_config_dll winmm enable_winmm
19109 wine_fn_config_test dlls/winmm/tests
19110 wine_fn_config_dll winnls.dll16 enable_win16
19111 wine_fn_config_dll winnls32 enable_winnls32
19112 wine_fn_config_dll winscard enable_winscard
19113 wine_fn_config_dll winsock.dll16 enable_win16
19114 wine_fn_config_dll winspool.drv enable_winspool_drv
19115 wine_fn_config_test dlls/winspool.drv/tests
19116 wine_fn_config_dll winsta enable_winsta
19117 wine_fn_config_dll wintab.dll16 enable_win16
19118 wine_fn_config_dll wintab32 enable_wintab32
19119 wine_fn_config_test dlls/wintab32/tests
19120 wine_fn_config_dll wintrust enable_wintrust
19121 wine_fn_config_test dlls/wintrust/tests
19122 wine_fn_config_dll winusb enable_winusb
19123 wine_fn_config_dll wlanapi enable_wlanapi
19124 wine_fn_config_test dlls/wlanapi/tests
19125 wine_fn_config_dll wldap32 enable_wldap32
19126 wine_fn_config_test dlls/wldap32/tests
19127 wine_fn_config_dll wmasf enable_wmasf
19128 wine_fn_config_dll wmi enable_wmi
19129 wine_fn_config_dll wmiutils enable_wmiutils
19130 wine_fn_config_test dlls/wmiutils/tests
19131 wine_fn_config_dll wmp enable_wmp
19132 wine_fn_config_test dlls/wmp/tests
19133 wine_fn_config_dll wmphoto enable_wmphoto
19134 wine_fn_config_dll wmvcore enable_wmvcore
19135 wine_fn_config_test dlls/wmvcore/tests
19136 wine_fn_config_dll wnaspi32 enable_wnaspi32
19137 wine_fn_config_dll wow32 enable_win16
19138 wine_fn_config_dll wpc enable_wpc
19139 wine_fn_config_test dlls/wpc/tests
19140 wine_fn_config_dll wpcap enable_wpcap
19141 wine_fn_config_dll ws2_32 enable_ws2_32
19142 wine_fn_config_test dlls/ws2_32/tests
19143 wine_fn_config_dll wsdapi enable_wsdapi
19144 wine_fn_config_test dlls/wsdapi/tests
19145 wine_fn_config_dll wshom.ocx enable_wshom_ocx
19146 wine_fn_config_test dlls/wshom.ocx/tests
19147 wine_fn_config_dll wsnmp32 enable_wsnmp32
19148 wine_fn_config_test dlls/wsnmp32/tests
19149 wine_fn_config_dll wsock32 enable_wsock32
19150 wine_fn_config_dll wtsapi32 enable_wtsapi32
19151 wine_fn_config_test dlls/wtsapi32/tests
19152 wine_fn_config_dll wuapi enable_wuapi
19153 wine_fn_config_dll wuaueng enable_wuaueng
19154 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19155 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19156 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19157 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19158 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19159 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19160 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19161 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19162 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19163 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19164 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19165 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19166 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19167 wine_fn_config_dll xaudio2_0 enable_xaudio2_0
19168 wine_fn_config_dll xaudio2_1 enable_xaudio2_1
19169 wine_fn_config_dll xaudio2_2 enable_xaudio2_2
19170 wine_fn_config_dll xaudio2_3 enable_xaudio2_3
19171 wine_fn_config_dll xaudio2_4 enable_xaudio2_4
19172 wine_fn_config_dll xaudio2_5 enable_xaudio2_5
19173 wine_fn_config_dll xaudio2_6 enable_xaudio2_6
19174 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
19175 wine_fn_config_test dlls/xaudio2_7/tests
19176 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
19177 wine_fn_config_dll xaudio2_9 enable_xaudio2_9
19178 wine_fn_config_dll xinput1_1 enable_xinput1_1
19179 wine_fn_config_dll xinput1_2 enable_xinput1_2
19180 wine_fn_config_dll xinput1_3 enable_xinput1_3
19181 wine_fn_config_test dlls/xinput1_3/tests
19182 wine_fn_config_dll xinput1_4 enable_xinput1_4
19183 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19184 wine_fn_config_dll xmllite enable_xmllite
19185 wine_fn_config_test dlls/xmllite/tests
19186 wine_fn_config_dll xolehlp enable_xolehlp
19187 wine_fn_config_dll xpsprint enable_xpsprint
19188 wine_fn_config_dll xpssvcs enable_xpssvcs
19189 wine_fn_config_makefile fonts enable_fonts
19190 wine_fn_config_makefile include enable_include
19191 wine_fn_config_makefile libs/port enable_libs_port
19192 wine_fn_config_makefile libs/wine enable_libs_wine
19193 wine_fn_config_makefile libs/wpp enable_libs_wpp
19194 wine_fn_config_makefile loader enable_loader
19195 wine_fn_config_makefile po enable_po
19196 wine_fn_config_program arp enable_arp
19197 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
19198 wine_fn_config_program attrib enable_attrib
19199 wine_fn_config_program cabarc enable_cabarc
19200 wine_fn_config_program cacls enable_cacls
19201 wine_fn_config_program clock enable_clock
19202 wine_fn_config_program cmd enable_cmd
19203 wine_fn_config_test programs/cmd/tests
19204 wine_fn_config_program conhost enable_conhost
19205 wine_fn_config_program control enable_control
19206 wine_fn_config_program cscript enable_cscript
19207 wine_fn_config_program dpnsvr enable_dpnsvr
19208 wine_fn_config_program dxdiag enable_dxdiag
19209 wine_fn_config_program eject enable_eject
19210 wine_fn_config_program expand enable_expand
19211 wine_fn_config_program explorer enable_explorer
19212 wine_fn_config_program extrac32 enable_extrac32
19213 wine_fn_config_program findstr enable_findstr
19214 wine_fn_config_program fsutil enable_fsutil
19215 wine_fn_config_program hh enable_hh
19216 wine_fn_config_program hostname enable_hostname
19217 wine_fn_config_program icacls enable_icacls
19218 wine_fn_config_program icinfo enable_icinfo
19219 wine_fn_config_program iexplore enable_iexplore
19220 wine_fn_config_program ipconfig enable_ipconfig
19221 wine_fn_config_program lodctr enable_lodctr
19222 wine_fn_config_program mofcomp enable_mofcomp
19223 wine_fn_config_program mshta enable_mshta
19224 wine_fn_config_program msiexec enable_msiexec
19225 wine_fn_config_program msinfo32 enable_msinfo32
19226 wine_fn_config_program net enable_net
19227 wine_fn_config_program netsh enable_netsh
19228 wine_fn_config_program netstat enable_netstat
19229 wine_fn_config_program ngen enable_ngen
19230 wine_fn_config_program notepad enable_notepad
19231 wine_fn_config_program oleview enable_oleview
19232 wine_fn_config_program ping enable_ping
19233 wine_fn_config_program plugplay enable_plugplay
19234 wine_fn_config_program powershell enable_powershell
19235 wine_fn_config_program presentationfontcache enable_presentationfontcache
19236 wine_fn_config_program progman enable_progman
19237 wine_fn_config_program reg enable_reg
19238 wine_fn_config_test programs/reg/tests
19239 wine_fn_config_program regasm enable_regasm
19240 wine_fn_config_program regedit enable_regedit
19241 wine_fn_config_test programs/regedit/tests
19242 wine_fn_config_program regsvcs enable_regsvcs
19243 wine_fn_config_program regsvr32 enable_regsvr32
19244 wine_fn_config_program rpcss enable_rpcss
19245 wine_fn_config_program rundll.exe16 enable_win16
19246 wine_fn_config_program rundll32 enable_rundll32
19247 wine_fn_config_program sc enable_sc
19248 wine_fn_config_program schtasks enable_schtasks
19249 wine_fn_config_test programs/schtasks/tests
19250 wine_fn_config_program sdbinst enable_sdbinst
19251 wine_fn_config_program secedit enable_secedit
19252 wine_fn_config_program servicemodelreg enable_servicemodelreg
19253 wine_fn_config_program services enable_services
19254 wine_fn_config_test programs/services/tests
19255 wine_fn_config_program shutdown enable_shutdown
19256 wine_fn_config_program spoolsv enable_spoolsv
19257 wine_fn_config_program start enable_start
19258 wine_fn_config_program subst enable_subst
19259 wine_fn_config_program svchost enable_svchost
19260 wine_fn_config_program systeminfo enable_systeminfo
19261 wine_fn_config_program taskkill enable_taskkill
19262 wine_fn_config_program tasklist enable_tasklist
19263 wine_fn_config_program taskmgr enable_taskmgr
19264 wine_fn_config_program termsv enable_termsv
19265 wine_fn_config_program uninstaller enable_uninstaller
19266 wine_fn_config_program unlodctr enable_unlodctr
19267 wine_fn_config_program view enable_view
19268 wine_fn_config_program wevtutil enable_wevtutil
19269 wine_fn_config_program wineboot enable_wineboot
19270 wine_fn_config_program winebrowser enable_winebrowser
19271 wine_fn_config_program winecfg enable_winecfg
19272 wine_fn_config_program wineconsole enable_wineconsole
19273 wine_fn_config_program winedbg enable_winedbg
19274 wine_fn_config_program winedevice enable_winedevice
19275 wine_fn_config_program winefile enable_winefile
19276 wine_fn_config_program winemenubuilder enable_winemenubuilder
19277 wine_fn_config_program winemine enable_winemine
19278 wine_fn_config_program winemsibuilder enable_winemsibuilder
19279 wine_fn_config_program winepath enable_winepath
19280 wine_fn_config_program winetest enable_winetest
19281 wine_fn_config_program winevdm enable_win16
19282 wine_fn_config_program winhelp.exe16 enable_win16
19283 wine_fn_config_program winhlp32 enable_winhlp32
19284 wine_fn_config_program winoldap.mod16 enable_win16
19285 wine_fn_config_program winver enable_winver
19286 wine_fn_config_program wmic enable_wmic
19287 wine_fn_config_program wmplayer enable_wmplayer
19288 wine_fn_config_program wordpad enable_wordpad
19289 wine_fn_config_program write enable_write
19290 wine_fn_config_program wscript enable_wscript
19291 wine_fn_config_test programs/wscript/tests
19292 wine_fn_config_program wusa enable_wusa
19293 wine_fn_config_program xcopy enable_xcopy
19294 wine_fn_config_test programs/xcopy/tests
19295 wine_fn_config_makefile server enable_server
19296 wine_fn_config_tool tools
19297 wine_fn_config_tool tools/sfnt2fon
19298 wine_fn_config_tool tools/widl
19299 wine_fn_config_tool tools/winebuild
19300 wine_fn_config_tool tools/winedump
19301 wine_fn_config_tool tools/winegcc
19302 wine_fn_config_tool tools/winemaker
19303 wine_fn_config_tool tools/wmc
19304 wine_fn_config_tool tools/wrc
19307 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19308 wine_fn_append_file CONFIGURE_TARGETS "tags"
19309 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19310 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19311 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19312 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19313 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19314 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19316 if test "x$enable_tools" != xno
19317 then
19318 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19319 ac_config_commands="$ac_config_commands tools/makedep"
19323 ac_config_commands="$ac_config_commands Makefile"
19326 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19330 if test "x$enable_maintainer_mode" = xyes
19331 then
19332 wine_fn_append_rule "configure: configure.ac aclocal.m4
19333 autoconf --warnings=all
19334 include/config.h.in: include/stamp-h.in
19335 include/stamp-h.in: configure.ac aclocal.m4
19336 autoheader --warnings=all
19337 @echo timestamp > \$@"
19340 if test "x$enable_tools" != xno
19341 then
19342 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19343 @./config.status tools/makedep
19344 Makefile: tools/makedep$ac_exeext
19345 fonts: tools/sfnt2fon
19346 include: tools tools/widl"
19347 else
19348 wine_fn_append_rule "\$(MAKEDEP):
19349 @echo \"You need to run make in $TOOLSDIR first\" && false"
19352 if test -n "$with_wine64"
19353 then
19354 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19355 fonts server:
19356 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19357 $with_wine64/loader/wine:
19358 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19359 $with_wine64/loader/wine-preloader:
19360 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19361 clean::
19362 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19363 else
19364 WINELOADER_INSTALL="wine.inf l_intl.nls"
19366 case $host_os in
19367 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19368 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19369 esac
19372 $as_echo " done" >&6
19373 cat >confcache <<\_ACEOF
19374 # This file is a shell script that caches the results of configure
19375 # tests run on this system so they can be shared between configure
19376 # scripts and configure runs, see configure's option --config-cache.
19377 # It is not useful on other systems. If it contains results you don't
19378 # want to keep, you may remove or edit it.
19380 # config.status only pays attention to the cache file if you give it
19381 # the --recheck option to rerun configure.
19383 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19384 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19385 # following values.
19387 _ACEOF
19389 # The following way of writing the cache mishandles newlines in values,
19390 # but we know of no workaround that is simple, portable, and efficient.
19391 # So, we kill variables containing newlines.
19392 # Ultrix sh set writes to stderr and can't be redirected directly,
19393 # and sets the high bit in the cache file unless we assign to the vars.
19395 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19396 eval ac_val=\$$ac_var
19397 case $ac_val in #(
19398 *${as_nl}*)
19399 case $ac_var in #(
19400 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19401 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19402 esac
19403 case $ac_var in #(
19404 _ | IFS | as_nl) ;; #(
19405 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19406 *) { eval $ac_var=; unset $ac_var;} ;;
19407 esac ;;
19408 esac
19409 done
19411 (set) 2>&1 |
19412 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19413 *${as_nl}ac_space=\ *)
19414 # `set' does not quote correctly, so add quotes: double-quote
19415 # substitution turns \\\\ into \\, and sed turns \\ into \.
19416 sed -n \
19417 "s/'/'\\\\''/g;
19418 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19419 ;; #(
19421 # `set' quotes correctly as required by POSIX, so do not add quotes.
19422 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19424 esac |
19425 sort
19427 sed '
19428 /^ac_cv_env_/b end
19429 t clear
19430 :clear
19431 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19432 t end
19433 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19434 :end' >>confcache
19435 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19436 if test -w "$cache_file"; then
19437 if test "x$cache_file" != "x/dev/null"; then
19438 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19439 $as_echo "$as_me: updating cache $cache_file" >&6;}
19440 if test ! -f "$cache_file" || test -h "$cache_file"; then
19441 cat confcache >"$cache_file"
19442 else
19443 case $cache_file in #(
19444 */* | ?:*)
19445 mv -f confcache "$cache_file"$$ &&
19446 mv -f "$cache_file"$$ "$cache_file" ;; #(
19448 mv -f confcache "$cache_file" ;;
19449 esac
19452 else
19453 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19454 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19457 rm -f confcache
19459 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19460 # Let make expand exec_prefix.
19461 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19463 DEFS=-DHAVE_CONFIG_H
19465 ac_libobjs=
19466 ac_ltlibobjs=
19468 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19469 # 1. Remove the extension, and $U if already installed.
19470 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19471 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19472 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19473 # will be set to the directory where LIBOBJS objects are built.
19474 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19475 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19476 done
19477 LIBOBJS=$ac_libobjs
19479 LTLIBOBJS=$ac_ltlibobjs
19483 : "${CONFIG_STATUS=./config.status}"
19484 ac_write_fail=0
19485 ac_clean_files_save=$ac_clean_files
19486 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19488 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19489 as_write_fail=0
19490 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19491 #! $SHELL
19492 # Generated by $as_me.
19493 # Run this file to recreate the current configuration.
19494 # Compiler output produced by configure, useful for debugging
19495 # configure, is in config.log if it exists.
19497 debug=false
19498 ac_cs_recheck=false
19499 ac_cs_silent=false
19501 SHELL=\${CONFIG_SHELL-$SHELL}
19502 export SHELL
19503 _ASEOF
19504 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19505 ## -------------------- ##
19506 ## M4sh Initialization. ##
19507 ## -------------------- ##
19509 # Be more Bourne compatible
19510 DUALCASE=1; export DUALCASE # for MKS sh
19511 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19512 emulate sh
19513 NULLCMD=:
19514 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19515 # is contrary to our usage. Disable this feature.
19516 alias -g '${1+"$@"}'='"$@"'
19517 setopt NO_GLOB_SUBST
19518 else
19519 case `(set -o) 2>/dev/null` in #(
19520 *posix*) :
19521 set -o posix ;; #(
19522 *) :
19524 esac
19528 as_nl='
19530 export as_nl
19531 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19532 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19533 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19534 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19535 # Prefer a ksh shell builtin over an external printf program on Solaris,
19536 # but without wasting forks for bash or zsh.
19537 if test -z "$BASH_VERSION$ZSH_VERSION" \
19538 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19539 as_echo='print -r --'
19540 as_echo_n='print -rn --'
19541 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19542 as_echo='printf %s\n'
19543 as_echo_n='printf %s'
19544 else
19545 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19546 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19547 as_echo_n='/usr/ucb/echo -n'
19548 else
19549 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19550 as_echo_n_body='eval
19551 arg=$1;
19552 case $arg in #(
19553 *"$as_nl"*)
19554 expr "X$arg" : "X\\(.*\\)$as_nl";
19555 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19556 esac;
19557 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19559 export as_echo_n_body
19560 as_echo_n='sh -c $as_echo_n_body as_echo'
19562 export as_echo_body
19563 as_echo='sh -c $as_echo_body as_echo'
19566 # The user is always right.
19567 if test "${PATH_SEPARATOR+set}" != set; then
19568 PATH_SEPARATOR=:
19569 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19570 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19571 PATH_SEPARATOR=';'
19576 # IFS
19577 # We need space, tab and new line, in precisely that order. Quoting is
19578 # there to prevent editors from complaining about space-tab.
19579 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19580 # splitting by setting IFS to empty value.)
19581 IFS=" "" $as_nl"
19583 # Find who we are. Look in the path if we contain no directory separator.
19584 as_myself=
19585 case $0 in #((
19586 *[\\/]* ) as_myself=$0 ;;
19587 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19588 for as_dir in $PATH
19590 IFS=$as_save_IFS
19591 test -z "$as_dir" && as_dir=.
19592 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19593 done
19594 IFS=$as_save_IFS
19597 esac
19598 # We did not find ourselves, most probably we were run as `sh COMMAND'
19599 # in which case we are not to be found in the path.
19600 if test "x$as_myself" = x; then
19601 as_myself=$0
19603 if test ! -f "$as_myself"; then
19604 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19605 exit 1
19608 # Unset variables that we do not need and which cause bugs (e.g. in
19609 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19610 # suppresses any "Segmentation fault" message there. '((' could
19611 # trigger a bug in pdksh 5.2.14.
19612 for as_var in BASH_ENV ENV MAIL MAILPATH
19613 do eval test x\${$as_var+set} = xset \
19614 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19615 done
19616 PS1='$ '
19617 PS2='> '
19618 PS4='+ '
19620 # NLS nuisances.
19621 LC_ALL=C
19622 export LC_ALL
19623 LANGUAGE=C
19624 export LANGUAGE
19626 # CDPATH.
19627 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19630 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19631 # ----------------------------------------
19632 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19633 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19634 # script with STATUS, using 1 if that was 0.
19635 as_fn_error ()
19637 as_status=$1; test $as_status -eq 0 && as_status=1
19638 if test "$4"; then
19639 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19640 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19642 $as_echo "$as_me: error: $2" >&2
19643 as_fn_exit $as_status
19644 } # as_fn_error
19647 # as_fn_set_status STATUS
19648 # -----------------------
19649 # Set $? to STATUS, without forking.
19650 as_fn_set_status ()
19652 return $1
19653 } # as_fn_set_status
19655 # as_fn_exit STATUS
19656 # -----------------
19657 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19658 as_fn_exit ()
19660 set +e
19661 as_fn_set_status $1
19662 exit $1
19663 } # as_fn_exit
19665 # as_fn_unset VAR
19666 # ---------------
19667 # Portably unset VAR.
19668 as_fn_unset ()
19670 { eval $1=; unset $1;}
19672 as_unset=as_fn_unset
19673 # as_fn_append VAR VALUE
19674 # ----------------------
19675 # Append the text in VALUE to the end of the definition contained in VAR. Take
19676 # advantage of any shell optimizations that allow amortized linear growth over
19677 # repeated appends, instead of the typical quadratic growth present in naive
19678 # implementations.
19679 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19680 eval 'as_fn_append ()
19682 eval $1+=\$2
19684 else
19685 as_fn_append ()
19687 eval $1=\$$1\$2
19689 fi # as_fn_append
19691 # as_fn_arith ARG...
19692 # ------------------
19693 # Perform arithmetic evaluation on the ARGs, and store the result in the
19694 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19695 # must be portable across $(()) and expr.
19696 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19697 eval 'as_fn_arith ()
19699 as_val=$(( $* ))
19701 else
19702 as_fn_arith ()
19704 as_val=`expr "$@" || test $? -eq 1`
19706 fi # as_fn_arith
19709 if expr a : '\(a\)' >/dev/null 2>&1 &&
19710 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19711 as_expr=expr
19712 else
19713 as_expr=false
19716 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19717 as_basename=basename
19718 else
19719 as_basename=false
19722 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19723 as_dirname=dirname
19724 else
19725 as_dirname=false
19728 as_me=`$as_basename -- "$0" ||
19729 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19730 X"$0" : 'X\(//\)$' \| \
19731 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19732 $as_echo X/"$0" |
19733 sed '/^.*\/\([^/][^/]*\)\/*$/{
19734 s//\1/
19737 /^X\/\(\/\/\)$/{
19738 s//\1/
19741 /^X\/\(\/\).*/{
19742 s//\1/
19745 s/.*/./; q'`
19747 # Avoid depending upon Character Ranges.
19748 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19749 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19750 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19751 as_cr_digits='0123456789'
19752 as_cr_alnum=$as_cr_Letters$as_cr_digits
19754 ECHO_C= ECHO_N= ECHO_T=
19755 case `echo -n x` in #(((((
19756 -n*)
19757 case `echo 'xy\c'` in
19758 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19759 xy) ECHO_C='\c';;
19760 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19761 ECHO_T=' ';;
19762 esac;;
19764 ECHO_N='-n';;
19765 esac
19767 rm -f conf$$ conf$$.exe conf$$.file
19768 if test -d conf$$.dir; then
19769 rm -f conf$$.dir/conf$$.file
19770 else
19771 rm -f conf$$.dir
19772 mkdir conf$$.dir 2>/dev/null
19774 if (echo >conf$$.file) 2>/dev/null; then
19775 if ln -s conf$$.file conf$$ 2>/dev/null; then
19776 as_ln_s='ln -s'
19777 # ... but there are two gotchas:
19778 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19779 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19780 # In both cases, we have to default to `cp -pR'.
19781 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19782 as_ln_s='cp -pR'
19783 elif ln conf$$.file conf$$ 2>/dev/null; then
19784 as_ln_s=ln
19785 else
19786 as_ln_s='cp -pR'
19788 else
19789 as_ln_s='cp -pR'
19791 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19792 rmdir conf$$.dir 2>/dev/null
19795 # as_fn_mkdir_p
19796 # -------------
19797 # Create "$as_dir" as a directory, including parents if necessary.
19798 as_fn_mkdir_p ()
19801 case $as_dir in #(
19802 -*) as_dir=./$as_dir;;
19803 esac
19804 test -d "$as_dir" || eval $as_mkdir_p || {
19805 as_dirs=
19806 while :; do
19807 case $as_dir in #(
19808 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19809 *) as_qdir=$as_dir;;
19810 esac
19811 as_dirs="'$as_qdir' $as_dirs"
19812 as_dir=`$as_dirname -- "$as_dir" ||
19813 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19814 X"$as_dir" : 'X\(//\)[^/]' \| \
19815 X"$as_dir" : 'X\(//\)$' \| \
19816 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19817 $as_echo X"$as_dir" |
19818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19819 s//\1/
19822 /^X\(\/\/\)[^/].*/{
19823 s//\1/
19826 /^X\(\/\/\)$/{
19827 s//\1/
19830 /^X\(\/\).*/{
19831 s//\1/
19834 s/.*/./; q'`
19835 test -d "$as_dir" && break
19836 done
19837 test -z "$as_dirs" || eval "mkdir $as_dirs"
19838 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19841 } # as_fn_mkdir_p
19842 if mkdir -p . 2>/dev/null; then
19843 as_mkdir_p='mkdir -p "$as_dir"'
19844 else
19845 test -d ./-p && rmdir ./-p
19846 as_mkdir_p=false
19850 # as_fn_executable_p FILE
19851 # -----------------------
19852 # Test if FILE is an executable regular file.
19853 as_fn_executable_p ()
19855 test -f "$1" && test -x "$1"
19856 } # as_fn_executable_p
19857 as_test_x='test -x'
19858 as_executable_p=as_fn_executable_p
19860 # Sed expression to map a string onto a valid CPP name.
19861 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19863 # Sed expression to map a string onto a valid variable name.
19864 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19867 exec 6>&1
19868 ## ----------------------------------- ##
19869 ## Main body of $CONFIG_STATUS script. ##
19870 ## ----------------------------------- ##
19871 _ASEOF
19872 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19875 # Save the log message, to keep $0 and so on meaningful, and to
19876 # report actual input values of CONFIG_FILES etc. instead of their
19877 # values after options handling.
19878 ac_log="
19879 This file was extended by Wine $as_me 3.3, which was
19880 generated by GNU Autoconf 2.69. Invocation command line was
19882 CONFIG_FILES = $CONFIG_FILES
19883 CONFIG_HEADERS = $CONFIG_HEADERS
19884 CONFIG_LINKS = $CONFIG_LINKS
19885 CONFIG_COMMANDS = $CONFIG_COMMANDS
19886 $ $0 $@
19888 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19891 _ACEOF
19893 case $ac_config_files in *"
19894 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19895 esac
19897 case $ac_config_headers in *"
19898 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19899 esac
19902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19903 # Files that config.status was made for.
19904 config_files="$ac_config_files"
19905 config_headers="$ac_config_headers"
19906 config_links="$ac_config_links"
19907 config_commands="$ac_config_commands"
19909 _ACEOF
19911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19912 ac_cs_usage="\
19913 \`$as_me' instantiates files and other configuration actions
19914 from templates according to the current configuration. Unless the files
19915 and actions are specified as TAGs, all are instantiated by default.
19917 Usage: $0 [OPTION]... [TAG]...
19919 -h, --help print this help, then exit
19920 -V, --version print version number and configuration settings, then exit
19921 --config print configuration, then exit
19922 -q, --quiet, --silent
19923 do not print progress messages
19924 -d, --debug don't remove temporary files
19925 --recheck update $as_me by reconfiguring in the same conditions
19926 --file=FILE[:TEMPLATE]
19927 instantiate the configuration file FILE
19928 --header=FILE[:TEMPLATE]
19929 instantiate the configuration header FILE
19931 Configuration files:
19932 $config_files
19934 Configuration headers:
19935 $config_headers
19937 Configuration links:
19938 $config_links
19940 Configuration commands:
19941 $config_commands
19943 Report bugs to <wine-devel@winehq.org>.
19944 Wine home page: <https://www.winehq.org>."
19946 _ACEOF
19947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19948 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19949 ac_cs_version="\\
19950 Wine config.status 3.3
19951 configured by $0, generated by GNU Autoconf 2.69,
19952 with options \\"\$ac_cs_config\\"
19954 Copyright (C) 2012 Free Software Foundation, Inc.
19955 This config.status script is free software; the Free Software Foundation
19956 gives unlimited permission to copy, distribute and modify it."
19958 ac_pwd='$ac_pwd'
19959 srcdir='$srcdir'
19960 test -n "\$AWK" || AWK=awk
19961 _ACEOF
19963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19964 # The default lists apply if the user does not specify any file.
19965 ac_need_defaults=:
19966 while test $# != 0
19968 case $1 in
19969 --*=?*)
19970 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19971 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19972 ac_shift=:
19974 --*=)
19975 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19976 ac_optarg=
19977 ac_shift=:
19980 ac_option=$1
19981 ac_optarg=$2
19982 ac_shift=shift
19984 esac
19986 case $ac_option in
19987 # Handling of the options.
19988 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19989 ac_cs_recheck=: ;;
19990 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19991 $as_echo "$ac_cs_version"; exit ;;
19992 --config | --confi | --conf | --con | --co | --c )
19993 $as_echo "$ac_cs_config"; exit ;;
19994 --debug | --debu | --deb | --de | --d | -d )
19995 debug=: ;;
19996 --file | --fil | --fi | --f )
19997 $ac_shift
19998 case $ac_optarg in
19999 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20000 '') as_fn_error $? "missing file argument" ;;
20001 esac
20002 as_fn_append CONFIG_FILES " '$ac_optarg'"
20003 ac_need_defaults=false;;
20004 --header | --heade | --head | --hea )
20005 $ac_shift
20006 case $ac_optarg in
20007 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20008 esac
20009 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20010 ac_need_defaults=false;;
20011 --he | --h)
20012 # Conflict between --help and --header
20013 as_fn_error $? "ambiguous option: \`$1'
20014 Try \`$0 --help' for more information.";;
20015 --help | --hel | -h )
20016 $as_echo "$ac_cs_usage"; exit ;;
20017 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20018 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20019 ac_cs_silent=: ;;
20021 # This is an error.
20022 -*) as_fn_error $? "unrecognized option: \`$1'
20023 Try \`$0 --help' for more information." ;;
20025 *) as_fn_append ac_config_targets " $1"
20026 ac_need_defaults=false ;;
20028 esac
20029 shift
20030 done
20032 ac_configure_extra_args=
20034 if $ac_cs_silent; then
20035 exec 6>/dev/null
20036 ac_configure_extra_args="$ac_configure_extra_args --silent"
20039 _ACEOF
20040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20041 if \$ac_cs_recheck; then
20042 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20043 shift
20044 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20045 CONFIG_SHELL='$SHELL'
20046 export CONFIG_SHELL
20047 exec "\$@"
20050 _ACEOF
20051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20052 exec 5>>config.log
20054 echo
20055 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20056 ## Running $as_me. ##
20057 _ASBOX
20058 $as_echo "$ac_log"
20059 } >&5
20061 _ACEOF
20062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20064 # INIT-COMMANDS
20066 wine_fn_output_makedep ()
20068 as_dir=tools; as_fn_mkdir_p
20069 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20071 wine_fn_output_makefile ()
20073 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20074 `cat $wine_rules_file`
20075 _WINE_EOF
20076 as_fn_error $? "could not create Makefile" "$LINENO" 5
20079 _ACEOF
20081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20083 # Handling of arguments.
20084 for ac_config_target in $ac_config_targets
20086 case $ac_config_target in
20087 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20088 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20089 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20090 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20091 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20092 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20093 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20094 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20095 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20096 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20097 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20098 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20099 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20101 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20102 esac
20103 done
20106 # If the user did not use the arguments to specify the items to instantiate,
20107 # then the envvar interface is used. Set only those that are not.
20108 # We use the long form for the default assignment because of an extremely
20109 # bizarre bug on SunOS 4.1.3.
20110 if $ac_need_defaults; then
20111 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20112 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20113 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20114 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20117 # Have a temporary directory for convenience. Make it in the build tree
20118 # simply because there is no reason against having it here, and in addition,
20119 # creating and moving files from /tmp can sometimes cause problems.
20120 # Hook for its removal unless debugging.
20121 # Note that there is a small window in which the directory will not be cleaned:
20122 # after its creation but before its name has been assigned to `$tmp'.
20123 $debug ||
20125 tmp= ac_tmp=
20126 trap 'exit_status=$?
20127 : "${ac_tmp:=$tmp}"
20128 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20130 trap 'as_fn_exit 1' 1 2 13 15
20132 # Create a (secure) tmp directory for tmp files.
20135 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20136 test -d "$tmp"
20137 } ||
20139 tmp=./conf$$-$RANDOM
20140 (umask 077 && mkdir "$tmp")
20141 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20142 ac_tmp=$tmp
20144 # Set up the scripts for CONFIG_FILES section.
20145 # No need to generate them if there are no CONFIG_FILES.
20146 # This happens for instance with `./config.status config.h'.
20147 if test -n "$CONFIG_FILES"; then
20150 ac_cr=`echo X | tr X '\015'`
20151 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20152 # But we know of no other shell where ac_cr would be empty at this
20153 # point, so we can use a bashism as a fallback.
20154 if test "x$ac_cr" = x; then
20155 eval ac_cr=\$\'\\r\'
20157 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20158 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20159 ac_cs_awk_cr='\\r'
20160 else
20161 ac_cs_awk_cr=$ac_cr
20164 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20165 _ACEOF
20169 echo "cat >conf$$subs.awk <<_ACEOF" &&
20170 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20171 echo "_ACEOF"
20172 } >conf$$subs.sh ||
20173 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20174 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20175 ac_delim='%!_!# '
20176 for ac_last_try in false false false false false :; do
20177 . ./conf$$subs.sh ||
20178 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20180 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20181 if test $ac_delim_n = $ac_delim_num; then
20182 break
20183 elif $ac_last_try; then
20184 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20185 else
20186 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20188 done
20189 rm -f conf$$subs.sh
20191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20192 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20193 _ACEOF
20194 sed -n '
20196 s/^/S["/; s/!.*/"]=/
20199 s/^[^!]*!//
20200 :repl
20201 t repl
20202 s/'"$ac_delim"'$//
20203 t delim
20206 s/\(.\{148\}\)..*/\1/
20207 t more1
20208 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20211 b repl
20212 :more1
20213 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20216 s/.\{148\}//
20217 t nl
20218 :delim
20220 s/\(.\{148\}\)..*/\1/
20221 t more2
20222 s/["\\]/\\&/g; s/^/"/; s/$/"/
20225 :more2
20226 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20229 s/.\{148\}//
20230 t delim
20231 ' <conf$$subs.awk | sed '
20232 /^[^""]/{
20234 s/\n//
20236 ' >>$CONFIG_STATUS || ac_write_fail=1
20237 rm -f conf$$subs.awk
20238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20239 _ACAWK
20240 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20241 for (key in S) S_is_set[key] = 1
20242 FS = "\a"
20246 line = $ 0
20247 nfields = split(line, field, "@")
20248 substed = 0
20249 len = length(field[1])
20250 for (i = 2; i < nfields; i++) {
20251 key = field[i]
20252 keylen = length(key)
20253 if (S_is_set[key]) {
20254 value = S[key]
20255 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20256 len += length(value) + length(field[++i])
20257 substed = 1
20258 } else
20259 len += 1 + keylen
20262 print line
20265 _ACAWK
20266 _ACEOF
20267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20268 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20269 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20270 else
20272 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20273 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20274 _ACEOF
20276 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20277 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20278 # trailing colons and then remove the whole line if VPATH becomes empty
20279 # (actually we leave an empty line to preserve line numbers).
20280 if test "x$srcdir" = x.; then
20281 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20283 s///
20284 s/^/:/
20285 s/[ ]*$/:/
20286 s/:\$(srcdir):/:/g
20287 s/:\${srcdir}:/:/g
20288 s/:@srcdir@:/:/g
20289 s/^:*//
20290 s/:*$//
20292 s/\(=[ ]*\).*/\1/
20294 s/\n//
20295 s/^[^=]*=[ ]*$//
20299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20300 fi # test -n "$CONFIG_FILES"
20302 # Set up the scripts for CONFIG_HEADERS section.
20303 # No need to generate them if there are no CONFIG_HEADERS.
20304 # This happens for instance with `./config.status Makefile'.
20305 if test -n "$CONFIG_HEADERS"; then
20306 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20307 BEGIN {
20308 _ACEOF
20310 # Transform confdefs.h into an awk script `defines.awk', embedded as
20311 # here-document in config.status, that substitutes the proper values into
20312 # config.h.in to produce config.h.
20314 # Create a delimiter string that does not exist in confdefs.h, to ease
20315 # handling of long lines.
20316 ac_delim='%!_!# '
20317 for ac_last_try in false false :; do
20318 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20319 if test -z "$ac_tt"; then
20320 break
20321 elif $ac_last_try; then
20322 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20323 else
20324 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20326 done
20328 # For the awk script, D is an array of macro values keyed by name,
20329 # likewise P contains macro parameters if any. Preserve backslash
20330 # newline sequences.
20332 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20333 sed -n '
20334 s/.\{148\}/&'"$ac_delim"'/g
20335 t rset
20336 :rset
20337 s/^[ ]*#[ ]*define[ ][ ]*/ /
20338 t def
20340 :def
20341 s/\\$//
20342 t bsnl
20343 s/["\\]/\\&/g
20344 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20345 D["\1"]=" \3"/p
20346 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20348 :bsnl
20349 s/["\\]/\\&/g
20350 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20351 D["\1"]=" \3\\\\\\n"\\/p
20352 t cont
20353 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20354 t cont
20356 :cont
20358 s/.\{148\}/&'"$ac_delim"'/g
20359 t clear
20360 :clear
20361 s/\\$//
20362 t bsnlc
20363 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20365 :bsnlc
20366 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20367 b cont
20368 ' <confdefs.h | sed '
20369 s/'"$ac_delim"'/"\\\
20370 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20373 for (key in D) D_is_set[key] = 1
20374 FS = "\a"
20376 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20377 line = \$ 0
20378 split(line, arg, " ")
20379 if (arg[1] == "#") {
20380 defundef = arg[2]
20381 mac1 = arg[3]
20382 } else {
20383 defundef = substr(arg[1], 2)
20384 mac1 = arg[2]
20386 split(mac1, mac2, "(") #)
20387 macro = mac2[1]
20388 prefix = substr(line, 1, index(line, defundef) - 1)
20389 if (D_is_set[macro]) {
20390 # Preserve the white space surrounding the "#".
20391 print prefix "define", macro P[macro] D[macro]
20392 next
20393 } else {
20394 # Replace #undef with comments. This is necessary, for example,
20395 # in the case of _POSIX_SOURCE, which is predefined and required
20396 # on some systems where configure will not decide to define it.
20397 if (defundef == "undef") {
20398 print "/*", prefix defundef, macro, "*/"
20399 next
20403 { print }
20404 _ACAWK
20405 _ACEOF
20406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20407 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20408 fi # test -n "$CONFIG_HEADERS"
20411 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20412 shift
20413 for ac_tag
20415 case $ac_tag in
20416 :[FHLC]) ac_mode=$ac_tag; continue;;
20417 esac
20418 case $ac_mode$ac_tag in
20419 :[FHL]*:*);;
20420 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20421 :[FH]-) ac_tag=-:-;;
20422 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20423 esac
20424 ac_save_IFS=$IFS
20425 IFS=:
20426 set x $ac_tag
20427 IFS=$ac_save_IFS
20428 shift
20429 ac_file=$1
20430 shift
20432 case $ac_mode in
20433 :L) ac_source=$1;;
20434 :[FH])
20435 ac_file_inputs=
20436 for ac_f
20438 case $ac_f in
20439 -) ac_f="$ac_tmp/stdin";;
20440 *) # Look for the file first in the build tree, then in the source tree
20441 # (if the path is not absolute). The absolute path cannot be DOS-style,
20442 # because $ac_f cannot contain `:'.
20443 test -f "$ac_f" ||
20444 case $ac_f in
20445 [\\/$]*) false;;
20446 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20447 esac ||
20448 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20449 esac
20450 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20451 as_fn_append ac_file_inputs " '$ac_f'"
20452 done
20454 # Let's still pretend it is `configure' which instantiates (i.e., don't
20455 # use $as_me), people would be surprised to read:
20456 # /* config.h. Generated by config.status. */
20457 configure_input='Generated from '`
20458 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20459 `' by configure.'
20460 if test x"$ac_file" != x-; then
20461 configure_input="$ac_file. $configure_input"
20462 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20463 $as_echo "$as_me: creating $ac_file" >&6;}
20465 # Neutralize special characters interpreted by sed in replacement strings.
20466 case $configure_input in #(
20467 *\&* | *\|* | *\\* )
20468 ac_sed_conf_input=`$as_echo "$configure_input" |
20469 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20470 *) ac_sed_conf_input=$configure_input;;
20471 esac
20473 case $ac_tag in
20474 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20475 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20476 esac
20478 esac
20480 ac_dir=`$as_dirname -- "$ac_file" ||
20481 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20482 X"$ac_file" : 'X\(//\)[^/]' \| \
20483 X"$ac_file" : 'X\(//\)$' \| \
20484 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20485 $as_echo X"$ac_file" |
20486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20487 s//\1/
20490 /^X\(\/\/\)[^/].*/{
20491 s//\1/
20494 /^X\(\/\/\)$/{
20495 s//\1/
20498 /^X\(\/\).*/{
20499 s//\1/
20502 s/.*/./; q'`
20503 as_dir="$ac_dir"; as_fn_mkdir_p
20504 ac_builddir=.
20506 case "$ac_dir" in
20507 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20509 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20510 # A ".." for each directory in $ac_dir_suffix.
20511 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20512 case $ac_top_builddir_sub in
20513 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20514 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20515 esac ;;
20516 esac
20517 ac_abs_top_builddir=$ac_pwd
20518 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20519 # for backward compatibility:
20520 ac_top_builddir=$ac_top_build_prefix
20522 case $srcdir in
20523 .) # We are building in place.
20524 ac_srcdir=.
20525 ac_top_srcdir=$ac_top_builddir_sub
20526 ac_abs_top_srcdir=$ac_pwd ;;
20527 [\\/]* | ?:[\\/]* ) # Absolute name.
20528 ac_srcdir=$srcdir$ac_dir_suffix;
20529 ac_top_srcdir=$srcdir
20530 ac_abs_top_srcdir=$srcdir ;;
20531 *) # Relative name.
20532 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20533 ac_top_srcdir=$ac_top_build_prefix$srcdir
20534 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20535 esac
20536 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20539 case $ac_mode in
20542 # CONFIG_FILE
20545 _ACEOF
20547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20548 # If the template does not know about datarootdir, expand it.
20549 # FIXME: This hack should be removed a few years after 2.60.
20550 ac_datarootdir_hack=; ac_datarootdir_seen=
20551 ac_sed_dataroot='
20552 /datarootdir/ {
20556 /@datadir@/p
20557 /@docdir@/p
20558 /@infodir@/p
20559 /@localedir@/p
20560 /@mandir@/p'
20561 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20562 *datarootdir*) ac_datarootdir_seen=yes;;
20563 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20565 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20566 _ACEOF
20567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20568 ac_datarootdir_hack='
20569 s&@datadir@&$datadir&g
20570 s&@docdir@&$docdir&g
20571 s&@infodir@&$infodir&g
20572 s&@localedir@&$localedir&g
20573 s&@mandir@&$mandir&g
20574 s&\\\${datarootdir}&$datarootdir&g' ;;
20575 esac
20576 _ACEOF
20578 # Neutralize VPATH when `$srcdir' = `.'.
20579 # Shell code in configure.ac might set extrasub.
20580 # FIXME: do we really want to maintain this feature?
20581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20582 ac_sed_extra="$ac_vpsub
20583 $extrasub
20584 _ACEOF
20585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20587 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20588 s|@configure_input@|$ac_sed_conf_input|;t t
20589 s&@top_builddir@&$ac_top_builddir_sub&;t t
20590 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20591 s&@srcdir@&$ac_srcdir&;t t
20592 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20593 s&@top_srcdir@&$ac_top_srcdir&;t t
20594 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20595 s&@builddir@&$ac_builddir&;t t
20596 s&@abs_builddir@&$ac_abs_builddir&;t t
20597 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20598 $ac_datarootdir_hack
20600 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20601 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20603 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20604 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20605 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20606 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20608 which seems to be undefined. Please make sure it is defined" >&5
20609 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20610 which seems to be undefined. Please make sure it is defined" >&2;}
20612 rm -f "$ac_tmp/stdin"
20613 case $ac_file in
20614 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20615 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20616 esac \
20617 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20621 # CONFIG_HEADER
20623 if test x"$ac_file" != x-; then
20625 $as_echo "/* $configure_input */" \
20626 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20627 } >"$ac_tmp/config.h" \
20628 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20629 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20631 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20632 else
20633 rm -f "$ac_file"
20634 mv "$ac_tmp/config.h" "$ac_file" \
20635 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20637 else
20638 $as_echo "/* $configure_input */" \
20639 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20640 || as_fn_error $? "could not create -" "$LINENO" 5
20645 # CONFIG_LINK
20648 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20650 else
20651 # Prefer the file from the source tree if names are identical.
20652 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20653 ac_source=$srcdir/$ac_source
20656 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20657 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20659 if test ! -r "$ac_source"; then
20660 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20662 rm -f "$ac_file"
20664 # Try a relative symlink, then a hard link, then a copy.
20665 case $ac_source in
20666 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20667 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20668 esac
20669 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20670 ln "$ac_source" "$ac_file" 2>/dev/null ||
20671 cp -p "$ac_source" "$ac_file" ||
20672 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20675 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20676 $as_echo "$as_me: executing $ac_file commands" >&6;}
20678 esac
20681 case $ac_file$ac_mode in
20682 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20683 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20684 "Makefile":C) wine_fn_output_makefile Makefile ;;
20686 esac
20687 done # for ac_tag
20690 as_fn_exit 0
20691 _ACEOF
20692 ac_clean_files=$ac_clean_files_save
20694 test $ac_write_fail = 0 ||
20695 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20698 # configure is writing to config.log, and then calls config.status.
20699 # config.status does its own redirection, appending to config.log.
20700 # Unfortunately, on DOS this fails, as config.log is still kept open
20701 # by configure, so config.status won't be able to write to it; its
20702 # output is simply discarded. So we exec the FD to /dev/null,
20703 # effectively closing config.log, so it can be properly (re)opened and
20704 # appended to by config.status. When coming back to configure, we
20705 # need to make the FD available again.
20706 if test "$no_create" != yes; then
20707 ac_cs_success=:
20708 ac_config_status_args=
20709 test "$silent" = yes &&
20710 ac_config_status_args="$ac_config_status_args --quiet"
20711 exec 5>/dev/null
20712 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20713 exec 5>>config.log
20714 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20715 # would make configure fail if this is the last instruction.
20716 $ac_cs_success || as_fn_exit 1
20718 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20720 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20724 if test "$no_create" = "yes"
20725 then
20726 exit 0
20729 ac_save_IFS="$IFS"
20730 if test "x$wine_notices" != x; then
20731 echo >&6
20732 IFS="|"
20733 for msg in $wine_notices; do
20734 IFS="$ac_save_IFS"
20735 if ${msg:+false} :; then :
20737 else
20738 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20739 $as_echo "$as_me: $msg" >&6;}
20741 done
20743 IFS="|"
20744 for msg in $wine_warnings; do
20745 IFS="$ac_save_IFS"
20746 if ${msg:+false} :; then :
20748 else
20749 echo >&2
20750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20751 $as_echo "$as_me: WARNING: $msg" >&2;}
20753 done
20754 IFS="$ac_save_IFS"
20756 $as_echo "
20757 $as_me: Finished. Do '${ac_make}' to compile Wine.
20758 " >&6