xaudio2: Use new features from FAudio 19.06 (but keep compatibility for <=19.05).
[wine.git] / configure
blob2ad2639596d9477a874866de0efe002858912193
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.8.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='4.8'
584 PACKAGE_STRING='Wine 4.8'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 MSVCRTFLAGS
635 EXCESS_PRECISION_CFLAGS
636 EXTRACFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
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 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UDEV_LIBS
666 UDEV_CFLAGS
667 OSS4_CFLAGS
668 ALSA_LIBS
669 GSTREAMER_LIBS
670 GSTREAMER_CFLAGS
671 PULSE_LIBS
672 PULSE_CFLAGS
673 GETTEXTPO_LIBS
674 Z_LIBS
675 FREETYPE_LIBS
676 FREETYPE_CFLAGS
677 LCMS2_LIBS
678 LCMS2_CFLAGS
679 RESOLV_LIBS
680 GPHOTO2_PORT_LIBS
681 GPHOTO2_PORT_CFLAGS
682 GPHOTO2_LIBS
683 GPHOTO2_CFLAGS
684 SANE_LIBS
685 SANE_CFLAGS
686 GNUTLS_LIBS
687 GNUTLS_CFLAGS
688 HAL_LIBS
689 HAL_CFLAGS
690 DBUS_LIBS
691 DBUS_CFLAGS
692 INOTIFY_LIBS
693 INOTIFY_CFLAGS
694 XSLT_LIBS
695 XSLT_CFLAGS
696 XML2_LIBS
697 XML2_CFLAGS
698 PCAP_LIBS
699 X_EXTRA_LIBS
700 X_LIBS
701 X_PRE_LIBS
702 X_CFLAGS
703 XMKMF
704 PTHREAD_LIBS
705 EXTRACROSSCFLAGS
706 CROSSCFLAGS
707 CROSSCC
708 CROSSTARGET
709 LIBWINE_DEPENDS
710 PRELINK
711 WINELOADER_DEPENDS
712 LIBWINE_LDFLAGS
713 LIBWINE_SHAREDLIB
714 METAL_LIBS
715 CARBON_LIBS
716 QUICKTIME_LIBS
717 OPENCL_LIBS
718 OPENAL_LIBS
719 COREAUDIO_LIBS
720 SECURITY_LIBS
721 DISKARBITRATION_LIBS
722 APPKIT_LIBS
723 CORESERVICES_LIBS
724 APPLICATIONSERVICES_LIBS
725 FORCEFEEDBACK_LIBS
726 IOKIT_LIBS
727 COREFOUNDATION_LIBS
728 OBJCPP
729 ac_ct_OBJC
730 OBJCFLAGS
731 OBJC
732 DLLTOOL
733 WINELOADER_PROGRAMS
734 CONFIGURE_TARGETS
735 DISABLED_SUBDIRS
736 SUBDIRS
737 READELF
738 OTOOL
740 WINEPRELOADER_LDFLAGS
741 WINELOADER_LDFLAGS
742 TOP_INSTALL_DEV
743 TOP_INSTALL_LIB
744 LDEXECFLAGS
745 LDDLLFLAGS
746 LDRPATH_LOCAL
747 LDRPATH_INSTALL
748 DLLFLAGS
750 OPENGL_LIBS
751 ICOTOOL
752 CONVERT
753 RSVG
754 FONTFORGE
755 PKG_CONFIG
756 MSGFMT
757 LDCONFIG
758 EGREP
759 GREP
760 LN_S
761 RANLIB
762 STRIP
763 ac_ct_AR
765 BISON
766 FLEX
767 TOOLSDIR
768 TARGETFLAGS
770 CPPBIN
771 ac_ct_CXX
772 CXXFLAGS
774 OBJEXT
775 EXEEXT
776 ac_ct_CC
777 CPPFLAGS
778 LDFLAGS
779 CFLAGS
781 SET_MAKE
782 host_os
783 host_vendor
784 host_cpu
785 host
786 build_os
787 build_vendor
788 build_cpu
789 build
790 target_alias
791 host_alias
792 build_alias
793 LIBS
794 ECHO_T
795 ECHO_N
796 ECHO_C
797 DEFS
798 mandir
799 localedir
800 libdir
801 psdir
802 pdfdir
803 dvidir
804 htmldir
805 infodir
806 docdir
807 oldincludedir
808 includedir
809 runstatedir
810 localstatedir
811 sharedstatedir
812 sysconfdir
813 datadir
814 datarootdir
815 libexecdir
816 sbindir
817 bindir
818 program_transform_name
819 prefix
820 exec_prefix
821 PACKAGE_URL
822 PACKAGE_BUGREPORT
823 PACKAGE_STRING
824 PACKAGE_VERSION
825 PACKAGE_TARNAME
826 PACKAGE_NAME
827 PATH_SEPARATOR
828 SHELL'
829 ac_subst_files=''
830 ac_user_opts='
831 enable_option_checking
832 enable_win16
833 enable_win64
834 enable_tests
835 enable_maintainer_mode
836 with_alsa
837 with_capi
838 with_cms
839 with_coreaudio
840 with_cups
841 with_curses
842 with_dbus
843 with_faudio
844 with_float_abi
845 with_fontconfig
846 with_freetype
847 with_gettext
848 with_gettextpo
849 with_gphoto
850 with_glu
851 with_gnutls
852 with_gsm
853 with_gssapi
854 with_gstreamer
855 with_hal
856 with_inotify
857 with_jpeg
858 with_krb5
859 with_ldap
860 with_mingw
861 with_mpg123
862 with_netapi
863 with_openal
864 with_opencl
865 with_opengl
866 with_osmesa
867 with_oss
868 with_pcap
869 with_png
870 with_pthread
871 with_pulse
872 with_sane
873 with_sdl
874 with_tiff
875 with_udev
876 with_v4l2
877 with_vkd3d
878 with_vulkan
879 with_xcomposite
880 with_xcursor
881 with_xfixes
882 with_xinerama
883 with_xinput
884 with_xinput2
885 with_xml
886 with_xrandr
887 with_xrender
888 with_xshape
889 with_xshm
890 with_xslt
891 with_xxf86vm
892 with_zlib
893 with_wine_tools
894 with_wine64
895 enable_largefile
896 with_x
897 enable_acledit
898 enable_aclui
899 enable_activeds
900 enable_actxprxy
901 enable_adsiid
902 enable_adsldp
903 enable_adsldpc
904 enable_advapi32
905 enable_advpack
906 enable_amsi
907 enable_amstream
908 enable_api_ms_win_appmodel_identity_l1_1_0
909 enable_api_ms_win_appmodel_runtime_l1_1_1
910 enable_api_ms_win_appmodel_runtime_l1_1_2
911 enable_api_ms_win_core_apiquery_l1_1_0
912 enable_api_ms_win_core_appcompat_l1_1_1
913 enable_api_ms_win_core_appinit_l1_1_0
914 enable_api_ms_win_core_atoms_l1_1_0
915 enable_api_ms_win_core_bem_l1_1_0
916 enable_api_ms_win_core_com_l1_1_0
917 enable_api_ms_win_core_com_l1_1_1
918 enable_api_ms_win_core_com_private_l1_1_0
919 enable_api_ms_win_core_comm_l1_1_0
920 enable_api_ms_win_core_console_l1_1_0
921 enable_api_ms_win_core_console_l2_1_0
922 enable_api_ms_win_core_crt_l1_1_0
923 enable_api_ms_win_core_crt_l2_1_0
924 enable_api_ms_win_core_datetime_l1_1_0
925 enable_api_ms_win_core_datetime_l1_1_1
926 enable_api_ms_win_core_debug_l1_1_0
927 enable_api_ms_win_core_debug_l1_1_1
928 enable_api_ms_win_core_delayload_l1_1_0
929 enable_api_ms_win_core_delayload_l1_1_1
930 enable_api_ms_win_core_errorhandling_l1_1_0
931 enable_api_ms_win_core_errorhandling_l1_1_1
932 enable_api_ms_win_core_errorhandling_l1_1_2
933 enable_api_ms_win_core_errorhandling_l1_1_3
934 enable_api_ms_win_core_fibers_l1_1_0
935 enable_api_ms_win_core_fibers_l1_1_1
936 enable_api_ms_win_core_file_l1_1_0
937 enable_api_ms_win_core_file_l1_2_0
938 enable_api_ms_win_core_file_l1_2_1
939 enable_api_ms_win_core_file_l1_2_2
940 enable_api_ms_win_core_file_l2_1_0
941 enable_api_ms_win_core_file_l2_1_1
942 enable_api_ms_win_core_file_l2_1_2
943 enable_api_ms_win_core_handle_l1_1_0
944 enable_api_ms_win_core_heap_l1_1_0
945 enable_api_ms_win_core_heap_l1_2_0
946 enable_api_ms_win_core_heap_l2_1_0
947 enable_api_ms_win_core_heap_obsolete_l1_1_0
948 enable_api_ms_win_core_interlocked_l1_1_0
949 enable_api_ms_win_core_interlocked_l1_2_0
950 enable_api_ms_win_core_io_l1_1_0
951 enable_api_ms_win_core_io_l1_1_1
952 enable_api_ms_win_core_job_l1_1_0
953 enable_api_ms_win_core_job_l2_1_0
954 enable_api_ms_win_core_kernel32_legacy_l1_1_0
955 enable_api_ms_win_core_kernel32_legacy_l1_1_1
956 enable_api_ms_win_core_kernel32_private_l1_1_1
957 enable_api_ms_win_core_largeinteger_l1_1_0
958 enable_api_ms_win_core_libraryloader_l1_1_0
959 enable_api_ms_win_core_libraryloader_l1_1_1
960 enable_api_ms_win_core_libraryloader_l1_2_0
961 enable_api_ms_win_core_libraryloader_l1_2_1
962 enable_api_ms_win_core_libraryloader_l1_2_2
963 enable_api_ms_win_core_localization_l1_1_0
964 enable_api_ms_win_core_localization_l1_2_0
965 enable_api_ms_win_core_localization_l1_2_1
966 enable_api_ms_win_core_localization_l2_1_0
967 enable_api_ms_win_core_localization_obsolete_l1_1_0
968 enable_api_ms_win_core_localization_obsolete_l1_2_0
969 enable_api_ms_win_core_localization_obsolete_l1_3_0
970 enable_api_ms_win_core_localization_private_l1_1_0
971 enable_api_ms_win_core_localregistry_l1_1_0
972 enable_api_ms_win_core_memory_l1_1_0
973 enable_api_ms_win_core_memory_l1_1_1
974 enable_api_ms_win_core_memory_l1_1_2
975 enable_api_ms_win_core_misc_l1_1_0
976 enable_api_ms_win_core_namedpipe_l1_1_0
977 enable_api_ms_win_core_namedpipe_l1_2_0
978 enable_api_ms_win_core_namespace_l1_1_0
979 enable_api_ms_win_core_normalization_l1_1_0
980 enable_api_ms_win_core_path_l1_1_0
981 enable_api_ms_win_core_privateprofile_l1_1_1
982 enable_api_ms_win_core_processenvironment_l1_1_0
983 enable_api_ms_win_core_processenvironment_l1_2_0
984 enable_api_ms_win_core_processthreads_l1_1_0
985 enable_api_ms_win_core_processthreads_l1_1_1
986 enable_api_ms_win_core_processthreads_l1_1_2
987 enable_api_ms_win_core_processthreads_l1_1_3
988 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
989 enable_api_ms_win_core_profile_l1_1_0
990 enable_api_ms_win_core_psapi_ansi_l1_1_0
991 enable_api_ms_win_core_psapi_l1_1_0
992 enable_api_ms_win_core_psapi_obsolete_l1_1_0
993 enable_api_ms_win_core_quirks_l1_1_0
994 enable_api_ms_win_core_realtime_l1_1_0
995 enable_api_ms_win_core_registry_l1_1_0
996 enable_api_ms_win_core_registry_l2_1_0
997 enable_api_ms_win_core_registryuserspecific_l1_1_0
998 enable_api_ms_win_core_rtlsupport_l1_1_0
999 enable_api_ms_win_core_rtlsupport_l1_2_0
1000 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1001 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1002 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1003 enable_api_ms_win_core_shutdown_l1_1_0
1004 enable_api_ms_win_core_sidebyside_l1_1_0
1005 enable_api_ms_win_core_string_l1_1_0
1006 enable_api_ms_win_core_string_l2_1_0
1007 enable_api_ms_win_core_string_obsolete_l1_1_0
1008 enable_api_ms_win_core_stringansi_l1_1_0
1009 enable_api_ms_win_core_stringloader_l1_1_1
1010 enable_api_ms_win_core_synch_ansi_l1_1_0
1011 enable_api_ms_win_core_synch_l1_1_0
1012 enable_api_ms_win_core_synch_l1_2_0
1013 enable_api_ms_win_core_synch_l1_2_1
1014 enable_api_ms_win_core_sysinfo_l1_1_0
1015 enable_api_ms_win_core_sysinfo_l1_2_0
1016 enable_api_ms_win_core_sysinfo_l1_2_1
1017 enable_api_ms_win_core_threadpool_l1_1_0
1018 enable_api_ms_win_core_threadpool_l1_2_0
1019 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1020 enable_api_ms_win_core_threadpool_private_l1_1_0
1021 enable_api_ms_win_core_timezone_l1_1_0
1022 enable_api_ms_win_core_toolhelp_l1_1_0
1023 enable_api_ms_win_core_url_l1_1_0
1024 enable_api_ms_win_core_util_l1_1_0
1025 enable_api_ms_win_core_version_l1_1_0
1026 enable_api_ms_win_core_version_l1_1_1
1027 enable_api_ms_win_core_version_private_l1_1_0
1028 enable_api_ms_win_core_versionansi_l1_1_0
1029 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1030 enable_api_ms_win_core_winrt_error_l1_1_0
1031 enable_api_ms_win_core_winrt_error_l1_1_1
1032 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1033 enable_api_ms_win_core_winrt_l1_1_0
1034 enable_api_ms_win_core_winrt_registration_l1_1_0
1035 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1036 enable_api_ms_win_core_winrt_string_l1_1_0
1037 enable_api_ms_win_core_winrt_string_l1_1_1
1038 enable_api_ms_win_core_wow64_l1_1_0
1039 enable_api_ms_win_core_wow64_l1_1_1
1040 enable_api_ms_win_core_xstate_l1_1_0
1041 enable_api_ms_win_core_xstate_l2_1_0
1042 enable_api_ms_win_crt_conio_l1_1_0
1043 enable_api_ms_win_crt_convert_l1_1_0
1044 enable_api_ms_win_crt_environment_l1_1_0
1045 enable_api_ms_win_crt_filesystem_l1_1_0
1046 enable_api_ms_win_crt_heap_l1_1_0
1047 enable_api_ms_win_crt_locale_l1_1_0
1048 enable_api_ms_win_crt_math_l1_1_0
1049 enable_api_ms_win_crt_multibyte_l1_1_0
1050 enable_api_ms_win_crt_private_l1_1_0
1051 enable_api_ms_win_crt_process_l1_1_0
1052 enable_api_ms_win_crt_runtime_l1_1_0
1053 enable_api_ms_win_crt_stdio_l1_1_0
1054 enable_api_ms_win_crt_string_l1_1_0
1055 enable_api_ms_win_crt_time_l1_1_0
1056 enable_api_ms_win_crt_utility_l1_1_0
1057 enable_api_ms_win_devices_config_l1_1_0
1058 enable_api_ms_win_devices_config_l1_1_1
1059 enable_api_ms_win_devices_query_l1_1_1
1060 enable_api_ms_win_downlevel_advapi32_l1_1_0
1061 enable_api_ms_win_downlevel_advapi32_l2_1_0
1062 enable_api_ms_win_downlevel_normaliz_l1_1_0
1063 enable_api_ms_win_downlevel_ole32_l1_1_0
1064 enable_api_ms_win_downlevel_shell32_l1_1_0
1065 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1066 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1067 enable_api_ms_win_downlevel_user32_l1_1_0
1068 enable_api_ms_win_downlevel_version_l1_1_0
1069 enable_api_ms_win_dx_d3dkmt_l1_1_0
1070 enable_api_ms_win_eventing_classicprovider_l1_1_0
1071 enable_api_ms_win_eventing_consumer_l1_1_0
1072 enable_api_ms_win_eventing_controller_l1_1_0
1073 enable_api_ms_win_eventing_legacy_l1_1_0
1074 enable_api_ms_win_eventing_provider_l1_1_0
1075 enable_api_ms_win_eventlog_legacy_l1_1_0
1076 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1077 enable_api_ms_win_mm_joystick_l1_1_0
1078 enable_api_ms_win_mm_misc_l1_1_1
1079 enable_api_ms_win_mm_mme_l1_1_0
1080 enable_api_ms_win_mm_time_l1_1_0
1081 enable_api_ms_win_ntuser_dc_access_l1_1_0
1082 enable_api_ms_win_ntuser_rectangle_l1_1_0
1083 enable_api_ms_win_ntuser_sysparams_l1_1_0
1084 enable_api_ms_win_perf_legacy_l1_1_0
1085 enable_api_ms_win_power_base_l1_1_0
1086 enable_api_ms_win_power_setting_l1_1_0
1087 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1088 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1089 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1090 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1091 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1092 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1093 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1094 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1095 enable_api_ms_win_security_audit_l1_1_1
1096 enable_api_ms_win_security_base_l1_1_0
1097 enable_api_ms_win_security_base_l1_2_0
1098 enable_api_ms_win_security_base_private_l1_1_1
1099 enable_api_ms_win_security_credentials_l1_1_0
1100 enable_api_ms_win_security_cryptoapi_l1_1_0
1101 enable_api_ms_win_security_grouppolicy_l1_1_0
1102 enable_api_ms_win_security_lsalookup_l1_1_0
1103 enable_api_ms_win_security_lsalookup_l1_1_1
1104 enable_api_ms_win_security_lsalookup_l2_1_0
1105 enable_api_ms_win_security_lsalookup_l2_1_1
1106 enable_api_ms_win_security_lsapolicy_l1_1_0
1107 enable_api_ms_win_security_provider_l1_1_0
1108 enable_api_ms_win_security_sddl_l1_1_0
1109 enable_api_ms_win_security_systemfunctions_l1_1_0
1110 enable_api_ms_win_service_core_l1_1_0
1111 enable_api_ms_win_service_core_l1_1_1
1112 enable_api_ms_win_service_management_l1_1_0
1113 enable_api_ms_win_service_management_l2_1_0
1114 enable_api_ms_win_service_private_l1_1_1
1115 enable_api_ms_win_service_winsvc_l1_1_0
1116 enable_api_ms_win_service_winsvc_l1_2_0
1117 enable_api_ms_win_shcore_obsolete_l1_1_0
1118 enable_api_ms_win_shcore_scaling_l1_1_1
1119 enable_api_ms_win_shcore_stream_l1_1_0
1120 enable_api_ms_win_shcore_thread_l1_1_0
1121 enable_api_ms_win_shell_shellcom_l1_1_0
1122 enable_api_ms_win_shell_shellfolders_l1_1_0
1123 enable_apphelp
1124 enable_appwiz_cpl
1125 enable_atl
1126 enable_atl100
1127 enable_atl110
1128 enable_atl80
1129 enable_atl90
1130 enable_atlthunk
1131 enable_atmlib
1132 enable_authz
1133 enable_avicap32
1134 enable_avifil32
1135 enable_avrt
1136 enable_bcrypt
1137 enable_bluetoothapis
1138 enable_browseui
1139 enable_bthprops_cpl
1140 enable_cabinet
1141 enable_capi2032
1142 enable_cards
1143 enable_cdosys
1144 enable_cfgmgr32
1145 enable_clusapi
1146 enable_combase
1147 enable_comcat
1148 enable_comctl32
1149 enable_comdlg32
1150 enable_compstui
1151 enable_comsvcs
1152 enable_concrt140
1153 enable_connect
1154 enable_credui
1155 enable_crtdll
1156 enable_crypt32
1157 enable_cryptdlg
1158 enable_cryptdll
1159 enable_cryptext
1160 enable_cryptnet
1161 enable_cryptui
1162 enable_ctapi32
1163 enable_ctl3d32
1164 enable_d2d1
1165 enable_d3d10
1166 enable_d3d10_1
1167 enable_d3d10core
1168 enable_d3d11
1169 enable_d3d12
1170 enable_d3d8
1171 enable_d3d9
1172 enable_d3dcompiler_33
1173 enable_d3dcompiler_34
1174 enable_d3dcompiler_35
1175 enable_d3dcompiler_36
1176 enable_d3dcompiler_37
1177 enable_d3dcompiler_38
1178 enable_d3dcompiler_39
1179 enable_d3dcompiler_40
1180 enable_d3dcompiler_41
1181 enable_d3dcompiler_42
1182 enable_d3dcompiler_43
1183 enable_d3dcompiler_46
1184 enable_d3dcompiler_47
1185 enable_d3dim
1186 enable_d3drm
1187 enable_d3dx10_33
1188 enable_d3dx10_34
1189 enable_d3dx10_35
1190 enable_d3dx10_36
1191 enable_d3dx10_37
1192 enable_d3dx10_38
1193 enable_d3dx10_39
1194 enable_d3dx10_40
1195 enable_d3dx10_41
1196 enable_d3dx10_42
1197 enable_d3dx10_43
1198 enable_d3dx11_42
1199 enable_d3dx11_43
1200 enable_d3dx9_24
1201 enable_d3dx9_25
1202 enable_d3dx9_26
1203 enable_d3dx9_27
1204 enable_d3dx9_28
1205 enable_d3dx9_29
1206 enable_d3dx9_30
1207 enable_d3dx9_31
1208 enable_d3dx9_32
1209 enable_d3dx9_33
1210 enable_d3dx9_34
1211 enable_d3dx9_35
1212 enable_d3dx9_36
1213 enable_d3dx9_37
1214 enable_d3dx9_38
1215 enable_d3dx9_39
1216 enable_d3dx9_40
1217 enable_d3dx9_41
1218 enable_d3dx9_42
1219 enable_d3dx9_43
1220 enable_d3dxof
1221 enable_davclnt
1222 enable_dbgeng
1223 enable_dbghelp
1224 enable_dciman32
1225 enable_ddraw
1226 enable_ddrawex
1227 enable_devenum
1228 enable_dhcpcsvc
1229 enable_dhtmled_ocx
1230 enable_difxapi
1231 enable_dinput
1232 enable_dinput8
1233 enable_dispex
1234 enable_dmband
1235 enable_dmcompos
1236 enable_dmime
1237 enable_dmloader
1238 enable_dmoguids
1239 enable_dmscript
1240 enable_dmstyle
1241 enable_dmsynth
1242 enable_dmusic
1243 enable_dmusic32
1244 enable_dnsapi
1245 enable_dplay
1246 enable_dplayx
1247 enable_dpnaddr
1248 enable_dpnet
1249 enable_dpnhpast
1250 enable_dpnlobby
1251 enable_dpvoice
1252 enable_dpwsockx
1253 enable_drmclien
1254 enable_dsound
1255 enable_dsquery
1256 enable_dssenh
1257 enable_dswave
1258 enable_dwmapi
1259 enable_dwrite
1260 enable_dx8vb
1261 enable_dxdiagn
1262 enable_dxerr8
1263 enable_dxerr9
1264 enable_dxgi
1265 enable_dxguid
1266 enable_dxva2
1267 enable_esent
1268 enable_evr
1269 enable_explorerframe
1270 enable_ext_ms_win_authz_context_l1_1_0
1271 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1272 enable_ext_ms_win_dwmapi_ext_l1_1_0
1273 enable_ext_ms_win_gdi_dc_create_l1_1_0
1274 enable_ext_ms_win_gdi_dc_create_l1_1_1
1275 enable_ext_ms_win_gdi_dc_l1_2_0
1276 enable_ext_ms_win_gdi_devcaps_l1_1_0
1277 enable_ext_ms_win_gdi_draw_l1_1_0
1278 enable_ext_ms_win_gdi_draw_l1_1_1
1279 enable_ext_ms_win_gdi_font_l1_1_0
1280 enable_ext_ms_win_gdi_font_l1_1_1
1281 enable_ext_ms_win_gdi_render_l1_1_0
1282 enable_ext_ms_win_kernel32_package_current_l1_1_0
1283 enable_ext_ms_win_kernel32_package_l1_1_1
1284 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1285 enable_ext_ms_win_ntuser_draw_l1_1_0
1286 enable_ext_ms_win_ntuser_gui_l1_1_0
1287 enable_ext_ms_win_ntuser_gui_l1_3_0
1288 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1289 enable_ext_ms_win_ntuser_message_l1_1_0
1290 enable_ext_ms_win_ntuser_message_l1_1_1
1291 enable_ext_ms_win_ntuser_misc_l1_1_0
1292 enable_ext_ms_win_ntuser_misc_l1_2_0
1293 enable_ext_ms_win_ntuser_misc_l1_5_1
1294 enable_ext_ms_win_ntuser_mouse_l1_1_0
1295 enable_ext_ms_win_ntuser_private_l1_1_1
1296 enable_ext_ms_win_ntuser_private_l1_3_1
1297 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1298 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1299 enable_ext_ms_win_ntuser_window_l1_1_0
1300 enable_ext_ms_win_ntuser_window_l1_1_1
1301 enable_ext_ms_win_ntuser_window_l1_1_4
1302 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1303 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1304 enable_ext_ms_win_oleacc_l1_1_0
1305 enable_ext_ms_win_ras_rasapi32_l1_1_0
1306 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1307 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1308 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1309 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1310 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1311 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1312 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1313 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1314 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1315 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1316 enable_ext_ms_win_security_credui_l1_1_0
1317 enable_ext_ms_win_security_cryptui_l1_1_0
1318 enable_ext_ms_win_uxtheme_themes_l1_1_0
1319 enable_faultrep
1320 enable_feclient
1321 enable_fltlib
1322 enable_fltmgr_sys
1323 enable_fntcache
1324 enable_fontsub
1325 enable_fusion
1326 enable_fwpuclnt
1327 enable_gameux
1328 enable_gdi32
1329 enable_gdiplus
1330 enable_glu32
1331 enable_gphoto2_ds
1332 enable_gpkcsp
1333 enable_hal
1334 enable_hhctrl_ocx
1335 enable_hid
1336 enable_hidclass_sys
1337 enable_hlink
1338 enable_hnetcfg
1339 enable_httpapi
1340 enable_iccvid
1341 enable_icmp
1342 enable_ieframe
1343 enable_ieproxy
1344 enable_imaadp32_acm
1345 enable_imagehlp
1346 enable_imm32
1347 enable_inetcomm
1348 enable_inetcpl_cpl
1349 enable_inetmib1
1350 enable_infosoft
1351 enable_initpki
1352 enable_inkobj
1353 enable_inseng
1354 enable_iphlpapi
1355 enable_iprop
1356 enable_irprops_cpl
1357 enable_itircl
1358 enable_itss
1359 enable_joy_cpl
1360 enable_jscript
1361 enable_jsproxy
1362 enable_kerberos
1363 enable_kernel32
1364 enable_kernelbase
1365 enable_ksecdd_sys
1366 enable_ksuser
1367 enable_ktmw32
1368 enable_l3codeca_acm
1369 enable_loadperf
1370 enable_localspl
1371 enable_localui
1372 enable_lz32
1373 enable_mapi32
1374 enable_mapistub
1375 enable_mciavi32
1376 enable_mcicda
1377 enable_mciqtz32
1378 enable_mciseq
1379 enable_mciwave
1380 enable_mf
1381 enable_mf3216
1382 enable_mferror
1383 enable_mfplat
1384 enable_mfplay
1385 enable_mfreadwrite
1386 enable_mfuuid
1387 enable_mgmtapi
1388 enable_midimap
1389 enable_mlang
1390 enable_mmcndmgr
1391 enable_mmdevapi
1392 enable_mountmgr_sys
1393 enable_mp3dmod
1394 enable_mpr
1395 enable_mprapi
1396 enable_msacm32_drv
1397 enable_msacm32
1398 enable_msadp32_acm
1399 enable_msasn1
1400 enable_mscat32
1401 enable_mscms
1402 enable_mscoree
1403 enable_msctf
1404 enable_msctfp
1405 enable_msdaps
1406 enable_msdelta
1407 enable_msdmo
1408 enable_msdrm
1409 enable_msftedit
1410 enable_msg711_acm
1411 enable_msgsm32_acm
1412 enable_mshtml_tlb
1413 enable_mshtml
1414 enable_msi
1415 enable_msident
1416 enable_msimg32
1417 enable_msimsg
1418 enable_msimtf
1419 enable_msisip
1420 enable_msisys_ocx
1421 enable_msls31
1422 enable_msnet32
1423 enable_mspatcha
1424 enable_msports
1425 enable_msrle32
1426 enable_msscript_ocx
1427 enable_mssign32
1428 enable_mssip32
1429 enable_mstask
1430 enable_msvcirt
1431 enable_msvcm80
1432 enable_msvcm90
1433 enable_msvcp100
1434 enable_msvcp110
1435 enable_msvcp120
1436 enable_msvcp120_app
1437 enable_msvcp140
1438 enable_msvcp60
1439 enable_msvcp70
1440 enable_msvcp71
1441 enable_msvcp80
1442 enable_msvcp90
1443 enable_msvcr100
1444 enable_msvcr110
1445 enable_msvcr120
1446 enable_msvcr120_app
1447 enable_msvcr70
1448 enable_msvcr71
1449 enable_msvcr80
1450 enable_msvcr90
1451 enable_msvcrt
1452 enable_msvcrt20
1453 enable_msvcrt40
1454 enable_msvcrtd
1455 enable_msvfw32
1456 enable_msvidc32
1457 enable_mswsock
1458 enable_msxml
1459 enable_msxml2
1460 enable_msxml3
1461 enable_msxml4
1462 enable_msxml6
1463 enable_mtxdm
1464 enable_ncrypt
1465 enable_nddeapi
1466 enable_ndis_sys
1467 enable_netapi32
1468 enable_netcfgx
1469 enable_netprofm
1470 enable_newdev
1471 enable_ninput
1472 enable_normaliz
1473 enable_npmshtml
1474 enable_npptools
1475 enable_ntdll
1476 enable_ntdsapi
1477 enable_ntoskrnl_exe
1478 enable_ntprint
1479 enable_objsel
1480 enable_odbc32
1481 enable_odbccp32
1482 enable_odbccu32
1483 enable_ole32
1484 enable_oleacc
1485 enable_oleaut32
1486 enable_olecli32
1487 enable_oledb32
1488 enable_oledlg
1489 enable_olepro32
1490 enable_olesvr32
1491 enable_olethk32
1492 enable_opcservices
1493 enable_openal32
1494 enable_opencl
1495 enable_opengl32
1496 enable_packager
1497 enable_pdh
1498 enable_photometadatahandler
1499 enable_pidgen
1500 enable_powrprof
1501 enable_printui
1502 enable_prntvpt
1503 enable_propsys
1504 enable_psapi
1505 enable_pstorec
1506 enable_qcap
1507 enable_qedit
1508 enable_qmgr
1509 enable_qmgrprxy
1510 enable_quartz
1511 enable_query
1512 enable_qwave
1513 enable_rasapi32
1514 enable_rasdlg
1515 enable_regapi
1516 enable_resutils
1517 enable_riched20
1518 enable_riched32
1519 enable_rpcrt4
1520 enable_rsabase
1521 enable_rsaenh
1522 enable_rstrtmgr
1523 enable_rtutils
1524 enable_samlib
1525 enable_sane_ds
1526 enable_sapi
1527 enable_sas
1528 enable_scarddlg
1529 enable_sccbase
1530 enable_schannel
1531 enable_schedsvc
1532 enable_scrobj
1533 enable_scrrun
1534 enable_scsiport_sys
1535 enable_secur32
1536 enable_security
1537 enable_sensapi
1538 enable_serialui
1539 enable_setupapi
1540 enable_sfc
1541 enable_sfc_os
1542 enable_shcore
1543 enable_shdoclc
1544 enable_shdocvw
1545 enable_shell32
1546 enable_shfolder
1547 enable_shlwapi
1548 enable_slbcsp
1549 enable_slc
1550 enable_snmpapi
1551 enable_softpub
1552 enable_spoolss
1553 enable_srclient
1554 enable_sspicli
1555 enable_stdole2_tlb
1556 enable_stdole32_tlb
1557 enable_sti
1558 enable_strmbase
1559 enable_strmdll
1560 enable_strmiids
1561 enable_svrapi
1562 enable_sxs
1563 enable_t2embed
1564 enable_tapi32
1565 enable_taskschd
1566 enable_tdh
1567 enable_tdi_sys
1568 enable_traffic
1569 enable_twain_32
1570 enable_tzres
1571 enable_ucrtbase
1572 enable_uianimation
1573 enable_uiautomationcore
1574 enable_uiribbon
1575 enable_unicows
1576 enable_updspapi
1577 enable_url
1578 enable_urlmon
1579 enable_usbd_sys
1580 enable_user32
1581 enable_userenv
1582 enable_usp10
1583 enable_uuid
1584 enable_uxtheme
1585 enable_vbscript
1586 enable_vcomp
1587 enable_vcomp100
1588 enable_vcomp110
1589 enable_vcomp120
1590 enable_vcomp140
1591 enable_vcomp90
1592 enable_vcruntime140
1593 enable_vdmdbg
1594 enable_version
1595 enable_virtdisk
1596 enable_vssapi
1597 enable_vulkan_1
1598 enable_wbemdisp
1599 enable_wbemprox
1600 enable_wdscore
1601 enable_webservices
1602 enable_wer
1603 enable_wevtapi
1604 enable_wiaservc
1605 enable_wimgapi
1606 enable_windowscodecs
1607 enable_windowscodecsext
1608 enable_winealsa_drv
1609 enable_wineandroid_drv
1610 enable_winebus_sys
1611 enable_winecoreaudio_drv
1612 enable_winecrt0
1613 enable_wined3d
1614 enable_winegstreamer
1615 enable_winehid_sys
1616 enable_winejoystick_drv
1617 enable_winemac_drv
1618 enable_winemapi
1619 enable_wineoss_drv
1620 enable_wineps_drv
1621 enable_winepulse_drv
1622 enable_wineqtdecoder
1623 enable_winevulkan
1624 enable_winex11_drv
1625 enable_wing32
1626 enable_winhttp
1627 enable_wininet
1628 enable_winmm
1629 enable_winnls32
1630 enable_winscard
1631 enable_winspool_drv
1632 enable_winsta
1633 enable_wintab32
1634 enable_wintrust
1635 enable_winusb
1636 enable_wlanapi
1637 enable_wldap32
1638 enable_wmasf
1639 enable_wmcodecdspuuid
1640 enable_wmi
1641 enable_wmiutils
1642 enable_wmp
1643 enable_wmphoto
1644 enable_wmvcore
1645 enable_wnaspi32
1646 enable_wpc
1647 enable_wpcap
1648 enable_ws2_32
1649 enable_wsdapi
1650 enable_wshom_ocx
1651 enable_wsnmp32
1652 enable_wsock32
1653 enable_wtsapi32
1654 enable_wuapi
1655 enable_wuaueng
1656 enable_x3daudio1_0
1657 enable_x3daudio1_1
1658 enable_x3daudio1_2
1659 enable_x3daudio1_3
1660 enable_x3daudio1_4
1661 enable_x3daudio1_5
1662 enable_x3daudio1_6
1663 enable_x3daudio1_7
1664 enable_xapofx1_1
1665 enable_xapofx1_2
1666 enable_xapofx1_3
1667 enable_xapofx1_4
1668 enable_xapofx1_5
1669 enable_xaudio2_0
1670 enable_xaudio2_1
1671 enable_xaudio2_2
1672 enable_xaudio2_3
1673 enable_xaudio2_4
1674 enable_xaudio2_5
1675 enable_xaudio2_6
1676 enable_xaudio2_7
1677 enable_xaudio2_8
1678 enable_xaudio2_9
1679 enable_xinput1_1
1680 enable_xinput1_2
1681 enable_xinput1_3
1682 enable_xinput1_4
1683 enable_xinput9_1_0
1684 enable_xmllite
1685 enable_xolehlp
1686 enable_xpsprint
1687 enable_xpssvcs
1688 enable_fonts
1689 enable_include
1690 enable_port
1691 enable_wine
1692 enable_wpp
1693 enable_loader
1694 enable_po
1695 enable_arp
1696 enable_aspnet_regiis
1697 enable_attrib
1698 enable_cabarc
1699 enable_cacls
1700 enable_clock
1701 enable_cmd
1702 enable_conhost
1703 enable_control
1704 enable_cscript
1705 enable_dism
1706 enable_dpnsvr
1707 enable_dxdiag
1708 enable_eject
1709 enable_expand
1710 enable_explorer
1711 enable_extrac32
1712 enable_fc
1713 enable_find
1714 enable_findstr
1715 enable_fsutil
1716 enable_hh
1717 enable_hostname
1718 enable_icacls
1719 enable_icinfo
1720 enable_iexplore
1721 enable_ipconfig
1722 enable_lodctr
1723 enable_mofcomp
1724 enable_mshta
1725 enable_msidb
1726 enable_msiexec
1727 enable_msinfo32
1728 enable_net
1729 enable_netsh
1730 enable_netstat
1731 enable_ngen
1732 enable_notepad
1733 enable_oleview
1734 enable_ping
1735 enable_plugplay
1736 enable_powershell
1737 enable_presentationfontcache
1738 enable_progman
1739 enable_reg
1740 enable_regasm
1741 enable_regedit
1742 enable_regsvcs
1743 enable_regsvr32
1744 enable_rpcss
1745 enable_rundll32
1746 enable_sc
1747 enable_schtasks
1748 enable_sdbinst
1749 enable_secedit
1750 enable_servicemodelreg
1751 enable_services
1752 enable_shutdown
1753 enable_spoolsv
1754 enable_start
1755 enable_subst
1756 enable_svchost
1757 enable_systeminfo
1758 enable_taskkill
1759 enable_tasklist
1760 enable_taskmgr
1761 enable_termsv
1762 enable_uninstaller
1763 enable_unlodctr
1764 enable_view
1765 enable_wevtutil
1766 enable_wineboot
1767 enable_winebrowser
1768 enable_winecfg
1769 enable_wineconsole
1770 enable_winedbg
1771 enable_winedevice
1772 enable_winefile
1773 enable_winemenubuilder
1774 enable_winemine
1775 enable_winemsibuilder
1776 enable_winepath
1777 enable_winetest
1778 enable_winhlp32
1779 enable_winmgmt
1780 enable_winver
1781 enable_wmic
1782 enable_wmplayer
1783 enable_wordpad
1784 enable_write
1785 enable_wscript
1786 enable_wusa
1787 enable_xcopy
1788 enable_server
1789 enable_tools
1790 enable_sfnt2fon
1791 enable_widl
1792 enable_winebuild
1793 enable_winedump
1794 enable_winegcc
1795 enable_winemaker
1796 enable_wmc
1797 enable_wrc
1799 ac_precious_vars='build_alias
1800 host_alias
1801 target_alias
1803 CFLAGS
1804 LDFLAGS
1805 LIBS
1806 CPPFLAGS
1808 CXXFLAGS
1811 OBJC
1812 OBJCFLAGS
1813 OBJCPP
1814 XMKMF
1815 XML2_CFLAGS
1816 XML2_LIBS
1817 XSLT_CFLAGS
1818 XSLT_LIBS
1819 INOTIFY_CFLAGS
1820 INOTIFY_LIBS
1821 DBUS_CFLAGS
1822 DBUS_LIBS
1823 HAL_CFLAGS
1824 HAL_LIBS
1825 GNUTLS_CFLAGS
1826 GNUTLS_LIBS
1827 SANE_CFLAGS
1828 SANE_LIBS
1829 GPHOTO2_CFLAGS
1830 GPHOTO2_LIBS
1831 GPHOTO2_PORT_CFLAGS
1832 GPHOTO2_PORT_LIBS
1833 LCMS2_CFLAGS
1834 LCMS2_LIBS
1835 FREETYPE_CFLAGS
1836 FREETYPE_LIBS
1837 PULSE_CFLAGS
1838 PULSE_LIBS
1839 GSTREAMER_CFLAGS
1840 GSTREAMER_LIBS
1841 UDEV_CFLAGS
1842 UDEV_LIBS
1843 SDL2_CFLAGS
1844 SDL2_LIBS
1845 FAUDIO_CFLAGS
1846 FAUDIO_LIBS
1847 CAPI20_CFLAGS
1848 CAPI20_LIBS
1849 CUPS_CFLAGS
1850 CUPS_LIBS
1851 FONTCONFIG_CFLAGS
1852 FONTCONFIG_LIBS
1853 KRB5_CFLAGS
1854 KRB5_LIBS
1855 GSSAPI_CFLAGS
1856 GSSAPI_LIBS
1857 JPEG_CFLAGS
1858 JPEG_LIBS
1859 PNG_CFLAGS
1860 PNG_LIBS
1861 TIFF_CFLAGS
1862 TIFF_LIBS
1863 MPG123_CFLAGS
1864 MPG123_LIBS
1865 NETAPI_CFLAGS
1866 NETAPI_LIBS
1867 VKD3D_CFLAGS
1868 VKD3D_LIBS
1869 LDAP_CFLAGS
1870 LDAP_LIBS'
1873 # Initialize some variables set by options.
1874 ac_init_help=
1875 ac_init_version=false
1876 ac_unrecognized_opts=
1877 ac_unrecognized_sep=
1878 # The variables have the same names as the options, with
1879 # dashes changed to underlines.
1880 cache_file=/dev/null
1881 exec_prefix=NONE
1882 no_create=
1883 no_recursion=
1884 prefix=NONE
1885 program_prefix=NONE
1886 program_suffix=NONE
1887 program_transform_name=s,x,x,
1888 silent=
1889 site=
1890 srcdir=
1891 verbose=
1892 x_includes=NONE
1893 x_libraries=NONE
1895 # Installation directory options.
1896 # These are left unexpanded so users can "make install exec_prefix=/foo"
1897 # and all the variables that are supposed to be based on exec_prefix
1898 # by default will actually change.
1899 # Use braces instead of parens because sh, perl, etc. also accept them.
1900 # (The list follows the same order as the GNU Coding Standards.)
1901 bindir='${exec_prefix}/bin'
1902 sbindir='${exec_prefix}/sbin'
1903 libexecdir='${exec_prefix}/libexec'
1904 datarootdir='${prefix}/share'
1905 datadir='${datarootdir}'
1906 sysconfdir='${prefix}/etc'
1907 sharedstatedir='${prefix}/com'
1908 localstatedir='${prefix}/var'
1909 runstatedir='${localstatedir}/run'
1910 includedir='${prefix}/include'
1911 oldincludedir='/usr/include'
1912 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1913 infodir='${datarootdir}/info'
1914 htmldir='${docdir}'
1915 dvidir='${docdir}'
1916 pdfdir='${docdir}'
1917 psdir='${docdir}'
1918 libdir='${exec_prefix}/lib'
1919 localedir='${datarootdir}/locale'
1920 mandir='${datarootdir}/man'
1922 ac_prev=
1923 ac_dashdash=
1924 for ac_option
1926 # If the previous option needs an argument, assign it.
1927 if test -n "$ac_prev"; then
1928 eval $ac_prev=\$ac_option
1929 ac_prev=
1930 continue
1933 case $ac_option in
1934 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1935 *=) ac_optarg= ;;
1936 *) ac_optarg=yes ;;
1937 esac
1939 # Accept the important Cygnus configure options, so we can diagnose typos.
1941 case $ac_dashdash$ac_option in
1943 ac_dashdash=yes ;;
1945 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1946 ac_prev=bindir ;;
1947 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1948 bindir=$ac_optarg ;;
1950 -build | --build | --buil | --bui | --bu)
1951 ac_prev=build_alias ;;
1952 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1953 build_alias=$ac_optarg ;;
1955 -cache-file | --cache-file | --cache-fil | --cache-fi \
1956 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1957 ac_prev=cache_file ;;
1958 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1959 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1960 cache_file=$ac_optarg ;;
1962 --config-cache | -C)
1963 cache_file=config.cache ;;
1965 -datadir | --datadir | --datadi | --datad)
1966 ac_prev=datadir ;;
1967 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1968 datadir=$ac_optarg ;;
1970 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1971 | --dataroo | --dataro | --datar)
1972 ac_prev=datarootdir ;;
1973 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1974 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1975 datarootdir=$ac_optarg ;;
1977 -disable-* | --disable-*)
1978 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1979 # Reject names that are not valid shell variable names.
1980 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1981 as_fn_error $? "invalid feature name: $ac_useropt"
1982 ac_useropt_orig=$ac_useropt
1983 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1984 case $ac_user_opts in
1986 "enable_$ac_useropt"
1987 "*) ;;
1988 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1989 ac_unrecognized_sep=', ';;
1990 esac
1991 eval enable_$ac_useropt=no ;;
1993 -docdir | --docdir | --docdi | --doc | --do)
1994 ac_prev=docdir ;;
1995 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1996 docdir=$ac_optarg ;;
1998 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1999 ac_prev=dvidir ;;
2000 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2001 dvidir=$ac_optarg ;;
2003 -enable-* | --enable-*)
2004 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2005 # Reject names that are not valid shell variable names.
2006 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2007 as_fn_error $? "invalid feature name: $ac_useropt"
2008 ac_useropt_orig=$ac_useropt
2009 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2010 case $ac_user_opts in
2012 "enable_$ac_useropt"
2013 "*) ;;
2014 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2015 ac_unrecognized_sep=', ';;
2016 esac
2017 eval enable_$ac_useropt=\$ac_optarg ;;
2019 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2020 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2021 | --exec | --exe | --ex)
2022 ac_prev=exec_prefix ;;
2023 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2024 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2025 | --exec=* | --exe=* | --ex=*)
2026 exec_prefix=$ac_optarg ;;
2028 -gas | --gas | --ga | --g)
2029 # Obsolete; use --with-gas.
2030 with_gas=yes ;;
2032 -help | --help | --hel | --he | -h)
2033 ac_init_help=long ;;
2034 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2035 ac_init_help=recursive ;;
2036 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2037 ac_init_help=short ;;
2039 -host | --host | --hos | --ho)
2040 ac_prev=host_alias ;;
2041 -host=* | --host=* | --hos=* | --ho=*)
2042 host_alias=$ac_optarg ;;
2044 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2045 ac_prev=htmldir ;;
2046 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2047 | --ht=*)
2048 htmldir=$ac_optarg ;;
2050 -includedir | --includedir | --includedi | --included | --include \
2051 | --includ | --inclu | --incl | --inc)
2052 ac_prev=includedir ;;
2053 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2054 | --includ=* | --inclu=* | --incl=* | --inc=*)
2055 includedir=$ac_optarg ;;
2057 -infodir | --infodir | --infodi | --infod | --info | --inf)
2058 ac_prev=infodir ;;
2059 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2060 infodir=$ac_optarg ;;
2062 -libdir | --libdir | --libdi | --libd)
2063 ac_prev=libdir ;;
2064 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2065 libdir=$ac_optarg ;;
2067 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2068 | --libexe | --libex | --libe)
2069 ac_prev=libexecdir ;;
2070 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2071 | --libexe=* | --libex=* | --libe=*)
2072 libexecdir=$ac_optarg ;;
2074 -localedir | --localedir | --localedi | --localed | --locale)
2075 ac_prev=localedir ;;
2076 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2077 localedir=$ac_optarg ;;
2079 -localstatedir | --localstatedir | --localstatedi | --localstated \
2080 | --localstate | --localstat | --localsta | --localst | --locals)
2081 ac_prev=localstatedir ;;
2082 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2083 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2084 localstatedir=$ac_optarg ;;
2086 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2087 ac_prev=mandir ;;
2088 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2089 mandir=$ac_optarg ;;
2091 -nfp | --nfp | --nf)
2092 # Obsolete; use --without-fp.
2093 with_fp=no ;;
2095 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2096 | --no-cr | --no-c | -n)
2097 no_create=yes ;;
2099 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2100 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2101 no_recursion=yes ;;
2103 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2104 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2105 | --oldin | --oldi | --old | --ol | --o)
2106 ac_prev=oldincludedir ;;
2107 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2108 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2109 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2110 oldincludedir=$ac_optarg ;;
2112 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2113 ac_prev=prefix ;;
2114 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2115 prefix=$ac_optarg ;;
2117 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2118 | --program-pre | --program-pr | --program-p)
2119 ac_prev=program_prefix ;;
2120 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2121 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2122 program_prefix=$ac_optarg ;;
2124 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2125 | --program-suf | --program-su | --program-s)
2126 ac_prev=program_suffix ;;
2127 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2128 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2129 program_suffix=$ac_optarg ;;
2131 -program-transform-name | --program-transform-name \
2132 | --program-transform-nam | --program-transform-na \
2133 | --program-transform-n | --program-transform- \
2134 | --program-transform | --program-transfor \
2135 | --program-transfo | --program-transf \
2136 | --program-trans | --program-tran \
2137 | --progr-tra | --program-tr | --program-t)
2138 ac_prev=program_transform_name ;;
2139 -program-transform-name=* | --program-transform-name=* \
2140 | --program-transform-nam=* | --program-transform-na=* \
2141 | --program-transform-n=* | --program-transform-=* \
2142 | --program-transform=* | --program-transfor=* \
2143 | --program-transfo=* | --program-transf=* \
2144 | --program-trans=* | --program-tran=* \
2145 | --progr-tra=* | --program-tr=* | --program-t=*)
2146 program_transform_name=$ac_optarg ;;
2148 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2149 ac_prev=pdfdir ;;
2150 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2151 pdfdir=$ac_optarg ;;
2153 -psdir | --psdir | --psdi | --psd | --ps)
2154 ac_prev=psdir ;;
2155 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2156 psdir=$ac_optarg ;;
2158 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2159 | -silent | --silent | --silen | --sile | --sil)
2160 silent=yes ;;
2162 -runstatedir | --runstatedir | --runstatedi | --runstated \
2163 | --runstate | --runstat | --runsta | --runst | --runs \
2164 | --run | --ru | --r)
2165 ac_prev=runstatedir ;;
2166 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2167 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2168 | --run=* | --ru=* | --r=*)
2169 runstatedir=$ac_optarg ;;
2171 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2172 ac_prev=sbindir ;;
2173 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2174 | --sbi=* | --sb=*)
2175 sbindir=$ac_optarg ;;
2177 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2178 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2179 | --sharedst | --shareds | --shared | --share | --shar \
2180 | --sha | --sh)
2181 ac_prev=sharedstatedir ;;
2182 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2183 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2184 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2185 | --sha=* | --sh=*)
2186 sharedstatedir=$ac_optarg ;;
2188 -site | --site | --sit)
2189 ac_prev=site ;;
2190 -site=* | --site=* | --sit=*)
2191 site=$ac_optarg ;;
2193 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2194 ac_prev=srcdir ;;
2195 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2196 srcdir=$ac_optarg ;;
2198 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2199 | --syscon | --sysco | --sysc | --sys | --sy)
2200 ac_prev=sysconfdir ;;
2201 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2202 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2203 sysconfdir=$ac_optarg ;;
2205 -target | --target | --targe | --targ | --tar | --ta | --t)
2206 ac_prev=target_alias ;;
2207 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2208 target_alias=$ac_optarg ;;
2210 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2211 verbose=yes ;;
2213 -version | --version | --versio | --versi | --vers | -V)
2214 ac_init_version=: ;;
2216 -with-* | --with-*)
2217 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2218 # Reject names that are not valid shell variable names.
2219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2220 as_fn_error $? "invalid package name: $ac_useropt"
2221 ac_useropt_orig=$ac_useropt
2222 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2223 case $ac_user_opts in
2225 "with_$ac_useropt"
2226 "*) ;;
2227 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2228 ac_unrecognized_sep=', ';;
2229 esac
2230 eval with_$ac_useropt=\$ac_optarg ;;
2232 -without-* | --without-*)
2233 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2234 # Reject names that are not valid shell variable names.
2235 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2236 as_fn_error $? "invalid package name: $ac_useropt"
2237 ac_useropt_orig=$ac_useropt
2238 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2239 case $ac_user_opts in
2241 "with_$ac_useropt"
2242 "*) ;;
2243 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2244 ac_unrecognized_sep=', ';;
2245 esac
2246 eval with_$ac_useropt=no ;;
2248 --x)
2249 # Obsolete; use --with-x.
2250 with_x=yes ;;
2252 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2253 | --x-incl | --x-inc | --x-in | --x-i)
2254 ac_prev=x_includes ;;
2255 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2256 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2257 x_includes=$ac_optarg ;;
2259 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2260 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2261 ac_prev=x_libraries ;;
2262 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2263 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2264 x_libraries=$ac_optarg ;;
2266 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2267 Try \`$0 --help' for more information"
2270 *=*)
2271 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2272 # Reject names that are not valid shell variable names.
2273 case $ac_envvar in #(
2274 '' | [0-9]* | *[!_$as_cr_alnum]* )
2275 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2276 esac
2277 eval $ac_envvar=\$ac_optarg
2278 export $ac_envvar ;;
2281 # FIXME: should be removed in autoconf 3.0.
2282 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2283 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2284 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2285 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2288 esac
2289 done
2291 if test -n "$ac_prev"; then
2292 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2293 as_fn_error $? "missing argument to $ac_option"
2296 if test -n "$ac_unrecognized_opts"; then
2297 case $enable_option_checking in
2298 no) ;;
2299 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2300 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2301 esac
2304 # Check all directory arguments for consistency.
2305 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2306 datadir sysconfdir sharedstatedir localstatedir includedir \
2307 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2308 libdir localedir mandir runstatedir
2310 eval ac_val=\$$ac_var
2311 # Remove trailing slashes.
2312 case $ac_val in
2313 */ )
2314 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2315 eval $ac_var=\$ac_val;;
2316 esac
2317 # Be sure to have absolute directory names.
2318 case $ac_val in
2319 [\\/$]* | ?:[\\/]* ) continue;;
2320 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2321 esac
2322 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2323 done
2325 # There might be people who depend on the old broken behavior: `$host'
2326 # used to hold the argument of --host etc.
2327 # FIXME: To remove some day.
2328 build=$build_alias
2329 host=$host_alias
2330 target=$target_alias
2332 # FIXME: To remove some day.
2333 if test "x$host_alias" != x; then
2334 if test "x$build_alias" = x; then
2335 cross_compiling=maybe
2336 elif test "x$build_alias" != "x$host_alias"; then
2337 cross_compiling=yes
2341 ac_tool_prefix=
2342 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2344 test "$silent" = yes && exec 6>/dev/null
2347 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2348 ac_ls_di=`ls -di .` &&
2349 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2350 as_fn_error $? "working directory cannot be determined"
2351 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2352 as_fn_error $? "pwd does not report name of working directory"
2355 # Find the source files, if location was not specified.
2356 if test -z "$srcdir"; then
2357 ac_srcdir_defaulted=yes
2358 # Try the directory containing this script, then the parent directory.
2359 ac_confdir=`$as_dirname -- "$as_myself" ||
2360 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2361 X"$as_myself" : 'X\(//\)[^/]' \| \
2362 X"$as_myself" : 'X\(//\)$' \| \
2363 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2364 $as_echo X"$as_myself" |
2365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2366 s//\1/
2369 /^X\(\/\/\)[^/].*/{
2370 s//\1/
2373 /^X\(\/\/\)$/{
2374 s//\1/
2377 /^X\(\/\).*/{
2378 s//\1/
2381 s/.*/./; q'`
2382 srcdir=$ac_confdir
2383 if test ! -r "$srcdir/$ac_unique_file"; then
2384 srcdir=..
2386 else
2387 ac_srcdir_defaulted=no
2389 if test ! -r "$srcdir/$ac_unique_file"; then
2390 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2391 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2393 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2394 ac_abs_confdir=`(
2395 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2396 pwd)`
2397 # When building in place, set srcdir=.
2398 if test "$ac_abs_confdir" = "$ac_pwd"; then
2399 srcdir=.
2401 # Remove unnecessary trailing slashes from srcdir.
2402 # Double slashes in file names in object file debugging info
2403 # mess up M-x gdb in Emacs.
2404 case $srcdir in
2405 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2406 esac
2407 for ac_var in $ac_precious_vars; do
2408 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2409 eval ac_env_${ac_var}_value=\$${ac_var}
2410 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2411 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2412 done
2415 # Report the --help message.
2417 if test "$ac_init_help" = "long"; then
2418 # Omit some internal or obsolete options to make the list less imposing.
2419 # This message is too long to be a string in the A/UX 3.1 sh.
2420 cat <<_ACEOF
2421 \`configure' configures Wine 4.8 to adapt to many kinds of systems.
2423 Usage: $0 [OPTION]... [VAR=VALUE]...
2425 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2426 VAR=VALUE. See below for descriptions of some of the useful variables.
2428 Defaults for the options are specified in brackets.
2430 Configuration:
2431 -h, --help display this help and exit
2432 --help=short display options specific to this package
2433 --help=recursive display the short help of all the included packages
2434 -V, --version display version information and exit
2435 -q, --quiet, --silent do not print \`checking ...' messages
2436 --cache-file=FILE cache test results in FILE [disabled]
2437 -C, --config-cache alias for \`--cache-file=config.cache'
2438 -n, --no-create do not create output files
2439 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2441 Installation directories:
2442 --prefix=PREFIX install architecture-independent files in PREFIX
2443 [$ac_default_prefix]
2444 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2445 [PREFIX]
2447 By default, \`make install' will install all the files in
2448 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2449 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2450 for instance \`--prefix=\$HOME'.
2452 For better control, use the options below.
2454 Fine tuning of the installation directories:
2455 --bindir=DIR user executables [EPREFIX/bin]
2456 --sbindir=DIR system admin executables [EPREFIX/sbin]
2457 --libexecdir=DIR program executables [EPREFIX/libexec]
2458 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2459 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2460 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2461 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2462 --libdir=DIR object code libraries [EPREFIX/lib]
2463 --includedir=DIR C header files [PREFIX/include]
2464 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2465 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2466 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2467 --infodir=DIR info documentation [DATAROOTDIR/info]
2468 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2469 --mandir=DIR man documentation [DATAROOTDIR/man]
2470 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2471 --htmldir=DIR html documentation [DOCDIR]
2472 --dvidir=DIR dvi documentation [DOCDIR]
2473 --pdfdir=DIR pdf documentation [DOCDIR]
2474 --psdir=DIR ps documentation [DOCDIR]
2475 _ACEOF
2477 cat <<\_ACEOF
2479 X features:
2480 --x-includes=DIR X include files are in DIR
2481 --x-libraries=DIR X library files are in DIR
2483 System types:
2484 --build=BUILD configure for building on BUILD [guessed]
2485 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2486 _ACEOF
2489 if test -n "$ac_init_help"; then
2490 case $ac_init_help in
2491 short | recursive ) echo "Configuration of Wine 4.8:";;
2492 esac
2493 cat <<\_ACEOF
2495 Optional Features:
2496 --disable-option-checking ignore unrecognized --enable/--with options
2497 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2498 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2499 --disable-win16 do not include Win16 support
2500 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2501 binaries)
2502 --disable-tests do not build the regression tests
2503 --enable-maintainer-mode
2504 enable maintainer-specific build rules
2505 --disable-largefile omit support for large files
2507 Optional Packages:
2508 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2509 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2510 --without-alsa do not use the Alsa sound support
2511 --without-capi do not use CAPI (ISDN support)
2512 --without-cms do not use CMS (color management support)
2513 --without-coreaudio do not use the CoreAudio sound support
2514 --without-cups do not use CUPS
2515 --without-curses do not use (n)curses
2516 --without-dbus do not use DBus (dynamic device support)
2517 --without-faudio do not use FAudio (XAudio2 support)
2518 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2519 --without-fontconfig do not use fontconfig
2520 --without-freetype do not use the FreeType library
2521 --without-gettext do not use gettext
2522 --with-gettextpo use the GetTextPO library to rebuild po files
2523 --without-gphoto do not use gphoto (Digital Camera support)
2524 --without-glu do not use the GLU library
2525 --without-gnutls do not use GnuTLS (schannel support)
2526 --without-gsm do not use libgsm (GSM 06.10 codec support)
2527 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2528 --without-gstreamer do not use GStreamer (codecs support)
2529 --without-hal do not use HAL (dynamic device support)
2530 --without-inotify do not use inotify (filesystem change notifications)
2531 --without-jpeg do not use JPEG
2532 --without-krb5 do not use krb5 (Kerberos)
2533 --without-ldap do not use LDAP
2534 --without-mingw do not use the MinGW cross-compiler
2535 --without-mpg123 do not use the mpg123 library
2536 --without-netapi do not use the Samba NetAPI library
2537 --without-openal do not use OpenAL
2538 --without-opencl do not use OpenCL
2539 --without-opengl do not use OpenGL
2540 --without-osmesa do not use the OSMesa library
2541 --without-oss do not use the OSS sound support
2542 --without-pcap do not use the Packet Capture library
2543 --without-png do not use PNG
2544 --without-pthread do not use the pthread library
2545 --without-pulse do not use PulseAudio sound support
2546 --without-sane do not use SANE (scanner support)
2547 --without-sdl do not use SDL
2548 --without-tiff do not use TIFF
2549 --without-udev do not use udev (plug and play support)
2550 --without-v4l2 do not use v4l2 (video capture)
2551 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2552 --without-vulkan do not use Vulkan
2553 --without-xcomposite do not use the Xcomposite extension
2554 --without-xcursor do not use the Xcursor extension
2555 --without-xfixes do not use Xfixes for clipboard change notifications
2556 --without-xinerama do not use Xinerama (multi-monitor support)
2557 --without-xinput do not use the Xinput extension
2558 --without-xinput2 do not use the Xinput 2 extension
2559 --without-xml do not use XML
2560 --without-xrandr do not use Xrandr (resolution changes)
2561 --without-xrender do not use the Xrender extension
2562 --without-xshape do not use the Xshape extension
2563 --without-xshm do not use XShm (shared memory extension)
2564 --without-xslt do not use XSLT
2565 --without-xxf86vm do not use XFree video mode extension
2566 --without-zlib do not use Zlib (data compression)
2567 --with-wine-tools=DIR use Wine tools from directory DIR
2568 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2569 --with-x use the X Window System
2571 Some influential environment variables:
2572 CC C compiler command
2573 CFLAGS C compiler flags
2574 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2575 nonstandard directory <lib dir>
2576 LIBS libraries to pass to the linker, e.g. -l<library>
2577 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2578 you have headers in a nonstandard directory <include dir>
2579 CXX C++ compiler command
2580 CXXFLAGS C++ compiler flags
2581 CPP C preprocessor
2582 OBJC Objective C compiler command
2583 OBJCFLAGS Objective C compiler flags
2584 OBJCPP Objective C preprocessor
2585 XMKMF Path to xmkmf, Makefile generator for X Window System
2586 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2587 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2588 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2589 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2590 INOTIFY_CFLAGS
2591 C compiler flags for libinotify, overriding pkg-config
2592 INOTIFY_LIBS
2593 Linker flags for libinotify, overriding pkg-config
2594 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2595 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2596 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2597 HAL_LIBS Linker flags for hal, overriding pkg-config
2598 GNUTLS_CFLAGS
2599 C compiler flags for gnutls, overriding pkg-config
2600 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2601 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2602 SANE_LIBS Linker flags for libsane, overriding pkg-config
2603 GPHOTO2_CFLAGS
2604 C compiler flags for libgphoto2, overriding pkg-config
2605 GPHOTO2_LIBS
2606 Linker flags for libgphoto2, overriding pkg-config
2607 GPHOTO2_PORT_CFLAGS
2608 C compiler flags for libgphoto2_port, overriding pkg-config
2609 GPHOTO2_PORT_LIBS
2610 Linker flags for libgphoto2_port, overriding pkg-config
2611 LCMS2_CFLAGS
2612 C compiler flags for lcms2, overriding pkg-config
2613 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2614 FREETYPE_CFLAGS
2615 C compiler flags for freetype2, overriding pkg-config
2616 FREETYPE_LIBS
2617 Linker flags for freetype2, overriding pkg-config
2618 PULSE_CFLAGS
2619 C compiler flags for libpulse, overriding pkg-config
2620 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2621 GSTREAMER_CFLAGS
2622 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2623 gstreamer-audio-1.0, overriding pkg-config
2624 GSTREAMER_LIBS
2625 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2626 gstreamer-audio-1.0, overriding pkg-config
2627 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2628 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2629 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2630 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2631 FAUDIO_CFLAGS
2632 C compiler flags for faudio, overriding pkg-config
2633 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2634 CAPI20_CFLAGS
2635 C compiler flags for capi20, overriding pkg-config
2636 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2637 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2638 CUPS_LIBS Linker flags for cups, overriding pkg-config
2639 FONTCONFIG_CFLAGS
2640 C compiler flags for fontconfig, overriding pkg-config
2641 FONTCONFIG_LIBS
2642 Linker flags for fontconfig, overriding pkg-config
2643 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2644 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2645 GSSAPI_CFLAGS
2646 C compiler flags for krb5-gssapi, overriding pkg-config
2647 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2648 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2649 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2650 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2651 PNG_LIBS Linker flags for libpng, overriding pkg-config
2652 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2653 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2654 MPG123_CFLAGS
2655 C compiler flags for libmpg123, overriding pkg-config
2656 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2657 NETAPI_CFLAGS
2658 C compiler flags for netapi, overriding pkg-config
2659 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2660 VKD3D_CFLAGS
2661 C compiler flags for libvkd3d, overriding pkg-config
2662 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2663 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2664 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2666 Use these variables to override the choices made by `configure' or to help
2667 it to find libraries and programs with nonstandard names/locations.
2669 Report bugs to <wine-devel@winehq.org>.
2670 Wine home page: <https://www.winehq.org>.
2671 _ACEOF
2672 ac_status=$?
2675 if test "$ac_init_help" = "recursive"; then
2676 # If there are subdirs, report their specific --help.
2677 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2678 test -d "$ac_dir" ||
2679 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2680 continue
2681 ac_builddir=.
2683 case "$ac_dir" in
2684 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2686 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2687 # A ".." for each directory in $ac_dir_suffix.
2688 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2689 case $ac_top_builddir_sub in
2690 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2691 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2692 esac ;;
2693 esac
2694 ac_abs_top_builddir=$ac_pwd
2695 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2696 # for backward compatibility:
2697 ac_top_builddir=$ac_top_build_prefix
2699 case $srcdir in
2700 .) # We are building in place.
2701 ac_srcdir=.
2702 ac_top_srcdir=$ac_top_builddir_sub
2703 ac_abs_top_srcdir=$ac_pwd ;;
2704 [\\/]* | ?:[\\/]* ) # Absolute name.
2705 ac_srcdir=$srcdir$ac_dir_suffix;
2706 ac_top_srcdir=$srcdir
2707 ac_abs_top_srcdir=$srcdir ;;
2708 *) # Relative name.
2709 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2710 ac_top_srcdir=$ac_top_build_prefix$srcdir
2711 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2712 esac
2713 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2715 cd "$ac_dir" || { ac_status=$?; continue; }
2716 # Check for guested configure.
2717 if test -f "$ac_srcdir/configure.gnu"; then
2718 echo &&
2719 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2720 elif test -f "$ac_srcdir/configure"; then
2721 echo &&
2722 $SHELL "$ac_srcdir/configure" --help=recursive
2723 else
2724 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2725 fi || ac_status=$?
2726 cd "$ac_pwd" || { ac_status=$?; break; }
2727 done
2730 test -n "$ac_init_help" && exit $ac_status
2731 if $ac_init_version; then
2732 cat <<\_ACEOF
2733 Wine configure 4.8
2734 generated by GNU Autoconf 2.69
2736 Copyright (C) 2012 Free Software Foundation, Inc.
2737 This configure script is free software; the Free Software Foundation
2738 gives unlimited permission to copy, distribute and modify it.
2739 _ACEOF
2740 exit
2743 ## ------------------------ ##
2744 ## Autoconf initialization. ##
2745 ## ------------------------ ##
2747 # ac_fn_c_try_compile LINENO
2748 # --------------------------
2749 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2750 ac_fn_c_try_compile ()
2752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2753 rm -f conftest.$ac_objext
2754 if { { ac_try="$ac_compile"
2755 case "(($ac_try" in
2756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757 *) ac_try_echo=$ac_try;;
2758 esac
2759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2760 $as_echo "$ac_try_echo"; } >&5
2761 (eval "$ac_compile") 2>conftest.err
2762 ac_status=$?
2763 if test -s conftest.err; then
2764 grep -v '^ *+' conftest.err >conftest.er1
2765 cat conftest.er1 >&5
2766 mv -f conftest.er1 conftest.err
2768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2769 test $ac_status = 0; } && {
2770 test -z "$ac_c_werror_flag" ||
2771 test ! -s conftest.err
2772 } && test -s conftest.$ac_objext; then :
2773 ac_retval=0
2774 else
2775 $as_echo "$as_me: failed program was:" >&5
2776 sed 's/^/| /' conftest.$ac_ext >&5
2778 ac_retval=1
2780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2781 as_fn_set_status $ac_retval
2783 } # ac_fn_c_try_compile
2785 # ac_fn_cxx_try_compile LINENO
2786 # ----------------------------
2787 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2788 ac_fn_cxx_try_compile ()
2790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2791 rm -f conftest.$ac_objext
2792 if { { ac_try="$ac_compile"
2793 case "(($ac_try" in
2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795 *) ac_try_echo=$ac_try;;
2796 esac
2797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2798 $as_echo "$ac_try_echo"; } >&5
2799 (eval "$ac_compile") 2>conftest.err
2800 ac_status=$?
2801 if test -s conftest.err; then
2802 grep -v '^ *+' conftest.err >conftest.er1
2803 cat conftest.er1 >&5
2804 mv -f conftest.er1 conftest.err
2806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2807 test $ac_status = 0; } && {
2808 test -z "$ac_cxx_werror_flag" ||
2809 test ! -s conftest.err
2810 } && test -s conftest.$ac_objext; then :
2811 ac_retval=0
2812 else
2813 $as_echo "$as_me: failed program was:" >&5
2814 sed 's/^/| /' conftest.$ac_ext >&5
2816 ac_retval=1
2818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2819 as_fn_set_status $ac_retval
2821 } # ac_fn_cxx_try_compile
2823 # ac_fn_c_try_link LINENO
2824 # -----------------------
2825 # Try to link conftest.$ac_ext, and return whether this succeeded.
2826 ac_fn_c_try_link ()
2828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2829 rm -f conftest.$ac_objext conftest$ac_exeext
2830 if { { ac_try="$ac_link"
2831 case "(($ac_try" in
2832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833 *) ac_try_echo=$ac_try;;
2834 esac
2835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2836 $as_echo "$ac_try_echo"; } >&5
2837 (eval "$ac_link") 2>conftest.err
2838 ac_status=$?
2839 if test -s conftest.err; then
2840 grep -v '^ *+' conftest.err >conftest.er1
2841 cat conftest.er1 >&5
2842 mv -f conftest.er1 conftest.err
2844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2845 test $ac_status = 0; } && {
2846 test -z "$ac_c_werror_flag" ||
2847 test ! -s conftest.err
2848 } && test -s conftest$ac_exeext && {
2849 test "$cross_compiling" = yes ||
2850 test -x conftest$ac_exeext
2851 }; then :
2852 ac_retval=0
2853 else
2854 $as_echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.$ac_ext >&5
2857 ac_retval=1
2859 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2860 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2861 # interfere with the next link command; also delete a directory that is
2862 # left behind by Apple's compiler. We do this before executing the actions.
2863 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2865 as_fn_set_status $ac_retval
2867 } # ac_fn_c_try_link
2869 # ac_fn_c_try_cpp LINENO
2870 # ----------------------
2871 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2872 ac_fn_c_try_cpp ()
2874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2875 if { { ac_try="$ac_cpp conftest.$ac_ext"
2876 case "(($ac_try" in
2877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2878 *) ac_try_echo=$ac_try;;
2879 esac
2880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2881 $as_echo "$ac_try_echo"; } >&5
2882 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2883 ac_status=$?
2884 if test -s conftest.err; then
2885 grep -v '^ *+' conftest.err >conftest.er1
2886 cat conftest.er1 >&5
2887 mv -f conftest.er1 conftest.err
2889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2890 test $ac_status = 0; } > conftest.i && {
2891 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2892 test ! -s conftest.err
2893 }; then :
2894 ac_retval=0
2895 else
2896 $as_echo "$as_me: failed program was:" >&5
2897 sed 's/^/| /' conftest.$ac_ext >&5
2899 ac_retval=1
2901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2902 as_fn_set_status $ac_retval
2904 } # ac_fn_c_try_cpp
2906 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2907 # -------------------------------------------------------
2908 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2909 # the include files in INCLUDES and setting the cache variable VAR
2910 # accordingly.
2911 ac_fn_c_check_header_mongrel ()
2913 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2914 if eval \${$3+:} false; then :
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2916 $as_echo_n "checking for $2... " >&6; }
2917 if eval \${$3+:} false; then :
2918 $as_echo_n "(cached) " >&6
2920 eval ac_res=\$$3
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2922 $as_echo "$ac_res" >&6; }
2923 else
2924 # Is the header compilable?
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2926 $as_echo_n "checking $2 usability... " >&6; }
2927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2928 /* end confdefs.h. */
2930 #include <$2>
2931 _ACEOF
2932 if ac_fn_c_try_compile "$LINENO"; then :
2933 ac_header_compiler=yes
2934 else
2935 ac_header_compiler=no
2937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2939 $as_echo "$ac_header_compiler" >&6; }
2941 # Is the header present?
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2943 $as_echo_n "checking $2 presence... " >&6; }
2944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2945 /* end confdefs.h. */
2946 #include <$2>
2947 _ACEOF
2948 if ac_fn_c_try_cpp "$LINENO"; then :
2949 ac_header_preproc=yes
2950 else
2951 ac_header_preproc=no
2953 rm -f conftest.err conftest.i conftest.$ac_ext
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2955 $as_echo "$ac_header_preproc" >&6; }
2957 # So? What about this header?
2958 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2959 yes:no: )
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2961 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2963 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2965 no:yes:* )
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2967 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2969 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2971 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2973 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2975 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2976 ( $as_echo "## ------------------------------------ ##
2977 ## Report this to wine-devel@winehq.org ##
2978 ## ------------------------------------ ##"
2979 ) | sed "s/^/$as_me: WARNING: /" >&2
2981 esac
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2983 $as_echo_n "checking for $2... " >&6; }
2984 if eval \${$3+:} false; then :
2985 $as_echo_n "(cached) " >&6
2986 else
2987 eval "$3=\$ac_header_compiler"
2989 eval ac_res=\$$3
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2991 $as_echo "$ac_res" >&6; }
2993 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2995 } # ac_fn_c_check_header_mongrel
2997 # ac_fn_c_try_run LINENO
2998 # ----------------------
2999 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3000 # that executables *can* be run.
3001 ac_fn_c_try_run ()
3003 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3004 if { { ac_try="$ac_link"
3005 case "(($ac_try" in
3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007 *) ac_try_echo=$ac_try;;
3008 esac
3009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3010 $as_echo "$ac_try_echo"; } >&5
3011 (eval "$ac_link") 2>&5
3012 ac_status=$?
3013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3014 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3015 { { case "(($ac_try" in
3016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3017 *) ac_try_echo=$ac_try;;
3018 esac
3019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3020 $as_echo "$ac_try_echo"; } >&5
3021 (eval "$ac_try") 2>&5
3022 ac_status=$?
3023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3024 test $ac_status = 0; }; }; then :
3025 ac_retval=0
3026 else
3027 $as_echo "$as_me: program exited with status $ac_status" >&5
3028 $as_echo "$as_me: failed program was:" >&5
3029 sed 's/^/| /' conftest.$ac_ext >&5
3031 ac_retval=$ac_status
3033 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3034 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3035 as_fn_set_status $ac_retval
3037 } # ac_fn_c_try_run
3039 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3040 # -------------------------------------------------------
3041 # Tests whether HEADER exists and can be compiled using the include files in
3042 # INCLUDES, setting the cache variable VAR accordingly.
3043 ac_fn_c_check_header_compile ()
3045 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3047 $as_echo_n "checking for $2... " >&6; }
3048 if eval \${$3+:} false; then :
3049 $as_echo_n "(cached) " >&6
3050 else
3051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3052 /* end confdefs.h. */
3054 #include <$2>
3055 _ACEOF
3056 if ac_fn_c_try_compile "$LINENO"; then :
3057 eval "$3=yes"
3058 else
3059 eval "$3=no"
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3063 eval ac_res=\$$3
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3065 $as_echo "$ac_res" >&6; }
3066 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3068 } # ac_fn_c_check_header_compile
3070 # ac_fn_objc_try_compile LINENO
3071 # -----------------------------
3072 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3073 ac_fn_objc_try_compile ()
3075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3076 rm -f conftest.$ac_objext
3077 if { { ac_try="$ac_compile"
3078 case "(($ac_try" in
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3081 esac
3082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3083 $as_echo "$ac_try_echo"; } >&5
3084 (eval "$ac_compile") 2>conftest.err
3085 ac_status=$?
3086 if test -s conftest.err; then
3087 grep -v '^ *+' conftest.err >conftest.er1
3088 cat conftest.er1 >&5
3089 mv -f conftest.er1 conftest.err
3091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3092 test $ac_status = 0; } && {
3093 test -z "$ac_objc_werror_flag" ||
3094 test ! -s conftest.err
3095 } && test -s conftest.$ac_objext; then :
3096 ac_retval=0
3097 else
3098 $as_echo "$as_me: failed program was:" >&5
3099 sed 's/^/| /' conftest.$ac_ext >&5
3101 ac_retval=1
3103 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3104 as_fn_set_status $ac_retval
3106 } # ac_fn_objc_try_compile
3108 # ac_fn_objc_try_cpp LINENO
3109 # -------------------------
3110 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3111 ac_fn_objc_try_cpp ()
3113 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3114 if { { ac_try="$ac_cpp conftest.$ac_ext"
3115 case "(($ac_try" in
3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3118 esac
3119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3120 $as_echo "$ac_try_echo"; } >&5
3121 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3122 ac_status=$?
3123 if test -s conftest.err; then
3124 grep -v '^ *+' conftest.err >conftest.er1
3125 cat conftest.er1 >&5
3126 mv -f conftest.er1 conftest.err
3128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3129 test $ac_status = 0; } > conftest.i && {
3130 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3131 test ! -s conftest.err
3132 }; then :
3133 ac_retval=0
3134 else
3135 $as_echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.$ac_ext >&5
3138 ac_retval=1
3140 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3141 as_fn_set_status $ac_retval
3143 } # ac_fn_objc_try_cpp
3145 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3146 # ----------------------------------------------------------
3147 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3148 # the include files in INCLUDES and setting the cache variable VAR
3149 # accordingly.
3150 ac_fn_objc_check_header_mongrel ()
3152 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3153 if eval \${$3+:} false; then :
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3155 $as_echo_n "checking for $2... " >&6; }
3156 if eval \${$3+:} false; then :
3157 $as_echo_n "(cached) " >&6
3159 eval ac_res=\$$3
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3161 $as_echo "$ac_res" >&6; }
3162 else
3163 # Is the header compilable?
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3165 $as_echo_n "checking $2 usability... " >&6; }
3166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3167 /* end confdefs.h. */
3169 #include <$2>
3170 _ACEOF
3171 if ac_fn_objc_try_compile "$LINENO"; then :
3172 ac_header_compiler=yes
3173 else
3174 ac_header_compiler=no
3176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3178 $as_echo "$ac_header_compiler" >&6; }
3180 # Is the header present?
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3182 $as_echo_n "checking $2 presence... " >&6; }
3183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3184 /* end confdefs.h. */
3185 #include <$2>
3186 _ACEOF
3187 if ac_fn_objc_try_cpp "$LINENO"; then :
3188 ac_header_preproc=yes
3189 else
3190 ac_header_preproc=no
3192 rm -f conftest.err conftest.i conftest.$ac_ext
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3194 $as_echo "$ac_header_preproc" >&6; }
3196 # So? What about this header?
3197 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3198 yes:no: )
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3200 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3202 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3204 no:yes:* )
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3206 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3208 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3210 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3212 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3214 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3215 ( $as_echo "## ------------------------------------ ##
3216 ## Report this to wine-devel@winehq.org ##
3217 ## ------------------------------------ ##"
3218 ) | sed "s/^/$as_me: WARNING: /" >&2
3220 esac
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3222 $as_echo_n "checking for $2... " >&6; }
3223 if eval \${$3+:} false; then :
3224 $as_echo_n "(cached) " >&6
3225 else
3226 eval "$3=\$ac_header_compiler"
3228 eval ac_res=\$$3
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3230 $as_echo "$ac_res" >&6; }
3232 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3234 } # ac_fn_objc_check_header_mongrel
3236 # ac_fn_c_check_func LINENO FUNC VAR
3237 # ----------------------------------
3238 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3239 ac_fn_c_check_func ()
3241 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3243 $as_echo_n "checking for $2... " >&6; }
3244 if eval \${$3+:} false; then :
3245 $as_echo_n "(cached) " >&6
3246 else
3247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h. */
3249 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3251 #define $2 innocuous_$2
3253 /* System header to define __stub macros and hopefully few prototypes,
3254 which can conflict with char $2 (); below.
3255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3256 <limits.h> exists even on freestanding compilers. */
3258 #ifdef __STDC__
3259 # include <limits.h>
3260 #else
3261 # include <assert.h>
3262 #endif
3264 #undef $2
3266 /* Override any GCC internal prototype to avoid an error.
3267 Use char because int might match the return type of a GCC
3268 builtin and then its argument prototype would still apply. */
3269 #ifdef __cplusplus
3270 extern "C"
3271 #endif
3272 char $2 ();
3273 /* The GNU C library defines this for functions which it implements
3274 to always fail with ENOSYS. Some functions are actually named
3275 something starting with __ and the normal name is an alias. */
3276 #if defined __stub_$2 || defined __stub___$2
3277 choke me
3278 #endif
3281 main ()
3283 return $2 ();
3285 return 0;
3287 _ACEOF
3288 if ac_fn_c_try_link "$LINENO"; then :
3289 eval "$3=yes"
3290 else
3291 eval "$3=no"
3293 rm -f core conftest.err conftest.$ac_objext \
3294 conftest$ac_exeext conftest.$ac_ext
3296 eval ac_res=\$$3
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3298 $as_echo "$ac_res" >&6; }
3299 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3301 } # ac_fn_c_check_func
3303 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3304 # ----------------------------------------------------
3305 # Tries to find if the field MEMBER exists in type AGGR, after including
3306 # INCLUDES, setting cache variable VAR accordingly.
3307 ac_fn_c_check_member ()
3309 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3311 $as_echo_n "checking for $2.$3... " >&6; }
3312 if eval \${$4+:} false; then :
3313 $as_echo_n "(cached) " >&6
3314 else
3315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3316 /* end confdefs.h. */
3319 main ()
3321 static $2 ac_aggr;
3322 if (ac_aggr.$3)
3323 return 0;
3325 return 0;
3327 _ACEOF
3328 if ac_fn_c_try_compile "$LINENO"; then :
3329 eval "$4=yes"
3330 else
3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3332 /* end confdefs.h. */
3335 main ()
3337 static $2 ac_aggr;
3338 if (sizeof ac_aggr.$3)
3339 return 0;
3341 return 0;
3343 _ACEOF
3344 if ac_fn_c_try_compile "$LINENO"; then :
3345 eval "$4=yes"
3346 else
3347 eval "$4=no"
3349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3353 eval ac_res=\$$4
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3355 $as_echo "$ac_res" >&6; }
3356 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3358 } # ac_fn_c_check_member
3360 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3361 # -------------------------------------------
3362 # Tests whether TYPE exists after having included INCLUDES, setting cache
3363 # variable VAR accordingly.
3364 ac_fn_c_check_type ()
3366 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3368 $as_echo_n "checking for $2... " >&6; }
3369 if eval \${$3+:} false; then :
3370 $as_echo_n "(cached) " >&6
3371 else
3372 eval "$3=no"
3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h. */
3377 main ()
3379 if (sizeof ($2))
3380 return 0;
3382 return 0;
3384 _ACEOF
3385 if ac_fn_c_try_compile "$LINENO"; then :
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3390 main ()
3392 if (sizeof (($2)))
3393 return 0;
3395 return 0;
3397 _ACEOF
3398 if ac_fn_c_try_compile "$LINENO"; then :
3400 else
3401 eval "$3=yes"
3403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407 eval ac_res=\$$3
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3409 $as_echo "$ac_res" >&6; }
3410 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3412 } # ac_fn_c_check_type
3413 cat >config.log <<_ACEOF
3414 This file contains any messages produced by compilers while
3415 running configure, to aid debugging if configure makes a mistake.
3417 It was created by Wine $as_me 4.8, which was
3418 generated by GNU Autoconf 2.69. Invocation command line was
3420 $ $0 $@
3422 _ACEOF
3423 exec 5>>config.log
3425 cat <<_ASUNAME
3426 ## --------- ##
3427 ## Platform. ##
3428 ## --------- ##
3430 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3431 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3432 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3433 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3434 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3436 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3437 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3439 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3440 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3441 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3442 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3443 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3444 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3445 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3447 _ASUNAME
3449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3450 for as_dir in $PATH
3452 IFS=$as_save_IFS
3453 test -z "$as_dir" && as_dir=.
3454 $as_echo "PATH: $as_dir"
3455 done
3456 IFS=$as_save_IFS
3458 } >&5
3460 cat >&5 <<_ACEOF
3463 ## ----------- ##
3464 ## Core tests. ##
3465 ## ----------- ##
3467 _ACEOF
3470 # Keep a trace of the command line.
3471 # Strip out --no-create and --no-recursion so they do not pile up.
3472 # Strip out --silent because we don't want to record it for future runs.
3473 # Also quote any args containing shell meta-characters.
3474 # Make two passes to allow for proper duplicate-argument suppression.
3475 ac_configure_args=
3476 ac_configure_args0=
3477 ac_configure_args1=
3478 ac_must_keep_next=false
3479 for ac_pass in 1 2
3481 for ac_arg
3483 case $ac_arg in
3484 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3486 | -silent | --silent | --silen | --sile | --sil)
3487 continue ;;
3488 *\'*)
3489 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3490 esac
3491 case $ac_pass in
3492 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3494 as_fn_append ac_configure_args1 " '$ac_arg'"
3495 if test $ac_must_keep_next = true; then
3496 ac_must_keep_next=false # Got value, back to normal.
3497 else
3498 case $ac_arg in
3499 *=* | --config-cache | -C | -disable-* | --disable-* \
3500 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3501 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3502 | -with-* | --with-* | -without-* | --without-* | --x)
3503 case "$ac_configure_args0 " in
3504 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3505 esac
3507 -* ) ac_must_keep_next=true ;;
3508 esac
3510 as_fn_append ac_configure_args " '$ac_arg'"
3512 esac
3513 done
3514 done
3515 { ac_configure_args0=; unset ac_configure_args0;}
3516 { ac_configure_args1=; unset ac_configure_args1;}
3518 # When interrupted or exit'd, cleanup temporary files, and complete
3519 # config.log. We remove comments because anyway the quotes in there
3520 # would cause problems or look ugly.
3521 # WARNING: Use '\'' to represent an apostrophe within the trap.
3522 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3523 trap 'exit_status=$?
3524 # Save into config.log some information that might help in debugging.
3526 echo
3528 $as_echo "## ---------------- ##
3529 ## Cache variables. ##
3530 ## ---------------- ##"
3531 echo
3532 # The following way of writing the cache mishandles newlines in values,
3534 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3535 eval ac_val=\$$ac_var
3536 case $ac_val in #(
3537 *${as_nl}*)
3538 case $ac_var in #(
3539 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3540 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3541 esac
3542 case $ac_var in #(
3543 _ | IFS | as_nl) ;; #(
3544 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3545 *) { eval $ac_var=; unset $ac_var;} ;;
3546 esac ;;
3547 esac
3548 done
3549 (set) 2>&1 |
3550 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3551 *${as_nl}ac_space=\ *)
3552 sed -n \
3553 "s/'\''/'\''\\\\'\'''\''/g;
3554 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3555 ;; #(
3557 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3559 esac |
3560 sort
3562 echo
3564 $as_echo "## ----------------- ##
3565 ## Output variables. ##
3566 ## ----------------- ##"
3567 echo
3568 for ac_var in $ac_subst_vars
3570 eval ac_val=\$$ac_var
3571 case $ac_val in
3572 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3573 esac
3574 $as_echo "$ac_var='\''$ac_val'\''"
3575 done | sort
3576 echo
3578 if test -n "$ac_subst_files"; then
3579 $as_echo "## ------------------- ##
3580 ## File substitutions. ##
3581 ## ------------------- ##"
3582 echo
3583 for ac_var in $ac_subst_files
3585 eval ac_val=\$$ac_var
3586 case $ac_val in
3587 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3588 esac
3589 $as_echo "$ac_var='\''$ac_val'\''"
3590 done | sort
3591 echo
3594 if test -s confdefs.h; then
3595 $as_echo "## ----------- ##
3596 ## confdefs.h. ##
3597 ## ----------- ##"
3598 echo
3599 cat confdefs.h
3600 echo
3602 test "$ac_signal" != 0 &&
3603 $as_echo "$as_me: caught signal $ac_signal"
3604 $as_echo "$as_me: exit $exit_status"
3605 } >&5
3606 rm -f core *.core core.conftest.* &&
3607 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3608 exit $exit_status
3610 for ac_signal in 1 2 13 15; do
3611 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3612 done
3613 ac_signal=0
3615 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3616 rm -f -r conftest* confdefs.h
3618 $as_echo "/* confdefs.h */" > confdefs.h
3620 # Predefined preprocessor variables.
3622 cat >>confdefs.h <<_ACEOF
3623 #define PACKAGE_NAME "$PACKAGE_NAME"
3624 _ACEOF
3626 cat >>confdefs.h <<_ACEOF
3627 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3628 _ACEOF
3630 cat >>confdefs.h <<_ACEOF
3631 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3632 _ACEOF
3634 cat >>confdefs.h <<_ACEOF
3635 #define PACKAGE_STRING "$PACKAGE_STRING"
3636 _ACEOF
3638 cat >>confdefs.h <<_ACEOF
3639 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3640 _ACEOF
3642 cat >>confdefs.h <<_ACEOF
3643 #define PACKAGE_URL "$PACKAGE_URL"
3644 _ACEOF
3647 # Let the site file select an alternate cache file if it wants to.
3648 # Prefer an explicitly selected file to automatically selected ones.
3649 ac_site_file1=NONE
3650 ac_site_file2=NONE
3651 if test -n "$CONFIG_SITE"; then
3652 # We do not want a PATH search for config.site.
3653 case $CONFIG_SITE in #((
3654 -*) ac_site_file1=./$CONFIG_SITE;;
3655 */*) ac_site_file1=$CONFIG_SITE;;
3656 *) ac_site_file1=./$CONFIG_SITE;;
3657 esac
3658 elif test "x$prefix" != xNONE; then
3659 ac_site_file1=$prefix/share/config.site
3660 ac_site_file2=$prefix/etc/config.site
3661 else
3662 ac_site_file1=$ac_default_prefix/share/config.site
3663 ac_site_file2=$ac_default_prefix/etc/config.site
3665 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3667 test "x$ac_site_file" = xNONE && continue
3668 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3670 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3671 sed 's/^/| /' "$ac_site_file" >&5
3672 . "$ac_site_file" \
3673 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3675 as_fn_error $? "failed to load site script $ac_site_file
3676 See \`config.log' for more details" "$LINENO" 5; }
3678 done
3680 if test -r "$cache_file"; then
3681 # Some versions of bash will fail to source /dev/null (special files
3682 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3683 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3685 $as_echo "$as_me: loading cache $cache_file" >&6;}
3686 case $cache_file in
3687 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3688 *) . "./$cache_file";;
3689 esac
3691 else
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3693 $as_echo "$as_me: creating cache $cache_file" >&6;}
3694 >$cache_file
3697 # Check that the precious variables saved in the cache have kept the same
3698 # value.
3699 ac_cache_corrupted=false
3700 for ac_var in $ac_precious_vars; do
3701 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3702 eval ac_new_set=\$ac_env_${ac_var}_set
3703 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3704 eval ac_new_val=\$ac_env_${ac_var}_value
3705 case $ac_old_set,$ac_new_set in
3706 set,)
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3708 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3709 ac_cache_corrupted=: ;;
3710 ,set)
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3712 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3713 ac_cache_corrupted=: ;;
3714 ,);;
3716 if test "x$ac_old_val" != "x$ac_new_val"; then
3717 # differences in whitespace do not lead to failure.
3718 ac_old_val_w=`echo x $ac_old_val`
3719 ac_new_val_w=`echo x $ac_new_val`
3720 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3722 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3723 ac_cache_corrupted=:
3724 else
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3726 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3727 eval $ac_var=\$ac_old_val
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3730 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3732 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3733 fi;;
3734 esac
3735 # Pass precious variables to config.status.
3736 if test "$ac_new_set" = set; then
3737 case $ac_new_val in
3738 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3739 *) ac_arg=$ac_var=$ac_new_val ;;
3740 esac
3741 case " $ac_configure_args " in
3742 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3743 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3744 esac
3746 done
3747 if $ac_cache_corrupted; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3751 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3752 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3754 ## -------------------- ##
3755 ## Main body of script. ##
3756 ## -------------------- ##
3758 ac_ext=c
3759 ac_cpp='$CPP $CPPFLAGS'
3760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3766 ac_config_headers="$ac_config_headers include/config.h"
3768 ac_aux_dir=
3769 for ac_dir in tools "$srcdir"/tools; do
3770 if test -f "$ac_dir/install-sh"; then
3771 ac_aux_dir=$ac_dir
3772 ac_install_sh="$ac_aux_dir/install-sh -c"
3773 break
3774 elif test -f "$ac_dir/install.sh"; then
3775 ac_aux_dir=$ac_dir
3776 ac_install_sh="$ac_aux_dir/install.sh -c"
3777 break
3778 elif test -f "$ac_dir/shtool"; then
3779 ac_aux_dir=$ac_dir
3780 ac_install_sh="$ac_aux_dir/shtool install -c"
3781 break
3783 done
3784 if test -z "$ac_aux_dir"; then
3785 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3788 # These three variables are undocumented and unsupported,
3789 # and are intended to be withdrawn in a future Autoconf release.
3790 # They can cause serious problems if a builder's source tree is in a directory
3791 # whose full name contains unusual characters.
3792 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3793 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3794 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3798 libwine_version="1.0"
3802 # Check whether --enable-win16 was given.
3803 if test "${enable_win16+set}" = set; then :
3804 enableval=$enable_win16;
3807 # Check whether --enable-win64 was given.
3808 if test "${enable_win64+set}" = set; then :
3809 enableval=$enable_win64;
3812 # Check whether --enable-tests was given.
3813 if test "${enable_tests+set}" = set; then :
3814 enableval=$enable_tests;
3817 # Check whether --enable-maintainer-mode was given.
3818 if test "${enable_maintainer_mode+set}" = set; then :
3819 enableval=$enable_maintainer_mode;
3824 # Check whether --with-alsa was given.
3825 if test "${with_alsa+set}" = set; then :
3826 withval=$with_alsa;
3830 # Check whether --with-capi was given.
3831 if test "${with_capi+set}" = set; then :
3832 withval=$with_capi;
3836 # Check whether --with-cms was given.
3837 if test "${with_cms+set}" = set; then :
3838 withval=$with_cms;
3842 # Check whether --with-coreaudio was given.
3843 if test "${with_coreaudio+set}" = set; then :
3844 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3848 # Check whether --with-cups was given.
3849 if test "${with_cups+set}" = set; then :
3850 withval=$with_cups;
3854 # Check whether --with-curses was given.
3855 if test "${with_curses+set}" = set; then :
3856 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3860 # Check whether --with-dbus was given.
3861 if test "${with_dbus+set}" = set; then :
3862 withval=$with_dbus;
3866 # Check whether --with-faudio was given.
3867 if test "${with_faudio+set}" = set; then :
3868 withval=$with_faudio;
3872 # Check whether --with-float-abi was given.
3873 if test "${with_float_abi+set}" = set; then :
3874 withval=$with_float_abi;
3878 # Check whether --with-fontconfig was given.
3879 if test "${with_fontconfig+set}" = set; then :
3880 withval=$with_fontconfig;
3884 # Check whether --with-freetype was given.
3885 if test "${with_freetype+set}" = set; then :
3886 withval=$with_freetype;
3890 # Check whether --with-gettext was given.
3891 if test "${with_gettext+set}" = set; then :
3892 withval=$with_gettext;
3896 # Check whether --with-gettextpo was given.
3897 if test "${with_gettextpo+set}" = set; then :
3898 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3902 # Check whether --with-gphoto was given.
3903 if test "${with_gphoto+set}" = set; then :
3904 withval=$with_gphoto;
3908 # Check whether --with-glu was given.
3909 if test "${with_glu+set}" = set; then :
3910 withval=$with_glu;
3914 # Check whether --with-gnutls was given.
3915 if test "${with_gnutls+set}" = set; then :
3916 withval=$with_gnutls;
3920 # Check whether --with-gsm was given.
3921 if test "${with_gsm+set}" = set; then :
3922 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3926 # Check whether --with-gssapi was given.
3927 if test "${with_gssapi+set}" = set; then :
3928 withval=$with_gssapi;
3932 # Check whether --with-gstreamer was given.
3933 if test "${with_gstreamer+set}" = set; then :
3934 withval=$with_gstreamer;
3938 # Check whether --with-hal was given.
3939 if test "${with_hal+set}" = set; then :
3940 withval=$with_hal;
3944 # Check whether --with-inotify was given.
3945 if test "${with_inotify+set}" = set; then :
3946 withval=$with_inotify;
3950 # Check whether --with-jpeg was given.
3951 if test "${with_jpeg+set}" = set; then :
3952 withval=$with_jpeg;
3956 # Check whether --with-krb5 was given.
3957 if test "${with_krb5+set}" = set; then :
3958 withval=$with_krb5;
3962 # Check whether --with-ldap was given.
3963 if test "${with_ldap+set}" = set; then :
3964 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3968 # Check whether --with-mingw was given.
3969 if test "${with_mingw+set}" = set; then :
3970 withval=$with_mingw;
3974 # Check whether --with-mpg123 was given.
3975 if test "${with_mpg123+set}" = set; then :
3976 withval=$with_mpg123;
3980 # Check whether --with-netapi was given.
3981 if test "${with_netapi+set}" = set; then :
3982 withval=$with_netapi;
3986 # Check whether --with-openal was given.
3987 if test "${with_openal+set}" = set; then :
3988 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3992 # Check whether --with-opencl was given.
3993 if test "${with_opencl+set}" = set; then :
3994 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3998 # Check whether --with-opengl was given.
3999 if test "${with_opengl+set}" = set; then :
4000 withval=$with_opengl;
4004 # Check whether --with-osmesa was given.
4005 if test "${with_osmesa+set}" = set; then :
4006 withval=$with_osmesa;
4010 # Check whether --with-oss was given.
4011 if test "${with_oss+set}" = set; then :
4012 withval=$with_oss;
4016 # Check whether --with-pcap was given.
4017 if test "${with_pcap+set}" = set; then :
4018 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4022 # Check whether --with-png was given.
4023 if test "${with_png+set}" = set; then :
4024 withval=$with_png;
4028 # Check whether --with-pthread was given.
4029 if test "${with_pthread+set}" = set; then :
4030 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4034 # Check whether --with-pulse was given.
4035 if test "${with_pulse+set}" = set; then :
4036 withval=$with_pulse;
4040 # Check whether --with-sane was given.
4041 if test "${with_sane+set}" = set; then :
4042 withval=$with_sane;
4046 # Check whether --with-sdl was given.
4047 if test "${with_sdl+set}" = set; then :
4048 withval=$with_sdl;
4052 # Check whether --with-tiff was given.
4053 if test "${with_tiff+set}" = set; then :
4054 withval=$with_tiff;
4058 # Check whether --with-udev was given.
4059 if test "${with_udev+set}" = set; then :
4060 withval=$with_udev;
4064 # Check whether --with-v4l2 was given.
4065 if test "${with_v4l2+set}" = set; then :
4066 withval=$with_v4l2;
4070 # Check whether --with-vkd3d was given.
4071 if test "${with_vkd3d+set}" = set; then :
4072 withval=$with_vkd3d;
4076 # Check whether --with-vulkan was given.
4077 if test "${with_vulkan+set}" = set; then :
4078 withval=$with_vulkan;
4082 # Check whether --with-xcomposite was given.
4083 if test "${with_xcomposite+set}" = set; then :
4084 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4088 # Check whether --with-xcursor was given.
4089 if test "${with_xcursor+set}" = set; then :
4090 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4094 # Check whether --with-xfixes was given.
4095 if test "${with_xfixes+set}" = set; then :
4096 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4100 # Check whether --with-xinerama was given.
4101 if test "${with_xinerama+set}" = set; then :
4102 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4106 # Check whether --with-xinput was given.
4107 if test "${with_xinput+set}" = set; then :
4108 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4112 # Check whether --with-xinput2 was given.
4113 if test "${with_xinput2+set}" = set; then :
4114 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4118 # Check whether --with-xml was given.
4119 if test "${with_xml+set}" = set; then :
4120 withval=$with_xml;
4124 # Check whether --with-xrandr was given.
4125 if test "${with_xrandr+set}" = set; then :
4126 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4130 # Check whether --with-xrender was given.
4131 if test "${with_xrender+set}" = set; then :
4132 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4136 # Check whether --with-xshape was given.
4137 if test "${with_xshape+set}" = set; then :
4138 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4142 # Check whether --with-xshm was given.
4143 if test "${with_xshm+set}" = set; then :
4144 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4148 # Check whether --with-xslt was given.
4149 if test "${with_xslt+set}" = set; then :
4150 withval=$with_xslt;
4154 # Check whether --with-xxf86vm was given.
4155 if test "${with_xxf86vm+set}" = set; then :
4156 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
4160 # Check whether --with-zlib was given.
4161 if test "${with_zlib+set}" = set; then :
4162 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4167 # Check whether --with-wine-tools was given.
4168 if test "${with_wine_tools+set}" = set; then :
4169 withval=$with_wine_tools;
4173 # Check whether --with-wine64 was given.
4174 if test "${with_wine64+set}" = set; then :
4175 withval=$with_wine64;
4179 # Make sure we can run config.sub.
4180 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4181 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4184 $as_echo_n "checking build system type... " >&6; }
4185 if ${ac_cv_build+:} false; then :
4186 $as_echo_n "(cached) " >&6
4187 else
4188 ac_build_alias=$build_alias
4189 test "x$ac_build_alias" = x &&
4190 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4191 test "x$ac_build_alias" = x &&
4192 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4193 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4194 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4198 $as_echo "$ac_cv_build" >&6; }
4199 case $ac_cv_build in
4200 *-*-*) ;;
4201 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4202 esac
4203 build=$ac_cv_build
4204 ac_save_IFS=$IFS; IFS='-'
4205 set x $ac_cv_build
4206 shift
4207 build_cpu=$1
4208 build_vendor=$2
4209 shift; shift
4210 # Remember, the first character of IFS is used to create $*,
4211 # except with old shells:
4212 build_os=$*
4213 IFS=$ac_save_IFS
4214 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4218 $as_echo_n "checking host system type... " >&6; }
4219 if ${ac_cv_host+:} false; then :
4220 $as_echo_n "(cached) " >&6
4221 else
4222 if test "x$host_alias" = x; then
4223 ac_cv_host=$ac_cv_build
4224 else
4225 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4226 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4231 $as_echo "$ac_cv_host" >&6; }
4232 case $ac_cv_host in
4233 *-*-*) ;;
4234 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4235 esac
4236 host=$ac_cv_host
4237 ac_save_IFS=$IFS; IFS='-'
4238 set x $ac_cv_host
4239 shift
4240 host_cpu=$1
4241 host_vendor=$2
4242 shift; shift
4243 # Remember, the first character of IFS is used to create $*,
4244 # except with old shells:
4245 host_os=$*
4246 IFS=$ac_save_IFS
4247 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4251 case "$srcdir" in
4252 .) ;;
4253 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4254 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4255 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4256 fi ;;
4257 esac
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4261 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4262 set x ${MAKE-make}
4263 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4264 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4265 $as_echo_n "(cached) " >&6
4266 else
4267 cat >conftest.make <<\_ACEOF
4268 SHELL = /bin/sh
4269 all:
4270 @echo '@@@%%%=$(MAKE)=@@@%%%'
4271 _ACEOF
4272 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4273 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4274 *@@@%%%=?*=@@@%%%*)
4275 eval ac_cv_prog_make_${ac_make}_set=yes;;
4277 eval ac_cv_prog_make_${ac_make}_set=no;;
4278 esac
4279 rm -f conftest.make
4281 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4283 $as_echo "yes" >&6; }
4284 SET_MAKE=
4285 else
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4287 $as_echo "no" >&6; }
4288 SET_MAKE="MAKE=${MAKE-make}"
4291 ac_ext=c
4292 ac_cpp='$CPP $CPPFLAGS'
4293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4296 if test -n "$ac_tool_prefix"; then
4297 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4298 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4300 $as_echo_n "checking for $ac_word... " >&6; }
4301 if ${ac_cv_prog_CC+:} false; then :
4302 $as_echo_n "(cached) " >&6
4303 else
4304 if test -n "$CC"; then
4305 ac_cv_prog_CC="$CC" # Let the user override the test.
4306 else
4307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4308 for as_dir in $PATH
4310 IFS=$as_save_IFS
4311 test -z "$as_dir" && as_dir=.
4312 for ac_exec_ext in '' $ac_executable_extensions; do
4313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4314 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4316 break 2
4318 done
4319 done
4320 IFS=$as_save_IFS
4324 CC=$ac_cv_prog_CC
4325 if test -n "$CC"; then
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4327 $as_echo "$CC" >&6; }
4328 else
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4330 $as_echo "no" >&6; }
4335 if test -z "$ac_cv_prog_CC"; then
4336 ac_ct_CC=$CC
4337 # Extract the first word of "gcc", so it can be a program name with args.
4338 set dummy gcc; ac_word=$2
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4340 $as_echo_n "checking for $ac_word... " >&6; }
4341 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4342 $as_echo_n "(cached) " >&6
4343 else
4344 if test -n "$ac_ct_CC"; then
4345 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4346 else
4347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 for as_dir in $PATH
4350 IFS=$as_save_IFS
4351 test -z "$as_dir" && as_dir=.
4352 for ac_exec_ext in '' $ac_executable_extensions; do
4353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4354 ac_cv_prog_ac_ct_CC="gcc"
4355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4356 break 2
4358 done
4359 done
4360 IFS=$as_save_IFS
4364 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4365 if test -n "$ac_ct_CC"; then
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4367 $as_echo "$ac_ct_CC" >&6; }
4368 else
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370 $as_echo "no" >&6; }
4373 if test "x$ac_ct_CC" = x; then
4374 CC=""
4375 else
4376 case $cross_compiling:$ac_tool_warned in
4377 yes:)
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4380 ac_tool_warned=yes ;;
4381 esac
4382 CC=$ac_ct_CC
4384 else
4385 CC="$ac_cv_prog_CC"
4388 if test -z "$CC"; then
4389 if test -n "$ac_tool_prefix"; then
4390 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4391 set dummy ${ac_tool_prefix}cc; ac_word=$2
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393 $as_echo_n "checking for $ac_word... " >&6; }
4394 if ${ac_cv_prog_CC+:} false; then :
4395 $as_echo_n "(cached) " >&6
4396 else
4397 if test -n "$CC"; then
4398 ac_cv_prog_CC="$CC" # Let the user override the test.
4399 else
4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 for as_dir in $PATH
4403 IFS=$as_save_IFS
4404 test -z "$as_dir" && as_dir=.
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_prog_CC="${ac_tool_prefix}cc"
4408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 break 2
4411 done
4412 done
4413 IFS=$as_save_IFS
4417 CC=$ac_cv_prog_CC
4418 if test -n "$CC"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4420 $as_echo "$CC" >&6; }
4421 else
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4429 if test -z "$CC"; then
4430 # Extract the first word of "cc", so it can be a program name with args.
4431 set dummy cc; ac_word=$2
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4433 $as_echo_n "checking for $ac_word... " >&6; }
4434 if ${ac_cv_prog_CC+:} false; then :
4435 $as_echo_n "(cached) " >&6
4436 else
4437 if test -n "$CC"; then
4438 ac_cv_prog_CC="$CC" # Let the user override the test.
4439 else
4440 ac_prog_rejected=no
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $PATH
4444 IFS=$as_save_IFS
4445 test -z "$as_dir" && as_dir=.
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4448 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4449 ac_prog_rejected=yes
4450 continue
4452 ac_cv_prog_CC="cc"
4453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 break 2
4456 done
4457 done
4458 IFS=$as_save_IFS
4460 if test $ac_prog_rejected = yes; then
4461 # We found a bogon in the path, so make sure we never use it.
4462 set dummy $ac_cv_prog_CC
4463 shift
4464 if test $# != 0; then
4465 # We chose a different compiler from the bogus one.
4466 # However, it has the same basename, so the bogon will be chosen
4467 # first if we set CC to just the basename; use the full file name.
4468 shift
4469 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4474 CC=$ac_cv_prog_CC
4475 if test -n "$CC"; then
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4477 $as_echo "$CC" >&6; }
4478 else
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4480 $as_echo "no" >&6; }
4485 if test -z "$CC"; then
4486 if test -n "$ac_tool_prefix"; then
4487 for ac_prog in cl.exe
4489 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4490 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4492 $as_echo_n "checking for $ac_word... " >&6; }
4493 if ${ac_cv_prog_CC+:} false; then :
4494 $as_echo_n "(cached) " >&6
4495 else
4496 if test -n "$CC"; then
4497 ac_cv_prog_CC="$CC" # Let the user override the test.
4498 else
4499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4500 for as_dir in $PATH
4502 IFS=$as_save_IFS
4503 test -z "$as_dir" && as_dir=.
4504 for ac_exec_ext in '' $ac_executable_extensions; do
4505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4506 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4508 break 2
4510 done
4511 done
4512 IFS=$as_save_IFS
4516 CC=$ac_cv_prog_CC
4517 if test -n "$CC"; then
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4519 $as_echo "$CC" >&6; }
4520 else
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522 $as_echo "no" >&6; }
4526 test -n "$CC" && break
4527 done
4529 if test -z "$CC"; then
4530 ac_ct_CC=$CC
4531 for ac_prog in cl.exe
4533 # Extract the first word of "$ac_prog", so it can be a program name with args.
4534 set dummy $ac_prog; ac_word=$2
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4536 $as_echo_n "checking for $ac_word... " >&6; }
4537 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4538 $as_echo_n "(cached) " >&6
4539 else
4540 if test -n "$ac_ct_CC"; then
4541 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4542 else
4543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4544 for as_dir in $PATH
4546 IFS=$as_save_IFS
4547 test -z "$as_dir" && as_dir=.
4548 for ac_exec_ext in '' $ac_executable_extensions; do
4549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4550 ac_cv_prog_ac_ct_CC="$ac_prog"
4551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4552 break 2
4554 done
4555 done
4556 IFS=$as_save_IFS
4560 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4561 if test -n "$ac_ct_CC"; then
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4563 $as_echo "$ac_ct_CC" >&6; }
4564 else
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4566 $as_echo "no" >&6; }
4570 test -n "$ac_ct_CC" && break
4571 done
4573 if test "x$ac_ct_CC" = x; then
4574 CC=""
4575 else
4576 case $cross_compiling:$ac_tool_warned in
4577 yes:)
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4580 ac_tool_warned=yes ;;
4581 esac
4582 CC=$ac_ct_CC
4589 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4591 as_fn_error $? "no acceptable C compiler found in \$PATH
4592 See \`config.log' for more details" "$LINENO" 5; }
4594 # Provide some information about the compiler.
4595 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4596 set X $ac_compile
4597 ac_compiler=$2
4598 for ac_option in --version -v -V -qversion; do
4599 { { ac_try="$ac_compiler $ac_option >&5"
4600 case "(($ac_try" in
4601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4602 *) ac_try_echo=$ac_try;;
4603 esac
4604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4605 $as_echo "$ac_try_echo"; } >&5
4606 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4607 ac_status=$?
4608 if test -s conftest.err; then
4609 sed '10a\
4610 ... rest of stderr output deleted ...
4611 10q' conftest.err >conftest.er1
4612 cat conftest.er1 >&5
4614 rm -f conftest.er1 conftest.err
4615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4616 test $ac_status = 0; }
4617 done
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4623 main ()
4627 return 0;
4629 _ACEOF
4630 ac_clean_files_save=$ac_clean_files
4631 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4632 # Try to create an executable without -o first, disregard a.out.
4633 # It will help us diagnose broken compilers, and finding out an intuition
4634 # of exeext.
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4636 $as_echo_n "checking whether the C compiler works... " >&6; }
4637 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4639 # The possible output files:
4640 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4642 ac_rmfiles=
4643 for ac_file in $ac_files
4645 case $ac_file in
4646 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4647 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4648 esac
4649 done
4650 rm -f $ac_rmfiles
4652 if { { ac_try="$ac_link_default"
4653 case "(($ac_try" in
4654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4655 *) ac_try_echo=$ac_try;;
4656 esac
4657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4658 $as_echo "$ac_try_echo"; } >&5
4659 (eval "$ac_link_default") 2>&5
4660 ac_status=$?
4661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4662 test $ac_status = 0; }; then :
4663 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4664 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4665 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4666 # so that the user can short-circuit this test for compilers unknown to
4667 # Autoconf.
4668 for ac_file in $ac_files ''
4670 test -f "$ac_file" || continue
4671 case $ac_file in
4672 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4674 [ab].out )
4675 # We found the default executable, but exeext='' is most
4676 # certainly right.
4677 break;;
4678 *.* )
4679 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4680 then :; else
4681 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4683 # We set ac_cv_exeext here because the later test for it is not
4684 # safe: cross compilers may not add the suffix if given an `-o'
4685 # argument, so we may need to know it at that point already.
4686 # Even if this section looks crufty: it has the advantage of
4687 # actually working.
4688 break;;
4690 break;;
4691 esac
4692 done
4693 test "$ac_cv_exeext" = no && ac_cv_exeext=
4695 else
4696 ac_file=''
4698 if test -z "$ac_file"; then :
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700 $as_echo "no" >&6; }
4701 $as_echo "$as_me: failed program was:" >&5
4702 sed 's/^/| /' conftest.$ac_ext >&5
4704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4706 as_fn_error 77 "C compiler cannot create executables
4707 See \`config.log' for more details" "$LINENO" 5; }
4708 else
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4710 $as_echo "yes" >&6; }
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4713 $as_echo_n "checking for C compiler default output file name... " >&6; }
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4715 $as_echo "$ac_file" >&6; }
4716 ac_exeext=$ac_cv_exeext
4718 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4719 ac_clean_files=$ac_clean_files_save
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4721 $as_echo_n "checking for suffix of executables... " >&6; }
4722 if { { ac_try="$ac_link"
4723 case "(($ac_try" in
4724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4725 *) ac_try_echo=$ac_try;;
4726 esac
4727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4728 $as_echo "$ac_try_echo"; } >&5
4729 (eval "$ac_link") 2>&5
4730 ac_status=$?
4731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4732 test $ac_status = 0; }; then :
4733 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4734 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4735 # work properly (i.e., refer to `conftest.exe'), while it won't with
4736 # `rm'.
4737 for ac_file in conftest.exe conftest conftest.*; do
4738 test -f "$ac_file" || continue
4739 case $ac_file in
4740 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4741 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4742 break;;
4743 * ) break;;
4744 esac
4745 done
4746 else
4747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4749 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4750 See \`config.log' for more details" "$LINENO" 5; }
4752 rm -f conftest conftest$ac_cv_exeext
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4754 $as_echo "$ac_cv_exeext" >&6; }
4756 rm -f conftest.$ac_ext
4757 EXEEXT=$ac_cv_exeext
4758 ac_exeext=$EXEEXT
4759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4761 #include <stdio.h>
4763 main ()
4765 FILE *f = fopen ("conftest.out", "w");
4766 return ferror (f) || fclose (f) != 0;
4769 return 0;
4771 _ACEOF
4772 ac_clean_files="$ac_clean_files conftest.out"
4773 # Check that the compiler produces executables we can run. If not, either
4774 # the compiler is broken, or we cross compile.
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4776 $as_echo_n "checking whether we are cross compiling... " >&6; }
4777 if test "$cross_compiling" != yes; then
4778 { { ac_try="$ac_link"
4779 case "(($ac_try" in
4780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4781 *) ac_try_echo=$ac_try;;
4782 esac
4783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4784 $as_echo "$ac_try_echo"; } >&5
4785 (eval "$ac_link") 2>&5
4786 ac_status=$?
4787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4788 test $ac_status = 0; }
4789 if { ac_try='./conftest$ac_cv_exeext'
4790 { { case "(($ac_try" in
4791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4792 *) ac_try_echo=$ac_try;;
4793 esac
4794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4795 $as_echo "$ac_try_echo"; } >&5
4796 (eval "$ac_try") 2>&5
4797 ac_status=$?
4798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4799 test $ac_status = 0; }; }; then
4800 cross_compiling=no
4801 else
4802 if test "$cross_compiling" = maybe; then
4803 cross_compiling=yes
4804 else
4805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4807 as_fn_error $? "cannot run C compiled programs.
4808 If you meant to cross compile, use \`--host'.
4809 See \`config.log' for more details" "$LINENO" 5; }
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4814 $as_echo "$cross_compiling" >&6; }
4816 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4817 ac_clean_files=$ac_clean_files_save
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4819 $as_echo_n "checking for suffix of object files... " >&6; }
4820 if ${ac_cv_objext+:} false; then :
4821 $as_echo_n "(cached) " >&6
4822 else
4823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4824 /* end confdefs.h. */
4827 main ()
4831 return 0;
4833 _ACEOF
4834 rm -f conftest.o conftest.obj
4835 if { { ac_try="$ac_compile"
4836 case "(($ac_try" in
4837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4838 *) ac_try_echo=$ac_try;;
4839 esac
4840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4841 $as_echo "$ac_try_echo"; } >&5
4842 (eval "$ac_compile") 2>&5
4843 ac_status=$?
4844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4845 test $ac_status = 0; }; then :
4846 for ac_file in conftest.o conftest.obj conftest.*; do
4847 test -f "$ac_file" || continue;
4848 case $ac_file in
4849 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4850 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4851 break;;
4852 esac
4853 done
4854 else
4855 $as_echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.$ac_ext >&5
4858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4860 as_fn_error $? "cannot compute suffix of object files: cannot compile
4861 See \`config.log' for more details" "$LINENO" 5; }
4863 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4866 $as_echo "$ac_cv_objext" >&6; }
4867 OBJEXT=$ac_cv_objext
4868 ac_objext=$OBJEXT
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4870 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4871 if ${ac_cv_c_compiler_gnu+:} false; then :
4872 $as_echo_n "(cached) " >&6
4873 else
4874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4878 main ()
4880 #ifndef __GNUC__
4881 choke me
4882 #endif
4885 return 0;
4887 _ACEOF
4888 if ac_fn_c_try_compile "$LINENO"; then :
4889 ac_compiler_gnu=yes
4890 else
4891 ac_compiler_gnu=no
4893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4894 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4898 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4899 if test $ac_compiler_gnu = yes; then
4900 GCC=yes
4901 else
4902 GCC=
4904 ac_test_CFLAGS=${CFLAGS+set}
4905 ac_save_CFLAGS=$CFLAGS
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4907 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4908 if ${ac_cv_prog_cc_g+:} false; then :
4909 $as_echo_n "(cached) " >&6
4910 else
4911 ac_save_c_werror_flag=$ac_c_werror_flag
4912 ac_c_werror_flag=yes
4913 ac_cv_prog_cc_g=no
4914 CFLAGS="-g"
4915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4916 /* end confdefs.h. */
4919 main ()
4923 return 0;
4925 _ACEOF
4926 if ac_fn_c_try_compile "$LINENO"; then :
4927 ac_cv_prog_cc_g=yes
4928 else
4929 CFLAGS=""
4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4934 main ()
4938 return 0;
4940 _ACEOF
4941 if ac_fn_c_try_compile "$LINENO"; then :
4943 else
4944 ac_c_werror_flag=$ac_save_c_werror_flag
4945 CFLAGS="-g"
4946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4947 /* end confdefs.h. */
4950 main ()
4954 return 0;
4956 _ACEOF
4957 if ac_fn_c_try_compile "$LINENO"; then :
4958 ac_cv_prog_cc_g=yes
4960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4965 ac_c_werror_flag=$ac_save_c_werror_flag
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4968 $as_echo "$ac_cv_prog_cc_g" >&6; }
4969 if test "$ac_test_CFLAGS" = set; then
4970 CFLAGS=$ac_save_CFLAGS
4971 elif test $ac_cv_prog_cc_g = yes; then
4972 if test "$GCC" = yes; then
4973 CFLAGS="-g -O2"
4974 else
4975 CFLAGS="-g"
4977 else
4978 if test "$GCC" = yes; then
4979 CFLAGS="-O2"
4980 else
4981 CFLAGS=
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4985 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4986 if ${ac_cv_prog_cc_c89+:} false; then :
4987 $as_echo_n "(cached) " >&6
4988 else
4989 ac_cv_prog_cc_c89=no
4990 ac_save_CC=$CC
4991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h. */
4993 #include <stdarg.h>
4994 #include <stdio.h>
4995 struct stat;
4996 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4997 struct buf { int x; };
4998 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4999 static char *e (p, i)
5000 char **p;
5001 int i;
5003 return p[i];
5005 static char *f (char * (*g) (char **, int), char **p, ...)
5007 char *s;
5008 va_list v;
5009 va_start (v,p);
5010 s = g (p, va_arg (v,int));
5011 va_end (v);
5012 return s;
5015 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5016 function prototypes and stuff, but not '\xHH' hex character constants.
5017 These don't provoke an error unfortunately, instead are silently treated
5018 as 'x'. The following induces an error, until -std is added to get
5019 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5020 array size at least. It's necessary to write '\x00'==0 to get something
5021 that's true only with -std. */
5022 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5024 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5025 inside strings and character constants. */
5026 #define FOO(x) 'x'
5027 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5029 int test (int i, double x);
5030 struct s1 {int (*f) (int a);};
5031 struct s2 {int (*f) (double a);};
5032 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5033 int argc;
5034 char **argv;
5036 main ()
5038 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5040 return 0;
5042 _ACEOF
5043 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5044 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5046 CC="$ac_save_CC $ac_arg"
5047 if ac_fn_c_try_compile "$LINENO"; then :
5048 ac_cv_prog_cc_c89=$ac_arg
5050 rm -f core conftest.err conftest.$ac_objext
5051 test "x$ac_cv_prog_cc_c89" != "xno" && break
5052 done
5053 rm -f conftest.$ac_ext
5054 CC=$ac_save_CC
5057 # AC_CACHE_VAL
5058 case "x$ac_cv_prog_cc_c89" in
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5061 $as_echo "none needed" >&6; } ;;
5062 xno)
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5064 $as_echo "unsupported" >&6; } ;;
5066 CC="$CC $ac_cv_prog_cc_c89"
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5068 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5069 esac
5070 if test "x$ac_cv_prog_cc_c89" != xno; then :
5074 ac_ext=c
5075 ac_cpp='$CPP $CPPFLAGS'
5076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5080 ac_ext=cpp
5081 ac_cpp='$CXXCPP $CPPFLAGS'
5082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5085 if test -z "$CXX"; then
5086 if test -n "$CCC"; then
5087 CXX=$CCC
5088 else
5089 if test -n "$ac_tool_prefix"; then
5090 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5092 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5093 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5095 $as_echo_n "checking for $ac_word... " >&6; }
5096 if ${ac_cv_prog_CXX+:} false; then :
5097 $as_echo_n "(cached) " >&6
5098 else
5099 if test -n "$CXX"; then
5100 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5101 else
5102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5103 for as_dir in $PATH
5105 IFS=$as_save_IFS
5106 test -z "$as_dir" && as_dir=.
5107 for ac_exec_ext in '' $ac_executable_extensions; do
5108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5109 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5111 break 2
5113 done
5114 done
5115 IFS=$as_save_IFS
5119 CXX=$ac_cv_prog_CXX
5120 if test -n "$CXX"; then
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5122 $as_echo "$CXX" >&6; }
5123 else
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5125 $as_echo "no" >&6; }
5129 test -n "$CXX" && break
5130 done
5132 if test -z "$CXX"; then
5133 ac_ct_CXX=$CXX
5134 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5136 # Extract the first word of "$ac_prog", so it can be a program name with args.
5137 set dummy $ac_prog; ac_word=$2
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5139 $as_echo_n "checking for $ac_word... " >&6; }
5140 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5141 $as_echo_n "(cached) " >&6
5142 else
5143 if test -n "$ac_ct_CXX"; then
5144 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5145 else
5146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5147 for as_dir in $PATH
5149 IFS=$as_save_IFS
5150 test -z "$as_dir" && as_dir=.
5151 for ac_exec_ext in '' $ac_executable_extensions; do
5152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5153 ac_cv_prog_ac_ct_CXX="$ac_prog"
5154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5155 break 2
5157 done
5158 done
5159 IFS=$as_save_IFS
5163 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5164 if test -n "$ac_ct_CXX"; then
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5166 $as_echo "$ac_ct_CXX" >&6; }
5167 else
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169 $as_echo "no" >&6; }
5173 test -n "$ac_ct_CXX" && break
5174 done
5176 if test "x$ac_ct_CXX" = x; then
5177 CXX="g++"
5178 else
5179 case $cross_compiling:$ac_tool_warned in
5180 yes:)
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5183 ac_tool_warned=yes ;;
5184 esac
5185 CXX=$ac_ct_CXX
5191 # Provide some information about the compiler.
5192 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5193 set X $ac_compile
5194 ac_compiler=$2
5195 for ac_option in --version -v -V -qversion; do
5196 { { ac_try="$ac_compiler $ac_option >&5"
5197 case "(($ac_try" in
5198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5199 *) ac_try_echo=$ac_try;;
5200 esac
5201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5202 $as_echo "$ac_try_echo"; } >&5
5203 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5204 ac_status=$?
5205 if test -s conftest.err; then
5206 sed '10a\
5207 ... rest of stderr output deleted ...
5208 10q' conftest.err >conftest.er1
5209 cat conftest.er1 >&5
5211 rm -f conftest.er1 conftest.err
5212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5213 test $ac_status = 0; }
5214 done
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5217 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5218 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5219 $as_echo_n "(cached) " >&6
5220 else
5221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5222 /* end confdefs.h. */
5225 main ()
5227 #ifndef __GNUC__
5228 choke me
5229 #endif
5232 return 0;
5234 _ACEOF
5235 if ac_fn_cxx_try_compile "$LINENO"; then :
5236 ac_compiler_gnu=yes
5237 else
5238 ac_compiler_gnu=no
5240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5241 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5245 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5246 if test $ac_compiler_gnu = yes; then
5247 GXX=yes
5248 else
5249 GXX=
5251 ac_test_CXXFLAGS=${CXXFLAGS+set}
5252 ac_save_CXXFLAGS=$CXXFLAGS
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5254 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5255 if ${ac_cv_prog_cxx_g+:} false; then :
5256 $as_echo_n "(cached) " >&6
5257 else
5258 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5259 ac_cxx_werror_flag=yes
5260 ac_cv_prog_cxx_g=no
5261 CXXFLAGS="-g"
5262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5263 /* end confdefs.h. */
5266 main ()
5270 return 0;
5272 _ACEOF
5273 if ac_fn_cxx_try_compile "$LINENO"; then :
5274 ac_cv_prog_cxx_g=yes
5275 else
5276 CXXFLAGS=""
5277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5278 /* end confdefs.h. */
5281 main ()
5285 return 0;
5287 _ACEOF
5288 if ac_fn_cxx_try_compile "$LINENO"; then :
5290 else
5291 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5292 CXXFLAGS="-g"
5293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5294 /* end confdefs.h. */
5297 main ()
5301 return 0;
5303 _ACEOF
5304 if ac_fn_cxx_try_compile "$LINENO"; then :
5305 ac_cv_prog_cxx_g=yes
5307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5312 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5315 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5316 if test "$ac_test_CXXFLAGS" = set; then
5317 CXXFLAGS=$ac_save_CXXFLAGS
5318 elif test $ac_cv_prog_cxx_g = yes; then
5319 if test "$GXX" = yes; then
5320 CXXFLAGS="-g -O2"
5321 else
5322 CXXFLAGS="-g"
5324 else
5325 if test "$GXX" = yes; then
5326 CXXFLAGS="-O2"
5327 else
5328 CXXFLAGS=
5331 ac_ext=c
5332 ac_cpp='$CPP $CPPFLAGS'
5333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5337 if test -n "$ac_tool_prefix"; then
5338 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5339 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5341 $as_echo_n "checking for $ac_word... " >&6; }
5342 if ${ac_cv_prog_CPPBIN+:} false; then :
5343 $as_echo_n "(cached) " >&6
5344 else
5345 if test -n "$CPPBIN"; then
5346 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5347 else
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5349 for as_dir in $PATH
5351 IFS=$as_save_IFS
5352 test -z "$as_dir" && as_dir=.
5353 for ac_exec_ext in '' $ac_executable_extensions; do
5354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5355 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5357 break 2
5359 done
5360 done
5361 IFS=$as_save_IFS
5365 CPPBIN=$ac_cv_prog_CPPBIN
5366 if test -n "$CPPBIN"; then
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5368 $as_echo "$CPPBIN" >&6; }
5369 else
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5371 $as_echo "no" >&6; }
5376 if test -z "$ac_cv_prog_CPPBIN"; then
5377 ac_ct_CPPBIN=$CPPBIN
5378 # Extract the first word of "cpp", so it can be a program name with args.
5379 set dummy cpp; ac_word=$2
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5381 $as_echo_n "checking for $ac_word... " >&6; }
5382 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5383 $as_echo_n "(cached) " >&6
5384 else
5385 if test -n "$ac_ct_CPPBIN"; then
5386 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5387 else
5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 for as_dir in $PATH
5391 IFS=$as_save_IFS
5392 test -z "$as_dir" && as_dir=.
5393 for ac_exec_ext in '' $ac_executable_extensions; do
5394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5395 ac_cv_prog_ac_ct_CPPBIN="cpp"
5396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5397 break 2
5399 done
5400 done
5401 IFS=$as_save_IFS
5405 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5406 if test -n "$ac_ct_CPPBIN"; then
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5408 $as_echo "$ac_ct_CPPBIN" >&6; }
5409 else
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5411 $as_echo "no" >&6; }
5414 if test "x$ac_ct_CPPBIN" = x; then
5415 CPPBIN="cpp"
5416 else
5417 case $cross_compiling:$ac_tool_warned in
5418 yes:)
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5421 ac_tool_warned=yes ;;
5422 esac
5423 CPPBIN=$ac_ct_CPPBIN
5425 else
5426 CPPBIN="$ac_cv_prog_CPPBIN"
5430 cat >>confdefs.h <<_ACEOF
5431 #define EXEEXT "$ac_exeext"
5432 _ACEOF
5434 if test -n "$ac_tool_prefix"; then
5435 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5436 set dummy ${ac_tool_prefix}ld; ac_word=$2
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5438 $as_echo_n "checking for $ac_word... " >&6; }
5439 if ${ac_cv_prog_LD+:} false; then :
5440 $as_echo_n "(cached) " >&6
5441 else
5442 if test -n "$LD"; then
5443 ac_cv_prog_LD="$LD" # Let the user override the test.
5444 else
5445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5446 for as_dir in $PATH
5448 IFS=$as_save_IFS
5449 test -z "$as_dir" && as_dir=.
5450 for ac_exec_ext in '' $ac_executable_extensions; do
5451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5452 ac_cv_prog_LD="${ac_tool_prefix}ld"
5453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5454 break 2
5456 done
5457 done
5458 IFS=$as_save_IFS
5462 LD=$ac_cv_prog_LD
5463 if test -n "$LD"; then
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5465 $as_echo "$LD" >&6; }
5466 else
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5468 $as_echo "no" >&6; }
5473 if test -z "$ac_cv_prog_LD"; then
5474 ac_ct_LD=$LD
5475 # Extract the first word of "ld", so it can be a program name with args.
5476 set dummy ld; ac_word=$2
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5480 $as_echo_n "(cached) " >&6
5481 else
5482 if test -n "$ac_ct_LD"; then
5483 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5484 else
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486 for as_dir in $PATH
5488 IFS=$as_save_IFS
5489 test -z "$as_dir" && as_dir=.
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5492 ac_cv_prog_ac_ct_LD="ld"
5493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494 break 2
5496 done
5497 done
5498 IFS=$as_save_IFS
5502 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5503 if test -n "$ac_ct_LD"; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5505 $as_echo "$ac_ct_LD" >&6; }
5506 else
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5511 if test "x$ac_ct_LD" = x; then
5512 LD=""
5513 else
5514 case $cross_compiling:$ac_tool_warned in
5515 yes:)
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5518 ac_tool_warned=yes ;;
5519 esac
5520 LD=$ac_ct_LD
5522 else
5523 LD="$ac_cv_prog_LD"
5527 case $host in
5528 *-darwin*)
5529 with_fontconfig=${with_fontconfig:-no}
5531 *-mingw32*|*-cygwin*)
5532 enable_win16=${enable_win16:-no}
5533 with_mingw=${with_mingw:-no}
5534 CFLAGS="$CFLAGS -D_WIN32"
5536 esac
5538 case $host in
5539 x86_64*|amd64*)
5540 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5541 then
5542 CC="$CC -m32"
5543 CXX="$CXX -m32"
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5546 $as_echo_n "checking whether $CC works... " >&6; }
5547 if ${wine_cv_cc_m32+:} false; then :
5548 $as_echo_n "(cached) " >&6
5549 else
5550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5551 /* end confdefs.h. */
5554 main ()
5558 return 0;
5560 _ACEOF
5561 if ac_fn_c_try_link "$LINENO"; then :
5562 wine_cv_cc_m32=yes
5563 else
5564 wine_cv_cc_m32=no
5566 rm -f core conftest.err conftest.$ac_objext \
5567 conftest$ac_exeext conftest.$ac_ext
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5570 $as_echo "$wine_cv_cc_m32" >&6; }
5571 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5572 host_cpu="i386"
5573 notice_platform="32-bit "
5574 TARGETFLAGS="-m32"
5576 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5577 export PKG_CONFIG_PATH
5578 enable_win16=${enable_win16:-yes}
5579 else
5580 if test "x${GCC}" = "xyes"
5581 then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5583 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5584 if ${wine_cv_builtin_ms_va_list+:} false; then :
5585 $as_echo_n "(cached) " >&6
5586 else
5587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5588 /* end confdefs.h. */
5589 #include <stdarg.h>
5591 main ()
5593 void func(__builtin_ms_va_list *args);
5595 return 0;
5597 _ACEOF
5598 if ac_fn_c_try_compile "$LINENO"; then :
5599 wine_cv_builtin_ms_va_list=yes
5600 else
5601 wine_cv_builtin_ms_va_list=no
5603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5606 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5607 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5609 CC="$CC -m64"
5610 CXX="$CXX -m64"
5611 host_cpu="x86_64"
5612 notice_platform="64-bit "
5613 TARGETFLAGS="-m64"
5617 arm*)
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5619 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5620 if ${wine_cv_thumb+:} false; then :
5621 $as_echo_n "(cached) " >&6
5622 else
5623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5624 /* end confdefs.h. */
5625 int ac_test(int i) { return i; }
5627 main ()
5629 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5631 return 0;
5633 _ACEOF
5634 if ac_fn_c_try_link "$LINENO"; then :
5635 wine_cv_thumb=yes
5636 else
5637 wine_cv_thumb=no
5639 rm -f core conftest.err conftest.$ac_objext \
5640 conftest$ac_exeext conftest.$ac_ext
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5643 $as_echo "$wine_cv_thumb" >&6; }
5644 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5645 case $with_float_abi in
5646 soft|softfp|hard)
5647 float_abi=$with_float_abi ;;
5649 case $host_os in
5650 *eabihf)
5651 float_abi=hard ;;
5653 float_abi=softfp
5654 saved_CFLAGS=$CFLAGS
5655 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5657 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5658 if ${wine_cv_float_abi+:} false; then :
5659 $as_echo_n "(cached) " >&6
5660 else
5661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5662 /* end confdefs.h. */
5665 main ()
5667 asm("vmrs r2,fpscr");
5669 return 0;
5671 _ACEOF
5672 if ac_fn_c_try_link "$LINENO"; then :
5673 wine_cv_float_abi=yes
5674 else
5675 wine_cv_float_abi=no
5677 rm -f core conftest.err conftest.$ac_objext \
5678 conftest$ac_exeext conftest.$ac_ext
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5681 $as_echo "$wine_cv_float_abi" >&6; }
5682 if test $wine_cv_float_abi = no
5683 then
5684 float_abi=soft
5685 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5687 CFLAGS=$saved_CFLAGS
5688 esac
5690 esac
5691 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5692 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5695 aarch64*)
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5697 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5698 if ${wine_cv_builtin_ms_va_list+:} false; then :
5699 $as_echo_n "(cached) " >&6
5700 else
5701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5702 /* end confdefs.h. */
5703 #include <stdarg.h>
5705 main ()
5707 void func(__builtin_ms_va_list *args);
5709 return 0;
5711 _ACEOF
5712 if ac_fn_c_try_compile "$LINENO"; then :
5713 wine_cv_builtin_ms_va_list=yes
5714 else
5715 wine_cv_builtin_ms_va_list=no
5717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5720 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5721 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5723 i[3456789]86*)
5724 enable_win16=${enable_win16:-yes}
5726 esac
5728 enable_win16=${enable_win16:-no}
5729 enable_win64=${enable_win64:-no}
5731 enable_winetest=${enable_winetest:-$enable_tests}
5733 if test "x$enable_win64" = "xyes"
5734 then
5735 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5736 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5737 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5741 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5742 if ${wine_cv_toolsdir+:} false; then :
5743 $as_echo_n "(cached) " >&6
5744 else
5745 wine_cv_toolsdir="$with_wine_tools"
5746 if test -z "$with_wine_tools"; then
5747 if test "$cross_compiling" = "yes"; then
5748 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5749 elif test -n "$with_wine64"; then
5750 wine_cv_toolsdir="$with_wine64"
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5755 $as_echo "$wine_cv_toolsdir" >&6; }
5756 if test -z "$wine_cv_toolsdir"; then
5757 wine_makedep=tools/makedep
5758 TOOLSDIR="\$(top_builddir)"
5760 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5761 wine_makedep=$wine_cv_toolsdir/tools/makedep
5762 case "$wine_cv_toolsdir" in
5763 /*) TOOLSDIR=$wine_cv_toolsdir
5765 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5767 esac
5768 enable_tools=${enable_tools:-no}
5769 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5770 else
5771 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5773 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5774 then
5775 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5779 for ac_prog in flex
5781 # Extract the first word of "$ac_prog", so it can be a program name with args.
5782 set dummy $ac_prog; ac_word=$2
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5784 $as_echo_n "checking for $ac_word... " >&6; }
5785 if ${ac_cv_prog_FLEX+:} false; then :
5786 $as_echo_n "(cached) " >&6
5787 else
5788 if test -n "$FLEX"; then
5789 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5790 else
5791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792 for as_dir in $PATH
5794 IFS=$as_save_IFS
5795 test -z "$as_dir" && as_dir=.
5796 for ac_exec_ext in '' $ac_executable_extensions; do
5797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5798 ac_cv_prog_FLEX="$ac_prog"
5799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5800 break 2
5802 done
5803 done
5804 IFS=$as_save_IFS
5808 FLEX=$ac_cv_prog_FLEX
5809 if test -n "$FLEX"; then
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5811 $as_echo "$FLEX" >&6; }
5812 else
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5814 $as_echo "no" >&6; }
5818 test -n "$FLEX" && break
5819 done
5820 test -n "$FLEX" || FLEX="none"
5822 if test "$FLEX" = "none"
5823 then
5824 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5827 $as_echo_n "checking whether flex is recent enough... " >&6; }
5828 if ${wine_cv_recent_flex+:} false; then :
5829 $as_echo_n "(cached) " >&6
5830 else
5831 cat >conftest.l <<EOF
5832 %top{
5833 #include "prediluvian.h"
5837 if $FLEX -t conftest.l >/dev/null 2>&5
5838 then
5839 wine_cv_recent_flex=yes
5840 else
5841 wine_cv_recent_flex=no
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5845 $as_echo "$wine_cv_recent_flex" >&6; }
5846 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5848 for ac_prog in bison
5850 # Extract the first word of "$ac_prog", so it can be a program name with args.
5851 set dummy $ac_prog; ac_word=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853 $as_echo_n "checking for $ac_word... " >&6; }
5854 if ${ac_cv_prog_BISON+:} false; then :
5855 $as_echo_n "(cached) " >&6
5856 else
5857 if test -n "$BISON"; then
5858 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5859 else
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5861 for as_dir in $PATH
5863 IFS=$as_save_IFS
5864 test -z "$as_dir" && as_dir=.
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5867 ac_cv_prog_BISON="$ac_prog"
5868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5869 break 2
5871 done
5872 done
5873 IFS=$as_save_IFS
5877 BISON=$ac_cv_prog_BISON
5878 if test -n "$BISON"; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5880 $as_echo "$BISON" >&6; }
5881 else
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5887 test -n "$BISON" && break
5888 done
5889 test -n "$BISON" || BISON="none"
5891 if test "$BISON" = "none"
5892 then
5893 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5896 $as_echo_n "checking whether bison is recent enough... " >&6; }
5897 if ${wine_cv_recent_bison+:} false; then :
5898 $as_echo_n "(cached) " >&6
5899 else
5900 cat >conftest.y <<EOF
5901 %define parse.error verbose
5903 empty: ;
5905 if $BISON conftest.y >/dev/null 2>&5
5906 then
5907 wine_cv_recent_bison=yes
5908 else
5909 wine_cv_recent_bison=no
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5913 $as_echo "$wine_cv_recent_bison" >&6; }
5914 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
5916 if test -n "$ac_tool_prefix"; then
5917 for ac_prog in ar gar
5919 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5920 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5922 $as_echo_n "checking for $ac_word... " >&6; }
5923 if ${ac_cv_prog_AR+:} false; then :
5924 $as_echo_n "(cached) " >&6
5925 else
5926 if test -n "$AR"; then
5927 ac_cv_prog_AR="$AR" # Let the user override the test.
5928 else
5929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5930 for as_dir in $PATH
5932 IFS=$as_save_IFS
5933 test -z "$as_dir" && as_dir=.
5934 for ac_exec_ext in '' $ac_executable_extensions; do
5935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5936 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5938 break 2
5940 done
5941 done
5942 IFS=$as_save_IFS
5946 AR=$ac_cv_prog_AR
5947 if test -n "$AR"; then
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5949 $as_echo "$AR" >&6; }
5950 else
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5952 $as_echo "no" >&6; }
5956 test -n "$AR" && break
5957 done
5959 if test -z "$AR"; then
5960 ac_ct_AR=$AR
5961 for ac_prog in ar gar
5963 # Extract the first word of "$ac_prog", so it can be a program name with args.
5964 set dummy $ac_prog; ac_word=$2
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5966 $as_echo_n "checking for $ac_word... " >&6; }
5967 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5968 $as_echo_n "(cached) " >&6
5969 else
5970 if test -n "$ac_ct_AR"; then
5971 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5972 else
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 for as_dir in $PATH
5976 IFS=$as_save_IFS
5977 test -z "$as_dir" && as_dir=.
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5980 ac_cv_prog_ac_ct_AR="$ac_prog"
5981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5982 break 2
5984 done
5985 done
5986 IFS=$as_save_IFS
5990 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5991 if test -n "$ac_ct_AR"; then
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5993 $as_echo "$ac_ct_AR" >&6; }
5994 else
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5996 $as_echo "no" >&6; }
6000 test -n "$ac_ct_AR" && break
6001 done
6003 if test "x$ac_ct_AR" = x; then
6004 AR="ar"
6005 else
6006 case $cross_compiling:$ac_tool_warned in
6007 yes:)
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6010 ac_tool_warned=yes ;;
6011 esac
6012 AR=$ac_ct_AR
6016 if test -n "$ac_tool_prefix"; then
6017 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6018 set dummy ${ac_tool_prefix}strip; ac_word=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 $as_echo_n "checking for $ac_word... " >&6; }
6021 if ${ac_cv_prog_STRIP+:} false; then :
6022 $as_echo_n "(cached) " >&6
6023 else
6024 if test -n "$STRIP"; then
6025 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6026 else
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 for as_dir in $PATH
6030 IFS=$as_save_IFS
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 break 2
6038 done
6039 done
6040 IFS=$as_save_IFS
6044 STRIP=$ac_cv_prog_STRIP
6045 if test -n "$STRIP"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6047 $as_echo "$STRIP" >&6; }
6048 else
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 $as_echo "no" >&6; }
6055 if test -z "$ac_cv_prog_STRIP"; then
6056 ac_ct_STRIP=$STRIP
6057 # Extract the first word of "strip", so it can be a program name with args.
6058 set dummy strip; ac_word=$2
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 $as_echo_n "checking for $ac_word... " >&6; }
6061 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6062 $as_echo_n "(cached) " >&6
6063 else
6064 if test -n "$ac_ct_STRIP"; then
6065 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6066 else
6067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6068 for as_dir in $PATH
6070 IFS=$as_save_IFS
6071 test -z "$as_dir" && as_dir=.
6072 for ac_exec_ext in '' $ac_executable_extensions; do
6073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6074 ac_cv_prog_ac_ct_STRIP="strip"
6075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6076 break 2
6078 done
6079 done
6080 IFS=$as_save_IFS
6084 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6085 if test -n "$ac_ct_STRIP"; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6087 $as_echo "$ac_ct_STRIP" >&6; }
6088 else
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6093 if test "x$ac_ct_STRIP" = x; then
6094 STRIP="strip"
6095 else
6096 case $cross_compiling:$ac_tool_warned in
6097 yes:)
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6100 ac_tool_warned=yes ;;
6101 esac
6102 STRIP=$ac_ct_STRIP
6104 else
6105 STRIP="$ac_cv_prog_STRIP"
6108 if test -n "$ac_tool_prefix"; then
6109 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6110 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6112 $as_echo_n "checking for $ac_word... " >&6; }
6113 if ${ac_cv_prog_RANLIB+:} false; then :
6114 $as_echo_n "(cached) " >&6
6115 else
6116 if test -n "$RANLIB"; then
6117 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6118 else
6119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6120 for as_dir in $PATH
6122 IFS=$as_save_IFS
6123 test -z "$as_dir" && as_dir=.
6124 for ac_exec_ext in '' $ac_executable_extensions; do
6125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6126 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6128 break 2
6130 done
6131 done
6132 IFS=$as_save_IFS
6136 RANLIB=$ac_cv_prog_RANLIB
6137 if test -n "$RANLIB"; then
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6139 $as_echo "$RANLIB" >&6; }
6140 else
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6142 $as_echo "no" >&6; }
6147 if test -z "$ac_cv_prog_RANLIB"; then
6148 ac_ct_RANLIB=$RANLIB
6149 # Extract the first word of "ranlib", so it can be a program name with args.
6150 set dummy ranlib; ac_word=$2
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6152 $as_echo_n "checking for $ac_word... " >&6; }
6153 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6154 $as_echo_n "(cached) " >&6
6155 else
6156 if test -n "$ac_ct_RANLIB"; then
6157 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6158 else
6159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6160 for as_dir in $PATH
6162 IFS=$as_save_IFS
6163 test -z "$as_dir" && as_dir=.
6164 for ac_exec_ext in '' $ac_executable_extensions; do
6165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6166 ac_cv_prog_ac_ct_RANLIB="ranlib"
6167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6168 break 2
6170 done
6171 done
6172 IFS=$as_save_IFS
6176 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6177 if test -n "$ac_ct_RANLIB"; then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6179 $as_echo "$ac_ct_RANLIB" >&6; }
6180 else
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6182 $as_echo "no" >&6; }
6185 if test "x$ac_ct_RANLIB" = x; then
6186 RANLIB=":"
6187 else
6188 case $cross_compiling:$ac_tool_warned in
6189 yes:)
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6192 ac_tool_warned=yes ;;
6193 esac
6194 RANLIB=$ac_ct_RANLIB
6196 else
6197 RANLIB="$ac_cv_prog_RANLIB"
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6201 $as_echo_n "checking whether ln -s works... " >&6; }
6202 LN_S=$as_ln_s
6203 if test "$LN_S" = "ln -s"; then
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6205 $as_echo "yes" >&6; }
6206 else
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6208 $as_echo "no, using $LN_S" >&6; }
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6212 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6213 if ${ac_cv_path_GREP+:} false; then :
6214 $as_echo_n "(cached) " >&6
6215 else
6216 if test -z "$GREP"; then
6217 ac_path_GREP_found=false
6218 # Loop through the user's path and test for each of PROGNAME-LIST
6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6222 IFS=$as_save_IFS
6223 test -z "$as_dir" && as_dir=.
6224 for ac_prog in grep ggrep; do
6225 for ac_exec_ext in '' $ac_executable_extensions; do
6226 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6227 as_fn_executable_p "$ac_path_GREP" || continue
6228 # Check for GNU ac_path_GREP and select it if it is found.
6229 # Check for GNU $ac_path_GREP
6230 case `"$ac_path_GREP" --version 2>&1` in
6231 *GNU*)
6232 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6234 ac_count=0
6235 $as_echo_n 0123456789 >"conftest.in"
6236 while :
6238 cat "conftest.in" "conftest.in" >"conftest.tmp"
6239 mv "conftest.tmp" "conftest.in"
6240 cp "conftest.in" "conftest.nl"
6241 $as_echo 'GREP' >> "conftest.nl"
6242 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6243 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6244 as_fn_arith $ac_count + 1 && ac_count=$as_val
6245 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6246 # Best one so far, save it but keep looking for a better one
6247 ac_cv_path_GREP="$ac_path_GREP"
6248 ac_path_GREP_max=$ac_count
6250 # 10*(2^10) chars as input seems more than enough
6251 test $ac_count -gt 10 && break
6252 done
6253 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6254 esac
6256 $ac_path_GREP_found && break 3
6257 done
6258 done
6259 done
6260 IFS=$as_save_IFS
6261 if test -z "$ac_cv_path_GREP"; then
6262 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6264 else
6265 ac_cv_path_GREP=$GREP
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6270 $as_echo "$ac_cv_path_GREP" >&6; }
6271 GREP="$ac_cv_path_GREP"
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6275 $as_echo_n "checking for egrep... " >&6; }
6276 if ${ac_cv_path_EGREP+:} false; then :
6277 $as_echo_n "(cached) " >&6
6278 else
6279 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6280 then ac_cv_path_EGREP="$GREP -E"
6281 else
6282 if test -z "$EGREP"; then
6283 ac_path_EGREP_found=false
6284 # Loop through the user's path and test for each of PROGNAME-LIST
6285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6286 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6288 IFS=$as_save_IFS
6289 test -z "$as_dir" && as_dir=.
6290 for ac_prog in egrep; do
6291 for ac_exec_ext in '' $ac_executable_extensions; do
6292 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6293 as_fn_executable_p "$ac_path_EGREP" || continue
6294 # Check for GNU ac_path_EGREP and select it if it is found.
6295 # Check for GNU $ac_path_EGREP
6296 case `"$ac_path_EGREP" --version 2>&1` in
6297 *GNU*)
6298 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6300 ac_count=0
6301 $as_echo_n 0123456789 >"conftest.in"
6302 while :
6304 cat "conftest.in" "conftest.in" >"conftest.tmp"
6305 mv "conftest.tmp" "conftest.in"
6306 cp "conftest.in" "conftest.nl"
6307 $as_echo 'EGREP' >> "conftest.nl"
6308 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6309 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6310 as_fn_arith $ac_count + 1 && ac_count=$as_val
6311 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6312 # Best one so far, save it but keep looking for a better one
6313 ac_cv_path_EGREP="$ac_path_EGREP"
6314 ac_path_EGREP_max=$ac_count
6316 # 10*(2^10) chars as input seems more than enough
6317 test $ac_count -gt 10 && break
6318 done
6319 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6320 esac
6322 $ac_path_EGREP_found && break 3
6323 done
6324 done
6325 done
6326 IFS=$as_save_IFS
6327 if test -z "$ac_cv_path_EGREP"; then
6328 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6330 else
6331 ac_cv_path_EGREP=$EGREP
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6337 $as_echo "$ac_cv_path_EGREP" >&6; }
6338 EGREP="$ac_cv_path_EGREP"
6341 # Extract the first word of "ldconfig", so it can be a program name with args.
6342 set dummy ldconfig; ac_word=$2
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6344 $as_echo_n "checking for $ac_word... " >&6; }
6345 if ${ac_cv_path_LDCONFIG+:} false; then :
6346 $as_echo_n "(cached) " >&6
6347 else
6348 case $LDCONFIG in
6349 [\\/]* | ?:[\\/]*)
6350 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6354 for as_dir in /sbin /usr/sbin $PATH
6356 IFS=$as_save_IFS
6357 test -z "$as_dir" && as_dir=.
6358 for ac_exec_ext in '' $ac_executable_extensions; do
6359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6360 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6362 break 2
6364 done
6365 done
6366 IFS=$as_save_IFS
6368 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6370 esac
6372 LDCONFIG=$ac_cv_path_LDCONFIG
6373 if test -n "$LDCONFIG"; then
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6375 $as_echo "$LDCONFIG" >&6; }
6376 else
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6378 $as_echo "no" >&6; }
6382 for ac_prog in msgfmt
6384 # Extract the first word of "$ac_prog", so it can be a program name with args.
6385 set dummy $ac_prog; ac_word=$2
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6387 $as_echo_n "checking for $ac_word... " >&6; }
6388 if ${ac_cv_prog_MSGFMT+:} false; then :
6389 $as_echo_n "(cached) " >&6
6390 else
6391 if test -n "$MSGFMT"; then
6392 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6393 else
6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6395 for as_dir in $PATH
6397 IFS=$as_save_IFS
6398 test -z "$as_dir" && as_dir=.
6399 for ac_exec_ext in '' $ac_executable_extensions; do
6400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6401 ac_cv_prog_MSGFMT="$ac_prog"
6402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6403 break 2
6405 done
6406 done
6407 IFS=$as_save_IFS
6411 MSGFMT=$ac_cv_prog_MSGFMT
6412 if test -n "$MSGFMT"; then
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6414 $as_echo "$MSGFMT" >&6; }
6415 else
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6417 $as_echo "no" >&6; }
6421 test -n "$MSGFMT" && break
6422 done
6423 test -n "$MSGFMT" || MSGFMT="false"
6425 if ${ac_tool_prefix+:} false; then :
6426 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6427 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429 $as_echo_n "checking for $ac_word... " >&6; }
6430 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6431 $as_echo_n "(cached) " >&6
6432 else
6433 if test -n "$PKG_CONFIG"; then
6434 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6435 else
6436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 for as_dir in $PATH
6439 IFS=$as_save_IFS
6440 test -z "$as_dir" && as_dir=.
6441 for ac_exec_ext in '' $ac_executable_extensions; do
6442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6443 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445 break 2
6447 done
6448 done
6449 IFS=$as_save_IFS
6453 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6454 if test -n "$PKG_CONFIG"; then
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6456 $as_echo "$PKG_CONFIG" >&6; }
6457 else
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6459 $as_echo "no" >&6; }
6464 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6465 if test "x$cross_compiling" = xyes; then :
6467 else
6468 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6469 # Extract the first word of "pkg-config", so it can be a program name with args.
6470 set dummy pkg-config; ac_word=$2
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6472 $as_echo_n "checking for $ac_word... " >&6; }
6473 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6474 $as_echo_n "(cached) " >&6
6475 else
6476 if test -n "$PKG_CONFIG"; then
6477 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6478 else
6479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6480 for as_dir in $PATH
6482 IFS=$as_save_IFS
6483 test -z "$as_dir" && as_dir=.
6484 for ac_exec_ext in '' $ac_executable_extensions; do
6485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6486 ac_cv_prog_PKG_CONFIG="pkg-config"
6487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6488 break 2
6490 done
6491 done
6492 IFS=$as_save_IFS
6496 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6497 if test -n "$PKG_CONFIG"; then
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6499 $as_echo "$PKG_CONFIG" >&6; }
6500 else
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6502 $as_echo "no" >&6; }
6507 else
6508 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6511 if test "x$enable_maintainer_mode" != "xyes"
6512 then
6513 FONTFORGE=""
6514 RSVG=""
6515 CONVERT=""
6516 ICOTOOL=""
6517 else
6518 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6519 for ac_prog in fontforge
6521 # Extract the first word of "$ac_prog", so it can be a program name with args.
6522 set dummy $ac_prog; ac_word=$2
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6524 $as_echo_n "checking for $ac_word... " >&6; }
6525 if ${ac_cv_prog_FONTFORGE+:} false; then :
6526 $as_echo_n "(cached) " >&6
6527 else
6528 if test -n "$FONTFORGE"; then
6529 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6530 else
6531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6532 for as_dir in $PATH
6534 IFS=$as_save_IFS
6535 test -z "$as_dir" && as_dir=.
6536 for ac_exec_ext in '' $ac_executable_extensions; do
6537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6538 ac_cv_prog_FONTFORGE="$ac_prog"
6539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6540 break 2
6542 done
6543 done
6544 IFS=$as_save_IFS
6548 FONTFORGE=$ac_cv_prog_FONTFORGE
6549 if test -n "$FONTFORGE"; then
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6551 $as_echo "$FONTFORGE" >&6; }
6552 else
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6554 $as_echo "no" >&6; }
6558 test -n "$FONTFORGE" && break
6559 done
6560 test -n "$FONTFORGE" || FONTFORGE="false"
6562 for ac_prog in rsvg-convert rsvg
6564 # Extract the first word of "$ac_prog", so it can be a program name with args.
6565 set dummy $ac_prog; ac_word=$2
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6567 $as_echo_n "checking for $ac_word... " >&6; }
6568 if ${ac_cv_prog_RSVG+:} false; then :
6569 $as_echo_n "(cached) " >&6
6570 else
6571 if test -n "$RSVG"; then
6572 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6573 else
6574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6575 for as_dir in $PATH
6577 IFS=$as_save_IFS
6578 test -z "$as_dir" && as_dir=.
6579 for ac_exec_ext in '' $ac_executable_extensions; do
6580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6581 ac_cv_prog_RSVG="$ac_prog"
6582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6583 break 2
6585 done
6586 done
6587 IFS=$as_save_IFS
6591 RSVG=$ac_cv_prog_RSVG
6592 if test -n "$RSVG"; then
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6594 $as_echo "$RSVG" >&6; }
6595 else
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6597 $as_echo "no" >&6; }
6601 test -n "$RSVG" && break
6602 done
6603 test -n "$RSVG" || RSVG="false"
6605 for ac_prog in convert
6607 # Extract the first word of "$ac_prog", so it can be a program name with args.
6608 set dummy $ac_prog; ac_word=$2
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6610 $as_echo_n "checking for $ac_word... " >&6; }
6611 if ${ac_cv_prog_CONVERT+:} false; then :
6612 $as_echo_n "(cached) " >&6
6613 else
6614 if test -n "$CONVERT"; then
6615 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6616 else
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 for as_dir in $PATH
6620 IFS=$as_save_IFS
6621 test -z "$as_dir" && as_dir=.
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6624 ac_cv_prog_CONVERT="$ac_prog"
6625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6626 break 2
6628 done
6629 done
6630 IFS=$as_save_IFS
6634 CONVERT=$ac_cv_prog_CONVERT
6635 if test -n "$CONVERT"; then
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6637 $as_echo "$CONVERT" >&6; }
6638 else
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6640 $as_echo "no" >&6; }
6644 test -n "$CONVERT" && break
6645 done
6646 test -n "$CONVERT" || CONVERT="false"
6648 for ac_prog in icotool
6650 # Extract the first word of "$ac_prog", so it can be a program name with args.
6651 set dummy $ac_prog; ac_word=$2
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6653 $as_echo_n "checking for $ac_word... " >&6; }
6654 if ${ac_cv_prog_ICOTOOL+:} false; then :
6655 $as_echo_n "(cached) " >&6
6656 else
6657 if test -n "$ICOTOOL"; then
6658 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6659 else
6660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6661 for as_dir in $PATH
6663 IFS=$as_save_IFS
6664 test -z "$as_dir" && as_dir=.
6665 for ac_exec_ext in '' $ac_executable_extensions; do
6666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6667 ac_cv_prog_ICOTOOL="$ac_prog"
6668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6669 break 2
6671 done
6672 done
6673 IFS=$as_save_IFS
6677 ICOTOOL=$ac_cv_prog_ICOTOOL
6678 if test -n "$ICOTOOL"; then
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6680 $as_echo "$ICOTOOL" >&6; }
6681 else
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6683 $as_echo "no" >&6; }
6687 test -n "$ICOTOOL" && break
6688 done
6689 test -n "$ICOTOOL" || ICOTOOL="false"
6691 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6692 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6694 if test "$CONVERT" = false
6695 then
6696 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6697 else
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6699 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6700 convert_version=`convert --version | head -n1`
6701 if test "x$convert_version" != "x"
6702 then
6703 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6704 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6705 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6706 then
6707 CONVERT=false
6710 if test "$CONVERT" = false
6711 then
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6713 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6714 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6715 else
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6717 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6721 if test "$ICOTOOL" = false
6722 then
6723 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6724 else
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6726 $as_echo_n "checking for recent enough icotool... " >&6; }
6727 icotool_version=`icotool --version | head -n1`
6728 if test "x$icotool_version" != "x"
6729 then
6730 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6731 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6732 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6733 then
6734 ICOTOOL=false
6735 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6738 if test "$ICOTOOL" = false
6739 then
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6741 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6742 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6743 else
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6745 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6749 with_gettext=yes
6750 with_gettextpo=yes
6753 test "x$with_gettext" != xno || MSGFMT=false
6754 if test "$MSGFMT" != "false"
6755 then
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6757 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6758 if ${wine_cv_msgfmt_contexts+:} false; then :
6759 $as_echo_n "(cached) " >&6
6760 else
6761 cat >conftest.po <<EOF
6762 # comment
6763 msgctxt "ctxt"
6764 msgid "id"
6765 msgstr "str"
6767 if $MSGFMT -o /dev/null conftest.po 2>&5
6768 then
6769 wine_cv_msgfmt_contexts=yes
6770 else
6771 wine_cv_msgfmt_contexts=no
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6775 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6776 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6778 if test "$MSGFMT" = false; then :
6779 case "x$with_gettext" in
6780 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6781 xno) ;;
6782 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6783 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6784 esac
6785 enable_po=${enable_po:-no}
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6790 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6791 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6792 $as_echo_n "(cached) " >&6
6793 else
6794 ac_check_lib_save_LIBS=$LIBS
6795 LIBS="-li386 $LIBS"
6796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6797 /* end confdefs.h. */
6799 /* Override any GCC internal prototype to avoid an error.
6800 Use char because int might match the return type of a GCC
6801 builtin and then its argument prototype would still apply. */
6802 #ifdef __cplusplus
6803 extern "C"
6804 #endif
6805 char i386_set_ldt ();
6807 main ()
6809 return i386_set_ldt ();
6811 return 0;
6813 _ACEOF
6814 if ac_fn_c_try_link "$LINENO"; then :
6815 ac_cv_lib_i386_i386_set_ldt=yes
6816 else
6817 ac_cv_lib_i386_i386_set_ldt=no
6819 rm -f core conftest.err conftest.$ac_objext \
6820 conftest$ac_exeext conftest.$ac_ext
6821 LIBS=$ac_check_lib_save_LIBS
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6824 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6825 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6826 cat >>confdefs.h <<_ACEOF
6827 #define HAVE_LIBI386 1
6828 _ACEOF
6830 LIBS="-li386 $LIBS"
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6835 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6836 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6837 $as_echo_n "(cached) " >&6
6838 else
6839 ac_check_lib_save_LIBS=$LIBS
6840 LIBS="-lossaudio $LIBS"
6841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6842 /* end confdefs.h. */
6844 /* Override any GCC internal prototype to avoid an error.
6845 Use char because int might match the return type of a GCC
6846 builtin and then its argument prototype would still apply. */
6847 #ifdef __cplusplus
6848 extern "C"
6849 #endif
6850 char _oss_ioctl ();
6852 main ()
6854 return _oss_ioctl ();
6856 return 0;
6858 _ACEOF
6859 if ac_fn_c_try_link "$LINENO"; then :
6860 ac_cv_lib_ossaudio__oss_ioctl=yes
6861 else
6862 ac_cv_lib_ossaudio__oss_ioctl=no
6864 rm -f core conftest.err conftest.$ac_objext \
6865 conftest$ac_exeext conftest.$ac_ext
6866 LIBS=$ac_check_lib_save_LIBS
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6869 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6870 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6871 cat >>confdefs.h <<_ACEOF
6872 #define HAVE_LIBOSSAUDIO 1
6873 _ACEOF
6875 LIBS="-lossaudio $LIBS"
6880 OPENGL_LIBS=""
6884 # Check whether --enable-largefile was given.
6885 if test "${enable_largefile+set}" = set; then :
6886 enableval=$enable_largefile;
6889 if test "$enable_largefile" != no; then
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6892 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6893 if ${ac_cv_sys_largefile_CC+:} false; then :
6894 $as_echo_n "(cached) " >&6
6895 else
6896 ac_cv_sys_largefile_CC=no
6897 if test "$GCC" != yes; then
6898 ac_save_CC=$CC
6899 while :; do
6900 # IRIX 6.2 and later do not support large files by default,
6901 # so use the C compiler's -n32 option if that helps.
6902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6903 /* end confdefs.h. */
6904 #include <sys/types.h>
6905 /* Check that off_t can represent 2**63 - 1 correctly.
6906 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6907 since some C++ compilers masquerading as C compilers
6908 incorrectly reject 9223372036854775807. */
6909 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6910 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6911 && LARGE_OFF_T % 2147483647 == 1)
6912 ? 1 : -1];
6914 main ()
6918 return 0;
6920 _ACEOF
6921 if ac_fn_c_try_compile "$LINENO"; then :
6922 break
6924 rm -f core conftest.err conftest.$ac_objext
6925 CC="$CC -n32"
6926 if ac_fn_c_try_compile "$LINENO"; then :
6927 ac_cv_sys_largefile_CC=' -n32'; break
6929 rm -f core conftest.err conftest.$ac_objext
6930 break
6931 done
6932 CC=$ac_save_CC
6933 rm -f conftest.$ac_ext
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6937 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6938 if test "$ac_cv_sys_largefile_CC" != no; then
6939 CC=$CC$ac_cv_sys_largefile_CC
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6943 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6944 if ${ac_cv_sys_file_offset_bits+:} false; then :
6945 $as_echo_n "(cached) " >&6
6946 else
6947 while :; do
6948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6949 /* end confdefs.h. */
6950 #include <sys/types.h>
6951 /* Check that off_t can represent 2**63 - 1 correctly.
6952 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6953 since some C++ compilers masquerading as C compilers
6954 incorrectly reject 9223372036854775807. */
6955 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6956 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6957 && LARGE_OFF_T % 2147483647 == 1)
6958 ? 1 : -1];
6960 main ()
6964 return 0;
6966 _ACEOF
6967 if ac_fn_c_try_compile "$LINENO"; then :
6968 ac_cv_sys_file_offset_bits=no; break
6970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6972 /* end confdefs.h. */
6973 #define _FILE_OFFSET_BITS 64
6974 #include <sys/types.h>
6975 /* Check that off_t can represent 2**63 - 1 correctly.
6976 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6977 since some C++ compilers masquerading as C compilers
6978 incorrectly reject 9223372036854775807. */
6979 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6980 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6981 && LARGE_OFF_T % 2147483647 == 1)
6982 ? 1 : -1];
6984 main ()
6988 return 0;
6990 _ACEOF
6991 if ac_fn_c_try_compile "$LINENO"; then :
6992 ac_cv_sys_file_offset_bits=64; break
6994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6995 ac_cv_sys_file_offset_bits=unknown
6996 break
6997 done
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7000 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7001 case $ac_cv_sys_file_offset_bits in #(
7002 no | unknown) ;;
7004 cat >>confdefs.h <<_ACEOF
7005 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7006 _ACEOF
7008 esac
7009 rm -rf conftest*
7010 if test $ac_cv_sys_file_offset_bits = unknown; then
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7012 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7013 if ${ac_cv_sys_large_files+:} false; then :
7014 $as_echo_n "(cached) " >&6
7015 else
7016 while :; do
7017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7018 /* end confdefs.h. */
7019 #include <sys/types.h>
7020 /* Check that off_t can represent 2**63 - 1 correctly.
7021 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7022 since some C++ compilers masquerading as C compilers
7023 incorrectly reject 9223372036854775807. */
7024 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7025 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7026 && LARGE_OFF_T % 2147483647 == 1)
7027 ? 1 : -1];
7029 main ()
7033 return 0;
7035 _ACEOF
7036 if ac_fn_c_try_compile "$LINENO"; then :
7037 ac_cv_sys_large_files=no; break
7039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7041 /* end confdefs.h. */
7042 #define _LARGE_FILES 1
7043 #include <sys/types.h>
7044 /* Check that off_t can represent 2**63 - 1 correctly.
7045 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7046 since some C++ compilers masquerading as C compilers
7047 incorrectly reject 9223372036854775807. */
7048 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7049 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7050 && LARGE_OFF_T % 2147483647 == 1)
7051 ? 1 : -1];
7053 main ()
7057 return 0;
7059 _ACEOF
7060 if ac_fn_c_try_compile "$LINENO"; then :
7061 ac_cv_sys_large_files=1; break
7063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7064 ac_cv_sys_large_files=unknown
7065 break
7066 done
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7069 $as_echo "$ac_cv_sys_large_files" >&6; }
7070 case $ac_cv_sys_large_files in #(
7071 no | unknown) ;;
7073 cat >>confdefs.h <<_ACEOF
7074 #define _LARGE_FILES $ac_cv_sys_large_files
7075 _ACEOF
7077 esac
7078 rm -rf conftest*
7085 ac_ext=c
7086 ac_cpp='$CPP $CPPFLAGS'
7087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7091 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7092 # On Suns, sometimes $CPP names a directory.
7093 if test -n "$CPP" && test -d "$CPP"; then
7094 CPP=
7096 if test -z "$CPP"; then
7097 if ${ac_cv_prog_CPP+:} false; then :
7098 $as_echo_n "(cached) " >&6
7099 else
7100 # Double quotes because CPP needs to be expanded
7101 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7103 ac_preproc_ok=false
7104 for ac_c_preproc_warn_flag in '' yes
7106 # Use a header file that comes with gcc, so configuring glibc
7107 # with a fresh cross-compiler works.
7108 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7109 # <limits.h> exists even on freestanding compilers.
7110 # On the NeXT, cc -E runs the code through the compiler's parser,
7111 # not just through cpp. "Syntax error" is here to catch this case.
7112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7113 /* end confdefs.h. */
7114 #ifdef __STDC__
7115 # include <limits.h>
7116 #else
7117 # include <assert.h>
7118 #endif
7119 Syntax error
7120 _ACEOF
7121 if ac_fn_c_try_cpp "$LINENO"; then :
7123 else
7124 # Broken: fails on valid input.
7125 continue
7127 rm -f conftest.err conftest.i conftest.$ac_ext
7129 # OK, works on sane cases. Now check whether nonexistent headers
7130 # can be detected and how.
7131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7132 /* end confdefs.h. */
7133 #include <ac_nonexistent.h>
7134 _ACEOF
7135 if ac_fn_c_try_cpp "$LINENO"; then :
7136 # Broken: success on invalid input.
7137 continue
7138 else
7139 # Passes both tests.
7140 ac_preproc_ok=:
7141 break
7143 rm -f conftest.err conftest.i conftest.$ac_ext
7145 done
7146 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7147 rm -f conftest.i conftest.err conftest.$ac_ext
7148 if $ac_preproc_ok; then :
7149 break
7152 done
7153 ac_cv_prog_CPP=$CPP
7156 CPP=$ac_cv_prog_CPP
7157 else
7158 ac_cv_prog_CPP=$CPP
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7161 $as_echo "$CPP" >&6; }
7162 ac_preproc_ok=false
7163 for ac_c_preproc_warn_flag in '' yes
7165 # Use a header file that comes with gcc, so configuring glibc
7166 # with a fresh cross-compiler works.
7167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7168 # <limits.h> exists even on freestanding compilers.
7169 # On the NeXT, cc -E runs the code through the compiler's parser,
7170 # not just through cpp. "Syntax error" is here to catch this case.
7171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7172 /* end confdefs.h. */
7173 #ifdef __STDC__
7174 # include <limits.h>
7175 #else
7176 # include <assert.h>
7177 #endif
7178 Syntax error
7179 _ACEOF
7180 if ac_fn_c_try_cpp "$LINENO"; then :
7182 else
7183 # Broken: fails on valid input.
7184 continue
7186 rm -f conftest.err conftest.i conftest.$ac_ext
7188 # OK, works on sane cases. Now check whether nonexistent headers
7189 # can be detected and how.
7190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7191 /* end confdefs.h. */
7192 #include <ac_nonexistent.h>
7193 _ACEOF
7194 if ac_fn_c_try_cpp "$LINENO"; then :
7195 # Broken: success on invalid input.
7196 continue
7197 else
7198 # Passes both tests.
7199 ac_preproc_ok=:
7200 break
7202 rm -f conftest.err conftest.i conftest.$ac_ext
7204 done
7205 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7206 rm -f conftest.i conftest.err conftest.$ac_ext
7207 if $ac_preproc_ok; then :
7209 else
7210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7212 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7213 See \`config.log' for more details" "$LINENO" 5; }
7216 ac_ext=c
7217 ac_cpp='$CPP $CPPFLAGS'
7218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7224 $as_echo_n "checking for ANSI C header files... " >&6; }
7225 if ${ac_cv_header_stdc+:} false; then :
7226 $as_echo_n "(cached) " >&6
7227 else
7228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7229 /* end confdefs.h. */
7230 #include <stdlib.h>
7231 #include <stdarg.h>
7232 #include <string.h>
7233 #include <float.h>
7236 main ()
7240 return 0;
7242 _ACEOF
7243 if ac_fn_c_try_compile "$LINENO"; then :
7244 ac_cv_header_stdc=yes
7245 else
7246 ac_cv_header_stdc=no
7248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7250 if test $ac_cv_header_stdc = yes; then
7251 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7253 /* end confdefs.h. */
7254 #include <string.h>
7256 _ACEOF
7257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7258 $EGREP "memchr" >/dev/null 2>&1; then :
7260 else
7261 ac_cv_header_stdc=no
7263 rm -f conftest*
7267 if test $ac_cv_header_stdc = yes; then
7268 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7270 /* end confdefs.h. */
7271 #include <stdlib.h>
7273 _ACEOF
7274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7275 $EGREP "free" >/dev/null 2>&1; then :
7277 else
7278 ac_cv_header_stdc=no
7280 rm -f conftest*
7284 if test $ac_cv_header_stdc = yes; then
7285 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7286 if test "$cross_compiling" = yes; then :
7288 else
7289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7290 /* end confdefs.h. */
7291 #include <ctype.h>
7292 #include <stdlib.h>
7293 #if ((' ' & 0x0FF) == 0x020)
7294 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7295 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7296 #else
7297 # define ISLOWER(c) \
7298 (('a' <= (c) && (c) <= 'i') \
7299 || ('j' <= (c) && (c) <= 'r') \
7300 || ('s' <= (c) && (c) <= 'z'))
7301 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7302 #endif
7304 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7306 main ()
7308 int i;
7309 for (i = 0; i < 256; i++)
7310 if (XOR (islower (i), ISLOWER (i))
7311 || toupper (i) != TOUPPER (i))
7312 return 2;
7313 return 0;
7315 _ACEOF
7316 if ac_fn_c_try_run "$LINENO"; then :
7318 else
7319 ac_cv_header_stdc=no
7321 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7322 conftest.$ac_objext conftest.beam conftest.$ac_ext
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7328 $as_echo "$ac_cv_header_stdc" >&6; }
7329 if test $ac_cv_header_stdc = yes; then
7331 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7335 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7336 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7337 inttypes.h stdint.h unistd.h
7338 do :
7339 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7340 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7342 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7343 cat >>confdefs.h <<_ACEOF
7344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7345 _ACEOF
7349 done
7352 for ac_header in \
7353 AL/al.h \
7354 ApplicationServices/ApplicationServices.h \
7355 AudioToolbox/AudioConverter.h \
7356 AudioUnit/AudioUnit.h \
7357 AudioUnit/AudioComponent.h \
7358 CL/cl.h \
7359 Carbon/Carbon.h \
7360 CommonCrypto/CommonCryptor.h \
7361 CoreAudio/CoreAudio.h \
7362 CoreServices/CoreServices.h \
7363 DiskArbitration/DiskArbitration.h \
7364 EGL/egl.h \
7365 IOKit/IOKitLib.h \
7366 IOKit/hid/IOHIDLib.h \
7367 OpenAL/al.h \
7368 OpenCL/opencl.h \
7369 QuickTime/ImageCompression.h \
7370 Security/Security.h \
7371 alias.h \
7372 arpa/inet.h \
7373 arpa/nameser.h \
7374 asm/types.h \
7375 asm/user.h \
7376 curses.h \
7377 dirent.h \
7378 dlfcn.h \
7379 elf.h \
7380 float.h \
7381 fnmatch.h \
7382 getopt.h \
7383 gettext-po.h \
7384 grp.h \
7385 gsm.h \
7386 gsm/gsm.h \
7387 ieeefp.h \
7388 inet/mib2.h \
7389 kstat.h \
7390 libproc.h \
7391 link.h \
7392 linux/cdrom.h \
7393 linux/compiler.h \
7394 linux/filter.h \
7395 linux/hdreg.h \
7396 linux/hidraw.h \
7397 linux/input.h \
7398 linux/ioctl.h \
7399 linux/joystick.h \
7400 linux/major.h \
7401 linux/param.h \
7402 linux/serial.h \
7403 linux/types.h \
7404 linux/ucdrom.h \
7405 lwp.h \
7406 mach-o/nlist.h \
7407 mach-o/loader.h \
7408 mach/mach.h \
7409 mach/machine.h \
7410 machine/cpu.h \
7411 machine/limits.h \
7412 machine/sysarch.h \
7413 mntent.h \
7414 ncurses.h \
7415 netdb.h \
7416 netinet/in.h \
7417 netinet/in_systm.h \
7418 netinet/tcp.h \
7419 netinet/tcp_fsm.h \
7420 pcap/pcap.h \
7421 poll.h \
7422 port.h \
7423 pthread.h \
7424 pwd.h \
7425 sched.h \
7426 scsi/scsi.h \
7427 scsi/scsi_ioctl.h \
7428 scsi/sg.h \
7429 stdbool.h \
7430 stdint.h \
7431 stropts.h \
7432 sys/attr.h \
7433 sys/auxv.h \
7434 sys/cdio.h \
7435 sys/elf32.h \
7436 sys/epoll.h \
7437 sys/event.h \
7438 sys/exec_elf.h \
7439 sys/filio.h \
7440 sys/ioctl.h \
7441 sys/ipc.h \
7442 sys/limits.h \
7443 sys/link.h \
7444 sys/mman.h \
7445 sys/modem.h \
7446 sys/msg.h \
7447 sys/mtio.h \
7448 sys/param.h \
7449 sys/poll.h \
7450 sys/prctl.h \
7451 sys/protosw.h \
7452 sys/ptrace.h \
7453 sys/queue.h \
7454 sys/resource.h \
7455 sys/scsiio.h \
7456 sys/shm.h \
7457 sys/signal.h \
7458 sys/socket.h \
7459 sys/socketvar.h \
7460 sys/sockio.h \
7461 sys/statvfs.h \
7462 sys/strtio.h \
7463 sys/syscall.h \
7464 sys/sysinfo.h \
7465 sys/tihdr.h \
7466 sys/time.h \
7467 sys/timeout.h \
7468 sys/times.h \
7469 sys/uio.h \
7470 sys/user.h \
7471 sys/utsname.h \
7472 sys/vnode.h \
7473 sys/wait.h \
7474 syscall.h \
7475 termios.h \
7476 unistd.h \
7477 utime.h \
7478 valgrind/memcheck.h \
7479 valgrind/valgrind.h \
7480 zlib.h
7482 do :
7483 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7484 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7485 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7486 cat >>confdefs.h <<_ACEOF
7487 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7488 _ACEOF
7492 done
7494 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7495 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7497 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7502 if test $ac_cv_header_sys_mkdev_h = no; then
7503 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7504 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7506 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7513 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7514 if ${ac_cv_header_stat_broken+:} false; then :
7515 $as_echo_n "(cached) " >&6
7516 else
7517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7518 /* end confdefs.h. */
7519 #include <sys/types.h>
7520 #include <sys/stat.h>
7522 #if defined S_ISBLK && defined S_IFDIR
7523 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7524 #endif
7526 #if defined S_ISBLK && defined S_IFCHR
7527 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7528 #endif
7530 #if defined S_ISLNK && defined S_IFREG
7531 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7532 #endif
7534 #if defined S_ISSOCK && defined S_IFREG
7535 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7536 #endif
7538 _ACEOF
7539 if ac_fn_c_try_compile "$LINENO"; then :
7540 ac_cv_header_stat_broken=no
7541 else
7542 ac_cv_header_stat_broken=yes
7544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7547 $as_echo "$ac_cv_header_stat_broken" >&6; }
7548 if test $ac_cv_header_stat_broken = yes; then
7550 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7556 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7557 do :
7558 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7559 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7560 #ifdef HAVE_SYS_PARAM_H
7561 # include <sys/param.h>
7562 #endif
7564 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7565 cat >>confdefs.h <<_ACEOF
7566 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7567 _ACEOF
7571 done
7574 for ac_header in \
7575 netinet/ip.h \
7576 net/if.h \
7577 net/if_arp.h \
7578 net/if_dl.h \
7579 net/if_types.h \
7580 net/route.h \
7581 netinet/if_ether.h \
7582 netinet/if_inarp.h \
7583 netinet/in_pcb.h \
7584 netinet/ip_icmp.h \
7585 netinet/ip_var.h \
7586 netinet/udp.h \
7587 netipx/ipx.h \
7588 sys/un.h \
7590 do :
7591 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7592 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7593 #ifdef HAVE_SYS_SOCKET_H
7594 # include <sys/socket.h>
7595 #endif
7596 #ifdef HAVE_SYS_SOCKETVAR_H
7597 # include <sys/socketvar.h>
7598 #endif
7599 #ifdef HAVE_NET_ROUTE_H
7600 # include <net/route.h>
7601 #endif
7602 #ifdef HAVE_NETINET_IN_H
7603 # include <netinet/in.h>
7604 #endif
7605 #ifdef HAVE_NETINET_IN_SYSTM_H
7606 # include <netinet/in_systm.h>
7607 #endif
7608 #ifdef HAVE_NET_IF_H
7609 # include <net/if.h>
7610 #endif
7611 #ifdef HAVE_NETINET_IP_H
7612 # include <netinet/ip.h>
7613 #endif
7615 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7616 cat >>confdefs.h <<_ACEOF
7617 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7618 _ACEOF
7622 done
7625 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7626 do :
7627 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7628 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7629 #ifdef HAVE_ALIAS_H
7630 # include <alias.h>
7631 #endif
7632 #ifdef HAVE_SYS_SOCKET_H
7633 # include <sys/socket.h>
7634 #endif
7635 #ifdef HAVE_SYS_SOCKETVAR_H
7636 # include <sys/socketvar.h>
7637 #endif
7638 #ifdef HAVE_SYS_TIMEOUT_H
7639 # include <sys/timeout.h>
7640 #endif
7641 #ifdef HAVE_NETINET_IN_H
7642 # include <netinet/in.h>
7643 #endif
7644 #ifdef HAVE_NETINET_IN_SYSTM_H
7645 # include <netinet/in_systm.h>
7646 #endif
7647 #ifdef HAVE_NETINET_IP_H
7648 # include <netinet/ip.h>
7649 #endif
7650 #ifdef HAVE_NETINET_IP_VAR_H
7651 # include <netinet/ip_var.h>
7652 #endif
7653 #ifdef HAVE_NETINET_IP_ICMP_H
7654 # include <netinet/ip_icmp.h>
7655 #endif
7656 #ifdef HAVE_NETINET_UDP_H
7657 # include <netinet/udp.h>
7658 #endif
7659 #ifdef HAVE_NETINET_TCP_H
7660 # include <netinet/tcp.h>
7661 #endif
7662 #ifdef HAVE_NETINET_TCP_TIMER_H
7663 #include <netinet/tcp_timer.h>
7664 #endif
7666 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7667 cat >>confdefs.h <<_ACEOF
7668 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7669 _ACEOF
7673 done
7676 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7677 do :
7678 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7679 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7680 #ifdef HAVE_ASM_TYPES_H
7681 # include <asm/types.h>
7682 #endif
7683 #ifdef HAVE_SYS_SOCKET_H
7684 # include <sys/socket.h>
7685 #endif
7686 #ifdef HAVE_LINUX_TYPES_H
7687 # include <linux/types.h>
7688 #endif
7690 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7691 cat >>confdefs.h <<_ACEOF
7692 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7693 _ACEOF
7697 done
7700 for ac_header in mach-o/dyld_images.h
7701 do :
7702 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7703 # include <stdbool.h>
7704 #endif
7705 #ifdef HAVE_STDINT_H
7706 # include <stdint.h>
7707 #endif
7709 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7710 cat >>confdefs.h <<_ACEOF
7711 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7712 _ACEOF
7716 done
7719 for ac_header in resolv.h
7720 do :
7721 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7722 #ifdef HAVE_SYS_SOCKET_H
7723 # include <sys/socket.h>
7724 #endif
7725 #ifdef HAVE_NETINET_IN_H
7726 # include <netinet/in.h>
7727 #endif
7728 #ifdef HAVE_ARPA_NAMESER_H
7729 # include <arpa/nameser.h>
7730 #endif
7732 if test "x$ac_cv_header_resolv_h" = xyes; then :
7733 cat >>confdefs.h <<_ACEOF
7734 #define HAVE_RESOLV_H 1
7735 _ACEOF
7739 done
7742 for ac_header in ifaddrs.h
7743 do :
7744 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7746 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7747 cat >>confdefs.h <<_ACEOF
7748 #define HAVE_IFADDRS_H 1
7749 _ACEOF
7753 done
7756 for ac_header in sys/ucontext.h
7757 do :
7758 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7760 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7761 cat >>confdefs.h <<_ACEOF
7762 #define HAVE_SYS_UCONTEXT_H 1
7763 _ACEOF
7767 done
7770 for ac_header in sys/thr.h
7771 do :
7772 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7773 #ifdef HAVE_SYS_UCONTEXT_H
7774 #include <sys/ucontext.h>
7775 #endif
7777 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7778 cat >>confdefs.h <<_ACEOF
7779 #define HAVE_SYS_THR_H 1
7780 _ACEOF
7784 done
7787 for ac_header in pthread_np.h
7788 do :
7789 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7790 #include <pthread.h>
7791 #endif
7793 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7794 cat >>confdefs.h <<_ACEOF
7795 #define HAVE_PTHREAD_NP_H 1
7796 _ACEOF
7800 done
7803 for ac_header in linux/videodev2.h
7804 do :
7805 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7806 #include <sys/time.h>
7807 #endif
7808 #include <sys/types.h>
7809 #ifdef HAVE_ASM_TYPES_H
7810 #include <asm/types.h>
7811 #endif
7813 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7814 cat >>confdefs.h <<_ACEOF
7815 #define HAVE_LINUX_VIDEODEV2_H 1
7816 _ACEOF
7820 done
7823 for ac_header in libprocstat.h
7824 do :
7825 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7826 #include <sys/param.h>
7827 #endif
7828 #ifdef HAVE_SYS_QUEUE_H
7829 #include <sys/queue.h>
7830 #endif
7831 #ifdef HAVE_SYS_SOCKET_H
7832 #include <sys/socket.h>
7833 #endif
7835 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7836 cat >>confdefs.h <<_ACEOF
7837 #define HAVE_LIBPROCSTAT_H 1
7838 _ACEOF
7842 done
7846 DLLFLAGS="-D_REENTRANT"
7848 LDRPATH_INSTALL=""
7850 LDRPATH_LOCAL=""
7852 LDDLLFLAGS=""
7854 LDEXECFLAGS=""
7856 TOP_INSTALL_LIB=""
7858 TOP_INSTALL_DEV=""
7860 WINELOADER_LDFLAGS=""
7862 WINEPRELOADER_LDFLAGS=""
7864 LIBEXT="so"
7865 DLLEXT=".so"
7866 # Extract the first word of "ldd", so it can be a program name with args.
7867 set dummy ldd; ac_word=$2
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7869 $as_echo_n "checking for $ac_word... " >&6; }
7870 if ${ac_cv_path_LDD+:} false; then :
7871 $as_echo_n "(cached) " >&6
7872 else
7873 case $LDD in
7874 [\\/]* | ?:[\\/]*)
7875 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7879 as_dummy="/sbin:/usr/sbin:$PATH"
7880 for as_dir in $as_dummy
7882 IFS=$as_save_IFS
7883 test -z "$as_dir" && as_dir=.
7884 for ac_exec_ext in '' $ac_executable_extensions; do
7885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7886 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7888 break 2
7890 done
7891 done
7892 IFS=$as_save_IFS
7894 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7896 esac
7898 LDD=$ac_cv_path_LDD
7899 if test -n "$LDD"; then
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7901 $as_echo "$LDD" >&6; }
7902 else
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7904 $as_echo "no" >&6; }
7908 if test -n "$ac_tool_prefix"; then
7909 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7910 set dummy ${ac_tool_prefix}otool; ac_word=$2
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7912 $as_echo_n "checking for $ac_word... " >&6; }
7913 if ${ac_cv_prog_OTOOL+:} false; then :
7914 $as_echo_n "(cached) " >&6
7915 else
7916 if test -n "$OTOOL"; then
7917 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7918 else
7919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7920 for as_dir in $PATH
7922 IFS=$as_save_IFS
7923 test -z "$as_dir" && as_dir=.
7924 for ac_exec_ext in '' $ac_executable_extensions; do
7925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7926 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7928 break 2
7930 done
7931 done
7932 IFS=$as_save_IFS
7936 OTOOL=$ac_cv_prog_OTOOL
7937 if test -n "$OTOOL"; then
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7939 $as_echo "$OTOOL" >&6; }
7940 else
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7942 $as_echo "no" >&6; }
7947 if test -z "$ac_cv_prog_OTOOL"; then
7948 ac_ct_OTOOL=$OTOOL
7949 # Extract the first word of "otool", so it can be a program name with args.
7950 set dummy otool; ac_word=$2
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7952 $as_echo_n "checking for $ac_word... " >&6; }
7953 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7954 $as_echo_n "(cached) " >&6
7955 else
7956 if test -n "$ac_ct_OTOOL"; then
7957 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7958 else
7959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7960 for as_dir in $PATH
7962 IFS=$as_save_IFS
7963 test -z "$as_dir" && as_dir=.
7964 for ac_exec_ext in '' $ac_executable_extensions; do
7965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7966 ac_cv_prog_ac_ct_OTOOL="otool"
7967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7968 break 2
7970 done
7971 done
7972 IFS=$as_save_IFS
7976 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7977 if test -n "$ac_ct_OTOOL"; then
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7979 $as_echo "$ac_ct_OTOOL" >&6; }
7980 else
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7982 $as_echo "no" >&6; }
7985 if test "x$ac_ct_OTOOL" = x; then
7986 OTOOL="otool"
7987 else
7988 case $cross_compiling:$ac_tool_warned in
7989 yes:)
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7992 ac_tool_warned=yes ;;
7993 esac
7994 OTOOL=$ac_ct_OTOOL
7996 else
7997 OTOOL="$ac_cv_prog_OTOOL"
8000 if test -n "$ac_tool_prefix"; then
8001 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8002 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8004 $as_echo_n "checking for $ac_word... " >&6; }
8005 if ${ac_cv_prog_READELF+:} false; then :
8006 $as_echo_n "(cached) " >&6
8007 else
8008 if test -n "$READELF"; then
8009 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8010 else
8011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8012 for as_dir in $PATH
8014 IFS=$as_save_IFS
8015 test -z "$as_dir" && as_dir=.
8016 for ac_exec_ext in '' $ac_executable_extensions; do
8017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8018 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8020 break 2
8022 done
8023 done
8024 IFS=$as_save_IFS
8028 READELF=$ac_cv_prog_READELF
8029 if test -n "$READELF"; then
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8031 $as_echo "$READELF" >&6; }
8032 else
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8034 $as_echo "no" >&6; }
8039 if test -z "$ac_cv_prog_READELF"; then
8040 ac_ct_READELF=$READELF
8041 # Extract the first word of "readelf", so it can be a program name with args.
8042 set dummy readelf; ac_word=$2
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8044 $as_echo_n "checking for $ac_word... " >&6; }
8045 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8046 $as_echo_n "(cached) " >&6
8047 else
8048 if test -n "$ac_ct_READELF"; then
8049 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8050 else
8051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8052 for as_dir in $PATH
8054 IFS=$as_save_IFS
8055 test -z "$as_dir" && as_dir=.
8056 for ac_exec_ext in '' $ac_executable_extensions; do
8057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8058 ac_cv_prog_ac_ct_READELF="readelf"
8059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8060 break 2
8062 done
8063 done
8064 IFS=$as_save_IFS
8068 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8069 if test -n "$ac_ct_READELF"; then
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8071 $as_echo "$ac_ct_READELF" >&6; }
8072 else
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8074 $as_echo "no" >&6; }
8077 if test "x$ac_ct_READELF" = x; then
8078 READELF="true"
8079 else
8080 case $cross_compiling:$ac_tool_warned in
8081 yes:)
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8084 ac_tool_warned=yes ;;
8085 esac
8086 READELF=$ac_ct_READELF
8088 else
8089 READELF="$ac_cv_prog_READELF"
8092 wine_rules_file=conf$$rules.make
8093 rm -f $wine_rules_file
8094 SUBDIRS=""
8096 DISABLED_SUBDIRS=""
8098 CONFIGURE_TARGETS=""
8101 wine_fn_append_file ()
8103 as_fn_append $1 " \\$as_nl $2"
8106 wine_fn_append_rule ()
8108 $as_echo "$1" >>$wine_rules_file
8111 wine_fn_config_makefile ()
8113 wine_fn_append_file SUBDIRS $1
8114 if eval test \"x\$"$2"\" = x"no"; then :
8115 wine_fn_append_file DISABLED_SUBDIRS $1
8119 wine_fn_config_symlink ()
8121 ac_links=$@
8122 wine_fn_append_rule \
8123 "$ac_links:
8124 @./config.status \$@"
8125 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8128 wine_binary="wine"
8129 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8130 WINELOADER_PROGRAMS="$wine_binary"
8132 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8134 case $host_os in
8135 cygwin*|mingw32*)
8136 if test -n "$ac_tool_prefix"; then
8137 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8138 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8140 $as_echo_n "checking for $ac_word... " >&6; }
8141 if ${ac_cv_prog_DLLTOOL+:} false; then :
8142 $as_echo_n "(cached) " >&6
8143 else
8144 if test -n "$DLLTOOL"; then
8145 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8146 else
8147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8148 for as_dir in $PATH
8150 IFS=$as_save_IFS
8151 test -z "$as_dir" && as_dir=.
8152 for ac_exec_ext in '' $ac_executable_extensions; do
8153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8154 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8156 break 2
8158 done
8159 done
8160 IFS=$as_save_IFS
8164 DLLTOOL=$ac_cv_prog_DLLTOOL
8165 if test -n "$DLLTOOL"; then
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8167 $as_echo "$DLLTOOL" >&6; }
8168 else
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8170 $as_echo "no" >&6; }
8175 if test -z "$ac_cv_prog_DLLTOOL"; then
8176 ac_ct_DLLTOOL=$DLLTOOL
8177 # Extract the first word of "dlltool", so it can be a program name with args.
8178 set dummy dlltool; ac_word=$2
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8180 $as_echo_n "checking for $ac_word... " >&6; }
8181 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8182 $as_echo_n "(cached) " >&6
8183 else
8184 if test -n "$ac_ct_DLLTOOL"; then
8185 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8186 else
8187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8188 for as_dir in $PATH
8190 IFS=$as_save_IFS
8191 test -z "$as_dir" && as_dir=.
8192 for ac_exec_ext in '' $ac_executable_extensions; do
8193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8194 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8196 break 2
8198 done
8199 done
8200 IFS=$as_save_IFS
8204 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8205 if test -n "$ac_ct_DLLTOOL"; then
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8207 $as_echo "$ac_ct_DLLTOOL" >&6; }
8208 else
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8210 $as_echo "no" >&6; }
8213 if test "x$ac_ct_DLLTOOL" = x; then
8214 DLLTOOL="false"
8215 else
8216 case $cross_compiling:$ac_tool_warned in
8217 yes:)
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8220 ac_tool_warned=yes ;;
8221 esac
8222 DLLTOOL=$ac_ct_DLLTOOL
8224 else
8225 DLLTOOL="$ac_cv_prog_DLLTOOL"
8228 LIBEXT="dll"
8229 DLLEXT=""
8230 case $host_cpu in
8231 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8232 esac
8233 enable_iphlpapi=${enable_iphlpapi:-no}
8234 enable_kernel32=${enable_kernel32:-no}
8235 enable_ntdll=${enable_ntdll:-no}
8236 enable_ws2_32=${enable_ws2_32:-no}
8237 enable_loader=${enable_loader:-no}
8238 enable_server=${enable_server:-no}
8239 with_x=${with_x:-no}
8240 with_pthread=${with_pthread:-no}
8243 darwin*|macosx*)
8244 for ac_header in libunwind.h
8245 do :
8246 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8248 cat >>confdefs.h <<_ACEOF
8249 #define HAVE_LIBUNWIND_H 1
8250 _ACEOF
8254 done
8256 ac_ext=m
8257 ac_cpp='$OBJCPP $CPPFLAGS'
8258 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8259 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8260 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8262 ac_ext=m
8263 ac_cpp='$OBJCPP $CPPFLAGS'
8264 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8265 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8266 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8267 if test -n "$ac_tool_prefix"; then
8268 for ac_prog in gcc objcc objc cc CC
8270 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8271 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8273 $as_echo_n "checking for $ac_word... " >&6; }
8274 if ${ac_cv_prog_OBJC+:} false; then :
8275 $as_echo_n "(cached) " >&6
8276 else
8277 if test -n "$OBJC"; then
8278 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8279 else
8280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8281 for as_dir in $PATH
8283 IFS=$as_save_IFS
8284 test -z "$as_dir" && as_dir=.
8285 for ac_exec_ext in '' $ac_executable_extensions; do
8286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8287 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8289 break 2
8291 done
8292 done
8293 IFS=$as_save_IFS
8297 OBJC=$ac_cv_prog_OBJC
8298 if test -n "$OBJC"; then
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8300 $as_echo "$OBJC" >&6; }
8301 else
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8303 $as_echo "no" >&6; }
8307 test -n "$OBJC" && break
8308 done
8310 if test -z "$OBJC"; then
8311 ac_ct_OBJC=$OBJC
8312 for ac_prog in gcc objcc objc cc CC
8314 # Extract the first word of "$ac_prog", so it can be a program name with args.
8315 set dummy $ac_prog; ac_word=$2
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8317 $as_echo_n "checking for $ac_word... " >&6; }
8318 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8319 $as_echo_n "(cached) " >&6
8320 else
8321 if test -n "$ac_ct_OBJC"; then
8322 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8323 else
8324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8325 for as_dir in $PATH
8327 IFS=$as_save_IFS
8328 test -z "$as_dir" && as_dir=.
8329 for ac_exec_ext in '' $ac_executable_extensions; do
8330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8331 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8333 break 2
8335 done
8336 done
8337 IFS=$as_save_IFS
8341 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8342 if test -n "$ac_ct_OBJC"; then
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8344 $as_echo "$ac_ct_OBJC" >&6; }
8345 else
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8347 $as_echo "no" >&6; }
8351 test -n "$ac_ct_OBJC" && break
8352 done
8354 if test "x$ac_ct_OBJC" = x; then
8355 OBJC="gcc"
8356 else
8357 case $cross_compiling:$ac_tool_warned in
8358 yes:)
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8361 ac_tool_warned=yes ;;
8362 esac
8363 OBJC=$ac_ct_OBJC
8367 # Provide some information about the compiler.
8368 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8369 set X $ac_compile
8370 ac_compiler=$2
8371 for ac_option in --version -v -V -qversion; do
8372 { { ac_try="$ac_compiler $ac_option >&5"
8373 case "(($ac_try" in
8374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8375 *) ac_try_echo=$ac_try;;
8376 esac
8377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8378 $as_echo "$ac_try_echo"; } >&5
8379 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8380 ac_status=$?
8381 if test -s conftest.err; then
8382 sed '10a\
8383 ... rest of stderr output deleted ...
8384 10q' conftest.err >conftest.er1
8385 cat conftest.er1 >&5
8387 rm -f conftest.er1 conftest.err
8388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8389 test $ac_status = 0; }
8390 done
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8393 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8394 if ${ac_cv_objc_compiler_gnu+:} false; then :
8395 $as_echo_n "(cached) " >&6
8396 else
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8401 main ()
8403 #ifndef __GNUC__
8404 choke me
8405 #endif
8408 return 0;
8410 _ACEOF
8411 if ac_fn_objc_try_compile "$LINENO"; then :
8412 ac_compiler_gnu=yes
8413 else
8414 ac_compiler_gnu=no
8416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8417 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8421 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8422 if test $ac_compiler_gnu = yes; then
8423 GOBJC=yes
8424 else
8425 GOBJC=
8427 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8428 ac_save_OBJCFLAGS=$OBJCFLAGS
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8430 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8431 if ${ac_cv_prog_objc_g+:} false; then :
8432 $as_echo_n "(cached) " >&6
8433 else
8434 ac_save_objc_werror_flag=$ac_objc_werror_flag
8435 ac_objc_werror_flag=yes
8436 ac_cv_prog_objc_g=no
8437 OBJCFLAGS="-g"
8438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8439 /* end confdefs.h. */
8442 main ()
8446 return 0;
8448 _ACEOF
8449 if ac_fn_objc_try_compile "$LINENO"; then :
8450 ac_cv_prog_objc_g=yes
8451 else
8452 OBJCFLAGS=""
8453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8454 /* end confdefs.h. */
8457 main ()
8461 return 0;
8463 _ACEOF
8464 if ac_fn_objc_try_compile "$LINENO"; then :
8466 else
8467 ac_objc_werror_flag=$ac_save_objc_werror_flag
8468 OBJCFLAGS="-g"
8469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8470 /* end confdefs.h. */
8473 main ()
8477 return 0;
8479 _ACEOF
8480 if ac_fn_objc_try_compile "$LINENO"; then :
8481 ac_cv_prog_objc_g=yes
8483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8488 ac_objc_werror_flag=$ac_save_objc_werror_flag
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8491 $as_echo "$ac_cv_prog_objc_g" >&6; }
8492 if test "$ac_test_OBJCFLAGS" = set; then
8493 OBJCFLAGS=$ac_save_OBJCFLAGS
8494 elif test $ac_cv_prog_objc_g = yes; then
8495 if test "$GOBJC" = yes; then
8496 OBJCFLAGS="-g -O2"
8497 else
8498 OBJCFLAGS="-g"
8500 else
8501 if test "$GOBJC" = yes; then
8502 OBJCFLAGS="-O2"
8503 else
8504 OBJCFLAGS=
8507 ac_ext=m
8508 ac_cpp='$OBJCPP $CPPFLAGS'
8509 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8510 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8511 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8514 ac_ext=m
8515 ac_cpp='$OBJCPP $CPPFLAGS'
8516 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8517 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8518 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8520 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8521 if test -z "$OBJCPP"; then
8522 if ${ac_cv_prog_OBJCPP+:} false; then :
8523 $as_echo_n "(cached) " >&6
8524 else
8525 # Double quotes because OBJCPP needs to be expanded
8526 for OBJCPP in "$OBJC -E" "/lib/cpp"
8528 ac_preproc_ok=false
8529 for ac_objc_preproc_warn_flag in '' yes
8531 # Use a header file that comes with gcc, so configuring glibc
8532 # with a fresh cross-compiler works.
8533 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8534 # <limits.h> exists even on freestanding compilers.
8535 # On the NeXT, cc -E runs the code through the compiler's parser,
8536 # not just through cpp. "Syntax error" is here to catch this case.
8537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8538 /* end confdefs.h. */
8539 #ifdef __STDC__
8540 # include <limits.h>
8541 #else
8542 # include <assert.h>
8543 #endif
8544 Syntax error
8545 _ACEOF
8546 if ac_fn_objc_try_cpp "$LINENO"; then :
8548 else
8549 # Broken: fails on valid input.
8550 continue
8552 rm -f conftest.err conftest.i conftest.$ac_ext
8554 # OK, works on sane cases. Now check whether nonexistent headers
8555 # can be detected and how.
8556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8558 #include <ac_nonexistent.h>
8559 _ACEOF
8560 if ac_fn_objc_try_cpp "$LINENO"; then :
8561 # Broken: success on invalid input.
8562 continue
8563 else
8564 # Passes both tests.
8565 ac_preproc_ok=:
8566 break
8568 rm -f conftest.err conftest.i conftest.$ac_ext
8570 done
8571 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8572 rm -f conftest.i conftest.err conftest.$ac_ext
8573 if $ac_preproc_ok; then :
8574 break
8577 done
8578 ac_cv_prog_OBJCPP=$OBJCPP
8581 OBJCPP=$ac_cv_prog_OBJCPP
8582 else
8583 ac_cv_prog_OBJCPP=$OBJCPP
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8586 $as_echo "$OBJCPP" >&6; }
8587 ac_preproc_ok=false
8588 for ac_objc_preproc_warn_flag in '' yes
8590 # Use a header file that comes with gcc, so configuring glibc
8591 # with a fresh cross-compiler works.
8592 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8593 # <limits.h> exists even on freestanding compilers.
8594 # On the NeXT, cc -E runs the code through the compiler's parser,
8595 # not just through cpp. "Syntax error" is here to catch this case.
8596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8597 /* end confdefs.h. */
8598 #ifdef __STDC__
8599 # include <limits.h>
8600 #else
8601 # include <assert.h>
8602 #endif
8603 Syntax error
8604 _ACEOF
8605 if ac_fn_objc_try_cpp "$LINENO"; then :
8607 else
8608 # Broken: fails on valid input.
8609 continue
8611 rm -f conftest.err conftest.i conftest.$ac_ext
8613 # OK, works on sane cases. Now check whether nonexistent headers
8614 # can be detected and how.
8615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8616 /* end confdefs.h. */
8617 #include <ac_nonexistent.h>
8618 _ACEOF
8619 if ac_fn_objc_try_cpp "$LINENO"; then :
8620 # Broken: success on invalid input.
8621 continue
8622 else
8623 # Passes both tests.
8624 ac_preproc_ok=:
8625 break
8627 rm -f conftest.err conftest.i conftest.$ac_ext
8629 done
8630 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8631 rm -f conftest.i conftest.err conftest.$ac_ext
8632 if $ac_preproc_ok; then :
8634 else
8635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8637 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8638 See \`config.log' for more details" "$LINENO" 5; }
8641 ac_ext=m
8642 ac_cpp='$OBJCPP $CPPFLAGS'
8643 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8644 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8645 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8648 for ac_header in Metal/Metal.h
8649 do :
8650 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8651 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8652 cat >>confdefs.h <<_ACEOF
8653 #define HAVE_METAL_METAL_H 1
8654 _ACEOF
8658 done
8660 ac_ext=c
8661 ac_cpp='$CPP $CPPFLAGS'
8662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8666 LIBEXT="dylib"
8667 DLLFLAGS="$DLLFLAGS -fPIC"
8668 LDDLLFLAGS="-fPIC"
8669 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8670 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8671 COREFOUNDATION_LIBS="-framework CoreFoundation"
8673 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8675 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8677 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8679 CORESERVICES_LIBS="-framework CoreServices"
8681 APPKIT_LIBS="-framework AppKit"
8684 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8686 wine_can_build_preloader=yes
8687 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8689 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8690 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8691 $as_echo_n "(cached) " >&6
8692 else
8693 ac_wine_try_cflags_saved=$CFLAGS
8694 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8696 /* end confdefs.h. */
8697 int main(int argc, char **argv) { return 0; }
8698 _ACEOF
8699 if ac_fn_c_try_link "$LINENO"; then :
8700 ac_cv_cflags__Wl__no_new_main__e__main=yes
8701 else
8702 ac_cv_cflags__Wl__no_new_main__e__main=no
8704 rm -f core conftest.err conftest.$ac_objext \
8705 conftest$ac_exeext conftest.$ac_ext
8706 CFLAGS=$ac_wine_try_cflags_saved
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8709 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8710 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8711 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8713 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8714 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8715 $as_echo_n "(cached) " >&6
8716 else
8717 ac_wine_try_cflags_saved=$CFLAGS
8718 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8720 /* end confdefs.h. */
8721 int main(int argc, char **argv) { return 0; }
8722 _ACEOF
8723 if ac_fn_c_try_link "$LINENO"; then :
8724 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8725 else
8726 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8728 rm -f core conftest.err conftest.$ac_objext \
8729 conftest$ac_exeext conftest.$ac_ext
8730 CFLAGS=$ac_wine_try_cflags_saved
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8733 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8734 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8735 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8736 else
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8738 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8739 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8740 $as_echo_n "(cached) " >&6
8741 else
8742 ac_wine_try_cflags_saved=$CFLAGS
8743 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8745 /* end confdefs.h. */
8746 int main(int argc, char **argv) { return 0; }
8747 _ACEOF
8748 if ac_fn_c_try_link "$LINENO"; then :
8749 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8750 else
8751 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8753 rm -f core conftest.err conftest.$ac_objext \
8754 conftest$ac_exeext conftest.$ac_ext
8755 CFLAGS=$ac_wine_try_cflags_saved
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8758 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8759 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8760 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8761 else
8762 wine_can_build_preloader=no
8765 else
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8767 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8768 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8769 $as_echo_n "(cached) " >&6
8770 else
8771 ac_wine_try_cflags_saved=$CFLAGS
8772 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8774 /* end confdefs.h. */
8775 int main(int argc, char **argv) { return 0; }
8776 _ACEOF
8777 if ac_fn_c_try_link "$LINENO"; then :
8778 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8779 else
8780 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8782 rm -f core conftest.err conftest.$ac_objext \
8783 conftest$ac_exeext conftest.$ac_ext
8784 CFLAGS=$ac_wine_try_cflags_saved
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8787 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8788 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8789 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8790 else
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8792 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8793 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8794 $as_echo_n "(cached) " >&6
8795 else
8796 ac_wine_try_cflags_saved=$CFLAGS
8797 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8799 /* end confdefs.h. */
8800 int main(int argc, char **argv) { return 0; }
8801 _ACEOF
8802 if ac_fn_c_try_link "$LINENO"; then :
8803 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8804 else
8805 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8807 rm -f core conftest.err conftest.$ac_objext \
8808 conftest$ac_exeext conftest.$ac_ext
8809 CFLAGS=$ac_wine_try_cflags_saved
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8812 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8813 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8814 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8815 else
8816 wine_can_build_preloader=no
8820 if test "$wine_can_build_preloader" = "yes"
8821 then
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8823 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8824 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8825 $as_echo_n "(cached) " >&6
8826 else
8827 ac_wine_try_cflags_saved=$CFLAGS
8828 CFLAGS="$CFLAGS -Wl,-no_pie"
8829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8830 /* end confdefs.h. */
8831 int main(int argc, char **argv) { return 0; }
8832 _ACEOF
8833 if ac_fn_c_try_link "$LINENO"; then :
8834 ac_cv_cflags__Wl__no_pie=yes
8835 else
8836 ac_cv_cflags__Wl__no_pie=no
8838 rm -f core conftest.err conftest.$ac_objext \
8839 conftest$ac_exeext conftest.$ac_ext
8840 CFLAGS=$ac_wine_try_cflags_saved
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8843 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8844 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8845 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8847 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8848 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8849 else
8850 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8853 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8854 then
8855 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8858 if test "$ac_cv_header_Security_Security_h" = "yes"
8859 then
8860 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8862 ac_save_LIBS="$LIBS"
8863 LIBS="$LIBS $SECURITY_LIBS"
8864 for ac_func in SSLCopyPeerCertificates
8865 do :
8866 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8867 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8868 cat >>confdefs.h <<_ACEOF
8869 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8870 _ACEOF
8873 done
8875 LIBS="$ac_save_LIBS"
8877 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8878 then
8879 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8880 then
8881 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8883 else
8884 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8887 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8888 ac_save_LIBS="$LIBS"
8889 LIBS="$LIBS $COREAUDIO_LIBS"
8890 for ac_func in AUGraphAddNode
8891 do :
8892 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8893 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8894 cat >>confdefs.h <<_ACEOF
8895 #define HAVE_AUGRAPHADDNODE 1
8896 _ACEOF
8899 done
8901 LIBS="$ac_save_LIBS"
8903 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8904 then
8905 OPENAL_LIBS="-framework OpenAL"
8908 cat >>confdefs.h <<_ACEOF
8909 #define HAVE_OPENAL 1
8910 _ACEOF
8912 ac_cv_lib_openal=yes
8914 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8915 then
8916 OPENCL_LIBS="-framework OpenCL"
8918 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8920 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8921 then
8922 ac_save_LIBS="$LIBS"
8923 LIBS="$LIBS $IOKIT_LIBS"
8924 for ac_func in IOHIDManagerCreate
8925 do :
8926 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8927 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8928 cat >>confdefs.h <<_ACEOF
8929 #define HAVE_IOHIDMANAGERCREATE 1
8930 _ACEOF
8933 done
8935 LIBS="$ac_save_LIBS"
8937 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8938 then
8939 ac_save_LIBS="$LIBS"
8940 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8942 $as_echo_n "checking for the QuickTime framework... " >&6; }
8943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8944 /* end confdefs.h. */
8945 #include <QuickTime/ImageCompression.h>
8947 main ()
8949 CodecManagerVersion(NULL);
8951 return 0;
8953 _ACEOF
8954 if ac_fn_c_try_link "$LINENO"; then :
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8956 $as_echo "yes" >&6; }
8957 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8959 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8960 else
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8962 $as_echo "no" >&6; }
8963 ac_cv_header_QuickTime_ImageCompression_h=no
8965 rm -f core conftest.err conftest.$ac_objext \
8966 conftest$ac_exeext conftest.$ac_ext
8967 LIBS="$ac_save_LIBS"
8969 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8970 then
8971 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8973 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8974 then
8975 CARBON_LIBS="-framework Carbon"
8978 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8979 then
8980 METAL_LIBS="-framework Metal -framework QuartzCore"
8984 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8985 then
8986 ac_save_LIBS="$LIBS"
8987 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8988 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8989 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8990 enable_winemac_drv=${enable_winemac_drv:-yes}
8993 LIBS="$ac_save_LIBS"
8996 if test "x$enable_win16" = "xyes"
8997 then
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8999 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9000 if test "$cross_compiling" = yes; then :
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9002 $as_echo "cross-compiling, assuming yes" >&6; }
9003 else
9004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9005 /* end confdefs.h. */
9006 asm(".text\n"
9007 "bad:\tnop;nop\n"
9008 "good:\tnop;nop\n\t"
9009 ".globl _testfunc\n"
9010 "_testfunc:\tcallw good");
9011 extern void testfunc();
9013 main ()
9015 unsigned short *p = (unsigned short *)testfunc;
9016 return p[0] != 0xe866 || p[1] != 0xfffa
9018 return 0;
9020 _ACEOF
9021 if ac_fn_c_try_run "$LINENO"; then :
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9023 $as_echo "yes" >&6; }
9024 else
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9026 $as_echo "no" >&6; }
9027 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
9029 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9030 conftest.$ac_objext conftest.beam conftest.$ac_ext
9035 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9037 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9039 WINELOADER_DEPENDS="wine_info.plist"
9041 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9042 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9045 linux-android*)
9046 DLLFLAGS="$DLLFLAGS -fPIC"
9047 LDDLLFLAGS="-fPIC"
9048 LDEXECFLAGS="-Wl,-pie"
9049 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9051 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9052 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9053 $as_echo_n "(cached) " >&6
9054 else
9055 ac_wine_try_cflags_saved=$CFLAGS
9056 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9058 /* end confdefs.h. */
9059 int main(int argc, char **argv) { return 0; }
9060 _ACEOF
9061 if ac_fn_c_try_link "$LINENO"; then :
9062 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9063 else
9064 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9066 rm -f core conftest.err conftest.$ac_objext \
9067 conftest$ac_exeext conftest.$ac_ext
9068 CFLAGS=$ac_wine_try_cflags_saved
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9071 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9072 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9073 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9075 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9076 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9078 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9079 if eval \${$as_ac_var+:} false; then :
9080 $as_echo_n "(cached) " >&6
9081 else
9082 ac_wine_try_cflags_saved=$CFLAGS
9083 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9086 int main(int argc, char **argv) { return 0; }
9087 _ACEOF
9088 if ac_fn_c_try_link "$LINENO"; then :
9089 eval "$as_ac_var=yes"
9090 else
9091 eval "$as_ac_var=no"
9093 rm -f core conftest.err conftest.$ac_objext \
9094 conftest$ac_exeext conftest.$ac_ext
9095 CFLAGS=$ac_wine_try_cflags_saved
9097 eval ac_res=\$$as_ac_var
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9099 $as_echo "$ac_res" >&6; }
9100 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9101 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9102 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9103 else
9104 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9106 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9107 if eval \${$as_ac_var+:} false; then :
9108 $as_echo_n "(cached) " >&6
9109 else
9110 ac_wine_try_cflags_saved=$CFLAGS
9111 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9113 /* end confdefs.h. */
9114 int main(int argc, char **argv) { return 0; }
9115 _ACEOF
9116 if ac_fn_c_try_link "$LINENO"; then :
9117 eval "$as_ac_var=yes"
9118 else
9119 eval "$as_ac_var=no"
9121 rm -f core conftest.err conftest.$ac_objext \
9122 conftest$ac_exeext conftest.$ac_ext
9123 CFLAGS=$ac_wine_try_cflags_saved
9125 eval ac_res=\$$as_ac_var
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9127 $as_echo "$ac_res" >&6; }
9128 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9129 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9130 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9134 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9135 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9136 $as_echo_n "(cached) " >&6
9137 else
9138 ac_wine_try_cflags_saved=$CFLAGS
9139 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9141 /* end confdefs.h. */
9142 int main(int argc, char **argv) { return 0; }
9143 _ACEOF
9144 if ac_fn_c_try_link "$LINENO"; then :
9145 ac_cv_cflags__Wl___enable_new_dtags=yes
9146 else
9147 ac_cv_cflags__Wl___enable_new_dtags=no
9149 rm -f core conftest.err conftest.$ac_objext \
9150 conftest$ac_exeext conftest.$ac_ext
9151 CFLAGS=$ac_wine_try_cflags_saved
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9154 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9155 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9156 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9159 LIBWINE_SHAREDLIB="libwine.so"
9161 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9163 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9166 $as_echo_n "checking for -lEGL... " >&6; }
9167 if ${ac_cv_lib_soname_EGL+:} false; then :
9168 $as_echo_n "(cached) " >&6
9169 else
9170 ac_check_soname_save_LIBS=$LIBS
9171 LIBS="-lEGL $LIBS"
9172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9173 /* end confdefs.h. */
9175 /* Override any GCC internal prototype to avoid an error.
9176 Use char because int might match the return type of a GCC
9177 builtin and then its argument prototype would still apply. */
9178 #ifdef __cplusplus
9179 extern "C"
9180 #endif
9181 char eglGetProcAddress ();
9183 main ()
9185 return eglGetProcAddress ();
9187 return 0;
9189 _ACEOF
9190 if ac_fn_c_try_link "$LINENO"; then :
9191 case "$LIBEXT" in
9192 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9193 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'` ;;
9194 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9195 if ${ac_cv_lib_soname_EGL:+false} :; then :
9196 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9197 fi ;;
9198 esac
9199 else
9200 ac_cv_lib_soname_EGL=
9202 rm -f core conftest.err conftest.$ac_objext \
9203 conftest$ac_exeext conftest.$ac_ext
9204 LIBS=$ac_check_soname_save_LIBS
9206 if ${ac_cv_lib_soname_EGL:+false} :; then :
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9208 $as_echo "not found" >&6; }
9210 else
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9212 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9214 cat >>confdefs.h <<_ACEOF
9215 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9216 _ACEOF
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9221 $as_echo_n "checking for -lGLESv2... " >&6; }
9222 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9223 $as_echo_n "(cached) " >&6
9224 else
9225 ac_check_soname_save_LIBS=$LIBS
9226 LIBS="-lGLESv2 $LIBS"
9227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9228 /* end confdefs.h. */
9230 /* Override any GCC internal prototype to avoid an error.
9231 Use char because int might match the return type of a GCC
9232 builtin and then its argument prototype would still apply. */
9233 #ifdef __cplusplus
9234 extern "C"
9235 #endif
9236 char glFlush ();
9238 main ()
9240 return glFlush ();
9242 return 0;
9244 _ACEOF
9245 if ac_fn_c_try_link "$LINENO"; then :
9246 case "$LIBEXT" in
9247 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9248 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'` ;;
9249 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9250 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9251 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9252 fi ;;
9253 esac
9254 else
9255 ac_cv_lib_soname_GLESv2=
9257 rm -f core conftest.err conftest.$ac_objext \
9258 conftest$ac_exeext conftest.$ac_ext
9259 LIBS=$ac_check_soname_save_LIBS
9261 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9263 $as_echo "not found" >&6; }
9265 else
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9267 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9269 cat >>confdefs.h <<_ACEOF
9270 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9271 _ACEOF
9276 if test "x$exec_prefix" = xNONE
9277 then
9278 case $host_cpu in
9279 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9280 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9281 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9282 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9283 esac
9288 case $host_cpu in
9289 *i[3456789]86*)
9290 DLLFLAGS="$DLLFLAGS -fno-PIC"
9291 LDDLLFLAGS="-fno-PIC" ;;
9293 DLLFLAGS="$DLLFLAGS -fPIC"
9294 LDDLLFLAGS="-fPIC" ;;
9295 esac
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9297 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9298 if ${ac_cv_c_dll_gnuelf+:} false; then :
9299 $as_echo_n "(cached) " >&6
9300 else
9301 ac_wine_try_cflags_saved=$CFLAGS
9302 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9304 /* end confdefs.h. */
9305 void myfunc() {}
9306 _ACEOF
9307 if ac_fn_c_try_link "$LINENO"; then :
9308 ac_cv_c_dll_gnuelf="yes"
9309 else
9310 ac_cv_c_dll_gnuelf="no"
9312 rm -f core conftest.err conftest.$ac_objext \
9313 conftest$ac_exeext conftest.$ac_ext
9314 CFLAGS=$ac_wine_try_cflags_saved
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9317 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9318 if test "$ac_cv_c_dll_gnuelf" = "yes"
9319 then
9320 LIBWINE_LDFLAGS="-shared"
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9322 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9323 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9324 $as_echo_n "(cached) " >&6
9325 else
9326 ac_wine_try_cflags_saved=$CFLAGS
9327 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9330 int main(int argc, char **argv) { return 0; }
9331 _ACEOF
9332 if ac_fn_c_try_link "$LINENO"; then :
9333 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9334 else
9335 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9337 rm -f core conftest.err conftest.$ac_objext \
9338 conftest$ac_exeext conftest.$ac_ext
9339 CFLAGS=$ac_wine_try_cflags_saved
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9342 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9343 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9344 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9345 else
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9347 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9348 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9349 $as_echo_n "(cached) " >&6
9350 else
9351 ac_wine_try_cflags_saved=$CFLAGS
9352 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9354 /* end confdefs.h. */
9355 int main(int argc, char **argv) { return 0; }
9356 _ACEOF
9357 if ac_fn_c_try_link "$LINENO"; then :
9358 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9359 else
9360 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9362 rm -f core conftest.err conftest.$ac_objext \
9363 conftest$ac_exeext conftest.$ac_ext
9364 CFLAGS=$ac_wine_try_cflags_saved
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9367 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9368 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9369 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9373 echo '{ global: *; };' >conftest.map
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9375 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9376 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9377 $as_echo_n "(cached) " >&6
9378 else
9379 ac_wine_try_cflags_saved=$CFLAGS
9380 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9383 int main(int argc, char **argv) { return 0; }
9384 _ACEOF
9385 if ac_fn_c_try_link "$LINENO"; then :
9386 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9387 else
9388 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9390 rm -f core conftest.err conftest.$ac_objext \
9391 conftest$ac_exeext conftest.$ac_ext
9392 CFLAGS=$ac_wine_try_cflags_saved
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9395 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9396 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9397 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9399 rm -f conftest.map
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9402 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9403 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9404 $as_echo_n "(cached) " >&6
9405 else
9406 ac_wine_try_cflags_saved=$CFLAGS
9407 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9409 /* end confdefs.h. */
9410 int main(int argc, char **argv) { return 0; }
9411 _ACEOF
9412 if ac_fn_c_try_link "$LINENO"; then :
9413 ac_cv_cflags__Wl___export_dynamic=yes
9414 else
9415 ac_cv_cflags__Wl___export_dynamic=no
9417 rm -f core conftest.err conftest.$ac_objext \
9418 conftest$ac_exeext conftest.$ac_ext
9419 CFLAGS=$ac_wine_try_cflags_saved
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9422 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9423 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9424 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9426 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9428 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9430 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9431 if eval \${$as_ac_var+:} false; then :
9432 $as_echo_n "(cached) " >&6
9433 else
9434 ac_wine_try_cflags_saved=$CFLAGS
9435 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9437 /* end confdefs.h. */
9438 int main(int argc, char **argv) { return 0; }
9439 _ACEOF
9440 if ac_fn_c_try_link "$LINENO"; then :
9441 eval "$as_ac_var=yes"
9442 else
9443 eval "$as_ac_var=no"
9445 rm -f core conftest.err conftest.$ac_objext \
9446 conftest$ac_exeext conftest.$ac_ext
9447 CFLAGS=$ac_wine_try_cflags_saved
9449 eval ac_res=\$$as_ac_var
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9451 $as_echo "$ac_res" >&6; }
9452 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9453 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9454 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9455 else
9456 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9458 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9459 if eval \${$as_ac_var+:} false; then :
9460 $as_echo_n "(cached) " >&6
9461 else
9462 ac_wine_try_cflags_saved=$CFLAGS
9463 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9465 /* end confdefs.h. */
9466 int main(int argc, char **argv) { return 0; }
9467 _ACEOF
9468 if ac_fn_c_try_link "$LINENO"; then :
9469 eval "$as_ac_var=yes"
9470 else
9471 eval "$as_ac_var=no"
9473 rm -f core conftest.err conftest.$ac_objext \
9474 conftest$ac_exeext conftest.$ac_ext
9475 CFLAGS=$ac_wine_try_cflags_saved
9477 eval ac_res=\$$as_ac_var
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9479 $as_echo "$ac_res" >&6; }
9480 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9481 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9482 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9487 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9488 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9489 $as_echo_n "(cached) " >&6
9490 else
9491 ac_wine_try_cflags_saved=$CFLAGS
9492 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9494 /* end confdefs.h. */
9495 int main(int argc, char **argv) { return 0; }
9496 _ACEOF
9497 if ac_fn_c_try_link "$LINENO"; then :
9498 ac_cv_cflags__Wl___enable_new_dtags=yes
9499 else
9500 ac_cv_cflags__Wl___enable_new_dtags=no
9502 rm -f core conftest.err conftest.$ac_objext \
9503 conftest$ac_exeext conftest.$ac_ext
9504 CFLAGS=$ac_wine_try_cflags_saved
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9507 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9508 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9509 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9512 case $host_cpu in
9513 *i[3456789]86* | x86_64 | *aarch64*)
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9515 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9516 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9517 $as_echo_n "(cached) " >&6
9518 else
9519 ac_wine_try_cflags_saved=$CFLAGS
9520 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9522 /* end confdefs.h. */
9523 int main(int argc, char **argv) { return 0; }
9524 _ACEOF
9525 if ac_fn_c_try_link "$LINENO"; then :
9526 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9527 else
9528 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9530 rm -f core conftest.err conftest.$ac_objext \
9531 conftest$ac_exeext conftest.$ac_ext
9532 CFLAGS=$ac_wine_try_cflags_saved
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9535 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9536 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9537 case $host_os in
9538 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9539 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9540 esac
9541 else
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9543 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9544 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9545 $as_echo_n "(cached) " >&6
9546 else
9547 ac_wine_try_cflags_saved=$CFLAGS
9548 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9551 int main(int argc, char **argv) { return 0; }
9552 _ACEOF
9553 if ac_fn_c_try_link "$LINENO"; then :
9554 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9555 else
9556 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9558 rm -f core conftest.err conftest.$ac_objext \
9559 conftest$ac_exeext conftest.$ac_ext
9560 CFLAGS=$ac_wine_try_cflags_saved
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9563 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9564 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9565 case $host_os in
9566 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9567 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9568 esac
9570 # Extract the first word of "prelink", so it can be a program name with args.
9571 set dummy prelink; ac_word=$2
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9573 $as_echo_n "checking for $ac_word... " >&6; }
9574 if ${ac_cv_path_PRELINK+:} false; then :
9575 $as_echo_n "(cached) " >&6
9576 else
9577 case $PRELINK in
9578 [\\/]* | ?:[\\/]*)
9579 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9583 for as_dir in /sbin /usr/sbin $PATH
9585 IFS=$as_save_IFS
9586 test -z "$as_dir" && as_dir=.
9587 for ac_exec_ext in '' $ac_executable_extensions; do
9588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9589 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9591 break 2
9593 done
9594 done
9595 IFS=$as_save_IFS
9597 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9599 esac
9601 PRELINK=$ac_cv_path_PRELINK
9602 if test -n "$PRELINK"; then
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9604 $as_echo "$PRELINK" >&6; }
9605 else
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9607 $as_echo "no" >&6; }
9611 if test "x$PRELINK" = xfalse
9612 then
9613 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9617 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9618 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9619 $as_echo_n "(cached) " >&6
9620 else
9621 ac_wine_try_cflags_saved=$CFLAGS
9622 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9624 /* end confdefs.h. */
9625 int main(int argc, char **argv) { return 0; }
9626 _ACEOF
9627 if ac_fn_c_try_link "$LINENO"; then :
9628 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9629 else
9630 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9632 rm -f core conftest.err conftest.$ac_objext \
9633 conftest$ac_exeext conftest.$ac_ext
9634 CFLAGS=$ac_wine_try_cflags_saved
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9637 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9638 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9639 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9642 esac
9644 else
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9646 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9647 if ${ac_cv_c_dll_unixware+:} false; then :
9648 $as_echo_n "(cached) " >&6
9649 else
9650 ac_wine_try_cflags_saved=$CFLAGS
9651 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9653 /* end confdefs.h. */
9654 void myfunc() {}
9655 _ACEOF
9656 if ac_fn_c_try_link "$LINENO"; then :
9657 ac_cv_c_dll_unixware="yes"
9658 else
9659 ac_cv_c_dll_unixware="no"
9661 rm -f core conftest.err conftest.$ac_objext \
9662 conftest$ac_exeext conftest.$ac_ext
9663 CFLAGS=$ac_wine_try_cflags_saved
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9666 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9667 if test "$ac_cv_c_dll_unixware" = "yes"
9668 then
9669 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9672 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9674 LIBWINE_DEPENDS="wine.map"
9676 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9677 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9679 esac
9681 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9682 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9683 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9684 enable_winemac_drv=${enable_winemac_drv:-no}
9685 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9687 CROSSTARGET=""
9689 if test "x$with_mingw" != xno
9690 then
9691 case "x$with_mingw" in
9692 x|xyes) case "$host_cpu" in
9693 aarch64*)
9694 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9695 arm*)
9696 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9697 i[3456789]86*)
9698 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
9699 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9700 mingw32-gcc" ;;
9701 x86_64)
9702 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
9703 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9705 ac_prefix_list="" ;;
9706 esac
9707 for ac_prog in $ac_prefix_list
9709 # Extract the first word of "$ac_prog", so it can be a program name with args.
9710 set dummy $ac_prog; ac_word=$2
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9712 $as_echo_n "checking for $ac_word... " >&6; }
9713 if ${ac_cv_prog_CROSSCC+:} false; then :
9714 $as_echo_n "(cached) " >&6
9715 else
9716 if test -n "$CROSSCC"; then
9717 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9718 else
9719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9720 for as_dir in $PATH
9722 IFS=$as_save_IFS
9723 test -z "$as_dir" && as_dir=.
9724 for ac_exec_ext in '' $ac_executable_extensions; do
9725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9726 ac_cv_prog_CROSSCC="$ac_prog"
9727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9728 break 2
9730 done
9731 done
9732 IFS=$as_save_IFS
9736 CROSSCC=$ac_cv_prog_CROSSCC
9737 if test -n "$CROSSCC"; then
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9739 $as_echo "$CROSSCC" >&6; }
9740 else
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9742 $as_echo "no" >&6; }
9746 test -n "$CROSSCC" && break
9747 done
9748 test -n "$CROSSCC" || CROSSCC="false"
9750 *) CROSSCC=$with_mingw ;;
9751 esac
9752 if test "$CROSSCC" != "false"
9753 then
9754 ac_save_CC="$CC"
9755 saved_CFLAGS=$CFLAGS
9756 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9758 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9761 CC="$CROSSCC"
9762 CFLAGS=$CROSSCFLAGS
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9764 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9765 if ${wine_cv_crosscc+:} false; then :
9766 $as_echo_n "(cached) " >&6
9767 else
9768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9769 /* end confdefs.h. */
9772 main ()
9776 return 0;
9778 _ACEOF
9779 if ac_fn_c_try_compile "$LINENO"; then :
9780 wine_cv_crosscc=yes
9781 else
9782 wine_cv_crosscc=no
9784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9787 $as_echo "$wine_cv_crosscc" >&6; }
9788 if test $wine_cv_crosscc = yes
9789 then
9790 set x $CROSSCC
9791 shift
9792 while test $# -ge 1
9794 case "$1" in
9795 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9796 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9797 esac
9798 shift
9799 done
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9802 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9803 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9804 $as_echo_n "(cached) " >&6
9805 else
9806 ac_wine_try_cflags_saved=$CFLAGS
9807 ac_wine_try_cflags_saved_cc=$CC
9808 ac_wine_try_cflags_saved_exeext=$ac_exeext
9809 CFLAGS="$CFLAGS -fno-strict-aliasing"
9810 CC="$CROSSCC"
9811 ac_exeext=".exe"
9812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9813 /* end confdefs.h. */
9814 int main(int argc, char **argv) { return 0; }
9815 _ACEOF
9816 if ac_fn_c_try_link "$LINENO"; then :
9817 ac_cv_crosscflags__fno_strict_aliasing=yes
9818 else
9819 ac_cv_crosscflags__fno_strict_aliasing=no
9821 rm -f core conftest.err conftest.$ac_objext \
9822 conftest$ac_exeext conftest.$ac_ext
9823 CFLAGS=$ac_wine_try_cflags_saved
9824 CC=$ac_wine_try_cflags_saved_cc
9825 ac_exeext=$ac_wine_try_cflags_saved_exeext
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9828 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9829 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9830 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9833 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9834 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9835 $as_echo_n "(cached) " >&6
9836 else
9837 ac_wine_try_cflags_saved=$CFLAGS
9838 ac_wine_try_cflags_saved_cc=$CC
9839 ac_wine_try_cflags_saved_exeext=$ac_exeext
9840 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9841 CC="$CROSSCC"
9842 ac_exeext=".exe"
9843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9844 /* end confdefs.h. */
9845 int main(int argc, char **argv) { return 0; }
9846 _ACEOF
9847 if ac_fn_c_try_link "$LINENO"; then :
9848 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9849 else
9850 ac_cv_crosscflags__Werror_unknown_warning_option=no
9852 rm -f core conftest.err conftest.$ac_objext \
9853 conftest$ac_exeext conftest.$ac_ext
9854 CFLAGS=$ac_wine_try_cflags_saved
9855 CC=$ac_wine_try_cflags_saved_cc
9856 ac_exeext=$ac_wine_try_cflags_saved_exeext
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9859 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9860 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9861 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9864 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9865 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9866 $as_echo_n "(cached) " >&6
9867 else
9868 ac_wine_try_cflags_saved=$CFLAGS
9869 ac_wine_try_cflags_saved_cc=$CC
9870 ac_wine_try_cflags_saved_exeext=$ac_exeext
9871 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9872 CC="$CROSSCC"
9873 ac_exeext=".exe"
9874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9876 int main(int argc, char **argv) { return 0; }
9877 _ACEOF
9878 if ac_fn_c_try_link "$LINENO"; then :
9879 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9880 else
9881 ac_cv_crosscflags__Wdeclaration_after_statement=no
9883 rm -f core conftest.err conftest.$ac_objext \
9884 conftest$ac_exeext conftest.$ac_ext
9885 CFLAGS=$ac_wine_try_cflags_saved
9886 CC=$ac_wine_try_cflags_saved_cc
9887 ac_exeext=$ac_wine_try_cflags_saved_exeext
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9890 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9891 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9892 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9895 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9896 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9897 $as_echo_n "(cached) " >&6
9898 else
9899 ac_wine_try_cflags_saved=$CFLAGS
9900 ac_wine_try_cflags_saved_cc=$CC
9901 ac_wine_try_cflags_saved_exeext=$ac_exeext
9902 CFLAGS="$CFLAGS -Wempty-body"
9903 CC="$CROSSCC"
9904 ac_exeext=".exe"
9905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9906 /* end confdefs.h. */
9907 int main(int argc, char **argv) { return 0; }
9908 _ACEOF
9909 if ac_fn_c_try_link "$LINENO"; then :
9910 ac_cv_crosscflags__Wempty_body=yes
9911 else
9912 ac_cv_crosscflags__Wempty_body=no
9914 rm -f core conftest.err conftest.$ac_objext \
9915 conftest$ac_exeext conftest.$ac_ext
9916 CFLAGS=$ac_wine_try_cflags_saved
9917 CC=$ac_wine_try_cflags_saved_cc
9918 ac_exeext=$ac_wine_try_cflags_saved_exeext
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9921 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9922 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9923 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9926 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9927 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9928 $as_echo_n "(cached) " >&6
9929 else
9930 ac_wine_try_cflags_saved=$CFLAGS
9931 ac_wine_try_cflags_saved_cc=$CC
9932 ac_wine_try_cflags_saved_exeext=$ac_exeext
9933 CFLAGS="$CFLAGS -Wignored-qualifiers"
9934 CC="$CROSSCC"
9935 ac_exeext=".exe"
9936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9937 /* end confdefs.h. */
9938 int main(int argc, char **argv) { return 0; }
9939 _ACEOF
9940 if ac_fn_c_try_link "$LINENO"; then :
9941 ac_cv_crosscflags__Wignored_qualifiers=yes
9942 else
9943 ac_cv_crosscflags__Wignored_qualifiers=no
9945 rm -f core conftest.err conftest.$ac_objext \
9946 conftest$ac_exeext conftest.$ac_ext
9947 CFLAGS=$ac_wine_try_cflags_saved
9948 CC=$ac_wine_try_cflags_saved_cc
9949 ac_exeext=$ac_wine_try_cflags_saved_exeext
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9952 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9953 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9954 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9957 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9958 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9959 $as_echo_n "(cached) " >&6
9960 else
9961 ac_wine_try_cflags_saved=$CFLAGS
9962 ac_wine_try_cflags_saved_cc=$CC
9963 ac_wine_try_cflags_saved_exeext=$ac_exeext
9964 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9965 CC="$CROSSCC"
9966 ac_exeext=".exe"
9967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9968 /* end confdefs.h. */
9969 int main(int argc, char **argv) { return 0; }
9970 _ACEOF
9971 if ac_fn_c_try_link "$LINENO"; then :
9972 ac_cv_crosscflags__Wpacked_not_aligned=yes
9973 else
9974 ac_cv_crosscflags__Wpacked_not_aligned=no
9976 rm -f core conftest.err conftest.$ac_objext \
9977 conftest$ac_exeext conftest.$ac_ext
9978 CFLAGS=$ac_wine_try_cflags_saved
9979 CC=$ac_wine_try_cflags_saved_cc
9980 ac_exeext=$ac_wine_try_cflags_saved_exeext
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9983 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9984 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9985 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9988 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9989 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9990 $as_echo_n "(cached) " >&6
9991 else
9992 ac_wine_try_cflags_saved=$CFLAGS
9993 ac_wine_try_cflags_saved_cc=$CC
9994 ac_wine_try_cflags_saved_exeext=$ac_exeext
9995 CFLAGS="$CFLAGS -Wpragma-pack"
9996 CC="$CROSSCC"
9997 ac_exeext=".exe"
9998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9999 /* end confdefs.h. */
10000 int main(int argc, char **argv) { return 0; }
10001 _ACEOF
10002 if ac_fn_c_try_link "$LINENO"; then :
10003 ac_cv_crosscflags__Wpragma_pack=yes
10004 else
10005 ac_cv_crosscflags__Wpragma_pack=no
10007 rm -f core conftest.err conftest.$ac_objext \
10008 conftest$ac_exeext conftest.$ac_ext
10009 CFLAGS=$ac_wine_try_cflags_saved
10010 CC=$ac_wine_try_cflags_saved_cc
10011 ac_exeext=$ac_wine_try_cflags_saved_exeext
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10014 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10015 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10016 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10019 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10020 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10021 $as_echo_n "(cached) " >&6
10022 else
10023 ac_wine_try_cflags_saved=$CFLAGS
10024 ac_wine_try_cflags_saved_cc=$CC
10025 ac_wine_try_cflags_saved_exeext=$ac_exeext
10026 CFLAGS="$CFLAGS -Wshift-overflow=2"
10027 CC="$CROSSCC"
10028 ac_exeext=".exe"
10029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10030 /* end confdefs.h. */
10031 int main(int argc, char **argv) { return 0; }
10032 _ACEOF
10033 if ac_fn_c_try_link "$LINENO"; then :
10034 ac_cv_crosscflags__Wshift_overflow_2=yes
10035 else
10036 ac_cv_crosscflags__Wshift_overflow_2=no
10038 rm -f core conftest.err conftest.$ac_objext \
10039 conftest$ac_exeext conftest.$ac_ext
10040 CFLAGS=$ac_wine_try_cflags_saved
10041 CC=$ac_wine_try_cflags_saved_cc
10042 ac_exeext=$ac_wine_try_cflags_saved_exeext
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10045 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10046 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10047 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10050 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10051 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10052 $as_echo_n "(cached) " >&6
10053 else
10054 ac_wine_try_cflags_saved=$CFLAGS
10055 ac_wine_try_cflags_saved_cc=$CC
10056 ac_wine_try_cflags_saved_exeext=$ac_exeext
10057 CFLAGS="$CFLAGS -Wstrict-prototypes"
10058 CC="$CROSSCC"
10059 ac_exeext=".exe"
10060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10062 int main(int argc, char **argv) { return 0; }
10063 _ACEOF
10064 if ac_fn_c_try_link "$LINENO"; then :
10065 ac_cv_crosscflags__Wstrict_prototypes=yes
10066 else
10067 ac_cv_crosscflags__Wstrict_prototypes=no
10069 rm -f core conftest.err conftest.$ac_objext \
10070 conftest$ac_exeext conftest.$ac_ext
10071 CFLAGS=$ac_wine_try_cflags_saved
10072 CC=$ac_wine_try_cflags_saved_cc
10073 ac_exeext=$ac_wine_try_cflags_saved_exeext
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10076 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10077 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10078 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10081 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10082 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10083 $as_echo_n "(cached) " >&6
10084 else
10085 ac_wine_try_cflags_saved=$CFLAGS
10086 ac_wine_try_cflags_saved_cc=$CC
10087 ac_wine_try_cflags_saved_exeext=$ac_exeext
10088 CFLAGS="$CFLAGS -Wtype-limits"
10089 CC="$CROSSCC"
10090 ac_exeext=".exe"
10091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10092 /* end confdefs.h. */
10093 int main(int argc, char **argv) { return 0; }
10094 _ACEOF
10095 if ac_fn_c_try_link "$LINENO"; then :
10096 ac_cv_crosscflags__Wtype_limits=yes
10097 else
10098 ac_cv_crosscflags__Wtype_limits=no
10100 rm -f core conftest.err conftest.$ac_objext \
10101 conftest$ac_exeext conftest.$ac_ext
10102 CFLAGS=$ac_wine_try_cflags_saved
10103 CC=$ac_wine_try_cflags_saved_cc
10104 ac_exeext=$ac_wine_try_cflags_saved_exeext
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10107 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10108 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10109 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10112 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10113 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10114 $as_echo_n "(cached) " >&6
10115 else
10116 ac_wine_try_cflags_saved=$CFLAGS
10117 ac_wine_try_cflags_saved_cc=$CC
10118 ac_wine_try_cflags_saved_exeext=$ac_exeext
10119 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10120 CC="$CROSSCC"
10121 ac_exeext=".exe"
10122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10123 /* end confdefs.h. */
10124 int main(int argc, char **argv) { return 0; }
10125 _ACEOF
10126 if ac_fn_c_try_link "$LINENO"; then :
10127 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10128 else
10129 ac_cv_crosscflags__Wunused_but_set_parameter=no
10131 rm -f core conftest.err conftest.$ac_objext \
10132 conftest$ac_exeext conftest.$ac_ext
10133 CFLAGS=$ac_wine_try_cflags_saved
10134 CC=$ac_wine_try_cflags_saved_cc
10135 ac_exeext=$ac_wine_try_cflags_saved_exeext
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10138 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10139 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10140 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10143 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10144 if ${ac_cv_crosscflags__Wvla+:} false; then :
10145 $as_echo_n "(cached) " >&6
10146 else
10147 ac_wine_try_cflags_saved=$CFLAGS
10148 ac_wine_try_cflags_saved_cc=$CC
10149 ac_wine_try_cflags_saved_exeext=$ac_exeext
10150 CFLAGS="$CFLAGS -Wvla"
10151 CC="$CROSSCC"
10152 ac_exeext=".exe"
10153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10154 /* end confdefs.h. */
10155 int main(int argc, char **argv) { return 0; }
10156 _ACEOF
10157 if ac_fn_c_try_link "$LINENO"; then :
10158 ac_cv_crosscflags__Wvla=yes
10159 else
10160 ac_cv_crosscflags__Wvla=no
10162 rm -f core conftest.err conftest.$ac_objext \
10163 conftest$ac_exeext conftest.$ac_ext
10164 CFLAGS=$ac_wine_try_cflags_saved
10165 CC=$ac_wine_try_cflags_saved_cc
10166 ac_exeext=$ac_wine_try_cflags_saved_exeext
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10169 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10170 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10171 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10174 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10175 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10176 $as_echo_n "(cached) " >&6
10177 else
10178 ac_wine_try_cflags_saved=$CFLAGS
10179 ac_wine_try_cflags_saved_cc=$CC
10180 ac_wine_try_cflags_saved_exeext=$ac_exeext
10181 CFLAGS="$CFLAGS -Wwrite-strings"
10182 CC="$CROSSCC"
10183 ac_exeext=".exe"
10184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10186 int main(int argc, char **argv) { return 0; }
10187 _ACEOF
10188 if ac_fn_c_try_link "$LINENO"; then :
10189 ac_cv_crosscflags__Wwrite_strings=yes
10190 else
10191 ac_cv_crosscflags__Wwrite_strings=no
10193 rm -f core conftest.err conftest.$ac_objext \
10194 conftest$ac_exeext conftest.$ac_ext
10195 CFLAGS=$ac_wine_try_cflags_saved
10196 CC=$ac_wine_try_cflags_saved_cc
10197 ac_exeext=$ac_wine_try_cflags_saved_exeext
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10200 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10201 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10202 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10205 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10206 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10207 $as_echo_n "(cached) " >&6
10208 else
10209 ac_wine_try_cflags_saved=$CFLAGS
10210 ac_wine_try_cflags_saved_cc=$CC
10211 ac_wine_try_cflags_saved_exeext=$ac_exeext
10212 CFLAGS="$CFLAGS -Wpointer-arith"
10213 CC="$CROSSCC"
10214 ac_exeext=".exe"
10215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10216 /* end confdefs.h. */
10217 int main(int argc, char **argv) { return 0; }
10218 _ACEOF
10219 if ac_fn_c_try_link "$LINENO"; then :
10220 ac_cv_crosscflags__Wpointer_arith=yes
10221 else
10222 ac_cv_crosscflags__Wpointer_arith=no
10224 rm -f core conftest.err conftest.$ac_objext \
10225 conftest$ac_exeext conftest.$ac_ext
10226 CFLAGS=$ac_wine_try_cflags_saved
10227 CC=$ac_wine_try_cflags_saved_cc
10228 ac_exeext=$ac_wine_try_cflags_saved_exeext
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10231 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10232 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10233 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10236 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10237 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10238 $as_echo_n "(cached) " >&6
10239 else
10240 ac_wine_try_cflags_saved=$CFLAGS
10241 ac_wine_try_cflags_saved_cc=$CC
10242 ac_wine_try_cflags_saved_exeext=$ac_exeext
10243 CFLAGS="$CFLAGS -Wlogical-op"
10244 CC="$CROSSCC"
10245 ac_exeext=".exe"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10248 int main(int argc, char **argv) { return 0; }
10249 _ACEOF
10250 if ac_fn_c_try_link "$LINENO"; then :
10251 ac_cv_crosscflags__Wlogical_op=yes
10252 else
10253 ac_cv_crosscflags__Wlogical_op=no
10255 rm -f core conftest.err conftest.$ac_objext \
10256 conftest$ac_exeext conftest.$ac_ext
10257 CFLAGS=$ac_wine_try_cflags_saved
10258 CC=$ac_wine_try_cflags_saved_cc
10259 ac_exeext=$ac_wine_try_cflags_saved_exeext
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10262 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10263 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10264 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10267 case $host_cpu in
10268 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10269 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10270 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10271 $as_echo_n "(cached) " >&6
10272 else
10273 ac_wine_try_cflags_saved=$CFLAGS
10274 ac_wine_try_cflags_saved_cc=$CC
10275 ac_wine_try_cflags_saved_exeext=$ac_exeext
10276 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10277 CC="$CROSSCC"
10278 ac_exeext=".exe"
10279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10280 /* end confdefs.h. */
10281 int main(int argc, char **argv) { return 0; }
10282 _ACEOF
10283 if ac_fn_c_try_link "$LINENO"; then :
10284 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10285 else
10286 ac_cv_crosscflags__fno_omit_frame_pointer=no
10288 rm -f core conftest.err conftest.$ac_objext \
10289 conftest$ac_exeext conftest.$ac_ext
10290 CFLAGS=$ac_wine_try_cflags_saved
10291 CC=$ac_wine_try_cflags_saved_cc
10292 ac_exeext=$ac_wine_try_cflags_saved_exeext
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10295 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10296 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10297 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10298 fi ;;
10299 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10300 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10301 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10302 $as_echo_n "(cached) " >&6
10303 else
10304 ac_wine_try_cflags_saved=$CFLAGS
10305 ac_wine_try_cflags_saved_cc=$CC
10306 ac_wine_try_cflags_saved_exeext=$ac_exeext
10307 CFLAGS="$CFLAGS -Wno-format"
10308 CC="$CROSSCC"
10309 ac_exeext=".exe"
10310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10312 int main(int argc, char **argv) { return 0; }
10313 _ACEOF
10314 if ac_fn_c_try_link "$LINENO"; then :
10315 ac_cv_crosscflags__Wno_format=yes
10316 else
10317 ac_cv_crosscflags__Wno_format=no
10319 rm -f core conftest.err conftest.$ac_objext \
10320 conftest$ac_exeext conftest.$ac_ext
10321 CFLAGS=$ac_wine_try_cflags_saved
10322 CC=$ac_wine_try_cflags_saved_cc
10323 ac_exeext=$ac_wine_try_cflags_saved_exeext
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10326 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10327 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10328 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10329 fi ;;
10330 esac
10332 for ac_flag in $CROSSCFLAGS; do
10333 case $ac_flag in
10334 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10335 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10336 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10337 $as_echo_n "(cached) " >&6
10338 else
10339 ac_wine_try_cflags_saved=$CFLAGS
10340 ac_wine_try_cflags_saved_cc=$CC
10341 ac_wine_try_cflags_saved_exeext=$ac_exeext
10342 CFLAGS="$CFLAGS -gdwarf-2"
10343 CC="$CROSSCC"
10344 ac_exeext=".exe"
10345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10346 /* end confdefs.h. */
10347 int main(int argc, char **argv) { return 0; }
10348 _ACEOF
10349 if ac_fn_c_try_link "$LINENO"; then :
10350 ac_cv_crosscflags__gdwarf_2=yes
10351 else
10352 ac_cv_crosscflags__gdwarf_2=no
10354 rm -f core conftest.err conftest.$ac_objext \
10355 conftest$ac_exeext conftest.$ac_ext
10356 CFLAGS=$ac_wine_try_cflags_saved
10357 CC=$ac_wine_try_cflags_saved_cc
10358 ac_exeext=$ac_wine_try_cflags_saved_exeext
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10361 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10362 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10363 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10366 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10367 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10368 $as_echo_n "(cached) " >&6
10369 else
10370 ac_wine_try_cflags_saved=$CFLAGS
10371 ac_wine_try_cflags_saved_cc=$CC
10372 ac_wine_try_cflags_saved_exeext=$ac_exeext
10373 CFLAGS="$CFLAGS -gstrict-dwarf"
10374 CC="$CROSSCC"
10375 ac_exeext=".exe"
10376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10377 /* end confdefs.h. */
10378 int main(int argc, char **argv) { return 0; }
10379 _ACEOF
10380 if ac_fn_c_try_link "$LINENO"; then :
10381 ac_cv_crosscflags__gstrict_dwarf=yes
10382 else
10383 ac_cv_crosscflags__gstrict_dwarf=no
10385 rm -f core conftest.err conftest.$ac_objext \
10386 conftest$ac_exeext conftest.$ac_ext
10387 CFLAGS=$ac_wine_try_cflags_saved
10388 CC=$ac_wine_try_cflags_saved_cc
10389 ac_exeext=$ac_wine_try_cflags_saved_exeext
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10392 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10393 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10394 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10395 fi ;;
10396 esac
10397 done
10399 if test "x$enable_maintainer_mode" = xyes
10400 then
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10402 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10403 if ${ac_cv_crosscflags__Werror+:} false; then :
10404 $as_echo_n "(cached) " >&6
10405 else
10406 ac_wine_try_cflags_saved=$CFLAGS
10407 ac_wine_try_cflags_saved_cc=$CC
10408 ac_wine_try_cflags_saved_exeext=$ac_exeext
10409 CFLAGS="$CFLAGS -Werror"
10410 CC="$CROSSCC"
10411 ac_exeext=".exe"
10412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10413 /* end confdefs.h. */
10414 int main(int argc, char **argv) { return 0; }
10415 _ACEOF
10416 if ac_fn_c_try_link "$LINENO"; then :
10417 ac_cv_crosscflags__Werror=yes
10418 else
10419 ac_cv_crosscflags__Werror=no
10421 rm -f core conftest.err conftest.$ac_objext \
10422 conftest$ac_exeext conftest.$ac_ext
10423 CFLAGS=$ac_wine_try_cflags_saved
10424 CC=$ac_wine_try_cflags_saved_cc
10425 ac_exeext=$ac_wine_try_cflags_saved_exeext
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10428 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10429 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10430 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10434 CFLAGS=$saved_CFLAGS
10435 CC="$ac_save_CC"
10438 if test "x$CROSSTARGET" = "x"; then :
10439 case "x$with_mingw" in
10440 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10441 xno) ;;
10442 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10443 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10444 esac
10449 if test "$ac_cv_header_pthread_h" = "yes"
10450 then
10451 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10452 if test "x$ac_cv_func_pthread_create" = xyes; then :
10454 else
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10456 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10457 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10458 $as_echo_n "(cached) " >&6
10459 else
10460 ac_check_lib_save_LIBS=$LIBS
10461 LIBS="-lpthread $LIBS"
10462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10463 /* end confdefs.h. */
10465 /* Override any GCC internal prototype to avoid an error.
10466 Use char because int might match the return type of a GCC
10467 builtin and then its argument prototype would still apply. */
10468 #ifdef __cplusplus
10469 extern "C"
10470 #endif
10471 char pthread_create ();
10473 main ()
10475 return pthread_create ();
10477 return 0;
10479 _ACEOF
10480 if ac_fn_c_try_link "$LINENO"; then :
10481 ac_cv_lib_pthread_pthread_create=yes
10482 else
10483 ac_cv_lib_pthread_pthread_create=no
10485 rm -f core conftest.err conftest.$ac_objext \
10486 conftest$ac_exeext conftest.$ac_ext
10487 LIBS=$ac_check_lib_save_LIBS
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10490 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10491 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10492 PTHREAD_LIBS="-lpthread"
10499 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10500 case "x$with_pthread" in
10501 xno) ;;
10502 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10503 Wine cannot support threads without libpthread.
10504 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10505 esac
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10511 $as_echo_n "checking for X... " >&6; }
10514 # Check whether --with-x was given.
10515 if test "${with_x+set}" = set; then :
10516 withval=$with_x;
10519 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10520 if test "x$with_x" = xno; then
10521 # The user explicitly disabled X.
10522 have_x=disabled
10523 else
10524 case $x_includes,$x_libraries in #(
10525 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10526 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10527 $as_echo_n "(cached) " >&6
10528 else
10529 # One or both of the vars are not set, and there is no cached value.
10530 ac_x_includes=no ac_x_libraries=no
10531 rm -f -r conftest.dir
10532 if mkdir conftest.dir; then
10533 cd conftest.dir
10534 cat >Imakefile <<'_ACEOF'
10535 incroot:
10536 @echo incroot='${INCROOT}'
10537 usrlibdir:
10538 @echo usrlibdir='${USRLIBDIR}'
10539 libdir:
10540 @echo libdir='${LIBDIR}'
10541 _ACEOF
10542 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10543 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10544 for ac_var in incroot usrlibdir libdir; do
10545 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10546 done
10547 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10548 for ac_extension in a so sl dylib la dll; do
10549 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10550 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10551 ac_im_usrlibdir=$ac_im_libdir; break
10553 done
10554 # Screen out bogus values from the imake configuration. They are
10555 # bogus both because they are the default anyway, and because
10556 # using them would break gcc on systems where it needs fixed includes.
10557 case $ac_im_incroot in
10558 /usr/include) ac_x_includes= ;;
10559 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10560 esac
10561 case $ac_im_usrlibdir in
10562 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10563 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10564 esac
10566 cd ..
10567 rm -f -r conftest.dir
10570 # Standard set of common directories for X headers.
10571 # Check X11 before X11Rn because it is often a symlink to the current release.
10572 ac_x_header_dirs='
10573 /usr/X11/include
10574 /usr/X11R7/include
10575 /usr/X11R6/include
10576 /usr/X11R5/include
10577 /usr/X11R4/include
10579 /usr/include/X11
10580 /usr/include/X11R7
10581 /usr/include/X11R6
10582 /usr/include/X11R5
10583 /usr/include/X11R4
10585 /usr/local/X11/include
10586 /usr/local/X11R7/include
10587 /usr/local/X11R6/include
10588 /usr/local/X11R5/include
10589 /usr/local/X11R4/include
10591 /usr/local/include/X11
10592 /usr/local/include/X11R7
10593 /usr/local/include/X11R6
10594 /usr/local/include/X11R5
10595 /usr/local/include/X11R4
10597 /usr/X386/include
10598 /usr/x386/include
10599 /usr/XFree86/include/X11
10601 /usr/include
10602 /usr/local/include
10603 /usr/unsupported/include
10604 /usr/athena/include
10605 /usr/local/x11r5/include
10606 /usr/lpp/Xamples/include
10608 /usr/openwin/include
10609 /usr/openwin/share/include'
10611 if test "$ac_x_includes" = no; then
10612 # Guess where to find include files, by looking for Xlib.h.
10613 # First, try using that file with no special directory specified.
10614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10615 /* end confdefs.h. */
10616 #include <X11/Xlib.h>
10617 _ACEOF
10618 if ac_fn_c_try_cpp "$LINENO"; then :
10619 # We can compile using X headers with no special include directory.
10620 ac_x_includes=
10621 else
10622 for ac_dir in $ac_x_header_dirs; do
10623 if test -r "$ac_dir/X11/Xlib.h"; then
10624 ac_x_includes=$ac_dir
10625 break
10627 done
10629 rm -f conftest.err conftest.i conftest.$ac_ext
10630 fi # $ac_x_includes = no
10632 if test "$ac_x_libraries" = no; then
10633 # Check for the libraries.
10634 # See if we find them without any special options.
10635 # Don't add to $LIBS permanently.
10636 ac_save_LIBS=$LIBS
10637 LIBS="-lX11 $LIBS"
10638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10639 /* end confdefs.h. */
10640 #include <X11/Xlib.h>
10642 main ()
10644 XrmInitialize ()
10646 return 0;
10648 _ACEOF
10649 if ac_fn_c_try_link "$LINENO"; then :
10650 LIBS=$ac_save_LIBS
10651 # We can link X programs with no special library path.
10652 ac_x_libraries=
10653 else
10654 LIBS=$ac_save_LIBS
10655 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10657 # Don't even attempt the hair of trying to link an X program!
10658 for ac_extension in a so sl dylib la dll; do
10659 if test -r "$ac_dir/libX11.$ac_extension"; then
10660 ac_x_libraries=$ac_dir
10661 break 2
10663 done
10664 done
10666 rm -f core conftest.err conftest.$ac_objext \
10667 conftest$ac_exeext conftest.$ac_ext
10668 fi # $ac_x_libraries = no
10670 case $ac_x_includes,$ac_x_libraries in #(
10671 no,* | *,no | *\'*)
10672 # Didn't find X, or a directory has "'" in its name.
10673 ac_cv_have_x="have_x=no";; #(
10675 # Record where we found X for the cache.
10676 ac_cv_have_x="have_x=yes\
10677 ac_x_includes='$ac_x_includes'\
10678 ac_x_libraries='$ac_x_libraries'"
10679 esac
10681 ;; #(
10682 *) have_x=yes;;
10683 esac
10684 eval "$ac_cv_have_x"
10685 fi # $with_x != no
10687 if test "$have_x" != yes; then
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10689 $as_echo "$have_x" >&6; }
10690 no_x=yes
10691 else
10692 # If each of the values was on the command line, it overrides each guess.
10693 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10694 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10695 # Update the cache value to reflect the command line values.
10696 ac_cv_have_x="have_x=yes\
10697 ac_x_includes='$x_includes'\
10698 ac_x_libraries='$x_libraries'"
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10700 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10703 if test "$no_x" = yes; then
10704 # Not all programs may use this symbol, but it does not hurt to define it.
10706 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10708 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10709 else
10710 if test -n "$x_includes"; then
10711 X_CFLAGS="$X_CFLAGS -I$x_includes"
10714 # It would also be nice to do this for all -L options, not just this one.
10715 if test -n "$x_libraries"; then
10716 X_LIBS="$X_LIBS -L$x_libraries"
10717 # For Solaris; some versions of Sun CC require a space after -R and
10718 # others require no space. Words are not sufficient . . . .
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10720 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10721 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10722 ac_xsave_c_werror_flag=$ac_c_werror_flag
10723 ac_c_werror_flag=yes
10724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10725 /* end confdefs.h. */
10728 main ()
10732 return 0;
10734 _ACEOF
10735 if ac_fn_c_try_link "$LINENO"; then :
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10737 $as_echo "no" >&6; }
10738 X_LIBS="$X_LIBS -R$x_libraries"
10739 else
10740 LIBS="$ac_xsave_LIBS -R $x_libraries"
10741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10742 /* end confdefs.h. */
10745 main ()
10749 return 0;
10751 _ACEOF
10752 if ac_fn_c_try_link "$LINENO"; then :
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10754 $as_echo "yes" >&6; }
10755 X_LIBS="$X_LIBS -R $x_libraries"
10756 else
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10758 $as_echo "neither works" >&6; }
10760 rm -f core conftest.err conftest.$ac_objext \
10761 conftest$ac_exeext conftest.$ac_ext
10763 rm -f core conftest.err conftest.$ac_objext \
10764 conftest$ac_exeext conftest.$ac_ext
10765 ac_c_werror_flag=$ac_xsave_c_werror_flag
10766 LIBS=$ac_xsave_LIBS
10769 # Check for system-dependent libraries X programs must link with.
10770 # Do this before checking for the system-independent R6 libraries
10771 # (-lICE), since we may need -lsocket or whatever for X linking.
10773 if test "$ISC" = yes; then
10774 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10775 else
10776 # Martyn Johnson says this is needed for Ultrix, if the X
10777 # libraries were built with DECnet support. And Karl Berry says
10778 # the Alpha needs dnet_stub (dnet does not exist).
10779 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10781 /* end confdefs.h. */
10783 /* Override any GCC internal prototype to avoid an error.
10784 Use char because int might match the return type of a GCC
10785 builtin and then its argument prototype would still apply. */
10786 #ifdef __cplusplus
10787 extern "C"
10788 #endif
10789 char XOpenDisplay ();
10791 main ()
10793 return XOpenDisplay ();
10795 return 0;
10797 _ACEOF
10798 if ac_fn_c_try_link "$LINENO"; then :
10800 else
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10802 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10803 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10804 $as_echo_n "(cached) " >&6
10805 else
10806 ac_check_lib_save_LIBS=$LIBS
10807 LIBS="-ldnet $LIBS"
10808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10809 /* end confdefs.h. */
10811 /* Override any GCC internal prototype to avoid an error.
10812 Use char because int might match the return type of a GCC
10813 builtin and then its argument prototype would still apply. */
10814 #ifdef __cplusplus
10815 extern "C"
10816 #endif
10817 char dnet_ntoa ();
10819 main ()
10821 return dnet_ntoa ();
10823 return 0;
10825 _ACEOF
10826 if ac_fn_c_try_link "$LINENO"; then :
10827 ac_cv_lib_dnet_dnet_ntoa=yes
10828 else
10829 ac_cv_lib_dnet_dnet_ntoa=no
10831 rm -f core conftest.err conftest.$ac_objext \
10832 conftest$ac_exeext conftest.$ac_ext
10833 LIBS=$ac_check_lib_save_LIBS
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10836 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10837 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10838 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10841 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10843 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10844 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10845 $as_echo_n "(cached) " >&6
10846 else
10847 ac_check_lib_save_LIBS=$LIBS
10848 LIBS="-ldnet_stub $LIBS"
10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10852 /* Override any GCC internal prototype to avoid an error.
10853 Use char because int might match the return type of a GCC
10854 builtin and then its argument prototype would still apply. */
10855 #ifdef __cplusplus
10856 extern "C"
10857 #endif
10858 char dnet_ntoa ();
10860 main ()
10862 return dnet_ntoa ();
10864 return 0;
10866 _ACEOF
10867 if ac_fn_c_try_link "$LINENO"; then :
10868 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10869 else
10870 ac_cv_lib_dnet_stub_dnet_ntoa=no
10872 rm -f core conftest.err conftest.$ac_objext \
10873 conftest$ac_exeext conftest.$ac_ext
10874 LIBS=$ac_check_lib_save_LIBS
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10877 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10878 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10879 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10884 rm -f core conftest.err conftest.$ac_objext \
10885 conftest$ac_exeext conftest.$ac_ext
10886 LIBS="$ac_xsave_LIBS"
10888 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10889 # to get the SysV transport functions.
10890 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10891 # needs -lnsl.
10892 # The nsl library prevents programs from opening the X display
10893 # on Irix 5.2, according to T.E. Dickey.
10894 # The functions gethostbyname, getservbyname, and inet_addr are
10895 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10896 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10897 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10901 if test $ac_cv_func_gethostbyname = no; then
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10903 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10904 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10905 $as_echo_n "(cached) " >&6
10906 else
10907 ac_check_lib_save_LIBS=$LIBS
10908 LIBS="-lnsl $LIBS"
10909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10910 /* end confdefs.h. */
10912 /* Override any GCC internal prototype to avoid an error.
10913 Use char because int might match the return type of a GCC
10914 builtin and then its argument prototype would still apply. */
10915 #ifdef __cplusplus
10916 extern "C"
10917 #endif
10918 char gethostbyname ();
10920 main ()
10922 return gethostbyname ();
10924 return 0;
10926 _ACEOF
10927 if ac_fn_c_try_link "$LINENO"; then :
10928 ac_cv_lib_nsl_gethostbyname=yes
10929 else
10930 ac_cv_lib_nsl_gethostbyname=no
10932 rm -f core conftest.err conftest.$ac_objext \
10933 conftest$ac_exeext conftest.$ac_ext
10934 LIBS=$ac_check_lib_save_LIBS
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10937 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10938 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10939 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10942 if test $ac_cv_lib_nsl_gethostbyname = no; then
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10944 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10945 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10946 $as_echo_n "(cached) " >&6
10947 else
10948 ac_check_lib_save_LIBS=$LIBS
10949 LIBS="-lbsd $LIBS"
10950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10953 /* Override any GCC internal prototype to avoid an error.
10954 Use char because int might match the return type of a GCC
10955 builtin and then its argument prototype would still apply. */
10956 #ifdef __cplusplus
10957 extern "C"
10958 #endif
10959 char gethostbyname ();
10961 main ()
10963 return gethostbyname ();
10965 return 0;
10967 _ACEOF
10968 if ac_fn_c_try_link "$LINENO"; then :
10969 ac_cv_lib_bsd_gethostbyname=yes
10970 else
10971 ac_cv_lib_bsd_gethostbyname=no
10973 rm -f core conftest.err conftest.$ac_objext \
10974 conftest$ac_exeext conftest.$ac_ext
10975 LIBS=$ac_check_lib_save_LIBS
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10978 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10979 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10980 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10986 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10987 # socket/setsockopt and other routines are undefined under SCO ODT
10988 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10989 # on later versions), says Simon Leinen: it contains gethostby*
10990 # variants that don't use the name server (or something). -lsocket
10991 # must be given before -lnsl if both are needed. We assume that
10992 # if connect needs -lnsl, so does gethostbyname.
10993 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10994 if test "x$ac_cv_func_connect" = xyes; then :
10998 if test $ac_cv_func_connect = no; then
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11000 $as_echo_n "checking for connect in -lsocket... " >&6; }
11001 if ${ac_cv_lib_socket_connect+:} false; then :
11002 $as_echo_n "(cached) " >&6
11003 else
11004 ac_check_lib_save_LIBS=$LIBS
11005 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11007 /* end confdefs.h. */
11009 /* Override any GCC internal prototype to avoid an error.
11010 Use char because int might match the return type of a GCC
11011 builtin and then its argument prototype would still apply. */
11012 #ifdef __cplusplus
11013 extern "C"
11014 #endif
11015 char connect ();
11017 main ()
11019 return connect ();
11021 return 0;
11023 _ACEOF
11024 if ac_fn_c_try_link "$LINENO"; then :
11025 ac_cv_lib_socket_connect=yes
11026 else
11027 ac_cv_lib_socket_connect=no
11029 rm -f core conftest.err conftest.$ac_objext \
11030 conftest$ac_exeext conftest.$ac_ext
11031 LIBS=$ac_check_lib_save_LIBS
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11034 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11035 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11036 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11041 # Guillermo Gomez says -lposix is necessary on A/UX.
11042 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11043 if test "x$ac_cv_func_remove" = xyes; then :
11047 if test $ac_cv_func_remove = no; then
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11049 $as_echo_n "checking for remove in -lposix... " >&6; }
11050 if ${ac_cv_lib_posix_remove+:} false; then :
11051 $as_echo_n "(cached) " >&6
11052 else
11053 ac_check_lib_save_LIBS=$LIBS
11054 LIBS="-lposix $LIBS"
11055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056 /* end confdefs.h. */
11058 /* Override any GCC internal prototype to avoid an error.
11059 Use char because int might match the return type of a GCC
11060 builtin and then its argument prototype would still apply. */
11061 #ifdef __cplusplus
11062 extern "C"
11063 #endif
11064 char remove ();
11066 main ()
11068 return remove ();
11070 return 0;
11072 _ACEOF
11073 if ac_fn_c_try_link "$LINENO"; then :
11074 ac_cv_lib_posix_remove=yes
11075 else
11076 ac_cv_lib_posix_remove=no
11078 rm -f core conftest.err conftest.$ac_objext \
11079 conftest$ac_exeext conftest.$ac_ext
11080 LIBS=$ac_check_lib_save_LIBS
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11083 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11084 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11085 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11090 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11091 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11092 if test "x$ac_cv_func_shmat" = xyes; then :
11096 if test $ac_cv_func_shmat = no; then
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11098 $as_echo_n "checking for shmat in -lipc... " >&6; }
11099 if ${ac_cv_lib_ipc_shmat+:} false; then :
11100 $as_echo_n "(cached) " >&6
11101 else
11102 ac_check_lib_save_LIBS=$LIBS
11103 LIBS="-lipc $LIBS"
11104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h. */
11107 /* Override any GCC internal prototype to avoid an error.
11108 Use char because int might match the return type of a GCC
11109 builtin and then its argument prototype would still apply. */
11110 #ifdef __cplusplus
11111 extern "C"
11112 #endif
11113 char shmat ();
11115 main ()
11117 return shmat ();
11119 return 0;
11121 _ACEOF
11122 if ac_fn_c_try_link "$LINENO"; then :
11123 ac_cv_lib_ipc_shmat=yes
11124 else
11125 ac_cv_lib_ipc_shmat=no
11127 rm -f core conftest.err conftest.$ac_objext \
11128 conftest$ac_exeext conftest.$ac_ext
11129 LIBS=$ac_check_lib_save_LIBS
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11132 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11133 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11134 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11140 # Check for libraries that X11R6 Xt/Xaw programs need.
11141 ac_save_LDFLAGS=$LDFLAGS
11142 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11143 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11144 # check for ICE first), but we must link in the order -lSM -lICE or
11145 # we get undefined symbols. So assume we have SM if we have ICE.
11146 # These have to be linked with before -lX11, unlike the other
11147 # libraries we check for below, so use a different variable.
11148 # John Interrante, Karl Berry
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11150 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11151 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11152 $as_echo_n "(cached) " >&6
11153 else
11154 ac_check_lib_save_LIBS=$LIBS
11155 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11159 /* Override any GCC internal prototype to avoid an error.
11160 Use char because int might match the return type of a GCC
11161 builtin and then its argument prototype would still apply. */
11162 #ifdef __cplusplus
11163 extern "C"
11164 #endif
11165 char IceConnectionNumber ();
11167 main ()
11169 return IceConnectionNumber ();
11171 return 0;
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"; then :
11175 ac_cv_lib_ICE_IceConnectionNumber=yes
11176 else
11177 ac_cv_lib_ICE_IceConnectionNumber=no
11179 rm -f core conftest.err conftest.$ac_objext \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LIBS=$ac_check_lib_save_LIBS
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11184 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11185 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11186 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11189 LDFLAGS=$ac_save_LDFLAGS
11194 if test "$have_x" = "yes"
11195 then
11196 ac_save_CPPFLAGS="$CPPFLAGS"
11197 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11200 $as_echo_n "checking for -lX11... " >&6; }
11201 if ${ac_cv_lib_soname_X11+:} false; then :
11202 $as_echo_n "(cached) " >&6
11203 else
11204 ac_check_soname_save_LIBS=$LIBS
11205 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11207 /* end confdefs.h. */
11209 /* Override any GCC internal prototype to avoid an error.
11210 Use char because int might match the return type of a GCC
11211 builtin and then its argument prototype would still apply. */
11212 #ifdef __cplusplus
11213 extern "C"
11214 #endif
11215 char XCreateWindow ();
11217 main ()
11219 return XCreateWindow ();
11221 return 0;
11223 _ACEOF
11224 if ac_fn_c_try_link "$LINENO"; then :
11225 case "$LIBEXT" in
11226 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11227 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'` ;;
11228 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11229 if ${ac_cv_lib_soname_X11:+false} :; then :
11230 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11231 fi ;;
11232 esac
11233 else
11234 ac_cv_lib_soname_X11=
11236 rm -f core conftest.err conftest.$ac_objext \
11237 conftest$ac_exeext conftest.$ac_ext
11238 LIBS=$ac_check_soname_save_LIBS
11240 if ${ac_cv_lib_soname_X11:+false} :; then :
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11242 $as_echo "not found" >&6; }
11244 else
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11246 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11248 cat >>confdefs.h <<_ACEOF
11249 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11250 _ACEOF
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11255 $as_echo_n "checking for -lXext... " >&6; }
11256 if ${ac_cv_lib_soname_Xext+:} false; then :
11257 $as_echo_n "(cached) " >&6
11258 else
11259 ac_check_soname_save_LIBS=$LIBS
11260 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11262 /* end confdefs.h. */
11264 /* Override any GCC internal prototype to avoid an error.
11265 Use char because int might match the return type of a GCC
11266 builtin and then its argument prototype would still apply. */
11267 #ifdef __cplusplus
11268 extern "C"
11269 #endif
11270 char XextCreateExtension ();
11272 main ()
11274 return XextCreateExtension ();
11276 return 0;
11278 _ACEOF
11279 if ac_fn_c_try_link "$LINENO"; then :
11280 case "$LIBEXT" in
11281 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11282 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'` ;;
11283 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11284 if ${ac_cv_lib_soname_Xext:+false} :; then :
11285 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11286 fi ;;
11287 esac
11288 else
11289 ac_cv_lib_soname_Xext=
11291 rm -f core conftest.err conftest.$ac_objext \
11292 conftest$ac_exeext conftest.$ac_ext
11293 LIBS=$ac_check_soname_save_LIBS
11295 if ${ac_cv_lib_soname_Xext:+false} :; then :
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11297 $as_echo "not found" >&6; }
11299 else
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11301 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11303 cat >>confdefs.h <<_ACEOF
11304 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11305 _ACEOF
11307 X_LIBS="$X_LIBS -lXext"
11309 X_LIBS="$X_LIBS -lX11"
11311 for ac_header in X11/Xlib.h \
11312 X11/XKBlib.h \
11313 X11/Xutil.h \
11314 X11/Xcursor/Xcursor.h \
11315 X11/extensions/shape.h \
11316 X11/extensions/XInput.h \
11317 X11/extensions/XInput2.h \
11318 X11/extensions/XShm.h \
11319 X11/extensions/Xcomposite.h \
11320 X11/extensions/Xfixes.h \
11321 X11/extensions/Xinerama.h \
11322 X11/extensions/Xrandr.h \
11323 X11/extensions/Xrender.h \
11324 X11/extensions/xf86vmode.h \
11325 X11/extensions/xf86vmproto.h
11326 do :
11327 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11328 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11329 # include <X11/Xlib.h>
11330 #endif
11331 #ifdef HAVE_X11_XUTIL_H
11332 # include <X11/Xutil.h>
11333 #endif
11335 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11336 cat >>confdefs.h <<_ACEOF
11337 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11338 _ACEOF
11342 done
11345 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11346 then
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11348 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11349 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11350 $as_echo_n "(cached) " >&6
11351 else
11352 ac_check_lib_save_LIBS=$LIBS
11353 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11355 /* end confdefs.h. */
11357 /* Override any GCC internal prototype to avoid an error.
11358 Use char because int might match the return type of a GCC
11359 builtin and then its argument prototype would still apply. */
11360 #ifdef __cplusplus
11361 extern "C"
11362 #endif
11363 char XkbQueryExtension ();
11365 main ()
11367 return XkbQueryExtension ();
11369 return 0;
11371 _ACEOF
11372 if ac_fn_c_try_link "$LINENO"; then :
11373 ac_cv_lib_X11_XkbQueryExtension=yes
11374 else
11375 ac_cv_lib_X11_XkbQueryExtension=no
11377 rm -f core conftest.err conftest.$ac_objext \
11378 conftest$ac_exeext conftest.$ac_ext
11379 LIBS=$ac_check_lib_save_LIBS
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11382 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11383 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11385 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11391 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11392 then
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11394 $as_echo_n "checking for -lXcursor... " >&6; }
11395 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11396 $as_echo_n "(cached) " >&6
11397 else
11398 ac_check_soname_save_LIBS=$LIBS
11399 LIBS="-lXcursor $X_LIBS $X_EXTRA_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 XcursorImageLoadCursor ();
11411 main ()
11413 return XcursorImageLoadCursor ();
11415 return 0;
11417 _ACEOF
11418 if ac_fn_c_try_link "$LINENO"; then :
11419 case "$LIBEXT" in
11420 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11421 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'` ;;
11422 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11423 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11424 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11425 fi ;;
11426 esac
11427 else
11428 ac_cv_lib_soname_Xcursor=
11430 rm -f core conftest.err conftest.$ac_objext \
11431 conftest$ac_exeext conftest.$ac_ext
11432 LIBS=$ac_check_soname_save_LIBS
11434 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11436 $as_echo "not found" >&6; }
11438 else
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11440 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11442 cat >>confdefs.h <<_ACEOF
11443 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11444 _ACEOF
11449 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11450 case "x$with_xcursor" in
11451 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11452 xno) ;;
11453 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11454 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11455 esac
11459 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11460 then
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11462 $as_echo_n "checking for -lXi... " >&6; }
11463 if ${ac_cv_lib_soname_Xi+:} false; then :
11464 $as_echo_n "(cached) " >&6
11465 else
11466 ac_check_soname_save_LIBS=$LIBS
11467 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11469 /* end confdefs.h. */
11471 /* Override any GCC internal prototype to avoid an error.
11472 Use char because int might match the return type of a GCC
11473 builtin and then its argument prototype would still apply. */
11474 #ifdef __cplusplus
11475 extern "C"
11476 #endif
11477 char XOpenDevice ();
11479 main ()
11481 return XOpenDevice ();
11483 return 0;
11485 _ACEOF
11486 if ac_fn_c_try_link "$LINENO"; then :
11487 case "$LIBEXT" in
11488 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11489 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'` ;;
11490 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11491 if ${ac_cv_lib_soname_Xi:+false} :; then :
11492 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11493 fi ;;
11494 esac
11495 else
11496 ac_cv_lib_soname_Xi=
11498 rm -f core conftest.err conftest.$ac_objext \
11499 conftest$ac_exeext conftest.$ac_ext
11500 LIBS=$ac_check_soname_save_LIBS
11502 if ${ac_cv_lib_soname_Xi:+false} :; then :
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11504 $as_echo "not found" >&6; }
11506 else
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11508 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11510 cat >>confdefs.h <<_ACEOF
11511 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11512 _ACEOF
11517 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11518 case "x$with_xinput" in
11519 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11520 xno) ;;
11521 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11522 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11523 esac
11527 if test "x$ac_cv_lib_soname_Xi" != x
11528 then
11529 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11530 case "x$with_xinput2" in
11531 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11532 xno) ;;
11533 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11534 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11535 esac
11540 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11541 then
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11543 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11544 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11545 $as_echo_n "(cached) " >&6
11546 else
11547 ac_check_lib_save_LIBS=$LIBS
11548 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11550 /* end confdefs.h. */
11552 /* Override any GCC internal prototype to avoid an error.
11553 Use char because int might match the return type of a GCC
11554 builtin and then its argument prototype would still apply. */
11555 #ifdef __cplusplus
11556 extern "C"
11557 #endif
11558 char XShmQueryExtension ();
11560 main ()
11562 return XShmQueryExtension ();
11564 return 0;
11566 _ACEOF
11567 if ac_fn_c_try_link "$LINENO"; then :
11568 ac_cv_lib_Xext_XShmQueryExtension=yes
11569 else
11570 ac_cv_lib_Xext_XShmQueryExtension=no
11572 rm -f core conftest.err conftest.$ac_objext \
11573 conftest$ac_exeext conftest.$ac_ext
11574 LIBS=$ac_check_lib_save_LIBS
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11577 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11578 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11580 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11585 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11586 case "x$with_xshm" in
11587 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11588 xno) ;;
11589 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11590 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11591 esac
11595 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11596 then
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11598 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11599 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11600 $as_echo_n "(cached) " >&6
11601 else
11602 ac_check_lib_save_LIBS=$LIBS
11603 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11605 /* end confdefs.h. */
11607 /* Override any GCC internal prototype to avoid an error.
11608 Use char because int might match the return type of a GCC
11609 builtin and then its argument prototype would still apply. */
11610 #ifdef __cplusplus
11611 extern "C"
11612 #endif
11613 char XShapeQueryExtension ();
11615 main ()
11617 return XShapeQueryExtension ();
11619 return 0;
11621 _ACEOF
11622 if ac_fn_c_try_link "$LINENO"; then :
11623 ac_cv_lib_Xext_XShapeQueryExtension=yes
11624 else
11625 ac_cv_lib_Xext_XShapeQueryExtension=no
11627 rm -f core conftest.err conftest.$ac_objext \
11628 conftest$ac_exeext conftest.$ac_ext
11629 LIBS=$ac_check_lib_save_LIBS
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11632 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11633 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11635 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11640 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11641 case "x$with_xshape" in
11642 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11643 xno) ;;
11644 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11645 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11646 esac
11650 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11651 then
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11653 $as_echo_n "checking for -lXxf86vm... " >&6; }
11654 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11655 $as_echo_n "(cached) " >&6
11656 else
11657 ac_check_soname_save_LIBS=$LIBS
11658 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11660 /* end confdefs.h. */
11662 /* Override any GCC internal prototype to avoid an error.
11663 Use char because int might match the return type of a GCC
11664 builtin and then its argument prototype would still apply. */
11665 #ifdef __cplusplus
11666 extern "C"
11667 #endif
11668 char XF86VidModeQueryExtension ();
11670 main ()
11672 return XF86VidModeQueryExtension ();
11674 return 0;
11676 _ACEOF
11677 if ac_fn_c_try_link "$LINENO"; then :
11678 case "$LIBEXT" in
11679 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11680 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'` ;;
11681 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11682 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11683 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11684 fi ;;
11685 esac
11686 else
11687 ac_cv_lib_soname_Xxf86vm=
11689 rm -f core conftest.err conftest.$ac_objext \
11690 conftest$ac_exeext conftest.$ac_ext
11691 LIBS=$ac_check_soname_save_LIBS
11693 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11695 $as_echo "not found" >&6; }
11697 else
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11699 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11701 cat >>confdefs.h <<_ACEOF
11702 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11703 _ACEOF
11708 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11709 case "x$with_xxf86vm" in
11710 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11711 xno) ;;
11712 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11713 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11714 esac
11718 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11719 then
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11721 $as_echo_n "checking for -lXrender... " >&6; }
11722 if ${ac_cv_lib_soname_Xrender+:} false; then :
11723 $as_echo_n "(cached) " >&6
11724 else
11725 ac_check_soname_save_LIBS=$LIBS
11726 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11728 /* end confdefs.h. */
11730 /* Override any GCC internal prototype to avoid an error.
11731 Use char because int might match the return type of a GCC
11732 builtin and then its argument prototype would still apply. */
11733 #ifdef __cplusplus
11734 extern "C"
11735 #endif
11736 char XRenderQueryExtension ();
11738 main ()
11740 return XRenderQueryExtension ();
11742 return 0;
11744 _ACEOF
11745 if ac_fn_c_try_link "$LINENO"; then :
11746 case "$LIBEXT" in
11747 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11748 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'` ;;
11749 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11750 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11751 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11752 fi ;;
11753 esac
11754 else
11755 ac_cv_lib_soname_Xrender=
11757 rm -f core conftest.err conftest.$ac_objext \
11758 conftest$ac_exeext conftest.$ac_ext
11759 LIBS=$ac_check_soname_save_LIBS
11761 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11763 $as_echo "not found" >&6; }
11765 else
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11767 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11769 cat >>confdefs.h <<_ACEOF
11770 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11771 _ACEOF
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11774 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11775 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11776 $as_echo_n "(cached) " >&6
11777 else
11778 ac_check_lib_save_LIBS=$LIBS
11779 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11781 /* end confdefs.h. */
11783 /* Override any GCC internal prototype to avoid an error.
11784 Use char because int might match the return type of a GCC
11785 builtin and then its argument prototype would still apply. */
11786 #ifdef __cplusplus
11787 extern "C"
11788 #endif
11789 char XRenderSetPictureTransform ();
11791 main ()
11793 return XRenderSetPictureTransform ();
11795 return 0;
11797 _ACEOF
11798 if ac_fn_c_try_link "$LINENO"; then :
11799 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11800 else
11801 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11803 rm -f core conftest.err conftest.$ac_objext \
11804 conftest$ac_exeext conftest.$ac_ext
11805 LIBS=$ac_check_lib_save_LIBS
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11808 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11809 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11811 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11816 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11817 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11818 $as_echo_n "(cached) " >&6
11819 else
11820 ac_check_lib_save_LIBS=$LIBS
11821 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11823 /* end confdefs.h. */
11825 /* Override any GCC internal prototype to avoid an error.
11826 Use char because int might match the return type of a GCC
11827 builtin and then its argument prototype would still apply. */
11828 #ifdef __cplusplus
11829 extern "C"
11830 #endif
11831 char XRenderCreateLinearGradient ();
11833 main ()
11835 return XRenderCreateLinearGradient ();
11837 return 0;
11839 _ACEOF
11840 if ac_fn_c_try_link "$LINENO"; then :
11841 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11842 else
11843 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11845 rm -f core conftest.err conftest.$ac_objext \
11846 conftest$ac_exeext conftest.$ac_ext
11847 LIBS=$ac_check_lib_save_LIBS
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11850 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11851 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11853 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11860 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11861 case "x$with_xrender" in
11862 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11863 xno) ;;
11864 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11865 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11866 esac
11870 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11871 then
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11874 #include <X11/Xlib.h>
11875 #include <X11/extensions/Xrandr.h>
11877 main ()
11879 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11881 return 0;
11883 _ACEOF
11884 if ac_fn_c_try_compile "$LINENO"; then :
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11886 $as_echo_n "checking for -lXrandr... " >&6; }
11887 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11888 $as_echo_n "(cached) " >&6
11889 else
11890 ac_check_soname_save_LIBS=$LIBS
11891 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11893 /* end confdefs.h. */
11895 /* Override any GCC internal prototype to avoid an error.
11896 Use char because int might match the return type of a GCC
11897 builtin and then its argument prototype would still apply. */
11898 #ifdef __cplusplus
11899 extern "C"
11900 #endif
11901 char XRRQueryExtension ();
11903 main ()
11905 return XRRQueryExtension ();
11907 return 0;
11909 _ACEOF
11910 if ac_fn_c_try_link "$LINENO"; then :
11911 case "$LIBEXT" in
11912 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11913 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'` ;;
11914 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11915 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11916 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11917 fi ;;
11918 esac
11919 else
11920 ac_cv_lib_soname_Xrandr=
11922 rm -f core conftest.err conftest.$ac_objext \
11923 conftest$ac_exeext conftest.$ac_ext
11924 LIBS=$ac_check_soname_save_LIBS
11926 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11928 $as_echo "not found" >&6; }
11930 else
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11932 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11934 cat >>confdefs.h <<_ACEOF
11935 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11936 _ACEOF
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11940 #include <X11/Xlib.h>
11941 #include <X11/extensions/Xrandr.h>
11943 main ()
11945 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11947 return 0;
11949 _ACEOF
11950 if ac_fn_c_try_compile "$LINENO"; then :
11952 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11960 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11961 case "x$with_xrandr" in
11962 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11963 xno) ;;
11964 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11965 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11966 esac
11970 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11971 then
11972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h. */
11974 #include <X11/Xlib.h>
11975 #include <X11/extensions/Xfixes.h>
11977 main ()
11979 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11981 return 0;
11983 _ACEOF
11984 if ac_fn_c_try_compile "$LINENO"; then :
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11986 $as_echo_n "checking for -lXfixes... " >&6; }
11987 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11988 $as_echo_n "(cached) " >&6
11989 else
11990 ac_check_soname_save_LIBS=$LIBS
11991 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11993 /* end confdefs.h. */
11995 /* Override any GCC internal prototype to avoid an error.
11996 Use char because int might match the return type of a GCC
11997 builtin and then its argument prototype would still apply. */
11998 #ifdef __cplusplus
11999 extern "C"
12000 #endif
12001 char XFixesQueryVersion ();
12003 main ()
12005 return XFixesQueryVersion ();
12007 return 0;
12009 _ACEOF
12010 if ac_fn_c_try_link "$LINENO"; then :
12011 case "$LIBEXT" in
12012 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12013 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'` ;;
12014 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12015 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12016 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12017 fi ;;
12018 esac
12019 else
12020 ac_cv_lib_soname_Xfixes=
12022 rm -f core conftest.err conftest.$ac_objext \
12023 conftest$ac_exeext conftest.$ac_ext
12024 LIBS=$ac_check_soname_save_LIBS
12026 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12028 $as_echo "not found" >&6; }
12030 else
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12032 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12034 cat >>confdefs.h <<_ACEOF
12035 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12036 _ACEOF
12041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12043 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12044 case "x$with_xfixes" in
12045 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12046 xno) ;;
12047 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12048 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12049 esac
12053 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12054 then
12055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12056 /* end confdefs.h. */
12057 #include <X11/Xlib.h>
12058 #include <X11/extensions/Xinerama.h>
12060 main ()
12062 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12064 return 0;
12066 _ACEOF
12067 if ac_fn_c_try_compile "$LINENO"; then :
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12069 $as_echo_n "checking for -lXinerama... " >&6; }
12070 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12071 $as_echo_n "(cached) " >&6
12072 else
12073 ac_check_soname_save_LIBS=$LIBS
12074 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12076 /* end confdefs.h. */
12078 /* Override any GCC internal prototype to avoid an error.
12079 Use char because int might match the return type of a GCC
12080 builtin and then its argument prototype would still apply. */
12081 #ifdef __cplusplus
12082 extern "C"
12083 #endif
12084 char XineramaQueryScreens ();
12086 main ()
12088 return XineramaQueryScreens ();
12090 return 0;
12092 _ACEOF
12093 if ac_fn_c_try_link "$LINENO"; then :
12094 case "$LIBEXT" in
12095 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12096 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'` ;;
12097 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12098 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12099 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12100 fi ;;
12101 esac
12102 else
12103 ac_cv_lib_soname_Xinerama=
12105 rm -f core conftest.err conftest.$ac_objext \
12106 conftest$ac_exeext conftest.$ac_ext
12107 LIBS=$ac_check_soname_save_LIBS
12109 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12111 $as_echo "not found" >&6; }
12113 else
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12115 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12117 cat >>confdefs.h <<_ACEOF
12118 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12119 _ACEOF
12124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12126 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12127 case "x$with_xinerama" in
12128 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12129 xno) ;;
12130 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12131 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12132 esac
12136 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12137 then
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12139 $as_echo_n "checking for -lXcomposite... " >&6; }
12140 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12141 $as_echo_n "(cached) " >&6
12142 else
12143 ac_check_soname_save_LIBS=$LIBS
12144 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12146 /* end confdefs.h. */
12148 /* Override any GCC internal prototype to avoid an error.
12149 Use char because int might match the return type of a GCC
12150 builtin and then its argument prototype would still apply. */
12151 #ifdef __cplusplus
12152 extern "C"
12153 #endif
12154 char XCompositeRedirectWindow ();
12156 main ()
12158 return XCompositeRedirectWindow ();
12160 return 0;
12162 _ACEOF
12163 if ac_fn_c_try_link "$LINENO"; then :
12164 case "$LIBEXT" in
12165 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12166 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'` ;;
12167 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12168 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12169 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12170 fi ;;
12171 esac
12172 else
12173 ac_cv_lib_soname_Xcomposite=
12175 rm -f core conftest.err conftest.$ac_objext \
12176 conftest$ac_exeext conftest.$ac_ext
12177 LIBS=$ac_check_soname_save_LIBS
12179 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12181 $as_echo "not found" >&6; }
12183 else
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12185 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12187 cat >>confdefs.h <<_ACEOF
12188 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12189 _ACEOF
12194 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12195 case "x$with_xcomposite" in
12196 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12197 xno) ;;
12198 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12199 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12200 esac
12204 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12205 #include <X11/Xlib.h>
12206 #endif
12208 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12210 cat >>confdefs.h <<_ACEOF
12211 #define HAVE_XICCALLBACK_CALLBACK 1
12212 _ACEOF
12216 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12217 #include <X11/Xlib.h>
12218 #endif
12220 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12222 cat >>confdefs.h <<_ACEOF
12223 #define HAVE_XEVENT_XCOOKIE 1
12224 _ACEOF
12231 opengl_msg=""
12232 if test "x$with_opengl" != "xno"
12233 then
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12235 $as_echo_n "checking for -lGL... " >&6; }
12236 if ${ac_cv_lib_soname_GL+:} false; then :
12237 $as_echo_n "(cached) " >&6
12238 else
12239 ac_check_soname_save_LIBS=$LIBS
12240 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12242 /* end confdefs.h. */
12244 /* Override any GCC internal prototype to avoid an error.
12245 Use char because int might match the return type of a GCC
12246 builtin and then its argument prototype would still apply. */
12247 #ifdef __cplusplus
12248 extern "C"
12249 #endif
12250 char glXCreateContext ();
12252 main ()
12254 return glXCreateContext ();
12256 return 0;
12258 _ACEOF
12259 if ac_fn_c_try_link "$LINENO"; then :
12260 case "$LIBEXT" in
12261 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12262 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'` ;;
12263 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12264 if ${ac_cv_lib_soname_GL:+false} :; then :
12265 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12266 fi ;;
12267 esac
12268 else
12269 ac_cv_lib_soname_GL=
12271 rm -f core conftest.err conftest.$ac_objext \
12272 conftest$ac_exeext conftest.$ac_ext
12273 LIBS=$ac_check_soname_save_LIBS
12275 if ${ac_cv_lib_soname_GL:+false} :; then :
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12277 $as_echo "not found" >&6; }
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12279 $as_echo_n "checking for -lGL... " >&6; }
12280 if ${ac_cv_lib_soname_GL+:} false; then :
12281 $as_echo_n "(cached) " >&6
12282 else
12283 ac_check_soname_save_LIBS=$LIBS
12284 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"
12285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12288 /* Override any GCC internal prototype to avoid an error.
12289 Use char because int might match the return type of a GCC
12290 builtin and then its argument prototype would still apply. */
12291 #ifdef __cplusplus
12292 extern "C"
12293 #endif
12294 char glXCreateContext ();
12296 main ()
12298 return glXCreateContext ();
12300 return 0;
12302 _ACEOF
12303 if ac_fn_c_try_link "$LINENO"; then :
12304 case "$LIBEXT" in
12305 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12306 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'` ;;
12307 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12308 if ${ac_cv_lib_soname_GL:+false} :; then :
12309 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12310 fi ;;
12311 esac
12312 else
12313 ac_cv_lib_soname_GL=
12315 rm -f core conftest.err conftest.$ac_objext \
12316 conftest$ac_exeext conftest.$ac_ext
12317 LIBS=$ac_check_soname_save_LIBS
12319 if ${ac_cv_lib_soname_GL:+false} :; then :
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12321 $as_echo "not found" >&6; }
12322 if test -f /usr/X11R6/lib/libGL.a
12323 then
12324 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12325 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12326 else
12327 opengl_msg="No OpenGL library found on this system."
12329 else
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12331 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12333 cat >>confdefs.h <<_ACEOF
12334 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12335 _ACEOF
12337 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"
12339 else
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12341 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12343 cat >>confdefs.h <<_ACEOF
12344 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12345 _ACEOF
12347 OPENGL_LIBS="-lGL"
12349 if test "x$with_glu" != "xno"
12350 then
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12352 $as_echo_n "checking for -lGLU... " >&6; }
12353 if ${ac_cv_lib_soname_GLU+:} false; then :
12354 $as_echo_n "(cached) " >&6
12355 else
12356 ac_check_soname_save_LIBS=$LIBS
12357 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12359 /* end confdefs.h. */
12361 /* Override any GCC internal prototype to avoid an error.
12362 Use char because int might match the return type of a GCC
12363 builtin and then its argument prototype would still apply. */
12364 #ifdef __cplusplus
12365 extern "C"
12366 #endif
12367 char gluLookAt ();
12369 main ()
12371 return gluLookAt ();
12373 return 0;
12375 _ACEOF
12376 if ac_fn_c_try_link "$LINENO"; then :
12377 case "$LIBEXT" in
12378 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12379 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'` ;;
12380 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12381 if ${ac_cv_lib_soname_GLU:+false} :; then :
12382 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12383 fi ;;
12384 esac
12385 else
12386 ac_cv_lib_soname_GLU=
12388 rm -f core conftest.err conftest.$ac_objext \
12389 conftest$ac_exeext conftest.$ac_ext
12390 LIBS=$ac_check_soname_save_LIBS
12392 if ${ac_cv_lib_soname_GLU:+false} :; then :
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12394 $as_echo "not found" >&6; }
12396 else
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12398 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12400 cat >>confdefs.h <<_ACEOF
12401 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12402 _ACEOF
12406 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12407 case "x$with_glu" in
12408 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12409 xno) ;;
12410 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12411 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12412 esac
12417 if test "x$with_osmesa" != "xno"
12418 then
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12420 $as_echo_n "checking for -lOSMesa... " >&6; }
12421 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12422 $as_echo_n "(cached) " >&6
12423 else
12424 ac_check_soname_save_LIBS=$LIBS
12425 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12427 /* end confdefs.h. */
12429 /* Override any GCC internal prototype to avoid an error.
12430 Use char because int might match the return type of a GCC
12431 builtin and then its argument prototype would still apply. */
12432 #ifdef __cplusplus
12433 extern "C"
12434 #endif
12435 char OSMesaGetProcAddress ();
12437 main ()
12439 return OSMesaGetProcAddress ();
12441 return 0;
12443 _ACEOF
12444 if ac_fn_c_try_link "$LINENO"; then :
12445 case "$LIBEXT" in
12446 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12447 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'` ;;
12448 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12449 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12450 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12451 fi ;;
12452 esac
12453 else
12454 ac_cv_lib_soname_OSMesa=
12456 rm -f core conftest.err conftest.$ac_objext \
12457 conftest$ac_exeext conftest.$ac_ext
12458 LIBS=$ac_check_soname_save_LIBS
12460 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12462 $as_echo "not found" >&6; }
12464 else
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12466 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12468 cat >>confdefs.h <<_ACEOF
12469 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12470 _ACEOF
12474 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12475 case "x$with_osmesa" in
12476 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12477 xno) ;;
12478 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12479 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12480 esac
12485 if test -n "$opengl_msg"; then :
12486 case "x$with_opengl" in
12487 x) as_fn_append wine_warnings "|$opengl_msg
12488 OpenGL and Direct3D won't be supported." ;;
12489 xno) ;;
12490 *) as_fn_error $? "$opengl_msg
12491 OpenGL and Direct3D won't be supported.
12492 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12493 esac
12497 CPPFLAGS="$ac_save_CPPFLAGS"
12498 else
12499 X_CFLAGS=""
12500 X_LIBS=""
12503 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12504 then
12505 if test "x$X_LIBS" = "x"; then :
12506 case "x$with_x" in
12507 xno) ;;
12508 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12509 without X support, which probably isn't what you want. You will need
12510 to install ${notice_platform}development packages of Xlib at the very least.
12511 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12512 esac
12513 enable_winex11_drv=${enable_winex11_drv:-no}
12515 else
12516 if test "x$X_LIBS" = "x"; then :
12517 case "x$with_x" in
12518 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12519 xno) ;;
12520 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12521 This is an error since --with-x was requested." "$LINENO" 5 ;;
12522 esac
12523 enable_winex11_drv=${enable_winex11_drv:-no}
12527 if test "$ac_cv_header_CL_cl_h" = "yes"
12528 then
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12530 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12531 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12532 $as_echo_n "(cached) " >&6
12533 else
12534 ac_check_lib_save_LIBS=$LIBS
12535 LIBS="-lOpenCL $LIBS"
12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12539 /* Override any GCC internal prototype to avoid an error.
12540 Use char because int might match the return type of a GCC
12541 builtin and then its argument prototype would still apply. */
12542 #ifdef __cplusplus
12543 extern "C"
12544 #endif
12545 char clGetPlatformInfo ();
12547 main ()
12549 return clGetPlatformInfo ();
12551 return 0;
12553 _ACEOF
12554 if ac_fn_c_try_link "$LINENO"; then :
12555 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12556 else
12557 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12559 rm -f core conftest.err conftest.$ac_objext \
12560 conftest$ac_exeext conftest.$ac_ext
12561 LIBS=$ac_check_lib_save_LIBS
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12564 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12565 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12566 OPENCL_LIBS="-lOpenCL"
12571 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12572 case "x$with_opencl" in
12573 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12574 xno) ;;
12575 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12576 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12577 esac
12578 enable_opencl=${enable_opencl:-no}
12581 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12582 then
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12584 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12585 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12586 $as_echo_n "(cached) " >&6
12587 else
12588 ac_check_lib_save_LIBS=$LIBS
12589 LIBS="-lpcap $LIBS"
12590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12591 /* end confdefs.h. */
12593 /* Override any GCC internal prototype to avoid an error.
12594 Use char because int might match the return type of a GCC
12595 builtin and then its argument prototype would still apply. */
12596 #ifdef __cplusplus
12597 extern "C"
12598 #endif
12599 char pcap_create ();
12601 main ()
12603 return pcap_create ();
12605 return 0;
12607 _ACEOF
12608 if ac_fn_c_try_link "$LINENO"; then :
12609 ac_cv_lib_pcap_pcap_create=yes
12610 else
12611 ac_cv_lib_pcap_pcap_create=no
12613 rm -f core conftest.err conftest.$ac_objext \
12614 conftest$ac_exeext conftest.$ac_ext
12615 LIBS=$ac_check_lib_save_LIBS
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12618 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12619 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12620 PCAP_LIBS="-lpcap"
12625 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12626 case "x$with_pcap" in
12627 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12628 xno) ;;
12629 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12630 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12631 esac
12632 enable_wpcap=${enable_wpcap:-no}
12636 if test "x$with_xml" != "xno"
12637 then
12638 if ${XML2_CFLAGS:+false} :; then :
12639 if ${PKG_CONFIG+:} false; then :
12640 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12643 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12644 if ${XML2_LIBS:+false} :; then :
12645 if ${PKG_CONFIG+:} false; then :
12646 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12649 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12650 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12651 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12652 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12653 ac_save_CPPFLAGS=$CPPFLAGS
12654 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12655 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12656 do :
12657 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12658 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12659 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12660 cat >>confdefs.h <<_ACEOF
12661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12662 _ACEOF
12666 done
12668 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"
12669 then
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12671 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12672 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12673 $as_echo_n "(cached) " >&6
12674 else
12675 ac_check_lib_save_LIBS=$LIBS
12676 LIBS="-lxml2 $XML2_LIBS $LIBS"
12677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12678 /* end confdefs.h. */
12680 /* Override any GCC internal prototype to avoid an error.
12681 Use char because int might match the return type of a GCC
12682 builtin and then its argument prototype would still apply. */
12683 #ifdef __cplusplus
12684 extern "C"
12685 #endif
12686 char xmlParseMemory ();
12688 main ()
12690 return xmlParseMemory ();
12692 return 0;
12694 _ACEOF
12695 if ac_fn_c_try_link "$LINENO"; then :
12696 ac_cv_lib_xml2_xmlParseMemory=yes
12697 else
12698 ac_cv_lib_xml2_xmlParseMemory=no
12700 rm -f core conftest.err conftest.$ac_objext \
12701 conftest$ac_exeext conftest.$ac_ext
12702 LIBS=$ac_check_lib_save_LIBS
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12705 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12706 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12708 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12710 else
12711 XML2_LIBS=""
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12715 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12716 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12717 $as_echo_n "(cached) " >&6
12718 else
12719 ac_check_lib_save_LIBS=$LIBS
12720 LIBS="-lxml2 $XML2_LIBS $LIBS"
12721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12722 /* end confdefs.h. */
12724 /* Override any GCC internal prototype to avoid an error.
12725 Use char because int might match the return type of a GCC
12726 builtin and then its argument prototype would still apply. */
12727 #ifdef __cplusplus
12728 extern "C"
12729 #endif
12730 char xmlReadMemory ();
12732 main ()
12734 return xmlReadMemory ();
12736 return 0;
12738 _ACEOF
12739 if ac_fn_c_try_link "$LINENO"; then :
12740 ac_cv_lib_xml2_xmlReadMemory=yes
12741 else
12742 ac_cv_lib_xml2_xmlReadMemory=no
12744 rm -f core conftest.err conftest.$ac_objext \
12745 conftest$ac_exeext conftest.$ac_ext
12746 LIBS=$ac_check_lib_save_LIBS
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12749 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12750 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12752 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12757 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12758 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12759 $as_echo_n "(cached) " >&6
12760 else
12761 ac_check_lib_save_LIBS=$LIBS
12762 LIBS="-lxml2 $XML2_LIBS $LIBS"
12763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12764 /* end confdefs.h. */
12766 /* Override any GCC internal prototype to avoid an error.
12767 Use char because int might match the return type of a GCC
12768 builtin and then its argument prototype would still apply. */
12769 #ifdef __cplusplus
12770 extern "C"
12771 #endif
12772 char xmlNewDocPI ();
12774 main ()
12776 return xmlNewDocPI ();
12778 return 0;
12780 _ACEOF
12781 if ac_fn_c_try_link "$LINENO"; then :
12782 ac_cv_lib_xml2_xmlNewDocPI=yes
12783 else
12784 ac_cv_lib_xml2_xmlNewDocPI=no
12786 rm -f core conftest.err conftest.$ac_objext \
12787 conftest$ac_exeext conftest.$ac_ext
12788 LIBS=$ac_check_lib_save_LIBS
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12791 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12792 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12794 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12799 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12800 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12801 $as_echo_n "(cached) " >&6
12802 else
12803 ac_check_lib_save_LIBS=$LIBS
12804 LIBS="-lxml2 $XML2_LIBS $LIBS"
12805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12806 /* end confdefs.h. */
12808 /* Override any GCC internal prototype to avoid an error.
12809 Use char because int might match the return type of a GCC
12810 builtin and then its argument prototype would still apply. */
12811 #ifdef __cplusplus
12812 extern "C"
12813 #endif
12814 char xmlSchemaSetParserStructuredErrors ();
12816 main ()
12818 return xmlSchemaSetParserStructuredErrors ();
12820 return 0;
12822 _ACEOF
12823 if ac_fn_c_try_link "$LINENO"; then :
12824 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12825 else
12826 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12828 rm -f core conftest.err conftest.$ac_objext \
12829 conftest$ac_exeext conftest.$ac_ext
12830 LIBS=$ac_check_lib_save_LIBS
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12833 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12834 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12836 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12841 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12842 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12843 $as_echo_n "(cached) " >&6
12844 else
12845 ac_check_lib_save_LIBS=$LIBS
12846 LIBS="-lxml2 $XML2_LIBS $LIBS"
12847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12848 /* end confdefs.h. */
12850 /* Override any GCC internal prototype to avoid an error.
12851 Use char because int might match the return type of a GCC
12852 builtin and then its argument prototype would still apply. */
12853 #ifdef __cplusplus
12854 extern "C"
12855 #endif
12856 char xmlSchemaSetValidStructuredErrors ();
12858 main ()
12860 return xmlSchemaSetValidStructuredErrors ();
12862 return 0;
12864 _ACEOF
12865 if ac_fn_c_try_link "$LINENO"; then :
12866 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12867 else
12868 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12870 rm -f core conftest.err conftest.$ac_objext \
12871 conftest$ac_exeext conftest.$ac_ext
12872 LIBS=$ac_check_lib_save_LIBS
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12875 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12876 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12878 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12883 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12884 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12885 $as_echo_n "(cached) " >&6
12886 else
12887 ac_check_lib_save_LIBS=$LIBS
12888 LIBS="-lxml2 $XML2_LIBS $LIBS"
12889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12890 /* end confdefs.h. */
12892 /* Override any GCC internal prototype to avoid an error.
12893 Use char because int might match the return type of a GCC
12894 builtin and then its argument prototype would still apply. */
12895 #ifdef __cplusplus
12896 extern "C"
12897 #endif
12898 char xmlFirstElementChild ();
12900 main ()
12902 return xmlFirstElementChild ();
12904 return 0;
12906 _ACEOF
12907 if ac_fn_c_try_link "$LINENO"; then :
12908 ac_cv_lib_xml2_xmlFirstElementChild=yes
12909 else
12910 ac_cv_lib_xml2_xmlFirstElementChild=no
12912 rm -f core conftest.err conftest.$ac_objext \
12913 conftest$ac_exeext conftest.$ac_ext
12914 LIBS=$ac_check_lib_save_LIBS
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12917 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12918 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12920 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12924 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12926 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12928 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12932 else
12933 XML2_CFLAGS=""
12934 XML2_LIBS=""
12936 CPPFLAGS=$ac_save_CPPFLAGS
12937 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12938 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12941 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12942 case "x$with_xml" in
12943 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12944 xno) ;;
12945 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12946 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12947 esac
12951 if test "x$with_xslt" != "xno"
12952 then
12953 if ${XSLT_CFLAGS:+false} :; then :
12954 if ${PKG_CONFIG+:} false; then :
12955 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12958 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12959 if ${XSLT_LIBS:+false} :; then :
12960 if ${PKG_CONFIG+:} false; then :
12961 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12964 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12965 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12966 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12967 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12968 ac_save_CPPFLAGS=$CPPFLAGS
12969 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12970 for ac_header in libxslt/pattern.h libxslt/transform.h
12971 do :
12972 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12973 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12974 # include <libxslt/pattern.h>
12975 #endif
12977 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12978 cat >>confdefs.h <<_ACEOF
12979 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12980 _ACEOF
12984 done
12986 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12987 then
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12989 $as_echo_n "checking for -lxslt... " >&6; }
12990 if ${ac_cv_lib_soname_xslt+:} false; then :
12991 $as_echo_n "(cached) " >&6
12992 else
12993 ac_check_soname_save_LIBS=$LIBS
12994 LIBS="-lxslt $XSLT_LIBS $LIBS"
12995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12996 /* end confdefs.h. */
12998 /* Override any GCC internal prototype to avoid an error.
12999 Use char because int might match the return type of a GCC
13000 builtin and then its argument prototype would still apply. */
13001 #ifdef __cplusplus
13002 extern "C"
13003 #endif
13004 char xsltCompilePattern ();
13006 main ()
13008 return xsltCompilePattern ();
13010 return 0;
13012 _ACEOF
13013 if ac_fn_c_try_link "$LINENO"; then :
13014 case "$LIBEXT" in
13015 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13016 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'` ;;
13017 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13018 if ${ac_cv_lib_soname_xslt:+false} :; then :
13019 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13020 fi ;;
13021 esac
13022 else
13023 ac_cv_lib_soname_xslt=
13025 rm -f core conftest.err conftest.$ac_objext \
13026 conftest$ac_exeext conftest.$ac_ext
13027 LIBS=$ac_check_soname_save_LIBS
13029 if ${ac_cv_lib_soname_xslt:+false} :; then :
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13031 $as_echo "not found" >&6; }
13033 else
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13035 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13037 cat >>confdefs.h <<_ACEOF
13038 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13039 _ACEOF
13043 else
13044 XSLT_CFLAGS=""
13046 CPPFLAGS=$ac_save_CPPFLAGS
13047 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13048 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13051 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13052 case "x$with_xslt" in
13053 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13054 xno) ;;
13055 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13056 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13057 esac
13061 if test "x$with_inotify" != "xno"
13062 then
13063 if ${INOTIFY_CFLAGS:+false} :; then :
13064 if ${PKG_CONFIG+:} false; then :
13065 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13069 if ${INOTIFY_LIBS:+false} :; then :
13070 if ${PKG_CONFIG+:} false; then :
13071 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13076 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13077 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13078 ac_save_CPPFLAGS=$CPPFLAGS
13079 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13080 for ac_header in sys/inotify.h
13081 do :
13082 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13083 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13084 cat >>confdefs.h <<_ACEOF
13085 #define HAVE_SYS_INOTIFY_H 1
13086 _ACEOF
13090 done
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13093 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13094 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13095 $as_echo_n "(cached) " >&6
13096 else
13097 ac_check_lib_save_LIBS=$LIBS
13098 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13100 /* end confdefs.h. */
13102 /* Override any GCC internal prototype to avoid an error.
13103 Use char because int might match the return type of a GCC
13104 builtin and then its argument prototype would still apply. */
13105 #ifdef __cplusplus
13106 extern "C"
13107 #endif
13108 char inotify_add_watch ();
13110 main ()
13112 return inotify_add_watch ();
13114 return 0;
13116 _ACEOF
13117 if ac_fn_c_try_link "$LINENO"; then :
13118 ac_cv_lib_inotify_inotify_add_watch=yes
13119 else
13120 ac_cv_lib_inotify_inotify_add_watch=no
13122 rm -f core conftest.err conftest.$ac_objext \
13123 conftest$ac_exeext conftest.$ac_ext
13124 LIBS=$ac_check_lib_save_LIBS
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13127 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13128 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13130 else
13131 INOTIFY_LIBS=""
13134 CPPFLAGS=$ac_save_CPPFLAGS
13135 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13136 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13139 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13140 case "x$with_inotify" in
13141 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13142 xno) ;;
13143 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13144 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13145 esac
13149 if test "x$with_dbus" != "xno"
13150 then
13151 if ${DBUS_CFLAGS:+false} :; then :
13152 if ${PKG_CONFIG+:} false; then :
13153 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13157 if ${DBUS_LIBS:+false} :; then :
13158 if ${PKG_CONFIG+:} false; then :
13159 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13164 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13165 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13166 ac_save_CPPFLAGS=$CPPFLAGS
13167 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13168 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13169 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13171 $as_echo_n "checking for -ldbus-1... " >&6; }
13172 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13173 $as_echo_n "(cached) " >&6
13174 else
13175 ac_check_soname_save_LIBS=$LIBS
13176 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13178 /* end confdefs.h. */
13180 /* Override any GCC internal prototype to avoid an error.
13181 Use char because int might match the return type of a GCC
13182 builtin and then its argument prototype would still apply. */
13183 #ifdef __cplusplus
13184 extern "C"
13185 #endif
13186 char dbus_connection_close ();
13188 main ()
13190 return dbus_connection_close ();
13192 return 0;
13194 _ACEOF
13195 if ac_fn_c_try_link "$LINENO"; then :
13196 case "$LIBEXT" in
13197 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13198 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'` ;;
13199 *) 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'`
13200 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13201 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13202 fi ;;
13203 esac
13204 else
13205 ac_cv_lib_soname_dbus_1=
13207 rm -f core conftest.err conftest.$ac_objext \
13208 conftest$ac_exeext conftest.$ac_ext
13209 LIBS=$ac_check_soname_save_LIBS
13211 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13213 $as_echo "not found" >&6; }
13214 DBUS_CFLAGS=""
13215 else
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13217 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13219 cat >>confdefs.h <<_ACEOF
13220 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13221 _ACEOF
13225 else
13226 DBUS_CFLAGS=""
13230 CPPFLAGS=$ac_save_CPPFLAGS
13231 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13232 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13235 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13236 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13237 case "x$with_dbus" in
13238 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13239 xno) ;;
13240 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13241 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13242 esac
13246 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13247 then
13248 if ${HAL_CFLAGS:+false} :; then :
13249 if ${PKG_CONFIG+:} false; then :
13250 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13254 if ${HAL_LIBS:+false} :; then :
13255 if ${PKG_CONFIG+:} false; then :
13256 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13260 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13261 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13262 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13263 ac_save_CPPFLAGS=$CPPFLAGS
13264 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13265 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13266 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13268 $as_echo_n "checking for -lhal... " >&6; }
13269 if ${ac_cv_lib_soname_hal+:} false; then :
13270 $as_echo_n "(cached) " >&6
13271 else
13272 ac_check_soname_save_LIBS=$LIBS
13273 LIBS="-lhal $HAL_LIBS $LIBS"
13274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13275 /* end confdefs.h. */
13277 /* Override any GCC internal prototype to avoid an error.
13278 Use char because int might match the return type of a GCC
13279 builtin and then its argument prototype would still apply. */
13280 #ifdef __cplusplus
13281 extern "C"
13282 #endif
13283 char libhal_ctx_new ();
13285 main ()
13287 return libhal_ctx_new ();
13289 return 0;
13291 _ACEOF
13292 if ac_fn_c_try_link "$LINENO"; then :
13293 case "$LIBEXT" in
13294 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13295 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'` ;;
13296 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13297 if ${ac_cv_lib_soname_hal:+false} :; then :
13298 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13299 fi ;;
13300 esac
13301 else
13302 ac_cv_lib_soname_hal=
13304 rm -f core conftest.err conftest.$ac_objext \
13305 conftest$ac_exeext conftest.$ac_ext
13306 LIBS=$ac_check_soname_save_LIBS
13308 if ${ac_cv_lib_soname_hal:+false} :; then :
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13310 $as_echo "not found" >&6; }
13311 HAL_CFLAGS=""
13312 else
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13314 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13316 cat >>confdefs.h <<_ACEOF
13317 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13318 _ACEOF
13322 else
13323 HAL_CFLAGS=""
13327 CPPFLAGS=$ac_save_CPPFLAGS
13328 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13329 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13331 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13332 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13333 case "x$with_hal" in
13334 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13335 xno) ;;
13336 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13337 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13338 esac
13343 if test "x$with_gnutls" != "xno"
13344 then
13345 if ${GNUTLS_CFLAGS:+false} :; then :
13346 if ${PKG_CONFIG+:} false; then :
13347 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13351 if ${GNUTLS_LIBS:+false} :; then :
13352 if ${PKG_CONFIG+:} false; then :
13353 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13358 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13359 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13360 ac_save_CPPFLAGS=$CPPFLAGS
13361 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13362 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13363 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13365 /* end confdefs.h. */
13366 #include <gnutls/gnutls.h>
13367 #include <gnutls/crypto.h>
13369 main ()
13371 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13373 return 0;
13375 _ACEOF
13376 if ac_fn_c_try_compile "$LINENO"; then :
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13378 $as_echo_n "checking for -lgnutls... " >&6; }
13379 if ${ac_cv_lib_soname_gnutls+:} false; then :
13380 $as_echo_n "(cached) " >&6
13381 else
13382 ac_check_soname_save_LIBS=$LIBS
13383 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13385 /* end confdefs.h. */
13387 /* Override any GCC internal prototype to avoid an error.
13388 Use char because int might match the return type of a GCC
13389 builtin and then its argument prototype would still apply. */
13390 #ifdef __cplusplus
13391 extern "C"
13392 #endif
13393 char gnutls_global_init ();
13395 main ()
13397 return gnutls_global_init ();
13399 return 0;
13401 _ACEOF
13402 if ac_fn_c_try_link "$LINENO"; then :
13403 case "$LIBEXT" in
13404 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13405 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'` ;;
13406 *) 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'`
13407 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13408 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'`
13409 fi ;;
13410 esac
13411 else
13412 ac_cv_lib_soname_gnutls=
13414 rm -f core conftest.err conftest.$ac_objext \
13415 conftest$ac_exeext conftest.$ac_ext
13416 LIBS=$ac_check_soname_save_LIBS
13418 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13420 $as_echo "not found" >&6; }
13421 GNUTLS_CFLAGS=""
13422 else
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13424 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13426 cat >>confdefs.h <<_ACEOF
13427 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13428 _ACEOF
13432 ac_wine_check_funcs_save_LIBS="$LIBS"
13433 LIBS="$LIBS $GNUTLS_LIBS"
13434 for ac_func in gnutls_cipher_init
13435 do :
13436 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13437 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13438 cat >>confdefs.h <<_ACEOF
13439 #define HAVE_GNUTLS_CIPHER_INIT 1
13440 _ACEOF
13442 else
13443 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13445 done
13447 LIBS="$ac_wine_check_funcs_save_LIBS"
13449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13450 else
13451 GNUTLS_CFLAGS=""
13455 CPPFLAGS=$ac_save_CPPFLAGS
13456 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13457 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13460 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13461 case "x$with_gnutls" in
13462 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13463 xno) ;;
13464 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13465 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13466 esac
13470 CURSES_LIBS=""
13471 if test "$ac_cv_header_ncurses_h" = "yes"
13472 then
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13474 $as_echo_n "checking for -lncurses... " >&6; }
13475 if ${ac_cv_lib_soname_ncurses+:} false; then :
13476 $as_echo_n "(cached) " >&6
13477 else
13478 ac_check_soname_save_LIBS=$LIBS
13479 LIBS="-lncurses $LIBS"
13480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13481 /* end confdefs.h. */
13483 /* Override any GCC internal prototype to avoid an error.
13484 Use char because int might match the return type of a GCC
13485 builtin and then its argument prototype would still apply. */
13486 #ifdef __cplusplus
13487 extern "C"
13488 #endif
13489 char waddch ();
13491 main ()
13493 return waddch ();
13495 return 0;
13497 _ACEOF
13498 if ac_fn_c_try_link "$LINENO"; then :
13499 case "$LIBEXT" in
13500 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13501 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'` ;;
13502 *) 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'`
13503 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13504 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13505 fi ;;
13506 esac
13507 else
13508 ac_cv_lib_soname_ncurses=
13510 rm -f core conftest.err conftest.$ac_objext \
13511 conftest$ac_exeext conftest.$ac_ext
13512 LIBS=$ac_check_soname_save_LIBS
13514 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13516 $as_echo "not found" >&6; }
13518 else
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13520 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13522 cat >>confdefs.h <<_ACEOF
13523 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13524 _ACEOF
13526 CURSES_LIBS="-lncurses"
13528 elif test "$ac_cv_header_curses_h" = "yes"
13529 then
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13531 $as_echo_n "checking for -lcurses... " >&6; }
13532 if ${ac_cv_lib_soname_curses+:} false; then :
13533 $as_echo_n "(cached) " >&6
13534 else
13535 ac_check_soname_save_LIBS=$LIBS
13536 LIBS="-lcurses $LIBS"
13537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13538 /* end confdefs.h. */
13540 /* Override any GCC internal prototype to avoid an error.
13541 Use char because int might match the return type of a GCC
13542 builtin and then its argument prototype would still apply. */
13543 #ifdef __cplusplus
13544 extern "C"
13545 #endif
13546 char waddch ();
13548 main ()
13550 return waddch ();
13552 return 0;
13554 _ACEOF
13555 if ac_fn_c_try_link "$LINENO"; then :
13556 case "$LIBEXT" in
13557 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13558 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'` ;;
13559 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13560 if ${ac_cv_lib_soname_curses:+false} :; then :
13561 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13562 fi ;;
13563 esac
13564 else
13565 ac_cv_lib_soname_curses=
13567 rm -f core conftest.err conftest.$ac_objext \
13568 conftest$ac_exeext conftest.$ac_ext
13569 LIBS=$ac_check_soname_save_LIBS
13571 if ${ac_cv_lib_soname_curses:+false} :; then :
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13573 $as_echo "not found" >&6; }
13575 else
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13577 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13579 cat >>confdefs.h <<_ACEOF
13580 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13581 _ACEOF
13583 CURSES_LIBS="-lcurses"
13586 ac_save_LIBS="$LIBS"
13587 LIBS="$LIBS $CURSES_LIBS"
13588 for ac_func in mousemask
13589 do :
13590 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13591 if test "x$ac_cv_func_mousemask" = xyes; then :
13592 cat >>confdefs.h <<_ACEOF
13593 #define HAVE_MOUSEMASK 1
13594 _ACEOF
13597 done
13599 LIBS="$ac_save_LIBS"
13600 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13601 case "x$with_curses" in
13602 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13603 xno) ;;
13604 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13605 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13606 esac
13610 if test "x$with_sane" != "xno"
13611 then
13612 if ${SANE_CFLAGS:+false} :; then :
13613 if ${PKG_CONFIG+:} false; then :
13614 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13617 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13618 if ${SANE_LIBS:+false} :; then :
13619 if ${PKG_CONFIG+:} false; then :
13620 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13623 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13625 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13626 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13627 ac_save_CPPFLAGS=$CPPFLAGS
13628 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13629 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13630 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13632 $as_echo_n "checking for -lsane... " >&6; }
13633 if ${ac_cv_lib_soname_sane+:} false; then :
13634 $as_echo_n "(cached) " >&6
13635 else
13636 ac_check_soname_save_LIBS=$LIBS
13637 LIBS="-lsane $SANE_LIBS $LIBS"
13638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13639 /* end confdefs.h. */
13641 /* Override any GCC internal prototype to avoid an error.
13642 Use char because int might match the return type of a GCC
13643 builtin and then its argument prototype would still apply. */
13644 #ifdef __cplusplus
13645 extern "C"
13646 #endif
13647 char sane_init ();
13649 main ()
13651 return sane_init ();
13653 return 0;
13655 _ACEOF
13656 if ac_fn_c_try_link "$LINENO"; then :
13657 case "$LIBEXT" in
13658 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13659 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'` ;;
13660 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13661 if ${ac_cv_lib_soname_sane:+false} :; then :
13662 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13663 fi ;;
13664 esac
13665 else
13666 ac_cv_lib_soname_sane=
13668 rm -f core conftest.err conftest.$ac_objext \
13669 conftest$ac_exeext conftest.$ac_ext
13670 LIBS=$ac_check_soname_save_LIBS
13672 if ${ac_cv_lib_soname_sane:+false} :; then :
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13674 $as_echo "not found" >&6; }
13675 SANE_CFLAGS=""
13676 else
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13678 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13680 cat >>confdefs.h <<_ACEOF
13681 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13682 _ACEOF
13686 else
13687 SANE_CFLAGS=""
13691 CPPFLAGS=$ac_save_CPPFLAGS
13692 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13693 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13696 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13697 case "x$with_sane" in
13698 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13699 xno) ;;
13700 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13701 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13702 esac
13706 if test "x$with_v4l2" != "xno"
13707 then
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13709 $as_echo_n "checking for -lv4l2... " >&6; }
13710 if ${ac_cv_lib_soname_v4l2+:} false; then :
13711 $as_echo_n "(cached) " >&6
13712 else
13713 ac_check_soname_save_LIBS=$LIBS
13714 LIBS="-lv4l2 $LIBS"
13715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13716 /* end confdefs.h. */
13718 /* Override any GCC internal prototype to avoid an error.
13719 Use char because int might match the return type of a GCC
13720 builtin and then its argument prototype would still apply. */
13721 #ifdef __cplusplus
13722 extern "C"
13723 #endif
13724 char v4l2_open ();
13726 main ()
13728 return v4l2_open ();
13730 return 0;
13732 _ACEOF
13733 if ac_fn_c_try_link "$LINENO"; then :
13734 case "$LIBEXT" in
13735 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13736 dylib) ac_cv_lib_soname_v4l2=`$OTOOL -L conftest$ac_exeext | grep "libv4l2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13737 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13738 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13739 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13740 fi ;;
13741 esac
13742 else
13743 ac_cv_lib_soname_v4l2=
13745 rm -f core conftest.err conftest.$ac_objext \
13746 conftest$ac_exeext conftest.$ac_ext
13747 LIBS=$ac_check_soname_save_LIBS
13749 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13751 $as_echo "not found" >&6; }
13753 else
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13755 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13757 cat >>confdefs.h <<_ACEOF
13758 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13759 _ACEOF
13764 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13765 case "x$with_v4l2" in
13766 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13767 xno) ;;
13768 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13769 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13770 esac
13774 if test "x$with_gphoto" != "xno"
13775 then
13776 if ${GPHOTO2_CFLAGS:+false} :; then :
13777 if ${PKG_CONFIG+:} false; then :
13778 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13781 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13782 if ${GPHOTO2_LIBS:+false} :; then :
13783 if ${PKG_CONFIG+:} false; then :
13784 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13787 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13788 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13789 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13790 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13791 ac_save_CPPFLAGS=$CPPFLAGS
13792 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13793 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13794 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13796 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13797 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13798 $as_echo_n "(cached) " >&6
13799 else
13800 ac_check_lib_save_LIBS=$LIBS
13801 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13803 /* end confdefs.h. */
13805 /* Override any GCC internal prototype to avoid an error.
13806 Use char because int might match the return type of a GCC
13807 builtin and then its argument prototype would still apply. */
13808 #ifdef __cplusplus
13809 extern "C"
13810 #endif
13811 char gp_camera_new ();
13813 main ()
13815 return gp_camera_new ();
13817 return 0;
13819 _ACEOF
13820 if ac_fn_c_try_link "$LINENO"; then :
13821 ac_cv_lib_gphoto2_gp_camera_new=yes
13822 else
13823 ac_cv_lib_gphoto2_gp_camera_new=no
13825 rm -f core conftest.err conftest.$ac_objext \
13826 conftest$ac_exeext conftest.$ac_ext
13827 LIBS=$ac_check_lib_save_LIBS
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13830 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13831 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13833 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13835 else
13836 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13839 else
13840 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13844 CPPFLAGS=$ac_save_CPPFLAGS
13845 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13846 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13848 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13849 if ${PKG_CONFIG+:} false; then :
13850 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13853 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13854 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13855 if ${PKG_CONFIG+:} false; then :
13856 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13859 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13860 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13861 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13862 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13863 ac_save_CPPFLAGS=$CPPFLAGS
13864 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13865 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13866 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13868 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13869 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13870 $as_echo_n "(cached) " >&6
13871 else
13872 ac_check_lib_save_LIBS=$LIBS
13873 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13877 /* Override any GCC internal prototype to avoid an error.
13878 Use char because int might match the return type of a GCC
13879 builtin and then its argument prototype would still apply. */
13880 #ifdef __cplusplus
13881 extern "C"
13882 #endif
13883 char gp_port_info_list_new ();
13885 main ()
13887 return gp_port_info_list_new ();
13889 return 0;
13891 _ACEOF
13892 if ac_fn_c_try_link "$LINENO"; then :
13893 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13894 else
13895 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13897 rm -f core conftest.err conftest.$ac_objext \
13898 conftest$ac_exeext conftest.$ac_ext
13899 LIBS=$ac_check_lib_save_LIBS
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13902 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13903 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13905 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13907 else
13908 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13911 else
13912 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13916 CPPFLAGS=$ac_save_CPPFLAGS
13917 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13918 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13921 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13922 case "x$with_gphoto" in
13923 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13924 xno) ;;
13925 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13926 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13927 esac
13930 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13931 case "x$with_gphoto" in
13932 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13933 xno) ;;
13934 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13935 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13936 esac
13941 if test "$ac_cv_header_resolv_h" = "yes"
13942 then
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13944 $as_echo_n "checking for resolver library... " >&6; }
13945 if ${ac_cv_have_resolv+:} false; then :
13946 $as_echo_n "(cached) " >&6
13947 else
13948 ac_save_LIBS="$LIBS"
13949 for lib in '' -lresolv
13951 LIBS="$lib $ac_save_LIBS"
13952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13953 /* end confdefs.h. */
13954 #ifdef HAVE_NETINET_IN_H
13955 #include <netinet/in.h>
13956 #endif
13957 #include <resolv.h>
13959 main ()
13961 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13963 return 0;
13965 _ACEOF
13966 if ac_fn_c_try_link "$LINENO"; then :
13967 ac_cv_have_resolv=${lib:-"none required"}
13968 else
13969 ac_cv_have_resolv="not found"
13971 rm -f core conftest.err conftest.$ac_objext \
13972 conftest$ac_exeext conftest.$ac_ext
13973 test "x$ac_cv_have_resolv" = "xnot found" || break
13974 done
13975 LIBS="$ac_save_LIBS"
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13978 $as_echo "$ac_cv_have_resolv" >&6; }
13980 case "$ac_cv_have_resolv" in
13981 "not found") ;;
13982 "none required")
13984 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13987 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13989 RESOLV_LIBS=$ac_cv_have_resolv
13991 esac
13994 if test "x$with_cms" != "xno"
13995 then
13996 if ${LCMS2_CFLAGS:+false} :; then :
13997 if ${PKG_CONFIG+:} false; then :
13998 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14002 if ${LCMS2_LIBS:+false} :; then :
14003 if ${PKG_CONFIG+:} false; then :
14004 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14008 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14009 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14010 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14011 ac_save_CPPFLAGS=$CPPFLAGS
14012 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14013 for ac_header in lcms2.h
14014 do :
14015 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14016 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14017 cat >>confdefs.h <<_ACEOF
14018 #define HAVE_LCMS2_H 1
14019 _ACEOF
14023 done
14025 if test "$ac_cv_header_lcms2_h" = "yes"
14026 then
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14028 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14029 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14030 $as_echo_n "(cached) " >&6
14031 else
14032 ac_check_lib_save_LIBS=$LIBS
14033 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14035 /* end confdefs.h. */
14037 /* Override any GCC internal prototype to avoid an error.
14038 Use char because int might match the return type of a GCC
14039 builtin and then its argument prototype would still apply. */
14040 #ifdef __cplusplus
14041 extern "C"
14042 #endif
14043 char cmsOpenProfileFromFile ();
14045 main ()
14047 return cmsOpenProfileFromFile ();
14049 return 0;
14051 _ACEOF
14052 if ac_fn_c_try_link "$LINENO"; then :
14053 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14054 else
14055 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14057 rm -f core conftest.err conftest.$ac_objext \
14058 conftest$ac_exeext conftest.$ac_ext
14059 LIBS=$ac_check_lib_save_LIBS
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14062 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14063 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14065 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14067 else
14068 LCMS2_LIBS=""
14071 else
14072 LCMS2_CFLAGS=""
14073 LCMS2_LIBS=""
14075 CPPFLAGS=$ac_save_CPPFLAGS
14076 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14077 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14080 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14081 case "x$with_cms" in
14082 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14083 xno) ;;
14084 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14085 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14086 esac
14090 if test "x$with_freetype" != "xno"
14091 then
14092 if ${FREETYPE_CFLAGS:+false} :; then :
14093 if ${PKG_CONFIG+:} false; then :
14094 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14097 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14098 if ${FREETYPE_LIBS:+false} :; then :
14099 if ${PKG_CONFIG+:} false; then :
14100 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14103 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14104 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14105 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14106 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14107 ac_save_CPPFLAGS=$CPPFLAGS
14108 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14109 for ac_header in ft2build.h
14110 do :
14111 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14112 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14113 cat >>confdefs.h <<_ACEOF
14114 #define HAVE_FT2BUILD_H 1
14115 _ACEOF
14119 done
14121 if test "$ac_cv_header_ft2build_h" = "yes"
14122 then
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14124 $as_echo_n "checking for -lfreetype... " >&6; }
14125 if ${ac_cv_lib_soname_freetype+:} false; then :
14126 $as_echo_n "(cached) " >&6
14127 else
14128 ac_check_soname_save_LIBS=$LIBS
14129 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14131 /* end confdefs.h. */
14133 /* Override any GCC internal prototype to avoid an error.
14134 Use char because int might match the return type of a GCC
14135 builtin and then its argument prototype would still apply. */
14136 #ifdef __cplusplus
14137 extern "C"
14138 #endif
14139 char FT_Init_FreeType ();
14141 main ()
14143 return FT_Init_FreeType ();
14145 return 0;
14147 _ACEOF
14148 if ac_fn_c_try_link "$LINENO"; then :
14149 case "$LIBEXT" in
14150 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14151 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'` ;;
14152 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14153 if ${ac_cv_lib_soname_freetype:+false} :; then :
14154 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14155 fi ;;
14156 esac
14157 else
14158 ac_cv_lib_soname_freetype=
14160 rm -f core conftest.err conftest.$ac_objext \
14161 conftest$ac_exeext conftest.$ac_ext
14162 LIBS=$ac_check_soname_save_LIBS
14164 if ${ac_cv_lib_soname_freetype:+false} :; then :
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14166 $as_echo "not found" >&6; }
14167 FREETYPE_LIBS=""
14168 else
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14170 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14172 cat >>confdefs.h <<_ACEOF
14173 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14174 _ACEOF
14177 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14179 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14180 #include FT_MODULE_H
14182 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14184 cat >>confdefs.h <<_ACEOF
14185 #define HAVE_FT_TRUETYPEENGINETYPE 1
14186 _ACEOF
14192 else
14193 FREETYPE_CFLAGS=""
14194 FREETYPE_LIBS=""
14196 CPPFLAGS=$ac_save_CPPFLAGS
14197 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14198 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14201 if test "x$ac_cv_lib_soname_freetype" = x; then :
14202 case "x$with_freetype" in
14203 xno) ;;
14204 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14205 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14206 esac
14207 enable_fonts=${enable_fonts:-no}
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14211 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14212 if ${ac_cv_c_ppdev+:} false; then :
14213 $as_echo_n "(cached) " >&6
14214 else
14215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14216 /* end confdefs.h. */
14217 #ifdef HAVE_SYS_IOCTL_H
14218 # include <sys/ioctl.h>
14219 #endif
14220 #include <linux/ppdev.h>
14222 main ()
14224 ioctl (1,PPCLAIM,0)
14226 return 0;
14228 _ACEOF
14229 if ac_fn_c_try_compile "$LINENO"; then :
14230 ac_cv_c_ppdev="yes"
14231 else
14232 ac_cv_c_ppdev="no"
14234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14237 $as_echo "$ac_cv_c_ppdev" >&6; }
14238 if test "$ac_cv_c_ppdev" = "yes"
14239 then
14241 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14245 ac_wine_check_funcs_save_LIBS="$LIBS"
14246 LIBS="$LIBS "
14247 for ac_func in \
14248 pthread_getthreadid_np \
14249 $PTHREAD_LIBS
14250 do :
14251 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14252 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14253 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14254 cat >>confdefs.h <<_ACEOF
14255 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14256 _ACEOF
14259 done
14261 LIBS="$ac_wine_check_funcs_save_LIBS"
14263 if test "$ac_cv_header_zlib_h" = "yes"
14264 then
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14266 $as_echo_n "checking for inflate in -lz... " >&6; }
14267 if ${ac_cv_lib_z_inflate+:} false; then :
14268 $as_echo_n "(cached) " >&6
14269 else
14270 ac_check_lib_save_LIBS=$LIBS
14271 LIBS="-lz $LIBS"
14272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14273 /* end confdefs.h. */
14275 /* Override any GCC internal prototype to avoid an error.
14276 Use char because int might match the return type of a GCC
14277 builtin and then its argument prototype would still apply. */
14278 #ifdef __cplusplus
14279 extern "C"
14280 #endif
14281 char inflate ();
14283 main ()
14285 return inflate ();
14287 return 0;
14289 _ACEOF
14290 if ac_fn_c_try_link "$LINENO"; then :
14291 ac_cv_lib_z_inflate=yes
14292 else
14293 ac_cv_lib_z_inflate=no
14295 rm -f core conftest.err conftest.$ac_objext \
14296 conftest$ac_exeext conftest.$ac_ext
14297 LIBS=$ac_check_lib_save_LIBS
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14300 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14301 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14303 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14305 Z_LIBS="-lz"
14310 if test "x$Z_LIBS" = "x"; then :
14311 case "x$with_zlib" in
14312 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14313 xno) ;;
14314 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14315 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14316 esac
14320 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14321 then
14322 if test "$ac_cv_header_gettext_po_h" = "yes"
14323 then
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14325 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14326 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14327 $as_echo_n "(cached) " >&6
14328 else
14329 ac_check_lib_save_LIBS=$LIBS
14330 LIBS="-lgettextpo $LIBS"
14331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14332 /* end confdefs.h. */
14334 /* Override any GCC internal prototype to avoid an error.
14335 Use char because int might match the return type of a GCC
14336 builtin and then its argument prototype would still apply. */
14337 #ifdef __cplusplus
14338 extern "C"
14339 #endif
14340 char po_message_msgctxt ();
14342 main ()
14344 return po_message_msgctxt ();
14346 return 0;
14348 _ACEOF
14349 if ac_fn_c_try_link "$LINENO"; then :
14350 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14351 else
14352 ac_cv_lib_gettextpo_po_message_msgctxt=no
14354 rm -f core conftest.err conftest.$ac_objext \
14355 conftest$ac_exeext conftest.$ac_ext
14356 LIBS=$ac_check_lib_save_LIBS
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14359 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14360 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14362 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14364 GETTEXTPO_LIBS="-lgettextpo"
14369 if test "x$GETTEXTPO_LIBS" = "x"; then :
14370 case "x$with_gettextpo" in
14371 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14372 xno) ;;
14373 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14374 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14375 esac
14378 if test "$srcdir" != .; then :
14379 case "x$with_gettextpo" in
14380 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14381 xno) ;;
14382 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14383 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14384 esac
14389 if test "x$with_pulse" != "xno";
14390 then
14391 if ${PULSE_CFLAGS:+false} :; then :
14392 if ${PKG_CONFIG+:} false; then :
14393 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14397 if ${PULSE_LIBS:+false} :; then :
14398 if ${PKG_CONFIG+:} false; then :
14399 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14404 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14405 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14406 ac_save_CPPFLAGS=$CPPFLAGS
14407 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14408 for ac_header in pulse/pulseaudio.h
14409 do :
14410 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14411 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14412 cat >>confdefs.h <<_ACEOF
14413 #define HAVE_PULSE_PULSEAUDIO_H 1
14414 _ACEOF
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14416 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14417 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14418 $as_echo_n "(cached) " >&6
14419 else
14420 ac_check_lib_save_LIBS=$LIBS
14421 LIBS="-lpulse $PULSE_LIBS $LIBS"
14422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14423 /* end confdefs.h. */
14425 /* Override any GCC internal prototype to avoid an error.
14426 Use char because int might match the return type of a GCC
14427 builtin and then its argument prototype would still apply. */
14428 #ifdef __cplusplus
14429 extern "C"
14430 #endif
14431 char pa_stream_is_corked ();
14433 main ()
14435 return pa_stream_is_corked ();
14437 return 0;
14439 _ACEOF
14440 if ac_fn_c_try_link "$LINENO"; then :
14441 ac_cv_lib_pulse_pa_stream_is_corked=yes
14442 else
14443 ac_cv_lib_pulse_pa_stream_is_corked=no
14445 rm -f core conftest.err conftest.$ac_objext \
14446 conftest$ac_exeext conftest.$ac_ext
14447 LIBS=$ac_check_lib_save_LIBS
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14450 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14451 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14453 else
14454 PULSE_LIBS=""
14457 else
14458 PULSE_LIBS=""
14461 done
14463 CPPFLAGS=$ac_save_CPPFLAGS
14464 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14465 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14468 if test -z "$PULSE_LIBS"; then :
14469 case "x$with_pulse" in
14470 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14471 xno) ;;
14472 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14473 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14474 esac
14475 enable_winepulse_drv=${enable_winepulse_drv:-no}
14478 if test "x$with_gstreamer" != "xno"
14479 then
14480 if ${GSTREAMER_CFLAGS:+false} :; then :
14481 if ${PKG_CONFIG+:} false; then :
14482 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14486 if ${GSTREAMER_LIBS:+false} :; then :
14487 if ${PKG_CONFIG+:} false; then :
14488 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14493 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14494 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14495 ac_save_CPPFLAGS=$CPPFLAGS
14496 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14497 ac_gst_incl=""
14498 for i in $GSTREAMER_CFLAGS
14500 case "$i" in
14501 -I*) ac_gst_incl="$ac_gst_incl $i";;
14502 esac
14503 done
14504 GSTREAMER_CFLAGS=$ac_gst_incl
14505 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14506 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14507 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14509 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14511 /* end confdefs.h. */
14512 #include <gst/gst.h>
14514 main ()
14516 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14518 return 0;
14520 _ACEOF
14521 if ac_fn_c_try_compile "$LINENO"; then :
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14523 $as_echo "yes" >&6; }
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14525 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14526 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14527 $as_echo_n "(cached) " >&6
14528 else
14529 ac_check_lib_save_LIBS=$LIBS
14530 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14532 /* end confdefs.h. */
14534 /* Override any GCC internal prototype to avoid an error.
14535 Use char because int might match the return type of a GCC
14536 builtin and then its argument prototype would still apply. */
14537 #ifdef __cplusplus
14538 extern "C"
14539 #endif
14540 char gst_pad_new ();
14542 main ()
14544 return gst_pad_new ();
14546 return 0;
14548 _ACEOF
14549 if ac_fn_c_try_link "$LINENO"; then :
14550 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14551 else
14552 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14554 rm -f core conftest.err conftest.$ac_objext \
14555 conftest$ac_exeext conftest.$ac_ext
14556 LIBS=$ac_check_lib_save_LIBS
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14559 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14560 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14564 else
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14566 $as_echo "no" >&6; }
14567 ac_glib2_broken=yes
14568 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14574 CPPFLAGS=$ac_save_CPPFLAGS
14575 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14576 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14579 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 :
14580 case "x$with_gstreamer" in
14581 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14582 xno) ;;
14583 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14584 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14585 esac
14588 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14590 ALSA_LIBS=""
14592 if test "x$with_alsa" != "xno"
14593 then
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14595 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14596 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14597 $as_echo_n "(cached) " >&6
14598 else
14599 ac_check_lib_save_LIBS=$LIBS
14600 LIBS="-lasound $LIBS"
14601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14602 /* end confdefs.h. */
14604 /* Override any GCC internal prototype to avoid an error.
14605 Use char because int might match the return type of a GCC
14606 builtin and then its argument prototype would still apply. */
14607 #ifdef __cplusplus
14608 extern "C"
14609 #endif
14610 char snd_pcm_hw_params_get_access_mask ();
14612 main ()
14614 return snd_pcm_hw_params_get_access_mask ();
14616 return 0;
14618 _ACEOF
14619 if ac_fn_c_try_link "$LINENO"; then :
14620 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14621 else
14622 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14624 rm -f core conftest.err conftest.$ac_objext \
14625 conftest$ac_exeext conftest.$ac_ext
14626 LIBS=$ac_check_lib_save_LIBS
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14629 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14630 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14632 /* end confdefs.h. */
14633 #include <alsa/asoundlib.h>
14635 main ()
14637 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14639 return 0;
14641 _ACEOF
14642 if ac_fn_c_try_compile "$LINENO"; then :
14643 ALSA_LIBS="-lasound"
14645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14649 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14651 if test "x$with_oss" != xno
14652 then
14653 ac_save_CPPFLAGS="$CPPFLAGS"
14654 if test -f /etc/oss.conf
14655 then
14656 . /etc/oss.conf
14658 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14659 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14660 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14661 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14662 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14664 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14666 cat >>confdefs.h <<_ACEOF
14667 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14668 _ACEOF
14670 OSS4_CFLAGS="$ac_oss_incl"
14677 CPPFLAGS="$ac_save_CPPFLAGS"
14679 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14680 case "x$with_oss" in
14681 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14682 xno) ;;
14683 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14684 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14685 esac
14686 enable_wineoss_drv=${enable_wineoss_drv:-no}
14689 if test "x$with_udev" != "xno"
14690 then
14691 if ${UDEV_CFLAGS:+false} :; then :
14692 if ${PKG_CONFIG+:} false; then :
14693 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14697 if ${UDEV_LIBS:+false} :; then :
14698 if ${PKG_CONFIG+:} false; then :
14699 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14703 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14704 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14705 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14706 ac_save_CPPFLAGS=$CPPFLAGS
14707 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14708 for ac_header in libudev.h
14709 do :
14710 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14711 if test "x$ac_cv_header_libudev_h" = xyes; then :
14712 cat >>confdefs.h <<_ACEOF
14713 #define HAVE_LIBUDEV_H 1
14714 _ACEOF
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14716 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14717 if ${ac_cv_lib_udev_udev_new+:} false; then :
14718 $as_echo_n "(cached) " >&6
14719 else
14720 ac_check_lib_save_LIBS=$LIBS
14721 LIBS="-ludev $UDEV_LIBS $LIBS"
14722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14723 /* end confdefs.h. */
14725 /* Override any GCC internal prototype to avoid an error.
14726 Use char because int might match the return type of a GCC
14727 builtin and then its argument prototype would still apply. */
14728 #ifdef __cplusplus
14729 extern "C"
14730 #endif
14731 char udev_new ();
14733 main ()
14735 return udev_new ();
14737 return 0;
14739 _ACEOF
14740 if ac_fn_c_try_link "$LINENO"; then :
14741 ac_cv_lib_udev_udev_new=yes
14742 else
14743 ac_cv_lib_udev_udev_new=no
14745 rm -f core conftest.err conftest.$ac_objext \
14746 conftest$ac_exeext conftest.$ac_ext
14747 LIBS=$ac_check_lib_save_LIBS
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14750 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14751 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14753 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14755 else
14756 UDEV_LIBS=""
14759 else
14760 UDEV_LIBS=""
14763 done
14765 CPPFLAGS=$ac_save_CPPFLAGS
14766 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14767 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14770 if test "x$UDEV_LIBS" = "x"; then :
14771 case "x$with_udev" in
14772 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14773 xno) ;;
14774 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14775 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14776 esac
14780 if test "x$with_sdl" != "xno"
14781 then
14782 if ${SDL2_CFLAGS:+false} :; then :
14783 if ${PKG_CONFIG+:} false; then :
14784 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14788 if ${SDL2_LIBS:+false} :; then :
14789 if ${PKG_CONFIG+:} false; then :
14790 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14794 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14795 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14796 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14797 ac_save_CPPFLAGS=$CPPFLAGS
14798 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14799 for ac_header in SDL2/SDL.h
14800 do :
14801 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
14802 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
14803 cat >>confdefs.h <<_ACEOF
14804 #define HAVE_SDL2_SDL_H 1
14805 _ACEOF
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14807 $as_echo_n "checking for -lSDL2... " >&6; }
14808 if ${ac_cv_lib_soname_SDL2+:} false; then :
14809 $as_echo_n "(cached) " >&6
14810 else
14811 ac_check_soname_save_LIBS=$LIBS
14812 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14814 /* end confdefs.h. */
14816 /* Override any GCC internal prototype to avoid an error.
14817 Use char because int might match the return type of a GCC
14818 builtin and then its argument prototype would still apply. */
14819 #ifdef __cplusplus
14820 extern "C"
14821 #endif
14822 char SDL_Init ();
14824 main ()
14826 return SDL_Init ();
14828 return 0;
14830 _ACEOF
14831 if ac_fn_c_try_link "$LINENO"; then :
14832 case "$LIBEXT" in
14833 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14834 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'` ;;
14835 *) 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'`
14836 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14837 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14838 fi ;;
14839 esac
14840 else
14841 ac_cv_lib_soname_SDL2=
14843 rm -f core conftest.err conftest.$ac_objext \
14844 conftest$ac_exeext conftest.$ac_ext
14845 LIBS=$ac_check_soname_save_LIBS
14847 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14849 $as_echo "not found" >&6; }
14851 else
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14853 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14855 cat >>confdefs.h <<_ACEOF
14856 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
14857 _ACEOF
14863 done
14865 CPPFLAGS=$ac_save_CPPFLAGS
14866 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14867 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14870 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14871 case "x$with_sdl" in
14872 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14873 xno) ;;
14874 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14875 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14876 esac
14880 if test "x$with_faudio" != "xno"
14881 then
14882 if ${FAUDIO_CFLAGS:+false} :; then :
14883 if ${PKG_CONFIG+:} false; then :
14884 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
14888 if ${FAUDIO_LIBS:+false} :; then :
14889 if ${PKG_CONFIG+:} false; then :
14890 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
14894 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
14895 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
14896 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
14897 ac_save_CPPFLAGS=$CPPFLAGS
14898 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
14899 for ac_header in FAudio.h
14900 do :
14901 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
14902 if test "x$ac_cv_header_FAudio_h" = xyes; then :
14903 cat >>confdefs.h <<_ACEOF
14904 #define HAVE_FAUDIO_H 1
14905 _ACEOF
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
14907 $as_echo_n "checking for -lFAudio... " >&6; }
14908 if ${ac_cv_lib_soname_FAudio+:} false; then :
14909 $as_echo_n "(cached) " >&6
14910 else
14911 ac_check_soname_save_LIBS=$LIBS
14912 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
14913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14914 /* end confdefs.h. */
14916 /* Override any GCC internal prototype to avoid an error.
14917 Use char because int might match the return type of a GCC
14918 builtin and then its argument prototype would still apply. */
14919 #ifdef __cplusplus
14920 extern "C"
14921 #endif
14922 char FAudioCreate ();
14924 main ()
14926 return FAudioCreate ();
14928 return 0;
14930 _ACEOF
14931 if ac_fn_c_try_link "$LINENO"; then :
14932 case "$LIBEXT" in
14933 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14934 dylib) ac_cv_lib_soname_FAudio=`$OTOOL -L conftest$ac_exeext | grep "libFAudio*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libFAudio*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14935 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14936 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14937 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14938 fi ;;
14939 esac
14940 else
14941 ac_cv_lib_soname_FAudio=
14943 rm -f core conftest.err conftest.$ac_objext \
14944 conftest$ac_exeext conftest.$ac_ext
14945 LIBS=$ac_check_soname_save_LIBS
14947 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14949 $as_echo "not found" >&6; }
14951 else
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
14953 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
14955 cat >>confdefs.h <<_ACEOF
14956 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
14957 _ACEOF
14963 done
14965 CPPFLAGS=$ac_save_CPPFLAGS
14966 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14967 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14969 ac_wine_check_funcs_save_LIBS="$LIBS"
14970 LIBS="$LIBS $FAUDIO_LIBS"
14971 for ac_func in \
14972 FAudio_CommitOperationSet \
14973 F3DAudioInitialize8
14974 do :
14975 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14976 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14977 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14978 cat >>confdefs.h <<_ACEOF
14979 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14980 _ACEOF
14983 done
14985 LIBS="$ac_wine_check_funcs_save_LIBS"
14987 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
14988 case "x$with_faudio" in
14989 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
14990 xno) ;;
14991 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
14992 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
14993 esac
14997 if test "x$with_capi" != "xno"
14998 then
14999 if ${CAPI20_CFLAGS:+false} :; then :
15000 if ${PKG_CONFIG+:} false; then :
15001 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15005 if ${CAPI20_LIBS:+false} :; then :
15006 if ${PKG_CONFIG+:} false; then :
15007 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15012 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15013 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15014 ac_save_CPPFLAGS=$CPPFLAGS
15015 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15016 for ac_header in capi20.h linux/capi.h
15017 do :
15018 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15019 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15021 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15022 cat >>confdefs.h <<_ACEOF
15023 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15024 _ACEOF
15028 done
15030 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15031 then
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15033 $as_echo_n "checking for -lcapi20... " >&6; }
15034 if ${ac_cv_lib_soname_capi20+:} false; then :
15035 $as_echo_n "(cached) " >&6
15036 else
15037 ac_check_soname_save_LIBS=$LIBS
15038 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15040 /* end confdefs.h. */
15042 /* Override any GCC internal prototype to avoid an error.
15043 Use char because int might match the return type of a GCC
15044 builtin and then its argument prototype would still apply. */
15045 #ifdef __cplusplus
15046 extern "C"
15047 #endif
15048 char capi20_register ();
15050 main ()
15052 return capi20_register ();
15054 return 0;
15056 _ACEOF
15057 if ac_fn_c_try_link "$LINENO"; then :
15058 case "$LIBEXT" in
15059 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15060 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'` ;;
15061 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15062 if ${ac_cv_lib_soname_capi20:+false} :; then :
15063 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15064 fi ;;
15065 esac
15066 else
15067 ac_cv_lib_soname_capi20=
15069 rm -f core conftest.err conftest.$ac_objext \
15070 conftest$ac_exeext conftest.$ac_ext
15071 LIBS=$ac_check_soname_save_LIBS
15073 if ${ac_cv_lib_soname_capi20:+false} :; then :
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15075 $as_echo "not found" >&6; }
15077 else
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15079 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15081 cat >>confdefs.h <<_ACEOF
15082 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15083 _ACEOF
15088 CPPFLAGS=$ac_save_CPPFLAGS
15089 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15090 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15093 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15094 case "x$with_capi" in
15095 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15096 xno) ;;
15097 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15098 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15099 esac
15103 if test "x$with_cups" != "xno"
15104 then
15105 if ${CUPS_CFLAGS:+false} :; then :
15106 if ${PKG_CONFIG+:} false; then :
15107 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15110 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15111 if ${CUPS_LIBS:+false} :; then :
15112 if ${PKG_CONFIG+:} false; then :
15113 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15116 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15117 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15118 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15119 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15120 ac_save_CPPFLAGS=$CPPFLAGS
15121 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15122 for ac_header in cups/cups.h cups/ppd.h
15123 do :
15124 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15125 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15126 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15127 cat >>confdefs.h <<_ACEOF
15128 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15129 _ACEOF
15133 done
15135 if test "$ac_cv_header_cups_cups_h" = "yes"
15136 then
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15138 $as_echo_n "checking for -lcups... " >&6; }
15139 if ${ac_cv_lib_soname_cups+:} false; then :
15140 $as_echo_n "(cached) " >&6
15141 else
15142 ac_check_soname_save_LIBS=$LIBS
15143 LIBS="-lcups $CUPS_LIBS $LIBS"
15144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15145 /* end confdefs.h. */
15147 /* Override any GCC internal prototype to avoid an error.
15148 Use char because int might match the return type of a GCC
15149 builtin and then its argument prototype would still apply. */
15150 #ifdef __cplusplus
15151 extern "C"
15152 #endif
15153 char cupsGetDefault ();
15155 main ()
15157 return cupsGetDefault ();
15159 return 0;
15161 _ACEOF
15162 if ac_fn_c_try_link "$LINENO"; then :
15163 case "$LIBEXT" in
15164 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15165 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'` ;;
15166 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15167 if ${ac_cv_lib_soname_cups:+false} :; then :
15168 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15169 fi ;;
15170 esac
15171 else
15172 ac_cv_lib_soname_cups=
15174 rm -f core conftest.err conftest.$ac_objext \
15175 conftest$ac_exeext conftest.$ac_ext
15176 LIBS=$ac_check_soname_save_LIBS
15178 if ${ac_cv_lib_soname_cups:+false} :; then :
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15180 $as_echo "not found" >&6; }
15181 CUPS_LIBS=""
15182 else
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15184 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15186 cat >>confdefs.h <<_ACEOF
15187 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15188 _ACEOF
15192 else
15193 CUPS_CFLAGS=""
15194 CUPS_LIBS=""
15196 CPPFLAGS=$ac_save_CPPFLAGS
15197 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15198 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15201 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15202 case "x$with_cups" in
15203 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15204 xno) ;;
15205 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15206 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15207 esac
15211 if test "x$with_fontconfig" != "xno"
15212 then
15213 if ${FONTCONFIG_CFLAGS:+false} :; then :
15214 if ${PKG_CONFIG+:} false; then :
15215 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15218 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15219 if ${FONTCONFIG_LIBS:+false} :; then :
15220 if ${PKG_CONFIG+:} false; then :
15221 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15224 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15226 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15227 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15228 ac_save_CPPFLAGS=$CPPFLAGS
15229 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15230 for ac_header in fontconfig/fontconfig.h
15231 do :
15232 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15233 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15234 cat >>confdefs.h <<_ACEOF
15235 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15236 _ACEOF
15240 done
15242 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15243 then
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15245 $as_echo_n "checking for -lfontconfig... " >&6; }
15246 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15247 $as_echo_n "(cached) " >&6
15248 else
15249 ac_check_soname_save_LIBS=$LIBS
15250 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15252 /* end confdefs.h. */
15254 /* Override any GCC internal prototype to avoid an error.
15255 Use char because int might match the return type of a GCC
15256 builtin and then its argument prototype would still apply. */
15257 #ifdef __cplusplus
15258 extern "C"
15259 #endif
15260 char FcInit ();
15262 main ()
15264 return FcInit ();
15266 return 0;
15268 _ACEOF
15269 if ac_fn_c_try_link "$LINENO"; then :
15270 case "$LIBEXT" in
15271 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15272 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'` ;;
15273 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15274 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15275 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15276 fi ;;
15277 esac
15278 else
15279 ac_cv_lib_soname_fontconfig=
15281 rm -f core conftest.err conftest.$ac_objext \
15282 conftest$ac_exeext conftest.$ac_ext
15283 LIBS=$ac_check_soname_save_LIBS
15285 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15287 $as_echo "not found" >&6; }
15288 FONTCONFIG_CFLAGS=""
15289 else
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15291 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15293 cat >>confdefs.h <<_ACEOF
15294 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15295 _ACEOF
15299 else
15300 FONTCONFIG_CFLAGS=""
15302 CPPFLAGS=$ac_save_CPPFLAGS
15303 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15304 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15307 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15308 case "x$with_fontconfig" in
15309 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15310 xno) ;;
15311 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15312 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15313 esac
15317 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15318 then
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15320 $as_echo_n "checking for -lgsm... " >&6; }
15321 if ${ac_cv_lib_soname_gsm+:} false; then :
15322 $as_echo_n "(cached) " >&6
15323 else
15324 ac_check_soname_save_LIBS=$LIBS
15325 LIBS="-lgsm $LIBS"
15326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15327 /* end confdefs.h. */
15329 /* Override any GCC internal prototype to avoid an error.
15330 Use char because int might match the return type of a GCC
15331 builtin and then its argument prototype would still apply. */
15332 #ifdef __cplusplus
15333 extern "C"
15334 #endif
15335 char gsm_create ();
15337 main ()
15339 return gsm_create ();
15341 return 0;
15343 _ACEOF
15344 if ac_fn_c_try_link "$LINENO"; then :
15345 case "$LIBEXT" in
15346 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15347 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'` ;;
15348 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15349 if ${ac_cv_lib_soname_gsm:+false} :; then :
15350 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15351 fi ;;
15352 esac
15353 else
15354 ac_cv_lib_soname_gsm=
15356 rm -f core conftest.err conftest.$ac_objext \
15357 conftest$ac_exeext conftest.$ac_ext
15358 LIBS=$ac_check_soname_save_LIBS
15360 if ${ac_cv_lib_soname_gsm:+false} :; then :
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15362 $as_echo "not found" >&6; }
15364 else
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15366 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15368 cat >>confdefs.h <<_ACEOF
15369 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15370 _ACEOF
15375 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15376 case "x$with_gsm" in
15377 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15378 xno) ;;
15379 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15380 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15381 esac
15385 if test "x$with_krb5" != "xno"
15386 then
15387 if ${KRB5_CFLAGS:+false} :; then :
15388 if ${PKG_CONFIG+:} false; then :
15389 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15392 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15393 if ${KRB5_LIBS:+false} :; then :
15394 if ${PKG_CONFIG+:} false; then :
15395 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15398 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15400 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15401 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15402 ac_save_CPPFLAGS=$CPPFLAGS
15403 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15404 for ac_header in krb5/krb5.h
15405 do :
15406 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15407 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15408 cat >>confdefs.h <<_ACEOF
15409 #define HAVE_KRB5_KRB5_H 1
15410 _ACEOF
15414 done
15416 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15417 then
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15419 $as_echo_n "checking for -lkrb5... " >&6; }
15420 if ${ac_cv_lib_soname_krb5+:} false; then :
15421 $as_echo_n "(cached) " >&6
15422 else
15423 ac_check_soname_save_LIBS=$LIBS
15424 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15426 /* end confdefs.h. */
15428 /* Override any GCC internal prototype to avoid an error.
15429 Use char because int might match the return type of a GCC
15430 builtin and then its argument prototype would still apply. */
15431 #ifdef __cplusplus
15432 extern "C"
15433 #endif
15434 char krb5_is_config_principal ();
15436 main ()
15438 return krb5_is_config_principal ();
15440 return 0;
15442 _ACEOF
15443 if ac_fn_c_try_link "$LINENO"; then :
15444 case "$LIBEXT" in
15445 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15446 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'` ;;
15447 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15448 if ${ac_cv_lib_soname_krb5:+false} :; then :
15449 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15450 fi ;;
15451 esac
15452 else
15453 ac_cv_lib_soname_krb5=
15455 rm -f core conftest.err conftest.$ac_objext \
15456 conftest$ac_exeext conftest.$ac_ext
15457 LIBS=$ac_check_soname_save_LIBS
15459 if ${ac_cv_lib_soname_krb5:+false} :; then :
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15461 $as_echo "not found" >&6; }
15462 KRB5_CFLAGS=""
15463 else
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15465 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15467 cat >>confdefs.h <<_ACEOF
15468 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15469 _ACEOF
15473 else
15474 KRB5_CFLAGS=""
15476 CPPFLAGS=$ac_save_CPPFLAGS
15477 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15478 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15480 else
15481 with_gssapi=${with_gssapi:-no}
15483 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15484 case "x$with_krb5" in
15485 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15486 xno) ;;
15487 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15488 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15489 esac
15493 if test "x$with_gssapi" != "xno"
15494 then
15495 if ${GSSAPI_CFLAGS:+false} :; then :
15496 if ${PKG_CONFIG+:} false; then :
15497 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15500 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15501 if ${GSSAPI_LIBS:+false} :; then :
15502 if ${PKG_CONFIG+:} false; then :
15503 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15506 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15508 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15509 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15510 ac_save_CPPFLAGS=$CPPFLAGS
15511 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15512 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15513 do :
15514 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15515 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15516 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15517 cat >>confdefs.h <<_ACEOF
15518 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15519 _ACEOF
15523 done
15525 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15526 then
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15528 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15529 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15530 $as_echo_n "(cached) " >&6
15531 else
15532 ac_check_soname_save_LIBS=$LIBS
15533 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15535 /* end confdefs.h. */
15537 /* Override any GCC internal prototype to avoid an error.
15538 Use char because int might match the return type of a GCC
15539 builtin and then its argument prototype would still apply. */
15540 #ifdef __cplusplus
15541 extern "C"
15542 #endif
15543 char gss_init_sec_context ();
15545 main ()
15547 return gss_init_sec_context ();
15549 return 0;
15551 _ACEOF
15552 if ac_fn_c_try_link "$LINENO"; then :
15553 case "$LIBEXT" in
15554 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15555 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'` ;;
15556 *) 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'`
15557 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15558 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15559 fi ;;
15560 esac
15561 else
15562 ac_cv_lib_soname_gssapi_krb5=
15564 rm -f core conftest.err conftest.$ac_objext \
15565 conftest$ac_exeext conftest.$ac_ext
15566 LIBS=$ac_check_soname_save_LIBS
15568 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15570 $as_echo "not found" >&6; }
15571 GSSAPI_CFLAGS=""
15572 else
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15574 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15576 cat >>confdefs.h <<_ACEOF
15577 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15578 _ACEOF
15582 else
15583 GSSAPI_CFLAGS=""
15585 CPPFLAGS=$ac_save_CPPFLAGS
15586 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15587 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15590 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15591 case "x$with_gssapi" in
15592 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15593 xno) ;;
15594 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15595 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15596 esac
15600 if test "x$with_jpeg" != "xno"
15601 then
15602 if ${JPEG_CFLAGS:+false} :; then :
15603 if ${PKG_CONFIG+:} false; then :
15604 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15608 if ${JPEG_LIBS:+false} :; then :
15609 if ${PKG_CONFIG+:} false; then :
15610 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15615 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15616 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15617 ac_save_CPPFLAGS=$CPPFLAGS
15618 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15619 for ac_header in jpeglib.h
15620 do :
15621 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15622 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15623 cat >>confdefs.h <<_ACEOF
15624 #define HAVE_JPEGLIB_H 1
15625 _ACEOF
15629 done
15631 if test "$ac_cv_header_jpeglib_h" = "yes"
15632 then
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15634 $as_echo_n "checking for -ljpeg... " >&6; }
15635 if ${ac_cv_lib_soname_jpeg+:} false; then :
15636 $as_echo_n "(cached) " >&6
15637 else
15638 ac_check_soname_save_LIBS=$LIBS
15639 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15641 /* end confdefs.h. */
15643 /* Override any GCC internal prototype to avoid an error.
15644 Use char because int might match the return type of a GCC
15645 builtin and then its argument prototype would still apply. */
15646 #ifdef __cplusplus
15647 extern "C"
15648 #endif
15649 char jpeg_start_decompress ();
15651 main ()
15653 return jpeg_start_decompress ();
15655 return 0;
15657 _ACEOF
15658 if ac_fn_c_try_link "$LINENO"; then :
15659 case "$LIBEXT" in
15660 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15661 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'` ;;
15662 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15663 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15664 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15665 fi ;;
15666 esac
15667 else
15668 ac_cv_lib_soname_jpeg=
15670 rm -f core conftest.err conftest.$ac_objext \
15671 conftest$ac_exeext conftest.$ac_ext
15672 LIBS=$ac_check_soname_save_LIBS
15674 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15676 $as_echo "not found" >&6; }
15677 JPEG_CFLAGS=""
15678 else
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15680 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15682 cat >>confdefs.h <<_ACEOF
15683 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15684 _ACEOF
15688 else
15689 JPEG_CFLAGS=""
15691 CPPFLAGS=$ac_save_CPPFLAGS
15692 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15693 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15696 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15697 case "x$with_jpeg" in
15698 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15699 xno) ;;
15700 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15701 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15702 esac
15706 if test "x$with_png" != "xno"
15707 then
15708 if ${PNG_CFLAGS:+false} :; then :
15709 if ${PKG_CONFIG+:} false; then :
15710 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15713 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15714 if ${PNG_LIBS:+false} :; then :
15715 if ${PKG_CONFIG+:} false; then :
15716 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15719 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15721 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15722 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15723 ac_save_CPPFLAGS=$CPPFLAGS
15724 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15725 for ac_header in png.h
15726 do :
15727 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15728 if test "x$ac_cv_header_png_h" = xyes; then :
15729 cat >>confdefs.h <<_ACEOF
15730 #define HAVE_PNG_H 1
15731 _ACEOF
15735 done
15737 if test "$ac_cv_header_png_h" = "yes"
15738 then
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15740 $as_echo_n "checking for -lpng... " >&6; }
15741 if ${ac_cv_lib_soname_png+:} false; then :
15742 $as_echo_n "(cached) " >&6
15743 else
15744 ac_check_soname_save_LIBS=$LIBS
15745 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15747 /* end confdefs.h. */
15749 /* Override any GCC internal prototype to avoid an error.
15750 Use char because int might match the return type of a GCC
15751 builtin and then its argument prototype would still apply. */
15752 #ifdef __cplusplus
15753 extern "C"
15754 #endif
15755 char png_create_read_struct ();
15757 main ()
15759 return png_create_read_struct ();
15761 return 0;
15763 _ACEOF
15764 if ac_fn_c_try_link "$LINENO"; then :
15765 case "$LIBEXT" in
15766 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15767 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'` ;;
15768 *) 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'`
15769 if ${ac_cv_lib_soname_png:+false} :; then :
15770 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15771 fi ;;
15772 esac
15773 else
15774 ac_cv_lib_soname_png=
15776 rm -f core conftest.err conftest.$ac_objext \
15777 conftest$ac_exeext conftest.$ac_ext
15778 LIBS=$ac_check_soname_save_LIBS
15780 if ${ac_cv_lib_soname_png:+false} :; then :
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15782 $as_echo "not found" >&6; }
15783 PNG_CFLAGS=""
15784 else
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15786 $as_echo "$ac_cv_lib_soname_png" >&6; }
15788 cat >>confdefs.h <<_ACEOF
15789 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15790 _ACEOF
15794 else
15795 PNG_CFLAGS=""
15797 CPPFLAGS=$ac_save_CPPFLAGS
15798 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15799 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15802 if test "x$ac_cv_lib_soname_png" = "x"; then :
15803 case "x$with_png" in
15804 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15805 xno) ;;
15806 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15807 This is an error since --with-png was requested." "$LINENO" 5 ;;
15808 esac
15812 if test "x$with_tiff" != "xno"
15813 then
15814 if ${TIFF_CFLAGS:+false} :; then :
15815 if ${PKG_CONFIG+:} false; then :
15816 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
15820 if ${TIFF_LIBS:+false} :; then :
15821 if ${PKG_CONFIG+:} false; then :
15822 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
15827 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
15828 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
15829 ac_save_CPPFLAGS=$CPPFLAGS
15830 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
15831 for ac_header in tiffio.h
15832 do :
15833 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15834 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15835 cat >>confdefs.h <<_ACEOF
15836 #define HAVE_TIFFIO_H 1
15837 _ACEOF
15841 done
15843 if test "$ac_cv_header_tiffio_h" = "yes"
15844 then
15845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
15846 $as_echo_n "checking for -ltiff... " >&6; }
15847 if ${ac_cv_lib_soname_tiff+:} false; then :
15848 $as_echo_n "(cached) " >&6
15849 else
15850 ac_check_soname_save_LIBS=$LIBS
15851 LIBS="-ltiff $TIFF_LIBS $LIBS"
15852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15853 /* end confdefs.h. */
15855 /* Override any GCC internal prototype to avoid an error.
15856 Use char because int might match the return type of a GCC
15857 builtin and then its argument prototype would still apply. */
15858 #ifdef __cplusplus
15859 extern "C"
15860 #endif
15861 char TIFFClientOpen ();
15863 main ()
15865 return TIFFClientOpen ();
15867 return 0;
15869 _ACEOF
15870 if ac_fn_c_try_link "$LINENO"; then :
15871 case "$LIBEXT" in
15872 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15873 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'` ;;
15874 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15875 if ${ac_cv_lib_soname_tiff:+false} :; then :
15876 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15877 fi ;;
15878 esac
15879 else
15880 ac_cv_lib_soname_tiff=
15882 rm -f core conftest.err conftest.$ac_objext \
15883 conftest$ac_exeext conftest.$ac_ext
15884 LIBS=$ac_check_soname_save_LIBS
15886 if ${ac_cv_lib_soname_tiff:+false} :; then :
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15888 $as_echo "not found" >&6; }
15890 else
15891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
15892 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
15894 cat >>confdefs.h <<_ACEOF
15895 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
15896 _ACEOF
15901 CPPFLAGS=$ac_save_CPPFLAGS
15902 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15903 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15906 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
15907 case "x$with_tiff" in
15908 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
15909 xno) ;;
15910 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
15911 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
15912 esac
15916 if test "x$with_mpg123" != "xno"
15917 then
15918 if ${MPG123_CFLAGS:+false} :; then :
15919 if ${PKG_CONFIG+:} false; then :
15920 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
15924 if ${MPG123_LIBS:+false} :; then :
15925 if ${PKG_CONFIG+:} false; then :
15926 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
15930 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
15931 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
15932 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
15933 ac_save_CPPFLAGS=$CPPFLAGS
15934 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
15935 for ac_header in mpg123.h
15936 do :
15937 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
15938 if test "x$ac_cv_header_mpg123_h" = xyes; then :
15939 cat >>confdefs.h <<_ACEOF
15940 #define HAVE_MPG123_H 1
15941 _ACEOF
15945 done
15947 if test "$ac_cv_header_mpg123_h" = "yes"
15948 then
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
15950 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
15951 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
15952 $as_echo_n "(cached) " >&6
15953 else
15954 ac_check_lib_save_LIBS=$LIBS
15955 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
15956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15957 /* end confdefs.h. */
15959 /* Override any GCC internal prototype to avoid an error.
15960 Use char because int might match the return type of a GCC
15961 builtin and then its argument prototype would still apply. */
15962 #ifdef __cplusplus
15963 extern "C"
15964 #endif
15965 char mpg123_feed ();
15967 main ()
15969 return mpg123_feed ();
15971 return 0;
15973 _ACEOF
15974 if ac_fn_c_try_link "$LINENO"; then :
15975 ac_cv_lib_mpg123_mpg123_feed=yes
15976 else
15977 ac_cv_lib_mpg123_mpg123_feed=no
15979 rm -f core conftest.err conftest.$ac_objext \
15980 conftest$ac_exeext conftest.$ac_ext
15981 LIBS=$ac_check_lib_save_LIBS
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
15984 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
15985 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
15987 else
15988 MPG123_LIBS=""
15991 else
15992 MPG123_CFLAGS=""
15993 MPG123_LIBS=""
15995 CPPFLAGS=$ac_save_CPPFLAGS
15996 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15997 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16000 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16001 case "x$with_mpg123" in
16002 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16003 xno) ;;
16004 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16005 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16006 esac
16007 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16009 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16011 if test "$ac_cv_header_AL_al_h" = "yes"
16012 then
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16014 $as_echo_n "checking for -lopenal... " >&6; }
16015 if ${ac_cv_lib_soname_openal+:} false; then :
16016 $as_echo_n "(cached) " >&6
16017 else
16018 ac_check_soname_save_LIBS=$LIBS
16019 LIBS="-lopenal $LIBS"
16020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16021 /* end confdefs.h. */
16023 /* Override any GCC internal prototype to avoid an error.
16024 Use char because int might match the return type of a GCC
16025 builtin and then its argument prototype would still apply. */
16026 #ifdef __cplusplus
16027 extern "C"
16028 #endif
16029 char alGetSource3i ();
16031 main ()
16033 return alGetSource3i ();
16035 return 0;
16037 _ACEOF
16038 if ac_fn_c_try_link "$LINENO"; then :
16039 case "$LIBEXT" in
16040 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16041 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'` ;;
16042 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16043 if ${ac_cv_lib_soname_openal:+false} :; then :
16044 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16045 fi ;;
16046 esac
16047 else
16048 ac_cv_lib_soname_openal=
16050 rm -f core conftest.err conftest.$ac_objext \
16051 conftest$ac_exeext conftest.$ac_ext
16052 LIBS=$ac_check_soname_save_LIBS
16054 if ${ac_cv_lib_soname_openal:+false} :; then :
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16056 $as_echo "not found" >&6; }
16058 else
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16060 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16062 cat >>confdefs.h <<_ACEOF
16063 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16064 _ACEOF
16066 OPENAL_LIBS="-lopenal"
16068 ac_cv_lib_openal=yes
16070 cat >>confdefs.h <<_ACEOF
16071 #define HAVE_OPENAL 1
16072 _ACEOF
16076 if test "x$ac_cv_lib_openal" != xyes; then :
16077 case "x$with_openal" in
16078 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16079 xno) ;;
16080 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16081 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16082 esac
16083 enable_openal32=${enable_openal32:-no}
16086 if test "x$ac_cv_lib_soname_FAudio" = "x"
16087 then
16088 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16089 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16090 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16091 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16092 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16093 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16094 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16095 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16096 enable_xapofx1_1=${enable_xapofx1_1:-no}
16097 enable_xapofx1_2=${enable_xapofx1_2:-no}
16098 enable_xapofx1_3=${enable_xapofx1_3:-no}
16099 enable_xapofx1_4=${enable_xapofx1_4:-no}
16100 enable_xapofx1_5=${enable_xapofx1_5:-no}
16101 enable_xaudio2_0=${enable_xaudio2_0:-no}
16102 enable_xaudio2_1=${enable_xaudio2_1:-no}
16103 enable_xaudio2_2=${enable_xaudio2_2:-no}
16104 enable_xaudio2_3=${enable_xaudio2_3:-no}
16105 enable_xaudio2_4=${enable_xaudio2_4:-no}
16106 enable_xaudio2_5=${enable_xaudio2_5:-no}
16107 enable_xaudio2_6=${enable_xaudio2_6:-no}
16108 enable_xaudio2_7=${enable_xaudio2_7:-no}
16109 enable_xaudio2_8=${enable_xaudio2_8:-no}
16110 enable_xaudio2_9=${enable_xaudio2_9:-no}
16113 if test "$ac_cv_header_kstat_h" = "yes"
16114 then
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16116 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16117 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16118 $as_echo_n "(cached) " >&6
16119 else
16120 ac_check_lib_save_LIBS=$LIBS
16121 LIBS="-lkstat $LIBS"
16122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16123 /* end confdefs.h. */
16125 /* Override any GCC internal prototype to avoid an error.
16126 Use char because int might match the return type of a GCC
16127 builtin and then its argument prototype would still apply. */
16128 #ifdef __cplusplus
16129 extern "C"
16130 #endif
16131 char kstat_open ();
16133 main ()
16135 return kstat_open ();
16137 return 0;
16139 _ACEOF
16140 if ac_fn_c_try_link "$LINENO"; then :
16141 ac_cv_lib_kstat_kstat_open=yes
16142 else
16143 ac_cv_lib_kstat_kstat_open=no
16145 rm -f core conftest.err conftest.$ac_objext \
16146 conftest$ac_exeext conftest.$ac_ext
16147 LIBS=$ac_check_lib_save_LIBS
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16150 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16151 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16153 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16155 KSTAT_LIBS="-lkstat"
16161 if test "$ac_cv_header_libprocstat_h" = "yes"
16162 then
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16164 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16165 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16166 $as_echo_n "(cached) " >&6
16167 else
16168 ac_check_lib_save_LIBS=$LIBS
16169 LIBS="-lprocstat $LIBS"
16170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16171 /* end confdefs.h. */
16173 /* Override any GCC internal prototype to avoid an error.
16174 Use char because int might match the return type of a GCC
16175 builtin and then its argument prototype would still apply. */
16176 #ifdef __cplusplus
16177 extern "C"
16178 #endif
16179 char procstat_open_sysctl ();
16181 main ()
16183 return procstat_open_sysctl ();
16185 return 0;
16187 _ACEOF
16188 if ac_fn_c_try_link "$LINENO"; then :
16189 ac_cv_lib_procstat_procstat_open_sysctl=yes
16190 else
16191 ac_cv_lib_procstat_procstat_open_sysctl=no
16193 rm -f core conftest.err conftest.$ac_objext \
16194 conftest$ac_exeext conftest.$ac_ext
16195 LIBS=$ac_check_lib_save_LIBS
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16198 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16199 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16201 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16203 PROCSTAT_LIBS="-lprocstat"
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16210 $as_echo_n "checking for -lodbc... " >&6; }
16211 if ${ac_cv_lib_soname_odbc+:} false; then :
16212 $as_echo_n "(cached) " >&6
16213 else
16214 ac_check_soname_save_LIBS=$LIBS
16215 LIBS="-lodbc $LIBS"
16216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16217 /* end confdefs.h. */
16219 /* Override any GCC internal prototype to avoid an error.
16220 Use char because int might match the return type of a GCC
16221 builtin and then its argument prototype would still apply. */
16222 #ifdef __cplusplus
16223 extern "C"
16224 #endif
16225 char SQLConnect ();
16227 main ()
16229 return SQLConnect ();
16231 return 0;
16233 _ACEOF
16234 if ac_fn_c_try_link "$LINENO"; then :
16235 case "$LIBEXT" in
16236 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16237 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'` ;;
16238 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16239 if ${ac_cv_lib_soname_odbc:+false} :; then :
16240 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16241 fi ;;
16242 esac
16243 else
16244 ac_cv_lib_soname_odbc=
16246 rm -f core conftest.err conftest.$ac_objext \
16247 conftest$ac_exeext conftest.$ac_ext
16248 LIBS=$ac_check_soname_save_LIBS
16250 if ${ac_cv_lib_soname_odbc:+false} :; then :
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16252 $as_echo "not found" >&6; }
16253 cat >>confdefs.h <<_ACEOF
16254 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16255 _ACEOF
16257 else
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16259 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16261 cat >>confdefs.h <<_ACEOF
16262 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16263 _ACEOF
16268 if test "x$with_netapi" != "xno"
16269 then
16270 if ${NETAPI_CFLAGS:+false} :; then :
16271 if ${PKG_CONFIG+:} false; then :
16272 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16276 if ${NETAPI_LIBS:+false} :; then :
16277 if ${PKG_CONFIG+:} false; then :
16278 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16283 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16284 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16285 ac_save_CPPFLAGS=$CPPFLAGS
16286 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16288 $as_echo_n "checking for -lnetapi... " >&6; }
16289 if ${ac_cv_lib_soname_netapi+:} false; then :
16290 $as_echo_n "(cached) " >&6
16291 else
16292 ac_check_soname_save_LIBS=$LIBS
16293 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16295 /* end confdefs.h. */
16297 /* Override any GCC internal prototype to avoid an error.
16298 Use char because int might match the return type of a GCC
16299 builtin and then its argument prototype would still apply. */
16300 #ifdef __cplusplus
16301 extern "C"
16302 #endif
16303 char libnetapi_init ();
16305 main ()
16307 return libnetapi_init ();
16309 return 0;
16311 _ACEOF
16312 if ac_fn_c_try_link "$LINENO"; then :
16313 case "$LIBEXT" in
16314 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16315 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'` ;;
16316 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16317 if ${ac_cv_lib_soname_netapi:+false} :; then :
16318 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16319 fi ;;
16320 esac
16321 else
16322 ac_cv_lib_soname_netapi=
16324 rm -f core conftest.err conftest.$ac_objext \
16325 conftest$ac_exeext conftest.$ac_ext
16326 LIBS=$ac_check_soname_save_LIBS
16328 if ${ac_cv_lib_soname_netapi:+false} :; then :
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16330 $as_echo "not found" >&6; }
16331 cat >>confdefs.h <<_ACEOF
16332 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16333 _ACEOF
16335 else
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16337 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16339 cat >>confdefs.h <<_ACEOF
16340 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16341 _ACEOF
16345 CPPFLAGS=$ac_save_CPPFLAGS
16346 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16347 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16351 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16352 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16353 then
16354 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16357 if test "x$with_vulkan" != "xno"
16358 then
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16360 $as_echo_n "checking for -lvulkan... " >&6; }
16361 if ${ac_cv_lib_soname_vulkan+:} false; then :
16362 $as_echo_n "(cached) " >&6
16363 else
16364 ac_check_soname_save_LIBS=$LIBS
16365 LIBS="-lvulkan $LIBS"
16366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16367 /* end confdefs.h. */
16369 /* Override any GCC internal prototype to avoid an error.
16370 Use char because int might match the return type of a GCC
16371 builtin and then its argument prototype would still apply. */
16372 #ifdef __cplusplus
16373 extern "C"
16374 #endif
16375 char vkGetInstanceProcAddr ();
16377 main ()
16379 return vkGetInstanceProcAddr ();
16381 return 0;
16383 _ACEOF
16384 if ac_fn_c_try_link "$LINENO"; then :
16385 case "$LIBEXT" in
16386 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16387 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'` ;;
16388 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16389 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16390 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16391 fi ;;
16392 esac
16393 else
16394 ac_cv_lib_soname_vulkan=
16396 rm -f core conftest.err conftest.$ac_objext \
16397 conftest$ac_exeext conftest.$ac_ext
16398 LIBS=$ac_check_soname_save_LIBS
16400 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16402 $as_echo "not found" >&6; }
16404 else
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16406 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16408 cat >>confdefs.h <<_ACEOF
16409 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16410 _ACEOF
16414 if test "x$ac_cv_lib_soname_vulkan" = "x"
16415 then
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16417 $as_echo_n "checking for -lMoltenVK... " >&6; }
16418 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16419 $as_echo_n "(cached) " >&6
16420 else
16421 ac_check_soname_save_LIBS=$LIBS
16422 LIBS="-lMoltenVK $LIBS"
16423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16424 /* end confdefs.h. */
16426 /* Override any GCC internal prototype to avoid an error.
16427 Use char because int might match the return type of a GCC
16428 builtin and then its argument prototype would still apply. */
16429 #ifdef __cplusplus
16430 extern "C"
16431 #endif
16432 char vkGetInstanceProcAddr ();
16434 main ()
16436 return vkGetInstanceProcAddr ();
16438 return 0;
16440 _ACEOF
16441 if ac_fn_c_try_link "$LINENO"; then :
16442 case "$LIBEXT" in
16443 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16444 dylib) ac_cv_lib_soname_MoltenVK=`$OTOOL -L conftest$ac_exeext | grep "libMoltenVK\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libMoltenVK\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16445 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16446 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16447 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16448 fi ;;
16449 esac
16450 else
16451 ac_cv_lib_soname_MoltenVK=
16453 rm -f core conftest.err conftest.$ac_objext \
16454 conftest$ac_exeext conftest.$ac_ext
16455 LIBS=$ac_check_soname_save_LIBS
16457 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16459 $as_echo "not found" >&6; }
16461 else
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16463 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16465 cat >>confdefs.h <<_ACEOF
16466 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16467 _ACEOF
16473 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16474 case "x$with_vulkan" in
16475 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16476 xno) ;;
16477 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16478 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16479 esac
16483 if test "x$with_vkd3d" != "xno"
16484 then
16485 if ${VKD3D_CFLAGS:+false} :; then :
16486 if ${PKG_CONFIG+:} false; then :
16487 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16491 if ${VKD3D_LIBS:+false} :; then :
16492 if ${PKG_CONFIG+:} false; then :
16493 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16498 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16499 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16500 ac_save_CPPFLAGS=$CPPFLAGS
16501 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16503 $as_echo_n "checking for -lvkd3d... " >&6; }
16504 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16505 $as_echo_n "(cached) " >&6
16506 else
16507 ac_check_soname_save_LIBS=$LIBS
16508 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16510 /* end confdefs.h. */
16512 /* Override any GCC internal prototype to avoid an error.
16513 Use char because int might match the return type of a GCC
16514 builtin and then its argument prototype would still apply. */
16515 #ifdef __cplusplus
16516 extern "C"
16517 #endif
16518 char vkd3d_get_dxgi_format ();
16520 main ()
16522 return vkd3d_get_dxgi_format ();
16524 return 0;
16526 _ACEOF
16527 if ac_fn_c_try_link "$LINENO"; then :
16528 case "$LIBEXT" in
16529 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16530 dylib) ac_cv_lib_soname_vkd3d=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16531 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16532 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16533 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16534 fi ;;
16535 esac
16536 else
16537 ac_cv_lib_soname_vkd3d=
16539 rm -f core conftest.err conftest.$ac_objext \
16540 conftest$ac_exeext conftest.$ac_ext
16541 LIBS=$ac_check_soname_save_LIBS
16543 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16545 $as_echo "not found" >&6; }
16547 else
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16549 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16551 cat >>confdefs.h <<_ACEOF
16552 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16553 _ACEOF
16557 CPPFLAGS=$ac_save_CPPFLAGS
16558 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16559 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16562 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16563 case "x$with_vkd3d" in
16564 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16565 xno) ;;
16566 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16567 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16568 esac
16571 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16574 EXTRACFLAGS=""
16576 if test "x${GCC}" = "xyes"
16577 then
16578 EXTRACFLAGS="-Wall -pipe"
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16581 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16582 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16583 $as_echo_n "(cached) " >&6
16584 else
16585 if test "$cross_compiling" = yes; then :
16586 ac_cv_c_gcc_strength_bug="no"
16587 else
16588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16589 /* end confdefs.h. */
16590 int L[4] = {0,1,2,3};
16592 main ()
16594 static int Array[3];
16595 unsigned int B = 3;
16596 int i;
16597 for(i=0; i<B; i++) Array[i] = i - 3;
16598 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16599 L[i] = 4;
16600 return (Array[1] != -2 || L[2] != 3)
16602 return 0;
16604 _ACEOF
16605 if ac_fn_c_try_run "$LINENO"; then :
16606 ac_cv_c_gcc_strength_bug="no"
16607 else
16608 ac_cv_c_gcc_strength_bug="yes"
16610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16611 conftest.$ac_objext conftest.beam conftest.$ac_ext
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16616 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16617 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16618 then
16619 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16623 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16624 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16625 $as_echo_n "(cached) " >&6
16626 else
16627 ac_wine_try_cflags_saved=$CFLAGS
16628 CFLAGS="$CFLAGS -fno-strict-aliasing"
16629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16630 /* end confdefs.h. */
16631 int main(int argc, char **argv) { return 0; }
16632 _ACEOF
16633 if ac_fn_c_try_link "$LINENO"; then :
16634 ac_cv_cflags__fno_strict_aliasing=yes
16635 else
16636 ac_cv_cflags__fno_strict_aliasing=no
16638 rm -f core conftest.err conftest.$ac_objext \
16639 conftest$ac_exeext conftest.$ac_ext
16640 CFLAGS=$ac_wine_try_cflags_saved
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16643 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16644 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16645 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16648 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16649 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16650 $as_echo_n "(cached) " >&6
16651 else
16652 ac_wine_try_cflags_saved=$CFLAGS
16653 CFLAGS="$CFLAGS -fexcess-precision=standard"
16654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16655 /* end confdefs.h. */
16656 int main(int argc, char **argv) { return 0; }
16657 _ACEOF
16658 if ac_fn_c_try_link "$LINENO"; then :
16659 ac_cv_cflags__fexcess_precision_standard=yes
16660 else
16661 ac_cv_cflags__fexcess_precision_standard=no
16663 rm -f core conftest.err conftest.$ac_objext \
16664 conftest$ac_exeext conftest.$ac_ext
16665 CFLAGS=$ac_wine_try_cflags_saved
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16668 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16669 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16670 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16673 saved_CFLAGS=$CFLAGS
16674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16675 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16676 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16677 $as_echo_n "(cached) " >&6
16678 else
16679 ac_wine_try_cflags_saved=$CFLAGS
16680 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16682 /* end confdefs.h. */
16683 int main(int argc, char **argv) { return 0; }
16684 _ACEOF
16685 if ac_fn_c_try_link "$LINENO"; then :
16686 ac_cv_cflags__Werror_unknown_warning_option=yes
16687 else
16688 ac_cv_cflags__Werror_unknown_warning_option=no
16690 rm -f core conftest.err conftest.$ac_objext \
16691 conftest$ac_exeext conftest.$ac_ext
16692 CFLAGS=$ac_wine_try_cflags_saved
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16695 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16696 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16697 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16700 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16701 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16702 $as_echo_n "(cached) " >&6
16703 else
16704 ac_wine_try_cflags_saved=$CFLAGS
16705 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16707 /* end confdefs.h. */
16708 int main(int argc, char **argv) { return 0; }
16709 _ACEOF
16710 if ac_fn_c_try_link "$LINENO"; then :
16711 ac_cv_cflags__Wdeclaration_after_statement=yes
16712 else
16713 ac_cv_cflags__Wdeclaration_after_statement=no
16715 rm -f core conftest.err conftest.$ac_objext \
16716 conftest$ac_exeext conftest.$ac_ext
16717 CFLAGS=$ac_wine_try_cflags_saved
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16720 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16721 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16722 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16725 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16726 if ${ac_cv_cflags__Wempty_body+:} false; then :
16727 $as_echo_n "(cached) " >&6
16728 else
16729 ac_wine_try_cflags_saved=$CFLAGS
16730 CFLAGS="$CFLAGS -Wempty-body"
16731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16732 /* end confdefs.h. */
16733 int main(int argc, char **argv) { return 0; }
16734 _ACEOF
16735 if ac_fn_c_try_link "$LINENO"; then :
16736 ac_cv_cflags__Wempty_body=yes
16737 else
16738 ac_cv_cflags__Wempty_body=no
16740 rm -f core conftest.err conftest.$ac_objext \
16741 conftest$ac_exeext conftest.$ac_ext
16742 CFLAGS=$ac_wine_try_cflags_saved
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16745 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16746 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16747 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16750 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16751 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16752 $as_echo_n "(cached) " >&6
16753 else
16754 ac_wine_try_cflags_saved=$CFLAGS
16755 CFLAGS="$CFLAGS -Wignored-qualifiers"
16756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16757 /* end confdefs.h. */
16758 int main(int argc, char **argv) { return 0; }
16759 _ACEOF
16760 if ac_fn_c_try_link "$LINENO"; then :
16761 ac_cv_cflags__Wignored_qualifiers=yes
16762 else
16763 ac_cv_cflags__Wignored_qualifiers=no
16765 rm -f core conftest.err conftest.$ac_objext \
16766 conftest$ac_exeext conftest.$ac_ext
16767 CFLAGS=$ac_wine_try_cflags_saved
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
16770 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
16771 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
16772 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
16775 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
16776 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
16777 $as_echo_n "(cached) " >&6
16778 else
16779 ac_wine_try_cflags_saved=$CFLAGS
16780 CFLAGS="$CFLAGS -Wpacked-not-aligned"
16781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16782 /* end confdefs.h. */
16783 int main(int argc, char **argv) { return 0; }
16784 _ACEOF
16785 if ac_fn_c_try_link "$LINENO"; then :
16786 ac_cv_cflags__Wpacked_not_aligned=yes
16787 else
16788 ac_cv_cflags__Wpacked_not_aligned=no
16790 rm -f core conftest.err conftest.$ac_objext \
16791 conftest$ac_exeext conftest.$ac_ext
16792 CFLAGS=$ac_wine_try_cflags_saved
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
16795 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
16796 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
16797 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
16800 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
16801 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
16802 $as_echo_n "(cached) " >&6
16803 else
16804 ac_wine_try_cflags_saved=$CFLAGS
16805 CFLAGS="$CFLAGS -Wpragma-pack"
16806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16807 /* end confdefs.h. */
16808 int main(int argc, char **argv) { return 0; }
16809 _ACEOF
16810 if ac_fn_c_try_link "$LINENO"; then :
16811 ac_cv_cflags__Wpragma_pack=yes
16812 else
16813 ac_cv_cflags__Wpragma_pack=no
16815 rm -f core conftest.err conftest.$ac_objext \
16816 conftest$ac_exeext conftest.$ac_ext
16817 CFLAGS=$ac_wine_try_cflags_saved
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
16820 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
16821 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
16822 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
16825 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
16826 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
16827 $as_echo_n "(cached) " >&6
16828 else
16829 ac_wine_try_cflags_saved=$CFLAGS
16830 CFLAGS="$CFLAGS -Wshift-overflow=2"
16831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16832 /* end confdefs.h. */
16833 int main(int argc, char **argv) { return 0; }
16834 _ACEOF
16835 if ac_fn_c_try_link "$LINENO"; then :
16836 ac_cv_cflags__Wshift_overflow_2=yes
16837 else
16838 ac_cv_cflags__Wshift_overflow_2=no
16840 rm -f core conftest.err conftest.$ac_objext \
16841 conftest$ac_exeext conftest.$ac_ext
16842 CFLAGS=$ac_wine_try_cflags_saved
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
16845 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
16846 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
16847 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
16850 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
16851 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
16852 $as_echo_n "(cached) " >&6
16853 else
16854 ac_wine_try_cflags_saved=$CFLAGS
16855 CFLAGS="$CFLAGS -Wstrict-prototypes"
16856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16857 /* end confdefs.h. */
16858 int main(int argc, char **argv) { return 0; }
16859 _ACEOF
16860 if ac_fn_c_try_link "$LINENO"; then :
16861 ac_cv_cflags__Wstrict_prototypes=yes
16862 else
16863 ac_cv_cflags__Wstrict_prototypes=no
16865 rm -f core conftest.err conftest.$ac_objext \
16866 conftest$ac_exeext conftest.$ac_ext
16867 CFLAGS=$ac_wine_try_cflags_saved
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
16870 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
16871 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
16872 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
16875 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
16876 if ${ac_cv_cflags__Wtype_limits+:} false; then :
16877 $as_echo_n "(cached) " >&6
16878 else
16879 ac_wine_try_cflags_saved=$CFLAGS
16880 CFLAGS="$CFLAGS -Wtype-limits"
16881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16882 /* end confdefs.h. */
16883 int main(int argc, char **argv) { return 0; }
16884 _ACEOF
16885 if ac_fn_c_try_link "$LINENO"; then :
16886 ac_cv_cflags__Wtype_limits=yes
16887 else
16888 ac_cv_cflags__Wtype_limits=no
16890 rm -f core conftest.err conftest.$ac_objext \
16891 conftest$ac_exeext conftest.$ac_ext
16892 CFLAGS=$ac_wine_try_cflags_saved
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16895 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16896 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16897 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16900 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16901 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16902 $as_echo_n "(cached) " >&6
16903 else
16904 ac_wine_try_cflags_saved=$CFLAGS
16905 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16907 /* end confdefs.h. */
16908 int main(int argc, char **argv) { return 0; }
16909 _ACEOF
16910 if ac_fn_c_try_link "$LINENO"; then :
16911 ac_cv_cflags__Wunused_but_set_parameter=yes
16912 else
16913 ac_cv_cflags__Wunused_but_set_parameter=no
16915 rm -f core conftest.err conftest.$ac_objext \
16916 conftest$ac_exeext conftest.$ac_ext
16917 CFLAGS=$ac_wine_try_cflags_saved
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16920 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16921 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16922 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16925 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16926 if ${ac_cv_cflags__Wvla+:} false; then :
16927 $as_echo_n "(cached) " >&6
16928 else
16929 ac_wine_try_cflags_saved=$CFLAGS
16930 CFLAGS="$CFLAGS -Wvla"
16931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16932 /* end confdefs.h. */
16933 int main(int argc, char **argv) { return 0; }
16934 _ACEOF
16935 if ac_fn_c_try_link "$LINENO"; then :
16936 ac_cv_cflags__Wvla=yes
16937 else
16938 ac_cv_cflags__Wvla=no
16940 rm -f core conftest.err conftest.$ac_objext \
16941 conftest$ac_exeext conftest.$ac_ext
16942 CFLAGS=$ac_wine_try_cflags_saved
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16945 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16946 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16947 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16950 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16951 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16952 $as_echo_n "(cached) " >&6
16953 else
16954 ac_wine_try_cflags_saved=$CFLAGS
16955 CFLAGS="$CFLAGS -Wwrite-strings"
16956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16958 int main(int argc, char **argv) { return 0; }
16959 _ACEOF
16960 if ac_fn_c_try_link "$LINENO"; then :
16961 ac_cv_cflags__Wwrite_strings=yes
16962 else
16963 ac_cv_cflags__Wwrite_strings=no
16965 rm -f core conftest.err conftest.$ac_objext \
16966 conftest$ac_exeext conftest.$ac_ext
16967 CFLAGS=$ac_wine_try_cflags_saved
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16970 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16971 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16972 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16976 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16977 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16978 $as_echo_n "(cached) " >&6
16979 else
16980 ac_wine_try_cflags_saved=$CFLAGS
16981 CFLAGS="$CFLAGS -Wpointer-arith"
16982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h. */
16984 int main(int argc, char **argv) { return 0; }
16985 _ACEOF
16986 if ac_fn_c_try_link "$LINENO"; then :
16987 ac_cv_cflags__Wpointer_arith=yes
16988 else
16989 ac_cv_cflags__Wpointer_arith=no
16991 rm -f core conftest.err conftest.$ac_objext \
16992 conftest$ac_exeext conftest.$ac_ext
16993 CFLAGS=$ac_wine_try_cflags_saved
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16996 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16997 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16998 saved_string_h_CFLAGS=$CFLAGS
16999 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17001 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17002 if ${ac_cv_c_string_h_warnings+:} false; then :
17003 $as_echo_n "(cached) " >&6
17004 else
17005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17006 /* end confdefs.h. */
17007 #include <string.h>
17009 main ()
17013 return 0;
17015 _ACEOF
17016 if ac_fn_c_try_compile "$LINENO"; then :
17017 ac_cv_c_string_h_warnings=no
17018 else
17019 ac_cv_c_string_h_warnings=yes
17021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17024 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17025 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17026 CFLAGS=$saved_string_h_CFLAGS
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17030 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17031 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17032 $as_echo_n "(cached) " >&6
17033 else
17034 ac_wine_try_cflags_saved=$CFLAGS
17035 CFLAGS="$CFLAGS -Wlogical-op"
17036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h. */
17038 int main(int argc, char **argv) { return 0; }
17039 _ACEOF
17040 if ac_fn_c_try_link "$LINENO"; then :
17041 ac_cv_cflags__Wlogical_op=yes
17042 else
17043 ac_cv_cflags__Wlogical_op=no
17045 rm -f core conftest.err conftest.$ac_objext \
17046 conftest$ac_exeext conftest.$ac_ext
17047 CFLAGS=$ac_wine_try_cflags_saved
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17050 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17051 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17052 saved_string_h_CFLAGS=$CFLAGS
17053 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17055 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17056 if ${ac_cv_c_logicalop_noisy+:} false; then :
17057 $as_echo_n "(cached) " >&6
17058 else
17059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17060 /* end confdefs.h. */
17061 #include <string.h>
17062 char*f(const char *h,char n) {return strchr(h,n);}
17064 main ()
17068 return 0;
17070 _ACEOF
17071 if ac_fn_c_try_compile "$LINENO"; then :
17072 ac_cv_c_logicalop_noisy=no
17073 else
17074 ac_cv_c_logicalop_noisy=yes
17076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17079 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17080 CFLAGS=$saved_string_h_CFLAGS
17081 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17084 CFLAGS=$saved_CFLAGS
17086 for ac_flag in $CFLAGS; do
17087 case $ac_flag in
17088 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17089 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17090 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17091 $as_echo_n "(cached) " >&6
17092 else
17093 ac_wine_try_cflags_saved=$CFLAGS
17094 CFLAGS="$CFLAGS -gdwarf-2"
17095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17096 /* end confdefs.h. */
17097 int main(int argc, char **argv) { return 0; }
17098 _ACEOF
17099 if ac_fn_c_try_link "$LINENO"; then :
17100 ac_cv_cflags__gdwarf_2=yes
17101 else
17102 ac_cv_cflags__gdwarf_2=no
17104 rm -f core conftest.err conftest.$ac_objext \
17105 conftest$ac_exeext conftest.$ac_ext
17106 CFLAGS=$ac_wine_try_cflags_saved
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17109 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17110 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17111 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17114 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17115 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17116 $as_echo_n "(cached) " >&6
17117 else
17118 ac_wine_try_cflags_saved=$CFLAGS
17119 CFLAGS="$CFLAGS -gstrict-dwarf"
17120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17121 /* end confdefs.h. */
17122 int main(int argc, char **argv) { return 0; }
17123 _ACEOF
17124 if ac_fn_c_try_link "$LINENO"; then :
17125 ac_cv_cflags__gstrict_dwarf=yes
17126 else
17127 ac_cv_cflags__gstrict_dwarf=no
17129 rm -f core conftest.err conftest.$ac_objext \
17130 conftest$ac_exeext conftest.$ac_ext
17131 CFLAGS=$ac_wine_try_cflags_saved
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17134 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17135 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17136 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17137 fi ;;
17138 esac
17139 done
17141 MSVCRTFLAGS=""
17143 case $host_os in
17144 cygwin*|mingw32*) ;;
17145 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17146 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17147 if ${ac_cv_cflags__fno_builtin+:} false; then :
17148 $as_echo_n "(cached) " >&6
17149 else
17150 ac_wine_try_cflags_saved=$CFLAGS
17151 CFLAGS="$CFLAGS -fno-builtin"
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17154 int main(int argc, char **argv) { return 0; }
17155 _ACEOF
17156 if ac_fn_c_try_link "$LINENO"; then :
17157 ac_cv_cflags__fno_builtin=yes
17158 else
17159 ac_cv_cflags__fno_builtin=no
17161 rm -f core conftest.err conftest.$ac_objext \
17162 conftest$ac_exeext conftest.$ac_ext
17163 CFLAGS=$ac_wine_try_cflags_saved
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17166 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17167 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17168 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17171 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17172 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17173 $as_echo_n "(cached) " >&6
17174 else
17175 ac_wine_try_cflags_saved=$CFLAGS
17176 CFLAGS="$CFLAGS -fshort-wchar"
17177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17178 /* end confdefs.h. */
17179 int main(int argc, char **argv) { return 0; }
17180 _ACEOF
17181 if ac_fn_c_try_link "$LINENO"; then :
17182 ac_cv_cflags__fshort_wchar=yes
17183 else
17184 ac_cv_cflags__fshort_wchar=no
17186 rm -f core conftest.err conftest.$ac_objext \
17187 conftest$ac_exeext conftest.$ac_ext
17188 CFLAGS=$ac_wine_try_cflags_saved
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17191 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17192 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17193 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17194 fi ;;
17195 esac
17197 case $host_cpu in
17198 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17199 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17200 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17201 $as_echo_n "(cached) " >&6
17202 else
17203 ac_wine_try_cflags_saved=$CFLAGS
17204 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17207 int main(int argc, char **argv) { return 0; }
17208 _ACEOF
17209 if ac_fn_c_try_link "$LINENO"; then :
17210 ac_cv_cflags__fno_omit_frame_pointer=yes
17211 else
17212 ac_cv_cflags__fno_omit_frame_pointer=no
17214 rm -f core conftest.err conftest.$ac_objext \
17215 conftest$ac_exeext conftest.$ac_ext
17216 CFLAGS=$ac_wine_try_cflags_saved
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17219 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17220 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17221 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17222 fi ;;
17223 esac
17225 case $host in
17226 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17227 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17228 if ${ac_cv_cflags__Wno_format+:} false; then :
17229 $as_echo_n "(cached) " >&6
17230 else
17231 ac_wine_try_cflags_saved=$CFLAGS
17232 CFLAGS="$CFLAGS -Wno-format"
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17235 int main(int argc, char **argv) { return 0; }
17236 _ACEOF
17237 if ac_fn_c_try_link "$LINENO"; then :
17238 ac_cv_cflags__Wno_format=yes
17239 else
17240 ac_cv_cflags__Wno_format=no
17242 rm -f core conftest.err conftest.$ac_objext \
17243 conftest$ac_exeext conftest.$ac_ext
17244 CFLAGS=$ac_wine_try_cflags_saved
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17247 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17248 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17249 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17250 fi ;;
17251 esac
17253 if test "x$enable_maintainer_mode" = "xyes"
17254 then
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17256 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17257 if ${ac_cv_cflags__Werror+:} false; then :
17258 $as_echo_n "(cached) " >&6
17259 else
17260 ac_wine_try_cflags_saved=$CFLAGS
17261 CFLAGS="$CFLAGS -Werror"
17262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17263 /* end confdefs.h. */
17264 int main(int argc, char **argv) { return 0; }
17265 _ACEOF
17266 if ac_fn_c_try_link "$LINENO"; then :
17267 ac_cv_cflags__Werror=yes
17268 else
17269 ac_cv_cflags__Werror=no
17271 rm -f core conftest.err conftest.$ac_objext \
17272 conftest$ac_exeext conftest.$ac_ext
17273 CFLAGS=$ac_wine_try_cflags_saved
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17276 $as_echo "$ac_cv_cflags__Werror" >&6; }
17277 if test "x$ac_cv_cflags__Werror" = xyes; then :
17278 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17285 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17286 if ${ac_cv_c_fortify_enabled+:} false; then :
17287 $as_echo_n "(cached) " >&6
17288 else
17289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17290 /* end confdefs.h. */
17291 #include <string.h>
17293 main ()
17295 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17296 #error Fortify enabled
17297 #endif
17299 return 0;
17301 _ACEOF
17302 if ac_fn_c_try_compile "$LINENO"; then :
17303 ac_cv_c_fortify_enabled=no
17304 else
17305 ac_cv_c_fortify_enabled=yes
17307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17310 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17311 if test "$ac_cv_c_fortify_enabled" = yes
17312 then
17313 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17318 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17319 if ${ac_cv_c_cfi_support+:} false; then :
17320 $as_echo_n "(cached) " >&6
17321 else
17322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17323 /* end confdefs.h. */
17324 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17326 main ()
17330 return 0;
17332 _ACEOF
17333 if ac_fn_c_try_compile "$LINENO"; then :
17334 ac_cv_c_cfi_support="yes"
17335 else
17336 ac_cv_c_cfi_support="no"
17338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17341 $as_echo "$ac_cv_c_cfi_support" >&6; }
17342 if test "$ac_cv_c_cfi_support" = "yes"
17343 then
17344 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17345 else
17346 if test "x$enable_win64" = "xyes"
17347 then
17348 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17353 case $build_os in
17354 cygwin*|mingw32*) TOOLSEXT=".exe"
17356 esac
17358 case $host_os in
17359 linux*)
17360 case $host_cpu in
17361 *i[3456789]86*|x86_64*|*aarch64*)
17362 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17363 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17365 esac
17367 esac
17370 ac_save_CFLAGS="$CFLAGS"
17371 CFLAGS="$CFLAGS $BUILTINFLAG"
17372 for ac_func in \
17373 __res_get_state \
17374 __res_getservers \
17375 _spawnvp \
17376 dlopen \
17377 epoll_create \
17378 ffs \
17379 finitef \
17380 fnmatch \
17381 fork \
17382 fpclass \
17383 fstatfs \
17384 fstatvfs \
17385 futimens \
17386 futimes \
17387 futimesat \
17388 getattrlist \
17389 getauxval \
17390 getifaddrs \
17391 getopt_long_only \
17392 kqueue \
17393 lstat \
17394 pipe2 \
17395 poll \
17396 port_create \
17397 prctl \
17398 pread \
17399 proc_pidinfo \
17400 pwrite \
17401 readdir \
17402 readlink \
17403 sched_yield \
17404 select \
17405 setproctitle \
17406 setprogname \
17407 settimeofday \
17408 sigprocmask \
17409 statfs \
17410 statvfs \
17411 strnlen \
17412 strtold \
17413 symlink \
17414 sysinfo \
17415 tcdrain \
17416 thr_kill2 \
17417 timegm \
17418 usleep
17420 do :
17421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17422 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17423 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17424 cat >>confdefs.h <<_ACEOF
17425 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17426 _ACEOF
17429 done
17431 CFLAGS="$ac_save_CFLAGS"
17433 if test "$ac_cv_func_dlopen" = no
17434 then
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17436 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17437 if ${ac_cv_lib_dl_dlopen+:} false; then :
17438 $as_echo_n "(cached) " >&6
17439 else
17440 ac_check_lib_save_LIBS=$LIBS
17441 LIBS="-ldl $LIBS"
17442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17443 /* end confdefs.h. */
17445 /* Override any GCC internal prototype to avoid an error.
17446 Use char because int might match the return type of a GCC
17447 builtin and then its argument prototype would still apply. */
17448 #ifdef __cplusplus
17449 extern "C"
17450 #endif
17451 char dlopen ();
17453 main ()
17455 return dlopen ();
17457 return 0;
17459 _ACEOF
17460 if ac_fn_c_try_link "$LINENO"; then :
17461 ac_cv_lib_dl_dlopen=yes
17462 else
17463 ac_cv_lib_dl_dlopen=no
17465 rm -f core conftest.err conftest.$ac_objext \
17466 conftest$ac_exeext conftest.$ac_ext
17467 LIBS=$ac_check_lib_save_LIBS
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17470 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17471 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17472 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17473 DL_LIBS="-ldl"
17478 ac_wine_check_funcs_save_LIBS="$LIBS"
17479 LIBS="$LIBS $DL_LIBS"
17480 for ac_func in dladdr
17481 do :
17482 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17483 if test "x$ac_cv_func_dladdr" = xyes; then :
17484 cat >>confdefs.h <<_ACEOF
17485 #define HAVE_DLADDR 1
17486 _ACEOF
17489 done
17491 LIBS="$ac_wine_check_funcs_save_LIBS"
17493 if test "$ac_cv_func_poll" = no
17494 then
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17496 $as_echo_n "checking for poll in -lpoll... " >&6; }
17497 if ${ac_cv_lib_poll_poll+:} false; then :
17498 $as_echo_n "(cached) " >&6
17499 else
17500 ac_check_lib_save_LIBS=$LIBS
17501 LIBS="-lpoll $LIBS"
17502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17503 /* end confdefs.h. */
17505 /* Override any GCC internal prototype to avoid an error.
17506 Use char because int might match the return type of a GCC
17507 builtin and then its argument prototype would still apply. */
17508 #ifdef __cplusplus
17509 extern "C"
17510 #endif
17511 char poll ();
17513 main ()
17515 return poll ();
17517 return 0;
17519 _ACEOF
17520 if ac_fn_c_try_link "$LINENO"; then :
17521 ac_cv_lib_poll_poll=yes
17522 else
17523 ac_cv_lib_poll_poll=no
17525 rm -f core conftest.err conftest.$ac_objext \
17526 conftest$ac_exeext conftest.$ac_ext
17527 LIBS=$ac_check_lib_save_LIBS
17529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17530 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17531 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17532 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17533 POLL_LIBS="-lpoll"
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17540 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17541 if ${ac_cv_search_gethostbyname+:} false; then :
17542 $as_echo_n "(cached) " >&6
17543 else
17544 ac_func_search_save_LIBS=$LIBS
17545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17546 /* end confdefs.h. */
17548 /* Override any GCC internal prototype to avoid an error.
17549 Use char because int might match the return type of a GCC
17550 builtin and then its argument prototype would still apply. */
17551 #ifdef __cplusplus
17552 extern "C"
17553 #endif
17554 char gethostbyname ();
17556 main ()
17558 return gethostbyname ();
17560 return 0;
17562 _ACEOF
17563 for ac_lib in '' nsl; do
17564 if test -z "$ac_lib"; then
17565 ac_res="none required"
17566 else
17567 ac_res=-l$ac_lib
17568 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17570 if ac_fn_c_try_link "$LINENO"; then :
17571 ac_cv_search_gethostbyname=$ac_res
17573 rm -f core conftest.err conftest.$ac_objext \
17574 conftest$ac_exeext
17575 if ${ac_cv_search_gethostbyname+:} false; then :
17576 break
17578 done
17579 if ${ac_cv_search_gethostbyname+:} false; then :
17581 else
17582 ac_cv_search_gethostbyname=no
17584 rm conftest.$ac_ext
17585 LIBS=$ac_func_search_save_LIBS
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17588 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17589 ac_res=$ac_cv_search_gethostbyname
17590 if test "$ac_res" != no; then :
17591 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17597 $as_echo_n "checking for library containing connect... " >&6; }
17598 if ${ac_cv_search_connect+:} false; then :
17599 $as_echo_n "(cached) " >&6
17600 else
17601 ac_func_search_save_LIBS=$LIBS
17602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17603 /* end confdefs.h. */
17605 /* Override any GCC internal prototype to avoid an error.
17606 Use char because int might match the return type of a GCC
17607 builtin and then its argument prototype would still apply. */
17608 #ifdef __cplusplus
17609 extern "C"
17610 #endif
17611 char connect ();
17613 main ()
17615 return connect ();
17617 return 0;
17619 _ACEOF
17620 for ac_lib in '' socket; do
17621 if test -z "$ac_lib"; then
17622 ac_res="none required"
17623 else
17624 ac_res=-l$ac_lib
17625 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17627 if ac_fn_c_try_link "$LINENO"; then :
17628 ac_cv_search_connect=$ac_res
17630 rm -f core conftest.err conftest.$ac_objext \
17631 conftest$ac_exeext
17632 if ${ac_cv_search_connect+:} false; then :
17633 break
17635 done
17636 if ${ac_cv_search_connect+:} false; then :
17638 else
17639 ac_cv_search_connect=no
17641 rm conftest.$ac_ext
17642 LIBS=$ac_func_search_save_LIBS
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17645 $as_echo "$ac_cv_search_connect" >&6; }
17646 ac_res=$ac_cv_search_connect
17647 if test "$ac_res" != no; then :
17648 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17654 $as_echo_n "checking for library containing inet_aton... " >&6; }
17655 if ${ac_cv_search_inet_aton+:} false; then :
17656 $as_echo_n "(cached) " >&6
17657 else
17658 ac_func_search_save_LIBS=$LIBS
17659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17660 /* end confdefs.h. */
17662 /* Override any GCC internal prototype to avoid an error.
17663 Use char because int might match the return type of a GCC
17664 builtin and then its argument prototype would still apply. */
17665 #ifdef __cplusplus
17666 extern "C"
17667 #endif
17668 char inet_aton ();
17670 main ()
17672 return inet_aton ();
17674 return 0;
17676 _ACEOF
17677 for ac_lib in '' resolv; do
17678 if test -z "$ac_lib"; then
17679 ac_res="none required"
17680 else
17681 ac_res=-l$ac_lib
17682 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17684 if ac_fn_c_try_link "$LINENO"; then :
17685 ac_cv_search_inet_aton=$ac_res
17687 rm -f core conftest.err conftest.$ac_objext \
17688 conftest$ac_exeext
17689 if ${ac_cv_search_inet_aton+:} false; then :
17690 break
17692 done
17693 if ${ac_cv_search_inet_aton+:} false; then :
17695 else
17696 ac_cv_search_inet_aton=no
17698 rm conftest.$ac_ext
17699 LIBS=$ac_func_search_save_LIBS
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17702 $as_echo "$ac_cv_search_inet_aton" >&6; }
17703 ac_res=$ac_cv_search_inet_aton
17704 if test "$ac_res" != no; then :
17705 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17710 for ac_func in \
17711 getaddrinfo \
17712 getnameinfo \
17713 getnetbyname \
17714 getprotobyname \
17715 getprotobynumber \
17716 getservbyport \
17717 inet_addr \
17718 inet_network \
17719 inet_ntop \
17720 inet_pton \
17722 do :
17723 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17724 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17725 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17726 cat >>confdefs.h <<_ACEOF
17727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17728 _ACEOF
17731 done
17734 case $host_os in
17735 darwin*|macosx*) ;;
17736 *) ac_save_LIBS=$LIBS
17737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17738 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17739 if ${ac_cv_search_clock_gettime+:} false; then :
17740 $as_echo_n "(cached) " >&6
17741 else
17742 ac_func_search_save_LIBS=$LIBS
17743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17744 /* end confdefs.h. */
17746 /* Override any GCC internal prototype to avoid an error.
17747 Use char because int might match the return type of a GCC
17748 builtin and then its argument prototype would still apply. */
17749 #ifdef __cplusplus
17750 extern "C"
17751 #endif
17752 char clock_gettime ();
17754 main ()
17756 return clock_gettime ();
17758 return 0;
17760 _ACEOF
17761 for ac_lib in '' rt; do
17762 if test -z "$ac_lib"; then
17763 ac_res="none required"
17764 else
17765 ac_res=-l$ac_lib
17766 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17768 if ac_fn_c_try_link "$LINENO"; then :
17769 ac_cv_search_clock_gettime=$ac_res
17771 rm -f core conftest.err conftest.$ac_objext \
17772 conftest$ac_exeext
17773 if ${ac_cv_search_clock_gettime+:} false; then :
17774 break
17776 done
17777 if ${ac_cv_search_clock_gettime+:} false; then :
17779 else
17780 ac_cv_search_clock_gettime=no
17782 rm conftest.$ac_ext
17783 LIBS=$ac_func_search_save_LIBS
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17786 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17787 ac_res=$ac_cv_search_clock_gettime
17788 if test "$ac_res" != no; then :
17789 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17791 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17793 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17797 LIBS=$ac_save_LIBS
17799 esac
17801 if test "x$with_ldap" != "xno"
17802 then
17803 if ${LDAP_CFLAGS:+false} :; then :
17804 if ${PKG_CONFIG+:} false; then :
17805 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17809 if ${LDAP_LIBS:+false} :; then :
17810 if ${PKG_CONFIG+:} false; then :
17811 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17815 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17816 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17817 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17818 ac_save_CPPFLAGS=$CPPFLAGS
17819 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17820 for ac_header in ldap.h lber.h
17821 do :
17822 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17823 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17824 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17825 cat >>confdefs.h <<_ACEOF
17826 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17827 _ACEOF
17831 done
17833 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17834 then
17835 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17837 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17839 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17840 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17841 $as_echo_n "(cached) " >&6
17842 else
17843 ac_check_lib_save_LIBS=$LIBS
17844 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17846 /* end confdefs.h. */
17848 /* Override any GCC internal prototype to avoid an error.
17849 Use char because int might match the return type of a GCC
17850 builtin and then its argument prototype would still apply. */
17851 #ifdef __cplusplus
17852 extern "C"
17853 #endif
17854 char ldap_initialize ();
17856 main ()
17858 return ldap_initialize ();
17860 return 0;
17862 _ACEOF
17863 if ac_fn_c_try_link "$LINENO"; then :
17864 ac_cv_lib_ldap_r_ldap_initialize=yes
17865 else
17866 ac_cv_lib_ldap_r_ldap_initialize=no
17868 rm -f core conftest.err conftest.$ac_objext \
17869 conftest$ac_exeext conftest.$ac_ext
17870 LIBS=$ac_check_lib_save_LIBS
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17873 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17874 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17876 $as_echo_n "checking for ber_init in -llber... " >&6; }
17877 if ${ac_cv_lib_lber_ber_init+:} false; then :
17878 $as_echo_n "(cached) " >&6
17879 else
17880 ac_check_lib_save_LIBS=$LIBS
17881 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17883 /* end confdefs.h. */
17885 /* Override any GCC internal prototype to avoid an error.
17886 Use char because int might match the return type of a GCC
17887 builtin and then its argument prototype would still apply. */
17888 #ifdef __cplusplus
17889 extern "C"
17890 #endif
17891 char ber_init ();
17893 main ()
17895 return ber_init ();
17897 return 0;
17899 _ACEOF
17900 if ac_fn_c_try_link "$LINENO"; then :
17901 ac_cv_lib_lber_ber_init=yes
17902 else
17903 ac_cv_lib_lber_ber_init=no
17905 rm -f core conftest.err conftest.$ac_objext \
17906 conftest$ac_exeext conftest.$ac_ext
17907 LIBS=$ac_check_lib_save_LIBS
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17910 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17911 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17913 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17915 else
17916 LDAP_LIBS=""
17919 else
17920 LDAP_LIBS=""
17923 else
17924 LDAP_LIBS=""
17927 ac_wine_check_funcs_save_LIBS="$LIBS"
17928 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17929 for ac_func in \
17930 ldap_count_references \
17931 ldap_first_reference \
17932 ldap_next_reference \
17933 ldap_parse_reference \
17934 ldap_parse_sort_control \
17935 ldap_parse_sortresponse_control \
17936 ldap_parse_vlv_control \
17937 ldap_parse_vlvresponse_control
17938 do :
17939 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17940 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17941 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17942 cat >>confdefs.h <<_ACEOF
17943 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17944 _ACEOF
17947 done
17949 LIBS="$ac_wine_check_funcs_save_LIBS"
17950 else
17951 LDAP_LIBS=""
17953 CPPFLAGS=$ac_save_CPPFLAGS
17954 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17955 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17958 if test "x$LDAP_LIBS" = "x"; then :
17959 case "x$with_ldap" in
17960 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17961 xno) ;;
17962 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17963 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17964 esac
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17969 $as_echo_n "checking for sched_setaffinity... " >&6; }
17970 if ${wine_cv_have_sched_setaffinity+:} false; then :
17971 $as_echo_n "(cached) " >&6
17972 else
17973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17974 /* end confdefs.h. */
17975 #define _GNU_SOURCE
17976 #include <sched.h>
17978 main ()
17980 sched_setaffinity(0, 0, 0);
17982 return 0;
17984 _ACEOF
17985 if ac_fn_c_try_link "$LINENO"; then :
17986 wine_cv_have_sched_setaffinity=yes
17987 else
17988 wine_cv_have_sched_setaffinity=no
17990 rm -f core conftest.err conftest.$ac_objext \
17991 conftest$ac_exeext conftest.$ac_ext
17993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17994 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17995 if test "$wine_cv_have_sched_setaffinity" = "yes"
17996 then
17998 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18003 $as_echo_n "checking for fallocate... " >&6; }
18004 if ${wine_cv_have_fallocate+:} false; then :
18005 $as_echo_n "(cached) " >&6
18006 else
18007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18008 /* end confdefs.h. */
18009 #define _GNU_SOURCE
18010 #include <fcntl.h>
18012 main ()
18014 fallocate(-1, 0, 0, 0);
18016 return 0;
18018 _ACEOF
18019 if ac_fn_c_try_link "$LINENO"; then :
18020 wine_cv_have_fallocate=yes
18021 else
18022 wine_cv_have_fallocate=no
18024 rm -f core conftest.err conftest.$ac_objext \
18025 conftest$ac_exeext conftest.$ac_ext
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18028 $as_echo "$wine_cv_have_fallocate" >&6; }
18029 if test "$wine_cv_have_fallocate" = "yes"
18030 then
18032 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18038 $as_echo_n "checking for inline... " >&6; }
18039 if ${ac_cv_c_inline+:} false; then :
18040 $as_echo_n "(cached) " >&6
18041 else
18042 ac_cv_c_inline=no
18043 for ac_kw in inline __inline__ __inline; do
18044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18045 /* end confdefs.h. */
18046 #ifndef __cplusplus
18047 typedef int foo_t;
18048 static $ac_kw foo_t static_foo () {return 0; }
18049 $ac_kw foo_t foo () {return 0; }
18050 #endif
18052 _ACEOF
18053 if ac_fn_c_try_compile "$LINENO"; then :
18054 ac_cv_c_inline=$ac_kw
18056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18057 test "$ac_cv_c_inline" != no && break
18058 done
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18062 $as_echo "$ac_cv_c_inline" >&6; }
18064 case $ac_cv_c_inline in
18065 inline | yes) ;;
18067 case $ac_cv_c_inline in
18068 no) ac_val=;;
18069 *) ac_val=$ac_cv_c_inline;;
18070 esac
18071 cat >>confdefs.h <<_ACEOF
18072 #ifndef __cplusplus
18073 #define inline $ac_val
18074 #endif
18075 _ACEOF
18077 esac
18079 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18080 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18082 cat >>confdefs.h <<_ACEOF
18083 #define HAVE_FSBLKCNT_T 1
18084 _ACEOF
18088 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18089 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18091 cat >>confdefs.h <<_ACEOF
18092 #define HAVE_FSFILCNT_T 1
18093 _ACEOF
18098 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18099 #include <signal.h>
18101 if test "x$ac_cv_type_sigset_t" = xyes; then :
18103 cat >>confdefs.h <<_ACEOF
18104 #define HAVE_SIGSET_T 1
18105 _ACEOF
18110 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18112 if test "x$ac_cv_type_request_sense" = xyes; then :
18114 cat >>confdefs.h <<_ACEOF
18115 #define HAVE_REQUEST_SENSE 1
18116 _ACEOF
18122 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18123 #ifdef HAVE_SYS_SOCKET_H
18124 #include <sys/socket.h>
18125 #endif
18126 #ifdef HAVE_SYS_SOCKETVAR_H
18127 #include <sys/socketvar.h>
18128 #endif
18129 #ifdef HAVE_NET_ROUTE_H
18130 #include <net/route.h>
18131 #endif
18132 #ifdef HAVE_NETINET_IN_H
18133 #include <netinet/in.h>
18134 #endif
18135 #ifdef HAVE_NETINET_IN_SYSTM_H
18136 #include <netinet/in_systm.h>
18137 #endif
18138 #ifdef HAVE_NETINET_IP_H
18139 #include <netinet/ip.h>
18140 #endif
18141 #ifdef HAVE_NETINET_IN_PCB_H
18142 #include <netinet/in_pcb.h>
18143 #endif
18145 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18147 cat >>confdefs.h <<_ACEOF
18148 #define HAVE_STRUCT_XINPGEN 1
18149 _ACEOF
18155 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18156 #include <link.h>
18157 #endif
18158 #ifdef HAVE_SYS_LINK_H
18159 #include <sys/link.h>
18160 #endif
18162 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18164 cat >>confdefs.h <<_ACEOF
18165 #define HAVE_STRUCT_R_DEBUG 1
18166 _ACEOF
18170 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18171 #include <link.h>
18172 #endif
18173 #ifdef HAVE_SYS_LINK_H
18174 #include <sys/link.h>
18175 #endif
18177 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18179 cat >>confdefs.h <<_ACEOF
18180 #define HAVE_STRUCT_LINK_MAP 1
18181 _ACEOF
18187 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18188 #include <linux/input.h>
18189 #endif
18191 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18193 cat >>confdefs.h <<_ACEOF
18194 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18195 _ACEOF
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18202 $as_echo_n "checking for if_nameindex... " >&6; }
18203 if ${wine_cv_have_if_nameindex+:} false; then :
18204 $as_echo_n "(cached) " >&6
18205 else
18206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18207 /* end confdefs.h. */
18208 #ifdef HAVE_SYS_TYPES_H
18209 #include <sys/types.h>
18210 #endif
18211 #ifdef HAVE_SYS_SOCKET_H
18212 #include <sys/socket.h>
18213 #endif
18214 #ifdef HAVE_NET_IF_H
18215 # include <net/if.h>
18216 #endif
18218 main ()
18220 struct if_nameindex *p = if_nameindex(); return p->if_index;
18222 return 0;
18224 _ACEOF
18225 if ac_fn_c_try_link "$LINENO"; then :
18226 wine_cv_have_if_nameindex=yes
18227 else
18228 wine_cv_have_if_nameindex=no
18230 rm -f core conftest.err conftest.$ac_objext \
18231 conftest$ac_exeext conftest.$ac_ext
18233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18234 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18235 if test "$wine_cv_have_if_nameindex" = "yes"
18236 then
18238 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18243 $as_echo_n "checking for sigaddset... " >&6; }
18244 if ${wine_cv_have_sigaddset+:} false; then :
18245 $as_echo_n "(cached) " >&6
18246 else
18247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h. */
18249 #include <signal.h>
18251 main ()
18253 sigset_t set; sigaddset(&set,SIGTERM);
18255 return 0;
18257 _ACEOF
18258 if ac_fn_c_try_link "$LINENO"; then :
18259 wine_cv_have_sigaddset=yes
18260 else
18261 wine_cv_have_sigaddset=no
18263 rm -f core conftest.err conftest.$ac_objext \
18264 conftest$ac_exeext conftest.$ac_ext
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18267 $as_echo "$wine_cv_have_sigaddset" >&6; }
18268 if test "$wine_cv_have_sigaddset" = "yes"
18269 then
18271 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18277 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18278 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18279 $as_echo_n "(cached) " >&6
18280 else
18281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18282 /* end confdefs.h. */
18283 #include <netdb.h>
18285 main ()
18288 char *name=0;
18289 struct hostent he;
18290 struct hostent *result;
18291 char *buf=0;
18292 int bufsize=0;
18293 int errnr;
18294 char *addr=0;
18295 int addrlen=0;
18296 int addrtype=0;
18297 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18298 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18301 return 0;
18303 _ACEOF
18304 if ac_fn_c_try_link "$LINENO"; then :
18305 wine_cv_linux_gethostbyname_r_6=yes
18306 else
18307 wine_cv_linux_gethostbyname_r_6=no
18310 rm -f core conftest.err conftest.$ac_objext \
18311 conftest$ac_exeext conftest.$ac_ext
18314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18315 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18316 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18317 then
18319 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18323 if test "$ac_cv_header_linux_joystick_h" = "yes"
18324 then
18325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18326 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18327 if ${wine_cv_linux_joystick_22_api+:} false; then :
18328 $as_echo_n "(cached) " >&6
18329 else
18330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18331 /* end confdefs.h. */
18333 #include <sys/ioctl.h>
18334 #include <sys/types.h>
18335 #include <linux/joystick.h>
18337 struct js_event blub;
18338 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18339 #error "no 2.2 header"
18340 #endif
18343 main ()
18345 /*empty*/
18347 return 0;
18349 _ACEOF
18350 if ac_fn_c_try_compile "$LINENO"; then :
18351 wine_cv_linux_joystick_22_api=yes
18352 else
18353 wine_cv_linux_joystick_22_api=no
18355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18359 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18360 if test "$wine_cv_linux_joystick_22_api" = "yes"
18361 then
18363 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18369 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18370 #ifdef HAVE_SYS_PARAM_H
18371 # include <sys/param.h>
18372 #endif
18373 #ifdef HAVE_SYS_MOUNT_H
18374 # include <sys/mount.h>
18375 #endif
18376 #ifdef HAVE_SYS_VFS_H
18377 # include <sys/vfs.h>
18378 #endif
18379 #ifdef HAVE_SYS_STATFS_H
18380 # include <sys/statfs.h>
18381 #endif
18383 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18385 cat >>confdefs.h <<_ACEOF
18386 #define HAVE_STRUCT_STATFS_F_BFREE 1
18387 _ACEOF
18391 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18392 #ifdef HAVE_SYS_PARAM_H
18393 # include <sys/param.h>
18394 #endif
18395 #ifdef HAVE_SYS_MOUNT_H
18396 # include <sys/mount.h>
18397 #endif
18398 #ifdef HAVE_SYS_VFS_H
18399 # include <sys/vfs.h>
18400 #endif
18401 #ifdef HAVE_SYS_STATFS_H
18402 # include <sys/statfs.h>
18403 #endif
18405 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18407 cat >>confdefs.h <<_ACEOF
18408 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18409 _ACEOF
18413 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18414 #ifdef HAVE_SYS_PARAM_H
18415 # include <sys/param.h>
18416 #endif
18417 #ifdef HAVE_SYS_MOUNT_H
18418 # include <sys/mount.h>
18419 #endif
18420 #ifdef HAVE_SYS_VFS_H
18421 # include <sys/vfs.h>
18422 #endif
18423 #ifdef HAVE_SYS_STATFS_H
18424 # include <sys/statfs.h>
18425 #endif
18427 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18429 cat >>confdefs.h <<_ACEOF
18430 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18431 _ACEOF
18435 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18436 #ifdef HAVE_SYS_PARAM_H
18437 # include <sys/param.h>
18438 #endif
18439 #ifdef HAVE_SYS_MOUNT_H
18440 # include <sys/mount.h>
18441 #endif
18442 #ifdef HAVE_SYS_VFS_H
18443 # include <sys/vfs.h>
18444 #endif
18445 #ifdef HAVE_SYS_STATFS_H
18446 # include <sys/statfs.h>
18447 #endif
18449 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18451 cat >>confdefs.h <<_ACEOF
18452 #define HAVE_STRUCT_STATFS_F_FFREE 1
18453 _ACEOF
18457 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18458 #ifdef HAVE_SYS_PARAM_H
18459 # include <sys/param.h>
18460 #endif
18461 #ifdef HAVE_SYS_MOUNT_H
18462 # include <sys/mount.h>
18463 #endif
18464 #ifdef HAVE_SYS_VFS_H
18465 # include <sys/vfs.h>
18466 #endif
18467 #ifdef HAVE_SYS_STATFS_H
18468 # include <sys/statfs.h>
18469 #endif
18471 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18473 cat >>confdefs.h <<_ACEOF
18474 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18475 _ACEOF
18479 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18480 #ifdef HAVE_SYS_PARAM_H
18481 # include <sys/param.h>
18482 #endif
18483 #ifdef HAVE_SYS_MOUNT_H
18484 # include <sys/mount.h>
18485 #endif
18486 #ifdef HAVE_SYS_VFS_H
18487 # include <sys/vfs.h>
18488 #endif
18489 #ifdef HAVE_SYS_STATFS_H
18490 # include <sys/statfs.h>
18491 #endif
18493 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18495 cat >>confdefs.h <<_ACEOF
18496 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18497 _ACEOF
18503 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18504 #include <sys/statvfs.h>
18505 #endif
18507 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18509 cat >>confdefs.h <<_ACEOF
18510 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18511 _ACEOF
18517 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18518 #include <dirent.h>
18519 #endif
18521 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18523 cat >>confdefs.h <<_ACEOF
18524 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18525 _ACEOF
18531 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18532 #ifdef HAVE_SYS_SOCKET_H
18533 # include <sys/socket.h>
18534 #endif
18535 #ifdef HAVE_SYS_UN_H
18536 # include <sys/un.h>
18537 #endif
18539 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18541 cat >>confdefs.h <<_ACEOF
18542 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18543 _ACEOF
18547 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18548 #ifdef HAVE_SYS_SOCKET_H
18549 # include <sys/socket.h>
18550 #endif
18551 #ifdef HAVE_SYS_UN_H
18552 # include <sys/un.h>
18553 #endif
18555 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18557 cat >>confdefs.h <<_ACEOF
18558 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18559 _ACEOF
18563 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18564 #ifdef HAVE_SYS_SOCKET_H
18565 # include <sys/socket.h>
18566 #endif
18567 #ifdef HAVE_SYS_UN_H
18568 # include <sys/un.h>
18569 #endif
18571 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18573 cat >>confdefs.h <<_ACEOF
18574 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18575 _ACEOF
18581 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18582 #ifdef HAVE_SCSI_SG_H
18583 #include <scsi/sg.h>
18584 #endif
18586 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18588 cat >>confdefs.h <<_ACEOF
18589 #define HAVE_SCSIREQ_T_CMD 1
18590 _ACEOF
18594 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>
18595 #ifdef HAVE_SCSI_SG_H
18596 #include <scsi/sg.h>
18597 #endif
18599 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18601 cat >>confdefs.h <<_ACEOF
18602 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18603 _ACEOF
18609 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18611 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18613 cat >>confdefs.h <<_ACEOF
18614 #define HAVE_SIGINFO_T_SI_FD 1
18615 _ACEOF
18621 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18622 #ifdef HAVE_SYS_MTIO_H
18623 #include <sys/mtio.h>
18624 #endif
18626 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18628 cat >>confdefs.h <<_ACEOF
18629 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18630 _ACEOF
18634 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18635 #ifdef HAVE_SYS_MTIO_H
18636 #include <sys/mtio.h>
18637 #endif
18639 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18641 cat >>confdefs.h <<_ACEOF
18642 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18643 _ACEOF
18647 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18648 #ifdef HAVE_SYS_MTIO_H
18649 #include <sys/mtio.h>
18650 #endif
18652 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18654 cat >>confdefs.h <<_ACEOF
18655 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18656 _ACEOF
18662 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18663 #include <getopt.h>
18664 #endif
18666 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18668 cat >>confdefs.h <<_ACEOF
18669 #define HAVE_STRUCT_OPTION_NAME 1
18670 _ACEOF
18676 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18677 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18679 cat >>confdefs.h <<_ACEOF
18680 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18681 _ACEOF
18685 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18686 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18688 cat >>confdefs.h <<_ACEOF
18689 #define HAVE_STRUCT_STAT_ST_MTIM 1
18690 _ACEOF
18694 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18695 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18697 cat >>confdefs.h <<_ACEOF
18698 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18699 _ACEOF
18703 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18704 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18706 cat >>confdefs.h <<_ACEOF
18707 #define HAVE_STRUCT_STAT_ST_CTIM 1
18708 _ACEOF
18712 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18713 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18715 cat >>confdefs.h <<_ACEOF
18716 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18717 _ACEOF
18721 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18722 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18724 cat >>confdefs.h <<_ACEOF
18725 #define HAVE_STRUCT_STAT_ST_ATIM 1
18726 _ACEOF
18730 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18731 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18733 cat >>confdefs.h <<_ACEOF
18734 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18735 _ACEOF
18739 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18740 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18742 cat >>confdefs.h <<_ACEOF
18743 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18744 _ACEOF
18748 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18749 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18751 cat >>confdefs.h <<_ACEOF
18752 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18753 _ACEOF
18757 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18758 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18760 cat >>confdefs.h <<_ACEOF
18761 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18762 _ACEOF
18766 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18767 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18769 cat >>confdefs.h <<_ACEOF
18770 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18771 _ACEOF
18775 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18776 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18778 cat >>confdefs.h <<_ACEOF
18779 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18780 _ACEOF
18786 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
18787 #include <sys/types.h>
18788 #endif
18789 #ifdef HAVE_NETINET_IN_H
18790 #include <netinet/in.h>
18791 #endif
18793 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18795 cat >>confdefs.h <<_ACEOF
18796 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18797 _ACEOF
18803 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18804 #include <sys/types.h>
18805 #endif
18806 #ifdef HAVE_NETINET_IN_H
18807 #include <netinet/in.h>
18808 #endif
18809 #ifdef HAVE_RESOLV_H
18810 #include <resolv.h>
18811 #endif
18813 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18815 cat >>confdefs.h <<_ACEOF
18816 #define HAVE_STRUCT___RES_STATE 1
18817 _ACEOF
18823 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
18824 #include <resolv.h>
18825 #endif
18827 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18829 cat >>confdefs.h <<_ACEOF
18830 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18831 _ACEOF
18837 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18838 #include <sys/types.h>
18839 #endif
18840 #ifdef HAVE_NETINET_IN_H
18841 # include <netinet/in.h>
18842 #endif
18843 #ifdef HAVE_ARPA_NAMESER_H
18844 # include <arpa/nameser.h>
18845 #endif
18847 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18849 cat >>confdefs.h <<_ACEOF
18850 #define HAVE_NS_MSG__MSG_PTR 1
18851 _ACEOF
18857 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18858 #include <sys/types.h>
18859 #endif
18860 #ifdef HAVE_NETINET_IN_H
18861 #include <netinet/in.h>
18862 #endif
18863 #ifdef HAVE_NETINET_IP_H
18864 #include <netinet/ip.h>
18865 #endif
18866 #ifdef HAVE_NETINET_IP_ICMP_H
18867 #include <netinet/ip_icmp.h>
18868 #endif
18869 #ifdef HAVE_NETINET_ICMP_VAR_H
18870 #include <netinet/icmp_var.h>
18871 #endif
18873 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18875 cat >>confdefs.h <<_ACEOF
18876 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18877 _ACEOF
18883 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18884 #include <sys/types.h>
18885 #endif
18886 #ifdef HAVE_ALIAS_H
18887 #include <alias.h>
18888 #endif
18889 #ifdef HAVE_SYS_SOCKET_H
18890 #include <sys/socket.h>
18891 #endif
18892 #ifdef HAVE_SYS_SOCKETVAR_H
18893 #include <sys/socketvar.h>
18894 #endif
18895 #ifdef HAVE_SYS_TIMEOUT_H
18896 #include <sys/timeout.h>
18897 #endif
18898 #ifdef HAVE_NETINET_IN_H
18899 #include <netinet/in.h>
18900 #endif
18901 #ifdef HAVE_NETINET_IN_SYSTM_H
18902 #include <netinet/in_systm.h>
18903 #endif
18904 #ifdef HAVE_NETINET_IP_H
18905 #include <netinet/ip.h>
18906 #endif
18907 #ifdef HAVE_NETINET_IP_VAR_H
18908 #include <netinet/ip_var.h>
18909 #endif
18910 #ifdef HAVE_NETINET_IP_ICMP_H
18911 #include <netinet/ip_icmp.h>
18912 #endif
18913 #ifdef HAVE_NETINET_ICMP_VAR_H
18914 #include <netinet/icmp_var.h>
18915 #endif
18917 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18919 cat >>confdefs.h <<_ACEOF
18920 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18921 _ACEOF
18927 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18928 #include <sys/types.h>
18929 #endif
18930 #ifdef HAVE_SYS_SOCKETVAR_H
18931 #include <sys/socketvar.h>
18932 #endif
18933 #ifdef HAVE_NETINET_IN_H
18934 #include <netinet/in.h>
18935 #endif
18936 #ifdef HAVE_NETINET_IP_VAR_H
18937 #include <netinet/ip_var.h>
18938 #endif
18940 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18942 cat >>confdefs.h <<_ACEOF
18943 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18944 _ACEOF
18950 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
18951 #include <netinet/ip_var.h>
18952 #endif
18954 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18956 cat >>confdefs.h <<_ACEOF
18957 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18958 _ACEOF
18964 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18965 #include <sys/types.h>
18966 #endif
18967 #ifdef HAVE_SYS_SOCKETVAR_H
18968 #include <sys/socketvar.h>
18969 #endif
18970 #ifdef HAVE_NETINET_IN_H
18971 #include <netinet/in.h>
18972 #endif
18973 #ifdef HAVE_NETINET_TCP_H
18974 #include <netinet/tcp.h>
18975 #endif
18976 #ifdef HAVE_NETINET_TCP_VAR_H
18977 #include <netinet/tcp_var.h>
18978 #endif
18980 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18982 cat >>confdefs.h <<_ACEOF
18983 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18984 _ACEOF
18990 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
18991 #include <netinet/tcp_var.h>
18992 #endif
18994 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18996 cat >>confdefs.h <<_ACEOF
18997 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18998 _ACEOF
19004 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19005 #include <sys/types.h>
19006 #endif
19007 #ifdef HAVE_NETINET_IN_H
19008 #include <netinet/in.h>
19009 #endif
19010 #ifdef HAVE_NETINET_IP_VAR_H
19011 #include <netinet/ip_var.h>
19012 #endif
19013 #ifdef HAVE_NETINET_UDP_H
19014 #include <netinet/udp.h>
19015 #endif
19016 #ifdef HAVE_NETINET_UDP_VAR_H
19017 #include <netinet/udp_var.h>
19018 #endif
19020 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19022 cat >>confdefs.h <<_ACEOF
19023 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19024 _ACEOF
19030 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19031 #include <sys/types.h>
19032 #endif
19033 #ifdef HAVE_NET_IF_H
19034 # include <net/if.h>
19035 #endif
19037 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19039 cat >>confdefs.h <<_ACEOF
19040 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19041 _ACEOF
19047 ac_save_LIBS="$LIBS"
19048 LIBS="$LIBS -lm"
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19050 $as_echo_n "checking for isfinite... " >&6; }
19051 if ${ac_cv_have_isfinite+:} false; then :
19052 $as_echo_n "(cached) " >&6
19053 else
19054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19055 /* end confdefs.h. */
19056 #define _GNU_SOURCE
19057 #include <math.h>
19059 main ()
19061 float f = 0.0; return isfinite(f)
19063 return 0;
19065 _ACEOF
19066 if ac_fn_c_try_link "$LINENO"; then :
19067 ac_cv_have_isfinite="yes"
19068 else
19069 ac_cv_have_isfinite="no"
19071 rm -f core conftest.err conftest.$ac_objext \
19072 conftest$ac_exeext conftest.$ac_ext
19074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19075 $as_echo "$ac_cv_have_isfinite" >&6; }
19076 if test "$ac_cv_have_isfinite" = "yes"
19077 then
19079 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19084 $as_echo_n "checking for isinf... " >&6; }
19085 if ${ac_cv_have_isinf+:} false; then :
19086 $as_echo_n "(cached) " >&6
19087 else
19088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19089 /* end confdefs.h. */
19090 #include <math.h>
19092 main ()
19094 float f = 0.0; return isinf(f)
19096 return 0;
19098 _ACEOF
19099 if ac_fn_c_try_link "$LINENO"; then :
19100 ac_cv_have_isinf="yes"
19101 else
19102 ac_cv_have_isinf="no"
19104 rm -f core conftest.err conftest.$ac_objext \
19105 conftest$ac_exeext conftest.$ac_ext
19107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19108 $as_echo "$ac_cv_have_isinf" >&6; }
19109 if test "$ac_cv_have_isinf" = "yes"
19110 then
19112 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19117 $as_echo_n "checking for isnan... " >&6; }
19118 if ${ac_cv_have_isnan+:} false; then :
19119 $as_echo_n "(cached) " >&6
19120 else
19121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19122 /* end confdefs.h. */
19123 #include <math.h>
19125 main ()
19127 float f = 0.0; return isnan(f)
19129 return 0;
19131 _ACEOF
19132 if ac_fn_c_try_link "$LINENO"; then :
19133 ac_cv_have_isnan="yes"
19134 else
19135 ac_cv_have_isnan="no"
19137 rm -f core conftest.err conftest.$ac_objext \
19138 conftest$ac_exeext conftest.$ac_ext
19140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19141 $as_echo "$ac_cv_have_isnan" >&6; }
19142 if test "$ac_cv_have_isnan" = "yes"
19143 then
19145 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19149 for ac_func in \
19150 acosh \
19151 acoshf \
19152 asinh \
19153 asinhf \
19154 atanh \
19155 atanhf \
19156 cbrt \
19157 cbrtf \
19158 erf \
19159 erfc \
19160 erfcf \
19161 erff \
19162 exp2 \
19163 exp2f \
19164 expm1 \
19165 expm1f \
19166 fma \
19167 fmaf \
19168 ilogb \
19169 ilogbf \
19170 j0 \
19171 j1 \
19172 jn \
19173 lgamma \
19174 lgammaf \
19175 llrint \
19176 llrintf \
19177 llround \
19178 llroundf \
19179 log1p \
19180 log1pf \
19181 log2 \
19182 log2f \
19183 lrint \
19184 lrintf \
19185 lround \
19186 lroundf \
19187 nearbyint \
19188 nearbyintf \
19189 nexttoward \
19190 nexttowardf \
19191 powl \
19192 remainder \
19193 remainderf \
19194 remquo \
19195 remquof \
19196 rint \
19197 rintf \
19198 round \
19199 roundf \
19200 trunc \
19201 truncf \
19202 y0 \
19203 y1 \
19206 do :
19207 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19208 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19209 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19210 cat >>confdefs.h <<_ACEOF
19211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19212 _ACEOF
19215 done
19217 LIBS="$ac_save_LIBS"
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
19220 $as_echo_n "checking for __builtin_clz... " >&6; }
19221 if ${ac_cv_have___builtin_clz+:} false; then :
19222 $as_echo_n "(cached) " >&6
19223 else
19224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19225 /* end confdefs.h. */
19228 main ()
19230 return __builtin_clz(1)
19232 return 0;
19234 _ACEOF
19235 if ac_fn_c_try_link "$LINENO"; then :
19236 ac_cv_have___builtin_clz="yes"
19237 else
19238 ac_cv_have___builtin_clz="no"
19240 rm -f core conftest.err conftest.$ac_objext \
19241 conftest$ac_exeext conftest.$ac_ext
19243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
19244 $as_echo "$ac_cv_have___builtin_clz" >&6; }
19245 if test "$ac_cv_have___builtin_clz" = "yes"
19246 then
19248 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
19252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19253 $as_echo_n "checking for __builtin_popcount... " >&6; }
19254 if ${ac_cv_have___builtin_popcount+:} false; then :
19255 $as_echo_n "(cached) " >&6
19256 else
19257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19258 /* end confdefs.h. */
19261 main ()
19263 return __builtin_popcount(1)
19265 return 0;
19267 _ACEOF
19268 if ac_fn_c_try_link "$LINENO"; then :
19269 ac_cv_have___builtin_popcount="yes"
19270 else
19271 ac_cv_have___builtin_popcount="no"
19273 rm -f core conftest.err conftest.$ac_objext \
19274 conftest$ac_exeext conftest.$ac_ext
19276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19277 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19278 if test "$ac_cv_have___builtin_popcount" = "yes"
19279 then
19281 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19286 $as_echo_n "checking for __clear_cache... " >&6; }
19287 if ${ac_cv_have___clear_cache+:} false; then :
19288 $as_echo_n "(cached) " >&6
19289 else
19290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19291 /* end confdefs.h. */
19294 main ()
19296 __clear_cache((void*)0, (void*)0); return 0;
19298 return 0;
19300 _ACEOF
19301 if ac_fn_c_try_link "$LINENO"; then :
19302 ac_cv_have___clear_cache="yes"
19303 else
19304 ac_cv_have___clear_cache="no"
19306 rm -f core conftest.err conftest.$ac_objext \
19307 conftest$ac_exeext conftest.$ac_ext
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19310 $as_echo "$ac_cv_have___clear_cache" >&6; }
19311 if test "$ac_cv_have___clear_cache" = "yes"
19312 then
19314 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19319 case $host_cpu in
19320 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19321 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19322 if ${ac_cv_cpp_def___i386__+:} false; then :
19323 $as_echo_n "(cached) " >&6
19324 else
19325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19326 /* end confdefs.h. */
19327 #ifndef __i386__
19329 #endif
19330 _ACEOF
19331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19332 $EGREP "yes" >/dev/null 2>&1; then :
19333 ac_cv_cpp_def___i386__=yes
19334 else
19335 ac_cv_cpp_def___i386__=no
19337 rm -f conftest*
19340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19341 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19342 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19343 CFLAGS="$CFLAGS -D__i386__"
19344 LINTFLAGS="$LINTFLAGS -D__i386__"
19345 fi ;;
19346 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19347 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19348 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19349 $as_echo_n "(cached) " >&6
19350 else
19351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19352 /* end confdefs.h. */
19353 #ifndef __x86_64__
19355 #endif
19356 _ACEOF
19357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19358 $EGREP "yes" >/dev/null 2>&1; then :
19359 ac_cv_cpp_def___x86_64__=yes
19360 else
19361 ac_cv_cpp_def___x86_64__=no
19363 rm -f conftest*
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19367 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19368 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19369 CFLAGS="$CFLAGS -D__x86_64__"
19370 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19371 fi ;;
19372 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19373 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19374 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19375 $as_echo_n "(cached) " >&6
19376 else
19377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19378 /* end confdefs.h. */
19379 #ifndef __sparc64__
19381 #endif
19382 _ACEOF
19383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19384 $EGREP "yes" >/dev/null 2>&1; then :
19385 ac_cv_cpp_def___sparc64__=yes
19386 else
19387 ac_cv_cpp_def___sparc64__=no
19389 rm -f conftest*
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19393 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19394 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19395 CFLAGS="$CFLAGS -D__sparc64__"
19396 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19397 fi ;;
19398 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19399 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19400 if ${ac_cv_cpp_def___sparc__+:} false; then :
19401 $as_echo_n "(cached) " >&6
19402 else
19403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19404 /* end confdefs.h. */
19405 #ifndef __sparc__
19407 #endif
19408 _ACEOF
19409 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19410 $EGREP "yes" >/dev/null 2>&1; then :
19411 ac_cv_cpp_def___sparc__=yes
19412 else
19413 ac_cv_cpp_def___sparc__=no
19415 rm -f conftest*
19418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19419 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19420 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19421 CFLAGS="$CFLAGS -D__sparc__"
19422 LINTFLAGS="$LINTFLAGS -D__sparc__"
19423 fi ;;
19424 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19425 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19426 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19427 $as_echo_n "(cached) " >&6
19428 else
19429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19430 /* end confdefs.h. */
19431 #ifndef __powerpc64__
19433 #endif
19434 _ACEOF
19435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19436 $EGREP "yes" >/dev/null 2>&1; then :
19437 ac_cv_cpp_def___powerpc64__=yes
19438 else
19439 ac_cv_cpp_def___powerpc64__=no
19441 rm -f conftest*
19444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19445 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19446 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19447 CFLAGS="$CFLAGS -D__powerpc64__"
19448 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19449 fi ;;
19450 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19451 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19452 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19453 $as_echo_n "(cached) " >&6
19454 else
19455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19456 /* end confdefs.h. */
19457 #ifndef __powerpc__
19459 #endif
19460 _ACEOF
19461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19462 $EGREP "yes" >/dev/null 2>&1; then :
19463 ac_cv_cpp_def___powerpc__=yes
19464 else
19465 ac_cv_cpp_def___powerpc__=no
19467 rm -f conftest*
19470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19471 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19472 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19473 CFLAGS="$CFLAGS -D__powerpc__"
19474 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19475 fi ;;
19476 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19477 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19478 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19479 $as_echo_n "(cached) " >&6
19480 else
19481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19482 /* end confdefs.h. */
19483 #ifndef __aarch64__
19485 #endif
19486 _ACEOF
19487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19488 $EGREP "yes" >/dev/null 2>&1; then :
19489 ac_cv_cpp_def___aarch64__=yes
19490 else
19491 ac_cv_cpp_def___aarch64__=no
19493 rm -f conftest*
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19497 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19498 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19499 CFLAGS="$CFLAGS -D__aarch64__"
19500 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19501 fi ;;
19502 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19503 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19504 if ${ac_cv_cpp_def___arm__+:} false; then :
19505 $as_echo_n "(cached) " >&6
19506 else
19507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19508 /* end confdefs.h. */
19509 #ifndef __arm__
19511 #endif
19512 _ACEOF
19513 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19514 $EGREP "yes" >/dev/null 2>&1; then :
19515 ac_cv_cpp_def___arm__=yes
19516 else
19517 ac_cv_cpp_def___arm__=no
19519 rm -f conftest*
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19523 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19524 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19525 CFLAGS="$CFLAGS -D__arm__"
19526 LINTFLAGS="$LINTFLAGS -D__arm__"
19527 fi ;;
19528 esac
19530 case $host_vendor in
19531 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19532 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19533 if ${ac_cv_cpp_def___sun__+:} false; then :
19534 $as_echo_n "(cached) " >&6
19535 else
19536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19537 /* end confdefs.h. */
19538 #ifndef __sun__
19540 #endif
19541 _ACEOF
19542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19543 $EGREP "yes" >/dev/null 2>&1; then :
19544 ac_cv_cpp_def___sun__=yes
19545 else
19546 ac_cv_cpp_def___sun__=no
19548 rm -f conftest*
19551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19552 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19553 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19554 CFLAGS="$CFLAGS -D__sun__"
19555 LINTFLAGS="$LINTFLAGS -D__sun__"
19556 fi ;;
19557 esac
19563 ac_config_commands="$ac_config_commands include/stamp-h"
19565 $as_echo_n "creating Makefile rules..." >&6
19567 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
19568 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19569 IOKIT_LIBS = $IOKIT_LIBS
19570 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19571 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19572 CORESERVICES_LIBS = $CORESERVICES_LIBS
19573 APPKIT_LIBS = $APPKIT_LIBS
19574 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19575 SECURITY_LIBS = $SECURITY_LIBS
19576 COREAUDIO_LIBS = $COREAUDIO_LIBS
19577 OPENAL_LIBS = $OPENAL_LIBS
19578 OPENCL_LIBS = $OPENCL_LIBS
19579 QUICKTIME_LIBS = $QUICKTIME_LIBS
19580 CARBON_LIBS = $CARBON_LIBS
19581 METAL_LIBS = $METAL_LIBS
19582 PTHREAD_LIBS = $PTHREAD_LIBS
19583 X_CFLAGS = $X_CFLAGS
19584 X_PRE_LIBS = $X_PRE_LIBS
19585 X_LIBS = $X_LIBS
19586 X_EXTRA_LIBS = $X_EXTRA_LIBS
19587 PCAP_LIBS = $PCAP_LIBS
19588 XML2_CFLAGS = $XML2_CFLAGS
19589 XML2_LIBS = $XML2_LIBS
19590 XSLT_CFLAGS = $XSLT_CFLAGS
19591 XSLT_LIBS = $XSLT_LIBS
19592 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19593 INOTIFY_LIBS = $INOTIFY_LIBS
19594 DBUS_CFLAGS = $DBUS_CFLAGS
19595 DBUS_LIBS = $DBUS_LIBS
19596 HAL_CFLAGS = $HAL_CFLAGS
19597 HAL_LIBS = $HAL_LIBS
19598 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19599 GNUTLS_LIBS = $GNUTLS_LIBS
19600 SANE_CFLAGS = $SANE_CFLAGS
19601 SANE_LIBS = $SANE_LIBS
19602 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19603 GPHOTO2_LIBS = $GPHOTO2_LIBS
19604 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19605 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19606 RESOLV_LIBS = $RESOLV_LIBS
19607 LCMS2_CFLAGS = $LCMS2_CFLAGS
19608 LCMS2_LIBS = $LCMS2_LIBS
19609 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19610 FREETYPE_LIBS = $FREETYPE_LIBS
19611 Z_LIBS = $Z_LIBS
19612 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19613 PULSE_CFLAGS = $PULSE_CFLAGS
19614 PULSE_LIBS = $PULSE_LIBS
19615 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19616 GSTREAMER_LIBS = $GSTREAMER_LIBS
19617 ALSA_LIBS = $ALSA_LIBS
19618 OSS4_CFLAGS = $OSS4_CFLAGS
19619 UDEV_CFLAGS = $UDEV_CFLAGS
19620 UDEV_LIBS = $UDEV_LIBS
19621 SDL2_CFLAGS = $SDL2_CFLAGS
19622 SDL2_LIBS = $SDL2_LIBS
19623 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19624 FAUDIO_LIBS = $FAUDIO_LIBS
19625 CAPI20_CFLAGS = $CAPI20_CFLAGS
19626 CAPI20_LIBS = $CAPI20_LIBS
19627 CUPS_CFLAGS = $CUPS_CFLAGS
19628 CUPS_LIBS = $CUPS_LIBS
19629 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19630 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19631 KRB5_CFLAGS = $KRB5_CFLAGS
19632 KRB5_LIBS = $KRB5_LIBS
19633 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19634 GSSAPI_LIBS = $GSSAPI_LIBS
19635 JPEG_CFLAGS = $JPEG_CFLAGS
19636 JPEG_LIBS = $JPEG_LIBS
19637 PNG_CFLAGS = $PNG_CFLAGS
19638 PNG_LIBS = $PNG_LIBS
19639 TIFF_CFLAGS = $TIFF_CFLAGS
19640 TIFF_LIBS = $TIFF_LIBS
19641 MPG123_CFLAGS = $MPG123_CFLAGS
19642 MPG123_LIBS = $MPG123_LIBS
19643 KSTAT_LIBS = $KSTAT_LIBS
19644 PROCSTAT_LIBS = $PROCSTAT_LIBS
19645 NETAPI_CFLAGS = $NETAPI_CFLAGS
19646 NETAPI_LIBS = $NETAPI_LIBS
19647 VKD3D_CFLAGS = $VKD3D_CFLAGS
19648 VKD3D_LIBS = $VKD3D_LIBS
19649 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19650 DL_LIBS = $DL_LIBS
19651 POLL_LIBS = $POLL_LIBS
19652 RT_LIBS = $RT_LIBS
19653 LDAP_CFLAGS = $LDAP_CFLAGS
19654 LDAP_LIBS = $LDAP_LIBS
19659 wine_fn_append_rule "
19660 # Rules automatically generated by configure
19662 .INIT: Makefile
19663 .MAKEFILEDEPS:
19664 all: Makefile
19665 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19666 @./config.status Make.tmp Makefile
19667 depend: \$(MAKEDEP) dummy
19668 \$(MAKEDEP)"
19670 if test "x$enable_fonts" != xno; then
19671 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19672 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19673 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19674 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19675 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19676 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19678 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19679 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19680 ac_config_links="$ac_config_links wine:tools/winewrapper"
19681 wine_fn_config_symlink wine
19682 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19683 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19684 wine_fn_config_symlink wine64
19687 wine_fn_config_makefile dlls/acledit enable_acledit
19688 wine_fn_config_makefile dlls/aclui enable_aclui
19689 wine_fn_config_makefile dlls/activeds enable_activeds
19690 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19691 wine_fn_config_makefile dlls/adsiid enable_adsiid
19692 wine_fn_config_makefile dlls/adsldp enable_adsldp
19693 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19694 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19695 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19696 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19697 wine_fn_config_makefile dlls/advpack enable_advpack
19698 wine_fn_config_makefile dlls/advpack/tests enable_tests
19699 wine_fn_config_makefile dlls/amsi enable_amsi
19700 wine_fn_config_makefile dlls/amstream enable_amstream
19701 wine_fn_config_makefile dlls/amstream/tests enable_tests
19702 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19703 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19704 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19705 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19706 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19707 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19708 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19709 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19710 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19711 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19712 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19713 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19714 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19715 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19716 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19717 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19718 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19719 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19720 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19721 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19722 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19723 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19724 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19725 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19726 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19727 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19728 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19729 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19730 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19731 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19732 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19733 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19734 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19735 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19736 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19737 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19738 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19739 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19740 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19741 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19742 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19743 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19744 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19745 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19746 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19747 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19748 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19749 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19750 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19751 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19752 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19753 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19754 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19755 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19756 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19757 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19758 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19759 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19760 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19761 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19762 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19763 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19764 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19765 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19766 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19767 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19768 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19769 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19770 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19771 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19772 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19773 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19774 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19775 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19776 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19777 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19778 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19779 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19780 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19781 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19782 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19783 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19784 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19785 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19786 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19787 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19788 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19789 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19790 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19791 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19792 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19793 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19794 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19795 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19796 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19797 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19798 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19799 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19800 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19801 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19802 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19803 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19804 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19805 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19806 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19807 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19808 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19809 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19810 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19811 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19812 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19813 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19814 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19815 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19816 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19817 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19818 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19819 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19820 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19821 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19822 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19823 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19824 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19825 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19826 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19827 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19828 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19829 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19830 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19831 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19832 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19833 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19834 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19835 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19836 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19837 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19838 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19839 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19840 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19841 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19842 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19843 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19844 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19845 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19846 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19847 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19848 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19849 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19850 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19851 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19852 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19853 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19854 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19855 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19856 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19857 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19858 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19859 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19860 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19861 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19862 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19863 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19864 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19865 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19866 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19867 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19868 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19869 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19870 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19871 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19872 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19873 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19874 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19875 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19876 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19877 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19878 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19879 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19880 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19881 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19882 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19883 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19884 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19885 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19886 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19887 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19888 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19889 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19890 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19891 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19892 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19893 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19894 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19895 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19896 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19897 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19898 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19899 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19900 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19901 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19902 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19903 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19904 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19905 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19906 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19907 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19908 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19909 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19910 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19911 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19912 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19913 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19914 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19915 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19916 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19917 wine_fn_config_makefile dlls/apphelp enable_apphelp
19918 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19919 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19920 wine_fn_config_makefile dlls/atl enable_atl
19921 wine_fn_config_makefile dlls/atl/tests enable_tests
19922 wine_fn_config_makefile dlls/atl100 enable_atl100
19923 wine_fn_config_makefile dlls/atl100/tests enable_tests
19924 wine_fn_config_makefile dlls/atl110 enable_atl110
19925 wine_fn_config_makefile dlls/atl80 enable_atl80
19926 wine_fn_config_makefile dlls/atl80/tests enable_tests
19927 wine_fn_config_makefile dlls/atl90 enable_atl90
19928 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
19929 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
19930 wine_fn_config_makefile dlls/atmlib enable_atmlib
19931 wine_fn_config_makefile dlls/authz enable_authz
19932 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19933 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19934 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19935 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19936 wine_fn_config_makefile dlls/avrt enable_avrt
19937 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19938 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19939 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19940 wine_fn_config_makefile dlls/browseui enable_browseui
19941 wine_fn_config_makefile dlls/browseui/tests enable_tests
19942 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19943 wine_fn_config_makefile dlls/cabinet enable_cabinet
19944 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19945 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19946 wine_fn_config_makefile dlls/cards enable_cards
19947 wine_fn_config_makefile dlls/cdosys enable_cdosys
19948 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19949 wine_fn_config_makefile dlls/clusapi enable_clusapi
19950 wine_fn_config_makefile dlls/combase enable_combase
19951 wine_fn_config_makefile dlls/combase/tests enable_tests
19952 wine_fn_config_makefile dlls/comcat enable_comcat
19953 wine_fn_config_makefile dlls/comcat/tests enable_tests
19954 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19955 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19956 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19957 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19958 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19959 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19960 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19961 wine_fn_config_makefile dlls/compstui enable_compstui
19962 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19963 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
19964 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19965 wine_fn_config_makefile dlls/connect enable_connect
19966 wine_fn_config_makefile dlls/credui enable_credui
19967 wine_fn_config_makefile dlls/credui/tests enable_tests
19968 wine_fn_config_makefile dlls/crtdll enable_crtdll
19969 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19970 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19971 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19972 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19973 wine_fn_config_makefile dlls/cryptext enable_cryptext
19974 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19975 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19976 wine_fn_config_makefile dlls/cryptui enable_cryptui
19977 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19978 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19979 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19980 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19981 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19982 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19983 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19984 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19985 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19986 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19987 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19988 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19989 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19990 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19991 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19992 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19993 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19994 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19995 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19996 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19997 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19998 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19999 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20000 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20001 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20002 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20003 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20004 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20005 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20006 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20007 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20008 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20009 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20010 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20011 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20012 wine_fn_config_makefile dlls/d3dim enable_d3dim
20013 wine_fn_config_makefile dlls/d3drm enable_d3drm
20014 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20015 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20016 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20017 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20018 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20019 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20020 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20021 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20022 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20023 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20024 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20025 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20026 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20027 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20028 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20029 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20030 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20031 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20032 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20033 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20034 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20035 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20036 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20037 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20038 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20039 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20040 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20041 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20042 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20043 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20044 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20045 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20046 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20047 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20048 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20049 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20050 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20051 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20052 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20053 wine_fn_config_makefile dlls/davclnt enable_davclnt
20054 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20055 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20056 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20057 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20058 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20059 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20060 wine_fn_config_makefile dlls/ddraw enable_ddraw
20061 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20062 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20063 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20064 wine_fn_config_makefile dlls/devenum enable_devenum
20065 wine_fn_config_makefile dlls/devenum/tests enable_tests
20066 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20067 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20068 wine_fn_config_makefile dlls/difxapi enable_difxapi
20069 wine_fn_config_makefile dlls/dinput enable_dinput
20070 wine_fn_config_makefile dlls/dinput/tests enable_tests
20071 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20072 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20073 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20074 wine_fn_config_makefile dlls/dispex enable_dispex
20075 wine_fn_config_makefile dlls/dispex/tests enable_tests
20076 wine_fn_config_makefile dlls/display.drv16 enable_win16
20077 wine_fn_config_makefile dlls/dmband enable_dmband
20078 wine_fn_config_makefile dlls/dmband/tests enable_tests
20079 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20080 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20081 wine_fn_config_makefile dlls/dmime enable_dmime
20082 wine_fn_config_makefile dlls/dmime/tests enable_tests
20083 wine_fn_config_makefile dlls/dmloader enable_dmloader
20084 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20085 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20086 wine_fn_config_makefile dlls/dmscript enable_dmscript
20087 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20088 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20089 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20090 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20091 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20092 wine_fn_config_makefile dlls/dmusic enable_dmusic
20093 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20094 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20095 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20096 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20097 wine_fn_config_makefile dlls/dplay enable_dplay
20098 wine_fn_config_makefile dlls/dplayx enable_dplayx
20099 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20100 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20101 wine_fn_config_makefile dlls/dpnet enable_dpnet
20102 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20103 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20104 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20105 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20106 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20107 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20108 wine_fn_config_makefile dlls/drmclien enable_drmclien
20109 wine_fn_config_makefile dlls/dsound enable_dsound
20110 wine_fn_config_makefile dlls/dsound/tests enable_tests
20111 wine_fn_config_makefile dlls/dsquery enable_dsquery
20112 wine_fn_config_makefile dlls/dssenh enable_dssenh
20113 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20114 wine_fn_config_makefile dlls/dswave enable_dswave
20115 wine_fn_config_makefile dlls/dswave/tests enable_tests
20116 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20117 wine_fn_config_makefile dlls/dwrite enable_dwrite
20118 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20119 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20120 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20121 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20122 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20123 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20124 wine_fn_config_makefile dlls/dxgi enable_dxgi
20125 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20126 wine_fn_config_makefile dlls/dxguid enable_dxguid
20127 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20128 wine_fn_config_makefile dlls/esent enable_esent
20129 wine_fn_config_makefile dlls/evr enable_evr
20130 wine_fn_config_makefile dlls/evr/tests enable_tests
20131 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20132 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20133 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20134 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20135 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20136 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20137 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20138 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20139 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20140 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20141 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20142 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20143 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20144 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20145 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20146 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20147 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20148 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20149 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20150 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20151 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20152 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20153 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20154 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20155 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20156 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20157 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20158 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20159 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20160 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20161 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20162 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20163 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20164 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20165 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20166 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20167 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20168 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20169 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20170 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20171 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20172 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20173 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
20174 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20175 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20176 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20177 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20178 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20179 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20180 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20181 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20182 wine_fn_config_makefile dlls/faultrep enable_faultrep
20183 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20184 wine_fn_config_makefile dlls/feclient enable_feclient
20185 wine_fn_config_makefile dlls/fltlib enable_fltlib
20186 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20187 wine_fn_config_makefile dlls/fntcache enable_fntcache
20188 wine_fn_config_makefile dlls/fontsub enable_fontsub
20189 wine_fn_config_makefile dlls/fusion enable_fusion
20190 wine_fn_config_makefile dlls/fusion/tests enable_tests
20191 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20192 wine_fn_config_makefile dlls/gameux enable_gameux
20193 wine_fn_config_makefile dlls/gameux/tests enable_tests
20194 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20195 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20196 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20197 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20198 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20199 wine_fn_config_makefile dlls/glu32 enable_glu32
20200 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20201 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20202 wine_fn_config_makefile dlls/hal enable_hal
20203 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20204 wine_fn_config_makefile dlls/hid enable_hid
20205 wine_fn_config_makefile dlls/hid/tests enable_tests
20206 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20207 wine_fn_config_makefile dlls/hlink enable_hlink
20208 wine_fn_config_makefile dlls/hlink/tests enable_tests
20209 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20210 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20211 wine_fn_config_makefile dlls/httpapi enable_httpapi
20212 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20213 wine_fn_config_makefile dlls/iccvid enable_iccvid
20214 wine_fn_config_makefile dlls/icmp enable_icmp
20215 wine_fn_config_makefile dlls/ieframe enable_ieframe
20216 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20217 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20218 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20219 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20220 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20221 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20222 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20223 wine_fn_config_makefile dlls/imm32 enable_imm32
20224 wine_fn_config_makefile dlls/imm32/tests enable_tests
20225 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20226 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20227 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20228 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20229 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20230 wine_fn_config_makefile dlls/infosoft enable_infosoft
20231 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20232 wine_fn_config_makefile dlls/initpki enable_initpki
20233 wine_fn_config_makefile dlls/inkobj enable_inkobj
20234 wine_fn_config_makefile dlls/inseng enable_inseng
20235 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20236 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20237 wine_fn_config_makefile dlls/iprop enable_iprop
20238 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20239 wine_fn_config_makefile dlls/itircl enable_itircl
20240 wine_fn_config_makefile dlls/itss enable_itss
20241 wine_fn_config_makefile dlls/itss/tests enable_tests
20242 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20243 wine_fn_config_makefile dlls/jscript enable_jscript
20244 wine_fn_config_makefile dlls/jscript/tests enable_tests
20245 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20246 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20247 wine_fn_config_makefile dlls/kerberos enable_kerberos
20248 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20249 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20250 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20251 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20252 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20253 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20254 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20255 wine_fn_config_makefile dlls/ksuser enable_ksuser
20256 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20257 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20258 wine_fn_config_makefile dlls/loadperf enable_loadperf
20259 wine_fn_config_makefile dlls/localspl enable_localspl
20260 wine_fn_config_makefile dlls/localspl/tests enable_tests
20261 wine_fn_config_makefile dlls/localui enable_localui
20262 wine_fn_config_makefile dlls/localui/tests enable_tests
20263 wine_fn_config_makefile dlls/lz32 enable_lz32
20264 wine_fn_config_makefile dlls/lz32/tests enable_tests
20265 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20266 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20267 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20268 wine_fn_config_makefile dlls/mapistub enable_mapistub
20269 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20270 wine_fn_config_makefile dlls/mcicda enable_mcicda
20271 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20272 wine_fn_config_makefile dlls/mciseq enable_mciseq
20273 wine_fn_config_makefile dlls/mciwave enable_mciwave
20274 wine_fn_config_makefile dlls/mf enable_mf
20275 wine_fn_config_makefile dlls/mf/tests enable_tests
20276 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20277 wine_fn_config_makefile dlls/mferror enable_mferror
20278 wine_fn_config_makefile dlls/mfplat enable_mfplat
20279 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20280 wine_fn_config_makefile dlls/mfplay enable_mfplay
20281 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20282 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20283 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20284 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20285 wine_fn_config_makefile dlls/midimap enable_midimap
20286 wine_fn_config_makefile dlls/mlang enable_mlang
20287 wine_fn_config_makefile dlls/mlang/tests enable_tests
20288 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20289 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20290 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20291 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20292 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20293 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20294 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20295 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20296 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20297 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20298 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20299 wine_fn_config_makefile dlls/mpr enable_mpr
20300 wine_fn_config_makefile dlls/mpr/tests enable_tests
20301 wine_fn_config_makefile dlls/mprapi enable_mprapi
20302 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20303 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20304 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20305 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20306 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20307 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20308 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20309 wine_fn_config_makefile dlls/mscms enable_mscms
20310 wine_fn_config_makefile dlls/mscms/tests enable_tests
20311 wine_fn_config_makefile dlls/mscoree enable_mscoree
20312 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20313 wine_fn_config_makefile dlls/msctf enable_msctf
20314 wine_fn_config_makefile dlls/msctf/tests enable_tests
20315 wine_fn_config_makefile dlls/msctfp enable_msctfp
20316 wine_fn_config_makefile dlls/msdaps enable_msdaps
20317 wine_fn_config_makefile dlls/msdelta enable_msdelta
20318 wine_fn_config_makefile dlls/msdmo enable_msdmo
20319 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20320 wine_fn_config_makefile dlls/msdrm enable_msdrm
20321 wine_fn_config_makefile dlls/msftedit enable_msftedit
20322 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20323 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20324 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20325 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20326 wine_fn_config_makefile dlls/mshtml enable_mshtml
20327 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20328 wine_fn_config_makefile dlls/msi enable_msi
20329 wine_fn_config_makefile dlls/msi/tests enable_tests
20330 wine_fn_config_makefile dlls/msident enable_msident
20331 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20332 wine_fn_config_makefile dlls/msimsg enable_msimsg
20333 wine_fn_config_makefile dlls/msimtf enable_msimtf
20334 wine_fn_config_makefile dlls/msisip enable_msisip
20335 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20336 wine_fn_config_makefile dlls/msls31 enable_msls31
20337 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20338 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20339 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20340 wine_fn_config_makefile dlls/msports enable_msports
20341 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20342 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20343 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20344 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20345 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20346 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20347 wine_fn_config_makefile dlls/mstask enable_mstask
20348 wine_fn_config_makefile dlls/mstask/tests enable_tests
20349 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20350 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20351 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20352 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20353 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20354 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20355 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20356 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20357 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20358 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20359 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20360 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20361 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20362 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20363 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20364 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20365 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20366 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20367 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20368 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20369 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20370 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20371 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20372 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20373 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20374 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20375 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20376 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20377 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20378 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20379 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20380 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20381 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20382 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20383 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20384 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20385 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20386 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20387 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20388 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20389 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20390 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20391 wine_fn_config_makefile dlls/mswsock enable_mswsock
20392 wine_fn_config_makefile dlls/msxml enable_msxml
20393 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20394 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20395 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20396 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20397 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20398 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20399 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20400 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20401 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20402 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20403 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20404 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20405 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20406 wine_fn_config_makefile dlls/netprofm enable_netprofm
20407 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20408 wine_fn_config_makefile dlls/newdev enable_newdev
20409 wine_fn_config_makefile dlls/ninput enable_ninput
20410 wine_fn_config_makefile dlls/ninput/tests enable_tests
20411 wine_fn_config_makefile dlls/normaliz enable_normaliz
20412 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20413 wine_fn_config_makefile dlls/npptools enable_npptools
20414 wine_fn_config_makefile dlls/ntdll enable_ntdll
20415 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20416 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20417 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20418 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20419 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20420 wine_fn_config_makefile dlls/ntprint enable_ntprint
20421 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20422 wine_fn_config_makefile dlls/objsel enable_objsel
20423 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20424 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20425 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20426 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20427 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20428 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20429 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20430 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20431 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20432 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20433 wine_fn_config_makefile dlls/ole32 enable_ole32
20434 wine_fn_config_makefile dlls/ole32/tests enable_tests
20435 wine_fn_config_makefile dlls/oleacc enable_oleacc
20436 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20437 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20438 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20439 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20440 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20441 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20442 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20443 wine_fn_config_makefile dlls/oledlg enable_oledlg
20444 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20445 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20446 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20447 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20448 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20449 wine_fn_config_makefile dlls/opcservices enable_opcservices
20450 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20451 wine_fn_config_makefile dlls/openal32 enable_openal32
20452 wine_fn_config_makefile dlls/opencl enable_opencl
20453 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20454 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20455 wine_fn_config_makefile dlls/packager enable_packager
20456 wine_fn_config_makefile dlls/packager/tests enable_tests
20457 wine_fn_config_makefile dlls/pdh enable_pdh
20458 wine_fn_config_makefile dlls/pdh/tests enable_tests
20459 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20460 wine_fn_config_makefile dlls/pidgen enable_pidgen
20461 wine_fn_config_makefile dlls/powrprof enable_powrprof
20462 wine_fn_config_makefile dlls/printui enable_printui
20463 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20464 wine_fn_config_makefile dlls/propsys enable_propsys
20465 wine_fn_config_makefile dlls/propsys/tests enable_tests
20466 wine_fn_config_makefile dlls/psapi enable_psapi
20467 wine_fn_config_makefile dlls/psapi/tests enable_tests
20468 wine_fn_config_makefile dlls/pstorec enable_pstorec
20469 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20470 wine_fn_config_makefile dlls/qcap enable_qcap
20471 wine_fn_config_makefile dlls/qcap/tests enable_tests
20472 wine_fn_config_makefile dlls/qedit enable_qedit
20473 wine_fn_config_makefile dlls/qedit/tests enable_tests
20474 wine_fn_config_makefile dlls/qmgr enable_qmgr
20475 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20476 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20477 wine_fn_config_makefile dlls/quartz enable_quartz
20478 wine_fn_config_makefile dlls/quartz/tests enable_tests
20479 wine_fn_config_makefile dlls/query enable_query
20480 wine_fn_config_makefile dlls/qwave enable_qwave
20481 wine_fn_config_makefile dlls/qwave/tests enable_tests
20482 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20483 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20484 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20485 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20486 wine_fn_config_makefile dlls/regapi enable_regapi
20487 wine_fn_config_makefile dlls/resutils enable_resutils
20488 wine_fn_config_makefile dlls/riched20 enable_riched20
20489 wine_fn_config_makefile dlls/riched20/tests enable_tests
20490 wine_fn_config_makefile dlls/riched32 enable_riched32
20491 wine_fn_config_makefile dlls/riched32/tests enable_tests
20492 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20493 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20494 wine_fn_config_makefile dlls/rsabase enable_rsabase
20495 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20496 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20497 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20498 wine_fn_config_makefile dlls/rtutils enable_rtutils
20499 wine_fn_config_makefile dlls/samlib enable_samlib
20500 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20501 wine_fn_config_makefile dlls/sapi enable_sapi
20502 wine_fn_config_makefile dlls/sapi/tests enable_tests
20503 wine_fn_config_makefile dlls/sas enable_sas
20504 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20505 wine_fn_config_makefile dlls/sccbase enable_sccbase
20506 wine_fn_config_makefile dlls/schannel enable_schannel
20507 wine_fn_config_makefile dlls/schannel/tests enable_tests
20508 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20509 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20510 wine_fn_config_makefile dlls/scrobj enable_scrobj
20511 wine_fn_config_makefile dlls/scrrun enable_scrrun
20512 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20513 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20514 wine_fn_config_makefile dlls/secur32 enable_secur32
20515 wine_fn_config_makefile dlls/secur32/tests enable_tests
20516 wine_fn_config_makefile dlls/security enable_security
20517 wine_fn_config_makefile dlls/sensapi enable_sensapi
20518 wine_fn_config_makefile dlls/serialui enable_serialui
20519 wine_fn_config_makefile dlls/serialui/tests enable_tests
20520 wine_fn_config_makefile dlls/setupapi enable_setupapi
20521 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20522 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20523 wine_fn_config_makefile dlls/sfc enable_sfc
20524 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20525 wine_fn_config_makefile dlls/shcore enable_shcore
20526 wine_fn_config_makefile dlls/shcore/tests enable_tests
20527 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20528 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20529 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20530 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20531 wine_fn_config_makefile dlls/shell32 enable_shell32
20532 wine_fn_config_makefile dlls/shell32/tests enable_tests
20533 wine_fn_config_makefile dlls/shfolder enable_shfolder
20534 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20535 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20536 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20537 wine_fn_config_makefile dlls/slc enable_slc
20538 wine_fn_config_makefile dlls/slc/tests enable_tests
20539 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20540 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20541 wine_fn_config_makefile dlls/softpub enable_softpub
20542 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20543 wine_fn_config_makefile dlls/spoolss enable_spoolss
20544 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20545 wine_fn_config_makefile dlls/srclient enable_srclient
20546 wine_fn_config_makefile dlls/sspicli enable_sspicli
20547 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20548 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20549 wine_fn_config_makefile dlls/sti enable_sti
20550 wine_fn_config_makefile dlls/sti/tests enable_tests
20551 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20552 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20553 wine_fn_config_makefile dlls/strmbase enable_strmbase
20554 wine_fn_config_makefile dlls/strmdll enable_strmdll
20555 wine_fn_config_makefile dlls/strmiids enable_strmiids
20556 wine_fn_config_makefile dlls/svrapi enable_svrapi
20557 wine_fn_config_makefile dlls/sxs enable_sxs
20558 wine_fn_config_makefile dlls/sxs/tests enable_tests
20559 wine_fn_config_makefile dlls/system.drv16 enable_win16
20560 wine_fn_config_makefile dlls/t2embed enable_t2embed
20561 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20562 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20563 wine_fn_config_makefile dlls/taskschd enable_taskschd
20564 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20565 wine_fn_config_makefile dlls/tdh enable_tdh
20566 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20567 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20568 wine_fn_config_makefile dlls/traffic enable_traffic
20569 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20570 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20571 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20572 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20573 wine_fn_config_makefile dlls/tzres enable_tzres
20574 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20575 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20576 wine_fn_config_makefile dlls/uianimation enable_uianimation
20577 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20578 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20579 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20580 wine_fn_config_makefile dlls/unicows enable_unicows
20581 wine_fn_config_makefile dlls/updspapi enable_updspapi
20582 wine_fn_config_makefile dlls/url enable_url
20583 wine_fn_config_makefile dlls/urlmon enable_urlmon
20584 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20585 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20586 wine_fn_config_makefile dlls/user.exe16 enable_win16
20587 wine_fn_config_makefile dlls/user32 enable_user32
20588 wine_fn_config_makefile dlls/user32/tests enable_tests
20589 wine_fn_config_makefile dlls/userenv enable_userenv
20590 wine_fn_config_makefile dlls/userenv/tests enable_tests
20591 wine_fn_config_makefile dlls/usp10 enable_usp10
20592 wine_fn_config_makefile dlls/usp10/tests enable_tests
20593 wine_fn_config_makefile dlls/uuid enable_uuid
20594 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20595 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20596 wine_fn_config_makefile dlls/vbscript enable_vbscript
20597 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20598 wine_fn_config_makefile dlls/vcomp enable_vcomp
20599 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20600 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20601 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20602 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20603 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20604 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20605 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20606 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20607 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20608 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20609 wine_fn_config_makefile dlls/version enable_version
20610 wine_fn_config_makefile dlls/version/tests enable_tests
20611 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20612 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20613 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20614 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20615 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20616 wine_fn_config_makefile dlls/vssapi enable_vssapi
20617 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20618 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20619 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20620 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20621 wine_fn_config_makefile dlls/w32skrnl enable_win16
20622 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20623 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20624 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20625 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20626 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20627 wine_fn_config_makefile dlls/wdscore enable_wdscore
20628 wine_fn_config_makefile dlls/webservices enable_webservices
20629 wine_fn_config_makefile dlls/webservices/tests enable_tests
20630 wine_fn_config_makefile dlls/wer enable_wer
20631 wine_fn_config_makefile dlls/wer/tests enable_tests
20632 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20633 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20634 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20635 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20636 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20637 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20638 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20639 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20640 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20641 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20642 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20643 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20644 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20645 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20646 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20647 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20648 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20649 wine_fn_config_makefile dlls/wined3d enable_wined3d
20650 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20651 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20652 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20653 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20654 wine_fn_config_makefile dlls/winemapi enable_winemapi
20655 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20656 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20657 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20658 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20659 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20660 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20661 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20662 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20663 wine_fn_config_makefile dlls/wing32 enable_wing32
20664 wine_fn_config_makefile dlls/winhttp enable_winhttp
20665 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20666 wine_fn_config_makefile dlls/wininet enable_wininet
20667 wine_fn_config_makefile dlls/wininet/tests enable_tests
20668 wine_fn_config_makefile dlls/winmm enable_winmm
20669 wine_fn_config_makefile dlls/winmm/tests enable_tests
20670 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20671 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20672 wine_fn_config_makefile dlls/winscard enable_winscard
20673 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20674 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20675 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20676 wine_fn_config_makefile dlls/winsta enable_winsta
20677 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20678 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20679 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20680 wine_fn_config_makefile dlls/wintrust enable_wintrust
20681 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20682 wine_fn_config_makefile dlls/winusb enable_winusb
20683 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20684 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20685 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20686 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20687 wine_fn_config_makefile dlls/wmasf enable_wmasf
20688 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20689 wine_fn_config_makefile dlls/wmi enable_wmi
20690 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20691 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20692 wine_fn_config_makefile dlls/wmp enable_wmp
20693 wine_fn_config_makefile dlls/wmp/tests enable_tests
20694 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20695 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20696 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20697 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20698 wine_fn_config_makefile dlls/wow32 enable_win16
20699 wine_fn_config_makefile dlls/wpc enable_wpc
20700 wine_fn_config_makefile dlls/wpc/tests enable_tests
20701 wine_fn_config_makefile dlls/wpcap enable_wpcap
20702 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20703 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20704 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20705 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20706 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20707 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20708 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20709 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20710 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20711 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20712 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20713 wine_fn_config_makefile dlls/wuapi enable_wuapi
20714 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20715 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20716 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20717 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20718 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20719 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20720 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20721 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20722 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20723 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20724 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20725 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20726 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20727 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20728 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20729 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20730 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20731 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20732 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20733 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20734 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20735 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20736 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20737 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20738 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20739 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20740 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20741 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20742 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20743 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20744 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20745 wine_fn_config_makefile dlls/xmllite enable_xmllite
20746 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20747 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20748 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20749 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20750 wine_fn_config_makefile fonts enable_fonts
20751 wine_fn_config_makefile include enable_include
20752 wine_fn_config_makefile libs/port enable_port
20753 wine_fn_config_makefile libs/wine enable_wine
20754 wine_fn_config_makefile libs/wpp enable_wpp
20755 wine_fn_config_makefile loader enable_loader
20756 wine_fn_config_makefile po enable_po
20757 wine_fn_config_makefile programs/arp enable_arp
20758 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20759 wine_fn_config_makefile programs/attrib enable_attrib
20760 wine_fn_config_makefile programs/cabarc enable_cabarc
20761 wine_fn_config_makefile programs/cacls enable_cacls
20762 wine_fn_config_makefile programs/clock enable_clock
20763 wine_fn_config_makefile programs/cmd enable_cmd
20764 wine_fn_config_makefile programs/cmd/tests enable_tests
20765 wine_fn_config_makefile programs/conhost enable_conhost
20766 wine_fn_config_makefile programs/control enable_control
20767 wine_fn_config_makefile programs/cscript enable_cscript
20768 wine_fn_config_makefile programs/dism enable_dism
20769 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20770 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20771 wine_fn_config_makefile programs/eject enable_eject
20772 wine_fn_config_makefile programs/expand enable_expand
20773 wine_fn_config_makefile programs/explorer enable_explorer
20774 wine_fn_config_makefile programs/extrac32 enable_extrac32
20775 wine_fn_config_makefile programs/fc enable_fc
20776 wine_fn_config_makefile programs/find enable_find
20777 wine_fn_config_makefile programs/findstr enable_findstr
20778 wine_fn_config_makefile programs/fsutil enable_fsutil
20779 wine_fn_config_makefile programs/hh enable_hh
20780 wine_fn_config_makefile programs/hostname enable_hostname
20781 wine_fn_config_makefile programs/icacls enable_icacls
20782 wine_fn_config_makefile programs/icinfo enable_icinfo
20783 wine_fn_config_makefile programs/iexplore enable_iexplore
20784 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20785 wine_fn_config_makefile programs/lodctr enable_lodctr
20786 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20787 wine_fn_config_makefile programs/mshta enable_mshta
20788 wine_fn_config_makefile programs/msidb enable_msidb
20789 wine_fn_config_makefile programs/msiexec enable_msiexec
20790 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20791 wine_fn_config_makefile programs/net enable_net
20792 wine_fn_config_makefile programs/netsh enable_netsh
20793 wine_fn_config_makefile programs/netstat enable_netstat
20794 wine_fn_config_makefile programs/ngen enable_ngen
20795 wine_fn_config_makefile programs/notepad enable_notepad
20796 wine_fn_config_makefile programs/oleview enable_oleview
20797 wine_fn_config_makefile programs/ping enable_ping
20798 wine_fn_config_makefile programs/plugplay enable_plugplay
20799 wine_fn_config_makefile programs/powershell enable_powershell
20800 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20801 wine_fn_config_makefile programs/progman enable_progman
20802 wine_fn_config_makefile programs/reg enable_reg
20803 wine_fn_config_makefile programs/reg/tests enable_tests
20804 wine_fn_config_makefile programs/regasm enable_regasm
20805 wine_fn_config_makefile programs/regedit enable_regedit
20806 wine_fn_config_makefile programs/regedit/tests enable_tests
20807 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20808 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20809 wine_fn_config_makefile programs/rpcss enable_rpcss
20810 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20811 wine_fn_config_makefile programs/rundll32 enable_rundll32
20812 wine_fn_config_makefile programs/sc enable_sc
20813 wine_fn_config_makefile programs/schtasks enable_schtasks
20814 wine_fn_config_makefile programs/schtasks/tests enable_tests
20815 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20816 wine_fn_config_makefile programs/secedit enable_secedit
20817 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20818 wine_fn_config_makefile programs/services enable_services
20819 wine_fn_config_makefile programs/services/tests enable_tests
20820 wine_fn_config_makefile programs/shutdown enable_shutdown
20821 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20822 wine_fn_config_makefile programs/start enable_start
20823 wine_fn_config_makefile programs/subst enable_subst
20824 wine_fn_config_makefile programs/svchost enable_svchost
20825 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20826 wine_fn_config_makefile programs/taskkill enable_taskkill
20827 wine_fn_config_makefile programs/tasklist enable_tasklist
20828 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20829 wine_fn_config_makefile programs/termsv enable_termsv
20830 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20831 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20832 wine_fn_config_makefile programs/view enable_view
20833 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20834 wine_fn_config_makefile programs/wineboot enable_wineboot
20835 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20836 wine_fn_config_makefile programs/winecfg enable_winecfg
20837 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20838 wine_fn_config_makefile programs/winedbg enable_winedbg
20839 wine_fn_config_makefile programs/winedevice enable_winedevice
20840 wine_fn_config_makefile programs/winefile enable_winefile
20841 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20842 wine_fn_config_makefile programs/winemine enable_winemine
20843 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20844 wine_fn_config_makefile programs/winepath enable_winepath
20845 wine_fn_config_makefile programs/winetest enable_winetest
20846 wine_fn_config_makefile programs/winevdm enable_win16
20847 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20848 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20849 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20850 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20851 wine_fn_config_makefile programs/winver enable_winver
20852 wine_fn_config_makefile programs/wmic enable_wmic
20853 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20854 wine_fn_config_makefile programs/wordpad enable_wordpad
20855 wine_fn_config_makefile programs/write enable_write
20856 wine_fn_config_makefile programs/wscript enable_wscript
20857 wine_fn_config_makefile programs/wscript/tests enable_tests
20858 wine_fn_config_makefile programs/wusa enable_wusa
20859 wine_fn_config_makefile programs/xcopy enable_xcopy
20860 wine_fn_config_makefile programs/xcopy/tests enable_tests
20861 wine_fn_config_makefile server enable_server
20862 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20863 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20864 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20865 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20866 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20867 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20868 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20869 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20870 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20873 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20874 wine_fn_append_file CONFIGURE_TARGETS "tags"
20875 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20876 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20877 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20878 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20879 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20880 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20882 if test "x$enable_tools" != xno
20883 then
20884 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20885 ac_config_commands="$ac_config_commands tools/makedep"
20889 ac_config_commands="$ac_config_commands Makefile"
20892 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20896 if test "x$enable_maintainer_mode" = xyes
20897 then
20898 wine_fn_append_rule "configure: configure.ac aclocal.m4
20899 autoconf --warnings=all
20900 include/config.h.in: include/stamp-h.in
20901 include/stamp-h.in: configure.ac aclocal.m4
20902 autoheader --warnings=all
20903 @echo timestamp > \$@"
20906 if test "x$enable_tools" != xno
20907 then
20908 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20909 @./config.status tools/makedep
20910 Makefile: tools/makedep$ac_exeext
20911 fonts: tools/sfnt2fon
20912 include: tools tools/widl"
20913 else
20914 wine_fn_append_rule "\$(MAKEDEP):
20915 @echo \"You need to run make in $TOOLSDIR first\" && false"
20918 if test -n "$with_wine64"
20919 then
20920 case "$with_wine64" in
20921 /*) reldir="" ;;
20922 *) reldir="../" ;;
20923 esac
20924 rm -f fonts server 2>/dev/null
20925 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20926 loader/wine64 loader/wine64-preloader:
20927 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20928 $with_wine64/loader/wine:
20929 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20930 $with_wine64/loader/wine-preloader:
20931 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20932 clean::
20933 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20934 else
20935 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
20936 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
20937 fonts \
20938 loader/l_intl.nls \
20939 loader/wine.inf \
20940 programs/msidb/msidb \
20941 programs/msiexec/msiexec \
20942 programs/notepad/notepad \
20943 programs/regedit/regedit \
20944 programs/regsvr32/regsvr32 \
20945 programs/wineboot/wineboot \
20946 programs/winecfg/winecfg \
20947 programs/wineconsole/wineconsole \
20948 programs/winedbg/winedbg \
20949 programs/winefile/winefile \
20950 programs/winemine/winemine \
20951 programs/winepath/winepath \
20952 server/wineserver"
20954 case $host_os in
20955 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20956 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
20957 esac
20960 $as_echo " done" >&6
20961 cat >confcache <<\_ACEOF
20962 # This file is a shell script that caches the results of configure
20963 # tests run on this system so they can be shared between configure
20964 # scripts and configure runs, see configure's option --config-cache.
20965 # It is not useful on other systems. If it contains results you don't
20966 # want to keep, you may remove or edit it.
20968 # config.status only pays attention to the cache file if you give it
20969 # the --recheck option to rerun configure.
20971 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20972 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20973 # following values.
20975 _ACEOF
20977 # The following way of writing the cache mishandles newlines in values,
20978 # but we know of no workaround that is simple, portable, and efficient.
20979 # So, we kill variables containing newlines.
20980 # Ultrix sh set writes to stderr and can't be redirected directly,
20981 # and sets the high bit in the cache file unless we assign to the vars.
20983 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20984 eval ac_val=\$$ac_var
20985 case $ac_val in #(
20986 *${as_nl}*)
20987 case $ac_var in #(
20988 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20989 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20990 esac
20991 case $ac_var in #(
20992 _ | IFS | as_nl) ;; #(
20993 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20994 *) { eval $ac_var=; unset $ac_var;} ;;
20995 esac ;;
20996 esac
20997 done
20999 (set) 2>&1 |
21000 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21001 *${as_nl}ac_space=\ *)
21002 # `set' does not quote correctly, so add quotes: double-quote
21003 # substitution turns \\\\ into \\, and sed turns \\ into \.
21004 sed -n \
21005 "s/'/'\\\\''/g;
21006 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21007 ;; #(
21009 # `set' quotes correctly as required by POSIX, so do not add quotes.
21010 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21012 esac |
21013 sort
21015 sed '
21016 /^ac_cv_env_/b end
21017 t clear
21018 :clear
21019 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21020 t end
21021 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21022 :end' >>confcache
21023 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21024 if test -w "$cache_file"; then
21025 if test "x$cache_file" != "x/dev/null"; then
21026 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21027 $as_echo "$as_me: updating cache $cache_file" >&6;}
21028 if test ! -f "$cache_file" || test -h "$cache_file"; then
21029 cat confcache >"$cache_file"
21030 else
21031 case $cache_file in #(
21032 */* | ?:*)
21033 mv -f confcache "$cache_file"$$ &&
21034 mv -f "$cache_file"$$ "$cache_file" ;; #(
21036 mv -f confcache "$cache_file" ;;
21037 esac
21040 else
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21042 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21045 rm -f confcache
21047 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21048 # Let make expand exec_prefix.
21049 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21051 DEFS=-DHAVE_CONFIG_H
21053 ac_libobjs=
21054 ac_ltlibobjs=
21056 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21057 # 1. Remove the extension, and $U if already installed.
21058 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21059 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21060 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21061 # will be set to the directory where LIBOBJS objects are built.
21062 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21063 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21064 done
21065 LIBOBJS=$ac_libobjs
21067 LTLIBOBJS=$ac_ltlibobjs
21071 : "${CONFIG_STATUS=./config.status}"
21072 ac_write_fail=0
21073 ac_clean_files_save=$ac_clean_files
21074 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21075 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21076 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21077 as_write_fail=0
21078 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21079 #! $SHELL
21080 # Generated by $as_me.
21081 # Run this file to recreate the current configuration.
21082 # Compiler output produced by configure, useful for debugging
21083 # configure, is in config.log if it exists.
21085 debug=false
21086 ac_cs_recheck=false
21087 ac_cs_silent=false
21089 SHELL=\${CONFIG_SHELL-$SHELL}
21090 export SHELL
21091 _ASEOF
21092 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21093 ## -------------------- ##
21094 ## M4sh Initialization. ##
21095 ## -------------------- ##
21097 # Be more Bourne compatible
21098 DUALCASE=1; export DUALCASE # for MKS sh
21099 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21100 emulate sh
21101 NULLCMD=:
21102 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21103 # is contrary to our usage. Disable this feature.
21104 alias -g '${1+"$@"}'='"$@"'
21105 setopt NO_GLOB_SUBST
21106 else
21107 case `(set -o) 2>/dev/null` in #(
21108 *posix*) :
21109 set -o posix ;; #(
21110 *) :
21112 esac
21116 as_nl='
21118 export as_nl
21119 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21120 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21121 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21122 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21123 # Prefer a ksh shell builtin over an external printf program on Solaris,
21124 # but without wasting forks for bash or zsh.
21125 if test -z "$BASH_VERSION$ZSH_VERSION" \
21126 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21127 as_echo='print -r --'
21128 as_echo_n='print -rn --'
21129 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21130 as_echo='printf %s\n'
21131 as_echo_n='printf %s'
21132 else
21133 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21134 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21135 as_echo_n='/usr/ucb/echo -n'
21136 else
21137 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21138 as_echo_n_body='eval
21139 arg=$1;
21140 case $arg in #(
21141 *"$as_nl"*)
21142 expr "X$arg" : "X\\(.*\\)$as_nl";
21143 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21144 esac;
21145 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21147 export as_echo_n_body
21148 as_echo_n='sh -c $as_echo_n_body as_echo'
21150 export as_echo_body
21151 as_echo='sh -c $as_echo_body as_echo'
21154 # The user is always right.
21155 if test "${PATH_SEPARATOR+set}" != set; then
21156 PATH_SEPARATOR=:
21157 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21158 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21159 PATH_SEPARATOR=';'
21164 # IFS
21165 # We need space, tab and new line, in precisely that order. Quoting is
21166 # there to prevent editors from complaining about space-tab.
21167 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21168 # splitting by setting IFS to empty value.)
21169 IFS=" "" $as_nl"
21171 # Find who we are. Look in the path if we contain no directory separator.
21172 as_myself=
21173 case $0 in #((
21174 *[\\/]* ) as_myself=$0 ;;
21175 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21176 for as_dir in $PATH
21178 IFS=$as_save_IFS
21179 test -z "$as_dir" && as_dir=.
21180 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21181 done
21182 IFS=$as_save_IFS
21185 esac
21186 # We did not find ourselves, most probably we were run as `sh COMMAND'
21187 # in which case we are not to be found in the path.
21188 if test "x$as_myself" = x; then
21189 as_myself=$0
21191 if test ! -f "$as_myself"; then
21192 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21193 exit 1
21196 # Unset variables that we do not need and which cause bugs (e.g. in
21197 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21198 # suppresses any "Segmentation fault" message there. '((' could
21199 # trigger a bug in pdksh 5.2.14.
21200 for as_var in BASH_ENV ENV MAIL MAILPATH
21201 do eval test x\${$as_var+set} = xset \
21202 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21203 done
21204 PS1='$ '
21205 PS2='> '
21206 PS4='+ '
21208 # NLS nuisances.
21209 LC_ALL=C
21210 export LC_ALL
21211 LANGUAGE=C
21212 export LANGUAGE
21214 # CDPATH.
21215 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21218 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21219 # ----------------------------------------
21220 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21221 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21222 # script with STATUS, using 1 if that was 0.
21223 as_fn_error ()
21225 as_status=$1; test $as_status -eq 0 && as_status=1
21226 if test "$4"; then
21227 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21228 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21230 $as_echo "$as_me: error: $2" >&2
21231 as_fn_exit $as_status
21232 } # as_fn_error
21235 # as_fn_set_status STATUS
21236 # -----------------------
21237 # Set $? to STATUS, without forking.
21238 as_fn_set_status ()
21240 return $1
21241 } # as_fn_set_status
21243 # as_fn_exit STATUS
21244 # -----------------
21245 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21246 as_fn_exit ()
21248 set +e
21249 as_fn_set_status $1
21250 exit $1
21251 } # as_fn_exit
21253 # as_fn_unset VAR
21254 # ---------------
21255 # Portably unset VAR.
21256 as_fn_unset ()
21258 { eval $1=; unset $1;}
21260 as_unset=as_fn_unset
21261 # as_fn_append VAR VALUE
21262 # ----------------------
21263 # Append the text in VALUE to the end of the definition contained in VAR. Take
21264 # advantage of any shell optimizations that allow amortized linear growth over
21265 # repeated appends, instead of the typical quadratic growth present in naive
21266 # implementations.
21267 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21268 eval 'as_fn_append ()
21270 eval $1+=\$2
21272 else
21273 as_fn_append ()
21275 eval $1=\$$1\$2
21277 fi # as_fn_append
21279 # as_fn_arith ARG...
21280 # ------------------
21281 # Perform arithmetic evaluation on the ARGs, and store the result in the
21282 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21283 # must be portable across $(()) and expr.
21284 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21285 eval 'as_fn_arith ()
21287 as_val=$(( $* ))
21289 else
21290 as_fn_arith ()
21292 as_val=`expr "$@" || test $? -eq 1`
21294 fi # as_fn_arith
21297 if expr a : '\(a\)' >/dev/null 2>&1 &&
21298 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21299 as_expr=expr
21300 else
21301 as_expr=false
21304 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21305 as_basename=basename
21306 else
21307 as_basename=false
21310 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21311 as_dirname=dirname
21312 else
21313 as_dirname=false
21316 as_me=`$as_basename -- "$0" ||
21317 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21318 X"$0" : 'X\(//\)$' \| \
21319 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21320 $as_echo X/"$0" |
21321 sed '/^.*\/\([^/][^/]*\)\/*$/{
21322 s//\1/
21325 /^X\/\(\/\/\)$/{
21326 s//\1/
21329 /^X\/\(\/\).*/{
21330 s//\1/
21333 s/.*/./; q'`
21335 # Avoid depending upon Character Ranges.
21336 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21337 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21338 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21339 as_cr_digits='0123456789'
21340 as_cr_alnum=$as_cr_Letters$as_cr_digits
21342 ECHO_C= ECHO_N= ECHO_T=
21343 case `echo -n x` in #(((((
21344 -n*)
21345 case `echo 'xy\c'` in
21346 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21347 xy) ECHO_C='\c';;
21348 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21349 ECHO_T=' ';;
21350 esac;;
21352 ECHO_N='-n';;
21353 esac
21355 rm -f conf$$ conf$$.exe conf$$.file
21356 if test -d conf$$.dir; then
21357 rm -f conf$$.dir/conf$$.file
21358 else
21359 rm -f conf$$.dir
21360 mkdir conf$$.dir 2>/dev/null
21362 if (echo >conf$$.file) 2>/dev/null; then
21363 if ln -s conf$$.file conf$$ 2>/dev/null; then
21364 as_ln_s='ln -s'
21365 # ... but there are two gotchas:
21366 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21367 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21368 # In both cases, we have to default to `cp -pR'.
21369 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21370 as_ln_s='cp -pR'
21371 elif ln conf$$.file conf$$ 2>/dev/null; then
21372 as_ln_s=ln
21373 else
21374 as_ln_s='cp -pR'
21376 else
21377 as_ln_s='cp -pR'
21379 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21380 rmdir conf$$.dir 2>/dev/null
21383 # as_fn_mkdir_p
21384 # -------------
21385 # Create "$as_dir" as a directory, including parents if necessary.
21386 as_fn_mkdir_p ()
21389 case $as_dir in #(
21390 -*) as_dir=./$as_dir;;
21391 esac
21392 test -d "$as_dir" || eval $as_mkdir_p || {
21393 as_dirs=
21394 while :; do
21395 case $as_dir in #(
21396 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21397 *) as_qdir=$as_dir;;
21398 esac
21399 as_dirs="'$as_qdir' $as_dirs"
21400 as_dir=`$as_dirname -- "$as_dir" ||
21401 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21402 X"$as_dir" : 'X\(//\)[^/]' \| \
21403 X"$as_dir" : 'X\(//\)$' \| \
21404 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21405 $as_echo X"$as_dir" |
21406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21407 s//\1/
21410 /^X\(\/\/\)[^/].*/{
21411 s//\1/
21414 /^X\(\/\/\)$/{
21415 s//\1/
21418 /^X\(\/\).*/{
21419 s//\1/
21422 s/.*/./; q'`
21423 test -d "$as_dir" && break
21424 done
21425 test -z "$as_dirs" || eval "mkdir $as_dirs"
21426 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21429 } # as_fn_mkdir_p
21430 if mkdir -p . 2>/dev/null; then
21431 as_mkdir_p='mkdir -p "$as_dir"'
21432 else
21433 test -d ./-p && rmdir ./-p
21434 as_mkdir_p=false
21438 # as_fn_executable_p FILE
21439 # -----------------------
21440 # Test if FILE is an executable regular file.
21441 as_fn_executable_p ()
21443 test -f "$1" && test -x "$1"
21444 } # as_fn_executable_p
21445 as_test_x='test -x'
21446 as_executable_p=as_fn_executable_p
21448 # Sed expression to map a string onto a valid CPP name.
21449 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21451 # Sed expression to map a string onto a valid variable name.
21452 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21455 exec 6>&1
21456 ## ----------------------------------- ##
21457 ## Main body of $CONFIG_STATUS script. ##
21458 ## ----------------------------------- ##
21459 _ASEOF
21460 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21463 # Save the log message, to keep $0 and so on meaningful, and to
21464 # report actual input values of CONFIG_FILES etc. instead of their
21465 # values after options handling.
21466 ac_log="
21467 This file was extended by Wine $as_me 4.8, which was
21468 generated by GNU Autoconf 2.69. Invocation command line was
21470 CONFIG_FILES = $CONFIG_FILES
21471 CONFIG_HEADERS = $CONFIG_HEADERS
21472 CONFIG_LINKS = $CONFIG_LINKS
21473 CONFIG_COMMANDS = $CONFIG_COMMANDS
21474 $ $0 $@
21476 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21479 _ACEOF
21481 case $ac_config_files in *"
21482 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21483 esac
21485 case $ac_config_headers in *"
21486 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21487 esac
21490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21491 # Files that config.status was made for.
21492 config_files="$ac_config_files"
21493 config_headers="$ac_config_headers"
21494 config_links="$ac_config_links"
21495 config_commands="$ac_config_commands"
21497 _ACEOF
21499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21500 ac_cs_usage="\
21501 \`$as_me' instantiates files and other configuration actions
21502 from templates according to the current configuration. Unless the files
21503 and actions are specified as TAGs, all are instantiated by default.
21505 Usage: $0 [OPTION]... [TAG]...
21507 -h, --help print this help, then exit
21508 -V, --version print version number and configuration settings, then exit
21509 --config print configuration, then exit
21510 -q, --quiet, --silent
21511 do not print progress messages
21512 -d, --debug don't remove temporary files
21513 --recheck update $as_me by reconfiguring in the same conditions
21514 --file=FILE[:TEMPLATE]
21515 instantiate the configuration file FILE
21516 --header=FILE[:TEMPLATE]
21517 instantiate the configuration header FILE
21519 Configuration files:
21520 $config_files
21522 Configuration headers:
21523 $config_headers
21525 Configuration links:
21526 $config_links
21528 Configuration commands:
21529 $config_commands
21531 Report bugs to <wine-devel@winehq.org>.
21532 Wine home page: <https://www.winehq.org>."
21534 _ACEOF
21535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21536 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21537 ac_cs_version="\\
21538 Wine config.status 4.8
21539 configured by $0, generated by GNU Autoconf 2.69,
21540 with options \\"\$ac_cs_config\\"
21542 Copyright (C) 2012 Free Software Foundation, Inc.
21543 This config.status script is free software; the Free Software Foundation
21544 gives unlimited permission to copy, distribute and modify it."
21546 ac_pwd='$ac_pwd'
21547 srcdir='$srcdir'
21548 test -n "\$AWK" || AWK=awk
21549 _ACEOF
21551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21552 # The default lists apply if the user does not specify any file.
21553 ac_need_defaults=:
21554 while test $# != 0
21556 case $1 in
21557 --*=?*)
21558 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21559 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21560 ac_shift=:
21562 --*=)
21563 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21564 ac_optarg=
21565 ac_shift=:
21568 ac_option=$1
21569 ac_optarg=$2
21570 ac_shift=shift
21572 esac
21574 case $ac_option in
21575 # Handling of the options.
21576 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21577 ac_cs_recheck=: ;;
21578 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21579 $as_echo "$ac_cs_version"; exit ;;
21580 --config | --confi | --conf | --con | --co | --c )
21581 $as_echo "$ac_cs_config"; exit ;;
21582 --debug | --debu | --deb | --de | --d | -d )
21583 debug=: ;;
21584 --file | --fil | --fi | --f )
21585 $ac_shift
21586 case $ac_optarg in
21587 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21588 '') as_fn_error $? "missing file argument" ;;
21589 esac
21590 as_fn_append CONFIG_FILES " '$ac_optarg'"
21591 ac_need_defaults=false;;
21592 --header | --heade | --head | --hea )
21593 $ac_shift
21594 case $ac_optarg in
21595 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21596 esac
21597 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21598 ac_need_defaults=false;;
21599 --he | --h)
21600 # Conflict between --help and --header
21601 as_fn_error $? "ambiguous option: \`$1'
21602 Try \`$0 --help' for more information.";;
21603 --help | --hel | -h )
21604 $as_echo "$ac_cs_usage"; exit ;;
21605 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21606 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21607 ac_cs_silent=: ;;
21609 # This is an error.
21610 -*) as_fn_error $? "unrecognized option: \`$1'
21611 Try \`$0 --help' for more information." ;;
21613 *) as_fn_append ac_config_targets " $1"
21614 ac_need_defaults=false ;;
21616 esac
21617 shift
21618 done
21620 ac_configure_extra_args=
21622 if $ac_cs_silent; then
21623 exec 6>/dev/null
21624 ac_configure_extra_args="$ac_configure_extra_args --silent"
21627 _ACEOF
21628 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21629 if \$ac_cs_recheck; then
21630 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21631 shift
21632 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21633 CONFIG_SHELL='$SHELL'
21634 export CONFIG_SHELL
21635 exec "\$@"
21638 _ACEOF
21639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21640 exec 5>>config.log
21642 echo
21643 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21644 ## Running $as_me. ##
21645 _ASBOX
21646 $as_echo "$ac_log"
21647 } >&5
21649 _ACEOF
21650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21652 # INIT-COMMANDS
21654 wine_fn_output_makedep ()
21656 as_dir=tools; as_fn_mkdir_p
21657 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21659 wine_fn_output_makefile ()
21661 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21662 `cat $wine_rules_file`
21663 _WINE_EOF
21664 as_fn_error $? "could not create Makefile" "$LINENO" 5
21667 _ACEOF
21669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21671 # Handling of arguments.
21672 for ac_config_target in $ac_config_targets
21674 case $ac_config_target in
21675 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21676 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21677 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21678 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21679 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21680 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21681 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21682 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21683 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21684 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21685 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21686 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21687 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21689 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21690 esac
21691 done
21694 # If the user did not use the arguments to specify the items to instantiate,
21695 # then the envvar interface is used. Set only those that are not.
21696 # We use the long form for the default assignment because of an extremely
21697 # bizarre bug on SunOS 4.1.3.
21698 if $ac_need_defaults; then
21699 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21700 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21701 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21702 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21705 # Have a temporary directory for convenience. Make it in the build tree
21706 # simply because there is no reason against having it here, and in addition,
21707 # creating and moving files from /tmp can sometimes cause problems.
21708 # Hook for its removal unless debugging.
21709 # Note that there is a small window in which the directory will not be cleaned:
21710 # after its creation but before its name has been assigned to `$tmp'.
21711 $debug ||
21713 tmp= ac_tmp=
21714 trap 'exit_status=$?
21715 : "${ac_tmp:=$tmp}"
21716 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21718 trap 'as_fn_exit 1' 1 2 13 15
21720 # Create a (secure) tmp directory for tmp files.
21723 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21724 test -d "$tmp"
21725 } ||
21727 tmp=./conf$$-$RANDOM
21728 (umask 077 && mkdir "$tmp")
21729 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21730 ac_tmp=$tmp
21732 # Set up the scripts for CONFIG_FILES section.
21733 # No need to generate them if there are no CONFIG_FILES.
21734 # This happens for instance with `./config.status config.h'.
21735 if test -n "$CONFIG_FILES"; then
21738 ac_cr=`echo X | tr X '\015'`
21739 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21740 # But we know of no other shell where ac_cr would be empty at this
21741 # point, so we can use a bashism as a fallback.
21742 if test "x$ac_cr" = x; then
21743 eval ac_cr=\$\'\\r\'
21745 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21746 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21747 ac_cs_awk_cr='\\r'
21748 else
21749 ac_cs_awk_cr=$ac_cr
21752 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21753 _ACEOF
21757 echo "cat >conf$$subs.awk <<_ACEOF" &&
21758 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21759 echo "_ACEOF"
21760 } >conf$$subs.sh ||
21761 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21762 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21763 ac_delim='%!_!# '
21764 for ac_last_try in false false false false false :; do
21765 . ./conf$$subs.sh ||
21766 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21768 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21769 if test $ac_delim_n = $ac_delim_num; then
21770 break
21771 elif $ac_last_try; then
21772 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21773 else
21774 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21776 done
21777 rm -f conf$$subs.sh
21779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21780 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21781 _ACEOF
21782 sed -n '
21784 s/^/S["/; s/!.*/"]=/
21787 s/^[^!]*!//
21788 :repl
21789 t repl
21790 s/'"$ac_delim"'$//
21791 t delim
21794 s/\(.\{148\}\)..*/\1/
21795 t more1
21796 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21799 b repl
21800 :more1
21801 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21804 s/.\{148\}//
21805 t nl
21806 :delim
21808 s/\(.\{148\}\)..*/\1/
21809 t more2
21810 s/["\\]/\\&/g; s/^/"/; s/$/"/
21813 :more2
21814 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21817 s/.\{148\}//
21818 t delim
21819 ' <conf$$subs.awk | sed '
21820 /^[^""]/{
21822 s/\n//
21824 ' >>$CONFIG_STATUS || ac_write_fail=1
21825 rm -f conf$$subs.awk
21826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21827 _ACAWK
21828 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21829 for (key in S) S_is_set[key] = 1
21830 FS = "\a"
21834 line = $ 0
21835 nfields = split(line, field, "@")
21836 substed = 0
21837 len = length(field[1])
21838 for (i = 2; i < nfields; i++) {
21839 key = field[i]
21840 keylen = length(key)
21841 if (S_is_set[key]) {
21842 value = S[key]
21843 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21844 len += length(value) + length(field[++i])
21845 substed = 1
21846 } else
21847 len += 1 + keylen
21850 print line
21853 _ACAWK
21854 _ACEOF
21855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21856 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21857 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21858 else
21860 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21861 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21862 _ACEOF
21864 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21865 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21866 # trailing colons and then remove the whole line if VPATH becomes empty
21867 # (actually we leave an empty line to preserve line numbers).
21868 if test "x$srcdir" = x.; then
21869 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21871 s///
21872 s/^/:/
21873 s/[ ]*$/:/
21874 s/:\$(srcdir):/:/g
21875 s/:\${srcdir}:/:/g
21876 s/:@srcdir@:/:/g
21877 s/^:*//
21878 s/:*$//
21880 s/\(=[ ]*\).*/\1/
21882 s/\n//
21883 s/^[^=]*=[ ]*$//
21887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21888 fi # test -n "$CONFIG_FILES"
21890 # Set up the scripts for CONFIG_HEADERS section.
21891 # No need to generate them if there are no CONFIG_HEADERS.
21892 # This happens for instance with `./config.status Makefile'.
21893 if test -n "$CONFIG_HEADERS"; then
21894 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21895 BEGIN {
21896 _ACEOF
21898 # Transform confdefs.h into an awk script `defines.awk', embedded as
21899 # here-document in config.status, that substitutes the proper values into
21900 # config.h.in to produce config.h.
21902 # Create a delimiter string that does not exist in confdefs.h, to ease
21903 # handling of long lines.
21904 ac_delim='%!_!# '
21905 for ac_last_try in false false :; do
21906 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21907 if test -z "$ac_tt"; then
21908 break
21909 elif $ac_last_try; then
21910 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21911 else
21912 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21914 done
21916 # For the awk script, D is an array of macro values keyed by name,
21917 # likewise P contains macro parameters if any. Preserve backslash
21918 # newline sequences.
21920 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21921 sed -n '
21922 s/.\{148\}/&'"$ac_delim"'/g
21923 t rset
21924 :rset
21925 s/^[ ]*#[ ]*define[ ][ ]*/ /
21926 t def
21928 :def
21929 s/\\$//
21930 t bsnl
21931 s/["\\]/\\&/g
21932 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21933 D["\1"]=" \3"/p
21934 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21936 :bsnl
21937 s/["\\]/\\&/g
21938 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21939 D["\1"]=" \3\\\\\\n"\\/p
21940 t cont
21941 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21942 t cont
21944 :cont
21946 s/.\{148\}/&'"$ac_delim"'/g
21947 t clear
21948 :clear
21949 s/\\$//
21950 t bsnlc
21951 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21953 :bsnlc
21954 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21955 b cont
21956 ' <confdefs.h | sed '
21957 s/'"$ac_delim"'/"\\\
21958 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21961 for (key in D) D_is_set[key] = 1
21962 FS = "\a"
21964 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21965 line = \$ 0
21966 split(line, arg, " ")
21967 if (arg[1] == "#") {
21968 defundef = arg[2]
21969 mac1 = arg[3]
21970 } else {
21971 defundef = substr(arg[1], 2)
21972 mac1 = arg[2]
21974 split(mac1, mac2, "(") #)
21975 macro = mac2[1]
21976 prefix = substr(line, 1, index(line, defundef) - 1)
21977 if (D_is_set[macro]) {
21978 # Preserve the white space surrounding the "#".
21979 print prefix "define", macro P[macro] D[macro]
21980 next
21981 } else {
21982 # Replace #undef with comments. This is necessary, for example,
21983 # in the case of _POSIX_SOURCE, which is predefined and required
21984 # on some systems where configure will not decide to define it.
21985 if (defundef == "undef") {
21986 print "/*", prefix defundef, macro, "*/"
21987 next
21991 { print }
21992 _ACAWK
21993 _ACEOF
21994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21995 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21996 fi # test -n "$CONFIG_HEADERS"
21999 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22000 shift
22001 for ac_tag
22003 case $ac_tag in
22004 :[FHLC]) ac_mode=$ac_tag; continue;;
22005 esac
22006 case $ac_mode$ac_tag in
22007 :[FHL]*:*);;
22008 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22009 :[FH]-) ac_tag=-:-;;
22010 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22011 esac
22012 ac_save_IFS=$IFS
22013 IFS=:
22014 set x $ac_tag
22015 IFS=$ac_save_IFS
22016 shift
22017 ac_file=$1
22018 shift
22020 case $ac_mode in
22021 :L) ac_source=$1;;
22022 :[FH])
22023 ac_file_inputs=
22024 for ac_f
22026 case $ac_f in
22027 -) ac_f="$ac_tmp/stdin";;
22028 *) # Look for the file first in the build tree, then in the source tree
22029 # (if the path is not absolute). The absolute path cannot be DOS-style,
22030 # because $ac_f cannot contain `:'.
22031 test -f "$ac_f" ||
22032 case $ac_f in
22033 [\\/$]*) false;;
22034 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22035 esac ||
22036 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22037 esac
22038 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22039 as_fn_append ac_file_inputs " '$ac_f'"
22040 done
22042 # Let's still pretend it is `configure' which instantiates (i.e., don't
22043 # use $as_me), people would be surprised to read:
22044 # /* config.h. Generated by config.status. */
22045 configure_input='Generated from '`
22046 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22047 `' by configure.'
22048 if test x"$ac_file" != x-; then
22049 configure_input="$ac_file. $configure_input"
22050 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22051 $as_echo "$as_me: creating $ac_file" >&6;}
22053 # Neutralize special characters interpreted by sed in replacement strings.
22054 case $configure_input in #(
22055 *\&* | *\|* | *\\* )
22056 ac_sed_conf_input=`$as_echo "$configure_input" |
22057 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22058 *) ac_sed_conf_input=$configure_input;;
22059 esac
22061 case $ac_tag in
22062 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22063 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22064 esac
22066 esac
22068 ac_dir=`$as_dirname -- "$ac_file" ||
22069 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22070 X"$ac_file" : 'X\(//\)[^/]' \| \
22071 X"$ac_file" : 'X\(//\)$' \| \
22072 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22073 $as_echo X"$ac_file" |
22074 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22075 s//\1/
22078 /^X\(\/\/\)[^/].*/{
22079 s//\1/
22082 /^X\(\/\/\)$/{
22083 s//\1/
22086 /^X\(\/\).*/{
22087 s//\1/
22090 s/.*/./; q'`
22091 as_dir="$ac_dir"; as_fn_mkdir_p
22092 ac_builddir=.
22094 case "$ac_dir" in
22095 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22097 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22098 # A ".." for each directory in $ac_dir_suffix.
22099 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22100 case $ac_top_builddir_sub in
22101 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22102 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22103 esac ;;
22104 esac
22105 ac_abs_top_builddir=$ac_pwd
22106 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22107 # for backward compatibility:
22108 ac_top_builddir=$ac_top_build_prefix
22110 case $srcdir in
22111 .) # We are building in place.
22112 ac_srcdir=.
22113 ac_top_srcdir=$ac_top_builddir_sub
22114 ac_abs_top_srcdir=$ac_pwd ;;
22115 [\\/]* | ?:[\\/]* ) # Absolute name.
22116 ac_srcdir=$srcdir$ac_dir_suffix;
22117 ac_top_srcdir=$srcdir
22118 ac_abs_top_srcdir=$srcdir ;;
22119 *) # Relative name.
22120 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22121 ac_top_srcdir=$ac_top_build_prefix$srcdir
22122 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22123 esac
22124 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22127 case $ac_mode in
22130 # CONFIG_FILE
22133 _ACEOF
22135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22136 # If the template does not know about datarootdir, expand it.
22137 # FIXME: This hack should be removed a few years after 2.60.
22138 ac_datarootdir_hack=; ac_datarootdir_seen=
22139 ac_sed_dataroot='
22140 /datarootdir/ {
22144 /@datadir@/p
22145 /@docdir@/p
22146 /@infodir@/p
22147 /@localedir@/p
22148 /@mandir@/p'
22149 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22150 *datarootdir*) ac_datarootdir_seen=yes;;
22151 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22153 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22154 _ACEOF
22155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22156 ac_datarootdir_hack='
22157 s&@datadir@&$datadir&g
22158 s&@docdir@&$docdir&g
22159 s&@infodir@&$infodir&g
22160 s&@localedir@&$localedir&g
22161 s&@mandir@&$mandir&g
22162 s&\\\${datarootdir}&$datarootdir&g' ;;
22163 esac
22164 _ACEOF
22166 # Neutralize VPATH when `$srcdir' = `.'.
22167 # Shell code in configure.ac might set extrasub.
22168 # FIXME: do we really want to maintain this feature?
22169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22170 ac_sed_extra="$ac_vpsub
22171 $extrasub
22172 _ACEOF
22173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22175 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22176 s|@configure_input@|$ac_sed_conf_input|;t t
22177 s&@top_builddir@&$ac_top_builddir_sub&;t t
22178 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22179 s&@srcdir@&$ac_srcdir&;t t
22180 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22181 s&@top_srcdir@&$ac_top_srcdir&;t t
22182 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22183 s&@builddir@&$ac_builddir&;t t
22184 s&@abs_builddir@&$ac_abs_builddir&;t t
22185 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22186 $ac_datarootdir_hack
22188 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22189 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22191 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22192 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22193 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22194 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22196 which seems to be undefined. Please make sure it is defined" >&5
22197 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22198 which seems to be undefined. Please make sure it is defined" >&2;}
22200 rm -f "$ac_tmp/stdin"
22201 case $ac_file in
22202 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22203 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22204 esac \
22205 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22209 # CONFIG_HEADER
22211 if test x"$ac_file" != x-; then
22213 $as_echo "/* $configure_input */" \
22214 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22215 } >"$ac_tmp/config.h" \
22216 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22217 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22218 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22219 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22220 else
22221 rm -f "$ac_file"
22222 mv "$ac_tmp/config.h" "$ac_file" \
22223 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22225 else
22226 $as_echo "/* $configure_input */" \
22227 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22228 || as_fn_error $? "could not create -" "$LINENO" 5
22233 # CONFIG_LINK
22236 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22238 else
22239 # Prefer the file from the source tree if names are identical.
22240 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22241 ac_source=$srcdir/$ac_source
22244 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22245 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22247 if test ! -r "$ac_source"; then
22248 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22250 rm -f "$ac_file"
22252 # Try a relative symlink, then a hard link, then a copy.
22253 case $ac_source in
22254 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22255 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22256 esac
22257 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22258 ln "$ac_source" "$ac_file" 2>/dev/null ||
22259 cp -p "$ac_source" "$ac_file" ||
22260 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22263 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22264 $as_echo "$as_me: executing $ac_file commands" >&6;}
22266 esac
22269 case $ac_file$ac_mode in
22270 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22271 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22272 "Makefile":C) wine_fn_output_makefile Makefile ;;
22274 esac
22275 done # for ac_tag
22278 as_fn_exit 0
22279 _ACEOF
22280 ac_clean_files=$ac_clean_files_save
22282 test $ac_write_fail = 0 ||
22283 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22286 # configure is writing to config.log, and then calls config.status.
22287 # config.status does its own redirection, appending to config.log.
22288 # Unfortunately, on DOS this fails, as config.log is still kept open
22289 # by configure, so config.status won't be able to write to it; its
22290 # output is simply discarded. So we exec the FD to /dev/null,
22291 # effectively closing config.log, so it can be properly (re)opened and
22292 # appended to by config.status. When coming back to configure, we
22293 # need to make the FD available again.
22294 if test "$no_create" != yes; then
22295 ac_cs_success=:
22296 ac_config_status_args=
22297 test "$silent" = yes &&
22298 ac_config_status_args="$ac_config_status_args --quiet"
22299 exec 5>/dev/null
22300 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22301 exec 5>>config.log
22302 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22303 # would make configure fail if this is the last instruction.
22304 $ac_cs_success || as_fn_exit 1
22306 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22308 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22312 if test "$no_create" = "yes"
22313 then
22314 exit 0
22317 ac_save_IFS="$IFS"
22318 if test "x$wine_notices" != x; then
22319 echo >&6
22320 IFS="|"
22321 for msg in $wine_notices; do
22322 IFS="$ac_save_IFS"
22323 if ${msg:+false} :; then :
22325 else
22326 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22327 $as_echo "$as_me: $msg" >&6;}
22329 done
22331 IFS="|"
22332 for msg in $wine_warnings; do
22333 IFS="$ac_save_IFS"
22334 if ${msg:+false} :; then :
22336 else
22337 echo >&2
22338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22339 $as_echo "$as_me: WARNING: $msg" >&2;}
22341 done
22342 IFS="$ac_save_IFS"
22344 $as_echo "
22345 $as_me: Finished. Do '${ac_make}' to compile Wine.
22346 " >&6