wined3d: Recognize GTX 560M card with NVIDIA driver.
[wine.git] / configure
blob397677e361b7dc3d0801a0b7decd73b612b13a2a
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_adsiid
890 enable_adsldp
891 enable_adsldpc
892 enable_advapi32
893 enable_advpack
894 enable_amstream
895 enable_api_ms_win_appmodel_identity_l1_1_0
896 enable_api_ms_win_appmodel_runtime_l1_1_1
897 enable_api_ms_win_appmodel_runtime_l1_1_2
898 enable_api_ms_win_core_apiquery_l1_1_0
899 enable_api_ms_win_core_appcompat_l1_1_1
900 enable_api_ms_win_core_appinit_l1_1_0
901 enable_api_ms_win_core_atoms_l1_1_0
902 enable_api_ms_win_core_bem_l1_1_0
903 enable_api_ms_win_core_com_l1_1_0
904 enable_api_ms_win_core_com_l1_1_1
905 enable_api_ms_win_core_com_private_l1_1_0
906 enable_api_ms_win_core_console_l1_1_0
907 enable_api_ms_win_core_console_l2_1_0
908 enable_api_ms_win_core_crt_l1_1_0
909 enable_api_ms_win_core_crt_l2_1_0
910 enable_api_ms_win_core_datetime_l1_1_0
911 enable_api_ms_win_core_datetime_l1_1_1
912 enable_api_ms_win_core_debug_l1_1_0
913 enable_api_ms_win_core_debug_l1_1_1
914 enable_api_ms_win_core_delayload_l1_1_0
915 enable_api_ms_win_core_delayload_l1_1_1
916 enable_api_ms_win_core_errorhandling_l1_1_0
917 enable_api_ms_win_core_errorhandling_l1_1_1
918 enable_api_ms_win_core_errorhandling_l1_1_2
919 enable_api_ms_win_core_errorhandling_l1_1_3
920 enable_api_ms_win_core_fibers_l1_1_0
921 enable_api_ms_win_core_fibers_l1_1_1
922 enable_api_ms_win_core_file_l1_1_0
923 enable_api_ms_win_core_file_l1_2_0
924 enable_api_ms_win_core_file_l1_2_1
925 enable_api_ms_win_core_file_l1_2_2
926 enable_api_ms_win_core_file_l2_1_0
927 enable_api_ms_win_core_file_l2_1_1
928 enable_api_ms_win_core_file_l2_1_2
929 enable_api_ms_win_core_handle_l1_1_0
930 enable_api_ms_win_core_heap_l1_1_0
931 enable_api_ms_win_core_heap_l1_2_0
932 enable_api_ms_win_core_heap_l2_1_0
933 enable_api_ms_win_core_heap_obsolete_l1_1_0
934 enable_api_ms_win_core_interlocked_l1_1_0
935 enable_api_ms_win_core_interlocked_l1_2_0
936 enable_api_ms_win_core_io_l1_1_0
937 enable_api_ms_win_core_io_l1_1_1
938 enable_api_ms_win_core_job_l1_1_0
939 enable_api_ms_win_core_job_l2_1_0
940 enable_api_ms_win_core_kernel32_legacy_l1_1_0
941 enable_api_ms_win_core_kernel32_legacy_l1_1_1
942 enable_api_ms_win_core_kernel32_private_l1_1_1
943 enable_api_ms_win_core_libraryloader_l1_1_0
944 enable_api_ms_win_core_libraryloader_l1_1_1
945 enable_api_ms_win_core_libraryloader_l1_2_0
946 enable_api_ms_win_core_libraryloader_l1_2_1
947 enable_api_ms_win_core_libraryloader_l1_2_2
948 enable_api_ms_win_core_localization_l1_1_0
949 enable_api_ms_win_core_localization_l1_2_0
950 enable_api_ms_win_core_localization_l1_2_1
951 enable_api_ms_win_core_localization_l2_1_0
952 enable_api_ms_win_core_localization_obsolete_l1_1_0
953 enable_api_ms_win_core_localization_obsolete_l1_2_0
954 enable_api_ms_win_core_localization_obsolete_l1_3_0
955 enable_api_ms_win_core_localization_private_l1_1_0
956 enable_api_ms_win_core_localregistry_l1_1_0
957 enable_api_ms_win_core_memory_l1_1_0
958 enable_api_ms_win_core_memory_l1_1_1
959 enable_api_ms_win_core_memory_l1_1_2
960 enable_api_ms_win_core_misc_l1_1_0
961 enable_api_ms_win_core_namedpipe_l1_1_0
962 enable_api_ms_win_core_namedpipe_l1_2_0
963 enable_api_ms_win_core_namespace_l1_1_0
964 enable_api_ms_win_core_normalization_l1_1_0
965 enable_api_ms_win_core_path_l1_1_0
966 enable_api_ms_win_core_privateprofile_l1_1_1
967 enable_api_ms_win_core_processenvironment_l1_1_0
968 enable_api_ms_win_core_processenvironment_l1_2_0
969 enable_api_ms_win_core_processthreads_l1_1_0
970 enable_api_ms_win_core_processthreads_l1_1_1
971 enable_api_ms_win_core_processthreads_l1_1_2
972 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
973 enable_api_ms_win_core_profile_l1_1_0
974 enable_api_ms_win_core_psapi_ansi_l1_1_0
975 enable_api_ms_win_core_psapi_l1_1_0
976 enable_api_ms_win_core_psapi_obsolete_l1_1_0
977 enable_api_ms_win_core_quirks_l1_1_0
978 enable_api_ms_win_core_realtime_l1_1_0
979 enable_api_ms_win_core_registry_l1_1_0
980 enable_api_ms_win_core_registry_l2_1_0
981 enable_api_ms_win_core_registryuserspecific_l1_1_0
982 enable_api_ms_win_core_rtlsupport_l1_1_0
983 enable_api_ms_win_core_rtlsupport_l1_2_0
984 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
985 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
986 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
987 enable_api_ms_win_core_shutdown_l1_1_0
988 enable_api_ms_win_core_sidebyside_l1_1_0
989 enable_api_ms_win_core_string_l1_1_0
990 enable_api_ms_win_core_string_l2_1_0
991 enable_api_ms_win_core_string_obsolete_l1_1_0
992 enable_api_ms_win_core_stringansi_l1_1_0
993 enable_api_ms_win_core_synch_ansi_l1_1_0
994 enable_api_ms_win_core_synch_l1_1_0
995 enable_api_ms_win_core_synch_l1_2_0
996 enable_api_ms_win_core_synch_l1_2_1
997 enable_api_ms_win_core_sysinfo_l1_1_0
998 enable_api_ms_win_core_sysinfo_l1_2_0
999 enable_api_ms_win_core_sysinfo_l1_2_1
1000 enable_api_ms_win_core_threadpool_l1_1_0
1001 enable_api_ms_win_core_threadpool_l1_2_0
1002 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1003 enable_api_ms_win_core_threadpool_private_l1_1_0
1004 enable_api_ms_win_core_timezone_l1_1_0
1005 enable_api_ms_win_core_toolhelp_l1_1_0
1006 enable_api_ms_win_core_url_l1_1_0
1007 enable_api_ms_win_core_util_l1_1_0
1008 enable_api_ms_win_core_version_l1_1_0
1009 enable_api_ms_win_core_version_l1_1_1
1010 enable_api_ms_win_core_version_private_l1_1_0
1011 enable_api_ms_win_core_versionansi_l1_1_0
1012 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1013 enable_api_ms_win_core_winrt_error_l1_1_0
1014 enable_api_ms_win_core_winrt_error_l1_1_1
1015 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1016 enable_api_ms_win_core_winrt_l1_1_0
1017 enable_api_ms_win_core_winrt_registration_l1_1_0
1018 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1019 enable_api_ms_win_core_winrt_string_l1_1_0
1020 enable_api_ms_win_core_wow64_l1_1_0
1021 enable_api_ms_win_core_wow64_l1_1_1
1022 enable_api_ms_win_core_xstate_l1_1_0
1023 enable_api_ms_win_core_xstate_l2_1_0
1024 enable_api_ms_win_crt_conio_l1_1_0
1025 enable_api_ms_win_crt_convert_l1_1_0
1026 enable_api_ms_win_crt_environment_l1_1_0
1027 enable_api_ms_win_crt_filesystem_l1_1_0
1028 enable_api_ms_win_crt_heap_l1_1_0
1029 enable_api_ms_win_crt_locale_l1_1_0
1030 enable_api_ms_win_crt_math_l1_1_0
1031 enable_api_ms_win_crt_multibyte_l1_1_0
1032 enable_api_ms_win_crt_private_l1_1_0
1033 enable_api_ms_win_crt_process_l1_1_0
1034 enable_api_ms_win_crt_runtime_l1_1_0
1035 enable_api_ms_win_crt_stdio_l1_1_0
1036 enable_api_ms_win_crt_string_l1_1_0
1037 enable_api_ms_win_crt_time_l1_1_0
1038 enable_api_ms_win_crt_utility_l1_1_0
1039 enable_api_ms_win_devices_config_l1_1_1
1040 enable_api_ms_win_devices_query_l1_1_1
1041 enable_api_ms_win_downlevel_advapi32_l1_1_0
1042 enable_api_ms_win_downlevel_advapi32_l2_1_0
1043 enable_api_ms_win_downlevel_normaliz_l1_1_0
1044 enable_api_ms_win_downlevel_ole32_l1_1_0
1045 enable_api_ms_win_downlevel_shell32_l1_1_0
1046 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1047 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1048 enable_api_ms_win_downlevel_user32_l1_1_0
1049 enable_api_ms_win_downlevel_version_l1_1_0
1050 enable_api_ms_win_dx_d3dkmt_l1_1_0
1051 enable_api_ms_win_eventing_classicprovider_l1_1_0
1052 enable_api_ms_win_eventing_consumer_l1_1_0
1053 enable_api_ms_win_eventing_controller_l1_1_0
1054 enable_api_ms_win_eventing_legacy_l1_1_0
1055 enable_api_ms_win_eventing_provider_l1_1_0
1056 enable_api_ms_win_eventlog_legacy_l1_1_0
1057 enable_api_ms_win_mm_joystick_l1_1_0
1058 enable_api_ms_win_mm_misc_l1_1_1
1059 enable_api_ms_win_mm_mme_l1_1_0
1060 enable_api_ms_win_mm_time_l1_1_0
1061 enable_api_ms_win_ntuser_dc_access_l1_1_0
1062 enable_api_ms_win_ntuser_rectangle_l1_1_0
1063 enable_api_ms_win_perf_legacy_l1_1_0
1064 enable_api_ms_win_power_base_l1_1_0
1065 enable_api_ms_win_power_setting_l1_1_0
1066 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1067 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1068 enable_api_ms_win_security_audit_l1_1_1
1069 enable_api_ms_win_security_base_l1_1_0
1070 enable_api_ms_win_security_base_l1_2_0
1071 enable_api_ms_win_security_base_private_l1_1_1
1072 enable_api_ms_win_security_credentials_l1_1_0
1073 enable_api_ms_win_security_grouppolicy_l1_1_0
1074 enable_api_ms_win_security_lsalookup_l1_1_0
1075 enable_api_ms_win_security_lsalookup_l1_1_1
1076 enable_api_ms_win_security_lsalookup_l2_1_0
1077 enable_api_ms_win_security_lsalookup_l2_1_1
1078 enable_api_ms_win_security_lsapolicy_l1_1_0
1079 enable_api_ms_win_security_provider_l1_1_0
1080 enable_api_ms_win_security_sddl_l1_1_0
1081 enable_api_ms_win_security_systemfunctions_l1_1_0
1082 enable_api_ms_win_service_core_l1_1_0
1083 enable_api_ms_win_service_core_l1_1_1
1084 enable_api_ms_win_service_management_l1_1_0
1085 enable_api_ms_win_service_management_l2_1_0
1086 enable_api_ms_win_service_private_l1_1_1
1087 enable_api_ms_win_service_winsvc_l1_1_0
1088 enable_api_ms_win_service_winsvc_l1_2_0
1089 enable_api_ms_win_shcore_scaling_l1_1_1
1090 enable_api_ms_win_shell_shellcom_l1_1_0
1091 enable_api_ms_win_shell_shellfolders_l1_1_0
1092 enable_apphelp
1093 enable_appwiz_cpl
1094 enable_atl
1095 enable_atl100
1096 enable_atl110
1097 enable_atl80
1098 enable_atl90
1099 enable_authz
1100 enable_avicap32
1101 enable_avifil32
1102 enable_avrt
1103 enable_bcrypt
1104 enable_bluetoothapis
1105 enable_browseui
1106 enable_bthprops_cpl
1107 enable_cabinet
1108 enable_capi2032
1109 enable_cards
1110 enable_cdosys
1111 enable_cfgmgr32
1112 enable_clusapi
1113 enable_combase
1114 enable_comcat
1115 enable_comctl32
1116 enable_comdlg32
1117 enable_compstui
1118 enable_comsvcs
1119 enable_concrt140
1120 enable_connect
1121 enable_credui
1122 enable_crtdll
1123 enable_crypt32
1124 enable_cryptdlg
1125 enable_cryptdll
1126 enable_cryptext
1127 enable_cryptnet
1128 enable_cryptui
1129 enable_ctapi32
1130 enable_ctl3d32
1131 enable_d2d1
1132 enable_d3d10
1133 enable_d3d10_1
1134 enable_d3d10core
1135 enable_d3d11
1136 enable_d3d12
1137 enable_d3d8
1138 enable_d3d9
1139 enable_d3dcompiler_33
1140 enable_d3dcompiler_34
1141 enable_d3dcompiler_35
1142 enable_d3dcompiler_36
1143 enable_d3dcompiler_37
1144 enable_d3dcompiler_38
1145 enable_d3dcompiler_39
1146 enable_d3dcompiler_40
1147 enable_d3dcompiler_41
1148 enable_d3dcompiler_42
1149 enable_d3dcompiler_43
1150 enable_d3dcompiler_46
1151 enable_d3dcompiler_47
1152 enable_d3dim
1153 enable_d3drm
1154 enable_d3dx10_33
1155 enable_d3dx10_34
1156 enable_d3dx10_35
1157 enable_d3dx10_36
1158 enable_d3dx10_37
1159 enable_d3dx10_38
1160 enable_d3dx10_39
1161 enable_d3dx10_40
1162 enable_d3dx10_41
1163 enable_d3dx10_42
1164 enable_d3dx10_43
1165 enable_d3dx11_42
1166 enable_d3dx11_43
1167 enable_d3dx9_24
1168 enable_d3dx9_25
1169 enable_d3dx9_26
1170 enable_d3dx9_27
1171 enable_d3dx9_28
1172 enable_d3dx9_29
1173 enable_d3dx9_30
1174 enable_d3dx9_31
1175 enable_d3dx9_32
1176 enable_d3dx9_33
1177 enable_d3dx9_34
1178 enable_d3dx9_35
1179 enable_d3dx9_36
1180 enable_d3dx9_37
1181 enable_d3dx9_38
1182 enable_d3dx9_39
1183 enable_d3dx9_40
1184 enable_d3dx9_41
1185 enable_d3dx9_42
1186 enable_d3dx9_43
1187 enable_d3dxof
1188 enable_davclnt
1189 enable_dbgeng
1190 enable_dbghelp
1191 enable_dciman32
1192 enable_ddraw
1193 enable_ddrawex
1194 enable_devenum
1195 enable_dhcpcsvc
1196 enable_dhtmled_ocx
1197 enable_difxapi
1198 enable_dinput
1199 enable_dinput8
1200 enable_dispex
1201 enable_dmband
1202 enable_dmcompos
1203 enable_dmime
1204 enable_dmloader
1205 enable_dmscript
1206 enable_dmstyle
1207 enable_dmsynth
1208 enable_dmusic
1209 enable_dmusic32
1210 enable_dnsapi
1211 enable_dplay
1212 enable_dplayx
1213 enable_dpnaddr
1214 enable_dpnet
1215 enable_dpnhpast
1216 enable_dpnlobby
1217 enable_dpvoice
1218 enable_dpwsockx
1219 enable_drmclien
1220 enable_dsound
1221 enable_dsquery
1222 enable_dssenh
1223 enable_dswave
1224 enable_dwmapi
1225 enable_dwrite
1226 enable_dx8vb
1227 enable_dxdiagn
1228 enable_dxerr8
1229 enable_dxerr9
1230 enable_dxgi
1231 enable_dxguid
1232 enable_dxva2
1233 enable_esent
1234 enable_evr
1235 enable_explorerframe
1236 enable_ext_ms_win_authz_context_l1_1_0
1237 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1238 enable_ext_ms_win_gdi_dc_create_l1_1_1
1239 enable_ext_ms_win_gdi_dc_l1_2_0
1240 enable_ext_ms_win_gdi_devcaps_l1_1_0
1241 enable_ext_ms_win_gdi_draw_l1_1_1
1242 enable_ext_ms_win_gdi_render_l1_1_0
1243 enable_ext_ms_win_kernel32_package_current_l1_1_0
1244 enable_ext_ms_win_kernel32_package_l1_1_1
1245 enable_ext_ms_win_ntuser_message_l1_1_1
1246 enable_ext_ms_win_ntuser_private_l1_1_1
1247 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1248 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1249 enable_ext_ms_win_ntuser_window_l1_1_1
1250 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1251 enable_ext_ms_win_ras_rasapi32_l1_1_0
1252 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1253 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1254 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1255 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1256 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1257 enable_ext_ms_win_security_credui_l1_1_0
1258 enable_ext_ms_win_security_cryptui_l1_1_0
1259 enable_faultrep
1260 enable_fltlib
1261 enable_fltmgr_sys
1262 enable_fntcache
1263 enable_fontsub
1264 enable_fusion
1265 enable_fwpuclnt
1266 enable_gameux
1267 enable_gdi32
1268 enable_gdiplus
1269 enable_glu32
1270 enable_gphoto2_ds
1271 enable_gpkcsp
1272 enable_hal
1273 enable_hhctrl_ocx
1274 enable_hid
1275 enable_hidclass_sys
1276 enable_hlink
1277 enable_hnetcfg
1278 enable_httpapi
1279 enable_iccvid
1280 enable_icmp
1281 enable_ieframe
1282 enable_ieproxy
1283 enable_imaadp32_acm
1284 enable_imagehlp
1285 enable_imm32
1286 enable_inetcomm
1287 enable_inetcpl_cpl
1288 enable_inetmib1
1289 enable_infosoft
1290 enable_initpki
1291 enable_inkobj
1292 enable_inseng
1293 enable_iphlpapi
1294 enable_iprop
1295 enable_irprops_cpl
1296 enable_itircl
1297 enable_itss
1298 enable_joy_cpl
1299 enable_jscript
1300 enable_jsproxy
1301 enable_kerberos
1302 enable_kernel32
1303 enable_kernelbase
1304 enable_ksuser
1305 enable_ktmw32
1306 enable_l3codeca_acm
1307 enable_loadperf
1308 enable_localspl
1309 enable_localui
1310 enable_lz32
1311 enable_mapi32
1312 enable_mapistub
1313 enable_mciavi32
1314 enable_mcicda
1315 enable_mciqtz32
1316 enable_mciseq
1317 enable_mciwave
1318 enable_mf
1319 enable_mf3216
1320 enable_mfplat
1321 enable_mfreadwrite
1322 enable_mfuuid
1323 enable_mgmtapi
1324 enable_midimap
1325 enable_mlang
1326 enable_mmcndmgr
1327 enable_mmdevapi
1328 enable_mountmgr_sys
1329 enable_mpr
1330 enable_mprapi
1331 enable_msacm32_drv
1332 enable_msacm32
1333 enable_msadp32_acm
1334 enable_msasn1
1335 enable_mscat32
1336 enable_mscms
1337 enable_mscoree
1338 enable_msctf
1339 enable_msctfp
1340 enable_msdaps
1341 enable_msdelta
1342 enable_msdmo
1343 enable_msdrm
1344 enable_msftedit
1345 enable_msg711_acm
1346 enable_msgsm32_acm
1347 enable_mshtml_tlb
1348 enable_mshtml
1349 enable_msi
1350 enable_msident
1351 enable_msimg32
1352 enable_msimsg
1353 enable_msimtf
1354 enable_msisip
1355 enable_msisys_ocx
1356 enable_msls31
1357 enable_msnet32
1358 enable_mspatcha
1359 enable_msports
1360 enable_msrle32
1361 enable_msscript_ocx
1362 enable_mssign32
1363 enable_mssip32
1364 enable_mstask
1365 enable_msvcirt
1366 enable_msvcm80
1367 enable_msvcm90
1368 enable_msvcp100
1369 enable_msvcp110
1370 enable_msvcp120
1371 enable_msvcp120_app
1372 enable_msvcp140
1373 enable_msvcp60
1374 enable_msvcp70
1375 enable_msvcp71
1376 enable_msvcp80
1377 enable_msvcp90
1378 enable_msvcr100
1379 enable_msvcr110
1380 enable_msvcr120
1381 enable_msvcr120_app
1382 enable_msvcr70
1383 enable_msvcr71
1384 enable_msvcr80
1385 enable_msvcr90
1386 enable_msvcrt
1387 enable_msvcrt20
1388 enable_msvcrt40
1389 enable_msvcrtd
1390 enable_msvfw32
1391 enable_msvidc32
1392 enable_mswsock
1393 enable_msxml
1394 enable_msxml2
1395 enable_msxml3
1396 enable_msxml4
1397 enable_msxml6
1398 enable_mtxdm
1399 enable_ncrypt
1400 enable_nddeapi
1401 enable_ndis_sys
1402 enable_netapi32
1403 enable_netcfgx
1404 enable_netprofm
1405 enable_newdev
1406 enable_normaliz
1407 enable_npmshtml
1408 enable_npptools
1409 enable_ntdll
1410 enable_ntdsapi
1411 enable_ntoskrnl_exe
1412 enable_ntprint
1413 enable_objsel
1414 enable_odbc32
1415 enable_odbccp32
1416 enable_odbccu32
1417 enable_ole32
1418 enable_oleacc
1419 enable_oleaut32
1420 enable_olecli32
1421 enable_oledb32
1422 enable_oledlg
1423 enable_olepro32
1424 enable_olesvr32
1425 enable_olethk32
1426 enable_openal32
1427 enable_opencl
1428 enable_opengl32
1429 enable_packager
1430 enable_pdh
1431 enable_photometadatahandler
1432 enable_pidgen
1433 enable_powrprof
1434 enable_printui
1435 enable_prntvpt
1436 enable_propsys
1437 enable_psapi
1438 enable_pstorec
1439 enable_qcap
1440 enable_qedit
1441 enable_qmgr
1442 enable_qmgrprxy
1443 enable_quartz
1444 enable_query
1445 enable_rasapi32
1446 enable_rasdlg
1447 enable_regapi
1448 enable_resutils
1449 enable_riched20
1450 enable_riched32
1451 enable_rpcrt4
1452 enable_rsabase
1453 enable_rsaenh
1454 enable_rstrtmgr
1455 enable_rtutils
1456 enable_samlib
1457 enable_sane_ds
1458 enable_sapi
1459 enable_scarddlg
1460 enable_sccbase
1461 enable_schannel
1462 enable_schedsvc
1463 enable_scrobj
1464 enable_scrrun
1465 enable_scsiport_sys
1466 enable_secur32
1467 enable_security
1468 enable_sensapi
1469 enable_serialui
1470 enable_setupapi
1471 enable_sfc
1472 enable_sfc_os
1473 enable_shcore
1474 enable_shdoclc
1475 enable_shdocvw
1476 enable_shell32
1477 enable_shfolder
1478 enable_shlwapi
1479 enable_slbcsp
1480 enable_slc
1481 enable_snmpapi
1482 enable_softpub
1483 enable_spoolss
1484 enable_sspicli
1485 enable_stdole2_tlb
1486 enable_stdole32_tlb
1487 enable_sti
1488 enable_strmbase
1489 enable_strmiids
1490 enable_svrapi
1491 enable_sxs
1492 enable_t2embed
1493 enable_tapi32
1494 enable_taskschd
1495 enable_tdh
1496 enable_tdi_sys
1497 enable_traffic
1498 enable_twain_32
1499 enable_ucrtbase
1500 enable_uiautomationcore
1501 enable_uiribbon
1502 enable_unicows
1503 enable_updspapi
1504 enable_url
1505 enable_urlmon
1506 enable_usbd_sys
1507 enable_user32
1508 enable_userenv
1509 enable_usp10
1510 enable_uuid
1511 enable_uxtheme
1512 enable_vbscript
1513 enable_vcomp
1514 enable_vcomp100
1515 enable_vcomp110
1516 enable_vcomp120
1517 enable_vcomp140
1518 enable_vcomp90
1519 enable_vcruntime140
1520 enable_vdmdbg
1521 enable_version
1522 enable_virtdisk
1523 enable_vssapi
1524 enable_wbemdisp
1525 enable_wbemprox
1526 enable_wdscore
1527 enable_webservices
1528 enable_wer
1529 enable_wevtapi
1530 enable_wiaservc
1531 enable_wimgapi
1532 enable_windowscodecs
1533 enable_windowscodecsext
1534 enable_winealsa_drv
1535 enable_wineandroid_drv
1536 enable_winebus_sys
1537 enable_winecoreaudio_drv
1538 enable_winecrt0
1539 enable_wined3d
1540 enable_winegstreamer
1541 enable_winehid_sys
1542 enable_winejoystick_drv
1543 enable_winemac_drv
1544 enable_winemapi
1545 enable_wineoss_drv
1546 enable_wineps_drv
1547 enable_winepulse_drv
1548 enable_wineqtdecoder
1549 enable_winevulkan
1550 enable_winex11_drv
1551 enable_wing32
1552 enable_winhttp
1553 enable_wininet
1554 enable_winmm
1555 enable_winnls32
1556 enable_winscard
1557 enable_winspool_drv
1558 enable_winsta
1559 enable_wintab32
1560 enable_wintrust
1561 enable_winusb
1562 enable_wlanapi
1563 enable_wldap32
1564 enable_wmasf
1565 enable_wmi
1566 enable_wmiutils
1567 enable_wmp
1568 enable_wmphoto
1569 enable_wmvcore
1570 enable_wnaspi32
1571 enable_wpc
1572 enable_wpcap
1573 enable_ws2_32
1574 enable_wsdapi
1575 enable_wshom_ocx
1576 enable_wsnmp32
1577 enable_wsock32
1578 enable_wtsapi32
1579 enable_wuapi
1580 enable_wuaueng
1581 enable_x3daudio1_0
1582 enable_x3daudio1_1
1583 enable_x3daudio1_2
1584 enable_x3daudio1_3
1585 enable_x3daudio1_4
1586 enable_x3daudio1_5
1587 enable_x3daudio1_6
1588 enable_x3daudio1_7
1589 enable_xapofx1_1
1590 enable_xapofx1_2
1591 enable_xapofx1_3
1592 enable_xapofx1_4
1593 enable_xapofx1_5
1594 enable_xaudio2_0
1595 enable_xaudio2_1
1596 enable_xaudio2_2
1597 enable_xaudio2_3
1598 enable_xaudio2_4
1599 enable_xaudio2_5
1600 enable_xaudio2_6
1601 enable_xaudio2_7
1602 enable_xaudio2_8
1603 enable_xaudio2_9
1604 enable_xinput1_1
1605 enable_xinput1_2
1606 enable_xinput1_3
1607 enable_xinput1_4
1608 enable_xinput9_1_0
1609 enable_xmllite
1610 enable_xolehlp
1611 enable_xpsprint
1612 enable_xpssvcs
1613 enable_fonts
1614 enable_include
1615 enable_port
1616 enable_wine
1617 enable_wpp
1618 enable_loader
1619 enable_po
1620 enable_arp
1621 enable_aspnet_regiis
1622 enable_attrib
1623 enable_cabarc
1624 enable_cacls
1625 enable_clock
1626 enable_cmd
1627 enable_conhost
1628 enable_control
1629 enable_cscript
1630 enable_dpnsvr
1631 enable_dxdiag
1632 enable_eject
1633 enable_expand
1634 enable_explorer
1635 enable_extrac32
1636 enable_findstr
1637 enable_fsutil
1638 enable_hh
1639 enable_hostname
1640 enable_icacls
1641 enable_icinfo
1642 enable_iexplore
1643 enable_ipconfig
1644 enable_lodctr
1645 enable_mofcomp
1646 enable_mshta
1647 enable_msiexec
1648 enable_msinfo32
1649 enable_net
1650 enable_netsh
1651 enable_netstat
1652 enable_ngen
1653 enable_notepad
1654 enable_oleview
1655 enable_ping
1656 enable_plugplay
1657 enable_powershell
1658 enable_presentationfontcache
1659 enable_progman
1660 enable_reg
1661 enable_regasm
1662 enable_regedit
1663 enable_regsvcs
1664 enable_regsvr32
1665 enable_rpcss
1666 enable_rundll32
1667 enable_sc
1668 enable_schtasks
1669 enable_sdbinst
1670 enable_secedit
1671 enable_servicemodelreg
1672 enable_services
1673 enable_shutdown
1674 enable_spoolsv
1675 enable_start
1676 enable_subst
1677 enable_svchost
1678 enable_systeminfo
1679 enable_taskkill
1680 enable_tasklist
1681 enable_taskmgr
1682 enable_termsv
1683 enable_uninstaller
1684 enable_unlodctr
1685 enable_view
1686 enable_wevtutil
1687 enable_wineboot
1688 enable_winebrowser
1689 enable_winecfg
1690 enable_wineconsole
1691 enable_winedbg
1692 enable_winedevice
1693 enable_winefile
1694 enable_winemenubuilder
1695 enable_winemine
1696 enable_winemsibuilder
1697 enable_winepath
1698 enable_winetest
1699 enable_winhlp32
1700 enable_winver
1701 enable_wmic
1702 enable_wmplayer
1703 enable_wordpad
1704 enable_write
1705 enable_wscript
1706 enable_wusa
1707 enable_xcopy
1708 enable_server
1709 enable_tools
1710 enable_sfnt2fon
1711 enable_widl
1712 enable_winebuild
1713 enable_winedump
1714 enable_winegcc
1715 enable_winemaker
1716 enable_wmc
1717 enable_wrc
1719 ac_precious_vars='build_alias
1720 host_alias
1721 target_alias
1723 CFLAGS
1724 LDFLAGS
1725 LIBS
1726 CPPFLAGS
1728 CXXFLAGS
1731 XMKMF
1732 XML2_CFLAGS
1733 XML2_LIBS
1734 XSLT_CFLAGS
1735 XSLT_LIBS
1736 DBUS_CFLAGS
1737 DBUS_LIBS
1738 HAL_CFLAGS
1739 HAL_LIBS
1740 GNUTLS_CFLAGS
1741 GNUTLS_LIBS
1742 SANE_CFLAGS
1743 SANE_LIBS
1744 GPHOTO2_CFLAGS
1745 GPHOTO2_LIBS
1746 GPHOTO2_PORT_CFLAGS
1747 GPHOTO2_PORT_LIBS
1748 LCMS2_CFLAGS
1749 LCMS2_LIBS
1750 FREETYPE_CFLAGS
1751 FREETYPE_LIBS
1752 PULSE_CFLAGS
1753 PULSE_LIBS
1754 GSTREAMER_CFLAGS
1755 GSTREAMER_LIBS
1756 UDEV_CFLAGS
1757 UDEV_LIBS
1758 SDL2_CFLAGS
1759 SDL2_LIBS
1760 CAPI20_CFLAGS
1761 CAPI20_LIBS
1762 CUPS_CFLAGS
1763 CUPS_LIBS
1764 FONTCONFIG_CFLAGS
1765 FONTCONFIG_LIBS
1766 KRB5_CFLAGS
1767 KRB5_LIBS
1768 GSSAPI_CFLAGS
1769 GSSAPI_LIBS
1770 JPEG_CFLAGS
1771 JPEG_LIBS
1772 PNG_CFLAGS
1773 PNG_LIBS
1774 TIFF_CFLAGS
1775 TIFF_LIBS
1776 MPG123_CFLAGS
1777 MPG123_LIBS
1778 NETAPI_CFLAGS
1779 NETAPI_LIBS
1780 LDAP_CFLAGS
1781 LDAP_LIBS'
1784 # Initialize some variables set by options.
1785 ac_init_help=
1786 ac_init_version=false
1787 ac_unrecognized_opts=
1788 ac_unrecognized_sep=
1789 # The variables have the same names as the options, with
1790 # dashes changed to underlines.
1791 cache_file=/dev/null
1792 exec_prefix=NONE
1793 no_create=
1794 no_recursion=
1795 prefix=NONE
1796 program_prefix=NONE
1797 program_suffix=NONE
1798 program_transform_name=s,x,x,
1799 silent=
1800 site=
1801 srcdir=
1802 verbose=
1803 x_includes=NONE
1804 x_libraries=NONE
1806 # Installation directory options.
1807 # These are left unexpanded so users can "make install exec_prefix=/foo"
1808 # and all the variables that are supposed to be based on exec_prefix
1809 # by default will actually change.
1810 # Use braces instead of parens because sh, perl, etc. also accept them.
1811 # (The list follows the same order as the GNU Coding Standards.)
1812 bindir='${exec_prefix}/bin'
1813 sbindir='${exec_prefix}/sbin'
1814 libexecdir='${exec_prefix}/libexec'
1815 datarootdir='${prefix}/share'
1816 datadir='${datarootdir}'
1817 sysconfdir='${prefix}/etc'
1818 sharedstatedir='${prefix}/com'
1819 localstatedir='${prefix}/var'
1820 runstatedir='${localstatedir}/run'
1821 includedir='${prefix}/include'
1822 oldincludedir='/usr/include'
1823 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1824 infodir='${datarootdir}/info'
1825 htmldir='${docdir}'
1826 dvidir='${docdir}'
1827 pdfdir='${docdir}'
1828 psdir='${docdir}'
1829 libdir='${exec_prefix}/lib'
1830 localedir='${datarootdir}/locale'
1831 mandir='${datarootdir}/man'
1833 ac_prev=
1834 ac_dashdash=
1835 for ac_option
1837 # If the previous option needs an argument, assign it.
1838 if test -n "$ac_prev"; then
1839 eval $ac_prev=\$ac_option
1840 ac_prev=
1841 continue
1844 case $ac_option in
1845 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1846 *=) ac_optarg= ;;
1847 *) ac_optarg=yes ;;
1848 esac
1850 # Accept the important Cygnus configure options, so we can diagnose typos.
1852 case $ac_dashdash$ac_option in
1854 ac_dashdash=yes ;;
1856 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1857 ac_prev=bindir ;;
1858 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1859 bindir=$ac_optarg ;;
1861 -build | --build | --buil | --bui | --bu)
1862 ac_prev=build_alias ;;
1863 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1864 build_alias=$ac_optarg ;;
1866 -cache-file | --cache-file | --cache-fil | --cache-fi \
1867 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1868 ac_prev=cache_file ;;
1869 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1870 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1871 cache_file=$ac_optarg ;;
1873 --config-cache | -C)
1874 cache_file=config.cache ;;
1876 -datadir | --datadir | --datadi | --datad)
1877 ac_prev=datadir ;;
1878 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1879 datadir=$ac_optarg ;;
1881 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1882 | --dataroo | --dataro | --datar)
1883 ac_prev=datarootdir ;;
1884 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1885 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1886 datarootdir=$ac_optarg ;;
1888 -disable-* | --disable-*)
1889 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1890 # Reject names that are not valid shell variable names.
1891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1892 as_fn_error $? "invalid feature name: $ac_useropt"
1893 ac_useropt_orig=$ac_useropt
1894 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1895 case $ac_user_opts in
1897 "enable_$ac_useropt"
1898 "*) ;;
1899 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1900 ac_unrecognized_sep=', ';;
1901 esac
1902 eval enable_$ac_useropt=no ;;
1904 -docdir | --docdir | --docdi | --doc | --do)
1905 ac_prev=docdir ;;
1906 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1907 docdir=$ac_optarg ;;
1909 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1910 ac_prev=dvidir ;;
1911 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1912 dvidir=$ac_optarg ;;
1914 -enable-* | --enable-*)
1915 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1916 # Reject names that are not valid shell variable names.
1917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1918 as_fn_error $? "invalid feature name: $ac_useropt"
1919 ac_useropt_orig=$ac_useropt
1920 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1921 case $ac_user_opts in
1923 "enable_$ac_useropt"
1924 "*) ;;
1925 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1926 ac_unrecognized_sep=', ';;
1927 esac
1928 eval enable_$ac_useropt=\$ac_optarg ;;
1930 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1931 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1932 | --exec | --exe | --ex)
1933 ac_prev=exec_prefix ;;
1934 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1935 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1936 | --exec=* | --exe=* | --ex=*)
1937 exec_prefix=$ac_optarg ;;
1939 -gas | --gas | --ga | --g)
1940 # Obsolete; use --with-gas.
1941 with_gas=yes ;;
1943 -help | --help | --hel | --he | -h)
1944 ac_init_help=long ;;
1945 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1946 ac_init_help=recursive ;;
1947 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1948 ac_init_help=short ;;
1950 -host | --host | --hos | --ho)
1951 ac_prev=host_alias ;;
1952 -host=* | --host=* | --hos=* | --ho=*)
1953 host_alias=$ac_optarg ;;
1955 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1956 ac_prev=htmldir ;;
1957 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1958 | --ht=*)
1959 htmldir=$ac_optarg ;;
1961 -includedir | --includedir | --includedi | --included | --include \
1962 | --includ | --inclu | --incl | --inc)
1963 ac_prev=includedir ;;
1964 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1965 | --includ=* | --inclu=* | --incl=* | --inc=*)
1966 includedir=$ac_optarg ;;
1968 -infodir | --infodir | --infodi | --infod | --info | --inf)
1969 ac_prev=infodir ;;
1970 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1971 infodir=$ac_optarg ;;
1973 -libdir | --libdir | --libdi | --libd)
1974 ac_prev=libdir ;;
1975 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1976 libdir=$ac_optarg ;;
1978 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1979 | --libexe | --libex | --libe)
1980 ac_prev=libexecdir ;;
1981 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1982 | --libexe=* | --libex=* | --libe=*)
1983 libexecdir=$ac_optarg ;;
1985 -localedir | --localedir | --localedi | --localed | --locale)
1986 ac_prev=localedir ;;
1987 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1988 localedir=$ac_optarg ;;
1990 -localstatedir | --localstatedir | --localstatedi | --localstated \
1991 | --localstate | --localstat | --localsta | --localst | --locals)
1992 ac_prev=localstatedir ;;
1993 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1994 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1995 localstatedir=$ac_optarg ;;
1997 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1998 ac_prev=mandir ;;
1999 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2000 mandir=$ac_optarg ;;
2002 -nfp | --nfp | --nf)
2003 # Obsolete; use --without-fp.
2004 with_fp=no ;;
2006 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2007 | --no-cr | --no-c | -n)
2008 no_create=yes ;;
2010 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2011 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2012 no_recursion=yes ;;
2014 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2015 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2016 | --oldin | --oldi | --old | --ol | --o)
2017 ac_prev=oldincludedir ;;
2018 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2019 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2020 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2021 oldincludedir=$ac_optarg ;;
2023 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2024 ac_prev=prefix ;;
2025 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2026 prefix=$ac_optarg ;;
2028 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2029 | --program-pre | --program-pr | --program-p)
2030 ac_prev=program_prefix ;;
2031 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2032 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2033 program_prefix=$ac_optarg ;;
2035 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2036 | --program-suf | --program-su | --program-s)
2037 ac_prev=program_suffix ;;
2038 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2039 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2040 program_suffix=$ac_optarg ;;
2042 -program-transform-name | --program-transform-name \
2043 | --program-transform-nam | --program-transform-na \
2044 | --program-transform-n | --program-transform- \
2045 | --program-transform | --program-transfor \
2046 | --program-transfo | --program-transf \
2047 | --program-trans | --program-tran \
2048 | --progr-tra | --program-tr | --program-t)
2049 ac_prev=program_transform_name ;;
2050 -program-transform-name=* | --program-transform-name=* \
2051 | --program-transform-nam=* | --program-transform-na=* \
2052 | --program-transform-n=* | --program-transform-=* \
2053 | --program-transform=* | --program-transfor=* \
2054 | --program-transfo=* | --program-transf=* \
2055 | --program-trans=* | --program-tran=* \
2056 | --progr-tra=* | --program-tr=* | --program-t=*)
2057 program_transform_name=$ac_optarg ;;
2059 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2060 ac_prev=pdfdir ;;
2061 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2062 pdfdir=$ac_optarg ;;
2064 -psdir | --psdir | --psdi | --psd | --ps)
2065 ac_prev=psdir ;;
2066 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2067 psdir=$ac_optarg ;;
2069 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2070 | -silent | --silent | --silen | --sile | --sil)
2071 silent=yes ;;
2073 -runstatedir | --runstatedir | --runstatedi | --runstated \
2074 | --runstate | --runstat | --runsta | --runst | --runs \
2075 | --run | --ru | --r)
2076 ac_prev=runstatedir ;;
2077 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2078 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2079 | --run=* | --ru=* | --r=*)
2080 runstatedir=$ac_optarg ;;
2082 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2083 ac_prev=sbindir ;;
2084 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2085 | --sbi=* | --sb=*)
2086 sbindir=$ac_optarg ;;
2088 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2089 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2090 | --sharedst | --shareds | --shared | --share | --shar \
2091 | --sha | --sh)
2092 ac_prev=sharedstatedir ;;
2093 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2094 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2095 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2096 | --sha=* | --sh=*)
2097 sharedstatedir=$ac_optarg ;;
2099 -site | --site | --sit)
2100 ac_prev=site ;;
2101 -site=* | --site=* | --sit=*)
2102 site=$ac_optarg ;;
2104 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2105 ac_prev=srcdir ;;
2106 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2107 srcdir=$ac_optarg ;;
2109 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2110 | --syscon | --sysco | --sysc | --sys | --sy)
2111 ac_prev=sysconfdir ;;
2112 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2113 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2114 sysconfdir=$ac_optarg ;;
2116 -target | --target | --targe | --targ | --tar | --ta | --t)
2117 ac_prev=target_alias ;;
2118 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2119 target_alias=$ac_optarg ;;
2121 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2122 verbose=yes ;;
2124 -version | --version | --versio | --versi | --vers | -V)
2125 ac_init_version=: ;;
2127 -with-* | --with-*)
2128 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2129 # Reject names that are not valid shell variable names.
2130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2131 as_fn_error $? "invalid package name: $ac_useropt"
2132 ac_useropt_orig=$ac_useropt
2133 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2134 case $ac_user_opts in
2136 "with_$ac_useropt"
2137 "*) ;;
2138 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2139 ac_unrecognized_sep=', ';;
2140 esac
2141 eval with_$ac_useropt=\$ac_optarg ;;
2143 -without-* | --without-*)
2144 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2145 # Reject names that are not valid shell variable names.
2146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2147 as_fn_error $? "invalid package name: $ac_useropt"
2148 ac_useropt_orig=$ac_useropt
2149 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2150 case $ac_user_opts in
2152 "with_$ac_useropt"
2153 "*) ;;
2154 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2155 ac_unrecognized_sep=', ';;
2156 esac
2157 eval with_$ac_useropt=no ;;
2159 --x)
2160 # Obsolete; use --with-x.
2161 with_x=yes ;;
2163 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2164 | --x-incl | --x-inc | --x-in | --x-i)
2165 ac_prev=x_includes ;;
2166 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2167 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2168 x_includes=$ac_optarg ;;
2170 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2171 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2172 ac_prev=x_libraries ;;
2173 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2174 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2175 x_libraries=$ac_optarg ;;
2177 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2178 Try \`$0 --help' for more information"
2181 *=*)
2182 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2183 # Reject names that are not valid shell variable names.
2184 case $ac_envvar in #(
2185 '' | [0-9]* | *[!_$as_cr_alnum]* )
2186 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2187 esac
2188 eval $ac_envvar=\$ac_optarg
2189 export $ac_envvar ;;
2192 # FIXME: should be removed in autoconf 3.0.
2193 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2194 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2195 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2196 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2199 esac
2200 done
2202 if test -n "$ac_prev"; then
2203 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2204 as_fn_error $? "missing argument to $ac_option"
2207 if test -n "$ac_unrecognized_opts"; then
2208 case $enable_option_checking in
2209 no) ;;
2210 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2211 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2212 esac
2215 # Check all directory arguments for consistency.
2216 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2217 datadir sysconfdir sharedstatedir localstatedir includedir \
2218 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2219 libdir localedir mandir runstatedir
2221 eval ac_val=\$$ac_var
2222 # Remove trailing slashes.
2223 case $ac_val in
2224 */ )
2225 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2226 eval $ac_var=\$ac_val;;
2227 esac
2228 # Be sure to have absolute directory names.
2229 case $ac_val in
2230 [\\/$]* | ?:[\\/]* ) continue;;
2231 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2232 esac
2233 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2234 done
2236 # There might be people who depend on the old broken behavior: `$host'
2237 # used to hold the argument of --host etc.
2238 # FIXME: To remove some day.
2239 build=$build_alias
2240 host=$host_alias
2241 target=$target_alias
2243 # FIXME: To remove some day.
2244 if test "x$host_alias" != x; then
2245 if test "x$build_alias" = x; then
2246 cross_compiling=maybe
2247 elif test "x$build_alias" != "x$host_alias"; then
2248 cross_compiling=yes
2252 ac_tool_prefix=
2253 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2255 test "$silent" = yes && exec 6>/dev/null
2258 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2259 ac_ls_di=`ls -di .` &&
2260 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2261 as_fn_error $? "working directory cannot be determined"
2262 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2263 as_fn_error $? "pwd does not report name of working directory"
2266 # Find the source files, if location was not specified.
2267 if test -z "$srcdir"; then
2268 ac_srcdir_defaulted=yes
2269 # Try the directory containing this script, then the parent directory.
2270 ac_confdir=`$as_dirname -- "$as_myself" ||
2271 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2272 X"$as_myself" : 'X\(//\)[^/]' \| \
2273 X"$as_myself" : 'X\(//\)$' \| \
2274 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2275 $as_echo X"$as_myself" |
2276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2277 s//\1/
2280 /^X\(\/\/\)[^/].*/{
2281 s//\1/
2284 /^X\(\/\/\)$/{
2285 s//\1/
2288 /^X\(\/\).*/{
2289 s//\1/
2292 s/.*/./; q'`
2293 srcdir=$ac_confdir
2294 if test ! -r "$srcdir/$ac_unique_file"; then
2295 srcdir=..
2297 else
2298 ac_srcdir_defaulted=no
2300 if test ! -r "$srcdir/$ac_unique_file"; then
2301 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2302 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2304 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2305 ac_abs_confdir=`(
2306 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2307 pwd)`
2308 # When building in place, set srcdir=.
2309 if test "$ac_abs_confdir" = "$ac_pwd"; then
2310 srcdir=.
2312 # Remove unnecessary trailing slashes from srcdir.
2313 # Double slashes in file names in object file debugging info
2314 # mess up M-x gdb in Emacs.
2315 case $srcdir in
2316 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2317 esac
2318 for ac_var in $ac_precious_vars; do
2319 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2320 eval ac_env_${ac_var}_value=\$${ac_var}
2321 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2322 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2323 done
2326 # Report the --help message.
2328 if test "$ac_init_help" = "long"; then
2329 # Omit some internal or obsolete options to make the list less imposing.
2330 # This message is too long to be a string in the A/UX 3.1 sh.
2331 cat <<_ACEOF
2332 \`configure' configures Wine 3.3 to adapt to many kinds of systems.
2334 Usage: $0 [OPTION]... [VAR=VALUE]...
2336 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2337 VAR=VALUE. See below for descriptions of some of the useful variables.
2339 Defaults for the options are specified in brackets.
2341 Configuration:
2342 -h, --help display this help and exit
2343 --help=short display options specific to this package
2344 --help=recursive display the short help of all the included packages
2345 -V, --version display version information and exit
2346 -q, --quiet, --silent do not print \`checking ...' messages
2347 --cache-file=FILE cache test results in FILE [disabled]
2348 -C, --config-cache alias for \`--cache-file=config.cache'
2349 -n, --no-create do not create output files
2350 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2352 Installation directories:
2353 --prefix=PREFIX install architecture-independent files in PREFIX
2354 [$ac_default_prefix]
2355 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2356 [PREFIX]
2358 By default, \`make install' will install all the files in
2359 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2360 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2361 for instance \`--prefix=\$HOME'.
2363 For better control, use the options below.
2365 Fine tuning of the installation directories:
2366 --bindir=DIR user executables [EPREFIX/bin]
2367 --sbindir=DIR system admin executables [EPREFIX/sbin]
2368 --libexecdir=DIR program executables [EPREFIX/libexec]
2369 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2370 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2371 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2372 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2373 --libdir=DIR object code libraries [EPREFIX/lib]
2374 --includedir=DIR C header files [PREFIX/include]
2375 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2376 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2377 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2378 --infodir=DIR info documentation [DATAROOTDIR/info]
2379 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2380 --mandir=DIR man documentation [DATAROOTDIR/man]
2381 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2382 --htmldir=DIR html documentation [DOCDIR]
2383 --dvidir=DIR dvi documentation [DOCDIR]
2384 --pdfdir=DIR pdf documentation [DOCDIR]
2385 --psdir=DIR ps documentation [DOCDIR]
2386 _ACEOF
2388 cat <<\_ACEOF
2390 X features:
2391 --x-includes=DIR X include files are in DIR
2392 --x-libraries=DIR X library files are in DIR
2394 System types:
2395 --build=BUILD configure for building on BUILD [guessed]
2396 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2397 _ACEOF
2400 if test -n "$ac_init_help"; then
2401 case $ac_init_help in
2402 short | recursive ) echo "Configuration of Wine 3.3:";;
2403 esac
2404 cat <<\_ACEOF
2406 Optional Features:
2407 --disable-option-checking ignore unrecognized --enable/--with options
2408 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2409 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2410 --disable-win16 do not include Win16 support
2411 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2412 binaries)
2413 --disable-tests do not build the regression tests
2414 --enable-maintainer-mode
2415 enable maintainer-specific build rules
2416 --disable-largefile omit support for large files
2418 Optional Packages:
2419 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2420 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2421 --without-alsa do not use the Alsa sound support
2422 --without-capi do not use CAPI (ISDN support)
2423 --without-cms do not use CMS (color management support)
2424 --without-coreaudio do not use the CoreAudio sound support
2425 --without-cups do not use CUPS
2426 --without-curses do not use (n)curses
2427 --without-dbus do not use DBus (dynamic device support)
2428 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2429 --without-fontconfig do not use fontconfig
2430 --without-freetype do not use the FreeType library
2431 --without-gettext do not use gettext
2432 --with-gettextpo use the GetTextPO library to rebuild po files
2433 --without-gphoto do not use gphoto (Digital Camera support)
2434 --without-glu do not use the GLU library
2435 --without-gnutls do not use GnuTLS (schannel support)
2436 --without-gsm do not use libgsm (GSM 06.10 codec support)
2437 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2438 --without-gstreamer do not use GStreamer (codecs support)
2439 --without-hal do not use HAL (dynamic device support)
2440 --without-jpeg do not use JPEG
2441 --without-krb5 do not use krb5 (Kerberos)
2442 --without-ldap do not use LDAP
2443 --without-mpg123 do not use the mpg123 library
2444 --without-netapi do not use the Samba NetAPI library
2445 --without-openal do not use OpenAL
2446 --without-opencl do not use OpenCL
2447 --without-opengl do not use OpenGL
2448 --without-osmesa do not use the OSMesa library
2449 --without-oss do not use the OSS sound support
2450 --without-pcap do not use the Packet Capture library
2451 --without-png do not use PNG
2452 --without-pthread do not use the pthread library
2453 --without-pulse do not use PulseAudio sound support
2454 --without-sane do not use SANE (scanner support)
2455 --without-sdl do not use SDL
2456 --without-tiff do not use TIFF
2457 --without-udev do not use udev (plug and play support)
2458 --without-v4l do not use v4l1 (v4l support)
2459 --without-vulkan do not use Vulkan
2460 --without-xcomposite do not use the Xcomposite extension
2461 --without-xcursor do not use the Xcursor extension
2462 --without-xfixes do not use Xfixes for clipboard change notifications
2463 --without-xinerama do not use Xinerama (multi-monitor support)
2464 --without-xinput do not use the Xinput extension
2465 --without-xinput2 do not use the Xinput 2 extension
2466 --without-xml do not use XML
2467 --without-xrandr do not use Xrandr (resolution changes)
2468 --without-xrender do not use the Xrender extension
2469 --without-xshape do not use the Xshape extension
2470 --without-xshm do not use XShm (shared memory extension)
2471 --without-xslt do not use XSLT
2472 --without-xxf86vm do not use XFree video mode extension
2473 --without-zlib do not use Zlib (data compression)
2474 --with-wine-tools=DIR use Wine tools from directory DIR
2475 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2476 --with-x use the X Window System
2478 Some influential environment variables:
2479 CC C compiler command
2480 CFLAGS C compiler flags
2481 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2482 nonstandard directory <lib dir>
2483 LIBS libraries to pass to the linker, e.g. -l<library>
2484 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2485 you have headers in a nonstandard directory <include dir>
2486 CXX C++ compiler command
2487 CXXFLAGS C++ compiler flags
2488 CPP C preprocessor
2489 XMKMF Path to xmkmf, Makefile generator for X Window System
2490 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2491 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2492 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2493 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2494 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2495 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2496 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2497 HAL_LIBS Linker flags for hal, overriding pkg-config
2498 GNUTLS_CFLAGS
2499 C compiler flags for gnutls, overriding pkg-config
2500 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2501 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2502 SANE_LIBS Linker flags for libsane, overriding pkg-config
2503 GPHOTO2_CFLAGS
2504 C compiler flags for libgphoto2, overriding pkg-config
2505 GPHOTO2_LIBS
2506 Linker flags for libgphoto2, overriding pkg-config
2507 GPHOTO2_PORT_CFLAGS
2508 C compiler flags for libgphoto2_port, overriding pkg-config
2509 GPHOTO2_PORT_LIBS
2510 Linker flags for libgphoto2_port, overriding pkg-config
2511 LCMS2_CFLAGS
2512 C compiler flags for lcms2, overriding pkg-config
2513 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2514 FREETYPE_CFLAGS
2515 C compiler flags for freetype2, overriding pkg-config
2516 FREETYPE_LIBS
2517 Linker flags for freetype2, overriding pkg-config
2518 PULSE_CFLAGS
2519 C compiler flags for libpulse, overriding pkg-config
2520 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2521 GSTREAMER_CFLAGS
2522 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2523 gstreamer-audio-1.0, overriding pkg-config
2524 GSTREAMER_LIBS
2525 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2526 gstreamer-audio-1.0, overriding pkg-config
2527 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2528 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2529 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2530 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2531 CAPI20_CFLAGS
2532 C compiler flags for capi20, overriding pkg-config
2533 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2534 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2535 CUPS_LIBS Linker flags for cups, overriding pkg-config
2536 FONTCONFIG_CFLAGS
2537 C compiler flags for fontconfig, overriding pkg-config
2538 FONTCONFIG_LIBS
2539 Linker flags for fontconfig, overriding pkg-config
2540 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2541 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2542 GSSAPI_CFLAGS
2543 C compiler flags for krb5-gssapi, overriding pkg-config
2544 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2545 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2546 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2547 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2548 PNG_LIBS Linker flags for libpng, overriding pkg-config
2549 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2550 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2551 MPG123_CFLAGS
2552 C compiler flags for libmpg123, overriding pkg-config
2553 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2554 NETAPI_CFLAGS
2555 C compiler flags for netapi, overriding pkg-config
2556 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2557 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2558 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2560 Use these variables to override the choices made by `configure' or to help
2561 it to find libraries and programs with nonstandard names/locations.
2563 Report bugs to <wine-devel@winehq.org>.
2564 Wine home page: <https://www.winehq.org>.
2565 _ACEOF
2566 ac_status=$?
2569 if test "$ac_init_help" = "recursive"; then
2570 # If there are subdirs, report their specific --help.
2571 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2572 test -d "$ac_dir" ||
2573 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2574 continue
2575 ac_builddir=.
2577 case "$ac_dir" in
2578 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2580 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2581 # A ".." for each directory in $ac_dir_suffix.
2582 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2583 case $ac_top_builddir_sub in
2584 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2585 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2586 esac ;;
2587 esac
2588 ac_abs_top_builddir=$ac_pwd
2589 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2590 # for backward compatibility:
2591 ac_top_builddir=$ac_top_build_prefix
2593 case $srcdir in
2594 .) # We are building in place.
2595 ac_srcdir=.
2596 ac_top_srcdir=$ac_top_builddir_sub
2597 ac_abs_top_srcdir=$ac_pwd ;;
2598 [\\/]* | ?:[\\/]* ) # Absolute name.
2599 ac_srcdir=$srcdir$ac_dir_suffix;
2600 ac_top_srcdir=$srcdir
2601 ac_abs_top_srcdir=$srcdir ;;
2602 *) # Relative name.
2603 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2604 ac_top_srcdir=$ac_top_build_prefix$srcdir
2605 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2606 esac
2607 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2609 cd "$ac_dir" || { ac_status=$?; continue; }
2610 # Check for guested configure.
2611 if test -f "$ac_srcdir/configure.gnu"; then
2612 echo &&
2613 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2614 elif test -f "$ac_srcdir/configure"; then
2615 echo &&
2616 $SHELL "$ac_srcdir/configure" --help=recursive
2617 else
2618 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2619 fi || ac_status=$?
2620 cd "$ac_pwd" || { ac_status=$?; break; }
2621 done
2624 test -n "$ac_init_help" && exit $ac_status
2625 if $ac_init_version; then
2626 cat <<\_ACEOF
2627 Wine configure 3.3
2628 generated by GNU Autoconf 2.69
2630 Copyright (C) 2012 Free Software Foundation, Inc.
2631 This configure script is free software; the Free Software Foundation
2632 gives unlimited permission to copy, distribute and modify it.
2633 _ACEOF
2634 exit
2637 ## ------------------------ ##
2638 ## Autoconf initialization. ##
2639 ## ------------------------ ##
2641 # ac_fn_c_try_compile LINENO
2642 # --------------------------
2643 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2644 ac_fn_c_try_compile ()
2646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2647 rm -f conftest.$ac_objext
2648 if { { ac_try="$ac_compile"
2649 case "(($ac_try" in
2650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2651 *) ac_try_echo=$ac_try;;
2652 esac
2653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2654 $as_echo "$ac_try_echo"; } >&5
2655 (eval "$ac_compile") 2>conftest.err
2656 ac_status=$?
2657 if test -s conftest.err; then
2658 grep -v '^ *+' conftest.err >conftest.er1
2659 cat conftest.er1 >&5
2660 mv -f conftest.er1 conftest.err
2662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2663 test $ac_status = 0; } && {
2664 test -z "$ac_c_werror_flag" ||
2665 test ! -s conftest.err
2666 } && test -s conftest.$ac_objext; then :
2667 ac_retval=0
2668 else
2669 $as_echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2672 ac_retval=1
2674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2675 as_fn_set_status $ac_retval
2677 } # ac_fn_c_try_compile
2679 # ac_fn_cxx_try_compile LINENO
2680 # ----------------------------
2681 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2682 ac_fn_cxx_try_compile ()
2684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2685 rm -f conftest.$ac_objext
2686 if { { ac_try="$ac_compile"
2687 case "(($ac_try" in
2688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2689 *) ac_try_echo=$ac_try;;
2690 esac
2691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2692 $as_echo "$ac_try_echo"; } >&5
2693 (eval "$ac_compile") 2>conftest.err
2694 ac_status=$?
2695 if test -s conftest.err; then
2696 grep -v '^ *+' conftest.err >conftest.er1
2697 cat conftest.er1 >&5
2698 mv -f conftest.er1 conftest.err
2700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2701 test $ac_status = 0; } && {
2702 test -z "$ac_cxx_werror_flag" ||
2703 test ! -s conftest.err
2704 } && test -s conftest.$ac_objext; then :
2705 ac_retval=0
2706 else
2707 $as_echo "$as_me: failed program was:" >&5
2708 sed 's/^/| /' conftest.$ac_ext >&5
2710 ac_retval=1
2712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713 as_fn_set_status $ac_retval
2715 } # ac_fn_cxx_try_compile
2717 # ac_fn_c_try_link LINENO
2718 # -----------------------
2719 # Try to link conftest.$ac_ext, and return whether this succeeded.
2720 ac_fn_c_try_link ()
2722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2723 rm -f conftest.$ac_objext conftest$ac_exeext
2724 if { { ac_try="$ac_link"
2725 case "(($ac_try" in
2726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;;
2728 esac
2729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2730 $as_echo "$ac_try_echo"; } >&5
2731 (eval "$ac_link") 2>conftest.err
2732 ac_status=$?
2733 if test -s conftest.err; then
2734 grep -v '^ *+' conftest.err >conftest.er1
2735 cat conftest.er1 >&5
2736 mv -f conftest.er1 conftest.err
2738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2739 test $ac_status = 0; } && {
2740 test -z "$ac_c_werror_flag" ||
2741 test ! -s conftest.err
2742 } && test -s conftest$ac_exeext && {
2743 test "$cross_compiling" = yes ||
2744 test -x conftest$ac_exeext
2745 }; then :
2746 ac_retval=0
2747 else
2748 $as_echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2751 ac_retval=1
2753 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2754 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2755 # interfere with the next link command; also delete a directory that is
2756 # left behind by Apple's compiler. We do this before executing the actions.
2757 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2759 as_fn_set_status $ac_retval
2761 } # ac_fn_c_try_link
2763 # ac_fn_c_try_cpp LINENO
2764 # ----------------------
2765 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2766 ac_fn_c_try_cpp ()
2768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2769 if { { ac_try="$ac_cpp conftest.$ac_ext"
2770 case "(($ac_try" in
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2773 esac
2774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2775 $as_echo "$ac_try_echo"; } >&5
2776 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2777 ac_status=$?
2778 if test -s conftest.err; then
2779 grep -v '^ *+' conftest.err >conftest.er1
2780 cat conftest.er1 >&5
2781 mv -f conftest.er1 conftest.err
2783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2784 test $ac_status = 0; } > conftest.i && {
2785 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2786 test ! -s conftest.err
2787 }; then :
2788 ac_retval=0
2789 else
2790 $as_echo "$as_me: failed program was:" >&5
2791 sed 's/^/| /' conftest.$ac_ext >&5
2793 ac_retval=1
2795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2796 as_fn_set_status $ac_retval
2798 } # ac_fn_c_try_cpp
2800 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2801 # -------------------------------------------------------
2802 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2803 # the include files in INCLUDES and setting the cache variable VAR
2804 # accordingly.
2805 ac_fn_c_check_header_mongrel ()
2807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2808 if eval \${$3+:} false; then :
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2810 $as_echo_n "checking for $2... " >&6; }
2811 if eval \${$3+:} false; then :
2812 $as_echo_n "(cached) " >&6
2814 eval ac_res=\$$3
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2816 $as_echo "$ac_res" >&6; }
2817 else
2818 # Is the header compilable?
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2820 $as_echo_n "checking $2 usability... " >&6; }
2821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2822 /* end confdefs.h. */
2824 #include <$2>
2825 _ACEOF
2826 if ac_fn_c_try_compile "$LINENO"; then :
2827 ac_header_compiler=yes
2828 else
2829 ac_header_compiler=no
2831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2833 $as_echo "$ac_header_compiler" >&6; }
2835 # Is the header present?
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2837 $as_echo_n "checking $2 presence... " >&6; }
2838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2839 /* end confdefs.h. */
2840 #include <$2>
2841 _ACEOF
2842 if ac_fn_c_try_cpp "$LINENO"; then :
2843 ac_header_preproc=yes
2844 else
2845 ac_header_preproc=no
2847 rm -f conftest.err conftest.i conftest.$ac_ext
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2849 $as_echo "$ac_header_preproc" >&6; }
2851 # So? What about this header?
2852 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2853 yes:no: )
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2855 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2857 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2859 no:yes:* )
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2861 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2863 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2865 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2867 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2869 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2870 ( $as_echo "## ------------------------------------ ##
2871 ## Report this to wine-devel@winehq.org ##
2872 ## ------------------------------------ ##"
2873 ) | sed "s/^/$as_me: WARNING: /" >&2
2875 esac
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2877 $as_echo_n "checking for $2... " >&6; }
2878 if eval \${$3+:} false; then :
2879 $as_echo_n "(cached) " >&6
2880 else
2881 eval "$3=\$ac_header_compiler"
2883 eval ac_res=\$$3
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2885 $as_echo "$ac_res" >&6; }
2887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2889 } # ac_fn_c_check_header_mongrel
2891 # ac_fn_c_try_run LINENO
2892 # ----------------------
2893 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2894 # that executables *can* be run.
2895 ac_fn_c_try_run ()
2897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2898 if { { ac_try="$ac_link"
2899 case "(($ac_try" in
2900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2901 *) ac_try_echo=$ac_try;;
2902 esac
2903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2904 $as_echo "$ac_try_echo"; } >&5
2905 (eval "$ac_link") 2>&5
2906 ac_status=$?
2907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2908 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2909 { { case "(($ac_try" in
2910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 *) ac_try_echo=$ac_try;;
2912 esac
2913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2914 $as_echo "$ac_try_echo"; } >&5
2915 (eval "$ac_try") 2>&5
2916 ac_status=$?
2917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2918 test $ac_status = 0; }; }; then :
2919 ac_retval=0
2920 else
2921 $as_echo "$as_me: program exited with status $ac_status" >&5
2922 $as_echo "$as_me: failed program was:" >&5
2923 sed 's/^/| /' conftest.$ac_ext >&5
2925 ac_retval=$ac_status
2927 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2929 as_fn_set_status $ac_retval
2931 } # ac_fn_c_try_run
2933 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2934 # -------------------------------------------------------
2935 # Tests whether HEADER exists and can be compiled using the include files in
2936 # INCLUDES, setting the cache variable VAR accordingly.
2937 ac_fn_c_check_header_compile ()
2939 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2941 $as_echo_n "checking for $2... " >&6; }
2942 if eval \${$3+:} false; then :
2943 $as_echo_n "(cached) " >&6
2944 else
2945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2946 /* end confdefs.h. */
2948 #include <$2>
2949 _ACEOF
2950 if ac_fn_c_try_compile "$LINENO"; then :
2951 eval "$3=yes"
2952 else
2953 eval "$3=no"
2955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2957 eval ac_res=\$$3
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2959 $as_echo "$ac_res" >&6; }
2960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2962 } # ac_fn_c_check_header_compile
2964 # ac_fn_c_check_func LINENO FUNC VAR
2965 # ----------------------------------
2966 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2967 ac_fn_c_check_func ()
2969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2971 $as_echo_n "checking for $2... " >&6; }
2972 if eval \${$3+:} false; then :
2973 $as_echo_n "(cached) " >&6
2974 else
2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2976 /* end confdefs.h. */
2977 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2979 #define $2 innocuous_$2
2981 /* System header to define __stub macros and hopefully few prototypes,
2982 which can conflict with char $2 (); below.
2983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2984 <limits.h> exists even on freestanding compilers. */
2986 #ifdef __STDC__
2987 # include <limits.h>
2988 #else
2989 # include <assert.h>
2990 #endif
2992 #undef $2
2994 /* Override any GCC internal prototype to avoid an error.
2995 Use char because int might match the return type of a GCC
2996 builtin and then its argument prototype would still apply. */
2997 #ifdef __cplusplus
2998 extern "C"
2999 #endif
3000 char $2 ();
3001 /* The GNU C library defines this for functions which it implements
3002 to always fail with ENOSYS. Some functions are actually named
3003 something starting with __ and the normal name is an alias. */
3004 #if defined __stub_$2 || defined __stub___$2
3005 choke me
3006 #endif
3009 main ()
3011 return $2 ();
3013 return 0;
3015 _ACEOF
3016 if ac_fn_c_try_link "$LINENO"; then :
3017 eval "$3=yes"
3018 else
3019 eval "$3=no"
3021 rm -f core conftest.err conftest.$ac_objext \
3022 conftest$ac_exeext conftest.$ac_ext
3024 eval ac_res=\$$3
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3026 $as_echo "$ac_res" >&6; }
3027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3029 } # ac_fn_c_check_func
3031 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3032 # ----------------------------------------------------
3033 # Tries to find if the field MEMBER exists in type AGGR, after including
3034 # INCLUDES, setting cache variable VAR accordingly.
3035 ac_fn_c_check_member ()
3037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3039 $as_echo_n "checking for $2.$3... " >&6; }
3040 if eval \${$4+:} false; then :
3041 $as_echo_n "(cached) " >&6
3042 else
3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h. */
3047 main ()
3049 static $2 ac_aggr;
3050 if (ac_aggr.$3)
3051 return 0;
3053 return 0;
3055 _ACEOF
3056 if ac_fn_c_try_compile "$LINENO"; then :
3057 eval "$4=yes"
3058 else
3059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3060 /* end confdefs.h. */
3063 main ()
3065 static $2 ac_aggr;
3066 if (sizeof ac_aggr.$3)
3067 return 0;
3069 return 0;
3071 _ACEOF
3072 if ac_fn_c_try_compile "$LINENO"; then :
3073 eval "$4=yes"
3074 else
3075 eval "$4=no"
3077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3081 eval ac_res=\$$4
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3083 $as_echo "$ac_res" >&6; }
3084 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3086 } # ac_fn_c_check_member
3088 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3089 # -------------------------------------------
3090 # Tests whether TYPE exists after having included INCLUDES, setting cache
3091 # variable VAR accordingly.
3092 ac_fn_c_check_type ()
3094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3096 $as_echo_n "checking for $2... " >&6; }
3097 if eval \${$3+:} false; then :
3098 $as_echo_n "(cached) " >&6
3099 else
3100 eval "$3=no"
3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3105 main ()
3107 if (sizeof ($2))
3108 return 0;
3110 return 0;
3112 _ACEOF
3113 if ac_fn_c_try_compile "$LINENO"; then :
3114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3115 /* end confdefs.h. */
3118 main ()
3120 if (sizeof (($2)))
3121 return 0;
3123 return 0;
3125 _ACEOF
3126 if ac_fn_c_try_compile "$LINENO"; then :
3128 else
3129 eval "$3=yes"
3131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3135 eval ac_res=\$$3
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3137 $as_echo "$ac_res" >&6; }
3138 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3140 } # ac_fn_c_check_type
3141 cat >config.log <<_ACEOF
3142 This file contains any messages produced by compilers while
3143 running configure, to aid debugging if configure makes a mistake.
3145 It was created by Wine $as_me 3.3, which was
3146 generated by GNU Autoconf 2.69. Invocation command line was
3148 $ $0 $@
3150 _ACEOF
3151 exec 5>>config.log
3153 cat <<_ASUNAME
3154 ## --------- ##
3155 ## Platform. ##
3156 ## --------- ##
3158 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3159 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3160 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3161 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3162 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3164 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3165 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3167 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3168 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3169 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3170 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3171 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3172 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3173 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3175 _ASUNAME
3177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3178 for as_dir in $PATH
3180 IFS=$as_save_IFS
3181 test -z "$as_dir" && as_dir=.
3182 $as_echo "PATH: $as_dir"
3183 done
3184 IFS=$as_save_IFS
3186 } >&5
3188 cat >&5 <<_ACEOF
3191 ## ----------- ##
3192 ## Core tests. ##
3193 ## ----------- ##
3195 _ACEOF
3198 # Keep a trace of the command line.
3199 # Strip out --no-create and --no-recursion so they do not pile up.
3200 # Strip out --silent because we don't want to record it for future runs.
3201 # Also quote any args containing shell meta-characters.
3202 # Make two passes to allow for proper duplicate-argument suppression.
3203 ac_configure_args=
3204 ac_configure_args0=
3205 ac_configure_args1=
3206 ac_must_keep_next=false
3207 for ac_pass in 1 2
3209 for ac_arg
3211 case $ac_arg in
3212 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3213 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3214 | -silent | --silent | --silen | --sile | --sil)
3215 continue ;;
3216 *\'*)
3217 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3218 esac
3219 case $ac_pass in
3220 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3222 as_fn_append ac_configure_args1 " '$ac_arg'"
3223 if test $ac_must_keep_next = true; then
3224 ac_must_keep_next=false # Got value, back to normal.
3225 else
3226 case $ac_arg in
3227 *=* | --config-cache | -C | -disable-* | --disable-* \
3228 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3229 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3230 | -with-* | --with-* | -without-* | --without-* | --x)
3231 case "$ac_configure_args0 " in
3232 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3233 esac
3235 -* ) ac_must_keep_next=true ;;
3236 esac
3238 as_fn_append ac_configure_args " '$ac_arg'"
3240 esac
3241 done
3242 done
3243 { ac_configure_args0=; unset ac_configure_args0;}
3244 { ac_configure_args1=; unset ac_configure_args1;}
3246 # When interrupted or exit'd, cleanup temporary files, and complete
3247 # config.log. We remove comments because anyway the quotes in there
3248 # would cause problems or look ugly.
3249 # WARNING: Use '\'' to represent an apostrophe within the trap.
3250 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3251 trap 'exit_status=$?
3252 # Save into config.log some information that might help in debugging.
3254 echo
3256 $as_echo "## ---------------- ##
3257 ## Cache variables. ##
3258 ## ---------------- ##"
3259 echo
3260 # The following way of writing the cache mishandles newlines in values,
3262 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3263 eval ac_val=\$$ac_var
3264 case $ac_val in #(
3265 *${as_nl}*)
3266 case $ac_var in #(
3267 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3268 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3269 esac
3270 case $ac_var in #(
3271 _ | IFS | as_nl) ;; #(
3272 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3273 *) { eval $ac_var=; unset $ac_var;} ;;
3274 esac ;;
3275 esac
3276 done
3277 (set) 2>&1 |
3278 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3279 *${as_nl}ac_space=\ *)
3280 sed -n \
3281 "s/'\''/'\''\\\\'\'''\''/g;
3282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3283 ;; #(
3285 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3287 esac |
3288 sort
3290 echo
3292 $as_echo "## ----------------- ##
3293 ## Output variables. ##
3294 ## ----------------- ##"
3295 echo
3296 for ac_var in $ac_subst_vars
3298 eval ac_val=\$$ac_var
3299 case $ac_val in
3300 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3301 esac
3302 $as_echo "$ac_var='\''$ac_val'\''"
3303 done | sort
3304 echo
3306 if test -n "$ac_subst_files"; then
3307 $as_echo "## ------------------- ##
3308 ## File substitutions. ##
3309 ## ------------------- ##"
3310 echo
3311 for ac_var in $ac_subst_files
3313 eval ac_val=\$$ac_var
3314 case $ac_val in
3315 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3316 esac
3317 $as_echo "$ac_var='\''$ac_val'\''"
3318 done | sort
3319 echo
3322 if test -s confdefs.h; then
3323 $as_echo "## ----------- ##
3324 ## confdefs.h. ##
3325 ## ----------- ##"
3326 echo
3327 cat confdefs.h
3328 echo
3330 test "$ac_signal" != 0 &&
3331 $as_echo "$as_me: caught signal $ac_signal"
3332 $as_echo "$as_me: exit $exit_status"
3333 } >&5
3334 rm -f core *.core core.conftest.* &&
3335 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3336 exit $exit_status
3338 for ac_signal in 1 2 13 15; do
3339 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3340 done
3341 ac_signal=0
3343 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3344 rm -f -r conftest* confdefs.h
3346 $as_echo "/* confdefs.h */" > confdefs.h
3348 # Predefined preprocessor variables.
3350 cat >>confdefs.h <<_ACEOF
3351 #define PACKAGE_NAME "$PACKAGE_NAME"
3352 _ACEOF
3354 cat >>confdefs.h <<_ACEOF
3355 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3356 _ACEOF
3358 cat >>confdefs.h <<_ACEOF
3359 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3360 _ACEOF
3362 cat >>confdefs.h <<_ACEOF
3363 #define PACKAGE_STRING "$PACKAGE_STRING"
3364 _ACEOF
3366 cat >>confdefs.h <<_ACEOF
3367 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3368 _ACEOF
3370 cat >>confdefs.h <<_ACEOF
3371 #define PACKAGE_URL "$PACKAGE_URL"
3372 _ACEOF
3375 # Let the site file select an alternate cache file if it wants to.
3376 # Prefer an explicitly selected file to automatically selected ones.
3377 ac_site_file1=NONE
3378 ac_site_file2=NONE
3379 if test -n "$CONFIG_SITE"; then
3380 # We do not want a PATH search for config.site.
3381 case $CONFIG_SITE in #((
3382 -*) ac_site_file1=./$CONFIG_SITE;;
3383 */*) ac_site_file1=$CONFIG_SITE;;
3384 *) ac_site_file1=./$CONFIG_SITE;;
3385 esac
3386 elif test "x$prefix" != xNONE; then
3387 ac_site_file1=$prefix/share/config.site
3388 ac_site_file2=$prefix/etc/config.site
3389 else
3390 ac_site_file1=$ac_default_prefix/share/config.site
3391 ac_site_file2=$ac_default_prefix/etc/config.site
3393 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3395 test "x$ac_site_file" = xNONE && continue
3396 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3398 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3399 sed 's/^/| /' "$ac_site_file" >&5
3400 . "$ac_site_file" \
3401 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3403 as_fn_error $? "failed to load site script $ac_site_file
3404 See \`config.log' for more details" "$LINENO" 5; }
3406 done
3408 if test -r "$cache_file"; then
3409 # Some versions of bash will fail to source /dev/null (special files
3410 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3411 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3413 $as_echo "$as_me: loading cache $cache_file" >&6;}
3414 case $cache_file in
3415 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3416 *) . "./$cache_file";;
3417 esac
3419 else
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3421 $as_echo "$as_me: creating cache $cache_file" >&6;}
3422 >$cache_file
3425 # Check that the precious variables saved in the cache have kept the same
3426 # value.
3427 ac_cache_corrupted=false
3428 for ac_var in $ac_precious_vars; do
3429 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3430 eval ac_new_set=\$ac_env_${ac_var}_set
3431 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3432 eval ac_new_val=\$ac_env_${ac_var}_value
3433 case $ac_old_set,$ac_new_set in
3434 set,)
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3436 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3437 ac_cache_corrupted=: ;;
3438 ,set)
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3440 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3441 ac_cache_corrupted=: ;;
3442 ,);;
3444 if test "x$ac_old_val" != "x$ac_new_val"; then
3445 # differences in whitespace do not lead to failure.
3446 ac_old_val_w=`echo x $ac_old_val`
3447 ac_new_val_w=`echo x $ac_new_val`
3448 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3450 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3451 ac_cache_corrupted=:
3452 else
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3454 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3455 eval $ac_var=\$ac_old_val
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3458 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3460 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3461 fi;;
3462 esac
3463 # Pass precious variables to config.status.
3464 if test "$ac_new_set" = set; then
3465 case $ac_new_val in
3466 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3467 *) ac_arg=$ac_var=$ac_new_val ;;
3468 esac
3469 case " $ac_configure_args " in
3470 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3471 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3472 esac
3474 done
3475 if $ac_cache_corrupted; then
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3479 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3480 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3482 ## -------------------- ##
3483 ## Main body of script. ##
3484 ## -------------------- ##
3486 ac_ext=c
3487 ac_cpp='$CPP $CPPFLAGS'
3488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3494 ac_config_headers="$ac_config_headers include/config.h"
3496 ac_aux_dir=
3497 for ac_dir in tools "$srcdir"/tools; do
3498 if test -f "$ac_dir/install-sh"; then
3499 ac_aux_dir=$ac_dir
3500 ac_install_sh="$ac_aux_dir/install-sh -c"
3501 break
3502 elif test -f "$ac_dir/install.sh"; then
3503 ac_aux_dir=$ac_dir
3504 ac_install_sh="$ac_aux_dir/install.sh -c"
3505 break
3506 elif test -f "$ac_dir/shtool"; then
3507 ac_aux_dir=$ac_dir
3508 ac_install_sh="$ac_aux_dir/shtool install -c"
3509 break
3511 done
3512 if test -z "$ac_aux_dir"; then
3513 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3516 # These three variables are undocumented and unsupported,
3517 # and are intended to be withdrawn in a future Autoconf release.
3518 # They can cause serious problems if a builder's source tree is in a directory
3519 # whose full name contains unusual characters.
3520 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3521 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3522 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3526 libwine_version="1.0"
3530 # Check whether --enable-win16 was given.
3531 if test "${enable_win16+set}" = set; then :
3532 enableval=$enable_win16;
3535 # Check whether --enable-win64 was given.
3536 if test "${enable_win64+set}" = set; then :
3537 enableval=$enable_win64;
3540 # Check whether --enable-tests was given.
3541 if test "${enable_tests+set}" = set; then :
3542 enableval=$enable_tests;
3545 # Check whether --enable-maintainer-mode was given.
3546 if test "${enable_maintainer_mode+set}" = set; then :
3547 enableval=$enable_maintainer_mode;
3552 # Check whether --with-alsa was given.
3553 if test "${with_alsa+set}" = set; then :
3554 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3558 # Check whether --with-capi was given.
3559 if test "${with_capi+set}" = set; then :
3560 withval=$with_capi;
3564 # Check whether --with-cms was given.
3565 if test "${with_cms+set}" = set; then :
3566 withval=$with_cms;
3570 # Check whether --with-coreaudio was given.
3571 if test "${with_coreaudio+set}" = set; then :
3572 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3576 # Check whether --with-cups was given.
3577 if test "${with_cups+set}" = set; then :
3578 withval=$with_cups;
3582 # Check whether --with-curses was given.
3583 if test "${with_curses+set}" = set; then :
3584 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3588 # Check whether --with-dbus was given.
3589 if test "${with_dbus+set}" = set; then :
3590 withval=$with_dbus;
3594 # Check whether --with-float-abi was given.
3595 if test "${with_float_abi+set}" = set; then :
3596 withval=$with_float_abi;
3600 # Check whether --with-fontconfig was given.
3601 if test "${with_fontconfig+set}" = set; then :
3602 withval=$with_fontconfig;
3606 # Check whether --with-freetype was given.
3607 if test "${with_freetype+set}" = set; then :
3608 withval=$with_freetype;
3612 # Check whether --with-gettext was given.
3613 if test "${with_gettext+set}" = set; then :
3614 withval=$with_gettext;
3618 # Check whether --with-gettextpo was given.
3619 if test "${with_gettextpo+set}" = set; then :
3620 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3624 # Check whether --with-gphoto was given.
3625 if test "${with_gphoto+set}" = set; then :
3626 withval=$with_gphoto;
3630 # Check whether --with-glu was given.
3631 if test "${with_glu+set}" = set; then :
3632 withval=$with_glu;
3636 # Check whether --with-gnutls was given.
3637 if test "${with_gnutls+set}" = set; then :
3638 withval=$with_gnutls;
3642 # Check whether --with-gsm was given.
3643 if test "${with_gsm+set}" = set; then :
3644 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3648 # Check whether --with-gssapi was given.
3649 if test "${with_gssapi+set}" = set; then :
3650 withval=$with_gssapi;
3654 # Check whether --with-gstreamer was given.
3655 if test "${with_gstreamer+set}" = set; then :
3656 withval=$with_gstreamer;
3660 # Check whether --with-hal was given.
3661 if test "${with_hal+set}" = set; then :
3662 withval=$with_hal;
3666 # Check whether --with-jpeg was given.
3667 if test "${with_jpeg+set}" = set; then :
3668 withval=$with_jpeg;
3672 # Check whether --with-krb5 was given.
3673 if test "${with_krb5+set}" = set; then :
3674 withval=$with_krb5;
3678 # Check whether --with-ldap was given.
3679 if test "${with_ldap+set}" = set; then :
3680 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3684 # Check whether --with-mpg123 was given.
3685 if test "${with_mpg123+set}" = set; then :
3686 withval=$with_mpg123;
3690 # Check whether --with-netapi was given.
3691 if test "${with_netapi+set}" = set; then :
3692 withval=$with_netapi;
3696 # Check whether --with-openal was given.
3697 if test "${with_openal+set}" = set; then :
3698 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3702 # Check whether --with-opencl was given.
3703 if test "${with_opencl+set}" = set; then :
3704 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3708 # Check whether --with-opengl was given.
3709 if test "${with_opengl+set}" = set; then :
3710 withval=$with_opengl;
3714 # Check whether --with-osmesa was given.
3715 if test "${with_osmesa+set}" = set; then :
3716 withval=$with_osmesa;
3720 # Check whether --with-oss was given.
3721 if test "${with_oss+set}" = set; then :
3722 withval=$with_oss;
3726 # Check whether --with-pcap was given.
3727 if test "${with_pcap+set}" = set; then :
3728 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3732 # Check whether --with-png was given.
3733 if test "${with_png+set}" = set; then :
3734 withval=$with_png;
3738 # Check whether --with-pthread was given.
3739 if test "${with_pthread+set}" = set; then :
3740 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3744 # Check whether --with-pulse was given.
3745 if test "${with_pulse+set}" = set; then :
3746 withval=$with_pulse;
3750 # Check whether --with-sane was given.
3751 if test "${with_sane+set}" = set; then :
3752 withval=$with_sane;
3756 # Check whether --with-sdl was given.
3757 if test "${with_sdl+set}" = set; then :
3758 withval=$with_sdl;
3762 # Check whether --with-tiff was given.
3763 if test "${with_tiff+set}" = set; then :
3764 withval=$with_tiff;
3768 # Check whether --with-udev was given.
3769 if test "${with_udev+set}" = set; then :
3770 withval=$with_udev;
3774 # Check whether --with-v4l was given.
3775 if test "${with_v4l+set}" = set; then :
3776 withval=$with_v4l;
3780 # Check whether --with-vulkan was given.
3781 if test "${with_vulkan+set}" = set; then :
3782 withval=$with_vulkan;
3786 # Check whether --with-xcomposite was given.
3787 if test "${with_xcomposite+set}" = set; then :
3788 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3792 # Check whether --with-xcursor was given.
3793 if test "${with_xcursor+set}" = set; then :
3794 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3798 # Check whether --with-xfixes was given.
3799 if test "${with_xfixes+set}" = set; then :
3800 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3804 # Check whether --with-xinerama was given.
3805 if test "${with_xinerama+set}" = set; then :
3806 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3810 # Check whether --with-xinput was given.
3811 if test "${with_xinput+set}" = set; then :
3812 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3816 # Check whether --with-xinput2 was given.
3817 if test "${with_xinput2+set}" = set; then :
3818 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3822 # Check whether --with-xml was given.
3823 if test "${with_xml+set}" = set; then :
3824 withval=$with_xml;
3828 # Check whether --with-xrandr was given.
3829 if test "${with_xrandr+set}" = set; then :
3830 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3834 # Check whether --with-xrender was given.
3835 if test "${with_xrender+set}" = set; then :
3836 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3840 # Check whether --with-xshape was given.
3841 if test "${with_xshape+set}" = set; then :
3842 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3846 # Check whether --with-xshm was given.
3847 if test "${with_xshm+set}" = set; then :
3848 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3852 # Check whether --with-xslt was given.
3853 if test "${with_xslt+set}" = set; then :
3854 withval=$with_xslt;
3858 # Check whether --with-xxf86vm was given.
3859 if test "${with_xxf86vm+set}" = set; then :
3860 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
3864 # Check whether --with-zlib was given.
3865 if test "${with_zlib+set}" = set; then :
3866 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3871 # Check whether --with-wine-tools was given.
3872 if test "${with_wine_tools+set}" = set; then :
3873 withval=$with_wine_tools;
3877 # Check whether --with-wine64 was given.
3878 if test "${with_wine64+set}" = set; then :
3879 withval=$with_wine64;
3883 # Make sure we can run config.sub.
3884 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3885 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3888 $as_echo_n "checking build system type... " >&6; }
3889 if ${ac_cv_build+:} false; then :
3890 $as_echo_n "(cached) " >&6
3891 else
3892 ac_build_alias=$build_alias
3893 test "x$ac_build_alias" = x &&
3894 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3895 test "x$ac_build_alias" = x &&
3896 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3897 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3898 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3902 $as_echo "$ac_cv_build" >&6; }
3903 case $ac_cv_build in
3904 *-*-*) ;;
3905 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3906 esac
3907 build=$ac_cv_build
3908 ac_save_IFS=$IFS; IFS='-'
3909 set x $ac_cv_build
3910 shift
3911 build_cpu=$1
3912 build_vendor=$2
3913 shift; shift
3914 # Remember, the first character of IFS is used to create $*,
3915 # except with old shells:
3916 build_os=$*
3917 IFS=$ac_save_IFS
3918 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3922 $as_echo_n "checking host system type... " >&6; }
3923 if ${ac_cv_host+:} false; then :
3924 $as_echo_n "(cached) " >&6
3925 else
3926 if test "x$host_alias" = x; then
3927 ac_cv_host=$ac_cv_build
3928 else
3929 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3930 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3935 $as_echo "$ac_cv_host" >&6; }
3936 case $ac_cv_host in
3937 *-*-*) ;;
3938 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3939 esac
3940 host=$ac_cv_host
3941 ac_save_IFS=$IFS; IFS='-'
3942 set x $ac_cv_host
3943 shift
3944 host_cpu=$1
3945 host_vendor=$2
3946 shift; shift
3947 # Remember, the first character of IFS is used to create $*,
3948 # except with old shells:
3949 host_os=$*
3950 IFS=$ac_save_IFS
3951 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3955 case "$srcdir" in
3956 .) ;;
3957 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3958 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3959 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3960 fi ;;
3961 esac
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3965 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3966 set x ${MAKE-make}
3967 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3968 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3969 $as_echo_n "(cached) " >&6
3970 else
3971 cat >conftest.make <<\_ACEOF
3972 SHELL = /bin/sh
3973 all:
3974 @echo '@@@%%%=$(MAKE)=@@@%%%'
3975 _ACEOF
3976 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3977 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3978 *@@@%%%=?*=@@@%%%*)
3979 eval ac_cv_prog_make_${ac_make}_set=yes;;
3981 eval ac_cv_prog_make_${ac_make}_set=no;;
3982 esac
3983 rm -f conftest.make
3985 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3987 $as_echo "yes" >&6; }
3988 SET_MAKE=
3989 else
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3991 $as_echo "no" >&6; }
3992 SET_MAKE="MAKE=${MAKE-make}"
3995 ac_ext=c
3996 ac_cpp='$CPP $CPPFLAGS'
3997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4000 if test -n "$ac_tool_prefix"; then
4001 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4002 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4004 $as_echo_n "checking for $ac_word... " >&6; }
4005 if ${ac_cv_prog_CC+:} false; then :
4006 $as_echo_n "(cached) " >&6
4007 else
4008 if test -n "$CC"; then
4009 ac_cv_prog_CC="$CC" # Let the user override the test.
4010 else
4011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4012 for as_dir in $PATH
4014 IFS=$as_save_IFS
4015 test -z "$as_dir" && as_dir=.
4016 for ac_exec_ext in '' $ac_executable_extensions; do
4017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4018 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4020 break 2
4022 done
4023 done
4024 IFS=$as_save_IFS
4028 CC=$ac_cv_prog_CC
4029 if test -n "$CC"; then
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4031 $as_echo "$CC" >&6; }
4032 else
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4034 $as_echo "no" >&6; }
4039 if test -z "$ac_cv_prog_CC"; then
4040 ac_ct_CC=$CC
4041 # Extract the first word of "gcc", so it can be a program name with args.
4042 set dummy gcc; ac_word=$2
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4044 $as_echo_n "checking for $ac_word... " >&6; }
4045 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4046 $as_echo_n "(cached) " >&6
4047 else
4048 if test -n "$ac_ct_CC"; then
4049 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4050 else
4051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4052 for as_dir in $PATH
4054 IFS=$as_save_IFS
4055 test -z "$as_dir" && as_dir=.
4056 for ac_exec_ext in '' $ac_executable_extensions; do
4057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4058 ac_cv_prog_ac_ct_CC="gcc"
4059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4060 break 2
4062 done
4063 done
4064 IFS=$as_save_IFS
4068 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4069 if test -n "$ac_ct_CC"; then
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4071 $as_echo "$ac_ct_CC" >&6; }
4072 else
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4074 $as_echo "no" >&6; }
4077 if test "x$ac_ct_CC" = x; then
4078 CC=""
4079 else
4080 case $cross_compiling:$ac_tool_warned in
4081 yes:)
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4084 ac_tool_warned=yes ;;
4085 esac
4086 CC=$ac_ct_CC
4088 else
4089 CC="$ac_cv_prog_CC"
4092 if test -z "$CC"; then
4093 if test -n "$ac_tool_prefix"; then
4094 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4095 set dummy ${ac_tool_prefix}cc; ac_word=$2
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4097 $as_echo_n "checking for $ac_word... " >&6; }
4098 if ${ac_cv_prog_CC+:} false; then :
4099 $as_echo_n "(cached) " >&6
4100 else
4101 if test -n "$CC"; then
4102 ac_cv_prog_CC="$CC" # Let the user override the test.
4103 else
4104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4105 for as_dir in $PATH
4107 IFS=$as_save_IFS
4108 test -z "$as_dir" && as_dir=.
4109 for ac_exec_ext in '' $ac_executable_extensions; do
4110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4111 ac_cv_prog_CC="${ac_tool_prefix}cc"
4112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4113 break 2
4115 done
4116 done
4117 IFS=$as_save_IFS
4121 CC=$ac_cv_prog_CC
4122 if test -n "$CC"; then
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4124 $as_echo "$CC" >&6; }
4125 else
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4127 $as_echo "no" >&6; }
4133 if test -z "$CC"; then
4134 # Extract the first word of "cc", so it can be a program name with args.
4135 set dummy cc; ac_word=$2
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4137 $as_echo_n "checking for $ac_word... " >&6; }
4138 if ${ac_cv_prog_CC+:} false; then :
4139 $as_echo_n "(cached) " >&6
4140 else
4141 if test -n "$CC"; then
4142 ac_cv_prog_CC="$CC" # Let the user override the test.
4143 else
4144 ac_prog_rejected=no
4145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4146 for as_dir in $PATH
4148 IFS=$as_save_IFS
4149 test -z "$as_dir" && as_dir=.
4150 for ac_exec_ext in '' $ac_executable_extensions; do
4151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4152 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4153 ac_prog_rejected=yes
4154 continue
4156 ac_cv_prog_CC="cc"
4157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4158 break 2
4160 done
4161 done
4162 IFS=$as_save_IFS
4164 if test $ac_prog_rejected = yes; then
4165 # We found a bogon in the path, so make sure we never use it.
4166 set dummy $ac_cv_prog_CC
4167 shift
4168 if test $# != 0; then
4169 # We chose a different compiler from the bogus one.
4170 # However, it has the same basename, so the bogon will be chosen
4171 # first if we set CC to just the basename; use the full file name.
4172 shift
4173 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4178 CC=$ac_cv_prog_CC
4179 if test -n "$CC"; then
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4181 $as_echo "$CC" >&6; }
4182 else
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4184 $as_echo "no" >&6; }
4189 if test -z "$CC"; then
4190 if test -n "$ac_tool_prefix"; then
4191 for ac_prog in cl.exe
4193 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4194 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4196 $as_echo_n "checking for $ac_word... " >&6; }
4197 if ${ac_cv_prog_CC+:} false; then :
4198 $as_echo_n "(cached) " >&6
4199 else
4200 if test -n "$CC"; then
4201 ac_cv_prog_CC="$CC" # Let the user override the test.
4202 else
4203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4204 for as_dir in $PATH
4206 IFS=$as_save_IFS
4207 test -z "$as_dir" && as_dir=.
4208 for ac_exec_ext in '' $ac_executable_extensions; do
4209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4210 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4212 break 2
4214 done
4215 done
4216 IFS=$as_save_IFS
4220 CC=$ac_cv_prog_CC
4221 if test -n "$CC"; then
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4223 $as_echo "$CC" >&6; }
4224 else
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4226 $as_echo "no" >&6; }
4230 test -n "$CC" && break
4231 done
4233 if test -z "$CC"; then
4234 ac_ct_CC=$CC
4235 for ac_prog in cl.exe
4237 # Extract the first word of "$ac_prog", so it can be a program name with args.
4238 set dummy $ac_prog; ac_word=$2
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4240 $as_echo_n "checking for $ac_word... " >&6; }
4241 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4242 $as_echo_n "(cached) " >&6
4243 else
4244 if test -n "$ac_ct_CC"; then
4245 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4246 else
4247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4248 for as_dir in $PATH
4250 IFS=$as_save_IFS
4251 test -z "$as_dir" && as_dir=.
4252 for ac_exec_ext in '' $ac_executable_extensions; do
4253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4254 ac_cv_prog_ac_ct_CC="$ac_prog"
4255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4256 break 2
4258 done
4259 done
4260 IFS=$as_save_IFS
4264 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4265 if test -n "$ac_ct_CC"; then
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4267 $as_echo "$ac_ct_CC" >&6; }
4268 else
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4270 $as_echo "no" >&6; }
4274 test -n "$ac_ct_CC" && break
4275 done
4277 if test "x$ac_ct_CC" = x; then
4278 CC=""
4279 else
4280 case $cross_compiling:$ac_tool_warned in
4281 yes:)
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4284 ac_tool_warned=yes ;;
4285 esac
4286 CC=$ac_ct_CC
4293 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4295 as_fn_error $? "no acceptable C compiler found in \$PATH
4296 See \`config.log' for more details" "$LINENO" 5; }
4298 # Provide some information about the compiler.
4299 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4300 set X $ac_compile
4301 ac_compiler=$2
4302 for ac_option in --version -v -V -qversion; do
4303 { { ac_try="$ac_compiler $ac_option >&5"
4304 case "(($ac_try" in
4305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4306 *) ac_try_echo=$ac_try;;
4307 esac
4308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4309 $as_echo "$ac_try_echo"; } >&5
4310 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4311 ac_status=$?
4312 if test -s conftest.err; then
4313 sed '10a\
4314 ... rest of stderr output deleted ...
4315 10q' conftest.err >conftest.er1
4316 cat conftest.er1 >&5
4318 rm -f conftest.er1 conftest.err
4319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4320 test $ac_status = 0; }
4321 done
4323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4324 /* end confdefs.h. */
4327 main ()
4331 return 0;
4333 _ACEOF
4334 ac_clean_files_save=$ac_clean_files
4335 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4336 # Try to create an executable without -o first, disregard a.out.
4337 # It will help us diagnose broken compilers, and finding out an intuition
4338 # of exeext.
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4340 $as_echo_n "checking whether the C compiler works... " >&6; }
4341 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4343 # The possible output files:
4344 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4346 ac_rmfiles=
4347 for ac_file in $ac_files
4349 case $ac_file in
4350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4351 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4352 esac
4353 done
4354 rm -f $ac_rmfiles
4356 if { { ac_try="$ac_link_default"
4357 case "(($ac_try" in
4358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4359 *) ac_try_echo=$ac_try;;
4360 esac
4361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4362 $as_echo "$ac_try_echo"; } >&5
4363 (eval "$ac_link_default") 2>&5
4364 ac_status=$?
4365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4366 test $ac_status = 0; }; then :
4367 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4368 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4369 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4370 # so that the user can short-circuit this test for compilers unknown to
4371 # Autoconf.
4372 for ac_file in $ac_files ''
4374 test -f "$ac_file" || continue
4375 case $ac_file in
4376 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4378 [ab].out )
4379 # We found the default executable, but exeext='' is most
4380 # certainly right.
4381 break;;
4382 *.* )
4383 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4384 then :; else
4385 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4387 # We set ac_cv_exeext here because the later test for it is not
4388 # safe: cross compilers may not add the suffix if given an `-o'
4389 # argument, so we may need to know it at that point already.
4390 # Even if this section looks crufty: it has the advantage of
4391 # actually working.
4392 break;;
4394 break;;
4395 esac
4396 done
4397 test "$ac_cv_exeext" = no && ac_cv_exeext=
4399 else
4400 ac_file=''
4402 if test -z "$ac_file"; then :
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4404 $as_echo "no" >&6; }
4405 $as_echo "$as_me: failed program was:" >&5
4406 sed 's/^/| /' conftest.$ac_ext >&5
4408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4410 as_fn_error 77 "C compiler cannot create executables
4411 See \`config.log' for more details" "$LINENO" 5; }
4412 else
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4414 $as_echo "yes" >&6; }
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4417 $as_echo_n "checking for C compiler default output file name... " >&6; }
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4419 $as_echo "$ac_file" >&6; }
4420 ac_exeext=$ac_cv_exeext
4422 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4423 ac_clean_files=$ac_clean_files_save
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4425 $as_echo_n "checking for suffix of executables... " >&6; }
4426 if { { ac_try="$ac_link"
4427 case "(($ac_try" in
4428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4429 *) ac_try_echo=$ac_try;;
4430 esac
4431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4432 $as_echo "$ac_try_echo"; } >&5
4433 (eval "$ac_link") 2>&5
4434 ac_status=$?
4435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4436 test $ac_status = 0; }; then :
4437 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4438 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4439 # work properly (i.e., refer to `conftest.exe'), while it won't with
4440 # `rm'.
4441 for ac_file in conftest.exe conftest conftest.*; do
4442 test -f "$ac_file" || continue
4443 case $ac_file in
4444 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4445 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4446 break;;
4447 * ) break;;
4448 esac
4449 done
4450 else
4451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4453 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4454 See \`config.log' for more details" "$LINENO" 5; }
4456 rm -f conftest conftest$ac_cv_exeext
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4458 $as_echo "$ac_cv_exeext" >&6; }
4460 rm -f conftest.$ac_ext
4461 EXEEXT=$ac_cv_exeext
4462 ac_exeext=$EXEEXT
4463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4464 /* end confdefs.h. */
4465 #include <stdio.h>
4467 main ()
4469 FILE *f = fopen ("conftest.out", "w");
4470 return ferror (f) || fclose (f) != 0;
4473 return 0;
4475 _ACEOF
4476 ac_clean_files="$ac_clean_files conftest.out"
4477 # Check that the compiler produces executables we can run. If not, either
4478 # the compiler is broken, or we cross compile.
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4480 $as_echo_n "checking whether we are cross compiling... " >&6; }
4481 if test "$cross_compiling" != yes; then
4482 { { ac_try="$ac_link"
4483 case "(($ac_try" in
4484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4485 *) ac_try_echo=$ac_try;;
4486 esac
4487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4488 $as_echo "$ac_try_echo"; } >&5
4489 (eval "$ac_link") 2>&5
4490 ac_status=$?
4491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4492 test $ac_status = 0; }
4493 if { ac_try='./conftest$ac_cv_exeext'
4494 { { case "(($ac_try" in
4495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4496 *) ac_try_echo=$ac_try;;
4497 esac
4498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4499 $as_echo "$ac_try_echo"; } >&5
4500 (eval "$ac_try") 2>&5
4501 ac_status=$?
4502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4503 test $ac_status = 0; }; }; then
4504 cross_compiling=no
4505 else
4506 if test "$cross_compiling" = maybe; then
4507 cross_compiling=yes
4508 else
4509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4511 as_fn_error $? "cannot run C compiled programs.
4512 If you meant to cross compile, use \`--host'.
4513 See \`config.log' for more details" "$LINENO" 5; }
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4518 $as_echo "$cross_compiling" >&6; }
4520 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4521 ac_clean_files=$ac_clean_files_save
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4523 $as_echo_n "checking for suffix of object files... " >&6; }
4524 if ${ac_cv_objext+:} false; then :
4525 $as_echo_n "(cached) " >&6
4526 else
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4531 main ()
4535 return 0;
4537 _ACEOF
4538 rm -f conftest.o conftest.obj
4539 if { { ac_try="$ac_compile"
4540 case "(($ac_try" in
4541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4542 *) ac_try_echo=$ac_try;;
4543 esac
4544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4545 $as_echo "$ac_try_echo"; } >&5
4546 (eval "$ac_compile") 2>&5
4547 ac_status=$?
4548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4549 test $ac_status = 0; }; then :
4550 for ac_file in conftest.o conftest.obj conftest.*; do
4551 test -f "$ac_file" || continue;
4552 case $ac_file in
4553 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4554 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4555 break;;
4556 esac
4557 done
4558 else
4559 $as_echo "$as_me: failed program was:" >&5
4560 sed 's/^/| /' conftest.$ac_ext >&5
4562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4564 as_fn_error $? "cannot compute suffix of object files: cannot compile
4565 See \`config.log' for more details" "$LINENO" 5; }
4567 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4570 $as_echo "$ac_cv_objext" >&6; }
4571 OBJEXT=$ac_cv_objext
4572 ac_objext=$OBJEXT
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4574 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4575 if ${ac_cv_c_compiler_gnu+:} false; then :
4576 $as_echo_n "(cached) " >&6
4577 else
4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4582 main ()
4584 #ifndef __GNUC__
4585 choke me
4586 #endif
4589 return 0;
4591 _ACEOF
4592 if ac_fn_c_try_compile "$LINENO"; then :
4593 ac_compiler_gnu=yes
4594 else
4595 ac_compiler_gnu=no
4597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4598 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4602 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4603 if test $ac_compiler_gnu = yes; then
4604 GCC=yes
4605 else
4606 GCC=
4608 ac_test_CFLAGS=${CFLAGS+set}
4609 ac_save_CFLAGS=$CFLAGS
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4611 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4612 if ${ac_cv_prog_cc_g+:} false; then :
4613 $as_echo_n "(cached) " >&6
4614 else
4615 ac_save_c_werror_flag=$ac_c_werror_flag
4616 ac_c_werror_flag=yes
4617 ac_cv_prog_cc_g=no
4618 CFLAGS="-g"
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4623 main ()
4627 return 0;
4629 _ACEOF
4630 if ac_fn_c_try_compile "$LINENO"; then :
4631 ac_cv_prog_cc_g=yes
4632 else
4633 CFLAGS=""
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4638 main ()
4642 return 0;
4644 _ACEOF
4645 if ac_fn_c_try_compile "$LINENO"; then :
4647 else
4648 ac_c_werror_flag=$ac_save_c_werror_flag
4649 CFLAGS="-g"
4650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4651 /* end confdefs.h. */
4654 main ()
4658 return 0;
4660 _ACEOF
4661 if ac_fn_c_try_compile "$LINENO"; then :
4662 ac_cv_prog_cc_g=yes
4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4669 ac_c_werror_flag=$ac_save_c_werror_flag
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4672 $as_echo "$ac_cv_prog_cc_g" >&6; }
4673 if test "$ac_test_CFLAGS" = set; then
4674 CFLAGS=$ac_save_CFLAGS
4675 elif test $ac_cv_prog_cc_g = yes; then
4676 if test "$GCC" = yes; then
4677 CFLAGS="-g -O2"
4678 else
4679 CFLAGS="-g"
4681 else
4682 if test "$GCC" = yes; then
4683 CFLAGS="-O2"
4684 else
4685 CFLAGS=
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4689 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4690 if ${ac_cv_prog_cc_c89+:} false; then :
4691 $as_echo_n "(cached) " >&6
4692 else
4693 ac_cv_prog_cc_c89=no
4694 ac_save_CC=$CC
4695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4696 /* end confdefs.h. */
4697 #include <stdarg.h>
4698 #include <stdio.h>
4699 struct stat;
4700 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4701 struct buf { int x; };
4702 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4703 static char *e (p, i)
4704 char **p;
4705 int i;
4707 return p[i];
4709 static char *f (char * (*g) (char **, int), char **p, ...)
4711 char *s;
4712 va_list v;
4713 va_start (v,p);
4714 s = g (p, va_arg (v,int));
4715 va_end (v);
4716 return s;
4719 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4720 function prototypes and stuff, but not '\xHH' hex character constants.
4721 These don't provoke an error unfortunately, instead are silently treated
4722 as 'x'. The following induces an error, until -std is added to get
4723 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4724 array size at least. It's necessary to write '\x00'==0 to get something
4725 that's true only with -std. */
4726 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4728 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4729 inside strings and character constants. */
4730 #define FOO(x) 'x'
4731 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4733 int test (int i, double x);
4734 struct s1 {int (*f) (int a);};
4735 struct s2 {int (*f) (double a);};
4736 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4737 int argc;
4738 char **argv;
4740 main ()
4742 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4744 return 0;
4746 _ACEOF
4747 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4748 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4750 CC="$ac_save_CC $ac_arg"
4751 if ac_fn_c_try_compile "$LINENO"; then :
4752 ac_cv_prog_cc_c89=$ac_arg
4754 rm -f core conftest.err conftest.$ac_objext
4755 test "x$ac_cv_prog_cc_c89" != "xno" && break
4756 done
4757 rm -f conftest.$ac_ext
4758 CC=$ac_save_CC
4761 # AC_CACHE_VAL
4762 case "x$ac_cv_prog_cc_c89" in
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4765 $as_echo "none needed" >&6; } ;;
4766 xno)
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4768 $as_echo "unsupported" >&6; } ;;
4770 CC="$CC $ac_cv_prog_cc_c89"
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4772 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4773 esac
4774 if test "x$ac_cv_prog_cc_c89" != xno; then :
4778 ac_ext=c
4779 ac_cpp='$CPP $CPPFLAGS'
4780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4784 ac_ext=cpp
4785 ac_cpp='$CXXCPP $CPPFLAGS'
4786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4789 if test -z "$CXX"; then
4790 if test -n "$CCC"; then
4791 CXX=$CCC
4792 else
4793 if test -n "$ac_tool_prefix"; then
4794 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4796 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4797 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4799 $as_echo_n "checking for $ac_word... " >&6; }
4800 if ${ac_cv_prog_CXX+:} false; then :
4801 $as_echo_n "(cached) " >&6
4802 else
4803 if test -n "$CXX"; then
4804 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4805 else
4806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4807 for as_dir in $PATH
4809 IFS=$as_save_IFS
4810 test -z "$as_dir" && as_dir=.
4811 for ac_exec_ext in '' $ac_executable_extensions; do
4812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4813 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4815 break 2
4817 done
4818 done
4819 IFS=$as_save_IFS
4823 CXX=$ac_cv_prog_CXX
4824 if test -n "$CXX"; then
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4826 $as_echo "$CXX" >&6; }
4827 else
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4829 $as_echo "no" >&6; }
4833 test -n "$CXX" && break
4834 done
4836 if test -z "$CXX"; then
4837 ac_ct_CXX=$CXX
4838 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4840 # Extract the first word of "$ac_prog", so it can be a program name with args.
4841 set dummy $ac_prog; ac_word=$2
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4843 $as_echo_n "checking for $ac_word... " >&6; }
4844 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4845 $as_echo_n "(cached) " >&6
4846 else
4847 if test -n "$ac_ct_CXX"; then
4848 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4849 else
4850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4851 for as_dir in $PATH
4853 IFS=$as_save_IFS
4854 test -z "$as_dir" && as_dir=.
4855 for ac_exec_ext in '' $ac_executable_extensions; do
4856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4857 ac_cv_prog_ac_ct_CXX="$ac_prog"
4858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4859 break 2
4861 done
4862 done
4863 IFS=$as_save_IFS
4867 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4868 if test -n "$ac_ct_CXX"; then
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4870 $as_echo "$ac_ct_CXX" >&6; }
4871 else
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4873 $as_echo "no" >&6; }
4877 test -n "$ac_ct_CXX" && break
4878 done
4880 if test "x$ac_ct_CXX" = x; then
4881 CXX="g++"
4882 else
4883 case $cross_compiling:$ac_tool_warned in
4884 yes:)
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4887 ac_tool_warned=yes ;;
4888 esac
4889 CXX=$ac_ct_CXX
4895 # Provide some information about the compiler.
4896 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4897 set X $ac_compile
4898 ac_compiler=$2
4899 for ac_option in --version -v -V -qversion; do
4900 { { ac_try="$ac_compiler $ac_option >&5"
4901 case "(($ac_try" in
4902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4903 *) ac_try_echo=$ac_try;;
4904 esac
4905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4906 $as_echo "$ac_try_echo"; } >&5
4907 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4908 ac_status=$?
4909 if test -s conftest.err; then
4910 sed '10a\
4911 ... rest of stderr output deleted ...
4912 10q' conftest.err >conftest.er1
4913 cat conftest.er1 >&5
4915 rm -f conftest.er1 conftest.err
4916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4917 test $ac_status = 0; }
4918 done
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4921 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4922 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4923 $as_echo_n "(cached) " >&6
4924 else
4925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4926 /* end confdefs.h. */
4929 main ()
4931 #ifndef __GNUC__
4932 choke me
4933 #endif
4936 return 0;
4938 _ACEOF
4939 if ac_fn_cxx_try_compile "$LINENO"; then :
4940 ac_compiler_gnu=yes
4941 else
4942 ac_compiler_gnu=no
4944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4945 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4949 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4950 if test $ac_compiler_gnu = yes; then
4951 GXX=yes
4952 else
4953 GXX=
4955 ac_test_CXXFLAGS=${CXXFLAGS+set}
4956 ac_save_CXXFLAGS=$CXXFLAGS
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4958 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4959 if ${ac_cv_prog_cxx_g+:} false; then :
4960 $as_echo_n "(cached) " >&6
4961 else
4962 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4963 ac_cxx_werror_flag=yes
4964 ac_cv_prog_cxx_g=no
4965 CXXFLAGS="-g"
4966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4967 /* end confdefs.h. */
4970 main ()
4974 return 0;
4976 _ACEOF
4977 if ac_fn_cxx_try_compile "$LINENO"; then :
4978 ac_cv_prog_cxx_g=yes
4979 else
4980 CXXFLAGS=""
4981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4982 /* end confdefs.h. */
4985 main ()
4989 return 0;
4991 _ACEOF
4992 if ac_fn_cxx_try_compile "$LINENO"; then :
4994 else
4995 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4996 CXXFLAGS="-g"
4997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998 /* end confdefs.h. */
5001 main ()
5005 return 0;
5007 _ACEOF
5008 if ac_fn_cxx_try_compile "$LINENO"; then :
5009 ac_cv_prog_cxx_g=yes
5011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5016 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5019 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5020 if test "$ac_test_CXXFLAGS" = set; then
5021 CXXFLAGS=$ac_save_CXXFLAGS
5022 elif test $ac_cv_prog_cxx_g = yes; then
5023 if test "$GXX" = yes; then
5024 CXXFLAGS="-g -O2"
5025 else
5026 CXXFLAGS="-g"
5028 else
5029 if test "$GXX" = yes; then
5030 CXXFLAGS="-O2"
5031 else
5032 CXXFLAGS=
5035 ac_ext=c
5036 ac_cpp='$CPP $CPPFLAGS'
5037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5041 if test -n "$ac_tool_prefix"; then
5042 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5043 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045 $as_echo_n "checking for $ac_word... " >&6; }
5046 if ${ac_cv_prog_CPPBIN+:} false; then :
5047 $as_echo_n "(cached) " >&6
5048 else
5049 if test -n "$CPPBIN"; then
5050 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5051 else
5052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053 for as_dir in $PATH
5055 IFS=$as_save_IFS
5056 test -z "$as_dir" && as_dir=.
5057 for ac_exec_ext in '' $ac_executable_extensions; do
5058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5059 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 break 2
5063 done
5064 done
5065 IFS=$as_save_IFS
5069 CPPBIN=$ac_cv_prog_CPPBIN
5070 if test -n "$CPPBIN"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5072 $as_echo "$CPPBIN" >&6; }
5073 else
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5080 if test -z "$ac_cv_prog_CPPBIN"; then
5081 ac_ct_CPPBIN=$CPPBIN
5082 # Extract the first word of "cpp", so it can be a program name with args.
5083 set dummy cpp; ac_word=$2
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5085 $as_echo_n "checking for $ac_word... " >&6; }
5086 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5087 $as_echo_n "(cached) " >&6
5088 else
5089 if test -n "$ac_ct_CPPBIN"; then
5090 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5091 else
5092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5093 for as_dir in $PATH
5095 IFS=$as_save_IFS
5096 test -z "$as_dir" && as_dir=.
5097 for ac_exec_ext in '' $ac_executable_extensions; do
5098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5099 ac_cv_prog_ac_ct_CPPBIN="cpp"
5100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5101 break 2
5103 done
5104 done
5105 IFS=$as_save_IFS
5109 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5110 if test -n "$ac_ct_CPPBIN"; then
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5112 $as_echo "$ac_ct_CPPBIN" >&6; }
5113 else
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5115 $as_echo "no" >&6; }
5118 if test "x$ac_ct_CPPBIN" = x; then
5119 CPPBIN="cpp"
5120 else
5121 case $cross_compiling:$ac_tool_warned in
5122 yes:)
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5125 ac_tool_warned=yes ;;
5126 esac
5127 CPPBIN=$ac_ct_CPPBIN
5129 else
5130 CPPBIN="$ac_cv_prog_CPPBIN"
5134 cat >>confdefs.h <<_ACEOF
5135 #define EXEEXT "$ac_exeext"
5136 _ACEOF
5138 if test -n "$ac_tool_prefix"; then
5139 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5140 set dummy ${ac_tool_prefix}ld; ac_word=$2
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5142 $as_echo_n "checking for $ac_word... " >&6; }
5143 if ${ac_cv_prog_LD+:} false; then :
5144 $as_echo_n "(cached) " >&6
5145 else
5146 if test -n "$LD"; then
5147 ac_cv_prog_LD="$LD" # Let the user override the test.
5148 else
5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5150 for as_dir in $PATH
5152 IFS=$as_save_IFS
5153 test -z "$as_dir" && as_dir=.
5154 for ac_exec_ext in '' $ac_executable_extensions; do
5155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5156 ac_cv_prog_LD="${ac_tool_prefix}ld"
5157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 break 2
5160 done
5161 done
5162 IFS=$as_save_IFS
5166 LD=$ac_cv_prog_LD
5167 if test -n "$LD"; then
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5169 $as_echo "$LD" >&6; }
5170 else
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5172 $as_echo "no" >&6; }
5177 if test -z "$ac_cv_prog_LD"; then
5178 ac_ct_LD=$LD
5179 # Extract the first word of "ld", so it can be a program name with args.
5180 set dummy ld; ac_word=$2
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5182 $as_echo_n "checking for $ac_word... " >&6; }
5183 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5184 $as_echo_n "(cached) " >&6
5185 else
5186 if test -n "$ac_ct_LD"; then
5187 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5188 else
5189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5190 for as_dir in $PATH
5192 IFS=$as_save_IFS
5193 test -z "$as_dir" && as_dir=.
5194 for ac_exec_ext in '' $ac_executable_extensions; do
5195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5196 ac_cv_prog_ac_ct_LD="ld"
5197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 break 2
5200 done
5201 done
5202 IFS=$as_save_IFS
5206 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5207 if test -n "$ac_ct_LD"; then
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5209 $as_echo "$ac_ct_LD" >&6; }
5210 else
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5212 $as_echo "no" >&6; }
5215 if test "x$ac_ct_LD" = x; then
5216 LD=""
5217 else
5218 case $cross_compiling:$ac_tool_warned in
5219 yes:)
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5222 ac_tool_warned=yes ;;
5223 esac
5224 LD=$ac_ct_LD
5226 else
5227 LD="$ac_cv_prog_LD"
5231 case $host in
5232 *-darwin*)
5233 with_fontconfig=${with_fontconfig:-no}
5235 *-mingw32*|*-cygwin*)
5236 enable_win16=${enable_win16:-no}
5237 CFLAGS="$CFLAGS -D_WIN32"
5239 esac
5241 case $host in
5242 x86_64*|amd64*)
5243 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5244 then
5245 CC="$CC -m32"
5246 CXX="$CXX -m32"
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5248 $as_echo_n "checking whether $CC works... " >&6; }
5250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5251 /* end confdefs.h. */
5254 main ()
5258 return 0;
5260 _ACEOF
5261 if ac_fn_c_try_link "$LINENO"; then :
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5263 $as_echo "yes" >&6; }
5264 else
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5266 $as_echo "no" >&6; }
5267 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5269 rm -f core conftest.err conftest.$ac_objext \
5270 conftest$ac_exeext conftest.$ac_ext
5271 host_cpu="i386"
5272 notice_platform="32-bit "
5273 TARGETFLAGS="-m32"
5275 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5276 export PKG_CONFIG_PATH
5277 enable_win16=${enable_win16:-yes}
5278 else
5279 if test "x${GCC}" = "xyes"
5280 then
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5282 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5284 /* end confdefs.h. */
5285 #include <stdarg.h>
5287 main ()
5289 void func(__builtin_ms_va_list *args);
5291 return 0;
5293 _ACEOF
5294 if ac_fn_c_try_compile "$LINENO"; then :
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5296 $as_echo "yes" >&6; }
5297 else
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5299 $as_echo "no" >&6; }
5300 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5304 CC="$CC -m64"
5305 CXX="$CXX -m64"
5306 host_cpu="x86_64"
5307 notice_platform="64-bit "
5308 TARGETFLAGS="-m64"
5312 arm*)
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5314 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5316 /* end confdefs.h. */
5317 int ac_test(int i) { return i; }
5319 main ()
5321 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5323 return 0;
5325 _ACEOF
5326 if ac_fn_c_try_link "$LINENO"; then :
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5328 $as_echo "yes" >&6; }
5329 else
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5331 $as_echo "no" >&6; }
5332 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5334 rm -f core conftest.err conftest.$ac_objext \
5335 conftest$ac_exeext conftest.$ac_ext
5336 case $with_float_abi in
5337 soft|softfp|hard)
5338 float_abi=$with_float_abi ;;
5340 case $host_os in
5341 *eabihf)
5342 float_abi=hard ;;
5344 float_abi=softfp
5345 saved_CFLAGS=$CFLAGS
5346 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5348 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5350 /* end confdefs.h. */
5353 main ()
5355 asm("vmrs r2,fpscr");
5357 return 0;
5359 _ACEOF
5360 if ac_fn_c_try_link "$LINENO"; then :
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5362 $as_echo "yes" >&6; }
5363 else
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }
5366 float_abi=soft
5367 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5369 rm -f core conftest.err conftest.$ac_objext \
5370 conftest$ac_exeext conftest.$ac_ext
5371 CFLAGS=$saved_CFLAGS
5372 esac
5374 esac
5375 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5376 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5379 i[3456789]86*)
5380 enable_win16=${enable_win16:-yes}
5382 esac
5384 enable_win16=${enable_win16:-no}
5385 enable_win64=${enable_win64:-no}
5387 enable_winetest=${enable_winetest:-$enable_tests}
5389 if test -n "$with_wine64"
5390 then
5391 if test "x$enable_win64" = "xyes"
5392 then
5393 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5394 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5396 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5397 You should create a separate build directory and run configure from there." "$LINENO" 5
5398 enable_fonts=${enable_fonts:-no}
5399 enable_server=${enable_server:-no}
5400 wine64_disable=\#
5402 elif test "x$enable_win64" = "xyes"
5403 then
5404 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5408 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5409 if ${wine_cv_toolsdir+:} false; then :
5410 $as_echo_n "(cached) " >&6
5411 else
5412 wine_cv_toolsdir="$with_wine_tools"
5413 if test -z "$with_wine_tools"; then
5414 if test "$cross_compiling" = "yes"; then
5415 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5416 elif test -n "$with_wine64"; then
5417 wine_cv_toolsdir="$with_wine64"
5420 if test -z "$wine_cv_toolsdir"; then
5421 wine_makedep=tools/makedep
5422 wine_cv_toolsdir="\$(top_builddir)"
5423 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5424 wine_makedep=$wine_cv_toolsdir/tools/makedep
5425 case "$wine_cv_toolsdir" in
5426 /*) ;;
5427 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5428 esac
5429 enable_tools=${enable_tools:-no}
5430 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5431 else
5432 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5436 $as_echo "$wine_cv_toolsdir" >&6; }
5437 TOOLSDIR=$wine_cv_toolsdir
5439 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5440 then
5441 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5445 for ac_prog in flex
5447 # Extract the first word of "$ac_prog", so it can be a program name with args.
5448 set dummy $ac_prog; ac_word=$2
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5450 $as_echo_n "checking for $ac_word... " >&6; }
5451 if ${ac_cv_prog_FLEX+:} false; then :
5452 $as_echo_n "(cached) " >&6
5453 else
5454 if test -n "$FLEX"; then
5455 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5456 else
5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5458 for as_dir in $PATH
5460 IFS=$as_save_IFS
5461 test -z "$as_dir" && as_dir=.
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5464 ac_cv_prog_FLEX="$ac_prog"
5465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5466 break 2
5468 done
5469 done
5470 IFS=$as_save_IFS
5474 FLEX=$ac_cv_prog_FLEX
5475 if test -n "$FLEX"; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5477 $as_echo "$FLEX" >&6; }
5478 else
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5484 test -n "$FLEX" && break
5485 done
5486 test -n "$FLEX" || FLEX="none"
5488 if test "$FLEX" = "none"
5489 then
5490 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5493 $as_echo_n "checking whether flex is recent enough... " >&6; }
5494 cat >conftest.l <<EOF
5495 %top{
5496 #include "prediluvian.h"
5500 if $FLEX -t conftest.l >/dev/null 2>&5
5501 then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5503 $as_echo "yes" >&6; }
5504 else
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5507 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5510 for ac_prog in bison
5512 # Extract the first word of "$ac_prog", so it can be a program name with args.
5513 set dummy $ac_prog; ac_word=$2
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5515 $as_echo_n "checking for $ac_word... " >&6; }
5516 if ${ac_cv_prog_BISON+:} false; then :
5517 $as_echo_n "(cached) " >&6
5518 else
5519 if test -n "$BISON"; then
5520 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5521 else
5522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523 for as_dir in $PATH
5525 IFS=$as_save_IFS
5526 test -z "$as_dir" && as_dir=.
5527 for ac_exec_ext in '' $ac_executable_extensions; do
5528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5529 ac_cv_prog_BISON="$ac_prog"
5530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5531 break 2
5533 done
5534 done
5535 IFS=$as_save_IFS
5539 BISON=$ac_cv_prog_BISON
5540 if test -n "$BISON"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5542 $as_echo "$BISON" >&6; }
5543 else
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545 $as_echo "no" >&6; }
5549 test -n "$BISON" && break
5550 done
5551 test -n "$BISON" || BISON="none"
5553 if test "$BISON" = "none"
5554 then
5555 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5558 if test -n "$ac_tool_prefix"; then
5559 for ac_prog in ar gar
5561 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5562 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564 $as_echo_n "checking for $ac_word... " >&6; }
5565 if ${ac_cv_prog_AR+:} false; then :
5566 $as_echo_n "(cached) " >&6
5567 else
5568 if test -n "$AR"; then
5569 ac_cv_prog_AR="$AR" # Let the user override the test.
5570 else
5571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5572 for as_dir in $PATH
5574 IFS=$as_save_IFS
5575 test -z "$as_dir" && as_dir=.
5576 for ac_exec_ext in '' $ac_executable_extensions; do
5577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5578 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5580 break 2
5582 done
5583 done
5584 IFS=$as_save_IFS
5588 AR=$ac_cv_prog_AR
5589 if test -n "$AR"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5591 $as_echo "$AR" >&6; }
5592 else
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5598 test -n "$AR" && break
5599 done
5601 if test -z "$AR"; then
5602 ac_ct_AR=$AR
5603 for ac_prog in ar gar
5605 # Extract the first word of "$ac_prog", so it can be a program name with args.
5606 set dummy $ac_prog; ac_word=$2
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5608 $as_echo_n "checking for $ac_word... " >&6; }
5609 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5610 $as_echo_n "(cached) " >&6
5611 else
5612 if test -n "$ac_ct_AR"; then
5613 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5614 else
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 for as_dir in $PATH
5618 IFS=$as_save_IFS
5619 test -z "$as_dir" && as_dir=.
5620 for ac_exec_ext in '' $ac_executable_extensions; do
5621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5622 ac_cv_prog_ac_ct_AR="$ac_prog"
5623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5624 break 2
5626 done
5627 done
5628 IFS=$as_save_IFS
5632 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5633 if test -n "$ac_ct_AR"; then
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5635 $as_echo "$ac_ct_AR" >&6; }
5636 else
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5638 $as_echo "no" >&6; }
5642 test -n "$ac_ct_AR" && break
5643 done
5645 if test "x$ac_ct_AR" = x; then
5646 AR="ar"
5647 else
5648 case $cross_compiling:$ac_tool_warned in
5649 yes:)
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5652 ac_tool_warned=yes ;;
5653 esac
5654 AR=$ac_ct_AR
5658 if test -n "$ac_tool_prefix"; then
5659 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5660 set dummy ${ac_tool_prefix}strip; ac_word=$2
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5662 $as_echo_n "checking for $ac_word... " >&6; }
5663 if ${ac_cv_prog_STRIP+:} false; then :
5664 $as_echo_n "(cached) " >&6
5665 else
5666 if test -n "$STRIP"; then
5667 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5668 else
5669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5670 for as_dir in $PATH
5672 IFS=$as_save_IFS
5673 test -z "$as_dir" && as_dir=.
5674 for ac_exec_ext in '' $ac_executable_extensions; do
5675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5676 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5678 break 2
5680 done
5681 done
5682 IFS=$as_save_IFS
5686 STRIP=$ac_cv_prog_STRIP
5687 if test -n "$STRIP"; then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5689 $as_echo "$STRIP" >&6; }
5690 else
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5692 $as_echo "no" >&6; }
5697 if test -z "$ac_cv_prog_STRIP"; then
5698 ac_ct_STRIP=$STRIP
5699 # Extract the first word of "strip", so it can be a program name with args.
5700 set dummy strip; ac_word=$2
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5702 $as_echo_n "checking for $ac_word... " >&6; }
5703 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5704 $as_echo_n "(cached) " >&6
5705 else
5706 if test -n "$ac_ct_STRIP"; then
5707 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5708 else
5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 for as_dir in $PATH
5712 IFS=$as_save_IFS
5713 test -z "$as_dir" && as_dir=.
5714 for ac_exec_ext in '' $ac_executable_extensions; do
5715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5716 ac_cv_prog_ac_ct_STRIP="strip"
5717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5718 break 2
5720 done
5721 done
5722 IFS=$as_save_IFS
5726 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5727 if test -n "$ac_ct_STRIP"; then
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5729 $as_echo "$ac_ct_STRIP" >&6; }
5730 else
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5732 $as_echo "no" >&6; }
5735 if test "x$ac_ct_STRIP" = x; then
5736 STRIP="strip"
5737 else
5738 case $cross_compiling:$ac_tool_warned in
5739 yes:)
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5742 ac_tool_warned=yes ;;
5743 esac
5744 STRIP=$ac_ct_STRIP
5746 else
5747 STRIP="$ac_cv_prog_STRIP"
5750 ARFLAGS=rc
5752 if test -n "$ac_tool_prefix"; then
5753 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5754 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756 $as_echo_n "checking for $ac_word... " >&6; }
5757 if ${ac_cv_prog_RANLIB+:} false; then :
5758 $as_echo_n "(cached) " >&6
5759 else
5760 if test -n "$RANLIB"; then
5761 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5762 else
5763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764 for as_dir in $PATH
5766 IFS=$as_save_IFS
5767 test -z "$as_dir" && as_dir=.
5768 for ac_exec_ext in '' $ac_executable_extensions; do
5769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5770 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5772 break 2
5774 done
5775 done
5776 IFS=$as_save_IFS
5780 RANLIB=$ac_cv_prog_RANLIB
5781 if test -n "$RANLIB"; then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5783 $as_echo "$RANLIB" >&6; }
5784 else
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786 $as_echo "no" >&6; }
5791 if test -z "$ac_cv_prog_RANLIB"; then
5792 ac_ct_RANLIB=$RANLIB
5793 # Extract the first word of "ranlib", so it can be a program name with args.
5794 set dummy ranlib; ac_word=$2
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5796 $as_echo_n "checking for $ac_word... " >&6; }
5797 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5798 $as_echo_n "(cached) " >&6
5799 else
5800 if test -n "$ac_ct_RANLIB"; then
5801 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5802 else
5803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5804 for as_dir in $PATH
5806 IFS=$as_save_IFS
5807 test -z "$as_dir" && as_dir=.
5808 for ac_exec_ext in '' $ac_executable_extensions; do
5809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5810 ac_cv_prog_ac_ct_RANLIB="ranlib"
5811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5812 break 2
5814 done
5815 done
5816 IFS=$as_save_IFS
5820 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5821 if test -n "$ac_ct_RANLIB"; then
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5823 $as_echo "$ac_ct_RANLIB" >&6; }
5824 else
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5826 $as_echo "no" >&6; }
5829 if test "x$ac_ct_RANLIB" = x; then
5830 RANLIB=":"
5831 else
5832 case $cross_compiling:$ac_tool_warned in
5833 yes:)
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5836 ac_tool_warned=yes ;;
5837 esac
5838 RANLIB=$ac_ct_RANLIB
5840 else
5841 RANLIB="$ac_cv_prog_RANLIB"
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5845 $as_echo_n "checking whether ln -s works... " >&6; }
5846 LN_S=$as_ln_s
5847 if test "$LN_S" = "ln -s"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5849 $as_echo "yes" >&6; }
5850 else
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5852 $as_echo "no, using $LN_S" >&6; }
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5856 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5857 if ${ac_cv_path_GREP+:} false; then :
5858 $as_echo_n "(cached) " >&6
5859 else
5860 if test -z "$GREP"; then
5861 ac_path_GREP_found=false
5862 # Loop through the user's path and test for each of PROGNAME-LIST
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5866 IFS=$as_save_IFS
5867 test -z "$as_dir" && as_dir=.
5868 for ac_prog in grep ggrep; do
5869 for ac_exec_ext in '' $ac_executable_extensions; do
5870 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5871 as_fn_executable_p "$ac_path_GREP" || continue
5872 # Check for GNU ac_path_GREP and select it if it is found.
5873 # Check for GNU $ac_path_GREP
5874 case `"$ac_path_GREP" --version 2>&1` in
5875 *GNU*)
5876 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5878 ac_count=0
5879 $as_echo_n 0123456789 >"conftest.in"
5880 while :
5882 cat "conftest.in" "conftest.in" >"conftest.tmp"
5883 mv "conftest.tmp" "conftest.in"
5884 cp "conftest.in" "conftest.nl"
5885 $as_echo 'GREP' >> "conftest.nl"
5886 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5887 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5888 as_fn_arith $ac_count + 1 && ac_count=$as_val
5889 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5890 # Best one so far, save it but keep looking for a better one
5891 ac_cv_path_GREP="$ac_path_GREP"
5892 ac_path_GREP_max=$ac_count
5894 # 10*(2^10) chars as input seems more than enough
5895 test $ac_count -gt 10 && break
5896 done
5897 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5898 esac
5900 $ac_path_GREP_found && break 3
5901 done
5902 done
5903 done
5904 IFS=$as_save_IFS
5905 if test -z "$ac_cv_path_GREP"; then
5906 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5908 else
5909 ac_cv_path_GREP=$GREP
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5914 $as_echo "$ac_cv_path_GREP" >&6; }
5915 GREP="$ac_cv_path_GREP"
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5919 $as_echo_n "checking for egrep... " >&6; }
5920 if ${ac_cv_path_EGREP+:} false; then :
5921 $as_echo_n "(cached) " >&6
5922 else
5923 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5924 then ac_cv_path_EGREP="$GREP -E"
5925 else
5926 if test -z "$EGREP"; then
5927 ac_path_EGREP_found=false
5928 # Loop through the user's path and test for each of PROGNAME-LIST
5929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5932 IFS=$as_save_IFS
5933 test -z "$as_dir" && as_dir=.
5934 for ac_prog in egrep; do
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5937 as_fn_executable_p "$ac_path_EGREP" || continue
5938 # Check for GNU ac_path_EGREP and select it if it is found.
5939 # Check for GNU $ac_path_EGREP
5940 case `"$ac_path_EGREP" --version 2>&1` in
5941 *GNU*)
5942 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5944 ac_count=0
5945 $as_echo_n 0123456789 >"conftest.in"
5946 while :
5948 cat "conftest.in" "conftest.in" >"conftest.tmp"
5949 mv "conftest.tmp" "conftest.in"
5950 cp "conftest.in" "conftest.nl"
5951 $as_echo 'EGREP' >> "conftest.nl"
5952 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5953 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5954 as_fn_arith $ac_count + 1 && ac_count=$as_val
5955 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5956 # Best one so far, save it but keep looking for a better one
5957 ac_cv_path_EGREP="$ac_path_EGREP"
5958 ac_path_EGREP_max=$ac_count
5960 # 10*(2^10) chars as input seems more than enough
5961 test $ac_count -gt 10 && break
5962 done
5963 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5964 esac
5966 $ac_path_EGREP_found && break 3
5967 done
5968 done
5969 done
5970 IFS=$as_save_IFS
5971 if test -z "$ac_cv_path_EGREP"; then
5972 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5974 else
5975 ac_cv_path_EGREP=$EGREP
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5981 $as_echo "$ac_cv_path_EGREP" >&6; }
5982 EGREP="$ac_cv_path_EGREP"
5985 # Extract the first word of "ldconfig", so it can be a program name with args.
5986 set dummy ldconfig; ac_word=$2
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5988 $as_echo_n "checking for $ac_word... " >&6; }
5989 if ${ac_cv_path_LDCONFIG+:} false; then :
5990 $as_echo_n "(cached) " >&6
5991 else
5992 case $LDCONFIG in
5993 [\\/]* | ?:[\\/]*)
5994 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5998 for as_dir in /sbin /usr/sbin $PATH
6000 IFS=$as_save_IFS
6001 test -z "$as_dir" && as_dir=.
6002 for ac_exec_ext in '' $ac_executable_extensions; do
6003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6004 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6006 break 2
6008 done
6009 done
6010 IFS=$as_save_IFS
6012 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6014 esac
6016 LDCONFIG=$ac_cv_path_LDCONFIG
6017 if test -n "$LDCONFIG"; then
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6019 $as_echo "$LDCONFIG" >&6; }
6020 else
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6022 $as_echo "no" >&6; }
6026 for ac_prog in msgfmt
6028 # Extract the first word of "$ac_prog", so it can be a program name with args.
6029 set dummy $ac_prog; ac_word=$2
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6031 $as_echo_n "checking for $ac_word... " >&6; }
6032 if ${ac_cv_prog_MSGFMT+:} false; then :
6033 $as_echo_n "(cached) " >&6
6034 else
6035 if test -n "$MSGFMT"; then
6036 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6037 else
6038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6039 for as_dir in $PATH
6041 IFS=$as_save_IFS
6042 test -z "$as_dir" && as_dir=.
6043 for ac_exec_ext in '' $ac_executable_extensions; do
6044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6045 ac_cv_prog_MSGFMT="$ac_prog"
6046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6047 break 2
6049 done
6050 done
6051 IFS=$as_save_IFS
6055 MSGFMT=$ac_cv_prog_MSGFMT
6056 if test -n "$MSGFMT"; then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6058 $as_echo "$MSGFMT" >&6; }
6059 else
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6061 $as_echo "no" >&6; }
6065 test -n "$MSGFMT" && break
6066 done
6067 test -n "$MSGFMT" || MSGFMT="false"
6069 if ${ac_tool_prefix+:} false; then :
6070 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6071 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6073 $as_echo_n "checking for $ac_word... " >&6; }
6074 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6075 $as_echo_n "(cached) " >&6
6076 else
6077 if test -n "$PKG_CONFIG"; then
6078 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6079 else
6080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6081 for as_dir in $PATH
6083 IFS=$as_save_IFS
6084 test -z "$as_dir" && as_dir=.
6085 for ac_exec_ext in '' $ac_executable_extensions; do
6086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6087 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6089 break 2
6091 done
6092 done
6093 IFS=$as_save_IFS
6097 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6098 if test -n "$PKG_CONFIG"; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6100 $as_echo "$PKG_CONFIG" >&6; }
6101 else
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6103 $as_echo "no" >&6; }
6108 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6109 if test "x$cross_compiling" = xyes; then :
6111 else
6112 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6113 # Extract the first word of "pkg-config", so it can be a program name with args.
6114 set dummy pkg-config; ac_word=$2
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6116 $as_echo_n "checking for $ac_word... " >&6; }
6117 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6118 $as_echo_n "(cached) " >&6
6119 else
6120 if test -n "$PKG_CONFIG"; then
6121 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6122 else
6123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6124 for as_dir in $PATH
6126 IFS=$as_save_IFS
6127 test -z "$as_dir" && as_dir=.
6128 for ac_exec_ext in '' $ac_executable_extensions; do
6129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6130 ac_cv_prog_PKG_CONFIG="pkg-config"
6131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6132 break 2
6134 done
6135 done
6136 IFS=$as_save_IFS
6140 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6141 if test -n "$PKG_CONFIG"; then
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6143 $as_echo "$PKG_CONFIG" >&6; }
6144 else
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6146 $as_echo "no" >&6; }
6151 else
6152 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6155 if test "x$enable_maintainer_mode" != "xyes"
6156 then
6157 FONTFORGE=""
6158 RSVG=""
6159 CONVERT=""
6160 ICOTOOL=""
6161 else
6162 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6163 for ac_prog in fontforge
6165 # Extract the first word of "$ac_prog", so it can be a program name with args.
6166 set dummy $ac_prog; ac_word=$2
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 $as_echo_n "checking for $ac_word... " >&6; }
6169 if ${ac_cv_prog_FONTFORGE+:} false; then :
6170 $as_echo_n "(cached) " >&6
6171 else
6172 if test -n "$FONTFORGE"; then
6173 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6174 else
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 for as_dir in $PATH
6178 IFS=$as_save_IFS
6179 test -z "$as_dir" && as_dir=.
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6182 ac_cv_prog_FONTFORGE="$ac_prog"
6183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184 break 2
6186 done
6187 done
6188 IFS=$as_save_IFS
6192 FONTFORGE=$ac_cv_prog_FONTFORGE
6193 if test -n "$FONTFORGE"; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6195 $as_echo "$FONTFORGE" >&6; }
6196 else
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6202 test -n "$FONTFORGE" && break
6203 done
6204 test -n "$FONTFORGE" || FONTFORGE="false"
6206 for ac_prog in rsvg-convert rsvg
6208 # Extract the first word of "$ac_prog", so it can be a program name with args.
6209 set dummy $ac_prog; ac_word=$2
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6211 $as_echo_n "checking for $ac_word... " >&6; }
6212 if ${ac_cv_prog_RSVG+:} false; then :
6213 $as_echo_n "(cached) " >&6
6214 else
6215 if test -n "$RSVG"; then
6216 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6217 else
6218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6219 for as_dir in $PATH
6221 IFS=$as_save_IFS
6222 test -z "$as_dir" && as_dir=.
6223 for ac_exec_ext in '' $ac_executable_extensions; do
6224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6225 ac_cv_prog_RSVG="$ac_prog"
6226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6227 break 2
6229 done
6230 done
6231 IFS=$as_save_IFS
6235 RSVG=$ac_cv_prog_RSVG
6236 if test -n "$RSVG"; then
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6238 $as_echo "$RSVG" >&6; }
6239 else
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6241 $as_echo "no" >&6; }
6245 test -n "$RSVG" && break
6246 done
6247 test -n "$RSVG" || RSVG="false"
6249 for ac_prog in convert
6251 # Extract the first word of "$ac_prog", so it can be a program name with args.
6252 set dummy $ac_prog; ac_word=$2
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6254 $as_echo_n "checking for $ac_word... " >&6; }
6255 if ${ac_cv_prog_CONVERT+:} false; then :
6256 $as_echo_n "(cached) " >&6
6257 else
6258 if test -n "$CONVERT"; then
6259 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6260 else
6261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6262 for as_dir in $PATH
6264 IFS=$as_save_IFS
6265 test -z "$as_dir" && as_dir=.
6266 for ac_exec_ext in '' $ac_executable_extensions; do
6267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6268 ac_cv_prog_CONVERT="$ac_prog"
6269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6270 break 2
6272 done
6273 done
6274 IFS=$as_save_IFS
6278 CONVERT=$ac_cv_prog_CONVERT
6279 if test -n "$CONVERT"; then
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6281 $as_echo "$CONVERT" >&6; }
6282 else
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6284 $as_echo "no" >&6; }
6288 test -n "$CONVERT" && break
6289 done
6290 test -n "$CONVERT" || CONVERT="false"
6292 for ac_prog in icotool
6294 # Extract the first word of "$ac_prog", so it can be a program name with args.
6295 set dummy $ac_prog; ac_word=$2
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6297 $as_echo_n "checking for $ac_word... " >&6; }
6298 if ${ac_cv_prog_ICOTOOL+:} false; then :
6299 $as_echo_n "(cached) " >&6
6300 else
6301 if test -n "$ICOTOOL"; then
6302 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6303 else
6304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6305 for as_dir in $PATH
6307 IFS=$as_save_IFS
6308 test -z "$as_dir" && as_dir=.
6309 for ac_exec_ext in '' $ac_executable_extensions; do
6310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6311 ac_cv_prog_ICOTOOL="$ac_prog"
6312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6313 break 2
6315 done
6316 done
6317 IFS=$as_save_IFS
6321 ICOTOOL=$ac_cv_prog_ICOTOOL
6322 if test -n "$ICOTOOL"; then
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6324 $as_echo "$ICOTOOL" >&6; }
6325 else
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6327 $as_echo "no" >&6; }
6331 test -n "$ICOTOOL" && break
6332 done
6333 test -n "$ICOTOOL" || ICOTOOL="false"
6335 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6336 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6338 if test "$CONVERT" = false
6339 then
6340 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6341 else
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6343 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6344 convert_version=`convert --version | head -n1`
6345 if test "x$convert_version" != "x"
6346 then
6347 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6348 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6349 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6350 then
6351 CONVERT=false
6354 if test "$CONVERT" = false
6355 then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6357 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6358 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6359 else
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6361 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6365 if test "$ICOTOOL" = false
6366 then
6367 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6368 else
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6370 $as_echo_n "checking for recent enough icotool... " >&6; }
6371 icotool_version=`icotool --version | head -n1`
6372 if test "x$icotool_version" != "x"
6373 then
6374 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6375 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6376 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6377 then
6378 ICOTOOL=false
6379 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6382 if test "$ICOTOOL" = false
6383 then
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6385 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6386 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6387 else
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6389 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6393 with_gettext=yes
6394 with_gettextpo=yes
6395 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6398 test "x$with_gettext" != xno || MSGFMT=false
6399 if test "$MSGFMT" != "false"
6400 then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6402 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6403 cat >conftest.po <<EOF
6404 # comment
6405 msgctxt "ctxt"
6406 msgid "id"
6407 msgstr "str"
6409 if $MSGFMT -o /dev/null conftest.po 2>&5
6410 then
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6412 $as_echo "yes" >&6; }
6413 else
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6415 $as_echo "no" >&6; }
6416 MSGFMT=false
6419 if test "$MSGFMT" = false; then :
6420 case "x$with_gettext" in
6421 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6422 xno) ;;
6423 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6424 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6425 esac
6426 enable_po=${enable_po:-no}
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6431 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6432 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6433 $as_echo_n "(cached) " >&6
6434 else
6435 ac_check_lib_save_LIBS=$LIBS
6436 LIBS="-li386 $LIBS"
6437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6438 /* end confdefs.h. */
6440 /* Override any GCC internal prototype to avoid an error.
6441 Use char because int might match the return type of a GCC
6442 builtin and then its argument prototype would still apply. */
6443 #ifdef __cplusplus
6444 extern "C"
6445 #endif
6446 char i386_set_ldt ();
6448 main ()
6450 return i386_set_ldt ();
6452 return 0;
6454 _ACEOF
6455 if ac_fn_c_try_link "$LINENO"; then :
6456 ac_cv_lib_i386_i386_set_ldt=yes
6457 else
6458 ac_cv_lib_i386_i386_set_ldt=no
6460 rm -f core conftest.err conftest.$ac_objext \
6461 conftest$ac_exeext conftest.$ac_ext
6462 LIBS=$ac_check_lib_save_LIBS
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6465 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6466 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6467 cat >>confdefs.h <<_ACEOF
6468 #define HAVE_LIBI386 1
6469 _ACEOF
6471 LIBS="-li386 $LIBS"
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6476 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6477 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6478 $as_echo_n "(cached) " >&6
6479 else
6480 ac_check_lib_save_LIBS=$LIBS
6481 LIBS="-lossaudio $LIBS"
6482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6483 /* end confdefs.h. */
6485 /* Override any GCC internal prototype to avoid an error.
6486 Use char because int might match the return type of a GCC
6487 builtin and then its argument prototype would still apply. */
6488 #ifdef __cplusplus
6489 extern "C"
6490 #endif
6491 char _oss_ioctl ();
6493 main ()
6495 return _oss_ioctl ();
6497 return 0;
6499 _ACEOF
6500 if ac_fn_c_try_link "$LINENO"; then :
6501 ac_cv_lib_ossaudio__oss_ioctl=yes
6502 else
6503 ac_cv_lib_ossaudio__oss_ioctl=no
6505 rm -f core conftest.err conftest.$ac_objext \
6506 conftest$ac_exeext conftest.$ac_ext
6507 LIBS=$ac_check_lib_save_LIBS
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6510 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6511 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6512 cat >>confdefs.h <<_ACEOF
6513 #define HAVE_LIBOSSAUDIO 1
6514 _ACEOF
6516 LIBS="-lossaudio $LIBS"
6521 OPENGL_LIBS=""
6525 # Check whether --enable-largefile was given.
6526 if test "${enable_largefile+set}" = set; then :
6527 enableval=$enable_largefile;
6530 if test "$enable_largefile" != no; then
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6533 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6534 if ${ac_cv_sys_largefile_CC+:} false; then :
6535 $as_echo_n "(cached) " >&6
6536 else
6537 ac_cv_sys_largefile_CC=no
6538 if test "$GCC" != yes; then
6539 ac_save_CC=$CC
6540 while :; do
6541 # IRIX 6.2 and later do not support large files by default,
6542 # so use the C compiler's -n32 option if that helps.
6543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6544 /* end confdefs.h. */
6545 #include <sys/types.h>
6546 /* Check that off_t can represent 2**63 - 1 correctly.
6547 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6548 since some C++ compilers masquerading as C compilers
6549 incorrectly reject 9223372036854775807. */
6550 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6551 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6552 && LARGE_OFF_T % 2147483647 == 1)
6553 ? 1 : -1];
6555 main ()
6559 return 0;
6561 _ACEOF
6562 if ac_fn_c_try_compile "$LINENO"; then :
6563 break
6565 rm -f core conftest.err conftest.$ac_objext
6566 CC="$CC -n32"
6567 if ac_fn_c_try_compile "$LINENO"; then :
6568 ac_cv_sys_largefile_CC=' -n32'; break
6570 rm -f core conftest.err conftest.$ac_objext
6571 break
6572 done
6573 CC=$ac_save_CC
6574 rm -f conftest.$ac_ext
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6578 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6579 if test "$ac_cv_sys_largefile_CC" != no; then
6580 CC=$CC$ac_cv_sys_largefile_CC
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6584 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6585 if ${ac_cv_sys_file_offset_bits+:} false; then :
6586 $as_echo_n "(cached) " >&6
6587 else
6588 while :; do
6589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6590 /* end confdefs.h. */
6591 #include <sys/types.h>
6592 /* Check that off_t can represent 2**63 - 1 correctly.
6593 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6594 since some C++ compilers masquerading as C compilers
6595 incorrectly reject 9223372036854775807. */
6596 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6597 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6598 && LARGE_OFF_T % 2147483647 == 1)
6599 ? 1 : -1];
6601 main ()
6605 return 0;
6607 _ACEOF
6608 if ac_fn_c_try_compile "$LINENO"; then :
6609 ac_cv_sys_file_offset_bits=no; break
6611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6613 /* end confdefs.h. */
6614 #define _FILE_OFFSET_BITS 64
6615 #include <sys/types.h>
6616 /* Check that off_t can represent 2**63 - 1 correctly.
6617 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6618 since some C++ compilers masquerading as C compilers
6619 incorrectly reject 9223372036854775807. */
6620 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6621 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6622 && LARGE_OFF_T % 2147483647 == 1)
6623 ? 1 : -1];
6625 main ()
6629 return 0;
6631 _ACEOF
6632 if ac_fn_c_try_compile "$LINENO"; then :
6633 ac_cv_sys_file_offset_bits=64; break
6635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6636 ac_cv_sys_file_offset_bits=unknown
6637 break
6638 done
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6641 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6642 case $ac_cv_sys_file_offset_bits in #(
6643 no | unknown) ;;
6645 cat >>confdefs.h <<_ACEOF
6646 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6647 _ACEOF
6649 esac
6650 rm -rf conftest*
6651 if test $ac_cv_sys_file_offset_bits = unknown; then
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6653 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6654 if ${ac_cv_sys_large_files+:} false; then :
6655 $as_echo_n "(cached) " >&6
6656 else
6657 while :; do
6658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6659 /* end confdefs.h. */
6660 #include <sys/types.h>
6661 /* Check that off_t can represent 2**63 - 1 correctly.
6662 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6663 since some C++ compilers masquerading as C compilers
6664 incorrectly reject 9223372036854775807. */
6665 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6666 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6667 && LARGE_OFF_T % 2147483647 == 1)
6668 ? 1 : -1];
6670 main ()
6674 return 0;
6676 _ACEOF
6677 if ac_fn_c_try_compile "$LINENO"; then :
6678 ac_cv_sys_large_files=no; break
6680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6682 /* end confdefs.h. */
6683 #define _LARGE_FILES 1
6684 #include <sys/types.h>
6685 /* Check that off_t can represent 2**63 - 1 correctly.
6686 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6687 since some C++ compilers masquerading as C compilers
6688 incorrectly reject 9223372036854775807. */
6689 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6690 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6691 && LARGE_OFF_T % 2147483647 == 1)
6692 ? 1 : -1];
6694 main ()
6698 return 0;
6700 _ACEOF
6701 if ac_fn_c_try_compile "$LINENO"; then :
6702 ac_cv_sys_large_files=1; break
6704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6705 ac_cv_sys_large_files=unknown
6706 break
6707 done
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6710 $as_echo "$ac_cv_sys_large_files" >&6; }
6711 case $ac_cv_sys_large_files in #(
6712 no | unknown) ;;
6714 cat >>confdefs.h <<_ACEOF
6715 #define _LARGE_FILES $ac_cv_sys_large_files
6716 _ACEOF
6718 esac
6719 rm -rf conftest*
6726 ac_ext=c
6727 ac_cpp='$CPP $CPPFLAGS'
6728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6732 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6733 # On Suns, sometimes $CPP names a directory.
6734 if test -n "$CPP" && test -d "$CPP"; then
6735 CPP=
6737 if test -z "$CPP"; then
6738 if ${ac_cv_prog_CPP+:} false; then :
6739 $as_echo_n "(cached) " >&6
6740 else
6741 # Double quotes because CPP needs to be expanded
6742 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6744 ac_preproc_ok=false
6745 for ac_c_preproc_warn_flag in '' yes
6747 # Use a header file that comes with gcc, so configuring glibc
6748 # with a fresh cross-compiler works.
6749 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6750 # <limits.h> exists even on freestanding compilers.
6751 # On the NeXT, cc -E runs the code through the compiler's parser,
6752 # not just through cpp. "Syntax error" is here to catch this case.
6753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6754 /* end confdefs.h. */
6755 #ifdef __STDC__
6756 # include <limits.h>
6757 #else
6758 # include <assert.h>
6759 #endif
6760 Syntax error
6761 _ACEOF
6762 if ac_fn_c_try_cpp "$LINENO"; then :
6764 else
6765 # Broken: fails on valid input.
6766 continue
6768 rm -f conftest.err conftest.i conftest.$ac_ext
6770 # OK, works on sane cases. Now check whether nonexistent headers
6771 # can be detected and how.
6772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6773 /* end confdefs.h. */
6774 #include <ac_nonexistent.h>
6775 _ACEOF
6776 if ac_fn_c_try_cpp "$LINENO"; then :
6777 # Broken: success on invalid input.
6778 continue
6779 else
6780 # Passes both tests.
6781 ac_preproc_ok=:
6782 break
6784 rm -f conftest.err conftest.i conftest.$ac_ext
6786 done
6787 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6788 rm -f conftest.i conftest.err conftest.$ac_ext
6789 if $ac_preproc_ok; then :
6790 break
6793 done
6794 ac_cv_prog_CPP=$CPP
6797 CPP=$ac_cv_prog_CPP
6798 else
6799 ac_cv_prog_CPP=$CPP
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6802 $as_echo "$CPP" >&6; }
6803 ac_preproc_ok=false
6804 for ac_c_preproc_warn_flag in '' yes
6806 # Use a header file that comes with gcc, so configuring glibc
6807 # with a fresh cross-compiler works.
6808 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6809 # <limits.h> exists even on freestanding compilers.
6810 # On the NeXT, cc -E runs the code through the compiler's parser,
6811 # not just through cpp. "Syntax error" is here to catch this case.
6812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6813 /* end confdefs.h. */
6814 #ifdef __STDC__
6815 # include <limits.h>
6816 #else
6817 # include <assert.h>
6818 #endif
6819 Syntax error
6820 _ACEOF
6821 if ac_fn_c_try_cpp "$LINENO"; then :
6823 else
6824 # Broken: fails on valid input.
6825 continue
6827 rm -f conftest.err conftest.i conftest.$ac_ext
6829 # OK, works on sane cases. Now check whether nonexistent headers
6830 # can be detected and how.
6831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6832 /* end confdefs.h. */
6833 #include <ac_nonexistent.h>
6834 _ACEOF
6835 if ac_fn_c_try_cpp "$LINENO"; then :
6836 # Broken: success on invalid input.
6837 continue
6838 else
6839 # Passes both tests.
6840 ac_preproc_ok=:
6841 break
6843 rm -f conftest.err conftest.i conftest.$ac_ext
6845 done
6846 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6847 rm -f conftest.i conftest.err conftest.$ac_ext
6848 if $ac_preproc_ok; then :
6850 else
6851 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6853 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6854 See \`config.log' for more details" "$LINENO" 5; }
6857 ac_ext=c
6858 ac_cpp='$CPP $CPPFLAGS'
6859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6865 $as_echo_n "checking for ANSI C header files... " >&6; }
6866 if ${ac_cv_header_stdc+:} false; then :
6867 $as_echo_n "(cached) " >&6
6868 else
6869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6870 /* end confdefs.h. */
6871 #include <stdlib.h>
6872 #include <stdarg.h>
6873 #include <string.h>
6874 #include <float.h>
6877 main ()
6881 return 0;
6883 _ACEOF
6884 if ac_fn_c_try_compile "$LINENO"; then :
6885 ac_cv_header_stdc=yes
6886 else
6887 ac_cv_header_stdc=no
6889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6891 if test $ac_cv_header_stdc = yes; then
6892 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6894 /* end confdefs.h. */
6895 #include <string.h>
6897 _ACEOF
6898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6899 $EGREP "memchr" >/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 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6911 /* end confdefs.h. */
6912 #include <stdlib.h>
6914 _ACEOF
6915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6916 $EGREP "free" >/dev/null 2>&1; then :
6918 else
6919 ac_cv_header_stdc=no
6921 rm -f conftest*
6925 if test $ac_cv_header_stdc = yes; then
6926 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6927 if test "$cross_compiling" = yes; then :
6929 else
6930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6931 /* end confdefs.h. */
6932 #include <ctype.h>
6933 #include <stdlib.h>
6934 #if ((' ' & 0x0FF) == 0x020)
6935 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6936 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6937 #else
6938 # define ISLOWER(c) \
6939 (('a' <= (c) && (c) <= 'i') \
6940 || ('j' <= (c) && (c) <= 'r') \
6941 || ('s' <= (c) && (c) <= 'z'))
6942 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6943 #endif
6945 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6947 main ()
6949 int i;
6950 for (i = 0; i < 256; i++)
6951 if (XOR (islower (i), ISLOWER (i))
6952 || toupper (i) != TOUPPER (i))
6953 return 2;
6954 return 0;
6956 _ACEOF
6957 if ac_fn_c_try_run "$LINENO"; then :
6959 else
6960 ac_cv_header_stdc=no
6962 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6963 conftest.$ac_objext conftest.beam conftest.$ac_ext
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6969 $as_echo "$ac_cv_header_stdc" >&6; }
6970 if test $ac_cv_header_stdc = yes; then
6972 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6976 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6977 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6978 inttypes.h stdint.h unistd.h
6979 do :
6980 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6981 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6983 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6984 cat >>confdefs.h <<_ACEOF
6985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6986 _ACEOF
6990 done
6993 for ac_header in \
6994 AL/al.h \
6995 ApplicationServices/ApplicationServices.h \
6996 AudioToolbox/AudioConverter.h \
6997 AudioUnit/AudioUnit.h \
6998 AudioUnit/AudioComponent.h \
6999 CL/cl.h \
7000 Carbon/Carbon.h \
7001 CommonCrypto/CommonCryptor.h \
7002 CoreAudio/CoreAudio.h \
7003 CoreServices/CoreServices.h \
7004 DiskArbitration/DiskArbitration.h \
7005 EGL/egl.h \
7006 IOKit/IOKitLib.h \
7007 IOKit/hid/IOHIDLib.h \
7008 OpenAL/al.h \
7009 OpenCL/opencl.h \
7010 QuickTime/ImageCompression.h \
7011 Security/Security.h \
7012 alias.h \
7013 alsa/asoundlib.h \
7014 arpa/inet.h \
7015 arpa/nameser.h \
7016 asm/types.h \
7017 asm/user.h \
7018 curses.h \
7019 direct.h \
7020 dirent.h \
7021 dlfcn.h \
7022 elf.h \
7023 float.h \
7024 fnmatch.h \
7025 getopt.h \
7026 gettext-po.h \
7027 grp.h \
7028 gsm.h \
7029 gsm/gsm.h \
7030 ieeefp.h \
7031 inet/mib2.h \
7032 io.h \
7033 kstat.h \
7034 libproc.h \
7035 link.h \
7036 linux/cdrom.h \
7037 linux/compiler.h \
7038 linux/filter.h \
7039 linux/hdreg.h \
7040 linux/hidraw.h \
7041 linux/input.h \
7042 linux/ioctl.h \
7043 linux/joystick.h \
7044 linux/major.h \
7045 linux/param.h \
7046 linux/serial.h \
7047 linux/types.h \
7048 linux/ucdrom.h \
7049 lwp.h \
7050 mach-o/nlist.h \
7051 mach-o/loader.h \
7052 mach/mach.h \
7053 mach/machine.h \
7054 machine/cpu.h \
7055 machine/limits.h \
7056 machine/sysarch.h \
7057 mntent.h \
7058 ncurses.h \
7059 netdb.h \
7060 netinet/in.h \
7061 netinet/in_systm.h \
7062 netinet/tcp.h \
7063 netinet/tcp_fsm.h \
7064 pcap/pcap.h \
7065 poll.h \
7066 port.h \
7067 process.h \
7068 pthread.h \
7069 pwd.h \
7070 sched.h \
7071 scsi/scsi.h \
7072 scsi/scsi_ioctl.h \
7073 scsi/sg.h \
7074 stdbool.h \
7075 stdint.h \
7076 stropts.h \
7077 sys/asoundlib.h \
7078 sys/attr.h \
7079 sys/auxv.h \
7080 sys/cdio.h \
7081 sys/elf32.h \
7082 sys/epoll.h \
7083 sys/event.h \
7084 sys/exec_elf.h \
7085 sys/filio.h \
7086 sys/inotify.h \
7087 sys/ioctl.h \
7088 sys/ipc.h \
7089 sys/limits.h \
7090 sys/link.h \
7091 sys/mman.h \
7092 sys/modem.h \
7093 sys/msg.h \
7094 sys/mtio.h \
7095 sys/param.h \
7096 sys/poll.h \
7097 sys/prctl.h \
7098 sys/protosw.h \
7099 sys/ptrace.h \
7100 sys/queue.h \
7101 sys/resource.h \
7102 sys/scsiio.h \
7103 sys/shm.h \
7104 sys/signal.h \
7105 sys/socket.h \
7106 sys/socketvar.h \
7107 sys/sockio.h \
7108 sys/statvfs.h \
7109 sys/strtio.h \
7110 sys/syscall.h \
7111 sys/sysinfo.h \
7112 sys/tihdr.h \
7113 sys/time.h \
7114 sys/timeout.h \
7115 sys/times.h \
7116 sys/uio.h \
7117 sys/user.h \
7118 sys/utsname.h \
7119 sys/vnode.h \
7120 sys/wait.h \
7121 syscall.h \
7122 termios.h \
7123 unistd.h \
7124 utime.h \
7125 valgrind/memcheck.h \
7126 valgrind/valgrind.h \
7127 zlib.h
7129 do :
7130 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7131 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7132 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7133 cat >>confdefs.h <<_ACEOF
7134 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7135 _ACEOF
7139 done
7141 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7142 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7144 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7149 if test $ac_cv_header_sys_mkdev_h = no; then
7150 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7151 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7153 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7160 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7161 if ${ac_cv_header_stat_broken+:} false; then :
7162 $as_echo_n "(cached) " >&6
7163 else
7164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7165 /* end confdefs.h. */
7166 #include <sys/types.h>
7167 #include <sys/stat.h>
7169 #if defined S_ISBLK && defined S_IFDIR
7170 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7171 #endif
7173 #if defined S_ISBLK && defined S_IFCHR
7174 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7175 #endif
7177 #if defined S_ISLNK && defined S_IFREG
7178 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7179 #endif
7181 #if defined S_ISSOCK && defined S_IFREG
7182 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7183 #endif
7185 _ACEOF
7186 if ac_fn_c_try_compile "$LINENO"; then :
7187 ac_cv_header_stat_broken=no
7188 else
7189 ac_cv_header_stat_broken=yes
7191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7194 $as_echo "$ac_cv_header_stat_broken" >&6; }
7195 if test $ac_cv_header_stat_broken = yes; then
7197 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7203 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7204 do :
7205 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7206 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7207 #ifdef HAVE_SYS_PARAM_H
7208 # include <sys/param.h>
7209 #endif
7211 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7212 cat >>confdefs.h <<_ACEOF
7213 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7214 _ACEOF
7218 done
7221 for ac_header in \
7222 netinet/ip.h \
7223 net/if.h \
7224 net/if_arp.h \
7225 net/if_dl.h \
7226 net/if_types.h \
7227 net/route.h \
7228 netinet/if_ether.h \
7229 netinet/if_inarp.h \
7230 netinet/in_pcb.h \
7231 netinet/ip_icmp.h \
7232 netinet/ip_var.h \
7233 netinet/udp.h \
7234 netipx/ipx.h \
7235 sys/un.h \
7237 do :
7238 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7239 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7240 #ifdef HAVE_SYS_SOCKET_H
7241 # include <sys/socket.h>
7242 #endif
7243 #ifdef HAVE_SYS_SOCKETVAR_H
7244 # include <sys/socketvar.h>
7245 #endif
7246 #ifdef HAVE_NET_ROUTE_H
7247 # include <net/route.h>
7248 #endif
7249 #ifdef HAVE_NETINET_IN_H
7250 # include <netinet/in.h>
7251 #endif
7252 #ifdef HAVE_NETINET_IN_SYSTM_H
7253 # include <netinet/in_systm.h>
7254 #endif
7255 #ifdef HAVE_NET_IF_H
7256 # include <net/if.h>
7257 #endif
7258 #ifdef HAVE_NETINET_IP_H
7259 # include <netinet/ip.h>
7260 #endif
7262 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7263 cat >>confdefs.h <<_ACEOF
7264 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7265 _ACEOF
7269 done
7272 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7273 do :
7274 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7275 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7276 #ifdef HAVE_ALIAS_H
7277 # include <alias.h>
7278 #endif
7279 #ifdef HAVE_SYS_SOCKET_H
7280 # include <sys/socket.h>
7281 #endif
7282 #ifdef HAVE_SYS_SOCKETVAR_H
7283 # include <sys/socketvar.h>
7284 #endif
7285 #ifdef HAVE_SYS_TIMEOUT_H
7286 # include <sys/timeout.h>
7287 #endif
7288 #ifdef HAVE_NETINET_IN_H
7289 # include <netinet/in.h>
7290 #endif
7291 #ifdef HAVE_NETINET_IN_SYSTM_H
7292 # include <netinet/in_systm.h>
7293 #endif
7294 #ifdef HAVE_NETINET_IP_H
7295 # include <netinet/ip.h>
7296 #endif
7297 #ifdef HAVE_NETINET_IP_VAR_H
7298 # include <netinet/ip_var.h>
7299 #endif
7300 #ifdef HAVE_NETINET_IP_ICMP_H
7301 # include <netinet/ip_icmp.h>
7302 #endif
7303 #ifdef HAVE_NETINET_UDP_H
7304 # include <netinet/udp.h>
7305 #endif
7306 #ifdef HAVE_NETINET_TCP_H
7307 # include <netinet/tcp.h>
7308 #endif
7309 #ifdef HAVE_NETINET_TCP_TIMER_H
7310 #include <netinet/tcp_timer.h>
7311 #endif
7313 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7314 cat >>confdefs.h <<_ACEOF
7315 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7316 _ACEOF
7320 done
7323 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7324 do :
7325 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7326 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7327 #ifdef HAVE_ASM_TYPES_H
7328 # include <asm/types.h>
7329 #endif
7330 #ifdef HAVE_SYS_SOCKET_H
7331 # include <sys/socket.h>
7332 #endif
7333 #ifdef HAVE_LINUX_TYPES_H
7334 # include <linux/types.h>
7335 #endif
7337 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7338 cat >>confdefs.h <<_ACEOF
7339 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7340 _ACEOF
7344 done
7347 for ac_header in mach-o/dyld_images.h
7348 do :
7349 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7350 # include <stdbool.h>
7351 #endif
7352 #ifdef HAVE_STDINT_H
7353 # include <stdint.h>
7354 #endif
7356 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7357 cat >>confdefs.h <<_ACEOF
7358 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7359 _ACEOF
7363 done
7366 for ac_header in resolv.h
7367 do :
7368 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7369 #ifdef HAVE_SYS_SOCKET_H
7370 # include <sys/socket.h>
7371 #endif
7372 #ifdef HAVE_NETINET_IN_H
7373 # include <netinet/in.h>
7374 #endif
7375 #ifdef HAVE_ARPA_NAMESER_H
7376 # include <arpa/nameser.h>
7377 #endif
7379 if test "x$ac_cv_header_resolv_h" = xyes; then :
7380 cat >>confdefs.h <<_ACEOF
7381 #define HAVE_RESOLV_H 1
7382 _ACEOF
7386 done
7389 for ac_header in ifaddrs.h
7390 do :
7391 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7393 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7394 cat >>confdefs.h <<_ACEOF
7395 #define HAVE_IFADDRS_H 1
7396 _ACEOF
7400 done
7403 for ac_header in sys/ucontext.h
7404 do :
7405 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7407 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7408 cat >>confdefs.h <<_ACEOF
7409 #define HAVE_SYS_UCONTEXT_H 1
7410 _ACEOF
7414 done
7417 for ac_header in sys/thr.h
7418 do :
7419 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7420 #ifdef HAVE_SYS_UCONTEXT_H
7421 #include <sys/ucontext.h>
7422 #endif
7424 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7425 cat >>confdefs.h <<_ACEOF
7426 #define HAVE_SYS_THR_H 1
7427 _ACEOF
7431 done
7434 for ac_header in pthread_np.h
7435 do :
7436 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7437 #include <pthread.h>
7438 #endif
7440 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7441 cat >>confdefs.h <<_ACEOF
7442 #define HAVE_PTHREAD_NP_H 1
7443 _ACEOF
7447 done
7450 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7451 do :
7452 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7453 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7454 #include <sys/time.h>
7455 #endif
7456 #include <sys/types.h>
7457 #ifdef HAVE_ASM_TYPES_H
7458 #include <asm/types.h>
7459 #endif
7461 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7462 cat >>confdefs.h <<_ACEOF
7463 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7464 _ACEOF
7468 done
7471 for ac_header in libprocstat.h
7472 do :
7473 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7474 #include <sys/param.h>
7475 #endif
7476 #ifdef HAVE_SYS_QUEUE_H
7477 #include <sys/queue.h>
7478 #endif
7479 #ifdef HAVE_SYS_SOCKET_H
7480 #include <sys/socket.h>
7481 #endif
7483 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7484 cat >>confdefs.h <<_ACEOF
7485 #define HAVE_LIBPROCSTAT_H 1
7486 _ACEOF
7490 done
7494 DLLFLAGS="-D_REENTRANT"
7496 LDRPATH_INSTALL=""
7498 LDRPATH_LOCAL=""
7500 LDEXECFLAGS=""
7502 WINELOADER_LDFLAGS=""
7504 LIBEXT="so"
7505 DLLEXT=".so"
7506 IMPLIBEXT="def"
7507 # Extract the first word of "ldd", so it can be a program name with args.
7508 set dummy ldd; ac_word=$2
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7510 $as_echo_n "checking for $ac_word... " >&6; }
7511 if ${ac_cv_path_LDD+:} false; then :
7512 $as_echo_n "(cached) " >&6
7513 else
7514 case $LDD in
7515 [\\/]* | ?:[\\/]*)
7516 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7520 as_dummy="/sbin:/usr/sbin:$PATH"
7521 for as_dir in $as_dummy
7523 IFS=$as_save_IFS
7524 test -z "$as_dir" && as_dir=.
7525 for ac_exec_ext in '' $ac_executable_extensions; do
7526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7527 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7529 break 2
7531 done
7532 done
7533 IFS=$as_save_IFS
7535 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7537 esac
7539 LDD=$ac_cv_path_LDD
7540 if test -n "$LDD"; then
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7542 $as_echo "$LDD" >&6; }
7543 else
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7545 $as_echo "no" >&6; }
7549 if test -n "$ac_tool_prefix"; then
7550 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7551 set dummy ${ac_tool_prefix}otool; ac_word=$2
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7553 $as_echo_n "checking for $ac_word... " >&6; }
7554 if ${ac_cv_prog_OTOOL+:} false; then :
7555 $as_echo_n "(cached) " >&6
7556 else
7557 if test -n "$OTOOL"; then
7558 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7559 else
7560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7561 for as_dir in $PATH
7563 IFS=$as_save_IFS
7564 test -z "$as_dir" && as_dir=.
7565 for ac_exec_ext in '' $ac_executable_extensions; do
7566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7567 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7569 break 2
7571 done
7572 done
7573 IFS=$as_save_IFS
7577 OTOOL=$ac_cv_prog_OTOOL
7578 if test -n "$OTOOL"; then
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7580 $as_echo "$OTOOL" >&6; }
7581 else
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7583 $as_echo "no" >&6; }
7588 if test -z "$ac_cv_prog_OTOOL"; then
7589 ac_ct_OTOOL=$OTOOL
7590 # Extract the first word of "otool", so it can be a program name with args.
7591 set dummy otool; ac_word=$2
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7593 $as_echo_n "checking for $ac_word... " >&6; }
7594 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7595 $as_echo_n "(cached) " >&6
7596 else
7597 if test -n "$ac_ct_OTOOL"; then
7598 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7599 else
7600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7601 for as_dir in $PATH
7603 IFS=$as_save_IFS
7604 test -z "$as_dir" && as_dir=.
7605 for ac_exec_ext in '' $ac_executable_extensions; do
7606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7607 ac_cv_prog_ac_ct_OTOOL="otool"
7608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7609 break 2
7611 done
7612 done
7613 IFS=$as_save_IFS
7617 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7618 if test -n "$ac_ct_OTOOL"; then
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7620 $as_echo "$ac_ct_OTOOL" >&6; }
7621 else
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7623 $as_echo "no" >&6; }
7626 if test "x$ac_ct_OTOOL" = x; then
7627 OTOOL="otool"
7628 else
7629 case $cross_compiling:$ac_tool_warned in
7630 yes:)
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7633 ac_tool_warned=yes ;;
7634 esac
7635 OTOOL=$ac_ct_OTOOL
7637 else
7638 OTOOL="$ac_cv_prog_OTOOL"
7641 if test -n "$ac_tool_prefix"; then
7642 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7643 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7645 $as_echo_n "checking for $ac_word... " >&6; }
7646 if ${ac_cv_prog_READELF+:} false; then :
7647 $as_echo_n "(cached) " >&6
7648 else
7649 if test -n "$READELF"; then
7650 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7651 else
7652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7653 for as_dir in $PATH
7655 IFS=$as_save_IFS
7656 test -z "$as_dir" && as_dir=.
7657 for ac_exec_ext in '' $ac_executable_extensions; do
7658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7659 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7661 break 2
7663 done
7664 done
7665 IFS=$as_save_IFS
7669 READELF=$ac_cv_prog_READELF
7670 if test -n "$READELF"; then
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7672 $as_echo "$READELF" >&6; }
7673 else
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7675 $as_echo "no" >&6; }
7680 if test -z "$ac_cv_prog_READELF"; then
7681 ac_ct_READELF=$READELF
7682 # Extract the first word of "readelf", so it can be a program name with args.
7683 set dummy readelf; ac_word=$2
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7685 $as_echo_n "checking for $ac_word... " >&6; }
7686 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7687 $as_echo_n "(cached) " >&6
7688 else
7689 if test -n "$ac_ct_READELF"; then
7690 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7691 else
7692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7693 for as_dir in $PATH
7695 IFS=$as_save_IFS
7696 test -z "$as_dir" && as_dir=.
7697 for ac_exec_ext in '' $ac_executable_extensions; do
7698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7699 ac_cv_prog_ac_ct_READELF="readelf"
7700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7701 break 2
7703 done
7704 done
7705 IFS=$as_save_IFS
7709 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7710 if test -n "$ac_ct_READELF"; then
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7712 $as_echo "$ac_ct_READELF" >&6; }
7713 else
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7715 $as_echo "no" >&6; }
7718 if test "x$ac_ct_READELF" = x; then
7719 READELF="true"
7720 else
7721 case $cross_compiling:$ac_tool_warned in
7722 yes:)
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7725 ac_tool_warned=yes ;;
7726 esac
7727 READELF=$ac_ct_READELF
7729 else
7730 READELF="$ac_cv_prog_READELF"
7733 wine_rules_file=conf$$rules.make
7734 rm -f $wine_rules_file
7735 SUBDIRS=""
7737 DISABLED_SUBDIRS=""
7739 CONFIGURE_TARGETS=""
7742 wine_fn_append_file ()
7744 as_fn_append $1 " \\$as_nl $2"
7747 wine_fn_append_rule ()
7749 $as_echo "$1" >>$wine_rules_file
7752 wine_fn_config_makefile ()
7754 wine_fn_append_file SUBDIRS $1
7755 if eval test \"x\$"$2"\" = x"no"; then :
7756 wine_fn_append_file DISABLED_SUBDIRS $1
7760 wine_fn_config_symlink ()
7762 ac_links=$@
7763 wine_fn_append_rule \
7764 "$ac_links:
7765 @./config.status \$@"
7766 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7769 wine_binary="wine"
7770 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7771 WINELOADER_PROGRAMS="$wine_binary"
7773 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7775 case $host_os in
7776 cygwin*|mingw32*)
7777 if test -n "$ac_tool_prefix"; then
7778 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7779 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7781 $as_echo_n "checking for $ac_word... " >&6; }
7782 if ${ac_cv_prog_DLLTOOL+:} false; then :
7783 $as_echo_n "(cached) " >&6
7784 else
7785 if test -n "$DLLTOOL"; then
7786 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7787 else
7788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7789 for as_dir in $PATH
7791 IFS=$as_save_IFS
7792 test -z "$as_dir" && as_dir=.
7793 for ac_exec_ext in '' $ac_executable_extensions; do
7794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7795 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7797 break 2
7799 done
7800 done
7801 IFS=$as_save_IFS
7805 DLLTOOL=$ac_cv_prog_DLLTOOL
7806 if test -n "$DLLTOOL"; then
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7808 $as_echo "$DLLTOOL" >&6; }
7809 else
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7811 $as_echo "no" >&6; }
7816 if test -z "$ac_cv_prog_DLLTOOL"; then
7817 ac_ct_DLLTOOL=$DLLTOOL
7818 # Extract the first word of "dlltool", so it can be a program name with args.
7819 set dummy dlltool; ac_word=$2
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7821 $as_echo_n "checking for $ac_word... " >&6; }
7822 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7823 $as_echo_n "(cached) " >&6
7824 else
7825 if test -n "$ac_ct_DLLTOOL"; then
7826 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7827 else
7828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7829 for as_dir in $PATH
7831 IFS=$as_save_IFS
7832 test -z "$as_dir" && as_dir=.
7833 for ac_exec_ext in '' $ac_executable_extensions; do
7834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7835 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7837 break 2
7839 done
7840 done
7841 IFS=$as_save_IFS
7845 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7846 if test -n "$ac_ct_DLLTOOL"; then
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7848 $as_echo "$ac_ct_DLLTOOL" >&6; }
7849 else
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7851 $as_echo "no" >&6; }
7854 if test "x$ac_ct_DLLTOOL" = x; then
7855 DLLTOOL="false"
7856 else
7857 case $cross_compiling:$ac_tool_warned in
7858 yes:)
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7861 ac_tool_warned=yes ;;
7862 esac
7863 DLLTOOL=$ac_ct_DLLTOOL
7865 else
7866 DLLTOOL="$ac_cv_prog_DLLTOOL"
7869 LIBEXT="dll"
7870 DLLEXT=""
7871 IMPLIBEXT="a"
7872 enable_iphlpapi=${enable_iphlpapi:-no}
7873 enable_kernel32=${enable_kernel32:-no}
7874 enable_msvcrt=${enable_msvcrt:-no}
7875 enable_ntdll=${enable_ntdll:-no}
7876 enable_ws2_32=${enable_ws2_32:-no}
7877 enable_loader=${enable_loader:-no}
7878 enable_server=${enable_server:-no}
7879 with_x=${with_x:-no}
7880 with_pthread=${with_pthread:-no}
7882 crtlibs=""
7883 case $host_os in
7884 mingw32*)
7885 crtlibs="-lmsvcrt"
7886 SOCKET_LIBS="-lws2_32"
7888 esac
7890 LIBWINE_SHAREDLIB="libwine.dll"
7892 LIBWINE_IMPORTLIB="libwine.a"
7894 LIBWINE_INSTALL_LIB="libwine.dll"
7896 LIBWINE_INSTALL_DEV="libwine.a"
7898 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7900 LIBWINE_DEPENDS="wine.def"
7904 darwin*|macosx*)
7905 for ac_header in libunwind.h
7906 do :
7907 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7908 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7909 cat >>confdefs.h <<_ACEOF
7910 #define HAVE_LIBUNWIND_H 1
7911 _ACEOF
7915 done
7917 LIBEXT="dylib"
7918 DLLFLAGS="$DLLFLAGS -fPIC"
7919 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7920 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7921 COREFOUNDATION_LIBS="-framework CoreFoundation"
7923 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7925 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7927 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7929 CORESERVICES_LIBS="-framework CoreServices"
7931 APPKIT_LIBS="-framework AppKit"
7933 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7935 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7936 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7937 $as_echo_n "(cached) " >&6
7938 else
7939 ac_wine_try_cflags_saved=$CFLAGS
7940 CFLAGS="$CFLAGS -Wl,-no_pie"
7941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7942 /* end confdefs.h. */
7943 int main(int argc, char **argv) { return 0; }
7944 _ACEOF
7945 if ac_fn_c_try_link "$LINENO"; then :
7946 ac_cv_cflags__Wl__no_pie=yes
7947 else
7948 ac_cv_cflags__Wl__no_pie=no
7950 rm -f core conftest.err conftest.$ac_objext \
7951 conftest$ac_exeext conftest.$ac_ext
7952 CFLAGS=$ac_wine_try_cflags_saved
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7955 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7956 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7957 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
7959 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7960 then
7961 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7964 if test "$ac_cv_header_Security_Security_h" = "yes"
7965 then
7966 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7968 ac_save_LIBS="$LIBS"
7969 LIBS="$LIBS $SECURITY_LIBS"
7970 for ac_func in SSLCopyPeerCertificates
7971 do :
7972 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7973 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7974 cat >>confdefs.h <<_ACEOF
7975 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7976 _ACEOF
7979 done
7981 LIBS="$ac_save_LIBS"
7982 with_gnutls=${with_gnutls:-no}
7984 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7985 then
7986 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7987 then
7988 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7990 else
7991 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7994 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
7995 ac_save_LIBS="$LIBS"
7996 LIBS="$LIBS $COREAUDIO_LIBS"
7997 for ac_func in AUGraphAddNode
7998 do :
7999 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8000 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8001 cat >>confdefs.h <<_ACEOF
8002 #define HAVE_AUGRAPHADDNODE 1
8003 _ACEOF
8006 done
8008 LIBS="$ac_save_LIBS"
8010 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8011 then
8012 OPENAL_LIBS="-framework OpenAL"
8015 cat >>confdefs.h <<_ACEOF
8016 #define HAVE_OPENAL 1
8017 _ACEOF
8019 ac_cv_lib_openal=yes
8021 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8022 then
8023 OPENCL_LIBS="-framework OpenCL"
8025 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8027 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8028 then
8029 ac_save_LIBS="$LIBS"
8030 LIBS="$LIBS $IOKIT_LIBS"
8031 for ac_func in IOHIDManagerCreate
8032 do :
8033 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8034 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8035 cat >>confdefs.h <<_ACEOF
8036 #define HAVE_IOHIDMANAGERCREATE 1
8037 _ACEOF
8040 done
8042 LIBS="$ac_save_LIBS"
8044 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8045 then
8046 ac_save_LIBS="$LIBS"
8047 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8049 $as_echo_n "checking for the QuickTime framework... " >&6; }
8050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8051 /* end confdefs.h. */
8052 #include <QuickTime/ImageCompression.h>
8054 main ()
8056 CodecManagerVersion(NULL);
8058 return 0;
8060 _ACEOF
8061 if ac_fn_c_try_link "$LINENO"; then :
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8063 $as_echo "yes" >&6; }
8064 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8066 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8067 else
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8069 $as_echo "no" >&6; }
8070 ac_cv_header_QuickTime_ImageCompression_h=no
8072 rm -f core conftest.err conftest.$ac_objext \
8073 conftest$ac_exeext conftest.$ac_ext
8074 LIBS="$ac_save_LIBS"
8076 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8077 then
8078 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8080 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8081 then
8082 CARBON_LIBS="-framework Carbon"
8086 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8087 then
8088 ac_save_LIBS="$LIBS"
8089 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8090 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8091 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8092 enable_winemac_drv=${enable_winemac_drv:-yes}
8095 LIBS="$ac_save_LIBS"
8098 if test "x$enable_win16" = "xyes"
8099 then
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8101 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8102 if test "$cross_compiling" = yes; then :
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8104 $as_echo "cross-compiling, assuming yes" >&6; }
8105 else
8106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8107 /* end confdefs.h. */
8108 asm(".text\n"
8109 "bad:\tnop;nop\n"
8110 "good:\tnop;nop\n\t"
8111 ".globl _testfunc\n"
8112 "_testfunc:\tcallw good");
8113 extern void testfunc();
8115 main ()
8117 unsigned short *p = (unsigned short *)testfunc;
8118 return p[0] != 0xe866 || p[1] != 0xfffa
8120 return 0;
8122 _ACEOF
8123 if ac_fn_c_try_run "$LINENO"; then :
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8125 $as_echo "yes" >&6; }
8126 else
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8128 $as_echo "no" >&6; }
8129 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
8131 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8132 conftest.$ac_objext conftest.beam conftest.$ac_ext
8137 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8139 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8141 LIBWINE_INSTALL_DEV="libwine.dylib"
8143 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8145 WINELOADER_DEPENDS="wine_info.plist"
8149 linux-android*)
8150 DLLFLAGS="$DLLFLAGS -fPIC"
8151 LDEXECFLAGS="-Wl,-pie"
8152 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8154 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8155 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8156 $as_echo_n "(cached) " >&6
8157 else
8158 ac_wine_try_cflags_saved=$CFLAGS
8159 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8161 /* end confdefs.h. */
8162 int main(int argc, char **argv) { return 0; }
8163 _ACEOF
8164 if ac_fn_c_try_link "$LINENO"; then :
8165 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8166 else
8167 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8169 rm -f core conftest.err conftest.$ac_objext \
8170 conftest$ac_exeext conftest.$ac_ext
8171 CFLAGS=$ac_wine_try_cflags_saved
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8174 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8175 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8176 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8178 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8180 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8181 if eval \${$as_ac_var+:} false; then :
8182 $as_echo_n "(cached) " >&6
8183 else
8184 ac_wine_try_cflags_saved=$CFLAGS
8185 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8187 /* end confdefs.h. */
8188 int main(int argc, char **argv) { return 0; }
8189 _ACEOF
8190 if ac_fn_c_try_link "$LINENO"; then :
8191 eval "$as_ac_var=yes"
8192 else
8193 eval "$as_ac_var=no"
8195 rm -f core conftest.err conftest.$ac_objext \
8196 conftest$ac_exeext conftest.$ac_ext
8197 CFLAGS=$ac_wine_try_cflags_saved
8199 eval ac_res=\$$as_ac_var
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8201 $as_echo "$ac_res" >&6; }
8202 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8203 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8204 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8205 else
8206 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8208 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8209 if eval \${$as_ac_var+:} false; then :
8210 $as_echo_n "(cached) " >&6
8211 else
8212 ac_wine_try_cflags_saved=$CFLAGS
8213 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8215 /* end confdefs.h. */
8216 int main(int argc, char **argv) { return 0; }
8217 _ACEOF
8218 if ac_fn_c_try_link "$LINENO"; then :
8219 eval "$as_ac_var=yes"
8220 else
8221 eval "$as_ac_var=no"
8223 rm -f core conftest.err conftest.$ac_objext \
8224 conftest$ac_exeext conftest.$ac_ext
8225 CFLAGS=$ac_wine_try_cflags_saved
8227 eval ac_res=\$$as_ac_var
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8229 $as_echo "$ac_res" >&6; }
8230 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8231 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8232 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8236 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8237 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8238 $as_echo_n "(cached) " >&6
8239 else
8240 ac_wine_try_cflags_saved=$CFLAGS
8241 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8243 /* end confdefs.h. */
8244 int main(int argc, char **argv) { return 0; }
8245 _ACEOF
8246 if ac_fn_c_try_link "$LINENO"; then :
8247 ac_cv_cflags__Wl___enable_new_dtags=yes
8248 else
8249 ac_cv_cflags__Wl___enable_new_dtags=no
8251 rm -f core conftest.err conftest.$ac_objext \
8252 conftest$ac_exeext conftest.$ac_ext
8253 CFLAGS=$ac_wine_try_cflags_saved
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8256 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8257 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8258 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8261 LIBWINE_SHAREDLIB="libwine.so"
8263 LIBWINE_INSTALL_LIB="libwine.so"
8265 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8269 $as_echo_n "checking for -lEGL... " >&6; }
8270 if ${ac_cv_lib_soname_EGL+:} false; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 ac_check_soname_save_LIBS=$LIBS
8274 LIBS="-lEGL $LIBS"
8275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8276 /* end confdefs.h. */
8278 /* Override any GCC internal prototype to avoid an error.
8279 Use char because int might match the return type of a GCC
8280 builtin and then its argument prototype would still apply. */
8281 #ifdef __cplusplus
8282 extern "C"
8283 #endif
8284 char eglGetProcAddress ();
8286 main ()
8288 return eglGetProcAddress ();
8290 return 0;
8292 _ACEOF
8293 if ac_fn_c_try_link "$LINENO"; then :
8294 case "$LIBEXT" in
8295 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8296 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'` ;;
8297 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8298 if ${ac_cv_lib_soname_EGL:+false} :; then :
8299 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8300 fi ;;
8301 esac
8303 rm -f core conftest.err conftest.$ac_objext \
8304 conftest$ac_exeext conftest.$ac_ext
8305 LIBS=$ac_check_soname_save_LIBS
8307 if ${ac_cv_lib_soname_EGL:+false} :; then :
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8309 $as_echo "not found" >&6; }
8311 else
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8313 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8315 cat >>confdefs.h <<_ACEOF
8316 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8317 _ACEOF
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8322 $as_echo_n "checking for -lGLESv2... " >&6; }
8323 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8324 $as_echo_n "(cached) " >&6
8325 else
8326 ac_check_soname_save_LIBS=$LIBS
8327 LIBS="-lGLESv2 $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 glFlush ();
8339 main ()
8341 return glFlush ();
8343 return 0;
8345 _ACEOF
8346 if ac_fn_c_try_link "$LINENO"; then :
8347 case "$LIBEXT" in
8348 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8349 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'` ;;
8350 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8351 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8352 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$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_GLESv2:+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_GLESv2" >&5
8366 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8368 cat >>confdefs.h <<_ACEOF
8369 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8370 _ACEOF
8375 if test "x$exec_prefix" = xNONE
8376 then
8377 case $host_cpu in
8378 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8379 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8380 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8381 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8382 esac
8387 DLLFLAGS="$DLLFLAGS -fPIC"
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8389 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8390 if ${ac_cv_c_dll_gnuelf+:} false; then :
8391 $as_echo_n "(cached) " >&6
8392 else
8393 ac_wine_try_cflags_saved=$CFLAGS
8394 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8396 /* end confdefs.h. */
8397 void myfunc() {}
8398 _ACEOF
8399 if ac_fn_c_try_link "$LINENO"; then :
8400 ac_cv_c_dll_gnuelf="yes"
8401 else
8402 ac_cv_c_dll_gnuelf="no"
8404 rm -f core conftest.err conftest.$ac_objext \
8405 conftest$ac_exeext conftest.$ac_ext
8406 CFLAGS=$ac_wine_try_cflags_saved
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8409 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8410 if test "$ac_cv_c_dll_gnuelf" = "yes"
8411 then
8412 LIBWINE_LDFLAGS="-shared"
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8414 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8415 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8416 $as_echo_n "(cached) " >&6
8417 else
8418 ac_wine_try_cflags_saved=$CFLAGS
8419 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8421 /* end confdefs.h. */
8422 int main(int argc, char **argv) { return 0; }
8423 _ACEOF
8424 if ac_fn_c_try_link "$LINENO"; then :
8425 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8426 else
8427 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8429 rm -f core conftest.err conftest.$ac_objext \
8430 conftest$ac_exeext conftest.$ac_ext
8431 CFLAGS=$ac_wine_try_cflags_saved
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8434 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8435 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8436 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8437 else
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8439 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8440 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8441 $as_echo_n "(cached) " >&6
8442 else
8443 ac_wine_try_cflags_saved=$CFLAGS
8444 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8446 /* end confdefs.h. */
8447 int main(int argc, char **argv) { return 0; }
8448 _ACEOF
8449 if ac_fn_c_try_link "$LINENO"; then :
8450 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8451 else
8452 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8454 rm -f core conftest.err conftest.$ac_objext \
8455 conftest$ac_exeext conftest.$ac_ext
8456 CFLAGS=$ac_wine_try_cflags_saved
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8459 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8460 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8461 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8465 echo '{ global: *; };' >conftest.map
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8467 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8468 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8469 $as_echo_n "(cached) " >&6
8470 else
8471 ac_wine_try_cflags_saved=$CFLAGS
8472 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
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___version_script_conftest_map=yes
8479 else
8480 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=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___version_script_conftest_map" >&5
8487 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8488 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8489 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8491 rm -f conftest.map
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8494 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8495 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8496 $as_echo_n "(cached) " >&6
8497 else
8498 ac_wine_try_cflags_saved=$CFLAGS
8499 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8501 /* end confdefs.h. */
8502 int main(int argc, char **argv) { return 0; }
8503 _ACEOF
8504 if ac_fn_c_try_link "$LINENO"; then :
8505 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8506 else
8507 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8509 rm -f core conftest.err conftest.$ac_objext \
8510 conftest$ac_exeext conftest.$ac_ext
8511 CFLAGS=$ac_wine_try_cflags_saved
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8514 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8515 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8516 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8519 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8521 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8522 if eval \${$as_ac_var+:} false; then :
8523 $as_echo_n "(cached) " >&6
8524 else
8525 ac_wine_try_cflags_saved=$CFLAGS
8526 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8528 /* end confdefs.h. */
8529 int main(int argc, char **argv) { return 0; }
8530 _ACEOF
8531 if ac_fn_c_try_link "$LINENO"; then :
8532 eval "$as_ac_var=yes"
8533 else
8534 eval "$as_ac_var=no"
8536 rm -f core conftest.err conftest.$ac_objext \
8537 conftest$ac_exeext conftest.$ac_ext
8538 CFLAGS=$ac_wine_try_cflags_saved
8540 eval ac_res=\$$as_ac_var
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8542 $as_echo "$ac_res" >&6; }
8543 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8544 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8545 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8546 else
8547 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8549 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8550 if eval \${$as_ac_var+:} false; then :
8551 $as_echo_n "(cached) " >&6
8552 else
8553 ac_wine_try_cflags_saved=$CFLAGS
8554 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8556 /* end confdefs.h. */
8557 int main(int argc, char **argv) { return 0; }
8558 _ACEOF
8559 if ac_fn_c_try_link "$LINENO"; then :
8560 eval "$as_ac_var=yes"
8561 else
8562 eval "$as_ac_var=no"
8564 rm -f core conftest.err conftest.$ac_objext \
8565 conftest$ac_exeext conftest.$ac_ext
8566 CFLAGS=$ac_wine_try_cflags_saved
8568 eval ac_res=\$$as_ac_var
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8570 $as_echo "$ac_res" >&6; }
8571 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8572 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8573 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8578 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8579 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8580 $as_echo_n "(cached) " >&6
8581 else
8582 ac_wine_try_cflags_saved=$CFLAGS
8583 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8585 /* end confdefs.h. */
8586 int main(int argc, char **argv) { return 0; }
8587 _ACEOF
8588 if ac_fn_c_try_link "$LINENO"; then :
8589 ac_cv_cflags__Wl___enable_new_dtags=yes
8590 else
8591 ac_cv_cflags__Wl___enable_new_dtags=no
8593 rm -f core conftest.err conftest.$ac_objext \
8594 conftest$ac_exeext conftest.$ac_ext
8595 CFLAGS=$ac_wine_try_cflags_saved
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8598 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8599 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8600 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8603 case $host_cpu in
8604 *i[3456789]86* | x86_64 | *aarch64*)
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8606 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8607 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8608 $as_echo_n "(cached) " >&6
8609 else
8610 ac_wine_try_cflags_saved=$CFLAGS
8611 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8613 /* end confdefs.h. */
8614 int main(int argc, char **argv) { return 0; }
8615 _ACEOF
8616 if ac_fn_c_try_link "$LINENO"; then :
8617 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8618 else
8619 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8621 rm -f core conftest.err conftest.$ac_objext \
8622 conftest$ac_exeext conftest.$ac_ext
8623 CFLAGS=$ac_wine_try_cflags_saved
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8626 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8627 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8628 case $host_os in
8629 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8630 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8631 esac
8632 else
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8634 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8635 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8636 $as_echo_n "(cached) " >&6
8637 else
8638 ac_wine_try_cflags_saved=$CFLAGS
8639 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8641 /* end confdefs.h. */
8642 int main(int argc, char **argv) { return 0; }
8643 _ACEOF
8644 if ac_fn_c_try_link "$LINENO"; then :
8645 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8646 else
8647 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8649 rm -f core conftest.err conftest.$ac_objext \
8650 conftest$ac_exeext conftest.$ac_ext
8651 CFLAGS=$ac_wine_try_cflags_saved
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8654 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8655 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8656 case $host_os in
8657 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8658 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8659 esac
8661 # Extract the first word of "prelink", so it can be a program name with args.
8662 set dummy prelink; ac_word=$2
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8664 $as_echo_n "checking for $ac_word... " >&6; }
8665 if ${ac_cv_path_PRELINK+:} false; then :
8666 $as_echo_n "(cached) " >&6
8667 else
8668 case $PRELINK in
8669 [\\/]* | ?:[\\/]*)
8670 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8674 for as_dir in /sbin /usr/sbin $PATH
8676 IFS=$as_save_IFS
8677 test -z "$as_dir" && as_dir=.
8678 for ac_exec_ext in '' $ac_executable_extensions; do
8679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8680 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8682 break 2
8684 done
8685 done
8686 IFS=$as_save_IFS
8688 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8690 esac
8692 PRELINK=$ac_cv_path_PRELINK
8693 if test -n "$PRELINK"; then
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8695 $as_echo "$PRELINK" >&6; }
8696 else
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8698 $as_echo "no" >&6; }
8702 if test "x$PRELINK" = xfalse
8703 then
8704 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8708 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8709 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8710 $as_echo_n "(cached) " >&6
8711 else
8712 ac_wine_try_cflags_saved=$CFLAGS
8713 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8715 /* end confdefs.h. */
8716 int main(int argc, char **argv) { return 0; }
8717 _ACEOF
8718 if ac_fn_c_try_link "$LINENO"; then :
8719 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8720 else
8721 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8723 rm -f core conftest.err conftest.$ac_objext \
8724 conftest$ac_exeext conftest.$ac_ext
8725 CFLAGS=$ac_wine_try_cflags_saved
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8728 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8729 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8730 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8733 esac
8735 else
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8737 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8738 if ${ac_cv_c_dll_unixware+:} false; then :
8739 $as_echo_n "(cached) " >&6
8740 else
8741 ac_wine_try_cflags_saved=$CFLAGS
8742 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8744 /* end confdefs.h. */
8745 void myfunc() {}
8746 _ACEOF
8747 if ac_fn_c_try_link "$LINENO"; then :
8748 ac_cv_c_dll_unixware="yes"
8749 else
8750 ac_cv_c_dll_unixware="no"
8752 rm -f core conftest.err conftest.$ac_objext \
8753 conftest$ac_exeext conftest.$ac_ext
8754 CFLAGS=$ac_wine_try_cflags_saved
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8757 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8758 if test "$ac_cv_c_dll_unixware" = "yes"
8759 then
8760 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8763 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8765 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8767 LIBWINE_INSTALL_DEV="libwine.so"
8769 LIBWINE_DEPENDS="wine.map"
8772 esac
8774 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8775 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8776 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8777 enable_winemac_drv=${enable_winemac_drv:-no}
8778 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8780 CROSSTARGET=""
8782 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8783 then
8784 case "$host_cpu" in
8785 arm*)
8786 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8787 i[3456789]86*)
8788 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
8789 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8790 mingw32-gcc" ;;
8791 x86_64)
8792 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
8793 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8795 ac_prefix_list="" ;;
8796 esac
8797 for ac_prog in $ac_prefix_list
8799 # Extract the first word of "$ac_prog", so it can be a program name with args.
8800 set dummy $ac_prog; ac_word=$2
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8802 $as_echo_n "checking for $ac_word... " >&6; }
8803 if ${ac_cv_prog_CROSSCC+:} false; then :
8804 $as_echo_n "(cached) " >&6
8805 else
8806 if test -n "$CROSSCC"; then
8807 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8808 else
8809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8810 for as_dir in $PATH
8812 IFS=$as_save_IFS
8813 test -z "$as_dir" && as_dir=.
8814 for ac_exec_ext in '' $ac_executable_extensions; do
8815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8816 ac_cv_prog_CROSSCC="$ac_prog"
8817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8818 break 2
8820 done
8821 done
8822 IFS=$as_save_IFS
8826 CROSSCC=$ac_cv_prog_CROSSCC
8827 if test -n "$CROSSCC"; then
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8829 $as_echo "$CROSSCC" >&6; }
8830 else
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8832 $as_echo "no" >&6; }
8836 test -n "$CROSSCC" && break
8837 done
8838 test -n "$CROSSCC" || CROSSCC="false"
8840 if test "$CROSSCC" != "false"
8841 then
8842 ac_save_CC="$CC"
8843 CC="$CROSSCC"
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8845 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8847 /* end confdefs.h. */
8850 main ()
8854 return 0;
8856 _ACEOF
8857 if ac_fn_c_try_compile "$LINENO"; then :
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8859 $as_echo "yes" >&6; }
8860 set x $CROSSCC
8861 shift
8862 while test $# -ge 1
8864 case "$1" in
8865 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8866 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8867 esac
8868 shift
8869 done
8870 else
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8872 $as_echo "no" >&6; }
8874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8875 CC="$ac_save_CC"
8876 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8882 if test "$ac_cv_header_pthread_h" = "yes"
8883 then
8884 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8885 if test "x$ac_cv_func_pthread_create" = xyes; then :
8887 else
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8889 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8890 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8891 $as_echo_n "(cached) " >&6
8892 else
8893 ac_check_lib_save_LIBS=$LIBS
8894 LIBS="-lpthread $LIBS"
8895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8896 /* end confdefs.h. */
8898 /* Override any GCC internal prototype to avoid an error.
8899 Use char because int might match the return type of a GCC
8900 builtin and then its argument prototype would still apply. */
8901 #ifdef __cplusplus
8902 extern "C"
8903 #endif
8904 char pthread_create ();
8906 main ()
8908 return pthread_create ();
8910 return 0;
8912 _ACEOF
8913 if ac_fn_c_try_link "$LINENO"; then :
8914 ac_cv_lib_pthread_pthread_create=yes
8915 else
8916 ac_cv_lib_pthread_pthread_create=no
8918 rm -f core conftest.err conftest.$ac_objext \
8919 conftest$ac_exeext conftest.$ac_ext
8920 LIBS=$ac_check_lib_save_LIBS
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8923 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8924 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8925 PTHREAD_LIBS="-lpthread"
8932 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8933 case "x$with_pthread" in
8934 xno) ;;
8935 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8936 Wine cannot support threads without libpthread.
8937 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8938 esac
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8944 $as_echo_n "checking for X... " >&6; }
8947 # Check whether --with-x was given.
8948 if test "${with_x+set}" = set; then :
8949 withval=$with_x;
8952 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8953 if test "x$with_x" = xno; then
8954 # The user explicitly disabled X.
8955 have_x=disabled
8956 else
8957 case $x_includes,$x_libraries in #(
8958 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8959 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8960 $as_echo_n "(cached) " >&6
8961 else
8962 # One or both of the vars are not set, and there is no cached value.
8963 ac_x_includes=no ac_x_libraries=no
8964 rm -f -r conftest.dir
8965 if mkdir conftest.dir; then
8966 cd conftest.dir
8967 cat >Imakefile <<'_ACEOF'
8968 incroot:
8969 @echo incroot='${INCROOT}'
8970 usrlibdir:
8971 @echo usrlibdir='${USRLIBDIR}'
8972 libdir:
8973 @echo libdir='${LIBDIR}'
8974 _ACEOF
8975 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8976 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8977 for ac_var in incroot usrlibdir libdir; do
8978 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8979 done
8980 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8981 for ac_extension in a so sl dylib la dll; do
8982 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8983 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8984 ac_im_usrlibdir=$ac_im_libdir; break
8986 done
8987 # Screen out bogus values from the imake configuration. They are
8988 # bogus both because they are the default anyway, and because
8989 # using them would break gcc on systems where it needs fixed includes.
8990 case $ac_im_incroot in
8991 /usr/include) ac_x_includes= ;;
8992 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8993 esac
8994 case $ac_im_usrlibdir in
8995 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8996 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8997 esac
8999 cd ..
9000 rm -f -r conftest.dir
9003 # Standard set of common directories for X headers.
9004 # Check X11 before X11Rn because it is often a symlink to the current release.
9005 ac_x_header_dirs='
9006 /usr/X11/include
9007 /usr/X11R7/include
9008 /usr/X11R6/include
9009 /usr/X11R5/include
9010 /usr/X11R4/include
9012 /usr/include/X11
9013 /usr/include/X11R7
9014 /usr/include/X11R6
9015 /usr/include/X11R5
9016 /usr/include/X11R4
9018 /usr/local/X11/include
9019 /usr/local/X11R7/include
9020 /usr/local/X11R6/include
9021 /usr/local/X11R5/include
9022 /usr/local/X11R4/include
9024 /usr/local/include/X11
9025 /usr/local/include/X11R7
9026 /usr/local/include/X11R6
9027 /usr/local/include/X11R5
9028 /usr/local/include/X11R4
9030 /usr/X386/include
9031 /usr/x386/include
9032 /usr/XFree86/include/X11
9034 /usr/include
9035 /usr/local/include
9036 /usr/unsupported/include
9037 /usr/athena/include
9038 /usr/local/x11r5/include
9039 /usr/lpp/Xamples/include
9041 /usr/openwin/include
9042 /usr/openwin/share/include'
9044 if test "$ac_x_includes" = no; then
9045 # Guess where to find include files, by looking for Xlib.h.
9046 # First, try using that file with no special directory specified.
9047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h. */
9049 #include <X11/Xlib.h>
9050 _ACEOF
9051 if ac_fn_c_try_cpp "$LINENO"; then :
9052 # We can compile using X headers with no special include directory.
9053 ac_x_includes=
9054 else
9055 for ac_dir in $ac_x_header_dirs; do
9056 if test -r "$ac_dir/X11/Xlib.h"; then
9057 ac_x_includes=$ac_dir
9058 break
9060 done
9062 rm -f conftest.err conftest.i conftest.$ac_ext
9063 fi # $ac_x_includes = no
9065 if test "$ac_x_libraries" = no; then
9066 # Check for the libraries.
9067 # See if we find them without any special options.
9068 # Don't add to $LIBS permanently.
9069 ac_save_LIBS=$LIBS
9070 LIBS="-lX11 $LIBS"
9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9073 #include <X11/Xlib.h>
9075 main ()
9077 XrmInitialize ()
9079 return 0;
9081 _ACEOF
9082 if ac_fn_c_try_link "$LINENO"; then :
9083 LIBS=$ac_save_LIBS
9084 # We can link X programs with no special library path.
9085 ac_x_libraries=
9086 else
9087 LIBS=$ac_save_LIBS
9088 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9090 # Don't even attempt the hair of trying to link an X program!
9091 for ac_extension in a so sl dylib la dll; do
9092 if test -r "$ac_dir/libX11.$ac_extension"; then
9093 ac_x_libraries=$ac_dir
9094 break 2
9096 done
9097 done
9099 rm -f core conftest.err conftest.$ac_objext \
9100 conftest$ac_exeext conftest.$ac_ext
9101 fi # $ac_x_libraries = no
9103 case $ac_x_includes,$ac_x_libraries in #(
9104 no,* | *,no | *\'*)
9105 # Didn't find X, or a directory has "'" in its name.
9106 ac_cv_have_x="have_x=no";; #(
9108 # Record where we found X for the cache.
9109 ac_cv_have_x="have_x=yes\
9110 ac_x_includes='$ac_x_includes'\
9111 ac_x_libraries='$ac_x_libraries'"
9112 esac
9114 ;; #(
9115 *) have_x=yes;;
9116 esac
9117 eval "$ac_cv_have_x"
9118 fi # $with_x != no
9120 if test "$have_x" != yes; then
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9122 $as_echo "$have_x" >&6; }
9123 no_x=yes
9124 else
9125 # If each of the values was on the command line, it overrides each guess.
9126 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9127 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9128 # Update the cache value to reflect the command line values.
9129 ac_cv_have_x="have_x=yes\
9130 ac_x_includes='$x_includes'\
9131 ac_x_libraries='$x_libraries'"
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9133 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9136 if test "$no_x" = yes; then
9137 # Not all programs may use this symbol, but it does not hurt to define it.
9139 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9141 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9142 else
9143 if test -n "$x_includes"; then
9144 X_CFLAGS="$X_CFLAGS -I$x_includes"
9147 # It would also be nice to do this for all -L options, not just this one.
9148 if test -n "$x_libraries"; then
9149 X_LIBS="$X_LIBS -L$x_libraries"
9150 # For Solaris; some versions of Sun CC require a space after -R and
9151 # others require no space. Words are not sufficient . . . .
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9153 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9154 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9155 ac_xsave_c_werror_flag=$ac_c_werror_flag
9156 ac_c_werror_flag=yes
9157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9158 /* end confdefs.h. */
9161 main ()
9165 return 0;
9167 _ACEOF
9168 if ac_fn_c_try_link "$LINENO"; then :
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9170 $as_echo "no" >&6; }
9171 X_LIBS="$X_LIBS -R$x_libraries"
9172 else
9173 LIBS="$ac_xsave_LIBS -R $x_libraries"
9174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9175 /* end confdefs.h. */
9178 main ()
9182 return 0;
9184 _ACEOF
9185 if ac_fn_c_try_link "$LINENO"; then :
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9187 $as_echo "yes" >&6; }
9188 X_LIBS="$X_LIBS -R $x_libraries"
9189 else
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9191 $as_echo "neither works" >&6; }
9193 rm -f core conftest.err conftest.$ac_objext \
9194 conftest$ac_exeext conftest.$ac_ext
9196 rm -f core conftest.err conftest.$ac_objext \
9197 conftest$ac_exeext conftest.$ac_ext
9198 ac_c_werror_flag=$ac_xsave_c_werror_flag
9199 LIBS=$ac_xsave_LIBS
9202 # Check for system-dependent libraries X programs must link with.
9203 # Do this before checking for the system-independent R6 libraries
9204 # (-lICE), since we may need -lsocket or whatever for X linking.
9206 if test "$ISC" = yes; then
9207 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9208 else
9209 # Martyn Johnson says this is needed for Ultrix, if the X
9210 # libraries were built with DECnet support. And Karl Berry says
9211 # the Alpha needs dnet_stub (dnet does not exist).
9212 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9214 /* end confdefs.h. */
9216 /* Override any GCC internal prototype to avoid an error.
9217 Use char because int might match the return type of a GCC
9218 builtin and then its argument prototype would still apply. */
9219 #ifdef __cplusplus
9220 extern "C"
9221 #endif
9222 char XOpenDisplay ();
9224 main ()
9226 return XOpenDisplay ();
9228 return 0;
9230 _ACEOF
9231 if ac_fn_c_try_link "$LINENO"; then :
9233 else
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9235 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9236 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9237 $as_echo_n "(cached) " >&6
9238 else
9239 ac_check_lib_save_LIBS=$LIBS
9240 LIBS="-ldnet $LIBS"
9241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9244 /* Override any GCC internal prototype to avoid an error.
9245 Use char because int might match the return type of a GCC
9246 builtin and then its argument prototype would still apply. */
9247 #ifdef __cplusplus
9248 extern "C"
9249 #endif
9250 char dnet_ntoa ();
9252 main ()
9254 return dnet_ntoa ();
9256 return 0;
9258 _ACEOF
9259 if ac_fn_c_try_link "$LINENO"; then :
9260 ac_cv_lib_dnet_dnet_ntoa=yes
9261 else
9262 ac_cv_lib_dnet_dnet_ntoa=no
9264 rm -f core conftest.err conftest.$ac_objext \
9265 conftest$ac_exeext conftest.$ac_ext
9266 LIBS=$ac_check_lib_save_LIBS
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9269 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9270 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9271 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9274 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9276 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9277 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9278 $as_echo_n "(cached) " >&6
9279 else
9280 ac_check_lib_save_LIBS=$LIBS
9281 LIBS="-ldnet_stub $LIBS"
9282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h. */
9285 /* Override any GCC internal prototype to avoid an error.
9286 Use char because int might match the return type of a GCC
9287 builtin and then its argument prototype would still apply. */
9288 #ifdef __cplusplus
9289 extern "C"
9290 #endif
9291 char dnet_ntoa ();
9293 main ()
9295 return dnet_ntoa ();
9297 return 0;
9299 _ACEOF
9300 if ac_fn_c_try_link "$LINENO"; then :
9301 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9302 else
9303 ac_cv_lib_dnet_stub_dnet_ntoa=no
9305 rm -f core conftest.err conftest.$ac_objext \
9306 conftest$ac_exeext conftest.$ac_ext
9307 LIBS=$ac_check_lib_save_LIBS
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9310 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9311 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9312 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9317 rm -f core conftest.err conftest.$ac_objext \
9318 conftest$ac_exeext conftest.$ac_ext
9319 LIBS="$ac_xsave_LIBS"
9321 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9322 # to get the SysV transport functions.
9323 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9324 # needs -lnsl.
9325 # The nsl library prevents programs from opening the X display
9326 # on Irix 5.2, according to T.E. Dickey.
9327 # The functions gethostbyname, getservbyname, and inet_addr are
9328 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9329 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9330 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9334 if test $ac_cv_func_gethostbyname = no; then
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9336 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9337 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9338 $as_echo_n "(cached) " >&6
9339 else
9340 ac_check_lib_save_LIBS=$LIBS
9341 LIBS="-lnsl $LIBS"
9342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9343 /* end confdefs.h. */
9345 /* Override any GCC internal prototype to avoid an error.
9346 Use char because int might match the return type of a GCC
9347 builtin and then its argument prototype would still apply. */
9348 #ifdef __cplusplus
9349 extern "C"
9350 #endif
9351 char gethostbyname ();
9353 main ()
9355 return gethostbyname ();
9357 return 0;
9359 _ACEOF
9360 if ac_fn_c_try_link "$LINENO"; then :
9361 ac_cv_lib_nsl_gethostbyname=yes
9362 else
9363 ac_cv_lib_nsl_gethostbyname=no
9365 rm -f core conftest.err conftest.$ac_objext \
9366 conftest$ac_exeext conftest.$ac_ext
9367 LIBS=$ac_check_lib_save_LIBS
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9370 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9371 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9372 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9375 if test $ac_cv_lib_nsl_gethostbyname = no; then
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9377 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9378 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9379 $as_echo_n "(cached) " >&6
9380 else
9381 ac_check_lib_save_LIBS=$LIBS
9382 LIBS="-lbsd $LIBS"
9383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9384 /* end confdefs.h. */
9386 /* Override any GCC internal prototype to avoid an error.
9387 Use char because int might match the return type of a GCC
9388 builtin and then its argument prototype would still apply. */
9389 #ifdef __cplusplus
9390 extern "C"
9391 #endif
9392 char gethostbyname ();
9394 main ()
9396 return gethostbyname ();
9398 return 0;
9400 _ACEOF
9401 if ac_fn_c_try_link "$LINENO"; then :
9402 ac_cv_lib_bsd_gethostbyname=yes
9403 else
9404 ac_cv_lib_bsd_gethostbyname=no
9406 rm -f core conftest.err conftest.$ac_objext \
9407 conftest$ac_exeext conftest.$ac_ext
9408 LIBS=$ac_check_lib_save_LIBS
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9411 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9412 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9413 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9419 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9420 # socket/setsockopt and other routines are undefined under SCO ODT
9421 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9422 # on later versions), says Simon Leinen: it contains gethostby*
9423 # variants that don't use the name server (or something). -lsocket
9424 # must be given before -lnsl if both are needed. We assume that
9425 # if connect needs -lnsl, so does gethostbyname.
9426 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9427 if test "x$ac_cv_func_connect" = xyes; then :
9431 if test $ac_cv_func_connect = no; then
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9433 $as_echo_n "checking for connect in -lsocket... " >&6; }
9434 if ${ac_cv_lib_socket_connect+:} false; then :
9435 $as_echo_n "(cached) " >&6
9436 else
9437 ac_check_lib_save_LIBS=$LIBS
9438 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9442 /* Override any GCC internal prototype to avoid an error.
9443 Use char because int might match the return type of a GCC
9444 builtin and then its argument prototype would still apply. */
9445 #ifdef __cplusplus
9446 extern "C"
9447 #endif
9448 char connect ();
9450 main ()
9452 return connect ();
9454 return 0;
9456 _ACEOF
9457 if ac_fn_c_try_link "$LINENO"; then :
9458 ac_cv_lib_socket_connect=yes
9459 else
9460 ac_cv_lib_socket_connect=no
9462 rm -f core conftest.err conftest.$ac_objext \
9463 conftest$ac_exeext conftest.$ac_ext
9464 LIBS=$ac_check_lib_save_LIBS
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9467 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9468 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9469 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9474 # Guillermo Gomez says -lposix is necessary on A/UX.
9475 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9476 if test "x$ac_cv_func_remove" = xyes; then :
9480 if test $ac_cv_func_remove = no; then
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9482 $as_echo_n "checking for remove in -lposix... " >&6; }
9483 if ${ac_cv_lib_posix_remove+:} false; then :
9484 $as_echo_n "(cached) " >&6
9485 else
9486 ac_check_lib_save_LIBS=$LIBS
9487 LIBS="-lposix $LIBS"
9488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9489 /* end confdefs.h. */
9491 /* Override any GCC internal prototype to avoid an error.
9492 Use char because int might match the return type of a GCC
9493 builtin and then its argument prototype would still apply. */
9494 #ifdef __cplusplus
9495 extern "C"
9496 #endif
9497 char remove ();
9499 main ()
9501 return remove ();
9503 return 0;
9505 _ACEOF
9506 if ac_fn_c_try_link "$LINENO"; then :
9507 ac_cv_lib_posix_remove=yes
9508 else
9509 ac_cv_lib_posix_remove=no
9511 rm -f core conftest.err conftest.$ac_objext \
9512 conftest$ac_exeext conftest.$ac_ext
9513 LIBS=$ac_check_lib_save_LIBS
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9516 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9517 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9518 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9523 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9524 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9525 if test "x$ac_cv_func_shmat" = xyes; then :
9529 if test $ac_cv_func_shmat = no; then
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9531 $as_echo_n "checking for shmat in -lipc... " >&6; }
9532 if ${ac_cv_lib_ipc_shmat+:} false; then :
9533 $as_echo_n "(cached) " >&6
9534 else
9535 ac_check_lib_save_LIBS=$LIBS
9536 LIBS="-lipc $LIBS"
9537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9538 /* end confdefs.h. */
9540 /* Override any GCC internal prototype to avoid an error.
9541 Use char because int might match the return type of a GCC
9542 builtin and then its argument prototype would still apply. */
9543 #ifdef __cplusplus
9544 extern "C"
9545 #endif
9546 char shmat ();
9548 main ()
9550 return shmat ();
9552 return 0;
9554 _ACEOF
9555 if ac_fn_c_try_link "$LINENO"; then :
9556 ac_cv_lib_ipc_shmat=yes
9557 else
9558 ac_cv_lib_ipc_shmat=no
9560 rm -f core conftest.err conftest.$ac_objext \
9561 conftest$ac_exeext conftest.$ac_ext
9562 LIBS=$ac_check_lib_save_LIBS
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9565 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9566 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9567 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9573 # Check for libraries that X11R6 Xt/Xaw programs need.
9574 ac_save_LDFLAGS=$LDFLAGS
9575 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9576 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9577 # check for ICE first), but we must link in the order -lSM -lICE or
9578 # we get undefined symbols. So assume we have SM if we have ICE.
9579 # These have to be linked with before -lX11, unlike the other
9580 # libraries we check for below, so use a different variable.
9581 # John Interrante, Karl Berry
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9583 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9584 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9585 $as_echo_n "(cached) " >&6
9586 else
9587 ac_check_lib_save_LIBS=$LIBS
9588 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9590 /* end confdefs.h. */
9592 /* Override any GCC internal prototype to avoid an error.
9593 Use char because int might match the return type of a GCC
9594 builtin and then its argument prototype would still apply. */
9595 #ifdef __cplusplus
9596 extern "C"
9597 #endif
9598 char IceConnectionNumber ();
9600 main ()
9602 return IceConnectionNumber ();
9604 return 0;
9606 _ACEOF
9607 if ac_fn_c_try_link "$LINENO"; then :
9608 ac_cv_lib_ICE_IceConnectionNumber=yes
9609 else
9610 ac_cv_lib_ICE_IceConnectionNumber=no
9612 rm -f core conftest.err conftest.$ac_objext \
9613 conftest$ac_exeext conftest.$ac_ext
9614 LIBS=$ac_check_lib_save_LIBS
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9617 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9618 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9619 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9622 LDFLAGS=$ac_save_LDFLAGS
9627 if test "$have_x" = "yes"
9628 then
9629 ac_save_CPPFLAGS="$CPPFLAGS"
9630 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9633 $as_echo_n "checking for -lX11... " >&6; }
9634 if ${ac_cv_lib_soname_X11+:} false; then :
9635 $as_echo_n "(cached) " >&6
9636 else
9637 ac_check_soname_save_LIBS=$LIBS
9638 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9640 /* end confdefs.h. */
9642 /* Override any GCC internal prototype to avoid an error.
9643 Use char because int might match the return type of a GCC
9644 builtin and then its argument prototype would still apply. */
9645 #ifdef __cplusplus
9646 extern "C"
9647 #endif
9648 char XCreateWindow ();
9650 main ()
9652 return XCreateWindow ();
9654 return 0;
9656 _ACEOF
9657 if ac_fn_c_try_link "$LINENO"; then :
9658 case "$LIBEXT" in
9659 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9660 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'` ;;
9661 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9662 if ${ac_cv_lib_soname_X11:+false} :; then :
9663 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9664 fi ;;
9665 esac
9667 rm -f core conftest.err conftest.$ac_objext \
9668 conftest$ac_exeext conftest.$ac_ext
9669 LIBS=$ac_check_soname_save_LIBS
9671 if ${ac_cv_lib_soname_X11:+false} :; then :
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9673 $as_echo "not found" >&6; }
9675 else
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9677 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9679 cat >>confdefs.h <<_ACEOF
9680 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9681 _ACEOF
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9686 $as_echo_n "checking for -lXext... " >&6; }
9687 if ${ac_cv_lib_soname_Xext+:} false; then :
9688 $as_echo_n "(cached) " >&6
9689 else
9690 ac_check_soname_save_LIBS=$LIBS
9691 LIBS="-lXext $X_LIBS -lX11 $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 XextCreateExtension ();
9703 main ()
9705 return XextCreateExtension ();
9707 return 0;
9709 _ACEOF
9710 if ac_fn_c_try_link "$LINENO"; then :
9711 case "$LIBEXT" in
9712 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9713 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'` ;;
9714 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9715 if ${ac_cv_lib_soname_Xext:+false} :; then :
9716 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$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_Xext:+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_Xext" >&5
9730 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9732 cat >>confdefs.h <<_ACEOF
9733 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9734 _ACEOF
9736 X_LIBS="$X_LIBS -lXext"
9738 X_LIBS="$X_LIBS -lX11"
9740 for ac_header in X11/Xlib.h \
9741 X11/XKBlib.h \
9742 X11/Xutil.h \
9743 X11/Xcursor/Xcursor.h \
9744 X11/extensions/shape.h \
9745 X11/extensions/XInput.h \
9746 X11/extensions/XInput2.h \
9747 X11/extensions/XShm.h \
9748 X11/extensions/Xcomposite.h \
9749 X11/extensions/Xfixes.h \
9750 X11/extensions/Xinerama.h \
9751 X11/extensions/Xrandr.h \
9752 X11/extensions/Xrender.h \
9753 X11/extensions/xf86vmode.h \
9754 X11/extensions/xf86vmproto.h
9755 do :
9756 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9757 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9758 # include <X11/Xlib.h>
9759 #endif
9760 #ifdef HAVE_X11_XUTIL_H
9761 # include <X11/Xutil.h>
9762 #endif
9764 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9765 cat >>confdefs.h <<_ACEOF
9766 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9767 _ACEOF
9771 done
9774 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9775 then
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9777 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9778 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9779 $as_echo_n "(cached) " >&6
9780 else
9781 ac_check_lib_save_LIBS=$LIBS
9782 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9784 /* end confdefs.h. */
9786 /* Override any GCC internal prototype to avoid an error.
9787 Use char because int might match the return type of a GCC
9788 builtin and then its argument prototype would still apply. */
9789 #ifdef __cplusplus
9790 extern "C"
9791 #endif
9792 char XkbQueryExtension ();
9794 main ()
9796 return XkbQueryExtension ();
9798 return 0;
9800 _ACEOF
9801 if ac_fn_c_try_link "$LINENO"; then :
9802 ac_cv_lib_X11_XkbQueryExtension=yes
9803 else
9804 ac_cv_lib_X11_XkbQueryExtension=no
9806 rm -f core conftest.err conftest.$ac_objext \
9807 conftest$ac_exeext conftest.$ac_ext
9808 LIBS=$ac_check_lib_save_LIBS
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9811 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9812 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9814 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9820 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9821 then
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9823 $as_echo_n "checking for -lXcursor... " >&6; }
9824 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9825 $as_echo_n "(cached) " >&6
9826 else
9827 ac_check_soname_save_LIBS=$LIBS
9828 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9830 /* end confdefs.h. */
9832 /* Override any GCC internal prototype to avoid an error.
9833 Use char because int might match the return type of a GCC
9834 builtin and then its argument prototype would still apply. */
9835 #ifdef __cplusplus
9836 extern "C"
9837 #endif
9838 char XcursorImageLoadCursor ();
9840 main ()
9842 return XcursorImageLoadCursor ();
9844 return 0;
9846 _ACEOF
9847 if ac_fn_c_try_link "$LINENO"; then :
9848 case "$LIBEXT" in
9849 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9850 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'` ;;
9851 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9852 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9853 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9854 fi ;;
9855 esac
9857 rm -f core conftest.err conftest.$ac_objext \
9858 conftest$ac_exeext conftest.$ac_ext
9859 LIBS=$ac_check_soname_save_LIBS
9861 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9863 $as_echo "not found" >&6; }
9865 else
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9867 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9869 cat >>confdefs.h <<_ACEOF
9870 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9871 _ACEOF
9876 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9877 case "x$with_xcursor" in
9878 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9879 xno) ;;
9880 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9881 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9882 esac
9886 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9887 then
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9889 $as_echo_n "checking for -lXi... " >&6; }
9890 if ${ac_cv_lib_soname_Xi+:} false; then :
9891 $as_echo_n "(cached) " >&6
9892 else
9893 ac_check_soname_save_LIBS=$LIBS
9894 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9896 /* end confdefs.h. */
9898 /* Override any GCC internal prototype to avoid an error.
9899 Use char because int might match the return type of a GCC
9900 builtin and then its argument prototype would still apply. */
9901 #ifdef __cplusplus
9902 extern "C"
9903 #endif
9904 char XOpenDevice ();
9906 main ()
9908 return XOpenDevice ();
9910 return 0;
9912 _ACEOF
9913 if ac_fn_c_try_link "$LINENO"; then :
9914 case "$LIBEXT" in
9915 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9916 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'` ;;
9917 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9918 if ${ac_cv_lib_soname_Xi:+false} :; then :
9919 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9920 fi ;;
9921 esac
9923 rm -f core conftest.err conftest.$ac_objext \
9924 conftest$ac_exeext conftest.$ac_ext
9925 LIBS=$ac_check_soname_save_LIBS
9927 if ${ac_cv_lib_soname_Xi:+false} :; then :
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9929 $as_echo "not found" >&6; }
9931 else
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9933 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9935 cat >>confdefs.h <<_ACEOF
9936 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9937 _ACEOF
9942 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9943 case "x$with_xinput" in
9944 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9945 xno) ;;
9946 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9947 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9948 esac
9952 if test "x$ac_cv_lib_soname_Xi" != x
9953 then
9954 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9955 case "x$with_xinput2" in
9956 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9957 xno) ;;
9958 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9959 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9960 esac
9965 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9966 then
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9968 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9969 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9970 $as_echo_n "(cached) " >&6
9971 else
9972 ac_check_lib_save_LIBS=$LIBS
9973 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9975 /* end confdefs.h. */
9977 /* Override any GCC internal prototype to avoid an error.
9978 Use char because int might match the return type of a GCC
9979 builtin and then its argument prototype would still apply. */
9980 #ifdef __cplusplus
9981 extern "C"
9982 #endif
9983 char XShmQueryExtension ();
9985 main ()
9987 return XShmQueryExtension ();
9989 return 0;
9991 _ACEOF
9992 if ac_fn_c_try_link "$LINENO"; then :
9993 ac_cv_lib_Xext_XShmQueryExtension=yes
9994 else
9995 ac_cv_lib_Xext_XShmQueryExtension=no
9997 rm -f core conftest.err conftest.$ac_objext \
9998 conftest$ac_exeext conftest.$ac_ext
9999 LIBS=$ac_check_lib_save_LIBS
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10002 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10003 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10005 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10010 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10011 case "x$with_xshm" in
10012 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10013 xno) ;;
10014 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10015 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10016 esac
10020 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10021 then
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10023 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10024 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10025 $as_echo_n "(cached) " >&6
10026 else
10027 ac_check_lib_save_LIBS=$LIBS
10028 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10030 /* end confdefs.h. */
10032 /* Override any GCC internal prototype to avoid an error.
10033 Use char because int might match the return type of a GCC
10034 builtin and then its argument prototype would still apply. */
10035 #ifdef __cplusplus
10036 extern "C"
10037 #endif
10038 char XShapeQueryExtension ();
10040 main ()
10042 return XShapeQueryExtension ();
10044 return 0;
10046 _ACEOF
10047 if ac_fn_c_try_link "$LINENO"; then :
10048 ac_cv_lib_Xext_XShapeQueryExtension=yes
10049 else
10050 ac_cv_lib_Xext_XShapeQueryExtension=no
10052 rm -f core conftest.err conftest.$ac_objext \
10053 conftest$ac_exeext conftest.$ac_ext
10054 LIBS=$ac_check_lib_save_LIBS
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10057 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10058 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10060 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10065 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10066 case "x$with_xshape" in
10067 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10068 xno) ;;
10069 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10070 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10071 esac
10075 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10076 then
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10078 $as_echo_n "checking for -lXxf86vm... " >&6; }
10079 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10080 $as_echo_n "(cached) " >&6
10081 else
10082 ac_check_soname_save_LIBS=$LIBS
10083 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10085 /* end confdefs.h. */
10087 /* Override any GCC internal prototype to avoid an error.
10088 Use char because int might match the return type of a GCC
10089 builtin and then its argument prototype would still apply. */
10090 #ifdef __cplusplus
10091 extern "C"
10092 #endif
10093 char XF86VidModeQueryExtension ();
10095 main ()
10097 return XF86VidModeQueryExtension ();
10099 return 0;
10101 _ACEOF
10102 if ac_fn_c_try_link "$LINENO"; then :
10103 case "$LIBEXT" in
10104 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10105 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'` ;;
10106 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10107 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10108 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10109 fi ;;
10110 esac
10112 rm -f core conftest.err conftest.$ac_objext \
10113 conftest$ac_exeext conftest.$ac_ext
10114 LIBS=$ac_check_soname_save_LIBS
10116 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10118 $as_echo "not found" >&6; }
10120 else
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10122 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10124 cat >>confdefs.h <<_ACEOF
10125 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10126 _ACEOF
10131 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10132 case "x$with_xxf86vm" in
10133 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10134 xno) ;;
10135 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10136 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10137 esac
10141 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10142 then
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10144 $as_echo_n "checking for -lXrender... " >&6; }
10145 if ${ac_cv_lib_soname_Xrender+:} false; then :
10146 $as_echo_n "(cached) " >&6
10147 else
10148 ac_check_soname_save_LIBS=$LIBS
10149 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10151 /* end confdefs.h. */
10153 /* Override any GCC internal prototype to avoid an error.
10154 Use char because int might match the return type of a GCC
10155 builtin and then its argument prototype would still apply. */
10156 #ifdef __cplusplus
10157 extern "C"
10158 #endif
10159 char XRenderQueryExtension ();
10161 main ()
10163 return XRenderQueryExtension ();
10165 return 0;
10167 _ACEOF
10168 if ac_fn_c_try_link "$LINENO"; then :
10169 case "$LIBEXT" in
10170 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10171 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'` ;;
10172 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10173 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10174 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10175 fi ;;
10176 esac
10178 rm -f core conftest.err conftest.$ac_objext \
10179 conftest$ac_exeext conftest.$ac_ext
10180 LIBS=$ac_check_soname_save_LIBS
10182 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10184 $as_echo "not found" >&6; }
10186 else
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10188 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10190 cat >>confdefs.h <<_ACEOF
10191 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10192 _ACEOF
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10195 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10196 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10197 $as_echo_n "(cached) " >&6
10198 else
10199 ac_check_lib_save_LIBS=$LIBS
10200 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10204 /* Override any GCC internal prototype to avoid an error.
10205 Use char because int might match the return type of a GCC
10206 builtin and then its argument prototype would still apply. */
10207 #ifdef __cplusplus
10208 extern "C"
10209 #endif
10210 char XRenderSetPictureTransform ();
10212 main ()
10214 return XRenderSetPictureTransform ();
10216 return 0;
10218 _ACEOF
10219 if ac_fn_c_try_link "$LINENO"; then :
10220 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10221 else
10222 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10224 rm -f core conftest.err conftest.$ac_objext \
10225 conftest$ac_exeext conftest.$ac_ext
10226 LIBS=$ac_check_lib_save_LIBS
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10229 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10230 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10232 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10237 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10238 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10239 $as_echo_n "(cached) " >&6
10240 else
10241 ac_check_lib_save_LIBS=$LIBS
10242 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10246 /* Override any GCC internal prototype to avoid an error.
10247 Use char because int might match the return type of a GCC
10248 builtin and then its argument prototype would still apply. */
10249 #ifdef __cplusplus
10250 extern "C"
10251 #endif
10252 char XRenderCreateLinearGradient ();
10254 main ()
10256 return XRenderCreateLinearGradient ();
10258 return 0;
10260 _ACEOF
10261 if ac_fn_c_try_link "$LINENO"; then :
10262 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10263 else
10264 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10266 rm -f core conftest.err conftest.$ac_objext \
10267 conftest$ac_exeext conftest.$ac_ext
10268 LIBS=$ac_check_lib_save_LIBS
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10271 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10272 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10274 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10281 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10282 case "x$with_xrender" in
10283 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10284 xno) ;;
10285 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10286 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10287 esac
10291 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10292 then
10293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10294 /* end confdefs.h. */
10295 #include <X11/Xlib.h>
10296 #include <X11/extensions/Xrandr.h>
10298 main ()
10300 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10302 return 0;
10304 _ACEOF
10305 if ac_fn_c_try_compile "$LINENO"; then :
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10307 $as_echo_n "checking for -lXrandr... " >&6; }
10308 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10309 $as_echo_n "(cached) " >&6
10310 else
10311 ac_check_soname_save_LIBS=$LIBS
10312 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10316 /* Override any GCC internal prototype to avoid an error.
10317 Use char because int might match the return type of a GCC
10318 builtin and then its argument prototype would still apply. */
10319 #ifdef __cplusplus
10320 extern "C"
10321 #endif
10322 char XRRQueryExtension ();
10324 main ()
10326 return XRRQueryExtension ();
10328 return 0;
10330 _ACEOF
10331 if ac_fn_c_try_link "$LINENO"; then :
10332 case "$LIBEXT" in
10333 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10334 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'` ;;
10335 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10336 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10337 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10338 fi ;;
10339 esac
10341 rm -f core conftest.err conftest.$ac_objext \
10342 conftest$ac_exeext conftest.$ac_ext
10343 LIBS=$ac_check_soname_save_LIBS
10345 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10347 $as_echo "not found" >&6; }
10349 else
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10351 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10353 cat >>confdefs.h <<_ACEOF
10354 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10355 _ACEOF
10357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10359 #include <X11/Xlib.h>
10360 #include <X11/extensions/Xrandr.h>
10362 main ()
10364 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10366 return 0;
10368 _ACEOF
10369 if ac_fn_c_try_compile "$LINENO"; then :
10371 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10379 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10380 case "x$with_xrandr" in
10381 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10382 xno) ;;
10383 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10384 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10385 esac
10389 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10390 then
10391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10392 /* end confdefs.h. */
10393 #include <X11/Xlib.h>
10394 #include <X11/extensions/Xfixes.h>
10396 main ()
10398 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10400 return 0;
10402 _ACEOF
10403 if ac_fn_c_try_compile "$LINENO"; then :
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10405 $as_echo_n "checking for -lXfixes... " >&6; }
10406 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10407 $as_echo_n "(cached) " >&6
10408 else
10409 ac_check_soname_save_LIBS=$LIBS
10410 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10412 /* end confdefs.h. */
10414 /* Override any GCC internal prototype to avoid an error.
10415 Use char because int might match the return type of a GCC
10416 builtin and then its argument prototype would still apply. */
10417 #ifdef __cplusplus
10418 extern "C"
10419 #endif
10420 char XFixesQueryVersion ();
10422 main ()
10424 return XFixesQueryVersion ();
10426 return 0;
10428 _ACEOF
10429 if ac_fn_c_try_link "$LINENO"; then :
10430 case "$LIBEXT" in
10431 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10432 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'` ;;
10433 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10434 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10435 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10436 fi ;;
10437 esac
10439 rm -f core conftest.err conftest.$ac_objext \
10440 conftest$ac_exeext conftest.$ac_ext
10441 LIBS=$ac_check_soname_save_LIBS
10443 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10445 $as_echo "not found" >&6; }
10447 else
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10449 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10451 cat >>confdefs.h <<_ACEOF
10452 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10453 _ACEOF
10458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10460 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10461 case "x$with_xfixes" in
10462 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10463 xno) ;;
10464 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10465 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10466 esac
10470 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10471 then
10472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10473 /* end confdefs.h. */
10474 #include <X11/Xlib.h>
10475 #include <X11/extensions/Xinerama.h>
10477 main ()
10479 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10481 return 0;
10483 _ACEOF
10484 if ac_fn_c_try_compile "$LINENO"; then :
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10486 $as_echo_n "checking for -lXinerama... " >&6; }
10487 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10488 $as_echo_n "(cached) " >&6
10489 else
10490 ac_check_soname_save_LIBS=$LIBS
10491 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10493 /* end confdefs.h. */
10495 /* Override any GCC internal prototype to avoid an error.
10496 Use char because int might match the return type of a GCC
10497 builtin and then its argument prototype would still apply. */
10498 #ifdef __cplusplus
10499 extern "C"
10500 #endif
10501 char XineramaQueryScreens ();
10503 main ()
10505 return XineramaQueryScreens ();
10507 return 0;
10509 _ACEOF
10510 if ac_fn_c_try_link "$LINENO"; then :
10511 case "$LIBEXT" in
10512 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10513 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'` ;;
10514 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10515 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10516 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10517 fi ;;
10518 esac
10520 rm -f core conftest.err conftest.$ac_objext \
10521 conftest$ac_exeext conftest.$ac_ext
10522 LIBS=$ac_check_soname_save_LIBS
10524 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10526 $as_echo "not found" >&6; }
10528 else
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10530 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10532 cat >>confdefs.h <<_ACEOF
10533 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10534 _ACEOF
10539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10541 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10542 case "x$with_xinerama" in
10543 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10544 xno) ;;
10545 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10546 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10547 esac
10551 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10552 then
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10554 $as_echo_n "checking for -lXcomposite... " >&6; }
10555 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10556 $as_echo_n "(cached) " >&6
10557 else
10558 ac_check_soname_save_LIBS=$LIBS
10559 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10561 /* end confdefs.h. */
10563 /* Override any GCC internal prototype to avoid an error.
10564 Use char because int might match the return type of a GCC
10565 builtin and then its argument prototype would still apply. */
10566 #ifdef __cplusplus
10567 extern "C"
10568 #endif
10569 char XCompositeRedirectWindow ();
10571 main ()
10573 return XCompositeRedirectWindow ();
10575 return 0;
10577 _ACEOF
10578 if ac_fn_c_try_link "$LINENO"; then :
10579 case "$LIBEXT" in
10580 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10581 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'` ;;
10582 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10583 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10584 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10585 fi ;;
10586 esac
10588 rm -f core conftest.err conftest.$ac_objext \
10589 conftest$ac_exeext conftest.$ac_ext
10590 LIBS=$ac_check_soname_save_LIBS
10592 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10594 $as_echo "not found" >&6; }
10596 else
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10598 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10600 cat >>confdefs.h <<_ACEOF
10601 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10602 _ACEOF
10607 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10608 case "x$with_xcomposite" in
10609 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10610 xno) ;;
10611 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10612 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10613 esac
10617 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10618 #include <X11/Xlib.h>
10619 #endif
10621 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10623 cat >>confdefs.h <<_ACEOF
10624 #define HAVE_XICCALLBACK_CALLBACK 1
10625 _ACEOF
10629 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10630 #include <X11/Xlib.h>
10631 #endif
10633 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10635 cat >>confdefs.h <<_ACEOF
10636 #define HAVE_XEVENT_XCOOKIE 1
10637 _ACEOF
10644 opengl_msg=""
10645 if test "x$with_opengl" != "xno"
10646 then
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10648 $as_echo_n "checking for -lGL... " >&6; }
10649 if ${ac_cv_lib_soname_GL+:} false; then :
10650 $as_echo_n "(cached) " >&6
10651 else
10652 ac_check_soname_save_LIBS=$LIBS
10653 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10655 /* end confdefs.h. */
10657 /* Override any GCC internal prototype to avoid an error.
10658 Use char because int might match the return type of a GCC
10659 builtin and then its argument prototype would still apply. */
10660 #ifdef __cplusplus
10661 extern "C"
10662 #endif
10663 char glXCreateContext ();
10665 main ()
10667 return glXCreateContext ();
10669 return 0;
10671 _ACEOF
10672 if ac_fn_c_try_link "$LINENO"; then :
10673 case "$LIBEXT" in
10674 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10675 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'` ;;
10676 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10677 if ${ac_cv_lib_soname_GL:+false} :; then :
10678 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10679 fi ;;
10680 esac
10682 rm -f core conftest.err conftest.$ac_objext \
10683 conftest$ac_exeext conftest.$ac_ext
10684 LIBS=$ac_check_soname_save_LIBS
10686 if ${ac_cv_lib_soname_GL:+false} :; then :
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10688 $as_echo "not found" >&6; }
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10690 $as_echo_n "checking for -lGL... " >&6; }
10691 if ${ac_cv_lib_soname_GL+:} false; then :
10692 $as_echo_n "(cached) " >&6
10693 else
10694 ac_check_soname_save_LIBS=$LIBS
10695 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"
10696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10697 /* end confdefs.h. */
10699 /* Override any GCC internal prototype to avoid an error.
10700 Use char because int might match the return type of a GCC
10701 builtin and then its argument prototype would still apply. */
10702 #ifdef __cplusplus
10703 extern "C"
10704 #endif
10705 char glXCreateContext ();
10707 main ()
10709 return glXCreateContext ();
10711 return 0;
10713 _ACEOF
10714 if ac_fn_c_try_link "$LINENO"; then :
10715 case "$LIBEXT" in
10716 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10717 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'` ;;
10718 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10719 if ${ac_cv_lib_soname_GL:+false} :; then :
10720 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10721 fi ;;
10722 esac
10724 rm -f core conftest.err conftest.$ac_objext \
10725 conftest$ac_exeext conftest.$ac_ext
10726 LIBS=$ac_check_soname_save_LIBS
10728 if ${ac_cv_lib_soname_GL:+false} :; then :
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10730 $as_echo "not found" >&6; }
10731 if test -f /usr/X11R6/lib/libGL.a
10732 then
10733 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10734 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10735 else
10736 opengl_msg="No OpenGL library found on this system."
10738 else
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10740 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10742 cat >>confdefs.h <<_ACEOF
10743 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10744 _ACEOF
10746 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"
10748 else
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10750 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10752 cat >>confdefs.h <<_ACEOF
10753 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10754 _ACEOF
10756 OPENGL_LIBS="-lGL"
10758 if test "x$with_glu" != "xno"
10759 then
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10761 $as_echo_n "checking for -lGLU... " >&6; }
10762 if ${ac_cv_lib_soname_GLU+:} false; then :
10763 $as_echo_n "(cached) " >&6
10764 else
10765 ac_check_soname_save_LIBS=$LIBS
10766 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10768 /* end confdefs.h. */
10770 /* Override any GCC internal prototype to avoid an error.
10771 Use char because int might match the return type of a GCC
10772 builtin and then its argument prototype would still apply. */
10773 #ifdef __cplusplus
10774 extern "C"
10775 #endif
10776 char gluLookAt ();
10778 main ()
10780 return gluLookAt ();
10782 return 0;
10784 _ACEOF
10785 if ac_fn_c_try_link "$LINENO"; then :
10786 case "$LIBEXT" in
10787 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10788 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'` ;;
10789 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10790 if ${ac_cv_lib_soname_GLU:+false} :; then :
10791 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10792 fi ;;
10793 esac
10795 rm -f core conftest.err conftest.$ac_objext \
10796 conftest$ac_exeext conftest.$ac_ext
10797 LIBS=$ac_check_soname_save_LIBS
10799 if ${ac_cv_lib_soname_GLU:+false} :; then :
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10801 $as_echo "not found" >&6; }
10803 else
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10805 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10807 cat >>confdefs.h <<_ACEOF
10808 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10809 _ACEOF
10813 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10814 case "x$with_glu" in
10815 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10816 xno) ;;
10817 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10818 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10819 esac
10824 if test "x$with_osmesa" != "xno"
10825 then
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10827 $as_echo_n "checking for -lOSMesa... " >&6; }
10828 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10829 $as_echo_n "(cached) " >&6
10830 else
10831 ac_check_soname_save_LIBS=$LIBS
10832 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h. */
10836 /* Override any GCC internal prototype to avoid an error.
10837 Use char because int might match the return type of a GCC
10838 builtin and then its argument prototype would still apply. */
10839 #ifdef __cplusplus
10840 extern "C"
10841 #endif
10842 char OSMesaGetProcAddress ();
10844 main ()
10846 return OSMesaGetProcAddress ();
10848 return 0;
10850 _ACEOF
10851 if ac_fn_c_try_link "$LINENO"; then :
10852 case "$LIBEXT" in
10853 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10854 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'` ;;
10855 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10856 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10857 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10858 fi ;;
10859 esac
10861 rm -f core conftest.err conftest.$ac_objext \
10862 conftest$ac_exeext conftest.$ac_ext
10863 LIBS=$ac_check_soname_save_LIBS
10865 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10867 $as_echo "not found" >&6; }
10869 else
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10871 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10873 cat >>confdefs.h <<_ACEOF
10874 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10875 _ACEOF
10879 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10880 case "x$with_osmesa" in
10881 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10882 xno) ;;
10883 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10884 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10885 esac
10890 if test -n "$opengl_msg"; then :
10891 case "x$with_opengl" in
10892 x) as_fn_append wine_warnings "|$opengl_msg
10893 OpenGL and Direct3D won't be supported." ;;
10894 xno) ;;
10895 *) as_fn_error $? "$opengl_msg
10896 OpenGL and Direct3D won't be supported.
10897 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10898 esac
10902 CPPFLAGS="$ac_save_CPPFLAGS"
10903 else
10904 X_CFLAGS=""
10905 X_LIBS=""
10908 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10909 then
10910 if test "x$X_LIBS" = "x"; then :
10911 case "x$with_x" in
10912 xno) ;;
10913 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10914 without X support, which probably isn't what you want. You will need
10915 to install ${notice_platform}development packages of Xlib at the very least.
10916 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10917 esac
10918 enable_winex11_drv=${enable_winex11_drv:-no}
10920 else
10921 if test "x$X_LIBS" = "x"; then :
10922 case "x$with_x" in
10923 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10924 xno) ;;
10925 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10926 This is an error since --with-x was requested." "$LINENO" 5 ;;
10927 esac
10928 enable_winex11_drv=${enable_winex11_drv:-no}
10932 if test "$ac_cv_header_CL_cl_h" = "yes"
10933 then
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10935 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10936 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10937 $as_echo_n "(cached) " >&6
10938 else
10939 ac_check_lib_save_LIBS=$LIBS
10940 LIBS="-lOpenCL $LIBS"
10941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10942 /* end confdefs.h. */
10944 /* Override any GCC internal prototype to avoid an error.
10945 Use char because int might match the return type of a GCC
10946 builtin and then its argument prototype would still apply. */
10947 #ifdef __cplusplus
10948 extern "C"
10949 #endif
10950 char clGetPlatformInfo ();
10952 main ()
10954 return clGetPlatformInfo ();
10956 return 0;
10958 _ACEOF
10959 if ac_fn_c_try_link "$LINENO"; then :
10960 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10961 else
10962 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10964 rm -f core conftest.err conftest.$ac_objext \
10965 conftest$ac_exeext conftest.$ac_ext
10966 LIBS=$ac_check_lib_save_LIBS
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10969 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10970 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10971 OPENCL_LIBS="-lOpenCL"
10976 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10977 case "x$with_opencl" in
10978 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10979 xno) ;;
10980 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10981 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10982 esac
10983 enable_opencl=${enable_opencl:-no}
10986 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10987 then
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10989 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10990 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10991 $as_echo_n "(cached) " >&6
10992 else
10993 ac_check_lib_save_LIBS=$LIBS
10994 LIBS="-lpcap $LIBS"
10995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10996 /* end confdefs.h. */
10998 /* Override any GCC internal prototype to avoid an error.
10999 Use char because int might match the return type of a GCC
11000 builtin and then its argument prototype would still apply. */
11001 #ifdef __cplusplus
11002 extern "C"
11003 #endif
11004 char pcap_create ();
11006 main ()
11008 return pcap_create ();
11010 return 0;
11012 _ACEOF
11013 if ac_fn_c_try_link "$LINENO"; then :
11014 ac_cv_lib_pcap_pcap_create=yes
11015 else
11016 ac_cv_lib_pcap_pcap_create=no
11018 rm -f core conftest.err conftest.$ac_objext \
11019 conftest$ac_exeext conftest.$ac_ext
11020 LIBS=$ac_check_lib_save_LIBS
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11023 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11024 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11025 PCAP_LIBS="-lpcap"
11030 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11031 case "x$with_pcap" in
11032 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11033 xno) ;;
11034 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11035 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11036 esac
11037 enable_wpcap=${enable_wpcap:-no}
11041 if test "x$with_xml" != "xno"
11042 then
11043 if ${XML2_CFLAGS:+false} :; then :
11044 if ${PKG_CONFIG+:} false; then :
11045 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11048 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11049 if ${XML2_LIBS:+false} :; then :
11050 if ${PKG_CONFIG+:} false; then :
11051 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11054 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11055 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11056 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11057 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11058 ac_save_CPPFLAGS=$CPPFLAGS
11059 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11060 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11061 do :
11062 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11063 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11064 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11065 cat >>confdefs.h <<_ACEOF
11066 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11067 _ACEOF
11071 done
11073 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"
11074 then
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11076 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11077 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11078 $as_echo_n "(cached) " >&6
11079 else
11080 ac_check_lib_save_LIBS=$LIBS
11081 LIBS="-lxml2 $XML2_LIBS $LIBS"
11082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11083 /* end confdefs.h. */
11085 /* Override any GCC internal prototype to avoid an error.
11086 Use char because int might match the return type of a GCC
11087 builtin and then its argument prototype would still apply. */
11088 #ifdef __cplusplus
11089 extern "C"
11090 #endif
11091 char xmlParseMemory ();
11093 main ()
11095 return xmlParseMemory ();
11097 return 0;
11099 _ACEOF
11100 if ac_fn_c_try_link "$LINENO"; then :
11101 ac_cv_lib_xml2_xmlParseMemory=yes
11102 else
11103 ac_cv_lib_xml2_xmlParseMemory=no
11105 rm -f core conftest.err conftest.$ac_objext \
11106 conftest$ac_exeext conftest.$ac_ext
11107 LIBS=$ac_check_lib_save_LIBS
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11110 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11111 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11113 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11115 else
11116 XML2_LIBS=""
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11120 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11121 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11122 $as_echo_n "(cached) " >&6
11123 else
11124 ac_check_lib_save_LIBS=$LIBS
11125 LIBS="-lxml2 $XML2_LIBS $LIBS"
11126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11127 /* end confdefs.h. */
11129 /* Override any GCC internal prototype to avoid an error.
11130 Use char because int might match the return type of a GCC
11131 builtin and then its argument prototype would still apply. */
11132 #ifdef __cplusplus
11133 extern "C"
11134 #endif
11135 char xmlReadMemory ();
11137 main ()
11139 return xmlReadMemory ();
11141 return 0;
11143 _ACEOF
11144 if ac_fn_c_try_link "$LINENO"; then :
11145 ac_cv_lib_xml2_xmlReadMemory=yes
11146 else
11147 ac_cv_lib_xml2_xmlReadMemory=no
11149 rm -f core conftest.err conftest.$ac_objext \
11150 conftest$ac_exeext conftest.$ac_ext
11151 LIBS=$ac_check_lib_save_LIBS
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11154 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11155 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11157 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11162 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11163 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11164 $as_echo_n "(cached) " >&6
11165 else
11166 ac_check_lib_save_LIBS=$LIBS
11167 LIBS="-lxml2 $XML2_LIBS $LIBS"
11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h. */
11171 /* Override any GCC internal prototype to avoid an error.
11172 Use char because int might match the return type of a GCC
11173 builtin and then its argument prototype would still apply. */
11174 #ifdef __cplusplus
11175 extern "C"
11176 #endif
11177 char xmlNewDocPI ();
11179 main ()
11181 return xmlNewDocPI ();
11183 return 0;
11185 _ACEOF
11186 if ac_fn_c_try_link "$LINENO"; then :
11187 ac_cv_lib_xml2_xmlNewDocPI=yes
11188 else
11189 ac_cv_lib_xml2_xmlNewDocPI=no
11191 rm -f core conftest.err conftest.$ac_objext \
11192 conftest$ac_exeext conftest.$ac_ext
11193 LIBS=$ac_check_lib_save_LIBS
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11196 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11197 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11199 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11204 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11205 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11206 $as_echo_n "(cached) " >&6
11207 else
11208 ac_check_lib_save_LIBS=$LIBS
11209 LIBS="-lxml2 $XML2_LIBS $LIBS"
11210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h. */
11213 /* Override any GCC internal prototype to avoid an error.
11214 Use char because int might match the return type of a GCC
11215 builtin and then its argument prototype would still apply. */
11216 #ifdef __cplusplus
11217 extern "C"
11218 #endif
11219 char xmlSchemaSetParserStructuredErrors ();
11221 main ()
11223 return xmlSchemaSetParserStructuredErrors ();
11225 return 0;
11227 _ACEOF
11228 if ac_fn_c_try_link "$LINENO"; then :
11229 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11230 else
11231 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11233 rm -f core conftest.err conftest.$ac_objext \
11234 conftest$ac_exeext conftest.$ac_ext
11235 LIBS=$ac_check_lib_save_LIBS
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11238 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11239 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11241 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11246 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11247 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11248 $as_echo_n "(cached) " >&6
11249 else
11250 ac_check_lib_save_LIBS=$LIBS
11251 LIBS="-lxml2 $XML2_LIBS $LIBS"
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11255 /* Override any GCC internal prototype to avoid an error.
11256 Use char because int might match the return type of a GCC
11257 builtin and then its argument prototype would still apply. */
11258 #ifdef __cplusplus
11259 extern "C"
11260 #endif
11261 char xmlSchemaSetValidStructuredErrors ();
11263 main ()
11265 return xmlSchemaSetValidStructuredErrors ();
11267 return 0;
11269 _ACEOF
11270 if ac_fn_c_try_link "$LINENO"; then :
11271 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11272 else
11273 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11275 rm -f core conftest.err conftest.$ac_objext \
11276 conftest$ac_exeext conftest.$ac_ext
11277 LIBS=$ac_check_lib_save_LIBS
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11280 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11281 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11283 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11288 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11289 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11290 $as_echo_n "(cached) " >&6
11291 else
11292 ac_check_lib_save_LIBS=$LIBS
11293 LIBS="-lxml2 $XML2_LIBS $LIBS"
11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h. */
11297 /* Override any GCC internal prototype to avoid an error.
11298 Use char because int might match the return type of a GCC
11299 builtin and then its argument prototype would still apply. */
11300 #ifdef __cplusplus
11301 extern "C"
11302 #endif
11303 char xmlFirstElementChild ();
11305 main ()
11307 return xmlFirstElementChild ();
11309 return 0;
11311 _ACEOF
11312 if ac_fn_c_try_link "$LINENO"; then :
11313 ac_cv_lib_xml2_xmlFirstElementChild=yes
11314 else
11315 ac_cv_lib_xml2_xmlFirstElementChild=no
11317 rm -f core conftest.err conftest.$ac_objext \
11318 conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_lib_save_LIBS
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11322 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11323 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11325 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11329 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11331 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11333 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11337 else
11338 XML2_CFLAGS=""
11339 XML2_LIBS=""
11341 CPPFLAGS=$ac_save_CPPFLAGS
11342 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11343 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11346 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11347 case "x$with_xml" in
11348 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11349 xno) ;;
11350 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11351 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11352 esac
11356 if test "x$with_xslt" != "xno"
11357 then
11358 if ${XSLT_CFLAGS:+false} :; then :
11359 if ${PKG_CONFIG+:} false; then :
11360 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11363 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11364 if ${XSLT_LIBS:+false} :; then :
11365 if ${PKG_CONFIG+:} false; then :
11366 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11369 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11370 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11371 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11372 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11373 ac_save_CPPFLAGS=$CPPFLAGS
11374 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11375 for ac_header in libxslt/pattern.h libxslt/transform.h
11376 do :
11377 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11378 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11379 # include <libxslt/pattern.h>
11380 #endif
11382 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11383 cat >>confdefs.h <<_ACEOF
11384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11385 _ACEOF
11389 done
11391 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11392 then
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11394 $as_echo_n "checking for -lxslt... " >&6; }
11395 if ${ac_cv_lib_soname_xslt+:} false; then :
11396 $as_echo_n "(cached) " >&6
11397 else
11398 ac_check_soname_save_LIBS=$LIBS
11399 LIBS="-lxslt $XSLT_LIBS $LIBS"
11400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11401 /* end confdefs.h. */
11403 /* Override any GCC internal prototype to avoid an error.
11404 Use char because int might match the return type of a GCC
11405 builtin and then its argument prototype would still apply. */
11406 #ifdef __cplusplus
11407 extern "C"
11408 #endif
11409 char xsltCompilePattern ();
11411 main ()
11413 return xsltCompilePattern ();
11415 return 0;
11417 _ACEOF
11418 if ac_fn_c_try_link "$LINENO"; then :
11419 case "$LIBEXT" in
11420 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11421 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'` ;;
11422 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11423 if ${ac_cv_lib_soname_xslt:+false} :; then :
11424 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11425 fi ;;
11426 esac
11428 rm -f core conftest.err conftest.$ac_objext \
11429 conftest$ac_exeext conftest.$ac_ext
11430 LIBS=$ac_check_soname_save_LIBS
11432 if ${ac_cv_lib_soname_xslt:+false} :; then :
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11434 $as_echo "not found" >&6; }
11436 else
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11438 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11440 cat >>confdefs.h <<_ACEOF
11441 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11442 _ACEOF
11446 else
11447 XSLT_CFLAGS=""
11449 CPPFLAGS=$ac_save_CPPFLAGS
11450 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11451 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11454 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11455 case "x$with_xslt" in
11456 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11457 xno) ;;
11458 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11459 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11460 esac
11464 if test "x$with_dbus" != "xno"
11465 then
11466 if ${DBUS_CFLAGS:+false} :; then :
11467 if ${PKG_CONFIG+:} false; then :
11468 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11472 if ${DBUS_LIBS:+false} :; then :
11473 if ${PKG_CONFIG+:} false; then :
11474 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11479 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11480 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11481 ac_save_CPPFLAGS=$CPPFLAGS
11482 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11483 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11484 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11486 $as_echo_n "checking for -ldbus-1... " >&6; }
11487 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11488 $as_echo_n "(cached) " >&6
11489 else
11490 ac_check_soname_save_LIBS=$LIBS
11491 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11493 /* end confdefs.h. */
11495 /* Override any GCC internal prototype to avoid an error.
11496 Use char because int might match the return type of a GCC
11497 builtin and then its argument prototype would still apply. */
11498 #ifdef __cplusplus
11499 extern "C"
11500 #endif
11501 char dbus_connection_close ();
11503 main ()
11505 return dbus_connection_close ();
11507 return 0;
11509 _ACEOF
11510 if ac_fn_c_try_link "$LINENO"; then :
11511 case "$LIBEXT" in
11512 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11513 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'` ;;
11514 *) 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'`
11515 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11516 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11517 fi ;;
11518 esac
11520 rm -f core conftest.err conftest.$ac_objext \
11521 conftest$ac_exeext conftest.$ac_ext
11522 LIBS=$ac_check_soname_save_LIBS
11524 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11526 $as_echo "not found" >&6; }
11527 DBUS_CFLAGS=""
11528 else
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11530 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11532 cat >>confdefs.h <<_ACEOF
11533 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11534 _ACEOF
11538 else
11539 DBUS_CFLAGS=""
11543 CPPFLAGS=$ac_save_CPPFLAGS
11544 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11545 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11548 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11549 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11550 case "x$with_dbus" in
11551 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11552 xno) ;;
11553 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11554 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11555 esac
11559 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11560 then
11561 if ${HAL_CFLAGS:+false} :; then :
11562 if ${PKG_CONFIG+:} false; then :
11563 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11567 if ${HAL_LIBS:+false} :; then :
11568 if ${PKG_CONFIG+:} false; then :
11569 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11573 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11574 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11575 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11576 ac_save_CPPFLAGS=$CPPFLAGS
11577 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11578 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11579 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11581 $as_echo_n "checking for -lhal... " >&6; }
11582 if ${ac_cv_lib_soname_hal+:} false; then :
11583 $as_echo_n "(cached) " >&6
11584 else
11585 ac_check_soname_save_LIBS=$LIBS
11586 LIBS="-lhal $HAL_LIBS $LIBS"
11587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11588 /* end confdefs.h. */
11590 /* Override any GCC internal prototype to avoid an error.
11591 Use char because int might match the return type of a GCC
11592 builtin and then its argument prototype would still apply. */
11593 #ifdef __cplusplus
11594 extern "C"
11595 #endif
11596 char libhal_ctx_new ();
11598 main ()
11600 return libhal_ctx_new ();
11602 return 0;
11604 _ACEOF
11605 if ac_fn_c_try_link "$LINENO"; then :
11606 case "$LIBEXT" in
11607 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11608 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'` ;;
11609 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11610 if ${ac_cv_lib_soname_hal:+false} :; then :
11611 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11612 fi ;;
11613 esac
11615 rm -f core conftest.err conftest.$ac_objext \
11616 conftest$ac_exeext conftest.$ac_ext
11617 LIBS=$ac_check_soname_save_LIBS
11619 if ${ac_cv_lib_soname_hal:+false} :; then :
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11621 $as_echo "not found" >&6; }
11622 HAL_CFLAGS=""
11623 else
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11625 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11627 cat >>confdefs.h <<_ACEOF
11628 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11629 _ACEOF
11633 else
11634 HAL_CFLAGS=""
11638 CPPFLAGS=$ac_save_CPPFLAGS
11639 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11640 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11642 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11643 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11644 case "x$with_hal" in
11645 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11646 xno) ;;
11647 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11648 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11649 esac
11654 if test "x$with_gnutls" != "xno"
11655 then
11656 if ${GNUTLS_CFLAGS:+false} :; then :
11657 if ${PKG_CONFIG+:} false; then :
11658 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11662 if ${GNUTLS_LIBS:+false} :; then :
11663 if ${PKG_CONFIG+:} false; then :
11664 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11669 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11670 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11671 ac_save_CPPFLAGS=$CPPFLAGS
11672 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11673 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11674 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11676 /* end confdefs.h. */
11677 #include <gnutls/gnutls.h>
11678 #include <gnutls/crypto.h>
11680 main ()
11682 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11684 return 0;
11686 _ACEOF
11687 if ac_fn_c_try_compile "$LINENO"; then :
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11689 $as_echo_n "checking for -lgnutls... " >&6; }
11690 if ${ac_cv_lib_soname_gnutls+:} false; then :
11691 $as_echo_n "(cached) " >&6
11692 else
11693 ac_check_soname_save_LIBS=$LIBS
11694 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11696 /* end confdefs.h. */
11698 /* Override any GCC internal prototype to avoid an error.
11699 Use char because int might match the return type of a GCC
11700 builtin and then its argument prototype would still apply. */
11701 #ifdef __cplusplus
11702 extern "C"
11703 #endif
11704 char gnutls_global_init ();
11706 main ()
11708 return gnutls_global_init ();
11710 return 0;
11712 _ACEOF
11713 if ac_fn_c_try_link "$LINENO"; then :
11714 case "$LIBEXT" in
11715 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11716 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'` ;;
11717 *) 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'`
11718 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11719 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'`
11720 fi ;;
11721 esac
11723 rm -f core conftest.err conftest.$ac_objext \
11724 conftest$ac_exeext conftest.$ac_ext
11725 LIBS=$ac_check_soname_save_LIBS
11727 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11729 $as_echo "not found" >&6; }
11730 GNUTLS_CFLAGS=""
11731 else
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11733 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11735 cat >>confdefs.h <<_ACEOF
11736 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11737 _ACEOF
11741 ac_wine_check_funcs_save_LIBS="$LIBS"
11742 LIBS="$LIBS $GNUTLS_LIBS"
11743 for ac_func in gnutls_cipher_init
11744 do :
11745 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11746 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11747 cat >>confdefs.h <<_ACEOF
11748 #define HAVE_GNUTLS_CIPHER_INIT 1
11749 _ACEOF
11751 else
11752 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11754 done
11756 LIBS="$ac_wine_check_funcs_save_LIBS"
11758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11759 else
11760 GNUTLS_CFLAGS=""
11764 CPPFLAGS=$ac_save_CPPFLAGS
11765 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11766 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11769 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11770 case "x$with_gnutls" in
11771 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11772 xno) ;;
11773 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11774 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11775 esac
11779 CURSES_LIBS=""
11780 if test "$ac_cv_header_ncurses_h" = "yes"
11781 then
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11783 $as_echo_n "checking for -lncurses... " >&6; }
11784 if ${ac_cv_lib_soname_ncurses+:} false; then :
11785 $as_echo_n "(cached) " >&6
11786 else
11787 ac_check_soname_save_LIBS=$LIBS
11788 LIBS="-lncurses $LIBS"
11789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11790 /* end confdefs.h. */
11792 /* Override any GCC internal prototype to avoid an error.
11793 Use char because int might match the return type of a GCC
11794 builtin and then its argument prototype would still apply. */
11795 #ifdef __cplusplus
11796 extern "C"
11797 #endif
11798 char waddch ();
11800 main ()
11802 return waddch ();
11804 return 0;
11806 _ACEOF
11807 if ac_fn_c_try_link "$LINENO"; then :
11808 case "$LIBEXT" in
11809 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11810 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'` ;;
11811 *) 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'`
11812 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11813 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11814 fi ;;
11815 esac
11817 rm -f core conftest.err conftest.$ac_objext \
11818 conftest$ac_exeext conftest.$ac_ext
11819 LIBS=$ac_check_soname_save_LIBS
11821 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11823 $as_echo "not found" >&6; }
11825 else
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11827 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11829 cat >>confdefs.h <<_ACEOF
11830 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11831 _ACEOF
11833 CURSES_LIBS="-lncurses"
11835 elif test "$ac_cv_header_curses_h" = "yes"
11836 then
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11838 $as_echo_n "checking for -lcurses... " >&6; }
11839 if ${ac_cv_lib_soname_curses+:} false; then :
11840 $as_echo_n "(cached) " >&6
11841 else
11842 ac_check_soname_save_LIBS=$LIBS
11843 LIBS="-lcurses $LIBS"
11844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11845 /* end confdefs.h. */
11847 /* Override any GCC internal prototype to avoid an error.
11848 Use char because int might match the return type of a GCC
11849 builtin and then its argument prototype would still apply. */
11850 #ifdef __cplusplus
11851 extern "C"
11852 #endif
11853 char waddch ();
11855 main ()
11857 return waddch ();
11859 return 0;
11861 _ACEOF
11862 if ac_fn_c_try_link "$LINENO"; then :
11863 case "$LIBEXT" in
11864 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11865 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'` ;;
11866 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11867 if ${ac_cv_lib_soname_curses:+false} :; then :
11868 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11869 fi ;;
11870 esac
11872 rm -f core conftest.err conftest.$ac_objext \
11873 conftest$ac_exeext conftest.$ac_ext
11874 LIBS=$ac_check_soname_save_LIBS
11876 if ${ac_cv_lib_soname_curses:+false} :; then :
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11878 $as_echo "not found" >&6; }
11880 else
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11882 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11884 cat >>confdefs.h <<_ACEOF
11885 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11886 _ACEOF
11888 CURSES_LIBS="-lcurses"
11891 ac_save_LIBS="$LIBS"
11892 LIBS="$LIBS $CURSES_LIBS"
11893 for ac_func in mousemask
11894 do :
11895 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11896 if test "x$ac_cv_func_mousemask" = xyes; then :
11897 cat >>confdefs.h <<_ACEOF
11898 #define HAVE_MOUSEMASK 1
11899 _ACEOF
11902 done
11904 LIBS="$ac_save_LIBS"
11905 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11906 case "x$with_curses" in
11907 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11908 xno) ;;
11909 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11910 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11911 esac
11915 if test "x$with_sane" != "xno"
11916 then
11917 if ${SANE_CFLAGS:+false} :; then :
11918 if ${PKG_CONFIG+:} false; then :
11919 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11922 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11923 if ${SANE_LIBS:+false} :; then :
11924 if ${PKG_CONFIG+:} false; then :
11925 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11928 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11930 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11931 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11932 ac_save_CPPFLAGS=$CPPFLAGS
11933 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11934 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11935 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11937 $as_echo_n "checking for -lsane... " >&6; }
11938 if ${ac_cv_lib_soname_sane+:} false; then :
11939 $as_echo_n "(cached) " >&6
11940 else
11941 ac_check_soname_save_LIBS=$LIBS
11942 LIBS="-lsane $SANE_LIBS $LIBS"
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11946 /* Override any GCC internal prototype to avoid an error.
11947 Use char because int might match the return type of a GCC
11948 builtin and then its argument prototype would still apply. */
11949 #ifdef __cplusplus
11950 extern "C"
11951 #endif
11952 char sane_init ();
11954 main ()
11956 return sane_init ();
11958 return 0;
11960 _ACEOF
11961 if ac_fn_c_try_link "$LINENO"; then :
11962 case "$LIBEXT" in
11963 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11964 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'` ;;
11965 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11966 if ${ac_cv_lib_soname_sane:+false} :; then :
11967 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11968 fi ;;
11969 esac
11971 rm -f core conftest.err conftest.$ac_objext \
11972 conftest$ac_exeext conftest.$ac_ext
11973 LIBS=$ac_check_soname_save_LIBS
11975 if ${ac_cv_lib_soname_sane:+false} :; then :
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11977 $as_echo "not found" >&6; }
11978 SANE_CFLAGS=""
11979 else
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11981 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11983 cat >>confdefs.h <<_ACEOF
11984 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11985 _ACEOF
11989 else
11990 SANE_CFLAGS=""
11994 CPPFLAGS=$ac_save_CPPFLAGS
11995 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11996 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11999 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12000 case "x$with_sane" in
12001 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12002 xno) ;;
12003 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12004 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12005 esac
12009 if test "x$with_v4l" != "xno"
12010 then
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12012 $as_echo_n "checking for -lv4l1... " >&6; }
12013 if ${ac_cv_lib_soname_v4l1+:} false; then :
12014 $as_echo_n "(cached) " >&6
12015 else
12016 ac_check_soname_save_LIBS=$LIBS
12017 LIBS="-lv4l1 $LIBS"
12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12021 /* Override any GCC internal prototype to avoid an error.
12022 Use char because int might match the return type of a GCC
12023 builtin and then its argument prototype would still apply. */
12024 #ifdef __cplusplus
12025 extern "C"
12026 #endif
12027 char v4l1_open ();
12029 main ()
12031 return v4l1_open ();
12033 return 0;
12035 _ACEOF
12036 if ac_fn_c_try_link "$LINENO"; then :
12037 case "$LIBEXT" in
12038 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12039 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'` ;;
12040 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12041 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12042 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12043 fi ;;
12044 esac
12046 rm -f core conftest.err conftest.$ac_objext \
12047 conftest$ac_exeext conftest.$ac_ext
12048 LIBS=$ac_check_soname_save_LIBS
12050 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12052 $as_echo "not found" >&6; }
12054 else
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12056 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12058 cat >>confdefs.h <<_ACEOF
12059 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12060 _ACEOF
12065 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12066 case "x$with_v4l" in
12067 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12068 xno) ;;
12069 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12070 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12071 esac
12075 if test "x$with_gphoto" != "xno"
12076 then
12077 if ${GPHOTO2_CFLAGS:+false} :; then :
12078 if ${PKG_CONFIG+:} false; then :
12079 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12082 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12083 if ${GPHOTO2_LIBS:+false} :; then :
12084 if ${PKG_CONFIG+:} false; then :
12085 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12088 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12089 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12090 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12091 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12092 ac_save_CPPFLAGS=$CPPFLAGS
12093 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12094 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12095 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12097 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12098 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12099 $as_echo_n "(cached) " >&6
12100 else
12101 ac_check_lib_save_LIBS=$LIBS
12102 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12106 /* Override any GCC internal prototype to avoid an error.
12107 Use char because int might match the return type of a GCC
12108 builtin and then its argument prototype would still apply. */
12109 #ifdef __cplusplus
12110 extern "C"
12111 #endif
12112 char gp_camera_new ();
12114 main ()
12116 return gp_camera_new ();
12118 return 0;
12120 _ACEOF
12121 if ac_fn_c_try_link "$LINENO"; then :
12122 ac_cv_lib_gphoto2_gp_camera_new=yes
12123 else
12124 ac_cv_lib_gphoto2_gp_camera_new=no
12126 rm -f core conftest.err conftest.$ac_objext \
12127 conftest$ac_exeext conftest.$ac_ext
12128 LIBS=$ac_check_lib_save_LIBS
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12131 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12132 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12134 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12136 else
12137 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12140 else
12141 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12145 CPPFLAGS=$ac_save_CPPFLAGS
12146 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12147 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12149 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12150 if ${PKG_CONFIG+:} false; then :
12151 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12154 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12155 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12156 if ${PKG_CONFIG+:} false; then :
12157 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12160 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12161 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12162 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12163 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12164 ac_save_CPPFLAGS=$CPPFLAGS
12165 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12166 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12167 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12169 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12170 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12171 $as_echo_n "(cached) " >&6
12172 else
12173 ac_check_lib_save_LIBS=$LIBS
12174 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12176 /* end confdefs.h. */
12178 /* Override any GCC internal prototype to avoid an error.
12179 Use char because int might match the return type of a GCC
12180 builtin and then its argument prototype would still apply. */
12181 #ifdef __cplusplus
12182 extern "C"
12183 #endif
12184 char gp_port_info_list_new ();
12186 main ()
12188 return gp_port_info_list_new ();
12190 return 0;
12192 _ACEOF
12193 if ac_fn_c_try_link "$LINENO"; then :
12194 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12195 else
12196 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12198 rm -f core conftest.err conftest.$ac_objext \
12199 conftest$ac_exeext conftest.$ac_ext
12200 LIBS=$ac_check_lib_save_LIBS
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12203 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12204 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12206 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12208 else
12209 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12212 else
12213 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12217 CPPFLAGS=$ac_save_CPPFLAGS
12218 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12219 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12222 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12223 case "x$with_gphoto" in
12224 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12225 xno) ;;
12226 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12227 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12228 esac
12231 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12232 case "x$with_gphoto" in
12233 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12234 xno) ;;
12235 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12236 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12237 esac
12242 if test "$ac_cv_header_resolv_h" = "yes"
12243 then
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12245 $as_echo_n "checking for resolver library... " >&6; }
12246 if ${ac_cv_have_resolv+:} false; then :
12247 $as_echo_n "(cached) " >&6
12248 else
12249 ac_save_LIBS="$LIBS"
12250 for lib in '' -lresolv
12252 LIBS="$lib $ac_save_LIBS"
12253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12254 /* end confdefs.h. */
12255 #ifdef HAVE_NETINET_IN_H
12256 #include <netinet/in.h>
12257 #endif
12258 #include <resolv.h>
12260 main ()
12262 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12264 return 0;
12266 _ACEOF
12267 if ac_fn_c_try_link "$LINENO"; then :
12268 ac_cv_have_resolv=${lib:-"none required"}
12269 else
12270 ac_cv_have_resolv="not found"
12272 rm -f core conftest.err conftest.$ac_objext \
12273 conftest$ac_exeext conftest.$ac_ext
12274 test "x$ac_cv_have_resolv" = "xnot found" || break
12275 done
12276 LIBS="$ac_save_LIBS"
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12279 $as_echo "$ac_cv_have_resolv" >&6; }
12281 case "$ac_cv_have_resolv" in
12282 "not found") ;;
12283 "none required")
12285 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12288 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12290 RESOLV_LIBS=$ac_cv_have_resolv
12292 esac
12295 if test "x$with_cms" != "xno"
12296 then
12297 if ${LCMS2_CFLAGS:+false} :; then :
12298 if ${PKG_CONFIG+:} false; then :
12299 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12303 if ${LCMS2_LIBS:+false} :; then :
12304 if ${PKG_CONFIG+:} false; then :
12305 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12309 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12310 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12311 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12312 ac_save_CPPFLAGS=$CPPFLAGS
12313 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12314 for ac_header in lcms2.h
12315 do :
12316 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12317 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12318 cat >>confdefs.h <<_ACEOF
12319 #define HAVE_LCMS2_H 1
12320 _ACEOF
12324 done
12326 if test "$ac_cv_header_lcms2_h" = "yes"
12327 then
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12329 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12330 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12331 $as_echo_n "(cached) " >&6
12332 else
12333 ac_check_lib_save_LIBS=$LIBS
12334 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12338 /* Override any GCC internal prototype to avoid an error.
12339 Use char because int might match the return type of a GCC
12340 builtin and then its argument prototype would still apply. */
12341 #ifdef __cplusplus
12342 extern "C"
12343 #endif
12344 char cmsOpenProfileFromFile ();
12346 main ()
12348 return cmsOpenProfileFromFile ();
12350 return 0;
12352 _ACEOF
12353 if ac_fn_c_try_link "$LINENO"; then :
12354 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12355 else
12356 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12358 rm -f core conftest.err conftest.$ac_objext \
12359 conftest$ac_exeext conftest.$ac_ext
12360 LIBS=$ac_check_lib_save_LIBS
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12363 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12364 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12366 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12368 else
12369 LCMS2_LIBS=""
12372 else
12373 LCMS2_CFLAGS=""
12374 LCMS2_LIBS=""
12376 CPPFLAGS=$ac_save_CPPFLAGS
12377 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12378 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12381 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12382 case "x$with_cms" in
12383 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12384 xno) ;;
12385 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12386 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12387 esac
12391 if test "x$with_freetype" != "xno"
12392 then
12393 if ${FREETYPE_CFLAGS:+false} :; then :
12394 if ${PKG_CONFIG+:} false; then :
12395 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12398 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12399 if ${FREETYPE_LIBS:+false} :; then :
12400 if ${PKG_CONFIG+:} false; then :
12401 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12404 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12405 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12406 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12407 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12408 ac_save_CPPFLAGS=$CPPFLAGS
12409 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12410 for ac_header in ft2build.h
12411 do :
12412 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12413 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12414 cat >>confdefs.h <<_ACEOF
12415 #define HAVE_FT2BUILD_H 1
12416 _ACEOF
12420 done
12422 if test "$ac_cv_header_ft2build_h" = "yes"
12423 then
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12425 $as_echo_n "checking for -lfreetype... " >&6; }
12426 if ${ac_cv_lib_soname_freetype+:} false; then :
12427 $as_echo_n "(cached) " >&6
12428 else
12429 ac_check_soname_save_LIBS=$LIBS
12430 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h. */
12434 /* Override any GCC internal prototype to avoid an error.
12435 Use char because int might match the return type of a GCC
12436 builtin and then its argument prototype would still apply. */
12437 #ifdef __cplusplus
12438 extern "C"
12439 #endif
12440 char FT_Init_FreeType ();
12442 main ()
12444 return FT_Init_FreeType ();
12446 return 0;
12448 _ACEOF
12449 if ac_fn_c_try_link "$LINENO"; then :
12450 case "$LIBEXT" in
12451 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12452 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'` ;;
12453 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12454 if ${ac_cv_lib_soname_freetype:+false} :; then :
12455 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12456 fi ;;
12457 esac
12459 rm -f core conftest.err conftest.$ac_objext \
12460 conftest$ac_exeext conftest.$ac_ext
12461 LIBS=$ac_check_soname_save_LIBS
12463 if ${ac_cv_lib_soname_freetype:+false} :; then :
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12465 $as_echo "not found" >&6; }
12466 FREETYPE_LIBS=""
12467 else
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12469 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12471 cat >>confdefs.h <<_ACEOF
12472 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12473 _ACEOF
12476 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12478 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12479 #include FT_MODULE_H
12481 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12483 cat >>confdefs.h <<_ACEOF
12484 #define HAVE_FT_TRUETYPEENGINETYPE 1
12485 _ACEOF
12491 else
12492 FREETYPE_CFLAGS=""
12493 FREETYPE_LIBS=""
12495 CPPFLAGS=$ac_save_CPPFLAGS
12496 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12497 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12500 if test "x$ac_cv_lib_soname_freetype" = x; then :
12501 case "x$with_freetype" in
12502 xno) ;;
12503 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12504 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12505 esac
12506 enable_fonts=${enable_fonts:-no}
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12510 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12511 if ${ac_cv_c_ppdev+:} false; then :
12512 $as_echo_n "(cached) " >&6
12513 else
12514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12515 /* end confdefs.h. */
12516 #ifdef HAVE_SYS_IOCTL_H
12517 # include <sys/ioctl.h>
12518 #endif
12519 #include <linux/ppdev.h>
12521 main ()
12523 ioctl (1,PPCLAIM,0)
12525 return 0;
12527 _ACEOF
12528 if ac_fn_c_try_compile "$LINENO"; then :
12529 ac_cv_c_ppdev="yes"
12530 else
12531 ac_cv_c_ppdev="no"
12533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12536 $as_echo "$ac_cv_c_ppdev" >&6; }
12537 if test "$ac_cv_c_ppdev" = "yes"
12538 then
12540 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12544 ac_wine_check_funcs_save_LIBS="$LIBS"
12545 LIBS="$LIBS $PTHREAD_LIBS"
12546 for ac_func in \
12547 pthread_attr_get_np \
12548 pthread_getattr_np \
12549 pthread_getthreadid_np \
12550 pthread_get_stackaddr_np \
12551 pthread_get_stacksize_np
12552 do :
12553 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12554 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12555 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12556 cat >>confdefs.h <<_ACEOF
12557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12558 _ACEOF
12561 done
12563 LIBS="$ac_wine_check_funcs_save_LIBS"
12565 if test "$ac_cv_header_zlib_h" = "yes"
12566 then
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12568 $as_echo_n "checking for inflate in -lz... " >&6; }
12569 if ${ac_cv_lib_z_inflate+:} false; then :
12570 $as_echo_n "(cached) " >&6
12571 else
12572 ac_check_lib_save_LIBS=$LIBS
12573 LIBS="-lz $LIBS"
12574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12577 /* Override any GCC internal prototype to avoid an error.
12578 Use char because int might match the return type of a GCC
12579 builtin and then its argument prototype would still apply. */
12580 #ifdef __cplusplus
12581 extern "C"
12582 #endif
12583 char inflate ();
12585 main ()
12587 return inflate ();
12589 return 0;
12591 _ACEOF
12592 if ac_fn_c_try_link "$LINENO"; then :
12593 ac_cv_lib_z_inflate=yes
12594 else
12595 ac_cv_lib_z_inflate=no
12597 rm -f core conftest.err conftest.$ac_objext \
12598 conftest$ac_exeext conftest.$ac_ext
12599 LIBS=$ac_check_lib_save_LIBS
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12602 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12603 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12605 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12607 Z_LIBS="-lz"
12612 if test "x$Z_LIBS" = "x"; then :
12613 case "x$with_zlib" in
12614 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12615 xno) ;;
12616 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12617 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12618 esac
12622 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12623 then
12624 if test "$ac_cv_header_gettext_po_h" = "yes"
12625 then
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12627 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12628 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12629 $as_echo_n "(cached) " >&6
12630 else
12631 ac_check_lib_save_LIBS=$LIBS
12632 LIBS="-lgettextpo $LIBS"
12633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12634 /* end confdefs.h. */
12636 /* Override any GCC internal prototype to avoid an error.
12637 Use char because int might match the return type of a GCC
12638 builtin and then its argument prototype would still apply. */
12639 #ifdef __cplusplus
12640 extern "C"
12641 #endif
12642 char po_message_msgctxt ();
12644 main ()
12646 return po_message_msgctxt ();
12648 return 0;
12650 _ACEOF
12651 if ac_fn_c_try_link "$LINENO"; then :
12652 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12653 else
12654 ac_cv_lib_gettextpo_po_message_msgctxt=no
12656 rm -f core conftest.err conftest.$ac_objext \
12657 conftest$ac_exeext conftest.$ac_ext
12658 LIBS=$ac_check_lib_save_LIBS
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12661 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12662 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12664 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12666 GETTEXTPO_LIBS="-lgettextpo"
12671 if test "x$GETTEXTPO_LIBS" = "x"; then :
12672 case "x$with_gettextpo" in
12673 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12674 xno) ;;
12675 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12676 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12677 esac
12680 if test "$srcdir" != .; then :
12681 case "x$with_gettextpo" in
12682 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12683 xno) ;;
12684 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12685 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12686 esac
12691 if test "x$with_pulse" != "xno";
12692 then
12693 if ${PULSE_CFLAGS:+false} :; then :
12694 if ${PKG_CONFIG+:} false; then :
12695 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12699 if ${PULSE_LIBS:+false} :; then :
12700 if ${PKG_CONFIG+:} false; then :
12701 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12706 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12707 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12708 ac_save_CPPFLAGS=$CPPFLAGS
12709 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12710 for ac_header in pulse/pulseaudio.h
12711 do :
12712 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12713 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12714 cat >>confdefs.h <<_ACEOF
12715 #define HAVE_PULSE_PULSEAUDIO_H 1
12716 _ACEOF
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12718 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12719 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12720 $as_echo_n "(cached) " >&6
12721 else
12722 ac_check_lib_save_LIBS=$LIBS
12723 LIBS="-lpulse $PULSE_LIBS $LIBS"
12724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12725 /* end confdefs.h. */
12727 /* Override any GCC internal prototype to avoid an error.
12728 Use char because int might match the return type of a GCC
12729 builtin and then its argument prototype would still apply. */
12730 #ifdef __cplusplus
12731 extern "C"
12732 #endif
12733 char pa_stream_is_corked ();
12735 main ()
12737 return pa_stream_is_corked ();
12739 return 0;
12741 _ACEOF
12742 if ac_fn_c_try_link "$LINENO"; then :
12743 ac_cv_lib_pulse_pa_stream_is_corked=yes
12744 else
12745 ac_cv_lib_pulse_pa_stream_is_corked=no
12747 rm -f core conftest.err conftest.$ac_objext \
12748 conftest$ac_exeext conftest.$ac_ext
12749 LIBS=$ac_check_lib_save_LIBS
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12752 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12753 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12755 else
12756 PULSE_LIBS=""
12759 else
12760 PULSE_LIBS=""
12763 done
12765 CPPFLAGS=$ac_save_CPPFLAGS
12766 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12767 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12770 if test -z "$PULSE_LIBS"; then :
12771 case "x$with_pulse" in
12772 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12773 xno) ;;
12774 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12775 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12776 esac
12777 enable_winepulse_drv=${enable_winepulse_drv:-no}
12780 if test "x$with_gstreamer" != "xno"
12781 then
12782 if ${GSTREAMER_CFLAGS:+false} :; then :
12783 if ${PKG_CONFIG+:} false; then :
12784 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12788 if ${GSTREAMER_LIBS:+false} :; then :
12789 if ${PKG_CONFIG+:} false; then :
12790 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12795 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12796 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12797 ac_save_CPPFLAGS=$CPPFLAGS
12798 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12799 ac_gst_incl=""
12800 for i in $GSTREAMER_CFLAGS
12802 case "$i" in
12803 -I*) ac_gst_incl="$ac_gst_incl $i";;
12804 esac
12805 done
12806 GSTREAMER_CFLAGS=$ac_gst_incl
12807 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12808 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12809 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12811 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12813 /* end confdefs.h. */
12814 #include <gst/gst.h>
12816 main ()
12818 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12820 return 0;
12822 _ACEOF
12823 if ac_fn_c_try_compile "$LINENO"; then :
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12825 $as_echo "yes" >&6; }
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12827 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12828 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12829 $as_echo_n "(cached) " >&6
12830 else
12831 ac_check_lib_save_LIBS=$LIBS
12832 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12834 /* end confdefs.h. */
12836 /* Override any GCC internal prototype to avoid an error.
12837 Use char because int might match the return type of a GCC
12838 builtin and then its argument prototype would still apply. */
12839 #ifdef __cplusplus
12840 extern "C"
12841 #endif
12842 char gst_pad_new ();
12844 main ()
12846 return gst_pad_new ();
12848 return 0;
12850 _ACEOF
12851 if ac_fn_c_try_link "$LINENO"; then :
12852 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12853 else
12854 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12856 rm -f core conftest.err conftest.$ac_objext \
12857 conftest$ac_exeext conftest.$ac_ext
12858 LIBS=$ac_check_lib_save_LIBS
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12861 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12862 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12866 else
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12868 $as_echo "no" >&6; }
12869 ac_glib2_broken=yes
12870 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12876 CPPFLAGS=$ac_save_CPPFLAGS
12877 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12878 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12881 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 :
12882 case "x$with_gstreamer" in
12883 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12884 xno) ;;
12885 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12886 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12887 esac
12890 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12892 ALSA_LIBS=""
12894 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12895 then
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12897 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12898 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12899 $as_echo_n "(cached) " >&6
12900 else
12901 ac_check_lib_save_LIBS=$LIBS
12902 LIBS="-lasound $LIBS"
12903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12904 /* end confdefs.h. */
12906 /* Override any GCC internal prototype to avoid an error.
12907 Use char because int might match the return type of a GCC
12908 builtin and then its argument prototype would still apply. */
12909 #ifdef __cplusplus
12910 extern "C"
12911 #endif
12912 char snd_pcm_hw_params_get_access_mask ();
12914 main ()
12916 return snd_pcm_hw_params_get_access_mask ();
12918 return 0;
12920 _ACEOF
12921 if ac_fn_c_try_link "$LINENO"; then :
12922 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12923 else
12924 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12926 rm -f core conftest.err conftest.$ac_objext \
12927 conftest$ac_exeext conftest.$ac_ext
12928 LIBS=$ac_check_lib_save_LIBS
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12931 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12932 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12934 /* end confdefs.h. */
12935 #ifdef HAVE_ALSA_ASOUNDLIB_H
12936 #include <alsa/asoundlib.h>
12937 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12938 #include <sys/asoundlib.h>
12939 #endif
12941 main ()
12943 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12945 return 0;
12947 _ACEOF
12948 if ac_fn_c_try_compile "$LINENO"; then :
12949 ALSA_LIBS="-lasound"
12951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12955 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12957 if test "x$with_oss" != xno
12958 then
12959 ac_save_CPPFLAGS="$CPPFLAGS"
12960 if test -f /etc/oss.conf
12961 then
12962 . /etc/oss.conf
12964 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12965 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12966 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12967 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12968 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12970 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12972 cat >>confdefs.h <<_ACEOF
12973 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12974 _ACEOF
12976 OSS4_CFLAGS="$ac_oss_incl"
12983 CPPFLAGS="$ac_save_CPPFLAGS"
12985 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12986 case "x$with_oss" in
12987 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12988 xno) ;;
12989 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12990 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12991 esac
12992 enable_wineoss_drv=${enable_wineoss_drv:-no}
12995 if test "x$with_udev" != "xno"
12996 then
12997 if ${UDEV_CFLAGS:+false} :; then :
12998 if ${PKG_CONFIG+:} false; then :
12999 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13003 if ${UDEV_LIBS:+false} :; then :
13004 if ${PKG_CONFIG+:} false; then :
13005 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13009 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13010 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13011 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13012 ac_save_CPPFLAGS=$CPPFLAGS
13013 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13014 for ac_header in libudev.h
13015 do :
13016 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13017 if test "x$ac_cv_header_libudev_h" = xyes; then :
13018 cat >>confdefs.h <<_ACEOF
13019 #define HAVE_LIBUDEV_H 1
13020 _ACEOF
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13022 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13023 if ${ac_cv_lib_udev_udev_new+:} false; then :
13024 $as_echo_n "(cached) " >&6
13025 else
13026 ac_check_lib_save_LIBS=$LIBS
13027 LIBS="-ludev $UDEV_LIBS $LIBS"
13028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h. */
13031 /* Override any GCC internal prototype to avoid an error.
13032 Use char because int might match the return type of a GCC
13033 builtin and then its argument prototype would still apply. */
13034 #ifdef __cplusplus
13035 extern "C"
13036 #endif
13037 char udev_new ();
13039 main ()
13041 return udev_new ();
13043 return 0;
13045 _ACEOF
13046 if ac_fn_c_try_link "$LINENO"; then :
13047 ac_cv_lib_udev_udev_new=yes
13048 else
13049 ac_cv_lib_udev_udev_new=no
13051 rm -f core conftest.err conftest.$ac_objext \
13052 conftest$ac_exeext conftest.$ac_ext
13053 LIBS=$ac_check_lib_save_LIBS
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13056 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13057 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13059 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13061 else
13062 UDEV_LIBS=""
13065 else
13066 UDEV_LIBS=""
13069 done
13071 CPPFLAGS=$ac_save_CPPFLAGS
13072 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13073 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13076 if test "x$UDEV_LIBS" = "x"; then :
13077 case "x$with_udev" in
13078 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13079 xno) ;;
13080 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13081 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13082 esac
13086 if test "x$with_sdl" != "xno"
13087 then
13088 if ${SDL2_CFLAGS:+false} :; then :
13089 if ${PKG_CONFIG+:} false; then :
13090 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13094 if ${SDL2_LIBS:+false} :; then :
13095 if ${PKG_CONFIG+:} false; then :
13096 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13100 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13101 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13102 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13103 ac_save_CPPFLAGS=$CPPFLAGS
13104 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13105 for ac_header in SDL2/SDL.h
13106 do :
13107 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13108 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13109 cat >>confdefs.h <<_ACEOF
13110 #define HAVE_SDL2_SDL_H 1
13111 _ACEOF
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13113 $as_echo_n "checking for -lSDL2... " >&6; }
13114 if ${ac_cv_lib_soname_SDL2+:} false; then :
13115 $as_echo_n "(cached) " >&6
13116 else
13117 ac_check_soname_save_LIBS=$LIBS
13118 LIBS="-lSDL2 $LIBS"
13119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13120 /* end confdefs.h. */
13122 /* Override any GCC internal prototype to avoid an error.
13123 Use char because int might match the return type of a GCC
13124 builtin and then its argument prototype would still apply. */
13125 #ifdef __cplusplus
13126 extern "C"
13127 #endif
13128 char SDL_Init ();
13130 main ()
13132 return SDL_Init ();
13134 return 0;
13136 _ACEOF
13137 if ac_fn_c_try_link "$LINENO"; then :
13138 case "$LIBEXT" in
13139 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13140 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'` ;;
13141 *) 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'`
13142 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13143 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13144 fi ;;
13145 esac
13147 rm -f core conftest.err conftest.$ac_objext \
13148 conftest$ac_exeext conftest.$ac_ext
13149 LIBS=$ac_check_soname_save_LIBS
13151 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13153 $as_echo "not found" >&6; }
13155 else
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13157 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13159 cat >>confdefs.h <<_ACEOF
13160 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13161 _ACEOF
13167 done
13169 CPPFLAGS=$ac_save_CPPFLAGS
13170 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13171 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13174 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13175 case "x$with_sdl" in
13176 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13177 xno) ;;
13178 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13179 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13180 esac
13184 if test "x$with_capi" != "xno"
13185 then
13186 if ${CAPI20_CFLAGS:+false} :; then :
13187 if ${PKG_CONFIG+:} false; then :
13188 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13192 if ${CAPI20_LIBS:+false} :; then :
13193 if ${PKG_CONFIG+:} false; then :
13194 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13199 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13200 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13201 ac_save_CPPFLAGS=$CPPFLAGS
13202 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13203 for ac_header in capi20.h linux/capi.h
13204 do :
13205 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13206 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13208 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13209 cat >>confdefs.h <<_ACEOF
13210 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13211 _ACEOF
13215 done
13217 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13218 then
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13220 $as_echo_n "checking for -lcapi20... " >&6; }
13221 if ${ac_cv_lib_soname_capi20+:} false; then :
13222 $as_echo_n "(cached) " >&6
13223 else
13224 ac_check_soname_save_LIBS=$LIBS
13225 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13227 /* end confdefs.h. */
13229 /* Override any GCC internal prototype to avoid an error.
13230 Use char because int might match the return type of a GCC
13231 builtin and then its argument prototype would still apply. */
13232 #ifdef __cplusplus
13233 extern "C"
13234 #endif
13235 char capi20_register ();
13237 main ()
13239 return capi20_register ();
13241 return 0;
13243 _ACEOF
13244 if ac_fn_c_try_link "$LINENO"; then :
13245 case "$LIBEXT" in
13246 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13247 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'` ;;
13248 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13249 if ${ac_cv_lib_soname_capi20:+false} :; then :
13250 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13251 fi ;;
13252 esac
13254 rm -f core conftest.err conftest.$ac_objext \
13255 conftest$ac_exeext conftest.$ac_ext
13256 LIBS=$ac_check_soname_save_LIBS
13258 if ${ac_cv_lib_soname_capi20:+false} :; then :
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13260 $as_echo "not found" >&6; }
13262 else
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13264 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13266 cat >>confdefs.h <<_ACEOF
13267 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13268 _ACEOF
13273 CPPFLAGS=$ac_save_CPPFLAGS
13274 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13275 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13278 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13279 case "x$with_capi" in
13280 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13281 xno) ;;
13282 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13283 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13284 esac
13288 if test "x$with_cups" != "xno"
13289 then
13290 if ${CUPS_CFLAGS:+false} :; then :
13291 if ${PKG_CONFIG+:} false; then :
13292 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13295 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13296 if ${CUPS_LIBS:+false} :; then :
13297 if ${PKG_CONFIG+:} false; then :
13298 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13301 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13302 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13303 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13304 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13305 ac_save_CPPFLAGS=$CPPFLAGS
13306 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13307 for ac_header in cups/cups.h cups/ppd.h
13308 do :
13309 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13310 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13311 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13312 cat >>confdefs.h <<_ACEOF
13313 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13314 _ACEOF
13318 done
13320 if test "$ac_cv_header_cups_cups_h" = "yes"
13321 then
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13323 $as_echo_n "checking for -lcups... " >&6; }
13324 if ${ac_cv_lib_soname_cups+:} false; then :
13325 $as_echo_n "(cached) " >&6
13326 else
13327 ac_check_soname_save_LIBS=$LIBS
13328 LIBS="-lcups $CUPS_LIBS $LIBS"
13329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13330 /* end confdefs.h. */
13332 /* Override any GCC internal prototype to avoid an error.
13333 Use char because int might match the return type of a GCC
13334 builtin and then its argument prototype would still apply. */
13335 #ifdef __cplusplus
13336 extern "C"
13337 #endif
13338 char cupsGetDefault ();
13340 main ()
13342 return cupsGetDefault ();
13344 return 0;
13346 _ACEOF
13347 if ac_fn_c_try_link "$LINENO"; then :
13348 case "$LIBEXT" in
13349 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13350 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'` ;;
13351 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13352 if ${ac_cv_lib_soname_cups:+false} :; then :
13353 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13354 fi ;;
13355 esac
13357 rm -f core conftest.err conftest.$ac_objext \
13358 conftest$ac_exeext conftest.$ac_ext
13359 LIBS=$ac_check_soname_save_LIBS
13361 if ${ac_cv_lib_soname_cups:+false} :; then :
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13363 $as_echo "not found" >&6; }
13364 CUPS_LIBS=""
13365 else
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13367 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13369 cat >>confdefs.h <<_ACEOF
13370 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13371 _ACEOF
13375 else
13376 CUPS_CFLAGS=""
13377 CUPS_LIBS=""
13379 CPPFLAGS=$ac_save_CPPFLAGS
13380 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13381 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13384 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13385 case "x$with_cups" in
13386 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13387 xno) ;;
13388 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13389 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13390 esac
13394 if test "x$with_fontconfig" != "xno"
13395 then
13396 if ${FONTCONFIG_CFLAGS:+false} :; then :
13397 if ${PKG_CONFIG+:} false; then :
13398 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13401 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13402 if ${FONTCONFIG_LIBS:+false} :; then :
13403 if ${PKG_CONFIG+:} false; then :
13404 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13407 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13409 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13410 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13411 ac_save_CPPFLAGS=$CPPFLAGS
13412 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13413 for ac_header in fontconfig/fontconfig.h
13414 do :
13415 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13416 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13417 cat >>confdefs.h <<_ACEOF
13418 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13419 _ACEOF
13423 done
13425 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13426 then
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13428 $as_echo_n "checking for -lfontconfig... " >&6; }
13429 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13430 $as_echo_n "(cached) " >&6
13431 else
13432 ac_check_soname_save_LIBS=$LIBS
13433 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13435 /* end confdefs.h. */
13437 /* Override any GCC internal prototype to avoid an error.
13438 Use char because int might match the return type of a GCC
13439 builtin and then its argument prototype would still apply. */
13440 #ifdef __cplusplus
13441 extern "C"
13442 #endif
13443 char FcInit ();
13445 main ()
13447 return FcInit ();
13449 return 0;
13451 _ACEOF
13452 if ac_fn_c_try_link "$LINENO"; then :
13453 case "$LIBEXT" in
13454 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13455 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'` ;;
13456 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13457 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13458 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13459 fi ;;
13460 esac
13462 rm -f core conftest.err conftest.$ac_objext \
13463 conftest$ac_exeext conftest.$ac_ext
13464 LIBS=$ac_check_soname_save_LIBS
13466 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13468 $as_echo "not found" >&6; }
13469 FONTCONFIG_CFLAGS=""
13470 else
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13472 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13474 cat >>confdefs.h <<_ACEOF
13475 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13476 _ACEOF
13480 else
13481 FONTCONFIG_CFLAGS=""
13483 CPPFLAGS=$ac_save_CPPFLAGS
13484 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13485 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13488 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13489 case "x$with_fontconfig" in
13490 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13491 xno) ;;
13492 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13493 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13494 esac
13498 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13499 then
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13501 $as_echo_n "checking for -lgsm... " >&6; }
13502 if ${ac_cv_lib_soname_gsm+:} false; then :
13503 $as_echo_n "(cached) " >&6
13504 else
13505 ac_check_soname_save_LIBS=$LIBS
13506 LIBS="-lgsm $LIBS"
13507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13508 /* end confdefs.h. */
13510 /* Override any GCC internal prototype to avoid an error.
13511 Use char because int might match the return type of a GCC
13512 builtin and then its argument prototype would still apply. */
13513 #ifdef __cplusplus
13514 extern "C"
13515 #endif
13516 char gsm_create ();
13518 main ()
13520 return gsm_create ();
13522 return 0;
13524 _ACEOF
13525 if ac_fn_c_try_link "$LINENO"; then :
13526 case "$LIBEXT" in
13527 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13528 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'` ;;
13529 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13530 if ${ac_cv_lib_soname_gsm:+false} :; then :
13531 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13532 fi ;;
13533 esac
13535 rm -f core conftest.err conftest.$ac_objext \
13536 conftest$ac_exeext conftest.$ac_ext
13537 LIBS=$ac_check_soname_save_LIBS
13539 if ${ac_cv_lib_soname_gsm:+false} :; then :
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13541 $as_echo "not found" >&6; }
13543 else
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13545 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13547 cat >>confdefs.h <<_ACEOF
13548 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13549 _ACEOF
13554 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13555 case "x$with_gsm" in
13556 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13557 xno) ;;
13558 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13559 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13560 esac
13564 if test "x$with_krb5" != "xno"
13565 then
13566 if ${KRB5_CFLAGS:+false} :; then :
13567 if ${PKG_CONFIG+:} false; then :
13568 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13571 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13572 if ${KRB5_LIBS:+false} :; then :
13573 if ${PKG_CONFIG+:} false; then :
13574 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13577 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13579 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13580 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13581 ac_save_CPPFLAGS=$CPPFLAGS
13582 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13583 for ac_header in krb5/krb5.h
13584 do :
13585 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13586 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13587 cat >>confdefs.h <<_ACEOF
13588 #define HAVE_KRB5_KRB5_H 1
13589 _ACEOF
13593 done
13595 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13596 then
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13598 $as_echo_n "checking for -lkrb5... " >&6; }
13599 if ${ac_cv_lib_soname_krb5+:} false; then :
13600 $as_echo_n "(cached) " >&6
13601 else
13602 ac_check_soname_save_LIBS=$LIBS
13603 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13605 /* end confdefs.h. */
13607 /* Override any GCC internal prototype to avoid an error.
13608 Use char because int might match the return type of a GCC
13609 builtin and then its argument prototype would still apply. */
13610 #ifdef __cplusplus
13611 extern "C"
13612 #endif
13613 char krb5_init_context ();
13615 main ()
13617 return krb5_init_context ();
13619 return 0;
13621 _ACEOF
13622 if ac_fn_c_try_link "$LINENO"; then :
13623 case "$LIBEXT" in
13624 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13625 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'` ;;
13626 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13627 if ${ac_cv_lib_soname_krb5:+false} :; then :
13628 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13629 fi ;;
13630 esac
13632 rm -f core conftest.err conftest.$ac_objext \
13633 conftest$ac_exeext conftest.$ac_ext
13634 LIBS=$ac_check_soname_save_LIBS
13636 if ${ac_cv_lib_soname_krb5:+false} :; then :
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13638 $as_echo "not found" >&6; }
13639 KRB5_CFLAGS=""
13640 else
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13642 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13644 cat >>confdefs.h <<_ACEOF
13645 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13646 _ACEOF
13650 else
13651 KRB5_CFLAGS=""
13653 CPPFLAGS=$ac_save_CPPFLAGS
13654 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13655 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13658 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13659 case "x$with_krb5" in
13660 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13661 xno) ;;
13662 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13663 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13664 esac
13668 if test "x$with_gssapi" != "xno"
13669 then
13670 if ${GSSAPI_CFLAGS:+false} :; then :
13671 if ${PKG_CONFIG+:} false; then :
13672 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13675 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13676 if ${GSSAPI_LIBS:+false} :; then :
13677 if ${PKG_CONFIG+:} false; then :
13678 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13681 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13683 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13684 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13685 ac_save_CPPFLAGS=$CPPFLAGS
13686 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13687 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13688 do :
13689 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13690 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13691 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13692 cat >>confdefs.h <<_ACEOF
13693 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13694 _ACEOF
13698 done
13700 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13701 then
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13703 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13704 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13705 $as_echo_n "(cached) " >&6
13706 else
13707 ac_check_soname_save_LIBS=$LIBS
13708 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13710 /* end confdefs.h. */
13712 /* Override any GCC internal prototype to avoid an error.
13713 Use char because int might match the return type of a GCC
13714 builtin and then its argument prototype would still apply. */
13715 #ifdef __cplusplus
13716 extern "C"
13717 #endif
13718 char gss_init_sec_context ();
13720 main ()
13722 return gss_init_sec_context ();
13724 return 0;
13726 _ACEOF
13727 if ac_fn_c_try_link "$LINENO"; then :
13728 case "$LIBEXT" in
13729 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13730 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'` ;;
13731 *) 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'`
13732 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13733 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13734 fi ;;
13735 esac
13737 rm -f core conftest.err conftest.$ac_objext \
13738 conftest$ac_exeext conftest.$ac_ext
13739 LIBS=$ac_check_soname_save_LIBS
13741 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13743 $as_echo "not found" >&6; }
13744 GSSAPI_CFLAGS=""
13745 else
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13747 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13749 cat >>confdefs.h <<_ACEOF
13750 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13751 _ACEOF
13755 else
13756 GSSAPI_CFLAGS=""
13758 CPPFLAGS=$ac_save_CPPFLAGS
13759 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13760 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13763 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13764 case "x$with_gssapi" in
13765 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13766 xno) ;;
13767 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13768 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13769 esac
13773 if test "x$with_jpeg" != "xno"
13774 then
13775 if ${JPEG_CFLAGS:+false} :; then :
13776 if ${PKG_CONFIG+:} false; then :
13777 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13781 if ${JPEG_LIBS:+false} :; then :
13782 if ${PKG_CONFIG+:} false; then :
13783 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13788 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13789 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13790 ac_save_CPPFLAGS=$CPPFLAGS
13791 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13792 for ac_header in jpeglib.h
13793 do :
13794 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13795 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13796 cat >>confdefs.h <<_ACEOF
13797 #define HAVE_JPEGLIB_H 1
13798 _ACEOF
13802 done
13804 if test "$ac_cv_header_jpeglib_h" = "yes"
13805 then
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13807 $as_echo_n "checking for -ljpeg... " >&6; }
13808 if ${ac_cv_lib_soname_jpeg+:} false; then :
13809 $as_echo_n "(cached) " >&6
13810 else
13811 ac_check_soname_save_LIBS=$LIBS
13812 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13814 /* end confdefs.h. */
13816 /* Override any GCC internal prototype to avoid an error.
13817 Use char because int might match the return type of a GCC
13818 builtin and then its argument prototype would still apply. */
13819 #ifdef __cplusplus
13820 extern "C"
13821 #endif
13822 char jpeg_start_decompress ();
13824 main ()
13826 return jpeg_start_decompress ();
13828 return 0;
13830 _ACEOF
13831 if ac_fn_c_try_link "$LINENO"; then :
13832 case "$LIBEXT" in
13833 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13834 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'` ;;
13835 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13836 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13837 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13838 fi ;;
13839 esac
13841 rm -f core conftest.err conftest.$ac_objext \
13842 conftest$ac_exeext conftest.$ac_ext
13843 LIBS=$ac_check_soname_save_LIBS
13845 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13847 $as_echo "not found" >&6; }
13848 JPEG_CFLAGS=""
13849 else
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13851 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13853 cat >>confdefs.h <<_ACEOF
13854 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13855 _ACEOF
13859 else
13860 JPEG_CFLAGS=""
13862 CPPFLAGS=$ac_save_CPPFLAGS
13863 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13864 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13867 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13868 case "x$with_jpeg" in
13869 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13870 xno) ;;
13871 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13872 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13873 esac
13877 if test "x$with_png" != "xno"
13878 then
13879 if ${PNG_CFLAGS:+false} :; then :
13880 if ${PKG_CONFIG+:} false; then :
13881 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13884 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13885 if ${PNG_LIBS:+false} :; then :
13886 if ${PKG_CONFIG+:} false; then :
13887 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13890 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13892 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13893 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13894 ac_save_CPPFLAGS=$CPPFLAGS
13895 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13896 for ac_header in png.h
13897 do :
13898 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13899 if test "x$ac_cv_header_png_h" = xyes; then :
13900 cat >>confdefs.h <<_ACEOF
13901 #define HAVE_PNG_H 1
13902 _ACEOF
13906 done
13908 if test "$ac_cv_header_png_h" = "yes"
13909 then
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13911 $as_echo_n "checking for -lpng... " >&6; }
13912 if ${ac_cv_lib_soname_png+:} false; then :
13913 $as_echo_n "(cached) " >&6
13914 else
13915 ac_check_soname_save_LIBS=$LIBS
13916 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13920 /* Override any GCC internal prototype to avoid an error.
13921 Use char because int might match the return type of a GCC
13922 builtin and then its argument prototype would still apply. */
13923 #ifdef __cplusplus
13924 extern "C"
13925 #endif
13926 char png_create_read_struct ();
13928 main ()
13930 return png_create_read_struct ();
13932 return 0;
13934 _ACEOF
13935 if ac_fn_c_try_link "$LINENO"; then :
13936 case "$LIBEXT" in
13937 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13938 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'` ;;
13939 *) 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'`
13940 if ${ac_cv_lib_soname_png:+false} :; then :
13941 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13942 fi ;;
13943 esac
13945 rm -f core conftest.err conftest.$ac_objext \
13946 conftest$ac_exeext conftest.$ac_ext
13947 LIBS=$ac_check_soname_save_LIBS
13949 if ${ac_cv_lib_soname_png:+false} :; then :
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13951 $as_echo "not found" >&6; }
13952 PNG_CFLAGS=""
13953 else
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13955 $as_echo "$ac_cv_lib_soname_png" >&6; }
13957 cat >>confdefs.h <<_ACEOF
13958 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13959 _ACEOF
13963 else
13964 PNG_CFLAGS=""
13966 CPPFLAGS=$ac_save_CPPFLAGS
13967 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13968 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13971 if test "x$ac_cv_lib_soname_png" = "x"; then :
13972 case "x$with_png" in
13973 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13974 xno) ;;
13975 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13976 This is an error since --with-png was requested." "$LINENO" 5 ;;
13977 esac
13981 if test "x$with_tiff" != "xno"
13982 then
13983 if ${TIFF_CFLAGS:+false} :; then :
13984 if ${PKG_CONFIG+:} false; then :
13985 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13989 if ${TIFF_LIBS:+false} :; then :
13990 if ${PKG_CONFIG+:} false; then :
13991 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13996 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13997 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13998 ac_save_CPPFLAGS=$CPPFLAGS
13999 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14000 for ac_header in tiffio.h
14001 do :
14002 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14003 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14004 cat >>confdefs.h <<_ACEOF
14005 #define HAVE_TIFFIO_H 1
14006 _ACEOF
14010 done
14012 if test "$ac_cv_header_tiffio_h" = "yes"
14013 then
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14015 $as_echo_n "checking for -ltiff... " >&6; }
14016 if ${ac_cv_lib_soname_tiff+:} false; then :
14017 $as_echo_n "(cached) " >&6
14018 else
14019 ac_check_soname_save_LIBS=$LIBS
14020 LIBS="-ltiff $TIFF_LIBS $LIBS"
14021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14022 /* end confdefs.h. */
14024 /* Override any GCC internal prototype to avoid an error.
14025 Use char because int might match the return type of a GCC
14026 builtin and then its argument prototype would still apply. */
14027 #ifdef __cplusplus
14028 extern "C"
14029 #endif
14030 char TIFFClientOpen ();
14032 main ()
14034 return TIFFClientOpen ();
14036 return 0;
14038 _ACEOF
14039 if ac_fn_c_try_link "$LINENO"; then :
14040 case "$LIBEXT" in
14041 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14042 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'` ;;
14043 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14044 if ${ac_cv_lib_soname_tiff:+false} :; then :
14045 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14046 fi ;;
14047 esac
14049 rm -f core conftest.err conftest.$ac_objext \
14050 conftest$ac_exeext conftest.$ac_ext
14051 LIBS=$ac_check_soname_save_LIBS
14053 if ${ac_cv_lib_soname_tiff:+false} :; then :
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14055 $as_echo "not found" >&6; }
14057 else
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14059 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14061 cat >>confdefs.h <<_ACEOF
14062 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14063 _ACEOF
14068 CPPFLAGS=$ac_save_CPPFLAGS
14069 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14070 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14073 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14074 case "x$with_tiff" in
14075 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14076 xno) ;;
14077 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14078 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14079 esac
14083 if test "x$with_mpg123" != "xno"
14084 then
14085 if ${MPG123_CFLAGS:+false} :; then :
14086 if ${PKG_CONFIG+:} false; then :
14087 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14091 if ${MPG123_LIBS:+false} :; then :
14092 if ${PKG_CONFIG+:} false; then :
14093 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14097 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14098 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14099 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14100 ac_save_CPPFLAGS=$CPPFLAGS
14101 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14102 for ac_header in mpg123.h
14103 do :
14104 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14105 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14106 cat >>confdefs.h <<_ACEOF
14107 #define HAVE_MPG123_H 1
14108 _ACEOF
14112 done
14114 if test "$ac_cv_header_mpg123_h" = "yes"
14115 then
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14117 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14118 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14119 $as_echo_n "(cached) " >&6
14120 else
14121 ac_check_lib_save_LIBS=$LIBS
14122 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14124 /* end confdefs.h. */
14126 /* Override any GCC internal prototype to avoid an error.
14127 Use char because int might match the return type of a GCC
14128 builtin and then its argument prototype would still apply. */
14129 #ifdef __cplusplus
14130 extern "C"
14131 #endif
14132 char mpg123_feed ();
14134 main ()
14136 return mpg123_feed ();
14138 return 0;
14140 _ACEOF
14141 if ac_fn_c_try_link "$LINENO"; then :
14142 ac_cv_lib_mpg123_mpg123_feed=yes
14143 else
14144 ac_cv_lib_mpg123_mpg123_feed=no
14146 rm -f core conftest.err conftest.$ac_objext \
14147 conftest$ac_exeext conftest.$ac_ext
14148 LIBS=$ac_check_lib_save_LIBS
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14151 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14152 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14154 else
14155 MPG123_LIBS=""
14158 else
14159 MPG123_CFLAGS=""
14160 MPG123_LIBS=""
14162 CPPFLAGS=$ac_save_CPPFLAGS
14163 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14164 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14167 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14168 case "x$with_mpg123" in
14169 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14170 xno) ;;
14171 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14172 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14173 esac
14174 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14177 if test "$ac_cv_header_AL_al_h" = "yes"
14178 then
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14180 $as_echo_n "checking for -lopenal... " >&6; }
14181 if ${ac_cv_lib_soname_openal+:} false; then :
14182 $as_echo_n "(cached) " >&6
14183 else
14184 ac_check_soname_save_LIBS=$LIBS
14185 LIBS="-lopenal $LIBS"
14186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14187 /* end confdefs.h. */
14189 /* Override any GCC internal prototype to avoid an error.
14190 Use char because int might match the return type of a GCC
14191 builtin and then its argument prototype would still apply. */
14192 #ifdef __cplusplus
14193 extern "C"
14194 #endif
14195 char alGetSource3i ();
14197 main ()
14199 return alGetSource3i ();
14201 return 0;
14203 _ACEOF
14204 if ac_fn_c_try_link "$LINENO"; then :
14205 case "$LIBEXT" in
14206 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14207 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'` ;;
14208 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14209 if ${ac_cv_lib_soname_openal:+false} :; then :
14210 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14211 fi ;;
14212 esac
14214 rm -f core conftest.err conftest.$ac_objext \
14215 conftest$ac_exeext conftest.$ac_ext
14216 LIBS=$ac_check_soname_save_LIBS
14218 if ${ac_cv_lib_soname_openal:+false} :; then :
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14220 $as_echo "not found" >&6; }
14222 else
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14224 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14226 cat >>confdefs.h <<_ACEOF
14227 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14228 _ACEOF
14230 OPENAL_LIBS="-lopenal"
14232 ac_cv_lib_openal=yes
14234 cat >>confdefs.h <<_ACEOF
14235 #define HAVE_OPENAL 1
14236 _ACEOF
14240 if test "x$ac_cv_lib_openal" != xyes; then :
14241 case "x$with_openal" in
14242 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14243 xno) ;;
14244 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14245 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14246 esac
14247 enable_openal32=${enable_openal32:-no}
14250 if test "x$ac_cv_lib_openal" = xyes
14251 then
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14253 $as_echo_n "checking for openal-soft... " >&6; }
14254 if ${ac_cv_have_openalsoft+:} false; then :
14255 $as_echo_n "(cached) " >&6
14256 else
14257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14259 #include <AL/al.h>
14260 #include <AL/alc.h>
14261 #include <AL/alext.h>
14262 LPALCRENDERSAMPLESSOFT x;
14264 main ()
14268 return 0;
14270 _ACEOF
14271 if ac_fn_c_try_compile "$LINENO"; then :
14272 ac_cv_have_openalsoft=yes
14273 else
14274 ac_cv_have_openalsoft=no
14276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14279 $as_echo "$ac_cv_have_openalsoft" >&6; }
14281 if test "x$ac_cv_have_openalsoft" != xyes
14282 then
14283 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14284 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14285 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14286 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14287 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14288 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14289 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14290 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14291 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14292 enable_xapofx1_1=${enable_xapofx1_1:-no}
14293 enable_xapofx1_2=${enable_xapofx1_2:-no}
14294 enable_xapofx1_3=${enable_xapofx1_3:-no}
14295 enable_xapofx1_4=${enable_xapofx1_4:-no}
14296 enable_xapofx1_5=${enable_xapofx1_5:-no}
14297 enable_xaudio2_0=${enable_xaudio2_0:-no}
14298 enable_xaudio2_1=${enable_xaudio2_1:-no}
14299 enable_xaudio2_2=${enable_xaudio2_2:-no}
14300 enable_xaudio2_3=${enable_xaudio2_3:-no}
14301 enable_xaudio2_4=${enable_xaudio2_4:-no}
14302 enable_xaudio2_5=${enable_xaudio2_5:-no}
14303 enable_xaudio2_6=${enable_xaudio2_6:-no}
14304 enable_xaudio2_7=${enable_xaudio2_7:-no}
14305 enable_xaudio2_8=${enable_xaudio2_8:-no}
14306 enable_xaudio2_9=${enable_xaudio2_9:-no}
14309 if test "$ac_cv_header_kstat_h" = "yes"
14310 then
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14312 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14313 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14314 $as_echo_n "(cached) " >&6
14315 else
14316 ac_check_lib_save_LIBS=$LIBS
14317 LIBS="-lkstat $LIBS"
14318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14319 /* end confdefs.h. */
14321 /* Override any GCC internal prototype to avoid an error.
14322 Use char because int might match the return type of a GCC
14323 builtin and then its argument prototype would still apply. */
14324 #ifdef __cplusplus
14325 extern "C"
14326 #endif
14327 char kstat_open ();
14329 main ()
14331 return kstat_open ();
14333 return 0;
14335 _ACEOF
14336 if ac_fn_c_try_link "$LINENO"; then :
14337 ac_cv_lib_kstat_kstat_open=yes
14338 else
14339 ac_cv_lib_kstat_kstat_open=no
14341 rm -f core conftest.err conftest.$ac_objext \
14342 conftest$ac_exeext conftest.$ac_ext
14343 LIBS=$ac_check_lib_save_LIBS
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14346 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14347 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14349 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14351 KSTAT_LIBS="-lkstat"
14357 if test "$ac_cv_header_libprocstat_h" = "yes"
14358 then
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14360 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14361 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14362 $as_echo_n "(cached) " >&6
14363 else
14364 ac_check_lib_save_LIBS=$LIBS
14365 LIBS="-lprocstat $LIBS"
14366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14367 /* end confdefs.h. */
14369 /* Override any GCC internal prototype to avoid an error.
14370 Use char because int might match the return type of a GCC
14371 builtin and then its argument prototype would still apply. */
14372 #ifdef __cplusplus
14373 extern "C"
14374 #endif
14375 char procstat_open_sysctl ();
14377 main ()
14379 return procstat_open_sysctl ();
14381 return 0;
14383 _ACEOF
14384 if ac_fn_c_try_link "$LINENO"; then :
14385 ac_cv_lib_procstat_procstat_open_sysctl=yes
14386 else
14387 ac_cv_lib_procstat_procstat_open_sysctl=no
14389 rm -f core conftest.err conftest.$ac_objext \
14390 conftest$ac_exeext conftest.$ac_ext
14391 LIBS=$ac_check_lib_save_LIBS
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14394 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14395 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14397 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14399 PROCSTAT_LIBS="-lprocstat"
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14406 $as_echo_n "checking for -lodbc... " >&6; }
14407 if ${ac_cv_lib_soname_odbc+:} false; then :
14408 $as_echo_n "(cached) " >&6
14409 else
14410 ac_check_soname_save_LIBS=$LIBS
14411 LIBS="-lodbc $LIBS"
14412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14415 /* Override any GCC internal prototype to avoid an error.
14416 Use char because int might match the return type of a GCC
14417 builtin and then its argument prototype would still apply. */
14418 #ifdef __cplusplus
14419 extern "C"
14420 #endif
14421 char SQLConnect ();
14423 main ()
14425 return SQLConnect ();
14427 return 0;
14429 _ACEOF
14430 if ac_fn_c_try_link "$LINENO"; then :
14431 case "$LIBEXT" in
14432 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14433 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'` ;;
14434 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14435 if ${ac_cv_lib_soname_odbc:+false} :; then :
14436 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14437 fi ;;
14438 esac
14440 rm -f core conftest.err conftest.$ac_objext \
14441 conftest$ac_exeext conftest.$ac_ext
14442 LIBS=$ac_check_soname_save_LIBS
14444 if ${ac_cv_lib_soname_odbc:+false} :; then :
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14446 $as_echo "not found" >&6; }
14447 cat >>confdefs.h <<_ACEOF
14448 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14449 _ACEOF
14451 else
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14453 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14455 cat >>confdefs.h <<_ACEOF
14456 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14457 _ACEOF
14462 if test "x$with_netapi" != "xno"
14463 then
14464 if ${NETAPI_CFLAGS:+false} :; then :
14465 if ${PKG_CONFIG+:} false; then :
14466 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14470 if ${NETAPI_LIBS:+false} :; then :
14471 if ${PKG_CONFIG+:} false; then :
14472 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14477 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14478 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14479 ac_save_CPPFLAGS=$CPPFLAGS
14480 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14482 $as_echo_n "checking for -lnetapi... " >&6; }
14483 if ${ac_cv_lib_soname_netapi+:} false; then :
14484 $as_echo_n "(cached) " >&6
14485 else
14486 ac_check_soname_save_LIBS=$LIBS
14487 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14489 /* end confdefs.h. */
14491 /* Override any GCC internal prototype to avoid an error.
14492 Use char because int might match the return type of a GCC
14493 builtin and then its argument prototype would still apply. */
14494 #ifdef __cplusplus
14495 extern "C"
14496 #endif
14497 char libnetapi_init ();
14499 main ()
14501 return libnetapi_init ();
14503 return 0;
14505 _ACEOF
14506 if ac_fn_c_try_link "$LINENO"; then :
14507 case "$LIBEXT" in
14508 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14509 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'` ;;
14510 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14511 if ${ac_cv_lib_soname_netapi:+false} :; then :
14512 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14513 fi ;;
14514 esac
14516 rm -f core conftest.err conftest.$ac_objext \
14517 conftest$ac_exeext conftest.$ac_ext
14518 LIBS=$ac_check_soname_save_LIBS
14520 if ${ac_cv_lib_soname_netapi:+false} :; then :
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14522 $as_echo "not found" >&6; }
14523 cat >>confdefs.h <<_ACEOF
14524 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14525 _ACEOF
14527 else
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14529 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14531 cat >>confdefs.h <<_ACEOF
14532 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14533 _ACEOF
14537 CPPFLAGS=$ac_save_CPPFLAGS
14538 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14539 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14543 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14544 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14545 then
14546 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14549 if test "x$with_vulkan" != "xno"
14550 then
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14552 $as_echo_n "checking for -lvulkan... " >&6; }
14553 if ${ac_cv_lib_soname_vulkan+:} false; then :
14554 $as_echo_n "(cached) " >&6
14555 else
14556 ac_check_soname_save_LIBS=$LIBS
14557 LIBS="-lvulkan $LIBS"
14558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14559 /* end confdefs.h. */
14561 /* Override any GCC internal prototype to avoid an error.
14562 Use char because int might match the return type of a GCC
14563 builtin and then its argument prototype would still apply. */
14564 #ifdef __cplusplus
14565 extern "C"
14566 #endif
14567 char vkGetInstanceProcAddr ();
14569 main ()
14571 return vkGetInstanceProcAddr ();
14573 return 0;
14575 _ACEOF
14576 if ac_fn_c_try_link "$LINENO"; then :
14577 case "$LIBEXT" in
14578 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14579 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'` ;;
14580 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14581 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14582 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14583 fi ;;
14584 esac
14586 rm -f core conftest.err conftest.$ac_objext \
14587 conftest$ac_exeext conftest.$ac_ext
14588 LIBS=$ac_check_soname_save_LIBS
14590 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14592 $as_echo "not found" >&6; }
14594 else
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14596 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14598 cat >>confdefs.h <<_ACEOF
14599 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14600 _ACEOF
14605 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14606 case "x$with_vulkan" in
14607 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14608 xno) ;;
14609 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14610 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14611 esac
14616 EXTRACFLAGS=""
14618 if test "x${GCC}" = "xyes"
14619 then
14620 EXTRACFLAGS="-Wall -pipe"
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14623 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14624 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14625 $as_echo_n "(cached) " >&6
14626 else
14627 if test "$cross_compiling" = yes; then :
14628 ac_cv_c_gcc_strength_bug="no"
14629 else
14630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14631 /* end confdefs.h. */
14632 int L[4] = {0,1,2,3};
14634 main ()
14636 static int Array[3];
14637 unsigned int B = 3;
14638 int i;
14639 for(i=0; i<B; i++) Array[i] = i - 3;
14640 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14641 L[i] = 4;
14642 return (Array[1] != -2 || L[2] != 3)
14644 return 0;
14646 _ACEOF
14647 if ac_fn_c_try_run "$LINENO"; then :
14648 ac_cv_c_gcc_strength_bug="no"
14649 else
14650 ac_cv_c_gcc_strength_bug="yes"
14652 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14653 conftest.$ac_objext conftest.beam conftest.$ac_ext
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14658 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14659 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14660 then
14661 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14665 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14666 if ${ac_cv_cflags__fno_builtin+:} false; then :
14667 $as_echo_n "(cached) " >&6
14668 else
14669 ac_wine_try_cflags_saved=$CFLAGS
14670 CFLAGS="$CFLAGS -fno-builtin"
14671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14672 /* end confdefs.h. */
14673 int main(int argc, char **argv) { return 0; }
14674 _ACEOF
14675 if ac_fn_c_try_link "$LINENO"; then :
14676 ac_cv_cflags__fno_builtin=yes
14677 else
14678 ac_cv_cflags__fno_builtin=no
14680 rm -f core conftest.err conftest.$ac_objext \
14681 conftest$ac_exeext conftest.$ac_ext
14682 CFLAGS=$ac_wine_try_cflags_saved
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14685 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14686 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14687 BUILTINFLAG="-fno-builtin"
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14691 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14692 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14693 $as_echo_n "(cached) " >&6
14694 else
14695 ac_wine_try_cflags_saved=$CFLAGS
14696 CFLAGS="$CFLAGS -fno-strict-aliasing"
14697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14698 /* end confdefs.h. */
14699 int main(int argc, char **argv) { return 0; }
14700 _ACEOF
14701 if ac_fn_c_try_link "$LINENO"; then :
14702 ac_cv_cflags__fno_strict_aliasing=yes
14703 else
14704 ac_cv_cflags__fno_strict_aliasing=no
14706 rm -f core conftest.err conftest.$ac_objext \
14707 conftest$ac_exeext conftest.$ac_ext
14708 CFLAGS=$ac_wine_try_cflags_saved
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14711 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14712 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14713 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14716 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14717 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14718 $as_echo_n "(cached) " >&6
14719 else
14720 ac_wine_try_cflags_saved=$CFLAGS
14721 CFLAGS="$CFLAGS -fexcess-precision=standard"
14722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14723 /* end confdefs.h. */
14724 int main(int argc, char **argv) { return 0; }
14725 _ACEOF
14726 if ac_fn_c_try_link "$LINENO"; then :
14727 ac_cv_cflags__fexcess_precision_standard=yes
14728 else
14729 ac_cv_cflags__fexcess_precision_standard=no
14731 rm -f core conftest.err conftest.$ac_objext \
14732 conftest$ac_exeext conftest.$ac_ext
14733 CFLAGS=$ac_wine_try_cflags_saved
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14736 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14737 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14738 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14741 saved_CFLAGS=$CFLAGS
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14743 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14744 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14745 $as_echo_n "(cached) " >&6
14746 else
14747 ac_wine_try_cflags_saved=$CFLAGS
14748 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14750 /* end confdefs.h. */
14751 int main(int argc, char **argv) { return 0; }
14752 _ACEOF
14753 if ac_fn_c_try_link "$LINENO"; then :
14754 ac_cv_cflags__Werror_unknown_warning_option=yes
14755 else
14756 ac_cv_cflags__Werror_unknown_warning_option=no
14758 rm -f core conftest.err conftest.$ac_objext \
14759 conftest$ac_exeext conftest.$ac_ext
14760 CFLAGS=$ac_wine_try_cflags_saved
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14763 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14764 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14765 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14768 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14769 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14770 $as_echo_n "(cached) " >&6
14771 else
14772 ac_wine_try_cflags_saved=$CFLAGS
14773 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14775 /* end confdefs.h. */
14776 int main(int argc, char **argv) { return 0; }
14777 _ACEOF
14778 if ac_fn_c_try_link "$LINENO"; then :
14779 ac_cv_cflags__Wdeclaration_after_statement=yes
14780 else
14781 ac_cv_cflags__Wdeclaration_after_statement=no
14783 rm -f core conftest.err conftest.$ac_objext \
14784 conftest$ac_exeext conftest.$ac_ext
14785 CFLAGS=$ac_wine_try_cflags_saved
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14788 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14789 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14790 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14793 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14794 if ${ac_cv_cflags__Wempty_body+:} false; then :
14795 $as_echo_n "(cached) " >&6
14796 else
14797 ac_wine_try_cflags_saved=$CFLAGS
14798 CFLAGS="$CFLAGS -Wempty-body"
14799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14801 int main(int argc, char **argv) { return 0; }
14802 _ACEOF
14803 if ac_fn_c_try_link "$LINENO"; then :
14804 ac_cv_cflags__Wempty_body=yes
14805 else
14806 ac_cv_cflags__Wempty_body=no
14808 rm -f core conftest.err conftest.$ac_objext \
14809 conftest$ac_exeext conftest.$ac_ext
14810 CFLAGS=$ac_wine_try_cflags_saved
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14813 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14814 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14815 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14818 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14819 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14820 $as_echo_n "(cached) " >&6
14821 else
14822 ac_wine_try_cflags_saved=$CFLAGS
14823 CFLAGS="$CFLAGS -Wignored-qualifiers"
14824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14825 /* end confdefs.h. */
14826 int main(int argc, char **argv) { return 0; }
14827 _ACEOF
14828 if ac_fn_c_try_link "$LINENO"; then :
14829 ac_cv_cflags__Wignored_qualifiers=yes
14830 else
14831 ac_cv_cflags__Wignored_qualifiers=no
14833 rm -f core conftest.err conftest.$ac_objext \
14834 conftest$ac_exeext conftest.$ac_ext
14835 CFLAGS=$ac_wine_try_cflags_saved
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14838 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14839 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14840 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14843 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14844 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14845 $as_echo_n "(cached) " >&6
14846 else
14847 ac_wine_try_cflags_saved=$CFLAGS
14848 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14850 /* end confdefs.h. */
14851 int main(int argc, char **argv) { return 0; }
14852 _ACEOF
14853 if ac_fn_c_try_link "$LINENO"; then :
14854 ac_cv_cflags__Wpacked_not_aligned=yes
14855 else
14856 ac_cv_cflags__Wpacked_not_aligned=no
14858 rm -f core conftest.err conftest.$ac_objext \
14859 conftest$ac_exeext conftest.$ac_ext
14860 CFLAGS=$ac_wine_try_cflags_saved
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14863 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14864 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14865 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14868 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14869 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14870 $as_echo_n "(cached) " >&6
14871 else
14872 ac_wine_try_cflags_saved=$CFLAGS
14873 CFLAGS="$CFLAGS -Wpragma-pack"
14874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h. */
14876 int main(int argc, char **argv) { return 0; }
14877 _ACEOF
14878 if ac_fn_c_try_link "$LINENO"; then :
14879 ac_cv_cflags__Wpragma_pack=yes
14880 else
14881 ac_cv_cflags__Wpragma_pack=no
14883 rm -f core conftest.err conftest.$ac_objext \
14884 conftest$ac_exeext conftest.$ac_ext
14885 CFLAGS=$ac_wine_try_cflags_saved
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14888 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14889 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14890 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14893 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14894 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14895 $as_echo_n "(cached) " >&6
14896 else
14897 ac_wine_try_cflags_saved=$CFLAGS
14898 CFLAGS="$CFLAGS -Wshift-overflow=2"
14899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h. */
14901 int main(int argc, char **argv) { return 0; }
14902 _ACEOF
14903 if ac_fn_c_try_link "$LINENO"; then :
14904 ac_cv_cflags__Wshift_overflow_2=yes
14905 else
14906 ac_cv_cflags__Wshift_overflow_2=no
14908 rm -f core conftest.err conftest.$ac_objext \
14909 conftest$ac_exeext conftest.$ac_ext
14910 CFLAGS=$ac_wine_try_cflags_saved
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14913 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14914 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14915 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14918 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14919 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14920 $as_echo_n "(cached) " >&6
14921 else
14922 ac_wine_try_cflags_saved=$CFLAGS
14923 CFLAGS="$CFLAGS -Wstrict-prototypes"
14924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14925 /* end confdefs.h. */
14926 int main(int argc, char **argv) { return 0; }
14927 _ACEOF
14928 if ac_fn_c_try_link "$LINENO"; then :
14929 ac_cv_cflags__Wstrict_prototypes=yes
14930 else
14931 ac_cv_cflags__Wstrict_prototypes=no
14933 rm -f core conftest.err conftest.$ac_objext \
14934 conftest$ac_exeext conftest.$ac_ext
14935 CFLAGS=$ac_wine_try_cflags_saved
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14938 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14939 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14940 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14943 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14944 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14945 $as_echo_n "(cached) " >&6
14946 else
14947 ac_wine_try_cflags_saved=$CFLAGS
14948 CFLAGS="$CFLAGS -Wtype-limits"
14949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14950 /* end confdefs.h. */
14951 int main(int argc, char **argv) { return 0; }
14952 _ACEOF
14953 if ac_fn_c_try_link "$LINENO"; then :
14954 ac_cv_cflags__Wtype_limits=yes
14955 else
14956 ac_cv_cflags__Wtype_limits=no
14958 rm -f core conftest.err conftest.$ac_objext \
14959 conftest$ac_exeext conftest.$ac_ext
14960 CFLAGS=$ac_wine_try_cflags_saved
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14963 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14964 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14965 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14968 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14969 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14970 $as_echo_n "(cached) " >&6
14971 else
14972 ac_wine_try_cflags_saved=$CFLAGS
14973 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14975 /* end confdefs.h. */
14976 int main(int argc, char **argv) { return 0; }
14977 _ACEOF
14978 if ac_fn_c_try_link "$LINENO"; then :
14979 ac_cv_cflags__Wunused_but_set_parameter=yes
14980 else
14981 ac_cv_cflags__Wunused_but_set_parameter=no
14983 rm -f core conftest.err conftest.$ac_objext \
14984 conftest$ac_exeext conftest.$ac_ext
14985 CFLAGS=$ac_wine_try_cflags_saved
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14988 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14989 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14990 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14993 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14994 if ${ac_cv_cflags__Wvla+:} false; then :
14995 $as_echo_n "(cached) " >&6
14996 else
14997 ac_wine_try_cflags_saved=$CFLAGS
14998 CFLAGS="$CFLAGS -Wvla"
14999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15000 /* end confdefs.h. */
15001 int main(int argc, char **argv) { return 0; }
15002 _ACEOF
15003 if ac_fn_c_try_link "$LINENO"; then :
15004 ac_cv_cflags__Wvla=yes
15005 else
15006 ac_cv_cflags__Wvla=no
15008 rm -f core conftest.err conftest.$ac_objext \
15009 conftest$ac_exeext conftest.$ac_ext
15010 CFLAGS=$ac_wine_try_cflags_saved
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15013 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15014 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15015 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15018 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15019 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15020 $as_echo_n "(cached) " >&6
15021 else
15022 ac_wine_try_cflags_saved=$CFLAGS
15023 CFLAGS="$CFLAGS -Wwrite-strings"
15024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15026 int main(int argc, char **argv) { return 0; }
15027 _ACEOF
15028 if ac_fn_c_try_link "$LINENO"; then :
15029 ac_cv_cflags__Wwrite_strings=yes
15030 else
15031 ac_cv_cflags__Wwrite_strings=no
15033 rm -f core conftest.err conftest.$ac_objext \
15034 conftest$ac_exeext conftest.$ac_ext
15035 CFLAGS=$ac_wine_try_cflags_saved
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15038 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15039 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15040 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15044 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15045 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15046 $as_echo_n "(cached) " >&6
15047 else
15048 ac_wine_try_cflags_saved=$CFLAGS
15049 CFLAGS="$CFLAGS -Wpointer-arith"
15050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15051 /* end confdefs.h. */
15052 int main(int argc, char **argv) { return 0; }
15053 _ACEOF
15054 if ac_fn_c_try_link "$LINENO"; then :
15055 ac_cv_cflags__Wpointer_arith=yes
15056 else
15057 ac_cv_cflags__Wpointer_arith=no
15059 rm -f core conftest.err conftest.$ac_objext \
15060 conftest$ac_exeext conftest.$ac_ext
15061 CFLAGS=$ac_wine_try_cflags_saved
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15064 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15065 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15066 saved_string_h_CFLAGS=$CFLAGS
15067 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15069 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15070 if ${ac_cv_c_string_h_warnings+:} false; then :
15071 $as_echo_n "(cached) " >&6
15072 else
15073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15075 #include <string.h>
15077 main ()
15081 return 0;
15083 _ACEOF
15084 if ac_fn_c_try_compile "$LINENO"; then :
15085 ac_cv_c_string_h_warnings=no
15086 else
15087 ac_cv_c_string_h_warnings=yes
15089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15092 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15093 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15094 CFLAGS=$saved_string_h_CFLAGS
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15098 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15099 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15100 $as_echo_n "(cached) " >&6
15101 else
15102 ac_wine_try_cflags_saved=$CFLAGS
15103 CFLAGS="$CFLAGS -Wlogical-op"
15104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15105 /* end confdefs.h. */
15106 int main(int argc, char **argv) { return 0; }
15107 _ACEOF
15108 if ac_fn_c_try_link "$LINENO"; then :
15109 ac_cv_cflags__Wlogical_op=yes
15110 else
15111 ac_cv_cflags__Wlogical_op=no
15113 rm -f core conftest.err conftest.$ac_objext \
15114 conftest$ac_exeext conftest.$ac_ext
15115 CFLAGS=$ac_wine_try_cflags_saved
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15118 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15119 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15120 saved_string_h_CFLAGS=$CFLAGS
15121 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15123 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15124 if ${ac_cv_c_logicalop_noisy+:} false; then :
15125 $as_echo_n "(cached) " >&6
15126 else
15127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15128 /* end confdefs.h. */
15129 #include <string.h>
15130 char*f(const char *h,char n) {return strchr(h,n);}
15132 main ()
15136 return 0;
15138 _ACEOF
15139 if ac_fn_c_try_compile "$LINENO"; then :
15140 ac_cv_c_logicalop_noisy=no
15141 else
15142 ac_cv_c_logicalop_noisy=yes
15144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15147 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15148 CFLAGS=$saved_string_h_CFLAGS
15149 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15152 CFLAGS=$saved_CFLAGS
15154 for ac_flag in $CFLAGS; do
15155 case $ac_flag in
15156 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15157 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15158 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15159 $as_echo_n "(cached) " >&6
15160 else
15161 ac_wine_try_cflags_saved=$CFLAGS
15162 CFLAGS="$CFLAGS -gdwarf-2"
15163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15165 int main(int argc, char **argv) { return 0; }
15166 _ACEOF
15167 if ac_fn_c_try_link "$LINENO"; then :
15168 ac_cv_cflags__gdwarf_2=yes
15169 else
15170 ac_cv_cflags__gdwarf_2=no
15172 rm -f core conftest.err conftest.$ac_objext \
15173 conftest$ac_exeext conftest.$ac_ext
15174 CFLAGS=$ac_wine_try_cflags_saved
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15177 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15178 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15179 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15182 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15183 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15184 $as_echo_n "(cached) " >&6
15185 else
15186 ac_wine_try_cflags_saved=$CFLAGS
15187 CFLAGS="$CFLAGS -gstrict-dwarf"
15188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15189 /* end confdefs.h. */
15190 int main(int argc, char **argv) { return 0; }
15191 _ACEOF
15192 if ac_fn_c_try_link "$LINENO"; then :
15193 ac_cv_cflags__gstrict_dwarf=yes
15194 else
15195 ac_cv_cflags__gstrict_dwarf=no
15197 rm -f core conftest.err conftest.$ac_objext \
15198 conftest$ac_exeext conftest.$ac_ext
15199 CFLAGS=$ac_wine_try_cflags_saved
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15202 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15203 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15204 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15205 fi ;;
15206 esac
15207 done
15209 case $host_cpu in
15210 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15211 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15212 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15213 $as_echo_n "(cached) " >&6
15214 else
15215 ac_wine_try_cflags_saved=$CFLAGS
15216 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15219 int main(int argc, char **argv) { return 0; }
15220 _ACEOF
15221 if ac_fn_c_try_link "$LINENO"; then :
15222 ac_cv_cflags__fno_omit_frame_pointer=yes
15223 else
15224 ac_cv_cflags__fno_omit_frame_pointer=no
15226 rm -f core conftest.err conftest.$ac_objext \
15227 conftest$ac_exeext conftest.$ac_ext
15228 CFLAGS=$ac_wine_try_cflags_saved
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15231 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15232 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15233 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15234 fi ;;
15235 esac
15237 case $host in
15238 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15239 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15240 if ${ac_cv_cflags__Wno_format+:} false; then :
15241 $as_echo_n "(cached) " >&6
15242 else
15243 ac_wine_try_cflags_saved=$CFLAGS
15244 CFLAGS="$CFLAGS -Wno-format"
15245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15246 /* end confdefs.h. */
15247 int main(int argc, char **argv) { return 0; }
15248 _ACEOF
15249 if ac_fn_c_try_link "$LINENO"; then :
15250 ac_cv_cflags__Wno_format=yes
15251 else
15252 ac_cv_cflags__Wno_format=no
15254 rm -f core conftest.err conftest.$ac_objext \
15255 conftest$ac_exeext conftest.$ac_ext
15256 CFLAGS=$ac_wine_try_cflags_saved
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15259 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15260 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15261 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15262 fi ;;
15263 esac
15265 if test "x$enable_maintainer_mode" = "xyes"
15266 then
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15268 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15269 if ${ac_cv_cflags__Werror+:} false; then :
15270 $as_echo_n "(cached) " >&6
15271 else
15272 ac_wine_try_cflags_saved=$CFLAGS
15273 CFLAGS="$CFLAGS -Werror"
15274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15275 /* end confdefs.h. */
15276 int main(int argc, char **argv) { return 0; }
15277 _ACEOF
15278 if ac_fn_c_try_link "$LINENO"; then :
15279 ac_cv_cflags__Werror=yes
15280 else
15281 ac_cv_cflags__Werror=no
15283 rm -f core conftest.err conftest.$ac_objext \
15284 conftest$ac_exeext conftest.$ac_ext
15285 CFLAGS=$ac_wine_try_cflags_saved
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15288 $as_echo "$ac_cv_cflags__Werror" >&6; }
15289 if test "x$ac_cv_cflags__Werror" = xyes; then :
15290 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15294 saved_CFLAGS="$CFLAGS"
15295 CFLAGS="$CFLAGS -Werror"
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15297 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15298 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15299 $as_echo_n "(cached) " >&6
15300 else
15301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h. */
15303 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15305 main ()
15309 return 0;
15311 _ACEOF
15312 if ac_fn_c_try_compile "$LINENO"; then :
15313 ac_cv_have_ms_hook_prologue="yes"
15314 else
15315 ac_cv_have_ms_hook_prologue="no"
15317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15320 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15321 CFLAGS="$saved_CFLAGS"
15322 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15323 then
15325 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15327 else
15328 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15335 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15336 if ${ac_cv_c_fortify_enabled+:} false; then :
15337 $as_echo_n "(cached) " >&6
15338 else
15339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15340 /* end confdefs.h. */
15341 #include <string.h>
15343 main ()
15345 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15346 #error Fortify enabled
15347 #endif
15349 return 0;
15351 _ACEOF
15352 if ac_fn_c_try_compile "$LINENO"; then :
15353 ac_cv_c_fortify_enabled=no
15354 else
15355 ac_cv_c_fortify_enabled=yes
15357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15360 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15361 if test "$ac_cv_c_fortify_enabled" = yes
15362 then
15363 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15368 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15369 if ${ac_cv_c_extern_prefix+:} false; then :
15370 $as_echo_n "(cached) " >&6
15371 else
15372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15373 /* end confdefs.h. */
15374 extern int ac_test;
15376 main ()
15378 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15380 return 0;
15382 _ACEOF
15383 if ac_fn_c_try_link "$LINENO"; then :
15384 ac_cv_c_extern_prefix="yes"
15385 else
15386 ac_cv_c_extern_prefix="no"
15388 rm -f core conftest.err conftest.$ac_objext \
15389 conftest$ac_exeext conftest.$ac_ext
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15392 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15394 case $host_cpu in
15395 *i[3456789]86*)
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15397 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15398 if ${ac_cv_c_stdcall_suffix+:} false; then :
15399 $as_echo_n "(cached) " >&6
15400 else
15401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15402 /* end confdefs.h. */
15403 #ifndef _MSC_VER
15404 #define __stdcall __attribute__((__stdcall__))
15405 #endif
15406 int __stdcall ac_test(int i) { return i; }
15408 main ()
15410 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15412 return 0;
15414 _ACEOF
15415 if ac_fn_c_try_link "$LINENO"; then :
15416 ac_cv_c_stdcall_suffix="yes"
15417 else
15418 ac_cv_c_stdcall_suffix="no"
15420 rm -f core conftest.err conftest.$ac_objext \
15421 conftest$ac_exeext conftest.$ac_ext
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15424 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15425 *) ac_cv_c_stdcall_suffix="no" ;;
15426 esac
15429 if test "$ac_cv_c_extern_prefix" = "yes"
15430 then
15431 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15433 asm_name_prefix="_"
15434 else
15435 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15437 asm_name_prefix=""
15441 if test "$ac_cv_c_stdcall_suffix" = "yes"
15442 then
15443 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15445 else
15446 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15452 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15453 if ${ac_cv_asm_func_def+:} false; then :
15454 $as_echo_n "(cached) " >&6
15455 else
15456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15457 /* end confdefs.h. */
15460 main ()
15462 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15464 return 0;
15466 _ACEOF
15467 if ac_fn_c_try_link "$LINENO"; then :
15468 ac_cv_asm_func_def=".def"
15469 else
15470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15471 /* end confdefs.h. */
15474 main ()
15476 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15478 return 0;
15480 _ACEOF
15481 if ac_fn_c_try_link "$LINENO"; then :
15482 ac_cv_asm_func_def=".type @function"
15483 else
15484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15485 /* end confdefs.h. */
15488 main ()
15490 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15492 return 0;
15494 _ACEOF
15495 if ac_fn_c_try_link "$LINENO"; then :
15496 ac_cv_asm_func_def=".type 2"
15497 else
15498 ac_cv_asm_func_def="unknown"
15500 rm -f core conftest.err conftest.$ac_objext \
15501 conftest$ac_exeext conftest.$ac_ext
15503 rm -f core conftest.err conftest.$ac_objext \
15504 conftest$ac_exeext conftest.$ac_ext
15506 rm -f core conftest.err conftest.$ac_objext \
15507 conftest$ac_exeext conftest.$ac_ext
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15510 $as_echo "$ac_cv_asm_func_def" >&6; }
15513 case "$ac_cv_asm_func_def" in
15514 ".def")
15515 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15517 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15518 ".type @function")
15519 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15521 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15522 ".type 2")
15523 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15525 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15527 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15529 asm_func_header="" ;;
15530 esac
15532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15533 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15534 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15535 $as_echo_n "(cached) " >&6
15536 else
15537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15538 /* end confdefs.h. */
15539 asm(".text\n\t.long 0");
15541 main ()
15545 return 0;
15547 _ACEOF
15548 if ac_fn_c_try_compile "$LINENO"; then :
15549 ac_cv_c_asm_outside_funcs="yes"
15550 else
15551 ac_cv_c_asm_outside_funcs="no"
15553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15556 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15559 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15560 if ${ac_cv_c_dot_previous+:} false; then :
15561 $as_echo_n "(cached) " >&6
15562 else
15563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15564 /* end confdefs.h. */
15567 main ()
15569 asm(".text\nac_test:\t.long 0\n\t.previous");
15571 return 0;
15573 _ACEOF
15574 if ac_fn_c_try_link "$LINENO"; then :
15575 ac_cv_c_dot_previous="yes"
15576 else
15577 ac_cv_c_dot_previous="no"
15579 rm -f core conftest.err conftest.$ac_objext \
15580 conftest$ac_exeext conftest.$ac_ext
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15583 $as_echo "$ac_cv_c_dot_previous" >&6; }
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15586 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15587 if ${ac_cv_c_cfi_support+:} 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\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15594 main ()
15598 return 0;
15600 _ACEOF
15601 if ac_fn_c_try_compile "$LINENO"; then :
15602 ac_cv_c_cfi_support="yes"
15603 else
15604 ac_cv_c_cfi_support="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_cfi_support" >&5
15609 $as_echo "$ac_cv_c_cfi_support" >&6; }
15611 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15612 asm_func_trailer=""
15613 if test "$ac_cv_c_dot_previous" = "yes"
15614 then
15615 asm_func_trailer="\\n\\t.previous"
15617 if test "$ac_cv_c_cfi_support" = "yes"
15618 then
15619 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15620 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15622 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15624 UNWINDFLAGS=-fasynchronous-unwind-tables
15626 else
15627 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15629 if test "x$enable_win64" = "xyes"
15630 then
15631 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15635 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15638 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15639 then
15640 cat >>confdefs.h <<_ACEOF
15641 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15642 _ACEOF
15644 else
15645 cat >>confdefs.h <<_ACEOF
15646 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15647 _ACEOF
15651 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15654 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15658 case $build_os in
15659 cygwin*|mingw32*) TOOLSEXT=".exe"
15661 esac
15663 case $host_os in
15664 linux*)
15665 case $host_cpu in
15666 *i[3456789]86*|x86_64*|*aarch64*)
15667 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15668 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15670 esac
15672 esac
15675 ac_save_CFLAGS="$CFLAGS"
15676 CFLAGS="$CFLAGS $BUILTINFLAG"
15677 for ac_func in \
15678 __res_get_state \
15679 __res_getservers \
15680 _finite \
15681 _isnan \
15682 _pclose \
15683 _popen \
15684 _snprintf \
15685 _spawnvp \
15686 _strdup \
15687 _stricmp \
15688 _strnicmp \
15689 _strtoi64 \
15690 _strtoui64 \
15691 _vsnprintf \
15692 asctime_r \
15693 chsize \
15694 dlopen \
15695 epoll_create \
15696 ffs \
15697 finitef \
15698 fnmatch \
15699 fork \
15700 fpclass \
15701 fstatfs \
15702 fstatvfs \
15703 ftruncate \
15704 futimens \
15705 futimes \
15706 futimesat \
15707 getattrlist \
15708 getauxval \
15709 getifaddrs \
15710 getopt_long_only \
15711 getpwuid \
15712 gettimeofday \
15713 getuid \
15714 isnanf \
15715 kqueue \
15716 lstat \
15717 memmove \
15718 mmap \
15719 pclose \
15720 pipe2 \
15721 poll \
15722 popen \
15723 port_create \
15724 prctl \
15725 pread \
15726 proc_pidinfo \
15727 pwrite \
15728 readdir \
15729 readlink \
15730 sched_yield \
15731 select \
15732 setproctitle \
15733 setprogname \
15734 setrlimit \
15735 settimeofday \
15736 sigaltstack \
15737 sigprocmask \
15738 snprintf \
15739 statfs \
15740 statvfs \
15741 strcasecmp \
15742 strdup \
15743 strerror \
15744 strncasecmp \
15745 strnlen \
15746 strtold \
15747 strtoll \
15748 strtoull \
15749 symlink \
15750 sysinfo \
15751 tcdrain \
15752 thr_kill2 \
15753 timegm \
15754 usleep \
15755 vsnprintf
15757 do :
15758 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15759 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15760 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15761 cat >>confdefs.h <<_ACEOF
15762 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15763 _ACEOF
15766 done
15768 CFLAGS="$ac_save_CFLAGS"
15770 if test "$ac_cv_func_dlopen" = no
15771 then
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15773 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15774 if ${ac_cv_lib_dl_dlopen+:} false; then :
15775 $as_echo_n "(cached) " >&6
15776 else
15777 ac_check_lib_save_LIBS=$LIBS
15778 LIBS="-ldl $LIBS"
15779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15780 /* end confdefs.h. */
15782 /* Override any GCC internal prototype to avoid an error.
15783 Use char because int might match the return type of a GCC
15784 builtin and then its argument prototype would still apply. */
15785 #ifdef __cplusplus
15786 extern "C"
15787 #endif
15788 char dlopen ();
15790 main ()
15792 return dlopen ();
15794 return 0;
15796 _ACEOF
15797 if ac_fn_c_try_link "$LINENO"; then :
15798 ac_cv_lib_dl_dlopen=yes
15799 else
15800 ac_cv_lib_dl_dlopen=no
15802 rm -f core conftest.err conftest.$ac_objext \
15803 conftest$ac_exeext conftest.$ac_ext
15804 LIBS=$ac_check_lib_save_LIBS
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15807 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15808 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15809 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15810 DL_LIBS="-ldl"
15815 ac_wine_check_funcs_save_LIBS="$LIBS"
15816 LIBS="$LIBS $DL_LIBS"
15817 for ac_func in dladdr
15818 do :
15819 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15820 if test "x$ac_cv_func_dladdr" = xyes; then :
15821 cat >>confdefs.h <<_ACEOF
15822 #define HAVE_DLADDR 1
15823 _ACEOF
15826 done
15828 LIBS="$ac_wine_check_funcs_save_LIBS"
15830 if test "$ac_cv_func_poll" = no
15831 then
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15833 $as_echo_n "checking for poll in -lpoll... " >&6; }
15834 if ${ac_cv_lib_poll_poll+:} false; then :
15835 $as_echo_n "(cached) " >&6
15836 else
15837 ac_check_lib_save_LIBS=$LIBS
15838 LIBS="-lpoll $LIBS"
15839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15840 /* end confdefs.h. */
15842 /* Override any GCC internal prototype to avoid an error.
15843 Use char because int might match the return type of a GCC
15844 builtin and then its argument prototype would still apply. */
15845 #ifdef __cplusplus
15846 extern "C"
15847 #endif
15848 char poll ();
15850 main ()
15852 return poll ();
15854 return 0;
15856 _ACEOF
15857 if ac_fn_c_try_link "$LINENO"; then :
15858 ac_cv_lib_poll_poll=yes
15859 else
15860 ac_cv_lib_poll_poll=no
15862 rm -f core conftest.err conftest.$ac_objext \
15863 conftest$ac_exeext conftest.$ac_ext
15864 LIBS=$ac_check_lib_save_LIBS
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15867 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15868 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15869 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15870 POLL_LIBS="-lpoll"
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15877 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15878 if ${ac_cv_search_gethostbyname+:} false; then :
15879 $as_echo_n "(cached) " >&6
15880 else
15881 ac_func_search_save_LIBS=$LIBS
15882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15883 /* end confdefs.h. */
15885 /* Override any GCC internal prototype to avoid an error.
15886 Use char because int might match the return type of a GCC
15887 builtin and then its argument prototype would still apply. */
15888 #ifdef __cplusplus
15889 extern "C"
15890 #endif
15891 char gethostbyname ();
15893 main ()
15895 return gethostbyname ();
15897 return 0;
15899 _ACEOF
15900 for ac_lib in '' nsl; do
15901 if test -z "$ac_lib"; then
15902 ac_res="none required"
15903 else
15904 ac_res=-l$ac_lib
15905 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15907 if ac_fn_c_try_link "$LINENO"; then :
15908 ac_cv_search_gethostbyname=$ac_res
15910 rm -f core conftest.err conftest.$ac_objext \
15911 conftest$ac_exeext
15912 if ${ac_cv_search_gethostbyname+:} false; then :
15913 break
15915 done
15916 if ${ac_cv_search_gethostbyname+:} false; then :
15918 else
15919 ac_cv_search_gethostbyname=no
15921 rm conftest.$ac_ext
15922 LIBS=$ac_func_search_save_LIBS
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15925 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15926 ac_res=$ac_cv_search_gethostbyname
15927 if test "$ac_res" != no; then :
15928 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15934 $as_echo_n "checking for library containing connect... " >&6; }
15935 if ${ac_cv_search_connect+:} false; then :
15936 $as_echo_n "(cached) " >&6
15937 else
15938 ac_func_search_save_LIBS=$LIBS
15939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15940 /* end confdefs.h. */
15942 /* Override any GCC internal prototype to avoid an error.
15943 Use char because int might match the return type of a GCC
15944 builtin and then its argument prototype would still apply. */
15945 #ifdef __cplusplus
15946 extern "C"
15947 #endif
15948 char connect ();
15950 main ()
15952 return connect ();
15954 return 0;
15956 _ACEOF
15957 for ac_lib in '' socket; do
15958 if test -z "$ac_lib"; then
15959 ac_res="none required"
15960 else
15961 ac_res=-l$ac_lib
15962 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15964 if ac_fn_c_try_link "$LINENO"; then :
15965 ac_cv_search_connect=$ac_res
15967 rm -f core conftest.err conftest.$ac_objext \
15968 conftest$ac_exeext
15969 if ${ac_cv_search_connect+:} false; then :
15970 break
15972 done
15973 if ${ac_cv_search_connect+:} false; then :
15975 else
15976 ac_cv_search_connect=no
15978 rm conftest.$ac_ext
15979 LIBS=$ac_func_search_save_LIBS
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15982 $as_echo "$ac_cv_search_connect" >&6; }
15983 ac_res=$ac_cv_search_connect
15984 if test "$ac_res" != no; then :
15985 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15991 $as_echo_n "checking for library containing inet_aton... " >&6; }
15992 if ${ac_cv_search_inet_aton+:} false; then :
15993 $as_echo_n "(cached) " >&6
15994 else
15995 ac_func_search_save_LIBS=$LIBS
15996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15997 /* end confdefs.h. */
15999 /* Override any GCC internal prototype to avoid an error.
16000 Use char because int might match the return type of a GCC
16001 builtin and then its argument prototype would still apply. */
16002 #ifdef __cplusplus
16003 extern "C"
16004 #endif
16005 char inet_aton ();
16007 main ()
16009 return inet_aton ();
16011 return 0;
16013 _ACEOF
16014 for ac_lib in '' resolv; do
16015 if test -z "$ac_lib"; then
16016 ac_res="none required"
16017 else
16018 ac_res=-l$ac_lib
16019 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16021 if ac_fn_c_try_link "$LINENO"; then :
16022 ac_cv_search_inet_aton=$ac_res
16024 rm -f core conftest.err conftest.$ac_objext \
16025 conftest$ac_exeext
16026 if ${ac_cv_search_inet_aton+:} false; then :
16027 break
16029 done
16030 if ${ac_cv_search_inet_aton+:} false; then :
16032 else
16033 ac_cv_search_inet_aton=no
16035 rm conftest.$ac_ext
16036 LIBS=$ac_func_search_save_LIBS
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16039 $as_echo "$ac_cv_search_inet_aton" >&6; }
16040 ac_res=$ac_cv_search_inet_aton
16041 if test "$ac_res" != no; then :
16042 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16047 for ac_func in \
16048 getaddrinfo \
16049 getnameinfo \
16050 getnetbyname \
16051 getprotobyname \
16052 getprotobynumber \
16053 getservbyport \
16054 inet_addr \
16055 inet_network \
16056 inet_ntop \
16057 inet_pton \
16058 sendmsg \
16059 socketpair \
16061 do :
16062 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16063 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16064 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16065 cat >>confdefs.h <<_ACEOF
16066 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16067 _ACEOF
16070 done
16073 ac_save_LIBS=$LIBS
16074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16075 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16076 if ${ac_cv_search_clock_gettime+:} false; then :
16077 $as_echo_n "(cached) " >&6
16078 else
16079 ac_func_search_save_LIBS=$LIBS
16080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16081 /* end confdefs.h. */
16083 /* Override any GCC internal prototype to avoid an error.
16084 Use char because int might match the return type of a GCC
16085 builtin and then its argument prototype would still apply. */
16086 #ifdef __cplusplus
16087 extern "C"
16088 #endif
16089 char clock_gettime ();
16091 main ()
16093 return clock_gettime ();
16095 return 0;
16097 _ACEOF
16098 for ac_lib in '' rt; do
16099 if test -z "$ac_lib"; then
16100 ac_res="none required"
16101 else
16102 ac_res=-l$ac_lib
16103 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16105 if ac_fn_c_try_link "$LINENO"; then :
16106 ac_cv_search_clock_gettime=$ac_res
16108 rm -f core conftest.err conftest.$ac_objext \
16109 conftest$ac_exeext
16110 if ${ac_cv_search_clock_gettime+:} false; then :
16111 break
16113 done
16114 if ${ac_cv_search_clock_gettime+:} false; then :
16116 else
16117 ac_cv_search_clock_gettime=no
16119 rm conftest.$ac_ext
16120 LIBS=$ac_func_search_save_LIBS
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16123 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16124 ac_res=$ac_cv_search_clock_gettime
16125 if test "$ac_res" != no; then :
16126 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16128 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16130 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16134 LIBS=$ac_save_LIBS
16136 if test "x$with_ldap" != "xno"
16137 then
16138 if ${LDAP_CFLAGS:+false} :; then :
16139 if ${PKG_CONFIG+:} false; then :
16140 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16144 if ${LDAP_LIBS:+false} :; then :
16145 if ${PKG_CONFIG+:} false; then :
16146 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16150 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16151 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16152 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16153 ac_save_CPPFLAGS=$CPPFLAGS
16154 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16155 for ac_header in ldap.h lber.h
16156 do :
16157 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16158 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16159 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16160 cat >>confdefs.h <<_ACEOF
16161 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16162 _ACEOF
16166 done
16168 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16169 then
16170 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16172 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16174 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16175 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16176 $as_echo_n "(cached) " >&6
16177 else
16178 ac_check_lib_save_LIBS=$LIBS
16179 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16181 /* end confdefs.h. */
16183 /* Override any GCC internal prototype to avoid an error.
16184 Use char because int might match the return type of a GCC
16185 builtin and then its argument prototype would still apply. */
16186 #ifdef __cplusplus
16187 extern "C"
16188 #endif
16189 char ldap_initialize ();
16191 main ()
16193 return ldap_initialize ();
16195 return 0;
16197 _ACEOF
16198 if ac_fn_c_try_link "$LINENO"; then :
16199 ac_cv_lib_ldap_r_ldap_initialize=yes
16200 else
16201 ac_cv_lib_ldap_r_ldap_initialize=no
16203 rm -f core conftest.err conftest.$ac_objext \
16204 conftest$ac_exeext conftest.$ac_ext
16205 LIBS=$ac_check_lib_save_LIBS
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16208 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16209 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16211 $as_echo_n "checking for ber_init in -llber... " >&6; }
16212 if ${ac_cv_lib_lber_ber_init+:} false; then :
16213 $as_echo_n "(cached) " >&6
16214 else
16215 ac_check_lib_save_LIBS=$LIBS
16216 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16218 /* end confdefs.h. */
16220 /* Override any GCC internal prototype to avoid an error.
16221 Use char because int might match the return type of a GCC
16222 builtin and then its argument prototype would still apply. */
16223 #ifdef __cplusplus
16224 extern "C"
16225 #endif
16226 char ber_init ();
16228 main ()
16230 return ber_init ();
16232 return 0;
16234 _ACEOF
16235 if ac_fn_c_try_link "$LINENO"; then :
16236 ac_cv_lib_lber_ber_init=yes
16237 else
16238 ac_cv_lib_lber_ber_init=no
16240 rm -f core conftest.err conftest.$ac_objext \
16241 conftest$ac_exeext conftest.$ac_ext
16242 LIBS=$ac_check_lib_save_LIBS
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16245 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16246 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16248 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16250 else
16251 LDAP_LIBS=""
16254 else
16255 LDAP_LIBS=""
16258 else
16259 LDAP_LIBS=""
16262 ac_wine_check_funcs_save_LIBS="$LIBS"
16263 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16264 for ac_func in \
16265 ldap_count_references \
16266 ldap_first_reference \
16267 ldap_next_reference \
16268 ldap_parse_reference \
16269 ldap_parse_sort_control \
16270 ldap_parse_sortresponse_control \
16271 ldap_parse_vlv_control \
16272 ldap_parse_vlvresponse_control
16273 do :
16274 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16275 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16276 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16277 cat >>confdefs.h <<_ACEOF
16278 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16279 _ACEOF
16282 done
16284 LIBS="$ac_wine_check_funcs_save_LIBS"
16285 else
16286 LDAP_LIBS=""
16288 CPPFLAGS=$ac_save_CPPFLAGS
16289 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16290 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16293 if test "x$LDAP_LIBS" = "x"; then :
16294 case "x$with_ldap" in
16295 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16296 xno) ;;
16297 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16298 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16299 esac
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16304 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16305 if ${wine_cv_one_arg_mkdir+:} false; then :
16306 $as_echo_n "(cached) " >&6
16307 else
16308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16309 /* end confdefs.h. */
16310 #include <sys/stat.h>
16312 main ()
16314 mkdir("foo");
16316 return 0;
16318 _ACEOF
16319 if ac_fn_c_try_compile "$LINENO"; then :
16320 wine_cv_one_arg_mkdir=yes
16321 else
16322 wine_cv_one_arg_mkdir=no
16324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16327 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16328 if test "$wine_cv_one_arg_mkdir" = "yes"
16329 then
16331 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16336 $as_echo_n "checking for sched_setaffinity... " >&6; }
16337 if ${wine_cv_have_sched_setaffinity+:} false; then :
16338 $as_echo_n "(cached) " >&6
16339 else
16340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16341 /* end confdefs.h. */
16342 #define _GNU_SOURCE
16343 #include <sched.h>
16345 main ()
16347 sched_setaffinity(0, 0, 0);
16349 return 0;
16351 _ACEOF
16352 if ac_fn_c_try_link "$LINENO"; then :
16353 wine_cv_have_sched_setaffinity=yes
16354 else
16355 wine_cv_have_sched_setaffinity=no
16357 rm -f core conftest.err conftest.$ac_objext \
16358 conftest$ac_exeext conftest.$ac_ext
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16361 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16362 if test "$wine_cv_have_sched_setaffinity" = "yes"
16363 then
16365 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16370 $as_echo_n "checking for fallocate... " >&6; }
16371 if ${wine_cv_have_fallocate+:} false; then :
16372 $as_echo_n "(cached) " >&6
16373 else
16374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16375 /* end confdefs.h. */
16376 #define _GNU_SOURCE
16377 #include <fcntl.h>
16379 main ()
16381 fallocate(-1, 0, 0, 0);
16383 return 0;
16385 _ACEOF
16386 if ac_fn_c_try_link "$LINENO"; then :
16387 wine_cv_have_fallocate=yes
16388 else
16389 wine_cv_have_fallocate=no
16391 rm -f core conftest.err conftest.$ac_objext \
16392 conftest$ac_exeext conftest.$ac_ext
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16395 $as_echo "$wine_cv_have_fallocate" >&6; }
16396 if test "$wine_cv_have_fallocate" = "yes"
16397 then
16399 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16405 $as_echo_n "checking for inline... " >&6; }
16406 if ${ac_cv_c_inline+:} false; then :
16407 $as_echo_n "(cached) " >&6
16408 else
16409 ac_cv_c_inline=no
16410 for ac_kw in inline __inline__ __inline; do
16411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16412 /* end confdefs.h. */
16413 #ifndef __cplusplus
16414 typedef int foo_t;
16415 static $ac_kw foo_t static_foo () {return 0; }
16416 $ac_kw foo_t foo () {return 0; }
16417 #endif
16419 _ACEOF
16420 if ac_fn_c_try_compile "$LINENO"; then :
16421 ac_cv_c_inline=$ac_kw
16423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16424 test "$ac_cv_c_inline" != no && break
16425 done
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16429 $as_echo "$ac_cv_c_inline" >&6; }
16431 case $ac_cv_c_inline in
16432 inline | yes) ;;
16434 case $ac_cv_c_inline in
16435 no) ac_val=;;
16436 *) ac_val=$ac_cv_c_inline;;
16437 esac
16438 cat >>confdefs.h <<_ACEOF
16439 #ifndef __cplusplus
16440 #define inline $ac_val
16441 #endif
16442 _ACEOF
16444 esac
16446 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16447 if test "x$ac_cv_type_mode_t" = xyes; then :
16449 cat >>confdefs.h <<_ACEOF
16450 #define HAVE_MODE_T 1
16451 _ACEOF
16455 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16456 if test "x$ac_cv_type_off_t" = xyes; then :
16458 cat >>confdefs.h <<_ACEOF
16459 #define HAVE_OFF_T 1
16460 _ACEOF
16464 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16465 if test "x$ac_cv_type_pid_t" = xyes; then :
16467 cat >>confdefs.h <<_ACEOF
16468 #define HAVE_PID_T 1
16469 _ACEOF
16473 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16474 if test "x$ac_cv_type_size_t" = xyes; then :
16476 cat >>confdefs.h <<_ACEOF
16477 #define HAVE_SIZE_T 1
16478 _ACEOF
16482 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16483 if test "x$ac_cv_type_ssize_t" = xyes; then :
16485 cat >>confdefs.h <<_ACEOF
16486 #define HAVE_SSIZE_T 1
16487 _ACEOF
16491 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16492 if test "x$ac_cv_type_long_long" = xyes; then :
16494 cat >>confdefs.h <<_ACEOF
16495 #define HAVE_LONG_LONG 1
16496 _ACEOF
16500 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16501 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16503 cat >>confdefs.h <<_ACEOF
16504 #define HAVE_FSBLKCNT_T 1
16505 _ACEOF
16509 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16510 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16512 cat >>confdefs.h <<_ACEOF
16513 #define HAVE_FSFILCNT_T 1
16514 _ACEOF
16519 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16520 #include <signal.h>
16522 if test "x$ac_cv_type_sigset_t" = xyes; then :
16524 cat >>confdefs.h <<_ACEOF
16525 #define HAVE_SIGSET_T 1
16526 _ACEOF
16531 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16533 if test "x$ac_cv_type_request_sense" = xyes; then :
16535 cat >>confdefs.h <<_ACEOF
16536 #define HAVE_REQUEST_SENSE 1
16537 _ACEOF
16543 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16544 #ifdef HAVE_SYS_SOCKET_H
16545 #include <sys/socket.h>
16546 #endif
16547 #ifdef HAVE_SYS_SOCKETVAR_H
16548 #include <sys/socketvar.h>
16549 #endif
16550 #ifdef HAVE_NET_ROUTE_H
16551 #include <net/route.h>
16552 #endif
16553 #ifdef HAVE_NETINET_IN_H
16554 #include <netinet/in.h>
16555 #endif
16556 #ifdef HAVE_NETINET_IN_SYSTM_H
16557 #include <netinet/in_systm.h>
16558 #endif
16559 #ifdef HAVE_NETINET_IP_H
16560 #include <netinet/ip.h>
16561 #endif
16562 #ifdef HAVE_NETINET_IN_PCB_H
16563 #include <netinet/in_pcb.h>
16564 #endif
16566 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16568 cat >>confdefs.h <<_ACEOF
16569 #define HAVE_STRUCT_XINPGEN 1
16570 _ACEOF
16576 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16577 #include <link.h>
16578 #endif
16579 #ifdef HAVE_SYS_LINK_H
16580 #include <sys/link.h>
16581 #endif
16583 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16585 cat >>confdefs.h <<_ACEOF
16586 #define HAVE_STRUCT_R_DEBUG 1
16587 _ACEOF
16591 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16592 #include <link.h>
16593 #endif
16594 #ifdef HAVE_SYS_LINK_H
16595 #include <sys/link.h>
16596 #endif
16598 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16600 cat >>confdefs.h <<_ACEOF
16601 #define HAVE_STRUCT_LINK_MAP 1
16602 _ACEOF
16608 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16609 #include <linux/input.h>
16610 #endif
16612 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16614 cat >>confdefs.h <<_ACEOF
16615 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16616 _ACEOF
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16623 $as_echo_n "checking for if_nameindex... " >&6; }
16624 if ${wine_cv_have_if_nameindex+:} false; then :
16625 $as_echo_n "(cached) " >&6
16626 else
16627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16629 #ifdef HAVE_SYS_TYPES_H
16630 #include <sys/types.h>
16631 #endif
16632 #ifdef HAVE_SYS_SOCKET_H
16633 #include <sys/socket.h>
16634 #endif
16635 #ifdef HAVE_NET_IF_H
16636 # include <net/if.h>
16637 #endif
16639 main ()
16641 struct if_nameindex *p = if_nameindex(); return p->if_index;
16643 return 0;
16645 _ACEOF
16646 if ac_fn_c_try_link "$LINENO"; then :
16647 wine_cv_have_if_nameindex=yes
16648 else
16649 wine_cv_have_if_nameindex=no
16651 rm -f core conftest.err conftest.$ac_objext \
16652 conftest$ac_exeext conftest.$ac_ext
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16655 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16656 if test "$wine_cv_have_if_nameindex" = "yes"
16657 then
16659 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16664 $as_echo_n "checking for sigaddset... " >&6; }
16665 if ${wine_cv_have_sigaddset+:} false; then :
16666 $as_echo_n "(cached) " >&6
16667 else
16668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16669 /* end confdefs.h. */
16670 #include <signal.h>
16672 main ()
16674 sigset_t set; sigaddset(&set,SIGTERM);
16676 return 0;
16678 _ACEOF
16679 if ac_fn_c_try_link "$LINENO"; then :
16680 wine_cv_have_sigaddset=yes
16681 else
16682 wine_cv_have_sigaddset=no
16684 rm -f core conftest.err conftest.$ac_objext \
16685 conftest$ac_exeext conftest.$ac_ext
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16688 $as_echo "$wine_cv_have_sigaddset" >&6; }
16689 if test "$wine_cv_have_sigaddset" = "yes"
16690 then
16692 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16698 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16699 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16700 $as_echo_n "(cached) " >&6
16701 else
16702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16703 /* end confdefs.h. */
16704 #include <netdb.h>
16706 main ()
16709 char *name=0;
16710 struct hostent he;
16711 struct hostent *result;
16712 char *buf=0;
16713 int bufsize=0;
16714 int errnr;
16715 char *addr=0;
16716 int addrlen=0;
16717 int addrtype=0;
16718 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16719 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16722 return 0;
16724 _ACEOF
16725 if ac_fn_c_try_link "$LINENO"; then :
16726 wine_cv_linux_gethostbyname_r_6=yes
16727 else
16728 wine_cv_linux_gethostbyname_r_6=no
16731 rm -f core conftest.err conftest.$ac_objext \
16732 conftest$ac_exeext conftest.$ac_ext
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16736 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16737 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16738 then
16740 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16744 if test "$ac_cv_header_linux_joystick_h" = "yes"
16745 then
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16747 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16748 if ${wine_cv_linux_joystick_22_api+:} false; then :
16749 $as_echo_n "(cached) " >&6
16750 else
16751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16752 /* end confdefs.h. */
16754 #include <sys/ioctl.h>
16755 #include <sys/types.h>
16756 #include <linux/joystick.h>
16758 struct js_event blub;
16759 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16760 #error "no 2.2 header"
16761 #endif
16764 main ()
16766 /*empty*/
16768 return 0;
16770 _ACEOF
16771 if ac_fn_c_try_compile "$LINENO"; then :
16772 wine_cv_linux_joystick_22_api=yes
16773 else
16774 wine_cv_linux_joystick_22_api=no
16776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16780 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16781 if test "$wine_cv_linux_joystick_22_api" = "yes"
16782 then
16784 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16790 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16791 #ifdef HAVE_SYS_PARAM_H
16792 # include <sys/param.h>
16793 #endif
16794 #ifdef HAVE_SYS_MOUNT_H
16795 # include <sys/mount.h>
16796 #endif
16797 #ifdef HAVE_SYS_VFS_H
16798 # include <sys/vfs.h>
16799 #endif
16800 #ifdef HAVE_SYS_STATFS_H
16801 # include <sys/statfs.h>
16802 #endif
16804 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16806 cat >>confdefs.h <<_ACEOF
16807 #define HAVE_STRUCT_STATFS_F_BFREE 1
16808 _ACEOF
16812 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16813 #ifdef HAVE_SYS_PARAM_H
16814 # include <sys/param.h>
16815 #endif
16816 #ifdef HAVE_SYS_MOUNT_H
16817 # include <sys/mount.h>
16818 #endif
16819 #ifdef HAVE_SYS_VFS_H
16820 # include <sys/vfs.h>
16821 #endif
16822 #ifdef HAVE_SYS_STATFS_H
16823 # include <sys/statfs.h>
16824 #endif
16826 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16828 cat >>confdefs.h <<_ACEOF
16829 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16830 _ACEOF
16834 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16835 #ifdef HAVE_SYS_PARAM_H
16836 # include <sys/param.h>
16837 #endif
16838 #ifdef HAVE_SYS_MOUNT_H
16839 # include <sys/mount.h>
16840 #endif
16841 #ifdef HAVE_SYS_VFS_H
16842 # include <sys/vfs.h>
16843 #endif
16844 #ifdef HAVE_SYS_STATFS_H
16845 # include <sys/statfs.h>
16846 #endif
16848 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16850 cat >>confdefs.h <<_ACEOF
16851 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16852 _ACEOF
16856 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16857 #ifdef HAVE_SYS_PARAM_H
16858 # include <sys/param.h>
16859 #endif
16860 #ifdef HAVE_SYS_MOUNT_H
16861 # include <sys/mount.h>
16862 #endif
16863 #ifdef HAVE_SYS_VFS_H
16864 # include <sys/vfs.h>
16865 #endif
16866 #ifdef HAVE_SYS_STATFS_H
16867 # include <sys/statfs.h>
16868 #endif
16870 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16872 cat >>confdefs.h <<_ACEOF
16873 #define HAVE_STRUCT_STATFS_F_FFREE 1
16874 _ACEOF
16878 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16879 #ifdef HAVE_SYS_PARAM_H
16880 # include <sys/param.h>
16881 #endif
16882 #ifdef HAVE_SYS_MOUNT_H
16883 # include <sys/mount.h>
16884 #endif
16885 #ifdef HAVE_SYS_VFS_H
16886 # include <sys/vfs.h>
16887 #endif
16888 #ifdef HAVE_SYS_STATFS_H
16889 # include <sys/statfs.h>
16890 #endif
16892 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16894 cat >>confdefs.h <<_ACEOF
16895 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16896 _ACEOF
16900 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16901 #ifdef HAVE_SYS_PARAM_H
16902 # include <sys/param.h>
16903 #endif
16904 #ifdef HAVE_SYS_MOUNT_H
16905 # include <sys/mount.h>
16906 #endif
16907 #ifdef HAVE_SYS_VFS_H
16908 # include <sys/vfs.h>
16909 #endif
16910 #ifdef HAVE_SYS_STATFS_H
16911 # include <sys/statfs.h>
16912 #endif
16914 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16916 cat >>confdefs.h <<_ACEOF
16917 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16918 _ACEOF
16924 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16925 #include <sys/statvfs.h>
16926 #endif
16928 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16930 cat >>confdefs.h <<_ACEOF
16931 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16932 _ACEOF
16938 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16939 #include <dirent.h>
16940 #endif
16942 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16944 cat >>confdefs.h <<_ACEOF
16945 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16946 _ACEOF
16952 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16953 #ifdef HAVE_SYS_SOCKET_H
16954 # include <sys/socket.h>
16955 #endif
16956 #ifdef HAVE_SYS_UN_H
16957 # include <sys/un.h>
16958 #endif
16960 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16962 cat >>confdefs.h <<_ACEOF
16963 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16964 _ACEOF
16968 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16969 #ifdef HAVE_SYS_SOCKET_H
16970 # include <sys/socket.h>
16971 #endif
16972 #ifdef HAVE_SYS_UN_H
16973 # include <sys/un.h>
16974 #endif
16976 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16978 cat >>confdefs.h <<_ACEOF
16979 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16980 _ACEOF
16984 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16985 #ifdef HAVE_SYS_SOCKET_H
16986 # include <sys/socket.h>
16987 #endif
16988 #ifdef HAVE_SYS_UN_H
16989 # include <sys/un.h>
16990 #endif
16992 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16994 cat >>confdefs.h <<_ACEOF
16995 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16996 _ACEOF
17002 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17003 #ifdef HAVE_SCSI_SG_H
17004 #include <scsi/sg.h>
17005 #endif
17007 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17009 cat >>confdefs.h <<_ACEOF
17010 #define HAVE_SCSIREQ_T_CMD 1
17011 _ACEOF
17015 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>
17016 #ifdef HAVE_SCSI_SG_H
17017 #include <scsi/sg.h>
17018 #endif
17020 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17022 cat >>confdefs.h <<_ACEOF
17023 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17024 _ACEOF
17030 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17032 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17034 cat >>confdefs.h <<_ACEOF
17035 #define HAVE_SIGINFO_T_SI_FD 1
17036 _ACEOF
17042 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17043 #ifdef HAVE_SYS_MTIO_H
17044 #include <sys/mtio.h>
17045 #endif
17047 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17049 cat >>confdefs.h <<_ACEOF
17050 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17051 _ACEOF
17055 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17056 #ifdef HAVE_SYS_MTIO_H
17057 #include <sys/mtio.h>
17058 #endif
17060 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17062 cat >>confdefs.h <<_ACEOF
17063 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17064 _ACEOF
17068 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17069 #ifdef HAVE_SYS_MTIO_H
17070 #include <sys/mtio.h>
17071 #endif
17073 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17075 cat >>confdefs.h <<_ACEOF
17076 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17077 _ACEOF
17083 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17084 #include <getopt.h>
17085 #endif
17087 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17089 cat >>confdefs.h <<_ACEOF
17090 #define HAVE_STRUCT_OPTION_NAME 1
17091 _ACEOF
17097 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17098 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17100 cat >>confdefs.h <<_ACEOF
17101 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17102 _ACEOF
17106 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17107 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17109 cat >>confdefs.h <<_ACEOF
17110 #define HAVE_STRUCT_STAT_ST_MTIM 1
17111 _ACEOF
17115 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17116 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17118 cat >>confdefs.h <<_ACEOF
17119 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17120 _ACEOF
17124 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17125 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17127 cat >>confdefs.h <<_ACEOF
17128 #define HAVE_STRUCT_STAT_ST_CTIM 1
17129 _ACEOF
17133 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17134 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17136 cat >>confdefs.h <<_ACEOF
17137 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17138 _ACEOF
17142 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17143 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17145 cat >>confdefs.h <<_ACEOF
17146 #define HAVE_STRUCT_STAT_ST_ATIM 1
17147 _ACEOF
17151 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17152 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17154 cat >>confdefs.h <<_ACEOF
17155 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17156 _ACEOF
17160 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17161 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17163 cat >>confdefs.h <<_ACEOF
17164 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17165 _ACEOF
17169 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17170 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17172 cat >>confdefs.h <<_ACEOF
17173 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17174 _ACEOF
17178 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17179 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17181 cat >>confdefs.h <<_ACEOF
17182 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17183 _ACEOF
17187 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17188 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17190 cat >>confdefs.h <<_ACEOF
17191 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17192 _ACEOF
17196 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17197 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17199 cat >>confdefs.h <<_ACEOF
17200 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17201 _ACEOF
17207 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
17208 #include <sys/types.h>
17209 #endif
17210 #ifdef HAVE_NETINET_IN_H
17211 #include <netinet/in.h>
17212 #endif
17214 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17216 cat >>confdefs.h <<_ACEOF
17217 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17218 _ACEOF
17224 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17225 #include <sys/types.h>
17226 #endif
17227 #ifdef HAVE_NETINET_IN_H
17228 #include <netinet/in.h>
17229 #endif
17230 #ifdef HAVE_RESOLV_H
17231 #include <resolv.h>
17232 #endif
17234 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17236 cat >>confdefs.h <<_ACEOF
17237 #define HAVE_STRUCT___RES_STATE 1
17238 _ACEOF
17244 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
17245 #include <resolv.h>
17246 #endif
17248 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17250 cat >>confdefs.h <<_ACEOF
17251 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17252 _ACEOF
17258 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17259 #include <sys/types.h>
17260 #endif
17261 #ifdef HAVE_NETINET_IN_H
17262 # include <netinet/in.h>
17263 #endif
17264 #ifdef HAVE_ARPA_NAMESER_H
17265 # include <arpa/nameser.h>
17266 #endif
17268 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17270 cat >>confdefs.h <<_ACEOF
17271 #define HAVE_NS_MSG__MSG_PTR 1
17272 _ACEOF
17278 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17279 #include <sys/types.h>
17280 #endif
17281 #ifdef HAVE_NETINET_IN_H
17282 #include <netinet/in.h>
17283 #endif
17284 #ifdef HAVE_NETINET_IP_H
17285 #include <netinet/ip.h>
17286 #endif
17287 #ifdef HAVE_NETINET_IP_ICMP_H
17288 #include <netinet/ip_icmp.h>
17289 #endif
17290 #ifdef HAVE_NETINET_ICMP_VAR_H
17291 #include <netinet/icmp_var.h>
17292 #endif
17294 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17296 cat >>confdefs.h <<_ACEOF
17297 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17298 _ACEOF
17304 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17305 #include <sys/types.h>
17306 #endif
17307 #ifdef HAVE_ALIAS_H
17308 #include <alias.h>
17309 #endif
17310 #ifdef HAVE_SYS_SOCKET_H
17311 #include <sys/socket.h>
17312 #endif
17313 #ifdef HAVE_SYS_SOCKETVAR_H
17314 #include <sys/socketvar.h>
17315 #endif
17316 #ifdef HAVE_SYS_TIMEOUT_H
17317 #include <sys/timeout.h>
17318 #endif
17319 #ifdef HAVE_NETINET_IN_H
17320 #include <netinet/in.h>
17321 #endif
17322 #ifdef HAVE_NETINET_IN_SYSTM_H
17323 #include <netinet/in_systm.h>
17324 #endif
17325 #ifdef HAVE_NETINET_IP_H
17326 #include <netinet/ip.h>
17327 #endif
17328 #ifdef HAVE_NETINET_IP_VAR_H
17329 #include <netinet/ip_var.h>
17330 #endif
17331 #ifdef HAVE_NETINET_IP_ICMP_H
17332 #include <netinet/ip_icmp.h>
17333 #endif
17334 #ifdef HAVE_NETINET_ICMP_VAR_H
17335 #include <netinet/icmp_var.h>
17336 #endif
17338 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17340 cat >>confdefs.h <<_ACEOF
17341 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17342 _ACEOF
17348 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17349 #include <sys/types.h>
17350 #endif
17351 #ifdef HAVE_SYS_SOCKETVAR_H
17352 #include <sys/socketvar.h>
17353 #endif
17354 #ifdef HAVE_NETINET_IN_H
17355 #include <netinet/in.h>
17356 #endif
17357 #ifdef HAVE_NETINET_IP_VAR_H
17358 #include <netinet/ip_var.h>
17359 #endif
17361 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17363 cat >>confdefs.h <<_ACEOF
17364 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17365 _ACEOF
17371 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
17372 #include <netinet/ip_var.h>
17373 #endif
17375 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17377 cat >>confdefs.h <<_ACEOF
17378 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17379 _ACEOF
17385 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17386 #include <sys/types.h>
17387 #endif
17388 #ifdef HAVE_SYS_SOCKETVAR_H
17389 #include <sys/socketvar.h>
17390 #endif
17391 #ifdef HAVE_NETINET_IN_H
17392 #include <netinet/in.h>
17393 #endif
17394 #ifdef HAVE_NETINET_TCP_H
17395 #include <netinet/tcp.h>
17396 #endif
17397 #ifdef HAVE_NETINET_TCP_VAR_H
17398 #include <netinet/tcp_var.h>
17399 #endif
17401 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17403 cat >>confdefs.h <<_ACEOF
17404 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17405 _ACEOF
17411 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
17412 #include <netinet/tcp_var.h>
17413 #endif
17415 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17417 cat >>confdefs.h <<_ACEOF
17418 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17419 _ACEOF
17425 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17426 #include <sys/types.h>
17427 #endif
17428 #ifdef HAVE_NETINET_IN_H
17429 #include <netinet/in.h>
17430 #endif
17431 #ifdef HAVE_NETINET_IP_VAR_H
17432 #include <netinet/ip_var.h>
17433 #endif
17434 #ifdef HAVE_NETINET_UDP_H
17435 #include <netinet/udp.h>
17436 #endif
17437 #ifdef HAVE_NETINET_UDP_VAR_H
17438 #include <netinet/udp_var.h>
17439 #endif
17441 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17443 cat >>confdefs.h <<_ACEOF
17444 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17445 _ACEOF
17451 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17452 #include <sys/types.h>
17453 #endif
17454 #ifdef HAVE_NET_IF_H
17455 # include <net/if.h>
17456 #endif
17458 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17460 cat >>confdefs.h <<_ACEOF
17461 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17462 _ACEOF
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17469 $as_echo_n "checking for timezone variable... " >&6; }
17470 if ${ac_cv_have_timezone+:} false; then :
17471 $as_echo_n "(cached) " >&6
17472 else
17473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17474 /* end confdefs.h. */
17475 #include <time.h>
17477 main ()
17479 timezone = 1
17481 return 0;
17483 _ACEOF
17484 if ac_fn_c_try_link "$LINENO"; then :
17485 ac_cv_have_timezone="yes"
17486 else
17487 ac_cv_have_timezone="no"
17489 rm -f core conftest.err conftest.$ac_objext \
17490 conftest$ac_exeext conftest.$ac_ext
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17493 $as_echo "$ac_cv_have_timezone" >&6; }
17494 if test "$ac_cv_have_timezone" = "yes"
17495 then
17497 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17501 $as_echo_n "checking for daylight variable... " >&6; }
17502 if ${ac_cv_have_daylight+:} false; then :
17503 $as_echo_n "(cached) " >&6
17504 else
17505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17506 /* end confdefs.h. */
17507 #include <time.h>
17509 main ()
17511 daylight = 1
17513 return 0;
17515 _ACEOF
17516 if ac_fn_c_try_link "$LINENO"; then :
17517 ac_cv_have_daylight="yes"
17518 else
17519 ac_cv_have_daylight="no"
17521 rm -f core conftest.err conftest.$ac_objext \
17522 conftest$ac_exeext conftest.$ac_ext
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17525 $as_echo "$ac_cv_have_daylight" >&6; }
17526 if test "$ac_cv_have_daylight" = "yes"
17527 then
17529 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17533 ac_save_LIBS="$LIBS"
17534 LIBS="$LIBS -lm"
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17536 $as_echo_n "checking for isfinite... " >&6; }
17537 if ${ac_cv_have_isfinite+:} false; then :
17538 $as_echo_n "(cached) " >&6
17539 else
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h. */
17542 #define _GNU_SOURCE
17543 #include <math.h>
17545 main ()
17547 float f = 0.0; return isfinite(f)
17549 return 0;
17551 _ACEOF
17552 if ac_fn_c_try_link "$LINENO"; then :
17553 ac_cv_have_isfinite="yes"
17554 else
17555 ac_cv_have_isfinite="no"
17557 rm -f core conftest.err conftest.$ac_objext \
17558 conftest$ac_exeext conftest.$ac_ext
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17561 $as_echo "$ac_cv_have_isfinite" >&6; }
17562 if test "$ac_cv_have_isfinite" = "yes"
17563 then
17565 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17570 $as_echo_n "checking for isinf... " >&6; }
17571 if ${ac_cv_have_isinf+:} false; then :
17572 $as_echo_n "(cached) " >&6
17573 else
17574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17575 /* end confdefs.h. */
17576 #include <math.h>
17578 main ()
17580 float f = 0.0; return isinf(f)
17582 return 0;
17584 _ACEOF
17585 if ac_fn_c_try_link "$LINENO"; then :
17586 ac_cv_have_isinf="yes"
17587 else
17588 ac_cv_have_isinf="no"
17590 rm -f core conftest.err conftest.$ac_objext \
17591 conftest$ac_exeext conftest.$ac_ext
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17594 $as_echo "$ac_cv_have_isinf" >&6; }
17595 if test "$ac_cv_have_isinf" = "yes"
17596 then
17598 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17603 $as_echo_n "checking for isnan... " >&6; }
17604 if ${ac_cv_have_isnan+:} false; then :
17605 $as_echo_n "(cached) " >&6
17606 else
17607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17608 /* end confdefs.h. */
17609 #include <math.h>
17611 main ()
17613 float f = 0.0; return isnan(f)
17615 return 0;
17617 _ACEOF
17618 if ac_fn_c_try_link "$LINENO"; then :
17619 ac_cv_have_isnan="yes"
17620 else
17621 ac_cv_have_isnan="no"
17623 rm -f core conftest.err conftest.$ac_objext \
17624 conftest$ac_exeext conftest.$ac_ext
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17627 $as_echo "$ac_cv_have_isnan" >&6; }
17628 if test "$ac_cv_have_isnan" = "yes"
17629 then
17631 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17635 for ac_func in \
17636 acosh \
17637 acoshf \
17638 asinh \
17639 asinhf \
17640 atanh \
17641 atanhf \
17642 cbrt \
17643 cbrtf \
17644 erf \
17645 erfc \
17646 erfcf \
17647 erff \
17648 exp2 \
17649 exp2f \
17650 expm1 \
17651 expm1f \
17652 j0 \
17653 j1 \
17654 jn \
17655 lgamma \
17656 lgammaf \
17657 llrint \
17658 llrintf \
17659 llround \
17660 llroundf \
17661 log1p \
17662 log1pf \
17663 log2 \
17664 log2f \
17665 lrint \
17666 lrintf \
17667 lround \
17668 lroundf \
17669 nearbyint \
17670 nearbyintf \
17671 powl \
17672 remainder \
17673 remainderf \
17674 rint \
17675 rintf \
17676 round \
17677 roundf \
17678 trunc \
17679 truncf \
17680 y0 \
17681 y1 \
17684 do :
17685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17686 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17687 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17688 cat >>confdefs.h <<_ACEOF
17689 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17690 _ACEOF
17693 done
17695 LIBS="$ac_save_LIBS"
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17698 $as_echo_n "checking for __builtin_clz... " >&6; }
17699 if ${ac_cv_have___builtin_clz+:} false; then :
17700 $as_echo_n "(cached) " >&6
17701 else
17702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17703 /* end confdefs.h. */
17706 main ()
17708 return __builtin_clz(1)
17710 return 0;
17712 _ACEOF
17713 if ac_fn_c_try_link "$LINENO"; then :
17714 ac_cv_have___builtin_clz="yes"
17715 else
17716 ac_cv_have___builtin_clz="no"
17718 rm -f core conftest.err conftest.$ac_objext \
17719 conftest$ac_exeext conftest.$ac_ext
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17722 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17723 if test "$ac_cv_have___builtin_clz" = "yes"
17724 then
17726 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17731 $as_echo_n "checking for __builtin_popcount... " >&6; }
17732 if ${ac_cv_have___builtin_popcount+:} false; then :
17733 $as_echo_n "(cached) " >&6
17734 else
17735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17736 /* end confdefs.h. */
17739 main ()
17741 return __builtin_popcount(1)
17743 return 0;
17745 _ACEOF
17746 if ac_fn_c_try_link "$LINENO"; then :
17747 ac_cv_have___builtin_popcount="yes"
17748 else
17749 ac_cv_have___builtin_popcount="no"
17751 rm -f core conftest.err conftest.$ac_objext \
17752 conftest$ac_exeext conftest.$ac_ext
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17755 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17756 if test "$ac_cv_have___builtin_popcount" = "yes"
17757 then
17759 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17764 $as_echo_n "checking for __clear_cache... " >&6; }
17765 if ${ac_cv_have___clear_cache+:} false; then :
17766 $as_echo_n "(cached) " >&6
17767 else
17768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h. */
17772 main ()
17774 __clear_cache((void*)0, (void*)0); return 0;
17776 return 0;
17778 _ACEOF
17779 if ac_fn_c_try_link "$LINENO"; then :
17780 ac_cv_have___clear_cache="yes"
17781 else
17782 ac_cv_have___clear_cache="no"
17784 rm -f core conftest.err conftest.$ac_objext \
17785 conftest$ac_exeext conftest.$ac_ext
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17788 $as_echo "$ac_cv_have___clear_cache" >&6; }
17789 if test "$ac_cv_have___clear_cache" = "yes"
17790 then
17792 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17797 case $host_cpu in
17798 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17799 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17800 if ${ac_cv_cpp_def___i386__+:} false; then :
17801 $as_echo_n "(cached) " >&6
17802 else
17803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17804 /* end confdefs.h. */
17805 #ifndef __i386__
17807 #endif
17808 _ACEOF
17809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17810 $EGREP "yes" >/dev/null 2>&1; then :
17811 ac_cv_cpp_def___i386__=yes
17812 else
17813 ac_cv_cpp_def___i386__=no
17815 rm -f conftest*
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17819 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17820 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17821 CFLAGS="$CFLAGS -D__i386__"
17822 LINTFLAGS="$LINTFLAGS -D__i386__"
17823 fi ;;
17824 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17825 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17826 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17827 $as_echo_n "(cached) " >&6
17828 else
17829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17830 /* end confdefs.h. */
17831 #ifndef __x86_64__
17833 #endif
17834 _ACEOF
17835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17836 $EGREP "yes" >/dev/null 2>&1; then :
17837 ac_cv_cpp_def___x86_64__=yes
17838 else
17839 ac_cv_cpp_def___x86_64__=no
17841 rm -f conftest*
17844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17845 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17846 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17847 CFLAGS="$CFLAGS -D__x86_64__"
17848 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17849 fi ;;
17850 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17851 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17852 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17853 $as_echo_n "(cached) " >&6
17854 else
17855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17856 /* end confdefs.h. */
17857 #ifndef __sparc64__
17859 #endif
17860 _ACEOF
17861 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17862 $EGREP "yes" >/dev/null 2>&1; then :
17863 ac_cv_cpp_def___sparc64__=yes
17864 else
17865 ac_cv_cpp_def___sparc64__=no
17867 rm -f conftest*
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17871 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17872 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17873 CFLAGS="$CFLAGS -D__sparc64__"
17874 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17875 fi ;;
17876 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17877 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17878 if ${ac_cv_cpp_def___sparc__+:} false; then :
17879 $as_echo_n "(cached) " >&6
17880 else
17881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17882 /* end confdefs.h. */
17883 #ifndef __sparc__
17885 #endif
17886 _ACEOF
17887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17888 $EGREP "yes" >/dev/null 2>&1; then :
17889 ac_cv_cpp_def___sparc__=yes
17890 else
17891 ac_cv_cpp_def___sparc__=no
17893 rm -f conftest*
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17897 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17898 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17899 CFLAGS="$CFLAGS -D__sparc__"
17900 LINTFLAGS="$LINTFLAGS -D__sparc__"
17901 fi ;;
17902 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17903 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17904 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17905 $as_echo_n "(cached) " >&6
17906 else
17907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17908 /* end confdefs.h. */
17909 #ifndef __powerpc64__
17911 #endif
17912 _ACEOF
17913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17914 $EGREP "yes" >/dev/null 2>&1; then :
17915 ac_cv_cpp_def___powerpc64__=yes
17916 else
17917 ac_cv_cpp_def___powerpc64__=no
17919 rm -f conftest*
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17923 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17924 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17925 CFLAGS="$CFLAGS -D__powerpc64__"
17926 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17927 fi ;;
17928 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17929 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17930 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17931 $as_echo_n "(cached) " >&6
17932 else
17933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17934 /* end confdefs.h. */
17935 #ifndef __powerpc__
17937 #endif
17938 _ACEOF
17939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17940 $EGREP "yes" >/dev/null 2>&1; then :
17941 ac_cv_cpp_def___powerpc__=yes
17942 else
17943 ac_cv_cpp_def___powerpc__=no
17945 rm -f conftest*
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17949 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17950 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17951 CFLAGS="$CFLAGS -D__powerpc__"
17952 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17953 fi ;;
17954 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17955 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17956 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17957 $as_echo_n "(cached) " >&6
17958 else
17959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17960 /* end confdefs.h. */
17961 #ifndef __aarch64__
17963 #endif
17964 _ACEOF
17965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17966 $EGREP "yes" >/dev/null 2>&1; then :
17967 ac_cv_cpp_def___aarch64__=yes
17968 else
17969 ac_cv_cpp_def___aarch64__=no
17971 rm -f conftest*
17974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17975 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17976 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17977 CFLAGS="$CFLAGS -D__aarch64__"
17978 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17979 fi ;;
17980 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17981 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17982 if ${ac_cv_cpp_def___arm__+:} false; then :
17983 $as_echo_n "(cached) " >&6
17984 else
17985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17986 /* end confdefs.h. */
17987 #ifndef __arm__
17989 #endif
17990 _ACEOF
17991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17992 $EGREP "yes" >/dev/null 2>&1; then :
17993 ac_cv_cpp_def___arm__=yes
17994 else
17995 ac_cv_cpp_def___arm__=no
17997 rm -f conftest*
18000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18001 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18002 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18003 CFLAGS="$CFLAGS -D__arm__"
18004 LINTFLAGS="$LINTFLAGS -D__arm__"
18005 fi ;;
18006 esac
18008 case $host_vendor in
18009 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18010 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18011 if ${ac_cv_cpp_def___sun__+:} false; then :
18012 $as_echo_n "(cached) " >&6
18013 else
18014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18015 /* end confdefs.h. */
18016 #ifndef __sun__
18018 #endif
18019 _ACEOF
18020 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18021 $EGREP "yes" >/dev/null 2>&1; then :
18022 ac_cv_cpp_def___sun__=yes
18023 else
18024 ac_cv_cpp_def___sun__=no
18026 rm -f conftest*
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18030 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18031 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18032 CFLAGS="$CFLAGS -D__sun__"
18033 LINTFLAGS="$LINTFLAGS -D__sun__"
18034 fi ;;
18035 esac
18041 ac_config_commands="$ac_config_commands include/stamp-h"
18043 $as_echo_n "creating Makefile rules..." >&6
18045 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18046 SOCKET_LIBS = $SOCKET_LIBS
18047 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18048 IOKIT_LIBS = $IOKIT_LIBS
18049 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18050 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18051 CORESERVICES_LIBS = $CORESERVICES_LIBS
18052 APPKIT_LIBS = $APPKIT_LIBS
18053 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18054 SECURITY_LIBS = $SECURITY_LIBS
18055 COREAUDIO_LIBS = $COREAUDIO_LIBS
18056 OPENAL_LIBS = $OPENAL_LIBS
18057 OPENCL_LIBS = $OPENCL_LIBS
18058 QUICKTIME_LIBS = $QUICKTIME_LIBS
18059 CARBON_LIBS = $CARBON_LIBS
18060 PTHREAD_LIBS = $PTHREAD_LIBS
18061 X_CFLAGS = $X_CFLAGS
18062 X_PRE_LIBS = $X_PRE_LIBS
18063 X_LIBS = $X_LIBS
18064 X_EXTRA_LIBS = $X_EXTRA_LIBS
18065 PCAP_LIBS = $PCAP_LIBS
18066 XML2_CFLAGS = $XML2_CFLAGS
18067 XML2_LIBS = $XML2_LIBS
18068 XSLT_CFLAGS = $XSLT_CFLAGS
18069 XSLT_LIBS = $XSLT_LIBS
18070 DBUS_CFLAGS = $DBUS_CFLAGS
18071 DBUS_LIBS = $DBUS_LIBS
18072 HAL_CFLAGS = $HAL_CFLAGS
18073 HAL_LIBS = $HAL_LIBS
18074 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18075 GNUTLS_LIBS = $GNUTLS_LIBS
18076 SANE_CFLAGS = $SANE_CFLAGS
18077 SANE_LIBS = $SANE_LIBS
18078 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18079 GPHOTO2_LIBS = $GPHOTO2_LIBS
18080 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18081 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18082 RESOLV_LIBS = $RESOLV_LIBS
18083 LCMS2_CFLAGS = $LCMS2_CFLAGS
18084 LCMS2_LIBS = $LCMS2_LIBS
18085 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18086 FREETYPE_LIBS = $FREETYPE_LIBS
18087 Z_LIBS = $Z_LIBS
18088 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18089 PULSE_CFLAGS = $PULSE_CFLAGS
18090 PULSE_LIBS = $PULSE_LIBS
18091 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18092 GSTREAMER_LIBS = $GSTREAMER_LIBS
18093 ALSA_LIBS = $ALSA_LIBS
18094 OSS4_CFLAGS = $OSS4_CFLAGS
18095 UDEV_CFLAGS = $UDEV_CFLAGS
18096 UDEV_LIBS = $UDEV_LIBS
18097 SDL2_CFLAGS = $SDL2_CFLAGS
18098 SDL2_LIBS = $SDL2_LIBS
18099 CAPI20_CFLAGS = $CAPI20_CFLAGS
18100 CAPI20_LIBS = $CAPI20_LIBS
18101 CUPS_CFLAGS = $CUPS_CFLAGS
18102 CUPS_LIBS = $CUPS_LIBS
18103 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18104 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18105 KRB5_CFLAGS = $KRB5_CFLAGS
18106 KRB5_LIBS = $KRB5_LIBS
18107 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18108 GSSAPI_LIBS = $GSSAPI_LIBS
18109 JPEG_CFLAGS = $JPEG_CFLAGS
18110 JPEG_LIBS = $JPEG_LIBS
18111 PNG_CFLAGS = $PNG_CFLAGS
18112 PNG_LIBS = $PNG_LIBS
18113 TIFF_CFLAGS = $TIFF_CFLAGS
18114 TIFF_LIBS = $TIFF_LIBS
18115 MPG123_CFLAGS = $MPG123_CFLAGS
18116 MPG123_LIBS = $MPG123_LIBS
18117 KSTAT_LIBS = $KSTAT_LIBS
18118 PROCSTAT_LIBS = $PROCSTAT_LIBS
18119 NETAPI_CFLAGS = $NETAPI_CFLAGS
18120 NETAPI_LIBS = $NETAPI_LIBS
18121 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18122 DL_LIBS = $DL_LIBS
18123 POLL_LIBS = $POLL_LIBS
18124 RT_LIBS = $RT_LIBS
18125 LDAP_CFLAGS = $LDAP_CFLAGS
18126 LDAP_LIBS = $LDAP_LIBS
18131 wine_fn_append_rule "
18132 # Rules automatically generated by configure
18134 .INIT: Makefile
18135 .MAKEFILEDEPS:
18136 all: Makefile
18137 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18138 @./config.status Make.tmp Makefile
18139 depend: \$(MAKEDEP) dummy
18140 \$(MAKEDEP)"
18142 if test "x$enable_fonts" != xno; then
18143 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18144 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18145 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18146 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18147 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18148 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18150 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18151 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18152 ac_config_links="$ac_config_links wine:tools/winewrapper"
18153 wine_fn_config_symlink wine
18154 if test "x$enable_win64" != xno; then
18155 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18156 wine_fn_config_symlink wine64
18159 wine_fn_config_makefile dlls/acledit enable_acledit
18160 wine_fn_config_makefile dlls/aclui enable_aclui
18161 wine_fn_config_makefile dlls/activeds enable_activeds
18162 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18163 wine_fn_config_makefile dlls/adsiid enable_adsiid
18164 wine_fn_config_makefile dlls/adsldp enable_adsldp
18165 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18166 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18167 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18168 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18169 wine_fn_config_makefile dlls/advpack enable_advpack
18170 wine_fn_config_makefile dlls/advpack/tests enable_tests
18171 wine_fn_config_makefile dlls/amstream enable_amstream
18172 wine_fn_config_makefile dlls/amstream/tests enable_tests
18173 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18174 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18175 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18176 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18177 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18178 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18179 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18180 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18181 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18182 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18183 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18184 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18185 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18186 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18187 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18188 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18189 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18190 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18191 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18192 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18193 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18194 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18195 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18196 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18197 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18198 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18199 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18200 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18201 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18202 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18203 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18204 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18205 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18206 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18207 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18208 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18209 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18210 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18211 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18212 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18213 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18214 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18215 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18216 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18217 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18218 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18219 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18220 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18221 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18222 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18223 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18224 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18225 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18226 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18227 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18228 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18229 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18230 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18231 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18232 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18233 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18234 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18235 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18236 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18237 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18238 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18239 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18240 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18241 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18242 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18243 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18244 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18245 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18246 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18247 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18248 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18249 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18250 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18251 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18252 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18253 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18254 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18255 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18256 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18257 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18258 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18259 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18260 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18261 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18262 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18263 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18264 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18265 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18266 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18267 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18268 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18269 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18270 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18271 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18272 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18273 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18274 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18275 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18276 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18277 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18278 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18279 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18280 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18281 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18282 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18283 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18284 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18285 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18286 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18287 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18288 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18289 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18290 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18291 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18292 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18293 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18294 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18295 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18296 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18297 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18298 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18299 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18300 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18301 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18302 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18303 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18304 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18305 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18306 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18307 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18308 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18309 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18310 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18311 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18312 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18313 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18314 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18315 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18316 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18317 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18318 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18319 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18320 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18321 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18322 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18323 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18324 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18325 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18326 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18327 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18328 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18329 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18330 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18331 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18332 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18333 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18334 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18335 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18336 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18337 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18338 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18339 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18340 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18341 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18342 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18343 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18344 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18345 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18346 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18347 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18348 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18349 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18350 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18351 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18352 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18353 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18354 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18355 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18356 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18357 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18358 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18359 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18360 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18361 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18362 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18363 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18364 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18365 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18366 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18367 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18368 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18369 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18370 wine_fn_config_makefile dlls/apphelp enable_apphelp
18371 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18372 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18373 wine_fn_config_makefile dlls/atl enable_atl
18374 wine_fn_config_makefile dlls/atl/tests enable_tests
18375 wine_fn_config_makefile dlls/atl100 enable_atl100
18376 wine_fn_config_makefile dlls/atl100/tests enable_tests
18377 wine_fn_config_makefile dlls/atl110 enable_atl110
18378 wine_fn_config_makefile dlls/atl80 enable_atl80
18379 wine_fn_config_makefile dlls/atl80/tests enable_tests
18380 wine_fn_config_makefile dlls/atl90 enable_atl90
18381 wine_fn_config_makefile dlls/authz enable_authz
18382 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18383 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18384 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18385 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18386 wine_fn_config_makefile dlls/avrt enable_avrt
18387 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18388 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18389 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18390 wine_fn_config_makefile dlls/browseui enable_browseui
18391 wine_fn_config_makefile dlls/browseui/tests enable_tests
18392 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18393 wine_fn_config_makefile dlls/cabinet enable_cabinet
18394 wine_fn_config_makefile dlls/cabinet/tests enable_tests
18395 wine_fn_config_makefile dlls/capi2032 enable_capi2032
18396 wine_fn_config_makefile dlls/cards enable_cards
18397 wine_fn_config_makefile dlls/cdosys enable_cdosys
18398 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
18399 wine_fn_config_makefile dlls/clusapi enable_clusapi
18400 wine_fn_config_makefile dlls/combase enable_combase
18401 wine_fn_config_makefile dlls/combase/tests enable_tests
18402 wine_fn_config_makefile dlls/comcat enable_comcat
18403 wine_fn_config_makefile dlls/comcat/tests enable_tests
18404 wine_fn_config_makefile dlls/comctl32 enable_comctl32
18405 wine_fn_config_makefile dlls/comctl32/tests enable_tests
18406 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
18407 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
18408 wine_fn_config_makefile dlls/comm.drv16 enable_win16
18409 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
18410 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
18411 wine_fn_config_makefile dlls/compstui enable_compstui
18412 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
18413 wine_fn_config_makefile dlls/concrt140 enable_concrt140
18414 wine_fn_config_makefile dlls/connect enable_connect
18415 wine_fn_config_makefile dlls/credui enable_credui
18416 wine_fn_config_makefile dlls/credui/tests enable_tests
18417 wine_fn_config_makefile dlls/crtdll enable_crtdll
18418 wine_fn_config_makefile dlls/crypt32 enable_crypt32
18419 wine_fn_config_makefile dlls/crypt32/tests enable_tests
18420 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
18421 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
18422 wine_fn_config_makefile dlls/cryptext enable_cryptext
18423 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
18424 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
18425 wine_fn_config_makefile dlls/cryptui enable_cryptui
18426 wine_fn_config_makefile dlls/cryptui/tests enable_tests
18427 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
18428 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
18429 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
18430 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
18431 wine_fn_config_makefile dlls/d2d1 enable_d2d1
18432 wine_fn_config_makefile dlls/d2d1/tests enable_tests
18433 wine_fn_config_makefile dlls/d3d10 enable_d3d10
18434 wine_fn_config_makefile dlls/d3d10/tests enable_tests
18435 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
18436 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
18437 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
18438 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
18439 wine_fn_config_makefile dlls/d3d11 enable_d3d11
18440 wine_fn_config_makefile dlls/d3d11/tests enable_tests
18441 wine_fn_config_makefile dlls/d3d12 enable_d3d12
18442 wine_fn_config_makefile dlls/d3d12/tests enable_tests
18443 wine_fn_config_makefile dlls/d3d8 enable_d3d8
18444 wine_fn_config_makefile dlls/d3d8/tests enable_tests
18445 wine_fn_config_makefile dlls/d3d9 enable_d3d9
18446 wine_fn_config_makefile dlls/d3d9/tests enable_tests
18447 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
18448 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
18449 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
18450 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
18451 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
18452 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
18453 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
18454 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
18455 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
18456 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
18457 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
18458 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
18459 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
18460 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
18461 wine_fn_config_makefile dlls/d3dim enable_d3dim
18462 wine_fn_config_makefile dlls/d3drm enable_d3drm
18463 wine_fn_config_makefile dlls/d3drm/tests enable_tests
18464 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
18465 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
18466 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
18467 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
18468 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
18469 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
18470 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
18471 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
18472 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
18473 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
18474 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
18475 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
18476 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
18477 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
18478 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
18479 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
18480 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
18481 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
18482 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
18483 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
18484 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
18485 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
18486 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
18487 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
18488 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
18489 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
18490 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
18491 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
18492 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
18493 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
18494 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
18495 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
18496 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
18497 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
18498 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
18499 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
18500 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
18501 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
18502 wine_fn_config_makefile dlls/davclnt enable_davclnt
18503 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
18504 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
18505 wine_fn_config_makefile dlls/dciman32 enable_dciman32
18506 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
18507 wine_fn_config_makefile dlls/ddraw enable_ddraw
18508 wine_fn_config_makefile dlls/ddraw/tests enable_tests
18509 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
18510 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
18511 wine_fn_config_makefile dlls/devenum enable_devenum
18512 wine_fn_config_makefile dlls/devenum/tests enable_tests
18513 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
18514 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
18515 wine_fn_config_makefile dlls/difxapi enable_difxapi
18516 wine_fn_config_makefile dlls/dinput enable_dinput
18517 wine_fn_config_makefile dlls/dinput/tests enable_tests
18518 wine_fn_config_makefile dlls/dinput8 enable_dinput8
18519 wine_fn_config_makefile dlls/dinput8/tests enable_tests
18520 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
18521 wine_fn_config_makefile dlls/dispex enable_dispex
18522 wine_fn_config_makefile dlls/dispex/tests enable_tests
18523 wine_fn_config_makefile dlls/display.drv16 enable_win16
18524 wine_fn_config_makefile dlls/dmband enable_dmband
18525 wine_fn_config_makefile dlls/dmband/tests enable_tests
18526 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
18527 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
18528 wine_fn_config_makefile dlls/dmime enable_dmime
18529 wine_fn_config_makefile dlls/dmime/tests enable_tests
18530 wine_fn_config_makefile dlls/dmloader enable_dmloader
18531 wine_fn_config_makefile dlls/dmloader/tests enable_tests
18532 wine_fn_config_makefile dlls/dmscript enable_dmscript
18533 wine_fn_config_makefile dlls/dmscript/tests enable_tests
18534 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
18535 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
18536 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
18537 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
18538 wine_fn_config_makefile dlls/dmusic enable_dmusic
18539 wine_fn_config_makefile dlls/dmusic/tests enable_tests
18540 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
18541 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
18542 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
18543 wine_fn_config_makefile dlls/dplay enable_dplay
18544 wine_fn_config_makefile dlls/dplayx enable_dplayx
18545 wine_fn_config_makefile dlls/dplayx/tests enable_tests
18546 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
18547 wine_fn_config_makefile dlls/dpnet enable_dpnet
18548 wine_fn_config_makefile dlls/dpnet/tests enable_tests
18549 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
18550 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
18551 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
18552 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
18553 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
18554 wine_fn_config_makefile dlls/drmclien enable_drmclien
18555 wine_fn_config_makefile dlls/dsound enable_dsound
18556 wine_fn_config_makefile dlls/dsound/tests enable_tests
18557 wine_fn_config_makefile dlls/dsquery enable_dsquery
18558 wine_fn_config_makefile dlls/dssenh enable_dssenh
18559 wine_fn_config_makefile dlls/dssenh/tests enable_tests
18560 wine_fn_config_makefile dlls/dswave enable_dswave
18561 wine_fn_config_makefile dlls/dswave/tests enable_tests
18562 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
18563 wine_fn_config_makefile dlls/dwrite enable_dwrite
18564 wine_fn_config_makefile dlls/dwrite/tests enable_tests
18565 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
18566 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
18567 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
18568 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
18569 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
18570 wine_fn_config_makefile dlls/dxgi enable_dxgi
18571 wine_fn_config_makefile dlls/dxgi/tests enable_tests
18572 wine_fn_config_makefile dlls/dxguid enable_dxguid
18573 wine_fn_config_makefile dlls/dxva2 enable_dxva2
18574 wine_fn_config_makefile dlls/esent enable_esent
18575 wine_fn_config_makefile dlls/evr enable_evr
18576 wine_fn_config_makefile dlls/evr/tests enable_tests
18577 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
18578 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
18579 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18580 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18581 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18582 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18583 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18584 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18585 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18586 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18587 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18588 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18589 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18590 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18591 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18592 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18593 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18594 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18595 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18596 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18597 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
18598 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18599 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18600 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18601 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18602 wine_fn_config_makefile dlls/faultrep enable_faultrep
18603 wine_fn_config_makefile dlls/faultrep/tests enable_tests
18604 wine_fn_config_makefile dlls/fltlib enable_fltlib
18605 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
18606 wine_fn_config_makefile dlls/fntcache enable_fntcache
18607 wine_fn_config_makefile dlls/fontsub enable_fontsub
18608 wine_fn_config_makefile dlls/fusion enable_fusion
18609 wine_fn_config_makefile dlls/fusion/tests enable_tests
18610 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
18611 wine_fn_config_makefile dlls/gameux enable_gameux
18612 wine_fn_config_makefile dlls/gameux/tests enable_tests
18613 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
18614 wine_fn_config_makefile dlls/gdi32 enable_gdi32
18615 wine_fn_config_makefile dlls/gdi32/tests enable_tests
18616 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
18617 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
18618 wine_fn_config_makefile dlls/glu32 enable_glu32
18619 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
18620 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
18621 wine_fn_config_makefile dlls/hal enable_hal
18622 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
18623 wine_fn_config_makefile dlls/hid enable_hid
18624 wine_fn_config_makefile dlls/hid/tests enable_tests
18625 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
18626 wine_fn_config_makefile dlls/hlink enable_hlink
18627 wine_fn_config_makefile dlls/hlink/tests enable_tests
18628 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
18629 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
18630 wine_fn_config_makefile dlls/httpapi enable_httpapi
18631 wine_fn_config_makefile dlls/httpapi/tests enable_tests
18632 wine_fn_config_makefile dlls/iccvid enable_iccvid
18633 wine_fn_config_makefile dlls/icmp enable_icmp
18634 wine_fn_config_makefile dlls/ieframe enable_ieframe
18635 wine_fn_config_makefile dlls/ieframe/tests enable_tests
18636 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
18637 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
18638 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
18639 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
18640 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
18641 wine_fn_config_makefile dlls/imm.dll16 enable_win16
18642 wine_fn_config_makefile dlls/imm32 enable_imm32
18643 wine_fn_config_makefile dlls/imm32/tests enable_tests
18644 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
18645 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
18646 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
18647 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
18648 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
18649 wine_fn_config_makefile dlls/infosoft enable_infosoft
18650 wine_fn_config_makefile dlls/infosoft/tests enable_tests
18651 wine_fn_config_makefile dlls/initpki enable_initpki
18652 wine_fn_config_makefile dlls/inkobj enable_inkobj
18653 wine_fn_config_makefile dlls/inseng enable_inseng
18654 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
18655 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
18656 wine_fn_config_makefile dlls/iprop enable_iprop
18657 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
18658 wine_fn_config_makefile dlls/itircl enable_itircl
18659 wine_fn_config_makefile dlls/itss enable_itss
18660 wine_fn_config_makefile dlls/itss/tests enable_tests
18661 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
18662 wine_fn_config_makefile dlls/jscript enable_jscript
18663 wine_fn_config_makefile dlls/jscript/tests enable_tests
18664 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
18665 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
18666 wine_fn_config_makefile dlls/kerberos enable_kerberos
18667 wine_fn_config_makefile dlls/kernel32 enable_kernel32
18668 wine_fn_config_makefile dlls/kernel32/tests enable_tests
18669 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
18670 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
18671 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
18672 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
18673 wine_fn_config_makefile dlls/ksuser enable_ksuser
18674 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
18675 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
18676 wine_fn_config_makefile dlls/loadperf enable_loadperf
18677 wine_fn_config_makefile dlls/localspl enable_localspl
18678 wine_fn_config_makefile dlls/localspl/tests enable_tests
18679 wine_fn_config_makefile dlls/localui enable_localui
18680 wine_fn_config_makefile dlls/localui/tests enable_tests
18681 wine_fn_config_makefile dlls/lz32 enable_lz32
18682 wine_fn_config_makefile dlls/lz32/tests enable_tests
18683 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
18684 wine_fn_config_makefile dlls/mapi32 enable_mapi32
18685 wine_fn_config_makefile dlls/mapi32/tests enable_tests
18686 wine_fn_config_makefile dlls/mapistub enable_mapistub
18687 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
18688 wine_fn_config_makefile dlls/mcicda enable_mcicda
18689 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
18690 wine_fn_config_makefile dlls/mciseq enable_mciseq
18691 wine_fn_config_makefile dlls/mciwave enable_mciwave
18692 wine_fn_config_makefile dlls/mf enable_mf
18693 wine_fn_config_makefile dlls/mf/tests enable_tests
18694 wine_fn_config_makefile dlls/mf3216 enable_mf3216
18695 wine_fn_config_makefile dlls/mfplat enable_mfplat
18696 wine_fn_config_makefile dlls/mfplat/tests enable_tests
18697 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
18698 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
18699 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
18700 wine_fn_config_makefile dlls/midimap enable_midimap
18701 wine_fn_config_makefile dlls/mlang enable_mlang
18702 wine_fn_config_makefile dlls/mlang/tests enable_tests
18703 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
18704 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
18705 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
18706 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
18707 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
18708 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
18709 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
18710 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
18711 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
18712 wine_fn_config_makefile dlls/mpr enable_mpr
18713 wine_fn_config_makefile dlls/mpr/tests enable_tests
18714 wine_fn_config_makefile dlls/mprapi enable_mprapi
18715 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
18716 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
18717 wine_fn_config_makefile dlls/msacm32 enable_msacm32
18718 wine_fn_config_makefile dlls/msacm32/tests enable_tests
18719 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
18720 wine_fn_config_makefile dlls/msasn1 enable_msasn1
18721 wine_fn_config_makefile dlls/mscat32 enable_mscat32
18722 wine_fn_config_makefile dlls/mscms enable_mscms
18723 wine_fn_config_makefile dlls/mscms/tests enable_tests
18724 wine_fn_config_makefile dlls/mscoree enable_mscoree
18725 wine_fn_config_makefile dlls/mscoree/tests enable_tests
18726 wine_fn_config_makefile dlls/msctf enable_msctf
18727 wine_fn_config_makefile dlls/msctf/tests enable_tests
18728 wine_fn_config_makefile dlls/msctfp enable_msctfp
18729 wine_fn_config_makefile dlls/msdaps enable_msdaps
18730 wine_fn_config_makefile dlls/msdelta enable_msdelta
18731 wine_fn_config_makefile dlls/msdmo enable_msdmo
18732 wine_fn_config_makefile dlls/msdmo/tests enable_tests
18733 wine_fn_config_makefile dlls/msdrm enable_msdrm
18734 wine_fn_config_makefile dlls/msftedit enable_msftedit
18735 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
18736 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
18737 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
18738 wine_fn_config_makefile dlls/mshtml enable_mshtml
18739 wine_fn_config_makefile dlls/mshtml/tests enable_tests
18740 wine_fn_config_makefile dlls/msi enable_msi
18741 wine_fn_config_makefile dlls/msi/tests enable_tests
18742 wine_fn_config_makefile dlls/msident enable_msident
18743 wine_fn_config_makefile dlls/msimg32 enable_msimg32
18744 wine_fn_config_makefile dlls/msimsg enable_msimsg
18745 wine_fn_config_makefile dlls/msimtf enable_msimtf
18746 wine_fn_config_makefile dlls/msisip enable_msisip
18747 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
18748 wine_fn_config_makefile dlls/msls31 enable_msls31
18749 wine_fn_config_makefile dlls/msnet32 enable_msnet32
18750 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
18751 wine_fn_config_makefile dlls/msports enable_msports
18752 wine_fn_config_makefile dlls/msrle32 enable_msrle32
18753 wine_fn_config_makefile dlls/msrle32/tests enable_tests
18754 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
18755 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
18756 wine_fn_config_makefile dlls/mssign32 enable_mssign32
18757 wine_fn_config_makefile dlls/mssip32 enable_mssip32
18758 wine_fn_config_makefile dlls/mstask enable_mstask
18759 wine_fn_config_makefile dlls/mstask/tests enable_tests
18760 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
18761 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
18762 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
18763 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
18764 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
18765 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
18766 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
18767 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
18768 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
18769 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
18770 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
18771 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
18772 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
18773 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
18774 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
18775 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
18776 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
18777 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
18778 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
18779 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
18780 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
18781 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
18782 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
18783 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
18784 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
18785 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
18786 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
18787 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
18788 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
18789 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
18790 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
18791 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
18792 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
18793 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
18794 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
18795 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
18796 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
18797 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
18798 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
18799 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
18800 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
18801 wine_fn_config_makefile dlls/mswsock enable_mswsock
18802 wine_fn_config_makefile dlls/msxml enable_msxml
18803 wine_fn_config_makefile dlls/msxml2 enable_msxml2
18804 wine_fn_config_makefile dlls/msxml3 enable_msxml3
18805 wine_fn_config_makefile dlls/msxml3/tests enable_tests
18806 wine_fn_config_makefile dlls/msxml4 enable_msxml4
18807 wine_fn_config_makefile dlls/msxml6 enable_msxml6
18808 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
18809 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
18810 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
18811 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
18812 wine_fn_config_makefile dlls/netapi32 enable_netapi32
18813 wine_fn_config_makefile dlls/netapi32/tests enable_tests
18814 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
18815 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
18816 wine_fn_config_makefile dlls/netprofm enable_netprofm
18817 wine_fn_config_makefile dlls/netprofm/tests enable_tests
18818 wine_fn_config_makefile dlls/newdev enable_newdev
18819 wine_fn_config_makefile dlls/normaliz enable_normaliz
18820 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
18821 wine_fn_config_makefile dlls/npptools enable_npptools
18822 wine_fn_config_makefile dlls/ntdll enable_ntdll
18823 wine_fn_config_makefile dlls/ntdll/tests enable_tests
18824 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
18825 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
18826 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
18827 wine_fn_config_makefile dlls/ntprint enable_ntprint
18828 wine_fn_config_makefile dlls/ntprint/tests enable_tests
18829 wine_fn_config_makefile dlls/objsel enable_objsel
18830 wine_fn_config_makefile dlls/odbc32 enable_odbc32
18831 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
18832 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
18833 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
18834 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
18835 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
18836 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
18837 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
18838 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
18839 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
18840 wine_fn_config_makefile dlls/ole32 enable_ole32
18841 wine_fn_config_makefile dlls/ole32/tests enable_tests
18842 wine_fn_config_makefile dlls/oleacc enable_oleacc
18843 wine_fn_config_makefile dlls/oleacc/tests enable_tests
18844 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
18845 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
18846 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
18847 wine_fn_config_makefile dlls/olecli32 enable_olecli32
18848 wine_fn_config_makefile dlls/oledb32 enable_oledb32
18849 wine_fn_config_makefile dlls/oledb32/tests enable_tests
18850 wine_fn_config_makefile dlls/oledlg enable_oledlg
18851 wine_fn_config_makefile dlls/oledlg/tests enable_tests
18852 wine_fn_config_makefile dlls/olepro32 enable_olepro32
18853 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
18854 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
18855 wine_fn_config_makefile dlls/olethk32 enable_olethk32
18856 wine_fn_config_makefile dlls/openal32 enable_openal32
18857 wine_fn_config_makefile dlls/opencl enable_opencl
18858 wine_fn_config_makefile dlls/opengl32 enable_opengl32
18859 wine_fn_config_makefile dlls/opengl32/tests enable_tests
18860 wine_fn_config_makefile dlls/packager enable_packager
18861 wine_fn_config_makefile dlls/packager/tests enable_tests
18862 wine_fn_config_makefile dlls/pdh enable_pdh
18863 wine_fn_config_makefile dlls/pdh/tests enable_tests
18864 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
18865 wine_fn_config_makefile dlls/pidgen enable_pidgen
18866 wine_fn_config_makefile dlls/powrprof enable_powrprof
18867 wine_fn_config_makefile dlls/printui enable_printui
18868 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
18869 wine_fn_config_makefile dlls/propsys enable_propsys
18870 wine_fn_config_makefile dlls/propsys/tests enable_tests
18871 wine_fn_config_makefile dlls/psapi enable_psapi
18872 wine_fn_config_makefile dlls/psapi/tests enable_tests
18873 wine_fn_config_makefile dlls/pstorec enable_pstorec
18874 wine_fn_config_makefile dlls/pstorec/tests enable_tests
18875 wine_fn_config_makefile dlls/qcap enable_qcap
18876 wine_fn_config_makefile dlls/qcap/tests enable_tests
18877 wine_fn_config_makefile dlls/qedit enable_qedit
18878 wine_fn_config_makefile dlls/qedit/tests enable_tests
18879 wine_fn_config_makefile dlls/qmgr enable_qmgr
18880 wine_fn_config_makefile dlls/qmgr/tests enable_tests
18881 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
18882 wine_fn_config_makefile dlls/quartz enable_quartz
18883 wine_fn_config_makefile dlls/quartz/tests enable_tests
18884 wine_fn_config_makefile dlls/query enable_query
18885 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
18886 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
18887 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
18888 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
18889 wine_fn_config_makefile dlls/regapi enable_regapi
18890 wine_fn_config_makefile dlls/resutils enable_resutils
18891 wine_fn_config_makefile dlls/riched20 enable_riched20
18892 wine_fn_config_makefile dlls/riched20/tests enable_tests
18893 wine_fn_config_makefile dlls/riched32 enable_riched32
18894 wine_fn_config_makefile dlls/riched32/tests enable_tests
18895 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
18896 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
18897 wine_fn_config_makefile dlls/rsabase enable_rsabase
18898 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
18899 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
18900 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
18901 wine_fn_config_makefile dlls/rtutils enable_rtutils
18902 wine_fn_config_makefile dlls/samlib enable_samlib
18903 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
18904 wine_fn_config_makefile dlls/sapi enable_sapi
18905 wine_fn_config_makefile dlls/sapi/tests enable_tests
18906 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
18907 wine_fn_config_makefile dlls/sccbase enable_sccbase
18908 wine_fn_config_makefile dlls/schannel enable_schannel
18909 wine_fn_config_makefile dlls/schannel/tests enable_tests
18910 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
18911 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
18912 wine_fn_config_makefile dlls/scrobj enable_scrobj
18913 wine_fn_config_makefile dlls/scrrun enable_scrrun
18914 wine_fn_config_makefile dlls/scrrun/tests enable_tests
18915 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
18916 wine_fn_config_makefile dlls/secur32 enable_secur32
18917 wine_fn_config_makefile dlls/secur32/tests enable_tests
18918 wine_fn_config_makefile dlls/security enable_security
18919 wine_fn_config_makefile dlls/sensapi enable_sensapi
18920 wine_fn_config_makefile dlls/serialui enable_serialui
18921 wine_fn_config_makefile dlls/serialui/tests enable_tests
18922 wine_fn_config_makefile dlls/setupapi enable_setupapi
18923 wine_fn_config_makefile dlls/setupapi/tests enable_tests
18924 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
18925 wine_fn_config_makefile dlls/sfc enable_sfc
18926 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
18927 wine_fn_config_makefile dlls/shcore enable_shcore
18928 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
18929 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
18930 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
18931 wine_fn_config_makefile dlls/shell.dll16 enable_win16
18932 wine_fn_config_makefile dlls/shell32 enable_shell32
18933 wine_fn_config_makefile dlls/shell32/tests enable_tests
18934 wine_fn_config_makefile dlls/shfolder enable_shfolder
18935 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
18936 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
18937 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
18938 wine_fn_config_makefile dlls/slc enable_slc
18939 wine_fn_config_makefile dlls/slc/tests enable_tests
18940 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
18941 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
18942 wine_fn_config_makefile dlls/softpub enable_softpub
18943 wine_fn_config_makefile dlls/sound.drv16 enable_win16
18944 wine_fn_config_makefile dlls/spoolss enable_spoolss
18945 wine_fn_config_makefile dlls/spoolss/tests enable_tests
18946 wine_fn_config_makefile dlls/sspicli enable_sspicli
18947 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
18948 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
18949 wine_fn_config_makefile dlls/sti enable_sti
18950 wine_fn_config_makefile dlls/sti/tests enable_tests
18951 wine_fn_config_makefile dlls/storage.dll16 enable_win16
18952 wine_fn_config_makefile dlls/stress.dll16 enable_win16
18953 wine_fn_config_makefile dlls/strmbase enable_strmbase
18954 wine_fn_config_makefile dlls/strmiids enable_strmiids
18955 wine_fn_config_makefile dlls/svrapi enable_svrapi
18956 wine_fn_config_makefile dlls/sxs enable_sxs
18957 wine_fn_config_makefile dlls/sxs/tests enable_tests
18958 wine_fn_config_makefile dlls/system.drv16 enable_win16
18959 wine_fn_config_makefile dlls/t2embed enable_t2embed
18960 wine_fn_config_makefile dlls/t2embed/tests enable_tests
18961 wine_fn_config_makefile dlls/tapi32 enable_tapi32
18962 wine_fn_config_makefile dlls/taskschd enable_taskschd
18963 wine_fn_config_makefile dlls/taskschd/tests enable_tests
18964 wine_fn_config_makefile dlls/tdh enable_tdh
18965 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
18966 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
18967 wine_fn_config_makefile dlls/traffic enable_traffic
18968 wine_fn_config_makefile dlls/twain.dll16 enable_win16
18969 wine_fn_config_makefile dlls/twain_32 enable_twain_32
18970 wine_fn_config_makefile dlls/twain_32/tests enable_tests
18971 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
18972 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
18973 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
18974 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
18975 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
18976 wine_fn_config_makefile dlls/unicows enable_unicows
18977 wine_fn_config_makefile dlls/updspapi enable_updspapi
18978 wine_fn_config_makefile dlls/url enable_url
18979 wine_fn_config_makefile dlls/urlmon enable_urlmon
18980 wine_fn_config_makefile dlls/urlmon/tests enable_tests
18981 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
18982 wine_fn_config_makefile dlls/user.exe16 enable_win16
18983 wine_fn_config_makefile dlls/user32 enable_user32
18984 wine_fn_config_makefile dlls/user32/tests enable_tests
18985 wine_fn_config_makefile dlls/userenv enable_userenv
18986 wine_fn_config_makefile dlls/userenv/tests enable_tests
18987 wine_fn_config_makefile dlls/usp10 enable_usp10
18988 wine_fn_config_makefile dlls/usp10/tests enable_tests
18989 wine_fn_config_makefile dlls/uuid enable_uuid
18990 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
18991 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
18992 wine_fn_config_makefile dlls/vbscript enable_vbscript
18993 wine_fn_config_makefile dlls/vbscript/tests enable_tests
18994 wine_fn_config_makefile dlls/vcomp enable_vcomp
18995 wine_fn_config_makefile dlls/vcomp/tests enable_tests
18996 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
18997 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
18998 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
18999 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19000 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19001 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19002 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19003 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19004 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19005 wine_fn_config_makefile dlls/version enable_version
19006 wine_fn_config_makefile dlls/version/tests enable_tests
19007 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19008 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19009 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19010 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19011 wine_fn_config_makefile dlls/vssapi enable_vssapi
19012 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19013 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19014 wine_fn_config_makefile dlls/w32skrnl enable_win16
19015 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19016 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19017 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19018 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19019 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19020 wine_fn_config_makefile dlls/wdscore enable_wdscore
19021 wine_fn_config_makefile dlls/webservices enable_webservices
19022 wine_fn_config_makefile dlls/webservices/tests enable_tests
19023 wine_fn_config_makefile dlls/wer enable_wer
19024 wine_fn_config_makefile dlls/wer/tests enable_tests
19025 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19026 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19027 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19028 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19029 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19030 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19031 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19032 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19033 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19034 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19035 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19036 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19037 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19038 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19039 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19040 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19041 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19042 wine_fn_config_makefile dlls/wined3d enable_wined3d
19043 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19044 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19045 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19046 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19047 wine_fn_config_makefile dlls/winemapi enable_winemapi
19048 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19049 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19050 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19051 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19052 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19053 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19054 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19055 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19056 wine_fn_config_makefile dlls/wing32 enable_wing32
19057 wine_fn_config_makefile dlls/winhttp enable_winhttp
19058 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19059 wine_fn_config_makefile dlls/wininet enable_wininet
19060 wine_fn_config_makefile dlls/wininet/tests enable_tests
19061 wine_fn_config_makefile dlls/winmm enable_winmm
19062 wine_fn_config_makefile dlls/winmm/tests enable_tests
19063 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19064 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19065 wine_fn_config_makefile dlls/winscard enable_winscard
19066 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19067 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19068 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19069 wine_fn_config_makefile dlls/winsta enable_winsta
19070 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19071 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19072 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19073 wine_fn_config_makefile dlls/wintrust enable_wintrust
19074 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19075 wine_fn_config_makefile dlls/winusb enable_winusb
19076 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19077 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19078 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19079 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19080 wine_fn_config_makefile dlls/wmasf enable_wmasf
19081 wine_fn_config_makefile dlls/wmi enable_wmi
19082 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19083 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19084 wine_fn_config_makefile dlls/wmp enable_wmp
19085 wine_fn_config_makefile dlls/wmp/tests enable_tests
19086 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19087 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19088 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19089 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19090 wine_fn_config_makefile dlls/wow32 enable_win16
19091 wine_fn_config_makefile dlls/wpc enable_wpc
19092 wine_fn_config_makefile dlls/wpc/tests enable_tests
19093 wine_fn_config_makefile dlls/wpcap enable_wpcap
19094 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19095 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19096 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19097 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19098 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19099 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19100 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19101 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19102 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19103 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19104 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19105 wine_fn_config_makefile dlls/wuapi enable_wuapi
19106 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19107 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19108 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19109 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19110 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19111 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19112 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19113 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19114 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19115 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19116 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19117 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19118 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19119 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19120 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19121 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19122 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19123 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19124 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19125 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19126 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19127 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19128 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19129 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19130 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19131 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19132 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19133 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19134 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19135 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19136 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19137 wine_fn_config_makefile dlls/xmllite enable_xmllite
19138 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19139 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19140 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19141 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19142 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
19143 wine_fn_config_makefile include enable_include
19144 wine_fn_config_makefile libs/port enable_port
19145 wine_fn_config_makefile libs/wine enable_wine
19146 wine_fn_config_makefile libs/wpp enable_wpp
19147 wine_fn_config_makefile loader enable_loader
19148 wine_fn_config_makefile po enable_po
19149 wine_fn_config_makefile programs/arp enable_arp
19150 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19151 wine_fn_config_makefile programs/attrib enable_attrib
19152 wine_fn_config_makefile programs/cabarc enable_cabarc
19153 wine_fn_config_makefile programs/cacls enable_cacls
19154 wine_fn_config_makefile programs/clock enable_clock
19155 wine_fn_config_makefile programs/cmd enable_cmd
19156 wine_fn_config_makefile programs/cmd/tests enable_tests
19157 wine_fn_config_makefile programs/conhost enable_conhost
19158 wine_fn_config_makefile programs/control enable_control
19159 wine_fn_config_makefile programs/cscript enable_cscript
19160 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19161 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19162 wine_fn_config_makefile programs/eject enable_eject
19163 wine_fn_config_makefile programs/expand enable_expand
19164 wine_fn_config_makefile programs/explorer enable_explorer
19165 wine_fn_config_makefile programs/extrac32 enable_extrac32
19166 wine_fn_config_makefile programs/findstr enable_findstr
19167 wine_fn_config_makefile programs/fsutil enable_fsutil
19168 wine_fn_config_makefile programs/hh enable_hh
19169 wine_fn_config_makefile programs/hostname enable_hostname
19170 wine_fn_config_makefile programs/icacls enable_icacls
19171 wine_fn_config_makefile programs/icinfo enable_icinfo
19172 wine_fn_config_makefile programs/iexplore enable_iexplore
19173 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19174 wine_fn_config_makefile programs/lodctr enable_lodctr
19175 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19176 wine_fn_config_makefile programs/mshta enable_mshta
19177 wine_fn_config_makefile programs/msiexec enable_msiexec
19178 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19179 wine_fn_config_makefile programs/net enable_net
19180 wine_fn_config_makefile programs/netsh enable_netsh
19181 wine_fn_config_makefile programs/netstat enable_netstat
19182 wine_fn_config_makefile programs/ngen enable_ngen
19183 wine_fn_config_makefile programs/notepad enable_notepad
19184 wine_fn_config_makefile programs/oleview enable_oleview
19185 wine_fn_config_makefile programs/ping enable_ping
19186 wine_fn_config_makefile programs/plugplay enable_plugplay
19187 wine_fn_config_makefile programs/powershell enable_powershell
19188 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19189 wine_fn_config_makefile programs/progman enable_progman
19190 wine_fn_config_makefile programs/reg enable_reg
19191 wine_fn_config_makefile programs/reg/tests enable_tests
19192 wine_fn_config_makefile programs/regasm enable_regasm
19193 wine_fn_config_makefile programs/regedit enable_regedit
19194 wine_fn_config_makefile programs/regedit/tests enable_tests
19195 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19196 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19197 wine_fn_config_makefile programs/rpcss enable_rpcss
19198 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19199 wine_fn_config_makefile programs/rundll32 enable_rundll32
19200 wine_fn_config_makefile programs/sc enable_sc
19201 wine_fn_config_makefile programs/schtasks enable_schtasks
19202 wine_fn_config_makefile programs/schtasks/tests enable_tests
19203 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19204 wine_fn_config_makefile programs/secedit enable_secedit
19205 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19206 wine_fn_config_makefile programs/services enable_services
19207 wine_fn_config_makefile programs/services/tests enable_tests
19208 wine_fn_config_makefile programs/shutdown enable_shutdown
19209 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19210 wine_fn_config_makefile programs/start enable_start
19211 wine_fn_config_makefile programs/subst enable_subst
19212 wine_fn_config_makefile programs/svchost enable_svchost
19213 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19214 wine_fn_config_makefile programs/taskkill enable_taskkill
19215 wine_fn_config_makefile programs/tasklist enable_tasklist
19216 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19217 wine_fn_config_makefile programs/termsv enable_termsv
19218 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19219 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19220 wine_fn_config_makefile programs/view enable_view
19221 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19222 wine_fn_config_makefile programs/wineboot enable_wineboot
19223 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19224 wine_fn_config_makefile programs/winecfg enable_winecfg
19225 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19226 wine_fn_config_makefile programs/winedbg enable_winedbg
19227 wine_fn_config_makefile programs/winedevice enable_winedevice
19228 wine_fn_config_makefile programs/winefile enable_winefile
19229 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19230 wine_fn_config_makefile programs/winemine enable_winemine
19231 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19232 wine_fn_config_makefile programs/winepath enable_winepath
19233 wine_fn_config_makefile programs/winetest enable_winetest
19234 wine_fn_config_makefile programs/winevdm enable_win16
19235 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19236 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19237 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19238 wine_fn_config_makefile programs/winver enable_winver
19239 wine_fn_config_makefile programs/wmic enable_wmic
19240 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19241 wine_fn_config_makefile programs/wordpad enable_wordpad
19242 wine_fn_config_makefile programs/write enable_write
19243 wine_fn_config_makefile programs/wscript enable_wscript
19244 wine_fn_config_makefile programs/wscript/tests enable_tests
19245 wine_fn_config_makefile programs/wusa enable_wusa
19246 wine_fn_config_makefile programs/xcopy enable_xcopy
19247 wine_fn_config_makefile programs/xcopy/tests enable_tests
19248 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
19249 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19250 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19251 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19252 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19253 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19254 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19255 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19256 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19257 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19260 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19261 wine_fn_append_file CONFIGURE_TARGETS "tags"
19262 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19263 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19264 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19265 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19266 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19267 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19269 if test "x$enable_tools" != xno
19270 then
19271 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19272 ac_config_commands="$ac_config_commands tools/makedep"
19276 ac_config_commands="$ac_config_commands Makefile"
19279 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19283 if test "x$enable_maintainer_mode" = xyes
19284 then
19285 wine_fn_append_rule "configure: configure.ac aclocal.m4
19286 autoconf --warnings=all
19287 include/config.h.in: include/stamp-h.in
19288 include/stamp-h.in: configure.ac aclocal.m4
19289 autoheader --warnings=all
19290 @echo timestamp > \$@"
19293 if test "x$enable_tools" != xno
19294 then
19295 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19296 @./config.status tools/makedep
19297 Makefile: tools/makedep$ac_exeext
19298 fonts: tools/sfnt2fon
19299 include: tools tools/widl"
19300 else
19301 wine_fn_append_rule "\$(MAKEDEP):
19302 @echo \"You need to run make in $TOOLSDIR first\" && false"
19305 if test -n "$with_wine64"
19306 then
19307 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19308 fonts server:
19309 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19310 $with_wine64/loader/wine:
19311 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19312 $with_wine64/loader/wine-preloader:
19313 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19314 clean::
19315 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19316 else
19317 WINELOADER_INSTALL="wine.inf l_intl.nls"
19319 case $host_os in
19320 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19321 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19322 esac
19325 $as_echo " done" >&6
19326 cat >confcache <<\_ACEOF
19327 # This file is a shell script that caches the results of configure
19328 # tests run on this system so they can be shared between configure
19329 # scripts and configure runs, see configure's option --config-cache.
19330 # It is not useful on other systems. If it contains results you don't
19331 # want to keep, you may remove or edit it.
19333 # config.status only pays attention to the cache file if you give it
19334 # the --recheck option to rerun configure.
19336 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19337 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19338 # following values.
19340 _ACEOF
19342 # The following way of writing the cache mishandles newlines in values,
19343 # but we know of no workaround that is simple, portable, and efficient.
19344 # So, we kill variables containing newlines.
19345 # Ultrix sh set writes to stderr and can't be redirected directly,
19346 # and sets the high bit in the cache file unless we assign to the vars.
19348 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19349 eval ac_val=\$$ac_var
19350 case $ac_val in #(
19351 *${as_nl}*)
19352 case $ac_var in #(
19353 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19354 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19355 esac
19356 case $ac_var in #(
19357 _ | IFS | as_nl) ;; #(
19358 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19359 *) { eval $ac_var=; unset $ac_var;} ;;
19360 esac ;;
19361 esac
19362 done
19364 (set) 2>&1 |
19365 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19366 *${as_nl}ac_space=\ *)
19367 # `set' does not quote correctly, so add quotes: double-quote
19368 # substitution turns \\\\ into \\, and sed turns \\ into \.
19369 sed -n \
19370 "s/'/'\\\\''/g;
19371 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19372 ;; #(
19374 # `set' quotes correctly as required by POSIX, so do not add quotes.
19375 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19377 esac |
19378 sort
19380 sed '
19381 /^ac_cv_env_/b end
19382 t clear
19383 :clear
19384 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19385 t end
19386 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19387 :end' >>confcache
19388 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19389 if test -w "$cache_file"; then
19390 if test "x$cache_file" != "x/dev/null"; then
19391 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19392 $as_echo "$as_me: updating cache $cache_file" >&6;}
19393 if test ! -f "$cache_file" || test -h "$cache_file"; then
19394 cat confcache >"$cache_file"
19395 else
19396 case $cache_file in #(
19397 */* | ?:*)
19398 mv -f confcache "$cache_file"$$ &&
19399 mv -f "$cache_file"$$ "$cache_file" ;; #(
19401 mv -f confcache "$cache_file" ;;
19402 esac
19405 else
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19407 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19410 rm -f confcache
19412 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19413 # Let make expand exec_prefix.
19414 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19416 DEFS=-DHAVE_CONFIG_H
19418 ac_libobjs=
19419 ac_ltlibobjs=
19421 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19422 # 1. Remove the extension, and $U if already installed.
19423 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19424 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19425 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19426 # will be set to the directory where LIBOBJS objects are built.
19427 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19428 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19429 done
19430 LIBOBJS=$ac_libobjs
19432 LTLIBOBJS=$ac_ltlibobjs
19436 : "${CONFIG_STATUS=./config.status}"
19437 ac_write_fail=0
19438 ac_clean_files_save=$ac_clean_files
19439 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19441 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19442 as_write_fail=0
19443 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19444 #! $SHELL
19445 # Generated by $as_me.
19446 # Run this file to recreate the current configuration.
19447 # Compiler output produced by configure, useful for debugging
19448 # configure, is in config.log if it exists.
19450 debug=false
19451 ac_cs_recheck=false
19452 ac_cs_silent=false
19454 SHELL=\${CONFIG_SHELL-$SHELL}
19455 export SHELL
19456 _ASEOF
19457 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19458 ## -------------------- ##
19459 ## M4sh Initialization. ##
19460 ## -------------------- ##
19462 # Be more Bourne compatible
19463 DUALCASE=1; export DUALCASE # for MKS sh
19464 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19465 emulate sh
19466 NULLCMD=:
19467 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19468 # is contrary to our usage. Disable this feature.
19469 alias -g '${1+"$@"}'='"$@"'
19470 setopt NO_GLOB_SUBST
19471 else
19472 case `(set -o) 2>/dev/null` in #(
19473 *posix*) :
19474 set -o posix ;; #(
19475 *) :
19477 esac
19481 as_nl='
19483 export as_nl
19484 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19485 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19486 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19487 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19488 # Prefer a ksh shell builtin over an external printf program on Solaris,
19489 # but without wasting forks for bash or zsh.
19490 if test -z "$BASH_VERSION$ZSH_VERSION" \
19491 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19492 as_echo='print -r --'
19493 as_echo_n='print -rn --'
19494 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19495 as_echo='printf %s\n'
19496 as_echo_n='printf %s'
19497 else
19498 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19499 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19500 as_echo_n='/usr/ucb/echo -n'
19501 else
19502 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19503 as_echo_n_body='eval
19504 arg=$1;
19505 case $arg in #(
19506 *"$as_nl"*)
19507 expr "X$arg" : "X\\(.*\\)$as_nl";
19508 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19509 esac;
19510 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19512 export as_echo_n_body
19513 as_echo_n='sh -c $as_echo_n_body as_echo'
19515 export as_echo_body
19516 as_echo='sh -c $as_echo_body as_echo'
19519 # The user is always right.
19520 if test "${PATH_SEPARATOR+set}" != set; then
19521 PATH_SEPARATOR=:
19522 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19523 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19524 PATH_SEPARATOR=';'
19529 # IFS
19530 # We need space, tab and new line, in precisely that order. Quoting is
19531 # there to prevent editors from complaining about space-tab.
19532 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19533 # splitting by setting IFS to empty value.)
19534 IFS=" "" $as_nl"
19536 # Find who we are. Look in the path if we contain no directory separator.
19537 as_myself=
19538 case $0 in #((
19539 *[\\/]* ) as_myself=$0 ;;
19540 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19541 for as_dir in $PATH
19543 IFS=$as_save_IFS
19544 test -z "$as_dir" && as_dir=.
19545 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19546 done
19547 IFS=$as_save_IFS
19550 esac
19551 # We did not find ourselves, most probably we were run as `sh COMMAND'
19552 # in which case we are not to be found in the path.
19553 if test "x$as_myself" = x; then
19554 as_myself=$0
19556 if test ! -f "$as_myself"; then
19557 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19558 exit 1
19561 # Unset variables that we do not need and which cause bugs (e.g. in
19562 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19563 # suppresses any "Segmentation fault" message there. '((' could
19564 # trigger a bug in pdksh 5.2.14.
19565 for as_var in BASH_ENV ENV MAIL MAILPATH
19566 do eval test x\${$as_var+set} = xset \
19567 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19568 done
19569 PS1='$ '
19570 PS2='> '
19571 PS4='+ '
19573 # NLS nuisances.
19574 LC_ALL=C
19575 export LC_ALL
19576 LANGUAGE=C
19577 export LANGUAGE
19579 # CDPATH.
19580 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19583 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19584 # ----------------------------------------
19585 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19586 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19587 # script with STATUS, using 1 if that was 0.
19588 as_fn_error ()
19590 as_status=$1; test $as_status -eq 0 && as_status=1
19591 if test "$4"; then
19592 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19593 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19595 $as_echo "$as_me: error: $2" >&2
19596 as_fn_exit $as_status
19597 } # as_fn_error
19600 # as_fn_set_status STATUS
19601 # -----------------------
19602 # Set $? to STATUS, without forking.
19603 as_fn_set_status ()
19605 return $1
19606 } # as_fn_set_status
19608 # as_fn_exit STATUS
19609 # -----------------
19610 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19611 as_fn_exit ()
19613 set +e
19614 as_fn_set_status $1
19615 exit $1
19616 } # as_fn_exit
19618 # as_fn_unset VAR
19619 # ---------------
19620 # Portably unset VAR.
19621 as_fn_unset ()
19623 { eval $1=; unset $1;}
19625 as_unset=as_fn_unset
19626 # as_fn_append VAR VALUE
19627 # ----------------------
19628 # Append the text in VALUE to the end of the definition contained in VAR. Take
19629 # advantage of any shell optimizations that allow amortized linear growth over
19630 # repeated appends, instead of the typical quadratic growth present in naive
19631 # implementations.
19632 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19633 eval 'as_fn_append ()
19635 eval $1+=\$2
19637 else
19638 as_fn_append ()
19640 eval $1=\$$1\$2
19642 fi # as_fn_append
19644 # as_fn_arith ARG...
19645 # ------------------
19646 # Perform arithmetic evaluation on the ARGs, and store the result in the
19647 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19648 # must be portable across $(()) and expr.
19649 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19650 eval 'as_fn_arith ()
19652 as_val=$(( $* ))
19654 else
19655 as_fn_arith ()
19657 as_val=`expr "$@" || test $? -eq 1`
19659 fi # as_fn_arith
19662 if expr a : '\(a\)' >/dev/null 2>&1 &&
19663 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19664 as_expr=expr
19665 else
19666 as_expr=false
19669 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19670 as_basename=basename
19671 else
19672 as_basename=false
19675 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19676 as_dirname=dirname
19677 else
19678 as_dirname=false
19681 as_me=`$as_basename -- "$0" ||
19682 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19683 X"$0" : 'X\(//\)$' \| \
19684 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19685 $as_echo X/"$0" |
19686 sed '/^.*\/\([^/][^/]*\)\/*$/{
19687 s//\1/
19690 /^X\/\(\/\/\)$/{
19691 s//\1/
19694 /^X\/\(\/\).*/{
19695 s//\1/
19698 s/.*/./; q'`
19700 # Avoid depending upon Character Ranges.
19701 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19702 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19703 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19704 as_cr_digits='0123456789'
19705 as_cr_alnum=$as_cr_Letters$as_cr_digits
19707 ECHO_C= ECHO_N= ECHO_T=
19708 case `echo -n x` in #(((((
19709 -n*)
19710 case `echo 'xy\c'` in
19711 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19712 xy) ECHO_C='\c';;
19713 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19714 ECHO_T=' ';;
19715 esac;;
19717 ECHO_N='-n';;
19718 esac
19720 rm -f conf$$ conf$$.exe conf$$.file
19721 if test -d conf$$.dir; then
19722 rm -f conf$$.dir/conf$$.file
19723 else
19724 rm -f conf$$.dir
19725 mkdir conf$$.dir 2>/dev/null
19727 if (echo >conf$$.file) 2>/dev/null; then
19728 if ln -s conf$$.file conf$$ 2>/dev/null; then
19729 as_ln_s='ln -s'
19730 # ... but there are two gotchas:
19731 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19732 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19733 # In both cases, we have to default to `cp -pR'.
19734 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19735 as_ln_s='cp -pR'
19736 elif ln conf$$.file conf$$ 2>/dev/null; then
19737 as_ln_s=ln
19738 else
19739 as_ln_s='cp -pR'
19741 else
19742 as_ln_s='cp -pR'
19744 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19745 rmdir conf$$.dir 2>/dev/null
19748 # as_fn_mkdir_p
19749 # -------------
19750 # Create "$as_dir" as a directory, including parents if necessary.
19751 as_fn_mkdir_p ()
19754 case $as_dir in #(
19755 -*) as_dir=./$as_dir;;
19756 esac
19757 test -d "$as_dir" || eval $as_mkdir_p || {
19758 as_dirs=
19759 while :; do
19760 case $as_dir in #(
19761 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19762 *) as_qdir=$as_dir;;
19763 esac
19764 as_dirs="'$as_qdir' $as_dirs"
19765 as_dir=`$as_dirname -- "$as_dir" ||
19766 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19767 X"$as_dir" : 'X\(//\)[^/]' \| \
19768 X"$as_dir" : 'X\(//\)$' \| \
19769 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19770 $as_echo X"$as_dir" |
19771 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19772 s//\1/
19775 /^X\(\/\/\)[^/].*/{
19776 s//\1/
19779 /^X\(\/\/\)$/{
19780 s//\1/
19783 /^X\(\/\).*/{
19784 s//\1/
19787 s/.*/./; q'`
19788 test -d "$as_dir" && break
19789 done
19790 test -z "$as_dirs" || eval "mkdir $as_dirs"
19791 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19794 } # as_fn_mkdir_p
19795 if mkdir -p . 2>/dev/null; then
19796 as_mkdir_p='mkdir -p "$as_dir"'
19797 else
19798 test -d ./-p && rmdir ./-p
19799 as_mkdir_p=false
19803 # as_fn_executable_p FILE
19804 # -----------------------
19805 # Test if FILE is an executable regular file.
19806 as_fn_executable_p ()
19808 test -f "$1" && test -x "$1"
19809 } # as_fn_executable_p
19810 as_test_x='test -x'
19811 as_executable_p=as_fn_executable_p
19813 # Sed expression to map a string onto a valid CPP name.
19814 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19816 # Sed expression to map a string onto a valid variable name.
19817 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19820 exec 6>&1
19821 ## ----------------------------------- ##
19822 ## Main body of $CONFIG_STATUS script. ##
19823 ## ----------------------------------- ##
19824 _ASEOF
19825 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19828 # Save the log message, to keep $0 and so on meaningful, and to
19829 # report actual input values of CONFIG_FILES etc. instead of their
19830 # values after options handling.
19831 ac_log="
19832 This file was extended by Wine $as_me 3.3, which was
19833 generated by GNU Autoconf 2.69. Invocation command line was
19835 CONFIG_FILES = $CONFIG_FILES
19836 CONFIG_HEADERS = $CONFIG_HEADERS
19837 CONFIG_LINKS = $CONFIG_LINKS
19838 CONFIG_COMMANDS = $CONFIG_COMMANDS
19839 $ $0 $@
19841 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19844 _ACEOF
19846 case $ac_config_files in *"
19847 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19848 esac
19850 case $ac_config_headers in *"
19851 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19852 esac
19855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19856 # Files that config.status was made for.
19857 config_files="$ac_config_files"
19858 config_headers="$ac_config_headers"
19859 config_links="$ac_config_links"
19860 config_commands="$ac_config_commands"
19862 _ACEOF
19864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19865 ac_cs_usage="\
19866 \`$as_me' instantiates files and other configuration actions
19867 from templates according to the current configuration. Unless the files
19868 and actions are specified as TAGs, all are instantiated by default.
19870 Usage: $0 [OPTION]... [TAG]...
19872 -h, --help print this help, then exit
19873 -V, --version print version number and configuration settings, then exit
19874 --config print configuration, then exit
19875 -q, --quiet, --silent
19876 do not print progress messages
19877 -d, --debug don't remove temporary files
19878 --recheck update $as_me by reconfiguring in the same conditions
19879 --file=FILE[:TEMPLATE]
19880 instantiate the configuration file FILE
19881 --header=FILE[:TEMPLATE]
19882 instantiate the configuration header FILE
19884 Configuration files:
19885 $config_files
19887 Configuration headers:
19888 $config_headers
19890 Configuration links:
19891 $config_links
19893 Configuration commands:
19894 $config_commands
19896 Report bugs to <wine-devel@winehq.org>.
19897 Wine home page: <https://www.winehq.org>."
19899 _ACEOF
19900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19901 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19902 ac_cs_version="\\
19903 Wine config.status 3.3
19904 configured by $0, generated by GNU Autoconf 2.69,
19905 with options \\"\$ac_cs_config\\"
19907 Copyright (C) 2012 Free Software Foundation, Inc.
19908 This config.status script is free software; the Free Software Foundation
19909 gives unlimited permission to copy, distribute and modify it."
19911 ac_pwd='$ac_pwd'
19912 srcdir='$srcdir'
19913 test -n "\$AWK" || AWK=awk
19914 _ACEOF
19916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19917 # The default lists apply if the user does not specify any file.
19918 ac_need_defaults=:
19919 while test $# != 0
19921 case $1 in
19922 --*=?*)
19923 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19924 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19925 ac_shift=:
19927 --*=)
19928 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19929 ac_optarg=
19930 ac_shift=:
19933 ac_option=$1
19934 ac_optarg=$2
19935 ac_shift=shift
19937 esac
19939 case $ac_option in
19940 # Handling of the options.
19941 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19942 ac_cs_recheck=: ;;
19943 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19944 $as_echo "$ac_cs_version"; exit ;;
19945 --config | --confi | --conf | --con | --co | --c )
19946 $as_echo "$ac_cs_config"; exit ;;
19947 --debug | --debu | --deb | --de | --d | -d )
19948 debug=: ;;
19949 --file | --fil | --fi | --f )
19950 $ac_shift
19951 case $ac_optarg in
19952 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19953 '') as_fn_error $? "missing file argument" ;;
19954 esac
19955 as_fn_append CONFIG_FILES " '$ac_optarg'"
19956 ac_need_defaults=false;;
19957 --header | --heade | --head | --hea )
19958 $ac_shift
19959 case $ac_optarg in
19960 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19961 esac
19962 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19963 ac_need_defaults=false;;
19964 --he | --h)
19965 # Conflict between --help and --header
19966 as_fn_error $? "ambiguous option: \`$1'
19967 Try \`$0 --help' for more information.";;
19968 --help | --hel | -h )
19969 $as_echo "$ac_cs_usage"; exit ;;
19970 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19971 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19972 ac_cs_silent=: ;;
19974 # This is an error.
19975 -*) as_fn_error $? "unrecognized option: \`$1'
19976 Try \`$0 --help' for more information." ;;
19978 *) as_fn_append ac_config_targets " $1"
19979 ac_need_defaults=false ;;
19981 esac
19982 shift
19983 done
19985 ac_configure_extra_args=
19987 if $ac_cs_silent; then
19988 exec 6>/dev/null
19989 ac_configure_extra_args="$ac_configure_extra_args --silent"
19992 _ACEOF
19993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19994 if \$ac_cs_recheck; then
19995 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19996 shift
19997 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19998 CONFIG_SHELL='$SHELL'
19999 export CONFIG_SHELL
20000 exec "\$@"
20003 _ACEOF
20004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20005 exec 5>>config.log
20007 echo
20008 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20009 ## Running $as_me. ##
20010 _ASBOX
20011 $as_echo "$ac_log"
20012 } >&5
20014 _ACEOF
20015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20017 # INIT-COMMANDS
20019 wine_fn_output_makedep ()
20021 as_dir=tools; as_fn_mkdir_p
20022 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20024 wine_fn_output_makefile ()
20026 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20027 `cat $wine_rules_file`
20028 _WINE_EOF
20029 as_fn_error $? "could not create Makefile" "$LINENO" 5
20032 _ACEOF
20034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20036 # Handling of arguments.
20037 for ac_config_target in $ac_config_targets
20039 case $ac_config_target in
20040 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20041 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20042 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20043 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20044 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20045 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20046 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20047 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20048 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20049 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20050 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20051 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20052 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20054 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20055 esac
20056 done
20059 # If the user did not use the arguments to specify the items to instantiate,
20060 # then the envvar interface is used. Set only those that are not.
20061 # We use the long form for the default assignment because of an extremely
20062 # bizarre bug on SunOS 4.1.3.
20063 if $ac_need_defaults; then
20064 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20065 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20066 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20067 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20070 # Have a temporary directory for convenience. Make it in the build tree
20071 # simply because there is no reason against having it here, and in addition,
20072 # creating and moving files from /tmp can sometimes cause problems.
20073 # Hook for its removal unless debugging.
20074 # Note that there is a small window in which the directory will not be cleaned:
20075 # after its creation but before its name has been assigned to `$tmp'.
20076 $debug ||
20078 tmp= ac_tmp=
20079 trap 'exit_status=$?
20080 : "${ac_tmp:=$tmp}"
20081 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20083 trap 'as_fn_exit 1' 1 2 13 15
20085 # Create a (secure) tmp directory for tmp files.
20088 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20089 test -d "$tmp"
20090 } ||
20092 tmp=./conf$$-$RANDOM
20093 (umask 077 && mkdir "$tmp")
20094 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20095 ac_tmp=$tmp
20097 # Set up the scripts for CONFIG_FILES section.
20098 # No need to generate them if there are no CONFIG_FILES.
20099 # This happens for instance with `./config.status config.h'.
20100 if test -n "$CONFIG_FILES"; then
20103 ac_cr=`echo X | tr X '\015'`
20104 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20105 # But we know of no other shell where ac_cr would be empty at this
20106 # point, so we can use a bashism as a fallback.
20107 if test "x$ac_cr" = x; then
20108 eval ac_cr=\$\'\\r\'
20110 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20111 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20112 ac_cs_awk_cr='\\r'
20113 else
20114 ac_cs_awk_cr=$ac_cr
20117 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20118 _ACEOF
20122 echo "cat >conf$$subs.awk <<_ACEOF" &&
20123 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20124 echo "_ACEOF"
20125 } >conf$$subs.sh ||
20126 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20127 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20128 ac_delim='%!_!# '
20129 for ac_last_try in false false false false false :; do
20130 . ./conf$$subs.sh ||
20131 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20133 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20134 if test $ac_delim_n = $ac_delim_num; then
20135 break
20136 elif $ac_last_try; then
20137 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20138 else
20139 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20141 done
20142 rm -f conf$$subs.sh
20144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20145 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20146 _ACEOF
20147 sed -n '
20149 s/^/S["/; s/!.*/"]=/
20152 s/^[^!]*!//
20153 :repl
20154 t repl
20155 s/'"$ac_delim"'$//
20156 t delim
20159 s/\(.\{148\}\)..*/\1/
20160 t more1
20161 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20164 b repl
20165 :more1
20166 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20169 s/.\{148\}//
20170 t nl
20171 :delim
20173 s/\(.\{148\}\)..*/\1/
20174 t more2
20175 s/["\\]/\\&/g; s/^/"/; s/$/"/
20178 :more2
20179 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20182 s/.\{148\}//
20183 t delim
20184 ' <conf$$subs.awk | sed '
20185 /^[^""]/{
20187 s/\n//
20189 ' >>$CONFIG_STATUS || ac_write_fail=1
20190 rm -f conf$$subs.awk
20191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20192 _ACAWK
20193 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20194 for (key in S) S_is_set[key] = 1
20195 FS = "\a"
20199 line = $ 0
20200 nfields = split(line, field, "@")
20201 substed = 0
20202 len = length(field[1])
20203 for (i = 2; i < nfields; i++) {
20204 key = field[i]
20205 keylen = length(key)
20206 if (S_is_set[key]) {
20207 value = S[key]
20208 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20209 len += length(value) + length(field[++i])
20210 substed = 1
20211 } else
20212 len += 1 + keylen
20215 print line
20218 _ACAWK
20219 _ACEOF
20220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20221 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20222 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20223 else
20225 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20226 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20227 _ACEOF
20229 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20230 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20231 # trailing colons and then remove the whole line if VPATH becomes empty
20232 # (actually we leave an empty line to preserve line numbers).
20233 if test "x$srcdir" = x.; then
20234 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20236 s///
20237 s/^/:/
20238 s/[ ]*$/:/
20239 s/:\$(srcdir):/:/g
20240 s/:\${srcdir}:/:/g
20241 s/:@srcdir@:/:/g
20242 s/^:*//
20243 s/:*$//
20245 s/\(=[ ]*\).*/\1/
20247 s/\n//
20248 s/^[^=]*=[ ]*$//
20252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20253 fi # test -n "$CONFIG_FILES"
20255 # Set up the scripts for CONFIG_HEADERS section.
20256 # No need to generate them if there are no CONFIG_HEADERS.
20257 # This happens for instance with `./config.status Makefile'.
20258 if test -n "$CONFIG_HEADERS"; then
20259 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20260 BEGIN {
20261 _ACEOF
20263 # Transform confdefs.h into an awk script `defines.awk', embedded as
20264 # here-document in config.status, that substitutes the proper values into
20265 # config.h.in to produce config.h.
20267 # Create a delimiter string that does not exist in confdefs.h, to ease
20268 # handling of long lines.
20269 ac_delim='%!_!# '
20270 for ac_last_try in false false :; do
20271 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20272 if test -z "$ac_tt"; then
20273 break
20274 elif $ac_last_try; then
20275 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20276 else
20277 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20279 done
20281 # For the awk script, D is an array of macro values keyed by name,
20282 # likewise P contains macro parameters if any. Preserve backslash
20283 # newline sequences.
20285 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20286 sed -n '
20287 s/.\{148\}/&'"$ac_delim"'/g
20288 t rset
20289 :rset
20290 s/^[ ]*#[ ]*define[ ][ ]*/ /
20291 t def
20293 :def
20294 s/\\$//
20295 t bsnl
20296 s/["\\]/\\&/g
20297 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20298 D["\1"]=" \3"/p
20299 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20301 :bsnl
20302 s/["\\]/\\&/g
20303 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20304 D["\1"]=" \3\\\\\\n"\\/p
20305 t cont
20306 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20307 t cont
20309 :cont
20311 s/.\{148\}/&'"$ac_delim"'/g
20312 t clear
20313 :clear
20314 s/\\$//
20315 t bsnlc
20316 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20318 :bsnlc
20319 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20320 b cont
20321 ' <confdefs.h | sed '
20322 s/'"$ac_delim"'/"\\\
20323 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20326 for (key in D) D_is_set[key] = 1
20327 FS = "\a"
20329 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20330 line = \$ 0
20331 split(line, arg, " ")
20332 if (arg[1] == "#") {
20333 defundef = arg[2]
20334 mac1 = arg[3]
20335 } else {
20336 defundef = substr(arg[1], 2)
20337 mac1 = arg[2]
20339 split(mac1, mac2, "(") #)
20340 macro = mac2[1]
20341 prefix = substr(line, 1, index(line, defundef) - 1)
20342 if (D_is_set[macro]) {
20343 # Preserve the white space surrounding the "#".
20344 print prefix "define", macro P[macro] D[macro]
20345 next
20346 } else {
20347 # Replace #undef with comments. This is necessary, for example,
20348 # in the case of _POSIX_SOURCE, which is predefined and required
20349 # on some systems where configure will not decide to define it.
20350 if (defundef == "undef") {
20351 print "/*", prefix defundef, macro, "*/"
20352 next
20356 { print }
20357 _ACAWK
20358 _ACEOF
20359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20360 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20361 fi # test -n "$CONFIG_HEADERS"
20364 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20365 shift
20366 for ac_tag
20368 case $ac_tag in
20369 :[FHLC]) ac_mode=$ac_tag; continue;;
20370 esac
20371 case $ac_mode$ac_tag in
20372 :[FHL]*:*);;
20373 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20374 :[FH]-) ac_tag=-:-;;
20375 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20376 esac
20377 ac_save_IFS=$IFS
20378 IFS=:
20379 set x $ac_tag
20380 IFS=$ac_save_IFS
20381 shift
20382 ac_file=$1
20383 shift
20385 case $ac_mode in
20386 :L) ac_source=$1;;
20387 :[FH])
20388 ac_file_inputs=
20389 for ac_f
20391 case $ac_f in
20392 -) ac_f="$ac_tmp/stdin";;
20393 *) # Look for the file first in the build tree, then in the source tree
20394 # (if the path is not absolute). The absolute path cannot be DOS-style,
20395 # because $ac_f cannot contain `:'.
20396 test -f "$ac_f" ||
20397 case $ac_f in
20398 [\\/$]*) false;;
20399 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20400 esac ||
20401 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20402 esac
20403 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20404 as_fn_append ac_file_inputs " '$ac_f'"
20405 done
20407 # Let's still pretend it is `configure' which instantiates (i.e., don't
20408 # use $as_me), people would be surprised to read:
20409 # /* config.h. Generated by config.status. */
20410 configure_input='Generated from '`
20411 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20412 `' by configure.'
20413 if test x"$ac_file" != x-; then
20414 configure_input="$ac_file. $configure_input"
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20416 $as_echo "$as_me: creating $ac_file" >&6;}
20418 # Neutralize special characters interpreted by sed in replacement strings.
20419 case $configure_input in #(
20420 *\&* | *\|* | *\\* )
20421 ac_sed_conf_input=`$as_echo "$configure_input" |
20422 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20423 *) ac_sed_conf_input=$configure_input;;
20424 esac
20426 case $ac_tag in
20427 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20428 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20429 esac
20431 esac
20433 ac_dir=`$as_dirname -- "$ac_file" ||
20434 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20435 X"$ac_file" : 'X\(//\)[^/]' \| \
20436 X"$ac_file" : 'X\(//\)$' \| \
20437 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20438 $as_echo X"$ac_file" |
20439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20440 s//\1/
20443 /^X\(\/\/\)[^/].*/{
20444 s//\1/
20447 /^X\(\/\/\)$/{
20448 s//\1/
20451 /^X\(\/\).*/{
20452 s//\1/
20455 s/.*/./; q'`
20456 as_dir="$ac_dir"; as_fn_mkdir_p
20457 ac_builddir=.
20459 case "$ac_dir" in
20460 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20462 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20463 # A ".." for each directory in $ac_dir_suffix.
20464 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20465 case $ac_top_builddir_sub in
20466 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20467 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20468 esac ;;
20469 esac
20470 ac_abs_top_builddir=$ac_pwd
20471 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20472 # for backward compatibility:
20473 ac_top_builddir=$ac_top_build_prefix
20475 case $srcdir in
20476 .) # We are building in place.
20477 ac_srcdir=.
20478 ac_top_srcdir=$ac_top_builddir_sub
20479 ac_abs_top_srcdir=$ac_pwd ;;
20480 [\\/]* | ?:[\\/]* ) # Absolute name.
20481 ac_srcdir=$srcdir$ac_dir_suffix;
20482 ac_top_srcdir=$srcdir
20483 ac_abs_top_srcdir=$srcdir ;;
20484 *) # Relative name.
20485 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20486 ac_top_srcdir=$ac_top_build_prefix$srcdir
20487 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20488 esac
20489 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20492 case $ac_mode in
20495 # CONFIG_FILE
20498 _ACEOF
20500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20501 # If the template does not know about datarootdir, expand it.
20502 # FIXME: This hack should be removed a few years after 2.60.
20503 ac_datarootdir_hack=; ac_datarootdir_seen=
20504 ac_sed_dataroot='
20505 /datarootdir/ {
20509 /@datadir@/p
20510 /@docdir@/p
20511 /@infodir@/p
20512 /@localedir@/p
20513 /@mandir@/p'
20514 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20515 *datarootdir*) ac_datarootdir_seen=yes;;
20516 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20518 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20519 _ACEOF
20520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20521 ac_datarootdir_hack='
20522 s&@datadir@&$datadir&g
20523 s&@docdir@&$docdir&g
20524 s&@infodir@&$infodir&g
20525 s&@localedir@&$localedir&g
20526 s&@mandir@&$mandir&g
20527 s&\\\${datarootdir}&$datarootdir&g' ;;
20528 esac
20529 _ACEOF
20531 # Neutralize VPATH when `$srcdir' = `.'.
20532 # Shell code in configure.ac might set extrasub.
20533 # FIXME: do we really want to maintain this feature?
20534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20535 ac_sed_extra="$ac_vpsub
20536 $extrasub
20537 _ACEOF
20538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20540 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20541 s|@configure_input@|$ac_sed_conf_input|;t t
20542 s&@top_builddir@&$ac_top_builddir_sub&;t t
20543 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20544 s&@srcdir@&$ac_srcdir&;t t
20545 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20546 s&@top_srcdir@&$ac_top_srcdir&;t t
20547 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20548 s&@builddir@&$ac_builddir&;t t
20549 s&@abs_builddir@&$ac_abs_builddir&;t t
20550 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20551 $ac_datarootdir_hack
20553 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20554 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20556 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20557 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20558 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20559 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20561 which seems to be undefined. Please make sure it is defined" >&5
20562 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20563 which seems to be undefined. Please make sure it is defined" >&2;}
20565 rm -f "$ac_tmp/stdin"
20566 case $ac_file in
20567 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20568 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20569 esac \
20570 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20574 # CONFIG_HEADER
20576 if test x"$ac_file" != x-; then
20578 $as_echo "/* $configure_input */" \
20579 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20580 } >"$ac_tmp/config.h" \
20581 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20582 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20583 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20584 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20585 else
20586 rm -f "$ac_file"
20587 mv "$ac_tmp/config.h" "$ac_file" \
20588 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20590 else
20591 $as_echo "/* $configure_input */" \
20592 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20593 || as_fn_error $? "could not create -" "$LINENO" 5
20598 # CONFIG_LINK
20601 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20603 else
20604 # Prefer the file from the source tree if names are identical.
20605 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20606 ac_source=$srcdir/$ac_source
20609 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20610 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20612 if test ! -r "$ac_source"; then
20613 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20615 rm -f "$ac_file"
20617 # Try a relative symlink, then a hard link, then a copy.
20618 case $ac_source in
20619 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20620 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20621 esac
20622 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20623 ln "$ac_source" "$ac_file" 2>/dev/null ||
20624 cp -p "$ac_source" "$ac_file" ||
20625 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20628 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20629 $as_echo "$as_me: executing $ac_file commands" >&6;}
20631 esac
20634 case $ac_file$ac_mode in
20635 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20636 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20637 "Makefile":C) wine_fn_output_makefile Makefile ;;
20639 esac
20640 done # for ac_tag
20643 as_fn_exit 0
20644 _ACEOF
20645 ac_clean_files=$ac_clean_files_save
20647 test $ac_write_fail = 0 ||
20648 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20651 # configure is writing to config.log, and then calls config.status.
20652 # config.status does its own redirection, appending to config.log.
20653 # Unfortunately, on DOS this fails, as config.log is still kept open
20654 # by configure, so config.status won't be able to write to it; its
20655 # output is simply discarded. So we exec the FD to /dev/null,
20656 # effectively closing config.log, so it can be properly (re)opened and
20657 # appended to by config.status. When coming back to configure, we
20658 # need to make the FD available again.
20659 if test "$no_create" != yes; then
20660 ac_cs_success=:
20661 ac_config_status_args=
20662 test "$silent" = yes &&
20663 ac_config_status_args="$ac_config_status_args --quiet"
20664 exec 5>/dev/null
20665 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20666 exec 5>>config.log
20667 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20668 # would make configure fail if this is the last instruction.
20669 $ac_cs_success || as_fn_exit 1
20671 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20673 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20677 if test "$no_create" = "yes"
20678 then
20679 exit 0
20682 ac_save_IFS="$IFS"
20683 if test "x$wine_notices" != x; then
20684 echo >&6
20685 IFS="|"
20686 for msg in $wine_notices; do
20687 IFS="$ac_save_IFS"
20688 if ${msg:+false} :; then :
20690 else
20691 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20692 $as_echo "$as_me: $msg" >&6;}
20694 done
20696 IFS="|"
20697 for msg in $wine_warnings; do
20698 IFS="$ac_save_IFS"
20699 if ${msg:+false} :; then :
20701 else
20702 echo >&2
20703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20704 $as_echo "$as_me: WARNING: $msg" >&2;}
20706 done
20707 IFS="$ac_save_IFS"
20709 $as_echo "
20710 $as_me: Finished. Do '${ac_make}' to compile Wine.
20711 " >&6